You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Avoid "+- 1" at every maskbits
This commit is contained in:
@@ -186,7 +186,7 @@ AIChooseMove: ; 440ce
|
||||
.ChooseMove:
|
||||
ld hl, Buffer1
|
||||
call Random
|
||||
maskbits NUM_MOVES +- 1
|
||||
maskbits NUM_MOVES
|
||||
ld c, a
|
||||
ld b, 0
|
||||
add hl, bc
|
||||
|
Reference in New Issue
Block a user