pokecrystal-board/maps/OlivineLighthouse4F.asm
PikalaxALT 94129b6b45 Finished the decoration attributes table
Interpretation of the Decoration Attributes table is complete.

Other changes include some more event flag and function naming, as well as a minor tweak to the person_events of every map.
2015-07-19 04:58:31 -04:00

107 lines
2.5 KiB
NASM

OlivineLighthouse4F_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
TrainerLassConnie:
trainer EVENT_BEAT_LASS_CONNIE, LASS, CONNIE1, LassConnie1SeenText, LassConnie1BeatenText, $0000, LassConnie1Script
LassConnie1Script:
talkaftercancel
loadfont
writetext UnknownText_0x5b63c
closetext
loadmovesprites
end
TrainerSailorKent:
trainer EVENT_BEAT_SAILOR_KENT, SAILOR, KENT, SailorKentSeenText, SailorKentBeatenText, $0000, SailorKentScript
SailorKentScript:
talkaftercancel
loadfont
writetext UnknownText_0x5b584
closetext
loadmovesprites
end
SailorKentSeenText:
text "JASMINE must be"
line "worried sick about"
cont "the #MON here."
para "She won't even"
line "smile these days."
done
SailorKentBeatenText:
text "I can't manage a"
line "smile either…"
done
UnknownText_0x5b584:
text "Speaking of sick,"
line "I've heard there's"
para "a good PHARMACY in"
line "CIANWOOD."
done
LassConnie1SeenText:
text "JASMINE is this"
line "city's GYM LEADER."
para "I mean to bring"
line "her back with me."
para "Nobody had better"
line "get in my way!"
done
LassConnie1BeatenText:
text "Aaack! My #MON!"
done
UnknownText_0x5b63c:
text "Right. Anybody"
line "would be worried"
cont "if his or her own"
cont "#MON were hurt."
para "I'll pray for the"
line "#MON here, so"
para "JASMINE can come"
line "back to the GYM."
done
OlivineLighthouse4F_MapEventHeader:
; filler
db 0, 0
; warps
db 10
warp_def $3, $d, 1, GROUP_OLIVINE_LIGHTHOUSE_3F, MAP_OLIVINE_LIGHTHOUSE_3F
warp_def $5, $3, 2, GROUP_OLIVINE_LIGHTHOUSE_5F, MAP_OLIVINE_LIGHTHOUSE_5F
warp_def $7, $9, 3, GROUP_OLIVINE_LIGHTHOUSE_5F, MAP_OLIVINE_LIGHTHOUSE_5F
warp_def $5, $9, 3, GROUP_OLIVINE_LIGHTHOUSE_3F, MAP_OLIVINE_LIGHTHOUSE_3F
warp_def $9, $10, 6, GROUP_OLIVINE_LIGHTHOUSE_3F, MAP_OLIVINE_LIGHTHOUSE_3F
warp_def $9, $11, 7, GROUP_OLIVINE_LIGHTHOUSE_3F, MAP_OLIVINE_LIGHTHOUSE_3F
warp_def $3, $8, 8, GROUP_OLIVINE_LIGHTHOUSE_3F, MAP_OLIVINE_LIGHTHOUSE_3F
warp_def $3, $9, 9, GROUP_OLIVINE_LIGHTHOUSE_3F, MAP_OLIVINE_LIGHTHOUSE_3F
warp_def $7, $10, 4, GROUP_OLIVINE_LIGHTHOUSE_5F, MAP_OLIVINE_LIGHTHOUSE_5F
warp_def $7, $11, 5, GROUP_OLIVINE_LIGHTHOUSE_5F, MAP_OLIVINE_LIGHTHOUSE_5F
; xy triggers
db 0
; signposts
db 0
; people-events
db 2
person_event SPRITE_SAILOR, 18, 11, OW_LEFT | $0, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerSailorKent, -1
person_event SPRITE_LASS, 6, 15, OW_UP | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 1, TrainerLassConnie, -1