pokecrystal-board/maps/OlivineLighthouse5F.asm

148 lines
3.0 KiB
NASM
Raw Normal View History

2015-07-10 01:20:21 -07:00
OlivineLighthouse5F_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
2015-07-10 01:20:21 -07:00
TrainerBird_keeperDenis:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_BIRD_KEEPER_DENIS
; trainer group && trainer id
db BIRD_KEEPER, DENIS
; text when seen
dw Bird_keeperDenisSeenText
; text when trainer beaten
dw Bird_keeperDenisBeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperDenisScript
2015-07-10 01:20:21 -07:00
Bird_keeperDenisScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x60ac3
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerSailorErnest:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_SAILOR_ERNEST
; trainer group && trainer id
db SAILOR, ERNEST
; text when seen
dw SailorErnestSeenText
; text when trainer beaten
dw SailorErnestBeatenText
; script when lost
dw $0000
; script when talk again
dw SailorErnestScript
2015-07-10 01:20:21 -07:00
SailorErnestScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x60a1f
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
ItemFragment_0x609aa:
db RARE_CANDY, 1
2015-07-10 01:20:21 -07:00
ItemFragment_0x609ac:
db SUPER_REPEL, 1
2015-07-10 01:20:21 -07:00
ItemFragment_0x609ae:
db TM_SWAGGER, 1
2015-07-10 01:20:21 -07:00
MapOlivineLighthouse5FSignpostItem0:
dw $0085
db HYPER_POTION
2015-07-10 01:20:21 -07: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 01:20:21 -07:00
SailorErnestBeatenText:
text "Whoa, whoa. You're"
line "overwhelming!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x60a1f:
text "A GYM LEADER isn't"
line "just about being"
para "strong. A LEADER"
line "also needs to be"
cont "compassionate."
done
2015-07-10 01:20:21 -07:00
Bird_keeperDenisSeenText:
text "We're pretty high"
line "up here. My bird"
para "#MON are in"
line "prime form."
done
2015-07-10 01:20:21 -07:00
Bird_keeperDenisBeatenText:
text "Oops…They crashed…"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x60ac3:
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 01:20:21 -07:00
OlivineLighthouse5F_MapEventHeader:
; filler
db 0, 0
; warps
db 7
warp_def $f, $9, 1, GROUP_OLIVINE_LIGHTHOUSE_6F, MAP_OLIVINE_LIGHTHOUSE_6F
warp_def $5, $3, 2, GROUP_OLIVINE_LIGHTHOUSE_4F, MAP_OLIVINE_LIGHTHOUSE_4F
warp_def $7, $9, 3, GROUP_OLIVINE_LIGHTHOUSE_4F, MAP_OLIVINE_LIGHTHOUSE_4F
warp_def $7, $10, 9, GROUP_OLIVINE_LIGHTHOUSE_4F, MAP_OLIVINE_LIGHTHOUSE_4F
warp_def $7, $11, 10, GROUP_OLIVINE_LIGHTHOUSE_4F, MAP_OLIVINE_LIGHTHOUSE_4F
warp_def $5, $10, 2, GROUP_OLIVINE_LIGHTHOUSE_6F, MAP_OLIVINE_LIGHTHOUSE_6F
warp_def $5, $11, 3, GROUP_OLIVINE_LIGHTHOUSE_6F, MAP_OLIVINE_LIGHTHOUSE_6F
; xy triggers
db 0
; signposts
db 1
signpost 13, 3, $7, MapOlivineLighthouse5FSignpostItem0
; people-events
db 5
person_event SPRITE_SAILOR, 15, 12, $a, $0, 255, 255, $92, 3, TrainerSailorErnest, EVENT_ALWAYS_THERE
person_event SPRITE_YOUNGSTER, 7, 12, $8, $0, 255, 255, $92, 4, TrainerBird_keeperDenis, EVENT_ALWAYS_THERE
person_event SPRITE_POKE_BALL, 16, 19, $1, $0, 255, 255, $1, 0, ItemFragment_0x609aa, EVENT_665
person_event SPRITE_POKE_BALL, 19, 10, $1, $0, 255, 255, $1, 0, ItemFragment_0x609ac, EVENT_666
person_event SPRITE_POKE_BALL, 17, 6, $1, $0, 255, 255, $1, 0, ItemFragment_0x609ae, EVENT_667