mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
dcb24bc724
Resolves #742
290 lines
6.7 KiB
NASM
290 lines
6.7 KiB
NASM
object_const_def
|
|
const FASTSHIPCABINS_NNW_NNE_NE_COOLTRAINER_M
|
|
const FASTSHIPCABINS_NNW_NNE_NE_COOLTRAINER_F
|
|
const FASTSHIPCABINS_NNW_NNE_NE_SUPER_NERD
|
|
const FASTSHIPCABINS_NNW_NNE_NE_POKEFAN_M
|
|
const FASTSHIPCABINS_NNW_NNE_NE_SAILOR
|
|
const FASTSHIPCABINS_NNW_NNE_NE_GENTLEMAN
|
|
const FASTSHIPCABINS_NNW_NNE_NE_PHARMACIST
|
|
|
|
FastShipCabins_NNW_NNE_NE_MapScripts:
|
|
def_scene_scripts
|
|
|
|
def_callbacks
|
|
|
|
TrainerCooltrainermSean:
|
|
trainer COOLTRAINERM, SEAN, EVENT_BEAT_COOLTRAINERM_SEAN, CooltrainermSeanSeenText, CooltrainermSeanBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext CooltrainermSeanAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerCooltrainerfCarol:
|
|
trainer COOLTRAINERF, CAROL, EVENT_BEAT_COOLTRAINERF_CAROL, CooltrainerfCarolSeenText, CooltrainerfCarolBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext CooltrainerfCarolAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerPokemaniacEthan:
|
|
trainer POKEMANIAC, ETHAN, EVENT_BEAT_POKEMANIAC_ETHAN, PokemaniacEthanSeenText, PokemaniacEthanBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext PokemaniacEthanAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerHikerNoland:
|
|
trainer HIKER, NOLAND, EVENT_BEAT_HIKER_NOLAND, HikerNolandSeenText, HikerNolandBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext HikerNolandAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerGentlemanEdward:
|
|
trainer GENTLEMAN, EDWARD, EVENT_BEAT_GENTLEMAN_EDWARD, GentlemanEdwardSeenText, GentlemanEdwardBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext GentlemanEdwardAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerBurglarCorey:
|
|
trainer BURGLAR, COREY, EVENT_BEAT_BURGLAR_COREY, BurglarCoreySeenText, BurglarCoreyBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext BurglarCoreyAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
FastShipLazySailorScript:
|
|
playmusic MUSIC_HIKER_ENCOUNTER
|
|
faceplayer
|
|
opentext
|
|
writetext SailorStanlySeenText
|
|
waitbutton
|
|
closetext
|
|
winlosstext SailorStanlyBeatenText, 0
|
|
loadtrainer SAILOR, STANLY
|
|
startbattle
|
|
reloadmap
|
|
special HealParty
|
|
setevent EVENT_BEAT_SAILOR_STANLY
|
|
opentext
|
|
writetext SailorStanlyAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
setevent EVENT_FAST_SHIP_LAZY_SAILOR
|
|
setmapscene FAST_SHIP_B1F, SCENE_FINISHED
|
|
readvar VAR_FACING
|
|
ifequal RIGHT, .Movement2
|
|
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, FastShipLazySailorLeavesMovement1
|
|
playsound SFX_EXIT_BUILDING
|
|
disappear FASTSHIPCABINS_NNW_NNE_NE_SAILOR
|
|
waitsfx
|
|
end
|
|
|
|
.Movement2:
|
|
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, FastShipLazySailorLeavesMovement2
|
|
playsound SFX_EXIT_BUILDING
|
|
disappear FASTSHIPCABINS_NNW_NNE_NE_SAILOR
|
|
waitsfx
|
|
end
|
|
|
|
FastShipCabins_NNW_NNE_NETrashcan:
|
|
jumpstd TrashCanScript
|
|
|
|
FastShipLazySailorLeavesMovement1:
|
|
step LEFT
|
|
step LEFT
|
|
step UP
|
|
step UP
|
|
step_end
|
|
|
|
FastShipLazySailorLeavesMovement2:
|
|
step DOWN
|
|
step LEFT
|
|
step LEFT
|
|
step UP
|
|
step UP
|
|
step UP
|
|
step_end
|
|
|
|
CooltrainermSeanSeenText:
|
|
text "I'm going to KANTO"
|
|
line "to test my skills."
|
|
done
|
|
|
|
CooltrainermSeanBeatenText:
|
|
text "I wanted to win!"
|
|
done
|
|
|
|
CooltrainermSeanAfterBattleText:
|
|
text "Trainers from"
|
|
line "JOHTO can battle"
|
|
|
|
para "with KANTO GYM"
|
|
line "LEADERS."
|
|
done
|
|
|
|
CooltrainerfCarolSeenText:
|
|
text "I'm training to"
|
|
line "become the CHAMP!"
|
|
done
|
|
|
|
CooltrainerfCarolBeatenText:
|
|
text "What's so differ-"
|
|
line "ent between us?"
|
|
done
|
|
|
|
CooltrainerfCarolAfterBattleText:
|
|
text "I'm going to beat"
|
|
line "you someday!"
|
|
done
|
|
|
|
PokemaniacEthanSeenText:
|
|
text "Do you know LILY?"
|
|
line "She's a hot DJ in"
|
|
cont "KANTO."
|
|
done
|
|
|
|
PokemaniacEthanBeatenText:
|
|
text "Gyaaaah!"
|
|
done
|
|
|
|
PokemaniacEthanAfterBattleText:
|
|
text "LILY's nice, but"
|
|
line "MARY's the best!"
|
|
|
|
para "I want to check"
|
|
line "out JOHTO's radio"
|
|
cont "programs!"
|
|
done
|
|
|
|
HikerNolandSeenText:
|
|
text "Are you alone?"
|
|
line "Then let's battle!"
|
|
done
|
|
|
|
HikerNolandBeatenText:
|
|
text "That's too much to"
|
|
line "handle!"
|
|
done
|
|
|
|
HikerNolandAfterBattleText:
|
|
text "I wonder if there"
|
|
line "are any mountains"
|
|
|
|
para "worth climbing in"
|
|
line "KANTO?"
|
|
done
|
|
|
|
SailorStanlySeenText:
|
|
text "Yeah, I'm a sail-"
|
|
line "or, all right."
|
|
|
|
para "I wasn't goofing"
|
|
line "off!"
|
|
|
|
para "This cabin was"
|
|
line "vacant, so I just"
|
|
cont "took a quick nap!"
|
|
|
|
para "Ah, forget it!"
|
|
line "Let's battle!"
|
|
done
|
|
|
|
SailorStanlyBeatenText:
|
|
text "Sorry! It's all my"
|
|
line "fault!"
|
|
done
|
|
|
|
SailorStanlyAfterBattleText:
|
|
text "Being a sailor, I"
|
|
line "have to do phys-"
|
|
cont "ical labor. It's"
|
|
cont "exhausting!"
|
|
done
|
|
|
|
GentlemanEdwardSeenText:
|
|
text "Oh, no. I've lost"
|
|
line "something that's"
|
|
cont "very important."
|
|
done
|
|
|
|
GentlemanEdwardBeatenText:
|
|
text "I… I can't find"
|
|
line "it…"
|
|
done
|
|
|
|
GentlemanEdwardAfterBattleText:
|
|
text "I give up."
|
|
line "You don't have to"
|
|
|
|
para "look. Just forget"
|
|
line "about it!"
|
|
done
|
|
|
|
BurglarCoreySeenText:
|
|
text "Yeehaw!"
|
|
line "Lucky!"
|
|
done
|
|
|
|
BurglarCoreyBeatenText:
|
|
text "How unlucky!"
|
|
line "I lost!"
|
|
done
|
|
|
|
BurglarCoreyAfterBattleText:
|
|
text "I found a pretty"
|
|
line "coin here."
|
|
|
|
para "Someone must have"
|
|
line "lost it…"
|
|
done
|
|
|
|
FastShipCabins_NNW_NNE_NE_MapEvents:
|
|
db 0, 0 ; filler
|
|
|
|
def_warp_events
|
|
warp_event 2, 0, FAST_SHIP_1F, 2
|
|
warp_event 2, 12, FAST_SHIP_1F, 3
|
|
warp_event 2, 24, FAST_SHIP_1F, 4
|
|
|
|
def_coord_events
|
|
|
|
def_bg_events
|
|
bg_event 6, 13, BGEVENT_READ, FastShipCabins_NNW_NNE_NETrashcan
|
|
bg_event 7, 19, BGEVENT_READ, FastShipCabins_NNW_NNE_NETrashcan
|
|
bg_event 7, 31, BGEVENT_READ, FastShipCabins_NNW_NNE_NETrashcan
|
|
|
|
def_object_events
|
|
object_event 4, 3, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 2, TrainerCooltrainermSean, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
|
|
object_event 1, 5, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerCooltrainerfCarol, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
|
|
object_event 1, 5, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerPokemaniacEthan, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
|
|
object_event 4, 17, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerHikerNoland, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
|
|
object_event 4, 26, SPRITE_SAILOR, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FastShipLazySailorScript, EVENT_FAST_SHIP_CABINS_NNW_NNE_NE_SAILOR
|
|
object_event 7, 30, SPRITE_GENTLEMAN, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerGentlemanEdward, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
|
|
object_event 2, 30, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 4, TrainerBurglarCorey, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
|