aboutsummaryrefslogtreecommitdiffstats
path: root/engine/joypad.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-06-30 12:47:22 -0400
committerGitHub <noreply@github.com>2025-06-30 12:47:22 -0400
commit56c405de09ce267c4cfbc68a15c37b2ff51c635a (patch)
tree47d25c237e9af824f7a57295a2d2e298b194a8e6 /engine/joypad.asm
parentDistinguish single trainer pics section from Pokemon pics (diff)
downloadpokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.tar.gz
pokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.tar.xz
pokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.zip
Replace hardware_constants.asm with hardware.inc (#511)
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 63b09a87..2cb0d8db 100644
--- a/engine/joypad.asm
+++ b/engine/joypad.asm
@@ -3,7 +3,7 @@ _Joypad::
; hJoyPressed: (hJoyLast ^ hJoyInput) & hJoyInput
ldh a, [hJoyInput]
- cp A_BUTTON + B_BUTTON + SELECT + START ; soft reset
+ cp PAD_A + PAD_B + PAD_SELECT + PAD_START ; soft reset
jp z, TrySoftReset
ld b, a