{
  "id": "MAP_PALLET_TOWN",
  "name": "PalletTown",
  "layout": "LAYOUT_PALLET_TOWN",
  "music": "MUS_PALLET",
  "region_map_section": "MAPSEC_PALLET_TOWN",
  "requires_flash": false,
  "weather": "WEATHER_SUNNY",
  "map_type": "MAP_TYPE_TOWN",
  "allow_cycling": true,
  "allow_escaping": false,
  "allow_running": true,
  "show_map_name": true,
  "floor_number": 0,
  "battle_scene": "MAP_BATTLE_SCENE_NORMAL",
  "connections": [
    {
      "map": "MAP_ROUTE1",
      "offset": 0,
      "direction": "up"
    },
    {
      "map": "MAP_ROUTE21_NORTH",
      "offset": 0,
      "direction": "down"
    }
  ],
  "object_events": [
    {
      "local_id": "LOCALID_PALLET_SIGN_LADY",
      "type": "object",
      "graphics_id": "OBJ_EVENT_GFX_WOMAN_1",
      "x": 3,
      "y": 10,
      "elevation": 3,
      "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
      "movement_range_x": 1,
      "movement_range_y": 4,
      "trainer_type": "TRAINER_TYPE_NONE",
      "trainer_sight_or_berry_tree_id": "0",
      "script": "PalletTown_EventScript_SignLady",
      "flag": "0"
    },
    {
      "local_id": "LOCALID_PALLET_FAT_MAN",
      "type": "object",
      "graphics_id": "OBJ_EVENT_GFX_FAT_MAN",
      "x": 13,
      "y": 17,
      "elevation": 3,
      "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
      "movement_range_x": 6,
      "movement_range_y": 2,
      "trainer_type": "TRAINER_TYPE_NONE",
      "trainer_sight_or_berry_tree_id": "0",
      "script": "PalletTown_EventScript_FatMan",
      "flag": "0"
    },
    {
      "local_id": "LOCALID_PALLET_PROF_OAK",
      "type": "object",
      "graphics_id": "OBJ_EVENT_GFX_PROF_OAK",
      "x": 10,
      "y": 8,
      "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": "FLAG_HIDE_OAK_IN_PALLET_TOWN"
    }
  ],
  "warp_events": [
    {
      "x": 6,
      "y": 7,
      "elevation": 0,
      "dest_map": "MAP_PALLET_TOWN_PLAYERS_HOUSE_1F",
      "dest_warp_id": "1"
    },
    {
      "x": 15,
      "y": 7,
      "elevation": 0,
      "dest_map": "MAP_PALLET_TOWN_RIVALS_HOUSE",
      "dest_warp_id": "0"
    },
    {
      "x": 16,
      "y": 13,
      "elevation": 0,
      "dest_map": "MAP_PALLET_TOWN_PROFESSOR_OAKS_LAB",
      "dest_warp_id": "0"
    }
  ],
  "coord_events": [
    {
      "type": "trigger",
      "x": 12,
      "y": 1,
      "elevation": 3,
      "var": "VAR_MAP_SCENE_PALLET_TOWN_OAK",
      "var_value": "0",
      "script": "PalletTown_EventScript_OakTriggerLeft"
    },
    {
      "type": "trigger",
      "x": 13,
      "y": 1,
      "elevation": 3,
      "var": "VAR_MAP_SCENE_PALLET_TOWN_OAK",
      "var_value": "0",
      "script": "PalletTown_EventScript_OakTriggerRight"
    },
    {
      "type": "trigger",
      "x": 13,
      "y": 2,
      "elevation": 3,
      "var": "VAR_TEMP_2",
      "var_value": "1",
      "script": "PalletTown_EventScript_SignLadyTrigger"
    }
  ],
  "bg_events": [
    {
      "type": "sign",
      "x": 16,
      "y": 16,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
      "script": "PalletTown_EventScript_OaksLabSign"
    },
    {
      "type": "sign",
      "x": 4,
      "y": 7,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
      "script": "PalletTown_EventScript_PlayersHouseSign"
    },
    {
      "type": "sign",
      "x": 13,
      "y": 7,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
      "script": "PalletTown_EventScript_RivalsHouseSign"
    },
    {
      "type": "sign",
      "x": 9,
      "y": 11,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
      "script": "PalletTown_EventScript_TownSign"
    },
    {
      "type": "sign",
      "x": 5,
      "y": 14,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
      "script": "PalletTown_EventScript_TrainerTips"
    }
  ]
}
