diff options
| author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-05-14 16:20:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-14 16:20:13 -0400 |
| commit | 31e1a9e7596499e1fc90bc9b515dba888503f6f9 (patch) | |
| tree | 0d18f7532ed1c607567a78b5192332c887935369 /data/maps/TwoIsland_PokemonCenter_1F | |
| parent | 9b01d4fee588b0733cf4242173d43a9fc5889e57 (diff) | |
| parent | 2e9d8a61e0882d6606e72185e830a4abc623c21d (diff) | |
Merge pull request #48 from garakmon/mapdump
map data
Diffstat (limited to 'data/maps/TwoIsland_PokemonCenter_1F')
| -rw-r--r-- | data/maps/TwoIsland_PokemonCenter_1F/map.json | 74 | ||||
| -rw-r--r-- | data/maps/TwoIsland_PokemonCenter_1F/scripts.inc | 25 |
2 files changed, 99 insertions, 0 deletions
diff --git a/data/maps/TwoIsland_PokemonCenter_1F/map.json b/data/maps/TwoIsland_PokemonCenter_1F/map.json new file mode 100644 index 000000000..b1987bbd4 --- /dev/null +++ b/data/maps/TwoIsland_PokemonCenter_1F/map.json @@ -0,0 +1,74 @@ +{ + "id": "MAP_TWO_ISLAND_POKEMON_CENTER_1F", + "name": "TwoIsland_PokemonCenter_1F", + "layout": "LAYOUT_POKEMON_CENTER_1F", + "music": "BGM_FRLG_POKEMON_CENTER", + "region_map_section": "MAPSEC_TWO_ISLAND", + "requires_flash": false, + "weather": "WEATHER_0", + "map_type": "MAP_TYPE_8", + "unknown_18": 0, + "unknown_19": 0, + "elevator_flag": 0, + "battle_scene": "BATTLE_SCENE_0", + "connections": null, + "object_events": [ + { + "graphics_id": "64", + "x": 7, + "y": 2, + "elevation": 3, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "TwoIsland_PokemonCenter_1F_EventScript_1717C3", + "flag": "0" + }, + { + "graphics_id": "51", + "x": 11, + "y": 5, + "elevation": 3, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "TwoIsland_PokemonCenter_1F_EventScript_1717CC", + "flag": "0" + }, + { + "graphics_id": "20", + "x": 4, + "y": 4, + "elevation": 3, + "movement_type": "5", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "TwoIsland_PokemonCenter_1F_EventScript_1717D5", + "flag": "0" + } + ], + "warp_events": [ + { + "x": 7, + "y": 8, + "elevation": 3, + "dest_map": "MAP_TWO_ISLAND", + "dest_warp_id": 2 + }, + { + "x": 1, + "y": 6, + "elevation": 4, + "dest_map": "MAP_TWO_ISLAND_POKEMON_CENTER_2F", + "dest_warp_id": 0 + } + ], + "coord_events": [], + "bg_events": [] +}
\ No newline at end of file diff --git a/data/maps/TwoIsland_PokemonCenter_1F/scripts.inc b/data/maps/TwoIsland_PokemonCenter_1F/scripts.inc new file mode 100644 index 000000000..3f4196829 --- /dev/null +++ b/data/maps/TwoIsland_PokemonCenter_1F/scripts.inc @@ -0,0 +1,25 @@ +TwoIsland_PokemonCenter_1F_MapScripts:: @ 81717B4 + map_script 3, TwoIsland_PokemonCenter_1F_MapScript1_1717BF + map_script 5, TwoIsland_PokemonCenter_1F_MapScript2_1BC05C + .byte 0 + +TwoIsland_PokemonCenter_1F_MapScript1_1717BF:: @ 81717BF + setrespawn 15 + end + +TwoIsland_PokemonCenter_1F_EventScript_1717C3:: @ 81717C3 + lock + faceplayer + call EventScript_1A6578 + release + end + +TwoIsland_PokemonCenter_1F_EventScript_1717CC:: @ 81717CC + loadword 0, gUnknown_81A2E59 + callstd 2 + end + +TwoIsland_PokemonCenter_1F_EventScript_1717D5:: @ 81717D5 + loadword 0, gUnknown_81A2EBE + callstd 2 + end |
