pokeyellow/scripts/IndigoPlateauLobby.asm

44 lines
1.4 KiB
NASM
Raw Permalink Normal View History

2020-05-21 00:40:33 +00:00
IndigoPlateauLobby_Script:
2015-02-07 10:43:08 +00:00
call Serial_TryEstablishingExternallyClockedConnection
2014-05-18 18:19:10 +00:00
call EnableAutoTextBoxDrawing
ld hl, wCurrentMapScriptFlags
bit BIT_CUR_MAP_LOADED_2, [hl]
res BIT_CUR_MAP_LOADED_2, [hl]
2014-05-18 18:19:10 +00:00
ret z
2015-07-21 17:36:03 +00:00
ResetEvent EVENT_VICTORY_ROAD_1_BOULDER_ON_SWITCH
; Reset Elite Four events if the player started challenging them before
ld hl, wElite4Flags
bit BIT_STARTED_ELITE_4, [hl]
res BIT_STARTED_ELITE_4, [hl]
2014-05-18 18:19:10 +00:00
ret z
ResetEventRange INDIGO_PLATEAU_EVENTS_START, EVENT_LANCES_ROOM_LOCK_DOOR
2014-05-18 18:19:10 +00:00
ret
2020-05-21 00:40:33 +00:00
IndigoPlateauLobby_TextPointers:
def_text_pointers
dw_const IndigoPlateauLobbyNurseText, TEXT_INDIGOPLATEAULOBBY_NURSE
dw_const IndigoPlateauLobbyGymGuideText, TEXT_INDIGOPLATEAULOBBY_GYM_GUIDE
dw_const IndigoPlateauLobbyCooltrainerFText, TEXT_INDIGOPLATEAULOBBY_COOLTRAINER_F
dw_const IndigoPlateauLobbyClerkText, TEXT_INDIGOPLATEAULOBBY_CLERK
dw_const IndigoPlateauLobbyLinkReceptionistText, TEXT_INDIGOPLATEAULOBBY_LINK_RECEPTIONIST
dw_const IndigoPlateauLobbyChanseyText, TEXT_INDIGOPLATEAULOBBY_CHANSEY
2014-05-18 18:19:10 +00:00
IndigoPlateauLobbyNurseText:
2020-11-04 06:06:44 +00:00
script_pokecenter_nurse
2014-05-18 18:19:10 +00:00
IndigoPlateauLobbyGymGuideText:
text_far _IndigoPlateauLobbyGymGuideText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
IndigoPlateauLobbyCooltrainerFText:
text_far _IndigoPlateauLobbyCooltrainerFText
2020-11-04 06:06:44 +00:00
text_end
2014-05-18 18:19:10 +00:00
IndigoPlateauLobbyLinkReceptionistText:
2020-11-04 06:06:44 +00:00
script_cable_club_receptionist
2016-06-02 17:18:57 +00:00
IndigoPlateauLobbyChanseyText:
2020-11-04 06:06:44 +00:00
text_asm
callfar PokecenterChanseyText
2016-06-02 17:18:57 +00:00
jp TextScriptEnd