Merge pull request #510 from Kurausukun/fix_constant

Fix Constant Usage
This commit is contained in:
GriffinR authored and GitHub committed 2022-06-19 21:46:47 -04:00
commit f2b5d8000d
1 file changed
+1 -1
+1 -1
View File
@@ -570,7 +570,7 @@ static bool8 ShouldUseItem(void)
&& GetMonData(&gEnemyParty[i], MON_DATA_SPECIES2) != SPECIES_NONE
&& GetMonData(&gEnemyParty[i], MON_DATA_SPECIES2) != SPECIES_EGG)
++validMons;
for (i = 0; i < MAX_MON_MOVES; ++i)
for (i = 0; i < MAX_TRAINER_ITEMS; ++i)
{
u16 item;
const u8 *itemEffects;