mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
432df825d4
Updated macros that rely on the GROUP_, MAP_ constants to use the map macro Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme Added new macro elevfloor to simplify the definition of elevators under this new scheme
137 lines
2.9 KiB
NASM
137 lines
2.9 KiB
NASM
OlivineLighthouse3F_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
TrainerBird_keeperTheo:
|
|
trainer EVENT_BEAT_BIRD_KEEPER_THEO, BIRD_KEEPER, THEO, Bird_keeperTheoSeenText, Bird_keeperTheoBeatenText, $0000, Bird_keeperTheoScript
|
|
|
|
Bird_keeperTheoScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x5b2df
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerGentlemanPreston:
|
|
trainer EVENT_BEAT_GENTLEMAN_PRESTON, GENTLEMAN, PRESTON, GentlemanPrestonSeenText, GentlemanPrestonBeatenText, $0000, GentlemanPrestonScript
|
|
|
|
GentlemanPrestonScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x5b457
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerSailorTerrell:
|
|
trainer EVENT_BEAT_SAILOR_TERRELL, SAILOR, TERRELL, SailorTerrellSeenText, SailorTerrellBeatenText, $0000, SailorTerrellScript
|
|
|
|
SailorTerrellScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x5b384
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
ItemFragment_0x5b279:
|
|
db ETHER, 1
|
|
|
|
Bird_keeperTheoSeenText:
|
|
text "Why are you here?"
|
|
line "Are you just going"
|
|
|
|
para "to gawk? I suggest"
|
|
line "that you leave!"
|
|
done
|
|
|
|
Bird_keeperTheoBeatenText:
|
|
text "You really are"
|
|
line "concerned…"
|
|
done
|
|
|
|
UnknownText_0x5b2df:
|
|
text "How the heck do"
|
|
line "you go up?"
|
|
|
|
para "I want to visit"
|
|
line "the sick #MON,"
|
|
|
|
para "but I can't get up"
|
|
line "there…"
|
|
done
|
|
|
|
SailorTerrellSeenText:
|
|
text "Sailors are both"
|
|
line "kind and strong."
|
|
cont "How about you?"
|
|
done
|
|
|
|
SailorTerrellBeatenText:
|
|
text "You are both kind"
|
|
line "and strong…"
|
|
done
|
|
|
|
UnknownText_0x5b384:
|
|
text "Every time I come"
|
|
line "back to OLIVINE, I"
|
|
cont "visit the GYM."
|
|
|
|
para "The GYM LEADER's"
|
|
line "#MON type has"
|
|
|
|
para "changed without me"
|
|
line "noticing."
|
|
done
|
|
|
|
GentlemanPrestonSeenText:
|
|
text "I travel the world"
|
|
line "to train my #-"
|
|
cont "MON. I wish to"
|
|
cont "battle with you."
|
|
done
|
|
|
|
GentlemanPrestonBeatenText:
|
|
text "…sigh… I must"
|
|
line "train some more…"
|
|
done
|
|
|
|
UnknownText_0x5b457:
|
|
text "JASMINE used to"
|
|
line "use rock #MON"
|
|
cont "like ONIX."
|
|
done
|
|
|
|
OlivineLighthouse3F_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 9
|
|
warp_def $3, $d, 1, OLIVINE_LIGHTHOUSE_4F
|
|
warp_def $3, $5, 2, OLIVINE_LIGHTHOUSE_2F
|
|
warp_def $5, $9, 4, OLIVINE_LIGHTHOUSE_4F
|
|
warp_def $b, $10, 5, OLIVINE_LIGHTHOUSE_2F
|
|
warp_def $b, $11, 6, OLIVINE_LIGHTHOUSE_2F
|
|
warp_def $9, $10, 5, OLIVINE_LIGHTHOUSE_4F
|
|
warp_def $9, $11, 6, OLIVINE_LIGHTHOUSE_4F
|
|
warp_def $3, $8, 7, OLIVINE_LIGHTHOUSE_4F
|
|
warp_def $3, $9, 8, OLIVINE_LIGHTHOUSE_4F
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 0
|
|
|
|
.PersonEvents:
|
|
db 4
|
|
person_event SPRITE_SAILOR, 6, 13, OW_UP | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 1, TrainerSailorTerrell, -1
|
|
person_event SPRITE_GENTLEMAN, 9, 17, OW_LEFT | $1, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 4, TrainerGentlemanPreston, -1
|
|
person_event SPRITE_YOUNGSTER, 13, 7, OW_UP | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerBird_keeperTheo, -1
|
|
person_event SPRITE_POKE_BALL, 6, 12, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x5b279, EVENT_OLIVINE_LIGHTHOUSE_3F_ETHER
|