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
|
object_const_def
const ROUTE34ILEXFORESTGATE_TEACHER
const ROUTE34ILEXFORESTGATE_BUTTERFREE
const ROUTE34ILEXFORESTGATE_LASS
Route34IlexForestGate_MapScripts:
def_scene_scripts
def_callbacks
Route34IlexForestGateTeacherScript:
faceplayer
opentext
checkevent EVENT_GOT_TM12_SWEET_SCENT
iftrue .GotSweetScent
writetext Route34IlexForestGateTeacherText
promptbutton
verbosegiveitem TM_SWEET_SCENT
iffalse .NoRoom
setevent EVENT_GOT_TM12_SWEET_SCENT
.GotSweetScent:
writetext Route34IlexForestGateTeacher_GotSweetScent
waitbutton
.NoRoom:
closetext
end
Route34IlexForestGateButterfreeScript:
opentext
writetext Route34IlexForestGateButterfreeText
cry BUTTERFREE
waitbutton
closetext
end
Route34IlexForestGateLassScript:
jumptextfaceplayer Route34IlexForestGateLassText
Route34IlexForestGateTeacherText:
text "Oh, honey. You're"
line "making a #DEX?"
para "It must be hard if"
line "#MON won't"
para "appear. Try using"
line "this TM."
done
Route34IlexForestGateTeacher_GotSweetScent:
text "It's SWEET SCENT."
para "Use it wherever"
line "#MON appear."
para "#MON will be"
line "enticed by it."
done
Route34IlexForestGateButterfreeText:
text "BUTTERFREE: Freeh!"
done
Route34IlexForestGateLassText:
text "Did you see the"
line "shrine honoring"
cont "the protector?"
para "It watches over"
line "the FOREST from"
cont "across time."
para "I think that it"
line "must be a grass-"
cont "type #MON."
done
Route34IlexForestGate_MapEvents:
db 0, 0 ; filler
def_warp_events
warp_event 4, 0, ROUTE_34, 1
warp_event 5, 0, ROUTE_34, 2
warp_event 4, 7, ILEX_FOREST, 1
warp_event 5, 7, ILEX_FOREST, 1
def_coord_events
def_bg_events
def_object_events
object_event 9, 3, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route34IlexForestGateTeacherScript, -1
object_event 9, 4, SPRITE_BUTTERFREE, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Route34IlexForestGateButterfreeScript, -1
object_event 3, 4, SPRITE_LASS, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, Route34IlexForestGateLassScript, -1
|