summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-16 17:27:50 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-16 17:27:50 -0500
commit7b3de85a06e81d14ac0c73e8f9e1ab8e4a474beb (patch)
tree6ffeacd670c9ff66a951550a15a0e990f88ab75d /engine/battle/core.asm
parent80480821142d7a7b16dd2b1a98a213e7b389af0f (diff)
Avoid "+- 1" at every maskbits
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r--engine/battle/core.asm2
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