forked from mid-kid/pokecrystal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRoute11.asm
162 lines (125 loc) · 3.41 KB
/
Route11.asm
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
object_const_def ; object_event constants
const ROUTE11_YOUNGSTER1
const ROUTE11_YOUNGSTER2
const ROUTE11_YOUNGSTER3
const ROUTE11_YOUNGSTER4
const ROUTE11_FRUIT_TREE
Route11_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TrainerYoungsterOwen:
trainer YOUNGSTER, OWEN, EVENT_BEAT_YOUNGSTER_OWEN, YoungsterOwenSeenText, YoungsterOwenBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext YoungsterOwenAfterBattleText
waitbutton
closetext
end
TrainerYoungsterJason:
trainer YOUNGSTER, JASON, EVENT_BEAT_YOUNGSTER_JASON, YoungsterJasonSeenText, YoungsterJasonBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext YoungsterJasonAfterBattleText
waitbutton
closetext
end
TrainerPsychicHerman:
trainer PSYCHIC_T, HERMAN, EVENT_BEAT_PSYCHIC_HERMAN, PsychicHermanSeenText, PsychicHermanBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext PsychicHermanAfterBattleText
waitbutton
closetext
end
TrainerPsychicFidel:
trainer PSYCHIC_T, FIDEL, EVENT_BEAT_PSYCHIC_FIDEL, PsychicFidelSeenText, PsychicFidelBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext PsychicFidelAfterBattleText
waitbutton
closetext
end
Route11Sign:
jumptext Route11SignText
Route11FruitTree:
fruittree FRUITTREE_ROUTE_11
Route11HiddenRevive:
hiddenitem REVIVE, EVENT_ROUTE_11_HIDDEN_REVIVE
YoungsterOwenSeenText:
text "There's no cheat-"
line "ing in #MON."
para "Let's keep it fair"
line "and square!"
done
YoungsterOwenBeatenText:
text "Huh? How did this"
line "happen?"
done
YoungsterOwenAfterBattleText:
text "I fought fair and"
line "square with honor."
para "I don't regret"
line "this at all."
done
YoungsterJasonSeenText:
text "It itches and"
line "tickles a bit when"
para "I wear shorts in"
line "the grass."
done
YoungsterJasonBeatenText:
text "Aiyaaah!"
line "I got stomped!"
done
YoungsterJasonAfterBattleText:
text "I'm going to catch"
line "more #MON in"
cont "the grass."
done
PsychicHermanSeenText:
text "…"
done
PsychicHermanBeatenText:
text "…"
done
PsychicHermanAfterBattleText:
text "…"
para "I lost while I had"
line "my eyes closed…"
done
PsychicFidelSeenText:
text "I can see it…"
para "Everything to see"
line "about you…"
done
PsychicFidelBeatenText:
text "I couldn't foresee"
line "your power…"
done
PsychicFidelAfterBattleText:
text "Strength in con-"
line "viction…"
para "You're strong be-"
line "cause you believe"
cont "in your #MON."
done
Route11SignText:
text "ROUTE 11"
done
Route11_MapEvents:
db 0, 0 ; filler
db 0 ; warp events
db 0 ; coord events
db 2 ; bg events
bg_event 3, 7, BGEVENT_READ, Route11Sign
bg_event 32, 5, BGEVENT_ITEM, Route11HiddenRevive
db 5 ; object events
object_event 22, 14, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerYoungsterOwen, -1
object_event 20, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerYoungsterJason, -1
object_event 28, 7, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerPsychicHerman, -1
object_event 8, 6, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerPsychicFidel, -1
object_event 32, 2, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route11FruitTree, -1