import from github
This commit is contained in:
116
data/maps/AbandonedShip_Rooms_1F/map.json
Normal file
116
data/maps/AbandonedShip_Rooms_1F/map.json
Normal file
@ -0,0 +1,116 @@
|
||||
{
|
||||
"id": "MAP_ABANDONED_SHIP_ROOMS_1F",
|
||||
"name": "AbandonedShip_Rooms_1F",
|
||||
"layout": "LAYOUT_ABANDONED_SHIP_ROOMS_1F",
|
||||
"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_GENTLEMAN",
|
||||
"x": 12,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "AbandonedShip_Rooms_1F_EventScript_Gentleman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 4,
|
||||
"y": 5,
|
||||
"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_Rooms_1F_EventScript_ItemHarborMail",
|
||||
"flag": "FLAG_ITEM_ABANDONED_SHIP_ROOMS_1F_HARBOR_MAIL"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BEAUTY",
|
||||
"x": 10,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "4",
|
||||
"script": "AbandonedShip_Rooms_1F_EventScript_Thalia",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER",
|
||||
"x": 10,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "4",
|
||||
"script": "AbandonedShip_Rooms_1F_EventScript_Demetrius",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 4,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
|
||||
"dest_warp_id": 6
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
|
||||
"dest_warp_id": 5
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 1,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
|
||||
"dest_warp_id": 7
|
||||
},
|
||||
{
|
||||
"x": 14,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
|
||||
"dest_warp_id": 5
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
77
data/maps/AbandonedShip_Rooms_1F/scripts.inc
Normal file
77
data/maps/AbandonedShip_Rooms_1F/scripts.inc
Normal file
@ -0,0 +1,77 @@
|
||||
AbandonedShip_Rooms_1F_MapScripts::
|
||||
.byte 0
|
||||
|
||||
AbandonedShip_Rooms_1F_EventScript_Gentleman::
|
||||
msgbox AbandonedShip_Rooms_1F_Text_TakingALookAround, MSGBOX_NPC
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms_1F_EventScript_Demetrius::
|
||||
trainerbattle_single TRAINER_DEMETRIUS, AbandonedShip_Rooms_1F_Text_DemetriusIntro, AbandonedShip_Rooms_1F_Text_DemetriusDefeat
|
||||
msgbox AbandonedShip_Rooms_1F_Text_DemetriusPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms_1F_EventScript_Thalia::
|
||||
trainerbattle_single TRAINER_THALIA_1, AbandonedShip_Rooms_1F_Text_ThaliaIntro, AbandonedShip_Rooms_1F_Text_ThaliaDefeat, AbandonedShip_Rooms_1F_EventScript_RegisterThalia
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
goto_if_eq VAR_RESULT, TRUE, AbandonedShip_Rooms_1F_EventScript_ThaliaRematch
|
||||
msgbox AbandonedShip_Rooms_1F_Text_ThaliaPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms_1F_EventScript_RegisterThalia::
|
||||
special PlayerFaceTrainerAfterBattle
|
||||
waitmovement 0
|
||||
msgbox AbandonedShip_Rooms_1F_Text_ThaliaRegister, MSGBOX_DEFAULT
|
||||
register_matchcall TRAINER_THALIA_1
|
||||
release
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms_1F_EventScript_ThaliaRematch::
|
||||
trainerbattle_rematch TRAINER_THALIA_1, AbandonedShip_Rooms_1F_Text_ThaliaRematchIntro, AbandonedShip_Rooms_1F_Text_ThaliaRematchDefeat
|
||||
msgbox AbandonedShip_Rooms_1F_Text_ThaliaPostRematch, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms_1F_Text_TakingALookAround:
|
||||
.string "Ships of this sort are rare, so I'm\n"
|
||||
.string "taking a look around.\p"
|
||||
.string "Hmhm…\n"
|
||||
.string "There appear to be other cabins…$"
|
||||
|
||||
AbandonedShip_Rooms_1F_Text_ThaliaIntro:
|
||||
.string "What on earth would compel you to\n"
|
||||
.string "come here? You must be curious!$"
|
||||
|
||||
AbandonedShip_Rooms_1F_Text_ThaliaDefeat:
|
||||
.string "Not just curious, but also strong…$"
|
||||
|
||||
AbandonedShip_Rooms_1F_Text_ThaliaPostBattle:
|
||||
.string "The man next door…\p"
|
||||
.string "He says he's just sightseeing,\n"
|
||||
.string "but I don't know about that.$"
|
||||
|
||||
AbandonedShip_Rooms_1F_Text_ThaliaRegister:
|
||||
.string "You're such a tough TRAINER!\n"
|
||||
.string "Let me register you as a memento!$"
|
||||
|
||||
AbandonedShip_Rooms_1F_Text_ThaliaRematchIntro:
|
||||
.string "What on earth would compel you to\n"
|
||||
.string "come back? You must really be curious!$"
|
||||
|
||||
AbandonedShip_Rooms_1F_Text_ThaliaRematchDefeat:
|
||||
.string "Aren't you too strong?$"
|
||||
|
||||
AbandonedShip_Rooms_1F_Text_ThaliaPostRematch:
|
||||
.string "I'm sure that man's up to something!\n"
|
||||
.string "He just acts so suspiciously!$"
|
||||
|
||||
AbandonedShip_Rooms_1F_Text_DemetriusIntro:
|
||||
.string "Waaah!\n"
|
||||
.string "I've been found! …Huh?$"
|
||||
|
||||
AbandonedShip_Rooms_1F_Text_DemetriusDefeat:
|
||||
.string "Oh, you're not my mom.$"
|
||||
|
||||
AbandonedShip_Rooms_1F_Text_DemetriusPostBattle:
|
||||
.string "I'm in trouble with my mom, so I ran.\n"
|
||||
.string "Keep it a secret where I am!$"
|
||||
|
Reference in New Issue
Block a user