Fix Surf taking 3 pp

This commit is contained in:
DizzyEggg 2020-01-04 18:17:26 +01:00
parent fcf5870062
commit cafb0c3b6a

View File

@ -4693,6 +4693,7 @@ static void Cmd_moveend(void)
if (gBattleMoves[gCurrentMove].target == MOVE_TARGET_FOES_AND_ALLY)
{
gHitMarker |= HITMARKER_NO_PPDEDUCT;
for (battlerId = gBattlerTarget + 1; battlerId < gBattlersCount; battlerId++)
{
if (battlerId == gBattlerAttacker)
@ -4720,6 +4721,7 @@ static void Cmd_moveend(void)
else
{
gHitMarker |= HITMARKER_NO_ATTACKSTRING;
gHitMarker &= ~(HITMARKER_NO_PPDEDUCT);
}
}
gBattleScripting.moveendState++;