aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/hidden_objects/town_map.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2026-01-07 22:05:37 -0500
committerGitHub <noreply@github.com>2026-01-07 22:05:37 -0500
commit0e49aef88ef94b9d3e80d89e4eb718e9425045df (patch)
treec63433287b9e2aceda14ff977cc06875cd0735d3 /engine/events/hidden_objects/town_map.asm
parentUse macros to enforce "missable/hide/show object" constraints, and rename the... (diff)
downloadpokeyellow-0e49aef88ef94b9d3e80d89e4eb718e9425045df.tar.gz
pokeyellow-0e49aef88ef94b9d3e80d89e4eb718e9425045df.tar.xz
pokeyellow-0e49aef88ef94b9d3e80d89e4eb718e9425045df.zip
Use macros to enforce "hidden object" constraints, and rename them to "hidden events" (#559)
Diffstat (limited to 'engine/events/hidden_objects/town_map.asm')
-rw-r--r--engine/events/hidden_objects/town_map.asm22
1 files changed, 0 insertions, 22 deletions
diff --git a/engine/events/hidden_objects/town_map.asm b/engine/events/hidden_objects/town_map.asm
deleted file mode 100644
index 11f7cbc7..00000000
--- a/engine/events/hidden_objects/town_map.asm
+++ /dev/null
@@ -1,22 +0,0 @@
-TownMapText::
- text_far _TownMapText
- text_promptbutton
- text_asm
- ld a, $1
- ld [wDoNotWaitForButtonPressAfterDisplayingText], a
- ld hl, wStatusFlags5
- set BIT_NO_TEXT_DELAY, [hl]
- call GBPalWhiteOutWithDelay3
- xor a
- ldh [hWY], a
- inc a
- ldh [hAutoBGTransferEnabled], a
- call LoadFontTilePatterns
- farcall DisplayTownMap
- ld hl, wStatusFlags5
- res BIT_NO_TEXT_DELAY, [hl]
- ld de, TextScriptEnd
- push de
- ldh a, [hLoadedROMBank]
- push af
- jp CloseTextDisplay