-
Notifications
You must be signed in to change notification settings - Fork 831
/
Copy pathCeladonPokecenter1F.asm
163 lines (126 loc) · 3.4 KB
/
CeladonPokecenter1F.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
163
object_const_def
const CELADONPOKECENTER1F_NURSE
const CELADONPOKECENTER1F_GENTLEMAN
const CELADONPOKECENTER1F_PHARMACIST
const CELADONPOKECENTER1F_COOLTRAINER_F
const CELADONPOKECENTER1F_EUSINE
CeladonPokecenter1F_MapScripts:
def_scene_scripts
def_callbacks
CeladonPokecenter1FNurseScript:
jumpstd PokecenterNurseScript
CeladonPokecenter1FGentlemanScript:
jumpstd HappinessCheckScript
CeladonPokecenter1FCooltrainerFScript:
jumptextfaceplayer CeladonPokecenter1FCooltrainerFText
CeladonPokecenter1FPharmacistScript:
jumptextfaceplayer CeladonPokecenter1FPharmacistText
CeladonEusine:
faceplayer
opentext
writetext CeladonEusineText1
promptbutton
setval SUICUNE
special MonCheck
iffalse .NoSuicune
special BeastsCheck
iftrue .HoOh
writetext NoBeastsText
waitbutton
.NoSuicune:
closetext
end
.HoOh:
writetext EusineLeavesCeladonText
waitbutton
closetext
readvar VAR_FACING
ifequal UP, .Location1
applymovement CELADONPOKECENTER1F_EUSINE, .Movement1
sjump .Continue
.Location1:
applymovement CELADONPOKECENTER1F_EUSINE, .Movement2
.Continue:
disappear CELADONPOKECENTER1F_EUSINE
playsound SFX_EXIT_BUILDING
waitsfx
end
.Movement2:
step LEFT
step DOWN
step DOWN
step DOWN
step DOWN
step_end
.Movement1:
step DOWN
step DOWN
step DOWN
step DOWN
step_end
CeladonPokecenter1FCooltrainerFText:
text "ERIKA is a master"
line "of grass #MON."
para "She'll make you"
line "pay if you don't"
cont "watch yourself."
done
CeladonPokecenter1FPharmacistText:
text "TEAM ROCKET's"
line "hideout is in the"
para "basement of the"
line "GAME CORNER."
para "Oh, wait. That was"
line "three years ago."
done
CeladonEusineText1:
text "EUSINE: Hi!"
para "I'm back visiting"
line "my hometown."
para "It's been quite a"
line "while."
done
EusineLeavesCeladonText:
text "<PLAYER>, have you"
line "heard?"
para "There have been"
line "fresh rumors of a"
para "rainbow-colored"
line "#MON appearing"
cont "at TIN TOWER."
para "I've just had my"
line "party healed, so"
para "now I'm headed to"
line "ECRUTEAK."
para "I'll be seeing"
line "you, <PLAYER>!"
done
NoBeastsText:
text "Oh, by the way,"
line "<PLAYER>."
para "Have you caught"
line "the legendary"
para "#MON RAIKOU and"
line "ENTEI?"
para "<……><……><……>"
para "Okay…"
para "If you catch even"
line "one, I hope that"
cont "you'll inform me."
para "I'm counting on"
line "you, <PLAYER>!"
done
CeladonPokecenter1F_MapEvents:
db 0, 0 ; filler
def_warp_events
warp_event 3, 7, CELADON_CITY, 5
warp_event 4, 7, CELADON_CITY, 5
warp_event 0, 7, POKECENTER_2F, 1
def_coord_events
def_bg_events
def_object_events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FNurseScript, -1
object_event 1, 5, SPRITE_GENTLEMAN, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FGentlemanScript, -1
object_event 0, 3, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FPharmacistScript, -1
object_event 8, 6, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FCooltrainerFScript, -1
object_event 4, 3, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonEusine, EVENT_SET_WHEN_FOUGHT_HO_OH