Made Types and Egg Groups into arrays

This commit is contained in:
Eduardo Quezada committed 2022-11-22 17:05:25 -03:00
1 parent 4736b4b14d
commit 7327be6f9e
18 files changed
+850 -1622

No files matched your search

+1 -1
View File
@@ -5320,7 +5320,7 @@ static void SetMoveSpecificAnimData(u8 contestant)
switch (move)
{
case MOVE_CURSE:
if (gSpeciesInfo[species].type1 == TYPE_GHOST || gSpeciesInfo[species].type2 == TYPE_GHOST)
if (gSpeciesInfo[species].types[0] == TYPE_GHOST || gSpeciesInfo[species].types[1] == TYPE_GHOST)
gAnimMoveTurn = 0;
else
gAnimMoveTurn = 1;