pokecrystal-board/maps/FastShipCabins_NNW_NNE_NE.asm

290 lines
6.7 KiB
NASM
Raw Normal View History

2018-01-31 08:38:45 -08:00
const_def 2 ; object constants
2015-11-26 21:22:14 -08:00
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
2015-07-10 01:20:21 -07:00
TrainerCooltrainermSean:
trainer COOLTRAINERM, SEAN, EVENT_BEAT_COOLTRAINERM_SEAN, CooltrainermSeanSeenText, CooltrainermSeanBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext CooltrainermSeanAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerCooltrainerfCarol:
trainer COOLTRAINERF, CAROL, EVENT_BEAT_COOLTRAINERF_CAROL, CooltrainerfCarolSeenText, CooltrainerfCarolBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext CooltrainerfCarolAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerPokemaniacEthan:
trainer POKEMANIAC, ETHAN, EVENT_BEAT_POKEMANIAC_ETHAN, PokemaniacEthanSeenText, PokemaniacEthanBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext PokemaniacEthanAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerHikerNoland:
trainer HIKER, NOLAND, EVENT_BEAT_HIKER_NOLAND, HikerNolandSeenText, HikerNolandBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext HikerNolandAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerGentlemanEdward:
trainer GENTLEMAN, EDWARD, EVENT_BEAT_GENTLEMAN_EDWARD, GentlemanEdwardSeenText, GentlemanEdwardBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext GentlemanEdwardAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerBurglarCorey:
trainer BURGLAR, COREY, EVENT_BEAT_BURGLAR_COREY, BurglarCoreySeenText, BurglarCoreyBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext BurglarCoreyAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-02-28 14:47:31 -08:00
FastShipLazySailorScript:
playmusic MUSIC_HIKER_ENCOUNTER
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2018-08-19 10:56:41 -07:00
writetext SailorStanlySeenText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2018-08-19 10:56:41 -07:00
winlosstext SailorStanlyBeatenText, 0
loadtrainer SAILOR, STANLY
startbattle
reloadmap
special HealParty
2015-07-10 01:20:21 -07:00
setevent EVENT_BEAT_SAILOR_STANLY
2015-12-09 15:25:44 -08:00
opentext
2018-08-19 10:56:41 -07:00
writetext SailorStanlyAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
setevent EVENT_FAST_SHIP_LAZY_SAILOR
setmapscene FAST_SHIP_B1F, SCENE_FINISHED
checkcode VAR_FACING
2018-02-28 14:47:31 -08:00
ifequal RIGHT, .Movement2
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, FastShipLazySailorLeavesMovement1
playsound SFX_EXIT_BUILDING
2015-11-26 21:22:14 -08:00
disappear FASTSHIPCABINS_NNW_NNE_NE_SAILOR
2015-11-25 07:16:29 -08:00
waitsfx
end
2018-02-28 14:47:31 -08:00
.Movement2:
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, FastShipLazySailorLeavesMovement2
playsound SFX_EXIT_BUILDING
2015-11-26 21:22:14 -08:00
disappear FASTSHIPCABINS_NNW_NNE_NE_SAILOR
2015-11-25 07:16:29 -08:00
waitsfx
end
2015-06-25 21:01:08 -07:00
FastShipCabins_NNW_NNE_NETrashcan:
2015-06-23 14:02:58 -07:00
jumpstd trashcan
2018-02-28 14:47:31 -08:00
FastShipLazySailorLeavesMovement1:
2016-05-14 10:46:14 -07:00
step LEFT
step LEFT
step UP
step UP
step_end
2018-02-28 14:47:31 -08:00
FastShipLazySailorLeavesMovement2:
2016-05-14 10:46:14 -07:00
step DOWN
step LEFT
step LEFT
step UP
step UP
step UP
step_end
2015-07-10 01:20:21 -07:00
CooltrainermSeanSeenText:
text "I'm going to KANTO"
line "to test my skills."
done
2015-07-10 01:20:21 -07:00
CooltrainermSeanBeatenText:
text "I wanted to win!"
done
2017-12-10 12:36:58 -08:00
CooltrainermSeanAfterBattleText:
text "Trainers from"
line "JOHTO can battle"
para "with KANTO GYM"
line "LEADERS."
done
2015-07-10 01:20:21 -07:00
CooltrainerfCarolSeenText:
text "I'm training to"
line "become the CHAMP!"
done
2015-07-10 01:20:21 -07:00
CooltrainerfCarolBeatenText:
text "What's so differ-"
line "ent between us?"
done
2017-12-10 12:36:58 -08:00
CooltrainerfCarolAfterBattleText:
text "I'm going to beat"
line "you someday!"
done
2015-07-10 01:20:21 -07:00
PokemaniacEthanSeenText:
text "Do you know LILY?"
line "She's a hot DJ in"
cont "KANTO."
done
2015-07-10 01:20:21 -07:00
PokemaniacEthanBeatenText:
text "Gyaaaah!"
done
2017-12-10 12:36:58 -08:00
PokemaniacEthanAfterBattleText:
text "LILY's nice, but"
line "MARY's the best!"
para "I want to check"
line "out JOHTO's radio"
cont "programs!"
done
2015-07-10 01:20:21 -07:00
HikerNolandSeenText:
text "Are you alone?"
line "Then let's battle!"
done
2015-07-10 01:20:21 -07:00
HikerNolandBeatenText:
text "That's too much to"
line "handle!"
done
2017-12-10 12:36:58 -08:00
HikerNolandAfterBattleText:
text "I wonder if there"
line "are any mountains"
para "worth climbing in"
line "KANTO?"
done
2018-08-19 10:56:41 -07:00
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
2018-08-19 10:56:41 -07:00
SailorStanlyBeatenText:
text "Sorry! It's all my"
line "fault!"
done
2018-08-19 10:56:41 -07:00
SailorStanlyAfterBattleText:
text "Being a sailor, I"
line "have to do phys-"
cont "ical labor. It's"
cont "exhausting!"
done
2015-07-10 01:20:21 -07:00
GentlemanEdwardSeenText:
text "Oh, no. I've lost"
line "something that's"
cont "very important."
done
2015-07-10 01:20:21 -07:00
GentlemanEdwardBeatenText:
text "I… I can't find"
line "it…"
done
2017-12-10 12:36:58 -08:00
GentlemanEdwardAfterBattleText:
text "I give up."
line "You don't have to"
para "look. Just forget"
line "about it!"
done
2015-07-10 01:20:21 -07:00
BurglarCoreySeenText:
text "Yeehaw!"
line "Lucky!"
done
2015-07-10 01:20:21 -07:00
BurglarCoreyBeatenText:
text "How unlucky!"
line "I lost!"
done
2017-12-10 12:36:58 -08:00
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
2018-02-01 19:22:07 -08:00
warp_event 2, 0, FAST_SHIP_1F, 2
warp_event 2, 12, FAST_SHIP_1F, 3
warp_event 2, 24, FAST_SHIP_1F, 4
db 0 ; coord events
db 3 ; bg events
2018-02-01 19:22:07 -08:00
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
2018-02-01 19:22:07 -08:00
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
2018-02-28 14:47:31 -08:00
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
2018-02-01 19:22:07 -08:00
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