2019-01-31 22:51:20 +01:00
|
|
|
{
|
|
|
|
"id": "MAP_PETALBURG_WOODS",
|
|
|
|
"name": "PetalburgWoods",
|
|
|
|
"layout": "LAYOUT_PETALBURG_WOODS",
|
|
|
|
"music": "MUS_DAN01",
|
|
|
|
"region_map_section": "MAPSEC_PETALBURG_WOODS",
|
|
|
|
"requires_flash": false,
|
|
|
|
"weather": "WEATHER_SHADE",
|
|
|
|
"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": null,
|
|
|
|
"object_events": [
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_CUTTABLE_TREE",
|
|
|
|
"x": 19,
|
|
|
|
"y": 10,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
|
|
|
"movement_range_x": 0,
|
|
|
|
"movement_range_y": 0,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "0",
|
|
|
|
"trainer_sight_or_berry_tree_id": "0",
|
2019-04-05 05:26:53 +02:00
|
|
|
"script": "EventScript_CutTree",
|
2019-01-31 22:51:20 +01:00
|
|
|
"flag": "FLAG_TEMP_11"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_CUTTABLE_TREE",
|
|
|
|
"x": 19,
|
|
|
|
"y": 11,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
|
|
|
"movement_range_x": 0,
|
|
|
|
"movement_range_y": 0,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "0",
|
|
|
|
"trainer_sight_or_berry_tree_id": "0",
|
2019-04-05 05:26:53 +02:00
|
|
|
"script": "EventScript_CutTree",
|
2019-01-31 22:51:20 +01:00
|
|
|
"flag": "FLAG_TEMP_12"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_AQUA_MEMBER_M",
|
|
|
|
"x": 26,
|
|
|
|
"y": 17,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
|
|
|
"movement_range_x": 0,
|
|
|
|
"movement_range_y": 0,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "0",
|
|
|
|
"trainer_sight_or_berry_tree_id": "0",
|
2019-01-31 22:51:20 +01:00
|
|
|
"script": "0x0",
|
|
|
|
"flag": "FLAG_HIDE_PETALBURG_WOODS_AQUA_GRUNT"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_MAN_2",
|
|
|
|
"x": 26,
|
|
|
|
"y": 20,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
|
|
|
"movement_range_x": 0,
|
|
|
|
"movement_range_y": 0,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "0",
|
|
|
|
"trainer_sight_or_berry_tree_id": "0",
|
2019-01-31 22:51:20 +01:00
|
|
|
"script": "0x0",
|
|
|
|
"flag": "FLAG_HIDE_PETALBURG_WOODS_DEVON_EMPLOYEE"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
|
|
|
|
"x": 45,
|
|
|
|
"y": 7,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
|
|
|
"movement_range_x": 0,
|
|
|
|
"movement_range_y": 0,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "0",
|
|
|
|
"trainer_sight_or_berry_tree_id": "0",
|
2019-04-03 20:13:11 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_ItemGreatBall",
|
2019-01-31 22:51:20 +01:00
|
|
|
"flag": "FLAG_ITEM_PETALBURG_WOODS_GREAT_BALL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
|
|
|
|
"x": 35,
|
|
|
|
"y": 20,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
|
|
|
"movement_range_x": 0,
|
|
|
|
"movement_range_y": 0,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "0",
|
|
|
|
"trainer_sight_or_berry_tree_id": "0",
|
2019-04-03 20:13:11 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_ItemXAttack",
|
2019-01-31 22:51:20 +01:00
|
|
|
"flag": "FLAG_ITEM_PETALBURG_WOODS_X_ATTACK"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
|
|
|
|
"x": 4,
|
|
|
|
"y": 8,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
|
|
|
"movement_range_x": 0,
|
|
|
|
"movement_range_y": 0,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "0",
|
|
|
|
"trainer_sight_or_berry_tree_id": "0",
|
2019-04-03 20:13:11 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_ItemEther",
|
2019-01-31 22:51:20 +01:00
|
|
|
"flag": "FLAG_ITEM_PETALBURG_WOODS_ETHER"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_BOY_2",
|
|
|
|
"x": 15,
|
|
|
|
"y": 19,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
|
|
|
|
"movement_range_x": 1,
|
|
|
|
"movement_range_y": 2,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "0",
|
|
|
|
"trainer_sight_or_berry_tree_id": "0",
|
2019-10-20 19:27:23 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_Boy1",
|
2019-01-31 22:51:20 +01:00
|
|
|
"flag": "0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_BUG_CATCHER",
|
|
|
|
"x": 7,
|
|
|
|
"y": 32,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_LEFT_AND_RIGHT",
|
|
|
|
"movement_range_x": 0,
|
|
|
|
"movement_range_y": 0,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "1",
|
|
|
|
"trainer_sight_or_berry_tree_id": "3",
|
2019-10-20 19:27:23 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_Lyle",
|
2019-01-31 22:51:20 +01:00
|
|
|
"flag": "0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_BUG_CATCHER",
|
|
|
|
"x": 4,
|
|
|
|
"y": 14,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_UP_AND_RIGHT",
|
|
|
|
"movement_range_x": 0,
|
|
|
|
"movement_range_y": 0,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "1",
|
|
|
|
"trainer_sight_or_berry_tree_id": "3",
|
2019-10-20 19:27:23 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_James",
|
2019-01-31 22:51:20 +01:00
|
|
|
"flag": "0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_BOY_3",
|
|
|
|
"x": 30,
|
|
|
|
"y": 34,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
|
|
|
|
"movement_range_x": 2,
|
|
|
|
"movement_range_y": 1,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "0",
|
|
|
|
"trainer_sight_or_berry_tree_id": "0",
|
2019-10-20 19:27:23 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_Boy2",
|
2019-01-31 22:51:20 +01:00
|
|
|
"flag": "0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
|
|
|
|
"x": 4,
|
|
|
|
"y": 26,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
|
|
|
"movement_range_x": 1,
|
|
|
|
"movement_range_y": 1,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "0",
|
|
|
|
"trainer_sight_or_berry_tree_id": "0",
|
2019-04-03 20:13:11 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_ItemParalyzeHeal",
|
2019-01-31 22:51:20 +01:00
|
|
|
"flag": "FLAG_ITEM_PETALBURD_WOODS_PARALYZE_HEAL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"graphics_id": "EVENT_OBJ_GFX_GIRL_2",
|
|
|
|
"x": 33,
|
|
|
|
"y": 5,
|
|
|
|
"elevation": 3,
|
|
|
|
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
|
|
|
"movement_range_x": 1,
|
|
|
|
"movement_range_y": 1,
|
2019-02-16 23:40:31 +01:00
|
|
|
"trainer_type": "0",
|
|
|
|
"trainer_sight_or_berry_tree_id": "0",
|
2019-10-20 19:27:23 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_Girl",
|
2019-01-31 22:51:20 +01:00
|
|
|
"flag": "0"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"warp_events": [
|
|
|
|
{
|
|
|
|
"x": 14,
|
|
|
|
"y": 5,
|
|
|
|
"elevation": 0,
|
|
|
|
"dest_map": "MAP_ROUTE104",
|
|
|
|
"dest_warp_id": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"x": 15,
|
|
|
|
"y": 5,
|
|
|
|
"elevation": 0,
|
|
|
|
"dest_map": "MAP_ROUTE104",
|
|
|
|
"dest_warp_id": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"x": 16,
|
|
|
|
"y": 38,
|
|
|
|
"elevation": 0,
|
|
|
|
"dest_map": "MAP_ROUTE104",
|
|
|
|
"dest_warp_id": 4
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"x": 17,
|
|
|
|
"y": 38,
|
|
|
|
"elevation": 0,
|
|
|
|
"dest_map": "MAP_ROUTE104",
|
|
|
|
"dest_warp_id": 5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"x": 36,
|
|
|
|
"y": 38,
|
|
|
|
"elevation": 0,
|
|
|
|
"dest_map": "MAP_ROUTE104",
|
|
|
|
"dest_warp_id": 6
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"x": 37,
|
|
|
|
"y": 38,
|
|
|
|
"elevation": 0,
|
|
|
|
"dest_map": "MAP_ROUTE104",
|
|
|
|
"dest_warp_id": 7
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"coord_events": [
|
|
|
|
{
|
|
|
|
"type": "trigger",
|
|
|
|
"x": 26,
|
|
|
|
"y": 23,
|
|
|
|
"elevation": 3,
|
2019-02-22 10:01:38 +01:00
|
|
|
"var": "VAR_PETALBURG_WOODS_STATE",
|
2019-02-16 22:44:48 +01:00
|
|
|
"var_value": "0",
|
2019-10-20 19:27:23 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_DevonResearcherLeft"
|
2019-01-31 22:51:20 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "trigger",
|
|
|
|
"x": 27,
|
|
|
|
"y": 23,
|
|
|
|
"elevation": 3,
|
2019-02-22 10:01:38 +01:00
|
|
|
"var": "VAR_PETALBURG_WOODS_STATE",
|
2019-02-16 22:44:48 +01:00
|
|
|
"var_value": "0",
|
2019-10-20 19:27:23 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_DevonResearcherRight"
|
2019-01-31 22:51:20 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"bg_events": [
|
|
|
|
{
|
|
|
|
"type": "sign",
|
|
|
|
"x": 14,
|
|
|
|
"y": 32,
|
|
|
|
"elevation": 3,
|
|
|
|
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
2019-10-20 19:27:23 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_Sign1"
|
2019-01-31 22:51:20 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "hidden_item",
|
|
|
|
"x": 39,
|
|
|
|
"y": 35,
|
|
|
|
"elevation": 3,
|
|
|
|
"item": "ITEM_POTION",
|
|
|
|
"flag": "FLAG_HIDDEN_ITEM_PETALBURG_WOODS_POTION"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "hidden_item",
|
|
|
|
"x": 26,
|
|
|
|
"y": 6,
|
|
|
|
"elevation": 3,
|
|
|
|
"item": "ITEM_TINY_MUSHROOM",
|
|
|
|
"flag": "FLAG_HIDDEN_ITEM_PETALBURG_WOODS_TINY_MUSHROOM_1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "hidden_item",
|
|
|
|
"x": 40,
|
|
|
|
"y": 29,
|
|
|
|
"elevation": 3,
|
|
|
|
"item": "ITEM_TINY_MUSHROOM",
|
|
|
|
"flag": "FLAG_HIDDEN_ITEM_PETALBURG_WOODS_TINY_MUSHROOM_2"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "hidden_item",
|
|
|
|
"x": 4,
|
|
|
|
"y": 19,
|
|
|
|
"elevation": 3,
|
|
|
|
"item": "ITEM_POKE_BALL",
|
|
|
|
"flag": "FLAG_HIDDEN_ITEM_PETALBURG_WOODS_POKE_BALL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "sign",
|
|
|
|
"x": 11,
|
|
|
|
"y": 8,
|
|
|
|
"elevation": 3,
|
|
|
|
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
2019-10-20 19:27:23 +02:00
|
|
|
"script": "PetalburgWoods_EventScript_Sign2"
|
2019-01-31 22:51:20 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|