From 56c405de09ce267c4cfbc68a15c37b2ff51c635a Mon Sep 17 00:00:00 2001 From: Rangi <35663410+Rangi42@users.noreply.github.com> Date: Mon, 30 Jun 2025 12:47:22 -0400 Subject: Replace hardware_constants.asm with hardware.inc (#511) --- home/text_script.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'home/text_script.asm') diff --git a/home/text_script.asm b/home/text_script.asm index f3015b66..35dd955b 100644 --- a/home/text_script.asm +++ b/home/text_script.asm @@ -99,7 +99,7 @@ AfterDisplayingTextID:: HoldTextDisplayOpen:: call Joypad ldh a, [hJoyHeld] - bit BIT_A_BUTTON, a + bit B_PAD_A, a jr nz, HoldTextDisplayOpen CloseTextDisplay:: @@ -125,7 +125,7 @@ CloseTextDisplay:: jr nz, .restoreSpriteFacingDirectionLoop ld a, BANK(InitMapSprites) ldh [hLoadedROMBank], a - ld [MBC1RomBank], a + ld [rROMB], a call InitMapSprites ; reload sprite tile pattern data (since it was partially overwritten by text tile patterns) ld hl, wFontLoaded res BIT_FONT_LOADED, [hl] @@ -135,7 +135,7 @@ CloseTextDisplay:: call LoadCurrentMapView pop af ldh [hLoadedROMBank], a - ld [MBC1RomBank], a + ld [rROMB], a jp UpdateSprites DisplayPokemartDialogue:: -- cgit v1.3.1-sl0p