mirror of https://github.com/pret/pokecrystal.git
290 lines
6.6 KiB
NASM
290 lines
6.6 KiB
NASM
const_value set 2
|
|
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:
|
|
db 0 ; scene scripts
|
|
|
|
db 0 ; callbacks
|
|
|
|
TrainerCooltrainermSean:
|
|
trainer COOLTRAINERM, SEAN, EVENT_BEAT_COOLTRAINERM_SEAN, CooltrainermSeanSeenText, CooltrainermSeanBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext CooltrainermSeanAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerCooltrainerfCarol:
|
|
trainer COOLTRAINERF, CAROL, EVENT_BEAT_COOLTRAINERF_CAROL, CooltrainerfCarolSeenText, CooltrainerfCarolBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext CooltrainerfCarolAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerPokemaniacEthan:
|
|
trainer POKEMANIAC, ETHAN, EVENT_BEAT_POKEMANIAC_ETHAN, PokemaniacEthanSeenText, PokemaniacEthanBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext PokemaniacEthanAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerHikerNoland:
|
|
trainer HIKER, NOLAND, EVENT_BEAT_HIKER_NOLAND, HikerNolandSeenText, HikerNolandBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext HikerNolandAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerGentlemanEdward:
|
|
trainer GENTLEMAN, EDWARD, EVENT_BEAT_GENTLEMAN_EDWARD, GentlemanEdwardSeenText, GentlemanEdwardBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext GentlemanEdwardAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerBurglarCorey:
|
|
trainer BURGLAR, COREY, EVENT_BEAT_BURGLAR_COREY, BurglarCoreySeenText, BurglarCoreyBeatenText, 0, .Script
|
|
|
|
.Script:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext BurglarCoreyAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
SailorScript_0x755f1:
|
|
playmusic MUSIC_HIKER_ENCOUNTER
|
|
faceplayer
|
|
opentext
|
|
writetext UnknownText_0x75812
|
|
waitbutton
|
|
closetext
|
|
winlosstext UnknownText_0x75897, 0
|
|
loadtrainer SAILOR, STANLY
|
|
startbattle
|
|
reloadmap
|
|
special HealParty
|
|
setevent EVENT_BEAT_SAILOR_STANLY
|
|
opentext
|
|
writetext UnknownText_0x758b1
|
|
waitbutton
|
|
closetext
|
|
setevent EVENT_FAST_SHIP_LAZY_SAILOR
|
|
setmapscene FAST_SHIP_B1F, 1
|
|
checkcode VAR_FACING
|
|
if_equal RIGHT, UnknownScript_0x75629
|
|
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, MovementData_0x75637
|
|
playsound SFX_EXIT_BUILDING
|
|
disappear FASTSHIPCABINS_NNW_NNE_NE_SAILOR
|
|
waitsfx
|
|
end
|
|
|
|
UnknownScript_0x75629:
|
|
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, MovementData_0x7563c
|
|
playsound SFX_EXIT_BUILDING
|
|
disappear FASTSHIPCABINS_NNW_NNE_NE_SAILOR
|
|
waitsfx
|
|
end
|
|
|
|
FastShipCabins_NNW_NNE_NETrashcan:
|
|
jumpstd trashcan
|
|
|
|
MovementData_0x75637:
|
|
step LEFT
|
|
step LEFT
|
|
step UP
|
|
step UP
|
|
step_end
|
|
|
|
MovementData_0x7563c:
|
|
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
|
|
|
|
UnknownText_0x75812:
|
|
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
|
|
|
|
UnknownText_0x75897:
|
|
text "Sorry! It's all my"
|
|
line "fault!"
|
|
done
|
|
|
|
UnknownText_0x758b1:
|
|
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
|
|
|
|
db 3 ; warp events
|
|
warp_event 2, 0, 2, FAST_SHIP_1F
|
|
warp_event 2, 12, 3, FAST_SHIP_1F
|
|
warp_event 2, 24, 4, FAST_SHIP_1F
|
|
|
|
db 0 ; coord events
|
|
|
|
db 3 ; 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
|
|
|
|
db 7 ; 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, SailorScript_0x755f1, 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
|