aboutsummaryrefslogtreecommitdiffstats
path: root/engine/menus
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/menus
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/menus')
-rw-r--r--engine/menus/main_menu.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/menus/main_menu.asm b/engine/menus/main_menu.asm
index 44219b14..a3fe6587 100644
--- a/engine/menus/main_menu.asm
+++ b/engine/menus/main_menu.asm
@@ -487,7 +487,7 @@ DisplayOptionMenu:
call JoypadLowSensitivity
ldh a, [hJoy5]
ld b, a
- and PAD_A | PAD_B | PAD_START | PAD_RIGHT | PAD_LEFT | PAD_UP | PAD_DOWN ; any key besides select pressed?
+ and ~PAD_SELECT ; any key besides select pressed?
jr z, .getJoypadStateLoop
bit B_PAD_B, b
jr nz, .exitMenu