pokeemerald/data/maps/PetalburgCity/map.json

331 lines
8.0 KiB
JSON
Raw Normal View History

2019-01-31 22:51:20 +01:00
{
"id": "MAP_PETALBURG_CITY",
"name": "PetalburgCity",
"layout": "LAYOUT_PETALBURG_CITY",
"music": "MUS_MACHI_S2",
"region_map_section": "MAPSEC_PETALBURG_CITY",
"requires_flash": false,
"weather": "WEATHER_SUNNY",
"map_type": "MAP_TYPE_CITY",
"allow_bike": true,
"allow_escape_rope": false,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [
{
"direction": "left",
"offset": -50,
"map": "MAP_ROUTE104"
},
{
"direction": "right",
"offset": 10,
"map": "MAP_ROUTE102"
}
],
"object_events": [
{
"graphics_id": "OBJ_EVENT_GFX_WOMAN_4",
2019-01-31 22:51:20 +01:00
"x": 16,
"y": 18,
"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",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_WallyAunt",
2019-01-31 22:51:20 +01:00
"flag": "FLAG_HIDE_PETALBURG_CITY_WALLYS_AUNT"
},
{
"graphics_id": "OBJ_EVENT_GFX_WALLY",
2019-01-31 22:51:20 +01:00
"x": 15,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
2019-01-31 22:51:20 +01:00
"script": "0x0",
"flag": "FLAG_HIDE_PETALBURG_CITY_WALLY"
},
{
"graphics_id": "OBJ_EVENT_GFX_BOY_1",
2019-01-31 22:51:20 +01:00
"x": 8,
"y": 22,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_Boy1",
2019-01-31 22:51:20 +01:00
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN",
2019-01-31 22:51:20 +01:00
"x": 20,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_Gentleman",
2019-01-31 22:51:20 +01:00
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_POKEFAN_M",
2019-01-31 22:51:20 +01:00
"x": 15,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
2019-01-31 22:51:20 +01:00
"script": "0x0",
"flag": "FLAG_HIDE_PETALBURG_CITY_WALLYS_UNCLE"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
2019-01-31 22:51:20 +01:00
"x": 19,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_EventScript_ItemMaxRevive",
2019-01-31 22:51:20 +01:00
"flag": "FLAG_ITEM_PETALBURG_CITY_MAX_REVIVE"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
2019-01-31 22:51:20 +01:00
"x": 3,
"y": 28,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_EventScript_ItemEther",
2019-01-31 22:51:20 +01:00
"flag": "FLAG_ITEM_PETALBURG_CITY_ETHER"
},
{
"graphics_id": "OBJ_EVENT_GFX_BOY_2",
2019-01-31 22:51:20 +01:00
"x": 12,
"y": 15,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_Boy2",
2019-01-31 22:51:20 +01:00
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_SCOTT",
2019-01-31 22:51:20 +01:00
"x": 13,
"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",
2019-01-31 22:51:20 +01:00
"script": "0x0",
"flag": "FLAG_HIDE_PETALBURG_CITY_SCOTT"
}
],
"warp_events": [
{
"x": 10,
"y": 19,
"elevation": 0,
"dest_map": "MAP_PETALBURG_CITY_HOUSE1",
"dest_warp_id": 0
},
{
"x": 7,
"y": 5,
"elevation": 0,
"dest_map": "MAP_PETALBURG_CITY_WALLYS_HOUSE",
"dest_warp_id": 0
},
{
"x": 15,
"y": 8,
"elevation": 0,
"dest_map": "MAP_PETALBURG_CITY_GYM",
"dest_warp_id": 0
},
{
"x": 20,
"y": 16,
"elevation": 0,
"dest_map": "MAP_PETALBURG_CITY_POKEMON_CENTER_1F",
"dest_warp_id": 0
},
{
"x": 20,
"y": 24,
"elevation": 0,
"dest_map": "MAP_PETALBURG_CITY_HOUSE2",
"dest_warp_id": 0
},
{
"x": 25,
"y": 12,
"elevation": 0,
"dest_map": "MAP_PETALBURG_CITY_MART",
"dest_warp_id": 0
}
],
"coord_events": [
{
"type": "trigger",
"x": 8,
"y": 10,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_PETALBURG_CITY_STATE",
"var_value": "0",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_ShowGymToPlayer0"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 8,
"y": 11,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_PETALBURG_CITY_STATE",
"var_value": "0",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_ShowGymToPlayer1"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 8,
"y": 12,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_PETALBURG_CITY_STATE",
"var_value": "0",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_ShowGymToPlayer2"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 8,
"y": 13,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_PETALBURG_CITY_STATE",
"var_value": "0",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_ShowGymToPlayer3"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 4,
"y": 10,
"elevation": 3,
2019-02-28 06:06:27 +01:00
"var": "VAR_SCOTT_PETALBURG_ENCOUNTER",
"var_value": "0",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_Scott0"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 4,
"y": 11,
"elevation": 3,
2019-02-28 06:06:27 +01:00
"var": "VAR_SCOTT_PETALBURG_ENCOUNTER",
"var_value": "0",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_Scott1"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 4,
"y": 12,
"elevation": 3,
2019-02-28 06:06:27 +01:00
"var": "VAR_SCOTT_PETALBURG_ENCOUNTER",
"var_value": "0",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_Scott2"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 4,
"y": 13,
"elevation": 3,
2019-02-28 06:06:27 +01:00
"var": "VAR_SCOTT_PETALBURG_ENCOUNTER",
"var_value": "0",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_Scott3"
2019-01-31 22:51:20 +01:00
}
],
"bg_events": [
{
"type": "sign",
"x": 17,
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_GymSign"
2019-01-31 22:51:20 +01:00
},
{
"type": "sign",
"x": 26,
"y": 12,
"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": 21,
"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": 17,
"y": 16,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_CitySign"
2019-01-31 22:51:20 +01:00
},
{
"type": "sign",
"x": 22,
"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": 27,
"y": 12,
"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": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
2019-10-19 19:11:51 +02:00
"script": "PetalburgCity_EventScript_WallyHouseSign"
2019-01-31 22:51:20 +01:00
},
{
"type": "hidden_item",
"x": 11,
"y": 29,
"elevation": 3,
"item": "ITEM_RARE_CANDY",
"flag": "FLAG_HIDDEN_ITEM_PETALBURG_CITY_RARE_CANDY"
}
]
2019-08-05 17:23:45 +02:00
}