You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Use and define more WRAM constants
This commit is contained in:
@@ -2,11 +2,11 @@ _HandlePlayerStep::
|
||||
ld a, [wPlayerStepFlags]
|
||||
and a
|
||||
ret z
|
||||
bit 7, a ; starting step
|
||||
bit PLAYERSTEP_START_F, a
|
||||
jr nz, .update_overworld_map
|
||||
bit 6, a ; finishing step
|
||||
bit PLAYERSTEP_STOP_F, a
|
||||
jr nz, .update_player_coords
|
||||
bit 5, a ; ongoing step
|
||||
bit PLAYERSTEP_CONTINUE_F, a
|
||||
jr nz, .finish
|
||||
ret
|
||||
|
||||
|
||||
Reference in New Issue
Block a user