pokeemerald/data/maps/LittlerootTown/map.json

269 lines
6.8 KiB
JSON
Raw Normal View History

2019-01-31 22:51:20 +01:00
{
"id": "MAP_LITTLEROOT_TOWN",
"name": "LittlerootTown",
"layout": "LAYOUT_LITTLEROOT_TOWN",
2020-08-21 00:02:00 +02:00
"music": "MUS_LITTLEROOT",
2019-01-31 22:51:20 +01:00
"region_map_section": "MAPSEC_LITTLEROOT_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": [
{
"direction": "up",
"offset": 0,
"map": "MAP_ROUTE101"
}
],
"object_events": [
{
"graphics_id": "OBJ_EVENT_GFX_TWIN",
2019-01-31 22:51:20 +01:00
"x": 16,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 2,
2020-03-27 15:24:10 +01:00
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_Twin",
2019-01-31 22:51:20 +01:00
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_FAT_MAN",
2019-01-31 22:51:20 +01:00
"x": 12,
"y": 13,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"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-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_FatMan",
2019-01-31 22:51:20 +01:00
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_FAT_MAN"
},
{
"graphics_id": "OBJ_EVENT_GFX_BOY_2",
2019-01-31 22:51:20 +01:00
"x": 14,
"y": 17,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"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-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_Boy",
2019-01-31 22:51:20 +01:00
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_MOM",
2019-01-31 22:51:20 +01:00
"x": 5,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"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-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_Mom",
2019-01-31 22:51:20 +01:00
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MOM_OUTSIDE"
},
{
"graphics_id": "OBJ_EVENT_GFX_TRUCK",
2019-01-31 22:51:20 +01:00
"x": 2,
"y": 10,
"elevation": 4,
"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-01-31 22:51:20 +01:00
"script": "0x0",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_TRUCK"
},
{
"graphics_id": "OBJ_EVENT_GFX_TRUCK",
2019-01-31 22:51:20 +01:00
"x": 11,
"y": 10,
"elevation": 4,
"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-01-31 22:51:20 +01:00
"script": "0x0",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_TRUCK"
},
{
"graphics_id": "OBJ_EVENT_GFX_VAR_0",
2019-01-31 22:51:20 +01:00
"x": 13,
"y": 10,
"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-01-31 22:51:20 +01:00
"script": "0x0",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_RIVAL"
},
{
"graphics_id": "OBJ_EVENT_GFX_PROF_BIRCH",
2019-01-31 22:51:20 +01:00
"x": 14,
"y": 10,
"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-01-31 22:51:20 +01:00
"script": "0x0",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_BIRCH"
}
],
"warp_events": [
{
"x": 14,
"y": 8,
"elevation": 0,
"dest_map": "MAP_LITTLEROOT_TOWN_MAYS_HOUSE_1F",
"dest_warp_id": 1
},
{
"x": 5,
"y": 8,
"elevation": 0,
"dest_map": "MAP_LITTLEROOT_TOWN_BRENDANS_HOUSE_1F",
"dest_warp_id": 1
},
{
"x": 7,
"y": 16,
"elevation": 0,
"dest_map": "MAP_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB",
"dest_warp_id": 0
}
],
"coord_events": [
{
"type": "trigger",
"x": 10,
"y": 1,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_LITTLEROOT_TOWN_STATE",
"var_value": "0",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_NeedPokemonTriggerLeft"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 11,
"y": 1,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_LITTLEROOT_TOWN_STATE",
"var_value": "0",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_NeedPokemonTriggerRight"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 11,
"y": 1,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_LITTLEROOT_TOWN_STATE",
"var_value": "1",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_GoSaveBirchTrigger"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 8,
"y": 9,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_LITTLEROOT_TOWN_STATE",
"var_value": "3",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_GiveRunningShoesTrigger4"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 9,
"y": 9,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_LITTLEROOT_TOWN_STATE",
"var_value": "3",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_GiveRunningShoesTrigger5"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 10,
"y": 9,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_LITTLEROOT_TOWN_STATE",
"var_value": "3",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_GiveRunningShoesTrigger2"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 11,
"y": 9,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_LITTLEROOT_TOWN_STATE",
"var_value": "3",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_GiveRunningShoesTrigger3"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 10,
"y": 2,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_LITTLEROOT_TOWN_STATE",
"var_value": "3",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_GiveRunningShoesTrigger0"
2019-01-31 22:51:20 +01:00
},
{
"type": "trigger",
"x": 11,
"y": 2,
"elevation": 3,
2019-08-05 17:23:45 +02:00
"var": "VAR_LITTLEROOT_TOWN_STATE",
"var_value": "3",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_GiveRunningShoesTrigger1"
2019-01-31 22:51:20 +01:00
}
],
"bg_events": [
{
"type": "sign",
"x": 15,
"y": 13,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_TownSign"
2019-01-31 22:51:20 +01:00
},
{
"type": "sign",
"x": 6,
"y": 17,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_BirchsLabSign"
2019-01-31 22:51:20 +01:00
},
{
"type": "sign",
"x": 7,
"y": 8,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_BrendansHouseSign"
2019-01-31 22:51:20 +01:00
},
{
"type": "sign",
"x": 12,
"y": 8,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
2019-11-08 08:03:45 +01:00
"script": "LittlerootTown_EventScript_MaysHouseSign"
2019-01-31 22:51:20 +01:00
}
]
2019-08-03 20:12:48 +02:00
}