aboutsummaryrefslogtreecommitdiffstats
path: root/engine/joypad.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/joypad.asm')
-rw-r--r--engine/joypad.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/joypad.asm b/engine/joypad.asm
index d50eea08..8b514999 100644
--- a/engine/joypad.asm
+++ b/engine/joypad.asm
@@ -53,8 +53,8 @@ _Joypad::
ld a, b
ldh [hJoyLast], a
- ld a, [wd730]
- bit 5, a
+ ld a, [wStatusFlags5]
+ bit BIT_DISABLE_JOYPAD, a
jr nz, DiscardButtonPresses
ldh a, [hJoyLast]