ref: 29b41068cb0644956494dd2b7b75331a336b8d26
parent: 85aa236c34e50da698d4eeacd5c76a05463c83b2
author: Remy Oukaour <remy.oukaour@gmail.com>
date: Mon Dec 25 11:21:31 EST 2017
LOW(MAX_LEVEL + 1) would still fail for MAX_LEVEL = 255, so don't try supporting it here
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -730,7 +730,7 @@
; risingbadge
bit RISINGBADGE, [hl]
- ld a, LOW(MAX_LEVEL + 1)
+ ld a, MAX_LEVEL + 1
jr nz, .getlevel
; stormbadge