mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-21 22:52:15 +13:00
Split up engine/events/hidden_object_functions
This commit is contained in:
parent
6bd86e10c3
commit
e882708b85
29 changed files with 1174 additions and 1173 deletions
22
engine/events/hidden_objects/town_map.asm
Normal file
22
engine/events/hidden_objects/town_map.asm
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue