-
Notifications
You must be signed in to change notification settings - Fork 831
/
Copy pathCeladonMansionRoofHouse.asm
129 lines (95 loc) · 2.37 KB
/
CeladonMansionRoofHouse.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
object_const_def
const CELADONMANSIONROOFHOUSE_PHARMACIST
CeladonMansionRoofHouse_MapScripts:
def_scene_scripts
def_callbacks
CeladonMansionRoofHousePharmacistScript:
faceplayer
opentext
checkevent EVENT_GOT_TM03_CURSE
iftrue .GotCurse
writetext CeladonMansionRoofHousePharmacistIntroText
promptbutton
checktime NITE
iftrue .Night
writetext CeladonMansionRoofHousePharmacistNotNightText
waitbutton
closetext
end
.Night:
writetext CeladonMansionRoofHousePharmacistStoryText
promptbutton
verbosegiveitem TM_CURSE
iffalse .NoRoom
setevent EVENT_GOT_TM03_CURSE
.GotCurse:
writetext CeladonMansionRoofHousePharmacistCurseText
waitbutton
.NoRoom:
closetext
end
CeladonMansionRoofHousePharmacistIntroText:
text "Let me recount a"
line "terrifying tale…"
done
CeladonMansionRoofHousePharmacistNotNightText:
text "Then again, it's"
line "not as scary while"
para "it's still light"
line "outside."
para "Come back after"
line "sunset, OK?"
done
CeladonMansionRoofHousePharmacistStoryText:
text "Once upon a time,"
line "there was a little"
para "boy who was given"
line "a new BICYCLE…"
para "He wanted to try"
line "it right away…"
para "He was having so"
line "much fun that he"
para "didn't notice the"
line "sun had set…"
para "While riding home"
line "in the pitch-black"
para "night, the bike"
line "suddenly slowed!"
para "The pedals became"
line "heavy!"
para "When he stopped"
line "pedaling, the bike"
para "began slipping"
line "backwards!"
para "It was as if the"
line "bike were cursed"
para "and trying to drag"
line "him into oblivion!"
para "…"
para "…"
para "SHRIEEEEK!"
para "The boy had been"
line "riding uphill on"
cont "CYCLING ROAD!"
para "…"
line "Ba-dum ba-dum!"
para "For listening so"
line "patiently, you may"
cont "take this--TM03!"
done
CeladonMansionRoofHousePharmacistCurseText:
text "TM03 is CURSE."
para "It's a terrifying"
line "move that slowly"
para "whittles down the"
line "victim's HP."
done
CeladonMansionRoofHouse_MapEvents:
db 0, 0 ; filler
def_warp_events
warp_event 2, 7, CELADON_MANSION_ROOF, 3
warp_event 3, 7, CELADON_MANSION_ROOF, 3
def_coord_events
def_bg_events
def_object_events
object_event 3, 2, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 2, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonMansionRoofHousePharmacistScript, -1