mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-21 03:33:36 +01:00
Made ENDTURN_RETALIATE use constants
This commit is contained in:
parent
34fe0c54be
commit
cf027176a8
@ -2331,10 +2331,10 @@ u8 DoFieldEndTurnEffects(void)
|
||||
gBattleStruct->turnCountersTracker++;
|
||||
break;
|
||||
case ENDTURN_RETALIATE:
|
||||
if (gSideTimers[0].retaliateTimer > 0)
|
||||
gSideTimers[0].retaliateTimer--;
|
||||
if (gSideTimers[1].retaliateTimer > 0)
|
||||
gSideTimers[1].retaliateTimer--;
|
||||
if (gSideTimers[B_SIDE_PLAYER].retaliateTimer > 0)
|
||||
gSideTimers[B_SIDE_PLAYER].retaliateTimer--;
|
||||
if (gSideTimers[B_SIDE_OPPONENT].retaliateTimer > 0)
|
||||
gSideTimers[B_SIDE_OPPONENT].retaliateTimer--;
|
||||
gBattleStruct->turnCountersTracker++;
|
||||
break;
|
||||
case ENDTURN_FIELD_COUNT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user