pokeemerald/data/maps/Route104/map.json
Fontbane 4a09a5da33 Doc field move scripts completely, use fldeff constants for dofieldeffect
Fix labels

Fix labels again

Delete extra boulder scripts

Now it should build fine
2019-04-06 12:48:50 -05:00

627 lines
16 KiB
JSON

{
"id": "MAP_ROUTE104",
"name": "Route104",
"layout": "LAYOUT_ROUTE104",
"music": "MUS_NEXTROAD",
"region_map_section": "MAPSEC_ROUTE_104",
"requires_flash": false,
"weather": "WEATHER_SUNNY",
"map_type": "MAP_TYPE_ROUTE",
"allow_bike": true,
"allow_escape_rope": false,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [
{
"direction": "up",
"offset": 0,
"map": "MAP_RUSTBORO_CITY"
},
{
"direction": "down",
"offset": 0,
"map": "MAP_ROUTE105"
},
{
"direction": "right",
"offset": 50,
"map": "MAP_PETALBURG_CITY"
}
],
"object_events": [
{
"graphics_id": "EVENT_OBJ_GFX_BUG_CATCHER",
"x": 15,
"y": 60,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED00F",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_GIRL_2",
"x": 25,
"y": 49,
"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": "Route104_EventScript_1ED006",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_LASS",
"x": 31,
"y": 24,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
"script": "Route104_EventScript_1ED38D",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_BOY_1",
"x": 27,
"y": 63,
"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",
"script": "Route104_EventScript_1ED045",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_WOMAN_2",
"x": 30,
"y": 50,
"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": "Route104_EventScript_1ED04E",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_GIRL_3",
"x": 28,
"y": 74,
"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",
"script": "Route104_EventScript_1ED090",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_MR_BRINEYS_BOAT",
"x": 12,
"y": 54,
"elevation": 1,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_ROUTE_104_MR_BRINEY_BOAT"
},
{
"graphics_id": "EVENT_OBJ_GFX_EXPERT_M",
"x": 12,
"y": 51,
"elevation": 4,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_ROUTE_104_MR_BRINEY"
},
{
"graphics_id": "EVENT_OBJ_GFX_FISHERMAN",
"x": 29,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED35F",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_BERRY_TREE",
"x": 34,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "8",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_BERRY_TREE",
"x": 35,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "9",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_BERRY_TREE",
"x": 36,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "10",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_BERRY_TREE",
"x": 22,
"y": 41,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "11",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_BERRY_TREE",
"x": 23,
"y": 41,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "12",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_BERRY_TREE",
"x": 24,
"y": 41,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "13",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_EXPERT_F",
"x": 37,
"y": 8,
"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": "Route104_EventScript_1ECF8C",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_BERRY_TREE",
"x": 3,
"y": 22,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "3",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_BERRY_TREE",
"x": 3,
"y": 23,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "4",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_BERRY_TREE",
"x": 3,
"y": 24,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "75",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_BERRY_TREE",
"x": 3,
"y": 25,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "76",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
"x": 39,
"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",
"script": "Route104_EventScript_ItemPPUp",
"flag": "FLAG_ITEM_ROUTE_104_PP_UP"
},
{
"graphics_id": "EVENT_OBJ_GFX_WOMAN_5",
"x": 8,
"y": 19,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ECFCD",
"flag": "FLAG_HIDE_ROUTE_104_WHITE_HERB_FLORIST"
},
{
"graphics_id": "EVENT_OBJ_GFX_TWIN",
"x": 27,
"y": 15,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route104_EventScript_1ED597",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_TWIN",
"x": 28,
"y": 15,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route104_EventScript_1ED5B6",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_RICH_BOY",
"x": 21,
"y": 25,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route104_EventScript_1ED43B",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_WOMAN_2",
"x": 11,
"y": 44,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route104_EventScript_1ED4E9",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
"x": 29,
"y": 53,
"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": "Route104_EventScript_ItemPokeBall",
"flag": "FLAG_ITEM_ROUTE_104_POKE_BALL"
},
{
"graphics_id": "EVENT_OBJ_GFX_YOUNGSTER",
"x": 18,
"y": 67,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_RIGHT_UP_LEFT",
"movement_range_x": 5,
"movement_range_y": 6,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route104_EventScript_1ED376",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
"x": 37,
"y": 22,
"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": "Route104_EventScript_ItemXAccuracy",
"flag": "FLAG_ITEM_ROUTE_104_X_ACCURACY"
},
{
"graphics_id": "EVENT_OBJ_GFX_CUTTABLE_TREE",
"x": 35,
"y": 22,
"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": "EventScript_CutTree",
"flag": "FLAG_TEMP_11"
},
{
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
"x": 5,
"y": 8,
"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": "Route104_EventScript_ItemPotion",
"flag": "FLAG_ITEM_ROUTE_104_POTION"
},
{
"graphics_id": "EVENT_OBJ_GFX_BOY_2",
"x": 5,
"y": 26,
"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": "Route104_EventScript_1ED057",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_FISHERMAN",
"x": 15,
"y": 59,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED5D5",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_VAR_0",
"x": 17,
"y": 50,
"elevation": 0,
"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": "Route104_EventScript_1ECC9E",
"flag": "FLAG_HIDE_ROUTE_104_RIVAL"
}
],
"warp_events": [
{
"x": 17,
"y": 50,
"elevation": 0,
"dest_map": "MAP_ROUTE104_MR_BRINEYS_HOUSE",
"dest_warp_id": 0
},
{
"x": 5,
"y": 18,
"elevation": 0,
"dest_map": "MAP_ROUTE104_PRETTY_PETAL_FLOWER_SHOP",
"dest_warp_id": 0
},
{
"x": 10,
"y": 30,
"elevation": 3,
"dest_map": "MAP_PETALBURG_WOODS",
"dest_warp_id": 0
},
{
"x": 11,
"y": 30,
"elevation": 3,
"dest_map": "MAP_PETALBURG_WOODS",
"dest_warp_id": 1
},
{
"x": 10,
"y": 38,
"elevation": 3,
"dest_map": "MAP_PETALBURG_WOODS",
"dest_warp_id": 2
},
{
"x": 11,
"y": 38,
"elevation": 3,
"dest_map": "MAP_PETALBURG_WOODS",
"dest_warp_id": 3
},
{
"x": 32,
"y": 42,
"elevation": 3,
"dest_map": "MAP_PETALBURG_WOODS",
"dest_warp_id": 4
},
{
"x": 33,
"y": 42,
"elevation": 3,
"dest_map": "MAP_PETALBURG_WOODS",
"dest_warp_id": 5
}
],
"coord_events": [
{
"type": "trigger",
"x": 17,
"y": 51,
"elevation": 3,
"var": "VAR_0x4063",
"var_value": "1",
"script": "Route104_EventScript_1ECCB3"
}
],
"bg_events": [
{
"type": "sign",
"x": 20,
"y": 50,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED018"
},
{
"type": "sign",
"x": 27,
"y": 66,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED021"
},
{
"type": "sign",
"x": 23,
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED02A"
},
{
"type": "sign",
"x": 7,
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED033"
},
{
"type": "sign",
"x": 17,
"y": 23,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED03C"
},
{
"type": "hidden_item",
"x": 7,
"y": 6,
"elevation": 3,
"item": "ITEM_SUPER_POTION",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_104_SUPER_POTION"
},
{
"type": "hidden_item",
"x": 3,
"y": 9,
"elevation": 3,
"item": "ITEM_POKE_BALL",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_104_POKE_BALL"
},
{
"type": "hidden_item",
"x": 14,
"y": 55,
"elevation": 3,
"item": "ITEM_POTION",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_104_POTION"
},
{
"type": "hidden_item",
"x": 16,
"y": 72,
"elevation": 3,
"item": "ITEM_ANTIDOTE",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_104_ANTIDOTE"
},
{
"type": "hidden_item",
"x": 16,
"y": 64,
"elevation": 3,
"item": "ITEM_HEART_SCALE",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_104_HEART_SCALE"
}
]
}