summaryrefslogtreecommitdiff
path: root/data/scripts/maps/Route102.inc
blob: 00c8c309fd9085283f6412d33ea330e742e18eb7 (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
Route102_MapScripts:: @ 81EC0E0
	.byte 0

Route102_EventScript_1EC0E1:: @ 81EC0E1
	msgbox Route102_Text_1EC2C0, 2
	end

Route102_EventScript_1EC0EA:: @ 81EC0EA
	msgbox Route102_Text_1EC35B, 3
	end

Route102_EventScript_1EC0F3:: @ 81EC0F3
	msgbox Route102_Text_1EC373, 3
	end

Route102_EventScript_1EC0FC:: @ 81EC0FC
	msgbox Route102_Text_1EC32E, 2
	end

Route102_EventScript_1EC105:: @ 81EC105
	trainerbattle 2, TRAINER_CALVIN_1, 0, Route102_Text_294513, Route102_Text_29457C, Route102_EventScript_1EC146
	specialvar VAR_RESULT, sub_80B226C
	compare_var_to_value VAR_RESULT, 1
	goto_eq Route102_EventScript_1EC19C
	setvar VAR_0x8004, 318
	specialvar VAR_RESULT, sub_813B4E0
	compare_var_to_value VAR_RESULT, 0
	goto_eq Route102_EventScript_1EC170
	msgbox Route102_Text_2945AC, 4
	release
	end

Route102_EventScript_1EC146:: @ 81EC146
	special sub_80B4808
	waitmovement 0
	checkflag FLAG_0x12F
	goto_eq Route102_EventScript_1EC157
	release
	end

Route102_EventScript_1EC157:: @ 81EC157
	msgbox Route102_Text_294668, 4
	setvar VAR_0x8004, 318
	special sub_81D1C20
	setorcopyvar VAR_0x8000, 318
	callstd 8
	release
	end

Route102_EventScript_1EC170:: @ 81EC170
	checkflag FLAG_0x12F
	goto_eq Route102_EventScript_1EC183
	msgbox Route102_Text_2945AC, 4
	release
	end

Route102_EventScript_1EC183:: @ 81EC183
	msgbox Route102_Text_2945EB, 4
	setvar VAR_0x8004, 318
	special sub_81D1C20
	setorcopyvar VAR_0x8000, 318
	callstd 8
	release
	end

Route102_EventScript_1EC19C:: @ 81EC19C
	trainerbattle 5, TRAINER_CALVIN_1, 0, Route102_Text_2946AE, Route102_Text_29470C
	msgbox Route102_Text_29473C, 6
	end

Route102_EventScript_1EC1B3:: @ 81EC1B3
	trainerbattle 0, TRAINER_RICK, 0, Route102_Text_29480C, Route102_Text_294847
	msgbox Route102_Text_294859, 6
	end

Route102_EventScript_1EC1CA:: @ 81EC1CA
	trainerbattle 0, TRAINER_TIANA, 0, Route102_Text_29489E, Route102_Text_2948F3
	msgbox Route102_Text_294916, 6
	end

Route102_EventScript_1EC1E1:: @ 81EC1E1
	trainerbattle 0, TRAINER_ALLEN, 0, Route102_Text_294775, Route102_Text_2947AA
	msgbox Route102_Text_2947DB, 6
	end

PetalburgCity_Text_1EC1F8: @ 81EC1F8
	.string "WALLY: {PLAYER}…\n"
	.string "POKéMON hide in tall grass like this,\l"
	.string "don’t they?\p"
	.string "Please watch me and see if I can\n"
	.string "catch one properly.\p"
	.string "…Whoa!$"

PetalburgCity_Text_1EC271: @ 81EC271
	.string "WALLY: I did it… It’s my…\n"
	.string "My POKéMON!$"

PetalburgCity_Text_1EC297: @ 81EC297
	.string "{PLAYER}, thank you!\n"
	.string "Let’s go back to the GYM!$"

Route102_Text_1EC2C0: @ 81EC2C0
	.string "I’m…not very tall, so I sink right\n"
	.string "into tall grass.\p"
	.string "The grass goes up my nose and…\n"
	.string "Fwafwafwafwafwa…\p"
	.string "Fwatchoo!$"

Route102_Text_1EC32E: @ 81EC32E
	.string "I’m going to catch a whole bunch of\n"
	.string "POKéMON!$"

Route102_Text_1EC35B: @ 81EC35B
	.string "ROUTE 102\n"
	.string "{0x7C} OLDALE TOWN$"

Route102_Text_1EC373: @ 81EC373
	.string "ROUTE 102\n"
	.string "{0x7B} PETALBURG CITY$"