diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-10 22:53:42 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-10 22:53:42 -0500 |
commit | 0a3b251dcb710a8319d6633122d92a983bcefd1c (patch) | |
tree | ffc18a3e29386a2b88ccdac891026d66550f27df /engine/battle/effect_commands | |
parent | 546f1f7115ed9dfd8d87d6855f66cabcef9aa0e3 (diff) |
Arrays end with -1, not $ff
Diffstat (limited to 'engine/battle/effect_commands')
-rwxr-xr-x | engine/battle/effect_commands/present.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/effect_commands/present.asm b/engine/battle/effect_commands/present.asm index 819294f8c..2b358e8b9 100755 --- a/engine/battle/effect_commands/present.asm +++ b/engine/battle/effect_commands/present.asm @@ -31,7 +31,7 @@ BattleCommand_Present: ; 37874 ld c, 0 .next ld a, [hli] - cp $ff + cp -1 jr z, .heal_effect ; 378a4 $11 cp b jr nc, .got_power ; 378a7 $4 @@ -89,5 +89,5 @@ BattleCommand_Present: ; 37874 db 40 percent, 40 db 70 percent + 1, 80 db 80 percent, 120 - db $ff + db -1 ; end ; 3790e |