summaryrefslogtreecommitdiff
path: root/data/maps/TrainerTower_Lobby/map.json
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-02-16 11:07:47 -0500
committerGitHub <noreply@github.com>2020-02-16 11:07:47 -0500
commit04130a97d9ff799c9f1b439d091c0116adb31bfb (patch)
tree7b610171c3d893d1cace513cf61e0b74014dbad2 /data/maps/TrainerTower_Lobby/map.json
parentfee980decd6dfd5dc98c15ba13c9ea8f7b597934 (diff)
parenta4cd331634d1fcc5f7cb217c51c328c5769a9616 (diff)
Merge pull request #239 from GriffinRichards/doc-ttower
Document Trainer Tower scripts
Diffstat (limited to 'data/maps/TrainerTower_Lobby/map.json')
-rw-r--r--data/maps/TrainerTower_Lobby/map.json125
1 files changed, 125 insertions, 0 deletions
diff --git a/data/maps/TrainerTower_Lobby/map.json b/data/maps/TrainerTower_Lobby/map.json
new file mode 100644
index 000000000..23e8456c0
--- /dev/null
+++ b/data/maps/TrainerTower_Lobby/map.json
@@ -0,0 +1,125 @@
+{
+ "id": "MAP_TRAINER_TOWER_LOBBY",
+ "name": "TrainerTower_Lobby",
+ "layout": "LAYOUT_TRAINER_TOWER_LOBBY",
+ "music": "MUS_T_TOWER",
+ "region_map_section": "MAPSEC_TRAINER_TOWER_2",
+ "requires_flash": false,
+ "weather": "WEATHER_NONE",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "OBJECT_EVENT_GFX_NURSE",
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "MOVEMENT_TYPE_FACE_DOWN",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TrainerTower_Lobby_EventScript_Nurse",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "OBJECT_EVENT_GFX_UNION_ROOM_RECEPTIONIST",
+ "x": 14,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "MOVEMENT_TYPE_FACE_DOWN",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TrainerTower_Lobby_EventScript_MartClerk",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "OBJECT_EVENT_GFX_UNION_ROOM_RECEPTIONIST",
+ "x": 11,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "MOVEMENT_TYPE_FACE_LEFT",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TrainerTower_Lobby_EventScript_Receptionist",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "OBJECT_EVENT_GFX_COOLTRAINER_F",
+ "x": 12,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TrainerTower_Lobby_EventScript_CooltrainerF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "OBJECT_EVENT_GFX_BALDING_MAN",
+ "x": 2,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TrainerTower_Lobby_EventScript_BaldingMan",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 9,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_TRAINER_TOWER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 9,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 17,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_TRAINER_TOWER_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "var": "VAR_MAP_SCENE_TRAINER_TOWER",
+ "var_value": 0,
+ "script": "TrainerTower_Lobby_EventScript_EntryTrigger"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 8,
+ "y": 10,
+ "elevation": 0,
+ "script": "TrainerTower_Lobby_EventScript_ShowRecords"
+ }
+ ]
+}