pokecrystal/maps/OlivineLighthouse5F.asm

121 lines
3.0 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const OLIVINELIGHTHOUSE5F_SAILOR
const OLIVINELIGHTHOUSE5F_YOUNGSTER
const OLIVINELIGHTHOUSE5F_POKE_BALL1
const OLIVINELIGHTHOUSE5F_POKE_BALL2
const OLIVINELIGHTHOUSE5F_POKE_BALL3
2015-07-10 08:20:21 +00:00
OlivineLighthouse5F_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
TrainerBirdKeeperDenis:
trainer EVENT_BEAT_BIRD_KEEPER_DENIS, BIRD_KEEPER, DENIS, BirdKeeperDenisSeenText, BirdKeeperDenisBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
writetext BirdKeeperDenisAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerSailorErnest:
2017-12-18 01:45:04 +00:00
trainer EVENT_BEAT_SAILOR_ERNEST, SAILOR, ERNEST, SailorErnestSeenText, SailorErnestBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext SailorErnestAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-12-15 15:55:56 +00:00
OlivineLighthouse5FRareCandy:
itemball RARE_CANDY
2015-12-15 15:55:56 +00:00
OlivineLighthouse5FSuperRepel:
itemball SUPER_REPEL
2015-12-15 15:55:56 +00:00
OlivineLighthouse5FTMSwagger:
itemball TM_SWAGGER
OlivineLighthouse5FHiddenHyperPotion:
dwb EVENT_OLIVINE_LIGHTHOUSE_5F_HIDDEN_HYPER_POTION, HYPER_POTION
2015-07-10 08:20:21 +00:00
SailorErnestSeenText:
text "I wanted to battle"
line "JASMINE, but she's"
para "not up to it now."
line "So, how about you?"
done
2015-07-10 08:20:21 +00:00
SailorErnestBeatenText:
text "Whoa, whoa. You're"
line "overwhelming!"
done
2017-12-10 20:36:58 +00:00
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
2015-07-10 08:20:21 +00:00
OlivineLighthouse5F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 7
warp_def 9, 15, 1, OLIVINE_LIGHTHOUSE_6F
warp_def 3, 5, 2, OLIVINE_LIGHTHOUSE_4F
warp_def 9, 7, 3, OLIVINE_LIGHTHOUSE_4F
warp_def 16, 7, 9, OLIVINE_LIGHTHOUSE_4F
warp_def 17, 7, 10, OLIVINE_LIGHTHOUSE_4F
warp_def 16, 5, 2, OLIVINE_LIGHTHOUSE_6F
warp_def 17, 5, 3, OLIVINE_LIGHTHOUSE_6F
.CoordEvents:
db 0
.BGEvents:
db 1
bg_event 3, 13, BGEVENT_ITEM, OlivineLighthouse5FHiddenHyperPotion
.ObjectEvents:
db 5
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_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, OlivineLighthouse5FRareCandy, EVENT_OLIVINE_LIGHTHOUSE_5F_RARE_CANDY
object_event 6, 15, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, OlivineLighthouse5FSuperRepel, EVENT_OLIVINE_LIGHTHOUSE_5F_SUPER_REPEL
object_event 2, 13, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, OlivineLighthouse5FTMSwagger, EVENT_OLIVINE_LIGHTHOUSE_5F_TM_SWAGGER