Document item use functions in pokemon.c

This commit is contained in:
PikalaxALT
2021-03-16 21:16:31 -04:00
parent c4b61cc0ed
commit 4d86834d12
10 changed files with 223 additions and 216 deletions
+1 -1
View File
@@ -4823,7 +4823,7 @@ static void atk52_switchineffects(void)
s32 i;
gActiveBattler = GetBattlerForBattleScript(gBattlescriptCurrInstr[1]);
sub_80174B8(gActiveBattler);
UpdateSentPokesToOpponentValue(gActiveBattler);
gHitMarker &= ~(HITMARKER_FAINTED(gActiveBattler));
gSpecialStatuses[gActiveBattler].flag40 = 0;
if (!(gSideStatuses[GetBattlerSide(gActiveBattler)] & SIDE_STATUS_SPIKES_DAMAGED)