pokecrystal/maps/OlivineLighthouse5F.asm

148 lines
3.1 KiB
NASM

OlivineLighthouse5F_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
TrainerBird_keeperDenis:
; bit/flag number
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
Bird_keeperDenisScript:
talkaftercancel
loadfont
writetext UnknownText_0x60ac3
closetext
loadmovesprites
end
TrainerSailorErnest:
; bit/flag number
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
SailorErnestScript:
talkaftercancel
loadfont
writetext UnknownText_0x60a1f
closetext
loadmovesprites
end
ItemFragment_0x609aa:
db RARE_CANDY, 1
ItemFragment_0x609ac:
db SUPER_REPEL, 1
ItemFragment_0x609ae:
db TM_SWAGGER, 1
MapOlivineLighthouse5FSignpostItem0:
dw $0085
db 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
UnknownText_0x60a1f:
text "A GYM LEADER isn't"
line "just about being"
para "strong. A LEADER"
line "also needs to be"
cont "compassionate."
done
Bird_keeperDenisSeenText:
text "We're pretty high"
line "up here. My bird"
para "#MON are in"
line "prime form."
done
Bird_keeperDenisBeatenText:
text "Oops…They crashed…"
done
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
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, SIGNPOST_ITEMIFSET, MapOlivineLighthouse5FSignpostItem0
; people-events
db 5
person_event SPRITE_SAILOR, 15, 12, LEFT << 2 | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerSailorErnest, -1
person_event SPRITE_YOUNGSTER, 7, 12, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 4, TrainerBird_keeperDenis, -1
person_event SPRITE_POKE_BALL, 16, 19, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x609aa, EVENT_665
person_event SPRITE_POKE_BALL, 19, 10, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x609ac, EVENT_666
person_event SPRITE_POKE_BALL, 17, 6, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x609ae, EVENT_667