From 10f9559eab8c93b94abb8ae8d1083704ad4e169a Mon Sep 17 00:00:00 2001 From: dannye <33dannye@gmail.com> Date: Wed, 20 May 2020 19:40:33 -0500 Subject: Sync with pokered --- scripts/IndigoPlateauLobby.asm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 scripts/IndigoPlateauLobby.asm (limited to 'scripts/IndigoPlateauLobby.asm') 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 -- cgit v1.3.1-sl0p