tumbledemerald-legacy/data/maps/SlateportCity_SternsShipyard_1F/scripts.inc

144 lines
5.1 KiB
PHP
Raw Normal View History

2022-05-19 19:14:13 +02:00
.set LOCALID_DOCK, 1
SlateportCity_SternsShipyard_1F_MapScripts::
.byte 0
SlateportCity_SternsShipyard_1F_EventScript_Dock::
lockall
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_SternsShipyard_1F_EventScript_FerryReady
goto_if_set FLAG_BADGE07_GET, SlateportCity_SternsShipyard_1F_EventScript_BrineyJoined
goto_if_set FLAG_DELIVERED_DEVON_GOODS, SlateportCity_SternsShipyard_1F_EventScript_NeedVeteran
goto_if_set FLAG_DOCK_REJECTED_DEVON_GOODS, SlateportCity_SternsShipyard_1F_EventScript_GoFindStern
msgbox SlateportCity_SternsShipyard_1F_Text_CantMakeHeadsOrTails, MSGBOX_DEFAULT
applymovement LOCALID_DOCK, Common_Movement_FacePlayer
waitmovement 0
msgbox SlateportCity_SternsShipyard_1F_Text_MeetDockDeliverToStern, MSGBOX_DEFAULT
closemessage
applymovement LOCALID_DOCK, Common_Movement_FaceOriginalDirection
waitmovement 0
setflag FLAG_DOCK_REJECTED_DEVON_GOODS
setflag FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA
releaseall
end
SlateportCity_SternsShipyard_1F_EventScript_FerryReady::
applymovement LOCALID_DOCK, Common_Movement_FacePlayer
waitmovement 0
msgbox SlateportCity_SternsShipyard_1F_Text_FerryIsReady, MSGBOX_DEFAULT
releaseall
end
SlateportCity_SternsShipyard_1F_EventScript_BrineyJoined::
applymovement LOCALID_DOCK, Common_Movement_FacePlayer
waitmovement 0
msgbox SlateportCity_SternsShipyard_1F_Text_BrineyJoinedUs, MSGBOX_DEFAULT
releaseall
end
SlateportCity_SternsShipyard_1F_EventScript_GoFindStern::
applymovement LOCALID_DOCK, Common_Movement_FacePlayer
waitmovement 0
msgbox SlateportCity_SternsShipyard_1F_Text_CouldYouFindStern, MSGBOX_DEFAULT
closemessage
applymovement LOCALID_DOCK, Common_Movement_FaceOriginalDirection
waitmovement 0
releaseall
end
SlateportCity_SternsShipyard_1F_EventScript_NeedVeteran::
applymovement LOCALID_DOCK, Common_Movement_FacePlayer
waitmovement 0
msgbox SlateportCity_SternsShipyard_1F_Text_CouldUseAdviceFromVeteran, MSGBOX_DEFAULT
releaseall
end
SlateportCity_SternsShipyard_1F_EventScript_Scientist1::
msgbox SlateportCity_SternsShipyard_1F_Text_SeaIsLikeLivingThing, MSGBOX_NPC
end
SlateportCity_SternsShipyard_1F_EventScript_Scientist2::
msgbox SlateportCity_SternsShipyard_1F_Text_GetSeasickEasily, MSGBOX_NPC
end
SlateportCity_SternsShipyard_1F_EventScript_Briney::
msgbox SlateportCity_SternsShipyard_1F_Text_DecidedToHelpDock, MSGBOX_NPC
end
SlateportCity_SternsShipyard_1F_Text_CantMakeHeadsOrTails:
.string "Umm… If this goes here, and that\n"
.string "goes over there…\p"
.string "Then where does this thing go?\n"
.string "And what about that doohickey?\p"
.string "Aaargh! I can't make heads or tails\n"
.string "of this!$"
SlateportCity_SternsShipyard_1F_Text_MeetDockDeliverToStern:
.string "Hm?\n"
.string "Hi, I'm Dock.\p"
.string "Capt. Stern commissioned me to\n"
2022-05-19 19:14:13 +02:00
.string "design a ferry.\p"
.string "Oh! That there…\n"
.string "Are they Devon Goods?\p"
2022-05-19 19:14:13 +02:00
.string "But, hmm…\n"
.string "This won't do…\p"
.string "Capt. Stern went off somewhere.\n"
2022-05-19 19:14:13 +02:00
.string "He said he had some work to do.\p"
.string "Could I get you to go find Capt.\n"
.string "Stern and deliver that to him?$"
2022-05-19 19:14:13 +02:00
SlateportCity_SternsShipyard_1F_Text_CouldYouFindStern:
.string "Dock: Where could Capt. Stern have\n"
2022-05-19 19:14:13 +02:00
.string "gone off to?\p"
.string "Could you go find Capt. Stern and\n"
2022-05-19 19:14:13 +02:00
.string "deliver that parcel to him?$"
SlateportCity_SternsShipyard_1F_Text_CouldUseAdviceFromVeteran:
.string "Dock: Shipbuilding is an art.\p"
2022-05-19 19:14:13 +02:00
.string "A lot of things can't be figured out\n"
.string "just by calculating.\p"
.string "I really could use advice from a veteran\n"
.string "who knows the seas…$"
SlateportCity_SternsShipyard_1F_Text_BrineyJoinedUs:
.string "Dock: Hi! Mr. Briney's joined us to\n"
2022-05-19 19:14:13 +02:00
.string "lend us his help.\p"
.string "Thanks to the veteran sailor, the\n"
.string "ferry is steadily coming together.$"
SlateportCity_SternsShipyard_1F_Text_FerryIsReady:
.string "Dock: The ferry is finally ready!\p"
.string "The new S.S. Tidal is truly a marvel\n"
2022-05-19 19:14:13 +02:00
.string "of technology!\p"
.string "But, I get the feeling that we can\n"
.string "make something even better.\p"
.string "You know, there's never an end to\n"
.string "technology's march.$"
SlateportCity_SternsShipyard_1F_Text_DecidedToHelpDock:
.string "Mr. Briney: Ah, {PLAYER}{KUN}!\n"
2022-05-19 19:14:13 +02:00
.string "It's been too long!\p"
.string "Aye, since I met you, this old sea dog's\n"
.string "been feeling frisky!\p"
.string "So I've decided to help Dock make\n"
2022-05-19 19:14:13 +02:00
.string "a ferry.\p"
.string "Aye, after all, a ferry would be able\n"
.string "to carry a lot of people.\p"
.string "But, you know, that Dock is really\n"
2022-05-19 19:14:13 +02:00
.string "something special.\p"
.string "With his knack for technology and\n"
.string "my experience, I'm sure that we can\l"
.string "build one great ship, aye!$"
SlateportCity_SternsShipyard_1F_Text_SeaIsLikeLivingThing:
.string "The seasons, the weather, where\n"
.string "the moon sits in the sky…\p"
.string "These and other conditions make\n"
.string "the sea change its expression.\p"
.string "That's right!\n"
.string "The sea is like a living thing!$"
SlateportCity_SternsShipyard_1F_Text_GetSeasickEasily:
.string "I get seasick real easily.\n"
.string "So I get to help out here instead.$"