diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-12 22:58:20 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-12 22:58:20 -0500 |
commit | 10eb426e40f48df3ae9b40e3ea3aa7e92f890090 (patch) | |
tree | cb15040e5a5ee30aa4d93e66b08fb6512de0f0ee /battle/core.asm | |
parent | c85587d973df6565f2863493acb9f9af88518662 (diff) |
Document more bugs
Diffstat (limited to 'battle/core.asm')
-rw-r--r-- | battle/core.asm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/battle/core.asm b/battle/core.asm index 8c4ab73e4..bc8a37725 100644 --- a/battle/core.asm +++ b/battle/core.asm @@ -5998,7 +5998,7 @@ CheckPlayerHasUsableMoves: ; 3e786 swap a and $f ld b, a - ld d, $5 + ld d, NUM_MOVES + 1 xor a .loop dec d @@ -6011,7 +6011,9 @@ CheckPlayerHasUsableMoves: ; 3e786 jr .loop .done - and a ; This is probably a bug, and will result in a move with PP Up confusing the game. + ; Bug: this will result in a move with PP Up confusing the game. + ; Replace with "and $3f" to fix. + and a ret nz .force_struggle |