pokeemerald/data/maps/OldaleTown/map.json

197 lines
4.6 KiB
JSON
Raw Normal View History

2019-01-31 22:51:20 +01:00
{
"id": "MAP_OLDALE_TOWN",
"name": "OldaleTown",
"layout": "LAYOUT_OLDALE_TOWN",
2020-08-21 00:02:00 +02:00
"music": "MUS_OLDALE",
2019-01-31 22:51:20 +01:00
"region_map_section": "MAPSEC_OLDALE_TOWN",
"requires_flash": false,
"weather": "WEATHER_SUNNY",
"map_type": "MAP_TYPE_TOWN",
"allow_cycling": true,
"allow_escaping": false,
2019-01-31 22:51:20 +01:00
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [
{
"map": "MAP_ROUTE103",
2019-01-31 22:51:20 +01:00
"offset": 0,
"direction": "up"
2019-01-31 22:51:20 +01:00
},
{
"map": "MAP_ROUTE101",
2019-01-31 22:51:20 +01:00
"offset": 0,
"direction": "down"
2019-01-31 22:51:20 +01:00
},
{
"map": "MAP_ROUTE102",
2019-01-31 22:51:20 +01:00
"offset": 0,
"direction": "left"
2019-01-31 22:51:20 +01:00
}
],
"object_events": [
{
"graphics_id": "OBJ_EVENT_GFX_GIRL_3",
2019-01-31 22:51:20 +01:00
"x": 16,
"y": 11,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
2020-03-27 15:24:10 +01:00
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
2019-10-21 01:30:25 +02:00
"script": "OldaleTown_EventScript_Girl",
2019-01-31 22:51:20 +01:00
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_MART_EMPLOYEE",
2019-01-31 22:51:20 +01:00
"x": 13,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
2020-03-27 15:24:10 +01:00
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
2019-10-21 01:30:25 +02:00
"script": "OldaleTown_EventScript_MartEmployee",
2019-01-31 22:51:20 +01:00
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_MANIAC",
2019-01-31 22:51:20 +01:00
"x": 8,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
2020-03-27 15:24:10 +01:00
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
2019-10-22 22:53:49 +02:00
"script": "OldaleTown_EventScript_FootprintsMan",
2019-01-31 22:51:20 +01:00
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_VAR_0",
2019-01-31 22:51:20 +01:00
"x": 11,
"y": 19,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
2020-03-27 15:24:10 +01:00
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
2019-10-21 01:30:25 +02:00
"script": "OldaleTown_EventScript_Rival",
2019-01-31 22:51:20 +01:00
"flag": "FLAG_HIDE_OLDALE_TOWN_RIVAL"
}
],
"warp_events": [
{
"x": 5,
"y": 7,
"elevation": 0,
"dest_map": "MAP_OLDALE_TOWN_HOUSE1",
"dest_warp_id": "0"
2019-01-31 22:51:20 +01:00
},
{
"x": 15,
"y": 16,
"elevation": 0,
"dest_map": "MAP_OLDALE_TOWN_HOUSE2",
"dest_warp_id": "0"
2019-01-31 22:51:20 +01:00
},
{
"x": 6,
"y": 16,
"elevation": 0,
"dest_map": "MAP_OLDALE_TOWN_POKEMON_CENTER_1F",
"dest_warp_id": "0"
2019-01-31 22:51:20 +01:00
},
{
"x": 14,
"y": 6,
"elevation": 0,
"dest_map": "MAP_OLDALE_TOWN_MART",
"dest_warp_id": "0"
2019-01-31 22:51:20 +01:00
}
],
"coord_events": [
{
"type": "trigger",
"x": 0,
"y": 10,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_OLDALE_TOWN_STATE",
"var_value": "0",
2019-10-21 01:30:25 +02:00
"script": "OldaleTown_EventScript_BlockedPath"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 8,
"y": 19,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_OLDALE_RIVAL_STATE",
"var_value": "1",
2019-10-21 01:30:25 +02:00
"script": "OldaleTown_EventScript_RivalTrigger1"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 9,
"y": 19,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_OLDALE_RIVAL_STATE",
"var_value": "1",
2019-10-21 01:30:25 +02:00
"script": "OldaleTown_EventScript_RivalTrigger2"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 10,
"y": 19,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_OLDALE_RIVAL_STATE",
"var_value": "1",
2019-10-21 01:30:25 +02:00
"script": "OldaleTown_EventScript_RivalTrigger3"
2019-01-31 22:51:20 +01:00
}
],
"bg_events": [
{
"type": "sign",
"x": 11,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
2022-08-26 04:00:24 +02:00
"script": "OldaleTown_EventScript_TownSign"
2019-01-31 22:51:20 +01:00
},
{
"type": "sign",
"x": 7,
"y": 16,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "Common_EventScript_ShowPokemonCenterSign"
2019-01-31 22:51:20 +01:00
},
{
"type": "sign",
"x": 15,
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "Common_EventScript_ShowPokemartSign"
2019-01-31 22:51:20 +01:00
},
{
"type": "sign",
"x": 8,
"y": 16,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "Common_EventScript_ShowPokemonCenterSign"
2019-01-31 22:51:20 +01:00
},
{
"type": "sign",
"x": 16,
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "Common_EventScript_ShowPokemartSign"
2019-01-31 22:51:20 +01:00
}
]
2019-08-05 17:23:45 +02:00
}