tumbledemerald-legacy/data/maps/Route101/map.json

202 lines
5.0 KiB
JSON
Raw Permalink Normal View History

2022-05-19 19:14:13 +02:00
{
"id": "MAP_ROUTE101",
"name": "Route101",
"layout": "LAYOUT_ROUTE101",
"music": "MUS_ROUTE101",
"region_map_section": "MAPSEC_ROUTE_101",
"requires_flash": false,
"weather": "WEATHER_SUNNY",
"map_type": "MAP_TYPE_ROUTE",
"allow_cycling": true,
"allow_escaping": false,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [
{
"direction": "up",
"offset": 0,
"map": "MAP_OLDALE_TOWN"
},
{
"direction": "down",
"offset": 0,
"map": "MAP_LITTLEROOT_TOWN"
}
],
"object_events": [
{
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER",
"x": 16,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route101_EventScript_Youngster",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_PROF_BIRCH",
"x": 9,
"y": 13,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_JOG_IN_PLACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_ROUTE_101_BIRCH_ZIGZAGOON_BATTLE"
},
{
"graphics_id": "OBJ_EVENT_GFX_BIRCHS_BAG",
"x": 7,
"y": 14,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route101_EventScript_BirchsBag",
"flag": "FLAG_HIDE_ROUTE_101_BIRCH_STARTERS_BAG"
},
{
"graphics_id": "OBJ_EVENT_GFX_ZIGZAGOON_1",
"x": 10,
"y": 13,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_JOG_IN_PLACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_ROUTE_101_ZIGZAGOON"
},
{
"graphics_id": "OBJ_EVENT_GFX_PROF_BIRCH",
"x": 5,
"y": 11,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "ProfBirch_EventScript_RatePokedexOrRegister",
"flag": "FLAG_HIDE_ROUTE_101_BIRCH"
},
{
"graphics_id": "OBJ_EVENT_GFX_BOY_2",
"x": 2,
"y": 13,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route101_EventScript_Boy",
"flag": "FLAG_HIDE_ROUTE_101_BOY"
}
],
"warp_events": [],
"coord_events": [
{
"type": "trigger",
"x": 10,
"y": 19,
"elevation": 3,
"var": "VAR_ROUTE101_STATE",
"var_value": "1",
"script": "Route101_EventScript_StartBirchRescue"
},
{
"type": "trigger",
"x": 11,
"y": 19,
"elevation": 3,
"var": "VAR_ROUTE101_STATE",
"var_value": "1",
"script": "Route101_EventScript_StartBirchRescue"
},
{
"type": "trigger",
"x": 10,
"y": 18,
"elevation": 3,
"var": "VAR_ROUTE101_STATE",
"var_value": "2",
"script": "Route101_EventScript_PreventExitSouth"
},
{
"type": "trigger",
"x": 11,
"y": 18,
"elevation": 3,
"var": "VAR_ROUTE101_STATE",
"var_value": "2",
"script": "Route101_EventScript_PreventExitSouth"
},
{
"type": "trigger",
"x": 6,
"y": 16,
"elevation": 3,
"var": "VAR_ROUTE101_STATE",
"var_value": "2",
"script": "Route101_EventScript_PreventExitWest"
},
{
"type": "trigger",
"x": 6,
"y": 15,
"elevation": 3,
"var": "VAR_ROUTE101_STATE",
"var_value": "2",
"script": "Route101_EventScript_PreventExitWest"
},
{
"type": "trigger",
"x": 6,
"y": 17,
"elevation": 3,
"var": "VAR_ROUTE101_STATE",
"var_value": "2",
"script": "Route101_EventScript_PreventExitWest"
},
{
"type": "trigger",
"x": 6,
"y": 18,
"elevation": 3,
"var": "VAR_ROUTE101_STATE",
"var_value": "2",
"script": "Route101_EventScript_PreventExitWest"
},
{
"type": "trigger",
"x": 7,
"y": 13,
"elevation": 3,
"var": "VAR_ROUTE101_STATE",
"var_value": "2",
"script": "Route101_EventScript_PreventExitNorth"
}
],
"bg_events": [
{
"type": "sign",
"x": 5,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route101_EventScript_RouteSign"
}
]
}