aboutsummaryrefslogtreecommitdiffstats
path: root/home/text.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 /home/text.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 'home/text.asm')
-rw-r--r--home/text.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/text.asm b/home/text.asm
index df5cfe51..17fb7266 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -494,7 +494,7 @@ TextCommand_PAUSE::
push bc
call Joypad
ldh a, [hJoyHeld]
- and A_BUTTON | B_BUTTON
+ and PAD_A | PAD_B
jr nz, .done
ld c, 30 ; half a second
call DelayFrames
@@ -570,7 +570,7 @@ TextCommand_DOTS::
call Joypad
pop de
ldh a, [hJoyHeld] ; joypad state
- and A_BUTTON | B_BUTTON
+ and PAD_A | PAD_B
jr nz, .next ; if so, skip the delay
ld c, 10
call DelayFrames
@@ -604,7 +604,7 @@ TextCommand_FAR::
ld a, [hli]
ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ ld [rROMB], a
push hl
ld l, e
@@ -614,7 +614,7 @@ TextCommand_FAR::
pop af
ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ ld [rROMB], a
jp NextTextCommand
TextCommandJumpTable::