blob: b294b235589ca2177927f40dc0fbf6cdb6b18d1f (
plain)
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
44
45
46
47
|
MobileTradeRoom_MapScripts:
db 2 ; scene scripts
scene_script .InitializeMobileTradeRoom ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_FINISHED
db 0 ; callbacks
.InitializeMobileTradeRoom:
priorityjump .InitializeAndPreparePokecenter2F
end
.DummyScene:
end
.InitializeAndPreparePokecenter2F:
setscene SCENE_FINISHED
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_MOBILE_TRADE_ROOM
end
MobileTradeRoomConsoleScript:
refreshscreen
special Function1037c2
writetext MobileTradeRoom_EstablishingCommsText
waitbutton
reloadmappart
special Function101231
closetext
end
MobileTradeRoom_EstablishingCommsText:
text "Establishing"
line "communications…"
done
MobileTradeRoom_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 4, 7, POKECENTER_2F, 5
warp_event 5, 7, POKECENTER_2F, 5
db 0 ; coord events
db 1 ; bg events
bg_event 4, 2, BGEVENT_UP, MobileTradeRoomConsoleScript
db 0 ; object events
|