aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld/push_boulder.asm
diff options
context:
space:
mode:
authorRangi42 <sylvie.oukaour+rangi42@gmail.com>2025-06-30 13:30:57 -0400
committerRangi <35663410+Rangi42@users.noreply.github.com>2025-06-30 13:45:24 -0400
commit78e44a8fb10307c55d53a69179b9ff7cd6f49fc0 (patch)
treeccc6113a679d842077d67e5453709438c418114f /engine/overworld/push_boulder.asm
parentReplace hardware_constants.asm with hardware.inc (#511) (diff)
downloadpokeyellow-78e44a8fb10307c55d53a69179b9ff7cd6f49fc0.tar.gz
pokeyellow-78e44a8fb10307c55d53a69179b9ff7cd6f49fc0.tar.xz
pokeyellow-78e44a8fb10307c55d53a69179b9ff7cd6f49fc0.zip
Use combined hardware constants
Diffstat (limited to 'engine/overworld/push_boulder.asm')
-rw-r--r--engine/overworld/push_boulder.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/overworld/push_boulder.asm b/engine/overworld/push_boulder.asm
index 54eecb21..2328b07a 100644
--- a/engine/overworld/push_boulder.asm
+++ b/engine/overworld/push_boulder.asm
@@ -28,7 +28,7 @@ TryPushingBoulder::
set BIT_TRIED_PUSH_BOULDER, [hl]
ret z ; the player must try pushing twice before the boulder will move
ldh a, [hJoyHeld]
- and PAD_RIGHT | PAD_LEFT | PAD_UP | PAD_DOWN
+ and PAD_CTRL_PAD
ret z
predef CheckForCollisionWhenPushingBoulder
ld a, [wTileInFrontOfBoulderAndBoulderCollisionResult]