forked from mid-kid/pokecrystal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOlivineLighthouse5F.asm
113 lines (88 loc) · 3.07 KB
/
OlivineLighthouse5F.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
object_const_def ; object_event constants
const OLIVINELIGHTHOUSE5F_SAILOR
const OLIVINELIGHTHOUSE5F_YOUNGSTER
const OLIVINELIGHTHOUSE5F_POKE_BALL1
const OLIVINELIGHTHOUSE5F_POKE_BALL2
const OLIVINELIGHTHOUSE5F_POKE_BALL3
OlivineLighthouse5F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TrainerBirdKeeperDenis:
trainer BIRD_KEEPER, DENIS, EVENT_BEAT_BIRD_KEEPER_DENIS, BirdKeeperDenisSeenText, BirdKeeperDenisBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext BirdKeeperDenisAfterBattleText
waitbutton
closetext
end
TrainerSailorErnest:
trainer SAILOR, ERNEST, EVENT_BEAT_SAILOR_ERNEST, SailorErnestSeenText, SailorErnestBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext SailorErnestAfterBattleText
waitbutton
closetext
end
OlivineLighthouse5FRareCandy:
itemball RARE_CANDY
OlivineLighthouse5FSuperRepel:
itemball SUPER_REPEL
OlivineLighthouse5FTMSwagger:
itemball TM_SWAGGER
OlivineLighthouse5FHiddenHyperPotion:
hiddenitem HYPER_POTION, EVENT_OLIVINE_LIGHTHOUSE_5F_HIDDEN_HYPER_POTION
SailorErnestSeenText:
text "I wanted to battle"
line "JASMINE, but she's"
para "not up to it now."
line "So, how about you?"
done
SailorErnestBeatenText:
text "Whoa, whoa. You're"
line "overwhelming!"
done
SailorErnestAfterBattleText:
text "A GYM LEADER isn't"
line "just about being"
para "strong. A LEADER"
line "also needs to be"
cont "compassionate."
done
BirdKeeperDenisSeenText:
text "We're pretty high"
line "up here. My bird"
para "#MON are in"
line "prime form."
done
BirdKeeperDenisBeatenText:
text "Oops…They crashed…"
done
BirdKeeperDenisAfterBattleText:
text "My #MON learned"
line "how to use FLY in"
cont "CIANWOOD."
para "Well, since I'm a"
line "loser, I'll FLY"
cont "across the sea…"
done
OlivineLighthouse5F_MapEvents:
db 0, 0 ; filler
db 7 ; warp events
warp_event 9, 15, OLIVINE_LIGHTHOUSE_6F, 1
warp_event 3, 5, OLIVINE_LIGHTHOUSE_4F, 2
warp_event 9, 7, OLIVINE_LIGHTHOUSE_4F, 3
warp_event 16, 7, OLIVINE_LIGHTHOUSE_4F, 9
warp_event 17, 7, OLIVINE_LIGHTHOUSE_4F, 10
warp_event 16, 5, OLIVINE_LIGHTHOUSE_6F, 2
warp_event 17, 5, OLIVINE_LIGHTHOUSE_6F, 3
db 0 ; coord events
db 1 ; bg events
bg_event 3, 13, BGEVENT_ITEM, OlivineLighthouse5FHiddenHyperPotion
db 5 ; object events
object_event 8, 11, SPRITE_SAILOR, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSailorErnest, -1
object_event 8, 3, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerBirdKeeperDenis, -1
object_event 15, 12, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, OlivineLighthouse5FRareCandy, EVENT_OLIVINE_LIGHTHOUSE_5F_RARE_CANDY
object_event 6, 15, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, OlivineLighthouse5FSuperRepel, EVENT_OLIVINE_LIGHTHOUSE_5F_SUPER_REPEL
object_event 2, 13, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, OlivineLighthouse5FTMSwagger, EVENT_OLIVINE_LIGHTHOUSE_5F_TM_SWAGGER