import from github
This commit is contained in:
108
data/maps/AbandonedShip_Rooms2_1F/map.json
Normal file
108
data/maps/AbandonedShip_Rooms2_1F/map.json
Normal file
@ -0,0 +1,108 @@
|
||||
{
|
||||
"id": "MAP_ABANDONED_SHIP_ROOMS2_1F",
|
||||
"name": "AbandonedShip_Rooms2_1F",
|
||||
"layout": "LAYOUT_ABANDONED_SHIP_ROOMS2_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_MAN_4",
|
||||
"x": 7,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "AbandonedShip_Rooms2_1F_EventScript_Dan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_4",
|
||||
"x": 6,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "AbandonedShip_Rooms2_1F_EventScript_Kira",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 4,
|
||||
"y": 4,
|
||||
"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_Rooms2_1F_EventScript_ItemRevive",
|
||||
"flag": "FLAG_ITEM_ABANDONED_SHIP_ROOMS_2_1F_REVIVE"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_HIKER",
|
||||
"x": 3,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "AbandonedShip_Rooms2_1F_EventScript_Garrison",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_TUBER_F",
|
||||
"x": 7,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "AbandonedShip_Rooms2_1F_EventScript_Jani",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 4,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
|
||||
"dest_warp_id": 8
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
|
||||
"dest_warp_id": 8
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
|
||||
"dest_warp_id": 11
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
149
data/maps/AbandonedShip_Rooms2_1F/scripts.inc
Normal file
149
data/maps/AbandonedShip_Rooms2_1F/scripts.inc
Normal file
@ -0,0 +1,149 @@
|
||||
AbandonedShip_Rooms2_1F_MapScripts::
|
||||
.byte 0
|
||||
|
||||
AbandonedShip_Rooms2_1F_EventScript_Dan::
|
||||
trainerbattle_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_DanIntro, AbandonedShip_Rooms2_1F_Text_DanDefeat, AbandonedShip_Rooms2_1F_Text_DanNotEnoughMons, AbandonedShip_Rooms2_1F_EventScript_RegisterDan
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
goto_if_eq VAR_RESULT, TRUE, AbandonedShip_Rooms2_1F_EventScript_DanRematch
|
||||
msgbox AbandonedShip_Rooms2_1F_Text_DanPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms2_1F_EventScript_RegisterDan::
|
||||
msgbox AbandonedShip_Rooms2_1F_Text_KiraRegister, MSGBOX_DEFAULT @ Kira speaks for both when registering KiraAndDan
|
||||
register_matchcall TRAINER_KIRA_AND_DAN_1
|
||||
release
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms2_1F_EventScript_DanRematch::
|
||||
trainerbattle_rematch_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_DanRematchIntro, AbandonedShip_Rooms2_1F_Text_DanRematchDefeat, AbandonedShip_Rooms2_1F_Text_DanRematchNotEnoughMons
|
||||
msgbox AbandonedShip_Rooms2_1F_Text_DanPostRematch, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms2_1F_EventScript_Kira::
|
||||
trainerbattle_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_KiraIntro, AbandonedShip_Rooms2_1F_Text_KiraDefeat, AbandonedShip_Rooms2_1F_Text_KiraNotEnoughMons, AbandonedShip_Rooms2_1F_EventScript_RegisterKira
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
goto_if_eq VAR_RESULT, TRUE, AbandonedShip_Rooms2_1F_EventScript_KiraRematch
|
||||
msgbox AbandonedShip_Rooms2_1F_Text_KiraPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms2_1F_EventScript_RegisterKira::
|
||||
msgbox AbandonedShip_Rooms2_1F_Text_KiraRegister, MSGBOX_DEFAULT
|
||||
register_matchcall TRAINER_KIRA_AND_DAN_1
|
||||
release
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms2_1F_EventScript_KiraRematch::
|
||||
trainerbattle_rematch_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_KiraRematchIntro, AbandonedShip_Rooms2_1F_Text_KiraRematchDefeat, AbandonedShip_Rooms2_1F_Text_KiraRematchNotEnoughMons
|
||||
msgbox AbandonedShip_Rooms2_1F_Text_KiraPostRematch, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms2_1F_EventScript_Jani::
|
||||
trainerbattle_single TRAINER_JANI, AbandonedShip_Rooms2_1F_Text_JaniIntro, AbandonedShip_Rooms2_1F_Text_JaniDefeat
|
||||
msgbox AbandonedShip_Rooms2_1F_Text_JaniPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms2_1F_EventScript_Garrison::
|
||||
trainerbattle_single TRAINER_GARRISON, AbandonedShip_Rooms2_1F_Text_GarrisonIntro, AbandonedShip_Rooms2_1F_Text_GarrisonDefeat
|
||||
msgbox AbandonedShip_Rooms2_1F_Text_GarrisonPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_DanIntro:
|
||||
.string "DAN: While searching for treasures,\n"
|
||||
.string "we discovered a TRAINER!$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_DanDefeat:
|
||||
.string "DAN: We couldn't win even though\n"
|
||||
.string "we worked together…$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_DanPostBattle:
|
||||
.string "DAN: We can't find any treasures…\n"
|
||||
.string "I wonder if someone got them already?$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_DanNotEnoughMons:
|
||||
.string "DAN: You don't even have two POKéMON.\n"
|
||||
.string "You can't expect to beat us like that.$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_KiraIntro:
|
||||
.string "KIRA: Oh?\n"
|
||||
.string "We were searching for treasures.\l"
|
||||
.string "But we discovered a TRAINER instead!$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_KiraDefeat:
|
||||
.string "KIRA: Ooh, so strong!$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_KiraPostBattle:
|
||||
.string "KIRA: Where could the treasures be?\p"
|
||||
.string "I've already decided what I'm buying\n"
|
||||
.string "when we find the treasures!$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_KiraNotEnoughMons:
|
||||
.string "KIRA: Oh, you don't have two POKéMON?\n"
|
||||
.string "We'll have to battle some other time!$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_KiraRegister:
|
||||
.string "KIRA: Oh, you make me so angry!\n"
|
||||
.string "I'm going to register you for that!$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_DanRematchIntro:
|
||||
.string "DAN: We've been searching for\n"
|
||||
.string "treasures all this time.\p"
|
||||
.string "Our POKéMON have grown stronger, too.\n"
|
||||
.string "Let us show you, okay?$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_DanRematchDefeat:
|
||||
.string "DAN: You're strong, as usual!$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_DanPostRematch:
|
||||
.string "DAN: We can't find any treasures,\n"
|
||||
.string "we lose at POKéMON…\p"
|
||||
.string "I want to go home… But if I say that,\n"
|
||||
.string "she gets all angry with me…$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_DanRematchNotEnoughMons:
|
||||
.string "DAN: You don't even have two POKéMON.\n"
|
||||
.string "You can't expect to beat us like that.$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_KiraRematchIntro:
|
||||
.string "KIRA: Oh? We meet again!\p"
|
||||
.string "Just like us, you still haven't given up\n"
|
||||
.string "searching for treasures, have you?\p"
|
||||
.string "Want to make it so the loser has\n"
|
||||
.string "to give up searching?$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_KiraRematchDefeat:
|
||||
.string "KIRA: Oh, we lost again…$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_KiraPostRematch:
|
||||
.string "KIRA: We're not leaving until we raise\n"
|
||||
.string "our POKéMON some more and we find\l"
|
||||
.string "the treasures here!$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_KiraRematchNotEnoughMons:
|
||||
.string "KIRA: Oh, you don't have two POKéMON?\n"
|
||||
.string "We'll have to battle some other time!$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_JaniIntro:
|
||||
.string "I'm not good at swimming,\n"
|
||||
.string "but I am good at battles!$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_JaniDefeat:
|
||||
.string "Oops.\n"
|
||||
.string "That didn't go very well.$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_JaniPostBattle:
|
||||
.string "Walking around barefoot in this ship\n"
|
||||
.string "is kind of gross.$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_GarrisonIntro:
|
||||
.string "Strength and compassion…\n"
|
||||
.string "Those are a TRAINER's treasures!$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_GarrisonDefeat:
|
||||
.string "Ah, there is something about you\n"
|
||||
.string "that sparkles.$"
|
||||
|
||||
AbandonedShip_Rooms2_1F_Text_GarrisonPostBattle:
|
||||
.string "In a cabin somewhere on board,\n"
|
||||
.string "I saw something sparkle.$"
|
Reference in New Issue
Block a user