mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
23 lines
411 B
NASM
23 lines
411 B
NASM
TownMapText::
|
|
text_far _TownMapText
|
|
text_promptbutton
|
|
text_asm
|
|
ld a, $1
|
|
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
|
|
ld hl, wd730
|
|
set 6, [hl]
|
|
call GBPalWhiteOutWithDelay3
|
|
xor a
|
|
ldh [hWY], a
|
|
inc a
|
|
ldh [hAutoBGTransferEnabled], a
|
|
call LoadFontTilePatterns
|
|
farcall DisplayTownMap
|
|
ld hl, wd730
|
|
res 6, [hl]
|
|
ld de, TextScriptEnd
|
|
push de
|
|
ldh a, [hLoadedROMBank]
|
|
push af
|
|
jp CloseTextDisplay
|