pokeyellow/scripts/indigoplateaulobby.asm

43 lines
869 B
NASM
Raw Normal View History

2016-06-08 11:44:58 +00:00
IndigoPlateauLobbyScript:
2015-02-07 10:43:08 +00:00
call Serial_TryEstablishingExternallyClockedConnection
2014-05-18 18:19:10 +00:00
call EnableAutoTextBoxDrawing
ld hl, wCurrentMapScriptFlags
2014-05-18 18:19:10 +00:00
bit 6, [hl]
res 6, [hl]
ret z
2015-07-21 17:36:03 +00:00
ResetEvent EVENT_VICTORY_ROAD_1_BOULDER_ON_SWITCH
2015-07-21 21:21:14 +00:00
ld hl, wBeatLorelei
2014-05-18 18:19:10 +00:00
bit 1, [hl]
res 1, [hl]
ret z
2015-07-21 01:32:02 +00:00
; Elite 4 events
2015-07-21 21:21:14 +00:00
ResetEventRange ELITE4_EVENTS_START, EVENT_LANCES_ROOM_LOCK_DOOR
2014-05-18 18:19:10 +00:00
ret
2016-06-08 11:44:58 +00:00
IndigoPlateauLobbyTextPointers:
dw IndigoHealNurseText
2014-05-18 18:19:10 +00:00
dw IndigoPlateauLobbyText2
dw IndigoPlateauLobbyText3
dw IndigoCashierText
dw IndigoTradeNurseText
2016-06-02 17:18:57 +00:00
dw IndigoPlateauLobbyText6
2014-05-18 18:19:10 +00:00
IndigoHealNurseText:
2016-06-02 17:18:57 +00:00
TX_POKECENTER_NURSE
2014-05-18 18:19:10 +00:00
2016-06-08 11:44:58 +00:00
IndigoPlateauLobbyText2:
TX_FAR _IndigoPlateauLobbyText2
2014-05-18 18:19:10 +00:00
db "@"
2016-06-08 11:44:58 +00:00
IndigoPlateauLobbyText3:
2014-05-18 18:19:10 +00:00
TX_FAR _IndigoPlateauLobbyText3
db "@"
IndigoTradeNurseText:
2016-06-02 17:18:57 +00:00
TX_CABLE_CLUB_RECEPTIONIST
IndigoPlateauLobbyText6:
TX_ASM
callab PokecenterChanseyText
jp TextScriptEnd