blob: ee757ef78717b2280a1203e53f5c6580d79ace9e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
IndigoPlateauLobby_Script:
call Serial_TryEstablishingExternallyClockedConnection
call EnableAutoTextBoxDrawing
ld hl, wCurrentMapScriptFlags
bit BIT_CUR_MAP_LOADED_2, [hl]
res BIT_CUR_MAP_LOADED_2, [hl]
ret z
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]
ret z
ResetEventRange INDIGO_PLATEAU_EVENTS_START, EVENT_LANCES_ROOM_LOCK_DOOR
ret
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
IndigoPlateauLobbyNurseText:
script_pokecenter_nurse
IndigoPlateauLobbyGymGuideText:
text_far _IndigoPlateauLobbyGymGuideText
text_end
IndigoPlateauLobbyCooltrainerFText:
text_far _IndigoPlateauLobbyCooltrainerFText
text_end
IndigoPlateauLobbyLinkReceptionistText:
script_cable_club_receptionist
IndigoPlateauLobbyChanseyText:
text_asm
callfar PokecenterChanseyText
jp TextScriptEnd
|