summaryrefslogtreecommitdiff
path: root/scripts/UndergroundPathRoute5.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-01-01 15:06:23 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2019-01-01 23:33:10 -0500
commitc7796024590fec48ac79756793c1a6e3b54daf8f (patch)
tree0d61caa7ebe429995a61e800d1d78c3a82aec886 /scripts/UndergroundPathRoute5.asm
parent90430e6dee9e207dc0b618d07566f83617343f60 (diff)
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/UndergroundPathRoute5.asm')
-rwxr-xr-xscripts/UndergroundPathRoute5.asm18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/UndergroundPathRoute5.asm b/scripts/UndergroundPathRoute5.asm
new file mode 100755
index 00000000..23d72569
--- /dev/null
+++ b/scripts/UndergroundPathRoute5.asm
@@ -0,0 +1,18 @@
+UndergroundPathRoute5_Script:
+ ld a, ROUTE_5
+ ld [wLastMap], a
+ ret
+
+UndergroundPathEntranceRoute5_5d6af:
+ db "@"
+
+UndergroundPathRoute5_TextPointers:
+ dw UndergroundPathEntranceRoute5Text1
+
+UndergroundPathEntranceRoute5Text1:
+ TX_ASM
+ ld a, $9
+ ld [wWhichTrade], a
+ predef DoInGameTradeDialogue
+ ld hl, UndergroundPathEntranceRoute5_5d6af
+ ret