summaryrefslogtreecommitdiff
path: root/data/scripts/maps/SlateportCity_ContestLobby.inc
blob: b2cce5312ce9702728508536d6e0bfcf03a41581 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
SlateportCity_ContestLobby_MapScripts:: @ 8155411
	map_script 3, SlateportCity_ContestLobby_MapScript1_155417
	.byte 0

SlateportCity_ContestLobby_MapScript1_155417:: @ 8155417
	call SlateportCity_ContestLobby_EventScript_1AE188
	end

SlateportCity_ContestLobby_EventScript_15541D:: @ 815541D
	setvar 0x800b, 7
	setvar CONTEST_RANK, 2
	call SlateportCity_ContestLobby_EventScript_1A4E92
	call SlateportCity_ContestLobby_EventScript_155448
	special 83
	call SlateportCity_ContestLobby_EventScript_15FBDB
	setvar 0x4088, 3
	warp LinkContestRoom1, 255, 7, 5
	waitstate
	end

SlateportCity_ContestLobby_EventScript_155448:: @ 8155448
	lockall
	move 1, SlateportCity_ContestLobby_Movement_1554CC
	waitmove 0
	playsfx 71
	setmaptile 4, 2, 545, 1
	setmaptile 4, 3, 609, 1
	special 142
	move 1, SlateportCity_ContestLobby_Movement_1554CF
	waitmove 0
	playsfx 71
	setmaptile 4, 2, 721, 1
	setmaptile 4, 3, 729, 1
	special 142
	pause 20
	move 1, SlateportCity_ContestLobby_Movement_1554DC
	waitmove 0
	move 255, SlateportCity_ContestLobby_Movement_1554CA
	waitmove 0
	msgbox SlateportCity_ContestLobby_Text_1A6832, 4
	closebutton
	move 1, SlateportCity_ContestLobby_Movement_1554D3
	move 255, SlateportCity_ContestLobby_Movement_1554C0
	waitmove 0
	releaseall
	return

SlateportCity_ContestLobby_Movement_1554C0:: @ 81554C0
	step_left
	step_left
	step_left
	step_left
	step_up
	step_up
	step_up
	step_13
	step_54
	step_end

SlateportCity_ContestLobby_Movement_1554CA:: @ 81554CA
	step_27
	step_end

SlateportCity_ContestLobby_Movement_1554CC:: @ 81554CC
	step_left
	step_25
	step_end

SlateportCity_ContestLobby_Movement_1554CF:: @ 81554CF
	step_down
	step_down
	step_26
	step_end

SlateportCity_ContestLobby_Movement_1554D3:: @ 81554D3
	step_left
	step_left
	step_left
	step_up
	step_up
	step_up
	step_13
	step_54
	step_end

SlateportCity_ContestLobby_Movement_1554DC:: @ 81554DC
	step_28
	step_end

SlateportCity_ContestLobby_EventScript_1554DE:: @ 81554DE
	msgbox SlateportCity_ContestLobby_Text_17C937, 2
	end

SlateportCity_ContestLobby_EventScript_1554E7:: @ 81554E7
	msgbox SlateportCity_ContestLobby_Text_17C9D5, 2
	end

SlateportCity_ContestLobby_EventScript_1554F0:: @ 81554F0
	msgbox SlateportCity_ContestLobby_Text_17CAEC, 2
	end

SlateportCity_ContestLobby_EventScript_1554F9:: @ 81554F9
	lockall
	checkflag 95
	jumpeq SlateportCity_ContestLobby_EventScript_155526
	move 7, SlateportCity_ContestLobby_Movement_1A0839
	waitmove 0
	msgbox SlateportCity_ContestLobby_Text_17CA67, 4
	giveitem ITEM_POKEBLOCK_CASE
	setflag 95
	releaseall
	end

SlateportCity_ContestLobby_EventScript_155526:: @ 8155526
	msgbox SlateportCity_ContestLobby_Text_17CA88, 2
	end

SlateportCity_ContestLobby_EventScript_15552F:: @ 815552F
	lockall
	fadescreen 1
	showcontestwinner 3
	releaseall
	end

SlateportCity_ContestLobby_EventScript_155536:: @ 8155536
	msgbox SlateportCity_ContestLobby_Text_1B7225, 2
	end

@ 815553F
	lockall
	special 259
	waitbutton
	hidebox 0, 0, 29, 19
	releaseall
	end