diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-16 17:27:50 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-16 17:27:50 -0500 |
commit | 7b3de85a06e81d14ac0c73e8f9e1ab8e4a474beb (patch) | |
tree | 6ffeacd670c9ff66a951550a15a0e990f88ab75d /engine/battle/core.asm | |
parent | 80480821142d7a7b16dd2b1a98a213e7b389af0f (diff) |
Avoid "+- 1" at every maskbits
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r-- | engine/battle/core.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 5d79f5fd5..e1c5f331f 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -6031,7 +6031,7 @@ ParseEnemyAction: ; 3e7c1 .loop2 ld hl, EnemyMonMoves call BattleRandom - maskbits NUM_MOVES +- 1 + maskbits NUM_MOVES ld c, a ld b, 0 add hl, bc |