-
Notifications
You must be signed in to change notification settings - Fork 831
/
Copy pathCinnabarIsland.asm
143 lines (102 loc) · 2.68 KB
/
CinnabarIsland.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
object_const_def
const CINNABARISLAND_BLUE
CinnabarIsland_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, CinnabarIslandFlypointCallback
CinnabarIslandFlypointCallback:
setflag ENGINE_FLYPOINT_CINNABAR
endcallback
CinnabarIslandBlue:
faceplayer
opentext
writetext CinnabarIslandBlueText
waitbutton
closetext
playsound SFX_WARP_TO
applymovement CINNABARISLAND_BLUE, CinnabarIslandBlueTeleport
disappear CINNABARISLAND_BLUE
clearevent EVENT_VIRIDIAN_GYM_BLUE
end
CinnabarIslandGymSign:
jumptext CinnabarIslandGymSignText
CinnabarIslandSign:
jumptext CinnabarIslandSignText
CinnabarIslandPokecenterSign:
jumpstd PokecenterSignScript
CinnabarIslandHiddenRareCandy:
hiddenitem RARE_CANDY, EVENT_CINNABAR_ISLAND_HIDDEN_RARE_CANDY
CinnabarIslandBlueTeleport:
teleport_from
step_end
CinnabarIslandBlueText:
text "Who are you?"
para "Well, it's plain"
line "to see that you're"
cont "a trainer…"
para "My name's BLUE."
para "I was once the"
line "CHAMPION, although"
para "it was for only a"
line "short time…"
para "That meddling RED"
line "did me in…"
para "Anyway, what do"
line "you want? You want"
para "to challenge me or"
line "something?"
para "…I hate to say"
line "it, but I'm not in"
para "the mood for a"
line "battle now."
para "Take a good look"
line "around you…"
para "A volcano erupts,"
line "and just like"
para "that, a whole town"
line "disappears."
para "We can go on win-"
line "ning and losing in"
para "#MON. But if"
line "nature so much as"
para "twitches, we can"
line "lose in a second."
para "…"
para "That's the way it"
line "is…"
para "But, anyway, I'm"
line "still a trainer."
para "If I see a strong"
line "opponent, it makes"
cont "me want to battle."
para "If you want to"
line "battle me, come to"
cont "the VIRIDIAN GYM."
para "I'll take you on"
line "then."
done
CinnabarIslandGymSignText:
text "There's a notice"
line "here…"
para "CINNABAR GYM has"
line "relocated to SEA-"
cont "FOAM ISLANDS."
para "BLAINE"
done
CinnabarIslandSignText:
text "CINNABAR ISLAND"
para "The Fiery Town of"
line "Burning Desire"
done
CinnabarIsland_MapEvents:
db 0, 0 ; filler
def_warp_events
warp_event 11, 11, CINNABAR_POKECENTER_1F, 1
def_coord_events
def_bg_events
bg_event 12, 11, BGEVENT_READ, CinnabarIslandPokecenterSign
bg_event 9, 11, BGEVENT_READ, CinnabarIslandGymSign
bg_event 7, 7, BGEVENT_READ, CinnabarIslandSign
bg_event 9, 1, BGEVENT_ITEM, CinnabarIslandHiddenRareCandy
def_object_events
object_event 9, 6, SPRITE_BLUE, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CinnabarIslandBlue, EVENT_BLUE_IN_CINNABAR