You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Avoid "+- 1" at every maskbits
This commit is contained in:
@@ -589,7 +589,7 @@ Special_SurfStartStep: ; 8379
|
||||
ld a, [PlayerDirection]
|
||||
srl a
|
||||
srl a
|
||||
maskbits NUM_DIRECTIONS +- 1
|
||||
maskbits NUM_DIRECTIONS
|
||||
ld e, a
|
||||
ld d, 0
|
||||
ld hl, .movement_data
|
||||
|
||||
Reference in New Issue
Block a user