aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/BikeShop.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2024-09-25 00:45:00 -0500
committerdannye <33dannye@gmail.com>2024-09-25 00:45:00 -0500
commita02a98ee7ada1a658e28698484058be2796dc0df (patch)
tree945986054565bd8b5212fc755415096050d1d3a8 /scripts/BikeShop.asm
parentUse long option flags for rgbgfx, same as tools/gfx (diff)
parentUse `const_skip` (diff)
downloadpokeyellow-a02a98ee7ada1a658e28698484058be2796dc0df.tar.gz
pokeyellow-a02a98ee7ada1a658e28698484058be2796dc0df.tar.xz
pokeyellow-a02a98ee7ada1a658e28698484058be2796dc0df.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'scripts/BikeShop.asm')
-rw-r--r--scripts/BikeShop.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/BikeShop.asm b/scripts/BikeShop.asm
index fa38701b..019fe97d 100644
--- a/scripts/BikeShop.asm
+++ b/scripts/BikeShop.asm
@@ -49,8 +49,8 @@ BikeShopClerkText:
ld [wTopMenuItemY], a
ld a, $1
ld [wTopMenuItemX], a
- ld hl, wd730
- set 6, [hl]
+ ld hl, wStatusFlags5
+ set BIT_NO_TEXT_DELAY, [hl]
hlcoord 0, 0
lb bc, 4, 15
call TextBoxBorder
@@ -64,8 +64,8 @@ BikeShopClerkText:
ld hl, BikeShopClerkDoYouLikeItText
call PrintText
; This fixes the bike shop instatext glitch
- ld hl, wd730
- res 6, [hl]
+ ld hl, wStatusFlags5
+ res BIT_NO_TEXT_DELAY, [hl]
call HandleMenuInput
bit BIT_B_BUTTON, a
jr nz, .cancel