pokecrystal-board/maps/FastShipB1F.asm

476 lines
11 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-26 21:22:14 -08:00
const FASTSHIPB1F_SAILOR1
const FASTSHIPB1F_SAILOR2
const FASTSHIPB1F_SAILOR3
const FASTSHIPB1F_LASS
const FASTSHIPB1F_SUPER_NERD
const FASTSHIPB1F_SAILOR4
const FASTSHIPB1F_FISHER
const FASTSHIPB1F_BLACK_BELT
const FASTSHIPB1F_SAILOR5
const FASTSHIPB1F_TEACHER
const FASTSHIPB1F_YOUNGSTER1
const FASTSHIPB1F_YOUNGSTER2
FastShipB1F_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_FINISHED
db 0 ; callbacks
.DummyScene0:
end
.DummyScene1:
end
2018-02-28 14:47:31 -08:00
FastShipB1FSailorBlocksLeft:
checkevent EVENT_FAST_SHIP_B1F_SAILOR_RIGHT
2018-02-28 14:47:31 -08:00
iftrue FastShipB1FAlreadyBlocked
2020-02-16 03:22:13 -08:00
applymovement FASTSHIPB1F_SAILOR2, FastShipB1FSailorBlocksLeftMovement
moveobject FASTSHIPB1F_SAILOR1, 30, 6
2015-11-26 21:22:14 -08:00
appear FASTSHIPB1F_SAILOR1
pause 5
2015-11-26 21:22:14 -08:00
disappear FASTSHIPB1F_SAILOR2
end
2018-02-28 14:47:31 -08:00
FastShipB1FSailorBlocksRight:
checkevent EVENT_FAST_SHIP_B1F_SAILOR_LEFT
2018-02-28 14:47:31 -08:00
iftrue FastShipB1FAlreadyBlocked
2020-02-16 03:22:13 -08:00
applymovement FASTSHIPB1F_SAILOR1, FastShipB1FSailorBlocksRightMovement
moveobject FASTSHIPB1F_SAILOR2, 31, 6
2015-11-26 21:22:14 -08:00
appear FASTSHIPB1F_SAILOR2
pause 5
2015-11-26 21:22:14 -08:00
disappear FASTSHIPB1F_SAILOR1
end
2018-02-28 14:47:31 -08:00
FastShipB1FAlreadyBlocked:
end
2018-03-01 10:18:51 -08:00
FastShipB1FSailorScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
checkevent EVENT_FAST_SHIP_FIRST_TIME
2018-02-28 14:47:31 -08:00
iftrue .FirstTime
checkevent EVENT_FAST_SHIP_LAZY_SAILOR
2018-02-28 14:47:31 -08:00
iftrue .LazySailor
checkevent EVENT_FAST_SHIP_INFORMED_ABOUT_LAZY_SAILOR
2018-02-28 14:47:31 -08:00
iftrue .AlreadyInformed
2018-08-19 10:56:41 -07:00
writetext FastShipB1FOnDutySailorText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
setevent EVENT_FAST_SHIP_INFORMED_ABOUT_LAZY_SAILOR
clearevent EVENT_FAST_SHIP_CABINS_NNW_NNE_NE_SAILOR
end
2018-02-28 14:47:31 -08:00
.AlreadyInformed:
2018-08-19 10:56:41 -07:00
writetext FastShipB1FOnDutySailorRefusedText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-02-28 14:47:31 -08:00
.LazySailor:
2018-08-19 10:56:41 -07:00
writetext FastShipB1FOnDutySailorThanksText
checkevent EVENT_FAST_SHIP_FOUND_GIRL
2018-02-28 14:47:31 -08:00
iffalse .NotFoundGirl
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-02-28 14:47:31 -08:00
.NotFoundGirl:
2019-11-03 09:48:54 -08:00
promptbutton
2018-08-19 10:56:41 -07:00
writetext FastShipB1FOnDutySailorSawLittleGirlText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-02-28 14:47:31 -08:00
.FirstTime:
2018-08-19 10:56:41 -07:00
writetext FastShipB1FOnDutySailorDirectionsText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSailorJeff:
trainer SAILOR, JEFF, EVENT_BEAT_SAILOR_JEFF, SailorJeffSeenText, SailorJeffBeatenText, 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 SailorJeffAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerPicnickerDebra:
trainer PICNICKER, DEBRA, EVENT_BEAT_PICNICKER_DEBRA, PicnickerDebraSeenText, PicnickerDebraBeatenText, 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 PicnickerDebraAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerJugglerFritz:
trainer JUGGLER, FRITZ, EVENT_BEAT_JUGGLER_FRITZ, JugglerFritzSeenText, JugglerFritzBeatenText, 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 JugglerFritzAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSailorGarrett:
trainer SAILOR, GARRETT, EVENT_BEAT_SAILOR_GARRETT, SailorGarrettSeenText, SailorGarrettBeatenText, 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 SailorGarrettAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerFisherJonah:
trainer FISHER, JONAH, EVENT_BEAT_FISHER_JONAH, FisherJonahSeenText, FisherJonahBeatenText, 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 FisherJonahAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerBlackbeltWai:
trainer BLACKBELT_T, WAI, EVENT_BEAT_BLACKBELT_WAI, BlackbeltWaiSeenText, BlackbeltWaiBeatenText, 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 BlackbeltWaiAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSailorKenneth:
trainer SAILOR, KENNETH, EVENT_BEAT_SAILOR_KENNETH, SailorKennethSeenText, SailorKennethBeatenText, 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 SailorKennethAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerTeacherShirley:
trainer TEACHER, SHIRLEY, EVENT_BEAT_TEACHER_SHIRLEY, TeacherShirleySeenText, TeacherShirleyBeatenText, 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 TeacherShirleyAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSchoolboyNate:
trainer SCHOOLBOY, NATE, EVENT_BEAT_SCHOOLBOY_NATE, SchoolboyNateSeenText, SchoolboyNateBeatenText, 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 SchoolboyNateAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSchoolboyRicky:
trainer SCHOOLBOY, RICKY, EVENT_BEAT_SCHOOLBOY_RICKY, SchoolboyRickySeenText, SchoolboyRickyBeatenText, 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 SchoolboyRickyAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2020-02-16 03:22:13 -08:00
FastShipB1FTrashcan:
2015-06-23 14:02:58 -07:00
jumpstd trashcan
2020-02-16 03:22:13 -08:00
FastShipB1FSailorBlocksRightMovement:
fix_facing
2016-05-14 10:46:14 -07:00
big_step RIGHT
remove_fixed_facing
2016-05-14 10:46:14 -07:00
turn_head DOWN
step_end
2020-02-16 03:22:13 -08:00
FastShipB1FSailorBlocksLeftMovement:
fix_facing
2016-05-14 10:46:14 -07:00
big_step LEFT
remove_fixed_facing
2016-05-14 10:46:14 -07:00
turn_head DOWN
step_end
2018-08-19 10:56:41 -07:00
FastShipB1FOnDutySailorText:
text "Hey, kid. Could I"
line "get you to look"
cont "for my buddy?"
para "He's goofing off"
line "somewhere, that"
cont "lazy bum!"
para "I want to go find"
line "him, but I'm on"
cont "duty right now."
done
2018-08-19 10:56:41 -07:00
FastShipB1FOnDutySailorRefusedText:
text "Oh, gee…"
para "The CAPTAIN will"
line "be furious…"
done
2018-08-19 10:56:41 -07:00
FastShipB1FOnDutySailorThanksText:
text "Thanks, kid!"
line "I chewed him out"
para "good so he'll quit"
line "slacking off!"
done
2018-08-19 10:56:41 -07:00
FastShipB1FOnDutySailorSawLittleGirlText:
text "A little girl?"
para "I may have seen"
line "her go by here."
done
2018-08-19 10:56:41 -07:00
FastShipB1FOnDutySailorDirectionsText:
text "The dining room is"
line "up ahead."
para "The stairs at the"
line "end lead to the"
cont "CAPTAIN's cabin."
done
2015-07-10 01:20:21 -07:00
SailorJeffSeenText:
text "Nothing beats a"
line "battle when I'm"
cont "on my break."
done
2015-07-10 01:20:21 -07:00
SailorJeffBeatenText:
text "Win or lose, my"
line "break's over!"
done
2017-12-10 12:36:58 -08:00
SailorJeffAfterBattleText:
text "I guess I can't"
line "win if I don't get"
cont "serious."
done
2015-07-10 01:20:21 -07:00
PicnickerDebraSeenText:
text "I'm so bored."
line "Want to battle?"
done
2015-07-10 01:20:21 -07:00
PicnickerDebraBeatenText:
text "Yow! You're too"
line "strong!"
done
2017-12-10 12:36:58 -08:00
PicnickerDebraAfterBattleText:
text "SAFFRON, CELADON…"
line "I hear there are"
para "many big cities"
line "in KANTO."
done
2015-07-10 01:20:21 -07:00
JugglerFritzSeenText:
text "Urrf…"
line "I'm seasick!"
done
2015-07-10 01:20:21 -07:00
JugglerFritzBeatenText:
text "I can't move any-"
line "more…"
done
2017-12-10 12:36:58 -08:00
JugglerFritzAfterBattleText:
text "No more ships for"
line "me. Next time,"
para "I'm taking the"
line "MAGNET TRAIN."
done
2015-07-10 01:20:21 -07:00
SailorGarrettSeenText:
text "This is where we"
line "sailors work!"
done
2015-07-10 01:20:21 -07:00
SailorGarrettBeatenText:
text "I lost on my home"
line "field…"
done
2017-12-10 12:36:58 -08:00
SailorGarrettAfterBattleText:
text "We get different"
line "passengers from"
para "VERMILION CITY to"
line "OLIVINE CITY."
done
2015-07-10 01:20:21 -07:00
FisherJonahSeenText:
text "Even though we're"
line "out on the sea, I"
cont "can't fish!"
para "This is boring!"
line "Let's battle!"
done
2015-07-10 01:20:21 -07:00
FisherJonahBeatenText:
text "I… I'm not bored"
line "anymore…"
done
2017-12-10 12:36:58 -08:00
FisherJonahAfterBattleText:
text "I plan to fish off"
line "VERMILION's pier."
done
2015-07-10 01:20:21 -07:00
BlackbeltWaiSeenText:
text "I'm building up my"
line "legs by bracing"
para "against the ship's"
line "rocking!"
done
2015-07-10 01:20:21 -07:00
BlackbeltWaiBeatenText:
text "Rocked and rolled"
line "over!"
done
2017-12-10 12:36:58 -08:00
BlackbeltWaiAfterBattleText:
text "I couldn't find"
line "the KARATE KING in"
cont "JOHTO."
para "He's supposed to"
line "be training in a"
cont "cave somewhere."
done
2015-07-10 01:20:21 -07:00
SailorKennethSeenText:
text "I'm a sailor man!"
para "But I'm training"
line "#MON, so I can"
cont "become the CHAMP!"
done
2015-07-10 01:20:21 -07:00
SailorKennethBeatenText:
text "My lack of train-"
line "ing is obvious…"
done
2017-12-10 12:36:58 -08:00
SailorKennethAfterBattleText:
text "Eight BADGES!"
line "They must prove"
para "that you've beaten"
line "GYM LEADERS."
para "No wonder you're"
line "so good!"
done
2015-07-10 01:20:21 -07:00
TeacherShirleySeenText:
text "Don't lay a finger"
line "on my students!"
done
2015-07-10 01:20:21 -07:00
TeacherShirleyBeatenText:
text "Aaack!"
done
2017-12-10 12:36:58 -08:00
TeacherShirleyAfterBattleText:
text "We're on a field"
line "trip to the RUINS"
cont "outside VIOLET."
done
2015-07-10 01:20:21 -07:00
SchoolboyNateSeenText:
text "Do you know the"
line "RUINS OF ALPH?"
done
2015-07-10 01:20:21 -07:00
SchoolboyNateBeatenText:
text "Yaargh!"
done
2017-12-10 12:36:58 -08:00
SchoolboyNateAfterBattleText:
text "Radios pick up"
line "strange signals"
cont "inside the RUINS."
done
2015-07-10 01:20:21 -07:00
SchoolboyRickySeenText:
text "There are some odd"
line "stone panels in"
cont "the RUINS OF ALPH."
done
2015-07-10 01:20:21 -07:00
SchoolboyRickyBeatenText:
text "I was done in!"
done
2017-12-10 12:36:58 -08:00
SchoolboyRickyAfterBattleText:
text "I read that there"
line "are four of those"
cont "stone panels."
done
FastShipB1F_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 5, 11, FAST_SHIP_1F, 11
2018-02-01 18:54:00 -08:00
warp_event 31, 13, FAST_SHIP_1F, 12
db 2 ; coord events
2018-02-28 14:47:31 -08:00
coord_event 30, 7, SCENE_DEFAULT, FastShipB1FSailorBlocksLeft
coord_event 31, 7, SCENE_DEFAULT, FastShipB1FSailorBlocksRight
db 1 ; bg events
2020-02-16 03:22:13 -08:00
bg_event 27, 9, BGEVENT_READ, FastShipB1FTrashcan
db 12 ; object events
2018-03-01 10:18:51 -08:00
object_event 30, 6, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FastShipB1FSailorScript, EVENT_FAST_SHIP_B1F_SAILOR_LEFT
object_event 31, 6, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FastShipB1FSailorScript, EVENT_FAST_SHIP_B1F_SAILOR_RIGHT
2018-02-01 19:22:07 -08:00
object_event 9, 11, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSailorJeff, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
object_event 6, 4, SPRITE_LASS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 1, TrainerPicnickerDebra, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
object_event 26, 9, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerJugglerFritz, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
object_event 17, 4, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerSailorGarrett, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
object_event 25, 8, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 3, TrainerFisherJonah, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
object_event 15, 11, SPRITE_BLACK_BELT, SPRITEMOVEDATA_SPINCLOCKWISE, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerBlackbeltWai, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
2018-02-01 19:22:07 -08:00
object_event 23, 4, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerSailorKenneth, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
object_event 9, 11, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerTeacherShirley, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
object_event 14, 9, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerSchoolboyNate, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
object_event 14, 11, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerSchoolboyRicky, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND