diff options
author | YamaArashi <shadow962@live.com> | 2015-07-19 17:52:26 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-07-19 17:52:26 -0700 |
commit | 1d86932cc9c38815434409f07d14c2bfe4e7a836 (patch) | |
tree | 43d021ef4340e90c591e490f2a20b5005b23d7d5 /engine/items | |
parent | e607199397cb36565f61703a58d99efdc21891c5 (diff) |
naming
Diffstat (limited to 'engine/items')
-rwxr-xr-x | engine/items/items.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/items/items.asm b/engine/items/items.asm index f9f76278..000940d2 100755 --- a/engine/items/items.asm +++ b/engine/items/items.asm @@ -591,14 +591,14 @@ ItemUseSurfboard: ; d9b4 (3:59b4) jp LoadWalkingPlayerSpriteGraphics ; uses a simulated button press to make the player move forward .makePlayerMoveForward - ld a,[wd52a] ; direction the player is going - bit 3,a + ld a,[wPlayerDirection] ; direction the player is going + bit PLAYER_DIR_BIT_UP,a ld b,D_UP jr nz,.storeSimulatedButtonPress - bit 2,a + bit PLAYER_DIR_BIT_DOWN,a ld b,D_DOWN jr nz,.storeSimulatedButtonPress - bit 1,a + bit PLAYER_DIR_BIT_LEFT,a ld b,D_LEFT jr nz,.storeSimulatedButtonPress ld b,D_RIGHT |