aboutsummaryrefslogtreecommitdiffstats
path: root/engine/items/item_effects.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/items/item_effects.asm')
-rw-r--r--engine/items/item_effects.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm
index 89d51d0b..bf43293e 100644
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -758,15 +758,15 @@ ItemUseSurfboard:
.makePlayerMoveForward
ld a, [wPlayerDirection] ; direction the player is going
bit PLAYER_DIR_BIT_UP, a
- ld b, D_UP
+ ld b, PAD_UP
jr nz, .storeSimulatedButtonPress
bit PLAYER_DIR_BIT_DOWN, a
- ld b, D_DOWN
+ ld b, PAD_DOWN
jr nz, .storeSimulatedButtonPress
bit PLAYER_DIR_BIT_LEFT, a
- ld b, D_LEFT
+ ld b, PAD_LEFT
jr nz, .storeSimulatedButtonPress
- ld b, D_RIGHT
+ ld b, PAD_RIGHT
.storeSimulatedButtonPress
ld a, b
ld [wSimulatedJoypadStatesEnd], a