import from github
This commit is contained in:
95
data/maps/SlateportCity_SternsShipyard_1F/map.json
Normal file
95
data/maps/SlateportCity_SternsShipyard_1F/map.json
Normal file
@ -0,0 +1,95 @@
|
||||
{
|
||||
"id": "MAP_SLATEPORT_CITY_STERNS_SHIPYARD_1F",
|
||||
"name": "SlateportCity_SternsShipyard_1F",
|
||||
"layout": "LAYOUT_SLATEPORT_CITY_STERNS_SHIPYARD_1F",
|
||||
"music": "MUS_SLATEPORT",
|
||||
"region_map_section": "MAPSEC_SLATEPORT_CITY",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_INDOOR",
|
||||
"allow_cycling": false,
|
||||
"allow_escaping": false,
|
||||
"allow_running": false,
|
||||
"show_map_name": false,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_1",
|
||||
"x": 5,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SlateportCity_SternsShipyard_1F_EventScript_Dock",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST_1",
|
||||
"x": 10,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SlateportCity_SternsShipyard_1F_EventScript_Scientist1",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST_1",
|
||||
"x": 18,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SlateportCity_SternsShipyard_1F_EventScript_Scientist2",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_EXPERT_M",
|
||||
"x": 12,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 2,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SlateportCity_SternsShipyard_1F_EventScript_Briney",
|
||||
"flag": "FLAG_HIDE_SLATEPORT_CITY_STERNS_SHIPYARD_MR_BRINEY"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 2,
|
||||
"y": 14,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SLATEPORT_CITY",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 3,
|
||||
"y": 14,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SLATEPORT_CITY",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 3,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SLATEPORT_CITY_STERNS_SHIPYARD_2F",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
143
data/maps/SlateportCity_SternsShipyard_1F/scripts.inc
Normal file
143
data/maps/SlateportCity_SternsShipyard_1F/scripts.inc
Normal file
@ -0,0 +1,143 @@
|
||||
.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"
|
||||
.string "design a ferry.\p"
|
||||
.string "Oh! That there…\n"
|
||||
.string "Are they DEVON GOODS?\p"
|
||||
.string "But, hmm…\n"
|
||||
.string "This won't do…\p"
|
||||
.string "CAPT. STERN went off somewhere.\n"
|
||||
.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?$"
|
||||
|
||||
SlateportCity_SternsShipyard_1F_Text_CouldYouFindStern:
|
||||
.string "DOCK: Where could CAPT. STERN have\n"
|
||||
.string "gone off to?\p"
|
||||
.string "Could you go find CAPT. STERN and\n"
|
||||
.string "deliver that parcel to him?$"
|
||||
|
||||
SlateportCity_SternsShipyard_1F_Text_CouldUseAdviceFromVeteran:
|
||||
.string "DOCK: Shipbuilding is an art.\p"
|
||||
.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"
|
||||
.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"
|
||||
.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"
|
||||
.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"
|
||||
.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"
|
||||
.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.$"
|
||||
|
Reference in New Issue
Block a user