import from github
This commit is contained in:
141
data/maps/BattleFrontier_BattlePalaceCorridor/map.json
Normal file
141
data/maps/BattleFrontier_BattlePalaceCorridor/map.json
Normal file
@ -0,0 +1,141 @@
|
||||
{
|
||||
"id": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR",
|
||||
"name": "BattleFrontier_BattlePalaceCorridor",
|
||||
"layout": "LAYOUT_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR",
|
||||
"music": "MUS_B_PALACE",
|
||||
"region_map_section": "MAPSEC_BATTLE_FRONTIER",
|
||||
"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_EXPERT_M",
|
||||
"x": 8,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_AZURILL",
|
||||
"x": 3,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_KIRLIA",
|
||||
"x": 12,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 2,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_PIKACHU",
|
||||
"x": 15,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"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": "0x0",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ZIGZAGOON_2",
|
||||
"x": 4,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 2,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_AZUMARILL",
|
||||
"x": 13,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WINGULL",
|
||||
"x": 3,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"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": "0x0",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 8,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 9,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 10,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
151
data/maps/BattleFrontier_BattlePalaceCorridor/scripts.inc
Normal file
151
data/maps/BattleFrontier_BattlePalaceCorridor/scripts.inc
Normal file
@ -0,0 +1,151 @@
|
||||
.set LOCALID_ATTENDANT, 1
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceCorridor_OnFrame
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_OnFrame:
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceCorridor_EventScript_WalkThroughCorridor
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_WalkThroughCorridor::
|
||||
delay 16
|
||||
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor
|
||||
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor
|
||||
waitmovement 0
|
||||
lockall
|
||||
palace_getcomment
|
||||
call_if_eq VAR_RESULT, 0, BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment1
|
||||
call_if_eq VAR_RESULT, 1, BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment2
|
||||
call_if_eq VAR_RESULT, 2, BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment3
|
||||
call_if_eq VAR_RESULT, 3, BattleFrontier_BattlePalaceCorridor_EventScript_StreakComment
|
||||
call_if_eq VAR_RESULT, 4, BattleFrontier_BattlePalaceCorridor_EventScript_LongStreakComment
|
||||
closemessage
|
||||
frontier_get FRONTIER_DATA_LVL_MODE
|
||||
goto_if_eq VAR_RESULT, FRONTIER_LVL_OPEN, BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom
|
||||
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkTo50BattleRoom
|
||||
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkTo50BattleRoom
|
||||
waitmovement 0
|
||||
opendoor 6, 3
|
||||
waitdooranim
|
||||
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom
|
||||
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom
|
||||
waitmovement 0
|
||||
closedoor 6, 3
|
||||
waitdooranim
|
||||
goto BattleFrontier_BattlePalaceCorridor_EventScript_WarpToBattleRoom
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom::
|
||||
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkToOpenBattleRoom
|
||||
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkToOpenBattleRoom
|
||||
waitmovement 0
|
||||
opendoor 10, 3
|
||||
waitdooranim
|
||||
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom
|
||||
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom
|
||||
waitmovement 0
|
||||
closedoor 10, 3
|
||||
waitdooranim
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_WarpToBattleRoom::
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM, 7, 4
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment1::
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_PeopleAndMonAreSame, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment2::
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_LetMonDoWhatItLikes, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment3::
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_MonDifferentWhenCornered, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_StreakComment::
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_BeginningToUnderstandNature, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_LongStreakComment::
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_HeartfeltBondBetweenYouAndMons, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor:
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkTo50BattleRoom:
|
||||
walk_up
|
||||
walk_up
|
||||
walk_left
|
||||
walk_left
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkTo50BattleRoom:
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_left
|
||||
walk_left
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkToOpenBattleRoom:
|
||||
walk_up
|
||||
walk_right
|
||||
walk_right
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkToOpenBattleRoom:
|
||||
walk_up
|
||||
walk_up
|
||||
walk_right
|
||||
walk_right
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom:
|
||||
walk_up
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom:
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Text_PeopleAndMonAreSame:
|
||||
.string "People and POKéMON, they are but\n"
|
||||
.string "the same…\p"
|
||||
.string "Their individual nature makes them\n"
|
||||
.string "good at certain things, and not good\l"
|
||||
.string "at others.$"
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Text_LetMonDoWhatItLikes:
|
||||
.string "Rather than trying to make a POKéMON\n"
|
||||
.string "do what it dislikes, try to let it do\l"
|
||||
.string "what it likes and is good at doing.\p"
|
||||
.string "Put yourself in the POKéMON's position\n"
|
||||
.string "and consider what moves it would like.$"
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Text_MonDifferentWhenCornered:
|
||||
.string "A POKéMON's nature is a remarkable\n"
|
||||
.string "thing…\p"
|
||||
.string "Some POKéMON behave in a completely\n"
|
||||
.string "different way when they are cornered.$"
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Text_BeginningToUnderstandNature:
|
||||
.string "Are you beginning to understand how\n"
|
||||
.string "a POKéMON's nature makes it behave?$"
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Text_HeartfeltBondBetweenYouAndMons:
|
||||
.string "Ah… I see a strong, heartfelt bond\n"
|
||||
.string "between you and your POKéMON…$"
|
||||
|
Reference in New Issue
Block a user