{
  "id": "MAP_OLDALE_TOWN",
  "name": "OldaleTown",
  "layout": "LAYOUT_OLDALE_TOWN",
  "music": "MUS_OLDALE",
  "region_map_section": "MAPSEC_OLDALE_TOWN",
  "requires_flash": false,
  "weather": "WEATHER_SUNNY",
  "map_type": "MAP_TYPE_TOWN",
  "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": "OBJ_EVENT_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": "TRAINER_TYPE_NONE",
      "trainer_sight_or_berry_tree_id": "0",
      "script": "OldaleTown_EventScript_14DDB3",
      "flag": "0"
    },
    {
      "graphics_id": "OBJ_EVENT_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": "TRAINER_TYPE_NONE",
      "trainer_sight_or_berry_tree_id": "0",
      "script": "OldaleTown_EventScript_14DDBC",
      "flag": "0"
    },
    {
      "graphics_id": "OBJ_EVENT_GFX_MANIAC",
      "x": 8,
      "y": 9,
      "elevation": 3,
      "movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
      "movement_range_x": 0,
      "movement_range_y": 0,
      "trainer_type": "TRAINER_TYPE_NONE",
      "trainer_sight_or_berry_tree_id": "0",
      "script": "OldaleTown_EventScript_14DEDF",
      "flag": "0"
    },
    {
      "graphics_id": "OBJ_EVENT_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": "TRAINER_TYPE_NONE",
      "trainer_sight_or_berry_tree_id": "0",
      "script": "OldaleTown_EventScript_14DF30",
      "flag": "FLAG_HIDE_RIVAL_OLDALE_TOWN"
    }
  ],
  "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_14DEFF"
    },
    {
      "type": "trigger",
      "x": 8,
      "y": 19,
      "elevation": 3,
      "var": "VAR_OLDALE_STATE",
      "var_value": "1",
      "script": "OldaleTown_EventScript_14DF41"
    },
    {
      "type": "trigger",
      "x": 9,
      "y": 19,
      "elevation": 3,
      "var": "VAR_OLDALE_STATE",
      "var_value": "1",
      "script": "OldaleTown_EventScript_14DF5C"
    },
    {
      "type": "trigger",
      "x": 10,
      "y": 19,
      "elevation": 3,
      "var": "VAR_OLDALE_STATE",
      "var_value": "1",
      "script": "OldaleTown_EventScript_14DF77"
    }
  ],
  "bg_events": [
    {
      "type": "sign",
      "x": 11,
      "y": 9,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
      "script": "OldaleTown_EventScript_14DDAA"
    },
    {
      "type": "sign",
      "x": 7,
      "y": 16,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
      "script": "Common_EventScript_PokemonCenterSign"
    },
    {
      "type": "sign",
      "x": 15,
      "y": 6,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
      "script": "Common_EventScript_PokemartSign"
    },
    {
      "type": "sign",
      "x": 8,
      "y": 16,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
      "script": "Common_EventScript_PokemonCenterSign"
    },
    {
      "type": "sign",
      "x": 16,
      "y": 6,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
      "script": "Common_EventScript_PokemartSign"
    }
  ]
}
