Fix Surf taking 3 pp
This commit is contained in:
parent
fcf5870062
commit
cafb0c3b6a
1 changed files with 2 additions and 0 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue