Split up engine/events/hidden_object_functions

This commit is contained in:
Rangi 2020-07-03 13:23:51 -04:00
parent 6bd86e10c3
commit e882708b85
29 changed files with 1174 additions and 1173 deletions

View file

@ -0,0 +1,22 @@
TownMapText::
TX_FAR _TownMapText
TX_BLINK
TX_ASM
ld a, $1
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
ld hl, wd730
set 6, [hl]
call GBPalWhiteOutWithDelay3
xor a
ld [hWY], a
inc a
ld [H_AUTOBGTRANSFERENABLED], a
call LoadFontTilePatterns
callba DisplayTownMap
ld hl, wd730
res 6, [hl]
ld de, TextScriptEnd
push de
ld a, [H_LOADEDROMBANK]
push af
jp CloseTextDisplay