aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/BikeShop.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2025-07-02 21:15:13 -0500
committerdannye <33dannye@gmail.com>2025-07-02 21:15:13 -0500
commitca019eac8fd96559f4d4e712f0b53e95492e5dcb (patch)
tree209a500e3bda6c2109e5acec60448e9e52f8c2af /scripts/BikeShop.asm
parentUse more ldpikacry (diff)
parentRequire RGBDS 0.9.3 for its DMG palette specs (#513) (diff)
downloadpokeyellow-ca019eac8fd96559f4d4e712f0b53e95492e5dcb.tar.gz
pokeyellow-ca019eac8fd96559f4d4e712f0b53e95492e5dcb.tar.xz
pokeyellow-ca019eac8fd96559f4d4e712f0b53e95492e5dcb.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'scripts/BikeShop.asm')
-rw-r--r--scripts/BikeShop.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/BikeShop.asm b/scripts/BikeShop.asm
index 019fe97d..66b2a1e6 100644
--- a/scripts/BikeShop.asm
+++ b/scripts/BikeShop.asm
@@ -41,7 +41,7 @@ BikeShopClerkText:
xor a
ld [wCurrentMenuItem], a
ld [wLastMenuItem], a
- ld a, A_BUTTON | B_BUTTON
+ ld a, PAD_A | PAD_B
ld [wMenuWatchedKeys], a
ld a, $1
ld [wMaxMenuItem], a
@@ -67,7 +67,7 @@ BikeShopClerkText:
ld hl, wStatusFlags5
res BIT_NO_TEXT_DELAY, [hl]
call HandleMenuInput
- bit BIT_B_BUTTON, a
+ bit B_PAD_B, a
jr nz, .cancel
ld a, [wCurrentMenuItem]
and a