import from github
This commit is contained in:
62
data/maps/AbandonedShip_CaptainsOffice/map.json
Normal file
62
data/maps/AbandonedShip_CaptainsOffice/map.json
Normal file
@ -0,0 +1,62 @@
|
||||
{
|
||||
"id": "MAP_ABANDONED_SHIP_CAPTAINS_OFFICE",
|
||||
"name": "AbandonedShip_CaptainsOffice",
|
||||
"layout": "LAYOUT_ABANDONED_SHIP_CAPTAINS_OFFICE",
|
||||
"music": "MUS_ABANDONED_SHIP",
|
||||
"region_map_section": "MAPSEC_ABANDONED_SHIP",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_SHADE",
|
||||
"map_type": "MAP_TYPE_UNDERGROUND",
|
||||
"allow_cycling": true,
|
||||
"allow_escaping": true,
|
||||
"allow_running": true,
|
||||
"show_map_name": true,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST_1",
|
||||
"x": 3,
|
||||
"y": 4,
|
||||
"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": "AbandonedShip_CaptainsOffice_EventScript_CaptSternAide",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 0,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "AbandonedShip_CaptainsOffice_EventScript_ItemStorageKey",
|
||||
"flag": "FLAG_ITEM_ABANDONED_SHIP_CAPTAINS_OFFICE_STORAGE_KEY"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 7,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ABANDONED_SHIP_DECK",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 8,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ABANDONED_SHIP_DECK",
|
||||
"dest_warp_id": 4
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
41
data/maps/AbandonedShip_CaptainsOffice/scripts.inc
Normal file
41
data/maps/AbandonedShip_CaptainsOffice/scripts.inc
Normal file
@ -0,0 +1,41 @@
|
||||
AbandonedShip_CaptainsOffice_MapScripts::
|
||||
.byte 0
|
||||
|
||||
AbandonedShip_CaptainsOffice_EventScript_CaptSternAide::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_EXCHANGED_SCANNER, AbandonedShip_CaptainsOffice_EventScript_ThisIsSSCactus
|
||||
checkitem ITEM_SCANNER
|
||||
goto_if_eq VAR_RESULT, TRUE, AbandonedShip_CaptainsOffice_EventScript_CanYouDeliverScanner
|
||||
goto_if_set FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_4_SCANNER, AbandonedShip_CaptainsOffice_EventScript_ThisIsSSCactus
|
||||
msgbox AbandonedShip_CaptainsOffice_Text_NoSuccessFindingScanner, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
AbandonedShip_CaptainsOffice_EventScript_CanYouDeliverScanner::
|
||||
msgbox AbandonedShip_CaptainsOffice_Text_OhCanYouDeliverScanner, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
AbandonedShip_CaptainsOffice_EventScript_ThisIsSSCactus::
|
||||
msgbox AbandonedShip_CaptainsOffice_Text_ThisIsSSCactus, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
AbandonedShip_CaptainsOffice_Text_NoSuccessFindingScanner:
|
||||
.string "I'm investigating this ship on behalf\n"
|
||||
.string "of CAPT. STERN.\p"
|
||||
.string "He also asked me to find a SCANNER,\n"
|
||||
.string "but I haven't had any success…$"
|
||||
|
||||
AbandonedShip_CaptainsOffice_Text_OhCanYouDeliverScanner:
|
||||
.string "Oh! That's a SCANNER!\p"
|
||||
.string "Listen, can I get you to deliver that\n"
|
||||
.string "to CAPT. STERN?\p"
|
||||
.string "I want to investigate this ship a\n"
|
||||
.string "little more.$"
|
||||
|
||||
AbandonedShip_CaptainsOffice_Text_ThisIsSSCactus:
|
||||
.string "This ship is called S.S. CACTUS.\n"
|
||||
.string "It seems to be from an earlier era.$"
|
||||
|
Reference in New Issue
Block a user