tumbledemerald-legacy/data/maps/MauvilleCity/map.json
2022-05-19 17:14:13 +00:00

301 lines
7.5 KiB
JSON

{
"id": "MAP_MAUVILLE_CITY",
"name": "MauvilleCity",
"layout": "LAYOUT_MAUVILLE_CITY",
"music": "MUS_RUSTBORO",
"region_map_section": "MAPSEC_MAUVILLE_CITY",
"requires_flash": false,
"weather": "WEATHER_SUNNY",
"map_type": "MAP_TYPE_CITY",
"allow_cycling": true,
"allow_escaping": false,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [
{
"direction": "up",
"offset": 0,
"map": "MAP_ROUTE111"
},
{
"direction": "down",
"offset": 0,
"map": "MAP_ROUTE110"
},
{
"direction": "left",
"offset": 0,
"map": "MAP_ROUTE117"
},
{
"direction": "right",
"offset": 0,
"map": "MAP_ROUTE118"
}
],
"object_events": [
{
"graphics_id": "OBJ_EVENT_GFX_BOY_3",
"x": 29,
"y": 16,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_Boy",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_RICH_BOY",
"x": 24,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_RichBoy",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_MANIAC",
"x": 14,
"y": 11,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_Maniac",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_WOMAN_4",
"x": 18,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_Woman",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_SCHOOL_KID_M",
"x": 17,
"y": 14,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_SchoolKidM",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_WALLY",
"x": 8,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_Wally",
"flag": "FLAG_HIDE_MAUVILLE_CITY_WALLY"
},
{
"graphics_id": "OBJ_EVENT_GFX_POKEFAN_M",
"x": 9,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_WallysUncle",
"flag": "FLAG_HIDE_MAUVILLE_CITY_WALLYS_UNCLE"
},
{
"graphics_id": "OBJ_EVENT_GFX_WATTSON",
"x": 29,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_Wattson",
"flag": "FLAG_HIDE_MAUVILLE_CITY_WATTSON"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 28,
"y": 19,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_ItemXSpeed",
"flag": "FLAG_ITEM_MAUVILLE_CITY_X_SPEED"
},
{
"graphics_id": "OBJ_EVENT_GFX_FAT_MAN",
"x": 13,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_RolloutTutor",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_SCOTT",
"x": 12,
"y": 14,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_MAUVILLE_CITY_SCOTT"
}
],
"warp_events": [
{
"x": 8,
"y": 5,
"elevation": 0,
"dest_map": "MAP_MAUVILLE_CITY_GYM",
"dest_warp_id": 0
},
{
"x": 22,
"y": 5,
"elevation": 0,
"dest_map": "MAP_MAUVILLE_CITY_POKEMON_CENTER_1F",
"dest_warp_id": 0
},
{
"x": 35,
"y": 5,
"elevation": 0,
"dest_map": "MAP_MAUVILLE_CITY_BIKE_SHOP",
"dest_warp_id": 0
},
{
"x": 23,
"y": 14,
"elevation": 0,
"dest_map": "MAP_MAUVILLE_CITY_MART",
"dest_warp_id": 0
},
{
"x": 32,
"y": 14,
"elevation": 0,
"dest_map": "MAP_MAUVILLE_CITY_HOUSE1",
"dest_warp_id": 0
},
{
"x": 8,
"y": 13,
"elevation": 0,
"dest_map": "MAP_MAUVILLE_CITY_GAME_CORNER",
"dest_warp_id": 0
},
{
"x": 19,
"y": 14,
"elevation": 0,
"dest_map": "MAP_MAUVILLE_CITY_HOUSE2",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 23,
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "Common_EventScript_ShowPokemonCenterSign"
},
{
"type": "sign",
"x": 11,
"y": 6,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "MauvilleCity_EventScript_GymSign"
},
{
"type": "sign",
"x": 24,
"y": 14,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "Common_EventScript_ShowPokemartSign"
},
{
"type": "sign",
"x": 25,
"y": 14,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "Common_EventScript_ShowPokemartSign"
},
{
"type": "sign",
"x": 24,
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "Common_EventScript_ShowPokemonCenterSign"
},
{
"type": "sign",
"x": 19,
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "MauvilleCity_EventScript_CitySign"
},
{
"type": "sign",
"x": 33,
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "MauvilleCity_EventScript_BikeShopSign"
},
{
"type": "sign",
"x": 11,
"y": 15,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "MauvilleCity_EventScript_GameCornerSign"
}
]
}