summaryrefslogtreecommitdiff
path: root/scripts/IndigoPlateauLobby.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2020-05-20 20:17:30 -0500
committerGitHub <noreply@github.com>2020-05-20 20:17:30 -0500
commit500d99c258145d233af8d14cdb5c6e0200dfc1d8 (patch)
tree7dbe7b152dde8a6e9b56664b5b8cdfc0d6be1253 /scripts/IndigoPlateauLobby.asm
parentb8954732a3eaa3a784a6e3eaaa68977a9ccd9816 (diff)
parent33456b8fb28ef547a54d04d22baa2313b72fdb1d (diff)
Merge pull request #50 from dannye/master
merge pokered
Diffstat (limited to 'scripts/IndigoPlateauLobby.asm')
-rwxr-xr-xscripts/IndigoPlateauLobby.asm42
1 files changed, 42 insertions, 0 deletions
diff --git a/scripts/IndigoPlateauLobby.asm b/scripts/IndigoPlateauLobby.asm
new file mode 100755
index 00000000..d618d155
--- /dev/null
+++ b/scripts/IndigoPlateauLobby.asm
@@ -0,0 +1,42 @@
+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
+ dw IndigoPlateauLobbyText6
+
+IndigoHealNurseText:
+ TX_POKECENTER_NURSE
+
+IndigoPlateauLobbyText2:
+ TX_FAR _IndigoPlateauLobbyText2
+ db "@"
+
+IndigoPlateauLobbyText3:
+ TX_FAR _IndigoPlateauLobbyText3
+ db "@"
+
+IndigoTradeNurseText:
+ TX_CABLE_CLUB_RECEPTIONIST
+
+IndigoPlateauLobbyText6:
+ TX_ASM
+ callab PokecenterChanseyText
+ jp TextScriptEnd