diff options
| author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2025-06-30 12:47:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-30 12:47:22 -0400 |
| commit | 56c405de09ce267c4cfbc68a15c37b2ff51c635a (patch) | |
| tree | 47d25c237e9af824f7a57295a2d2e298b194a8e6 /home/text_script.asm | |
| parent | Distinguish single trainer pics section from Pokemon pics (diff) | |
| download | pokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.tar.gz pokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.tar.xz pokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.zip | |
Replace hardware_constants.asm with hardware.inc (#511)
Diffstat (limited to 'home/text_script.asm')
| -rw-r--r-- | home/text_script.asm | 6 |
1 files changed, 3 insertions, 3 deletions
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:: |
