diff options
author | mid-kid <esteve.varela@gmail.com> | 2018-08-17 17:48:41 +0200 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2018-08-17 17:48:41 +0200 |
commit | 79cf90ab5ec6069d2d27281e6602e85ba5310c87 (patch) | |
tree | 3206dfe49fc4d71ac17c1d243579930185c4d846 /engine/battle/effect_commands.asm | |
parent | 2e147d1128b024e970e81b1cb1e188fdd1fe6712 (diff) |
Fix some StatUp-related labels
Diffstat (limited to 'engine/battle/effect_commands.asm')
-rw-r--r-- | engine/battle/effect_commands.asm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm index 12021bc55..4f34b5be6 100644 --- a/engine/battle/effect_commands.asm +++ b/engine/battle/effect_commands.asm @@ -4181,13 +4181,13 @@ BattleCommand_EvasionUp2: BattleCommand_StatUp: ; statup - call CheckIfStatCanBeRaised + call RaiseStat ld a, [wFailedMessage] and a ret nz - jp StatUpAnimation + jp MinimizeDropSub -CheckIfStatCanBeRaised: +RaiseStat: ld a, b ld [wLoweredStat], a ld hl, wPlayerStatLevels @@ -4283,7 +4283,9 @@ CheckIfStatCanBeRaised: ld [wFailedMessage], a ret -StatUpAnimation: +MinimizeDropSub: +; Lower the substitute if we're minimizing + ld bc, wPlayerMinimized ld hl, DropPlayerSub ld a, [hBattleTurn] |