summaryrefslogtreecommitdiff
path: root/data/scripts/maps/Route121.inc
blob: 6108b129dee34e0e826d49b98b5a6cefe9540bfb (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
Route121_MapScripts:: @ 8151AFE
	map_script 3, Route121_MapScript1_151B04
	.byte 0

Route121_MapScript1_151B04:: @ 8151B04
	call Route121_EventScript_1A0196
	end

Route121_EventScript_151B0A:: @ 8151B0A
	msgbox Route121_Text_171CB4, 2
	end

Route121_EventScript_151B13:: @ 8151B13
	msgbox Route121_Text_171D0C, 3
	end

Route121_EventScript_151B1C:: @ 8151B1C
	msgbox Route121_Text_171D5B, 3
	end

Route121_EventScript_151B25:: @ 8151B25
	lockall
	msgbox Route121_Text_171C8F, 4
	closemessage
	applymovement 12, Route121_Movement_151B57
	applymovement 13, Route121_Movement_151B60
	applymovement 14, Route121_Movement_151B69
	waitmovement 0
	removeobject 12
	removeobject 13
	removeobject 14
	setvar VAR_ROUTE121_STATE, 1
	releaseall
	end

Route121_Movement_151B57:: @ 8151B57
	step_down
	step_down
	step_down
	step_down
	step_down
	step_down
	step_down
	step_down
	step_end

Route121_Movement_151B60:: @ 8151B60
	step_down
	step_down
	step_down
	step_down
	step_down
	step_down
	step_down
	step_down
	step_end

Route121_Movement_151B69:: @ 8151B69
	step_down
	step_down
	step_down
	step_down
	step_down
	step_down
	step_down
	step_down
	step_end

Route121_EventScript_151B72:: @ 8151B72
	trainerbattle 0, OPPONENT_VANESSA, 0, Route121_Text_1BF96E, Route121_Text_1BF9A1
	msgbox Route121_Text_1BF9BA, 6
	end

Route121_EventScript_151B89:: @ 8151B89
	trainerbattle 0, OPPONENT_WALTER_1, 0, Route121_Text_1BFA1B, Route121_Text_1BFA8C
	specialvar RESULT, ShouldTryRematchBattle
	compare RESULT, 1
	goto_if_eq Route121_EventScript_151BB0
	msgbox Route121_Text_1BFA9D, 6
	end

Route121_EventScript_151BB0:: @ 8151BB0
	trainerbattle 5, OPPONENT_WALTER_1, 0, Route121_Text_1BFADA, Route121_Text_1BFB4B
	msgbox Route121_Text_1BFB5C, 6
	end

Route121_EventScript_151BC7:: @ 8151BC7
	trainerbattle 0, OPPONENT_TAMMY, 0, Route121_Text_1BFBB4, Route121_Text_1BFBEE
	msgbox Route121_Text_1BFBFD, 6
	end

Route121_EventScript_151BDE:: @ 8151BDE
	trainerbattle 4, OPPONENT_KATE_AND_JOY, 0, Route121_Text_1BFC36, Route121_Text_1BFC7A, Route121_Text_1BFD08
	msgbox Route121_Text_1BFCB3, 6
	end

Route121_EventScript_151BF9:: @ 8151BF9
	trainerbattle 4, OPPONENT_KATE_AND_JOY, 0, Route121_Text_1BFD60, Route121_Text_1BFDA3, Route121_Text_1BFE0D
	msgbox Route121_Text_1BFDC1, 6
	end

Route121_EventScript_151C14:: @ 8151C14
	trainerbattle 0, OPPONENT_JESSICA_1, 0, Route121_Text_1BFE51, Route121_Text_1BFE80
	specialvar RESULT, ShouldTryRematchBattle
	compare RESULT, 1
	goto_if_eq Route121_EventScript_151C3B
	msgbox Route121_Text_1BFEAE, 6
	end

Route121_EventScript_151C3B:: @ 8151C3B
	trainerbattle 5, OPPONENT_JESSICA_1, 0, Route121_Text_1BFEDE, Route121_Text_1BFF0A
	msgbox Route121_Text_1BFF3A, 6
	end