summaryrefslogtreecommitdiff
path: root/data/maps/OneIsland/map.json
blob: e49ef37ef2fe5ad03d3888ef7e80dc51b1ce0dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
  "id": "MAP_ONE_ISLAND",
  "name": "OneIsland",
  "layout": "LAYOUT_ONE_ISLAND",
  "music": "MUS_SEVII_123",
  "region_map_section": "MAPSEC_ONE_ISLAND",
  "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_ONE_ISLAND_TREASURE_BEACH",
      "offset": 0,
      "direction": "down"
    },
    {
      "map": "MAP_ONE_ISLAND_KINDLE_ROAD",
      "offset": -120,
      "direction": "right"
    }
  ],
  "object_events": [
    {
      "graphics_id": "OBJ_EVENT_GFX_BILL",
      "x": 12,
      "y": 16,
      "elevation": 3,
      "movement_type": "MOVEMENT_TYPE_FACE_DOWN",
      "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_ONE_ISLAND_BILL"
    },
    {
      "graphics_id": "OBJ_EVENT_GFX_OLD_MAN_1",
      "x": 16,
      "y": 12,
      "elevation": 3,
      "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
      "movement_range_x": 1,
      "movement_range_y": 1,
      "trainer_type": "TRAINER_TYPE_NONE",
      "trainer_sight_or_berry_tree_id": "0",
      "script": "OneIsland_EventScript_OldMan",
      "flag": "0"
    },
    {
      "graphics_id": "OBJ_EVENT_GFX_BALDING_MAN",
      "x": 13,
      "y": 9,
      "elevation": 3,
      "movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_UP",
      "movement_range_x": 1,
      "movement_range_y": 1,
      "trainer_type": "TRAINER_TYPE_NONE",
      "trainer_sight_or_berry_tree_id": "0",
      "script": "OneIsland_EventScript_BaldingMan",
      "flag": "0"
    }
  ],
  "warp_events": [
    {
      "x": 14,
      "y": 5,
      "elevation": 0,
      "dest_map": "MAP_ONE_ISLAND_POKEMON_CENTER_1F",
      "dest_warp_id": 0
    },
    {
      "x": 19,
      "y": 9,
      "elevation": 0,
      "dest_map": "MAP_ONE_ISLAND_HOUSE1",
      "dest_warp_id": 0
    },
    {
      "x": 8,
      "y": 11,
      "elevation": 0,
      "dest_map": "MAP_ONE_ISLAND_HOUSE2",
      "dest_warp_id": 0
    },
    {
      "x": 12,
      "y": 18,
      "elevation": 3,
      "dest_map": "MAP_ONE_ISLAND_HARBOR",
      "dest_warp_id": 0
    }
  ],
  "coord_events": [],
  "bg_events": [
    {
      "type": "sign",
      "x": 14,
      "y": 13,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
      "script": "OneIsland_EventScript_IslandSign"
    },
    {
      "type": "sign",
      "x": 15,
      "y": 6,
      "elevation": 0,
      "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
      "script": "OneIsland_EventScript_PokemonNetCenterSign"
    }
  ]
}