summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-16 19:32:30 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-16 19:32:30 -0400
commitbc116a0db0857ef49ba4a65bf98b9b8339315c01 (patch)
treed753b2bcbe162b9aa416a3fbf3007884bfbe5aa4 /engine/battle/effect_commands.asm
parent356836b1cc479381d5494dbaee40c6a6345c0b43 (diff)
Harmonize engine/{battle, battle_anims, events, games} with pokecrystal
Diffstat (limited to 'engine/battle/effect_commands.asm')
-rw-r--r--engine/battle/effect_commands.asm10
1 files changed, 4 insertions, 6 deletions
diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm
index 07717114..054eeaca 100644
--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -5045,10 +5045,9 @@ BattleCommand_ForceSwitch:
call UpdateBattleMonInParty
xor a
ld [wNumHits], a
- inc a
+ inc a ; TRUE
ld [wForcedSwitch], a
- ; set battle draw
- inc a
+ inc a ; DRAW
ld [wBattleResult], a
ld a, [wPlayerMoveStructAnimation]
jp .succeed
@@ -5140,10 +5139,9 @@ BattleCommand_ForceSwitch:
call UpdateBattleMonInParty
xor a
ld [wNumHits], a
- inc a
+ inc a ; TRUE
ld [wForcedSwitch], a
- ; set battle draw
- inc a
+ inc a ; DRAW
ld [wBattleResult], a
ld a, [wEnemyMoveStructAnimation]
jr .succeed