diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 13:23:51 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 13:23:51 -0400 |
| commit | e882708b85e19cf30e05fcf31ccedc5f03367702 (patch) | |
| tree | 05d84be6cc3b04ccabdc4071f601a9761e845775 /engine/events/hidden_objects/town_map.asm | |
| parent | Reorganize home header (diff) | |
| download | pokeyellow-e882708b85e19cf30e05fcf31ccedc5f03367702.tar.gz pokeyellow-e882708b85e19cf30e05fcf31ccedc5f03367702.tar.xz pokeyellow-e882708b85e19cf30e05fcf31ccedc5f03367702.zip | |
Split up engine/events/hidden_object_functions
Diffstat (limited to 'engine/events/hidden_objects/town_map.asm')
| -rw-r--r-- | engine/events/hidden_objects/town_map.asm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/engine/events/hidden_objects/town_map.asm b/engine/events/hidden_objects/town_map.asm new file mode 100644 index 00000000..5ee8329d --- /dev/null +++ b/engine/events/hidden_objects/town_map.asm @@ -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 |
