diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-25 16:21:31 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-25 16:21:31 -0500 |
commit | 29b41068cb0644956494dd2b7b75331a336b8d26 (patch) | |
tree | b4d1a5187fda9da6186c52c03e836a5ff8f4dd90 | |
parent | 85aa236c34e50da698d4eeacd5c76a05463c83b2 (diff) |
LOW(MAX_LEVEL + 1) would still fail for MAX_LEVEL = 255, so don't try supporting it here
-rw-r--r-- | battle/effect_commands.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm index c9a001cb8..f2c6b5d77 100644 --- a/battle/effect_commands.asm +++ b/battle/effect_commands.asm @@ -730,7 +730,7 @@ BattleCommand_CheckObedience: ; 343db ; risingbadge bit RISINGBADGE, [hl] - ld a, LOW(MAX_LEVEL + 1) + ld a, MAX_LEVEL + 1 jr nz, .getlevel ; stormbadge |