{
    "bg_events": [
        {
            "script": 31,
            "type": 0,
            "x": 46,
            "z": 49,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_ALL"
        },
        {
            "script": 32,
            "type": 0,
            "x": 50,
            "z": 49,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_ALL"
        },
        {
            "script": 31,
            "type": 0,
            "x": 46,
            "z": 48,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_ALL"
        },
        {
            "script": 31,
            "type": 0,
            "x": 47,
            "z": 48,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_ALL"
        },
        {
            "script": 31,
            "type": 0,
            "x": 47,
            "z": 49,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_ALL"
        },
        {
            "script": 32,
            "type": 0,
            "x": 50,
            "z": 48,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_ALL"
        },
        {
            "script": 32,
            "type": 0,
            "x": 51,
            "z": 49,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_ALL"
        },
        {
            "script": 32,
            "type": 0,
            "x": 51,
            "z": 48,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_ALL"
        },
        {
            "script": 33,
            "type": 0,
            "x": 50,
            "z": 39,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_ALL"
        },
        {
            "script": 33,
            "type": 0,
            "x": 51,
            "z": 39,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_NORTH"
        },
        {
            "script": 33,
            "type": 0,
            "x": 50,
            "z": 38,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_EAST"
        },
        {
            "script": 33,
            "type": 0,
            "x": 50,
            "z": 37,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_EAST"
        },
        {
            "script": 33,
            "type": 0,
            "x": 50,
            "z": 36,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_ALL"
        },
        {
            "script": 33,
            "type": 0,
            "x": 51,
            "z": 36,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_SOUTH"
        },
        {
            "script": 33,
            "type": 0,
            "x": 52,
            "z": 39,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_NORTH"
        },
        {
            "script": 33,
            "type": 0,
            "x": 52,
            "z": 36,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_SOUTH"
        },
        {
            "script": 33,
            "type": 0,
            "x": 53,
            "z": 36,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_ALL"
        },
        {
            "script": 33,
            "type": 0,
            "x": 53,
            "z": 37,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_WEST"
        },
        {
            "script": 33,
            "type": 0,
            "x": 53,
            "z": 38,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_WEST"
        },
        {
            "script": 33,
            "type": 0,
            "x": 53,
            "z": 39,
            "y": 0,
            "player_facing_dir": "BG_EVENT_DIR_ALL"
        }
    ],
    "object_events": [
        {
            "id": "BATTLE_FRONTIER_TRAINER_TIPS_SIGNPOST_0",
            "graphics_id": "OBJ_EVENT_GFX_TRAINER_TIPS_SIGNPOST",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 27,
            "initial_dir": 0,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 25,
            "z": 32,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_TRAINER_TIPS_SIGNPOST_1",
            "graphics_id": "OBJ_EVENT_GFX_TRAINER_TIPS_SIGNPOST",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 26,
            "initial_dir": 0,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 47,
            "z": 19,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_POKEMON_BREEDER_F_2",
            "graphics_id": "OBJ_EVENT_GFX_POKEMON_BREEDER_F",
            "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 18,
            "initial_dir": 1,
            "data": [],
            "movement_range_x": 1,
            "movement_range_z": 1,
            "x": 44,
            "z": 50,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_EXPERT_F_3",
            "graphics_id": "OBJ_EVENT_GFX_EXPERT_F",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 9,
            "initial_dir": 1,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 49,
            "z": 64,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_EXPERT_M_4",
            "graphics_id": "OBJ_EVENT_GFX_EXPERT_M",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 8,
            "initial_dir": 1,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 48,
            "z": 64,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_TWIN_5",
            "graphics_id": "OBJ_EVENT_GFX_TWIN",
            "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 6,
            "initial_dir": 1,
            "data": [],
            "movement_range_x": 3,
            "movement_range_z": 0,
            "x": 41,
            "z": 57,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_SCHOOL_KID_M_6",
            "graphics_id": "OBJ_EVENT_GFX_SCHOOL_KID_M",
            "movement_type": "MOVEMENT_TYPE_LOOK_NORTH_AND_WEST",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 20,
            "initial_dir": 2,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 59,
            "z": 45,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_NINJA_BOY_7",
            "graphics_id": "OBJ_EVENT_GFX_NINJA_BOY",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 2,
            "initial_dir": 0,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 50,
            "z": 19,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_IDOL_8",
            "graphics_id": "OBJ_EVENT_GFX_IDOL",
            "movement_type": "MOVEMENT_TYPE_LOOK_NORTH_SOUTH_AND_WEST",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 4,
            "initial_dir": 0,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 1,
            "x": 26,
            "z": 30,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_ROUGHNECK_9",
            "graphics_id": "OBJ_EVENT_GFX_ROUGHNECK",
            "movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 12,
            "initial_dir": 3,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 1,
            "x": 67,
            "z": 39,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_BLACK_BELT_10",
            "graphics_id": "OBJ_EVENT_GFX_BLACK_BELT",
            "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 3,
            "initial_dir": 1,
            "data": [],
            "movement_range_x": 3,
            "movement_range_z": 3,
            "x": 38,
            "z": 23,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_FRONTIER_BOOTH_ATTENDANT_11",
            "graphics_id": "OBJ_EVENT_GFX_FRONTIER_BOOTH_ATTENDANT",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 23,
            "initial_dir": 3,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 45,
            "z": 43,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_FRONTIER_BOOTH_ATTENDANT_12",
            "graphics_id": "OBJ_EVENT_GFX_FRONTIER_BOOTH_ATTENDANT",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 10490,
            "initial_dir": 3,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 45,
            "z": 37,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_FRONTIER_BOOTH_ATTENDANT_13",
            "graphics_id": "OBJ_EVENT_GFX_FRONTIER_BOOTH_ATTENDANT",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 25,
            "initial_dir": 2,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 52,
            "z": 43,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_POKEFAN_M_14",
            "graphics_id": "OBJ_EVENT_GFX_POKEFAN_M",
            "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 13,
            "initial_dir": 0,
            "data": [],
            "movement_range_x": 2,
            "movement_range_z": 0,
            "x": 60,
            "z": 29,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_COLLECTOR_15",
            "graphics_id": "OBJ_EVENT_GFX_COLLECTOR",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 14,
            "initial_dir": 1,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 59,
            "z": 18,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_GENTLEMAN_16",
            "graphics_id": "OBJ_EVENT_GFX_GENTLEMAN",
            "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 15,
            "initial_dir": 1,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 1,
            "x": 38,
            "z": 37,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_TUBER_M_17",
            "graphics_id": "OBJ_EVENT_GFX_TUBER_M",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 22,
            "initial_dir": 3,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 55,
            "z": 38,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_ACE_TRAINER_M_18",
            "graphics_id": "OBJ_EVENT_GFX_ACE_TRAINER_M",
            "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 19,
            "initial_dir": 1,
            "data": [],
            "movement_range_x": 1,
            "movement_range_z": 1,
            "x": 54,
            "z": 49,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_COWGIRL_19",
            "graphics_id": "OBJ_EVENT_GFX_COWGIRL",
            "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 11,
            "initial_dir": 3,
            "data": [],
            "movement_range_x": 2,
            "movement_range_z": 0,
            "x": 66,
            "z": 50,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_FISHERMAN_20",
            "graphics_id": "OBJ_EVENT_GFX_FISHERMAN",
            "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 21,
            "initial_dir": 3,
            "data": [],
            "movement_range_x": 2,
            "movement_range_z": 1,
            "x": 60,
            "z": 37,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_PICNICKER_21",
            "graphics_id": "OBJ_EVENT_GFX_PICNICKER",
            "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 17,
            "initial_dir": 3,
            "data": [],
            "movement_range_x": 2,
            "movement_range_z": 0,
            "x": 45,
            "z": 46,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_PARASOL_LADY_22",
            "graphics_id": "OBJ_EVENT_GFX_PARASOL_LADY",
            "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 7,
            "initial_dir": 0,
            "data": [],
            "movement_range_x": 2,
            "movement_range_z": 0,
            "x": 44,
            "z": 61,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_WAITRESS_23",
            "graphics_id": "OBJ_EVENT_GFX_WAITRESS",
            "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 10,
            "initial_dir": 0,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 2,
            "x": 54,
            "z": 59,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_TRAINER_TIPS_SIGNPOST_24",
            "graphics_id": "OBJ_EVENT_GFX_TRAINER_TIPS_SIGNPOST",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 28,
            "initial_dir": 0,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 35,
            "z": 57,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_TRAINER_TIPS_SIGNPOST_25",
            "graphics_id": "OBJ_EVENT_GFX_TRAINER_TIPS_SIGNPOST",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 29,
            "initial_dir": 0,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 62,
            "z": 57,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_TRAINER_TIPS_SIGNPOST_26",
            "graphics_id": "OBJ_EVENT_GFX_TRAINER_TIPS_SIGNPOST",
            "movement_type": "MOVEMENT_TYPE_NONE",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 30,
            "initial_dir": 0,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 0,
            "x": 72,
            "z": 32,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_ACE_TRAINER_M_27",
            "graphics_id": "OBJ_EVENT_GFX_ACE_TRAINER_M",
            "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 16,
            "initial_dir": 1,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 2,
            "x": 42,
            "z": 41,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_ACE_TRAINER_SNOW_F_28",
            "graphics_id": "OBJ_EVENT_GFX_ACE_TRAINER_SNOW_F",
            "movement_type": "MOVEMENT_TYPE_LOOK_NORTH_SOUTH_AND_WEST",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "0",
            "script": 5,
            "initial_dir": 1,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 1,
            "x": 31,
            "z": 40,
            "y": 0
        },
        {
            "id": "BATTLE_FRONTIER_REPORTER_29",
            "graphics_id": "OBJ_EVENT_GFX_REPORTER",
            "movement_type": "MOVEMENT_TYPE_LOOK_NORTH",
            "trainer_type": "TRAINER_TYPE_NONE",
            "flag": "FLAG_UNK_0x02C3",
            "script": 10168,
            "initial_dir": 0,
            "data": [],
            "movement_range_x": 0,
            "movement_range_z": 1,
            "x": 25,
            "z": 36,
            "y": 0
        }
    ],
    "warp_events": [
        {
            "x": 48,
            "z": 17,
            "dest_header_id": "MAP_HEADER_BATTLE_TOWER",
            "dest_warp_id": 0
        },
        {
            "x": 49,
            "z": 17,
            "dest_header_id": "MAP_HEADER_BATTLE_TOWER",
            "dest_warp_id": 0
        },
        {
            "x": 77,
            "z": 34,
            "dest_header_id": "MAP_HEADER_BATTLE_FACTORY",
            "dest_warp_id": 0
        },
        {
            "x": 77,
            "z": 35,
            "dest_header_id": "MAP_HEADER_BATTLE_FACTORY",
            "dest_warp_id": 0
        },
        {
            "x": 19,
            "z": 34,
            "dest_header_id": "MAP_HEADER_BATTLE_HALL",
            "dest_warp_id": 0
        },
        {
            "x": 19,
            "z": 35,
            "dest_header_id": "MAP_HEADER_BATTLE_HALL",
            "dest_warp_id": 0
        },
        {
            "x": 33,
            "z": 62,
            "dest_header_id": "MAP_HEADER_BATTLE_CASTLE",
            "dest_warp_id": 0
        },
        {
            "x": 33,
            "z": 63,
            "dest_header_id": "MAP_HEADER_BATTLE_CASTLE",
            "dest_warp_id": 0
        },
        {
            "x": 64,
            "z": 62,
            "dest_header_id": "MAP_HEADER_BATTLE_ARCADE",
            "dest_warp_id": 0
        },
        {
            "x": 64,
            "z": 63,
            "dest_header_id": "MAP_HEADER_BATTLE_ARCADE",
            "dest_warp_id": 0
        },
        {
            "x": 48,
            "z": 52,
            "dest_header_id": "MAP_HEADER_BATTLE_FRONTIER_GATE_TO_FIGHT_AREA",
            "dest_warp_id": 0
        },
        {
            "x": 49,
            "z": 52,
            "dest_header_id": "MAP_HEADER_BATTLE_FRONTIER_GATE_TO_FIGHT_AREA",
            "dest_warp_id": 0
        },
        {
            "x": 73,
            "z": 34,
            "dest_header_id": "MAP_HEADER_BATTLE_FACTORY",
            "dest_warp_id": 0
        },
        {
            "x": 23,
            "z": 34,
            "dest_header_id": "MAP_HEADER_BATTLE_HALL",
            "dest_warp_id": 0
        },
        {
            "x": 60,
            "z": 62,
            "dest_header_id": "MAP_HEADER_BATTLE_ARCADE",
            "dest_warp_id": 0
        },
        {
            "x": 36,
            "z": 62,
            "dest_header_id": "MAP_HEADER_BATTLE_CASTLE",
            "dest_warp_id": 0
        }
    ],
    "coord_events": [
        {
            "script": 34,
            "x": 22,
            "z": 34,
            "y": 0,
            "width": 1,
            "length": 2,
            "var": "VAR_UNK_0x4075",
            "value": 0
        },
        {
            "script": 35,
            "x": 35,
            "z": 62,
            "y": 0,
            "width": 1,
            "length": 2,
            "var": "VAR_UNK_0x4075",
            "value": 0
        },
        {
            "script": 36,
            "x": 61,
            "z": 62,
            "y": 0,
            "width": 1,
            "length": 2,
            "var": "VAR_UNK_0x4075",
            "value": 0
        },
        {
            "script": 37,
            "x": 74,
            "z": 34,
            "y": 0,
            "width": 1,
            "length": 2,
            "var": "VAR_UNK_0x4075",
            "value": 0
        }
    ]
}

