summaryrefslogtreecommitdiff
path: root/scripts/IndigoPlateauLobby.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/IndigoPlateauLobby.asm
parent90430e6dee9e207dc0b618d07566f83617343f60 (diff)
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/IndigoPlateauLobby.asm')
-rwxr-xr-xscripts/IndigoPlateauLobby.asm36
1 files changed, 36 insertions, 0 deletions
diff --git a/scripts/IndigoPlateauLobby.asm b/scripts/IndigoPlateauLobby.asm
new file mode 100755
index 00000000..f83c0ba4
--- /dev/null
+++ b/scripts/IndigoPlateauLobby.asm
@@ -0,0 +1,36 @@
+IndigoPlateauLobby_Script:
+ call Serial_TryEstablishingExternallyClockedConnection
+ call EnableAutoTextBoxDrawing
+ ld hl, wCurrentMapScriptFlags
+ bit 6, [hl]
+ res 6, [hl]
+ ret z
+ ResetEvent EVENT_VICTORY_ROAD_1_BOULDER_ON_SWITCH
+ ld hl, wBeatLorelei
+ bit 1, [hl]
+ res 1, [hl]
+ ret z
+ ; Elite 4 events
+ ResetEventRange ELITE4_EVENTS_START, EVENT_LANCES_ROOM_LOCK_DOOR
+ ret
+
+IndigoPlateauLobby_TextPointers:
+ dw IndigoHealNurseText
+ dw IndigoPlateauLobbyText2
+ dw IndigoPlateauLobbyText3
+ dw IndigoCashierText
+ dw IndigoTradeNurseText
+
+IndigoHealNurseText:
+ TX_POKECENTER_NURSE
+
+IndigoPlateauLobbyText2:
+ TX_FAR _IndigoPlateauLobbyText2
+ db "@"
+
+IndigoPlateauLobbyText3:
+ TX_FAR _IndigoPlateauLobbyText3
+ db "@"
+
+IndigoTradeNurseText:
+ TX_CABLE_CLUB_RECEPTIONIST