aboutsummaryrefslogtreecommitdiffstats
path: root/engine/joypad.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/joypad.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/joypad.asm')
-rw-r--r--engine/joypad.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/joypad.asm b/engine/joypad.asm
index 2cb0d8db..b6c50e69 100644
--- a/engine/joypad.asm
+++ b/engine/joypad.asm
@@ -3,7 +3,7 @@ _Joypad::
; hJoyPressed: (hJoyLast ^ hJoyInput) & hJoyInput
ldh a, [hJoyInput]
- cp PAD_A + PAD_B + PAD_SELECT + PAD_START ; soft reset
+ cp PAD_BUTTONS ; soft reset
jp z, TrySoftReset
ld b, a