{
  "id": "MAP_OLDALE_TOWN",
  "name": "OldaleTown",
  "layout": "LAYOUT_OLDALE_TOWN",
  "music": "MUS_MACHI_S4",
  "region_map_section": "MAPSEC_OLDALE_TOWN",
  "requires_flash": false,
  "weather": "WEATHER_SUNNY",
  "map_type": "MAP_TYPE_TOWN",
  "allow_bike": true,
  "allow_escape_rope": false,
  "allow_running": true,
  "show_map_name": true,
  "battle_scene": "MAP_BATTLE_SCENE_NORMAL",
  "connections": [
    {
      "direction": "up",
      "offset": 0,
      "map": "MAP_ROUTE103"
    },
    {
      "direction": "down",
      "offset": 0,
      "map": "MAP_ROUTE101"
    },
    {
      "direction": "left",
      "offset": 0,
      "map": "MAP_ROUTE102"
    }
  ],
  "object_events": [
    {
      "graphics_id": "EVENT_OBJ_GFX_GIRL_3",
      "x": 16,
      "y": 11,
      "elevation": 3,
      "movement_type": "MOVEMENT_TYPE_FACE_LEFT",
      "movement_range_x": 0,
      "movement_range_y": 0,
      "trainer_type": "0",
      "trainer_sight_or_berry_tree_id": "0",
      "script": "OldaleTown_EventScript_1E8EF3",
      "flag": "0"
    },
    {
      "graphics_id": "EVENT_OBJ_GFX_MART_EMPLOYEE",
      "x": 13,
      "y": 7,
      "elevation": 3,
      "movement_type": "MOVEMENT_TYPE_FACE_DOWN",
      "movement_range_x": 0,
      "movement_range_y": 0,
      "trainer_type": "0",
      "trainer_sight_or_berry_tree_id": "0",
      "script": "OldaleTown_EventScript_1E8EFC",
      "flag": "0"
    },
    {
      "graphics_id": "EVENT_OBJ_GFX_MANIAC",
      "x": 8,
      "y": 9,
      "elevation": 3,
      "movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
      "movement_range_x": 0,
      "movement_range_y": 0,
      "trainer_type": "0",
      "trainer_sight_or_berry_tree_id": "0",
      "script": "OldaleTown_EventScript_1E901F",
      "flag": "0"
    },
    {
      "graphics_id": "EVENT_OBJ_GFX_VAR_0",
      "x": 11,
      "y": 19,
      "elevation": 3,
      "movement_type": "MOVEMENT_TYPE_FACE_UP",
      "movement_range_x": 1,
      "movement_range_y": 1,
      "trainer_type": "0",
      "trainer_sight_or_berry_tree_id": "0",
      "script": "OldaleTown_EventScript_1E9070",
      "flag": "FLAG_HIDE_OLDALE_TOWN_RIVAL"
    }
  ],
  "warp_events": [
    {
      "x": 5,
      "y": 7,
      "elevation": 0,
      "dest_map": "MAP_OLDALE_TOWN_HOUSE1",
      "dest_warp_id": 0
    },
    {
      "x": 15,
      "y": 16,
      "elevation": 0,
      "dest_map": "MAP_OLDALE_TOWN_HOUSE2",
      "dest_warp_id": 0
    },
    {
      "x": 6,
      "y": 16,
      "elevation": 0,
      "dest_map": "MAP_OLDALE_TOWN_POKEMON_CENTER_1F",
      "dest_warp_id": 0
    },
    {
      "x": 14,
      "y": 6,
      "elevation": 0,
      "dest_map": "MAP_OLDALE_TOWN_MART",
      "dest_warp_id": 0
    }
  ],
  "coord_events": [
    {
      "type": "trigger",
      "x": 0,
      "y": 10,
      "elevation": 3,
      "var": "VAR_ROUTE102_ACCESSIBLE",
      "var_value": "0",
      "script": "OldaleTown_EventScript_1E903F"
    },
    {
      "type": "trigger",
      "x": 8,
      "y": 19,
      "elevation": 3,
      "var": "VAR_OLDALE_STATE",
      "var_value": "1",
      "script": "OldaleTown_EventScript_1E9086"
    },
    {
      "type": "trigger",
      "x": 9,
      "y": 19,
      "elevation": 3,
      "var": "VAR_OLDALE_STATE",
      "var_value": "1",
      "script": "OldaleTown_EventScript_1E90A6"
    },
    {
      "type": "trigger",
      "x": 10,
      "y": 19,
      "elevation": 3,
      "var": "VAR_OLDALE_STATE",
      "var_value": "1",
      "script": "OldaleTown_EventScript_1E90C6"
    }
  ],
  "bg_events": [
    {
      "type": "sign",
      "x": 11,
      "y": 9,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
      "script": "OldaleTown_EventScript_1E8EEA"
    },
    {
      "type": "sign",
      "x": 7,
      "y": 16,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
      "script": "Common_EventScript_ShowPokemonCenterSign"
    },
    {
      "type": "sign",
      "x": 15,
      "y": 6,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
      "script": "Common_EventScript_ShowPokemartSign"
    },
    {
      "type": "sign",
      "x": 8,
      "y": 16,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
      "script": "Common_EventScript_ShowPokemonCenterSign"
    },
    {
      "type": "sign",
      "x": 16,
      "y": 6,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
      "script": "Common_EventScript_ShowPokemartSign"
    }
  ]
}