summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-05-14 16:20:13 -0400
committerGitHub <noreply@github.com>2019-05-14 16:20:13 -0400
commit31e1a9e7596499e1fc90bc9b515dba888503f6f9 (patch)
tree0d18f7532ed1c607567a78b5192332c887935369
parent9b01d4fee588b0733cf4242173d43a9fc5889e57 (diff)
parent2e9d8a61e0882d6606e72185e830a4abc623c21d (diff)
Merge pull request #48 from garakmon/mapdump
map data
-rw-r--r--.gitignore1
-rw-r--r--Makefile22
-rw-r--r--asm/macros/event.inc21
-rw-r--r--asm/macros/map.inc18
-rw-r--r--asm/macros/movement.inc2
-rw-r--r--asm/overworld.s4
-rw-r--r--asm/script_menu.s4
-rw-r--r--asm/teachy_tv.s4
-rwxr-xr-xbuild_tools.sh1
-rw-r--r--constants/constants.inc2
-rw-r--r--data/battle_anim.s2
-rw-r--r--data/battle_anim_status_effects.s3
-rw-r--r--data/connections.s502
-rw-r--r--data/data.s1051
-rw-r--r--data/event_scripts.s2040
-rw-r--r--data/graphics.s94
-rw-r--r--data/layouts/.gitignore2
-rw-r--r--data/layouts/BirthIsland_Exterior/border.bin1
-rw-r--r--data/layouts/BirthIsland_Exterior/map.bin1
-rw-r--r--data/layouts/CeladonCity/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity/map.binbin0 -> 4800 bytes
-rw-r--r--data/layouts/CeladonCity_Condominiums_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_Condominiums_1F/map.bin1
-rw-r--r--data/layouts/CeladonCity_Condominiums_2F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_Condominiums_2F/map.binbin0 -> 600 bytes
-rw-r--r--data/layouts/CeladonCity_Condominiums_3F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_Condominiums_3F/map.bin1
-rw-r--r--data/layouts/CeladonCity_Condominiums_Roof/border.bin1
-rw-r--r--data/layouts/CeladonCity_Condominiums_Roof/map.bin1
-rw-r--r--data/layouts/CeladonCity_Condominiums_RoofRoom/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_Condominiums_RoofRoom/map.bin1
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_1F/map.bin1
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_2F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_2F/map.binbin0 -> 390 bytes
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_3F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_3F/map.bin1
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_4F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_4F/map.binbin0 -> 390 bytes
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_5F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_5F/map.bin1
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_Elevator/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_Elevator/map.bin1
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_Roof/border.bin1
-rw-r--r--data/layouts/CeladonCity_DepartmentStore_Roof/map.bin1
-rw-r--r--data/layouts/CeladonCity_GameCorner/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_GameCorner/map.bin1
-rw-r--r--data/layouts/CeladonCity_GameCorner_PrizeRoom/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_GameCorner_PrizeRoom/map.bin1
-rw-r--r--data/layouts/CeladonCity_Gym/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_Gym/map.bin1
-rw-r--r--data/layouts/CeladonCity_Hotel/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_Hotel/map.bin1
-rw-r--r--data/layouts/CeladonCity_Restaurant/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeladonCity_Restaurant/map.bin1
-rw-r--r--data/layouts/CeruleanCave_1F/border.bin1
-rw-r--r--data/layouts/CeruleanCave_1F/map.binbin0 -> 1840 bytes
-rw-r--r--data/layouts/CeruleanCave_2F/border.bin1
-rw-r--r--data/layouts/CeruleanCave_2F/map.bin1
-rw-r--r--data/layouts/CeruleanCave_B1F/border.bin1
-rw-r--r--data/layouts/CeruleanCave_B1F/map.binbin0 -> 1840 bytes
-rw-r--r--data/layouts/CeruleanCity/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeruleanCity/map.bin5
-rw-r--r--data/layouts/CeruleanCity_BikeShop/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeruleanCity_BikeShop/map.bin1
-rw-r--r--data/layouts/CeruleanCity_Gym/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeruleanCity_Gym/map.bin1
-rw-r--r--data/layouts/CeruleanCity_House1/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeruleanCity_House1/map.bin1
-rw-r--r--data/layouts/CeruleanCity_House2/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeruleanCity_House2/map.bin1
-rw-r--r--data/layouts/CeruleanCity_House5/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CeruleanCity_House5/map.bin1
-rw-r--r--data/layouts/CinnabarIsland/border.bin1
-rw-r--r--data/layouts/CinnabarIsland/map.bin1
-rw-r--r--data/layouts/CinnabarIsland_Gym/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CinnabarIsland_Gym/map.bin1
-rw-r--r--data/layouts/CinnabarIsland_PokemonLab_Entrance/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CinnabarIsland_PokemonLab_Entrance/map.bin1
-rw-r--r--data/layouts/CinnabarIsland_PokemonLab_ExperimentRoom/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CinnabarIsland_PokemonLab_ExperimentRoom/map.binbin0 -> 330 bytes
-rw-r--r--data/layouts/CinnabarIsland_PokemonLab_Lounge/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CinnabarIsland_PokemonLab_Lounge/map.bin3
-rw-r--r--data/layouts/CinnabarIsland_PokemonLab_ResearchRoom/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/CinnabarIsland_PokemonLab_ResearchRoom/map.binbin0 -> 330 bytes
-rw-r--r--data/layouts/DiglettsCave_B1F/border.bin1
-rw-r--r--data/layouts/DiglettsCave_B1F/map.bin1
-rw-r--r--data/layouts/DiglettsCave_NorthEntrance/border.bin1
-rw-r--r--data/layouts/DiglettsCave_NorthEntrance/map.bin1
-rw-r--r--data/layouts/DiglettsCave_SouthEntrance/border.bin1
-rw-r--r--data/layouts/DiglettsCave_SouthEntrance/map.binbin0 -> 160 bytes
-rw-r--r--data/layouts/Entrance_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Entrance_1F/map.bin1
-rw-r--r--data/layouts/Entrance_2F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Entrance_2F/map.bin1
-rw-r--r--data/layouts/FiveIsland/border.bin1
-rw-r--r--data/layouts/FiveIsland/map.binbin0 -> 960 bytes
-rw-r--r--data/layouts/FiveIsland_LostCave_Entrance/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Entrance/map.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room1/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room1/map.bin2
-rw-r--r--data/layouts/FiveIsland_LostCave_Room10/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room10/map.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room11/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room11/map.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room12/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room12/map.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room13/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room13/map.bin2
-rw-r--r--data/layouts/FiveIsland_LostCave_Room14/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room14/map.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room2/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room2/map.bin2
-rw-r--r--data/layouts/FiveIsland_LostCave_Room3/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room3/map.bin2
-rw-r--r--data/layouts/FiveIsland_LostCave_Room4/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room4/map.bin2
-rw-r--r--data/layouts/FiveIsland_LostCave_Room5/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room5/map.bin2
-rw-r--r--data/layouts/FiveIsland_LostCave_Room6/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room6/map.bin2
-rw-r--r--data/layouts/FiveIsland_LostCave_Room7/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room7/map.bin2
-rw-r--r--data/layouts/FiveIsland_LostCave_Room8/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room8/map.bin2
-rw-r--r--data/layouts/FiveIsland_LostCave_Room9/border.bin1
-rw-r--r--data/layouts/FiveIsland_LostCave_Room9/map.bin2
-rw-r--r--data/layouts/FiveIsland_Meadow/border.bin1
-rw-r--r--data/layouts/FiveIsland_Meadow/map.bin5
-rw-r--r--data/layouts/FiveIsland_MemorialPillar/border.bin1
-rw-r--r--data/layouts/FiveIsland_MemorialPillar/map.binbin0 -> 2880 bytes
-rw-r--r--data/layouts/FiveIsland_ResortGorgeous/border.bin1
-rw-r--r--data/layouts/FiveIsland_ResortGorgeous/map.bin1
-rw-r--r--data/layouts/FiveIsland_ResortGorgeous_House/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/FiveIsland_ResortGorgeous_House/map.binbin0 -> 198 bytes
-rw-r--r--data/layouts/FiveIsland_RocketWarehouse/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/FiveIsland_RocketWarehouse/map.bin1
-rw-r--r--data/layouts/FiveIsland_WaterLabyrinth/border.bin1
-rw-r--r--data/layouts/FiveIsland_WaterLabyrinth/map.bin1
-rw-r--r--data/layouts/FourIsland/border.bin1
-rw-r--r--data/layouts/FourIsland/map.bin1
-rw-r--r--data/layouts/FourIsland_IcefallCave_1F/border.bin1
-rw-r--r--data/layouts/FourIsland_IcefallCave_1F/map.binbin0 -> 800 bytes
-rw-r--r--data/layouts/FourIsland_IcefallCave_B1F/border.bin1
-rw-r--r--data/layouts/FourIsland_IcefallCave_B1F/map.bin1
-rw-r--r--data/layouts/FourIsland_IcefallCave_Back/border.bin1
-rw-r--r--data/layouts/FourIsland_IcefallCave_Back/map.bin1
-rw-r--r--data/layouts/FourIsland_IcefallCave_Entrance/border.bin1
-rw-r--r--data/layouts/FourIsland_IcefallCave_Entrance/map.bin1
-rw-r--r--data/layouts/FourIsland_LoreleisHouse/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/FourIsland_LoreleisHouse/map.bin1
-rw-r--r--data/layouts/FourIsland_PokemonDayCare/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/FourIsland_PokemonDayCare/map.bin1
-rw-r--r--data/layouts/FuchsiaCity/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/FuchsiaCity/map.bin1
-rw-r--r--data/layouts/FuchsiaCity_Building1/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/FuchsiaCity_Building1/map.bin1
-rw-r--r--data/layouts/FuchsiaCity_Gym/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/FuchsiaCity_Gym/map.bin1
-rw-r--r--data/layouts/FuchsiaCity_House2/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/FuchsiaCity_House2/map.bin1
-rw-r--r--data/layouts/FuchsiaCity_SafariZone_Entrance/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/FuchsiaCity_SafariZone_Entrance/map.bin1
-rw-r--r--data/layouts/FuchsiaCity_ZooBuilding/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/FuchsiaCity_ZooBuilding/map.bin1
-rw-r--r--data/layouts/House1/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/House1/map.bin1
-rw-r--r--data/layouts/House2/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/House2/map.bin1
-rw-r--r--data/layouts/House3/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/House3/map.bin1
-rw-r--r--data/layouts/House4/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/House4/map.bin1
-rw-r--r--data/layouts/House5/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/House5/map.bin1
-rw-r--r--data/layouts/IndigoPlateau_Exterior/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/IndigoPlateau_Exterior/map.binbin0 -> 960 bytes
-rw-r--r--data/layouts/IndigoPlateau_PokemonCenter_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/IndigoPlateau_PokemonCenter_1F/map.binbin0 -> 900 bytes
-rw-r--r--data/layouts/Island_Harbor/border.bin1
-rw-r--r--data/layouts/Island_Harbor/map.bin1
-rw-r--r--data/layouts/LavenderTown/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/LavenderTown/map.bin1
-rw-r--r--data/layouts/LavenderTown_VolunteerPokemonHouse/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/LavenderTown_VolunteerPokemonHouse/map.bin1
-rw-r--r--data/layouts/Mart/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Mart/map.bin1
-rw-r--r--data/layouts/MtEmber_Exterior/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/MtEmber_Exterior/map.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_1F/border.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_1F/map.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B1F/border.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B1F/map.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B1F_Stairs/border.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B1F_Stairs/map.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B2F/border.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B2F/map.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B2F_Stairs/border.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B2F_Stairs/map.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B3F/border.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B3F/map.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B4F/border.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B4F/map.binbin0 -> 576 bytes
-rw-r--r--data/layouts/MtEmber_RubyPath_B5F/border.bin1
-rw-r--r--data/layouts/MtEmber_RubyPath_B5F/map.binbin0 -> 480 bytes
-rw-r--r--data/layouts/MtEmber_Summit/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/MtEmber_Summit/map.bin1
-rw-r--r--data/layouts/MtEmber_SummitPath_1F/border.bin1
-rw-r--r--data/layouts/MtEmber_SummitPath_1F/map.bin1
-rw-r--r--data/layouts/MtEmber_SummitPath_2F/border.bin1
-rw-r--r--data/layouts/MtEmber_SummitPath_2F/map.bin1
-rw-r--r--data/layouts/MtEmber_SummitPath_3F/border.bin1
-rw-r--r--data/layouts/MtEmber_SummitPath_3F/map.bin1
-rw-r--r--data/layouts/MtMoon_1F/border.bin1
-rw-r--r--data/layouts/MtMoon_1F/map.binbin0 -> 3840 bytes
-rw-r--r--data/layouts/MtMoon_B1F/border.bin1
-rw-r--r--data/layouts/MtMoon_B1F/map.binbin0 -> 3920 bytes
-rw-r--r--data/layouts/MtMoon_B2F/border.bin1
-rw-r--r--data/layouts/MtMoon_B2F/map.bin1
-rw-r--r--data/layouts/NavelRock_1F/border.bin1
-rw-r--r--data/layouts/NavelRock_1F/map.bin1
-rw-r--r--data/layouts/NavelRock_B1F/border.bin1
-rw-r--r--data/layouts/NavelRock_B1F/map.bin1
-rw-r--r--data/layouts/NavelRock_Base/border.bin1
-rw-r--r--data/layouts/NavelRock_Base/map.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B10F/border.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B10F/map.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B11F/border.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B11F/map.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B1F/border.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B1F/map.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B2F/border.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B2F/map.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B3F/border.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B3F/map.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B4F/border.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B4F/map.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B5F/border.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B5F/map.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B6F/border.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B6F/map.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B7F/border.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B7F/map.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B8F/border.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B8F/map.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B9F/border.bin1
-rw-r--r--data/layouts/NavelRock_BasePath_B9F/map.bin1
-rw-r--r--data/layouts/NavelRock_Exterior/border.bin1
-rw-r--r--data/layouts/NavelRock_Exterior/map.binbin0 -> 920 bytes
-rw-r--r--data/layouts/NavelRock_Fork/border.bin1
-rw-r--r--data/layouts/NavelRock_Fork/map.bin1
-rw-r--r--data/layouts/NavelRock_Summit/border.bin1
-rw-r--r--data/layouts/NavelRock_Summit/map.bin2
-rw-r--r--data/layouts/NavelRock_SummitPath_2F/border.bin1
-rw-r--r--data/layouts/NavelRock_SummitPath_2F/map.bin1
-rw-r--r--data/layouts/NavelRock_SummitPath_3F/border.bin1
-rw-r--r--data/layouts/NavelRock_SummitPath_3F/map.bin1
-rw-r--r--data/layouts/NavelRock_SummitPath_4F/border.bin1
-rw-r--r--data/layouts/NavelRock_SummitPath_4F/map.bin1
-rw-r--r--data/layouts/NavelRock_SummitPath_5F/border.bin1
-rw-r--r--data/layouts/NavelRock_SummitPath_5F/map.bin1
-rw-r--r--data/layouts/OneIsland/border.bin1
-rw-r--r--data/layouts/OneIsland/map.bin1
-rw-r--r--data/layouts/OneIsland_KindleRoad/border.bin1
-rw-r--r--data/layouts/OneIsland_KindleRoad/map.binbin0 -> 6720 bytes
-rw-r--r--data/layouts/OneIsland_KindleRoad_EmberSpa/border.bin1
-rw-r--r--data/layouts/OneIsland_KindleRoad_EmberSpa/map.bin1
-rw-r--r--data/layouts/OneIsland_PokemonCenter_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/OneIsland_PokemonCenter_1F/map.bin1
-rw-r--r--data/layouts/OneIsland_PokemonCenter_2F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/OneIsland_PokemonCenter_2F/map.binbin0 -> 300 bytes
-rw-r--r--data/layouts/OneIsland_TreasureBeach/border.bin1
-rw-r--r--data/layouts/OneIsland_TreasureBeach/map.binbin0 -> 1920 bytes
-rw-r--r--data/layouts/PalletTown/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PalletTown/map.bin1
-rw-r--r--data/layouts/PalletTown_GarysHouse/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PalletTown_GarysHouse/map.bin1
-rw-r--r--data/layouts/PalletTown_PlayersHouse_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PalletTown_PlayersHouse_1F/map.bin1
-rw-r--r--data/layouts/PalletTown_PlayersHouse_2F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PalletTown_PlayersHouse_2F/map.binbin0 -> 216 bytes
-rw-r--r--data/layouts/PalletTown_ProfessorOaksLab/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PalletTown_ProfessorOaksLab/map.bin1
-rw-r--r--data/layouts/PewterCity/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PewterCity/map.bin1
-rw-r--r--data/layouts/PewterCity_Gym/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PewterCity_Gym/map.bin1
-rw-r--r--data/layouts/PewterCity_Museum_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PewterCity_Museum_1F/map.bin1
-rw-r--r--data/layouts/PewterCity_Museum_2F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PewterCity_Museum_2F/map.bin1
-rw-r--r--data/layouts/PokemonCenter_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PokemonCenter_1F/map.bin1
-rw-r--r--data/layouts/PokemonCenter_2F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PokemonCenter_2F/map.binbin0 -> 300 bytes
-rw-r--r--data/layouts/PokemonLeague_AgathasRoom/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PokemonLeague_AgathasRoom/map.binbin0 -> 338 bytes
-rw-r--r--data/layouts/PokemonLeague_BrunosRoom/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PokemonLeague_BrunosRoom/map.bin1
-rw-r--r--data/layouts/PokemonLeague_ChampionsRoom/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PokemonLeague_ChampionsRoom/map.bin1
-rw-r--r--data/layouts/PokemonLeague_HallOfFame/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PokemonLeague_HallOfFame/map.bin1
-rw-r--r--data/layouts/PokemonLeague_LancesRoom/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PokemonLeague_LancesRoom/map.bin1
-rw-r--r--data/layouts/PokemonLeague_LoreleisRoom/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PokemonLeague_LoreleisRoom/map.bin1
-rw-r--r--data/layouts/PokemonMansion_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PokemonMansion_1F/map.binbin0 -> 2660 bytes
-rw-r--r--data/layouts/PokemonMansion_2F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PokemonMansion_2F/map.binbin0 -> 2888 bytes
-rw-r--r--data/layouts/PokemonMansion_3F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PokemonMansion_3F/map.binbin0 -> 2660 bytes
-rw-r--r--data/layouts/PokemonMansion_B1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PokemonMansion_B1F/map.bin1
-rw-r--r--data/layouts/PokemonTower_1F/border.bin1
-rw-r--r--data/layouts/PokemonTower_1F/map.bin1
-rw-r--r--data/layouts/PokemonTower_2F/border.bin1
-rw-r--r--data/layouts/PokemonTower_2F/map.bin1
-rw-r--r--data/layouts/PokemonTower_3F/border.bin1
-rw-r--r--data/layouts/PokemonTower_3F/map.bin1
-rw-r--r--data/layouts/PokemonTower_4F/border.bin1
-rw-r--r--data/layouts/PokemonTower_4F/map.bin1
-rw-r--r--data/layouts/PokemonTower_5F/border.bin1
-rw-r--r--data/layouts/PokemonTower_5F/map.bin1
-rw-r--r--data/layouts/PokemonTower_6F/border.bin1
-rw-r--r--data/layouts/PokemonTower_6F/map.bin1
-rw-r--r--data/layouts/PokemonTower_7F/border.bin1
-rw-r--r--data/layouts/PokemonTower_7F/map.bin1
-rw-r--r--data/layouts/PowerPlant/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/PowerPlant/map.binbin0 -> 3920 bytes
-rw-r--r--data/layouts/RockTunnel_1F/border.bin1
-rw-r--r--data/layouts/RockTunnel_1F/map.binbin0 -> 3840 bytes
-rw-r--r--data/layouts/RockTunnel_B1F/border.bin1
-rw-r--r--data/layouts/RockTunnel_B1F/map.binbin0 -> 3840 bytes
-rw-r--r--data/layouts/RocketHideout_B1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/RocketHideout_B1F/map.binbin0 -> 1904 bytes
-rw-r--r--data/layouts/RocketHideout_B2F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/RocketHideout_B2F/map.bin1
-rw-r--r--data/layouts/RocketHideout_B3F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/RocketHideout_B3F/map.bin1
-rw-r--r--data/layouts/RocketHideout_B4F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/RocketHideout_B4F/map.binbin0 -> 1248 bytes
-rw-r--r--data/layouts/RocketHideout_Elevator/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/RocketHideout_Elevator/map.bin1
-rw-r--r--data/layouts/Route1/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route1/map.bin1
-rw-r--r--data/layouts/Route10/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route10/map.bin1
-rw-r--r--data/layouts/Route11/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route11/map.bin7
-rw-r--r--data/layouts/Route12/border.bin1
-rw-r--r--data/layouts/Route12/map.binbin0 -> 5760 bytes
-rw-r--r--data/layouts/Route12_NorthEntrance_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route12_NorthEntrance_1F/map.bin1
-rw-r--r--data/layouts/Route13/border.bin1
-rw-r--r--data/layouts/Route13/map.binbin0 -> 2880 bytes
-rw-r--r--data/layouts/Route14/border.bin1
-rw-r--r--data/layouts/Route14/map.bin1
-rw-r--r--data/layouts/Route15/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route15/map.bin1
-rw-r--r--data/layouts/Route16/border.bin1
-rw-r--r--data/layouts/Route16/map.bin1
-rw-r--r--data/layouts/Route16_NorthEntrance_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route16_NorthEntrance_1F/map.bin1
-rw-r--r--data/layouts/Route17/border.bin1
-rw-r--r--data/layouts/Route17/map.bin1
-rw-r--r--data/layouts/Route18/border.bin1
-rw-r--r--data/layouts/Route18/map.bin1
-rw-r--r--data/layouts/Route19/border.bin1
-rw-r--r--data/layouts/Route19/map.bin1
-rw-r--r--data/layouts/Route2/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route2/map.bin1
-rw-r--r--data/layouts/Route20/border.bin1
-rw-r--r--data/layouts/Route20/map.bin1
-rw-r--r--data/layouts/Route21_North/border.bin1
-rw-r--r--data/layouts/Route21_North/map.bin1
-rw-r--r--data/layouts/Route21_South/border.bin1
-rw-r--r--data/layouts/Route21_South/map.bin1
-rw-r--r--data/layouts/Route22/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route22/map.bin1
-rw-r--r--data/layouts/Route22_NorthEntrance/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route22_NorthEntrance/map.bin1
-rw-r--r--data/layouts/Route23/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route23/map.bin1
-rw-r--r--data/layouts/Route24/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route24/map.bin1
-rw-r--r--data/layouts/Route25/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route25/map.bin1
-rw-r--r--data/layouts/Route25_SeaCottage/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route25_SeaCottage/map.bin1
-rw-r--r--data/layouts/Route2_Entrance/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route2_Entrance/map.bin1
-rw-r--r--data/layouts/Route3/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route3/map.bin1
-rw-r--r--data/layouts/Route4/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route4/map.bin1
-rw-r--r--data/layouts/Route5/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route5/map.binbin0 -> 3840 bytes
-rw-r--r--data/layouts/Route5_PokemonDayCare/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route5_PokemonDayCare/map.bin1
-rw-r--r--data/layouts/Route6/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route6/map.bin1
-rw-r--r--data/layouts/Route7/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route7/map.bin1
-rw-r--r--data/layouts/Route8/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route8/map.bin1
-rw-r--r--data/layouts/Route9/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/Route9/map.bin1
-rw-r--r--data/layouts/SSAnne_1F_Corridor/border.bin1
-rw-r--r--data/layouts/SSAnne_1F_Corridor/map.bin1
-rw-r--r--data/layouts/SSAnne_2F_Corridor/border.bin1
-rw-r--r--data/layouts/SSAnne_2F_Corridor/map.bin1
-rw-r--r--data/layouts/SSAnne_3F_Corridor/border.bin1
-rw-r--r--data/layouts/SSAnne_3F_Corridor/map.bin1
-rw-r--r--data/layouts/SSAnne_B1F_Corridor/border.bin1
-rw-r--r--data/layouts/SSAnne_B1F_Corridor/map.bin1
-rw-r--r--data/layouts/SSAnne_CaptainsOffice/border.bin1
-rw-r--r--data/layouts/SSAnne_CaptainsOffice/map.bin1
-rw-r--r--data/layouts/SSAnne_Deck/border.bin1
-rw-r--r--data/layouts/SSAnne_Deck/map.bin1
-rw-r--r--data/layouts/SSAnne_Exterior/border.bin1
-rw-r--r--data/layouts/SSAnne_Exterior/map.bin1
-rw-r--r--data/layouts/SSAnne_Kitchen/border.bin1
-rw-r--r--data/layouts/SSAnne_Kitchen/map.bin1
-rw-r--r--data/layouts/SSAnne_Room1/border.bin1
-rw-r--r--data/layouts/SSAnne_Room1/map.bin1
-rw-r--r--data/layouts/SSAnne_Room2/border.bin1
-rw-r--r--data/layouts/SSAnne_Room2/map.bin2
-rw-r--r--data/layouts/SafariZone_Building/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SafariZone_Building/map.bin1
-rw-r--r--data/layouts/SafariZone_Center/border.bin1
-rw-r--r--data/layouts/SafariZone_Center/map.bin6
-rw-r--r--data/layouts/SafariZone_East/border.bin1
-rw-r--r--data/layouts/SafariZone_East/map.binbin0 -> 3780 bytes
-rw-r--r--data/layouts/SafariZone_North/border.bin1
-rw-r--r--data/layouts/SafariZone_North/map.binbin0 -> 4560 bytes
-rw-r--r--data/layouts/SafariZone_SecretHouse/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SafariZone_SecretHouse/map.bin1
-rw-r--r--data/layouts/SafariZone_West/border.bin1
-rw-r--r--data/layouts/SafariZone_West/map.binbin0 -> 3456 bytes
-rw-r--r--data/layouts/SaffronCity/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SaffronCity/map.binbin0 -> 3840 bytes
-rw-r--r--data/layouts/SaffronCity_Dojo/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SaffronCity_Dojo/map.bin1
-rw-r--r--data/layouts/SaffronCity_Duplicate/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SaffronCity_Duplicate/map.binbin0 -> 7260 bytes
-rw-r--r--data/layouts/SaffronCity_EastWestEntrance/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SaffronCity_EastWestEntrance/map.bin1
-rw-r--r--data/layouts/SaffronCity_Gym/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SaffronCity_Gym/map.bin1
-rw-r--r--data/layouts/SaffronCity_House1_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SaffronCity_House1_1F/map.bin1
-rw-r--r--data/layouts/SaffronCity_House1_2F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SaffronCity_House1_2F/map.binbin0 -> 216 bytes
-rw-r--r--data/layouts/SaffronCity_NorthSouthEntrance/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SaffronCity_NorthSouthEntrance/map.bin1
-rw-r--r--data/layouts/SaffronCity_PokemonTrainerFanClub/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SaffronCity_PokemonTrainerFanClub/map.bin2
-rw-r--r--data/layouts/SeafoamIslands_1F/border.bin1
-rw-r--r--data/layouts/SeafoamIslands_1F/map.binbin0 -> 1824 bytes
-rw-r--r--data/layouts/SeafoamIslands_B1F/border.bin1
-rw-r--r--data/layouts/SeafoamIslands_B1F/map.bin1
-rw-r--r--data/layouts/SeafoamIslands_B2F/border.bin1
-rw-r--r--data/layouts/SeafoamIslands_B2F/map.binbin0 -> 1824 bytes
-rw-r--r--data/layouts/SeafoamIslands_B3F/border.bin1
-rw-r--r--data/layouts/SeafoamIslands_B3F/map.bin3
-rw-r--r--data/layouts/SeafoamIslands_B4F/border.bin1
-rw-r--r--data/layouts/SeafoamIslands_B4F/map.bin3
-rw-r--r--data/layouts/SevenIsland/border.bin1
-rw-r--r--data/layouts/SevenIsland/map.bin1
-rw-r--r--data/layouts/SevenIsland_House_Room1/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_House_Room1/map.bin1
-rw-r--r--data/layouts/SevenIsland_House_Room2/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_House_Room2/map.bin1
-rw-r--r--data/layouts/SevenIsland_SeavaultCanyon_TanobyKey/border.bin1
-rw-r--r--data/layouts/SevenIsland_SeavaultCanyon_TanobyKey/map.binbin0 -> 480 bytes
-rw-r--r--data/layouts/SevenIsland_SevaultCanyon/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_SevaultCanyon/map.binbin0 -> 3840 bytes
-rw-r--r--data/layouts/SevenIsland_SevaultCanyon_Entrance/border.bin1
-rw-r--r--data/layouts/SevenIsland_SevaultCanyon_Entrance/map.binbin0 -> 1920 bytes
-rw-r--r--data/layouts/SevenIsland_TanobyRuins/border.bin1
-rw-r--r--data/layouts/SevenIsland_TanobyRuins/map.bin1
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_DilfordChamber/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_DilfordChamber/map.bin1
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_LiptooChamber/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_LiptooChamber/map.bin1
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_MoneanChamber/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_MoneanChamber/map.bin1
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_RixyChamber/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_RixyChamber/map.bin1
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_ScufibChamber/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_ScufibChamber/map.bin1
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_ViapoisChamber/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_ViapoisChamber/map.bin1
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_WeepthChamber/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TanobyRuins_WeepthChamber/map.bin1
-rw-r--r--data/layouts/SevenIsland_TrainerTower/border.bin1
-rw-r--r--data/layouts/SevenIsland_TrainerTower/map.bin1
-rw-r--r--data/layouts/SevenIsland_TrainerTower_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_1F/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_2F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_2F/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_3F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_3F/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_4F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_4F/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_5F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_5F/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_6F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_6F/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_7F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_7F/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_8F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_8F/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_Elevator/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_Elevator/map.bin1
-rw-r--r--data/layouts/SevenIsland_TrainerTower_Lobby/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SevenIsland_TrainerTower_Lobby/map.bin1
-rw-r--r--data/layouts/SevenIsland_TrainerTower_Roof/border.bin1
-rw-r--r--data/layouts/SevenIsland_TrainerTower_Roof/map.bin1
-rw-r--r--data/layouts/SilphCo_10F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SilphCo_10F/map.bin1
-rw-r--r--data/layouts/SilphCo_11F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SilphCo_11F/map.bin1
-rw-r--r--data/layouts/SilphCo_1F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SilphCo_1F/map.bin1
-rw-r--r--data/layouts/SilphCo_2F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SilphCo_2F/map.bin1
-rw-r--r--data/layouts/SilphCo_3F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SilphCo_3F/map.bin1
-rw-r--r--data/layouts/SilphCo_4F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SilphCo_4F/map.bin1
-rw-r--r--data/layouts/SilphCo_5F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SilphCo_5F/map.bin1
-rw-r--r--data/layouts/SilphCo_6F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SilphCo_6F/map.bin1
-rw-r--r--data/layouts/SilphCo_7F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SilphCo_7F/map.bin1
-rw-r--r--data/layouts/SilphCo_8F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SilphCo_8F/map.bin1
-rw-r--r--data/layouts/SilphCo_9F/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SilphCo_9F/map.bin1
-rw-r--r--data/layouts/SilphCo_Elevator/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SilphCo_Elevator/map.bin1
-rw-r--r--data/layouts/SixIsland/border.bin1
-rw-r--r--data/layouts/SixIsland/map.bin1
-rw-r--r--data/layouts/SixIsland_AlteringCave/border.bin1
-rw-r--r--data/layouts/SixIsland_AlteringCave/map.binbin0 -> 1536 bytes
-rw-r--r--data/layouts/SixIsland_DottedHole_1F/border.bin1
-rw-r--r--data/layouts/SixIsland_DottedHole_1F/map.bin1
-rw-r--r--data/layouts/SixIsland_DottedHole_B1F/border.bin1
-rw-r--r--data/layouts/SixIsland_DottedHole_B1F/map.bin1
-rw-r--r--data/layouts/SixIsland_DottedHole_B2F/border.bin1
-rw-r--r--data/layouts/SixIsland_DottedHole_B2F/map.bin1
-rw-r--r--data/layouts/SixIsland_DottedHole_B3F/border.bin1
-rw-r--r--data/layouts/SixIsland_DottedHole_B3F/map.bin1
-rw-r--r--data/layouts/SixIsland_DottedHole_B4F/border.bin1
-rw-r--r--data/layouts/SixIsland_DottedHole_B4F/map.bin1
-rw-r--r--data/layouts/SixIsland_DottedHole_SapphireRoom/border.bin1
-rw-r--r--data/layouts/SixIsland_DottedHole_SapphireRoom/map.bin1
-rw-r--r--data/layouts/SixIsland_GreenPath/border.bin1
-rw-r--r--data/layouts/SixIsland_GreenPath/map.binbin0 -> 2880 bytes
-rw-r--r--data/layouts/SixIsland_OutcastIsland/border.bin1
-rw-r--r--data/layouts/SixIsland_OutcastIsland/map.bin15
-rw-r--r--data/layouts/SixIsland_PatternBush/border.bin1
-rw-r--r--data/layouts/SixIsland_PatternBush/map.bin1
-rw-r--r--data/layouts/SixIsland_RuinValley/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/SixIsland_RuinValley/map.binbin0 -> 3840 bytes
-rw-r--r--data/layouts/SixIsland_WaterPath/border.bin1
-rw-r--r--data/layouts/SixIsland_WaterPath/map.binbin0 -> 4800 bytes
-rw-r--r--data/layouts/ThreeIsland/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/ThreeIsland/map.bin1
-rw-r--r--data/layouts/ThreeIsland_BerryForest/border.bin1
-rw-r--r--data/layouts/ThreeIsland_BerryForest/map.bin1
-rw-r--r--data/layouts/ThreeIsland_BondBridge/border.bin1
-rw-r--r--data/layouts/ThreeIsland_BondBridge/map.binbin0 -> 3840 bytes
-rw-r--r--data/layouts/ThreeIsland_DunsparceTunnel/border.bin1
-rw-r--r--data/layouts/ThreeIsland_DunsparceTunnel/map.bin1
-rw-r--r--data/layouts/ThreeIsland_House1/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/ThreeIsland_House1/map.bin1
-rw-r--r--data/layouts/ThreeIsland_Port/border.bin1
-rw-r--r--data/layouts/ThreeIsland_Port/map.binbin0 -> 1920 bytes
-rw-r--r--data/layouts/TwoIsland/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/TwoIsland/map.binbin0 -> 1920 bytes
-rw-r--r--data/layouts/TwoIsland_CapeBrink/border.bin1
-rw-r--r--data/layouts/TwoIsland_CapeBrink/map.bin1
-rw-r--r--data/layouts/TwoIsland_JoyfulGameCorner/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/TwoIsland_JoyfulGameCorner/map.binbin0 -> 240 bytes
-rw-r--r--data/layouts/UndergroundPath_EastWestTunnel/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UndergroundPath_EastWestTunnel/map.bin1
-rw-r--r--data/layouts/UndergroundPath_Entrance/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UndergroundPath_Entrance/map.bin1
-rw-r--r--data/layouts/UndergroundPath_NorthSouthTunnel/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UndergroundPath_NorthSouthTunnel/map.bin1
-rw-r--r--data/layouts/UnknownMap_00_00/border.bin1
-rw-r--r--data/layouts/UnknownMap_00_00/map.binbin0 -> 252 bytes
-rw-r--r--data/layouts/UnknownMap_00_01/border.bin1
-rw-r--r--data/layouts/UnknownMap_00_01/map.bin1
-rw-r--r--data/layouts/UnknownMap_00_02/border.bin1
-rw-r--r--data/layouts/UnknownMap_00_02/map.bin1
-rw-r--r--data/layouts/UnknownMap_00_03/border.bin1
-rw-r--r--data/layouts/UnknownMap_00_03/map.binbin0 -> 252 bytes
-rw-r--r--data/layouts/UnknownMap_00_04/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnknownMap_00_04/map.bin1
-rw-r--r--data/layouts/UnknownMap_03_50/border.bin1
-rw-r--r--data/layouts/UnknownMap_03_50/map.bin1
-rw-r--r--data/layouts/UnknownMap_03_51/border.bin1
-rw-r--r--data/layouts/UnknownMap_03_51/map.bin1
-rw-r--r--data/layouts/UnknownMap_03_52/border.bin1
-rw-r--r--data/layouts/UnknownMap_03_52/map.binbin0 -> 3360 bytes
-rw-r--r--data/layouts/UnknownMap_03_53/border.bin1
-rw-r--r--data/layouts/UnknownMap_03_53/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82D54D8/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82D54D8/map.bin2
-rw-r--r--data/layouts/UnusedLayout_82D6144/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_82D6144/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82D6490/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82D6490/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82D6654/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82D6654/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82D672C/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82D672C/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82D6C34/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_82D6C34/map.binbin0 -> 288 bytes
-rw-r--r--data/layouts/UnusedLayout_82D75F0/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82D75F0/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82D7674/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82D7674/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82D7CC8/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82D7CC8/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82D88C8/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_82D88C8/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82D9B24/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82D9B24/map.binbin0 -> 3200 bytes
-rw-r--r--data/layouts/UnusedLayout_82DA7C8/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DA7C8/map.binbin0 -> 3200 bytes
-rw-r--r--data/layouts/UnusedLayout_82DB46C/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DB46C/map.binbin0 -> 3200 bytes
-rw-r--r--data/layouts/UnusedLayout_82DB4F0/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DB4F0/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82DBBE0/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DBBE0/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82DBDD8/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DBDD8/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82DBFB8/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DBFB8/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82DC4EC/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DC4EC/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82DC60C/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DC60C/map.binbin0 -> 252 bytes
-rw-r--r--data/layouts/UnusedLayout_82DC72C/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DC72C/map.binbin0 -> 252 bytes
-rw-r--r--data/layouts/UnusedLayout_82DC84C/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DC84C/map.binbin0 -> 252 bytes
-rw-r--r--data/layouts/UnusedLayout_82DCA70/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_82DCA70/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82DCB44/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_82DCB44/map.bin2
-rw-r--r--data/layouts/UnusedLayout_82DCC40/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_82DCC40/map.bin2
-rw-r--r--data/layouts/UnusedLayout_82DCCD4/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DCCD4/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82DCD68/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DCD68/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82DCDFC/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DCDFC/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82DCF00/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DCF00/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82DD004/border.bin1
-rw-r--r--data/layouts/UnusedLayout_82DD004/map.bin1
-rw-r--r--data/layouts/UnusedLayout_82DD0DC/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_82DD0DC/map.bin1
-rw-r--r--data/layouts/UnusedLayout_833614C/border.bin1
-rw-r--r--data/layouts/UnusedLayout_833614C/map.bin1
-rw-r--r--data/layouts/UnusedLayout_83377F0/border.bin1
-rw-r--r--data/layouts/UnusedLayout_83377F0/map.bin1
-rw-r--r--data/layouts/UnusedLayout_8338354/border.bin1
-rw-r--r--data/layouts/UnusedLayout_8338354/map.bin1
-rw-r--r--data/layouts/UnusedLayout_8338738/border.bin1
-rw-r--r--data/layouts/UnusedLayout_8338738/map.bin1
-rw-r--r--data/layouts/UnusedLayout_8338B4C/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_8338B4C/map.bin1
-rw-r--r--data/layouts/UnusedLayout_8338E90/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_8338E90/map.bin1
-rw-r--r--data/layouts/UnusedLayout_833902C/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_833902C/map.bin1
-rw-r--r--data/layouts/UnusedLayout_833B6EC/border.bin1
-rw-r--r--data/layouts/UnusedLayout_833B6EC/map.bin3
-rw-r--r--data/layouts/UnusedLayout_833BE30/border.bin1
-rw-r--r--data/layouts/UnusedLayout_833BE30/map.bin3
-rw-r--r--data/layouts/UnusedLayout_83453C0/border.bin1
-rw-r--r--data/layouts/UnusedLayout_83453C0/map.bin1
-rw-r--r--data/layouts/UnusedLayout_834BC2C/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834BC2C/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834BEB4/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834BEB4/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834C13C/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834C13C/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834C3C4/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834C3C4/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834C64C/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834C64C/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834C8D4/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834C8D4/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834CB5C/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834CB5C/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834CDE4/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834CDE4/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834D06C/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834D06C/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834D2F4/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834D2F4/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834D57C/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834D57C/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834D804/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834D804/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834DA8C/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834DA8C/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834DD14/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834DD14/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834DF9C/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834DF9C/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/UnusedLayout_834E224/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/UnusedLayout_834E224/map.binbin0 -> 612 bytes
-rw-r--r--data/layouts/VermilionCity/border.bin1
-rw-r--r--data/layouts/VermilionCity/map.bin2
-rw-r--r--data/layouts/VermilionCity_Gym/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/VermilionCity_Gym/map.bin1
-rw-r--r--data/layouts/VermilionCity_PokemonFanClub/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/VermilionCity_PokemonFanClub/map.bin1
-rw-r--r--data/layouts/VictoryRoad_1F/border.bin1
-rw-r--r--data/layouts/VictoryRoad_1F/map.bin1
-rw-r--r--data/layouts/VictoryRoad_2F/border.bin1
-rw-r--r--data/layouts/VictoryRoad_2F/map.binbin0 -> 2244 bytes
-rw-r--r--data/layouts/VictoryRoad_3F/border.bin1
-rw-r--r--data/layouts/VictoryRoad_3F/map.bin1
-rw-r--r--data/layouts/ViridianCity/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/ViridianCity/map.bin1
-rw-r--r--data/layouts/ViridianCity_Gym/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/ViridianCity_Gym/map.bin1
-rw-r--r--data/layouts/ViridianCity_House1/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/ViridianCity_House1/map.bin1
-rw-r--r--data/layouts/ViridianCity_House2/border.binbin0 -> 8 bytes
-rw-r--r--data/layouts/ViridianCity_House2/map.bin1
-rw-r--r--data/layouts/ViridianForest/border.bin1
-rw-r--r--data/layouts/ViridianForest/map.bin1
-rw-r--r--data/layouts/layouts.json4403
-rw-r--r--data/map_event_scripts.inc10383
-rw-r--r--data/map_events.s1294
-rw-r--r--data/maps.s18
-rw-r--r--data/maps/.gitignore7
-rw-r--r--data/maps/BirthIsland_Exterior/map.json54
-rw-r--r--data/maps/BirthIsland_Exterior/scripts.inc132
-rw-r--r--data/maps/BirthIsland_Harbor/map.json54
-rw-r--r--data/maps/BirthIsland_Harbor/scripts.inc37
-rw-r--r--data/maps/CeladonCity/map.json384
-rw-r--r--data/maps/CeladonCity/scripts.inc123
-rw-r--r--data/maps/CeladonCity_Condominiums_1F/map.json130
-rw-r--r--data/maps/CeladonCity_Condominiums_1F/scripts.inc78
-rw-r--r--data/maps/CeladonCity_Condominiums_2F/map.json90
-rw-r--r--data/maps/CeladonCity_Condominiums_2F/scripts.inc7
-rw-r--r--data/maps/CeladonCity_Condominiums_3F/map.json158
-rw-r--r--data/maps/CeladonCity_Condominiums_3F/scripts.inc64
-rw-r--r--data/maps/CeladonCity_Condominiums_Roof/map.json56
-rw-r--r--data/maps/CeladonCity_Condominiums_Roof/scripts.inc7
-rw-r--r--data/maps/CeladonCity_Condominiums_RoofRoom/map.json90
-rw-r--r--data/maps/CeladonCity_Condominiums_RoofRoom/scripts.inc127
-rw-r--r--data/maps/CeladonCity_DepartmentStore_1F/map.json105
-rw-r--r--data/maps/CeladonCity_DepartmentStore_1F/scripts.inc17
-rw-r--r--data/maps/CeladonCity_DepartmentStore_2F/map.json102
-rw-r--r--data/maps/CeladonCity_DepartmentStore_2F/scripts.inc72
-rw-r--r--data/maps/CeladonCity_DepartmentStore_3F/map.json185
-rw-r--r--data/maps/CeladonCity_DepartmentStore_3F/scripts.inc61
-rw-r--r--data/maps/CeladonCity_DepartmentStore_4F/map.json89
-rw-r--r--data/maps/CeladonCity_DepartmentStore_4F/scripts.inc43
-rw-r--r--data/maps/CeladonCity_DepartmentStore_5F/map.json102
-rw-r--r--data/maps/CeladonCity_DepartmentStore_5F/scripts.inc70
-rw-r--r--data/maps/CeladonCity_DepartmentStore_Elevator/map.json49
-rw-r--r--data/maps/CeladonCity_DepartmentStore_Elevator/scripts.inc135
-rw-r--r--data/maps/CeladonCity_DepartmentStore_Roof/map.json83
-rw-r--r--data/maps/CeladonCity_DepartmentStore_Roof/scripts.inc358
-rw-r--r--data/maps/CeladonCity_GameCorner/map.json469
-rw-r--r--data/maps/CeladonCity_GameCorner/scripts.inc524
-rw-r--r--data/maps/CeladonCity_GameCorner_PrizeRoom/map.json107
-rw-r--r--data/maps/CeladonCity_GameCorner_PrizeRoom/scripts.inc387
-rw-r--r--data/maps/CeladonCity_Gym/map.json200
-rw-r--r--data/maps/CeladonCity_Gym/scripts.inc116
-rw-r--r--data/maps/CeladonCity_Hotel/map.json94
-rw-r--r--data/maps/CeladonCity_Hotel/scripts.inc22
-rw-r--r--data/maps/CeladonCity_House1/map.json81
-rw-r--r--data/maps/CeladonCity_House1/scripts.inc17
-rw-r--r--data/maps/CeladonCity_PokemonCenter_1F/map.json101
-rw-r--r--data/maps/CeladonCity_PokemonCenter_1F/scripts.inc30
-rw-r--r--data/maps/CeladonCity_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/CeladonCity_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/CeladonCity_Restaurant/map.json107
-rw-r--r--data/maps/CeladonCity_Restaurant/scripts.inc54
-rw-r--r--data/maps/CeruleanCave_1F/map.json204
-rw-r--r--data/maps/CeruleanCave_1F/scripts.inc7
-rw-r--r--data/maps/CeruleanCave_2F/map.json232
-rw-r--r--data/maps/CeruleanCave_2F/scripts.inc2
-rw-r--r--data/maps/CeruleanCave_B1F/map.json184
-rw-r--r--data/maps/CeruleanCave_B1F/scripts.inc70
-rw-r--r--data/maps/CeruleanCity/events_bad.inc43
-rw-r--r--data/maps/CeruleanCity/map.json401
-rw-r--r--data/maps/CeruleanCity/scripts.inc415
-rw-r--r--data/maps/CeruleanCity_BikeShop/map.json138
-rw-r--r--data/maps/CeruleanCity_BikeShop/scripts.inc92
-rw-r--r--data/maps/CeruleanCity_Gym/map.json109
-rw-r--r--data/maps/CeruleanCity_Gym/scripts.inc96
-rw-r--r--data/maps/CeruleanCity_House1/map.json62
-rw-r--r--data/maps/CeruleanCity_House1/scripts.inc121
-rw-r--r--data/maps/CeruleanCity_House2/map.json83
-rw-r--r--data/maps/CeruleanCity_House2/scripts.inc28
-rw-r--r--data/maps/CeruleanCity_House3/map.json68
-rw-r--r--data/maps/CeruleanCity_House3/scripts.inc50
-rw-r--r--data/maps/CeruleanCity_House4/map.json41
-rw-r--r--data/maps/CeruleanCity_House4/scripts.inc112
-rw-r--r--data/maps/CeruleanCity_House5/map.json49
-rw-r--r--data/maps/CeruleanCity_House5/scripts.inc214
-rw-r--r--data/maps/CeruleanCity_Mart/map.json81
-rw-r--r--data/maps/CeruleanCity_Mart/scripts.inc41
-rw-r--r--data/maps/CeruleanCity_PokemonCenter_1F/map.json140
-rw-r--r--data/maps/CeruleanCity_PokemonCenter_1F/scripts.inc41
-rw-r--r--data/maps/CeruleanCity_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/CeruleanCity_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/CinnabarIsland/map.json158
-rw-r--r--data/maps/CinnabarIsland/scripts.inc384
-rw-r--r--data/maps/CinnabarIsland_Gym/map.json265
-rw-r--r--data/maps/CinnabarIsland_Gym/scripts.inc816
-rw-r--r--data/maps/CinnabarIsland_Mart/map.json81
-rw-r--r--data/maps/CinnabarIsland_Mart/scripts.inc39
-rw-r--r--data/maps/CinnabarIsland_PokemonCenter_1F/map.json140
-rw-r--r--data/maps/CinnabarIsland_PokemonCenter_1F/scripts.inc150
-rw-r--r--data/maps/CinnabarIsland_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/CinnabarIsland_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/CinnabarIsland_PokemonLab_Entrance/map.json105
-rw-r--r--data/maps/CinnabarIsland_PokemonLab_Entrance/scripts.inc37
-rw-r--r--data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/map.json54
-rw-r--r--data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/scripts.inc362
-rw-r--r--data/maps/CinnabarIsland_PokemonLab_Lounge/map.json67
-rw-r--r--data/maps/CinnabarIsland_PokemonLab_Lounge/scripts.inc103
-rw-r--r--data/maps/CinnabarIsland_PokemonLab_ResearchRoom/map.json69
-rw-r--r--data/maps/CinnabarIsland_PokemonLab_ResearchRoom/scripts.inc21
-rw-r--r--data/maps/DiglettsCave_B1F/map.json34
-rw-r--r--data/maps/DiglettsCave_B1F/scripts.inc7
-rw-r--r--data/maps/DiglettsCave_NorthEntrance/map.json48
-rw-r--r--data/maps/DiglettsCave_NorthEntrance/scripts.inc7
-rw-r--r--data/maps/DiglettsCave_SouthEntrance/map.json48
-rw-r--r--data/maps/DiglettsCave_SouthEntrance/scripts.inc7
-rw-r--r--data/maps/FiveIsland/map.json107
-rw-r--r--data/maps/FiveIsland/scripts.inc22
-rw-r--r--data/maps/FiveIsland_Harbor/map.json54
-rw-r--r--data/maps/FiveIsland_Harbor/scripts.inc11
-rw-r--r--data/maps/FiveIsland_House1/map.json41
-rw-r--r--data/maps/FiveIsland_House1/scripts.inc7
-rw-r--r--data/maps/FiveIsland_House2/map.json41
-rw-r--r--data/maps/FiveIsland_House2/scripts.inc7
-rw-r--r--data/maps/FiveIsland_LostCave_Entrance/map.json34
-rw-r--r--data/maps/FiveIsland_LostCave_Entrance/scripts.inc7
-rw-r--r--data/maps/FiveIsland_LostCave_Room1/map.json69
-rw-r--r--data/maps/FiveIsland_LostCave_Room1/scripts.inc8
-rw-r--r--data/maps/FiveIsland_LostCave_Room10/map.json54
-rw-r--r--data/maps/FiveIsland_LostCave_Room10/scripts.inc68
-rw-r--r--data/maps/FiveIsland_LostCave_Room11/map.json41
-rw-r--r--data/maps/FiveIsland_LostCave_Room11/scripts.inc2
-rw-r--r--data/maps/FiveIsland_LostCave_Room12/map.json41
-rw-r--r--data/maps/FiveIsland_LostCave_Room12/scripts.inc2
-rw-r--r--data/maps/FiveIsland_LostCave_Room13/map.json41
-rw-r--r--data/maps/FiveIsland_LostCave_Room13/scripts.inc2
-rw-r--r--data/maps/FiveIsland_LostCave_Room14/map.json41
-rw-r--r--data/maps/FiveIsland_LostCave_Room14/scripts.inc2
-rw-r--r--data/maps/FiveIsland_LostCave_Room2/map.json48
-rw-r--r--data/maps/FiveIsland_LostCave_Room2/scripts.inc2
-rw-r--r--data/maps/FiveIsland_LostCave_Room3/map.json48
-rw-r--r--data/maps/FiveIsland_LostCave_Room3/scripts.inc2
-rw-r--r--data/maps/FiveIsland_LostCave_Room4/map.json62
-rw-r--r--data/maps/FiveIsland_LostCave_Room4/scripts.inc8
-rw-r--r--data/maps/FiveIsland_LostCave_Room5/map.json48
-rw-r--r--data/maps/FiveIsland_LostCave_Room5/scripts.inc2
-rw-r--r--data/maps/FiveIsland_LostCave_Room6/map.json48
-rw-r--r--data/maps/FiveIsland_LostCave_Room6/scripts.inc2
-rw-r--r--data/maps/FiveIsland_LostCave_Room7/map.json48
-rw-r--r--data/maps/FiveIsland_LostCave_Room7/scripts.inc2
-rw-r--r--data/maps/FiveIsland_LostCave_Room8/map.json48
-rw-r--r--data/maps/FiveIsland_LostCave_Room8/scripts.inc2
-rw-r--r--data/maps/FiveIsland_LostCave_Room9/map.json48
-rw-r--r--data/maps/FiveIsland_LostCave_Room9/scripts.inc2
-rw-r--r--data/maps/FiveIsland_Meadow/map.json138
-rw-r--r--data/maps/FiveIsland_Meadow/scripts.inc59
-rw-r--r--data/maps/FiveIsland_MemorialPillar/map.json135
-rw-r--r--data/maps/FiveIsland_MemorialPillar/scripts.inc110
-rw-r--r--data/maps/FiveIsland_PokemonCenter_1F/map.json100
-rw-r--r--data/maps/FiveIsland_PokemonCenter_1F/scripts.inc25
-rw-r--r--data/maps/FiveIsland_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/FiveIsland_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/FiveIsland_ResortGorgeous/map.json189
-rw-r--r--data/maps/FiveIsland_ResortGorgeous/scripts.inc46
-rw-r--r--data/maps/FiveIsland_ResortGorgeous_House/map.json69
-rw-r--r--data/maps/FiveIsland_ResortGorgeous_House/scripts.inc163
-rw-r--r--data/maps/FiveIsland_RocketWarehouse/map.json366
-rw-r--r--data/maps/FiveIsland_RocketWarehouse/scripts.inc202
-rw-r--r--data/maps/FiveIsland_WaterLabyrinth/map.json57
-rw-r--r--data/maps/FiveIsland_WaterLabyrinth/scripts.inc80
-rw-r--r--data/maps/FourIsland/map.json266
-rw-r--r--data/maps/FourIsland/scripts.inc194
-rw-r--r--data/maps/FourIsland_Harbor/map.json54
-rw-r--r--data/maps/FourIsland_Harbor/scripts.inc11
-rw-r--r--data/maps/FourIsland_House1/map.json54
-rw-r--r--data/maps/FourIsland_House1/scripts.inc7
-rw-r--r--data/maps/FourIsland_House2/map.json41
-rw-r--r--data/maps/FourIsland_House2/scripts.inc2
-rw-r--r--data/maps/FourIsland_IcefallCave_1F/map.json89
-rw-r--r--data/maps/FourIsland_IcefallCave_1F/scripts.inc33
-rw-r--r--data/maps/FourIsland_IcefallCave_B1F/map.json68
-rw-r--r--data/maps/FourIsland_IcefallCave_B1F/scripts.inc2
-rw-r--r--data/maps/FourIsland_IcefallCave_Back/map.json108
-rw-r--r--data/maps/FourIsland_IcefallCave_Back/scripts.inc201
-rw-r--r--data/maps/FourIsland_IcefallCave_Entrance/map.json41
-rw-r--r--data/maps/FourIsland_IcefallCave_Entrance/scripts.inc7
-rw-r--r--data/maps/FourIsland_LoreleisHouse/map.json223
-rw-r--r--data/maps/FourIsland_LoreleisHouse/scripts.inc39
-rw-r--r--data/maps/FourIsland_Mart/map.json67
-rw-r--r--data/maps/FourIsland_Mart/scripts.inc35
-rw-r--r--data/maps/FourIsland_PokemonCenter_1F/map.json102
-rw-r--r--data/maps/FourIsland_PokemonCenter_1F/scripts.inc30
-rw-r--r--data/maps/FourIsland_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/FourIsland_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/FourIsland_PokemonDayCare/map.json41
-rw-r--r--data/maps/FourIsland_PokemonDayCare/scripts.inc235
-rw-r--r--data/maps/FuchsiaCity/map.json409
-rw-r--r--data/maps/FuchsiaCity/scripts.inc163
-rw-r--r--data/maps/FuchsiaCity_Building1/map.json123
-rw-r--r--data/maps/FuchsiaCity_Building1/scripts.inc79
-rw-r--r--data/maps/FuchsiaCity_Gym/map.json161
-rw-r--r--data/maps/FuchsiaCity_Gym/scripts.inc120
-rw-r--r--data/maps/FuchsiaCity_House1/map.json81
-rw-r--r--data/maps/FuchsiaCity_House1/scripts.inc23
-rw-r--r--data/maps/FuchsiaCity_House2/map.json62
-rw-r--r--data/maps/FuchsiaCity_House2/scripts.inc46
-rw-r--r--data/maps/FuchsiaCity_House3/map.json41
-rw-r--r--data/maps/FuchsiaCity_House3/scripts.inc68
-rw-r--r--data/maps/FuchsiaCity_Mart/map.json81
-rw-r--r--data/maps/FuchsiaCity_Mart/scripts.inc38
-rw-r--r--data/maps/FuchsiaCity_PokemonCenter_1F/map.json101
-rw-r--r--data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc30
-rw-r--r--data/maps/FuchsiaCity_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/FuchsiaCity_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/FuchsiaCity_SafariZone_Entrance/map.json103
-rw-r--r--data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc231
-rw-r--r--data/maps/FuchsiaCity_ZooBuilding/map.json94
-rw-r--r--data/maps/FuchsiaCity_ZooBuilding/scripts.inc22
-rw-r--r--data/maps/IndigoPlateau_Exterior/map.json60
-rw-r--r--data/maps/IndigoPlateau_Exterior/scripts.inc167
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_1F/map.json146
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc81
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/LavenderTown/map.json147
-rw-r--r--data/maps/LavenderTown/scripts.inc57
-rw-r--r--data/maps/LavenderTown_House1/map.json68
-rw-r--r--data/maps/LavenderTown_House1/scripts.inc29
-rw-r--r--data/maps/LavenderTown_House2/map.json55
-rw-r--r--data/maps/LavenderTown_House2/scripts.inc81
-rw-r--r--data/maps/LavenderTown_Mart/map.json94
-rw-r--r--data/maps/LavenderTown_Mart/scripts.inc46
-rw-r--r--data/maps/LavenderTown_PokemonCenter_1F/map.json114
-rw-r--r--data/maps/LavenderTown_PokemonCenter_1F/scripts.inc30
-rw-r--r--data/maps/LavenderTown_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/LavenderTown_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/LavenderTown_VolunteerPokemonHouse/map.json142
-rw-r--r--data/maps/LavenderTown_VolunteerPokemonHouse/scripts.inc105
-rw-r--r--data/maps/MtEmber_Exterior/map.json370
-rw-r--r--data/maps/MtEmber_Exterior/scripts.inc146
-rw-r--r--data/maps/MtEmber_RubyPath_1F/map.json107
-rw-r--r--data/maps/MtEmber_RubyPath_1F/scripts.inc2
-rw-r--r--data/maps/MtEmber_RubyPath_B1F/map.json87
-rw-r--r--data/maps/MtEmber_RubyPath_B1F/scripts.inc2
-rw-r--r--data/maps/MtEmber_RubyPath_B1F_Stairs/map.json48
-rw-r--r--data/maps/MtEmber_RubyPath_B1F_Stairs/scripts.inc2
-rw-r--r--data/maps/MtEmber_RubyPath_B2F/map.json126
-rw-r--r--data/maps/MtEmber_RubyPath_B2F/scripts.inc2
-rw-r--r--data/maps/MtEmber_RubyPath_B2F_Stairs/map.json61
-rw-r--r--data/maps/MtEmber_RubyPath_B2F_Stairs/scripts.inc2
-rw-r--r--data/maps/MtEmber_RubyPath_B3F/map.json172
-rw-r--r--data/maps/MtEmber_RubyPath_B3F/scripts.inc17
-rw-r--r--data/maps/MtEmber_RubyPath_B4F/map.json217
-rw-r--r--data/maps/MtEmber_RubyPath_B4F/scripts.inc72
-rw-r--r--data/maps/MtEmber_RubyPath_B5F/map.json49
-rw-r--r--data/maps/MtEmber_RubyPath_B5F/scripts.inc38
-rw-r--r--data/maps/MtEmber_Summit/map.json93
-rw-r--r--data/maps/MtEmber_Summit/scripts.inc66
-rw-r--r--data/maps/MtEmber_SummitPath_1F/map.json34
-rw-r--r--data/maps/MtEmber_SummitPath_1F/scripts.inc2
-rw-r--r--data/maps/MtEmber_SummitPath_2F/map.json152
-rw-r--r--data/maps/MtEmber_SummitPath_2F/scripts.inc2
-rw-r--r--data/maps/MtEmber_SummitPath_3F/map.json34
-rw-r--r--data/maps/MtEmber_SummitPath_3F/scripts.inc2
-rw-r--r--data/maps/MtMoon_1F/map.json239
-rw-r--r--data/maps/MtMoon_1F/scripts.inc54
-rw-r--r--data/maps/MtMoon_B1F/map.json131
-rw-r--r--data/maps/MtMoon_B1F/scripts.inc2
-rw-r--r--data/maps/MtMoon_B2F/map.json221
-rw-r--r--data/maps/MtMoon_B2F/scripts.inc160
-rw-r--r--data/maps/NavelRock_1F/map.json34
-rw-r--r--data/maps/NavelRock_1F/scripts.inc2
-rw-r--r--data/maps/NavelRock_B1F/map.json34
-rw-r--r--data/maps/NavelRock_B1F/scripts.inc2
-rw-r--r--data/maps/NavelRock_Base/map.json41
-rw-r--r--data/maps/NavelRock_Base/scripts.inc91
-rw-r--r--data/maps/NavelRock_BasePath_B10F/map.json34
-rw-r--r--data/maps/NavelRock_BasePath_B10F/scripts.inc2
-rw-r--r--data/maps/NavelRock_BasePath_B11F/map.json34
-rw-r--r--data/maps/NavelRock_BasePath_B11F/scripts.inc2
-rw-r--r--data/maps/NavelRock_BasePath_B1F/map.json34
-rw-r--r--data/maps/NavelRock_BasePath_B1F/scripts.inc2
-rw-r--r--data/maps/NavelRock_BasePath_B2F/map.json34
-rw-r--r--data/maps/NavelRock_BasePath_B2F/scripts.inc2
-rw-r--r--data/maps/NavelRock_BasePath_B3F/map.json34
-rw-r--r--data/maps/NavelRock_BasePath_B3F/scripts.inc2
-rw-r--r--data/maps/NavelRock_BasePath_B4F/map.json34
-rw-r--r--data/maps/NavelRock_BasePath_B4F/scripts.inc2
-rw-r--r--data/maps/NavelRock_BasePath_B5F/map.json34
-rw-r--r--data/maps/NavelRock_BasePath_B5F/scripts.inc2
-rw-r--r--data/maps/NavelRock_BasePath_B6F/map.json34
-rw-r--r--data/maps/NavelRock_BasePath_B6F/scripts.inc2
-rw-r--r--data/maps/NavelRock_BasePath_B7F/map.json34
-rw-r--r--data/maps/NavelRock_BasePath_B7F/scripts.inc2
-rw-r--r--data/maps/NavelRock_BasePath_B8F/map.json34
-rw-r--r--data/maps/NavelRock_BasePath_B8F/scripts.inc2
-rw-r--r--data/maps/NavelRock_BasePath_B9F/map.json34
-rw-r--r--data/maps/NavelRock_BasePath_B9F/scripts.inc2
-rw-r--r--data/maps/NavelRock_Exterior/map.json34
-rw-r--r--data/maps/NavelRock_Exterior/scripts.inc7
-rw-r--r--data/maps/NavelRock_Fork/map.json41
-rw-r--r--data/maps/NavelRock_Fork/scripts.inc2
-rw-r--r--data/maps/NavelRock_Harbor/map.json54
-rw-r--r--data/maps/NavelRock_Harbor/scripts.inc1
-rw-r--r--data/maps/NavelRock_Summit/map.json61
-rw-r--r--data/maps/NavelRock_Summit/scripts.inc130
-rw-r--r--data/maps/NavelRock_SummitPath_2F/map.json34
-rw-r--r--data/maps/NavelRock_SummitPath_2F/scripts.inc2
-rw-r--r--data/maps/NavelRock_SummitPath_3F/map.json34
-rw-r--r--data/maps/NavelRock_SummitPath_3F/scripts.inc2
-rw-r--r--data/maps/NavelRock_SummitPath_4F/map.json34
-rw-r--r--data/maps/NavelRock_SummitPath_4F/scripts.inc2
-rw-r--r--data/maps/NavelRock_SummitPath_5F/map.json34
-rw-r--r--data/maps/NavelRock_SummitPath_5F/scripts.inc2
-rw-r--r--data/maps/OneIsland/map.json114
-rw-r--r--data/maps/OneIsland/scripts.inc121
-rw-r--r--data/maps/OneIsland_Harbor/map.json54
-rw-r--r--data/maps/OneIsland_Harbor/scripts.inc42
-rw-r--r--data/maps/OneIsland_House1/map.json54
-rw-r--r--data/maps/OneIsland_House1/scripts.inc12
-rw-r--r--data/maps/OneIsland_House2/map.json41
-rw-r--r--data/maps/OneIsland_House2/scripts.inc7
-rw-r--r--data/maps/OneIsland_KindleRoad/map.json440
-rw-r--r--data/maps/OneIsland_KindleRoad/scripts.inc12
-rw-r--r--data/maps/OneIsland_KindleRoad_EmberSpa/map.json116
-rw-r--r--data/maps/OneIsland_KindleRoad_EmberSpa/scripts.inc66
-rw-r--r--data/maps/OneIsland_PokemonCenter_1F/map.json214
-rw-r--r--data/maps/OneIsland_PokemonCenter_1F/scripts.inc658
-rw-r--r--data/maps/OneIsland_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/OneIsland_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/OneIsland_TreasureBeach/map.json125
-rw-r--r--data/maps/OneIsland_TreasureBeach/scripts.inc7
-rw-r--r--data/maps/PalletTown/map.json156
-rw-r--r--data/maps/PalletTown/scripts.inc527
-rw-r--r--data/maps/PalletTown_GarysHouse/map.json90
-rw-r--r--data/maps/PalletTown_GarysHouse/scripts.inc217
-rw-r--r--data/maps/PalletTown_PlayersHouse_1F/map.json70
-rw-r--r--data/maps/PalletTown_PlayersHouse_1F/scripts.inc66
-rw-r--r--data/maps/PalletTown_PlayersHouse_2F/map.json49
-rw-r--r--data/maps/PalletTown_PlayersHouse_2F/scripts.inc59
-rw-r--r--data/maps/PalletTown_ProfessorOaksLab/map.json256
-rw-r--r--data/maps/PalletTown_ProfessorOaksLab/scripts.inc1474
-rw-r--r--data/maps/PewterCity/map.json281
-rw-r--r--data/maps/PewterCity/scripts.inc1614
-rw-r--r--data/maps/PewterCity_Gym/map.json96
-rw-r--r--data/maps/PewterCity_Gym/scripts.inc110
-rw-r--r--data/maps/PewterCity_House1/map.json81
-rw-r--r--data/maps/PewterCity_House1/scripts.inc34
-rw-r--r--data/maps/PewterCity_House2/map.json68
-rw-r--r--data/maps/PewterCity_House2/scripts.inc12
-rw-r--r--data/maps/PewterCity_Mart/map.json81
-rw-r--r--data/maps/PewterCity_Mart/scripts.inc40
-rw-r--r--data/maps/PewterCity_Museum_1F/map.json198
-rw-r--r--data/maps/PewterCity_Museum_1F/scripts.inc228
-rw-r--r--data/maps/PewterCity_Museum_2F/map.json150
-rw-r--r--data/maps/PewterCity_Museum_2F/scripts.inc37
-rw-r--r--data/maps/PewterCity_PokemonCenter_1F/map.json140
-rw-r--r--data/maps/PewterCity_PokemonCenter_1F/scripts.inc49
-rw-r--r--data/maps/PewterCity_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/PewterCity_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/PokemonLeague_AgathasRoom/map.json48
-rw-r--r--data/maps/PokemonLeague_AgathasRoom/scripts.inc110
-rw-r--r--data/maps/PokemonLeague_BrunosRoom/map.json48
-rw-r--r--data/maps/PokemonLeague_BrunosRoom/scripts.inc140
-rw-r--r--data/maps/PokemonLeague_ChampionsRoom/map.json61
-rw-r--r--data/maps/PokemonLeague_ChampionsRoom/scripts.inc254
-rw-r--r--data/maps/PokemonLeague_HallOfFame/map.json41
-rw-r--r--data/maps/PokemonLeague_HallOfFame/scripts.inc55
-rw-r--r--data/maps/PokemonLeague_LancesRoom/map.json48
-rw-r--r--data/maps/PokemonLeague_LancesRoom/scripts.inc184
-rw-r--r--data/maps/PokemonLeague_LoreleisRoom/map.json48
-rw-r--r--data/maps/PokemonLeague_LoreleisRoom/scripts.inc112
-rw-r--r--data/maps/PokemonMansion_1F/map.json173
-rw-r--r--data/maps/PokemonMansion_1F/scripts.inc35
-rw-r--r--data/maps/PokemonMansion_2F/map.json130
-rw-r--r--data/maps/PokemonMansion_2F/scripts.inc34
-rw-r--r--data/maps/PokemonMansion_3F/map.json153
-rw-r--r--data/maps/PokemonMansion_3F/scripts.inc35
-rw-r--r--data/maps/PokemonMansion_B1F/map.json137
-rw-r--r--data/maps/PokemonMansion_B1F/scripts.inc35
-rw-r--r--data/maps/PokemonTower_1F/map.json114
-rw-r--r--data/maps/PokemonTower_1F/scripts.inc44
-rw-r--r--data/maps/PokemonTower_2F/map.json80
-rw-r--r--data/maps/PokemonTower_2F/scripts.inc111
-rw-r--r--data/maps/PokemonTower_3F/map.json87
-rw-r--r--data/maps/PokemonTower_3F/scripts.inc20
-rw-r--r--data/maps/PokemonTower_4F/map.json113
-rw-r--r--data/maps/PokemonTower_4F/scripts.inc20
-rw-r--r--data/maps/PokemonTower_5F/map.json290
-rw-r--r--data/maps/PokemonTower_5F/scripts.inc48
-rw-r--r--data/maps/PokemonTower_6F/map.json119
-rw-r--r--data/maps/PokemonTower_6F/scripts.inc56
-rw-r--r--data/maps/PokemonTower_7F/map.json90
-rw-r--r--data/maps/PokemonTower_7F/scripts.inc249
-rw-r--r--data/maps/PowerPlant/map.json179
-rw-r--r--data/maps/PowerPlant/scripts.inc141
-rw-r--r--data/maps/RockTunnel_1F/map.json201
-rw-r--r--data/maps/RockTunnel_1F/scripts.inc54
-rw-r--r--data/maps/RockTunnel_B1F/map.json387
-rw-r--r--data/maps/RockTunnel_B1F/scripts.inc50
-rw-r--r--data/maps/RocketHideout_B1F/map.json164
-rw-r--r--data/maps/RocketHideout_B1F/scripts.inc69
-rw-r--r--data/maps/RocketHideout_B2F/map.json121
-rw-r--r--data/maps/RocketHideout_B2F/scripts.inc8
-rw-r--r--data/maps/RocketHideout_B3F/map.json110
-rw-r--r--data/maps/RocketHideout_B3F/scripts.inc14
-rw-r--r--data/maps/RocketHideout_B4F/map.json178
-rw-r--r--data/maps/RocketHideout_B4F/scripts.inc145
-rw-r--r--data/maps/RocketHideout_Elevator/map.json42
-rw-r--r--data/maps/RocketHideout_Elevator/scripts.inc115
-rw-r--r--data/maps/Route1/map.json65
-rw-r--r--data/maps/Route1/scripts.inc42
-rw-r--r--data/maps/Route10/map.json264
-rw-r--r--data/maps/Route10/scripts.inc20
-rw-r--r--data/maps/Route10_PokemonCenter_1F/map.json114
-rw-r--r--data/maps/Route10_PokemonCenter_1F/scripts.inc75
-rw-r--r--data/maps/Route10_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/Route10_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/Route11/map.json239
-rw-r--r--data/maps/Route11/scripts.inc7
-rw-r--r--data/maps/Route11_EastEntrance_1F/map.json82
-rw-r--r--data/maps/Route11_EastEntrance_1F/scripts.inc12
-rw-r--r--data/maps/Route11_EastEntrance_2F/map.json69
-rw-r--r--data/maps/Route11_EastEntrance_2F/scripts.inc109
-rw-r--r--data/maps/Route12/map.json289
-rw-r--r--data/maps/Route12/scripts.inc72
-rw-r--r--data/maps/Route12_FishingHouse/map.json63
-rw-r--r--data/maps/Route12_FishingHouse/scripts.inc137
-rw-r--r--data/maps/Route12_NorthEntrance_1F/map.json69
-rw-r--r--data/maps/Route12_NorthEntrance_1F/scripts.inc7
-rw-r--r--data/maps/Route12_NorthEntrance_2F/map.json56
-rw-r--r--data/maps/Route12_NorthEntrance_2F/scripts.inc59
-rw-r--r--data/maps/Route13/map.json205
-rw-r--r--data/maps/Route13/scripts.inc17
-rw-r--r--data/maps/Route14/map.json252
-rw-r--r--data/maps/Route14/scripts.inc7
-rw-r--r--data/maps/Route15/map.json236
-rw-r--r--data/maps/Route15/scripts.inc7
-rw-r--r--data/maps/Route15_WestEntrance_1F/map.json69
-rw-r--r--data/maps/Route15_WestEntrance_1F/scripts.inc7
-rw-r--r--data/maps/Route15_WestEntrance_2F/map.json56
-rw-r--r--data/maps/Route15_WestEntrance_2F/scripts.inc64
-rw-r--r--data/maps/Route16/map.json221
-rw-r--r--data/maps/Route16/scripts.inc90
-rw-r--r--data/maps/Route16_House/map.json68
-rw-r--r--data/maps/Route16_House/scripts.inc47
-rw-r--r--data/maps/Route16_NorthEntrance_1F/map.json182
-rw-r--r--data/maps/Route16_NorthEntrance_1F/scripts.inc123
-rw-r--r--data/maps/Route16_NorthEntrance_2F/map.json82
-rw-r--r--data/maps/Route16_NorthEntrance_2F/scripts.inc66
-rw-r--r--data/maps/Route17/map.json249
-rw-r--r--data/maps/Route17/scripts.inc32
-rw-r--r--data/maps/Route18/map.json100
-rw-r--r--data/maps/Route18/scripts.inc31
-rw-r--r--data/maps/Route18_EastEntrance_1F/map.json155
-rw-r--r--data/maps/Route18_EastEntrance_1F/scripts.inc118
-rw-r--r--data/maps/Route18_EastEntrance_2F/map.json56
-rw-r--r--data/maps/Route18_EastEntrance_2F/scripts.inc55
-rw-r--r--data/maps/Route19/map.json195
-rw-r--r--data/maps/Route19/scripts.inc7
-rw-r--r--data/maps/Route2/map.json208
-rw-r--r--data/maps/Route2/scripts.inc12
-rw-r--r--data/maps/Route20/map.json213
-rw-r--r--data/maps/Route20/scripts.inc35
-rw-r--r--data/maps/Route21_North/map.json119
-rw-r--r--data/maps/Route21_North/scripts.inc2
-rw-r--r--data/maps/Route21_South/map.json96
-rw-r--r--data/maps/Route21_South/scripts.inc2
-rw-r--r--data/maps/Route22/map.json122
-rw-r--r--data/maps/Route22/scripts.inc266
-rw-r--r--data/maps/Route22_NorthEntrance/map.json72
-rw-r--r--data/maps/Route22_NorthEntrance/scripts.inc18
-rw-r--r--data/maps/Route23/map.json610
-rw-r--r--data/maps/Route23/scripts.inc129
-rw-r--r--data/maps/Route24/map.json164
-rw-r--r--data/maps/Route24/scripts.inc114
-rw-r--r--data/maps/Route25/map.json247
-rw-r--r--data/maps/Route25/scripts.inc12
-rw-r--r--data/maps/Route25_SeaCottage/map.json76
-rw-r--r--data/maps/Route25_SeaCottage/scripts.inc337
-rw-r--r--data/maps/Route2_EastBuilding/map.json75
-rw-r--r--data/maps/Route2_EastBuilding/scripts.inc51
-rw-r--r--data/maps/Route2_House/map.json68
-rw-r--r--data/maps/Route2_House/scripts.inc50
-rw-r--r--data/maps/Route2_ViridianForest_NorthEntrance/map.json88
-rw-r--r--data/maps/Route2_ViridianForest_NorthEntrance/scripts.inc17
-rw-r--r--data/maps/Route2_ViridianForest_SouthEntrance/map.json75
-rw-r--r--data/maps/Route2_ViridianForest_SouthEntrance/scripts.inc12
-rw-r--r--data/maps/Route3/map.json165
-rw-r--r--data/maps/Route3/scripts.inc12
-rw-r--r--data/maps/Route4/map.json186
-rw-r--r--data/maps/Route4/scripts.inc20
-rw-r--r--data/maps/Route4_PokemonCenter_1F/map.json127
-rw-r--r--data/maps/Route4_PokemonCenter_1F/scripts.inc181
-rw-r--r--data/maps/Route4_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/Route4_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/Route5/map.json67
-rw-r--r--data/maps/Route5/scripts.inc7
-rw-r--r--data/maps/Route5_PokemonDayCare/map.json55
-rw-r--r--data/maps/Route5_PokemonDayCare/scripts.inc2
-rw-r--r--data/maps/Route5_SouthEntrance/map.json90
-rw-r--r--data/maps/Route5_SouthEntrance/scripts.inc92
-rw-r--r--data/maps/Route6/map.json157
-rw-r--r--data/maps/Route6/scripts.inc7
-rw-r--r--data/maps/Route6_NorthEntrance/map.json90
-rw-r--r--data/maps/Route6_NorthEntrance/scripts.inc92
-rw-r--r--data/maps/Route7/map.json76
-rw-r--r--data/maps/Route7/scripts.inc7
-rw-r--r--data/maps/Route7_EastEntrance/map.json90
-rw-r--r--data/maps/Route7_EastEntrance/scripts.inc92
-rw-r--r--data/maps/Route8/map.json276
-rw-r--r--data/maps/Route8/scripts.inc7
-rw-r--r--data/maps/Route8_WestEntrance/map.json90
-rw-r--r--data/maps/Route8_WestEntrance/scripts.inc102
-rw-r--r--data/maps/Route9/map.json222
-rw-r--r--data/maps/Route9/scripts.inc7
-rw-r--r--data/maps/SSAnne_1F_Corridor/map.json138
-rw-r--r--data/maps/SSAnne_1F_Corridor/scripts.inc12
-rw-r--r--data/maps/SSAnne_1F_Room1/map.json41
-rw-r--r--data/maps/SSAnne_1F_Room1/scripts.inc7
-rw-r--r--data/maps/SSAnne_1F_Room2/map.json80
-rw-r--r--data/maps/SSAnne_1F_Room2/scripts.inc19
-rw-r--r--data/maps/SSAnne_1F_Room3/map.json67
-rw-r--r--data/maps/SSAnne_1F_Room3/scripts.inc23
-rw-r--r--data/maps/SSAnne_1F_Room4/map.json41
-rw-r--r--data/maps/SSAnne_1F_Room4/scripts.inc19
-rw-r--r--data/maps/SSAnne_1F_Room5/map.json41
-rw-r--r--data/maps/SSAnne_1F_Room5/scripts.inc8
-rw-r--r--data/maps/SSAnne_1F_Room6/map.json41
-rw-r--r--data/maps/SSAnne_1F_Room6/scripts.inc31
-rw-r--r--data/maps/SSAnne_1F_Room7/map.json41
-rw-r--r--data/maps/SSAnne_1F_Room7/scripts.inc8
-rw-r--r--data/maps/SSAnne_2F_Corridor/map.json138
-rw-r--r--data/maps/SSAnne_2F_Corridor/scripts.inc187
-rw-r--r--data/maps/SSAnne_2F_Room1/map.json41
-rw-r--r--data/maps/SSAnne_2F_Room1/scripts.inc15
-rw-r--r--data/maps/SSAnne_2F_Room2/map.json67
-rw-r--r--data/maps/SSAnne_2F_Room2/scripts.inc14
-rw-r--r--data/maps/SSAnne_2F_Room3/map.json54
-rw-r--r--data/maps/SSAnne_2F_Room3/scripts.inc12
-rw-r--r--data/maps/SSAnne_2F_Room4/map.json67
-rw-r--r--data/maps/SSAnne_2F_Room4/scripts.inc14
-rw-r--r--data/maps/SSAnne_2F_Room5/map.json54
-rw-r--r--data/maps/SSAnne_2F_Room5/scripts.inc12
-rw-r--r--data/maps/SSAnne_2F_Room6/map.json54
-rw-r--r--data/maps/SSAnne_2F_Room6/scripts.inc12
-rw-r--r--data/maps/SSAnne_3F_Corridor/map.json55
-rw-r--r--data/maps/SSAnne_3F_Corridor/scripts.inc7
-rw-r--r--data/maps/SSAnne_B1F_Corridor/map.json72
-rw-r--r--data/maps/SSAnne_B1F_Corridor/scripts.inc2
-rw-r--r--data/maps/SSAnne_B1F_Room1/map.json54
-rw-r--r--data/maps/SSAnne_B1F_Room1/scripts.inc14
-rw-r--r--data/maps/SSAnne_B1F_Room2/map.json54
-rw-r--r--data/maps/SSAnne_B1F_Room2/scripts.inc8
-rw-r--r--data/maps/SSAnne_B1F_Room3/map.json54
-rw-r--r--data/maps/SSAnne_B1F_Room3/scripts.inc8
-rw-r--r--data/maps/SSAnne_B1F_Room4/map.json54
-rw-r--r--data/maps/SSAnne_B1F_Room4/scripts.inc14
-rw-r--r--data/maps/SSAnne_B1F_Room5/map.json67
-rw-r--r--data/maps/SSAnne_B1F_Room5/scripts.inc18
-rw-r--r--data/maps/SSAnne_CaptainsOffice/map.json63
-rw-r--r--data/maps/SSAnne_CaptainsOffice/scripts.inc59
-rw-r--r--data/maps/SSAnne_Deck/map.json100
-rw-r--r--data/maps/SSAnne_Deck/scripts.inc29
-rw-r--r--data/maps/SSAnne_Exterior/map.json79
-rw-r--r--data/maps/SSAnne_Exterior/scripts.inc67
-rw-r--r--data/maps/SSAnne_Kitchen/map.json160
-rw-r--r--data/maps/SSAnne_Kitchen/scripts.inc63
-rw-r--r--data/maps/SafariZone_Building1/map.json68
-rw-r--r--data/maps/SafariZone_Building1/scripts.inc12
-rw-r--r--data/maps/SafariZone_Building2/map.json81
-rw-r--r--data/maps/SafariZone_Building2/scripts.inc17
-rw-r--r--data/maps/SafariZone_Building3/map.json94
-rw-r--r--data/maps/SafariZone_Building3/scripts.inc17
-rw-r--r--data/maps/SafariZone_Building4/map.json81
-rw-r--r--data/maps/SafariZone_Building4/scripts.inc17
-rw-r--r--data/maps/SafariZone_Center/map.json156
-rw-r--r--data/maps/SafariZone_Center/scripts.inc22
-rw-r--r--data/maps/SafariZone_East/map.json144
-rw-r--r--data/maps/SafariZone_East/scripts.inc17
-rw-r--r--data/maps/SafariZone_North/map.json187
-rw-r--r--data/maps/SafariZone_North/scripts.inc27
-rw-r--r--data/maps/SafariZone_SecretHouse/map.json55
-rw-r--r--data/maps/SafariZone_SecretHouse/scripts.inc36
-rw-r--r--data/maps/SafariZone_West/map.json188
-rw-r--r--data/maps/SafariZone_West/scripts.inc22
-rw-r--r--data/maps/SaffronCity/map.json40
-rw-r--r--data/maps/SaffronCity/scripts.inc2
-rw-r--r--data/maps/SaffronCity_Dojo/map.json181
-rw-r--r--data/maps/SaffronCity_Dojo/scripts.inc174
-rw-r--r--data/maps/SaffronCity_Duplicate/map.json407
-rw-r--r--data/maps/SaffronCity_Duplicate/scripts.inc152
-rw-r--r--data/maps/SaffronCity_Gym/map.json384
-rw-r--r--data/maps/SaffronCity_Gym/scripts.inc129
-rw-r--r--data/maps/SaffronCity_House1_1F/map.json88
-rw-r--r--data/maps/SaffronCity_House1_1F/scripts.inc23
-rw-r--r--data/maps/SaffronCity_House1_2F/map.json104
-rw-r--r--data/maps/SaffronCity_House1_2F/scripts.inc58
-rw-r--r--data/maps/SaffronCity_House2/map.json102
-rw-r--r--data/maps/SaffronCity_House2/scripts.inc28
-rw-r--r--data/maps/SaffronCity_House3/map.json55
-rw-r--r--data/maps/SaffronCity_House3/scripts.inc36
-rw-r--r--data/maps/SaffronCity_Mart/map.json81
-rw-r--r--data/maps/SaffronCity_Mart/scripts.inc38
-rw-r--r--data/maps/SaffronCity_PokemonCenter_1F/map.json127
-rw-r--r--data/maps/SaffronCity_PokemonCenter_1F/scripts.inc41
-rw-r--r--data/maps/SaffronCity_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/SaffronCity_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/SaffronCity_PokemonTrainerFanClub/map.json158
-rw-r--r--data/maps/SaffronCity_PokemonTrainerFanClub/scripts.inc492
-rw-r--r--data/maps/SeafoamIslands_1F/map.json109
-rw-r--r--data/maps/SeafoamIslands_1F/scripts.inc7
-rw-r--r--data/maps/SeafoamIslands_B1F/map.json150
-rw-r--r--data/maps/SeafoamIslands_B1F/scripts.inc2
-rw-r--r--data/maps/SeafoamIslands_B2F/map.json137
-rw-r--r--data/maps/SeafoamIslands_B2F/scripts.inc2
-rw-r--r--data/maps/SeafoamIslands_B3F/map.json172
-rw-r--r--data/maps/SeafoamIslands_B3F/scripts.inc103
-rw-r--r--data/maps/SeafoamIslands_B4F/map.json153
-rw-r--r--data/maps/SeafoamIslands_B4F/scripts.inc218
-rw-r--r--data/maps/SevenIsland/map.json107
-rw-r--r--data/maps/SevenIsland/scripts.inc22
-rw-r--r--data/maps/SevenIsland_Harbor/map.json54
-rw-r--r--data/maps/SevenIsland_Harbor/scripts.inc11
-rw-r--r--data/maps/SevenIsland_House_Room1/map.json56
-rw-r--r--data/maps/SevenIsland_House_Room1/scripts.inc194
-rw-r--r--data/maps/SevenIsland_House_Room2/map.json41
-rw-r--r--data/maps/SevenIsland_House_Room2/scripts.inc79
-rw-r--r--data/maps/SevenIsland_Mart/map.json80
-rw-r--r--data/maps/SevenIsland_Mart/scripts.inc46
-rw-r--r--data/maps/SevenIsland_PokemonCenter_1F/map.json113
-rw-r--r--data/maps/SevenIsland_PokemonCenter_1F/scripts.inc30
-rw-r--r--data/maps/SevenIsland_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/SevenIsland_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/SevenIsland_SeavaultCanyon_TanobyKey/map.json183
-rw-r--r--data/maps/SevenIsland_SeavaultCanyon_TanobyKey/scripts.inc144
-rw-r--r--data/maps/SevenIsland_SevaultCanyon/map.json323
-rw-r--r--data/maps/SevenIsland_SevaultCanyon/scripts.inc7
-rw-r--r--data/maps/SevenIsland_SevaultCanyon_Entrance/map.json139
-rw-r--r--data/maps/SevenIsland_SevaultCanyon_Entrance/scripts.inc7
-rw-r--r--data/maps/SevenIsland_SevaultCanyon_House/map.json67
-rw-r--r--data/maps/SevenIsland_SevaultCanyon_House/scripts.inc89
-rw-r--r--data/maps/SevenIsland_TanobyRuins/map.json165
-rw-r--r--data/maps/SevenIsland_TanobyRuins/scripts.inc2
-rw-r--r--data/maps/SevenIsland_TanobyRuins_DilfordChamber/map.json27
-rw-r--r--data/maps/SevenIsland_TanobyRuins_DilfordChamber/scripts.inc7
-rw-r--r--data/maps/SevenIsland_TanobyRuins_LiptooChamber/map.json27
-rw-r--r--data/maps/SevenIsland_TanobyRuins_LiptooChamber/scripts.inc7
-rw-r--r--data/maps/SevenIsland_TanobyRuins_MoneanChamber/map.json27
-rw-r--r--data/maps/SevenIsland_TanobyRuins_MoneanChamber/scripts.inc8
-rw-r--r--data/maps/SevenIsland_TanobyRuins_RixyChamber/map.json27
-rw-r--r--data/maps/SevenIsland_TanobyRuins_RixyChamber/scripts.inc7
-rw-r--r--data/maps/SevenIsland_TanobyRuins_ScufibChamber/map.json27
-rw-r--r--data/maps/SevenIsland_TanobyRuins_ScufibChamber/scripts.inc7
-rw-r--r--data/maps/SevenIsland_TanobyRuins_ViapoisChamber/map.json27
-rw-r--r--data/maps/SevenIsland_TanobyRuins_ViapoisChamber/scripts.inc7
-rw-r--r--data/maps/SevenIsland_TanobyRuins_WeepthChamber/map.json27
-rw-r--r--data/maps/SevenIsland_TanobyRuins_WeepthChamber/scripts.inc7
-rw-r--r--data/maps/SevenIsland_TrainerTower/map.json102
-rw-r--r--data/maps/SevenIsland_TrainerTower/scripts.inc17
-rw-r--r--data/maps/SevenIsland_TrainerTower_1F/map.json128
-rw-r--r--data/maps/SevenIsland_TrainerTower_1F/scripts.inc60
-rw-r--r--data/maps/SevenIsland_TrainerTower_2F/map.json135
-rw-r--r--data/maps/SevenIsland_TrainerTower_2F/scripts.inc25
-rw-r--r--data/maps/SevenIsland_TrainerTower_3F/map.json135
-rw-r--r--data/maps/SevenIsland_TrainerTower_3F/scripts.inc25
-rw-r--r--data/maps/SevenIsland_TrainerTower_4F/map.json135
-rw-r--r--data/maps/SevenIsland_TrainerTower_4F/scripts.inc25
-rw-r--r--data/maps/SevenIsland_TrainerTower_5F/map.json135
-rw-r--r--data/maps/SevenIsland_TrainerTower_5F/scripts.inc25
-rw-r--r--data/maps/SevenIsland_TrainerTower_6F/map.json135
-rw-r--r--data/maps/SevenIsland_TrainerTower_6F/scripts.inc25
-rw-r--r--data/maps/SevenIsland_TrainerTower_7F/map.json135
-rw-r--r--data/maps/SevenIsland_TrainerTower_7F/scripts.inc25
-rw-r--r--data/maps/SevenIsland_TrainerTower_8F/map.json135
-rw-r--r--data/maps/SevenIsland_TrainerTower_8F/scripts.inc25
-rw-r--r--data/maps/SevenIsland_TrainerTower_Elevator/map.json35
-rw-r--r--data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc87
-rw-r--r--data/maps/SevenIsland_TrainerTower_Lobby/map.json125
-rw-r--r--data/maps/SevenIsland_TrainerTower_Lobby/scripts.inc263
-rw-r--r--data/maps/SevenIsland_TrainerTower_Roof/map.json48
-rw-r--r--data/maps/SevenIsland_TrainerTower_Roof/scripts.inc8
-rw-r--r--data/maps/SilphCo_10F/map.json186
-rw-r--r--data/maps/SilphCo_10F/scripts.inc41
-rw-r--r--data/maps/SilphCo_11F/map.json184
-rw-r--r--data/maps/SilphCo_11F/scripts.inc160
-rw-r--r--data/maps/SilphCo_1F/map.json77
-rw-r--r--data/maps/SilphCo_1F/scripts.inc17
-rw-r--r--data/maps/SilphCo_2F/map.json208
-rw-r--r--data/maps/SilphCo_2F/scripts.inc45
-rw-r--r--data/maps/SilphCo_3F/map.json216
-rw-r--r--data/maps/SilphCo_3F/scripts.inc43
-rw-r--r--data/maps/SilphCo_4F/map.json247
-rw-r--r--data/maps/SilphCo_4F/scripts.inc49
-rw-r--r--data/maps/SilphCo_5F/map.json318
-rw-r--r--data/maps/SilphCo_5F/scripts.inc72
-rw-r--r--data/maps/SilphCo_6F/map.json231
-rw-r--r--data/maps/SilphCo_6F/scripts.inc111
-rw-r--r--data/maps/SilphCo_7F/map.json326
-rw-r--r--data/maps/SilphCo_7F/scripts.inc282
-rw-r--r--data/maps/SilphCo_8F/map.json193
-rw-r--r--data/maps/SilphCo_8F/scripts.inc47
-rw-r--r--data/maps/SilphCo_9F/map.json246
-rw-r--r--data/maps/SilphCo_9F/scripts.inc57
-rw-r--r--data/maps/SilphCo_Elevator/map.json35
-rw-r--r--data/maps/SilphCo_Elevator/scripts.inc190
-rw-r--r--data/maps/SixIsland/map.json98
-rw-r--r--data/maps/SixIsland/scripts.inc22
-rw-r--r--data/maps/SixIsland_AlteringCave/map.json27
-rw-r--r--data/maps/SixIsland_AlteringCave/scripts.inc7
-rw-r--r--data/maps/SixIsland_DottedHole_1F/map.json48
-rw-r--r--data/maps/SixIsland_DottedHole_1F/scripts.inc35
-rw-r--r--data/maps/SixIsland_DottedHole_B1F/map.json63
-rw-r--r--data/maps/SixIsland_DottedHole_B1F/scripts.inc2
-rw-r--r--data/maps/SixIsland_DottedHole_B2F/map.json63
-rw-r--r--data/maps/SixIsland_DottedHole_B2F/scripts.inc2
-rw-r--r--data/maps/SixIsland_DottedHole_B3F/map.json63
-rw-r--r--data/maps/SixIsland_DottedHole_B3F/scripts.inc2
-rw-r--r--data/maps/SixIsland_DottedHole_B4F/map.json63
-rw-r--r--data/maps/SixIsland_DottedHole_B4F/scripts.inc2
-rw-r--r--data/maps/SixIsland_DottedHole_SapphireRoom/map.json69
-rw-r--r--data/maps/SixIsland_DottedHole_SapphireRoom/scripts.inc306
-rw-r--r--data/maps/SixIsland_GreenPath/map.json97
-rw-r--r--data/maps/SixIsland_GreenPath/scripts.inc12
-rw-r--r--data/maps/SixIsland_Harbor/map.json54
-rw-r--r--data/maps/SixIsland_Harbor/scripts.inc11
-rw-r--r--data/maps/SixIsland_House/map.json41
-rw-r--r--data/maps/SixIsland_House/scripts.inc7
-rw-r--r--data/maps/SixIsland_Mart/map.json67
-rw-r--r--data/maps/SixIsland_Mart/scripts.inc35
-rw-r--r--data/maps/SixIsland_OutcastIsland/map.json144
-rw-r--r--data/maps/SixIsland_OutcastIsland/scripts.inc8
-rw-r--r--data/maps/SixIsland_PatternBush/map.json219
-rw-r--r--data/maps/SixIsland_PatternBush/scripts.inc92
-rw-r--r--data/maps/SixIsland_PokemonCenter_1F/map.json87
-rw-r--r--data/maps/SixIsland_PokemonCenter_1F/scripts.inc82
-rw-r--r--data/maps/SixIsland_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/SixIsland_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/SixIsland_RuinValley/map.json263
-rw-r--r--data/maps/SixIsland_RuinValley/scripts.inc52
-rw-r--r--data/maps/SixIsland_WaterPath/map.json210
-rw-r--r--data/maps/SixIsland_WaterPath/scripts.inc12
-rw-r--r--data/maps/SixIsland_WaterPath_House1/map.json49
-rw-r--r--data/maps/SixIsland_WaterPath_House1/scripts.inc101
-rw-r--r--data/maps/SixIsland_WaterPath_House2/map.json41
-rw-r--r--data/maps/SixIsland_WaterPath_House2/scripts.inc7
-rw-r--r--data/maps/ThreeIsland/map.json371
-rw-r--r--data/maps/ThreeIsland/scripts.inc443
-rw-r--r--data/maps/ThreeIsland_BerryForest/map.json356
-rw-r--r--data/maps/ThreeIsland_BerryForest/scripts.inc74
-rw-r--r--data/maps/ThreeIsland_BondBridge/map.json200
-rw-r--r--data/maps/ThreeIsland_BondBridge/scripts.inc12
-rw-r--r--data/maps/ThreeIsland_DunsparceTunnel/map.json58
-rw-r--r--data/maps/ThreeIsland_DunsparceTunnel/scripts.inc62
-rw-r--r--data/maps/ThreeIsland_Harbor/map.json54
-rw-r--r--data/maps/ThreeIsland_Harbor/scripts.inc11
-rw-r--r--data/maps/ThreeIsland_House1/map.json49
-rw-r--r--data/maps/ThreeIsland_House1/scripts.inc16
-rw-r--r--data/maps/ThreeIsland_House2/map.json54
-rw-r--r--data/maps/ThreeIsland_House2/scripts.inc18
-rw-r--r--data/maps/ThreeIsland_House3/map.json41
-rw-r--r--data/maps/ThreeIsland_House3/scripts.inc7
-rw-r--r--data/maps/ThreeIsland_House4/map.json54
-rw-r--r--data/maps/ThreeIsland_House4/scripts.inc12
-rw-r--r--data/maps/ThreeIsland_House5/map.json41
-rw-r--r--data/maps/ThreeIsland_House5/scripts.inc18
-rw-r--r--data/maps/ThreeIsland_Mart/map.json80
-rw-r--r--data/maps/ThreeIsland_Mart/scripts.inc43
-rw-r--r--data/maps/ThreeIsland_PokemonCenter_1F/map.json87
-rw-r--r--data/maps/ThreeIsland_PokemonCenter_1F/scripts.inc30
-rw-r--r--data/maps/ThreeIsland_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/ThreeIsland_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/ThreeIsland_Port/map.json87
-rw-r--r--data/maps/ThreeIsland_Port/scripts.inc44
-rw-r--r--data/maps/TwoIsland/map.json194
-rw-r--r--data/maps/TwoIsland/scripts.inc254
-rw-r--r--data/maps/TwoIsland_CapeBrink/map.json52
-rw-r--r--data/maps/TwoIsland_CapeBrink/scripts.inc2
-rw-r--r--data/maps/TwoIsland_CapeBrink_House/map.json41
-rw-r--r--data/maps/TwoIsland_CapeBrink_House/scripts.inc2
-rw-r--r--data/maps/TwoIsland_Harbor/map.json54
-rw-r--r--data/maps/TwoIsland_Harbor/scripts.inc11
-rw-r--r--data/maps/TwoIsland_House/map.json41
-rw-r--r--data/maps/TwoIsland_House/scripts.inc143
-rw-r--r--data/maps/TwoIsland_JoyfulGameCorner/map.json95
-rw-r--r--data/maps/TwoIsland_JoyfulGameCorner/scripts.inc216
-rw-r--r--data/maps/TwoIsland_PokemonCenter_1F/map.json74
-rw-r--r--data/maps/TwoIsland_PokemonCenter_1F/scripts.inc25
-rw-r--r--data/maps/TwoIsland_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/TwoIsland_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/UndergroundPath_EastEntrance/map.json62
-rw-r--r--data/maps/UndergroundPath_EastEntrance/scripts.inc7
-rw-r--r--data/maps/UndergroundPath_EastWestTunnel/map.json98
-rw-r--r--data/maps/UndergroundPath_EastWestTunnel/scripts.inc7
-rw-r--r--data/maps/UndergroundPath_NorthEntrance/map.json62
-rw-r--r--data/maps/UndergroundPath_NorthEntrance/scripts.inc45
-rw-r--r--data/maps/UndergroundPath_NorthSouthTunnel/map.json98
-rw-r--r--data/maps/UndergroundPath_NorthSouthTunnel/scripts.inc7
-rw-r--r--data/maps/UndergroundPath_SouthEntrance/map.json62
-rw-r--r--data/maps/UndergroundPath_SouthEntrance/scripts.inc7
-rw-r--r--data/maps/UndergroundPath_WestEntrance/map.json62
-rw-r--r--data/maps/UndergroundPath_WestEntrance/scripts.inc7
-rw-r--r--data/maps/UnknownMap_00_00/map.json67
-rw-r--r--data/maps/UnknownMap_00_00/scripts.inc2
-rw-r--r--data/maps/UnknownMap_00_01/map.json67
-rw-r--r--data/maps/UnknownMap_00_01/scripts.inc2
-rw-r--r--data/maps/UnknownMap_00_02/map.json99
-rw-r--r--data/maps/UnknownMap_00_02/scripts.inc2
-rw-r--r--data/maps/UnknownMap_00_03/map.json85
-rw-r--r--data/maps/UnknownMap_00_03/scripts.inc2
-rw-r--r--data/maps/UnknownMap_00_04/map.json145
-rw-r--r--data/maps/UnknownMap_00_04/scripts.inc106
-rw-r--r--data/maps/UnknownMap_03_50/map.json25
-rw-r--r--data/maps/UnknownMap_03_50/scripts.inc2
-rw-r--r--data/maps/UnknownMap_03_51/map.json25
-rw-r--r--data/maps/UnknownMap_03_51/scripts.inc2
-rw-r--r--data/maps/UnknownMap_03_52/map.json19
-rw-r--r--data/maps/UnknownMap_03_52/scripts.inc2
-rw-r--r--data/maps/UnknownMap_03_53/map.json19
-rw-r--r--data/maps/UnknownMap_03_53/scripts.inc2
-rw-r--r--data/maps/UnknownMap_18_01/map.json19
-rw-r--r--data/maps/UnknownMap_18_01/scripts.inc2
-rw-r--r--data/maps/UnusedHouse_27_00/map.json19
-rw-r--r--data/maps/UnusedHouse_27_00/scripts.inc2
-rw-r--r--data/maps/UnusedHouse_29_00/map.json19
-rw-r--r--data/maps/UnusedHouse_29_00/scripts.inc2
-rw-r--r--data/maps/UnusedHouse_31_05/map.json19
-rw-r--r--data/maps/UnusedHouse_31_05/scripts.inc2
-rw-r--r--data/maps/VermilionCity/map.json288
-rw-r--r--data/maps/VermilionCity/scripts.inc330
-rw-r--r--data/maps/VermilionCity_Gym/map.json227
-rw-r--r--data/maps/VermilionCity_Gym/scripts.inc329
-rw-r--r--data/maps/VermilionCity_House1/map.json55
-rw-r--r--data/maps/VermilionCity_House1/scripts.inc46
-rw-r--r--data/maps/VermilionCity_House2/map.json55
-rw-r--r--data/maps/VermilionCity_House2/scripts.inc1
-rw-r--r--data/maps/VermilionCity_House3/map.json102
-rw-r--r--data/maps/VermilionCity_House3/scripts.inc28
-rw-r--r--data/maps/VermilionCity_Mart/map.json81
-rw-r--r--data/maps/VermilionCity_Mart/scripts.inc39
-rw-r--r--data/maps/VermilionCity_PokemonCenter_1F/map.json140
-rw-r--r--data/maps/VermilionCity_PokemonCenter_1F/scripts.inc30
-rw-r--r--data/maps/VermilionCity_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/VermilionCity_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/VermilionCity_PokemonFanClub/map.json135
-rw-r--r--data/maps/VermilionCity_PokemonFanClub/scripts.inc191
-rw-r--r--data/maps/VictoryRoad_1F/map.json155
-rw-r--r--data/maps/VictoryRoad_1F/scripts.inc48
-rw-r--r--data/maps/VictoryRoad_2F/map.json272
-rw-r--r--data/maps/VictoryRoad_2F/scripts.inc86
-rw-r--r--data/maps/VictoryRoad_3F/map.json222
-rw-r--r--data/maps/VictoryRoad_3F/scripts.inc68
-rw-r--r--data/maps/ViridianCity/map.json262
-rw-r--r--data/maps/ViridianCity/scripts.inc284
-rw-r--r--data/maps/ViridianCity_Gym/map.json196
-rw-r--r--data/maps/ViridianCity_Gym/scripts.inc137
-rw-r--r--data/maps/ViridianCity_House1/map.json89
-rw-r--r--data/maps/ViridianCity_House1/scripts.inc28
-rw-r--r--data/maps/ViridianCity_House2/map.json104
-rw-r--r--data/maps/ViridianCity_House2/scripts.inc120
-rw-r--r--data/maps/ViridianCity_Mart/map.json81
-rw-r--r--data/maps/ViridianCity_Mart/scripts.inc100
-rw-r--r--data/maps/ViridianCity_PokemonCenter_1F/map.json101
-rw-r--r--data/maps/ViridianCity_PokemonCenter_1F/scripts.inc30
-rw-r--r--data/maps/ViridianCity_PokemonCenter_2F/map.json94
-rw-r--r--data/maps/ViridianCity_PokemonCenter_2F/scripts.inc18
-rw-r--r--data/maps/ViridianForest/map.json267
-rw-r--r--data/maps/ViridianForest/scripts.inc77
-rw-r--r--data/maps/groups.inc4380
-rw-r--r--data/maps/map_groups.json623
-rw-r--r--data/text/fame_checker.inc18
-rw-r--r--data/tilesets.s8
-rw-r--r--data/tilesets/graphics.inc1471
-rw-r--r--data/tilesets/headers.inc749
-rw-r--r--data/tilesets/metatiles.inc543
-rw-r--r--data/tilesets/primary/82D4A94/metatile_attributes.binbin0 -> 2560 bytes
-rw-r--r--data/tilesets/primary/82D4A94/metatiles.binbin0 -> 10240 bytes
-rw-r--r--data/tilesets/primary/82D4A94/palettes/0.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/1.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/10.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/11.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/12.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/13.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/14.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/15.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/2.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/3.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/4.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/5.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/6.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/7.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/8.pal19
-rw-r--r--data/tilesets/primary/82D4A94/palettes/9.pal19
-rw-r--r--data/tilesets/primary/82D4A94/tiles.pngbin0 -> 8671 bytes
-rw-r--r--data/tilesets/primary/82D4BB4/metatile_attributes.binbin0 -> 2560 bytes
-rw-r--r--data/tilesets/primary/82D4BB4/metatiles.binbin0 -> 10240 bytes
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/0.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/1.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/10.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/11.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/12.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/13.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/14.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/15.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/2.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/3.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/4.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/5.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/6.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/7.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/8.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/palettes/9.pal19
-rw-r--r--data/tilesets/primary/82D4BB4/tiles.pngbin0 -> 7011 bytes
-rw-r--r--data/tilesets/secondary/82D4AAC/metatile_attributes.binbin0 -> 356 bytes
-rw-r--r--data/tilesets/secondary/82D4AAC/metatiles.binbin0 -> 1424 bytes
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4AAC/tiles.pngbin0 -> 929 bytes
-rw-r--r--data/tilesets/secondary/82D4AC4/metatile_attributes.binbin0 -> 380 bytes
-rw-r--r--data/tilesets/secondary/82D4AC4/metatiles.binbin0 -> 1520 bytes
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4AC4/tiles.pngbin0 -> 1268 bytes
-rw-r--r--data/tilesets/secondary/82D4ADC/metatile_attributes.binbin0 -> 316 bytes
-rw-r--r--data/tilesets/secondary/82D4ADC/metatiles.binbin0 -> 1264 bytes
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4ADC/tiles.pngbin0 -> 1348 bytes
-rw-r--r--data/tilesets/secondary/82D4AF4/metatile_attributes.binbin0 -> 536 bytes
-rw-r--r--data/tilesets/secondary/82D4AF4/metatiles.binbin0 -> 2144 bytes
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4AF4/tiles.pngbin0 -> 1604 bytes
-rw-r--r--data/tilesets/secondary/82D4B0C/metatile_attributes.binbin0 -> 872 bytes
-rw-r--r--data/tilesets/secondary/82D4B0C/metatiles.binbin0 -> 3488 bytes
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4B0C/tiles.pngbin0 -> 2688 bytes
-rw-r--r--data/tilesets/secondary/82D4B24/metatile_attributes.binbin0 -> 672 bytes
-rw-r--r--data/tilesets/secondary/82D4B24/metatiles.binbin0 -> 2688 bytes
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4B24/tiles.pngbin0 -> 1380 bytes
-rw-r--r--data/tilesets/secondary/82D4B3C/metatile_attributes.binbin0 -> 960 bytes
-rw-r--r--data/tilesets/secondary/82D4B3C/metatiles.binbin0 -> 3840 bytes
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4B3C/tiles.pngbin0 -> 2580 bytes
-rw-r--r--data/tilesets/secondary/82D4B54/metatile_attributes.binbin0 -> 768 bytes
-rw-r--r--data/tilesets/secondary/82D4B54/metatiles.binbin0 -> 3072 bytes
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4B54/tiles.pngbin0 -> 2453 bytes
-rw-r--r--data/tilesets/secondary/82D4B6C/metatile_attributes.binbin0 -> 256 bytes
-rw-r--r--data/tilesets/secondary/82D4B6C/metatiles.binbin0 -> 1024 bytes
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4B6C/tiles.pngbin0 -> 1374 bytes
-rw-r--r--data/tilesets/secondary/82D4B84/metatile_attributes.binbin0 -> 704 bytes
-rw-r--r--data/tilesets/secondary/82D4B84/metatiles.binbin0 -> 2816 bytes
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4B84/tiles.pngbin0 -> 2544 bytes
-rw-r--r--data/tilesets/secondary/82D4B9C/metatile_attributes.binbin0 -> 800 bytes
-rw-r--r--data/tilesets/secondary/82D4B9C/metatiles.binbin0 -> 3200 bytes
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4B9C/tiles.pngbin0 -> 2377 bytes
-rw-r--r--data/tilesets/secondary/82D4BCC/metatile_attributes.binbin0 -> 268 bytes
-rw-r--r--data/tilesets/secondary/82D4BCC/metatiles.binbin0 -> 1072 bytes
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4BCC/tiles.pngbin0 -> 438 bytes
-rw-r--r--data/tilesets/secondary/82D4BE4/metatile_attributes.binbin0 -> 1020 bytes
-rw-r--r--data/tilesets/secondary/82D4BE4/metatiles.binbin0 -> 4080 bytes
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4BE4/tiles.pngbin0 -> 3390 bytes
-rw-r--r--data/tilesets/secondary/82D4BFC/metatile_attributes.binbin0 -> 644 bytes
-rw-r--r--data/tilesets/secondary/82D4BFC/metatiles.binbin0 -> 2576 bytes
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4BFC/tiles.pngbin0 -> 4193 bytes
-rw-r--r--data/tilesets/secondary/82D4C14/metatile_attributes.binbin0 -> 8 bytes
-rw-r--r--data/tilesets/secondary/82D4C14/metatiles.binbin0 -> 32 bytes
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4C14/tiles.pngbin0 -> 135 bytes
-rw-r--r--data/tilesets/secondary/82D4C2C/metatile_attributes.binbin0 -> 540 bytes
-rw-r--r--data/tilesets/secondary/82D4C2C/metatiles.binbin0 -> 2160 bytes
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4C2C/tiles.pngbin0 -> 1808 bytes
-rw-r--r--data/tilesets/secondary/82D4C44/metatile_attributes.binbin0 -> 1024 bytes
-rw-r--r--data/tilesets/secondary/82D4C44/metatiles.binbin0 -> 4096 bytes
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4C44/tiles.pngbin0 -> 2667 bytes
-rw-r--r--data/tilesets/secondary/82D4C5C/metatile_attributes.binbin0 -> 168 bytes
-rw-r--r--data/tilesets/secondary/82D4C5C/metatiles.binbin0 -> 672 bytes
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4C5C/tiles.pngbin0 -> 855 bytes
-rw-r--r--data/tilesets/secondary/82D4C74/metatile_attributes.binbin0 -> 96 bytes
-rw-r--r--data/tilesets/secondary/82D4C74/metatiles.binbin0 -> 384 bytes
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4C74/tiles.pngbin0 -> 748 bytes
-rw-r--r--data/tilesets/secondary/82D4C8C/metatile_attributes.binbin0 -> 700 bytes
-rw-r--r--data/tilesets/secondary/82D4C8C/metatiles.binbin0 -> 2800 bytes
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4C8C/tiles.pngbin0 -> 1308 bytes
-rw-r--r--data/tilesets/secondary/82D4CA4/metatile_attributes.binbin0 -> 136 bytes
-rw-r--r--data/tilesets/secondary/82D4CA4/metatiles.binbin0 -> 544 bytes
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4CA4/tiles.pngbin0 -> 933 bytes
-rw-r--r--data/tilesets/secondary/82D4CBC/metatile_attributes.binbin0 -> 336 bytes
-rw-r--r--data/tilesets/secondary/82D4CBC/metatiles.binbin0 -> 1344 bytes
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4CBC/tiles.pngbin0 -> 860 bytes
-rw-r--r--data/tilesets/secondary/82D4CD4/metatile_attributes.binbin0 -> 2048 bytes
-rw-r--r--data/tilesets/secondary/82D4CD4/metatiles.binbin0 -> 8192 bytes
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4CD4/tiles.pngbin0 -> 4040 bytes
-rw-r--r--data/tilesets/secondary/82D4CEC/metatile_attributes.binbin0 -> 608 bytes
-rw-r--r--data/tilesets/secondary/82D4CEC/metatiles.binbin0 -> 2432 bytes
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4CEC/tiles.pngbin0 -> 2018 bytes
-rw-r--r--data/tilesets/secondary/82D4D04/metatile_attributes.binbin0 -> 404 bytes
-rw-r--r--data/tilesets/secondary/82D4D04/metatiles.binbin0 -> 1616 bytes
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4D04/tiles.pngbin0 -> 1589 bytes
-rw-r--r--data/tilesets/secondary/82D4D1C/metatile_attributes.binbin0 -> 336 bytes
-rw-r--r--data/tilesets/secondary/82D4D1C/metatiles.binbin0 -> 1344 bytes
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4D1C/tiles.pngbin0 -> 892 bytes
-rw-r--r--data/tilesets/secondary/82D4D34/metatile_attributes.binbin0 -> 300 bytes
-rw-r--r--data/tilesets/secondary/82D4D34/metatiles.binbin0 -> 1200 bytes
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4D34/tiles.pngbin0 -> 1207 bytes
-rw-r--r--data/tilesets/secondary/82D4D4C/metatile_attributes.binbin0 -> 256 bytes
-rw-r--r--data/tilesets/secondary/82D4D4C/metatiles.binbin0 -> 1024 bytes
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4D4C/tiles.pngbin0 -> 1253 bytes
-rw-r--r--data/tilesets/secondary/82D4D64/metatile_attributes.binbin0 -> 184 bytes
-rw-r--r--data/tilesets/secondary/82D4D64/metatiles.binbin0 -> 736 bytes
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4D64/tiles.pngbin0 -> 860 bytes
-rw-r--r--data/tilesets/secondary/82D4D7C/metatile_attributes.binbin0 -> 384 bytes
-rw-r--r--data/tilesets/secondary/82D4D7C/metatiles.binbin0 -> 1536 bytes
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4D7C/tiles.pngbin0 -> 1318 bytes
-rw-r--r--data/tilesets/secondary/82D4D94/metatile_attributes.binbin0 -> 1344 bytes
-rw-r--r--data/tilesets/secondary/82D4D94/metatiles.binbin0 -> 5376 bytes
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4D94/tiles.pngbin0 -> 2996 bytes
-rw-r--r--data/tilesets/secondary/82D4DAC/metatile_attributes.binbin0 -> 8 bytes
-rw-r--r--data/tilesets/secondary/82D4DAC/metatiles.binbin0 -> 32 bytes
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4DAC/tiles.pngbin0 -> 139 bytes
-rw-r--r--data/tilesets/secondary/82D4DC4/metatile_attributes.binbin0 -> 172 bytes
-rw-r--r--data/tilesets/secondary/82D4DC4/metatiles.binbin0 -> 688 bytes
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4DC4/tiles.pngbin0 -> 948 bytes
-rw-r--r--data/tilesets/secondary/82D4DDC/metatile_attributes.binbin0 -> 456 bytes
-rw-r--r--data/tilesets/secondary/82D4DDC/metatiles.binbin0 -> 1824 bytes
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4DDC/tiles.pngbin0 -> 1218 bytes
-rw-r--r--data/tilesets/secondary/82D4DF4/metatile_attributes.binbin0 -> 608 bytes
-rw-r--r--data/tilesets/secondary/82D4DF4/metatiles.binbin0 -> 2432 bytes
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4DF4/tiles.pngbin0 -> 3821 bytes
-rw-r--r--data/tilesets/secondary/82D4E0C/metatile_attributes.binbin0 -> 628 bytes
-rw-r--r--data/tilesets/secondary/82D4E0C/metatiles.binbin0 -> 2512 bytes
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4E0C/tiles.pngbin0 -> 3623 bytes
-rw-r--r--data/tilesets/secondary/82D4E24/metatile_attributes.binbin0 -> 992 bytes
-rw-r--r--data/tilesets/secondary/82D4E24/metatiles.binbin0 -> 3968 bytes
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4E24/tiles.pngbin0 -> 4982 bytes
-rw-r--r--data/tilesets/secondary/82D4E3C/metatile_attributes.binbin0 -> 456 bytes
-rw-r--r--data/tilesets/secondary/82D4E3C/metatiles.binbin0 -> 1824 bytes
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4E3C/tiles.pngbin0 -> 1218 bytes
-rw-r--r--data/tilesets/secondary/82D4E54/metatile_attributes.binbin0 -> 536 bytes
-rw-r--r--data/tilesets/secondary/82D4E54/metatiles.binbin0 -> 2144 bytes
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4E54/tiles.pngbin0 -> 3360 bytes
-rw-r--r--data/tilesets/secondary/82D4E6C/metatile_attributes.binbin0 -> 984 bytes
-rw-r--r--data/tilesets/secondary/82D4E6C/metatiles.binbin0 -> 3936 bytes
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4E6C/tiles.pngbin0 -> 2189 bytes
-rw-r--r--data/tilesets/secondary/82D4E84/metatile_attributes.binbin0 -> 736 bytes
-rw-r--r--data/tilesets/secondary/82D4E84/metatiles.binbin0 -> 2944 bytes
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4E84/tiles.pngbin0 -> 1407 bytes
-rw-r--r--data/tilesets/secondary/82D4E9C/metatile_attributes.binbin0 -> 612 bytes
-rw-r--r--data/tilesets/secondary/82D4E9C/metatiles.binbin0 -> 2448 bytes
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4E9C/tiles.pngbin0 -> 1037 bytes
-rw-r--r--data/tilesets/secondary/82D4EB4/metatile_attributes.binbin0 -> 236 bytes
-rw-r--r--data/tilesets/secondary/82D4EB4/metatiles.binbin0 -> 944 bytes
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4EB4/tiles.pngbin0 -> 1075 bytes
-rw-r--r--data/tilesets/secondary/82D4ECC/metatile_attributes.binbin0 -> 1512 bytes
-rw-r--r--data/tilesets/secondary/82D4ECC/metatiles.binbin0 -> 6048 bytes
-rw-r--r--data/tilesets/secondary/82D4EE4/metatile_attributes.binbin0 -> 288 bytes
-rw-r--r--data/tilesets/secondary/82D4EE4/metatiles.binbin0 -> 1152 bytes
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4EE4/tiles.pngbin0 -> 708 bytes
-rw-r--r--data/tilesets/secondary/82D4EFC/metatile_attributes.binbin0 -> 404 bytes
-rw-r--r--data/tilesets/secondary/82D4EFC/metatiles.binbin0 -> 1616 bytes
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4EFC/tiles.pngbin0 -> 1458 bytes
-rw-r--r--data/tilesets/secondary/82D4F14/metatile_attributes.binbin0 -> 512 bytes
-rw-r--r--data/tilesets/secondary/82D4F14/metatiles.binbin0 -> 2048 bytes
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4F14/tiles.pngbin0 -> 899 bytes
-rw-r--r--data/tilesets/secondary/82D4F2C/metatile_attributes.binbin0 -> 1032 bytes
-rw-r--r--data/tilesets/secondary/82D4F2C/metatiles.binbin0 -> 4128 bytes
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4F2C/tiles.pngbin0 -> 2508 bytes
-rw-r--r--data/tilesets/secondary/82D4F44/metatile_attributes.binbin0 -> 416 bytes
-rw-r--r--data/tilesets/secondary/82D4F44/metatiles.binbin0 -> 1664 bytes
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4F44/tiles.pngbin0 -> 975 bytes
-rw-r--r--data/tilesets/secondary/82D4F5C/metatile_attributes.binbin0 -> 184 bytes
-rw-r--r--data/tilesets/secondary/82D4F5C/metatiles.binbin0 -> 736 bytes
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4F5C/tiles.pngbin0 -> 610 bytes
-rw-r--r--data/tilesets/secondary/82D4F74/metatile_attributes.binbin0 -> 680 bytes
-rw-r--r--data/tilesets/secondary/82D4F74/metatiles.binbin0 -> 2720 bytes
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4F74/tiles.pngbin0 -> 994 bytes
-rw-r--r--data/tilesets/secondary/82D4F8C/metatile_attributes.binbin0 -> 860 bytes
-rw-r--r--data/tilesets/secondary/82D4F8C/metatiles.binbin0 -> 3440 bytes
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4F8C/tiles.pngbin0 -> 3737 bytes
-rw-r--r--data/tilesets/secondary/82D4FA4/metatile_attributes.binbin0 -> 228 bytes
-rw-r--r--data/tilesets/secondary/82D4FA4/metatiles.binbin0 -> 912 bytes
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4FA4/tiles.pngbin0 -> 1994 bytes
-rw-r--r--data/tilesets/secondary/82D4FBC/metatile_attributes.binbin0 -> 8 bytes
-rw-r--r--data/tilesets/secondary/82D4FBC/metatiles.binbin0 -> 32 bytes
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4FBC/tiles.pngbin0 -> 136 bytes
-rw-r--r--data/tilesets/secondary/82D4FD4/metatile_attributes.binbin0 -> 8 bytes
-rw-r--r--data/tilesets/secondary/82D4FD4/metatiles.binbin0 -> 32 bytes
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4FD4/tiles.pngbin0 -> 138 bytes
-rw-r--r--data/tilesets/secondary/82D4FEC/metatile_attributes.binbin0 -> 904 bytes
-rw-r--r--data/tilesets/secondary/82D4FEC/metatiles.binbin0 -> 3616 bytes
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D4FEC/tiles.pngbin0 -> 4541 bytes
-rw-r--r--data/tilesets/secondary/82D5004/metatile_attributes.binbin0 -> 168 bytes
-rw-r--r--data/tilesets/secondary/82D5004/metatiles.binbin0 -> 672 bytes
-rw-r--r--data/tilesets/secondary/82D5004/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D5004/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D5004/tiles.pngbin0 -> 986 bytes
-rw-r--r--data/tilesets/secondary/82D501C/metatile_attributes.binbin0 -> 880 bytes
-rw-r--r--data/tilesets/secondary/82D501C/metatiles.binbin0 -> 3520 bytes
-rw-r--r--data/tilesets/secondary/82D501C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D501C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D501C/tiles.pngbin0 -> 4217 bytes
-rw-r--r--data/tilesets/secondary/82D5034/metatile_attributes.binbin0 -> 376 bytes
-rw-r--r--data/tilesets/secondary/82D5034/metatiles.binbin0 -> 1504 bytes
-rw-r--r--data/tilesets/secondary/82D5034/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D5034/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D5034/tiles.pngbin0 -> 986 bytes
-rw-r--r--data/tilesets/secondary/82D504C/metatile_attributes.binbin0 -> 1140 bytes
-rw-r--r--data/tilesets/secondary/82D504C/metatiles.binbin0 -> 4560 bytes
-rw-r--r--data/tilesets/secondary/82D504C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D504C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D504C/tiles.pngbin0 -> 2574 bytes
-rw-r--r--data/tilesets/secondary/82D5064/metatile_attributes.binbin0 -> 608 bytes
-rw-r--r--data/tilesets/secondary/82D5064/metatiles.binbin0 -> 2432 bytes
-rw-r--r--data/tilesets/secondary/82D5064/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D5064/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D5064/tiles.pngbin0 -> 2286 bytes
-rw-r--r--data/tilesets/secondary/82D507C/metatile_attributes.binbin0 -> 960 bytes
-rw-r--r--data/tilesets/secondary/82D507C/metatiles.binbin0 -> 3840 bytes
-rw-r--r--data/tilesets/secondary/82D507C/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D507C/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D507C/tiles.pngbin0 -> 3132 bytes
-rw-r--r--data/tilesets/secondary/82D5094/metatile_attributes.binbin0 -> 1152 bytes
-rw-r--r--data/tilesets/secondary/82D5094/metatiles.binbin0 -> 4608 bytes
-rw-r--r--data/tilesets/secondary/82D5094/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D5094/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D5094/tiles.pngbin0 -> 3152 bytes
-rw-r--r--data/tilesets/secondary/82D50AC/metatile_attributes.binbin0 -> 316 bytes
-rw-r--r--data/tilesets/secondary/82D50AC/metatiles.binbin0 -> 1264 bytes
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D50AC/tiles.pngbin0 -> 1423 bytes
-rw-r--r--data/tilesets/secondary/82D50C4/metatile_attributes.binbin0 -> 1536 bytes
-rw-r--r--data/tilesets/secondary/82D50C4/metatiles.binbin0 -> 6144 bytes
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D50C4/tiles.pngbin0 -> 3165 bytes
-rw-r--r--data/tilesets/secondary/82D50DC/metatile_attributes.binbin0 -> 472 bytes
-rw-r--r--data/tilesets/secondary/82D50DC/metatiles.binbin0 -> 1888 bytes
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/0.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/1.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/10.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/11.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/12.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/13.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/14.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/15.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/2.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/3.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/4.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/5.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/6.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/7.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/8.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/palettes/9.pal19
-rw-r--r--data/tilesets/secondary/82D50DC/tiles.pngbin0 -> 1763 bytes
-rw-r--r--graphics_file_rules.mk192
-rw-r--r--include/constants/layouts.h370
-rw-r--r--include/constants/map_groups.h852
-rw-r--r--include/constants/maps.h42
-rw-r--r--ld_script.txt3
-rw-r--r--map_data_rules.mk32
-rw-r--r--src/seagallop.c22
-rw-r--r--tileset_rules.mk202
-rw-r--r--tools/mapjson/mapjson.cpp184
2894 files changed, 117633 insertions, 9958 deletions
diff --git a/.gitignore b/.gitignore
index 3e38a227e..da2cb317c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,3 +40,4 @@ build/
.idea/
*.DS_Store
*.pl
+*.bak
diff --git a/Makefile b/Makefile
index c037886a8..5f0b13ece 100644
--- a/Makefile
+++ b/Makefile
@@ -45,6 +45,7 @@ SCANINC := tools/scaninc/scaninc
PREPROC := tools/preproc/preproc
RAMSCRGEN := tools/ramscrgen/ramscrgen
FIX := tools/gbafix/gbafix
+MAPJSON := tools/mapjson/mapjson
# Clear the default suffixes
.SUFFIXES:
@@ -56,7 +57,7 @@ FIX := tools/gbafix/gbafix
# Secondary expansion is required for dependency variables in object rules.
.SECONDEXPANSION:
-.PHONY: rom clean compare tidy
+.PHONY: rom tools clean compare tidy
$(shell mkdir -p $(C_BUILDDIR) $(ASM_BUILDDIR) $(DATA_ASM_BUILDDIR) $(SONG_BUILDDIR))
@@ -75,6 +76,18 @@ SONG_OBJS := $(patsubst $(SONG_SUBDIR)/%.s,$(SONG_BUILDDIR)/%.o,$(SONG_SRCS))
OBJS := $(C_OBJS) $(ASM_OBJS) $(DATA_ASM_OBJS) $(SONG_OBJS)
OBJS_REL := $(patsubst $(OBJ_DIR)/%,%,$(OBJS))
+tools:
+ @$(MAKE) -C tools/gbagfx
+ @$(MAKE) -C tools/scaninc
+ @$(MAKE) -C tools/preproc
+ @$(MAKE) -C tools/bin2c
+ @$(MAKE) -C tools/rsfont
+ @$(MAKE) -C tools/aif2pcm
+ @$(MAKE) -C tools/ramscrgen
+ @$(MAKE) -C tools/mid2agb
+ @$(MAKE) -C tools/gbafix
+ @$(MAKE) -C tools/mapjson
+
rom: $(ROM)
# For contributors to make sure a change didn't affect the contents of the ROM.
@@ -85,6 +98,9 @@ clean: tidy
rm -f sound/direct_sound_samples/*.bin
rm -f $(SONG_OBJS)
find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.latfont' -o -iname '*.hwjpnfont' -o -iname '*.fwjpnfont' \) -exec rm {} +
+ rm -f $(DATA_ASM_SUBDIR)/layouts/layouts.inc $(DATA_ASM_SUBDIR)/layouts/layouts_table.inc
+ rm -f $(DATA_ASM_SUBDIR)/maps/connections.inc $(DATA_ASM_SUBDIR)/maps/events.inc $(DATA_ASM_SUBDIR)/maps/groups.inc $(DATA_ASM_SUBDIR)/maps/headers.inc
+ find $(DATA_ASM_SUBDIR)/maps \( -iname 'connections.inc' -o -iname 'events.inc' -o -iname 'header.inc' \) -exec rm {} +
@$(MAKE) -C berry_fix clean
tidy:
@@ -93,6 +109,8 @@ tidy:
@$(MAKE) -C berry_fix tidy
include graphics_file_rules.mk
+include tileset_rules.mk
+include map_data_rules.mk
%.s: ;
%.png: ;
@@ -150,7 +168,7 @@ $(DATA_ASM_BUILDDIR)/%.o: data_dep = $(shell $(SCANINC) -I . $(DATA_ASM_SUBDIR)/
endif
$(DATA_ASM_BUILDDIR)/%.o: $(DATA_ASM_SUBDIR)/%.s $$(data_dep)
- $(PREPROC) $< charmap.txt | $(CPP) -I include -nostdinc -undef - | $(AS) $(ASFLAGS) -o $@
+ $(PREPROC) $< charmap.txt | $(CPP) -I include -nostdinc -undef -Wno-unicode - | $(AS) $(ASFLAGS) -o $@
$(SONG_BUILDDIR)/%.o: $(SONG_SUBDIR)/%.s
$(AS) $(ASFLAGS) -I sound -o $@ $<
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index d805aecb5..11ec30d74 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -653,6 +653,9 @@
.4byte \pointer2 @ text
.4byte \pointer3 @ text
.4byte \pointer4 @ event script
+ .elseif \type == 9
+ .4byte \pointer1 @ text
+ .4byte \pointer2 @ text
.endif
.endm
@@ -824,8 +827,9 @@
.4byte \text
.endm
+ @ RENAMED!
@ Gives the player one of the specified (species) Pokmon at level level holding item. The unknown arguments should all be zeroes.
- .macro givepoke species, level, item, unknown1, unknown2, unknown3
+ .macro givemon species, level, item, unknown1, unknown2, unknown3
.byte 0x79
.2byte \species
.byte \level
@@ -840,7 +844,8 @@
.2byte \species
.endm
- .macro setpokemove byte1, byte2, word
+ @ RENAMED!
+ .macro setmonmove byte1, byte2, word
.byte 0x7b
.byte \byte1
.byte \byte2
@@ -860,14 +865,16 @@
.2byte \species
.endm
+ @ RENAMED!
@ Writes the name of the species of the first Pokémon in the player's party to the specified buffer.
- .macro getfirstpartypokename out
+ .macro getfirstpartymonname out
.byte 0x7e
.byte \out
.endm
+ @ RENAMED!
@ Writes the nickname of the Pokemon in slot slot (zero-indexed) of the player's party to the specified buffer. If an empty or invalid slot is specified, ten spaces ("") are written to the buffer.
- .macro getpartypokename out, slot
+ .macro getpartymonname out, slot
.byte 0x7f
.byte \out
.2byte \slot
@@ -1181,12 +1188,8 @@
.endm
@ In Emerald, this command consumes its parameters and does nothing. In FireRed, this command is a nop.
- .macro addelevmenuitem a, b, c, d
+ .macro addelevmenuitem
.byte 0xb1
- .byte \a
- .2byte \b
- .2byte \c
- .2byte \d
.endm
@ In FireRed and Emerald, this command is a nop.
diff --git a/asm/macros/map.inc b/asm/macros/map.inc
index 9c68e8414..075993fd3 100644
--- a/asm/macros/map.inc
+++ b/asm/macros/map.inc
@@ -14,13 +14,15 @@
.4byte \address
.endm
- .macro object_event byte1, word1, byte2, byte3, byte4, byte5, byte6, byte7, byte8, byte9, byte10, byte11, byte12, byte13, byte14, script, word2, byte15, byte16
- .byte \byte1
- .2byte \word1
- .byte \byte2, \byte3, \byte4, \byte5, \byte6, \byte7, \byte8, \byte9, \byte10, \byte11, \byte12, \byte13, \byte14
+ .macro object_event index:req, gfx:req, x:req, y:req, elevation:req, movement_type:req, x_radius:req, y_radius:req, trainer_type:req, sight_radius_tree_etc:req, script:req, event_flag:req
+ .byte \index
+ .2byte \gfx
+ .byte 0
+ .2byte \x, \y
+ .byte \elevation, \movement_type, ((\y_radius << 4) | \x_radius), 0
+ .2byte \trainer_type, \sight_radius_tree_etc
.4byte \script
- .2byte \word2
- .byte \byte15, \byte16
+ .2byte \event_flag, 0
inc _num_npcs
.endm
@@ -53,6 +55,10 @@
inc _num_signs
.endm
+ .macro bg_hidden_item_event x, y, height, item, flag, unknown
+ bg_event \x, \y, \height, 7, 0, \item, \flag, \unknown
+ .endm
+
.macro map_events npcs, warps, traps, signs
.byte _num_npcs, _num_warps, _num_traps, _num_signs
.4byte \npcs, \warps, \traps, \signs
diff --git a/asm/macros/movement.inc b/asm/macros/movement.inc
index 909b24916..ac7b6ea9f 100644
--- a/asm/macros/movement.inc
+++ b/asm/macros/movement.inc
@@ -5,7 +5,7 @@
.endm
.endm
- enum_start
+ enum_start 0
create_movement step_00
create_movement step_01
create_movement step_02
diff --git a/asm/overworld.s b/asm/overworld.s
index 9fb3a8564..4210aaa9d 100644
--- a/asm/overworld.s
+++ b/asm/overworld.s
@@ -722,7 +722,7 @@ get_mapdata_header: @ 8055170
.align 2, 0
_08055180: .4byte gSaveBlock1Ptr
_08055184:
- ldr r0, _08055194 @ =gUnknown_834EB8C
+ ldr r0, _08055194 @ =gMapLayouts
subs r1, 0x1
lsls r1, 2
adds r1, r0
@@ -731,7 +731,7 @@ _0805518E:
pop {r1}
bx r1
.align 2, 0
-_08055194: .4byte gUnknown_834EB8C
+_08055194: .4byte gMapLayouts
thumb_func_end get_mapdata_header
thumb_func_start warp_shift
diff --git a/asm/script_menu.s b/asm/script_menu.s
index e43045009..d917b5d5b 100644
--- a/asm/script_menu.s
+++ b/asm/script_menu.s
@@ -1732,7 +1732,7 @@ sub_809D6B0: @ 809D6B0
thumb_func_start sub_809D6D4
sub_809D6D4: @ 809D6D4
push {lr}
- ldr r0, _0809D74C @ =gUnknown_81A7AE0
+ ldr r0, _0809D74C @ =EventScript_1A7AE0
bl ScriptContext1_SetupScript
ldr r0, _0809D750 @ =sub_809D288
bl FindTaskIdByFunc
@@ -1788,7 +1788,7 @@ _0809D748:
pop {r0}
bx r0
.align 2, 0
-_0809D74C: .4byte gUnknown_81A7AE0
+_0809D74C: .4byte EventScript_1A7AE0
_0809D750: .4byte sub_809D288
_0809D754: .4byte gTasks+0x8
_0809D758: .4byte gSprites
diff --git a/asm/teachy_tv.s b/asm/teachy_tv.s
index b7875e7a9..482b5da60 100644
--- a/asm/teachy_tv.s
+++ b/asm/teachy_tv.s
@@ -2273,7 +2273,7 @@ sub_815BD80: @ 815BD80
str r0, [sp, 0x4]
movs r0, 0
str r0, [sp, 0x10]
- ldr r1, _0815BE1C @ =gUnknown_82E55CC
+ ldr r1, _0815BE1C @ =Route1_Layout
mov r8, r1
movs r0, 0x80
lsls r0, 4
@@ -2339,7 +2339,7 @@ _0815BDF0:
ldrh r0, [r6]
b _0815BE34
.align 2, 0
-_0815BE1C: .4byte gUnknown_82E55CC
+_0815BE1C: .4byte Route1_Layout
_0815BE20: .4byte 0x000003ff
_0815BE24:
adds r0, r3, 0x1
diff --git a/build_tools.sh b/build_tools.sh
index f384c2d99..212df96e7 100755
--- a/build_tools.sh
+++ b/build_tools.sh
@@ -7,3 +7,4 @@ make -C tools/preproc CXX=${1:-g++}
make -C tools/ramscrgen CXX=${1:-g++}
make -C tools/rsfont CXX=${1:-g++}
make -C tools/scaninc CXX=${1:-g++}
+make -C tools/mapjson CXX=${1:-g++}
diff --git a/constants/constants.inc b/constants/constants.inc
index 1ec25462f..4365e90e1 100644
--- a/constants/constants.inc
+++ b/constants/constants.inc
@@ -2,7 +2,7 @@
.include "constants/misc_constants.inc"
.include "constants/type_constants.inc"
.include "constants/contest_constants.inc"
- .include "constants/item_data_constants.inc"
+@ .include "constants/item_data_constants.inc"
.include "constants/battle_move_constants.inc"
.include "constants/trainer_constants.inc"
.include "constants/berry_constants.inc"
diff --git a/data/battle_anim.s b/data/battle_anim.s
index a3c58fb11..3fae69431 100644
--- a/data/battle_anim.s
+++ b/data/battle_anim.s
@@ -259,4 +259,4 @@ gUnknown_83AE054:: @ 83AE054
.incbin "baserom.gba", 0x3AE054, 0x30
gUnknown_83AE084:: @ 0x83AE084
- .incbin "baserom.gba", 0x3AE084, 0x58
+ .incbin "baserom.gba", 0x3AE084, 0x10
diff --git a/data/battle_anim_status_effects.s b/data/battle_anim_status_effects.s
index 6c0bd6e3f..738553830 100644
--- a/data/battle_anim_status_effects.s
+++ b/data/battle_anim_status_effects.s
@@ -1,6 +1,9 @@
.section .rodata
.align 2
+gUnknown_83BF3E0:: @ 83BF3DC
+ .incbin "baserom.gba", 0x3BF3E0, 0x174
+
gUnknown_83BF554:: @ 83BF554
.incbin "baserom.gba", 0x3BF554, 0x8
diff --git a/data/connections.s b/data/connections.s
deleted file mode 100644
index ec3eb9106..000000000
--- a/data/connections.s
+++ /dev/null
@@ -1,502 +0,0 @@
-#include "constants/maps.h"
- .include "asm/macros.inc"
-
- .section .rodata
-
-gUnknown_8352754:: @ 8352754
- connection up, 0, MAP_ROUTE1
- connection down, 0, MAP_ROUTE21_NORTH
-
-gMapConnections_PalletTown:: @ 835276C
- .4byte 2
- .4byte gUnknown_8352754
-
-gUnknown_8352774:: @ 8352774
- connection up, 12, MAP_ROUTE2
- connection down, 12, MAP_ROUTE1
- connection left, 10, MAP_ROUTE22
-
-gMapConnections_ViridianCity:: @ 8352798
- .4byte 3
- .4byte gUnknown_8352774
-
-gUnknown_83527A0:: @ 83527A0
- connection down, 12, MAP_ROUTE2
- connection right, 10, MAP_ROUTE3
-
-gMapConnections_PewterCity:: @ 83527B8
- .4byte 2
- .4byte gUnknown_83527A0
-
-gUnknown_83527C0:: @ 83527C0
- connection up, 12, MAP_ROUTE24
- connection down, 0, MAP_ROUTE5
- connection left, 10, MAP_ROUTE4
- connection right, 10, MAP_ROUTE9
-
-gMapConnections_CeruleanCity:: @ 83527F0
- .4byte 4
- .4byte gUnknown_83527C0
-
-gUnknown_83527F8:: @ 83527F8
- connection up, 0, MAP_ROUTE10
- connection down, 0, MAP_ROUTE12
- connection left, 0, MAP_ROUTE8
-
-gMapConnections_LavenderTown:: @ 835281C
- .4byte 3
- .4byte gUnknown_83527F8
-
-gUnknown_8352824:: @ 8352824
- connection up, 12, MAP_ROUTE6
- connection right, 10, MAP_ROUTE11
-
-gMapConnections_VermilionCity:: @ 835283C
- .4byte 2
- .4byte gUnknown_8352824
-
-gUnknown_8352844:: @ 8352844
- connection left, 10, MAP_ROUTE16
- connection right, 10, MAP_ROUTE7
-
-gMapConnections_CeladonCity:: @ 835285C
- .4byte 2
- .4byte gUnknown_8352844
-
-gUnknown_8352864:: @ 8352864
- connection down, 12, MAP_ROUTE19
- connection left, 10, MAP_ROUTE18
- connection right, 10, MAP_ROUTE15
-
-gMapConnections_FuchsiaCity:: @ 8352888
- .4byte 3
- .4byte gUnknown_8352864
-
-gUnknown_8352890:: @ 8352890
- connection up, 0, MAP_ROUTE21_SOUTH
- connection right, 0, MAP_ROUTE20
-
-gMapConnections_CinnabarIsland:: @ 83528A8
- .4byte 2
- .4byte gUnknown_8352890
-
-gUnknown_83528B0:: @ 83528B0
- connection down, 0, MAP_ROUTE23
-
-gMapConnections_IndigoPlateau_Exterior:: @ 83528BC
- .4byte 1
- .4byte gUnknown_83528B0
-
-gUnknown_83528C4:: @ 83528C4
- connection up, 0, MAP_ROUTE5
- connection down, 12, MAP_ROUTE6
- connection left, 10, MAP_ROUTE7
- connection right, 10, MAP_ROUTE8
-
-gUnknown_83528F4:: @ 83528F4
- .4byte 4
- .4byte gUnknown_83528C4
-
-gUnknown_83528FC:: @ 83528FC
- connection up, 0, MAP_ROUTE5
- connection down, 12, MAP_ROUTE6
- connection left, 10, MAP_ROUTE7
- connection right, 10, MAP_ROUTE8
-
-gMapConnections_SaffronCity:: @ 835292C
- .4byte 4
- .4byte gUnknown_83528FC
-
-gUnknown_8352934:: @ 8352934
- connection down, 0, MAP_ONEISLAND_TREASUREBEACH
- connection right, -120, MAP_ONEISLAND_KINDLEROAD
-
-gMapConnections_OneIsland:: @ 835294C
- .4byte 2
- .4byte gUnknown_8352934
-
-gUnknown_8352954:: @ 8352954
- connection up, 24, MAP_TWOISLAND_CAPEBRINK
-
-gMapConnections_TwoIsland:: @ 8352960
- .4byte 1
- .4byte gUnknown_8352954
-
-gUnknown_8352968:: @ 8352968
- connection down, 0, MAP_THREEISLAND_PORT
- connection left, 0, MAP_THREEISLAND_BONDBRIDGE
-
-gMapConnections_ThreeIsland:: @ 8352980
- .4byte 2
- .4byte gUnknown_8352968
-
-gUnknown_8352988:: @ 8352988
- connection up, -48, MAP_FIVEISLAND_WATERLABYRINTH
- connection right, 0, MAP_FIVEISLAND_MEADOW
-
-gMapConnections_FiveIsland:: @ 83529A0
- .4byte 2
- .4byte gUnknown_8352988
-
-gUnknown_83529A8:: @ 83529A8
- connection up, -48, MAP_SEVENISLAND_TRAINERTOWER
- connection down, 0, MAP_SEVENISLAND_SEVAULTCANYON_ENTRANCE
-
-gMapConnections_SevenIsland:: @ 83529C0
- .4byte 2
- .4byte gUnknown_83529A8
-
-gUnknown_83529C8:: @ 83529C8
- connection right, -40, MAP_SIXISLAND_WATERPATH
-
-gMapConnections_SixIsland:: @ 83529D4
- .4byte 1
- .4byte gUnknown_83529C8
-
-gUnknown_83529DC:: @ 83529DC
- connection up, -12, MAP_VIRIDIANCITY
- connection down, 0, MAP_PALLETTOWN
-
-gMapConnections_Route1:: @ 83529F4
- .4byte 2
- .4byte gUnknown_83529DC
-
-gUnknown_83529FC:: @ 83529FC
- connection up, -12, MAP_PEWTERCITY
- connection down, -12, MAP_VIRIDIANCITY
-
-gMapConnections_Route2:: @ 8352A14
- .4byte 2
- .4byte gUnknown_83529FC
-
-gUnknown_8352A1C:: @ 8352A1C
- connection up, 60, MAP_ROUTE4
- connection left, -10, MAP_PEWTERCITY
-
-gMapConnections_Route3:: @ 8352A34
- .4byte 2
- .4byte gUnknown_8352A1C
-
-gUnknown_8352A3C:: @ 8352A3C
- connection down, -60, MAP_ROUTE3
- connection right, -10, MAP_CERULEANCITY
-
-gMapConnections_Route4:: @ 8352A54
- .4byte 2
- .4byte gUnknown_8352A3C
-
-gUnknown_8352A5C:: @ 8352A5C
- connection up, 0, MAP_CERULEANCITY
- connection down, 0, MAP_SAFFRONCITY
-
-gMapConnections_Route5:: @ 8352A74
- .4byte 2
- .4byte gUnknown_8352A5C
-
-gUnknown_8352A7C:: @ 8352A7C
- connection up, 0, MAP_SAFFRONCITY
- connection down, -12, MAP_VERMILIONCITY
-
-gMapConnections_Route6:: @ 8352A94
- .4byte 2
- .4byte gUnknown_8352A7C
-
-gUnknown_8352A9C:: @ 8352A9C
- connection left, -10, MAP_CELADONCITY
- connection right, -10, MAP_SAFFRONCITY
-
-gMapConnections_Route7:: @ 8352AB4
- .4byte 2
- .4byte gUnknown_8352A9C
-
-gUnknown_8352ABC:: @ 8352ABC
- connection left, -10, MAP_SAFFRONCITY
- connection right, 0, MAP_LAVENDERTOWN
-
-gMapConnections_Route8:: @ 8352AD4
- .4byte 2
- .4byte gUnknown_8352ABC
-
-gUnknown_8352ADC:: @ 8352ADC
- connection left, -10, MAP_CERULEANCITY
- connection right, 0, MAP_ROUTE10
-
-gMapConnections_Route9:: @ 8352AF4
- .4byte 2
- .4byte gUnknown_8352ADC
-
-gUnknown_8352AFC:: @ 8352AFC
- connection down, 0, MAP_LAVENDERTOWN
- connection left, 0, MAP_ROUTE9
-
-gMapConnections_Route10:: @ 8352B14
- .4byte 2
- .4byte gUnknown_8352AFC
-
-gUnknown_8352B1C:: @ 8352B1C
- connection left, -10, MAP_VERMILIONCITY
- connection right, -60, MAP_ROUTE12
-
-gMapConnections_Route11:: @ 8352B34
- .4byte 2
- .4byte gUnknown_8352B1C
-
-gUnknown_8352B3C:: @ 8352B3C
- connection up, 0, MAP_LAVENDERTOWN
- connection down, -48, MAP_ROUTE13
- connection left, 60, MAP_ROUTE11
-
-gMapConnections_Route12:: @ 8352B60
- .4byte 3
- .4byte gUnknown_8352B3C
-
-gUnknown_8352B68:: @ 8352B68
- connection up, 48, MAP_ROUTE12
- connection left, 0, MAP_ROUTE14
-
-gMapConnections_Route13:: @ 8352B80
- .4byte 2
- .4byte gUnknown_8352B68
-
-gUnknown_8352B88:: @ 8352B88
- connection left, 40, MAP_ROUTE15
- connection right, 0, MAP_ROUTE13
-
-gMapConnections_Route14:: @ 8352BA0
- .4byte 2
- .4byte gUnknown_8352B88
-
-gUnknown_8352BA8:: @ 8352BA8
- connection left, -10, MAP_FUCHSIACITY
- connection right, -40, MAP_ROUTE14
-
-gMapConnections_Route15:: @ 8352BC0
- .4byte 2
- .4byte gUnknown_8352BA8
-
-gUnknown_8352BC8:: @ 8352BC8
- connection down, 0, MAP_ROUTE17
- connection right, -10, MAP_CELADONCITY
-
-gMapConnections_Route16:: @ 8352BE0
- .4byte 2
- .4byte gUnknown_8352BC8
-
-gUnknown_8352BE8:: @ 8352BE8
- connection up, 0, MAP_ROUTE16
- connection down, 0, MAP_ROUTE18
-
-gMapConnections_Route17:: @ 8352C00
- .4byte 2
- .4byte gUnknown_8352BE8
-
-gUnknown_8352C08:: @ 8352C08
- connection up, 0, MAP_ROUTE17
- connection right, -10, MAP_FUCHSIACITY
-
-gMapConnections_Route18:: @ 8352C20
- .4byte 2
- .4byte gUnknown_8352C08
-
-gUnknown_8352C28:: @ 8352C28
- connection up, -12, MAP_FUCHSIACITY
- connection left, 40, MAP_ROUTE20
-
-gMapConnections_Route19:: @ 8352C40
- .4byte 2
- .4byte gUnknown_8352C28
-
-gUnknown_8352C48:: @ 8352C48
- connection left, 0, MAP_CINNABARISLAND
- connection right, -40, MAP_ROUTE19
-
-gMapConnections_Route20:: @ 8352C60
- .4byte 2
- .4byte gUnknown_8352C48
-
-gUnknown_8352C68:: @ 8352C68
- connection up, 0, MAP_PALLETTOWN
- connection down, 0, MAP_ROUTE21_SOUTH
-
-gMapConnections_Route21_North:: @ 8352C80
- .4byte 2
- .4byte gUnknown_8352C68
-
-gUnknown_8352C88:: @ 8352C88
- connection up, 0, MAP_ROUTE21_NORTH
- connection down, 0, MAP_CINNABARISLAND
-
-gMapConnections_Route21_South:: @ 8352CA0
- .4byte 2
- .4byte gUnknown_8352C88
-
-gUnknown_8352CA8:: @ 8352CA8
- connection up, 0, MAP_ROUTE23
- connection right, -10, MAP_VIRIDIANCITY
-
-gMapConnections_Route22:: @ 8352CC0
- .4byte 2
- .4byte gUnknown_8352CA8
-
-gUnknown_8352CC8:: @ 8352CC8
- connection up, 0, MAP_INDIGOPLATEAU_EXTERIOR
- connection down, 0, MAP_ROUTE22
-
-gMapConnections_Route23:: @ 8352CE0
- .4byte 2
- .4byte gUnknown_8352CC8
-
-gUnknown_8352CE8:: @ 8352CE8
- connection down, -12, MAP_CERULEANCITY
- connection right, 0, MAP_ROUTE25
-
-gMapConnections_Route24:: @ 8352D00
- .4byte 2
- .4byte gUnknown_8352CE8
-
-gUnknown_8352D08:: @ 8352D08
- connection left, 0, MAP_ROUTE24
-
-gMapConnections_Route25:: @ 8352D14
- .4byte 1
- .4byte gUnknown_8352D08
-
-gUnknown_8352D1C:: @ 8352D1C
- connection left, 120, MAP_ONEISLAND
-
-gMapConnections_OneIsland_KindleRoad:: @ 8352D28
- .4byte 1
- .4byte gUnknown_8352D1C
-
-gUnknown_8352D30:: @ 8352D30
- connection up, 0, MAP_ONEISLAND
-
-gMapConnections_OneIsland_TreasureBeach:: @ 8352D3C
- .4byte 1
- .4byte gUnknown_8352D30
-
-gUnknown_8352D44:: @ 8352D44
- connection down, -24, MAP_TWOISLAND
-
-gMapConnections_TwoIsland_CapeBrink:: @ 8352D50
- .4byte 1
- .4byte gUnknown_8352D44
-
-gUnknown_8352D58:: @ 8352D58
- connection right, 0, MAP_THREEISLAND
-
-gMapConnections_ThreeIsland_BondBridge:: @ 8352D64
- .4byte 1
- .4byte gUnknown_8352D58
-
-gUnknown_8352D6C:: @ 8352D6C
- connection up, 0, MAP_THREEISLAND
-
-gMapConnections_ThreeIsland_Port:: @ 8352D78
- .4byte 1
- .4byte gUnknown_8352D6C
-
-gUnknown_8352D80:: @ 8352D80
- connection up, 0, MAP_THREEISLAND
-
-gMapConnections_UnknownMap_03_50:: @ 8352D8C
- .4byte 1
- .4byte gUnknown_8352D80
-
-gUnknown_8352D94:: @ 8352D94
- connection up, 0, MAP_THREEISLAND
-
-gMapConnections_UnknownMap_03_51:: @ 8352DA0
- .4byte 1
- .4byte gUnknown_8352D94
-
-gUnknown_8352DA8:: @ 8352DA8
- connection down, -48, MAP_FIVEISLAND_WATERLABYRINTH
-
-gMapConnections_FiveIsland_ResortGorgeous:: @ 8352DB4
- .4byte 1
- .4byte gUnknown_8352DA8
-
-gUnknown_8352DBC:: @ 8352DBC
- connection up, 48, MAP_FIVEISLAND_RESORTGORGEOUS
- connection down, 48, MAP_FIVEISLAND
-
-gMapConnections_FiveIsland_WaterLabyrinth:: @ 8352DD4
- .4byte 2
- .4byte gUnknown_8352DBC
-
-gUnknown_8352DDC:: @ 8352DDC
- connection left, 0, MAP_FIVEISLAND
- connection right, 20, MAP_FIVEISLAND_MEMORIALPILLAR
-
-gMapConnections_FiveIsland_Meadow:: @ 8352DF4
- .4byte 2
- .4byte gUnknown_8352DDC
-
-gUnknown_8352DFC:: @ 8352DFC
- connection left, -20, MAP_FIVEISLAND_MEADOW
-
-gMapConnections_FiveIsland_MemorialPillar:: @ 8352E08
- .4byte 1
- .4byte gUnknown_8352DFC
-
-gUnknown_8352E10:: @ 8352E10
- connection down, 0, MAP_SIXISLAND_GREENPATH
-
-gMapConnections_SixIsland_OutcastIsland:: @ 8352E1C
- .4byte 1
- .4byte gUnknown_8352E10
-
-gUnknown_8352E24:: @ 8352E24
- connection up, 0, MAP_SIXISLAND_OUTCASTISLAND
- connection right, 0, MAP_SIXISLAND_WATERPATH
-
-gMapConnections_SixIsland_GreenPath:: @ 8352E3C
- .4byte 2
- .4byte gUnknown_8352E24
-
-gUnknown_8352E44:: @ 8352E44
- connection left, 0, MAP_SIXISLAND_GREENPATH
- connection left, 40, MAP_SIXISLAND
- connection left, 80, MAP_SIXISLAND_RUINVALLEY
-
-gMapConnections_SixIsland_WaterPath:: @ 8352E68
- .4byte 3
- .4byte gUnknown_8352E44
-
-gUnknown_8352E70:: @ 8352E70
- connection right, -80, MAP_SIXISLAND_WATERPATH
-
-gMapConnections_SixIsland_RuinValley:: @ 8352E7C
- .4byte 1
- .4byte gUnknown_8352E70
-
-gUnknown_8352E84:: @ 8352E84
- connection down, 48, MAP_SEVENISLAND
-
-gMapConnections_SevenIsland_TrainerTower:: @ 8352E90
- .4byte 1
- .4byte gUnknown_8352E84
-
-gUnknown_8352E98:: @ 8352E98
- connection up, 0, MAP_SEVENISLAND
- connection right, 20, MAP_SEVENISLAND_SEVAULTCANYON
-
-gMapConnections_SevenIsland_SevaultCanyon_Entrance:: @ 8352EB0
- .4byte 2
- .4byte gUnknown_8352E98
-
-gUnknown_8352EB8:: @ 8352EB8
- connection down, -48, MAP_SEVENISLAND_TANOBYRUINS
- connection left, -20, MAP_SEVENISLAND_SEVAULTCANYON_ENTRANCE
-
-gMapConnections_SevenIsland_SevaultCanyon:: @ 8352ED0
- .4byte 2
- .4byte gUnknown_8352EB8
-
-gUnknown_8352ED8:: @ 8352ED8
- connection up, 48, MAP_SEVENISLAND_SEVAULTCANYON
-
-gMapConnections_SevenIsland_TanobyRuins:: @ 8352EE4
- .4byte 1
- .4byte gUnknown_8352ED8
diff --git a/data/data.s b/data/data.s
index 5c2309e7a..499e3c9db 100644
--- a/data/data.s
+++ b/data/data.s
@@ -887,1054 +887,3 @@ gUnknown_826D374:: @ 826D374
.4byte sub_805874C
.4byte sub_8058754
-gUnknown_826D37C:: @ 826D37C
- .incbin "baserom.gba", 0x26D37C, 0x67E84
-
-gMapData_PalletTown_PlayersHouse_1F:: @ 82D5200
- .incbin "baserom.gba", 0x2D5200, 0xFC
-
-gMapData_PalletTown_PlayersHouse_2F:: @ 82D52FC
- .incbin "baserom.gba", 0x2D52FC, 0x128
-
-gMapData_PalletTown_GarysHouse:: @ 82D5424
- .incbin "baserom.gba", 0x2D5424, 0x244
-
-gMapData_PalletTown_ProfessorOaksLab:: @ 82D5668
- .incbin "baserom.gba", 0x2D5668, 0xEC
-
-gMapData_CeruleanCity_House3:: @ 82D5754
-gMapData_CeruleanCity_House4:: @ 82D5754
-gMapData_VermilionCity_House1:: @ 82D5754
-gMapData_VermilionCity_House2:: @ 82D5754
-gMapData_VermilionCity_House3:: @ 82D5754
-gMapData_FuchsiaCity_House1:: @ 82D5754
-gMapData_FuchsiaCity_House3:: @ 82D5754
-gMapData_Route16_House:: @ 82D5754
- .incbin "baserom.gba", 0x2D5754, 0xEC
-
-gMapData_PewterCity_House1:: @ 82D5840
-gMapData_PewterCity_House2:: @ 82D5840
-gMapData_Route2_House:: @ 82D5840
-gMapData_UnknownMap_18_01:: @ 82D5840
-gMapData_UnusedHouse_27_00:: @ 82D5840
-gMapData_UnusedHouse_29_00:: @ 82D5840
- .incbin "baserom.gba", 0x2D5840, 0x150
-
-gMapData_ViridianCity_PokemonCenter_1F:: @ 82D5990
-gMapData_PewterCity_PokemonCenter_1F:: @ 82D5990
-gMapData_CeruleanCity_PokemonCenter_1F:: @ 82D5990
-gMapData_LavenderTown_PokemonCenter_1F:: @ 82D5990
-gMapData_VermilionCity_PokemonCenter_1F:: @ 82D5990
-gMapData_CeladonCity_PokemonCenter_1F:: @ 82D5990
-gMapData_FuchsiaCity_PokemonCenter_1F:: @ 82D5990
-gMapData_CinnabarIsland_PokemonCenter_1F:: @ 82D5990
-gMapData_SaffronCity_PokemonCenter_1F:: @ 82D5990
-gMapData_Route4_PokemonCenter_1F:: @ 82D5990
-gMapData_Route10_PokemonCenter_1F:: @ 82D5990
-gMapData_SevenIsland_PokemonCenter_1F:: @ 82D5990
-gMapData_TwoIsland_PokemonCenter_1F:: @ 82D5990
-gMapData_ThreeIsland_PokemonCenter_1F:: @ 82D5990
-gMapData_FourIsland_PokemonCenter_1F:: @ 82D5990
-gMapData_FiveIsland_PokemonCenter_1F:: @ 82D5990
-gMapData_SixIsland_PokemonCenter_1F:: @ 82D5990
- .incbin "baserom.gba", 0x2D5990, 0x150
-
-gMapData_ViridianCity_PokemonCenter_2F:: @ 82D5AE0
-gMapData_PewterCity_PokemonCenter_2F:: @ 82D5AE0
-gMapData_CeruleanCity_PokemonCenter_2F:: @ 82D5AE0
-gMapData_LavenderTown_PokemonCenter_2F:: @ 82D5AE0
-gMapData_VermilionCity_PokemonCenter_2F:: @ 82D5AE0
-gMapData_CeladonCity_PokemonCenter_2F:: @ 82D5AE0
-gMapData_FuchsiaCity_PokemonCenter_2F:: @ 82D5AE0
-gMapData_CinnabarIsland_PokemonCenter_2F:: @ 82D5AE0
-gMapData_IndigoPlateau_PokemonCenter_2F:: @ 82D5AE0
-gMapData_SaffronCity_PokemonCenter_2F:: @ 82D5AE0
-gMapData_Route4_PokemonCenter_2F:: @ 82D5AE0
-gMapData_Route10_PokemonCenter_2F:: @ 82D5AE0
-gMapData_SevenIsland_PokemonCenter_2F:: @ 82D5AE0
-gMapData_TwoIsland_PokemonCenter_2F:: @ 82D5AE0
-gMapData_ThreeIsland_PokemonCenter_2F:: @ 82D5AE0
-gMapData_FourIsland_PokemonCenter_2F:: @ 82D5AE0
-gMapData_FiveIsland_PokemonCenter_2F:: @ 82D5AE0
-gMapData_SixIsland_PokemonCenter_2F:: @ 82D5AE0
- .incbin "baserom.gba", 0x2D5AE0, 0xEC
-
-gMapData_ViridianCity_Mart:: @ 82D5BCC
-gMapData_PewterCity_Mart:: @ 82D5BCC
-gMapData_CeruleanCity_Mart:: @ 82D5BCC
-gMapData_LavenderTown_Mart:: @ 82D5BCC
-gMapData_VermilionCity_Mart:: @ 82D5BCC
-gMapData_FuchsiaCity_Mart:: @ 82D5BCC
-gMapData_CinnabarIsland_Mart:: @ 82D5BCC
-gMapData_SaffronCity_Mart:: @ 82D5BCC
-gMapData_SevenIsland_Mart:: @ 82D5BCC
-gMapData_ThreeIsland_Mart:: @ 82D5BCC
-gMapData_FourIsland_Mart:: @ 82D5BCC
-gMapData_SixIsland_Mart:: @ 82D5BCC
- .incbin "baserom.gba", 0x2D5BCC, 0xEC
-
-gMapData_OneIsland_House1:: @ 82D5CB8
-gMapData_OneIsland_House2:: @ 82D5CB8
-gMapData_TwoIsland_House:: @ 82D5CB8
-gMapData_ThreeIsland_House2:: @ 82D5CB8
-gMapData_ThreeIsland_House3:: @ 82D5CB8
-gMapData_ThreeIsland_House4:: @ 82D5CB8
-gMapData_ThreeIsland_House5:: @ 82D5CB8
-gMapData_FourIsland_House1:: @ 82D5CB8
-gMapData_FourIsland_House2:: @ 82D5CB8
-gMapData_FiveIsland_House1:: @ 82D5CB8
-gMapData_FiveIsland_House2:: @ 82D5CB8
-gMapData_SixIsland_House:: @ 82D5CB8
-gMapData_TwoIsland_CapeBrink_House:: @ 82D5CB8
-gMapData_SixIsland_WaterPath_House2:: @ 82D5CB8
-gMapData_SevenIsland_SevaultCanyon_House:: @ 82D5CB8
- .incbin "baserom.gba", 0x2D5CB8, 0x2CC
-
-gMapData_CeruleanCity_Gym:: @ 82D5F84
- .incbin "baserom.gba", 0x2D5F84, 0xEC
-
-gMapData_Route12_FishingHouse:: @ 82D6070
-gMapData_UnusedHouse_31_05:: @ 82D6070
-gMapData_SixIsland_WaterPath_House1:: @ 82D6070
- .incbin "baserom.gba", 0x2D6070, 0x300
-
-gMapData_CeladonCity_Gym:: @ 82D6370
- .incbin "baserom.gba", 0x2D6370, 0x20C
-
-gMapData_FiveIsland_ResortGorgeous_House:: @ 82D657C
- .incbin "baserom.gba", 0x2D657C, 0x488
-
-gMapData_FuchsiaCity_Gym:: @ 82D6A04
- .incbin "baserom.gba", 0x2D6A04, 0xEC
-
-gMapData_LavenderTown_House1:: @ 82D6AF0
-gMapData_LavenderTown_House2:: @ 82D6AF0
-gMapData_CeladonCity_House1:: @ 82D6AF0
-gMapData_SaffronCity_House2:: @ 82D6AF0
-gMapData_SaffronCity_House3:: @ 82D6AF0
- .incbin "baserom.gba", 0x2D6AF0, 0x338
-
-gMapData_VermilionCity_Gym:: @ 82D6E28
- .incbin "baserom.gba", 0x2D6E28, 0x100
-
-gMapData_CeruleanCity_BikeShop:: @ 82D6F28
- .incbin "baserom.gba", 0x2D6F28, 0x240
-
-gMapData_CeladonCity_GameCorner:: @ 82D7168
- .incbin "baserom.gba", 0x2D7168, 0x1C4
-
-gMapData_PewterCity_Gym:: @ 82D732C
- .incbin "baserom.gba", 0x2D732C, 0xEC
-
-gMapData_FourIsland_LoreleisHouse:: @ 82D7418
- .incbin "baserom.gba", 0x2D7418, 0xEC
-
-gMapData_ThreeIsland_House1:: @ 82D7504
- .incbin "baserom.gba", 0x2D7504, 0x740
-
-gMapData_SaffronCity_Gym:: @ 82D7C44
- .incbin "baserom.gba", 0x2D7C44, 0x684
-
-gMapData_CinnabarIsland_Gym:: @ 82D82C8
- .incbin "baserom.gba", 0x2D82C8, 0x3E4
-
-gMapData_ViridianCity_Gym:: @ 82D86AC
- .incbin "baserom.gba", 0x2D86AC, 0x33C
-
-gMapData_UnknownMap_00_00:: @ 82D89E8
- .incbin "baserom.gba", 0x2D89E8, 0xFC
-
-gMapData_UnknownMap_00_01:: @ 82D8AE4
- .incbin "baserom.gba", 0x2D8AE4, 0x1B4
-
-gMapData_UnknownMap_00_02:: @ 82D8C98
- .incbin "baserom.gba", 0x2D8C98, 0x120
-
-gMapData_UnknownMap_00_03:: @ 82D8DB8
- .incbin "baserom.gba", 0x2D8DB8, 0xC8
-
-gMapData_FuchsiaCity_SafariZone_Entrance:: @ 82D8E80
- .incbin "baserom.gba", 0x2D8E80, 0x4640
-
-gMapData_PalletTown:: @ 82DD4C0
- .incbin "baserom.gba", 0x2DD4C0, 0xF24
-
-gMapData_ViridianCity:: @ 82DE3E4
- .incbin "baserom.gba", 0x2DE3E4, 0xF24
-
-gMapData_PewterCity:: @ 82DF308
- .incbin "baserom.gba", 0x2DF308, 0xF24
-
-gMapData_CeruleanCity:: @ 82E022C
- .incbin "baserom.gba", 0x2E022C, 0x3E4
-
-gMapData_LavenderTown:: @ 82E0610
- .incbin "baserom.gba", 0x2E0610, 0xF24
-
-gMapData_VermilionCity:: @ 82E1534
- .incbin "baserom.gba", 0x2E1534, 0x12E4
-
-gMapData_CeladonCity:: @ 82E2818
- .incbin "baserom.gba", 0x2E2818, 0xF24
-
-gMapData_FuchsiaCity:: @ 82E373C
- .incbin "baserom.gba", 0x2E373C, 0x3E4
-
-gMapData_CinnabarIsland:: @ 82E3B20
- .incbin "baserom.gba", 0x2E3B20, 0x3E4
-
-gMapData_IndigoPlateau_Exterior:: @ 82E3F04
- .incbin "baserom.gba", 0x2E3F04, 0xF24
-
-gMapData_SaffronCity:: @ 82E4E28
- .incbin "baserom.gba", 0x2E4E28, 0x7A4
-
-gMapData_Route1:: @ 82E55CC
-gUnknown_82E55CC:: @ 82E55CC
- .incbin "baserom.gba", 0x2E55CC, 0xF24
-
-gMapData_Route2:: @ 82E64F0
- .incbin "baserom.gba", 0x2E64F0, 0xD44
-
-gMapData_Route3:: @ 82E7234
- .incbin "baserom.gba", 0x2E7234, 0x1104
-
-gMapData_Route4:: @ 82E8338
- .incbin "baserom.gba", 0x2E8338, 0xF24
-
-gMapData_Route5:: @ 82E925C
- .incbin "baserom.gba", 0x2E925C, 0x7A4
-
-gMapData_Route6:: @ 82E9A00
- .incbin "baserom.gba", 0x2E9A00, 0x3E4
-
-gMapData_Route7:: @ 82E9DE4
- .incbin "baserom.gba", 0x2E9DE4, 0xB64
-
-gMapData_Route8:: @ 82EA948
- .incbin "baserom.gba", 0x2EA948, 0xB64
-
-gMapData_Route9:: @ 82EB4AC
- .incbin "baserom.gba", 0x2EB4AC, 0xF24
-
-gMapData_Route10:: @ 82EC3D0
- .incbin "baserom.gba", 0x2EC3D0, 0xB64
-
-gMapData_Route11:: @ 82ECF34
- .incbin "baserom.gba", 0x2ECF34, 0x16A4
-
-gMapData_Route12:: @ 82EE5D8
- .incbin "baserom.gba", 0x2EE5D8, 0xB64
-
-gMapData_Route13:: @ 82EF13C
- .incbin "baserom.gba", 0x2EF13C, 0xB64
-
-gMapData_Route14:: @ 82EFCA0
- .incbin "baserom.gba", 0x2EFCA0, 0xB64
-
-gMapData_Route15:: @ 82F0804
- .incbin "baserom.gba", 0x2F0804, 0x7A4
-
-gMapData_Route16:: @ 82F0FA8
- .incbin "baserom.gba", 0x2F0FA8, 0x1E24
-
-gMapData_Route17:: @ 82F2DCC
- .incbin "baserom.gba", 0x2F2DCC, 0x984
-
-gMapData_Route18:: @ 82F3750
- .incbin "baserom.gba", 0x2F3750, 0xB64
-
-gMapData_Route19:: @ 82F42B4
- .incbin "baserom.gba", 0x2F42B4, 0x12E4
-
-gMapData_Route20:: @ 82F5598
- .incbin "baserom.gba", 0x2F5598, 0x984
-
-gMapData_Route21_North:: @ 82F5F1C
- .incbin "baserom.gba", 0x2F5F1C, 0x924
-
-gMapData_Route22:: @ 82F6840
- .incbin "baserom.gba", 0x2F6840, 0x1E24
-
-gMapData_Route23:: @ 82F8664
- .incbin "baserom.gba", 0x2F8664, 0x7A4
-
-gMapData_Route24:: @ 82F8E08
- .incbin "baserom.gba", 0x2F8E08, 0xB64
-
-gMapData_Route25:: @ 82F996C
- .incbin "baserom.gba", 0x2F996C, 0xF24
-
-gMapData_MtMoon_1F:: @ 82FA890
- .incbin "baserom.gba", 0x2FA890, 0xF74
-
-gMapData_MtMoon_B1F:: @ 82FB804
- .incbin "baserom.gba", 0x2FB804, 0xF24
-
-gMapData_MtMoon_B2F:: @ 82FC728
- .incbin "baserom.gba", 0x2FC728, 0x1D44
-
-gMapData_ViridianForest:: @ 82FE46C
- .incbin "baserom.gba", 0x2FE46C, 0x11A4
-
-gMapData_SSAnne_Exterior:: @ 82FF610
- .incbin "baserom.gba", 0x2FF610, 0x53C
-
-gMapData_SSAnne_1F_Corridor:: @ 82FFB4C
- .incbin "baserom.gba", 0x2FFB4C, 0x464
-
-gMapData_SSAnne_2F_Corridor:: @ 82FFFB0
- .incbin "baserom.gba", 0x2FFFB0, 0x158
-
-gMapData_SSAnne_3F_Corridor:: @ 8300108
- .incbin "baserom.gba", 0x300108, 0x168
-
-gMapData_SSAnne_B1F_Corridor:: @ 8300270
- .incbin "baserom.gba", 0x300270, 0x3B4
-
-gMapData_SSAnne_Deck:: @ 8300624
- .incbin "baserom.gba", 0x300624, 0x3544
-
-gMapData_DiglettsCave_B1F:: @ 8303B68
- .incbin "baserom.gba", 0x303B68, 0x864
-
-gMapData_VictoryRoad_1F:: @ 83043CC
- .incbin "baserom.gba", 0x3043CC, 0x8E8
-
-gMapData_VictoryRoad_2F:: @ 8304CB4
- .incbin "baserom.gba", 0x304CB4, 0x7E0
-
-gMapData_VictoryRoad_3F:: @ 8305494
- .incbin "baserom.gba", 0x305494, 0x794
-
-gMapData_RocketHideout_B1F:: @ 8305C28
- .incbin "baserom.gba", 0x305C28, 0x5A4
-
-gMapData_RocketHideout_B2F:: @ 83061CC
- .incbin "baserom.gba", 0x3061CC, 0x4C8
-
-gMapData_RocketHideout_B3F:: @ 8306694
- .incbin "baserom.gba", 0x306694, 0x504
-
-gMapData_RocketHideout_B4F:: @ 8306B98
- .incbin "baserom.gba", 0x306B98, 0x654
-
-gMapData_SilphCo_1F:: @ 83071EC
- .incbin "baserom.gba", 0x3071EC, 0x654
-
-gMapData_SilphCo_2F:: @ 8307840
- .incbin "baserom.gba", 0x307840, 0x654
-
-gMapData_SilphCo_3F:: @ 8307E94
- .incbin "baserom.gba", 0x307E94, 0x654
-
-gMapData_SilphCo_4F:: @ 83084E8
- .incbin "baserom.gba", 0x3084E8, 0x654
-
-gMapData_SilphCo_5F:: @ 8308B3C
- .incbin "baserom.gba", 0x308B3C, 0x4C0
-
-gMapData_SilphCo_6F:: @ 8308FFC
- .incbin "baserom.gba", 0x308FFC, 0x4C0
-
-gMapData_SilphCo_7F:: @ 83094BC
- .incbin "baserom.gba", 0x3094BC, 0x4C0
-
-gMapData_SilphCo_8F:: @ 830997C
- .incbin "baserom.gba", 0x30997C, 0x4C0
-
-gMapData_SilphCo_9F:: @ 8309E3C
- .incbin "baserom.gba", 0x309E3C, 0x2AC
-
-gMapData_SilphCo_10F:: @ 830A0E8
- .incbin "baserom.gba", 0x30A0E8, 0x2CC
-
-gMapData_SilphCo_11F:: @ 830A3B4
- .incbin "baserom.gba", 0x30A3B4, 0xA88
-
-gMapData_PokemonMansion_1F:: @ 830AE3C
- .incbin "baserom.gba", 0x30AE3C, 0xB6C
-
-gMapData_PokemonMansion_2F:: @ 830B9A8
- .incbin "baserom.gba", 0x30B9A8, 0xA88
-
-gMapData_PokemonMansion_3F:: @ 830C430
- .incbin "baserom.gba", 0x30C430, 0xA88
-
-gMapData_PokemonMansion_B1F:: @ 830CEB8
- .incbin "baserom.gba", 0x30CEB8, 0xE80
-
-gMapData_SafariZone_Center:: @ 830DD38
- .incbin "baserom.gba", 0x30DD38, 0xEEC
-
-gMapData_SafariZone_East:: @ 830EC24
- .incbin "baserom.gba", 0x30EC24, 0x11F8
-
-gMapData_SafariZone_North:: @ 830FE1C
- .incbin "baserom.gba", 0x30FE1C, 0xDA8
-
-gMapData_SafariZone_West:: @ 8310BC4
- .incbin "baserom.gba", 0x310BC4, 0x754
-
-gMapData_CeruleanCave_1F:: @ 8311318
- .incbin "baserom.gba", 0x311318, 0x754
-
-gMapData_CeruleanCave_2F:: @ 8311A6C
- .incbin "baserom.gba", 0x311A6C, 0x754
-
-gMapData_CeruleanCave_B1F:: @ 83121C0
- .incbin "baserom.gba", 0x3121C0, 0xF24
-
-gMapData_RockTunnel_1F:: @ 83130E4
- .incbin "baserom.gba", 0x3130E4, 0xF24
-
-gMapData_RockTunnel_B1F:: @ 8314008
- .incbin "baserom.gba", 0x314008, 0x744
-
-gMapData_SeafoamIslands_1F:: @ 831474C
- .incbin "baserom.gba", 0x31474C, 0x6F8
-
-gMapData_SeafoamIslands_B1F:: @ 8314E44
- .incbin "baserom.gba", 0x314E44, 0x744
-
-gMapData_SeafoamIslands_B2F:: @ 8315588
- .incbin "baserom.gba", 0x315588, 0x744
-
-gMapData_SeafoamIslands_B3F:: @ 8315CCC
- .incbin "baserom.gba", 0x315CCC, 0x744
-
-gMapData_SeafoamIslands_B4F:: @ 8316410
- .incbin "baserom.gba", 0x316410, 0x3E4
-
-gMapData_PokemonTower_1F:: @ 83167F4
- .incbin "baserom.gba", 0x3167F4, 0x3E4
-
-gMapData_PokemonTower_2F:: @ 8316BD8
- .incbin "baserom.gba", 0x316BD8, 0x3E4
-
-gMapData_PokemonTower_3F:: @ 8316FBC
- .incbin "baserom.gba", 0x316FBC, 0x3E4
-
-gMapData_PokemonTower_4F:: @ 83173A0
- .incbin "baserom.gba", 0x3173A0, 0x3E4
-
-gMapData_PokemonTower_5F:: @ 8317784
- .incbin "baserom.gba", 0x317784, 0x3E4
-
-gMapData_PokemonTower_6F:: @ 8317B68
- .incbin "baserom.gba", 0x317B68, 0x3E4
-
-gMapData_PokemonTower_7F:: @ 8317F4C
- .incbin "baserom.gba", 0x317F4C, 0xF74
-
-gMapData_PowerPlant:: @ 8318EC0
- .incbin "baserom.gba", 0x318EC0, 0x170
-
-gMapData_Route25_SeaCottage:: @ 8319030
- .incbin "baserom.gba", 0x319030, 0x1E4
-
-gMapData_SSAnne_Kitchen:: @ 8319214
- .incbin "baserom.gba", 0x319214, 0xD8
-
-gMapData_SSAnne_CaptainsOffice:: @ 83192EC
- .incbin "baserom.gba", 0x3192EC, 0x128
-
-gMapData_UndergroundPath_NorthEntrance:: @ 8319414
-gMapData_UndergroundPath_SouthEntrance:: @ 8319414
-gMapData_UndergroundPath_WestEntrance:: @ 8319414
-gMapData_UndergroundPath_EastEntrance:: @ 8319414
- .incbin "baserom.gba", 0x319414, 0x484
-
-gMapData_UndergroundPath_EastWestTunnel:: @ 8319898
- .incbin "baserom.gba", 0x319898, 0x414
-
-gMapData_UndergroundPath_NorthSouthTunnel:: @ 8319CAC
- .incbin "baserom.gba", 0x319CAC, 0x144
-
-gMapData_Route12_NorthEntrance_1F:: @ 8319DF0
- .incbin "baserom.gba", 0x319DF0, 0x84
-
-gMapData_SSAnne_1F_Room1:: @ 8319E74
-gMapData_SSAnne_1F_Room2:: @ 8319E74
-gMapData_SSAnne_1F_Room3:: @ 8319E74
-gMapData_SSAnne_1F_Room4:: @ 8319E74
-gMapData_SSAnne_1F_Room5:: @ 8319E74
-gMapData_SSAnne_1F_Room7:: @ 8319E74
-gMapData_SSAnne_1F_Room6:: @ 8319E74
- .incbin "baserom.gba", 0x319E74, 0x90
-
-gMapData_SSAnne_2F_Room1:: @ 8319F04
-gMapData_SSAnne_2F_Room2:: @ 8319F04
-gMapData_SSAnne_2F_Room3:: @ 8319F04
-gMapData_SSAnne_2F_Room4:: @ 8319F04
-gMapData_SSAnne_2F_Room5:: @ 8319F04
-gMapData_SSAnne_2F_Room6:: @ 8319F04
-gMapData_SSAnne_B1F_Room1:: @ 8319F04
-gMapData_SSAnne_B1F_Room2:: @ 8319F04
-gMapData_SSAnne_B1F_Room3:: @ 8319F04
-gMapData_SSAnne_B1F_Room4:: @ 8319F04
-gMapData_SSAnne_B1F_Room5:: @ 8319F04
- .incbin "baserom.gba", 0x319F04, 0x6C
-
-gMapData_CeladonCity_DepartmentStore_Elevator:: @ 8319F70
- .incbin "baserom.gba", 0x319F70, 0x28C
-
-gMapData_PewterCity_Museum_1F:: @ 831A1FC
- .incbin "baserom.gba", 0x31A1FC, 0x1A0
-
-gMapData_PewterCity_Museum_2F:: @ 831A39C
- .incbin "baserom.gba", 0x31A39C, 0xD8
-
-gMapData_CeruleanCity_House2:: @ 831A474
- .incbin "baserom.gba", 0x31A474, 0xEC
-
-gMapData_CeruleanCity_House1:: @ 831A560
- .incbin "baserom.gba", 0x31A560, 0x27C
-
-gMapData_CeladonCity_Condominiums_1F:: @ 831A7DC
- .incbin "baserom.gba", 0x31A7DC, 0x27C
-
-gMapData_CeladonCity_Condominiums_2F:: @ 831AA58
- .incbin "baserom.gba", 0x31AA58, 0x27C
-
-gMapData_CeladonCity_Condominiums_3F:: @ 831ACD4
- .incbin "baserom.gba", 0x31ACD4, 0x2A8
-
-gMapData_CeladonCity_Condominiums_Roof:: @ 831AF7C
- .incbin "baserom.gba", 0x31AF7C, 0xD8
-
-gMapData_CeladonCity_Condominiums_RoofRoom:: @ 831B054
- .incbin "baserom.gba", 0x31B054, 0xD8
-
-gMapData_CeladonCity_GameCorner_PrizeRoom:: @ 831B12C
- .incbin "baserom.gba", 0x31B12C, 0x170
-
-gMapData_CeladonCity_Restaurant:: @ 831B29C
- .incbin "baserom.gba", 0x31B29C, 0x19C
-
-gMapData_CeladonCity_Hotel:: @ 831B438
- .incbin "baserom.gba", 0x31B438, 0x1C4
-
-gMapData_CeladonCity_DepartmentStore_1F:: @ 831B5FC
- .incbin "baserom.gba", 0x31B5FC, 0x1AC
-
-gMapData_CeladonCity_DepartmentStore_2F:: @ 831B7A8
- .incbin "baserom.gba", 0x31B7A8, 0x1AC
-
-gMapData_CeladonCity_DepartmentStore_3F:: @ 831B954
- .incbin "baserom.gba", 0x31B954, 0x1AC
-
-gMapData_CeladonCity_DepartmentStore_4F:: @ 831BB00
- .incbin "baserom.gba", 0x31BB00, 0x1AC
-
-gMapData_CeladonCity_DepartmentStore_5F:: @ 831BCAC
- .incbin "baserom.gba", 0x31BCAC, 0x238
-
-gMapData_CeladonCity_DepartmentStore_Roof:: @ 831BEE4
- .incbin "baserom.gba", 0x31BEE4, 0x144
-
-gMapData_SafariZone_Building1:: @ 831C028
-gMapData_SafariZone_Building2:: @ 831C028
-gMapData_SafariZone_Building3:: @ 831C028
-gMapData_SafariZone_Building4:: @ 831C028
- .incbin "baserom.gba", 0x31C028, 0x144
-
-gMapData_SafariZone_SecretHouse:: @ 831C16C
- .incbin "baserom.gba", 0x31C16C, 0x1DC
-
-gMapData_FuchsiaCity_ZooBuilding:: @ 831C348
- .incbin "baserom.gba", 0x31C348, 0x144
-
-gMapData_FuchsiaCity_Building1:: @ 831C48C
- .incbin "baserom.gba", 0x31C48C, 0xEC
-
-gMapData_FuchsiaCity_House2:: @ 831C578
- .incbin "baserom.gba", 0x31C578, 0x28C
-
-gMapData_CinnabarIsland_PokemonLab_Entrance:: @ 831C804
- .incbin "baserom.gba", 0x31C804, 0x170
-
-gMapData_CinnabarIsland_PokemonLab_Lounge:: @ 831C974
- .incbin "baserom.gba", 0x31C974, 0x170
-
-gMapData_CinnabarIsland_PokemonLab_ResearchRoom:: @ 831CAE4
- .incbin "baserom.gba", 0x31CAE4, 0x170
-
-gMapData_CinnabarIsland_PokemonLab_ExperimentRoom:: @ 831CC54
- .incbin "baserom.gba", 0x31CC54, 0x1C80
-
-gMapData_SaffronCity_Duplicate:: @ 831E8D4
- .incbin "baserom.gba", 0x31E8D4, 0xEC
-
-gMapData_Route5_SouthEntrance:: @ 831E9C0
-gMapData_Route6_NorthEntrance:: @ 831E9C0
- .incbin "baserom.gba", 0x31E9C0, 0x110
-
-gMapData_Route7_EastEntrance:: @ 831EAD0
-gMapData_Route8_WestEntrance:: @ 831EAD0
- .incbin "baserom.gba", 0x31EAD0, 0xC4
-
-gMapData_DiglettsCave_NorthEntrance:: @ 831EB94
- .incbin "baserom.gba", 0x31EB94, 0xC4
-
-gMapData_DiglettsCave_SouthEntrance:: @ 831EC58
- .incbin "baserom.gba", 0x31EC58, 0x3A8
-
-gMapData_IndigoPlateau_PokemonCenter_1F:: @ 831F000
- .incbin "baserom.gba", 0x31F000, 0x178
-
-gMapData_PokemonLeague_LoreleisRoom:: @ 831F178
- .incbin "baserom.gba", 0x31F178, 0x178
-
-gMapData_PokemonLeague_BrunosRoom:: @ 831F2F0
- .incbin "baserom.gba", 0x31F2F0, 0x178
-
-gMapData_PokemonLeague_AgathasRoom:: @ 831F468
- .incbin "baserom.gba", 0x31F468, 0x564
-
-gMapData_PokemonLeague_LancesRoom:: @ 831F9CC
- .incbin "baserom.gba", 0x31F9CC, 0x22C
-
-gMapData_PokemonLeague_ChampionsRoom:: @ 831FBF8
- .incbin "baserom.gba", 0x31FBF8, 0x144
-
-gMapData_PokemonLeague_HallOfFame:: @ 831FD3C
- .incbin "baserom.gba", 0x31FD3C, 0x984
-
-gMapData_Route21_South:: @ 83206C0
- .incbin "baserom.gba", 0x3206C0, 0x144
-
-gMapData_Route11_EastEntrance_2F:: @ 8320804
-gMapData_Route12_NorthEntrance_2F:: @ 8320804
-gMapData_Route15_WestEntrance_2F:: @ 8320804
-gMapData_Route16_NorthEntrance_2F:: @ 8320804
-gMapData_Route18_EastEntrance_2F:: @ 8320804
- .incbin "baserom.gba", 0x320804, 0x18C
-
-gMapData_Route2_ViridianForest_SouthEntrance:: @ 8320990
-gMapData_Route2_EastBuilding:: @ 8320990
-gMapData_Route2_ViridianForest_NorthEntrance:: @ 8320990
- .incbin "baserom.gba", 0x320990, 0x18C
-
-gMapData_Route22_NorthEntrance:: @ 8320B1C
- .incbin "baserom.gba", 0x320B1C, 0x1F8
-
-gMapData_Route16_NorthEntrance_1F:: @ 8320D14
- .incbin "baserom.gba", 0x320D14, 0x15C
-
-gMapData_Route11_EastEntrance_1F:: @ 8320E70
-gMapData_Route15_WestEntrance_1F:: @ 8320E70
-gMapData_Route18_EastEntrance_1F:: @ 8320E70
- .incbin "baserom.gba", 0x320E70, 0x6C
-
-gMapData_RocketHideout_Elevator:: @ 8320EDC
- .incbin "baserom.gba", 0x320EDC, 0x128
-
-gMapData_SaffronCity_House1_1F:: @ 8321004
- .incbin "baserom.gba", 0x321004, 0xFC
-
-gMapData_SaffronCity_House1_2F:: @ 8321100
- .incbin "baserom.gba", 0x321100, 0x1C4
-
-gMapData_SaffronCity_Dojo:: @ 83212C4
- .incbin "baserom.gba", 0x3212C4, 0x6C
-
-gMapData_SilphCo_Elevator:: @ 8321330
- .incbin "baserom.gba", 0x321330, 0x3E4
-
-gMapData_OneIsland:: @ 8321714
- .incbin "baserom.gba", 0x321714, 0x7A4
-
-gMapData_TwoIsland:: @ 8321EB8
- .incbin "baserom.gba", 0x321EB8, 0x7A4
-
-gMapData_ThreeIsland:: @ 832265C
- .incbin "baserom.gba", 0x32265C, 0xF24
-
-gMapData_FourIsland:: @ 8323580
- .incbin "baserom.gba", 0x323580, 0x3E4
-
-gMapData_FiveIsland:: @ 8323964
- .incbin "baserom.gba", 0x323964, 0x3E4
-
-gMapData_SevenIsland:: @ 8323D48
- .incbin "baserom.gba", 0x323D48, 0x5C4
-
-gMapData_SixIsland:: @ 832430C
- .incbin "baserom.gba", 0x32430C, 0x1A64
-
-gMapData_OneIsland_KindleRoad:: @ 8325D70
- .incbin "baserom.gba", 0x325D70, 0x7A4
-
-gMapData_OneIsland_TreasureBeach:: @ 8326514
- .incbin "baserom.gba", 0x326514, 0x7A4
-
-gMapData_TwoIsland_CapeBrink:: @ 8326CB8
- .incbin "baserom.gba", 0x326CB8, 0xF24
-
-gMapData_ThreeIsland_BondBridge:: @ 8327BDC
- .incbin "baserom.gba", 0x327BDC, 0x7A4
-
-gMapData_ThreeIsland_Port:: @ 8328380
- .incbin "baserom.gba", 0x328380, 0x28
-
-gMapData_UnknownMap_03_50:: @ 83283A8
- .incbin "baserom.gba", 0x3283A8, 0x28
-
-gMapData_UnknownMap_03_51:: @ 83283D0
- .incbin "baserom.gba", 0x3283D0, 0xD44
-
-gMapData_UnknownMap_03_52:: @ 8329114
- .incbin "baserom.gba", 0x329114, 0xB64
-
-gMapData_UnknownMap_03_53:: @ 8329C78
- .incbin "baserom.gba", 0x329C78, 0xB64
-
-gMapData_FiveIsland_ResortGorgeous:: @ 832A7DC
- .incbin "baserom.gba", 0x32A7DC, 0xB64
-
-gMapData_FiveIsland_WaterLabyrinth:: @ 832B340
- .incbin "baserom.gba", 0x32B340, 0x7A4
-
-gMapData_FiveIsland_Meadow:: @ 832BAE4
- .incbin "baserom.gba", 0x32BAE4, 0xB64
-
-gMapData_FiveIsland_MemorialPillar:: @ 832C648
- .incbin "baserom.gba", 0x32C648, 0xF24
-
-gMapData_SixIsland_OutcastIsland:: @ 832D56C
- .incbin "baserom.gba", 0x32D56C, 0xB64
-
-gMapData_SixIsland_GreenPath:: @ 832E0D0
- .incbin "baserom.gba", 0x32E0D0, 0x12E4
-
-gMapData_SixIsland_WaterPath:: @ 832F3B4
- .incbin "baserom.gba", 0x32F3B4, 0xF24
-
-gMapData_SixIsland_RuinValley:: @ 83302D8
- .incbin "baserom.gba", 0x3302D8, 0x25A4
-
-gMapData_SevenIsland_TrainerTower:: @ 833287C
- .incbin "baserom.gba", 0x33287C, 0x7A4
-
-gMapData_SevenIsland_SevaultCanyon_Entrance:: @ 8333020
- .incbin "baserom.gba", 0x333020, 0xF24
-
-gMapData_SevenIsland_SevaultCanyon:: @ 8333F44
- .incbin "baserom.gba", 0x333F44, 0x16A4
-
-gMapData_SevenIsland_TanobyRuins:: @ 83355E8
- .incbin "baserom.gba", 0x3355E8, 0x32DC
-
-gMapData_UnknownMap_00_04:: @ 83388C4
- .incbin "baserom.gba", 0x3388C4, 0x19C
-
-gMapData_SaffronCity_PokemonTrainerFanClub:: @ 8338A60
- .incbin "baserom.gba", 0x338A60, 0x1E8
-
-gMapData_SevenIsland_House_Room2:: @ 8338C48
- .incbin "baserom.gba", 0x338C48, 0xD8
-
-gMapData_ViridianCity_House2:: @ 8338D20
- .incbin "baserom.gba", 0x338D20, 0x570
-
-gMapData_MtEmber_RubyPath_B4F:: @ 8339290
- .incbin "baserom.gba", 0x339290, 0x1518
-
-gMapData_ThreeIsland_BerryForest:: @ 833A7A8
- .incbin "baserom.gba", 0x33A7A8, 0x1C8
-
-gMapData_OneIsland_PokemonCenter_1F:: @ 833A970
- .incbin "baserom.gba", 0x33A970, 0x114
-
-gMapData_TwoIsland_JoyfulGameCorner:: @ 833AA84
- .incbin "baserom.gba", 0x33AA84, 0x144
-
-gMapData_VermilionCity_PokemonFanClub:: @ 833ABC8
- .incbin "baserom.gba", 0x33ABC8, 0xFC
-
-gMapData_LavenderTown_VolunteerPokemonHouse:: @ 833ACC4
- .incbin "baserom.gba", 0x33ACC4, 0xFC
-
-gMapData_Route5_PokemonDayCare:: @ 833ADC0
- .incbin "baserom.gba", 0x33ADC0, 0xEC
-
-gMapData_ViridianCity_House1:: @ 833AEAC
- .incbin "baserom.gba", 0x33AEAC, 0xFC
-
-gMapData_FourIsland_PokemonDayCare:: @ 833AFA8
- .incbin "baserom.gba", 0x33AFA8, 0x26B8
-
-gMapData_MtEmber_Exterior:: @ 833D660
- .incbin "baserom.gba", 0x33D660, 0x368
-
-gMapData_MtEmber_Summit:: @ 833D9C8
- .incbin "baserom.gba", 0x33D9C8, 0x240
-
-gMapData_MtEmber_SummitPath_1F:: @ 833DC08
- .incbin "baserom.gba", 0x33DC08, 0x1164
-
-gMapData_MtEmber_SummitPath_2F:: @ 833ED6C
- .incbin "baserom.gba", 0x33ED6C, 0x170
-
-gMapData_MtEmber_SummitPath_3F:: @ 833EEDC
- .incbin "baserom.gba", 0x33EEDC, 0x428
-
-gMapData_SSAnne_Kitchen3:: @ 833F304
- .incbin "baserom.gba", 0x33F304, 0x220
-
-gMapData_MtEmber_RubyPath_B1F:: @ 833F524
- .incbin "baserom.gba", 0x33F524, 0x184
-
-gMapData_MtEmber_RubyPath_B2F:: @ 833F6A8
- .incbin "baserom.gba", 0x33F6A8, 0x5B8
-
-gMapData_MtEmber_RubyPath_B3F:: @ 833FC60
- .incbin "baserom.gba", 0x33FC60, 0x78
-
-gMapData_MtEmber_RubyPath_B1F_Stairs:: @ 833FCD8
- .incbin "baserom.gba", 0x33FCD8, 0x84
-
-gMapData_MtEmber_RubyPath_B2F_Stairs:: @ 833FD5C
- .incbin "baserom.gba", 0x33FD5C, 0x204
-
-gMapData_MtEmber_RubyPath_B5F:: @ 833FF60
- .incbin "baserom.gba", 0x33FF60, 0x644
-
-gMapData_SSAnne_CaptainsOffice4:: @ 83405A4
- .incbin "baserom.gba", 0x3405A4, 0x894
-
-gMapData_FourIsland_IcefallCave_Entrance:: @ 8340E38
- .incbin "baserom.gba", 0x340E38, 0x344
-
-gMapData_FourIsland_IcefallCave_1F:: @ 834117C
- .incbin "baserom.gba", 0x34117C, 0x3E4
-
-gMapData_SSAnne_CaptainsOffice2:: @ 8341560
- .incbin "baserom.gba", 0x341560, 0x538
-
-gMapData_SSAnne_CaptainsOffice3:: @ 8341A98
- .incbin "baserom.gba", 0x341A98, 0x2AC
-
-gMapData_SevenIsland_TrainerTower_Lobby:: @ 8341D44
- .incbin "baserom.gba", 0x341D44, 0x288
-
-gMapData_SevenIsland_TrainerTower_1F:: @ 8341FCC
- .incbin "baserom.gba", 0x341FCC, 0x288
-
-gMapData_SevenIsland_TrainerTower_2F:: @ 8342254
- .incbin "baserom.gba", 0x342254, 0x288
-
-gMapData_SevenIsland_TrainerTower_3F:: @ 83424DC
- .incbin "baserom.gba", 0x3424DC, 0x288
-
-gMapData_SevenIsland_TrainerTower_4F:: @ 8342764
- .incbin "baserom.gba", 0x342764, 0x288
-
-gMapData_SevenIsland_TrainerTower_5F:: @ 83429EC
- .incbin "baserom.gba", 0x3429EC, 0x288
-
-gMapData_SevenIsland_TrainerTower_6F:: @ 8342C74
- .incbin "baserom.gba", 0x342C74, 0x288
-
-gMapData_SevenIsland_TrainerTower_7F:: @ 8342EFC
- .incbin "baserom.gba", 0x342EFC, 0x288
-
-gMapData_SevenIsland_TrainerTower_8F:: @ 8343184
- .incbin "baserom.gba", 0x343184, 0x264
-
-gMapData_SevenIsland_TrainerTower_Roof:: @ 83433E8
- .incbin "baserom.gba", 0x3433E8, 0x6C
-
-gMapData_SevenIsland_TrainerTower_Elevator:: @ 8343454
- .incbin "baserom.gba", 0x343454, 0xEC
-
-gMapData_CeruleanCity_House5:: @ 8343540
- .incbin "baserom.gba", 0x343540, 0x184
-
-gMapData_SSAnne_CaptainsOffice5:: @ 83436C4
- .incbin "baserom.gba", 0x3436C4, 0x144
-
-gMapData_SixIsland_DottedHole_B1F:: @ 8343808
- .incbin "baserom.gba", 0x343808, 0x144
-
-gMapData_SixIsland_DottedHole_B2F:: @ 834394C
- .incbin "baserom.gba", 0x34394C, 0x144
-
-gMapData_SixIsland_DottedHole_B3F:: @ 8343A90
- .incbin "baserom.gba", 0x343A90, 0x144
-
-gMapData_SSAnne_CaptainsOffice9:: @ 8343BD4
- .incbin "baserom.gba", 0x343BD4, 0x204
-
-gMapData_SixIsland_DottedHole_SapphireRoom:: @ 8343DD8
- .incbin "baserom.gba", 0x343DD8, 0x1E0
-
-gMapData_BirthIsland_Harbor:: @ 8343FB8
-gMapData_NavelRock_Harbor:: @ 8343FB8
-gMapData_SevenIsland_Harbor:: @ 8343FB8
-gMapData_OneIsland_Harbor:: @ 8343FB8
-gMapData_TwoIsland_Harbor:: @ 8343FB8
-gMapData_FourIsland_Harbor:: @ 8343FB8
-gMapData_FiveIsland_Harbor:: @ 8343FB8
-gMapData_SixIsland_Harbor:: @ 8343FB8
-gMapData_ThreeIsland_Harbor:: @ 8343FB8
- .incbin "baserom.gba", 0x343FB8, 0x150
-
-gMapData_OneIsland_PokemonCenter_2F:: @ 8344108
- .incbin "baserom.gba", 0x344108, 0xF28
-
-gMapData_SSAnne_1F_Room11:: @ 8345030
- .incbin "baserom.gba", 0x345030, 0x1C8
-
-gMapData_ThreeIsland_DunsparceTunnel:: @ 83451F8
- .incbin "baserom.gba", 0x3451F8, 0x2E0
-
-gMapData_FiveIsland_LostCave_Entrance:: @ 83454D8
- .incbin "baserom.gba", 0x3454D8, 0x118
-
-gMapData_FiveIsland_LostCave_Room1:: @ 83455F0
- .incbin "baserom.gba", 0x3455F0, 0x118
-
-gMapData_FiveIsland_LostCave_Room2:: @ 8345708
- .incbin "baserom.gba", 0x345708, 0x118
-
-gMapData_FiveIsland_LostCave_Room3:: @ 8345820
- .incbin "baserom.gba", 0x345820, 0x118
-
-gMapData_FiveIsland_LostCave_Room4:: @ 8345938
- .incbin "baserom.gba", 0x345938, 0x118
-
-gMapData_FiveIsland_LostCave_Room5:: @ 8345A50
- .incbin "baserom.gba", 0x345A50, 0x118
-
-gMapData_FiveIsland_LostCave_Room6:: @ 8345B68
- .incbin "baserom.gba", 0x345B68, 0x118
-
-gMapData_FiveIsland_LostCave_Room7:: @ 8345C80
- .incbin "baserom.gba", 0x345C80, 0x118
-
-gMapData_FiveIsland_LostCave_Room8:: @ 8345D98
- .incbin "baserom.gba", 0x345D98, 0x118
-
-gMapData_FiveIsland_LostCave_Room9:: @ 8345EB0
- .incbin "baserom.gba", 0x345EB0, 0x118
-
-gMapData_FiveIsland_LostCave_Room10:: @ 8345FC8
- .incbin "baserom.gba", 0x345FC8, 0x118
-
-gMapData_FiveIsland_LostCave_Room11:: @ 83460E0
- .incbin "baserom.gba", 0x3460E0, 0x118
-
-gMapData_FiveIsland_LostCave_Room12:: @ 83461F8
- .incbin "baserom.gba", 0x3461F8, 0x118
-
-gMapData_FiveIsland_LostCave_Room13:: @ 8346310
- .incbin "baserom.gba", 0x346310, 0x118
-
-gMapData_FiveIsland_LostCave_Room14:: @ 8346428
- .incbin "baserom.gba", 0x346428, 0x334
-
-gMapData_SevenIsland_TanobyRuins_MoneanChamber:: @ 834675C
- .incbin "baserom.gba", 0x34675C, 0x334
-
-gMapData_SevenIsland_TanobyRuins_LiptooChamber:: @ 8346A90
- .incbin "baserom.gba", 0x346A90, 0x334
-
-gMapData_SevenIsland_TanobyRuins_WeepthChamber:: @ 8346DC4
- .incbin "baserom.gba", 0x346DC4, 0x334
-
-gMapData_SevenIsland_TanobyRuins_DilfordChamber:: @ 83470F8
- .incbin "baserom.gba", 0x3470F8, 0x334
-
-gMapData_SevenIsland_TanobyRuins_ScufibChamber:: @ 834742C
- .incbin "baserom.gba", 0x34742C, 0x624
-
-gMapData_SSAnne_1F_Room12:: @ 8347A50
- .incbin "baserom.gba", 0x347A50, 0x204
-
-gMapData_SevenIsland_SeavaultCanyon_TanobyKey:: @ 8347C54
- .incbin "baserom.gba", 0x347C54, 0x72C
-
-gMapData_BirthIsland_Exterior:: @ 8348380
- .incbin "baserom.gba", 0x348380, 0x3BC
-
-gMapData_NavelRock_Exterior:: @ 834873C
- .incbin "baserom.gba", 0x34873C, 0x398
-
-gMapData_NavelRock_1F:: @ 8348AD4
- .incbin "baserom.gba", 0x348AD4, 0x3DC
-
-gMapData_NavelRock_Summit:: @ 8348EB0
- .incbin "baserom.gba", 0x348EB0, 0x3EC
-
-gMapData_NavelRock_Base:: @ 834929C
- .incbin "baserom.gba", 0x34929C, 0x88
-
-gMapData_NavelRock_SummitPath_2F:: @ 8349324
- .incbin "baserom.gba", 0x349324, 0x88
-
-gMapData_NavelRock_SummitPath_3F:: @ 83493AC
- .incbin "baserom.gba", 0x3493AC, 0x88
-
-gMapData_NavelRock_SummitPath_4F:: @ 8349434
- .incbin "baserom.gba", 0x349434, 0x88
-
-gMapData_NavelRock_SummitPath_5F:: @ 83494BC
- .incbin "baserom.gba", 0x3494BC, 0x88
-
-gMapData_NavelRock_BasePath_B1F:: @ 8349544
- .incbin "baserom.gba", 0x349544, 0x88
-
-gMapData_NavelRock_BasePath_B2F:: @ 83495CC
- .incbin "baserom.gba", 0x3495CC, 0x88
-
-gMapData_NavelRock_BasePath_B3F:: @ 8349654
- .incbin "baserom.gba", 0x349654, 0x88
-
-gMapData_NavelRock_BasePath_B4F:: @ 83496DC
- .incbin "baserom.gba", 0x3496DC, 0x88
-
-gMapData_NavelRock_BasePath_B5F:: @ 8349764
- .incbin "baserom.gba", 0x349764, 0x88
-
-gMapData_NavelRock_BasePath_B6F:: @ 83497EC
- .incbin "baserom.gba", 0x3497EC, 0x88
-
-gMapData_NavelRock_BasePath_B7F:: @ 8349874
- .incbin "baserom.gba", 0x349874, 0x88
-
-gMapData_NavelRock_BasePath_B8F:: @ 83498FC
- .incbin "baserom.gba", 0x3498FC, 0x88
-
-gMapData_NavelRock_BasePath_B9F:: @ 8349984
- .incbin "baserom.gba", 0x349984, 0x88
-
-gMapData_NavelRock_BasePath_B10F:: @ 8349A0C
- .incbin "baserom.gba", 0x349A0C, 0x88
-
-gMapData_NavelRock_BasePath_B11F:: @ 8349A94
- .incbin "baserom.gba", 0x349A94, 0x334
-
-gMapData_SevenIsland_TanobyRuins_RixyChamber:: @ 8349DC8
- .incbin "baserom.gba", 0x349DC8, 0x334
-
-gMapData_SevenIsland_TanobyRuins_ViapoisChamber:: @ 834A0FC
- .incbin "baserom.gba", 0x34A0FC, 0x114
-
-gMapData_NavelRock_B1F:: @ 834A210
- .incbin "baserom.gba", 0x34A210, 0x1794
-
-gMapData_NavelRock_Fork:: @ 834B9A4
- .incbin "baserom.gba", 0x34B9A4, 0x296C
-
-gMapData_SevenIsland_House_Room1:: @ 834E310
- .incbin "baserom.gba", 0x34E310, 0x860
-
-gMapData_OneIsland_KindleRoad_EmberSpa:: @ 834EB70
- .incbin "baserom.gba", 0x34EB70, 0x1C
-
-gUnknown_834EB8C:: @ 834EB8C
- .incbin "baserom.gba", 0x34EB8C, 0x5FC
-
- .include "data/maps/groups.inc"
diff --git a/data/event_scripts.s b/data/event_scripts.s
index 16e6b6ae0..1eebf3df8 100644
--- a/data/event_scripts.s
+++ b/data/event_scripts.s
@@ -1,3 +1,18 @@
+#include "constants/flags.h"
+#include "constants/decorations.h"
+#include "constants/items.h"
+#include "constants/layouts.h"
+#include "constants/maps.h"
+#include "constants/moves.h"
+#include "constants/songs.h"
+#include "constants/species.h"
+#include "constants/trainer_classes.h"
+#include "constants/vars.h"
+#include "constants/battle.h"
+ .include "asm/macros.inc"
+ .include "asm/macros/event.inc"
+@ .include "constants/constants.inc"
+
.section script_data, "aw", %progbits
.include "data/script_cmd_table.inc"
@@ -42,2027 +57,4 @@ gStdScripts:: @ 8160450
.4byte gStdScript_81A4E66
gStdScriptsEnd::
-gMapScripts_UnknownMap_00_00:: @ 8160478
- .incbin "baserom.gba", 0x160478, 0x1
-
-gMapScripts_UnknownMap_00_01:: @ 8160479
- .incbin "baserom.gba", 0x160479, 0x1
-
-gMapScripts_UnknownMap_00_02:: @ 816047A
- .incbin "baserom.gba", 0x16047A, 0x1
-
-gMapScripts_UnknownMap_00_03:: @ 816047B
- .incbin "baserom.gba", 0x16047B, 0x1
-
-gMapScripts_UnknownMap_00_04:: @ 816047C
- .incbin "baserom.gba", 0x16047C, 0xA3
-
-gMapScripts_ViridianForest:: @ 816051F
- .incbin "baserom.gba", 0x16051F, 0xC5
-
-gMapScripts_MtMoon_1F:: @ 81605E4
- .incbin "baserom.gba", 0x1605E4, 0xB4
-
-gMapScripts_MtMoon_B1F:: @ 8160698
- .incbin "baserom.gba", 0x160698, 0x1
-
-gMapScripts_MtMoon_B2F:: @ 8160699
- .incbin "baserom.gba", 0x160699, 0x1A7
-
-gMapScripts_SSAnne_Exterior:: @ 8160840
- .incbin "baserom.gba", 0x160840, 0x8B
-
-gMapScripts_SSAnne_1F_Corridor:: @ 81608CB
- .incbin "baserom.gba", 0x1608CB, 0x13
-
-gMapScripts_SSAnne_2F_Corridor:: @ 81608DE
- .incbin "baserom.gba", 0x1608DE, 0x17F
-
-gMapScripts_SSAnne_3F_Corridor:: @ 8160A5D
- .incbin "baserom.gba", 0x160A5D, 0xA
-
-gMapScripts_SSAnne_B1F_Corridor:: @ 8160A67
- .incbin "baserom.gba", 0x160A67, 0x1
-
-gMapScripts_SSAnne_Deck:: @ 8160A68
- .incbin "baserom.gba", 0x160A68, 0x4A
-
-gMapScripts_SSAnne_Kitchen:: @ 8160AB2
- .incbin "baserom.gba", 0x160AB2, 0x87
-
-gMapScripts_SSAnne_CaptainsOffice:: @ 8160B39
- .incbin "baserom.gba", 0x160B39, 0xA2
-
-gMapScripts_SSAnne_1F_Room1:: @ 8160BDB
- .incbin "baserom.gba", 0x160BDB, 0xA
-
-gMapScripts_SSAnne_1F_Room2:: @ 8160BE5
- .incbin "baserom.gba", 0x160BE5, 0x38
-
-gMapScripts_SSAnne_1F_Room3:: @ 8160C1D
- .incbin "baserom.gba", 0x160C1D, 0x26
-
-gMapScripts_SSAnne_1F_Room4:: @ 8160C43
- .incbin "baserom.gba", 0x160C43, 0x23
-
-gMapScripts_SSAnne_1F_Room5:: @ 8160C66
- .incbin "baserom.gba", 0x160C66, 0x18
-
-gMapScripts_SSAnne_1F_Room7:: @ 8160C7E
- .incbin "baserom.gba", 0x160C7E, 0x18
-
-gMapScripts_SSAnne_2F_Room1:: @ 8160C96
- .incbin "baserom.gba", 0x160C96, 0x1A
-
-gMapScripts_SSAnne_2F_Room2:: @ 8160CB0
- .incbin "baserom.gba", 0x160CB0, 0x2F
-
-gMapScripts_SSAnne_2F_Room3:: @ 8160CDF
- .incbin "baserom.gba", 0x160CDF, 0x13
-
-gMapScripts_SSAnne_2F_Room4:: @ 8160CF2
- .incbin "baserom.gba", 0x160CF2, 0x2F
-
-gMapScripts_SSAnne_2F_Room5:: @ 8160D21
- .incbin "baserom.gba", 0x160D21, 0x13
-
-gMapScripts_SSAnne_2F_Room6:: @ 8160D34
- .incbin "baserom.gba", 0x160D34, 0x13
-
-gMapScripts_SSAnne_B1F_Room1:: @ 8160D47
- .incbin "baserom.gba", 0x160D47, 0x2F
-
-gMapScripts_SSAnne_B1F_Room2:: @ 8160D76
- .incbin "baserom.gba", 0x160D76, 0x18
-
-gMapScripts_SSAnne_B1F_Room3:: @ 8160D8E
- .incbin "baserom.gba", 0x160D8E, 0x18
-
-gMapScripts_SSAnne_B1F_Room4:: @ 8160DA6
- .incbin "baserom.gba", 0x160DA6, 0x2F
-
-gMapScripts_SSAnne_B1F_Room5:: @ 8160DD5
- .incbin "baserom.gba", 0x160DD5, 0x1D
-
-gMapScripts_SSAnne_1F_Room6:: @ 8160DF2
- .incbin "baserom.gba", 0x160DF2, 0x46
-
-gMapScripts_UndergroundPath_NorthEntrance:: @ 8160E38
- .incbin "baserom.gba", 0x160E38, 0x7D
-
-gMapScripts_UndergroundPath_NorthSouthTunnel:: @ 8160EB5
- .incbin "baserom.gba", 0x160EB5, 0xA
-
-gMapScripts_UndergroundPath_SouthEntrance:: @ 8160EBF
- .incbin "baserom.gba", 0x160EBF, 0xA
-
-gMapScripts_UndergroundPath_WestEntrance:: @ 8160EC9
- .incbin "baserom.gba", 0x160EC9, 0xA
-
-gMapScripts_UndergroundPath_EastWestTunnel:: @ 8160ED3
- .incbin "baserom.gba", 0x160ED3, 0xA
-
-gMapScripts_UndergroundPath_EastEntrance:: @ 8160EDD
- .incbin "baserom.gba", 0x160EDD, 0xA
-
-gMapScripts_DiglettsCave_NorthEntrance:: @ 8160EE7
- .incbin "baserom.gba", 0x160EE7, 0xA
-
-gMapScripts_DiglettsCave_B1F:: @ 8160EF1
- .incbin "baserom.gba", 0x160EF1, 0xA
-
-gMapScripts_DiglettsCave_SouthEntrance:: @ 8160EFB
- .incbin "baserom.gba", 0x160EFB, 0xA
-
-gMapScripts_VictoryRoad_1F:: @ 8160F05
- .incbin "baserom.gba", 0x160F05, 0x8D
-
-gMapScripts_VictoryRoad_2F:: @ 8160F92
- .incbin "baserom.gba", 0x160F92, 0x118
-
-gMapScripts_VictoryRoad_3F:: @ 81610AA
- .incbin "baserom.gba", 0x1610AA, 0xEB
-
-gMapScripts_RocketHideout_B1F:: @ 8161195
- .incbin "baserom.gba", 0x161195, 0x10C
-
-gMapScripts_RocketHideout_B2F:: @ 81612A1
- .incbin "baserom.gba", 0x1612A1, 0x18
-
-gMapScripts_RocketHideout_B3F:: @ 81612B9
- .incbin "baserom.gba", 0x1612B9, 0x2F
-
-gMapScripts_RocketHideout_B4F:: @ 81612E8
- .incbin "baserom.gba", 0x1612E8, 0x1F0
-
-gMapScripts_RocketHideout_Elevator:: @ 81614D8
- .incbin "baserom.gba", 0x1614D8, 0x14D
-
-gMapScripts_SilphCo_1F:: @ 8161625
- .incbin "baserom.gba", 0x161625, 0x1C
-
-gMapScripts_SilphCo_2F:: @ 8161641
- .incbin "baserom.gba", 0x161641, 0x84
-
-gMapScripts_SilphCo_3F:: @ 81616C5
- .incbin "baserom.gba", 0x1616C5, 0x71
-
-gMapScripts_SilphCo_4F:: @ 8161736
- .incbin "baserom.gba", 0x161736, 0x88
-
-gMapScripts_SilphCo_5F:: @ 81617BE
- .incbin "baserom.gba", 0x1617BE, 0xC3
-
-gMapScripts_SilphCo_6F:: @ 8161881
- .incbin "baserom.gba", 0x161881, 0x103
-
-gMapScripts_SilphCo_7F:: @ 8161984
- .incbin "baserom.gba", 0x161984, 0x2DB
-
-gMapScripts_SilphCo_8F:: @ 8161C5F
- .incbin "baserom.gba", 0x161C5F, 0x7F
-
-gMapScripts_SilphCo_9F:: @ 8161CDE
- .incbin "baserom.gba", 0x161CDE, 0xA8
-
-gMapScripts_SilphCo_10F:: @ 8161D86
- .incbin "baserom.gba", 0x161D86, 0x68
-
-gMapScripts_SilphCo_11F:: @ 8161DEE
- .incbin "baserom.gba", 0x161DEE, 0x180
-
-gMapScripts_SilphCo_Elevator:: @ 8161F6E
- .incbin "baserom.gba", 0x161F6E, 0x28B
-
-gMapScripts_PokemonMansion_1F:: @ 81621F9
- .incbin "baserom.gba", 0x1621F9, 0x5B
-
-gMapScripts_PokemonMansion_2F:: @ 8162254
- .incbin "baserom.gba", 0x162254, 0x4D
-
-gMapScripts_PokemonMansion_3F:: @ 81622A1
- .incbin "baserom.gba", 0x1622A1, 0x5B
-
-gMapScripts_PokemonMansion_B1F:: @ 81622FC
- .incbin "baserom.gba", 0x1622FC, 0x5B
-
-gMapScripts_SafariZone_Center:: @ 8162357
- .incbin "baserom.gba", 0x162357, 0x25
-
-gMapScripts_SafariZone_East:: @ 816237C
- .incbin "baserom.gba", 0x16237C, 0x1C
-
-gMapScripts_SafariZone_North:: @ 8162398
- .incbin "baserom.gba", 0x162398, 0x2E
-
-gMapScripts_SafariZone_West:: @ 81623C6
- .incbin "baserom.gba", 0x1623C6, 0x25
-
-gMapScripts_SafariZone_Building1:: @ 81623EB
- .incbin "baserom.gba", 0x1623EB, 0x13
-
-gMapScripts_SafariZone_Building2:: @ 81623FE
- .incbin "baserom.gba", 0x1623FE, 0x1C
-
-gMapScripts_SafariZone_Building3:: @ 816241A
- .incbin "baserom.gba", 0x16241A, 0x1C
-
-gMapScripts_SafariZone_Building4:: @ 8162436
- .incbin "baserom.gba", 0x162436, 0x1C
-
-gMapScripts_SafariZone_SecretHouse:: @ 8162452
- .incbin "baserom.gba", 0x162452, 0x61
-
-gMapScripts_CeruleanCave_1F:: @ 81624B3
- .incbin "baserom.gba", 0x1624B3, 0xA
-
-gMapScripts_CeruleanCave_2F:: @ 81624BD
- .incbin "baserom.gba", 0x1624BD, 0x1
-
-gMapScripts_CeruleanCave_B1F:: @ 81624BE
- .incbin "baserom.gba", 0x1624BE, 0xAE
-
-gMapScripts_PokemonLeague_LoreleisRoom:: @ 816256C
- .incbin "baserom.gba", 0x16256C, 0x119
-
-gMapScripts_PokemonLeague_BrunosRoom:: @ 8162685
- .incbin "baserom.gba", 0x162685, 0x18B
-
-gMapScripts_PokemonLeague_AgathasRoom:: @ 8162810
- .incbin "baserom.gba", 0x162810, 0x11D
-
-gMapScripts_PokemonLeague_LancesRoom:: @ 816292D
- .incbin "baserom.gba", 0x16292D, 0x1B5
-
-gMapScripts_PokemonLeague_ChampionsRoom:: @ 8162AE2
- .incbin "baserom.gba", 0x162AE2, 0x26A
-
-gMapScripts_PokemonLeague_HallOfFame:: @ 8162D4C
- .incbin "baserom.gba", 0x162D4C, 0x8A
-
-gMapScripts_RockTunnel_1F:: @ 8162DD6
- .incbin "baserom.gba", 0x162DD6, 0xB4
-
-gMapScripts_RockTunnel_B1F:: @ 8162E8A
- .incbin "baserom.gba", 0x162E8A, 0xB9
-
-gMapScripts_SeafoamIslands_1F:: @ 8162F43
- .incbin "baserom.gba", 0x162F43, 0xA
-
-gMapScripts_SeafoamIslands_B1F:: @ 8162F4D
- .incbin "baserom.gba", 0x162F4D, 0x1
-
-gMapScripts_SeafoamIslands_B2F:: @ 8162F4E
- .incbin "baserom.gba", 0x162F4E, 0x1
-
-gMapScripts_SeafoamIslands_B3F:: @ 8162F4F
- .incbin "baserom.gba", 0x162F4F, 0xDF
-
-gMapScripts_SeafoamIslands_B4F:: @ 816302E
- .incbin "baserom.gba", 0x16302E, 0x207
-
-gMapScripts_PokemonTower_1F:: @ 8163235
- .incbin "baserom.gba", 0x163235, 0x50
-
-gMapScripts_PokemonTower_2F:: @ 8163285
- .incbin "baserom.gba", 0x163285, 0x121
-
-gMapScripts_PokemonTower_3F:: @ 81633A6
- .incbin "baserom.gba", 0x1633A6, 0x46
-
-gMapScripts_PokemonTower_4F:: @ 81633EC
- .incbin "baserom.gba", 0x1633EC, 0x46
-
-gMapScripts_PokemonTower_5F:: @ 8163432
- .incbin "baserom.gba", 0x163432, 0x85
-
-gMapScripts_PokemonTower_6F:: @ 81634B7
- .incbin "baserom.gba", 0x1634B7, 0xA2
-
-gMapScripts_PokemonTower_7F:: @ 8163559
- .incbin "baserom.gba", 0x163559, 0x20B
-
-gMapScripts_PowerPlant:: @ 8163764
- .incbin "baserom.gba", 0x163764, 0x187
-
-gMapScripts_MtEmber_RubyPath_B4F:: @ 81638EB
- .incbin "baserom.gba", 0x1638EB, 0x5B
-
-gMapScripts_MtEmber_Exterior:: @ 8163946
- .incbin "baserom.gba", 0x163946, 0x1B3
-
-gMapScripts_MtEmber_SummitPath_1F:: @ 8163AF9
- .incbin "baserom.gba", 0x163AF9, 0x1
-
-gMapScripts_MtEmber_SummitPath_2F:: @ 8163AFA
- .incbin "baserom.gba", 0x163AFA, 0x1
-
-gMapScripts_MtEmber_SummitPath_3F:: @ 8163AFB
- .incbin "baserom.gba", 0x163AFB, 0x1
-
-gMapScripts_MtEmber_Summit:: @ 8163AFC
- .incbin "baserom.gba", 0x163AFC, 0xAE
-
-gMapScripts_MtEmber_RubyPath_B5F:: @ 8163BAA
- .incbin "baserom.gba", 0x163BAA, 0x9B
-
-gMapScripts_SSAnne_Kitchen3:: @ 8163C45
- .incbin "baserom.gba", 0x163C45, 0x1
-
-gMapScripts_MtEmber_RubyPath_B1F:: @ 8163C46
- .incbin "baserom.gba", 0x163C46, 0x1
-
-gMapScripts_MtEmber_RubyPath_B2F:: @ 8163C47
- .incbin "baserom.gba", 0x163C47, 0x1
-
-gMapScripts_MtEmber_RubyPath_B3F:: @ 8163C48
- .incbin "baserom.gba", 0x163C48, 0x27
-
-gMapScripts_MtEmber_RubyPath_B1F_Stairs:: @ 8163C6F
- .incbin "baserom.gba", 0x163C6F, 0x1
-
-gMapScripts_MtEmber_RubyPath_B2F_Stairs:: @ 8163C70
- .incbin "baserom.gba", 0x163C70, 0x1
-
-gMapScripts_ThreeIsland_BerryForest:: @ 8163C71
- .incbin "baserom.gba", 0x163C71, 0xC9
-
-gMapScripts_FourIsland_IcefallCave_Entrance:: @ 8163D3A
- .incbin "baserom.gba", 0x163D3A, 0xA
-
-gMapScripts_FourIsland_IcefallCave_1F:: @ 8163D44
- .incbin "baserom.gba", 0x163D44, 0x3D
-
-gMapScripts_SSAnne_CaptainsOffice2:: @ 8163D81
- .incbin "baserom.gba", 0x163D81, 0x1
-
-gMapScripts_SSAnne_CaptainsOffice3:: @ 8163D82
- .incbin "baserom.gba", 0x163D82, 0x1AC
-
-gMapScripts_SSAnne_CaptainsOffice4:: @ 8163F2E
- .incbin "baserom.gba", 0x163F2E, 0x254
-
-gMapScripts_SSAnne_CaptainsOffice5:: @ 8164182
- .incbin "baserom.gba", 0x164182, 0x2E
-
-gMapScripts_SixIsland_DottedHole_B1F:: @ 81641B0
- .incbin "baserom.gba", 0x1641B0, 0x1
-
-gMapScripts_SixIsland_DottedHole_B2F:: @ 81641B1
- .incbin "baserom.gba", 0x1641B1, 0x1
-
-gMapScripts_SixIsland_DottedHole_B3F:: @ 81641B2
- .incbin "baserom.gba", 0x1641B2, 0x1
-
-gMapScripts_SSAnne_CaptainsOffice9:: @ 81641B3
- .incbin "baserom.gba", 0x1641B3, 0x1
-
-gMapScripts_SixIsland_DottedHole_SapphireRoom:: @ 81641B4
- .incbin "baserom.gba", 0x1641B4, 0x3A5
-
-gMapScripts_SSAnne_1F_Room11:: @ 8164559
- .incbin "baserom.gba", 0x164559, 0x14B
-
-gMapScripts_SSAnne_1F_Room12:: @ 81646A4
- .incbin "baserom.gba", 0x1646A4, 0xA
-
-gMapScripts_NavelRock_Exterior:: @ 81646AE
- .incbin "baserom.gba", 0x1646AE, 0xA
-
-gMapScripts_SevenIsland_TrainerTower_1F:: @ 81646B8
- .incbin "baserom.gba", 0x1646B8, 0x2E
-
-gMapScripts_SevenIsland_TrainerTower_2F:: @ 81646E6
- .incbin "baserom.gba", 0x1646E6, 0x2E
-
-gMapScripts_SevenIsland_TrainerTower_3F:: @ 8164714
- .incbin "baserom.gba", 0x164714, 0x2E
-
-gMapScripts_SevenIsland_TrainerTower_4F:: @ 8164742
- .incbin "baserom.gba", 0x164742, 0x2E
-
-gMapScripts_SevenIsland_TrainerTower_5F:: @ 8164770
- .incbin "baserom.gba", 0x164770, 0x2E
-
-gMapScripts_SevenIsland_TrainerTower_6F:: @ 816479E
- .incbin "baserom.gba", 0x16479E, 0x2E
-
-gMapScripts_SevenIsland_TrainerTower_7F:: @ 81647CC
- .incbin "baserom.gba", 0x1647CC, 0x2E
-
-gMapScripts_SevenIsland_TrainerTower_8F:: @ 81647FA
- .incbin "baserom.gba", 0x1647FA, 0x2E
-
-gMapScripts_SevenIsland_TrainerTower_Roof:: @ 8164828
- .incbin "baserom.gba", 0x164828, 0x11
-
-gMapScripts_SevenIsland_TrainerTower_Lobby:: @ 8164839
- .incbin "baserom.gba", 0x164839, 0x2BF
-
-gMapScripts_SevenIsland_TrainerTower_Elevator:: @ 8164AF8
- .incbin "baserom.gba", 0x164AF8, 0xF4
-
-gMapScripts_FiveIsland_LostCave_Entrance:: @ 8164BEC
- .incbin "baserom.gba", 0x164BEC, 0xA
-
-gMapScripts_FiveIsland_LostCave_Room1:: @ 8164BF6
- .incbin "baserom.gba", 0x164BF6, 0x18
-
-gMapScripts_FiveIsland_LostCave_Room2:: @ 8164C0E
- .incbin "baserom.gba", 0x164C0E, 0x1
-
-gMapScripts_FiveIsland_LostCave_Room3:: @ 8164C0F
- .incbin "baserom.gba", 0x164C0F, 0x1
-
-gMapScripts_FiveIsland_LostCave_Room4:: @ 8164C10
- .incbin "baserom.gba", 0x164C10, 0x18
-
-gMapScripts_FiveIsland_LostCave_Room5:: @ 8164C28
- .incbin "baserom.gba", 0x164C28, 0x1
-
-gMapScripts_FiveIsland_LostCave_Room6:: @ 8164C29
- .incbin "baserom.gba", 0x164C29, 0x1
-
-gMapScripts_FiveIsland_LostCave_Room7:: @ 8164C2A
- .incbin "baserom.gba", 0x164C2A, 0x1
-
-gMapScripts_FiveIsland_LostCave_Room8:: @ 8164C2B
- .incbin "baserom.gba", 0x164C2B, 0x1
-
-gMapScripts_FiveIsland_LostCave_Room9:: @ 8164C2C
- .incbin "baserom.gba", 0x164C2C, 0x1
-
-gMapScripts_FiveIsland_LostCave_Room10:: @ 8164C2D
- .incbin "baserom.gba", 0x164C2D, 0x9E
-
-gMapScripts_FiveIsland_LostCave_Room11:: @ 8164CCB
- .incbin "baserom.gba", 0x164CCB, 0x1
-
-gMapScripts_FiveIsland_LostCave_Room12:: @ 8164CCC
- .incbin "baserom.gba", 0x164CCC, 0x1
-
-gMapScripts_FiveIsland_LostCave_Room13:: @ 8164CCD
- .incbin "baserom.gba", 0x164CCD, 0x1
-
-gMapScripts_FiveIsland_LostCave_Room14:: @ 8164CCE
- .incbin "baserom.gba", 0x164CCE, 0x1
-
-gMapScripts_SevenIsland_TanobyRuins_MoneanChamber:: @ 8164CCF
- .incbin "baserom.gba", 0x164CCF, 0xF
-
-gMapScripts_SevenIsland_TanobyRuins_LiptooChamber:: @ 8164CDE
- .incbin "baserom.gba", 0x164CDE, 0xC
-
-gMapScripts_SevenIsland_TanobyRuins_WeepthChamber:: @ 8164CEA
- .incbin "baserom.gba", 0x164CEA, 0xC
-
-gMapScripts_SevenIsland_TanobyRuins_DilfordChamber:: @ 8164CF6
- .incbin "baserom.gba", 0x164CF6, 0xC
-
-gMapScripts_SevenIsland_TanobyRuins_ScufibChamber:: @ 8164D02
- .incbin "baserom.gba", 0x164D02, 0xC
-
-gMapScripts_SevenIsland_TanobyRuins_RixyChamber:: @ 8164D0E
- .incbin "baserom.gba", 0x164D0E, 0xC
-
-gMapScripts_SevenIsland_TanobyRuins_ViapoisChamber:: @ 8164D1A
- .incbin "baserom.gba", 0x164D1A, 0xC
-
-gMapScripts_ThreeIsland_DunsparceTunnel:: @ 8164D26
- .incbin "baserom.gba", 0x164D26, 0xA6
-
-gMapScripts_SevenIsland_SeavaultCanyon_TanobyKey:: @ 8164DCC
- .incbin "baserom.gba", 0x164DCC, 0x1D2
-
-gMapScripts_NavelRock_1F:: @ 8164F9E
- .incbin "baserom.gba", 0x164F9E, 0x1
-
-gMapScripts_NavelRock_Summit:: @ 8164F9F
- .incbin "baserom.gba", 0x164F9F, 0x148
-
-gMapScripts_NavelRock_Base:: @ 81650E7
- .incbin "baserom.gba", 0x1650E7, 0x10B
-
-gMapScripts_NavelRock_SummitPath_2F:: @ 81651F2
- .incbin "baserom.gba", 0x1651F2, 0x1
-
-gMapScripts_NavelRock_SummitPath_3F:: @ 81651F3
- .incbin "baserom.gba", 0x1651F3, 0x1
-
-gMapScripts_NavelRock_SummitPath_4F:: @ 81651F4
- .incbin "baserom.gba", 0x1651F4, 0x1
-
-gMapScripts_NavelRock_SummitPath_5F:: @ 81651F5
- .incbin "baserom.gba", 0x1651F5, 0x1
-
-gMapScripts_NavelRock_BasePath_B1F:: @ 81651F6
- .incbin "baserom.gba", 0x1651F6, 0x1
-
-gMapScripts_NavelRock_BasePath_B2F:: @ 81651F7
- .incbin "baserom.gba", 0x1651F7, 0x1
-
-gMapScripts_NavelRock_BasePath_B3F:: @ 81651F8
- .incbin "baserom.gba", 0x1651F8, 0x1
-
-gMapScripts_NavelRock_BasePath_B4F:: @ 81651F9
- .incbin "baserom.gba", 0x1651F9, 0x1
-
-gMapScripts_NavelRock_BasePath_B5F:: @ 81651FA
- .incbin "baserom.gba", 0x1651FA, 0x1
-
-gMapScripts_NavelRock_BasePath_B6F:: @ 81651FB
- .incbin "baserom.gba", 0x1651FB, 0x1
-
-gMapScripts_NavelRock_BasePath_B7F:: @ 81651FC
- .incbin "baserom.gba", 0x1651FC, 0x1
-
-gMapScripts_NavelRock_BasePath_B8F:: @ 81651FD
- .incbin "baserom.gba", 0x1651FD, 0x1
-
-gMapScripts_NavelRock_BasePath_B9F:: @ 81651FE
- .incbin "baserom.gba", 0x1651FE, 0x1
-
-gMapScripts_NavelRock_BasePath_B10F:: @ 81651FF
- .incbin "baserom.gba", 0x1651FF, 0x1
-
-gMapScripts_NavelRock_BasePath_B11F:: @ 8165200
- .incbin "baserom.gba", 0x165200, 0x1
-
-gMapScripts_NavelRock_B1F:: @ 8165201
- .incbin "baserom.gba", 0x165201, 0x1
-
-gMapScripts_NavelRock_Fork:: @ 8165202
- .incbin "baserom.gba", 0x165202, 0x1
-
-gMapScripts_BirthIsland_Exterior:: @ 8165203
- .incbin "baserom.gba", 0x165203, 0x158
-
-gMapScripts_OneIsland_KindleRoad_EmberSpa:: @ 816535B
- .incbin "baserom.gba", 0x16535B, 0x8B
-
-gMapScripts_BirthIsland_Harbor:: @ 81653E6
- .incbin "baserom.gba", 0x1653E6, 0x3A
-
-gMapScripts_NavelRock_Harbor:: @ 8165420
- .incbin "baserom.gba", 0x165420, 0x3A
-
-gMapScripts_PalletTown:: @ 816545A
- .incbin "baserom.gba", 0x16545A, 0x479
-
-gMapScripts_ViridianCity:: @ 81658D3
- .incbin "baserom.gba", 0x1658D3, 0x2BB
-
-gMapScripts_PewterCity:: @ 8165B8E
- .incbin "baserom.gba", 0x165B8E, 0x8E3
-
-gMapScripts_CeruleanCity:: @ 8166471
- .incbin "baserom.gba", 0x166471, 0x3FA
-
-gMapScripts_LavenderTown:: @ 816686B
- .incbin "baserom.gba", 0x16686B, 0x71
-
-gMapScripts_VermilionCity:: @ 81668DC
- .incbin "baserom.gba", 0x1668DC, 0x3B3
-
-gMapScripts_CeladonCity:: @ 8166C8F
- .incbin "baserom.gba", 0x166C8F, 0xE6
-
-gMapScripts_FuchsiaCity:: @ 8166D75
- .incbin "baserom.gba", 0x166D75, 0x161
-
-gMapScripts_CinnabarIsland:: @ 8166ED6
- .incbin "baserom.gba", 0x166ED6, 0x365
-
-gMapScripts_IndigoPlateau_Exterior:: @ 816723B
- .incbin "baserom.gba", 0x16723B, 0x124
-
-gMapScripts_SaffronCity_Duplicate:: @ 816735F
- .incbin "baserom.gba", 0x16735F, 0x124
-
-gMapScripts_SaffronCity:: @ 8167483
- .incbin "baserom.gba", 0x167483, 0x1
-
-gMapScripts_OneIsland:: @ 8167484
- .incbin "baserom.gba", 0x167484, 0xE0
-
-gMapScripts_TwoIsland:: @ 8167564
- .incbin "baserom.gba", 0x167564, 0x249
-
-gMapScripts_ThreeIsland:: @ 81677AD
- .incbin "baserom.gba", 0x1677AD, 0x501
-
-gMapScripts_FourIsland:: @ 8167CAE
- .incbin "baserom.gba", 0x167CAE, 0x1E0
-
-gMapScripts_FiveIsland:: @ 8167E8E
- .incbin "baserom.gba", 0x167E8E, 0x25
-
-gMapScripts_SevenIsland:: @ 8167EB3
- .incbin "baserom.gba", 0x167EB3, 0x25
-
-gMapScripts_SixIsland:: @ 8167ED8
- .incbin "baserom.gba", 0x167ED8, 0x25
-
-gMapScripts_Route1:: @ 8167EFD
- .incbin "baserom.gba", 0x167EFD, 0x67
-
-gMapScripts_Route2:: @ 8167F64
- .incbin "baserom.gba", 0x167F64, 0x13
-
-gMapScripts_Route3:: @ 8167F77
- .incbin "baserom.gba", 0x167F77, 0x13
-
-gMapScripts_Route4:: @ 8167F8A
- .incbin "baserom.gba", 0x167F8A, 0x1D
-
-gMapScripts_Route5:: @ 8167FA7
- .incbin "baserom.gba", 0x167FA7, 0xA
-
-gMapScripts_Route6:: @ 8167FB1
- .incbin "baserom.gba", 0x167FB1, 0xA
-
-gMapScripts_Route7:: @ 8167FBB
- .incbin "baserom.gba", 0x167FBB, 0xA
-
-gMapScripts_Route8:: @ 8167FC5
- .incbin "baserom.gba", 0x167FC5, 0xA
-
-gMapScripts_Route9:: @ 8167FCF
- .incbin "baserom.gba", 0x167FCF, 0xA
-
-gMapScripts_Route10:: @ 8167FD9
- .incbin "baserom.gba", 0x167FD9, 0x1D
-
-gMapScripts_Route11:: @ 8167FF6
- .incbin "baserom.gba", 0x167FF6, 0xA
-
-gMapScripts_Route12:: @ 8168000
- .incbin "baserom.gba", 0x168000, 0xB5
-
-gMapScripts_Route13:: @ 81680B5
- .incbin "baserom.gba", 0x1680B5, 0x1C
-
-gMapScripts_Route14:: @ 81680D1
- .incbin "baserom.gba", 0x1680D1, 0xA
-
-gMapScripts_Route15:: @ 81680DB
- .incbin "baserom.gba", 0x1680DB, 0xA
-
-gMapScripts_Route16:: @ 81680E5
- .incbin "baserom.gba", 0x1680E5, 0xDA
-
-gMapScripts_Route17:: @ 81681BF
- .incbin "baserom.gba", 0x1681BF, 0x37
-
-gMapScripts_Route18:: @ 81681F6
- .incbin "baserom.gba", 0x1681F6, 0x3B
-
-gMapScripts_Route19:: @ 8168231
- .incbin "baserom.gba", 0x168231, 0xA
-
-gMapScripts_Route20:: @ 816823B
- .incbin "baserom.gba", 0x16823B, 0x4E
-
-gMapScripts_Route21_North:: @ 8168289
- .incbin "baserom.gba", 0x168289, 0x1
-
-gMapScripts_Route21_South:: @ 816828A
- .incbin "baserom.gba", 0x16828A, 0x1
-
-gMapScripts_Route22:: @ 816828B
- .incbin "baserom.gba", 0x16828B, 0x260
-
-gMapScripts_Route23:: @ 81684EB
- .incbin "baserom.gba", 0x1684EB, 0x134
-
-gMapScripts_Route24:: @ 816861F
- .incbin "baserom.gba", 0x16861F, 0x126
-
-gMapScripts_Route25:: @ 8168745
- .incbin "baserom.gba", 0x168745, 0x13
-
-gMapScripts_OneIsland_KindleRoad:: @ 8168758
- .incbin "baserom.gba", 0x168758, 0x13
-
-gMapScripts_OneIsland_TreasureBeach:: @ 816876B
- .incbin "baserom.gba", 0x16876B, 0xA
-
-gMapScripts_TwoIsland_CapeBrink:: @ 8168775
- .incbin "baserom.gba", 0x168775, 0x1
-
-gMapScripts_ThreeIsland_BondBridge:: @ 8168776
- .incbin "baserom.gba", 0x168776, 0x13
-
-gMapScripts_ThreeIsland_Port:: @ 8168789
- .incbin "baserom.gba", 0x168789, 0x57
-
-gMapScripts_UnknownMap_03_50:: @ 81687E0
- .incbin "baserom.gba", 0x1687E0, 0x1
-
-gMapScripts_UnknownMap_03_51:: @ 81687E1
- .incbin "baserom.gba", 0x1687E1, 0x1
-
-gMapScripts_UnknownMap_03_52:: @ 81687E2
- .incbin "baserom.gba", 0x1687E2, 0x1
-
-gMapScripts_UnknownMap_03_53:: @ 81687E3
- .incbin "baserom.gba", 0x1687E3, 0x1
-
-gMapScripts_FiveIsland_ResortGorgeous:: @ 81687E4
- .incbin "baserom.gba", 0x1687E4, 0x69
-
-gMapScripts_FiveIsland_WaterLabyrinth:: @ 816884D
- .incbin "baserom.gba", 0x16884D, 0xE5
-
-gMapScripts_FiveIsland_Meadow:: @ 8168932
- .incbin "baserom.gba", 0x168932, 0xA0
-
-gMapScripts_FiveIsland_MemorialPillar:: @ 81689D2
- .incbin "baserom.gba", 0x1689D2, 0x143
-
-gMapScripts_SixIsland_OutcastIsland:: @ 8168B15
- .incbin "baserom.gba", 0x168B15, 0x18
-
-gMapScripts_SixIsland_GreenPath:: @ 8168B2D
- .incbin "baserom.gba", 0x168B2D, 0x13
-
-gMapScripts_SixIsland_WaterPath:: @ 8168B40
- .incbin "baserom.gba", 0x168B40, 0x13
-
-gMapScripts_SixIsland_RuinValley:: @ 8168B53
- .incbin "baserom.gba", 0x168B53, 0x82
-
-gMapScripts_SevenIsland_TrainerTower:: @ 8168BD5
- .incbin "baserom.gba", 0x168BD5, 0x1E
-
-gMapScripts_SevenIsland_SevaultCanyon_Entrance:: @ 8168BF3
- .incbin "baserom.gba", 0x168BF3, 0xA
-
-gMapScripts_SevenIsland_SevaultCanyon:: @ 8168BFD
- .incbin "baserom.gba", 0x168BFD, 0xA
-
-gMapScripts_SevenIsland_TanobyRuins:: @ 8168C07
- .incbin "baserom.gba", 0x168C07, 0x1
-
-gMapScripts_PalletTown_PlayersHouse_1F:: @ 8168C08
- .incbin "baserom.gba", 0x168C08, 0x9B
-
-gMapScripts_PalletTown_PlayersHouse_2F:: @ 8168CA3
- .incbin "baserom.gba", 0x168CA3, 0x41
-
-gUnknown_8168CE4:: @ 8168CE4
- .incbin "baserom.gba", 0x168CE4, 0x33
-
-gUnknown_8168D17:: @ 8168D17
- .incbin "baserom.gba", 0x168D17, 0x10
-
-gMapScripts_PalletTown_GarysHouse:: @ 8168D27
- .incbin "baserom.gba", 0x168D27, 0x257
-
-gMapScripts_PalletTown_ProfessorOaksLab:: @ 8168F7E
- .incbin "baserom.gba", 0x168F7E, 0xF1C
-
-gMapScripts_ViridianCity_House1:: @ 8169E9A
- .incbin "baserom.gba", 0x169E9A, 0x2F
-
-gMapScripts_ViridianCity_Gym:: @ 8169EC9
- .incbin "baserom.gba", 0x169EC9, 0x1B3
-
-gMapScripts_ViridianCity_House2:: @ 816A07C
- .incbin "baserom.gba", 0x16A07C, 0x157
-
-gMapScripts_ViridianCity_Mart:: @ 816A1D3
- .incbin "baserom.gba", 0x16A1D3, 0xED
-
-gMapScripts_ViridianCity_PokemonCenter_1F:: @ 816A2C0
- .incbin "baserom.gba", 0x16A2C0, 0x33
-
-gMapScripts_ViridianCity_PokemonCenter_2F:: @ 816A2F3
- .incbin "baserom.gba", 0x16A2F3, 0x27
-
-gMapScripts_PewterCity_Museum_1F:: @ 816A31A
- .incbin "baserom.gba", 0x16A31A, 0x238
-
-gMapScripts_PewterCity_Museum_2F:: @ 816A552
- .incbin "baserom.gba", 0x16A552, 0x40
-
-gMapScripts_PewterCity_Gym:: @ 816A592
- .incbin "baserom.gba", 0x16A592, 0x13B
-
-gMapScripts_PewterCity_Mart:: @ 816A6CD
- .incbin "baserom.gba", 0x16A6CD, 0x4F
-
-gMapScripts_PewterCity_House1:: @ 816A71C
- .incbin "baserom.gba", 0x16A71C, 0x44
-
-gMapScripts_PewterCity_PokemonCenter_1F:: @ 816A760
- .incbin "baserom.gba", 0x16A760, 0x55
-
-gMapScripts_PewterCity_PokemonCenter_2F:: @ 816A7B5
- .incbin "baserom.gba", 0x16A7B5, 0x27
-
-gMapScripts_PewterCity_House2:: @ 816A7DC
- .incbin "baserom.gba", 0x16A7DC, 0x13
-
-gMapScripts_CeruleanCity_House1:: @ 816A7EF
- .incbin "baserom.gba", 0x16A7EF, 0x186
-
-gMapScripts_CeruleanCity_House2:: @ 816A975
- .incbin "baserom.gba", 0x16A975, 0x32
-
-gMapScripts_CeruleanCity_House3:: @ 816A9A7
- .incbin "baserom.gba", 0x16A9A7, 0x86
-
-gMapScripts_CeruleanCity_PokemonCenter_1F:: @ 816AA2D
- .incbin "baserom.gba", 0x16AA2D, 0x4C
-
-gMapScripts_CeruleanCity_PokemonCenter_2F:: @ 816AA79
- .incbin "baserom.gba", 0x16AA79, 0x27
-
-gMapScripts_CeruleanCity_Gym:: @ 816AAA0
- .incbin "baserom.gba", 0x16AAA0, 0x11C
-
-gMapScripts_CeruleanCity_BikeShop:: @ 816ABBC
- .incbin "baserom.gba", 0x16ABBC, 0xE1
-
-gMapScripts_CeruleanCity_Mart:: @ 816AC9D
- .incbin "baserom.gba", 0x16AC9D, 0x51
-
-gMapScripts_CeruleanCity_House4:: @ 816ACEE
- .incbin "baserom.gba", 0x16ACEE, 0x161
-
-gMapScripts_CeruleanCity_House5:: @ 816AE4F
- .incbin "baserom.gba", 0x16AE4F, 0x2A0
-
-gMapScripts_LavenderTown_PokemonCenter_1F:: @ 816B0EF
- .incbin "baserom.gba", 0x16B0EF, 0x33
-
-gMapScripts_LavenderTown_PokemonCenter_2F:: @ 816B122
- .incbin "baserom.gba", 0x16B122, 0x27
-
-gMapScripts_LavenderTown_VolunteerPokemonHouse:: @ 816B149
- .incbin "baserom.gba", 0x16B149, 0xE9
-
-gMapScripts_LavenderTown_House1:: @ 816B232
- .incbin "baserom.gba", 0x16B232, 0x33
-
-gMapScripts_LavenderTown_House2:: @ 816B265
- .incbin "baserom.gba", 0x16B265, 0xEA
-
-gMapScripts_LavenderTown_Mart:: @ 816B34F
- .incbin "baserom.gba", 0x16B34F, 0x57
-
-gMapScripts_VermilionCity_House1:: @ 816B3A6
- .incbin "baserom.gba", 0x16B3A6, 0x7E
-
-gMapScripts_VermilionCity_PokemonCenter_1F:: @ 816B424
- .incbin "baserom.gba", 0x16B424, 0x33
-
-gMapScripts_VermilionCity_PokemonCenter_2F:: @ 816B457
- .incbin "baserom.gba", 0x16B457, 0x27
-
-gMapScripts_VermilionCity_PokemonFanClub:: @ 816B47E
- .incbin "baserom.gba", 0x16B47E, 0x158
-
-gMapScripts_VermilionCity_House2:: @ 816B5D6
- .incbin "baserom.gba", 0x16B5D6, 0x7D
-
-gMapScripts_VermilionCity_Mart:: @ 816B653
- .incbin "baserom.gba", 0x16B653, 0x4B
-
-gMapScripts_VermilionCity_Gym:: @ 816B69E
- .incbin "baserom.gba", 0x16B69E, 0x40B
-
-gMapScripts_VermilionCity_House3:: @ 816BAA9
- .incbin "baserom.gba", 0x16BAA9, 0x2F
-
-gMapScripts_CeladonCity_DepartmentStore_1F:: @ 816BAD8
- .incbin "baserom.gba", 0x16BAD8, 0x1C
-
-gMapScripts_CeladonCity_DepartmentStore_2F:: @ 816BAF4
- .incbin "baserom.gba", 0x16BAF4, 0x90
-
-gMapScripts_CeladonCity_DepartmentStore_3F:: @ 816BB84
- .incbin "baserom.gba", 0x16BB84, 0x6A
-
-gMapScripts_CeladonCity_DepartmentStore_4F:: @ 816BBEE
- .incbin "baserom.gba", 0x16BBEE, 0x52
-
-gMapScripts_CeladonCity_DepartmentStore_5F:: @ 816BC40
- .incbin "baserom.gba", 0x16BC40, 0x8C
-
-gMapScripts_CeladonCity_DepartmentStore_Roof:: @ 816BCCC
- .incbin "baserom.gba", 0x16BCCC, 0x486
-
-gMapScripts_CeladonCity_DepartmentStore_Elevator:: @ 816C152
- .incbin "baserom.gba", 0x16C152, 0x1CE
-
-gMapScripts_CeladonCity_Condominiums_1F:: @ 816C320
- .incbin "baserom.gba", 0x16C320, 0xB0
-
-gMapScripts_CeladonCity_Condominiums_2F:: @ 816C3D0
- .incbin "baserom.gba", 0x16C3D0, 0xA
-
-gMapScripts_CeladonCity_Condominiums_3F:: @ 816C3DA
- .incbin "baserom.gba", 0x16C3DA, 0x7F
-
-gMapScripts_CeladonCity_Condominiums_Roof:: @ 816C459
- .incbin "baserom.gba", 0x16C459, 0xA
-
-gMapScripts_CeladonCity_Condominiums_RoofRoom:: @ 816C463
- .incbin "baserom.gba", 0x16C463, 0x189
-
-gMapScripts_CeladonCity_PokemonCenter_1F:: @ 816C5EC
- .incbin "baserom.gba", 0x16C5EC, 0x33
-
-gMapScripts_CeladonCity_PokemonCenter_2F:: @ 816C61F
- .incbin "baserom.gba", 0x16C61F, 0x27
-
-gMapScripts_CeladonCity_GameCorner:: @ 816C646
- .incbin "baserom.gba", 0x16C646, 0x52F
-
-gMapScripts_CeladonCity_GameCorner_PrizeRoom:: @ 816CB75
- .incbin "baserom.gba", 0x16CB75, 0x4EB
-
-gMapScripts_CeladonCity_Gym:: @ 816D060
- .incbin "baserom.gba", 0x16D060, 0x18A
-
-gMapScripts_CeladonCity_Restaurant:: @ 816D1EA
- .incbin "baserom.gba", 0x16D1EA, 0x7D
-
-gMapScripts_CeladonCity_House1:: @ 816D267
- .incbin "baserom.gba", 0x16D267, 0x1C
-
-gMapScripts_CeladonCity_Hotel:: @ 816D283
- .incbin "baserom.gba", 0x16D283, 0x25
-
-gMapScripts_FuchsiaCity_SafariZone_Entrance:: @ 816D2A8
- .incbin "baserom.gba", 0x16D2A8, 0x238
-
-gMapScripts_FuchsiaCity_Mart:: @ 816D4E0
- .incbin "baserom.gba", 0x16D4E0, 0x48
-
-gMapScripts_FuchsiaCity_ZooBuilding:: @ 816D528
- .incbin "baserom.gba", 0x16D528, 0x25
-
-gMapScripts_FuchsiaCity_Gym:: @ 816D54D
- .incbin "baserom.gba", 0x16D54D, 0x178
-
-gMapScripts_FuchsiaCity_House1:: @ 816D6C5
- .incbin "baserom.gba", 0x16D6C5, 0x2C
-
-gMapScripts_FuchsiaCity_PokemonCenter_1F:: @ 816D6F1
- .incbin "baserom.gba", 0x16D6F1, 0x33
-
-gMapScripts_FuchsiaCity_PokemonCenter_2F:: @ 816D724
- .incbin "baserom.gba", 0x16D724, 0x27
-
-gMapScripts_FuchsiaCity_Building1:: @ 816D74B
- .incbin "baserom.gba", 0x16D74B, 0xCB
-
-gMapScripts_FuchsiaCity_House2:: @ 816D816
- .incbin "baserom.gba", 0x16D816, 0x7E
-
-gMapScripts_FuchsiaCity_House3:: @ 816D894
- .incbin "baserom.gba", 0x16D894, 0xB7
-
-gMapScripts_CinnabarIsland_Gym:: @ 816D94B
- .incbin "baserom.gba", 0x16D94B, 0x928
-
-gMapScripts_CinnabarIsland_PokemonLab_Entrance:: @ 816E273
- .incbin "baserom.gba", 0x16E273, 0x45
-
-gMapScripts_CinnabarIsland_PokemonLab_Lounge:: @ 816E2B8
- .incbin "baserom.gba", 0x16E2B8, 0x126
-
-gMapScripts_CinnabarIsland_PokemonLab_ResearchRoom:: @ 816E3DE
- .incbin "baserom.gba", 0x16E3DE, 0x22
-
-gMapScripts_CinnabarIsland_PokemonLab_ExperimentRoom:: @ 816E400
- .incbin "baserom.gba", 0x16E400, 0x4D7
-
-gMapScripts_CinnabarIsland_PokemonCenter_1F:: @ 816E8D7
- .incbin "baserom.gba", 0x16E8D7, 0x111
-
-gMapScripts_CinnabarIsland_PokemonCenter_2F:: @ 816E9E8
- .incbin "baserom.gba", 0x16E9E8, 0x27
-
-gMapScripts_CinnabarIsland_Mart:: @ 816EA0F
- .incbin "baserom.gba", 0x16EA0F, 0x4B
-
-gMapScripts_IndigoPlateau_PokemonCenter_1F:: @ 816EA5A
- .incbin "baserom.gba", 0x16EA5A, 0xB5
-
-gMapScripts_IndigoPlateau_PokemonCenter_2F:: @ 816EB0F
- .incbin "baserom.gba", 0x16EB0F, 0x27
-
-gMapScripts_SaffronCity_House1_1F:: @ 816EB36
- .incbin "baserom.gba", 0x16EB36, 0x26
-
-gMapScripts_SaffronCity_House1_2F:: @ 816EB5C
- .incbin "baserom.gba", 0x16EB5C, 0x7F
-
-gMapScripts_SaffronCity_Dojo:: @ 816EBDB
- .incbin "baserom.gba", 0x16EBDB, 0x1FC
-
-gMapScripts_SaffronCity_Gym:: @ 816EDD7
- .incbin "baserom.gba", 0x16EDD7, 0x19C
-
-gMapScripts_SaffronCity_House2:: @ 816EF73
- .incbin "baserom.gba", 0x16EF73, 0x2F
-
-gMapScripts_SaffronCity_Mart:: @ 816EFA2
- .incbin "baserom.gba", 0x16EFA2, 0x4A
-
-gMapScripts_SaffronCity_PokemonCenter_1F:: @ 816EFEC
- .incbin "baserom.gba", 0x16EFEC, 0x4B
-
-gMapScripts_SaffronCity_PokemonCenter_2F:: @ 816F037
- .incbin "baserom.gba", 0x16F037, 0x27
-
-gMapScripts_SaffronCity_House3:: @ 816F05E
- .incbin "baserom.gba", 0x16F05E, 0x61
-
-gMapScripts_SaffronCity_PokemonTrainerFanClub:: @ 816F0BF
- .incbin "baserom.gba", 0x16F0BF, 0x526
-
-gMapScripts_Route2_ViridianForest_SouthEntrance:: @ 816F5E5
- .incbin "baserom.gba", 0x16F5E5, 0x13
-
-gMapScripts_Route2_House:: @ 816F5F8
- .incbin "baserom.gba", 0x16F5F8, 0x86
-
-gMapScripts_Route2_EastBuilding:: @ 816F67E
- .incbin "baserom.gba", 0x16F67E, 0x9F
-
-gMapScripts_Route2_ViridianForest_NorthEntrance:: @ 816F71D
- .incbin "baserom.gba", 0x16F71D, 0x1C
-
-gMapScripts_Route4_PokemonCenter_1F:: @ 816F739
- .incbin "baserom.gba", 0x16F739, 0x19F
-
-gMapScripts_Route4_PokemonCenter_2F:: @ 816F8D8
- .incbin "baserom.gba", 0x16F8D8, 0x27
-
-gMapScripts_Route5_PokemonDayCare:: @ 816F8FF
- .incbin "baserom.gba", 0x16F8FF, 0x1
-
-gMapScripts_Route5_SouthEntrance:: @ 816F900
- .incbin "baserom.gba", 0x16F900, 0xC6
-
-gMapScripts_Route6_NorthEntrance:: @ 816F9C6
- .incbin "baserom.gba", 0x16F9C6, 0xC6
-
-gMapScripts_UnknownMap_18_01:: @ 816FA8C
- .incbin "baserom.gba", 0x16FA8C, 0x1
-
-gMapScripts_Route7_EastEntrance:: @ 816FA8D
- .incbin "baserom.gba", 0x16FA8D, 0xC6
-
-gMapScripts_Route8_WestEntrance:: @ 816FB53
- .incbin "baserom.gba", 0x16FB53, 0xDC
-
-gMapScripts_Route10_PokemonCenter_1F:: @ 816FC2F
- .incbin "baserom.gba", 0x16FC2F, 0xCB
-
-gMapScripts_Route10_PokemonCenter_2F:: @ 816FCFA
- .incbin "baserom.gba", 0x16FCFA, 0x27
-
-gMapScripts_Route11_EastEntrance_1F:: @ 816FD21
- .incbin "baserom.gba", 0x16FD21, 0x13
-
-gMapScripts_Route11_EastEntrance_2F:: @ 816FD34
- .incbin "baserom.gba", 0x16FD34, 0x139
-
-gMapScripts_Route12_NorthEntrance_1F:: @ 816FE6D
- .incbin "baserom.gba", 0x16FE6D, 0xA
-
-gMapScripts_Route12_NorthEntrance_2F:: @ 816FE77
- .incbin "baserom.gba", 0x16FE77, 0x94
-
-gMapScripts_Route12_FishingHouse:: @ 816FF0B
- .incbin "baserom.gba", 0x16FF0B, 0x17D
-
-gMapScripts_Route15_WestEntrance_1F:: @ 8170088
- .incbin "baserom.gba", 0x170088, 0xA
-
-gMapScripts_Route15_WestEntrance_2F:: @ 8170092
- .incbin "baserom.gba", 0x170092, 0xBC
-
-gMapScripts_Route16_House:: @ 817014E
- .incbin "baserom.gba", 0x17014E, 0x74
-
-gMapScripts_Route16_NorthEntrance_1F:: @ 81701C2
- .incbin "baserom.gba", 0x1701C2, 0xFC
-
-gMapScripts_Route16_NorthEntrance_2F:: @ 81702BE
- .incbin "baserom.gba", 0x1702BE, 0xBA
-
-gMapScripts_Route18_EastEntrance_1F:: @ 8170378
- .incbin "baserom.gba", 0x170378, 0xF3
-
-gMapScripts_Route18_EastEntrance_2F:: @ 817046B
- .incbin "baserom.gba", 0x17046B, 0x8F
-
-gMapScripts_UnusedHouse_27_00:: @ 81704FA
- .incbin "baserom.gba", 0x1704FA, 0x1
-
-gMapScripts_Route22_NorthEntrance:: @ 81704FB
- .incbin "baserom.gba", 0x1704FB, 0x27
-
-gMapScripts_UnusedHouse_29_00:: @ 8170522
- .incbin "baserom.gba", 0x170522, 0x1
-
-gMapScripts_Route25_SeaCottage:: @ 8170523
- .incbin "baserom.gba", 0x170523, 0x367
-
-gMapScripts_SevenIsland_House_Room1:: @ 817088A
- .incbin "baserom.gba", 0x17088A, 0x1F4
-
-gMapScripts_SevenIsland_House_Room2:: @ 8170A7E
- .incbin "baserom.gba", 0x170A7E, 0xB2
-
-gMapScripts_SevenIsland_Mart:: @ 8170B30
- .incbin "baserom.gba", 0x170B30, 0x59
-
-gMapScripts_SevenIsland_PokemonCenter_1F:: @ 8170B89
- .incbin "baserom.gba", 0x170B89, 0x33
-
-gMapScripts_SevenIsland_PokemonCenter_2F:: @ 8170BBC
- .incbin "baserom.gba", 0x170BBC, 0x27
-
-gMapScripts_UnusedHouse_31_05:: @ 8170BE3
- .incbin "baserom.gba", 0x170BE3, 0x1
-
-gMapScripts_SevenIsland_Harbor:: @ 8170BE4
- .incbin "baserom.gba", 0x170BE4, 0x14
-
-gMapScripts_OneIsland_PokemonCenter_1F:: @ 8170BF8
- .incbin "baserom.gba", 0x170BF8, 0x73C
-
-gMapScripts_OneIsland_PokemonCenter_2F:: @ 8171334
- .incbin "baserom.gba", 0x171334, 0x27
-
-gMapScripts_OneIsland_House1:: @ 817135B
- .incbin "baserom.gba", 0x17135B, 0x13
-
-gMapScripts_OneIsland_House2:: @ 817136E
- .incbin "baserom.gba", 0x17136E, 0xA
-
-gMapScripts_OneIsland_Harbor:: @ 8171378
- .incbin "baserom.gba", 0x171378, 0x58
-
-gMapScripts_TwoIsland_JoyfulGameCorner:: @ 81713D0
- .incbin "baserom.gba", 0x1713D0, 0x248
-
-gMapScripts_TwoIsland_House:: @ 8171618
- .incbin "baserom.gba", 0x171618, 0x19C
-
-gMapScripts_TwoIsland_PokemonCenter_1F:: @ 81717B4
- .incbin "baserom.gba", 0x1717B4, 0x2A
-
-gMapScripts_TwoIsland_PokemonCenter_2F:: @ 81717DE
- .incbin "baserom.gba", 0x1717DE, 0x27
-
-gMapScripts_TwoIsland_Harbor:: @ 8171805
- .incbin "baserom.gba", 0x171805, 0x14
-
-gMapScripts_ThreeIsland_House1:: @ 8171819
- .incbin "baserom.gba", 0x171819, 0x19
-
-gMapScripts_ThreeIsland_PokemonCenter_1F:: @ 8171832
- .incbin "baserom.gba", 0x171832, 0x33
-
-gMapScripts_ThreeIsland_PokemonCenter_2F:: @ 8171865
- .incbin "baserom.gba", 0x171865, 0x27
-
-gMapScripts_ThreeIsland_Mart:: @ 817188C
- .incbin "baserom.gba", 0x17188C, 0x53
-
-gMapScripts_ThreeIsland_House2:: @ 81718DF
- .incbin "baserom.gba", 0x1718DF, 0x23
-
-gMapScripts_ThreeIsland_House3:: @ 8171902
- .incbin "baserom.gba", 0x171902, 0xA
-
-gMapScripts_ThreeIsland_House4:: @ 817190C
- .incbin "baserom.gba", 0x17190C, 0x13
-
-gMapScripts_ThreeIsland_House5:: @ 817191F
- .incbin "baserom.gba", 0x17191F, 0x20
-
-gMapScripts_FourIsland_PokemonDayCare:: @ 817193F
- .incbin "baserom.gba", 0x17193F, 0x2AB
-
-gMapScripts_FourIsland_PokemonCenter_1F:: @ 8171BEA
- .incbin "baserom.gba", 0x171BEA, 0x33
-
-gMapScripts_FourIsland_PokemonCenter_2F:: @ 8171C1D
- .incbin "baserom.gba", 0x171C1D, 0x27
-
-gMapScripts_FourIsland_House1:: @ 8171C44
- .incbin "baserom.gba", 0x171C44, 0xA
-
-gMapScripts_FourIsland_LoreleisHouse:: @ 8171C4E
- .incbin "baserom.gba", 0x171C4E, 0x4A
-
-gMapScripts_FourIsland_Harbor:: @ 8171C98
- .incbin "baserom.gba", 0x171C98, 0x14
-
-gMapScripts_FourIsland_House2:: @ 8171CAC
- .incbin "baserom.gba", 0x171CAC, 0x1
-
-gMapScripts_FourIsland_Mart:: @ 8171CAD
- .incbin "baserom.gba", 0x171CAD, 0x44
-
-gMapScripts_FiveIsland_PokemonCenter_1F:: @ 8171CF1
- .incbin "baserom.gba", 0x171CF1, 0x2A
-
-gMapScripts_FiveIsland_PokemonCenter_2F:: @ 8171D1B
- .incbin "baserom.gba", 0x171D1B, 0x27
-
-gMapScripts_FiveIsland_Harbor:: @ 8171D42
- .incbin "baserom.gba", 0x171D42, 0x14
-
-gMapScripts_FiveIsland_House1:: @ 8171D56
- .incbin "baserom.gba", 0x171D56, 0xA
-
-gMapScripts_FiveIsland_House2:: @ 8171D60
- .incbin "baserom.gba", 0x171D60, 0xA
-
-gMapScripts_SixIsland_PokemonCenter_1F:: @ 8171D6A
- .incbin "baserom.gba", 0x171D6A, 0xB6
-
-gMapScripts_SixIsland_PokemonCenter_2F:: @ 8171E20
- .incbin "baserom.gba", 0x171E20, 0x27
-
-gMapScripts_SixIsland_Harbor:: @ 8171E47
- .incbin "baserom.gba", 0x171E47, 0x14
-
-gMapScripts_SixIsland_House:: @ 8171E5B
- .incbin "baserom.gba", 0x171E5B, 0xA
-
-gMapScripts_SixIsland_Mart:: @ 8171E65
- .incbin "baserom.gba", 0x171E65, 0x44
-
-gMapScripts_ThreeIsland_Harbor:: @ 8171EA9
- .incbin "baserom.gba", 0x171EA9, 0x14
-
-gMapScripts_FiveIsland_ResortGorgeous_House:: @ 8171EBD
- .incbin "baserom.gba", 0x171EBD, 0x1AE
-
-gMapScripts_TwoIsland_CapeBrink_House:: @ 817206B
- .incbin "baserom.gba", 0x17206B, 0x1
-
-gMapScripts_SixIsland_WaterPath_House1:: @ 817206C
- .incbin "baserom.gba", 0x17206C, 0x10C
-
-gMapScripts_SixIsland_WaterPath_House2:: @ 8172178
- .incbin "baserom.gba", 0x172178, 0xA
-
-gMapScripts_SevenIsland_SevaultCanyon_House:: @ 8172182
- .incbin "baserom.gba", 0x172182, 0x32CBD
-
-gStdScript_81A4E3F::
- .incbin "baserom.gba", 0x1A4E3F, 0xB
-
-gStdScript_81A4E4A::
- .incbin "baserom.gba", 0x1A4E4A, 0xA
-
-gStdScript_81A4E54::
- .incbin "baserom.gba", 0x1A4E54, 0x8
-
-gStdScript_81A4E5C::
- .incbin "baserom.gba", 0x1A4E5C, 0xA
-
-gStdScript_81A4E66::
- .incbin "baserom.gba", 0x1A4E66, 0x4E
-
-gUnknown_81A4EB4:: @ 81A4EB4
- .incbin "baserom.gba", 0x1A4EB4, 0xD
-
-gUnknown_81A4EC1:: @ 81A4EC1
- .incbin "baserom.gba", 0x1A4EC1, 0x28
-
-gUnknown_81A4EE9:: @ 81A4EE9
- .incbin "baserom.gba", 0x1A4EE9, 0x38
-
-gUnknown_81A4F21:: @ 81A4F21
- .incbin "baserom.gba", 0x1A4F21, 0x1D
-
-gUnknown_81A4F3E:: @ 81A4F3E
- .incbin "baserom.gba", 0x1A4F3E, 0x35
-
-gUnknown_81A4F73:: @ 81A4F73
- .incbin "baserom.gba", 0x1A4F73, 0xAC
-
-gStdScript_81A501F::
- .incbin "baserom.gba", 0x1A501F, 0x6B
-
-gUnknown_81A508A:: @ 81A508A
- .incbin "baserom.gba", 0x1A508A, 0x3EC
-
-gUnknown_81A5476:: @ 81A5476
- .incbin "baserom.gba", 0x1A5476, 0x100B
-
-gUnknown_81A6481:: @ 81A6481
- .incbin "baserom.gba", 0x1A6481, 0xCA
-
-gUnknown_81A654B:: @ 81A654B
- .incbin "baserom.gba", 0x1A654B, 0x130
-
-gStdScript_81A667B::
- .incbin "baserom.gba", 0x1A667B, 0xF1
-
-gStdScript_81A676C::
- .incbin "baserom.gba", 0x1A676C, 0x47
-
-gStdScript_81A67B3::
- .incbin "baserom.gba", 0x1A67B3, 0x90
-
-gUnknown_81A6843:: @ 81A6843
- .incbin "baserom.gba", 0x1A6843, 0x112
-
-gUnknown_81A6955:: @ 81A6955
- .incbin "baserom.gba", 0x1A6955, 0x173
-
-gUnknown_81A6AC8:: @ 81A6AC8
- .incbin "baserom.gba", 0x1A6AC8, 0x45
-
-gUnknown_81A6B0D:: @ 81A6B0D
- .incbin "baserom.gba", 0x1A6B0D, 0x125
-
-gUnknown_81A6C32:: @ 81A6C32
- .incbin "baserom.gba", 0x1A6C32, 0xE5
-
-gUnknown_81A6D17:: @ 81A6D17
- .incbin "baserom.gba", 0x1A6D17, 0x56
-
-gUnknown_81A6D6D:: @ 81A6D6D
- .incbin "baserom.gba", 0x1A6D6D, 0x72
-
-gUnknown_81A6DDF:: @ 81A6DDF
- .incbin "baserom.gba", 0x1A6DDF, 0x57
-
-gUnknown_81A6E36:: @ 81A6E36
- .incbin "baserom.gba", 0x1A6E36, 0x6E
-
-gUnknown_81A6EA4:: @ 81A6EA4
- .incbin "baserom.gba", 0x1A6EA4, 0x67
-
-gUnknown_81A6F0B:: @ 81A6F0B
- .incbin "baserom.gba", 0x1A6F0B, 0x66
-
-gUnknown_81A6F71:: @ 81A6F71
- .incbin "baserom.gba", 0x1A6F71, 0x3A
-
-gUnknown_81A6FAB:: @ 81A6FAB
- .incbin "baserom.gba", 0x1A6FAB, 0x46
-
-gUnknown_81A6FF1:: @ 81A6FF1
- .incbin "baserom.gba", 0x1A6FF1, 0x40
-
-gUnknown_81A7031:: @ 81A7031
- .incbin "baserom.gba", 0x1A7031, 0x32
-
-gUnknown_81A7063:: @ 81A7063
- .incbin "baserom.gba", 0x1A7063, 0x42
-
-gUnknown_81A70A5:: @ 81A70A5
- .incbin "baserom.gba", 0x1A70A5, 0x33
-
-gUnknown_81A70D8:: @ 81A70D8
- .incbin "baserom.gba", 0x1A70D8, 0x30
-
-gUnknown_81A7108:: @ 81A7108
- .incbin "baserom.gba", 0x1A7108, 0x2F
-
-gUnknown_81A7137:: @ 81A7137
- .incbin "baserom.gba", 0x1A7137, 0x3E
-
-gUnknown_81A7175:: @ 81A7175
- .incbin "baserom.gba", 0x1A7175, 0x491
-
-gUnknown_81A7606:: @ 81A7606
- .incbin "baserom.gba", 0x1A7606, 0x9
-
-gUnknown_81A760F:: @ 81A760F
- .incbin "baserom.gba", 0x1A760F, 0x9
-
-gUnknown_81A7618:: @ 81A7618
- .incbin "baserom.gba", 0x1A7618, 0x9
-
-gUnknown_81A7621:: @ 81A7621
- .incbin "baserom.gba", 0x1A7621, 0x9
-
-gUnknown_81A762A:: @ 81A762A
- .incbin "baserom.gba", 0x1A762A, 0x9
-
-gUnknown_81A7633:: @ 81A7633
- .incbin "baserom.gba", 0x1A7633, 0x9
-
-gUnknown_81A763C:: @ 81A763C
- .incbin "baserom.gba", 0x1A763C, 0x9
-
-gUnknown_81A7645:: @ 81A7645
- .incbin "baserom.gba", 0x1A7645, 0x9
-
-gUnknown_81A764E:: @ 81A764E
- .incbin "baserom.gba", 0x1A764E, 0x9
-
-gUnknown_81A7657:: @ 81A7657
- .incbin "baserom.gba", 0x1A7657, 0x9
-
-gUnknown_81A7660:: @ 81A7660
- .incbin "baserom.gba", 0x1A7660, 0x9
-
-gUnknown_81A7669:: @ 81A7669
- .incbin "baserom.gba", 0x1A7669, 0x9
-
-gUnknown_81A7672:: @ 81A7672
- .incbin "baserom.gba", 0x1A7672, 0x9
-
-gUnknown_81A767B:: @ 81A767B
- .incbin "baserom.gba", 0x1A767B, 0x9
-
-gUnknown_81A7684:: @ 81A7684
- .incbin "baserom.gba", 0x1A7684, 0x9
-
-gUnknown_81A768D:: @ 81A768D
- .incbin "baserom.gba", 0x1A768D, 0x9
-
-gUnknown_81A7696:: @ 81A7696
- .incbin "baserom.gba", 0x1A7696, 0x9
-
-gUnknown_81A769F:: @ 81A769F
- .incbin "baserom.gba", 0x1A769F, 0x9
-
-gUnknown_81A76A8:: @ 81A76A8
- .incbin "baserom.gba", 0x1A76A8, 0x9
-
-gUnknown_81A76B1:: @ 81A76B1
- .incbin "baserom.gba", 0x1A76B1, 0x9
-
-gUnknown_81A76BA:: @ 81A76BA
- .incbin "baserom.gba", 0x1A76BA, 0x9
-
-gUnknown_81A76C3:: @ 81A76C3
- .incbin "baserom.gba", 0x1A76C3, 0x9
-
-gUnknown_81A76CC:: @ 81A76CC
- .incbin "baserom.gba", 0x1A76CC, 0x9
-
-gUnknown_81A76D5:: @ 81A76D5
- .incbin "baserom.gba", 0x1A76D5, 0x9
-
-gUnknown_81A76DE:: @ 81A76DE
- .incbin "baserom.gba", 0x1A76DE, 0x9
-
-gUnknown_81A76E7:: @ 81A76E7
- .incbin "baserom.gba", 0x1A76E7, 0x9
-
-gUnknown_81A76F0:: @ 81A76F0
- .incbin "baserom.gba", 0x1A76F0, 0x9
-
-gUnknown_81A76F9:: @ 81A76F9
- .incbin "baserom.gba", 0x1A76F9, 0x9
-
-gUnknown_81A7702:: @ 81A7702
- .incbin "baserom.gba", 0x1A7702, 0x9E
-
-gUnknown_81A77A0:: @ 81A77A0
- .incbin "baserom.gba", 0x1A77A0, 0x33B
-
-gUnknown_81A7ADB:: @ 81A7ADB
- .incbin "baserom.gba", 0x1A7ADB, 0x5
-
-gUnknown_81A7AE0:: @ 81A7AE0
- .incbin "baserom.gba", 0x1A7AE0, 0x120D
-
-gUnknown_81A8CED:: @ 81A8CED
- .incbin "baserom.gba", 0x1A8CED, 0x5C
-
-gUnknown_81A8D49:: @ 81A8D49
- .incbin "baserom.gba", 0x1A8D49, 0x4E
-
-gUnknown_81A8D97:: @ 81A8D97
- .incbin "baserom.gba", 0x1A8D97, 0x41
-
-gUnknown_81A8DD8:: @ 81A8DD8
- .incbin "baserom.gba", 0x1A8DD8, 0x25
-
-gUnknown_81A8DFD:: @ 81A8DFD
- .incbin "baserom.gba", 0x1A8DFD, 0x5B
-
-gStdScript_81A8E58::
- .incbin "baserom.gba", 0x1A8E58, 0x42AE
-
- .include "data/text/fame_checker.inc"
-
-gUnknown_81B2E6F:: @ 81B2E6F
- .incbin "baserom.gba", 0x1B2E6F, 0x15A
-
-gUnknown_81B2FC9:: @ 81B2FC9
- .incbin "baserom.gba", 0x1B2FC9, 0x88DE
-
-gUnknown_81BB8A7:: @ 81BB8A7
- .incbin "baserom.gba", 0x1BB8A7, 0x1C
-
-gUnknown_81BB8C3:: @ 81BB8C3
- .incbin "baserom.gba", 0x1BB8C3, 0xC
-
-gUnknown_81BB8CF:: @ 81BB8CF
- .incbin "baserom.gba", 0x1BB8CF, 0xC
-
-gUnknown_81BB8DB:: @ 81BB8DB
- .incbin "baserom.gba", 0x1BB8DB, 0x1D
-
-gUnknown_81BB8F8:: @ 81BB8F8
- .incbin "baserom.gba", 0x1BB8F8, 0x1D
-
-gUnknown_81BB915:: @ 81BB915
- .incbin "baserom.gba", 0x1BB915, 0x1D
-
-gUnknown_81BB932:: @ 81BB932
- .incbin "baserom.gba", 0x1BB932, 0x1E
-
-gUnknown_81BB950:: @ 81BB950
- .incbin "baserom.gba", 0x1BB950, 0xC
-
-gUnknown_81BB95C:: @ 81BB95C
- .incbin "baserom.gba", 0x1BB95C, 0x24
-
-gUnknown_81BB980:: @ 81BB980
- .incbin "baserom.gba", 0x1BB980, 0x1
-
-gUnknown_81BB981:: @ 81BB981
- .incbin "baserom.gba", 0x1BB981, 0x11
-
-gUnknown_81BB992:: @ 81BB992
- .incbin "baserom.gba", 0x1BB992, 0x11
-
-gUnknown_81BB9A3:: @ 81BB9A3
- .incbin "baserom.gba", 0x1BB9A3, 0x31
-
-gUnknown_81BB9D4:: @ 81BB9D4
- .incbin "baserom.gba", 0x1BB9D4, 0x1C
-
-gUnknown_81BB9F0:: @ 81BB9F0
- .incbin "baserom.gba", 0x1BB9F0, 0xC
-
-gUnknown_81BB9FC:: @ 81BB9FC
- .incbin "baserom.gba", 0x1BB9FC, 0x5DC
-
-gUnknown_81BBFD8:: @ 81BBFD8
- .incbin "baserom.gba", 0x1BBFD8, 0x4D4
-
-gUnknown_81BC4AC:: @ 81BC4AC
- .incbin "baserom.gba", 0x1BC4AC, 0x22
-
-gUnknown_81BC4CE:: @ 81BC4CE
- .incbin "baserom.gba", 0x1BC4CE, 0x3F
-
-gUnknown_81BC50D:: @ 81BC50D
- .incbin "baserom.gba", 0x1BC50D, 0x3F
-
-gUnknown_81BC54C:: @ 81BC54C
- .incbin "baserom.gba", 0x1BC54C, 0x1A1F
-
-gUnknown_81BDF6B:: @ 81BDF6B
- .incbin "baserom.gba", 0x1BDF6B, 0xF9
-
-gUnknown_81BE064:: @ 81BE064
- .incbin "baserom.gba", 0x1BE064, 0x10A
-
-gUnknown_81BE16E:: @ 81BE16E
- .incbin "baserom.gba", 0x1BE16E, 0x149
-
-gUnknown_81BE2B7:: @ 81BE2B7
- .incbin "baserom.gba", 0x1BE2B7, 0x48
-
-gUnknown_81BE2FF:: @ 81BE2FF
- .incbin "baserom.gba", 0x1BE2FF, 0x265
-
-gUnknown_81BE564:: @ 81BE564
- .incbin "baserom.gba", 0x1BE564, 0xFE2
-
-gUnknown_81BF546:: @ 81BF546
- .incbin "baserom.gba", 0x1BF546, 0x619
-
-gUnknown_81BFB5F:: @ 81BFB5F
- .incbin "baserom.gba", 0x1BFB5F, 0x6
-
-gUnknown_81BFB65:: @ 81BFB65
- .incbin "baserom.gba", 0x1BFB65, 0x22
-
-gUnknown_81BFB87:: @ 81BFB87
- .incbin "baserom.gba", 0x1BFB87, 0x23
-
-gUnknown_81BFBAA:: @ 81BFBAA
- .incbin "baserom.gba", 0x1BFBAA, 0x1B
-
-gUnknown_81BFBC5:: @ 81BFBC5
- .incbin "baserom.gba", 0x1BFBC5, 0x12
-
-gUnknown_81BFBD7:: @ 81BFBD7
- .incbin "baserom.gba", 0x1BFBD7, 0x178A
-
-gUnknown_81C1361:: @ 81C1361
- .incbin "baserom.gba", 0x1C1361, 0x1B
-
-gUnknown_81C137C:: @ 81C137C
- .incbin "baserom.gba", 0x1C137C, 0x5A
-
-gUnknown_81C13D6:: @ 81C13D6
- .incbin "baserom.gba", 0x1C13D6, 0x53
-
-gUnknown_81C1429:: @ 81C1429
- .incbin "baserom.gba", 0x1C1429, 0x4073
-
-gUnknown_81C549C:: @ 81C549C
- .incbin "baserom.gba", 0x1C549C, 0xBF
-
-gUnknown_81C555B:: @ 81C555B
- .incbin "baserom.gba", 0x1C555B, 0x6E
-
-gUnknown_81C55C9:: @ 81C55C9
- .incbin "baserom.gba", 0x1C55C9, 0x21
-
-gUnknown_81C55EA:: @ 81C55EA
- .incbin "baserom.gba", 0x1C55EA, 0x3B
-
-gUnknown_81C5625:: @ 81C5625
- .incbin "baserom.gba", 0x1C5625, 0x22
-
-gUnknown_81C5647:: @ 81C5647
- .incbin "baserom.gba", 0x1C5647, 0x23
-
-gUnknown_81C566A:: @ 81C566A
- .incbin "baserom.gba", 0x1C566A, 0xE5
-
-gOtherText_NewName:: @ 81C574F
- .string "NEW NAME$"
-
-gNameChoice_Green:: @ 81C5758
- .string "GREEN$"
-
-gNameChoice_Red:: @ 81C575E
- .string "RED$"
-
-gNameChoice_Leaf:: @ 81C5762
- .string "LEAF$"
-
-gNameChoice_Fire:: @ 81C5767
- .string "FIRE$"
-
-gNameChoice_Gary:: @ 81C576C
- .string "GARY$"
-
-gNameChoice_Kaz:: @ 81C5771
- .string "KAZ$"
-
-gNameChoice_Toru:: @ 81C5775
- .string "TORU$"
-
-gNameChoice_Ash:: @ 81C577A
- .string "ASH$"
-
-gNameChoice_Kene:: @ 81C577E
- .string "KENE$"
-
-gNameChoice_Geki:: @ 81C5783
- .string "GEKI$"
-
-gNameChoice_Jak:: @ 81C5788
- .string "JAK$"
-
-gNameChoice_Janne:: @ 81C578C
- .string "JANNE$"
-
-gNameChoice_Jonn:: @ 81C5792
- .string "JONN$"
-
-gNameChoice_Kamon:: @ 81C5797
- .string "KAMON$"
-
-gNameChoice_Karl:: @ 81C579D
- .string "KARL$"
-
-gNameChoice_Taylor:: @ 81C57A2
- .string "TAYLOR$"
-
-gNameChoice_Oscar:: @ 81C57A9
- .string "OSCAR$"
-
-gNameChoice_Hiro:: @ 81C57AF
- .string "HIRO$"
-
-gNameChoice_Max:: @ 81C57B4
- .string "MAX$"
-
-gNameChoice_Jon:: @ 81C57B8
- .string "JON$"
-
-gNameChoice_Ralph:: @ 81C57BC
- .string "RALPH$"
-
-gNameChoice_Kay:: @ 81C57C2
- .string "KAY$"
-
-gNameChoice_Tosh:: @ 81C57C6
- .string "TOSH$"
-
-gNameChoice_Roak:: @ 81C57CB
- .string "ROAK$"
-
-gNameChoice_Omi:: @ 81C57D0
- .string "OMI$"
-
-gNameChoice_Jodi:: @ 81C57D4
- .string "JODI$"
-
-gNameChoice_Amanda:: @ 81C57D9
- .string "AMANDA$"
-
-gNameChoice_Hillary:: @ 81C57E0
- .string "HILLARY$"
-
-gNameChoice_Makey:: @ 81C57E8
- .string "MAKEY$"
-
-gNameChoice_Michi:: @ 81C57EE
- .string "MICHI$"
-
-gNameChoice_Paula:: @ 81C57F4
- .string "PAULA$"
-
-gNameChoice_June:: @ 81C57FA
- .string "JUNE$"
-
-gNameChoice_Cassie:: @ 81C57FF
- .string "CASSIE$"
-
-gNameChoice_Rey:: @ 81C5806
- .string "REY$"
-
-gNameChoice_Seda:: @ 81C580A
- .string "SEDA$"
-
-gNameChoice_Kiko:: @ 81C580F
- .string "KIKO$"
-
-gNameChoice_Mina:: @ 81C5814
- .string "MINA$"
-
-gNameChoice_Norie:: @ 81C5819
- .string "NORIE$"
-
-gNameChoice_Sai:: @ 81C581F
- .string "SAI$"
-
-gNameChoice_Momo:: @ 81C5823
- .string "MOMO$"
-
-gNameChoice_Suzi:: @ 81C5828
- .string "SUZI$"
-
-gNewGame_HelpDocs1:: @ 81C582D
- .string "The various buttons will be explained in\n"
- .string "the order of their importance.$"
-
-gNewGame_HelpDocs2:: @ 81C5875
- .string "Moves the main character.\n"
- .string "Also used to choose various data\n"
- .string "headings.$"
-
-gNewGame_HelpDocs3:: @ 81C58BA
- .string "Used to confirm a choice, check\n"
- .string "things, chat, and scroll text.$"
-
-gNewGame_HelpDocs4:: @ 81C58F9
- .string "Used to exit, cancel a choice,\n"
- .string "and cancel a mode.$"
-
-gNewGame_HelpDocs5:: @ 81C592B
- .string "Press this button to open the\n"
- .string "MENU.$"
-
-gNewGame_HelpDocs6:: @ 81C594F
- .string "Used to shift items and to use\n"
- .string "a registered item.$"
-
-gNewGame_HelpDocs7:: @ 81C5981
- .string "If you need help playing the\n"
- .string "game, or on how to do things,\n"
- .string "press the L or R Button.$"
-
-gOakText_AskPlayerGender:: @ 81C59D5
- .string "Now tell me. Are you a boy?\n"
- .string "Or are you a girl?$"
-
-gNewGameAdventureIntro1::
- .string "In the world which you are about to\n"
- .string "enter, you will embark on a grand\n"
- .string "adventure with you as the hero.\n"
- .string "\n"
- .string "Speak to people and check things\n"
- .string "wherever you go, be it towns, roads,\n"
- .string "or caves. Gather information and\n"
- .string "hints from every source.$"
-
-gNewGameAdventureIntro2::
- .string "New paths will open to you by helping\n"
- .string "people in need, overcoming challenges,\n"
- .string "and solving mysteries.\n"
- .string "\n"
- .string "At times, you will be challenged by\n"
- .string "others and attacked by wild creatures.\n"
- .string "Be brave and keep pushing on.$"
-
-gNewGameAdventureIntro3::
- .string "Through your adventure, we hope\n"
- .string "that you will interact with all sorts\n"
- .string "of people and achieve personal growth.\n"
- .string "That is our biggest objective.\n"
- .string "\n"
- .string "Press the A Button, and let your\n"
- .string "adventure begin!$"
-
-gOakText_WelcomeToTheWorld:: @ 81C5C78
- .string "Hello, there!\n"
- .string "Glad to meet you!\pWelcome to the world of POKéMON!\pMy name is OAK.\pPeople affectionately refer to me\n"
- .string "as the POKéMON PROFESSOR.\p$"
-
-gOakText_WorldInhabited1:: @ 81C5D06
- .string "This world…$"
-
-gOakText_WorldInhabited2:: @ 81C5D12
- .string "…is inhabited far and wide by\n"
- .string "creatures called POKéMON.\p$"
-
-gOakText_PetsBattlingStudy:: @ 81C5D4B
- .string "For some people, POKéMON are pets.\n"
- .string "Others use them for battling.\pAs for myself…\pI study POKéMON as a profession.\p$"
-
-gOakText_TellMeALittleAboutYourself:: @ 81C5DBD
- .string "But first, tell me a little about\n"
- .string "yourself.\p$"
-
-gOakText_AskPlayerName:: @ 81C5DEA
- .string "Let’s begin with your name.\n"
- .string "What is it?\p$"
-
-gOakText_FinalizePlayerName:: @ 81C5E13
- .string "Right…\n"
- .string "So your name is {PLAYER}.$"
-
-gOakText_IntroduceRival:: @ 81C5E2E
- .string "This is my grandson.\pHe’s been your rival since you both\n"
- .string "were babies.\p…Erm, what was his name now?$"
-
-gOakText_AskRivalName:: @ 81C5E91
- .string "Your rival’s name, what was it now?$"
-
-gOakText_ConfirmRivalName:: @ 81C5EB5
- .string "…Er, was it {RIVAL}?$"
-
-gOakText_RememberRivalName:: @ 81C5EC5
- .string "That’s right! I remember now!\n"
- .string "His name is {RIVAL}!\p$"
-
-gOakText_LegendAboutToUnfold:: @ 81C5EF4
- .string "{PLAYER}!\pYour very own POKéMON legend is\n"
- .string "about to unfold!\pA world of dreams and adventures\n"
- .string "with POKéMON awaits! Let’s go!$"
-
-@ pokedude data
-gUnknown_81C5F69::
- .string "POKé DUDE: The speedier of the\n"
- .string "battlers gets to attack first.$"
-
-gUnknown_81C5FA7::
- .string "It looks like my RATTATA was\n"
- .string "faster than the PIDGEY.$"
-
-gUnknown_81C5FDC::
- .string "The battlers take turns attacking\n"
- .string "and reducing each other’s HP.$"
-
-gUnknown_81C601C::
- .string "My RATTATA reduced the foe’s HP\n"
- .string "to zero, so it wins!\p"
- .string "The POKéMON that took part in the\n"
- .string "battle get EXP. Points.\p"
- .string "When a POKéMON collects enough\n"
- .string "EXP. Points, it levels up.\p"
- .string "Leveling up makes your POKéMON\n"
- .string "stronger than before.$"
-
-gUnknown_81C60FA::
- .string "POKé DUDE: Uh-oh…\n"
- .string "My RATTATA has been poisoned…\p"
- .string "If a POKéMON is poisoned, it loses\n"
- .string "HP steadily.$"
-
-gUnknown_81C615A::
- .string "If a POKéMON develops a status\n"
- .string "problem, heal it right away.$"
-
-gUnknown_81C6196::
- .string "Using an item on a POKéMON uses\n"
- .string "up one turn, though.\p"
- .string "Now, it’s the opponent’s turn!$"
-
-gUnknown_81C61EA::
- .string "Yay!\n"
- .string "We managed to win!$"
-
-gUnknown_81C6202::
- .string "POKé DUDE: The move BUBBLE is\n"
- .string "a WATER-type attack.\p"
- .string "The targeted ODDISH is a\n"
- .string "GRASS/POISON-type POKéMON.\p"
- .string "The WATER-type attack is absorbed\n"
- .string "by the GRASS-type POKéMON…\p"
- .string "As a result, the move becomes not\n"
- .string "very effective, and inflicts only\l"
- .string "half the usual damage.$"
-
-gUnknown_81C6301::
- .string "Uh-oh, this is not good!\p"
- .string "The ABSORB attack you just saw\n"
- .string "is a GRASS-type move.\p"
- .string "POLIWAG is a WATER-type POKéMON.\p"
- .string "So, ABSORB becomes super\n"
- .string "effective, doubling the damage.$"
-
-gUnknown_81C63A9::
- .string "It’s not going to be easy to win\n"
- .string "with this matchup…\p"
- .string "Let’s try shifting POKéMON!$"
-
-gUnknown_81C63F9::
- .string "Shifting POKéMON in and out uses\n"
- .string "up one turn.\p"
- .string "Now, it’s the opponent’s turn.$"
-
-gUnknown_81C6446::
- .string "BUTTERFREE is a BUG/FLYING-type\n"
- .string "POKéMON.\p"
- .string "Against this POKéMON, a GRASS-\n"
- .string "type attack…\p"
- .string "…inflicts only half the usual\n"
- .string "damage on a BUG-type POKéMON…\p"
- .string "…And, it also causes only half the\n"
- .string "damage on a FLYING-type POKéMON.\p"
- .string "Therefore, BUTTERFREE, being a\n"
- .string "BUG/FLYING POKéMON, only takes\l"
- .string "one quarter of the usual damage.$"
-
-gUnknown_81C657A::
- .string "ODDISH is a GRASS/POISON-type\n"
- .string "POKéMON.\p"
- .string "A FLYING- or PSYCHIC-type attack\n"
- .string "is super effective against it.\p"
- .string "One of those types of attacks will\n"
- .string "inflict double the usual damage.\p"
- .string "Okay, here we go!$"
-
-gUnknown_81C6637::
- .string "Yeah!\n"
- .string "We won!$"
-
-gUnknown_81C6645::
- .string "POKé DUDE: When you’re trying to\n"
- .string "catch a POKéMON, don’t throw any\l"
- .string "POKé BALLS right away.\p"
- .string "First, you need to weaken it by\n"
- .string "reducing its HP.$"
-
-gUnknown_81C66CF::
- .string "Okay, that should be good enough.\p"
- .string "But, if it’s possible, it would be\n"
- .string "best if the target has a status\l"
- .string "problem.\p"
- .string "For instance, it would be easier\n"
- .string "to catch if it were asleep or\l"
- .string "paralyzed.$"
-
-gUnknown_81C6787::
- .string "This will make the POKéMON a lot\n"
- .string "easier to catch!\p"
- .string "Oh, yes. If you paralyze a\n"
- .string "POKéMON, you can’t make it fall\l"
- .string "asleep on top of paralysis.\p"
- .string "In other words, you can’t double\n"
- .string "up status problems, okay?$"
-
-gUnknown_81C684B::
- .string "Okay!\n"
- .string "Let me throw my POKé BALL!$"
-
-gUnknown_81C686C::
- .string "Before you throw a POKé BALL,\n"
- .string "consider the condition and the\l"
- .string "type of POKéMON, and pick the kind\l"
- .string "of BALL that would work best.$"
+ .include "data/map_event_scripts.inc"
diff --git a/data/graphics.s b/data/graphics.s
index 4923d4441..ff9ed3d7e 100644
--- a/data/graphics.s
+++ b/data/graphics.s
@@ -16212,17 +16212,27 @@ gUnknown_8EA1958:: @ 8EA1958
gUnknown_8EA1A50:: @ 8EA1A50
.incbin "baserom.gba", 0xEA1A50, 0x118
-gUnknown_8EA1B68:: @ 8EA1B68
- .incbin "baserom.gba", 0xEA1B68, 0xE0 @UNKNOWN
-
-gUnknown_8EA1C48:: @ 8EA1C48
- .incbin "baserom.gba", 0xEA1C48, 0x90
-
-gUnknown_8EA1CD8:: @ 8EA1CD8
- .incbin "baserom.gba", 0xEA1CD8, 0x90 @UNKNOWN
-
-gUnknown_8EA1D68:: @ 8EA1D68
- .incbin "baserom.gba", 0xEA1D68, 0x28D4
+ .align 2
+gTilesetPalettes_8EA1B68:: @ 8EA1B68
+ .incbin "data/tilesets/primary/82D4A94/palettes/0.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/1.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/2.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/3.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/4.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/5.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/6.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/7.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/8.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/9.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/10.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/11.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/12.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/13.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/14.gbapal"
+ .incbin "data/tilesets/primary/82D4A94/palettes/15.gbapal"
+
+gTilesetTiles_8EA1D68:: @ 8EA1D68
+ .incbin "data/tilesets/primary/82D4A94/tiles.4bpp.lz"
gUnknown_8EA463C:: @ 8EA463C
.incbin "graphics/berry_fix/gba_small.gbapal"
@@ -16278,23 +16288,51 @@ gUnknown_8EA8F40:: @ 8EA8F40
gUnknown_8EA9588:: @ 8EA9588
.incbin "graphics/berry_fix/window.bin.lz"
-gUnknown_8EA97F4:: @ 8EA97F4
- .incbin "baserom.gba", 0xEA97F4, 0x120 @UNKNOWN
-
-gUnknown_8EA9914:: @ 8EA9914
- .incbin "baserom.gba", 0xEA9914, 0x90
-
-gUnknown_8EA99A4:: @ 8EA99A4
- .incbin "baserom.gba", 0xEA99A4, 0x50 @UNKNOWN
-
-gUnknown_8EA99F4:: @ 8EA99F4
- .incbin "baserom.gba", 0xEA99F4, 0x394
-
-gUnknown_8EA9D88:: @ 8EA9D88
- .incbin "baserom.gba", 0xEA9D88, 0x200 @UNKNOWN
-
-gUnknown_8EA9F88:: @ 8EA9F88
- .incbin "baserom.gba", 0xEA9F88, 0xA68
+ .align 2
+gTilesetPalettes_8EA97F4:: @ 8EA97F4
+ .incbin "data/tilesets/secondary/82D4C74/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4C74/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8EA99F4:: @ 8EA99F4
+ .incbin "data/tilesets/secondary/82D4C74/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8EA9D88:: @ 8EA9D88
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4E6C/palettes/15.gbapal"
+
+
+gTilesetTiles_8EA9F88:: @ 8EA9F88
+ .incbin "data/tilesets/secondary/82D4E6C/tiles.4bpp.lz"
gUnknown_8EAA9F0:: @ 8EAA9F0
.incbin "baserom.gba", 0xEAA9F0, 0x20 @UNKNOWN
diff --git a/data/layouts/.gitignore b/data/layouts/.gitignore
new file mode 100644
index 000000000..eaa83a6f1
--- /dev/null
+++ b/data/layouts/.gitignore
@@ -0,0 +1,2 @@
+layouts.inc
+layouts_table.inc
diff --git a/data/layouts/BirthIsland_Exterior/border.bin b/data/layouts/BirthIsland_Exterior/border.bin
new file mode 100644
index 000000000..75f2c916c
--- /dev/null
+++ b/data/layouts/BirthIsland_Exterior/border.bin
@@ -0,0 +1 @@
+vvvv \ No newline at end of file
diff --git a/data/layouts/BirthIsland_Exterior/map.bin b/data/layouts/BirthIsland_Exterior/map.bin
new file mode 100644
index 000000000..98502708b
--- /dev/null
+++ b/data/layouts/BirthIsland_Exterior/map.bin
@@ -0,0 +1 @@
+vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvfvvvvvvvvvvvvvvvvvvvvvvvvvvvvvnvvvvvvvvvvvvvvvvvvvvvvvvvvv[\]}vvvvvvvvvvvvvvvvvvvvvvvsz`ab|s}vvvvvvvvvvvvvvvvvvvsszscdeu|s}vvvvvvvvvvvvvvvvvssz21310 003141|ss}vvvvvvvvvvvDEvvssz210 00Y300 041|ss}vDEvvvvvvvLMvszs000)3Z3+3 000u|ss}LMvvvvvvvvvsz21310 0)3,323-3+3 003141|ssvvvvvvvvvvszs0 00 01323232333000 0u|s}vvvvvvvvsz21000)3,3232323-3+30 0041|svvvvvvvszss 00 0)3,32323232323-3+300 041|}vvvvvsz2131000132323232323232333 0000u|}vvvszs0000)3,323232323232323-3+300041mu|}vvszs0 093:3:3:3:3:3:3:3:3:3;3 0 0u|}vpssk3100&'00000000000&'0041muuqvtss{||||||||||0||||||||||}uurvts{|||||||||||0|||||||||||}urvt{||||||||||||0||||||||||||}rvxkkkkkkkkkkkk111kkkkkkkkkkkkyvvvvvvvvvvvoss111sssmvvvvvvvvvvvvvvvvvvvvvvv111vvvvvvvvvvvvvvvvvvvvvvvvvvv111vvvvvvvvvvvvvvvvvvvvvvvvvvv222vvvvvvvvvvvvvvvvvvvvvvvvv"3#3vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv !vvvvvvvvvvvvvvvvvvvvvvv$%vvvvvvvvvvvvvvvvvvvvvvv&'vvvvvvvvvvv \ No newline at end of file
diff --git a/data/layouts/CeladonCity/border.bin b/data/layouts/CeladonCity/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/CeladonCity/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity/map.bin b/data/layouts/CeladonCity/map.bin
new file mode 100644
index 000000000..45bad7034
--- /dev/null
+++ b/data/layouts/CeladonCity/map.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_Condominiums_1F/border.bin b/data/layouts/CeladonCity_Condominiums_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_Condominiums_1F/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_Condominiums_1F/map.bin b/data/layouts/CeladonCity_Condominiums_1F/map.bin
new file mode 100644
index 000000000..d396e1116
--- /dev/null
+++ b/data/layouts/CeladonCity_Condominiums_1F/map.bin
@@ -0,0 +1 @@
+222222222222222222222222322222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/CeladonCity_Condominiums_2F/border.bin b/data/layouts/CeladonCity_Condominiums_2F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_Condominiums_2F/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_Condominiums_2F/map.bin b/data/layouts/CeladonCity_Condominiums_2F/map.bin
new file mode 100644
index 000000000..8dcec2456
--- /dev/null
+++ b/data/layouts/CeladonCity_Condominiums_2F/map.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_Condominiums_3F/border.bin b/data/layouts/CeladonCity_Condominiums_3F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_Condominiums_3F/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_Condominiums_3F/map.bin b/data/layouts/CeladonCity_Condominiums_3F/map.bin
new file mode 100644
index 000000000..5e44c90c6
--- /dev/null
+++ b/data/layouts/CeladonCity_Condominiums_3F/map.bin
@@ -0,0 +1 @@
+222222222222222322222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/CeladonCity_Condominiums_Roof/border.bin b/data/layouts/CeladonCity_Condominiums_Roof/border.bin
new file mode 100644
index 000000000..cbaea0adc
--- /dev/null
+++ b/data/layouts/CeladonCity_Condominiums_Roof/border.bin
@@ -0,0 +1 @@
+(((( \ No newline at end of file
diff --git a/data/layouts/CeladonCity_Condominiums_Roof/map.bin b/data/layouts/CeladonCity_Condominiums_Roof/map.bin
new file mode 100644
index 000000000..8f044c89a
--- /dev/null
+++ b/data/layouts/CeladonCity_Condominiums_Roof/map.bin
@@ -0,0 +1 @@
+((((((((((((((     ./    .!33353  73353  "!3336373363"!3333337333@3A3"!3333337333HI"!337333@3A3"!%&&'337333HI"!%&&'337333@3A3"!%&&'337333HI"!%&&'337333@3A3"!0123337333HI"!893:;33733333"!333333733333"!333333733333"!<>=>=>?33333"!B3C33333333333"!JK3333333333")            *PQQQQURSTQQQQV#DE#,-$#DE#+#LM#,-$#LM#+####,-$####+ \ No newline at end of file
diff --git a/data/layouts/CeladonCity_Condominiums_RoofRoom/border.bin b/data/layouts/CeladonCity_Condominiums_RoofRoom/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_Condominiums_RoofRoom/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_Condominiums_RoofRoom/map.bin b/data/layouts/CeladonCity_Condominiums_RoofRoom/map.bin
new file mode 100644
index 000000000..a6aaf9a0c
--- /dev/null
+++ b/data/layouts/CeladonCity_Condominiums_RoofRoom/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/CeladonCity_DepartmentStore_1F/border.bin b/data/layouts/CeladonCity_DepartmentStore_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_1F/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_DepartmentStore_1F/map.bin b/data/layouts/CeladonCity_DepartmentStore_1F/map.bin
new file mode 100644
index 000000000..3c09fa172
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_1F/map.bin
@@ -0,0 +1 @@
+`ahij322222pqr322222e2222222222222222222222222222222222222222222222223222222222332222222223&32222"32222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/CeladonCity_DepartmentStore_2F/border.bin b/data/layouts/CeladonCity_DepartmentStore_2F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_2F/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_DepartmentStore_2F/map.bin b/data/layouts/CeladonCity_DepartmentStore_2F/map.bin
new file mode 100644
index 000000000..41c334718
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_2F/map.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_DepartmentStore_3F/border.bin b/data/layouts/CeladonCity_DepartmentStore_3F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_3F/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_DepartmentStore_3F/map.bin b/data/layouts/CeladonCity_DepartmentStore_3F/map.bin
new file mode 100644
index 000000000..1640da24e
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_3F/map.bin
@@ -0,0 +1 @@
+`ahij22222klmpqr22222stu22222222222222222222222222222222 3 32 3 322223222222222222222 3 32 3 32222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/CeladonCity_DepartmentStore_4F/border.bin b/data/layouts/CeladonCity_DepartmentStore_4F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_4F/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_DepartmentStore_4F/map.bin b/data/layouts/CeladonCity_DepartmentStore_4F/map.bin
new file mode 100644
index 000000000..f3f558069
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_4F/map.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_DepartmentStore_5F/border.bin b/data/layouts/CeladonCity_DepartmentStore_5F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_5F/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_DepartmentStore_5F/map.bin b/data/layouts/CeladonCity_DepartmentStore_5F/map.bin
new file mode 100644
index 000000000..5374a18ee
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_5F/map.bin
@@ -0,0 +1 @@
+`ahij322222k3lm7pqr322222s3tu2222222222222222 22$22222222222322223323322222222222222''2''223323322222222 !2 !23323322()2()2222012012''2''322222222222# \ No newline at end of file
diff --git a/data/layouts/CeladonCity_DepartmentStore_Elevator/border.bin b/data/layouts/CeladonCity_DepartmentStore_Elevator/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_Elevator/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_DepartmentStore_Elevator/map.bin b/data/layouts/CeladonCity_DepartmentStore_Elevator/map.bin
new file mode 100644
index 000000000..42e08c38d
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_Elevator/map.bin
@@ -0,0 +1 @@
+222222222222222 \ No newline at end of file
diff --git a/data/layouts/CeladonCity_DepartmentStore_Roof/border.bin b/data/layouts/CeladonCity_DepartmentStore_Roof/border.bin
new file mode 100644
index 000000000..87ae772ca
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_Roof/border.bin
@@ -0,0 +1 @@
+WWWW \ No newline at end of file
diff --git a/data/layouts/CeladonCity_DepartmentStore_Roof/map.bin b/data/layouts/CeladonCity_DepartmentStore_Roof/map.bin
new file mode 100644
index 000000000..f92a0a330
--- /dev/null
+++ b/data/layouts/CeladonCity_DepartmentStore_Roof/map.bin
@@ -0,0 +1 @@
+WWWWWWWWWWWWW.///OW89999999999996777?]@AAAAAAAAA%%%=<>6?QH22222222c---EDF6?YH22*3+3+3,322222222M36?YH2243KL5322222222U36?YH2243ST5322222222N36?YH2223[3\33322222222V3=GYPB3:3:3:3:3:3:3:3:3:3:3:3:3:3:3IJRXAAAAAAAAAAAAAAAAAZC;C;C;C; \ No newline at end of file
diff --git a/data/layouts/CeladonCity_GameCorner/border.bin b/data/layouts/CeladonCity_GameCorner/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_GameCorner/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_GameCorner/map.bin b/data/layouts/CeladonCity_GameCorner/map.bin
new file mode 100644
index 000000000..00280b8a4
--- /dev/null
+++ b/data/layouts/CeladonCity_GameCorner/map.bin
@@ -0,0 +1 @@
+222222322222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/CeladonCity_GameCorner_PrizeRoom/border.bin b/data/layouts/CeladonCity_GameCorner_PrizeRoom/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_GameCorner_PrizeRoom/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_GameCorner_PrizeRoom/map.bin b/data/layouts/CeladonCity_GameCorner_PrizeRoom/map.bin
new file mode 100644
index 000000000..475ca451c
--- /dev/null
+++ b/data/layouts/CeladonCity_GameCorner_PrizeRoom/map.bin
@@ -0,0 +1 @@
+222222322222222222222222222222222222232222222222 \ No newline at end of file
diff --git a/data/layouts/CeladonCity_Gym/border.bin b/data/layouts/CeladonCity_Gym/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_Gym/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_Gym/map.bin b/data/layouts/CeladonCity_Gym/map.bin
new file mode 100644
index 000000000..19338125c
--- /dev/null
+++ b/data/layouts/CeladonCity_Gym/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222tuv \ No newline at end of file
diff --git a/data/layouts/CeladonCity_Hotel/border.bin b/data/layouts/CeladonCity_Hotel/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_Hotel/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_Hotel/map.bin b/data/layouts/CeladonCity_Hotel/map.bin
new file mode 100644
index 000000000..4573c1444
--- /dev/null
+++ b/data/layouts/CeladonCity_Hotel/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/CeladonCity_Restaurant/border.bin b/data/layouts/CeladonCity_Restaurant/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeladonCity_Restaurant/border.bin
Binary files differ
diff --git a/data/layouts/CeladonCity_Restaurant/map.bin b/data/layouts/CeladonCity_Restaurant/map.bin
new file mode 100644
index 000000000..a5391187c
--- /dev/null
+++ b/data/layouts/CeladonCity_Restaurant/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/CeruleanCave_1F/border.bin b/data/layouts/CeruleanCave_1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/CeruleanCave_1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/CeruleanCave_1F/map.bin b/data/layouts/CeruleanCave_1F/map.bin
new file mode 100644
index 000000000..33a822337
--- /dev/null
+++ b/data/layouts/CeruleanCave_1F/map.bin
Binary files differ
diff --git a/data/layouts/CeruleanCave_2F/border.bin b/data/layouts/CeruleanCave_2F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/CeruleanCave_2F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/CeruleanCave_2F/map.bin b/data/layouts/CeruleanCave_2F/map.bin
new file mode 100644
index 000000000..f2b9dcb9c
--- /dev/null
+++ b/data/layouts/CeruleanCave_2F/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/CeruleanCave_B1F/border.bin b/data/layouts/CeruleanCave_B1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/CeruleanCave_B1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/CeruleanCave_B1F/map.bin b/data/layouts/CeruleanCave_B1F/map.bin
new file mode 100644
index 000000000..f423b6e0e
--- /dev/null
+++ b/data/layouts/CeruleanCave_B1F/map.bin
Binary files differ
diff --git a/data/layouts/CeruleanCity/border.bin b/data/layouts/CeruleanCity/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/CeruleanCity/border.bin
Binary files differ
diff --git a/data/layouts/CeruleanCity/map.bin b/data/layouts/CeruleanCity/map.bin
new file mode 100644
index 000000000..de72d4e87
--- /dev/null
+++ b/data/layouts/CeruleanCity/map.bin
@@ -0,0 +1,5 @@
+qq|||||||||||}u*+++,2220 00*qqu|||||||||||}*+++,222*qquu ###########1+++,222 00 0*+qquu*+++++++++++++++,222000*+++++++++
+ 
+ 
+ 
+ qquu*+++++++++++++++,222 00 05qquu*+(000000000000000qquu*+,0 00 00 000000000 00 00 0000000000qquu*+,0000000000000000000001001002qquu*+,2220 00 00 02222000qquu*+,000000000qquu*+,0 00 00 0000||}u*+,000000000000y0|z*+,000000000000000000000000000000 00000 0*+,000000000000000000000000000000000000*+,001002222222000000000000000000 000000*+,00000{1|1}1~11000000000000000&%$%$%####1+,000HIJK0 00 00 00 000000 00000000++++++,00000PQRS00091:1:1:1:1:1;000000++++++,001000000000XYZ[ABBBBBC0000000000000000000000000`ab000IJJJJJK0000 00 00 00 000000000001010000001000 00 000 0`1PQRSTUV0 0000000000000000000000000000hX1Y1Z[\]1^100000000000000000001000000000010000000000000001000 00000 022220000000000000000000000000000000010000000000000000000 000020000222222(0)0*0+022222000000020000001230 00 00002 0000089:;000000002200000@Abc0 00 000010222201010000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000=>>>>>>>>?0=>>>>>>>>>?0 0 00 00 00 00 0 00 00 00 00 00 00 0 0 00 00 00 00 00 00000000000000000000000000000000000 00 00 00 00 00 00 00 0000000000 00 00 00 00 00 00 00 000000000000000000 00 00 00 00 00 00 00 00 \ No newline at end of file
diff --git a/data/layouts/CeruleanCity_BikeShop/border.bin b/data/layouts/CeruleanCity_BikeShop/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeruleanCity_BikeShop/border.bin
Binary files differ
diff --git a/data/layouts/CeruleanCity_BikeShop/map.bin b/data/layouts/CeruleanCity_BikeShop/map.bin
new file mode 100644
index 000000000..7bfc92082
--- /dev/null
+++ b/data/layouts/CeruleanCity_BikeShop/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/CeruleanCity_Gym/border.bin b/data/layouts/CeruleanCity_Gym/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeruleanCity_Gym/border.bin
Binary files differ
diff --git a/data/layouts/CeruleanCity_Gym/map.bin b/data/layouts/CeruleanCity_Gym/map.bin
new file mode 100644
index 000000000..ee6d65165
--- /dev/null
+++ b/data/layouts/CeruleanCity_Gym/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222tuv \ No newline at end of file
diff --git a/data/layouts/CeruleanCity_House1/border.bin b/data/layouts/CeruleanCity_House1/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeruleanCity_House1/border.bin
Binary files differ
diff --git a/data/layouts/CeruleanCity_House1/map.bin b/data/layouts/CeruleanCity_House1/map.bin
new file mode 100644
index 000000000..83ebe0b15
--- /dev/null
+++ b/data/layouts/CeruleanCity_House1/map.bin
@@ -0,0 +1 @@
+bcdjk1l111111112121V1 1 1 1 1 1 1 1 1 1^ 1 1 1 1#1$1$1$1%11 1 1 1 1+1&1()-1V1 1 1 1 1+1,101-1^ 1 1 1 131414141511 1?1G1O1 1 1 1 1 1 \ No newline at end of file
diff --git a/data/layouts/CeruleanCity_House2/border.bin b/data/layouts/CeruleanCity_House2/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeruleanCity_House2/border.bin
Binary files differ
diff --git a/data/layouts/CeruleanCity_House2/map.bin b/data/layouts/CeruleanCity_House2/map.bin
new file mode 100644
index 000000000..21a7d4178
--- /dev/null
+++ b/data/layouts/CeruleanCity_House2/map.bin
@@ -0,0 +1 @@
+a2iH1I12222221#1$1$1$1$1%1221+12()2-12221+1212-1 12 1V131412414151222^ 1?1G1O122 1 \ No newline at end of file
diff --git a/data/layouts/CeruleanCity_House5/border.bin b/data/layouts/CeruleanCity_House5/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CeruleanCity_House5/border.bin
Binary files differ
diff --git a/data/layouts/CeruleanCity_House5/map.bin b/data/layouts/CeruleanCity_House5/map.bin
new file mode 100644
index 000000000..1f06133b3
--- /dev/null
+++ b/data/layouts/CeruleanCity_House5/map.bin
@@ -0,0 +1 @@
+aaii2121211111M1N1M1N11 1 1 1 1 1 1 1ef 11.1 1 1 1 1 1o1mn 16 1 1 1 1 1 1ef 11.1 1 1 1 1 1 1mng16 1?1G1O1 1 1 1 1 1 \ No newline at end of file
diff --git a/data/layouts/CinnabarIsland/border.bin b/data/layouts/CinnabarIsland/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/CinnabarIsland/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/CinnabarIsland/map.bin b/data/layouts/CinnabarIsland/map.bin
new file mode 100644
index 000000000..7631ea1d8
--- /dev/null
+++ b/data/layouts/CinnabarIsland/map.bin
@@ -0,0 +1 @@
+++,003141)++,10 0031ABBBBC)++,00 0 0 0IJJJJK*++,20000PQRSTV*++,00222000 0 0 0 0X1Y1Z[\*++,000000000000000 00h++,222222200000000000++,{1|1}1~110 00 00 0*++,HIJK(0)0*0+000*++,PQRS012300*++,000 0220XYZ[89:;00*++,0000000`ab@Abc00*++0##!000000000000000*+++++,000000000000000*+++++,000000000000000*++++0###############1++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/CinnabarIsland_Gym/border.bin b/data/layouts/CinnabarIsland_Gym/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CinnabarIsland_Gym/border.bin
Binary files differ
diff --git a/data/layouts/CinnabarIsland_Gym/map.bin b/data/layouts/CinnabarIsland_Gym/map.bin
new file mode 100644
index 000000000..39cd83f5a
--- /dev/null
+++ b/data/layouts/CinnabarIsland_Gym/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222tuv \ No newline at end of file
diff --git a/data/layouts/CinnabarIsland_PokemonLab_Entrance/border.bin b/data/layouts/CinnabarIsland_PokemonLab_Entrance/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CinnabarIsland_PokemonLab_Entrance/border.bin
Binary files differ
diff --git a/data/layouts/CinnabarIsland_PokemonLab_Entrance/map.bin b/data/layouts/CinnabarIsland_PokemonLab_Entrance/map.bin
new file mode 100644
index 000000000..39ca3b4d7
--- /dev/null
+++ b/data/layouts/CinnabarIsland_PokemonLab_Entrance/map.bin
@@ -0,0 +1 @@
+hiiiijpqqr0x0y0y0y0y0y0z022000000020200jhijhijhij200200rpq2rpq2rpq2r20022000z0x0y0y0y0y0z0x0y0y0y0y0z0x0y0y0y0y0z00000000000000000000000000002200000000000000000000000000000000000000000000000 \ No newline at end of file
diff --git a/data/layouts/CinnabarIsland_PokemonLab_ExperimentRoom/border.bin b/data/layouts/CinnabarIsland_PokemonLab_ExperimentRoom/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CinnabarIsland_PokemonLab_ExperimentRoom/border.bin
Binary files differ
diff --git a/data/layouts/CinnabarIsland_PokemonLab_ExperimentRoom/map.bin b/data/layouts/CinnabarIsland_PokemonLab_ExperimentRoom/map.bin
new file mode 100644
index 000000000..1dbda8fd5
--- /dev/null
+++ b/data/layouts/CinnabarIsland_PokemonLab_ExperimentRoom/map.bin
Binary files differ
diff --git a/data/layouts/CinnabarIsland_PokemonLab_Lounge/border.bin b/data/layouts/CinnabarIsland_PokemonLab_Lounge/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CinnabarIsland_PokemonLab_Lounge/border.bin
Binary files differ
diff --git a/data/layouts/CinnabarIsland_PokemonLab_Lounge/map.bin b/data/layouts/CinnabarIsland_PokemonLab_Lounge/map.bin
new file mode 100644
index 000000000..a84c9d1ab
--- /dev/null
+++ b/data/layouts/CinnabarIsland_PokemonLab_Lounge/map.bin
@@ -0,0 +1,3 @@
+hkli$ikljpstq%qstrx0 3
+3{0|0y0y0y0y0y0{0|0 3
+3z0000022222220000200022666220002200022220002200022220002000022222220000200000000000000600000000000 \ No newline at end of file
diff --git a/data/layouts/CinnabarIsland_PokemonLab_ResearchRoom/border.bin b/data/layouts/CinnabarIsland_PokemonLab_ResearchRoom/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/CinnabarIsland_PokemonLab_ResearchRoom/border.bin
Binary files differ
diff --git a/data/layouts/CinnabarIsland_PokemonLab_ResearchRoom/map.bin b/data/layouts/CinnabarIsland_PokemonLab_ResearchRoom/map.bin
new file mode 100644
index 000000000..6032e183f
--- /dev/null
+++ b/data/layouts/CinnabarIsland_PokemonLab_ResearchRoom/map.bin
Binary files differ
diff --git a/data/layouts/DiglettsCave_B1F/border.bin b/data/layouts/DiglettsCave_B1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/DiglettsCave_B1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/DiglettsCave_B1F/map.bin b/data/layouts/DiglettsCave_B1F/map.bin
new file mode 100644
index 000000000..d29e66e00
--- /dev/null
+++ b/data/layouts/DiglettsCave_B1F/map.bin
@@ -0,0 +1 @@
+2222226666666666666666222222226622222266662222222662222222662222266222222662222222222662266226662222222222222222222222226622222222222266222222222222222222222222222222222222222222222222222222222222222222222222222222222222222666666666622222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222666666666666666666666666666666666666666666666666666666666666666666666666 \ No newline at end of file
diff --git a/data/layouts/DiglettsCave_NorthEntrance/border.bin b/data/layouts/DiglettsCave_NorthEntrance/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/DiglettsCave_NorthEntrance/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/DiglettsCave_NorthEntrance/map.bin b/data/layouts/DiglettsCave_NorthEntrance/map.bin
new file mode 100644
index 000000000..39007d306
--- /dev/null
+++ b/data/layouts/DiglettsCave_NorthEntrance/map.bin
@@ -0,0 +1 @@
+6666666666666623322266332222662222226632222266622222266666 \ No newline at end of file
diff --git a/data/layouts/DiglettsCave_SouthEntrance/border.bin b/data/layouts/DiglettsCave_SouthEntrance/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/DiglettsCave_SouthEntrance/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/DiglettsCave_SouthEntrance/map.bin b/data/layouts/DiglettsCave_SouthEntrance/map.bin
new file mode 100644
index 000000000..9d2c75793
--- /dev/null
+++ b/data/layouts/DiglettsCave_SouthEntrance/map.bin
Binary files differ
diff --git a/data/layouts/Entrance_1F/border.bin b/data/layouts/Entrance_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/Entrance_1F/border.bin
Binary files differ
diff --git a/data/layouts/Entrance_1F/map.bin b/data/layouts/Entrance_1F/map.bin
new file mode 100644
index 000000000..e39d586e9
--- /dev/null
+++ b/data/layouts/Entrance_1F/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/Entrance_2F/border.bin b/data/layouts/Entrance_2F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/Entrance_2F/border.bin
Binary files differ
diff --git a/data/layouts/Entrance_2F/map.bin b/data/layouts/Entrance_2F/map.bin
new file mode 100644
index 000000000..bfac6e348
--- /dev/null
+++ b/data/layouts/Entrance_2F/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222226622 \ No newline at end of file
diff --git a/data/layouts/FiveIsland/border.bin b/data/layouts/FiveIsland/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/FiveIsland/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland/map.bin b/data/layouts/FiveIsland/map.bin
new file mode 100644
index 000000000..98fa499f8
--- /dev/null
+++ b/data/layouts/FiveIsland/map.bin
Binary files differ
diff --git a/data/layouts/FiveIsland_LostCave_Entrance/border.bin b/data/layouts/FiveIsland_LostCave_Entrance/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Entrance/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Entrance/map.bin b/data/layouts/FiveIsland_LostCave_Entrance/map.bin
new file mode 100644
index 000000000..7e68d2dd4
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Entrance/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room1/border.bin b/data/layouts/FiveIsland_LostCave_Room1/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room1/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room1/map.bin b/data/layouts/FiveIsland_LostCave_Room1/map.bin
new file mode 100644
index 000000000..1683057f5
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room1/map.bin
@@ -0,0 +1,2 @@
+222222222222222222222
+ 3222223 2222222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room10/border.bin b/data/layouts/FiveIsland_LostCave_Room10/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room10/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room10/map.bin b/data/layouts/FiveIsland_LostCave_Room10/map.bin
new file mode 100644
index 000000000..9e26501cb
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room10/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room11/border.bin b/data/layouts/FiveIsland_LostCave_Room11/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room11/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room11/map.bin b/data/layouts/FiveIsland_LostCave_Room11/map.bin
new file mode 100644
index 000000000..6af11f8cc
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room11/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222223332222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room12/border.bin b/data/layouts/FiveIsland_LostCave_Room12/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room12/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room12/map.bin b/data/layouts/FiveIsland_LostCave_Room12/map.bin
new file mode 100644
index 000000000..6f77bfda9
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room12/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222223332222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room13/border.bin b/data/layouts/FiveIsland_LostCave_Room13/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room13/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room13/map.bin b/data/layouts/FiveIsland_LostCave_Room13/map.bin
new file mode 100644
index 000000000..bb1a69aa2
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room13/map.bin
@@ -0,0 +1,2 @@
+222222222222222222222
+ 3222222223332222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room14/border.bin b/data/layouts/FiveIsland_LostCave_Room14/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room14/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room14/map.bin b/data/layouts/FiveIsland_LostCave_Room14/map.bin
new file mode 100644
index 000000000..a4849c5d4
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room14/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222223 223332222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room2/border.bin b/data/layouts/FiveIsland_LostCave_Room2/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room2/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room2/map.bin b/data/layouts/FiveIsland_LostCave_Room2/map.bin
new file mode 100644
index 000000000..f89ec37f3
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room2/map.bin
@@ -0,0 +1,2 @@
+2222222222222222
+ 3222223 222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room3/border.bin b/data/layouts/FiveIsland_LostCave_Room3/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room3/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room3/map.bin b/data/layouts/FiveIsland_LostCave_Room3/map.bin
new file mode 100644
index 000000000..24073548c
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room3/map.bin
@@ -0,0 +1,2 @@
+2222222222222222222
+ 3222223 222222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room4/border.bin b/data/layouts/FiveIsland_LostCave_Room4/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room4/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room4/map.bin b/data/layouts/FiveIsland_LostCave_Room4/map.bin
new file mode 100644
index 000000000..af2e57bb2
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room4/map.bin
@@ -0,0 +1,2 @@
+2222222222222222222
+ 3222223 222222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room5/border.bin b/data/layouts/FiveIsland_LostCave_Room5/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room5/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room5/map.bin b/data/layouts/FiveIsland_LostCave_Room5/map.bin
new file mode 100644
index 000000000..b8db9de80
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room5/map.bin
@@ -0,0 +1,2 @@
+2222222222222222222
+ 3222223 222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room6/border.bin b/data/layouts/FiveIsland_LostCave_Room6/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room6/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room6/map.bin b/data/layouts/FiveIsland_LostCave_Room6/map.bin
new file mode 100644
index 000000000..ddf7f4402
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room6/map.bin
@@ -0,0 +1,2 @@
+22222222222222222
+ 3222223 22222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room7/border.bin b/data/layouts/FiveIsland_LostCave_Room7/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room7/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room7/map.bin b/data/layouts/FiveIsland_LostCave_Room7/map.bin
new file mode 100644
index 000000000..ff3353201
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room7/map.bin
@@ -0,0 +1,2 @@
+222222222222222222
+ 3222223 2222222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room8/border.bin b/data/layouts/FiveIsland_LostCave_Room8/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room8/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room8/map.bin b/data/layouts/FiveIsland_LostCave_Room8/map.bin
new file mode 100644
index 000000000..452a62af2
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room8/map.bin
@@ -0,0 +1,2 @@
+22222222222222222222
+ 3222223 22222222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room9/border.bin b/data/layouts/FiveIsland_LostCave_Room9/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room9/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_LostCave_Room9/map.bin b/data/layouts/FiveIsland_LostCave_Room9/map.bin
new file mode 100644
index 000000000..ec3f1ac6e
--- /dev/null
+++ b/data/layouts/FiveIsland_LostCave_Room9/map.bin
@@ -0,0 +1,2 @@
+222222222222222
+ 3222223 2222222222222222 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_Meadow/border.bin b/data/layouts/FiveIsland_Meadow/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/FiveIsland_Meadow/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_Meadow/map.bin b/data/layouts/FiveIsland_Meadow/map.bin
new file mode 100644
index 000000000..6126a6fa4
--- /dev/null
+++ b/data/layouts/FiveIsland_Meadow/map.bin
@@ -0,0 +1,5 @@
++++++++++
+ 
+ 
+ 
+ +++++++313131313141+++++++$%$'0 0 00 0 0u)++++ 00 00 0 0 0 00 031313141+$' 0 0 0 0 0 0 0 0 0 0 00003141+0 0 0 0 0 0 0 00 0 0 000u)00 0 0 0&%$% 0 0 0 00u)0 000 000 0 0&% 0 0 0u*yy00yy 0 0 0 0$' 0 0 0u*111111 0 000 0 0 0 0 0u*111111 0 0 0 00u*#! 0 00u*+s 0 0&' 0u*+s 0 0 0 00u+,s 0 0 000u,s0 00u*+,s000u*+,s0 00u*+,s00zs$% r 0 0 0+s0 000 0 0r 0 0 0*+,{0&%0 000r 0 0 0*+0$x0y00r 0 00*+0 00p 0 0&%r 0 00*+000p 000 0&'r0 00*++,0 00p&%$' 00 00 0 0r000*++0##$x|| 00000 0z0 00*+++++0##!s0 00 0 0 0r0000*++++++,xyy00yyz0 0*++++++++, 0 0 000000&'00*++++++++, 0 000000 00 0*++++++++, 0&' 00 00000*++++++, 0 0 0 0 00&'00 0"1++++++0###########1++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_MemorialPillar/border.bin b/data/layouts/FiveIsland_MemorialPillar/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/FiveIsland_MemorialPillar/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_MemorialPillar/map.bin b/data/layouts/FiveIsland_MemorialPillar/map.bin
new file mode 100644
index 000000000..a5aae1ecc
--- /dev/null
+++ b/data/layouts/FiveIsland_MemorialPillar/map.bin
Binary files differ
diff --git a/data/layouts/FiveIsland_ResortGorgeous/border.bin b/data/layouts/FiveIsland_ResortGorgeous/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/FiveIsland_ResortGorgeous/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_ResortGorgeous/map.bin b/data/layouts/FiveIsland_ResortGorgeous/map.bin
new file mode 100644
index 000000000..aaf0ec4db
--- /dev/null
+++ b/data/layouts/FiveIsland_ResortGorgeous/map.bin
@@ -0,0 +1 @@
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 11++++++++++++++ 1 1%11111111111111111111+++++++++++++++++++++++++++++++1111011++++++++++++++++++ 1 1 1 11+++++++++ 1 1%1111 000011+++++++++++++ 1%11+++++++++1111110000&'11+++++++++++++++11q&11++++++ 1 1%1111110000  11++++++++++++ 1 1 1 11++++++1-1|.11+++++ 1%1111111110 00000 00i11+++++++++ 1%1&11++++++1-1111++++++111-1111111100000000000 00111+++++++++1squ&11++++1111+++++++++11-11111110000000000111.11+++++++++1squ11++++++++++++++++++++111-111111111111111.111++++++++++1{|}11+++++++++++++++++++++++1111111111111111++++++++++++1y0y.11+++++++++++++++++++++++++++++++++++++++++++++++++1-111111+++++++++++++++++++++++++++++++++++++++++++++++++111111++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_ResortGorgeous_House/border.bin b/data/layouts/FiveIsland_ResortGorgeous_House/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/FiveIsland_ResortGorgeous_House/border.bin
Binary files differ
diff --git a/data/layouts/FiveIsland_ResortGorgeous_House/map.bin b/data/layouts/FiveIsland_ResortGorgeous_House/map.bin
new file mode 100644
index 000000000..f313d50eb
--- /dev/null
+++ b/data/layouts/FiveIsland_ResortGorgeous_House/map.bin
Binary files differ
diff --git a/data/layouts/FiveIsland_RocketWarehouse/border.bin b/data/layouts/FiveIsland_RocketWarehouse/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/FiveIsland_RocketWarehouse/border.bin
Binary files differ
diff --git a/data/layouts/FiveIsland_RocketWarehouse/map.bin b/data/layouts/FiveIsland_RocketWarehouse/map.bin
new file mode 100644
index 000000000..aef63eaf1
--- /dev/null
+++ b/data/layouts/FiveIsland_RocketWarehouse/map.bin
@@ -0,0 +1 @@
+2222222223323322222222222222222222222222222222222+3-3222222222223222232232222222222222222222222222222223 32222222222222(3*33322222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 32222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222233322 \ No newline at end of file
diff --git a/data/layouts/FiveIsland_WaterLabyrinth/border.bin b/data/layouts/FiveIsland_WaterLabyrinth/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/FiveIsland_WaterLabyrinth/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FiveIsland_WaterLabyrinth/map.bin b/data/layouts/FiveIsland_WaterLabyrinth/map.bin
new file mode 100644
index 000000000..66a91da60
--- /dev/null
+++ b/data/layouts/FiveIsland_WaterLabyrinth/map.bin
@@ -0,0 +1 @@
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++(213131313131313141)++++++++++++++++++++++++++++++++++++++,0 00000000*++++++++++++++++++++++++++++++,000010010*+++++++++++++++++++++++++++++++++0$000010003141)++++++++++++++++++++++++++++++++++++++++0#$00010000*+++++++++++++++++++++++++++++++++++++0$0 00100 0*++++++++++++++++++++++++++++++++++++++++++,0000000*++++++++++++++++++++++++++++++++,0 000 00 0*+++++++++++++++++++++++++0#######1++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/FourIsland/border.bin b/data/layouts/FourIsland/border.bin
new file mode 100644
index 000000000..75f2c916c
--- /dev/null
+++ b/data/layouts/FourIsland/border.bin
@@ -0,0 +1 @@
+vvvv \ No newline at end of file
diff --git a/data/layouts/FourIsland/map.bin b/data/layouts/FourIsland/map.bin
new file mode 100644
index 000000000..dd45ba9bd
--- /dev/null
+++ b/data/layouts/FourIsland/map.bin
@@ -0,0 +1 @@
+vOssqsqq{|||||qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvOssqsqqqqqqqq{|||||||||||||qqqqqqqqqqqqqqqqqqqvOssq{||||qqqqqqqqqqqqqqqqqsqqqqqqqqqqqqqqqqqqqvOssqqqqqq{|||||||||||||||qsqqqqqqqqqqqqqqqqqqqvOs{|||yyyyyyyyyyyyyyyqsqsqqqqqqqqqqqqqqqqqqqvO{||ypqsqsqqqqqqqqqqqqqqqqqqqvWeeG11110 0 00pqsqsqqqqqqqqqqqqqqqqqqqvsssO1##11100 00####pqsq{||qqqqqqqqqqqqqqqqvvosO100111 00110000pq{qqq{|||||||||||||qqvvvsO10 00 0 0 00111000pqq{||qqqqqqqqqqqqqqsqqvvvsO1$% 02222 00111000pqqqqq{||||||||||||qsqqDEvsO1y 000|||||||||||sqsqqLMvsO11100 0000000||||yy0yyssqsqqvvvsO111 0 00u0000 0pssqsqqvvvsO1110 00 00 000 00&%$'0u00000pssqsqqvvvsO111000000 0 00 0 00 00 0 00 00 0usssqsqqvvvoO1110 00 0000{1|1}1~1100000000usssqsqqvvvvO1110000000HIJK 00 0usssqsqqvvDEO1110 00 00PQRS000usssqsqqvvLMO1110000&'XYZ[ 00 0u313131313141sssq{qvvvvO1110 00 0000`ab0003sssqqsqvvvvO111000 00 00 000003131313131 00 0&'0usssqqsqvvvvO1110 0000000000 00 00 0000000a1usssqqsqvvDEO111000yyyy0 00(0)0*0+02222200ir313131pssqqsqvvLMO1111111111100001230 00 0 0000r0 00pssqqsqvvvvO111111111110 0089:;00000000r 00 0pssqqsqvvvvO11111111111000@Abc0 00 0 0000r000pssqq{vDEvWkkkk111kkG10 00 00 00 00 00 00 0y00yyz0 00ps{qqsvLMvsssss222ssO100000000000000r00110 0110psqsqqsvvvvvosO100 00000000000 0r0 01101110psqsqqsvvvvvvsO1yyy 0 0r0000011 00psqsqq{vvvvDEsO11111&%$%$%$'hiqsqqqvvvvLMsWkkG11yyyhiiiqqqqqqqqqqqqqqsqqqvvvvvvssssO111111sqqqqqqqqqqqqqqqqqqsqqqvvvvvvossssssssssO111111sqqqqqqqqqqqqqqqqqq{|||vvvvvvvDEvvvvvvvoWkkG111{||||||||||qqqqqqqqqqqvvvvvvvLMvvvDEvvvvvoWkkG||||||||||sqqqqqqqqqqqvvvvvvvvvvvvLMvvvDEvsssWeeeeeeeeeeGs{|||||||||||vvvvvvvvvvvvvvvvvLMvvvosssss^_ssssO{||||||||||||vvvvvvvvvvvvvvvvvvvvvvvvvvvvLMvvosWeeeeeeeeeeeee \ No newline at end of file
diff --git a/data/layouts/FourIsland_IcefallCave_1F/border.bin b/data/layouts/FourIsland_IcefallCave_1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FourIsland_IcefallCave_1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FourIsland_IcefallCave_1F/map.bin b/data/layouts/FourIsland_IcefallCave_1F/map.bin
new file mode 100644
index 000000000..22cfdf42e
--- /dev/null
+++ b/data/layouts/FourIsland_IcefallCave_1F/map.bin
Binary files differ
diff --git a/data/layouts/FourIsland_IcefallCave_B1F/border.bin b/data/layouts/FourIsland_IcefallCave_B1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FourIsland_IcefallCave_B1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FourIsland_IcefallCave_B1F/map.bin b/data/layouts/FourIsland_IcefallCave_B1F/map.bin
new file mode 100644
index 000000000..b3db8d893
--- /dev/null
+++ b/data/layouts/FourIsland_IcefallCave_B1F/map.bin
@@ -0,0 +1 @@
+K3K3K3?_22222J3K3OK3K3K3K3_22J3K3O?K3K3K3_22^K3K3OK3K3K3_22s^K3K3K3K3K3K3_s22222BK3K3K3K3K3K3L3222222BK3?K3K3K3K3_s22222^K3K3K3GK3K3L3222222^K3K3?K3?K3D22222^K3K3K3K3K3K3_222222^K3K3K3K3K3K3_222^K3HIK3K3K3L322222R\tS3S3\TVU22222222VUU22222VU222VVUUVVUV \ No newline at end of file
diff --git a/data/layouts/FourIsland_IcefallCave_Back/border.bin b/data/layouts/FourIsland_IcefallCave_Back/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FourIsland_IcefallCave_Back/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FourIsland_IcefallCave_Back/map.bin b/data/layouts/FourIsland_IcefallCave_Back/map.bin
new file mode 100644
index 000000000..aa44dd119
--- /dev/null
+++ b/data/layouts/FourIsland_IcefallCave_Back/map.bin
@@ -0,0 +1 @@
+++++++++++++++++++++++++++++++++++++   +++++++++++++   U+++++++++++V)+++++(*+++,U ++++++++,)++++++++++ VU*+++++++++(VU*+++++++++,V*+++++++++,*+++++++++,*+++++++++,U +++++++ VUgj3k3k3k3k3k3l3fV2222222p222222U222222qVUor22nVU22qV222222222p22UVUV \ No newline at end of file
diff --git a/data/layouts/FourIsland_IcefallCave_Entrance/border.bin b/data/layouts/FourIsland_IcefallCave_Entrance/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/FourIsland_IcefallCave_Entrance/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/FourIsland_IcefallCave_Entrance/map.bin b/data/layouts/FourIsland_IcefallCave_Entrance/map.bin
new file mode 100644
index 000000000..b37ddd800
--- /dev/null
+++ b/data/layouts/FourIsland_IcefallCave_Entrance/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222>2222222#"222'''''/////////////////////////77777>22222>22222222======222222===222222===222222===UV===UV=UV==UV \ No newline at end of file
diff --git a/data/layouts/FourIsland_LoreleisHouse/border.bin b/data/layouts/FourIsland_LoreleisHouse/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/FourIsland_LoreleisHouse/border.bin
Binary files differ
diff --git a/data/layouts/FourIsland_LoreleisHouse/map.bin b/data/layouts/FourIsland_LoreleisHouse/map.bin
new file mode 100644
index 000000000..5ce78023d
--- /dev/null
+++ b/data/layouts/FourIsland_LoreleisHouse/map.bin
@@ -0,0 +1 @@
+  ` 5 h22222222222B222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/FourIsland_PokemonDayCare/border.bin b/data/layouts/FourIsland_PokemonDayCare/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/FourIsland_PokemonDayCare/border.bin
Binary files differ
diff --git a/data/layouts/FourIsland_PokemonDayCare/map.bin b/data/layouts/FourIsland_PokemonDayCare/map.bin
new file mode 100644
index 000000000..d7207d8ff
--- /dev/null
+++ b/data/layouts/FourIsland_PokemonDayCare/map.bin
@@ -0,0 +1 @@
+b33333222222    !32222222"32232 3 32222222 3 322222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/FuchsiaCity/border.bin b/data/layouts/FuchsiaCity/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/FuchsiaCity/border.bin
Binary files differ
diff --git a/data/layouts/FuchsiaCity/map.bin b/data/layouts/FuchsiaCity/map.bin
new file mode 100644
index 000000000..e1517ef1d
--- /dev/null
+++ b/data/layouts/FuchsiaCity/map.bin
@@ -0,0 +1 @@
+$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%0000000000000000000000 00000000000000000002222222222222200 0 02020000022222222222220000000000 000000000000000 000 000 0000000000000000034445000000000000000000000000000000088888900000000000000000000000000000000000000000000000000000 00 00(0)0*0+00000000000002222220222222222000000000000123000000000000 00 0089:;0000000000000 00000000 0000$'0000000@Abc00000000000000000000000000000000000000000000000 0 0000222222222000000000000000000000000000000000000000000000 000000000000000000000 00000000000000&%0000100000000 0 00001000000000000000000000003444445 00 0000000000000000000000000000 000006666666666000010000000000000000000000100000000000000000000100066666666670 0000 000000000000000000000000000000 00?00 00 0000000000000000000000000000000?0 00 0hiiiiiiiiiiiiiiiiiiiiiiij000 0031313131313131?0000pqqqqqqqqqqqqqqqqqqr0000000 000000 00 0pqHIJKr00222222220000xyABBBBBCPQRSz000 00 00IJJJJJKXYZ[00a100000`1PQRSTUV`ab00i0000 0hX1Y1Z[\]1^10000000000000000000000000000 00 00000000000100000000000000000000 00 0000010100000001010000000 0 00 00 00 00 00 00 0000000hiiiiij0000000000000000000 000000000pklllmr000 00 00 00 00000000000psqqqur0000000000hiiiiij0000000000psqqqur0 00 00 00 00 0pklllmrpsqqqur0000000000psqqqur \ No newline at end of file
diff --git a/data/layouts/FuchsiaCity_Building1/border.bin b/data/layouts/FuchsiaCity_Building1/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/FuchsiaCity_Building1/border.bin
Binary files differ
diff --git a/data/layouts/FuchsiaCity_Building1/map.bin b/data/layouts/FuchsiaCity_Building1/map.bin
new file mode 100644
index 000000000..4efd7d891
--- /dev/null
+++ b/data/layouts/FuchsiaCity_Building1/map.bin
@@ -0,0 +1 @@
+M1N1M1N11111111111 1 1 12222 1 1222rf 1#1%1 1zn 131222251 11s1 1 1 1 1 1 1 1 1 11111 1 1 1 1 1 1 1 1 1 1 1 1V1 1 1 1 1 1 1 1 1 1 1 1U1^ 1 1 1 1?1G1O1 1 1 1 1] \ No newline at end of file
diff --git a/data/layouts/FuchsiaCity_Gym/border.bin b/data/layouts/FuchsiaCity_Gym/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/FuchsiaCity_Gym/border.bin
Binary files differ
diff --git a/data/layouts/FuchsiaCity_Gym/map.bin b/data/layouts/FuchsiaCity_Gym/map.bin
new file mode 100644
index 000000000..390ee14be
--- /dev/null
+++ b/data/layouts/FuchsiaCity_Gym/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/FuchsiaCity_House2/border.bin b/data/layouts/FuchsiaCity_House2/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/FuchsiaCity_House2/border.bin
Binary files differ
diff --git a/data/layouts/FuchsiaCity_House2/map.bin b/data/layouts/FuchsiaCity_House2/map.bin
new file mode 100644
index 000000000..83ebe0b15
--- /dev/null
+++ b/data/layouts/FuchsiaCity_House2/map.bin
@@ -0,0 +1 @@
+bcdjk1l111111112121V1 1 1 1 1 1 1 1 1 1^ 1 1 1 1#1$1$1$1%11 1 1 1 1+1&1()-1V1 1 1 1 1+1,101-1^ 1 1 1 131414141511 1?1G1O1 1 1 1 1 1 \ No newline at end of file
diff --git a/data/layouts/FuchsiaCity_SafariZone_Entrance/border.bin b/data/layouts/FuchsiaCity_SafariZone_Entrance/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/FuchsiaCity_SafariZone_Entrance/border.bin
Binary files differ
diff --git a/data/layouts/FuchsiaCity_SafariZone_Entrance/map.bin b/data/layouts/FuchsiaCity_SafariZone_Entrance/map.bin
new file mode 100644
index 000000000..e84271730
--- /dev/null
+++ b/data/layouts/FuchsiaCity_SafariZone_Entrance/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/FuchsiaCity_ZooBuilding/border.bin b/data/layouts/FuchsiaCity_ZooBuilding/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/FuchsiaCity_ZooBuilding/border.bin
Binary files differ
diff --git a/data/layouts/FuchsiaCity_ZooBuilding/map.bin b/data/layouts/FuchsiaCity_ZooBuilding/map.bin
new file mode 100644
index 000000000..d18ddbd61
--- /dev/null
+++ b/data/layouts/FuchsiaCity_ZooBuilding/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/House1/border.bin b/data/layouts/House1/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/House1/border.bin
Binary files differ
diff --git a/data/layouts/House1/map.bin b/data/layouts/House1/map.bin
new file mode 100644
index 000000000..7fb8f8319
--- /dev/null
+++ b/data/layouts/House1/map.bin
@@ -0,0 +1 @@
+aapq5iixyH1I11111111111 1 1#1$1$1$1$1%1 1 11 1 1+1&1()'1-1 1 11 1 1+1&101'1-1 1 1V1 1 1314141414151 1U1^ 1 1?1G1O1 1 1 1 1] \ No newline at end of file
diff --git a/data/layouts/House2/border.bin b/data/layouts/House2/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/House2/border.bin
Binary files differ
diff --git a/data/layouts/House2/map.bin b/data/layouts/House2/map.bin
new file mode 100644
index 000000000..2f2d83996
--- /dev/null
+++ b/data/layouts/House2/map.bin
@@ -0,0 +1 @@
+  ./ -!" 1267(5)*(90:0>0?0 0=0 0 0 0 0 0 000C0D0D0D0D0F000 000S0K0LMN0V000 000S0K0TUN0V000W000[0\0\0\0\0^00G0_000000000O44444444 \ No newline at end of file
diff --git a/data/layouts/House3/border.bin b/data/layouts/House3/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/House3/border.bin
Binary files differ
diff --git a/data/layouts/House3/map.bin b/data/layouts/House3/map.bin
new file mode 100644
index 000000000..73c6abf89
--- /dev/null
+++ b/data/layouts/House3/map.bin
@@ -0,0 +1 @@
+"  89*!@A211111111H1I11V1 1 1 1 1 1 1 1 1 1 1^ 1 1 1o1efg1 1 1 11 1 1 1o1mng1 1 1 1V1 1 1 1 1 1 1 1 1 1 1^ 1 1?1G1O1 1 1 1 1 1 \ No newline at end of file
diff --git a/data/layouts/House4/border.bin b/data/layouts/House4/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/House4/border.bin
Binary files differ
diff --git a/data/layouts/House4/map.bin b/data/layouts/House4/map.bin
new file mode 100644
index 000000000..f74c83441
--- /dev/null
+++ b/data/layouts/House4/map.bin
@@ -0,0 +1 @@
+  `` h h111111111111 1 1 1 1 1 1 1 1 1 1V1 1 1 1o1efg1 1 1 1^ 1 1 1o1mng1 1 1 1V1 1 1 1 1 1 1 1 1 1 1^ 1?1G1O1 1 1 1 1 1 1 \ No newline at end of file
diff --git a/data/layouts/House5/border.bin b/data/layouts/House5/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/House5/border.bin
Binary files differ
diff --git a/data/layouts/House5/map.bin b/data/layouts/House5/map.bin
new file mode 100644
index 000000000..4daf805f7
--- /dev/null
+++ b/data/layouts/House5/map.bin
@@ -0,0 +1 @@
+aapqi5ixy000000000000000000000000000000000000000000000000000000000000 \ No newline at end of file
diff --git a/data/layouts/IndigoPlateau_Exterior/border.bin b/data/layouts/IndigoPlateau_Exterior/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/IndigoPlateau_Exterior/border.bin
Binary files differ
diff --git a/data/layouts/IndigoPlateau_Exterior/map.bin b/data/layouts/IndigoPlateau_Exterior/map.bin
new file mode 100644
index 000000000..2bfc01f42
--- /dev/null
+++ b/data/layouts/IndigoPlateau_Exterior/map.bin
Binary files differ
diff --git a/data/layouts/IndigoPlateau_PokemonCenter_1F/border.bin b/data/layouts/IndigoPlateau_PokemonCenter_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/IndigoPlateau_PokemonCenter_1F/border.bin
Binary files differ
diff --git a/data/layouts/IndigoPlateau_PokemonCenter_1F/map.bin b/data/layouts/IndigoPlateau_PokemonCenter_1F/map.bin
new file mode 100644
index 000000000..9a9319f8e
--- /dev/null
+++ b/data/layouts/IndigoPlateau_PokemonCenter_1F/map.bin
Binary files differ
diff --git a/data/layouts/Island_Harbor/border.bin b/data/layouts/Island_Harbor/border.bin
new file mode 100644
index 000000000..536a722ec
--- /dev/null
+++ b/data/layouts/Island_Harbor/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/Island_Harbor/map.bin b/data/layouts/Island_Harbor/map.bin
new file mode 100644
index 000000000..353d5f450
--- /dev/null
+++ b/data/layouts/Island_Harbor/map.bin
@@ -0,0 +1 @@
+222222222222222222222#####!222 #####+++++,2*++++++++++0#1+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/LavenderTown/border.bin b/data/layouts/LavenderTown/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/LavenderTown/border.bin
Binary files differ
diff --git a/data/layouts/LavenderTown/map.bin b/data/layouts/LavenderTown/map.bin
new file mode 100644
index 000000000..9bba130ef
--- /dev/null
+++ b/data/layouts/LavenderTown/map.bin
@@ -0,0 +1 @@
+qqqqqqqr0 00 0 0psuqqqqq10000psuqqqqHIJK 00 0 0psuqqqqrPQRS0000psuqyyzXYZ[ 00 0psuqr 00 0`ab0000p{'89:4}qr0000b1c1d10 00 00xy/@3B5qr 00 00r1s1t1 00000 00 0b1c1c1c1d1pqz000000022222000r1s1s1s1t1 0pq0 00 00 00 0 00 0 00 00 00pq00000000 0000000 00pq0 00 00 0000 00 0000pq0 000000 0b1c1d1 00 00 00(0)0*0+0pqj 002222222222000000123pqr00 0 00 0089:;pqr 0000000@Abcpqr00 00 0b1c1c1c1c1d1pqr 0b1c1c1c1c1c1c1c1c1c1d1000r1s1s1s1s1t1pqr0r1s1s1s1s1s1s1s1s1s1t1 00 00 00 00 0pqiiiiiiiiij00hiiiiiiiiq \ No newline at end of file
diff --git a/data/layouts/LavenderTown_VolunteerPokemonHouse/border.bin b/data/layouts/LavenderTown_VolunteerPokemonHouse/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/LavenderTown_VolunteerPokemonHouse/border.bin
Binary files differ
diff --git a/data/layouts/LavenderTown_VolunteerPokemonHouse/map.bin b/data/layouts/LavenderTown_VolunteerPokemonHouse/map.bin
new file mode 100644
index 000000000..3e5dc6dda
--- /dev/null
+++ b/data/layouts/LavenderTown_VolunteerPokemonHouse/map.bin
@@ -0,0 +1 @@
+#$%&5222(3)32 32222222222222222233222222332222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/Mart/border.bin b/data/layouts/Mart/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/Mart/border.bin
Binary files differ
diff --git a/data/layouts/Mart/map.bin b/data/layouts/Mart/map.bin
new file mode 100644
index 000000000..dee537e49
--- /dev/null
+++ b/data/layouts/Mart/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/MtEmber_Exterior/border.bin b/data/layouts/MtEmber_Exterior/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/MtEmber_Exterior/border.bin
Binary files differ
diff --git a/data/layouts/MtEmber_Exterior/map.bin b/data/layouts/MtEmber_Exterior/map.bin
new file mode 100644
index 000000000..28f5cc749
--- /dev/null
+++ b/data/layouts/MtEmber_Exterior/map.bin
@@ -0,0 +1 @@
+SQQSQSQSQSQSQSSQSSQSQSQSQSSSW33UUUQUQUQUQUQUQUQUQUQUQUQUQSQQSQSQSQSQ[5SSQSSQSQSQSQSSS33WUUUQUQUQUQUQUQUQUQUQUQUQUQSQQSQSQSQ[5QSS[5SSQSQSQ[5SS[\\]UU4]QUQUQUQUQUQUQUQUQUQUQ[5QSQSQ[5QSQSSQSSSQ[5[5QSS[\\\\]UUQ4]4]QU4]QUQUQUQUQUQUQQSQSQ[5QSQSQSSQSSSQQSQSQS[\\\\\\]UQUQUQQUUQ4]QUQUQUQUQUQQSQ[5QSQSQ[5S>5SSSQQSQSQ[\\\\\\\\]QUQUQQUUQUQ4]QUQUQUQUQQ[5QSQSQ[5QSS36SSSQQSQ[\\\\\\\\\\\\]QUQQUUQUQUQ4]QUQUQUQ5QSQSQ[5QSQSS36SSSQQ[\\\\533W13334\\\\]QQUUQUQUQUQ4]QUQUQSQSQ[5QSQSQSS36SS>YYYYY5QS33333W3UQQQQQQQUUQUQUQUQUQ4]QUQ[5[5QSQSQSQSS36SS3333336QS3W33333U4YYYYYY]UQUQUQUQUQUQ4]QQSQSQSQSQ[5SS36SS333333>5S33333W3U733 00 034]QUQUQUQUQUQUQ4QSQSQSQ[5QSSS36SS33333336[\\534\\]733}3}3}33UQQUQUQUQUQUQUQUQSQSQ[5QSQSSS36S[00\\533>Y5Q[0]Q4Y?3W3333UQ4]QUQUQUQUQUQUQ[5[5QSQSQSSS36[\00\5S3333>YY0YY?3W33W33WUQUQ4]QUQUQUQUQU5QSQSQSQSQSSS3>YY005SS333333333W33333cddeU4]QUQ4]QUQUQUQUSQSQSQSQSQSSS3333336S[\\5333333333WW3333WUU4\]QUQ4]QUQUQUSQSQSQSQSQSSS3333336[\\5S33W33333333W33W3UUU4\\]QUQ4]QUQUSQ[5[5SQSQSS[\\\\5W>\\5S[5333333W33333334]UUU4\\\]QUQ4]QU[5QSQSSQSQSSQQQQQ[\\\5S[5[\\\00\\\\\\\\\]4]UUUQQQ4\]QUQ4]QSQSQSSQ[5S[\\\5QQQQQS[5[YYYY00YYYYYYYYF3Y?4]UUQ4Y]QQ4]4]QQSQSQS[5QSSQQQQ[\\\\5[5[\533333333333~30 033U4]UQO04\\]QUQ4QSQ[5SQSQS[\\5QQQQQQ[5SQQS333333333333}3}34\]UQUQO0UQQQ4]4]Q[5QSSQSQSQQQ[\\\\5QQSSQQ[\\\00\\\5334\\]QQU4]QO0UQ4\]QUQ5QSQSSQSQSQ4\\\\5Q[5QSSQQ4YYY00YY5S33UQQQ4\]UQ4G0UQUQQ4]4SQSQSSQ[5SQU4\F35[5QSQSSQQ733333336[\\]Q4\]QQUQO00UQU4\]QUSQSQS[\5SSQUO0 0NQSQSQSSQQ733333336QQQQQUQ4\\]QO 04]QUUQQ4]SQSQSQQSSSQUO 00NQ[5SQSSQQ7dddddddTQQ4\\]QU4\\\G0UQ4]UQ4]QSQSQSQQSS[\]U}3~3E5QSSQS[\\?3333333>\\]Q4\\]O0 0 00 0UQUQUQUQ4[5[5[\5SSQQQU33}36QSSQ[\\\533333334\\\\]QQ4G 0 00 04]QUQUQUQUQSQSQQSS>\\\?3336QSSQQQQQ[\533334]QQQQQ4YG 00 04\]Q4]QUQUQUQSQSQQSS333333336QS>YYYY5QQ[\00\]QQQ4YYG0 00 04]QQ4]Q4]QUQUQ[5SQQSE\\\\53336QS33333>YYYY00YYYYY?30 00 0 0 0UQ4\]Q4]Q4]QU5QS[\5SV 00 00N3336QS33333333333333333330 0 0 0 00UQUQ4\]Q4]Q4]SQSQQSS00000N3336QS333333333333333333 04\\\\\]QUQUQ4\]Q4]QSQ[5QSEY0050E\536Q[00\YYY00YYYYYYYYY\\]QQQQQQ4]4]QUQ4\]QQ[5QSQSV 0 0 0N0 00N3EYY005333333g33333334\\\\\\\\]QUQ4]QUQQQQQSQSQ[5 0 0 0N0 00N0 00 00 0N0 03333f333 00 03UQQQQQQQQ4\]QUQ4]QQQQQSQSQQS 0 0 0N000N000000N000003f3300 000UQQQQQQ4\]QQ4]QUQQQQQQSQ[\5S 0 0 0EY50EYYY005S0 00 003o33 00 004]Q4\\\\]4\\\]Q4]QQQQ4Q[5QQSSV 0 0 0VN0 00 00 0 0N[\\\00\\\\\00\]4Y]Q4YY\]QQQ4\]QQ4\\]5QSQQSS 00 00 0N0000000EYYYY00YYYYY00YY]Q4YG004\\\\]QQ4\]QQQSQSQQSS 0 00 00EYY5 00 00 00 000 0 0 0 0000 00 004YG 0 00 0UQQQQ4\\]QQQQQSQ[\5S[50 00 00 00N0 00 0 0 00 0 00 0 0 00000000O000000UQ4\\]QQQQQQQQ[5QQSSQ[\5 00000N00 00 0 0 0 0 0 0 00 0 00hiiijO00 0 00 0UQUQQQQQQ4\\\\QSQQS[5QQS0 00 00EYYYYYYYYYYYYYY50 00 00O0004\\]QUQQQ4\\]QQQQQ[\5SQ[\5S000000V000 0 000 00 00 00EY00YYG00 0UQQQQU4\\]QQQQQQQ5QQS[5QQS[\\5 00000000V000000|3}3~3 000 0000 04]4\\\]UQQQQQQQ4\\SQQSQ[\5[\\5[\\\\\\\\500 00 0|3333}3~3 00 0 000UQUQQQQUQQQQ4\\]QQSQQ[5QQ[\\5[\\5QQQQQQ[\5`ab3113^_b4\\\\]4]4\\\]Q4\\]QQQQQ[\5Q[\5QQQ[\5Q[\\\\\\\5SSQU45SQUU4\\\\]QUQQQQQUQQQQQQ4\QQ[5QQ[\\5QQ[\\\\\\5QQSSSQU76SQUUUQ4\\\\]Q4\\\]QQQ4\\]Q5QQ[\5QQQ[\\\\\\\5Q[5QSSSQU76SQUUUQUQQQQQ4]QQQQ4\\]QQQ4[\5QQ[\\5QQQQQQQQSQQSQSSSQU76SQUUUQUQ4\\\]Q4\\\]QQQ4\\]QQSQQQQQ[\\\\\\5Q[5QSQSSSQU76SQUUUQUQUQQQQ4]QQQQ4\\]QQQ \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_1F/border.bin b/data/layouts/MtEmber_RubyPath_1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_1F/map.bin b/data/layouts/MtEmber_RubyPath_1F/map.bin
new file mode 100644
index 000000000..bfa5e7637
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_1F/map.bin
@@ -0,0 +1 @@
+22+22+2222)2222222222222222222222222222222222222222222)2222222222222222222!322222222+#322222)22222)222222222!3+222#322 \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B1F/border.bin b/data/layouts/MtEmber_RubyPath_B1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B1F/map.bin b/data/layouts/MtEmber_RubyPath_B1F/map.bin
new file mode 100644
index 000000000..e92a27510
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B1F/map.bin
@@ -0,0 +1 @@
+2+222222222!322222)2222#322222222222222+22222222!3222222* \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B1F_Stairs/border.bin b/data/layouts/MtEmber_RubyPath_B1F_Stairs/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B1F_Stairs/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B1F_Stairs/map.bin b/data/layouts/MtEmber_RubyPath_B1F_Stairs/map.bin
new file mode 100644
index 000000000..1ac916e78
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B1F_Stairs/map.bin
@@ -0,0 +1 @@
+)2222+22+222( \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B2F/border.bin b/data/layouts/MtEmber_RubyPath_B2F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B2F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B2F/map.bin b/data/layouts/MtEmber_RubyPath_B2F/map.bin
new file mode 100644
index 000000000..09813c497
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B2F/map.bin
@@ -0,0 +1 @@
+2#3222+!322222222222222222222222222222222222222(22( \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B2F_Stairs/border.bin b/data/layouts/MtEmber_RubyPath_B2F_Stairs/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B2F_Stairs/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B2F_Stairs/map.bin b/data/layouts/MtEmber_RubyPath_B2F_Stairs/map.bin
new file mode 100644
index 000000000..4c7388aa5
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B2F_Stairs/map.bin
@@ -0,0 +1 @@
+)+22222222222(* \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B3F/border.bin b/data/layouts/MtEmber_RubyPath_B3F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B3F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B3F/map.bin b/data/layouts/MtEmber_RubyPath_B3F/map.bin
new file mode 100644
index 000000000..882838538
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B3F/map.bin
@@ -0,0 +1 @@
+++))222222222222222222222222222222222222)2222!322222!3222222222222222+(+222222222222222+)2+22)222+22222222222222222222222+!3222#3*22222))2222#3222#322222222!32222222++ \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B4F/border.bin b/data/layouts/MtEmber_RubyPath_B4F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B4F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B4F/map.bin b/data/layouts/MtEmber_RubyPath_B4F/map.bin
new file mode 100644
index 000000000..ea974a47e
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B4F/map.bin
Binary files differ
diff --git a/data/layouts/MtEmber_RubyPath_B5F/border.bin b/data/layouts/MtEmber_RubyPath_B5F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B5F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtEmber_RubyPath_B5F/map.bin b/data/layouts/MtEmber_RubyPath_B5F/map.bin
new file mode 100644
index 000000000..e67aaa03d
--- /dev/null
+++ b/data/layouts/MtEmber_RubyPath_B5F/map.bin
Binary files differ
diff --git a/data/layouts/MtEmber_Summit/border.bin b/data/layouts/MtEmber_Summit/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/MtEmber_Summit/border.bin
Binary files differ
diff --git a/data/layouts/MtEmber_Summit/map.bin b/data/layouts/MtEmber_Summit/map.bin
new file mode 100644
index 000000000..603170671
--- /dev/null
+++ b/data/layouts/MtEmber_Summit/map.bin
@@ -0,0 +1 @@
+QQQU4\\\\\\\\5QS[\5Q4\]U4\\\\\\5[5[\5SMU4\]U4\\\\5[5[\5SSUUU4\]U4\\5[5[5QSSSUUUU4\]UQQSQ[5[5SSSUUUUUQK22222MSQSSSSUU<<<LS33333U=L==SS22MQKLS33333ULMK2223322222WW33W2222333333333W33333W33334\3W3333W33WW3W3333U4\\5333W3333W3W334]U\5S3W3WW333W3334]4]QS[5333WW333W33UQU45[5[\5W3333W33WU4]U[5SQQS3WW1W3W4\]UQU5S[\5[\\\\]4\]4]S[\5[\\\\\\]4\]4[\5[\\\\\\\\]4\]\5[\\\\\\\\\\]4\5[\\\\\\\\\\\\]4[\\\\\\\\\\\\\\] \ No newline at end of file
diff --git a/data/layouts/MtEmber_SummitPath_1F/border.bin b/data/layouts/MtEmber_SummitPath_1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/MtEmber_SummitPath_1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtEmber_SummitPath_1F/map.bin b/data/layouts/MtEmber_SummitPath_1F/map.bin
new file mode 100644
index 000000000..40ec58172
--- /dev/null
+++ b/data/layouts/MtEmber_SummitPath_1F/map.bin
@@ -0,0 +1 @@
+2)!32222#3222222+2222*22222222)222 \ No newline at end of file
diff --git a/data/layouts/MtEmber_SummitPath_2F/border.bin b/data/layouts/MtEmber_SummitPath_2F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/MtEmber_SummitPath_2F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtEmber_SummitPath_2F/map.bin b/data/layouts/MtEmber_SummitPath_2F/map.bin
new file mode 100644
index 000000000..960c58b68
--- /dev/null
+++ b/data/layouts/MtEmber_SummitPath_2F/map.bin
@@ -0,0 +1 @@
++222)2222222222222222222222222222222#32!3222222222)22#322222+2)222222222)222222222+22222IIIII#32226B@222!36IIIIJL@222BECHIIIIII222+BLLLLMC@2IJEKLLLLLL@2B7EC@222222IJLMCH22222#3B7EC@22IIIJ7MK@22B7777ECH+22B7LLLLMC@22B7EKH2222!3B7E7C@2222B7E77K@222IJ7E777C@222B77E7777CH#322B7LM7777C@222B7E777K@222B7E777C@22!3B7E7777C@666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666662222222222266666666666666666666622222222222666666666666666666666622222222222 \ No newline at end of file
diff --git a/data/layouts/MtEmber_SummitPath_3F/border.bin b/data/layouts/MtEmber_SummitPath_3F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/MtEmber_SummitPath_3F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtEmber_SummitPath_3F/map.bin b/data/layouts/MtEmber_SummitPath_3F/map.bin
new file mode 100644
index 000000000..b107b027e
--- /dev/null
+++ b/data/layouts/MtEmber_SummitPath_3F/map.bin
@@ -0,0 +1 @@
+)22222222222222222*222*22!3222#322 \ No newline at end of file
diff --git a/data/layouts/MtMoon_1F/border.bin b/data/layouts/MtMoon_1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/MtMoon_1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtMoon_1F/map.bin b/data/layouts/MtMoon_1F/map.bin
new file mode 100644
index 000000000..0a2146855
--- /dev/null
+++ b/data/layouts/MtMoon_1F/map.bin
Binary files differ
diff --git a/data/layouts/MtMoon_B1F/border.bin b/data/layouts/MtMoon_B1F/border.bin
new file mode 100644
index 000000000..23857cf75
--- /dev/null
+++ b/data/layouts/MtMoon_B1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtMoon_B1F/map.bin b/data/layouts/MtMoon_B1F/map.bin
new file mode 100644
index 000000000..89714677c
--- /dev/null
+++ b/data/layouts/MtMoon_B1F/map.bin
Binary files differ
diff --git a/data/layouts/MtMoon_B2F/border.bin b/data/layouts/MtMoon_B2F/border.bin
new file mode 100644
index 000000000..23857cf75
--- /dev/null
+++ b/data/layouts/MtMoon_B2F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/MtMoon_B2F/map.bin b/data/layouts/MtMoon_B2F/map.bin
new file mode 100644
index 000000000..9b546adb5
--- /dev/null
+++ b/data/layouts/MtMoon_B2F/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_1F/border.bin b/data/layouts/NavelRock_1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_1F/map.bin b/data/layouts/NavelRock_1F/map.bin
new file mode 100644
index 000000000..6398304c9
--- /dev/null
+++ b/data/layouts/NavelRock_1F/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_B1F/border.bin b/data/layouts/NavelRock_B1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_B1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_B1F/map.bin b/data/layouts/NavelRock_B1F/map.bin
new file mode 100644
index 000000000..856e2a21f
--- /dev/null
+++ b/data/layouts/NavelRock_B1F/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_Base/border.bin b/data/layouts/NavelRock_Base/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_Base/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_Base/map.bin b/data/layouts/NavelRock_Base/map.bin
new file mode 100644
index 000000000..dcfeee21e
--- /dev/null
+++ b/data/layouts/NavelRock_Base/map.bin
@@ -0,0 +1 @@
+**---.vvv6+++((**---.vvv6+++((**---.vvv6+++((**---.vvv6+++((**---.vvv6+++((**---.vvv6+++((**---.vvv6+++((**---.vvv6+++((**---.vvv6+++((**---.vvv6+++((**---.vvv6+++((**---.vvv6+++((**---.vvv6+++((**---.8886+++((**---93;3;3;3:3+++((**-99%,3,3,3#::+((**-,,-%,3#+,,+((**-,,--3++,,+((**-,,-93,3:3+,,+((**-&45,3,33/'+((**--,3,3,3,3,373++((**--,,3,3,3,3++((>><<==?? \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B10F/border.bin b/data/layouts/NavelRock_BasePath_B10F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B10F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B10F/map.bin b/data/layouts/NavelRock_BasePath_B10F/map.bin
new file mode 100644
index 000000000..3f718d185
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B10F/map.bin
@@ -0,0 +1 @@
+2222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B11F/border.bin b/data/layouts/NavelRock_BasePath_B11F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B11F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B11F/map.bin b/data/layouts/NavelRock_BasePath_B11F/map.bin
new file mode 100644
index 000000000..48a1246d4
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B11F/map.bin
@@ -0,0 +1 @@
+222222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B1F/border.bin b/data/layouts/NavelRock_BasePath_B1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B1F/map.bin b/data/layouts/NavelRock_BasePath_B1F/map.bin
new file mode 100644
index 000000000..48a1246d4
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B1F/map.bin
@@ -0,0 +1 @@
+222222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B2F/border.bin b/data/layouts/NavelRock_BasePath_B2F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B2F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B2F/map.bin b/data/layouts/NavelRock_BasePath_B2F/map.bin
new file mode 100644
index 000000000..3f718d185
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B2F/map.bin
@@ -0,0 +1 @@
+2222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B3F/border.bin b/data/layouts/NavelRock_BasePath_B3F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B3F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B3F/map.bin b/data/layouts/NavelRock_BasePath_B3F/map.bin
new file mode 100644
index 000000000..48a1246d4
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B3F/map.bin
@@ -0,0 +1 @@
+222222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B4F/border.bin b/data/layouts/NavelRock_BasePath_B4F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B4F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B4F/map.bin b/data/layouts/NavelRock_BasePath_B4F/map.bin
new file mode 100644
index 000000000..3f718d185
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B4F/map.bin
@@ -0,0 +1 @@
+2222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B5F/border.bin b/data/layouts/NavelRock_BasePath_B5F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B5F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B5F/map.bin b/data/layouts/NavelRock_BasePath_B5F/map.bin
new file mode 100644
index 000000000..48a1246d4
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B5F/map.bin
@@ -0,0 +1 @@
+222222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B6F/border.bin b/data/layouts/NavelRock_BasePath_B6F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B6F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B6F/map.bin b/data/layouts/NavelRock_BasePath_B6F/map.bin
new file mode 100644
index 000000000..3f718d185
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B6F/map.bin
@@ -0,0 +1 @@
+2222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B7F/border.bin b/data/layouts/NavelRock_BasePath_B7F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B7F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B7F/map.bin b/data/layouts/NavelRock_BasePath_B7F/map.bin
new file mode 100644
index 000000000..48a1246d4
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B7F/map.bin
@@ -0,0 +1 @@
+222222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B8F/border.bin b/data/layouts/NavelRock_BasePath_B8F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B8F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B8F/map.bin b/data/layouts/NavelRock_BasePath_B8F/map.bin
new file mode 100644
index 000000000..3f718d185
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B8F/map.bin
@@ -0,0 +1 @@
+2222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B9F/border.bin b/data/layouts/NavelRock_BasePath_B9F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B9F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_BasePath_B9F/map.bin b/data/layouts/NavelRock_BasePath_B9F/map.bin
new file mode 100644
index 000000000..48a1246d4
--- /dev/null
+++ b/data/layouts/NavelRock_BasePath_B9F/map.bin
@@ -0,0 +1 @@
+222222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_Exterior/border.bin b/data/layouts/NavelRock_Exterior/border.bin
new file mode 100644
index 000000000..75f2c916c
--- /dev/null
+++ b/data/layouts/NavelRock_Exterior/border.bin
@@ -0,0 +1 @@
+vvvv \ No newline at end of file
diff --git a/data/layouts/NavelRock_Exterior/map.bin b/data/layouts/NavelRock_Exterior/map.bin
new file mode 100644
index 000000000..4d169ee3a
--- /dev/null
+++ b/data/layouts/NavelRock_Exterior/map.bin
Binary files differ
diff --git a/data/layouts/NavelRock_Fork/border.bin b/data/layouts/NavelRock_Fork/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_Fork/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_Fork/map.bin b/data/layouts/NavelRock_Fork/map.bin
new file mode 100644
index 000000000..e6ce2d331
--- /dev/null
+++ b/data/layouts/NavelRock_Fork/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222V2T32W222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_Summit/border.bin b/data/layouts/NavelRock_Summit/border.bin
new file mode 100644
index 000000000..4ecad6cd2
--- /dev/null
+++ b/data/layouts/NavelRock_Summit/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_Summit/map.bin b/data/layouts/NavelRock_Summit/map.bin
new file mode 100644
index 000000000..d49777f32
--- /dev/null
+++ b/data/layouts/NavelRock_Summit/map.bin
@@ -0,0 +1,2 @@
+66666666366666666666666636666666666666366666666666626666666666662666666666666222226666666666@22222@666666@:222229@666:2222296::99::99:     
+9:       9:       9 \ No newline at end of file
diff --git a/data/layouts/NavelRock_SummitPath_2F/border.bin b/data/layouts/NavelRock_SummitPath_2F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_SummitPath_2F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_SummitPath_2F/map.bin b/data/layouts/NavelRock_SummitPath_2F/map.bin
new file mode 100644
index 000000000..48a1246d4
--- /dev/null
+++ b/data/layouts/NavelRock_SummitPath_2F/map.bin
@@ -0,0 +1 @@
+222222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_SummitPath_3F/border.bin b/data/layouts/NavelRock_SummitPath_3F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_SummitPath_3F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_SummitPath_3F/map.bin b/data/layouts/NavelRock_SummitPath_3F/map.bin
new file mode 100644
index 000000000..3f718d185
--- /dev/null
+++ b/data/layouts/NavelRock_SummitPath_3F/map.bin
@@ -0,0 +1 @@
+2222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_SummitPath_4F/border.bin b/data/layouts/NavelRock_SummitPath_4F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_SummitPath_4F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_SummitPath_4F/map.bin b/data/layouts/NavelRock_SummitPath_4F/map.bin
new file mode 100644
index 000000000..48a1246d4
--- /dev/null
+++ b/data/layouts/NavelRock_SummitPath_4F/map.bin
@@ -0,0 +1 @@
+222222222 \ No newline at end of file
diff --git a/data/layouts/NavelRock_SummitPath_5F/border.bin b/data/layouts/NavelRock_SummitPath_5F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/NavelRock_SummitPath_5F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/NavelRock_SummitPath_5F/map.bin b/data/layouts/NavelRock_SummitPath_5F/map.bin
new file mode 100644
index 000000000..3f718d185
--- /dev/null
+++ b/data/layouts/NavelRock_SummitPath_5F/map.bin
@@ -0,0 +1 @@
+2222222 \ No newline at end of file
diff --git a/data/layouts/OneIsland/border.bin b/data/layouts/OneIsland/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/OneIsland/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/OneIsland/map.bin b/data/layouts/OneIsland/map.bin
new file mode 100644
index 000000000..26fbb1b50
--- /dev/null
+++ b/data/layouts/OneIsland/map.bin
@@ -0,0 +1 @@
+qqqqqqqqqqquu*1+qqqqqquuqqqqqqruuqqqqqqruu*1+qqqqqqruu*1+qqq||z&%$'&'uu*1+qqqu0200qqqurx|000|zrqqqurs3000000qqqur000000qqqur00000000000qqqur00000000||qqqur0000000000111111q|}r000000000r111111|}|z&'0000000000rhq}|||||||000|||zpqqqqq|}} # ###111# $sqqqqq||} 1++++111+,{||||###1+++++222++####!s+++++++,s \ No newline at end of file
diff --git a/data/layouts/OneIsland_KindleRoad/border.bin b/data/layouts/OneIsland_KindleRoad/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/OneIsland_KindleRoad/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/OneIsland_KindleRoad/map.bin b/data/layouts/OneIsland_KindleRoad/map.bin
new file mode 100644
index 000000000..4d4abca6d
--- /dev/null
+++ b/data/layouts/OneIsland_KindleRoad/map.bin
Binary files differ
diff --git a/data/layouts/OneIsland_KindleRoad_EmberSpa/border.bin b/data/layouts/OneIsland_KindleRoad_EmberSpa/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/OneIsland_KindleRoad_EmberSpa/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/OneIsland_KindleRoad_EmberSpa/map.bin b/data/layouts/OneIsland_KindleRoad_EmberSpa/map.bin
new file mode 100644
index 000000000..9817d8614
--- /dev/null
+++ b/data/layouts/OneIsland_KindleRoad_EmberSpa/map.bin
@@ -0,0 +1 @@
+)''''+////+01772//)8999:-3//8'99:-30771125555-3`999&a2-3-3-3"36)7 3-3-3-3-3-3,3,3,3,3,3,3,3,3-3-3-3-3-36+7-3-3"3-3-3-3 3-3-3-3-3-3-3 3-3-3-3-3-36-3-322071313331313272)87&393939393:7+7-36031313238793939393&3:7?-3683'393:3879393'39393:77-3-36*(7-3 36557-3-367-3-3>5555+5-3-367-3-3-3-3-3-3-3>5555?-3-3"3-367 3-3-3-3"3-3-3-3-3-3-3-3-3-3-3-3-367-3-3-3-3-3-3-3-3-3-3 3-3-3-3-3-3-3644/-3-3-3-3-3-3-3-3-3-3.444444/-3-3-3.447-3-3-367-3-3-367"3-3-36/-3-367-3 367-3.7-367-367-367-367-367-367-36=36 \ No newline at end of file
diff --git a/data/layouts/OneIsland_PokemonCenter_1F/border.bin b/data/layouts/OneIsland_PokemonCenter_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/OneIsland_PokemonCenter_1F/border.bin
Binary files differ
diff --git a/data/layouts/OneIsland_PokemonCenter_1F/map.bin b/data/layouts/OneIsland_PokemonCenter_1F/map.bin
new file mode 100644
index 000000000..a9016b670
--- /dev/null
+++ b/data/layouts/OneIsland_PokemonCenter_1F/map.bin
@@ -0,0 +1 @@
+bHI``JK222c3222PQUURS 722222LMVVNOn22222222222T\XY^WnBB22222222ABFGCD222222222222E322222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/OneIsland_PokemonCenter_2F/border.bin b/data/layouts/OneIsland_PokemonCenter_2F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/OneIsland_PokemonCenter_2F/border.bin
Binary files differ
diff --git a/data/layouts/OneIsland_PokemonCenter_2F/map.bin b/data/layouts/OneIsland_PokemonCenter_2F/map.bin
new file mode 100644
index 000000000..a1b551a73
--- /dev/null
+++ b/data/layouts/OneIsland_PokemonCenter_2F/map.bin
Binary files differ
diff --git a/data/layouts/OneIsland_TreasureBeach/border.bin b/data/layouts/OneIsland_TreasureBeach/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/OneIsland_TreasureBeach/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/OneIsland_TreasureBeach/map.bin b/data/layouts/OneIsland_TreasureBeach/map.bin
new file mode 100644
index 000000000..fe6ef01a7
--- /dev/null
+++ b/data/layouts/OneIsland_TreasureBeach/map.bin
Binary files differ
diff --git a/data/layouts/PalletTown/border.bin b/data/layouts/PalletTown/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/PalletTown/border.bin
Binary files differ
diff --git a/data/layouts/PalletTown/map.bin b/data/layouts/PalletTown/map.bin
new file mode 100644
index 000000000..f2113394f
--- /dev/null
+++ b/data/layouts/PalletTown/map.bin
@@ -0,0 +1 @@
+22$%$%$%$%$'22&%$%$%$%222222222222222222222222222222222222222222222222222202220222222222222222222222222222222222222222222222222222222222222222222222222222222222222200000222222220000022222222 00 00222222222222222222222222222222222222222222222222222##2222222222200 00 0*++,2222222222200000*++,00000000000 \ No newline at end of file
diff --git a/data/layouts/PalletTown_GarysHouse/border.bin b/data/layouts/PalletTown_GarysHouse/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PalletTown_GarysHouse/border.bin
Binary files differ
diff --git a/data/layouts/PalletTown_GarysHouse/map.bin b/data/layouts/PalletTown_GarysHouse/map.bin
new file mode 100644
index 000000000..a29b5dbdc
--- /dev/null
+++ b/data/layouts/PalletTown_GarysHouse/map.bin
@@ -0,0 +1 @@
+  ./ -!"  +,1267(5)*((3490:0>0?0 0=0 0 0 0 0 0;0<0 0000C0D0D0D0D0F0000 0000S0K0LMN0V0000 0000S0K0TUN0V0000 0000[0\0\0\0\0^0000W000000000000G0_00000000000O4444444444 \ No newline at end of file
diff --git a/data/layouts/PalletTown_PlayersHouse_1F/border.bin b/data/layouts/PalletTown_PlayersHouse_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PalletTown_PlayersHouse_1F/border.bin
Binary files differ
diff --git a/data/layouts/PalletTown_PlayersHouse_1F/map.bin b/data/layouts/PalletTown_PlayersHouse_1F/map.bin
new file mode 100644
index 000000000..b93d823c9
--- /dev/null
+++ b/data/layouts/PalletTown_PlayersHouse_1F/map.bin
@@ -0,0 +1 @@
+  ./ -!"    1267(5)*((90:0>0?0 0=0 0 0 00 000C0D0D0D0D0F0%0&0'0 000S0K0LMN0V0000 000S0K0TUN0V0000W000[0\0\0\0\0^000G0_0000000000O 000000000000 \ No newline at end of file
diff --git a/data/layouts/PalletTown_PlayersHouse_2F/border.bin b/data/layouts/PalletTown_PlayersHouse_2F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PalletTown_PlayersHouse_2F/border.bin
Binary files differ
diff --git a/data/layouts/PalletTown_PlayersHouse_2F/map.bin b/data/layouts/PalletTown_PlayersHouse_2F/map.bin
new file mode 100644
index 000000000..b5d3bee2d
--- /dev/null
+++ b/data/layouts/PalletTown_PlayersHouse_2F/map.bin
Binary files differ
diff --git a/data/layouts/PalletTown_ProfessorOaksLab/border.bin b/data/layouts/PalletTown_ProfessorOaksLab/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PalletTown_ProfessorOaksLab/border.bin
Binary files differ
diff --git a/data/layouts/PalletTown_ProfessorOaksLab/map.bin b/data/layouts/PalletTown_ProfessorOaksLab/map.bin
new file mode 100644
index 000000000..1067109ab
--- /dev/null
+++ b/data/layouts/PalletTown_ProfessorOaksLab/map.bin
@@ -0,0 +1 @@
+mmniiklkluvstst222222222222222222222222222222222222222222222222222222222222222222222sstst222ststt22222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/PewterCity/border.bin b/data/layouts/PewterCity/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/PewterCity/border.bin
Binary files differ
diff --git a/data/layouts/PewterCity/map.bin b/data/layouts/PewterCity/map.bin
new file mode 100644
index 000000000..fc42368cb
--- /dev/null
+++ b/data/layouts/PewterCity/map.bin
@@ -0,0 +1 @@
+$%$%$%$%2222$%$%$%$%$%000000000000000000000000000000000000000000000000000000000 00 000 00 0000000&%00000200 00 000 00 000222000001111111111111111111000000022222111001111111111111111111 0000000111111111111111111111100000001111111111111111111111 00 00 00011111100 091:1:1:1:1:1;1 0001111111111111111111110ABBBBBC0111111111111111111111IJJJJJK111111111111111111111`1PQRSTUV 0111 0(0)0*0+00000000111111&'hX1Y1Z[\]1^10&'111001230000000111111111111111110111089:;00000111111111111111110111 0@Abc$%0000011111111111111111011111111111111111$%$%$%$'11111111111111111111 00 00 00000000000{1|1}1~1100111111111111111111110000000000000HIJK11100000000000011111 00 00 000000000PQRS11100111000000000 00 00 00XYZ[1110&%$%$%$%$'01110000000&'`ab&'111 01110 00 00 000111111111110000000000111002222201111111111100000000001110 0011111111111000000000011100000 00000011100000000001110 00000 00 001110011101111111111111111111111111111111110111111111111111111111111111111111 00 00 00 00 00 00 00 0000 00 00 00 00 00 00 00 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 \ No newline at end of file
diff --git a/data/layouts/PewterCity_Gym/border.bin b/data/layouts/PewterCity_Gym/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PewterCity_Gym/border.bin
Binary files differ
diff --git a/data/layouts/PewterCity_Gym/map.bin b/data/layouts/PewterCity_Gym/map.bin
new file mode 100644
index 000000000..7a22de0f9
--- /dev/null
+++ b/data/layouts/PewterCity_Gym/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222tuv \ No newline at end of file
diff --git a/data/layouts/PewterCity_Museum_1F/border.bin b/data/layouts/PewterCity_Museum_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PewterCity_Museum_1F/border.bin
Binary files differ
diff --git a/data/layouts/PewterCity_Museum_1F/map.bin b/data/layouts/PewterCity_Museum_1F/map.bin
new file mode 100644
index 000000000..1485da6ef
--- /dev/null
+++ b/data/layouts/PewterCity_Museum_1F/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/PewterCity_Museum_2F/border.bin b/data/layouts/PewterCity_Museum_2F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PewterCity_Museum_2F/border.bin
Binary files differ
diff --git a/data/layouts/PewterCity_Museum_2F/map.bin b/data/layouts/PewterCity_Museum_2F/map.bin
new file mode 100644
index 000000000..d8d372f70
--- /dev/null
+++ b/data/layouts/PewterCity_Museum_2F/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/PokemonCenter_1F/border.bin b/data/layouts/PokemonCenter_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PokemonCenter_1F/border.bin
Binary files differ
diff --git a/data/layouts/PokemonCenter_1F/map.bin b/data/layouts/PokemonCenter_1F/map.bin
new file mode 100644
index 000000000..590f47989
--- /dev/null
+++ b/data/layouts/PokemonCenter_1F/map.bin
@@ -0,0 +1 @@
+2b22222c322222222222222222222222222222222222222222BB222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/PokemonCenter_2F/border.bin b/data/layouts/PokemonCenter_2F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PokemonCenter_2F/border.bin
Binary files differ
diff --git a/data/layouts/PokemonCenter_2F/map.bin b/data/layouts/PokemonCenter_2F/map.bin
new file mode 100644
index 000000000..a1b551a73
--- /dev/null
+++ b/data/layouts/PokemonCenter_2F/map.bin
Binary files differ
diff --git a/data/layouts/PokemonLeague_AgathasRoom/border.bin b/data/layouts/PokemonLeague_AgathasRoom/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PokemonLeague_AgathasRoom/border.bin
Binary files differ
diff --git a/data/layouts/PokemonLeague_AgathasRoom/map.bin b/data/layouts/PokemonLeague_AgathasRoom/map.bin
new file mode 100644
index 000000000..718b7678c
--- /dev/null
+++ b/data/layouts/PokemonLeague_AgathasRoom/map.bin
Binary files differ
diff --git a/data/layouts/PokemonLeague_BrunosRoom/border.bin b/data/layouts/PokemonLeague_BrunosRoom/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PokemonLeague_BrunosRoom/border.bin
Binary files differ
diff --git a/data/layouts/PokemonLeague_BrunosRoom/map.bin b/data/layouts/PokemonLeague_BrunosRoom/map.bin
new file mode 100644
index 000000000..96107bfa1
--- /dev/null
+++ b/data/layouts/PokemonLeague_BrunosRoom/map.bin
@@ -0,0 +1 @@
+RSE3KF322222E3KF3L3P3222222L3P322Y2222222Y2X3[222222X3[22Q32222222Q322Y2222222Y2X3[222222X3[22222222222201289: \ No newline at end of file
diff --git a/data/layouts/PokemonLeague_ChampionsRoom/border.bin b/data/layouts/PokemonLeague_ChampionsRoom/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PokemonLeague_ChampionsRoom/border.bin
Binary files differ
diff --git a/data/layouts/PokemonLeague_ChampionsRoom/map.bin b/data/layouts/PokemonLeague_ChampionsRoom/map.bin
new file mode 100644
index 000000000..3e83caa24
--- /dev/null
+++ b/data/layouts/PokemonLeague_ChampionsRoom/map.bin
@@ -0,0 +1 @@
+7733333333333333 \ No newline at end of file
diff --git a/data/layouts/PokemonLeague_HallOfFame/border.bin b/data/layouts/PokemonLeague_HallOfFame/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PokemonLeague_HallOfFame/border.bin
Binary files differ
diff --git a/data/layouts/PokemonLeague_HallOfFame/map.bin b/data/layouts/PokemonLeague_HallOfFame/map.bin
new file mode 100644
index 000000000..e8a598e9b
--- /dev/null
+++ b/data/layouts/PokemonLeague_HallOfFame/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/PokemonLeague_LancesRoom/border.bin b/data/layouts/PokemonLeague_LancesRoom/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PokemonLeague_LancesRoom/border.bin
Binary files differ
diff --git a/data/layouts/PokemonLeague_LancesRoom/map.bin b/data/layouts/PokemonLeague_LancesRoom/map.bin
new file mode 100644
index 000000000..0ba5c9ff0
--- /dev/null
+++ b/data/layouts/PokemonLeague_LancesRoom/map.bin
@@ -0,0 +1 @@
+OW3r3333333s33j33333333k333p33 3!3"333q33x3&3#3$3%3'33y33333333333333h33.3+3,3-3/33i333333333333333p33(3)3*333q33333333333333x3222223y3333333@2333@2322222222222333333I?333I?3673@33333>?3H333333A233A23?32A233A2333333333I?33I?333I?33I?3333333333333333333333333333333333333333333333333@233@2333@233@233333333222222222222222 \ No newline at end of file
diff --git a/data/layouts/PokemonLeague_LoreleisRoom/border.bin b/data/layouts/PokemonLeague_LoreleisRoom/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PokemonLeague_LoreleisRoom/border.bin
Binary files differ
diff --git a/data/layouts/PokemonLeague_LoreleisRoom/map.bin b/data/layouts/PokemonLeague_LoreleisRoom/map.bin
new file mode 100644
index 000000000..340b78d78
--- /dev/null
+++ b/data/layouts/PokemonLeague_LoreleisRoom/map.bin
@@ -0,0 +1 @@
+CD2I2222222I22A32222222A322J2222222J22M2222222M22B32222222B322J2222222J22M2222222M222222222222 \ No newline at end of file
diff --git a/data/layouts/PokemonMansion_1F/border.bin b/data/layouts/PokemonMansion_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PokemonMansion_1F/border.bin
Binary files differ
diff --git a/data/layouts/PokemonMansion_1F/map.bin b/data/layouts/PokemonMansion_1F/map.bin
new file mode 100644
index 000000000..491753551
--- /dev/null
+++ b/data/layouts/PokemonMansion_1F/map.bin
Binary files differ
diff --git a/data/layouts/PokemonMansion_2F/border.bin b/data/layouts/PokemonMansion_2F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PokemonMansion_2F/border.bin
Binary files differ
diff --git a/data/layouts/PokemonMansion_2F/map.bin b/data/layouts/PokemonMansion_2F/map.bin
new file mode 100644
index 000000000..87db6b0ea
--- /dev/null
+++ b/data/layouts/PokemonMansion_2F/map.bin
Binary files differ
diff --git a/data/layouts/PokemonMansion_3F/border.bin b/data/layouts/PokemonMansion_3F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PokemonMansion_3F/border.bin
Binary files differ
diff --git a/data/layouts/PokemonMansion_3F/map.bin b/data/layouts/PokemonMansion_3F/map.bin
new file mode 100644
index 000000000..9a05ce1b8
--- /dev/null
+++ b/data/layouts/PokemonMansion_3F/map.bin
Binary files differ
diff --git a/data/layouts/PokemonMansion_B1F/border.bin b/data/layouts/PokemonMansion_B1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PokemonMansion_B1F/border.bin
Binary files differ
diff --git a/data/layouts/PokemonMansion_B1F/map.bin b/data/layouts/PokemonMansion_B1F/map.bin
new file mode 100644
index 000000000..a7b0eeeb1
--- /dev/null
+++ b/data/layouts/PokemonMansion_B1F/map.bin
@@ -0,0 +1 @@
+22l3l3m322l3m3222l3l3l322m3m3n3n3n3n322222222222222222222222222222222222322222222222222222222R322S3222Q322222,2222222222222\3]3^32222222 R3R3W3S32222Q322.2222[32222222222622Z32[3222P22222222222d3e3f32222X222222222222222222222222222b22222222222222222222222222222222222j22222222222222222222222222222222222r222222222222222222222222-R322S3222Q322222222222222222222S322222252222222222222222222222222222i3i3i3222i3i3i32222222222222222222222222aaa222aaa222222222222222222R3S3222Q3.222222222222222222222222222222262Y3Y3Y3222Y3Y3Y32222Q322S3222Q322S32222222aaa222aaa2222222222222-R3222222222222222222222225222TUV2222222222222n3n322222l3m32222222222222222222222222222Q3222.222222222222222222\3]3^32222222226222222222222222222v[322222222t222222222222222222Z32322222222222222222222222222d3e3f32,22222222c322222222222222222222222222222222k3-R322222222222222R322222222R3222222222.129:AB \ No newline at end of file
diff --git a/data/layouts/PokemonTower_1F/border.bin b/data/layouts/PokemonTower_1F/border.bin
new file mode 100644
index 000000000..efef023e6
--- /dev/null
+++ b/data/layouts/PokemonTower_1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/PokemonTower_1F/map.bin b/data/layouts/PokemonTower_1F/map.bin
new file mode 100644
index 000000000..f393c9f34
--- /dev/null
+++ b/data/layouts/PokemonTower_1F/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/PokemonTower_2F/border.bin b/data/layouts/PokemonTower_2F/border.bin
new file mode 100644
index 000000000..efef023e6
--- /dev/null
+++ b/data/layouts/PokemonTower_2F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/PokemonTower_2F/map.bin b/data/layouts/PokemonTower_2F/map.bin
new file mode 100644
index 000000000..0d1e67b03
--- /dev/null
+++ b/data/layouts/PokemonTower_2F/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222662222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/PokemonTower_3F/border.bin b/data/layouts/PokemonTower_3F/border.bin
new file mode 100644
index 000000000..efef023e6
--- /dev/null
+++ b/data/layouts/PokemonTower_3F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/PokemonTower_3F/map.bin b/data/layouts/PokemonTower_3F/map.bin
new file mode 100644
index 000000000..c591995c1
--- /dev/null
+++ b/data/layouts/PokemonTower_3F/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222222222222222222222222622222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/PokemonTower_4F/border.bin b/data/layouts/PokemonTower_4F/border.bin
new file mode 100644
index 000000000..efef023e6
--- /dev/null
+++ b/data/layouts/PokemonTower_4F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/PokemonTower_4F/map.bin b/data/layouts/PokemonTower_4F/map.bin
new file mode 100644
index 000000000..eebe48c13
--- /dev/null
+++ b/data/layouts/PokemonTower_4F/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222622222222222222222222222222226622222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/PokemonTower_5F/border.bin b/data/layouts/PokemonTower_5F/border.bin
new file mode 100644
index 000000000..efef023e6
--- /dev/null
+++ b/data/layouts/PokemonTower_5F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/PokemonTower_5F/map.bin b/data/layouts/PokemonTower_5F/map.bin
new file mode 100644
index 000000000..efc99cca9
--- /dev/null
+++ b/data/layouts/PokemonTower_5F/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222622222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/PokemonTower_6F/border.bin b/data/layouts/PokemonTower_6F/border.bin
new file mode 100644
index 000000000..efef023e6
--- /dev/null
+++ b/data/layouts/PokemonTower_6F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/PokemonTower_6F/map.bin b/data/layouts/PokemonTower_6F/map.bin
new file mode 100644
index 000000000..fb8746f20
--- /dev/null
+++ b/data/layouts/PokemonTower_6F/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222222222222222222222222222222222226622222222222222222222222222222222222222222222222622222222222222222 \ No newline at end of file
diff --git a/data/layouts/PokemonTower_7F/border.bin b/data/layouts/PokemonTower_7F/border.bin
new file mode 100644
index 000000000..efef023e6
--- /dev/null
+++ b/data/layouts/PokemonTower_7F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/PokemonTower_7F/map.bin b/data/layouts/PokemonTower_7F/map.bin
new file mode 100644
index 000000000..7554673cf
--- /dev/null
+++ b/data/layouts/PokemonTower_7F/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222662222222222 \ No newline at end of file
diff --git a/data/layouts/PowerPlant/border.bin b/data/layouts/PowerPlant/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/PowerPlant/border.bin
Binary files differ
diff --git a/data/layouts/PowerPlant/map.bin b/data/layouts/PowerPlant/map.bin
new file mode 100644
index 000000000..48a6e1984
--- /dev/null
+++ b/data/layouts/PowerPlant/map.bin
Binary files differ
diff --git a/data/layouts/RockTunnel_1F/border.bin b/data/layouts/RockTunnel_1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/RockTunnel_1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/RockTunnel_1F/map.bin b/data/layouts/RockTunnel_1F/map.bin
new file mode 100644
index 000000000..80a6a266c
--- /dev/null
+++ b/data/layouts/RockTunnel_1F/map.bin
Binary files differ
diff --git a/data/layouts/RockTunnel_B1F/border.bin b/data/layouts/RockTunnel_B1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/RockTunnel_B1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/RockTunnel_B1F/map.bin b/data/layouts/RockTunnel_B1F/map.bin
new file mode 100644
index 000000000..68eed9a4c
--- /dev/null
+++ b/data/layouts/RockTunnel_B1F/map.bin
Binary files differ
diff --git a/data/layouts/RocketHideout_B1F/border.bin b/data/layouts/RocketHideout_B1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/RocketHideout_B1F/border.bin
Binary files differ
diff --git a/data/layouts/RocketHideout_B1F/map.bin b/data/layouts/RocketHideout_B1F/map.bin
new file mode 100644
index 000000000..4a2ed565f
--- /dev/null
+++ b/data/layouts/RocketHideout_B1F/map.bin
Binary files differ
diff --git a/data/layouts/RocketHideout_B2F/border.bin b/data/layouts/RocketHideout_B2F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/RocketHideout_B2F/border.bin
Binary files differ
diff --git a/data/layouts/RocketHideout_B2F/map.bin b/data/layouts/RocketHideout_B2F/map.bin
new file mode 100644
index 000000000..f849a0642
--- /dev/null
+++ b/data/layouts/RocketHideout_B2F/map.bin
@@ -0,0 +1 @@
+UVW222222222222223 322]2^_3222222222222e2fg 2222222222222222222232222222222222222222222 222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222223222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/RocketHideout_B3F/border.bin b/data/layouts/RocketHideout_B3F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/RocketHideout_B3F/border.bin
Binary files differ
diff --git a/data/layouts/RocketHideout_B3F/map.bin b/data/layouts/RocketHideout_B3F/map.bin
new file mode 100644
index 000000000..bdd886346
--- /dev/null
+++ b/data/layouts/RocketHideout_B3F/map.bin
@@ -0,0 +1 @@
+23 322222222222222222222222222222222222222222222222222222222222222222222222332222222222222222222222222222222222222222222222222222222232222222222222222222222222222222222222222222222222222222222n222222222222222222222222222222222222222222222222222222222222222222222222222223222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/RocketHideout_B4F/border.bin b/data/layouts/RocketHideout_B4F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/RocketHideout_B4F/border.bin
Binary files differ
diff --git a/data/layouts/RocketHideout_B4F/map.bin b/data/layouts/RocketHideout_B4F/map.bin
new file mode 100644
index 000000000..0e0b8ec93
--- /dev/null
+++ b/data/layouts/RocketHideout_B4F/map.bin
Binary files differ
diff --git a/data/layouts/RocketHideout_Elevator/border.bin b/data/layouts/RocketHideout_Elevator/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/RocketHideout_Elevator/border.bin
Binary files differ
diff --git a/data/layouts/RocketHideout_Elevator/map.bin b/data/layouts/RocketHideout_Elevator/map.bin
new file mode 100644
index 000000000..42e08c38d
--- /dev/null
+++ b/data/layouts/RocketHideout_Elevator/map.bin
@@ -0,0 +1 @@
+222222222222222 \ No newline at end of file
diff --git a/data/layouts/Route1/border.bin b/data/layouts/Route1/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/Route1/border.bin
Binary files differ
diff --git a/data/layouts/Route1/map.bin b/data/layouts/Route1/map.bin
new file mode 100644
index 000000000..02ee26860
--- /dev/null
+++ b/data/layouts/Route1/map.bin
@@ -0,0 +1 @@
+0000$%$%$%$'0000&%$%$%$%0 00 00 00 00000 00 00 0000000000000001000000000 00 00 0000000001000000000000000 0 0 0 0 0 0 0 0 0 0 0 0000 000 0 0 0 0 0 0 0 0 0 0 0 0000000 0 0 0 0 0 0 0 0 0 0 0 0000 000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000000&'00000000000000000000 0 0000100000000000000000000 0 0 0 0 0 000000000000000 0 0 0 0 0 0 0 0 0 0 0 0&'000000&%$%$' 0 0 0 0 0 000000000000000 0 0 0 0 0 0000000000001000000000 00000100000000000000000 00000100000000000000 0000000000000001000000000000000000000000000000000 0 0 0 0 0 00000 0 0 0 0 0 00000&%$%$%$%$' 0 0 0 0 0 000000 00 00 0 0 0 0 0 0 000000000000000 0 0 0 0 0 000000000000000000000100000000000010010000000 0000 0 0 0 0 0 0 0 000000 0 0 0 0 0 000 0 0 0 0 0 0 0000000 0 0 0 0 0 0 0 0 0 0 0 0 000000 0 0 0 0 000 0 0 0 0 0 0 000 0 0 00 0 0 0 0 0 00 0 0000000000 0 00000000 0 0 0 0 \ No newline at end of file
diff --git a/data/layouts/Route10/border.bin b/data/layouts/Route10/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/Route10/border.bin
Binary files differ
diff --git a/data/layouts/Route10/map.bin b/data/layouts/Route10/map.bin
new file mode 100644
index 000000000..7e40aae43
--- /dev/null
+++ b/data/layouts/Route10/map.bin
@@ -0,0 +1 @@
+m||||||||||||||||||||quu ##################!squu*++++++++++++++++++,squu*++++++++++++++++++,squr3131313131313131313131313131313141)+,squr0 0*+,sq}r0 000 0 0 0 0 0 0 0 0 0 0 0 0*+,sqy000 0 0 0 0 0 0 0 0 0 0 0 00*+,sq000000 0 0 0 0 0 0 0 0 0 0 0 0*+,sq00000 0 0 0 0 0 0 0 0 0 0 0 00*+,sq000100 0 0 0 0 0 0 0 0 0 0 0 0*+,sq00 00 00 00 00 00 00 00*+,sqm00L*+,squr0 00 00 00 00 00 00 00 0*+,squr0000000000000000*+,squiiiiiiiij 00 00 00 0*+,sqllllllllmr{1|1}1~1100*+,sqqqqqqqqqqurHIJK0 0*+,sq|||||||||}rPQRS00*+,sqqyyyyyy0yzXYZ[0 0*+,sqq000001000`ab00*+,sqq000000000 0*+,sqq0000100 000000000*+,sqq00000000000000 0*+,sqq0000000 00 00 00 00 0*+,sqq000100000000000*+,sqq010000000 00 00 00 0*+,sqq000000 000000000*+,sqqr0 00 000000 00 00 00 0*+,sqqr000000 0000000000*+,sqqr*+,sqqiiiiiiiiiiiiiij00*+,sqqklllllllllllllmr0 0*+,sqqsqqqqqqqqqqqqqur00*+,sqq{||||||||ur0 0*+,sqyP%%%%Ssur00*+,sqr0Q,-$-$-$-.Tpsur0 0*+,sqr0R3Up{}r00*+,sqr02Wpqqr00*+,sqr0 !!!#Tpqq00*+,sq()3*+U3pq00*+,sqr00000313"32333000q000*+,sqj0000000000q000*+,sqqr00000000000y000*+,sqq00000000000000000*+,sqq00000000000000000*+,sqq000000000000000 #1+,sqqu ##############1+++,sqqu*++++++++++++++++++,sqqu*++++++++++++++++++,sqqXYqqqqqqqqqqqqqqqqqqqqqqqqqqklllllllmqqqqqqkllllmqqqsqqqqqqquqqqqqqsqqqquqqqsqqqqqqqlmqqqq{||||}qqq{||qqqqqquqqqqyyyyyqqqqq{||||||}qqqq00 00 0pqqqyyyyy0yyyyyyy00000pqqq0000000000000000 00 0pqqq000000000000100000pqqq00000000000010 00 00 0pqq000000000Mj00000pqq0000000000klm0qq000squr0 00 00pqq000kllllllqur00000pqqsqqqqqqqqur0 00 00pqq001{||||||||}0pqq100xyyyyyyyyyyz00000pqq0000000000000000 00 00pqqr0 00 00 00 00 00 00 000000 0pqqr00000000000000000000pqqiiiiiiiij0 00 00 00000 0pqkllllllllmr00000022200pqsqqqqqqqqur0 00 02222222pqsqqqqq||}0hqsqqqqquyyz000pqqsqqqqqur0 00 00 0pqqsqqqqqur000000pqqsqqqqqur0 00 00hqq{|||||}r00000pkmq \ No newline at end of file
diff --git a/data/layouts/Route11/border.bin b/data/layouts/Route11/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/Route11/border.bin
Binary files differ
diff --git a/data/layouts/Route11/map.bin b/data/layouts/Route11/map.bin
new file mode 100644
index 000000000..6062ac7f3
--- /dev/null
+++ b/data/layouts/Route11/map.bin
@@ -0,0 +1,7 @@
+$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$% 00 0000000000000000000 0 0 0 0000000000000000 0 0 00 00 00$%000000000000000000000 0 0 0 0000000000000000 0 0 000000hsq0q0uj 00 0001000000000000100 0 0 0 0001000000000100 0 0 00 00 00$%$'psq0q0ur000000 0 0 0 0 0 0 0 0 0 0 0 0000 0 0 0 0000 0 0 0 0 0 0 0 0 0000 0 0 0 0000 00 00p{||}r 00 0000 0 0 0 0 0 0 0 0 0 0 0 0000 0 0 0 0000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00 00xy0yyz&'000000 0 0 0 000000000000 0 0 0 000000000000 0 0 0 0 0 0 0 0DEEEEF%$%$%$%0 00 00 00 00000000000 0 0 0 000000000000 0 0 0 000000000000 0 0 0 0 0 0 00 001LMMMMN'000000000000000000 0 0 0 000100000100 0 0 0 000100000100 0 0 0 000000081<10000000 00 00 00 00 0000001000000000 0 0 0 0 00000000000 0 0 0 0 0000 0 0 0 00000 00@1D1000000############$0 00000000000 0 0 0 0 00000000000 0 0 0 0 0000 0 0 0 0001000H1deeeefL1000000++++++++++++,000000000000 0 0 0 0 00000000100 0 0 0 0 0000 0 0 0 00000
+ 
+ 
+ 
+ 
+ 
+ ,0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000 0 0 0 0 0000 0 0 0 0000 0 00 00000000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000000000000 0 0 0 00000000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000000000000 0 0 0 00000 00 000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000100000100 0 0 0 000000000 00000000000000000000000000 0 0 0 0 000000000000 00 0000000000000000000000000000 0 0 0 0 000000000000000002222222222222222222222222 0 0 0 0 0222222222200000 \ No newline at end of file
diff --git a/data/layouts/Route12/border.bin b/data/layouts/Route12/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/Route12/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/Route12/map.bin b/data/layouts/Route12/map.bin
new file mode 100644
index 000000000..ca203b565
--- /dev/null
+++ b/data/layouts/Route12/map.bin
Binary files differ
diff --git a/data/layouts/Route12_NorthEntrance_1F/border.bin b/data/layouts/Route12_NorthEntrance_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/Route12_NorthEntrance_1F/border.bin
Binary files differ
diff --git a/data/layouts/Route12_NorthEntrance_1F/map.bin b/data/layouts/Route12_NorthEntrance_1F/map.bin
new file mode 100644
index 000000000..f723c9817
--- /dev/null
+++ b/data/layouts/Route12_NorthEntrance_1F/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/Route13/border.bin b/data/layouts/Route13/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/Route13/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/Route13/map.bin b/data/layouts/Route13/map.bin
new file mode 100644
index 000000000..b1f55a645
--- /dev/null
+++ b/data/layouts/Route13/map.bin
Binary files differ
diff --git a/data/layouts/Route14/border.bin b/data/layouts/Route14/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/Route14/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/Route14/map.bin b/data/layouts/Route14/map.bin
new file mode 100644
index 000000000..48d7c0dcd
--- /dev/null
+++ b/data/layouts/Route14/map.bin
@@ -0,0 +1 @@
+$%$%$%$%$%$%$%$%$%0 00 00 00 00 00 00 00 00000 00 00 00 00 000 0 00 00000 00 00 00 00 00 00 00 00000 00 00 000 000 00 00 0000000000 000000 00 00 000000000000000 00 0000000000000000000&%$%$0000 0 0 0 0 0000 0 0 0 0 0000 0 0 0 0 0000 0 0 0 0 0000&%$%$% 0 0 0 0 0000"##### 0 0 0 0 0000*+0 00 00000*+0000*+0 0000000*+00000000*++0 0000000*++++0000000031313141)0 0000000*000000000 00 0*0 00000000000*00000&'0000 00 0*0 0000000000000*000000000 00 0*0 00000000000*000000000 00 0*0 00000000000*00000000000 0*0 00000000000*00000000000 0*0 00000000000*$%$%000000000000*0000000100&'0000000*$%00000000000 00000 000* 000000000000000000000*00 00 00 00 00 00 00000 000*0000000000000000000*000 00000000 00 00000 000*0000 00 00 00 00 000000000*11000000000000001000 000*11000000000000000000000*11000000000000000000 000*11*110000000000000000000000*11*** \ No newline at end of file
diff --git a/data/layouts/Route15/border.bin b/data/layouts/Route15/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/Route15/border.bin
Binary files differ
diff --git a/data/layouts/Route15/map.bin b/data/layouts/Route15/map.bin
new file mode 100644
index 000000000..786f67988
--- /dev/null
+++ b/data/layouts/Route15/map.bin
@@ -0,0 +1 @@
+$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%$%0000000000000000000000000000000000000000000000000000000$%$%$%$%$'0000000000000000000000000000000000000000000000000000000000000 00 000000000000000000000000000000000000000000000000000000000DEEEEF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00$%$%$'0001LMMMMN100000000081<1000 0 0 0 0 0 0000000 0 0 0 0 0 00 0000 00 000000 0 0 0 00000 0 0 0 0 0 0 000000 0000000000@1D1000 0 0 0 0 0 0000000 0 0 0 0 0 0000000000000 0 0 0 00000 0 0 0 0 0 0 0000000000000000H1deeeefL1101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 \ No newline at end of file
diff --git a/data/layouts/Route16/border.bin b/data/layouts/Route16/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/Route16/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/Route16/map.bin b/data/layouts/Route16/map.bin
new file mode 100644
index 000000000..a88b95a6a
--- /dev/null
+++ b/data/layouts/Route16/map.bin
@@ -0,0 +1 @@
+,,+,(21&%$%$%$]-0-0-0^$%$%$%$DEEEEF%$%$%$%$%$%$%$%,45667.LMMMMN/,0000000<=BC?00000081LMMMMN<100000 0 0 0 0 0 0 0 0 0,000000100000100000@1LMMMMND100000 0 0 0 0 0 0 0 0 0,000000000000001000H1L100100 0 0 0 0 0 0 0 0 0,0000000000000000 00 0DEEEEF0 00001000000000,0000000000000000000LMMMMN000000000000000,LMMMMN000000000000,0 00 00 00 00 00 00 00 00 01100&%$%$%,00000000000000000081<1000 00 00 00 00 00 00 00,00000 00 00000000000@1\]0]0]0]0^D100000000000000000000,000000000000100000H1deeeefL1000 00 00 00 00 00 00 00,00000 00 000000,0000000000000,000100010000,0000000000000,0001000010100 \ No newline at end of file
diff --git a/data/layouts/Route16_NorthEntrance_1F/border.bin b/data/layouts/Route16_NorthEntrance_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/Route16_NorthEntrance_1F/border.bin
Binary files differ
diff --git a/data/layouts/Route16_NorthEntrance_1F/map.bin b/data/layouts/Route16_NorthEntrance_1F/map.bin
new file mode 100644
index 000000000..c41db67b6
--- /dev/null
+++ b/data/layouts/Route16_NorthEntrance_1F/map.bin
@@ -0,0 +1 @@
+23333333332222222222222222222222222222222222           222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/Route17/border.bin b/data/layouts/Route17/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/Route17/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/Route17/map.bin b/data/layouts/Route17/map.bin
new file mode 100644
index 000000000..24ce3c11f
--- /dev/null
+++ b/data/layouts/Route17/map.bin
@@ -0,0 +1 @@
+,>3 3!3"3>3?3>3?3 3!3"3?3>3,#$3(3)3*3F3G3F3G3(3)3*3G3,3%&%$%$%$%,+>3(3)3*3>3?3>3?3(3)3*3?3F3->3"######,343(3)3*3F3G3F3G3(3)3*3G3>35F3*+,>3(3)3*3>3?3>3?3(3)3*3?3>3>3*,F3(3)3*3F3G3F3G3(3)3*3G3F3F3*,#$3(3)3*3>3?3>3?3(3)3*3?3,3%>3*+,+>3(3)3*3;3<3<3=3(3)3*3G3F3-F3*+++++,343(3)3*3C3D3D3E3(3)3*3?3>35>3313131313141),F3(3)3*3C3D3D3E3(3)3*3G3F3*,>3(3)3*3C3D3D3E3(3)3*3?3>3?3>3?3>3?3>3?3*,#$3(3)3*3C3D3D3E3(3)3*3G3F3R3R3R3R3R3R3,3%*,+>3(3)3*3C3D3D3E3(3)3*3?3>3R3R3R3R3R3R3F3-*,343(3)3*3C3D3D3E3(3)3*3G3F3R3R3R3R3R3R3>35*,>3(3)3*3K3L3L3M3(3)3*3?3>3R3R3R3R3R3R3?3*,F3(3)3*3F3G3F3G3(3)3*3G3F3R3R3R3R3R3R3G3*,#$3(3)3*3>3?3>3?3(3)3*3?3>3R3R3R3R3R3R3,3%*,+>3(3)3*3F3G3F3G3(3)3*3G3F3R3R3R3R3R3R3F3-*,343(3)3*3>3?3>3?3(3)3*3?3>3R3R3R3R3R3R3>35*,F3(3)3*3F3G3F3G3(3)3*3G3F3R3R3R3R3R3R3G3*,>3(3)3*3>3?3>3?3(3)3*3?3>3R3R3R3R3R3R3?3*,#$3(3)3*3F3G3F3G3(3)3*3G3F3R3R3R3R3R3R3,3%*,+>3(3)3*3>3?3>3?3(3)3*3?3>3?3>3?3>3?3>3F3-*,343(3)3*3F3G3F3G3(3)3*3G3;3<3<3=3F3G3F3>35*,>3(3)3*3>3?3>3?3(3)3*3?3C3D3D3Q3<3<3=3?3*,F3(3)3*3F3G3F3G3(3)3*3G3C3D3D3D3D3D3E3G3*,#$3(3)3*3>3?3>3?3(3)3*3?3K3L3L3P3D3D3E3,3%*,+>3(3)3*3F3G3F3G3(3)3*3G3F3G3F3K3L3L3M3F3-*,343(3)3*3>3?3>3?3(3)3*3?3>3?3>3?3>3?3>3>35*,F3(3)3*3F3G3F3G3(3)3*3G3F3G3F3G3F3G3F3G3*,>3(3)3*3>3?3>3?3(3)3*3XYYZ 3!3"3>3?3*,#$3(3)3*3F3G3F3G3(3)3*3`aab(3)3*3F3,3%*,+>3(3)3*3>3?3>3?3(3)3*3`aab(3)3*3>3F3-*,343(3)3*3F3G3F3G3(3)3*3`aab(3)3*3F3>35*,>3(3)3*3>3?3>3?3(3)3*3`aab(3)3*3>3?3*,F3(3)3*3F3G3F3G3(3)3*3`aab(3)3*3F3G3*,#$3(3)3*3>3?3>3?3(3)3*3`aab(3)3*3>3,3%*,+>3(3)3*3F3G3F3G3(3)3*3`aab(3)3*3F3F3-*,343(3)3*3>3?3>3?3(3)3*3`aab(3)3*3>3>35*,F3(3)3*3F3G3F3G3(3)3*3`aab(3)3*3F3G3*,>3(3)3*3>3?3>3?3(3)3*3`aab(3)3*3>3?3*,#$3(3)3*3F3G3F3G3(3)3*3`aab(3)3*3F3,3%*,+>3(3)3*3>3?3>3?3031323`aab(3)3*3>3F3-*,343(3)3*3F3G3F3G3F3G3F3`aab(3)3*3F3>35*,>3(3)3*3XYYZ8393:3`aab(3)3*3>3?3*,F3(3)3*3`aab@3A3B3`aab(3)3*3F3G3*,#$3(3)3*3`aab@3A3B3`aab(3)3*3>3,3%*,+>3(3)3*3`aab@3A3B3`aab(3)3*3F3F3-*,343(3)3*3`aab@3A3B3`aab(3)3*3>3>35*,F3(3)3*3`aab@3A3B3`aab(3)3*3F3G3*,>3(3)3*3`aab@3A3B3`aab(3)3*3>3?3*,#$3(3)3*3`aab@3A3B3`aab(3)3*3F3,3%*,+>3(3)3*3`aab@3A3B3`aab(3)3*3>3F3-*,343(3)3*3`aab@3A3'`aab(3)3*3F3>35*,>3(3)3*3`aab@3A3B3`aab(3)3*3>3?3*,F3(3)3*3`aab@3A3B3`aab(3)3*3F3G3*,#$3(3)3*3`aab@3A3B3`aab(3)3*3>3,3%*,+>3(3)3*3`aab@3A3B3`aab(3)3*3F3F3-*,343(3)3*3`aab@3A3B3`aab(3)3*3>3>35*,F3(3)3*3`aab@3A3B3`aab(3)3*3F3G3*,>3(3)3*3`aab@3A3B3`aab(3)3*3>3?3*,#$3(3)3*3`aab@3A3B3`aab(3)3*3F3,3%*,+>3(3)3*3`aab@3A3B3`aab(3)3*3>3F3-*,343(3)3*3`aab@3A3B3`aab(3)3*3F3>35*,>3(3)3*3`aab@3A3B3`aab(3)3*3>3?3*,F3(3)3*3`aab@3A3B3`aab(3)3*3F3G3*,#$3(3)3*3`aab@3A3B3`aab(3)3*3>3,3%*,+>3(3)3*3`aab@3A3B3`aab(3)3*3F3F3-*,343(3)3*3`aab@3A3'`aab(3)3*3>3>35*,F3(3)3*3`aab@3A3B3`aab(3)3*3F3G3*,>3(3)3*3`aab@3A3B3`aab(3)3*3>3?3*,#$3(3)3*3`aab@3A3B3`aab(3)3*3F3,3%*,+>3(3)3*3`aab@3A3B3`aab(3)3*3>3F3-*,343(3)3*3`aab@3A3B3`aab(3)3*3F3>35*,>3(3)3*3`aab@3A3B3`aab(3)3*3>3?3*,F3(3)3*3`aab@3A3B3`aab(3)3*3F3G3*,#$3(3)3*3`aab@3A3B3`aab(3)3*3>3,3%*,+>3(3)3*3`aab@3A3B3`aab(3)3*3F3F3-*,343(3)3*3`aab@3A3B3`aab(3)3*3>3>35*,F3(3)3*3`aab@3A3B3`aab(3)3*3F3G3*,>3(3)3*3`aab@3A3B3`aab(3)3*3>3?3*,#$3(3)3*3`aab@3A3B3`aab(3)3*3F3,3%*,+>3(3)3*3`aab@3A3B3`aab(3)3*3>3F3-*,343(3)3*3`aab@3A3'`aab(3)3*3F3>35*,>3(3)3*3`aab@3A3B3`aab(3)3*3>3?3*,F3(3)3*3`aab@3A3B3`aab(3)3*3F3G3*,#$3(3)3*3`aab@3A3B3`aab(3)3*3>3,3%*,+>3(3)3*3`aab@3A3B3`aab(3)3*3F3F3-*,343(3)3*3`aab@3A3B3`aab(3)3*3>3>35*,F3(3)3*3`aab@3A3B3`aab(3)3*3F3G3*,>3(3)3*3`aab@3A3B3`aab(3)3*3>3?3*,#$3(3)3*3`aab@3A3B3`aab(3)3*3F3,3%*,+>3(3)3*3`aab@3A3B3`aab(3)3*3>3F3-*,343(3)3*3`aab@3A3B3`aab(3)3*3F3>35*,>3(3)3*3N3N3N3N3@3A3B3`aab(3)3*3>3?3*,F3(3)3*3F3G38393O3A3B3`aab(3)3*3F3G3*,#$3(3)3*3>3?3@3A3A3A3B3`aab(3)3*3>3,3%*,+>3(3)3*3F3G3H3I3I3I3`aab(3)3*3F3F3-*,343(3)3*3>3?3XYYYYdaab(3)3*3>3>35*,F3(3)3*3F3G3`aaaaaaab(3)3*3F3G3*,>3(3)3*3>3?3`aaaaaaab(3)3*3>3?3*,#$3(3)3*3F3G3`aaaaaaab(3)3*3F3,3%*,+>3(3)3*3>3?3`aaaaaaab(3)3*3>3F3-*,343(3)3*3F3G3`aaaaaaab(3)3*3F3>35*,>3(3)3*3>3?3`aaaaaaab(3)3*3>3?3*,F3(3)3*3F3G3`aaaaaaab(3)3*3F3G3*,#$3(3)3*3>3?3`aaaaaaab(3)3*3>3,3%*,+>3(3)3*3F3G3`aaaaaaab(3)3*3F3F3-*,343(3)3*3>3?3`aaaaaaab(3)3*3>3>35*,F3(3)3*3F3G3`aaaaaaab(3)3*3F3G3*,>3(3)3*3>3?3`aaaaaaab(3)3*3>3?3*,#$3(3)3*3F3G3`aaaaaaab(3)3*3F3,3%*,+>3(3)3*3>3?3`aaaaaaab(3)3*3>3F3-*,343(3)3*3F3G3`aaaaaaab(3)3*3F3>35*,>3(3)3*3>3?3`aaaaaaab(3)3*3>3?3*,F3(3)3*3F3G3`aaaaaaab(3)3*3F3G3*,#$3(3)3*3>3?3`aaaaaaab(3)3*3>3,3%*,+>3(3)3*3F3G3`aaaaaaab(3)3*3F3F3-*,343(3)3*3>3?3`aaaaaaab(3)3*3>3>35*,F3(3)3*3F3G3`aaaaaaab(3)3*3F3G3*,>3(3)3*3>3?3`aaaaaaab(3)3*3>3?3*,#$3(3)3*3F3G3`aaaaaaab(3)3*3F3,3%*,+>3(3)3*3>3?3N3N3N3N3N3N3N3N3N3(3)3*3>3F3-*,343(3)3*3F3G3F3G3F3G3F3G3F3G3F3(3)3*3F3>35*,>3(3)3*3>3?3>3?3>3?3>3?3>3?3>3(3)3*3>3?3*,F3(3)3*3F3G3F3G3F3G3UG3F3G3F3(3)3*3F3G3*,#$3(3)3*3>3?3XYYYYYYYZ(3)3*3>3,3%*,+>3(3)3*3F3G3`aaaaaaab(3)3*3F3F3-*,343(3)3*3>3?3`aaaaaaab(3)3*3>3>35*,F3(3)3*3F3G3`aaaaaaab(3)3*3F3G3*,>3(3)3*3>3?3`aaaaaaab(3)3*3>3?3*,#$3(3)3*3F3G3`aaaaaaab(3)3*3F3,3%*,+>3(3)3*3>3?3`aaaaaaab(3)3*3>3F3-*,343(3)3*3F3G3N3N3N3N3N3N3N3N3N3(3)3*3F3>35*,>3(3)3*3>3?3>3?3>3?3>3?3>3?3>3(3)3*3>3?3*,F3(3)3*3F3G3F3G3F3G3F3G3F3G3F3(3)3*3F3G3*,>3031323>3?3>3?3>3?3>3?3>3?3>3031323>3?3*,F3G3F3F3F3G3*0 ###$ 3!3"3?3>3?3 3!3"3"# #1+++,(3)3*3G3F3G3(3)3*3*+++++,(3)3*3?3>3?3(3)3*3*++++,(3)3*3;3<3=3(3)3*3*++++,(3)3*3C3D3E3(3)3*3*++++,(3)3*3C3D3E3(3)3*3*++++,(3)3*3C3D3E3(3)3*3*++++,(3)3*3C3D3E3(3)3*3*+++,(3)3*3C3D3E3(3)3*3*+++++,(3)3*3C3D3E3(3)3*3*+++++,(3)3*3C3D3E3(3)3*3*+++++,(3)3*3C3D3E3(3)3*3*+++++,(3)3*3C3D3E3(3)3*3*+++++,(3)3*3C3D3E3(3)3*3*+++++,(3)3*3K3L3M3(3)3*3*+++,(3)3*3G3F3G3(3)3*3*+++++,(3)3*3?3>3?3(3)3*3*++++,(3)3*3G3F3G3(3)3*3*+++,(3)3*3?3>3?3(3)3*3*++,031323F3G3031323*++,>3*++,0 00 00 00 00*+ \ No newline at end of file
diff --git a/data/layouts/Route18/border.bin b/data/layouts/Route18/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/Route18/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/Route18/map.bin b/data/layouts/Route18/map.bin
new file mode 100644
index 000000000..9e246b459
--- /dev/null
+++ b/data/layouts/Route18/map.bin
@@ -0,0 +1 @@
+++000000000+++,++00 00 00 000++,+,000000000*++++,++,00 00 00 000*+++++++,000000000*++++++,00 00 00 00 0*++++++++++,&%$%$%$%$%$%$%$%$%$%$%$%$%+++,0 00000000mnnnnnnnnnnnnoDEEEEF+++,000000000031313131313131313131313131311LMMMMN1 00 0+++,01000001000000000000000000000000081<100000000000+++,000000000000000000000000000000000@1D100000000000+++,000000000000000000000000000010000H1deeeefL100000000000+++jffffffffffffffffffffffffffffffg 00++++++++++++++++++++++++++++++++,0 00 00 00000 0++++++++++++++++++++++++++++++++,0 0 0 0 0 0 0 0 000+++++++++++++++++++++++++++++,0 0 0 0 0 0 00+++++++++++++++++0 0 0 0 0 0 0 0+++++++++0 0 0 0 0 0 00+++++++++++++,0 00 00 00 0&%$%$%++++++++,"####$0##########10 \ No newline at end of file
diff --git a/data/layouts/Route19/border.bin b/data/layouts/Route19/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/Route19/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/Route19/map.bin b/data/layouts/Route19/map.bin
new file mode 100644
index 000000000..54388bc49
--- /dev/null
+++ b/data/layouts/Route19/map.bin
@@ -0,0 +1 @@
+psqqqu1111111111sqqqurpsqqqu1111111111sqqqurpsqqqu111111111sqqqurpsqqqu11sqqqurpsqqqu111111111{qqurpsqqqu11qsqqurp{q}111111111qsq}rpq{|}q11q{|}qrx|||||1111111111|||||z##### !11111111  #####+++,11111111*+++,11111111*++0!111111*+++0#!11111*+++++0#####1++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/Route2/border.bin b/data/layouts/Route2/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/Route2/border.bin
Binary files differ
diff --git a/data/layouts/Route2/map.bin b/data/layouts/Route2/map.bin
new file mode 100644
index 000000000..1d093f92b
--- /dev/null
+++ b/data/layouts/Route2/map.bin
@@ -0,0 +1 @@
+ 0000$%$%$% 0000$%$%$%$%$% 0 0 0 0 0 0 0000 0 0 0 0 0 0 00000 00 00 00 00 0 0 0 0 0 0 0000000000000 0 0 0 0 0 0 00000 00 00 00 00 0 0 0 0 0 0 0000hiiiiiij0 0 0 0 0 0 0 0000pkllllmr 0 0 0 0 0 0 0 0000psqqqqur00 000000100psqqqqur00000000000p{||||}r 00 000010000xyyy0yyz000000000 0000000000x1y1y1z10000000000DEEEEEEF 00 000000000LMMMMMMN000000000000LMMMMMMN0000000 0000000000 00 00 00 000000000,0-0-0-0/0 00 046657000<=?0000000000000000000000000000000 00 00 00000000 00 00 000000000 00 00 00000000 00 00 0000000000000000000 0000000x1y1y1z1DEEEEFLMMMMND0E0E0E0E0E0E0F0pqLMMMMMMNd11fLMMMMMMN1111 00000 0000000\]0]0^000000de11ef$%$%0111100000 00000000 00 00 000000000000000000000000 0 00 00000000000 0 0 0 0 0 0 000 0000 00000 0 0 0 0 0 0 0000000 0 0 0 0 0 0 0 00 000000000 0 0 0 0 0 0 000000000000 0 0 0 0 0 0 000 0000 000000 00 00 00 0&'00000000000000000000000000000000000 0000000000000000000000000&%$%$%$%00 0000000100000000000000000000000000&'0000000000000001000 0000000000000000000001000 00 00 00010000100000000000 00 00000000000000000000000000001000010000000000000101000000000000 00000000000000000000 0000 \ No newline at end of file
diff --git a/data/layouts/Route20/border.bin b/data/layouts/Route20/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/Route20/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/Route20/map.bin b/data/layouts/Route20/map.bin
new file mode 100644
index 000000000..534a7034d
--- /dev/null
+++ b/data/layouts/Route20/map.bin
@@ -0,0 +1 @@
+++++++++++++++++++++++++++++++++++++++++++++klm+++++++++++++++++++++++++kqm++++++++++++++++++++++++++++++++++++++++++++++++++++sqsqqququ+(22222222)+++++++++++++++++++++++++ 1 11+++++++++++++++++++++++(sq{q}quu22111111112)++++++++++++++++++++++++++++ 1%11&1 11++++++++++++++++++++{q{|}q}111111111112)+++++++++++++++++++++++++++++++++++++++++++++++++11111&11+++++++++++++++++++++{qqq}1111111*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++11111.11++++++++++++ 1 1 1 11+++++++,1{|||}1111klm11*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++111111+++++++++++++1111&11+++++11yy0yy111kqm1*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++111111+++++111111111111sqsqqququ*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++11-1111++++++0!11111111111sq{q}quu++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++1111+++++++,1111111 ##!{q{|}q}u+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 11+++++++++++++++++++0#######1+{qqq}}*+++++++++++++++++++++++++++++++++++++++++++++++++++ 1 11++++++++++++1.11+++++++++++++++++++++++++++1{|||}} 1++++++++++++++++++++++++++++++++++++++++++++++++ 1%111++++++++++++11+++++++++++++++++++++0!yy0yy} 1+++++++++++++++++++++++++++++++++++++++++++++++++1111++++++++++++++++++++++++++++++++++++++,1111111 1++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++0##!1111*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++0####1+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/Route21_North/border.bin b/data/layouts/Route21_North/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/Route21_North/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/Route21_North/map.bin b/data/layouts/Route21_North/map.bin
new file mode 100644
index 000000000..02a4bcd54
--- /dev/null
+++ b/data/layouts/Route21_North/map.bin
@@ -0,0 +1 @@
+*++,*++,0 00 00 0*++,000000*++,0 00 00 0*++,000000*++, 0 0 0 0 0 0*++, 0 0 0 0 0 0*++, 0 0 0 0 0 0*++, 0 0 0 0 0 0*++, 0 0 0 0 0 0$%$%$%*++, 0 0 0 0 0 0*++0###### #####*+++++++++++$%$%$'*+++++++++++*++++++++++##### 1++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 1 11+++++++++++++ 1%1111+++++++++++++++111.11+++++++++++++++1111+++++++ 1 1 11+++++++++++++++ 1%111&1 11+++++++++++++1111111+++++++++++++1111111+++++++++++++111-11.11++++++++++++++++111+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 11++++++++++++++ 1%11&11+++++++++++++11111+++++++++++++111.11++++++++++++++1111+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/Route21_South/border.bin b/data/layouts/Route21_South/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/Route21_South/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/Route21_South/map.bin b/data/layouts/Route21_South/map.bin
new file mode 100644
index 000000000..30c2cba6f
--- /dev/null
+++ b/data/layouts/Route21_South/map.bin
@@ -0,0 +1 @@
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 11++++++++++++++11&1 11++++++++++++1-1111++++++++++++1111+++++++++++++++++++++++++++++++++++++++++++++++++++ 1 1 1 11++++++++++ 1%11111++++++++++++1111.11++++++++++++1-1111++++++++++++++1111++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 1 1 1 11++++++++++++11111&11++++++++++++1-111111++++++++++++++1-11111+++++++++++11111+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 1 11++++++++++ 1 1%1111++++++++++1111.11++++++++++11111++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++(22)++++++++++,00*++++++++++++,00*+++++(222222200*+++++,222222201*++++ \ No newline at end of file
diff --git a/data/layouts/Route22/border.bin b/data/layouts/Route22/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/Route22/border.bin
Binary files differ
diff --git a/data/layouts/Route22/map.bin b/data/layouts/Route22/map.bin
new file mode 100644
index 000000000..1caf49cc7
--- /dev/null
+++ b/data/layouts/Route22/map.bin
@@ -0,0 +1 @@
+qqurpsqqqqqqqqqqqqqqqqq|||||||||||q0q0q0qqurp{|qqqqqqqqqqqqq|}yyyyyyyyq0sq0q0q0|}rpqq{|||||||||||||}qqr 00 00 00 00pq0{|q0uyzxyyyyyyyyyyyyyyyyyyyz 0pq0q0q0{|urb1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1d10 0pq0q0q0q0q0ur[b1c1c1c1c1c1c1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1l100xyyyyyur2222222r1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1t1 00 00 00urb1c1c1c1c1c1c1c1c1c1d10 00 00 00 00 00 00iiij 000 00 0000000urr1s1s1s1s1s1s1s1s1s1t1kllmr 0 0 000000ur00 0 0 0 0 0 0 0sqqur 0 0 0 0 0 0000100ur00 00 00 00 00 0 0 0 0 0 0 0 0sqqur 0 0 0 0 0 00000hiur00000000000 0 0 0 0 0 0 0sqqur 0 0 0 0 0 00000pqur0 00 0 0 0 0 0 0 0313131313131p{||}r 0 0 0 0 0 00000pquij000 00 00 00 00 0 0 0 0 0 0 0000000pqqqqr 0 0 0 0 0 0&'0000pqlmr0 00000000000 00 00 00000000xyyyyz 000 00 00 00000pqqqur 00pqqqurb1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1d1pqqqurj1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1k1l1pqqqurr1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1s1t1pkqquiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiisqqllllllllllllllllllllllllllllllllllllllllllllqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq \ No newline at end of file
diff --git a/data/layouts/Route22_NorthEntrance/border.bin b/data/layouts/Route22_NorthEntrance/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/Route22_NorthEntrance/border.bin
Binary files differ
diff --git a/data/layouts/Route22_NorthEntrance/map.bin b/data/layouts/Route22_NorthEntrance/map.bin
new file mode 100644
index 000000000..1452ebb13
--- /dev/null
+++ b/data/layouts/Route22_NorthEntrance/map.bin
@@ -0,0 +1 @@
+2231332223133222233/4322233/432222225363732225363732222203.3232222203.323222233/432222233/432222536373222225363732222203.32322203.32322222233/4322233/4322225363732225363732 \ No newline at end of file
diff --git a/data/layouts/Route23/border.bin b/data/layouts/Route23/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/Route23/border.bin
Binary files differ
diff --git a/data/layouts/Route23/map.bin b/data/layouts/Route23/map.bin
new file mode 100644
index 000000000..f6f5f5662
--- /dev/null
+++ b/data/layouts/Route23/map.bin
@@ -0,0 +1 @@
+qqqqqqyy222yyqqqqqqqz2222222xy22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 02222222222222222220000 00 0222222222 00 00 000000000000000000000hiiiiiiiiiiiiiiij0 00pklllllllllllllmr000psqqqqqqqqqqqqqur0 00psqqqqqqqqqqqqqur0 00psqqqqqqqqqqqqqur000psqqqqqqqqqqqqqj00psqqqqqqqqqqqqqqquj0p{||||||qqqq|||}r0xy0yysqqqquy0yz00222psqqqqur0 00 000 02220 0psqqqqur0000002220psqqqqur000 00 002220 0psqqqqur00 000022200psqqqquiiiij022222psqqqqllmqqr2220psqqqqqqquqqr0 02220psqqqqqqquqqr0022200p{qqqqqquqqr02220pqsqqqqqquqqr002220pq{||||||}qqr222220pqqqqqqqqqqqr0222 0xyyyyyyyyyyyz 02220 00 0 0 0 00 0 0 00000000 0 0 0 0000000222200 000 0 0 00000000000 00022222222200002222220 000 00022222222222200000002222220 00 00 00222222000000000022222222220000 00 022200000000002222222222222222222222222222222222 0 022200 0 0 0 02220000 0 0 0 0 00 00000 0 0 0000000 0 0 0 0 0 0 0 0 0000 0 0 0 0 0 0000 0 0 0 0 0 0 000 00 000000000 0 0 0 000 00 0 0 00000000 0 0 0 00 0000 0 0 000000 0 00 00000 0 0 0 0 00000 0000 0 0 0 0 00 000000 0 0 0 0000000000 00 00 0.1111111-12222221++++++11++++++11++++++11++++++12112121++++++12121132++++++++++++++++++32++++++++++++++++++32++++++++++++++++++32++++++++++++++++++32++++++++++++++++++3 3()*+,!3%&'-./++++++.1$+++#31121121-11++++++++++++11++++++++++++11++++++++++++11++++++++++++11++ 1 1 1 1 11++++11++111111++++11++111111++++11++111111++++13121++111111++++13+++++++++++++++13+++++++++++++++13+++++++++++++++1 3()*+,2%&'-./++++++3112211211$+++#3112133++++++++++++++++++33++++++++++++++++++33++++++++++++++++++33++++++++++++++++++3 3+++!32222222222222222222222222222222220222222222222222222002222222222222222220000222222222222222220 002220002220002220 002220002002220020020020 00 0 02220 0000 00 0000000000000000000000 00 00 0000 00 0000 00 02222222222222222222222222222220 0222002002002000000222 02222222222000 00000222222222200 00 0 022222222222222222222222222222222222200200222 00222222222 00 00$'2222222220 00 0&%222222222000000'222iiiiiqqujhsqqqqqujqqurpsqqqqqurqqurpsqqqqqurqqurpsqqqqqur&%qqurpsqqqqqiiqqurpsqqqqqqqqq \ No newline at end of file
diff --git a/data/layouts/Route24/border.bin b/data/layouts/Route24/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/Route24/border.bin
Binary files differ
diff --git a/data/layouts/Route24/map.bin b/data/layouts/Route24/map.bin
new file mode 100644
index 000000000..80de4b1f1
--- /dev/null
+++ b/data/layouts/Route24/map.bin
@@ -0,0 +1 @@
+qqqqqqqqqqq|||||||qqqqqq||||||||}qqqqqqq{||||qquyyyyyyyyy|yyyyyyyyyyq}0000000000000 00 00 0quq000000000000000000qu0000000000000 00 00 0qu00000qu000000000000000000000qu000000000000000000000qu000000010100000000000qur0000000000F>>>>>>>>>>qur00 0 000 0000W0 00 00 00 00 0qur0000000000W000hiiiiii}r00 00 0 00000W0 00pqklllluqr00 0000 0000W000pqsqqqquqr 000 00 00000W0 00pkqqqquqr000"#$000M000psqqqqquqr 00 0*+,2220 00psqqqqquqr000*+,222000psqqqqquqr 0 0 0*+,2220 00psqqqqquqr 0 0 0*+,222000psqqqqquqr 0 0 0*+,2220 00psqqqqquqr 0 0 0*+,222000p{qqqquqr 0 0 0*+,2220 00pqsqqqquqr 0 0 0*+,222000pqsqqqquqr 0 0 0*+,2220 00x{||||uqr 0 0 0*+,222000x|||||uqr 0 0 0*+,2220 00"#####mr 0 0 0*+,222000*+qur 0 0 0*+,2220 00*+qur 0 0 0*+,222000*qur 0 0 0*+,2220 00*quj"#1+,222000*ququ*+++,2220 00*ququ*+++,222000*qmu*+++,2220 00*qquu*+++,222000*qquu*+++,2220 00*qquu*+++,222000*qquu*+++,2220 00* \ No newline at end of file
diff --git a/data/layouts/Route25/border.bin b/data/layouts/Route25/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/Route25/border.bin
Binary files differ
diff --git a/data/layouts/Route25/map.bin b/data/layouts/Route25/map.bin
new file mode 100644
index 000000000..9ec2e35d4
--- /dev/null
+++ b/data/layouts/Route25/map.bin
@@ -0,0 +1 @@
+qqqqqqqq|||||||||||||||||||||||||||||||||||||||||||||||||||||||||qqqqq||||||||}qqyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyqqq{qqqqyyyyyyyyyyyz0 000 000 0 00 00 00 000000 00 0000x|||sqqqq0 0 0 0 0 0 0 0 00 0000000000000000000 00 00 00 00 0&%$%$$%$%$%$'"##!s{qqq0 0 0 0 0 0 0 0 00000 0000 00000 00 000 00 00 00 00 000i*,sqsqqq00 00 00 00 00 00 00 000000000 000 00 0000000 000 0000 00j1k1l1 00 0 00 00 0*,{{|||0000 0000000000000000000 0000 0b1c1c1k1k1k1c1c1d100000*0!{|qq000000000000000 000 00 00 00 000000 00 00 00 000 000r1s1s1s1s1s1s1s1t1 00 00 0*0#!{||00000000000000000000 0000000000 000 00 00 00 00 00 00 0 00 00 000000*0###00000000000000 00000000000000000 0000000 000000 0*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>?000000*000000000000000000000000000000000000000000000000 0*iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiij00313131313131000003131313131310*lllllllmqqqqqqqqqqqqqqqqklllllllmqqqqqqqr*qqqqqqqlllllllllmqqqqqqsqqqqqqqlllmqqqr"####################1qqqqqqqqqqqqqqqqqllllllqqqqqqqqqqqllmu*+qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqquu*qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqquu*qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqquu*qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqquu* \ No newline at end of file
diff --git a/data/layouts/Route25_SeaCottage/border.bin b/data/layouts/Route25_SeaCottage/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/Route25_SeaCottage/border.bin
Binary files differ
diff --git a/data/layouts/Route25_SeaCottage/map.bin b/data/layouts/Route25_SeaCottage/map.bin
new file mode 100644
index 000000000..dbf7d06ba
--- /dev/null
+++ b/data/layouts/Route25_SeaCottage/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/Route2_Entrance/border.bin b/data/layouts/Route2_Entrance/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/Route2_Entrance/border.bin
Binary files differ
diff --git a/data/layouts/Route2_Entrance/map.bin b/data/layouts/Route2_Entrance/map.bin
new file mode 100644
index 000000000..dfde7c299
--- /dev/null
+++ b/data/layouts/Route2_Entrance/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/Route3/border.bin b/data/layouts/Route3/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/Route3/border.bin
Binary files differ
diff --git a/data/layouts/Route3/map.bin b/data/layouts/Route3/map.bin
new file mode 100644
index 000000000..7e4fd76ff
--- /dev/null
+++ b/data/layouts/Route3/map.bin
@@ -0,0 +1 @@
+psqqqqqqqqqqqqqq|||||||||||||qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu00000000sqqqqqqpsqqqqqqqqq||||}qqqqqqqqqqqqq{|||||qqqqqqqqqqqqqqqqqqqqqqqqqqqqqu00000000sqqqqqqpsqqqqqqq|}yyyyyyyyyyyyyyyyyyyyyy{|qqqqqqqq|||||||qqqqqqqqqqu10000010sqqqqqqpsqqqqqqquy0000000000000000000000ysqq|||||}qqqqqqq{||||qqqqqur0100100hsqqqqqqpsqqqqqqqu00000100000001000000000000sq}yyyyyyyyyyyyyyyy{|qqqur00000hiqsqqqqqqp{qqqqq}0000000 00 00 0 00000000000100squ0000000000000000ysqqqur0 00 0 0pkllqqqqqqpq{|||||}qr0 00 00 00 00hij0 00 00 00hj0 0000squ0001000000000010000sqqqur00000psqqqqqqqqqpqqqqqyyyz00q00p{|}0000000000000000000sqqqur0 00 0 0psqqqqqqqqqxyyyyyz000000 00 00 00 0pqr0 00 00 00pr0 00 00xyyyz00hiiiiij0p{|||}00p{|||qqqqq0 00 00 00 000 0000000000pqr0000000pr00 00 00 000 00 00 00 0pklllmr0 0 00 00pqqqyz00 000xyyy{|qqq0000000000000 00 00 00 0pqr0 00 00 00pj000000000000000psqqqur000000xyyyz0 00 0000 0 0 0 0xysqqq0 00 00 00 00hij00000000pqr0000000pqr 0 0 0 0 0 0 00 00 00 00 0psqqqur 00 00 000 00 00 00 00 0 0 0 0 0 0psqqq00hiiiiiiq0 0qqr 0 0 0 0 0 0 0 0 0 0 0 0 0 0hsqqqur0000000000 00 00 00 0 0 0 0 0 0 0 0psqqqhiqqqqqqqqr0 00 00 00 0xyz 00 00 00 0pqr 0 0 0 0 0 0 0 0 0 0 0 0 0 0pkqqqur0 0 00 000 00 0000000 0 0 0 0 0 0 0 0psqqqpqklllllllmr000000000 00 00 00 0 0hqij 0 0 0 0 0 0 0 0 0 0 0 0psqqqqur000000 00 00 00 00 0 0 0 0 0 0 0 0 0 0psqqqpkqqqqqqqu000000000000000kllmr 0 0 0 0 0 0 0 0 0 0 0 0psqqqquij00000 0000000 0 0 0 0 0 0 0 0 0 0psqqqpsqqqqqqqqlmsqquiiij 0 0 0 0 0 0 0 0psqqqqlmr000000 00 00 00 0 0 0 0 0 0 0hiisqqqpsqqqqqqqqqqlllllllllllllllllqqlllmiiiiiiiisqqqqqquiiiiiiiiiiiiiiiiiiikllqqqpsqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqllllllllllqqqqqqlllllllllllllllllllllqqqqqqpsqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq \ No newline at end of file
diff --git a/data/layouts/Route4/border.bin b/data/layouts/Route4/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/Route4/border.bin
Binary files differ
diff --git a/data/layouts/Route4/map.bin b/data/layouts/Route4/map.bin
new file mode 100644
index 000000000..447d87b5c
--- /dev/null
+++ b/data/layouts/Route4/map.bin
@@ -0,0 +1 @@
+qqqqqqqq|||||||qqsqqqqqqqqqqqqqquqqqqq||||||||||||||qqqqq||||||||||qqqqqqqqqqq|||||||||||||qqqqqqqqqqqqqqqqqu22222sqqsqqqqqqqqqqqqqquqqqqquqyyyyyyyyy|y{|||||}yyyyyyyy{|||||||||||}yyyyyyyyyyy{|||||||||q||||||}rHIJKpsqq{|||qqqqqq|||}qqqqquqr0 0 00 00 00 0x|yyyyyyz 00 00 00xyyyyyyyyyyyyyz 00 000000000yyyyyyyyyyquyyyyyyzPQRSp{qqqqqsqqqq|}qqqqqqqq}qr000000000000000 00000000 000000 00 00 00 000000000000000000000000qu 00 000XYZ[x{||||sqqqqu|||||||||}yz0 0 00 00 000000000000 00 0000 0000000000000 00 00000000000000000000qu000 000`ab0yy0ys{qq}uy0yyyyyyyz0 0000 00000000 0000000qu0000000 0 00 00000000{sqqu}000000000000 00 00 00 00 00 0000 000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000"#########qu000000000000ssqquu01000000000000000000000 00000 0000*+++++++++qu000000000000000000ssqquu0000 00 00 000 00 00 00 00 00 00 0000 00000 0 00 00 00 00 00 00 000 00 00 0000000 00 00 00*+++++++++qu000000000000ssqquu000 00000o0000000000000000 00 00 00qu000000000000000000s{||}ur0 00 00 00 00 00 00 00 00000000000000000000 000000000000000000qu000000000sqqqqur000000000000 00 00 00 0 000000001010000000000 0 0 0 0 0 0 0 0 0 0 0 0000000000000000000qu000000000000sqqqquiiiiiiiiiij000000000000000000000000000000 0 0 0 0 0 0 0 0 0 0 0&% 000010000000000000qu000000000000000sqqqqlllllmqqqqqiiij 0000000000000000000000 0 0 0 0 0 0 0 0 0 0 0 0 000000 00qlmq0000000000000sqqqqkllllmllllmqqqqr&%$'0000000000000000000000 0 0 0 0 0 0 0 0 0 0 0 0 0000qqqllm0000000sqqqqsqqqqllllmuqqqqiiij0000 0 0 0 0 0 0 0 0 0 0 0 0 0 00000 00qqqqqqu00000000kllqqqqsqqqqqqqqqulmqqqqqqr00000 00 0 00 00 00 00 000 0 0 0 0 0 0 0 0 0 0 0 0 0 0&'0000000qqqqqqu00000000kllqqqqqqkqqqqqqqqquqquqqqqqqr00000000000000000000$%$' 0 0 0 0 0 0 0 0 0 0 0 00 00 00 00 000&%$%$%$%$%qqqqqqu00000sqqqqqqqqqsqqqqqqqqqquqquqqqqqqiiiiiij0 00 00 00 00 000 0&'hiiiiiiiiiiiiij000000000hiiiiiiiiiiijqqqqqqu00000000sqqqqqqqqqsqqqqqqqqqquqquqqqqqqqqqqqqqiiiiiiiiiiiiiiiqqqqqqqqqqqqqiiiiiiiiiqqqqqqqqqqqr \ No newline at end of file
diff --git a/data/layouts/Route5/border.bin b/data/layouts/Route5/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/Route5/border.bin
Binary files differ
diff --git a/data/layouts/Route5/map.bin b/data/layouts/Route5/map.bin
new file mode 100644
index 000000000..3c357908f
--- /dev/null
+++ b/data/layouts/Route5/map.bin
Binary files differ
diff --git a/data/layouts/Route5_PokemonDayCare/border.bin b/data/layouts/Route5_PokemonDayCare/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/Route5_PokemonDayCare/border.bin
Binary files differ
diff --git a/data/layouts/Route5_PokemonDayCare/map.bin b/data/layouts/Route5_PokemonDayCare/map.bin
new file mode 100644
index 000000000..85114f523
--- /dev/null
+++ b/data/layouts/Route5_PokemonDayCare/map.bin
@@ -0,0 +1 @@
+b22222222222232222222222222 3 32222222 3 32222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/Route6/border.bin b/data/layouts/Route6/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/Route6/border.bin
Binary files differ
diff --git a/data/layouts/Route6/map.bin b/data/layouts/Route6/map.bin
new file mode 100644
index 000000000..c4e9b6b92
--- /dev/null
+++ b/data/layouts/Route6/map.bin
@@ -0,0 +1 @@
+DEEEEFLMMMMN$%$%$%$%$%$%$%\^0 0000 00d11f 00 00 0000000001111000000000000000 00 00 00 00000000 00 00 0000000000 00 00 00000000000000000000000D0E0E0F00LMMN0000000000000000TgUV0000000000000000d=ef00001010000001010000 0 0 0 0000 0 0 0 0 0 0000000 0 0 0 0000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000100000000000 0 0 0 0 0 000000000000000 0 0 0 0 0 000000000000100 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000 0 0 0 0000 0 0 0 0000 0 0 0 0000 0 0 0 0000 0 0000000000000000100 0 00 00 00 00 00000000000 0 0000000000010000000 0 0 00 0000 0 0 0 00000000000 0 0 0 00000 00 0000 0 0 0 0000000 0 0 0 000000000000000000$%$%$%$'0000########$000,000 \ No newline at end of file
diff --git a/data/layouts/Route7/border.bin b/data/layouts/Route7/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/Route7/border.bin
Binary files differ
diff --git a/data/layouts/Route7/map.bin b/data/layouts/Route7/map.bin
new file mode 100644
index 000000000..08212179a
--- /dev/null
+++ b/data/layouts/Route7/map.bin
@@ -0,0 +1 @@
+$%$%$%$%$%$%$%$%$%$%0 00 00 00 00 0 0 0 0 0 0 0 0 00000000000 0 0 0 0 0 0 0 00 00 00 00 00 0 0 0 0 0 0 0 0 00000000000 0 0 0 0 0 000&%$%0 00 00 0 0 0 0 0 0 000000000000000000D0E0E0EEF0000001LMMMMN100 00 00 00 00 0081<1000000000000@1D100 0D0E0E0F00 00 00H1deeeefL10LMMN0000TgUV 00 00 00 00 00000d=ef0000000000 00 00 000 00 0000 00000000000000000000000000000000 \ No newline at end of file
diff --git a/data/layouts/Route8/border.bin b/data/layouts/Route8/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/Route8/border.bin
Binary files differ
diff --git a/data/layouts/Route8/map.bin b/data/layouts/Route8/map.bin
new file mode 100644
index 000000000..9d370b135
--- /dev/null
+++ b/data/layouts/Route8/map.bin
@@ -0,0 +1 @@
+pqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpqqqqqq;<<=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyqqqpqqqqqqrLMMN0000000000 00 00 00 00 00 00 00 00 00 0 00 00 00 00 00pqqqpqqqqqqrTgUV000000000000000000000000000000000000000pqqqpqqyyyzd=ef0010100000 000000000000000000000000000 00pqqq$%$'pqqr0000000010000000000000000000000000000000&%$%$'pqqq0000xyyz00000000000000000 000100000000000000000001000 00000000pqqqDEEEEF 00 000100000000000000 00 00 00 00 00 00 00 000 0000000000000pqqq1LMMMMN1 00 00 00000 00000000 00000000000000 00 00 00 00xyyy81<100000100000000000 00 0 00 0 00 0 0000 00000000000000000@1D1000000000 00000000 000000000 0 0 0 0 00 0 00 0000000 00 00 00000000H1deeeefL100000100000000000000000 000 0 00 00 0 00 0000 00000000000010000 00 00 00000 000000000 00000000 0 0 0 0 0 0 0 0 0 000000000 00 00 00000000hiiiiiij0000000000000 00 00 00 00 00 0 0 000 0000000&%$%$'000000hiiipqqqqqqr00000 00 00 00 00 00 000000 0 0 0 0 0 0 0 0 00 0 00000000 00 00 00 00 00 0000pqqqpqqqqqqr00000000000000000000 0000 00 00 0 00 00 0 00 0000000000000000000pqqqpqqqqqqr0001000000000000100000 00 0 0 00 0 0 0 0 0000001000000000000100pqqqpqqqqqqr00000000000000000000 00000 00 0 000 0000 0000000000000000000pqqqpqqqqqqr0000000000000000000000000 0 000 0000000000000000000000000pqqqpqqqqqqiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiqqq \ No newline at end of file
diff --git a/data/layouts/Route9/border.bin b/data/layouts/Route9/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/Route9/border.bin
Binary files differ
diff --git a/data/layouts/Route9/map.bin b/data/layouts/Route9/map.bin
new file mode 100644
index 000000000..6ac9ccccd
--- /dev/null
+++ b/data/layouts/Route9/map.bin
@@ -0,0 +1 @@
+yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyykllmyyyyyyyyyyyyyyyyyklllll000000 0 0 0 0 0 0 0 0 0 0 00 00 00 00 00 00 0hiiiij 0 0 0 0 0 0psqqur 00 00 00 00 00 0000000sqqqqq 0 0 0 0 0 0 0 0 0 0 0000000000000pkllmr 0 0 0 0 0 0psqqur00000000000000000sqqqqq 0 0 0 0 0 0 0 0 0 0 0hiiij00 00 00 0psqqur0 00 00 0p{||}r 00 00000000h00sqqqqq 0 0 0 0 0 0 0 0 0 0 0pklm00psqqu00qqqq00klm{|qqq$%$%$' 0 0 0 0 0 0 0 0 0 0 0psqu0000000{||}000000yyyy0000000000squ00qqsqqq00000000000000000psqu0000000qqqq0000000000000000000000squ00qq{|||0 0psqu000000yyyy00000000000000000{|}00yyyyyy0 000 00 000000000hiisqu0000000000000klm0000000yyy00000000000000000000000kllqu0000000000000squ0000klm000klm00000000000000hi0000sqqqqu00squ0000squ000squ000000000000000000pkllm{||||}000000000000 0p{|}{|}0psqu000000psqqu0000yyyyyy0000000001000xyyyz0000xyyyz000psquklmklpsqqu0000000000000000000000 00 00 000 000 000 00 000 00p{|}000squ000sqpsqqu000000000000000000000000000000000000pqqqr0 00p{|}000sqpsqqu00kllm00xyyyzxyyyzsqpsqqu000000000000000sqqur 000 00 000 00 00 00 00 0 00 00 00 00 00 00 00 00 00 00psq$'psqqu000000000000000sqqur0000000000000000000000000000000000000psqhii{||}sqquiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii{|pqqqqqqqqqqqqqqqqqqqqqqqq{||}qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq \ No newline at end of file
diff --git a/data/layouts/SSAnne_1F_Corridor/border.bin b/data/layouts/SSAnne_1F_Corridor/border.bin
new file mode 100644
index 000000000..b90547a3e
--- /dev/null
+++ b/data/layouts/SSAnne_1F_Corridor/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SSAnne_1F_Corridor/map.bin b/data/layouts/SSAnne_1F_Corridor/map.bin
new file mode 100644
index 000000000..b9fde8c26
--- /dev/null
+++ b/data/layouts/SSAnne_1F_Corridor/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222232232232232232232232222222222222222222222222222222222222222222266222223223222 \ No newline at end of file
diff --git a/data/layouts/SSAnne_2F_Corridor/border.bin b/data/layouts/SSAnne_2F_Corridor/border.bin
new file mode 100644
index 000000000..b90547a3e
--- /dev/null
+++ b/data/layouts/SSAnne_2F_Corridor/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SSAnne_2F_Corridor/map.bin b/data/layouts/SSAnne_2F_Corridor/map.bin
new file mode 100644
index 000000000..9fa53735c
--- /dev/null
+++ b/data/layouts/SSAnne_2F_Corridor/map.bin
@@ -0,0 +1 @@
+6233232222222222222222222222222222222222222222222222232222222232222222222222222222222222222232222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SSAnne_3F_Corridor/border.bin b/data/layouts/SSAnne_3F_Corridor/border.bin
new file mode 100644
index 000000000..b90547a3e
--- /dev/null
+++ b/data/layouts/SSAnne_3F_Corridor/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SSAnne_3F_Corridor/map.bin b/data/layouts/SSAnne_3F_Corridor/map.bin
new file mode 100644
index 000000000..336e034fa
--- /dev/null
+++ b/data/layouts/SSAnne_3F_Corridor/map.bin
@@ -0,0 +1 @@
+22222222222222223VW322222222222222223^_32222222222222222222fg32222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SSAnne_B1F_Corridor/border.bin b/data/layouts/SSAnne_B1F_Corridor/border.bin
new file mode 100644
index 000000000..b90547a3e
--- /dev/null
+++ b/data/layouts/SSAnne_B1F_Corridor/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SSAnne_B1F_Corridor/map.bin b/data/layouts/SSAnne_B1F_Corridor/map.bin
new file mode 100644
index 000000000..db24bfff4
--- /dev/null
+++ b/data/layouts/SSAnne_B1F_Corridor/map.bin
@@ -0,0 +1 @@
+T2222222222222222223222222222222222222U322222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SSAnne_CaptainsOffice/border.bin b/data/layouts/SSAnne_CaptainsOffice/border.bin
new file mode 100644
index 000000000..b90547a3e
--- /dev/null
+++ b/data/layouts/SSAnne_CaptainsOffice/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SSAnne_CaptainsOffice/map.bin b/data/layouts/SSAnne_CaptainsOffice/map.bin
new file mode 100644
index 000000000..75c9eb2d3
--- /dev/null
+++ b/data/layouts/SSAnne_CaptainsOffice/map.bin
@@ -0,0 +1 @@
+2 32222222 22222222222222233222322222 \ No newline at end of file
diff --git a/data/layouts/SSAnne_Deck/border.bin b/data/layouts/SSAnne_Deck/border.bin
new file mode 100644
index 000000000..d9994d6cd
--- /dev/null
+++ b/data/layouts/SSAnne_Deck/border.bin
@@ -0,0 +1 @@
+++++ \ No newline at end of file
diff --git a/data/layouts/SSAnne_Deck/map.bin b/data/layouts/SSAnne_Deck/map.bin
new file mode 100644
index 000000000..bf3fb5e80
--- /dev/null
+++ b/data/layouts/SSAnne_Deck/map.bin
@@ -0,0 +1 @@
++++++++++++,*++++++++++++++++++,*++++++++++++++++++,*++++++++++++++++++,*++++++++++++++QR[\v]eeeee+++++QRYZc3d3d3d3d3mn+++QRYZS3P33P3P3P3P3P3u+QRYZS3P3P3w3P3P3wP3P3P3}XYZS3P3P3P3P3P3P3P3P3P3P3P3P33`a3b3P3P3P3P3P3P3P3P3P3P3P3P3P33hijx3b3P3P3P3P3P3P3P3P3P3P3P3pqrijx3b3P3P33P3P3P3P3P33+yzzrijx3b33wP3P3P33+pqzzzrijk3l3l3l3l3~++1yzzzzzrstttttttttttttt++1pqzzzzz{||||||||||||||++1+1yzzzzz{||||||||||||||+++pqzzzz{||||||||||||||++++yzzzz{|||||||||||||| \ No newline at end of file
diff --git a/data/layouts/SSAnne_Exterior/border.bin b/data/layouts/SSAnne_Exterior/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/SSAnne_Exterior/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SSAnne_Exterior/map.bin b/data/layouts/SSAnne_Exterior/map.bin
new file mode 100644
index 000000000..a76275227
--- /dev/null
+++ b/data/layouts/SSAnne_Exterior/map.bin
@@ -0,0 +1 @@
+,*,*+++++++++++++++++++++,*++++(%333333333+++,   *+++++++++111111111+++++++++++,*+++++111111111111+++++++2+++0##########!11 #########++++++++++++111++++++++++++++++,11*++++++++++++++++++++++++++++++++,111*+++++++++++++++++++,11*++++++++++++++++++++++++++,111*+++++++++++++++++++++,11*++++++++++++++++++++++++++,111*+++++++++++++++++++++,11*++++++++++++++++++++++++++,1*+++++++++++++++++++,11*+++++++++++++++++++++1++++++++++++++,11*++++++++++++++++++++++1++++++++++++++,11*+++++++++++++++++++++++++,1*+++++++++++++++++,11*++++++++++++++++++++++!2"++++++++++++++++,11*++++++++++++++++++++++#   $++++++++++++++,11*+++++++++++++++++++++++++++++,11*++++++++++++++++++++++++,11*++++++++++++++++++,11*++++++++++++++++++,11*+++++++++++++++++,11*++++++++++++++++,11*++++++++++++++++,11*++++++++,11*++++,11*+++,11*++,11*++,11*+11*++*+0###1 \ No newline at end of file
diff --git a/data/layouts/SSAnne_Kitchen/border.bin b/data/layouts/SSAnne_Kitchen/border.bin
new file mode 100644
index 000000000..b90547a3e
--- /dev/null
+++ b/data/layouts/SSAnne_Kitchen/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SSAnne_Kitchen/map.bin b/data/layouts/SSAnne_Kitchen/map.bin
new file mode 100644
index 000000000..f74655d33
--- /dev/null
+++ b/data/layouts/SSAnne_Kitchen/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SSAnne_Room1/border.bin b/data/layouts/SSAnne_Room1/border.bin
new file mode 100644
index 000000000..b90547a3e
--- /dev/null
+++ b/data/layouts/SSAnne_Room1/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SSAnne_Room1/map.bin b/data/layouts/SSAnne_Room1/map.bin
new file mode 100644
index 000000000..b5cfa38c4
--- /dev/null
+++ b/data/layouts/SSAnne_Room1/map.bin
@@ -0,0 +1 @@
+:+333333333333333333893(3)*3@A4303123HI3333 \ No newline at end of file
diff --git a/data/layouts/SSAnne_Room2/border.bin b/data/layouts/SSAnne_Room2/border.bin
new file mode 100644
index 000000000..b90547a3e
--- /dev/null
+++ b/data/layouts/SSAnne_Room2/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SSAnne_Room2/map.bin b/data/layouts/SSAnne_Room2/map.bin
new file mode 100644
index 000000000..e1509b523
--- /dev/null
+++ b/data/layouts/SSAnne_Room2/map.bin
@@ -0,0 +1,2 @@
+;;BCD3 
+3JKL33'3<3$3$3$3$3'3$3$3$3$3$3 3$3$3$3$3$3$3$3=3>3?3 \ No newline at end of file
diff --git a/data/layouts/SafariZone_Building/border.bin b/data/layouts/SafariZone_Building/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SafariZone_Building/border.bin
Binary files differ
diff --git a/data/layouts/SafariZone_Building/map.bin b/data/layouts/SafariZone_Building/map.bin
new file mode 100644
index 000000000..caec48cdc
--- /dev/null
+++ b/data/layouts/SafariZone_Building/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SafariZone_Center/border.bin b/data/layouts/SafariZone_Center/border.bin
new file mode 100644
index 000000000..964b51edb
--- /dev/null
+++ b/data/layouts/SafariZone_Center/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SafariZone_Center/map.bin b/data/layouts/SafariZone_Center/map.bin
new file mode 100644
index 000000000..f1fe437e9
--- /dev/null
+++ b/data/layouts/SafariZone_Center/map.bin
@@ -0,0 +1,6 @@
+ %&'%&'#%&' #7       22    0 00 00 0000000 0000000000 00 00 0 000 00 0 %&'00000 0 0 0 000000 00 00000 0 0 0 0 00000000#0 0 0 0 0 0 0 0 0 0 00 000000 0 0 0 0 0 0 0 0 0 000100 00 0 0 0 0 0 0 0 0 0000000 0 0 0 0 0 0 0 0 0 0 0 00000#%&'0 0 0 0 0 0 0 0 0 0 00 00 00 0 0 0 0 0 0 0 0 0 0 0 0 00000 %&'00 0 0 0 0 0 0 0 0000000 0 0 0 0 0 0 0 0 0 0 0 001000#0 0 0 0 0 0 0 00000 00 00 0 0 0 0 0 00 0 0 0 0000000 000 0 0 000 0"##############$0 00 000000   0 00 0 000 0 0*++++++++++++++,   0000000 0 0*++(3131313131313131)++,0 00 000 00 0200000 0 0 0 0*++,0 0000 00 0*++,0000 0000022001010 0 0 0*++0########1++, 0 00000 00 0 
+ 
+ 20000000 0 0*++++++++++++++, 0 0 0 000000 
+ 
+ 
+00000100031313131313131313131313131310 0 0 0 0 0000 !" !" 0000000 0 000 0 0 0 0 0 0 00#%& !"   !"0 00 0000 00 00 00 0 00 0 0 0 0 0 0 0 00 %&'0 00 00 0000000000100022222000 0 0 0 00 00#00000 0 0 0 0 0 0 0 001000 000 0 0 0 0 0 0 00 0 00 0 0 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0 000#%&'0000 0 0 0 0 0 0 0 0 0 00000 00 0 0 0 0 00 00 0 0 00 00 0 0 0 0 0 0 0 00 000000 0 00 0 0 0 0 000000#00000 0 0 0 0 0 0 0 0 0 0 0 00 00 00 0 0 0 0 00 00 00 0 0 00 0000 0 0 0 0 0 0 00 00 00 00 00 0 0 0 00000000#3333333333330 0 00000 00 0333333333333 222222#%&'  " !"   " !" !"     %&'%&'%&'" "  \ No newline at end of file
diff --git a/data/layouts/SafariZone_East/border.bin b/data/layouts/SafariZone_East/border.bin
new file mode 100644
index 000000000..964b51edb
--- /dev/null
+++ b/data/layouts/SafariZone_East/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SafariZone_East/map.bin b/data/layouts/SafariZone_East/map.bin
new file mode 100644
index 000000000..28a9cafb7
--- /dev/null
+++ b/data/layouts/SafariZone_East/map.bin
Binary files differ
diff --git a/data/layouts/SafariZone_North/border.bin b/data/layouts/SafariZone_North/border.bin
new file mode 100644
index 000000000..964b51edb
--- /dev/null
+++ b/data/layouts/SafariZone_North/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SafariZone_North/map.bin b/data/layouts/SafariZone_North/map.bin
new file mode 100644
index 000000000..03319e72c
--- /dev/null
+++ b/data/layouts/SafariZone_North/map.bin
Binary files differ
diff --git a/data/layouts/SafariZone_SecretHouse/border.bin b/data/layouts/SafariZone_SecretHouse/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SafariZone_SecretHouse/border.bin
Binary files differ
diff --git a/data/layouts/SafariZone_SecretHouse/map.bin b/data/layouts/SafariZone_SecretHouse/map.bin
new file mode 100644
index 000000000..8acbf7b90
--- /dev/null
+++ b/data/layouts/SafariZone_SecretHouse/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SafariZone_West/border.bin b/data/layouts/SafariZone_West/border.bin
new file mode 100644
index 000000000..964b51edb
--- /dev/null
+++ b/data/layouts/SafariZone_West/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SafariZone_West/map.bin b/data/layouts/SafariZone_West/map.bin
new file mode 100644
index 000000000..f2f943b69
--- /dev/null
+++ b/data/layouts/SafariZone_West/map.bin
Binary files differ
diff --git a/data/layouts/SaffronCity/border.bin b/data/layouts/SaffronCity/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/SaffronCity/border.bin
Binary files differ
diff --git a/data/layouts/SaffronCity/map.bin b/data/layouts/SaffronCity/map.bin
new file mode 100644
index 000000000..dd7aea1cf
--- /dev/null
+++ b/data/layouts/SaffronCity/map.bin
Binary files differ
diff --git a/data/layouts/SaffronCity_Dojo/border.bin b/data/layouts/SaffronCity_Dojo/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SaffronCity_Dojo/border.bin
Binary files differ
diff --git a/data/layouts/SaffronCity_Dojo/map.bin b/data/layouts/SaffronCity_Dojo/map.bin
new file mode 100644
index 000000000..55b1548aa
--- /dev/null
+++ b/data/layouts/SaffronCity_Dojo/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SaffronCity_Duplicate/border.bin b/data/layouts/SaffronCity_Duplicate/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/SaffronCity_Duplicate/border.bin
Binary files differ
diff --git a/data/layouts/SaffronCity_Duplicate/map.bin b/data/layouts/SaffronCity_Duplicate/map.bin
new file mode 100644
index 000000000..001fb4e2f
--- /dev/null
+++ b/data/layouts/SaffronCity_Duplicate/map.bin
Binary files differ
diff --git a/data/layouts/SaffronCity_EastWestEntrance/border.bin b/data/layouts/SaffronCity_EastWestEntrance/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SaffronCity_EastWestEntrance/border.bin
Binary files differ
diff --git a/data/layouts/SaffronCity_EastWestEntrance/map.bin b/data/layouts/SaffronCity_EastWestEntrance/map.bin
new file mode 100644
index 000000000..8b9683b99
--- /dev/null
+++ b/data/layouts/SaffronCity_EastWestEntrance/map.bin
@@ -0,0 +1 @@
+2222222222222(3'3'3'3'3'3)32222,322222-32222*3&3&3&3&3&3+32222222222222 \ No newline at end of file
diff --git a/data/layouts/SaffronCity_Gym/border.bin b/data/layouts/SaffronCity_Gym/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SaffronCity_Gym/border.bin
Binary files differ
diff --git a/data/layouts/SaffronCity_Gym/map.bin b/data/layouts/SaffronCity_Gym/map.bin
new file mode 100644
index 000000000..2eee32447
--- /dev/null
+++ b/data/layouts/SaffronCity_Gym/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SaffronCity_House1_1F/border.bin b/data/layouts/SaffronCity_House1_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SaffronCity_House1_1F/border.bin
Binary files differ
diff --git a/data/layouts/SaffronCity_House1_1F/map.bin b/data/layouts/SaffronCity_House1_1F/map.bin
new file mode 100644
index 000000000..6db070ab7
--- /dev/null
+++ b/data/layouts/SaffronCity_House1_1F/map.bin
@@ -0,0 +1 @@
+500000000000000000000000000000000000000000000000000000000000000000000000000 \ No newline at end of file
diff --git a/data/layouts/SaffronCity_House1_2F/border.bin b/data/layouts/SaffronCity_House1_2F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SaffronCity_House1_2F/border.bin
Binary files differ
diff --git a/data/layouts/SaffronCity_House1_2F/map.bin b/data/layouts/SaffronCity_House1_2F/map.bin
new file mode 100644
index 000000000..c3090f485
--- /dev/null
+++ b/data/layouts/SaffronCity_House1_2F/map.bin
Binary files differ
diff --git a/data/layouts/SaffronCity_NorthSouthEntrance/border.bin b/data/layouts/SaffronCity_NorthSouthEntrance/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SaffronCity_NorthSouthEntrance/border.bin
Binary files differ
diff --git a/data/layouts/SaffronCity_NorthSouthEntrance/map.bin b/data/layouts/SaffronCity_NorthSouthEntrance/map.bin
new file mode 100644
index 000000000..138b62d0f
--- /dev/null
+++ b/data/layouts/SaffronCity_NorthSouthEntrance/map.bin
@@ -0,0 +1 @@
+2222222223222223222222322222322222#32222222222222222 \ No newline at end of file
diff --git a/data/layouts/SaffronCity_PokemonTrainerFanClub/border.bin b/data/layouts/SaffronCity_PokemonTrainerFanClub/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SaffronCity_PokemonTrainerFanClub/border.bin
Binary files differ
diff --git a/data/layouts/SaffronCity_PokemonTrainerFanClub/map.bin b/data/layouts/SaffronCity_PokemonTrainerFanClub/map.bin
new file mode 100644
index 000000000..1f0a70d65
--- /dev/null
+++ b/data/layouts/SaffronCity_PokemonTrainerFanClub/map.bin
@@ -0,0 +1,2 @@
+52222
+32222222222222222222222222222222222222222222222222222 32222222 3222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SeafoamIslands_1F/border.bin b/data/layouts/SeafoamIslands_1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/SeafoamIslands_1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SeafoamIslands_1F/map.bin b/data/layouts/SeafoamIslands_1F/map.bin
new file mode 100644
index 000000000..00e113364
--- /dev/null
+++ b/data/layouts/SeafoamIslands_1F/map.bin
Binary files differ
diff --git a/data/layouts/SeafoamIslands_B1F/border.bin b/data/layouts/SeafoamIslands_B1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/SeafoamIslands_B1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SeafoamIslands_B1F/map.bin b/data/layouts/SeafoamIslands_B1F/map.bin
new file mode 100644
index 000000000..8735540c7
--- /dev/null
+++ b/data/layouts/SeafoamIslands_B1F/map.bin
@@ -0,0 +1 @@
+BBBBBBBBBBBBBBBBBBBB22222222222BBBBBBBBBB2222222222222222222BBBBBBBBBB22222222222BBBFBBBBBBB22222222222BBBBBBBBBBB222222222222222BBBBBBBBBBBB222222222222222BBBBBBBBB222222222222222BBBBBBXCBBBBB222222222222222BBBBBBBBBBBB222222222222222BBBBBBBB2222222222222BBBBBBBBWCBBBB22222222222222222BBBBBBBBBBBBB22222222222222222BBBBBBBBBBBBB22222222222222222BBBBBBBBBBBBB22222222222222222222222222U22222222222222222222222222222222222222222222222222222222222U222222222222222222222222222222UVUVUVUV \ No newline at end of file
diff --git a/data/layouts/SeafoamIslands_B2F/border.bin b/data/layouts/SeafoamIslands_B2F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/SeafoamIslands_B2F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SeafoamIslands_B2F/map.bin b/data/layouts/SeafoamIslands_B2F/map.bin
new file mode 100644
index 000000000..968163399
--- /dev/null
+++ b/data/layouts/SeafoamIslands_B2F/map.bin
Binary files differ
diff --git a/data/layouts/SeafoamIslands_B3F/border.bin b/data/layouts/SeafoamIslands_B3F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/SeafoamIslands_B3F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SeafoamIslands_B3F/map.bin b/data/layouts/SeafoamIslands_B3F/map.bin
new file mode 100644
index 000000000..f6803677d
--- /dev/null
+++ b/data/layouts/SeafoamIslands_B3F/map.bin
@@ -0,0 +1,3 @@
+'''///BBBBBBBBB///2222222BBBBBBBBB7772222222BBBBBBBBB !!& %"22222222BBBBBBBBB#     $22222222BBBBBBBBBC C C C C C
+C $BBBBBBBBBBBB;<BBBBBBBBBBBBB2222BBBBB#$BBBBBBBBBBBBB2222BBB22#$BBBBBBBBBBBWBBBBXBBB PP!&$22BBBBBBBBBBBBBBBBB#    %PQBBBBBBBBBBB#     $BBBBBBBBBBB22BBBWC C C C C
+C  CXCBBBB22BBBBBBBBB#$BBBBB2222222222BBBBBBBBB#$BBBBBBU2222222222#$2222222222222222222222U22222222222222222222222UVUVUUVVBFUUVVBBUVBBBUVBBBBBUVBBB \ No newline at end of file
diff --git a/data/layouts/SeafoamIslands_B4F/border.bin b/data/layouts/SeafoamIslands_B4F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/SeafoamIslands_B4F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SeafoamIslands_B4F/map.bin b/data/layouts/SeafoamIslands_B4F/map.bin
new file mode 100644
index 000000000..668ac2580
--- /dev/null
+++ b/data/layouts/SeafoamIslands_B4F/map.bin
@@ -0,0 +1,3 @@
+BBBBBBBBBBBBBBBBBBBBB BBBBBBBB  BBBBBBBBBBBB BBBBBB  BBBBBBBBBBB6 22  BBBBBBBBBBBB   BBBBBBBBBBB      BB22      C C C C C C C C CXCBB #########!6     BBBBBBBBB*+++++++++,     BBBBBBBBBBBB*+++++++++,     BBBBBBBBBBBB*+++++++++,V     BBBBBBB*+++++++++,U     22BB ##1+++++++++,   BB*++++++++++++,        BB*++++++++++++,VU         BB*++++++++++++,         BB*++++++++++++,U      C C C C C CXCBBWC C
+C++++++++++,89BBBBBBBBBBBWC
+C++++++++,BBBBBBBBBBBBBB       VBBBBBBBBBBBBBB  U                  V \ No newline at end of file
diff --git a/data/layouts/SevenIsland/border.bin b/data/layouts/SevenIsland/border.bin
new file mode 100644
index 000000000..75f2c916c
--- /dev/null
+++ b/data/layouts/SevenIsland/border.bin
@@ -0,0 +1 @@
+vvvv \ No newline at end of file
diff --git a/data/layouts/SevenIsland/map.bin b/data/layouts/SevenIsland/map.bin
new file mode 100644
index 000000000..05be06e76
--- /dev/null
+++ b/data/layouts/SevenIsland/map.bin
@@ -0,0 +1 @@
+qqqqqur000HIJKp{|||}qqq|||qur000PQRSpqqqqqq|||squr000XYZ[xyq||}q|s{|}r000`ab0 0pqu|||issqqqr0000000000pquuhkkts{qqr00000000 0 0pquursmt{0002222200pquursvxis01230000 0pquursvots89:;00000xuursvvts@Abc000 0 0puursvvts000000000000 00 0puursvvts000000000000000x}ursvvt{|||000||||000||}rsvvxkkkis0 00uhkkk222kkkysvvossst{000}rs22ssmvvvossxk111kysssvvvvvvoss111ssssmDEvvDEvos111ssssvLMvvLMvvs111ssssvvvvvvvvvs111sssssmvvvvvvvv \ No newline at end of file
diff --git a/data/layouts/SevenIsland_House_Room1/border.bin b/data/layouts/SevenIsland_House_Room1/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_House_Room1/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_House_Room1/map.bin b/data/layouts/SevenIsland_House_Room1/map.bin
new file mode 100644
index 000000000..e439b6d6f
--- /dev/null
+++ b/data/layouts/SevenIsland_House_Room1/map.bin
@@ -0,0 +1 @@
+=>{|}PQ=>EFXYEFM1N11111111M1N1V1 1 1 1 1 1 1 1 1 1 1^ 1 1 1o1efg1 1 1 11 1 1 1o1mng1 1 1 1V1 1 1 1 1 1 1 1 1 1 1^ 1 1?1G1O1 1 1 1 1 1 \ No newline at end of file
diff --git a/data/layouts/SevenIsland_House_Room2/border.bin b/data/layouts/SevenIsland_House_Room2/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_House_Room2/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_House_Room2/map.bin b/data/layouts/SevenIsland_House_Room2/map.bin
new file mode 100644
index 000000000..7ed3a8c8a
--- /dev/null
+++ b/data/layouts/SevenIsland_House_Room2/map.bin
@@ -0,0 +1 @@
+{|}PQPQ!~1w!XYXY!111111111111 1 1 1 1 1 1 1 1 1 161 1 1#1$1$1$1$1%1 1 1 11 1 1+1,1,1,1,1-1 1 1 11 1 1314141414151 1 1.1 1 1 1 1 1 1 1 1 1 161 1 1 1 1 1 1 1 1 1 1 1 \ No newline at end of file
diff --git a/data/layouts/SevenIsland_SeavaultCanyon_TanobyKey/border.bin b/data/layouts/SevenIsland_SeavaultCanyon_TanobyKey/border.bin
new file mode 100644
index 000000000..56b76feec
--- /dev/null
+++ b/data/layouts/SevenIsland_SeavaultCanyon_TanobyKey/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SevenIsland_SeavaultCanyon_TanobyKey/map.bin b/data/layouts/SevenIsland_SeavaultCanyon_TanobyKey/map.bin
new file mode 100644
index 000000000..77ec431c8
--- /dev/null
+++ b/data/layouts/SevenIsland_SeavaultCanyon_TanobyKey/map.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_SevaultCanyon/border.bin b/data/layouts/SevenIsland_SevaultCanyon/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/SevenIsland_SevaultCanyon/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_SevaultCanyon/map.bin b/data/layouts/SevenIsland_SevaultCanyon/map.bin
new file mode 100644
index 000000000..d2414a683
--- /dev/null
+++ b/data/layouts/SevenIsland_SevaultCanyon/map.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_SevaultCanyon_Entrance/border.bin b/data/layouts/SevenIsland_SevaultCanyon_Entrance/border.bin
new file mode 100644
index 000000000..75f2c916c
--- /dev/null
+++ b/data/layouts/SevenIsland_SevaultCanyon_Entrance/border.bin
@@ -0,0 +1 @@
+vvvv \ No newline at end of file
diff --git a/data/layouts/SevenIsland_SevaultCanyon_Entrance/map.bin b/data/layouts/SevenIsland_SevaultCanyon_Entrance/map.bin
new file mode 100644
index 000000000..080fac6fb
--- /dev/null
+++ b/data/layouts/SevenIsland_SevaultCanyon_Entrance/map.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TanobyRuins/border.bin b/data/layouts/SevenIsland_TanobyRuins/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TanobyRuins/map.bin b/data/layouts/SevenIsland_TanobyRuins/map.bin
new file mode 100644
index 000000000..0bf51a581
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins/map.bin
@@ -0,0 +1 @@
+++++++++++ssquz0 0pqu+++++++++++++++++++++++s{|}r000xy}++++++++++++++ 11+++++++++++++,{|qr00 00 0"1+++++++++++++++++++++++++++1&11++++ 1 1 1 1 11++++++0#!{|z00000*++++++ 1 1 1 1 1 1 11+++++++++++++++++111+++++++++ 1%1111&11+++++++++++++0#$000 00 0*++++++111++++++++++++++ 1 1 1 1 1 1 1 11+++++++++111+++++++++111+++++ 1 1 1 1 11++++++0######1++++++++++111++++++ 1 1 1 1 1 1 11+++++++ 1%1&11+++++++12111+++++++111++++ 1%1111&11+++++++++++++++++++++++++++111++++++111++++++ 1%1&11++++++++11-1111.11+++++++++++111++++111+++++++++++++++++++++++++++111++++++++11++++++1su1+++++++++11111++++++++++++111++++111+++++++++++++++++++++++++++11121++++++++111++++++1su1++++++++++++++++++++++++121.11++++111+++++++++++++++++++++++++++++++++1-11111.11++++++++111++++++1su1++++++++++++++++++++++++++1-1111.11+++++111++++++++++++++++++++++++++++++++++++111111+++++++++11211++++++1{I3<=3>I3}1++++++++ 11++++++++++++++11111++++++121.11+++++++++++++++++++++++++++++++++++++++++++++++++++1-11111.11++++++1{I3I3I3}1++++++++1&11++++++++++++++++++++++++1111111+++++++++++++++++++++++++++++++++++++++++++++++++++111111+++++++1-1{000}.11++++++++111++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++1-1y000y11+++++++++111+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++1-11111.1111+++++++12111++++++++++++++++++++++++++++++++++++++++++++++++++++++++++111111+++++++++++11111111++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TanobyRuins_DilfordChamber/border.bin b/data/layouts/SevenIsland_TanobyRuins_DilfordChamber/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_DilfordChamber/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TanobyRuins_DilfordChamber/map.bin b/data/layouts/SevenIsland_TanobyRuins_DilfordChamber/map.bin
new file mode 100644
index 000000000..50d04c4d3
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_DilfordChamber/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TanobyRuins_LiptooChamber/border.bin b/data/layouts/SevenIsland_TanobyRuins_LiptooChamber/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_LiptooChamber/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TanobyRuins_LiptooChamber/map.bin b/data/layouts/SevenIsland_TanobyRuins_LiptooChamber/map.bin
new file mode 100644
index 000000000..0dd265d65
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_LiptooChamber/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TanobyRuins_MoneanChamber/border.bin b/data/layouts/SevenIsland_TanobyRuins_MoneanChamber/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_MoneanChamber/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TanobyRuins_MoneanChamber/map.bin b/data/layouts/SevenIsland_TanobyRuins_MoneanChamber/map.bin
new file mode 100644
index 000000000..38f818e71
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_MoneanChamber/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TanobyRuins_RixyChamber/border.bin b/data/layouts/SevenIsland_TanobyRuins_RixyChamber/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_RixyChamber/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TanobyRuins_RixyChamber/map.bin b/data/layouts/SevenIsland_TanobyRuins_RixyChamber/map.bin
new file mode 100644
index 000000000..e98187c67
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_RixyChamber/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TanobyRuins_ScufibChamber/border.bin b/data/layouts/SevenIsland_TanobyRuins_ScufibChamber/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_ScufibChamber/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TanobyRuins_ScufibChamber/map.bin b/data/layouts/SevenIsland_TanobyRuins_ScufibChamber/map.bin
new file mode 100644
index 000000000..bdd65c306
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_ScufibChamber/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TanobyRuins_ViapoisChamber/border.bin b/data/layouts/SevenIsland_TanobyRuins_ViapoisChamber/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_ViapoisChamber/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TanobyRuins_ViapoisChamber/map.bin b/data/layouts/SevenIsland_TanobyRuins_ViapoisChamber/map.bin
new file mode 100644
index 000000000..4d4d0e886
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_ViapoisChamber/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TanobyRuins_WeepthChamber/border.bin b/data/layouts/SevenIsland_TanobyRuins_WeepthChamber/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_WeepthChamber/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TanobyRuins_WeepthChamber/map.bin b/data/layouts/SevenIsland_TanobyRuins_WeepthChamber/map.bin
new file mode 100644
index 000000000..acb0469fc
--- /dev/null
+++ b/data/layouts/SevenIsland_TanobyRuins_WeepthChamber/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TrainerTower/border.bin b/data/layouts/SevenIsland_TrainerTower/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TrainerTower/map.bin b/data/layouts/SevenIsland_TrainerTower/map.bin
new file mode 100644
index 000000000..c6a77c452
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower/map.bin
@@ -0,0 +1 @@
+++squqyyyyqsqu+++ssquzhqqjxsquu+(sssqurhqjpsquuu),sssqurpqqrpsquuu*,sssqurpqqrpsquuu*,sssqurpqqrpsquuu*,sssqurx2zpsquuu*,sssqjxyyy2yyyzhquuu*,ss{qqj 0022200 0hqq}uu*,s{sqqqij 00 00 0hiqqqu}u*,{ssqqqqquj000hsqqqqquu}*0$ss{|||quu333ssq|||}uu 1+,s{|||{|z31 0 0 031x|}|||}u*++,{|||{| 00 00 00 0|}|||}*+0# !sqq{||000||}qqu  #1+,{||||y000y||||}*+++++0 ##$0 00 00"# #1++++++++0#####1++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 1 1 1 1 1 1 1 1 1 11++++++++111111111111+++++++++++ 1%1111+++++++++++111110000000++++++++++11110000000++++++++11111000000pqqqqq+++++11111111000000hiikllllllm+++++111111110000 0hqklqqqqqququ++G100000pqkqqqqqqqququu)++qqqqqqqiij0000 0pqsqqqqqqqqququu*++sqkllllllmqqqqr00000pqsqqqqqqqqquqO+(ssqsqqqqqqllmqr0000 0pqsqqqqqqqqquqqqqu,ssqsqqqqqqqqqmr00000pq{|qqqqqqquqqqquu),ssqsqqqqqqqqqqur000{1|1sqqq|||}qqqquu* \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TrainerTower_1F/border.bin b/data/layouts/SevenIsland_TrainerTower_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_1F/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_1F/map.bin b/data/layouts/SevenIsland_TrainerTower_1F/map.bin
new file mode 100644
index 000000000..812cea451
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_1F/map.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_2F/border.bin b/data/layouts/SevenIsland_TrainerTower_2F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_2F/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_2F/map.bin b/data/layouts/SevenIsland_TrainerTower_2F/map.bin
new file mode 100644
index 000000000..7ae889af1
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_2F/map.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_3F/border.bin b/data/layouts/SevenIsland_TrainerTower_3F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_3F/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_3F/map.bin b/data/layouts/SevenIsland_TrainerTower_3F/map.bin
new file mode 100644
index 000000000..c01e70c2f
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_3F/map.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_4F/border.bin b/data/layouts/SevenIsland_TrainerTower_4F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_4F/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_4F/map.bin b/data/layouts/SevenIsland_TrainerTower_4F/map.bin
new file mode 100644
index 000000000..057d7f955
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_4F/map.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_5F/border.bin b/data/layouts/SevenIsland_TrainerTower_5F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_5F/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_5F/map.bin b/data/layouts/SevenIsland_TrainerTower_5F/map.bin
new file mode 100644
index 000000000..d580e7d2d
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_5F/map.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_6F/border.bin b/data/layouts/SevenIsland_TrainerTower_6F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_6F/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_6F/map.bin b/data/layouts/SevenIsland_TrainerTower_6F/map.bin
new file mode 100644
index 000000000..3c2c3165c
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_6F/map.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_7F/border.bin b/data/layouts/SevenIsland_TrainerTower_7F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_7F/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_7F/map.bin b/data/layouts/SevenIsland_TrainerTower_7F/map.bin
new file mode 100644
index 000000000..d9bb110cf
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_7F/map.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_8F/border.bin b/data/layouts/SevenIsland_TrainerTower_8F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_8F/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_8F/map.bin b/data/layouts/SevenIsland_TrainerTower_8F/map.bin
new file mode 100644
index 000000000..6ba6588be
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_8F/map.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_Elevator/border.bin b/data/layouts/SevenIsland_TrainerTower_Elevator/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_Elevator/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_Elevator/map.bin b/data/layouts/SevenIsland_TrainerTower_Elevator/map.bin
new file mode 100644
index 000000000..42e08c38d
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_Elevator/map.bin
@@ -0,0 +1 @@
+222222222222222 \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TrainerTower_Lobby/border.bin b/data/layouts/SevenIsland_TrainerTower_Lobby/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_Lobby/border.bin
Binary files differ
diff --git a/data/layouts/SevenIsland_TrainerTower_Lobby/map.bin b/data/layouts/SevenIsland_TrainerTower_Lobby/map.bin
new file mode 100644
index 000000000..b98077279
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_Lobby/map.bin
@@ -0,0 +1 @@
+222222222222222222222w2v222222b2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TrainerTower_Roof/border.bin b/data/layouts/SevenIsland_TrainerTower_Roof/border.bin
new file mode 100644
index 000000000..f94adee61
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_Roof/border.bin
@@ -0,0 +1 @@
+//// \ No newline at end of file
diff --git a/data/layouts/SevenIsland_TrainerTower_Roof/map.bin b/data/layouts/SevenIsland_TrainerTower_Roof/map.bin
new file mode 100644
index 000000000..37d57f3fe
--- /dev/null
+++ b/data/layouts/SevenIsland_TrainerTower_Roof/map.bin
@@ -0,0 +1 @@
+pT[[[[[[[[[[[[PzEpT[[[[[[[[[[[[PzEpT[[[[[[[[[[[[PzEpT[[[h[[[[h[[[PzEpJIIIi[[[[jMNOKzEp`abQJIIIIKUVWSzEpcde33RQQQQS3333mEpfg_33Z3333333333tEp33333333333333tExq333333333333s|Cyrrrrrrrrrrrr{@A;!"((((((((((((%&<;)*080808080808-.<;12#$+,#$#$+,#$56<;9:#$34#$#$34#$=><;)F#$kl#$#$kl#$G.< \ No newline at end of file
diff --git a/data/layouts/SilphCo_10F/border.bin b/data/layouts/SilphCo_10F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SilphCo_10F/border.bin
Binary files differ
diff --git a/data/layouts/SilphCo_10F/map.bin b/data/layouts/SilphCo_10F/map.bin
new file mode 100644
index 000000000..1ca95017c
--- /dev/null
+++ b/data/layouts/SilphCo_10F/map.bin
@@ -0,0 +1 @@
+000i000jk8q88o0]0>rst253u2vw?@BA008e8Fz{|243}2~GHI885353535353;3<3434353535353535353535343434343434393232323234343232323534343434343M30^_534300534343434343U8fg534388534343434343M3N353535343535353534343434343UV434343433434313232343432323132323434323232300534300000534300088534388888534388|53535353435353535353534353533N343435334343moW343V434343435343mo#%63435343435343#%u3w36343N34343435343u3w36334343V4343434343435343434343434343 \ No newline at end of file
diff --git a/data/layouts/SilphCo_11F/border.bin b/data/layouts/SilphCo_11F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SilphCo_11F/border.bin
Binary files differ
diff --git a/data/layouts/SilphCo_11F/map.bin b/data/layouts/SilphCo_11F/map.bin
new file mode 100644
index 000000000..027e0a7db
--- /dev/null
+++ b/data/layouts/SilphCo_11F/map.bin
@@ -0,0 +1 @@
+000i0T88q800RS35353?0@BA0088Z[\34343G8HI8853535353;3<343435353535353535353433132323232323232323:343435343430]^_005343534343bOefgO85343534343353VV535343534343534343(3)3*3634353435343435343333334353435343435343435343534343534363534353434353436353435343435343=3;3;3;3;3<3534353434353432323232323235343534343?>53430000005343534343GF534388OOO85343534343535353435353VVV535343534343434343434343434343435343 \ No newline at end of file
diff --git a/data/layouts/SilphCo_1F/border.bin b/data/layouts/SilphCo_1F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SilphCo_1F/border.bin
Binary files differ
diff --git a/data/layouts/SilphCo_1F/map.bin b/data/layouts/SilphCo_1F/map.bin
new file mode 100644
index 000000000..fb7be168b
--- /dev/null
+++ b/data/layouts/SilphCo_1F/map.bin
@@ -0,0 +1 @@
+i000q8PQ00]000000000]00^_0000@BA00000>533XY?0O8e888dOOO88e88fg8888HI88888F533`aG8V5353535353lVVV535353535353535353535353535353535353535353435353535353434343433l634343434343434343434343434343434343434343434343434343434353434343433t63434343434343434343434343434343434343434343434343434343M3h3i3i3i3i3i3s6343434343434343434343434343434343434343434343E3J3434343Upqqqqqr6343434343434343434343434343434343CDW3E3434353;3;3;3;3;3;3<3434343434343434343434343KL63J343M353434343434343434343434343434343=3;3<34343U5343434343434343434343434343E3J34343434353b3c3W343b3c3W3434343434343CDW3E343M353j3k36343j3k3634343434343434343KL63J343U53=3;3<343=3;3<3434343434343434343434343=3;3<343434353b3c3W343b3c3W343434343434343434343434343434343E3J3434343M353j3k36343j3k36343434343434343434343434343434343434343434343CDW3E343U53=3;3<343=3;3<343434343434343434343434343434343434343434343KL63J34343534343434343434343434343434343434343434343434343434343434343=3;3<34343M35343434343434343434343434343434343434343434343M34343M34343M34343M34343U5343434343434333343434343434343434343434343U4343U4343U4343U434343 \ No newline at end of file
diff --git a/data/layouts/SilphCo_2F/border.bin b/data/layouts/SilphCo_2F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SilphCo_2F/border.bin
Binary files differ
diff --git a/data/layouts/SilphCo_2F/map.bin b/data/layouts/SilphCo_2F/map.bin
new file mode 100644
index 000000000..97ada04d8
--- /dev/null
+++ b/data/layouts/SilphCo_2F/map.bin
@@ -0,0 +1 @@
+000i000jk8q88o000]00000000000^_0@BA0>rst253u2vw?00OOOe8888888OO88fg8HI8Fz{|243}2~G88VVV53535353535353VV53535353535353535353;3;3<343435353535353534343434343434343434353434343434343434343434343434343434343434343435343343434343434343435343343434343434343434343434343434343434343431323232323434323232323132323232323232323232323232323234343232323232300000534300000000000000000000005343000008888853438888888888OOOOOO8888885343888885353535353534353535353535353535353VVVVVV5353535353535343535353535353434343434343434343434343434343434343434343434343434343434343434343434353434343434343434343434343434343434343434343434343439323232323232323232353434343434343434343434343434343434343434343434343430^_000013232323234343232323232323:34343mnoW343mnoW3438fg88{|000053430]00}5343#343#343?>53535353535333|{8853438e885343u3v3w36343u3v3w36343GF534343434343434333535353534353535353~3534343434343434343434343535353x3y3z3434343435343x3y3z3434343434343M35343mnoW343mnoW34393:34334343M353433433434343U5343#343#3435363343U5343333634343434343M35343u3v3w36343u3v3w3634353333634343M35343434343434343434343U53434343434343434343434353434343434343U \ No newline at end of file
diff --git a/data/layouts/SilphCo_3F/border.bin b/data/layouts/SilphCo_3F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SilphCo_3F/border.bin
Binary files differ
diff --git a/data/layouts/SilphCo_3F/map.bin b/data/layouts/SilphCo_3F/map.bin
new file mode 100644
index 000000000..e0a18ff16
--- /dev/null
+++ b/data/layouts/SilphCo_3F/map.bin
@@ -0,0 +1 @@
+000i000T88q8PQ000000000^_000^_00000@BA0>RS3533XY?00OOO888888fg888fg88888HI8FZ[\3433`aG88VVV5353535353535353535353535353535353535353535353;3;3<3434353535353535343434343434343434343434343434343434343434343434343434343434343433434353434343343434343434343434343434343434343434343434343434343434343434343132323232323232323232323232323232323232323:34343434393232323232323232323}0000000000000}053434343000|888888888888|53434343888~3353535353535353?>N3535353535353~33?>53434343?>53535353333343434343mnoW3GFV434343mnoW343GF53434343GF53434343x3y3z34343434343635353534343436343535353434343535353434343W3534343433#6393:3N343433#634393:34343434393:3434343363534334343u3v3w363V43343u3v3w363435343434353343433336313232323232323232313232323232323232353434343132323232323232300]00000000000000]000>53434343?00000000088e88888OOOOOO888e888F53434343G888888OOO5353535353535353VVVVVV53535353535353535343434353535353535353VVV5343434343434343434343434343434343434343434343434343434343434343434343435343433434343434343434343434343434343434343434343434343434343433434343534343434343434343434343434343434343434343434343434343434343434343434343 \ No newline at end of file
diff --git a/data/layouts/SilphCo_4F/border.bin b/data/layouts/SilphCo_4F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SilphCo_4F/border.bin
Binary files differ
diff --git a/data/layouts/SilphCo_4F/map.bin b/data/layouts/SilphCo_4F/map.bin
new file mode 100644
index 000000000..b6a91deb8
--- /dev/null
+++ b/data/layouts/SilphCo_4F/map.bin
@@ -0,0 +1 @@
+000i000jk8q88o00000000000^_000@BA0>rst253u2vw?0088888888888fg888HI8Fz{|243}2~G8853535353535353535353535353535353535353535353;3;3<343435353535353537777W343W35343mnnoW34353434343434343434343434343434353776353436335343434343434343434343434343435363533#$34353434343434343434343434343434353635343u3v3v3w3634353434393232323234343232323232353635334343434343435343430053430}}536313232343432323235343438853438537363000534300053434353535353435333~3~353634363{|85343888534343534343x3y3z3434343435373<34373<333535343535353534343534343W34343M353=3<34343=3;3<3435343434343434335343435343334343U132323434323232323132323434323232353434353434333363434343000534300000000053430000>534343534343x3y3z3434343M3O88534388OOOO88853438888F534343534343W34343UV535353435353VVVV535353534353535353535343435343334343435343434343434343434343434343434343434343434343434343333634343M3534334343434343434343434343434343434343434343434343434343434343U534343434343434343434343434343434343434343434343434343434343434343 \ No newline at end of file
diff --git a/data/layouts/SilphCo_5F/border.bin b/data/layouts/SilphCo_5F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SilphCo_5F/border.bin
Binary files differ
diff --git a/data/layouts/SilphCo_5F/map.bin b/data/layouts/SilphCo_5F/map.bin
new file mode 100644
index 000000000..0a4f53ad7
--- /dev/null
+++ b/data/layouts/SilphCo_5F/map.bin
@@ -0,0 +1 @@
+000i000T88q8PQ00}}}000000]0000000@BA0>RS3533XY?0088888888e888OOO8HI8FZ[\3433`aG885353~3~3~353535353535353535353VVV535353535353;3;3<34343535353535353M343M343M3435343434343434343434343434343434343434343434343433434353U43U43U4353434343434343434393232323232323232323434323232323:34353434343434343?>53434343434334343}}0^_0053430005353434343434343GF5343932323232323238fg88534388O53534343434343435353534300000~3~353535353535353435353V5353M343M343M34393:343438{{|85343434343x3y3z33y3z343435353U43U43U4353435333353?>534343433W34353132323232323235343N343434343GF53434343433336343530000005343V4343434353535343434343434336343538888885343534343434393:343434343433y3z3634353535353535353535343N343434343534343433634353534343774343?>5343V43434343534343434333333363435353W3GF53431323232323132323232323232323232323235353=36353535343?00000000^_00000000000>535343=36393:34343G8O88O88OfgO8O88O88O88F5353433634335353V5353V5353V5353V5353V5353V5353V53535353534343=3;3;3<3434343434343434343434343434343434343434343434343434343 \ No newline at end of file
diff --git a/data/layouts/SilphCo_6F/border.bin b/data/layouts/SilphCo_6F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SilphCo_6F/border.bin
Binary files differ
diff --git a/data/layouts/SilphCo_6F/map.bin b/data/layouts/SilphCo_6F/map.bin
new file mode 100644
index 000000000..cf0b384e7
--- /dev/null
+++ b/data/layouts/SilphCo_6F/map.bin
@@ -0,0 +1 @@
+0000i000jk88q88o0}}0000]0>rst253?00@BA00>53u2vw?0{8888e8Fz{|243G88HI88F53}2~G83~3~353535353535353;3;3<3435353535353535353535343535353535343434343?>534343439323232323232323232323434323232323:3343534334343GF53434343}000000053430^_534353M343M3435353534343M3{|8888853438fg534353U43U4393:3434343U~3335353535353535343535353534313232323235343434353434343x3y3y3y3y3y3y3z3434353430000534343M3N343434334353438888534343UV43434343435343535353535353434343N3434333435343534343?>534343M3V434343333333334343534353434343GF534343U132323434323232323232323232353435374343535353434343?000053430000000000>534353434393:343434343G888853438888888888F5343534343435343434353535353535343535353535353535353535353435343434343534343434343434343434343434343434343434343434343 \ No newline at end of file
diff --git a/data/layouts/SilphCo_7F/border.bin b/data/layouts/SilphCo_7F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SilphCo_7F/border.bin
Binary files differ
diff --git a/data/layouts/SilphCo_7F/map.bin b/data/layouts/SilphCo_7F/map.bin
new file mode 100644
index 000000000..373fa1f17
--- /dev/null
+++ b/data/layouts/SilphCo_7F/map.bin
@@ -0,0 +1 @@
+000i0000T88q88PQ^_00000000RS353?@BA>533XY?fg88OO8d88Z[\343GHIF533`aG335353533VV5353t5353?>53;3<34353535353535343535353534343x3y3z3h3i3i3i3s4343GF5343434343434343434343434343534343pqqqr4343535353434393232323434323232323235343433331323234343232323:3434343005343000053434343433005343^_534343O853438888132323232323885343fg534343V53534353533353000}}}53535353435353534343N3434343434338{|53moW3moW3534343V434343434333635333~3~3~353#%63#%6353434313232343432323232353434343434353u3w363u3w36353434300053430]53M34343M34353433434334353434388853438e53U4343U43132323232323235343435353535343535333534343434343?00]000]00>5343435343434343434343b3534343434343G88e888e88F534343534343343434343j35343434343435353535353535353535353534343534343434343434343 \ No newline at end of file
diff --git a/data/layouts/SilphCo_8F/border.bin b/data/layouts/SilphCo_8F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SilphCo_8F/border.bin
Binary files differ
diff --git a/data/layouts/SilphCo_8F/map.bin b/data/layouts/SilphCo_8F/map.bin
new file mode 100644
index 000000000..73efec7e1
--- /dev/null
+++ b/data/layouts/SilphCo_8F/map.bin
@@ -0,0 +1 @@
+0000i000jk88q88o00^_00}00}rst253?00@BA00>53u2vw88fg88{|z{|243G88HI88F53}2~535353535353~333~353;3<3435353535353535353535343535353x3y3z343534343434353434393232323232323232323232323235343534343343534343000000^_3435343232323534343888888fg533?>534300534343335353533333343GF534388534343CCC443434343M3435343535353435353353434354344344343434343U43533334393:3534343CD53434353CD43J34343434343M343534334343534343KL53434353KL43E34343434343U4313232323235343232323534343132323232343432323232323000000>534300]0>534343?00^_0053430000O88888F534388e8F534343G88fg8853438888V535353535353534353535353535343435353535353535353435353535353N343343434343434343434343434343434343434343434343434343434343V434343434343434343434343434343434343434343434343434343434343 \ No newline at end of file
diff --git a/data/layouts/SilphCo_9F/border.bin b/data/layouts/SilphCo_9F/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SilphCo_9F/border.bin
Binary files differ
diff --git a/data/layouts/SilphCo_9F/map.bin b/data/layouts/SilphCo_9F/map.bin
new file mode 100644
index 000000000..95d58dafb
--- /dev/null
+++ b/data/layouts/SilphCo_9F/map.bin
@@ -0,0 +1 @@
+000i000T88q8PQ000]000]0000RS3533XY?0@BA00000888e888e8888Z[\3433`aG8HI888885353535353535353533535353;3<343435353535353535353535353535343932323232323232323235343932323232343432323232323:343435343000^_0053430053430^_053435343OO8fg88N3438853438fg8N3435343?>VV535353535353V43535353534353535353V435343GF534343CD43J34353435343434343CD43J3N34353435353534343KL43E343N3435343434343KL43E3V43534393:34343439323232323V4313232343432323232335353435343430005343}}0534300005313235343438N343853438888530^_>534343?>53?>V43~3~35353435353535353538fgF534343GF534343GF53435343437777434343?>53334343535353434353535343534343434343GF53CCC44393:343434393:34343534343434343535353543443443435343435343534343433434343434343 \ No newline at end of file
diff --git a/data/layouts/SilphCo_Elevator/border.bin b/data/layouts/SilphCo_Elevator/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/SilphCo_Elevator/border.bin
Binary files differ
diff --git a/data/layouts/SilphCo_Elevator/map.bin b/data/layouts/SilphCo_Elevator/map.bin
new file mode 100644
index 000000000..42e08c38d
--- /dev/null
+++ b/data/layouts/SilphCo_Elevator/map.bin
@@ -0,0 +1 @@
+222222222222222 \ No newline at end of file
diff --git a/data/layouts/SixIsland/border.bin b/data/layouts/SixIsland/border.bin
new file mode 100644
index 000000000..d9994d6cd
--- /dev/null
+++ b/data/layouts/SixIsland/border.bin
@@ -0,0 +1 @@
+++++ \ No newline at end of file
diff --git a/data/layouts/SixIsland/map.bin b/data/layouts/SixIsland/map.bin
new file mode 100644
index 000000000..a82f268bd
--- /dev/null
+++ b/data/layouts/SixIsland/map.bin
@@ -0,0 +1 @@
+vvvvvvvvvvvvvvtssqqqqqqvvvvvvvvvvvvsstssqqqqqqvvvvvvvvvssssstssqqqqqq]U]U]U]U]sssssstssqqqqqq|ssssstssqqqqqquqsssstsxyyqqqxyyy^3|1}1~1100000HIJK(0)0*0+000$'PQRS&%$'0123XYZ[89:;&%00`ab00 00@Abc00000000000000000000000000000000 00000022222000 0000000000&'000&'000 00000000 00000000000000000000 0$%$'00000000000000000yy000yyy0 00000'&'r0 00000 00p|||z&%$'000phiiiiiikkkkkkkkkk222kklpsqqqqqqssssssss22tssqqqqqqvvvosssstssqkllllvvvvossstssqsqqqqvvvvvvostssqsqqqqvvvvvvvotssqsqqqqvvvvvvvvvvvvvvotssqsqqqq \ No newline at end of file
diff --git a/data/layouts/SixIsland_AlteringCave/border.bin b/data/layouts/SixIsland_AlteringCave/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/SixIsland_AlteringCave/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SixIsland_AlteringCave/map.bin b/data/layouts/SixIsland_AlteringCave/map.bin
new file mode 100644
index 000000000..7dde0cb15
--- /dev/null
+++ b/data/layouts/SixIsland_AlteringCave/map.bin
Binary files differ
diff --git a/data/layouts/SixIsland_DottedHole_1F/border.bin b/data/layouts/SixIsland_DottedHole_1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/SixIsland_DottedHole_1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SixIsland_DottedHole_1F/map.bin b/data/layouts/SixIsland_DottedHole_1F/map.bin
new file mode 100644
index 000000000..ea33c9ead
--- /dev/null
+++ b/data/layouts/SixIsland_DottedHole_1F/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SixIsland_DottedHole_B1F/border.bin b/data/layouts/SixIsland_DottedHole_B1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/SixIsland_DottedHole_B1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SixIsland_DottedHole_B1F/map.bin b/data/layouts/SixIsland_DottedHole_B1F/map.bin
new file mode 100644
index 000000000..a610cdd58
--- /dev/null
+++ b/data/layouts/SixIsland_DottedHole_B1F/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222333222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SixIsland_DottedHole_B2F/border.bin b/data/layouts/SixIsland_DottedHole_B2F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/SixIsland_DottedHole_B2F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SixIsland_DottedHole_B2F/map.bin b/data/layouts/SixIsland_DottedHole_B2F/map.bin
new file mode 100644
index 000000000..3abe860dd
--- /dev/null
+++ b/data/layouts/SixIsland_DottedHole_B2F/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222223332222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SixIsland_DottedHole_B3F/border.bin b/data/layouts/SixIsland_DottedHole_B3F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/SixIsland_DottedHole_B3F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SixIsland_DottedHole_B3F/map.bin b/data/layouts/SixIsland_DottedHole_B3F/map.bin
new file mode 100644
index 000000000..c72c26c5c
--- /dev/null
+++ b/data/layouts/SixIsland_DottedHole_B3F/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222223332222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SixIsland_DottedHole_B4F/border.bin b/data/layouts/SixIsland_DottedHole_B4F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/SixIsland_DottedHole_B4F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SixIsland_DottedHole_B4F/map.bin b/data/layouts/SixIsland_DottedHole_B4F/map.bin
new file mode 100644
index 000000000..a0c7e44e3
--- /dev/null
+++ b/data/layouts/SixIsland_DottedHole_B4F/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222223332222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/SixIsland_DottedHole_SapphireRoom/border.bin b/data/layouts/SixIsland_DottedHole_SapphireRoom/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/SixIsland_DottedHole_SapphireRoom/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SixIsland_DottedHole_SapphireRoom/map.bin b/data/layouts/SixIsland_DottedHole_SapphireRoom/map.bin
new file mode 100644
index 000000000..67a89d25e
--- /dev/null
+++ b/data/layouts/SixIsland_DottedHole_SapphireRoom/map.bin
@@ -0,0 +1 @@
+S22[322222222A3M33L3C3222F3222E322222G222223I3222H3322N3K32J3O3223332222 \ No newline at end of file
diff --git a/data/layouts/SixIsland_GreenPath/border.bin b/data/layouts/SixIsland_GreenPath/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/SixIsland_GreenPath/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SixIsland_GreenPath/map.bin b/data/layouts/SixIsland_GreenPath/map.bin
new file mode 100644
index 000000000..647978c02
--- /dev/null
+++ b/data/layouts/SixIsland_GreenPath/map.bin
Binary files differ
diff --git a/data/layouts/SixIsland_OutcastIsland/border.bin b/data/layouts/SixIsland_OutcastIsland/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/SixIsland_OutcastIsland/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SixIsland_OutcastIsland/map.bin b/data/layouts/SixIsland_OutcastIsland/map.bin
new file mode 100644
index 000000000..53e933378
--- /dev/null
+++ b/data/layouts/SixIsland_OutcastIsland/map.bin
@@ -0,0 +1,15 @@
++++++++++++++++++++++++++ 
++++++++ 
+++++++++++++++++qqq++++klllm++y+sqqqu++++ 
+++sqqquV+++++++++++sqqqllm 1 1++++{|qqqqu11qq++++ysqqq}qq++++ sqqquqqqq++++sqqquqqqq++++{|||}qqqqq+++qy0yyyyyy++ y1111111+y  2111111qq1+ 
++++1111111yy1+++++11211111+++++++++qq+++++++++qqyq++++++++TUqqq+++++++qqqy++++++yyy1 
++++ 
+++++++y++++++++++++++++ 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
++++++++++++++++++++++++++++++++++++ 
++++++y+++++++++++++ 
++++++++++++++++++++++++++++++++++++++++++++++++++y++++++++++ 
+++++++++++y++++++++ 
+++ 
+++++++++++++++++++++++++++++++++++++ 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/SixIsland_PatternBush/border.bin b/data/layouts/SixIsland_PatternBush/border.bin
new file mode 100644
index 000000000..c1fe47df7
--- /dev/null
+++ b/data/layouts/SixIsland_PatternBush/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SixIsland_PatternBush/map.bin b/data/layouts/SixIsland_PatternBush/map.bin
new file mode 100644
index 000000000..7cd07c6c8
--- /dev/null
+++ b/data/layouts/SixIsland_PatternBush/map.bin
@@ -0,0 +1 @@
+ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 000 000 000 000 0 0 0 000 000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 000 000 0 0 0 0 0 00 00000 0 0 0 00 0 0 000 000 000 000 0 000 0000 000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 00000 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 00 0 00 00000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 00 0 0 000 000 000 000 0 0 00 0 00 0 0 0 0 00000 00 0 0 00 0 000 000 000 00 0 0 0 0 00 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 00 00000 0 00 0 0 0 0 0 0 0 0 0 0 00 0 0 00 0 0 000 0 0 00 0 0 00 000 0 0 0 0 0 0 00 0 0 0 0 00000 00 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 00 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 00 0 0 0 0 00 00000 0 0 000 0 0 000 000 00 0 0 0 0 0 00 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 00000 00 0 00 0 0 0 0 0 0 0 0 0 0 0 0000 000 0 0 00 000 000 000 00 0 0 0 0 0 00 0 00 0 00 00000 0 00 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00 0 0 00000 00 0 0 000 000 0 00 0 0 0 0 0 0 0 0 0 00 0 00 0 0 000 00 0 0 0 0 000 00 00 0 0 0 0 00 00000 0 00 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 00 0 00000 00 0 00 0 000 000 000 000 0 000 0000 000 0 0 0 0 0 0 0 0 00 0 0 00 00 0 0 0 0 00 00000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 000 000 000 00 0 0 0 0 00000 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000 00 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 00 0 0 0 0 0 0 0 00000 00 0 0000 000 000 0 000 000 000 0 000 000 0 0 0 0 00 0 0 0 0 000 00 0 0 0 0 00 00000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00000 00 02 0 02 0 02 0 02 0 02 0 02 0 02 0 02 0 02 0 02 0 02 0 02 0 02 0 02 0 02 0 02 00 00000000222222 \ No newline at end of file
diff --git a/data/layouts/SixIsland_RuinValley/border.bin b/data/layouts/SixIsland_RuinValley/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/SixIsland_RuinValley/border.bin
Binary files differ
diff --git a/data/layouts/SixIsland_RuinValley/map.bin b/data/layouts/SixIsland_RuinValley/map.bin
new file mode 100644
index 000000000..848cbec26
--- /dev/null
+++ b/data/layouts/SixIsland_RuinValley/map.bin
Binary files differ
diff --git a/data/layouts/SixIsland_WaterPath/border.bin b/data/layouts/SixIsland_WaterPath/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/SixIsland_WaterPath/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/SixIsland_WaterPath/map.bin b/data/layouts/SixIsland_WaterPath/map.bin
new file mode 100644
index 000000000..42f48165b
--- /dev/null
+++ b/data/layouts/SixIsland_WaterPath/map.bin
Binary files differ
diff --git a/data/layouts/ThreeIsland/border.bin b/data/layouts/ThreeIsland/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/ThreeIsland/border.bin
Binary files differ
diff --git a/data/layouts/ThreeIsland/map.bin b/data/layouts/ThreeIsland/map.bin
new file mode 100644
index 000000000..523f3e70c
--- /dev/null
+++ b/data/layouts/ThreeIsland/map.bin
@@ -0,0 +1 @@
+$33333$333332222222222$'&'&%$%$%00 00303000003030000000000000001010000000 00000 00 00 00000033333(0)0*0+00000000000000123 00 00 00 00000089:;00000@Abc 0000000001030300030300010000000000 00000 00 00 0000000000033333 00000 00000000000000 0001003030000100000000000 00 00 0000000{1|1}1~11&%$%$%0000 0HIJKhiiiii00000PQRSpqklll0000 0XYZ[pqsqqq$%$'00000`abpqsqqq0010003030pqsqqq0010000100pqsqqq0000 00 0000pqsqqq000000000pqsqqq303001010000100pqsqqq000000001010000pqsqqq000pqsqqqhiiiiij000hiiiqsqqqpklllmr000pqklllqqqpsqqqur000pqsqqqqqqqpsqqqur000pqsqqqqqqq$'psqqqur000pqsqqqqqqq \ No newline at end of file
diff --git a/data/layouts/ThreeIsland_BerryForest/border.bin b/data/layouts/ThreeIsland_BerryForest/border.bin
new file mode 100644
index 000000000..7797e033b
--- /dev/null
+++ b/data/layouts/ThreeIsland_BerryForest/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/ThreeIsland_BerryForest/map.bin b/data/layouts/ThreeIsland_BerryForest/map.bin
new file mode 100644
index 000000000..e98d91119
--- /dev/null
+++ b/data/layouts/ThreeIsland_BerryForest/map.bin
@@ -0,0 +1 @@
+0222 000 00 00 0 00 00 00 02 0 0200 00 00 00 00 0 0 0 0002 0 0 02 000 02 0 0000 00 0 02 0 02 00000 0 0 0 002 0 0 0220 0 0 002 0 0 0 02 00 00 02 0 0 0 0 02 0 0 0 0 00 0 0 00 0 0 0202 02 00 0 0 0 0 0 0 0 0 00 0 0 0 00 00 00 0 0 0 0 0 0 0 0 0 0 0 00000000 0 0 0000002 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 00 00 00 0 0 0 00 000 00 0 0 0 02 0 02 0000 0 0 00000 0 000 00 0 0 0 0 02000 000 00 000$%%%%%%%&0 00 00 0 00 0 00 0 00 000 00 00000000 02 0 0200 00 00002 00 00 0 000000000 00 00 00 0000000 0202 0 0 0 0 00 0 0 0 00 020 0000000020002020 0 0 02 0 0 0 0 02 0 0 00 0 020222 0 0 02 00 0 0 0 00 0 02 00002 0 0 002222 0 00 0 0 0 0 000000202220 0 00 0 0 0 0 0 02 0202 00 0 002222 00 00 0 0 0 0 0 0000 0 00200000 00222 0 000000 00 0 02 0 0 0 00 0200 020 00 00 00200000 0200 000 00 0 0 000 00000000000000002 02 00000000 0000 02 0 00 00 00 020 000000020000002000000002 000 0 0 0 0 00 00 00000020 00 000$%%%%%%%%& 0 000000 0 00 0020 02 0000 0 00 0 0 0 0 0 0 0 0 0 02 0 00 00 0 0 020000002 00 00 00 0 0 0 0 0 0 0 0 000 0 00 000002000 0 0 0 002 0 02 0 02 0 0 0 00 0 0000222 0 0 0 0 0 0 0 0 0000 0 0 0 0 0 0 0 0 0 0 00020 0 0 0 0 0 0 0 0 0 000 0 0 0 0 0 0 0 0 0 0 0 002 0202$%%%%&0 0 00 00 00 00 02 020 00000 0 0 0000000000000202 002 0 02 0 02 0 0 0 0020020020020 00 0 0 0 0000 0 0 0222 0 0 0 02 0 02 0 02 0 \ No newline at end of file
diff --git a/data/layouts/ThreeIsland_BondBridge/border.bin b/data/layouts/ThreeIsland_BondBridge/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/ThreeIsland_BondBridge/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/ThreeIsland_BondBridge/map.bin b/data/layouts/ThreeIsland_BondBridge/map.bin
new file mode 100644
index 000000000..c554c03e3
--- /dev/null
+++ b/data/layouts/ThreeIsland_BondBridge/map.bin
Binary files differ
diff --git a/data/layouts/ThreeIsland_DunsparceTunnel/border.bin b/data/layouts/ThreeIsland_DunsparceTunnel/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/ThreeIsland_DunsparceTunnel/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/ThreeIsland_DunsparceTunnel/map.bin b/data/layouts/ThreeIsland_DunsparceTunnel/map.bin
new file mode 100644
index 000000000..4623ea1b3
--- /dev/null
+++ b/data/layouts/ThreeIsland_DunsparceTunnel/map.bin
@@ -0,0 +1 @@
+222222222 \ No newline at end of file
diff --git a/data/layouts/ThreeIsland_House1/border.bin b/data/layouts/ThreeIsland_House1/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/ThreeIsland_House1/border.bin
Binary files differ
diff --git a/data/layouts/ThreeIsland_House1/map.bin b/data/layouts/ThreeIsland_House1/map.bin
new file mode 100644
index 000000000..871205cfa
--- /dev/null
+++ b/data/layouts/ThreeIsland_House1/map.bin
@@ -0,0 +1 @@
+=>`89EF& h@AM1N1.311111H1I111 1 1 1 1 1 1 1 1 1 1V1 1 1 1o1ef 1 1 1 1^ 1 1 1o1mn 1 1 1 1V1 1 1 1 1 1 1 1 1 1 1^ 1 1?1G1O1 1 1 1 1 1 \ No newline at end of file
diff --git a/data/layouts/ThreeIsland_Port/border.bin b/data/layouts/ThreeIsland_Port/border.bin
new file mode 100644
index 000000000..75f2c916c
--- /dev/null
+++ b/data/layouts/ThreeIsland_Port/border.bin
@@ -0,0 +1 @@
+vvvv \ No newline at end of file
diff --git a/data/layouts/ThreeIsland_Port/map.bin b/data/layouts/ThreeIsland_Port/map.bin
new file mode 100644
index 000000000..44f29053c
--- /dev/null
+++ b/data/layouts/ThreeIsland_Port/map.bin
Binary files differ
diff --git a/data/layouts/TwoIsland/border.bin b/data/layouts/TwoIsland/border.bin
new file mode 100644
index 000000000..4531975c7
--- /dev/null
+++ b/data/layouts/TwoIsland/border.bin
Binary files differ
diff --git a/data/layouts/TwoIsland/map.bin b/data/layouts/TwoIsland/map.bin
new file mode 100644
index 000000000..60e9c0bc9
--- /dev/null
+++ b/data/layouts/TwoIsland/map.bin
Binary files differ
diff --git a/data/layouts/TwoIsland_CapeBrink/border.bin b/data/layouts/TwoIsland_CapeBrink/border.bin
new file mode 100644
index 000000000..75f2c916c
--- /dev/null
+++ b/data/layouts/TwoIsland_CapeBrink/border.bin
@@ -0,0 +1 @@
+vvvv \ No newline at end of file
diff --git a/data/layouts/TwoIsland_CapeBrink/map.bin b/data/layouts/TwoIsland_CapeBrink/map.bin
new file mode 100644
index 000000000..d48f75cd4
--- /dev/null
+++ b/data/layouts/TwoIsland_CapeBrink/map.bin
@@ -0,0 +1 @@
+vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvDEvvvvvvvvvvvDEvvvvvvvvvLMvvvvvvvvvvvLMvvvvvvvvvvvvvDEvvvDEvvv//////////s}vLMvvvLMssz2131313131 3!3!3"3#3|ss}vvvvvvsszs00 00 066666u|ssvDEvszss 00000uqu|s}LMvszsss 00 00 041m|s}vzssss 0 0 00 00 00 00 0uqqu|svpsssss 0 0 000000000uqquu|}tssssx00 00 0uqqu|tssss 000p000uqqlmutssss 0 0 0p00 0uqqqquutssss 0 0 0p031{z3100uqqqquutssss 0 0 0x||'''|||}qqqquutsss{|00y||///|||qqqqtss{|00 0|777||sqqqqqqtssqqs 0 0 0us{qqqqqts{|s 0 0 0u{sqqqqqtsqqss 0 0 0u0sqqqqqtsqqs{ 0 0ussqqqqqtsqqsqs 0 0ussqqqqqtsqq{s 0 0ussqqqqqtsqqqs{00}ssqqqqqtsqqq{33ssqqqqqqqqqs33ssqqqqqqqqqqqs333131313131313131psqqqqqqqqqqqs33}3~3000|3}3}3sqqqqqqqqqqqs3333}3}3}3333qqqqqqqqqqqs3333333333{||qqqqqqqq{||||33333qqq{|| \ No newline at end of file
diff --git a/data/layouts/TwoIsland_JoyfulGameCorner/border.bin b/data/layouts/TwoIsland_JoyfulGameCorner/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/TwoIsland_JoyfulGameCorner/border.bin
Binary files differ
diff --git a/data/layouts/TwoIsland_JoyfulGameCorner/map.bin b/data/layouts/TwoIsland_JoyfulGameCorner/map.bin
new file mode 100644
index 000000000..c445c5cb3
--- /dev/null
+++ b/data/layouts/TwoIsland_JoyfulGameCorner/map.bin
Binary files differ
diff --git a/data/layouts/UndergroundPath_EastWestTunnel/border.bin b/data/layouts/UndergroundPath_EastWestTunnel/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UndergroundPath_EastWestTunnel/border.bin
Binary files differ
diff --git a/data/layouts/UndergroundPath_EastWestTunnel/map.bin b/data/layouts/UndergroundPath_EastWestTunnel/map.bin
new file mode 100644
index 000000000..b6890bacd
--- /dev/null
+++ b/data/layouts/UndergroundPath_EastWestTunnel/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/UndergroundPath_Entrance/border.bin b/data/layouts/UndergroundPath_Entrance/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UndergroundPath_Entrance/border.bin
Binary files differ
diff --git a/data/layouts/UndergroundPath_Entrance/map.bin b/data/layouts/UndergroundPath_Entrance/map.bin
new file mode 100644
index 000000000..58cc0f850
--- /dev/null
+++ b/data/layouts/UndergroundPath_Entrance/map.bin
@@ -0,0 +1 @@
+22222222222222662222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/UndergroundPath_NorthSouthTunnel/border.bin b/data/layouts/UndergroundPath_NorthSouthTunnel/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UndergroundPath_NorthSouthTunnel/border.bin
Binary files differ
diff --git a/data/layouts/UndergroundPath_NorthSouthTunnel/map.bin b/data/layouts/UndergroundPath_NorthSouthTunnel/map.bin
new file mode 100644
index 000000000..4772a43cd
--- /dev/null
+++ b/data/layouts/UndergroundPath_NorthSouthTunnel/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/UnknownMap_00_00/border.bin b/data/layouts/UnknownMap_00_00/border.bin
new file mode 100644
index 000000000..efef023e6
--- /dev/null
+++ b/data/layouts/UnknownMap_00_00/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnknownMap_00_00/map.bin b/data/layouts/UnknownMap_00_00/map.bin
new file mode 100644
index 000000000..8616a5f1b
--- /dev/null
+++ b/data/layouts/UnknownMap_00_00/map.bin
Binary files differ
diff --git a/data/layouts/UnknownMap_00_01/border.bin b/data/layouts/UnknownMap_00_01/border.bin
new file mode 100644
index 000000000..efef023e6
--- /dev/null
+++ b/data/layouts/UnknownMap_00_01/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnknownMap_00_01/map.bin b/data/layouts/UnknownMap_00_01/map.bin
new file mode 100644
index 000000000..93050f0f5
--- /dev/null
+++ b/data/layouts/UnknownMap_00_01/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/UnknownMap_00_02/border.bin b/data/layouts/UnknownMap_00_02/border.bin
new file mode 100644
index 000000000..efef023e6
--- /dev/null
+++ b/data/layouts/UnknownMap_00_02/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnknownMap_00_02/map.bin b/data/layouts/UnknownMap_00_02/map.bin
new file mode 100644
index 000000000..08209eaca
--- /dev/null
+++ b/data/layouts/UnknownMap_00_02/map.bin
@@ -0,0 +1 @@
+ !3'3'3'3$3%3%3&3'3'3'3"3#()3D3D343D3D3D3D363D3D3*3+()3D3,3<89:;>.3D3*3+()3D3D353@ABC73D3D3*3+()3D3-3=HIJK?/3D3*3+()3D3D3F3F3F3F3F3F3D3D3*3+013D3D3D3D3D3D3D3D3D3D32332222 \ No newline at end of file
diff --git a/data/layouts/UnknownMap_00_03/border.bin b/data/layouts/UnknownMap_00_03/border.bin
new file mode 100644
index 000000000..efef023e6
--- /dev/null
+++ b/data/layouts/UnknownMap_00_03/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnknownMap_00_03/map.bin b/data/layouts/UnknownMap_00_03/map.bin
new file mode 100644
index 000000000..c68e13ec3
--- /dev/null
+++ b/data/layouts/UnknownMap_00_03/map.bin
Binary files differ
diff --git a/data/layouts/UnknownMap_00_04/border.bin b/data/layouts/UnknownMap_00_04/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnknownMap_00_04/border.bin
Binary files differ
diff --git a/data/layouts/UnknownMap_00_04/map.bin b/data/layouts/UnknownMap_00_04/map.bin
new file mode 100644
index 000000000..829e21554
--- /dev/null
+++ b/data/layouts/UnknownMap_00_04/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/UnknownMap_03_50/border.bin b/data/layouts/UnknownMap_03_50/border.bin
new file mode 100644
index 000000000..d9994d6cd
--- /dev/null
+++ b/data/layouts/UnknownMap_03_50/border.bin
@@ -0,0 +1 @@
+++++ \ No newline at end of file
diff --git a/data/layouts/UnknownMap_03_50/map.bin b/data/layouts/UnknownMap_03_50/map.bin
new file mode 100644
index 000000000..cbd97e361
--- /dev/null
+++ b/data/layouts/UnknownMap_03_50/map.bin
@@ -0,0 +1 @@
++ \ No newline at end of file
diff --git a/data/layouts/UnknownMap_03_51/border.bin b/data/layouts/UnknownMap_03_51/border.bin
new file mode 100644
index 000000000..d9994d6cd
--- /dev/null
+++ b/data/layouts/UnknownMap_03_51/border.bin
@@ -0,0 +1 @@
+++++ \ No newline at end of file
diff --git a/data/layouts/UnknownMap_03_51/map.bin b/data/layouts/UnknownMap_03_51/map.bin
new file mode 100644
index 000000000..e6859e745
--- /dev/null
+++ b/data/layouts/UnknownMap_03_51/map.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnknownMap_03_52/border.bin b/data/layouts/UnknownMap_03_52/border.bin
new file mode 100644
index 000000000..d9994d6cd
--- /dev/null
+++ b/data/layouts/UnknownMap_03_52/border.bin
@@ -0,0 +1 @@
+++++ \ No newline at end of file
diff --git a/data/layouts/UnknownMap_03_52/map.bin b/data/layouts/UnknownMap_03_52/map.bin
new file mode 100644
index 000000000..7f730c596
--- /dev/null
+++ b/data/layouts/UnknownMap_03_52/map.bin
Binary files differ
diff --git a/data/layouts/UnknownMap_03_53/border.bin b/data/layouts/UnknownMap_03_53/border.bin
new file mode 100644
index 000000000..d9994d6cd
--- /dev/null
+++ b/data/layouts/UnknownMap_03_53/border.bin
@@ -0,0 +1 @@
+++++ \ No newline at end of file
diff --git a/data/layouts/UnknownMap_03_53/map.bin b/data/layouts/UnknownMap_03_53/map.bin
new file mode 100644
index 000000000..616f50967
--- /dev/null
+++ b/data/layouts/UnknownMap_03_53/map.bin
@@ -0,0 +1 @@
+qqqqqqu+++++++++++++++qqqqqqu+++++++++++++++qqqqqqu+++++++++++++++qqqqqqu+++++++++++++++qqqqqqu+++++++++++++++||||||+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D54D8/border.bin b/data/layouts/UnusedLayout_82D54D8/border.bin
new file mode 100644
index 000000000..c1b82435c
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D54D8/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D54D8/map.bin b/data/layouts/UnusedLayout_82D54D8/map.bin
new file mode 100644
index 000000000..b51210332
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D54D8/map.bin
@@ -0,0 +1,2 @@
+ 
+'VTPTQ/eUXYE2222]2g22`2a2222222222222222222222BB2222222222222222 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D6144/border.bin b/data/layouts/UnusedLayout_82D6144/border.bin
new file mode 100644
index 000000000..f496f458e
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D6144/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82D6144/map.bin b/data/layouts/UnusedLayout_82D6144/map.bin
new file mode 100644
index 000000000..cc0294a80
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D6144/map.bin
@@ -0,0 +1 @@
+32222x2p2p2p2p22h2h2h2x2p2p2p2p2p2y2h2h2h232h2h2h2h2h2h2h2h2h22g2h2h2h2h2h2h2h2f2Z2abh2h2h2h2h2ab \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D6490/border.bin b/data/layouts/UnusedLayout_82D6490/border.bin
new file mode 100644
index 000000000..efef023e6
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D6490/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D6490/map.bin b/data/layouts/UnusedLayout_82D6490/map.bin
new file mode 100644
index 000000000..f84061f08
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D6490/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222 3 3222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D6654/border.bin b/data/layouts/UnusedLayout_82D6654/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D6654/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D6654/map.bin b/data/layouts/UnusedLayout_82D6654/map.bin
new file mode 100644
index 000000000..7865fdc7c
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D6654/map.bin
@@ -0,0 +1 @@
+3333373333333333333333333333733333333333333333733333333373333337 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D672C/border.bin b/data/layouts/UnusedLayout_82D672C/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D672C/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D672C/map.bin b/data/layouts/UnusedLayout_82D672C/map.bin
new file mode 100644
index 000000000..617346322
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D672C/map.bin
@@ -0,0 +1 @@
+3333333333733333333373333333333333333333333333333333333373333337 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D6C34/border.bin b/data/layouts/UnusedLayout_82D6C34/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D6C34/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82D6C34/map.bin b/data/layouts/UnusedLayout_82D6C34/map.bin
new file mode 100644
index 000000000..35968a7fd
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D6C34/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82D75F0/border.bin b/data/layouts/UnusedLayout_82D75F0/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D75F0/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D75F0/map.bin b/data/layouts/UnusedLayout_82D75F0/map.bin
new file mode 100644
index 000000000..5515d00cf
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D75F0/map.bin
@@ -0,0 +1 @@
+yzfg8898x88no@@A@VW33v3w3+3+3+3+33^3_3+3{3|3|3}3,3,3,3,3,3,3+33>2>23,3,3,3j7k7E3+33>2>23,3,3D3r7s7E3+33333,3,3,3,3,3,3F3G3,3,3,3,3,3,3,3,3,3N7O7,3,3,3LM,3,3,3,3 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D7674/border.bin b/data/layouts/UnusedLayout_82D7674/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D7674/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D7674/map.bin b/data/layouts/UnusedLayout_82D7674/map.bin
new file mode 100644
index 000000000..5a3ac8cb6
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D7674/map.bin
@@ -0,0 +1 @@
+33333333333333333333733337 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D7CC8/border.bin b/data/layouts/UnusedLayout_82D7CC8/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D7CC8/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D7CC8/map.bin b/data/layouts/UnusedLayout_82D7CC8/map.bin
new file mode 100644
index 000000000..3fbcd6043
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D7CC8/map.bin
@@ -0,0 +1 @@
+37733333333333333333733337 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D88C8/border.bin b/data/layouts/UnusedLayout_82D88C8/border.bin
new file mode 100644
index 000000000..f496f458e
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D88C8/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82D88C8/map.bin b/data/layouts/UnusedLayout_82D88C8/map.bin
new file mode 100644
index 000000000..35c1badac
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D88C8/map.bin
@@ -0,0 +1 @@
+]x2p2p2p2p2p22222e2x2p2p2p2p22h2h2h2h2h22h22h2h22\2h2h2h2h2h2q2Y2Z2Y2Z2p2y2h2h2h2h22d6h2h2h2h2ababh2h2h2h2h2h2h22h2h2h222\2h2h2h2dh2h2h2x22h2h2h222h2h2h222h2h2h2\2h2h2h2q22d6h2h2t6 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D9B24/border.bin b/data/layouts/UnusedLayout_82D9B24/border.bin
new file mode 100644
index 000000000..03bcafef1
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D9B24/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82D9B24/map.bin b/data/layouts/UnusedLayout_82D9B24/map.bin
new file mode 100644
index 000000000..d5e7fd825
--- /dev/null
+++ b/data/layouts/UnusedLayout_82D9B24/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82DA7C8/border.bin b/data/layouts/UnusedLayout_82DA7C8/border.bin
new file mode 100644
index 000000000..03bcafef1
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DA7C8/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DA7C8/map.bin b/data/layouts/UnusedLayout_82DA7C8/map.bin
new file mode 100644
index 000000000..0074b6e55
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DA7C8/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82DB46C/border.bin b/data/layouts/UnusedLayout_82DB46C/border.bin
new file mode 100644
index 000000000..03bcafef1
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DB46C/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DB46C/map.bin b/data/layouts/UnusedLayout_82DB46C/map.bin
new file mode 100644
index 000000000..540798144
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DB46C/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82DB4F0/border.bin b/data/layouts/UnusedLayout_82DB4F0/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DB4F0/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DB4F0/map.bin b/data/layouts/UnusedLayout_82DB4F0/map.bin
new file mode 100644
index 000000000..6ca8b4e61
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DB4F0/map.bin
@@ -0,0 +1 @@
+333333333333733337 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DBBE0/border.bin b/data/layouts/UnusedLayout_82DBBE0/border.bin
new file mode 100644
index 000000000..c3fe51511
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DBBE0/border.bin
@@ -0,0 +1 @@
+pppp \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DBBE0/map.bin b/data/layouts/UnusedLayout_82DBBE0/map.bin
new file mode 100644
index 000000000..6e9f6adb6
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DBBE0/map.bin
@@ -0,0 +1 @@
+ppppppprIJJxyz{bJJ`tp1ppppppppppprIJJxyz{bJJ`tpppppppprk0rIJJxyz{bJJ`s0mtppppprks0jIJJxyz{bJJ`k00mtpppxsqsk00HIJJxyz{bJJ`a22umtppskssHIJJxyz{bJJ`auuqutpssqss0HIJJKLMNOJJ`a2uuquuyssqss00PQRRSTUVWRRhi22uuquuyssks0X2Y2Z2Z2[\]^_Z2Z2p2q22uuquusssqs000w2o22c2d2e2f2g2222222uuquusssqs00w2o2l2m2n22222uut}usssqs0000000t2u2v2000000t}uuqusssq{00000|2}2~200000ut}ut}ss{qs0000000000000t}uquus{sq{000000000ut}t}up{s{|{00000t}uququps{qsq{||||000||||}t}ququpp{{{||000}qququppsqsqqqqt000qqqt|}t}pppsq{||||}q]^0^0^0_q{|||}qquppp{||]^0^0^0_|||}pppp]^0^0^0_pppppppppppppp]^0^0^0^0V0V0V0V0V0V0Wppppppppppppppppp]^0^0^0^0^0^0^0^0^0^0_pppppppppppppppp22pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DBDD8/border.bin b/data/layouts/UnusedLayout_82DBDD8/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DBDD8/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DBDD8/map.bin b/data/layouts/UnusedLayout_82DBDD8/map.bin
new file mode 100644
index 000000000..f8cf1725d
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DBDD8/map.bin
@@ -0,0 +1 @@
+2222222222222222 6222222222222222222201111111111222222011111111112222220111111111122222201111111111222222%#$"#$"#$"#&22222-+6{*+6{*+6{*+622222222222222222222 22222222222222222 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DBFB8/border.bin b/data/layouts/UnusedLayout_82DBFB8/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DBFB8/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DBFB8/map.bin b/data/layouts/UnusedLayout_82DBFB8/map.bin
new file mode 100644
index 000000000..059ce30fe
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DBFB8/map.bin
@@ -0,0 +1 @@
+22222222 22 22 22 2 2 22 2222 2222 22222 2 2 22222222 222 2222 2 2 22222 2 22222 2 2222222222222222 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2222222222 222 222 2 22222 2662222222 2 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DC4EC/border.bin b/data/layouts/UnusedLayout_82DC4EC/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DC4EC/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DC4EC/map.bin b/data/layouts/UnusedLayout_82DC4EC/map.bin
new file mode 100644
index 000000000..6103ad0c2
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DC4EC/map.bin
@@ -0,0 +1 @@
+6@kcmE@kcmE@kc''@kcmE7>HsuMHsuMHs////uM?>PQ:2;2;2TUPQ:2;2;2TUPQ:2;2;2;2;2;2;2;2TU?>XY=28282\]XY=28282\]XY=282828282828282\]?>:;2<28282;2;2:;2<28282;2;2:2;2<282828282w682828282;2;2?>=2828282828282w68282VW8282=282`2VWa282=28282828282a2?>=2828282VW82=282`2^_a282=282`2^_a282=282828282VW?>=28282`2^_b=2828282828282=2828282b8282=2828282`2^_?6@klvlmElvllCDE@lvlvmE@kv'vmE7>Hst~tuMt~ttKij/t~t~uMHs~/~//?>PQ:2;2;2TU:2;2;2;2;2qr66;2;2;2TUPQ:2;2;2;2|2?>XY=28282\]=2VW8282yz828282\]XY=2VppW?>:;2<28282;2|2=2^_a282;256=282828282;2;2h;2<2^xx_?>=2828282828282=2828282828282=2828282828282=28282`2828282?>=2828282828282=2828282828282=2828282828282=2828282828282?>=28282de8282=28282de8282=28282de8282=28282de8282? \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DC60C/border.bin b/data/layouts/UnusedLayout_82DC60C/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DC60C/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DC60C/map.bin b/data/layouts/UnusedLayout_82DC60C/map.bin
new file mode 100644
index 000000000..0f6829f9c
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DC60C/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82DC72C/border.bin b/data/layouts/UnusedLayout_82DC72C/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DC72C/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DC72C/map.bin b/data/layouts/UnusedLayout_82DC72C/map.bin
new file mode 100644
index 000000000..9f3750fb4
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DC72C/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82DC84C/border.bin b/data/layouts/UnusedLayout_82DC84C/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DC84C/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DC84C/map.bin b/data/layouts/UnusedLayout_82DC84C/map.bin
new file mode 100644
index 000000000..2112fe799
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DC84C/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82DCA70/border.bin b/data/layouts/UnusedLayout_82DCA70/border.bin
new file mode 100644
index 000000000..f496f458e
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCA70/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82DCA70/map.bin b/data/layouts/UnusedLayout_82DCA70/map.bin
new file mode 100644
index 000000000..1df9e4804
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCA70/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222262226 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DCB44/border.bin b/data/layouts/UnusedLayout_82DCB44/border.bin
new file mode 100644
index 000000000..f496f458e
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCB44/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82DCB44/map.bin b/data/layouts/UnusedLayout_82DCB44/map.bin
new file mode 100644
index 000000000..bad63f412
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCB44/map.bin
@@ -0,0 +1,2 @@
+0no
+2  hvw22$2$2$2$2$282p2~2292#2#2#2#2#2#2#2#2#2#292#2#2#2+2JK,2#2#2#292#2#2#2+2RS,2#2#2#292#2#2#2#2#2#2#2#2"2"292#2#2 #2#2#2#2** \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DCC40/border.bin b/data/layouts/UnusedLayout_82DCC40/border.bin
new file mode 100644
index 000000000..f496f458e
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCC40/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82DCC40/map.bin b/data/layouts/UnusedLayout_82DCC40/map.bin
new file mode 100644
index 000000000..399d05705
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCC40/map.bin
@@ -0,0 +1,2 @@
+ 
+        6$2$2$2$2$2$2$2$2$2$2692#2#2#2#2#2#2#2#2#2#2#292#2#2#252626272#2#2#2#292#2#2#2=2>2>2?2#2#2#2#292#2#2#2E2F2F2G2#2#2#2#22#2#2#2#2#2#2#2#2#2#2"2#2#2#2#2#2#2#2#2#2#2* \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DCCD4/border.bin b/data/layouts/UnusedLayout_82DCCD4/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCCD4/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DCCD4/map.bin b/data/layouts/UnusedLayout_82DCCD4/map.bin
new file mode 100644
index 000000000..43f11b194
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCCD4/map.bin
@@ -0,0 +1 @@
+023333332332772333327723333333333333 333 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DCD68/border.bin b/data/layouts/UnusedLayout_82DCD68/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCD68/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DCD68/map.bin b/data/layouts/UnusedLayout_82DCD68/map.bin
new file mode 100644
index 000000000..632e1e36a
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCD68/map.bin
@@ -0,0 +1 @@
+vw62223336333277233333772333333333333 333 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DCDFC/border.bin b/data/layouts/UnusedLayout_82DCDFC/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCDFC/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DCDFC/map.bin b/data/layouts/UnusedLayout_82DCDFC/map.bin
new file mode 100644
index 000000000..8bbd6c517
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCDFC/map.bin
@@ -0,0 +1 @@
+62233322333333337723333377333333333 333 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DCF00/border.bin b/data/layouts/UnusedLayout_82DCF00/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCF00/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DCF00/map.bin b/data/layouts/UnusedLayout_82DCF00/map.bin
new file mode 100644
index 000000000..017298e71
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DCF00/map.bin
@@ -0,0 +1 @@
+8()*:888:8x88:H0 2B@@@B@VWBP3+3+3+3+3+3+3+3+3+33^3_3+3+3D3,3,3,3,3,3,3{3|3|3|3|3}3+3h7i7,3,3,3,3,332H6I623+3p7q7E3,3,3,3,33>2P6Q623F3G3,3,3,3,3,3,3333333N7O7,3,3,3,3LM,3,3,3,3,3,3 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DD004/border.bin b/data/layouts/UnusedLayout_82DD004/border.bin
new file mode 100644
index 000000000..19d906679
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DD004/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DD004/map.bin b/data/layouts/UnusedLayout_82DD004/map.bin
new file mode 100644
index 000000000..17a611343
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DD004/map.bin
@@ -0,0 +1 @@
+8()*:888:8888:@02B@@@BT7UIB+3+3+3+3+3+3+3+3+3\3?3]3Q3+3+3,3,3,3,3,3,3,3{3|3|3|3}3,3+3D3~777E3,3,33>2>2>23,3+3,3777E3,3,33>2>2>23,3+3G3G3,3,3,3,3,333333,3+3O7O7,3,3,3,3,3,3,3,3,3,3,3 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_82DD0DC/border.bin b/data/layouts/UnusedLayout_82DD0DC/border.bin
new file mode 100644
index 000000000..f496f458e
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DD0DC/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_82DD0DC/map.bin b/data/layouts/UnusedLayout_82DD0DC/map.bin
new file mode 100644
index 000000000..c57c99c7b
--- /dev/null
+++ b/data/layouts/UnusedLayout_82DD0DC/map.bin
@@ -0,0 +1 @@
+        $2$2$2$2$2$2$2$2$2$292#24266<2#2#2#2#292#24266<2#2#2#2#292#2#2#2#2#2#2#2#2#292#2#2 #2#2#2#2#2 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_833614C/border.bin b/data/layouts/UnusedLayout_833614C/border.bin
new file mode 100644
index 000000000..d9994d6cd
--- /dev/null
+++ b/data/layouts/UnusedLayout_833614C/border.bin
@@ -0,0 +1 @@
+++++ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_833614C/map.bin b/data/layouts/UnusedLayout_833614C/map.bin
new file mode 100644
index 000000000..a4b5b8b85
--- /dev/null
+++ b/data/layouts/UnusedLayout_833614C/map.bin
@@ -0,0 +1 @@
++++++  +++++++++++++++    .1-  ++++++++++++11111111++++++++++++11111111-   +++++++ .111111111111+++++++11111111111111-   +++111111111111111111+++111111111111111111+++111111111111111111- +&1111111111111111111+&1111111111111++++   .1111111111111+   .111111111111111%+11111111111111%++11111111111%++++++&111111111+++++++++11111111%+++++++++111111%++++++++++&1111++++++++++++++1111++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_83377F0/border.bin b/data/layouts/UnusedLayout_83377F0/border.bin
new file mode 100644
index 000000000..d9994d6cd
--- /dev/null
+++ b/data/layouts/UnusedLayout_83377F0/border.bin
@@ -0,0 +1 @@
+++++ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_83377F0/map.bin b/data/layouts/UnusedLayout_83377F0/map.bin
new file mode 100644
index 000000000..5bc807eea
--- /dev/null
+++ b/data/layouts/UnusedLayout_83377F0/map.bin
@@ -0,0 +1 @@
++++++++++++++++++++++++++++           +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++              ++++++++++++++++++++++++++++++++++++1111111111+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++1111111111111+++++++++++++++++++++++++++++++++   .1111111111++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++   .1111111111111+++++++++++++++++++++++++++++++++1111111111111- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++1111111111111111- +++++++++++++++++++++++++++++++111111111111111++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++111111111111111111++++++++++++++++++++++++++++++ .1111111111+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .1111111111111++++++++++++++++++++++++++++++11qqq1111+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++11qqq1111++++++++++++++++++++++++++++++qqqqqqqq111+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++qqqqqqqqqqq111++++++++++++++++++++++++++++++qqqqqqqqqqq111+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++qqqqqqqqqqqqqq111++++++++++++++++++++++++++++++qqqqqqqqqq11%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++qqqqqqqqqqqqq11%++++++++++++++++++++++++++++++qqqqqqqy111++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++qqqqqqqqqqy111+++++++++++++++++++++++++++++++&qqqqqy1111%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&qqqqqyyyy1111%++++++++++++++++++++++++++++++++yyq1111%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++yyq1111111%+++++++++++++++++++++++++++++++++&y111%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&y111111%++++++++++++++++++++++++++++++++++++++1111%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++1111%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_8338354/border.bin b/data/layouts/UnusedLayout_8338354/border.bin
new file mode 100644
index 000000000..d9994d6cd
--- /dev/null
+++ b/data/layouts/UnusedLayout_8338354/border.bin
@@ -0,0 +1 @@
+++++ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_8338354/map.bin b/data/layouts/UnusedLayout_8338354/map.bin
new file mode 100644
index 000000000..667f4a779
--- /dev/null
+++ b/data/layouts/UnusedLayout_8338354/map.bin
@@ -0,0 +1 @@
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++     ++++++++++++    .1111++++++++++++11111111- ++++++++++1111111111+++++++   .1111111111+++++++1111111111111- +++++111111111111111++++ .1111111111++++11qqq1111++++qqqqqqqq111++++qqqqqqqqqqq111++++qqqqqqqqqqq111++++qqqqqqqqqqq111++++qqqqqqqqqq1%++++qqqqqqqy11++++&qqqqqy1111+++++yyq1111%+++++&y111%++++++++++1111%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_8338738/border.bin b/data/layouts/UnusedLayout_8338738/border.bin
new file mode 100644
index 000000000..d9994d6cd
--- /dev/null
+++ b/data/layouts/UnusedLayout_8338738/border.bin
@@ -0,0 +1 @@
+++++ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_8338738/map.bin b/data/layouts/UnusedLayout_8338738/map.bin
new file mode 100644
index 000000000..ce93426c5
--- /dev/null
+++ b/data/layouts/UnusedLayout_8338738/map.bin
@@ -0,0 +1 @@
++++++++++++++++++++++++++,21313131313141)++++++++,213131hiiiiij313141)+++++,hiiqqqqqqqiij)++++,21pqqqyyyqqqr3131)++,hqqyz 000xyqij 0*++,pqz 0 0 00000pqqr 0*++,pqr00 0hij00xqqj*++,pqr000pqr000pqqr*++,pqr00 0xyz0 00pqqr*++,pqqj0 0 00 00 00pqz*++,xqr0 0 00 0 00hqqr"1++0$xqij0 0000pqz*++++0$xyr00 0 0hqz"1+++++0#$xz 0 000xyz"1++++++++0#########1++++ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_8338B4C/border.bin b/data/layouts/UnusedLayout_8338B4C/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_8338B4C/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_8338B4C/map.bin b/data/layouts/UnusedLayout_8338B4C/map.bin
new file mode 100644
index 000000000..b9381326f
--- /dev/null
+++ b/data/layouts/UnusedLayout_8338B4C/map.bin
@@ -0,0 +1 @@
+=>9{|}PQ9=>EF~1wXEFM1N11111111M1N1V1 1 1 1 1 1 1 1 1 1 1^ 1 1 1o1efg1 1 1 11 1 1 1o1mng1 1 1 1V1 1 1 1 1 1 1 1 1 1 1^ 1 1?1G1O1 1 1 1 1 1 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_8338E90/border.bin b/data/layouts/UnusedLayout_8338E90/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_8338E90/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_8338E90/map.bin b/data/layouts/UnusedLayout_8338E90/map.bin
new file mode 100644
index 000000000..a5391187c
--- /dev/null
+++ b/data/layouts/UnusedLayout_8338E90/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_833902C/border.bin b/data/layouts/UnusedLayout_833902C/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_833902C/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_833902C/map.bin b/data/layouts/UnusedLayout_833902C/map.bin
new file mode 100644
index 000000000..4573c1444
--- /dev/null
+++ b/data/layouts/UnusedLayout_833902C/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_833B6EC/border.bin b/data/layouts/UnusedLayout_833B6EC/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/UnusedLayout_833B6EC/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_833B6EC/map.bin b/data/layouts/UnusedLayout_833B6EC/map.bin
new file mode 100644
index 000000000..d1385e8cb
--- /dev/null
+++ b/data/layouts/UnusedLayout_833B6EC/map.bin
@@ -0,0 +1,3 @@
+'''///BBBBBBBBB///2222222BBBBBBBBB7772222222BBBBBBBBB !!& %"22222222BBBBBBBBB#     $22222222BBBBBBBBBC C C C C C
+C $BBBBBBBBBBBB()BBBBBBBBBBBBB2222BBBBB*,BBBBBBBBBBBBB2222BBB22*,BBBBBBBBBBBWCBBBBXCBBB ###1,22BBBBBBBBBBBBBBBBB*++++0###!BBBBBBBBBBB*::::::::,BBBBBBBBBBB22BBBWC C C C C
+C::CXCBBBB22BBBBBBBBB3,3,32BBBBB2222222222BBBBBBBBB3-3-32BBBBBBU22222222225-3'4222222222222222227'-622222U2222222222222222223./22222UV3012UVUUV3./VBFUUVVBBU3012VBBBUVBBBBBUVBBB \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_833BE30/border.bin b/data/layouts/UnusedLayout_833BE30/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/UnusedLayout_833BE30/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_833BE30/map.bin b/data/layouts/UnusedLayout_833BE30/map.bin
new file mode 100644
index 000000000..13a635e49
--- /dev/null
+++ b/data/layouts/UnusedLayout_833BE30/map.bin
@@ -0,0 +1,3 @@
+ #!BBBBBBBB ##!BBBBBBBBBBBBB*+,BBBBBBBB*++,BBBBBBBBBBBB*+,BBBBBB*++,BBBBBBBBBBB*+,22*++,BBBBBBBBBBBB*+0##########1++,BBBBBBBBBBB*+++++++++++++++,BB22*++++++C C C C C C C C CXCBB #########!*+++++,BBBBBBBBB*+++++++++,*+++++,BBBBBBBBBBBB*+++++++++,*+++++,BBBBBBBBBBBB*+++++++++,V*+++++,BBBBBBB*+++++++++,U*+++++,22BB ##1+++++++++,*+++++0######!BB*++++++++++++,*++++++++++++,BB*++++++++++++,VU*++++++++++++,BB*++++++++++++,*++++++++++++,BB*++++++++++++,U    ++C C C C C CXCBBWC C
+C++++++++++,*+BBBBBBBBBBBWC
+C++++++++,BBBBBBBBBBBBBB       VBBBBBBBBBBBBBB  U                  V \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_83453C0/border.bin b/data/layouts/UnusedLayout_83453C0/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/UnusedLayout_83453C0/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_83453C0/map.bin b/data/layouts/UnusedLayout_83453C0/map.bin
new file mode 100644
index 000000000..ffc668ba5
--- /dev/null
+++ b/data/layouts/UnusedLayout_83453C0/map.bin
@@ -0,0 +1 @@
+2222222 2222222222222222222222222 222222 2222 \ No newline at end of file
diff --git a/data/layouts/UnusedLayout_834BC2C/border.bin b/data/layouts/UnusedLayout_834BC2C/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834BC2C/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834BC2C/map.bin b/data/layouts/UnusedLayout_834BC2C/map.bin
new file mode 100644
index 000000000..891ae066e
--- /dev/null
+++ b/data/layouts/UnusedLayout_834BC2C/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834BEB4/border.bin b/data/layouts/UnusedLayout_834BEB4/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834BEB4/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834BEB4/map.bin b/data/layouts/UnusedLayout_834BEB4/map.bin
new file mode 100644
index 000000000..ab44abb18
--- /dev/null
+++ b/data/layouts/UnusedLayout_834BEB4/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834C13C/border.bin b/data/layouts/UnusedLayout_834C13C/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834C13C/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834C13C/map.bin b/data/layouts/UnusedLayout_834C13C/map.bin
new file mode 100644
index 000000000..514cb7239
--- /dev/null
+++ b/data/layouts/UnusedLayout_834C13C/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834C3C4/border.bin b/data/layouts/UnusedLayout_834C3C4/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834C3C4/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834C3C4/map.bin b/data/layouts/UnusedLayout_834C3C4/map.bin
new file mode 100644
index 000000000..d9a50b7a1
--- /dev/null
+++ b/data/layouts/UnusedLayout_834C3C4/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834C64C/border.bin b/data/layouts/UnusedLayout_834C64C/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834C64C/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834C64C/map.bin b/data/layouts/UnusedLayout_834C64C/map.bin
new file mode 100644
index 000000000..37b4aba85
--- /dev/null
+++ b/data/layouts/UnusedLayout_834C64C/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834C8D4/border.bin b/data/layouts/UnusedLayout_834C8D4/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834C8D4/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834C8D4/map.bin b/data/layouts/UnusedLayout_834C8D4/map.bin
new file mode 100644
index 000000000..2df5cd891
--- /dev/null
+++ b/data/layouts/UnusedLayout_834C8D4/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834CB5C/border.bin b/data/layouts/UnusedLayout_834CB5C/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834CB5C/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834CB5C/map.bin b/data/layouts/UnusedLayout_834CB5C/map.bin
new file mode 100644
index 000000000..e977b7e26
--- /dev/null
+++ b/data/layouts/UnusedLayout_834CB5C/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834CDE4/border.bin b/data/layouts/UnusedLayout_834CDE4/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834CDE4/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834CDE4/map.bin b/data/layouts/UnusedLayout_834CDE4/map.bin
new file mode 100644
index 000000000..e358d2f3d
--- /dev/null
+++ b/data/layouts/UnusedLayout_834CDE4/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834D06C/border.bin b/data/layouts/UnusedLayout_834D06C/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834D06C/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834D06C/map.bin b/data/layouts/UnusedLayout_834D06C/map.bin
new file mode 100644
index 000000000..3e3ebcc94
--- /dev/null
+++ b/data/layouts/UnusedLayout_834D06C/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834D2F4/border.bin b/data/layouts/UnusedLayout_834D2F4/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834D2F4/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834D2F4/map.bin b/data/layouts/UnusedLayout_834D2F4/map.bin
new file mode 100644
index 000000000..cfc96995c
--- /dev/null
+++ b/data/layouts/UnusedLayout_834D2F4/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834D57C/border.bin b/data/layouts/UnusedLayout_834D57C/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834D57C/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834D57C/map.bin b/data/layouts/UnusedLayout_834D57C/map.bin
new file mode 100644
index 000000000..da9cc3f75
--- /dev/null
+++ b/data/layouts/UnusedLayout_834D57C/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834D804/border.bin b/data/layouts/UnusedLayout_834D804/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834D804/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834D804/map.bin b/data/layouts/UnusedLayout_834D804/map.bin
new file mode 100644
index 000000000..cf5e1e94e
--- /dev/null
+++ b/data/layouts/UnusedLayout_834D804/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834DA8C/border.bin b/data/layouts/UnusedLayout_834DA8C/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834DA8C/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834DA8C/map.bin b/data/layouts/UnusedLayout_834DA8C/map.bin
new file mode 100644
index 000000000..1f10bfff1
--- /dev/null
+++ b/data/layouts/UnusedLayout_834DA8C/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834DD14/border.bin b/data/layouts/UnusedLayout_834DD14/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834DD14/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834DD14/map.bin b/data/layouts/UnusedLayout_834DD14/map.bin
new file mode 100644
index 000000000..fe3d6f908
--- /dev/null
+++ b/data/layouts/UnusedLayout_834DD14/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834DF9C/border.bin b/data/layouts/UnusedLayout_834DF9C/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834DF9C/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834DF9C/map.bin b/data/layouts/UnusedLayout_834DF9C/map.bin
new file mode 100644
index 000000000..241077797
--- /dev/null
+++ b/data/layouts/UnusedLayout_834DF9C/map.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834E224/border.bin b/data/layouts/UnusedLayout_834E224/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/UnusedLayout_834E224/border.bin
Binary files differ
diff --git a/data/layouts/UnusedLayout_834E224/map.bin b/data/layouts/UnusedLayout_834E224/map.bin
new file mode 100644
index 000000000..bb5ccf05c
--- /dev/null
+++ b/data/layouts/UnusedLayout_834E224/map.bin
Binary files differ
diff --git a/data/layouts/VermilionCity/border.bin b/data/layouts/VermilionCity/border.bin
new file mode 100644
index 000000000..730aab996
--- /dev/null
+++ b/data/layouts/VermilionCity/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/VermilionCity/map.bin b/data/layouts/VermilionCity/map.bin
new file mode 100644
index 000000000..1c90e0240
--- /dev/null
+++ b/data/layouts/VermilionCity/map.bin
@@ -0,0 +1,2 @@
+,0 00,000++++++,0 00+HIJK000++(PQRS0 00++++,XYZ[0 00&%$%$%$%$%$%++++,`ab000++++,102220000000000 000000000000000000++++,111111100000000000000000000000000++++,111111111111000 000000000000000000++++0#####!111111100000000000001010000++++++++++,111111111000000000000000000++++++++++0#####!111000000000000000000++++++++++++++++,111000000000000000000++++++++++2210000(0)0*0+00000000000++++(222221000001230000000000&%$%$%++++,111111000089:;000000000000000+++,111110000@Abc=>>>>>>>>?+++,111102221110220000000000000000000000000+++,1111000000000000000000000000000000000000+++,1100000000000000000000000001110000000000+++,11091:1:1:1:1:1;10011111002222"#$02220"########+++,110ABBBBBC011111110*+,02220*+++++++++++,11`1IJJJJJK01 ##!110*+,&3222'3*+++++++++++,hPQRSTUV1*++,111*+,01110*(+++,110X1Y1Z[\]1^101*++,1111122*+0#111#1,pqqqqqr++++,1111110 00 001*++0#######1+++111++,pqqqqqr++++,111111111111*++++++++++++++111++,pqqqqqr++++,111111111111*+1111111111111111++,x|||||z++++0############1+1111111111111111++0 #####+++++++++++++++++++1111111111111111++++++++++++++++++++++++111++++++++++++++++++++111+++++++++++++++++++++++++++++++3 3
+3++++++++++++++++++++++++222++++++++++++++++++++++++++++++++++,*++++++++++++++++++++,*+++++++,*++,* \ No newline at end of file
diff --git a/data/layouts/VermilionCity_Gym/border.bin b/data/layouts/VermilionCity_Gym/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/VermilionCity_Gym/border.bin
Binary files differ
diff --git a/data/layouts/VermilionCity_Gym/map.bin b/data/layouts/VermilionCity_Gym/map.bin
new file mode 100644
index 000000000..6389bf603
--- /dev/null
+++ b/data/layouts/VermilionCity_Gym/map.bin
@@ -0,0 +1 @@
+22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222tuv \ No newline at end of file
diff --git a/data/layouts/VermilionCity_PokemonFanClub/border.bin b/data/layouts/VermilionCity_PokemonFanClub/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/VermilionCity_PokemonFanClub/border.bin
Binary files differ
diff --git a/data/layouts/VermilionCity_PokemonFanClub/map.bin b/data/layouts/VermilionCity_PokemonFanClub/map.bin
new file mode 100644
index 000000000..9e7443ba6
--- /dev/null
+++ b/data/layouts/VermilionCity_PokemonFanClub/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222BB2222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/VictoryRoad_1F/border.bin b/data/layouts/VictoryRoad_1F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/VictoryRoad_1F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/VictoryRoad_1F/map.bin b/data/layouts/VictoryRoad_1F/map.bin
new file mode 100644
index 000000000..fe99f6f05
--- /dev/null
+++ b/data/layouts/VictoryRoad_1F/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222BBBBBBBBBBBBB22222BBBBBBBBBBBBB22222BBBBBBBBBBBBB2222BBBBBBBBBBBBB2222BB2222222222BB2222222BBBB2BB2222BBBBBB22BBBBBB22BBBBBBBBB222222BBBBBBBBB22222222222222222222222222222222222222222222222222226666666666666 \ No newline at end of file
diff --git a/data/layouts/VictoryRoad_2F/border.bin b/data/layouts/VictoryRoad_2F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/VictoryRoad_2F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/VictoryRoad_2F/map.bin b/data/layouts/VictoryRoad_2F/map.bin
new file mode 100644
index 000000000..fa39935e6
--- /dev/null
+++ b/data/layouts/VictoryRoad_2F/map.bin
Binary files differ
diff --git a/data/layouts/VictoryRoad_3F/border.bin b/data/layouts/VictoryRoad_3F/border.bin
new file mode 100644
index 000000000..a021ddd4e
--- /dev/null
+++ b/data/layouts/VictoryRoad_3F/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/VictoryRoad_3F/map.bin b/data/layouts/VictoryRoad_3F/map.bin
new file mode 100644
index 000000000..3ca93972e
--- /dev/null
+++ b/data/layouts/VictoryRoad_3F/map.bin
@@ -0,0 +1 @@
+222222222226666622262262222222222222222222222222222222222222222222222222222222222222222222222222226BBBBBBBBBBBBBB6222222222222222222226BBBBBBBBBBBBBB62222226662222222222226BBBBBBBBBBBBBB62222226662222222262226BBB666666662222226662222222262226BBB62222222222222222266662BBBBBBBB626BBB6222222222222222222222262BBBBBBBB666BBB62222222262222226222226BBBBBBBB666BBB62222222222222222222226266666BBBBBBBB622222222222226662222262622226BBBBBBBB6222222222222222222622226622226666666666222222222222222222222266622222222222222266666622222222266622222222222222622222222222222222222226666222222222222226662222222222222262222226666222222222222266622222222222222222222666662222222222222222222222222222222222226666666666666666666666666666622266666666666666666666666666666666666666622 \ No newline at end of file
diff --git a/data/layouts/ViridianCity/border.bin b/data/layouts/ViridianCity/border.bin
new file mode 100644
index 000000000..a701312cf
--- /dev/null
+++ b/data/layouts/ViridianCity/border.bin
Binary files differ
diff --git a/data/layouts/ViridianCity/map.bin b/data/layouts/ViridianCity/map.bin
new file mode 100644
index 000000000..d633641ca
--- /dev/null
+++ b/data/layouts/ViridianCity/map.bin
@@ -0,0 +1 @@
+qqlmqqr0 00 00qqqqmqr0000kllmquqr 0e1f1g10sqqmmr&%$%$%$%$'0m1n1o1 0$%$%$%$%$%$%$%sqqququr0m1n1o10&%$'0e1f1f1f1f1f1f1f1f1f1f1f1g1sqqququr000000000000m1n1o100 00 00m1n1n1n1n1n1n1n1n1n1n1n1o1sqqququr0 0m1n11f1f1f1f1f1f11n11v12222221n1o1sqqququr 0m1n1n1n1n1n1n1n1n1n1n1o10ABBBBCm1n1o1sqqququr 00m1n11v122222v1v1w10IJJJJKm1n1o1sqq}qur0m1n1o10 00`1PQRSTVm1n1o1sqquqqur 0 0m1n1o10000hX1Y1Z[\^1m1n1o1{||}q}r0m1n1o10 000 00 00 00u1v1w1qqqq}qr00m1n1o10000||||}qqr 0m1n1o100 00 00000000 00 00000qqqqqyz0 0m1n1o1 000000000 000 0 000 00 0yyyyyz0 0 0&%$%$%$'m1n1o10222220 00 00 00 000n1o100 000(0)0*0+000 000000000000000e1f1f1f1f1f1f11n1o100e1f1g1001230e1f1g1000000000 00 00m1n1n1n1n1n1n1n1n1o1 0m1n1o1 089:; 0m1n1o10000000000000u1v1v1v1v1v1v11n1o10202220m1n1o10@Abc0m1n1o1iiiiiij00 00 0000 00 00 0m1n11f1f1f1f1f1f1f11n11f1f1f1n1f1f11n1o1qkllmqr00000 000000 00m1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1o1kqquqr000000000000 0m1n11v122222v11n11v1v1v1v1v1v11n1o1sqqqmr000000000m1n1o10HIJK0m1n1o100 00 0 0m1n1o1sqqqqur&%$' 0000000m1n1o10PQRS0m1n1o1 0 00000m1n1o1sqqqqur00000&' 00 00 00m1n1o10XYZ[0m1n1o100 00 0 0m1n1o1sqqqqur0000000m1n1o10`ab0m1n1o1000000m1n1o1sqqqqur01000 00m1n11f1f1f1n1f1f1f11n11f1f1f1f1f1f11n1o1qqqqur0000000m1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1o1qqqqqur000 00 00u1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1w1qqqqqu000qqqq}r0 00 03131313131310 00000 000 00 00 000 00000000qqqquqr00000000000000000000000000000000000qqqqu00000000000000000000000000000000000qqqqrr0000000010010000000000000000qqqqrr0000000000000000000000000000qqqqrr0000qqqqrr0000qqqqrr0000qqqqrr0000 \ No newline at end of file
diff --git a/data/layouts/ViridianCity_Gym/border.bin b/data/layouts/ViridianCity_Gym/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/ViridianCity_Gym/border.bin
Binary files differ
diff --git a/data/layouts/ViridianCity_Gym/map.bin b/data/layouts/ViridianCity_Gym/map.bin
new file mode 100644
index 000000000..ea13b0280
--- /dev/null
+++ b/data/layouts/ViridianCity_Gym/map.bin
@@ -0,0 +1 @@
+2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/ViridianCity_House1/border.bin b/data/layouts/ViridianCity_House1/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/ViridianCity_House1/border.bin
Binary files differ
diff --git a/data/layouts/ViridianCity_House1/map.bin b/data/layouts/ViridianCity_House1/map.bin
new file mode 100644
index 000000000..888436add
--- /dev/null
+++ b/data/layouts/ViridianCity_House1/map.bin
@@ -0,0 +1 @@
+  ./ -  !"1267(5(()*90:0>0?0 0=0 0 0 0 0 0 000C0D0D0D0D0F000 000S0K0LMN0V000 000S0K0TUN0V000W000[0\0\0\0\0^00G0_000000000O44444444 \ No newline at end of file
diff --git a/data/layouts/ViridianCity_House2/border.bin b/data/layouts/ViridianCity_House2/border.bin
new file mode 100644
index 000000000..a886cd764
--- /dev/null
+++ b/data/layouts/ViridianCity_House2/border.bin
Binary files differ
diff --git a/data/layouts/ViridianCity_House2/map.bin b/data/layouts/ViridianCity_House2/map.bin
new file mode 100644
index 000000000..b6e23003b
--- /dev/null
+++ b/data/layouts/ViridianCity_House2/map.bin
@@ -0,0 +1 @@
+222222222222222222222222222222222222222222222222222222 \ No newline at end of file
diff --git a/data/layouts/ViridianForest/border.bin b/data/layouts/ViridianForest/border.bin
new file mode 100644
index 000000000..7797e033b
--- /dev/null
+++ b/data/layouts/ViridianForest/border.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/data/layouts/ViridianForest/map.bin b/data/layouts/ViridianForest/map.bin
new file mode 100644
index 000000000..74a9e6f5d
--- /dev/null
+++ b/data/layouts/ViridianForest/map.bin
@@ -0,0 +1 @@
+LMMMMMMMMMNLMMMMMMMMMNLMMMMMMMMMNLMMMMMMMMMNLMMMMMMMMMNLMMMMMMMMMN00 00 00 00 00 00 00 00 0 00 00 00 002 02020202 02000000000000000000000000000202 02 02 020 0 0000000000000 000 0002 0020 02 002002 000 00\]0]0]0]0^000100000100 00 000 00000de111ef0000 00 00 0000000 0000 00 021200000 020 00000 00000 00 00000 00 00 00 00 0000 00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0000 0 00 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00000000000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0000 00020020 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 02 0 020 0000 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000 0 0 0 0000 00 0 0 0 0 0 0 0 0 0 00 000000000 000000 0 0 0 0 0 0 0 0 0 0 0200000000000000000 00 0 0 0 0 0 0 0 0 0 0000000000000 000000 0 0 0 0 0 0 0 0 0 00200200200200000 002 0202 0 0 0 0 0 0 0 0 0 0 0 0 00000 00202 02 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0000000 00 02 000 00 00 00 00 00 00 00000000000 0000000 00 0000000 0 0 0 0002 00 00 0 000000000000000 0 0 0 0 00 00 000000000000000 00 00 00 0 0 0 0 0 00000000000000000000 00000 0 0 0 0 0 00 00 0020 020 020 020 020002020 0 0 0 0 00000020200 0 0 0 0 00 00 0022020 0 0 0 0 00000 0 0 0 0 00 00 0 0 0 0 0 00000 0 0 0 0 00 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 02 0 02 0 02 0 02 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00000202 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000 0 0 0 0 0000 00202 0 0 0 0 0 0 02 0 02 0 02 0 0 00 0 0 0 0 0 0 00 000202220 0 0 0 0 0 0000 0 0 0 0 0 00 000 0 0 0 0 00 00 0 0 0 0 00000 0 0 0 0 0 0000 0 0 0 0 0 00 000 0 0 0 0 00 00 0 0 0 0 00000 0 0 0 0 0 0000 0 0 0 0 0 00 000 0 0 0 0 00 00 0 0 0 0 00000 0 0 0 0 0 0000 0 0 0 0 0 00 000 0 0 0 0 00 00 0 0 0 0 0 00 00 0 0 0 0 0 0 020 0 0 0 0 0000 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00000 0 0 0 0 0 0 0 0 0 000 00 00 0 0 0 0 0 0 0 000 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00000000000000 000000 00 00 00000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000000000000000000000000000000 00 0 0 0 0 0 0 0 0 02 0 02 0 02 0020020020020020 000000 02002 002002 0 02 0 02 022y1220DEEEEEEEEEFLMMMMMMMMMNLMMMMMMMMMNLMMMMMMMMMNLMMMMMMMMMNLMMMMMMMMMN \ No newline at end of file
diff --git a/data/layouts/layouts.json b/data/layouts/layouts.json
new file mode 100644
index 000000000..3675b33c0
--- /dev/null
+++ b/data/layouts/layouts.json
@@ -0,0 +1,4403 @@
+{
+ "layouts_table_label": "gMapLayouts",
+ "layouts": [
+ {
+ "id": "LAYOUT_PALLET_TOWN_PLAYERS_HOUSE_1F",
+ "name": "PalletTown_PlayersHouse_1F_Layout",
+ "width": 13,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C74",
+ "border_filepath": "data/layouts/PalletTown_PlayersHouse_1F/border.bin",
+ "blockdata_filepath": "data/layouts/PalletTown_PlayersHouse_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_PALLET_TOWN_PLAYERS_HOUSE_2F",
+ "name": "PalletTown_PlayersHouse_2F_Layout",
+ "width": 12,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C74",
+ "border_filepath": "data/layouts/PalletTown_PlayersHouse_2F/border.bin",
+ "blockdata_filepath": "data/layouts/PalletTown_PlayersHouse_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_PALLET_TOWN_GARYS_HOUSE",
+ "name": "PalletTown_GarysHouse_Layout",
+ "width": 13,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/PalletTown_GarysHouse/border.bin",
+ "blockdata_filepath": "data/layouts/PalletTown_GarysHouse/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82D54D8",
+ "name": "UnusedLayout_82D54D8_Layout",
+ "width": 9,
+ "height": 8,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C74",
+ "border_filepath": "data/layouts/UnusedLayout_82D54D8/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82D54D8/map.bin"
+ },
+ {
+ "id": "LAYOUT_PALLET_TOWN_PROFESSOR_OAKS_LAB",
+ "name": "PalletTown_ProfessorOaksLab_Layout",
+ "width": 13,
+ "height": 14,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C8C",
+ "border_filepath": "data/layouts/PalletTown_ProfessorOaksLab/border.bin",
+ "blockdata_filepath": "data/layouts/PalletTown_ProfessorOaksLab/map.bin"
+ },
+ {
+ "id": "LAYOUT_HOUSE1",
+ "name": "House1_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C74",
+ "border_filepath": "data/layouts/House1/border.bin",
+ "blockdata_filepath": "data/layouts/House1/map.bin"
+ },
+ {
+ "id": "LAYOUT_HOUSE2",
+ "name": "House2_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/House2/border.bin",
+ "blockdata_filepath": "data/layouts/House2/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_CENTER_1F",
+ "name": "PokemonCenter_1F_Layout",
+ "width": 15,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4BE4",
+ "border_filepath": "data/layouts/PokemonCenter_1F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonCenter_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_CENTER_2F",
+ "name": "PokemonCenter_2F_Layout",
+ "width": 15,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4BE4",
+ "border_filepath": "data/layouts/PokemonCenter_2F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonCenter_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_MART",
+ "name": "Mart_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4BCC",
+ "border_filepath": "data/layouts/Mart/border.bin",
+ "blockdata_filepath": "data/layouts/Mart/map.bin"
+ },
+ {
+ "id": "LAYOUT_HOUSE3",
+ "name": "House3_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/House3/border.bin",
+ "blockdata_filepath": "data/layouts/House3/map.bin"
+ },
+ {
+ "id": "LAYOUT_CERULEAN_CITY_GYM",
+ "name": "CeruleanCity_Gym_Layout",
+ "width": 17,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4D1C",
+ "border_filepath": "data/layouts/CeruleanCity_Gym/border.bin",
+ "blockdata_filepath": "data/layouts/CeruleanCity_Gym/map.bin"
+ },
+ {
+ "id": "LAYOUT_HOUSE4",
+ "name": "House4_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/House4/border.bin",
+ "blockdata_filepath": "data/layouts/House4/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82D6144",
+ "name": "UnusedLayout_82D6144_Layout",
+ "width": 11,
+ "height": 8,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4BCC",
+ "border_filepath": "data/layouts/UnusedLayout_82D6144/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82D6144/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_GYM",
+ "name": "CeladonCity_Gym_Layout",
+ "width": 13,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4D4C",
+ "border_filepath": "data/layouts/CeladonCity_Gym/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_Gym/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82D6490",
+ "name": "UnusedLayout_82D6490_Layout",
+ "width": 14,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4BE4",
+ "border_filepath": "data/layouts/UnusedLayout_82D6490/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82D6490/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_RESORT_GORGEOUS_HOUSE",
+ "name": "FiveIsland_ResortGorgeous_House_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C2C",
+ "border_filepath": "data/layouts/FiveIsland_ResortGorgeous_House/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_ResortGorgeous_House/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82D6654",
+ "name": "UnusedLayout_82D6654_Layout",
+ "width": 10,
+ "height": 9,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82D6654/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82D6654/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82D672C",
+ "name": "UnusedLayout_82D672C_Layout",
+ "width": 10,
+ "height": 9,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82D672C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82D672C/map.bin"
+ },
+ {
+ "id": "LAYOUT_FUCHSIA_CITY_GYM",
+ "name": "FuchsiaCity_Gym_Layout",
+ "width": 15,
+ "height": 23,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CA4",
+ "border_filepath": "data/layouts/FuchsiaCity_Gym/border.bin",
+ "blockdata_filepath": "data/layouts/FuchsiaCity_Gym/map.bin"
+ },
+ {
+ "id": "LAYOUT_HOUSE5",
+ "name": "House5_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C74",
+ "border_filepath": "data/layouts/House5/border.bin",
+ "blockdata_filepath": "data/layouts/House5/map.bin"
+ },
+ {},
+ {},
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82D6C34",
+ "name": "UnusedLayout_82D6C34_Layout",
+ "width": 12,
+ "height": 12,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "NULL",
+ "secondary_tileset": "gTileset_82D4C14",
+ "border_filepath": "data/layouts/UnusedLayout_82D6C34/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82D6C34/map.bin"
+ },
+ {
+ "id": "LAYOUT_VERMILION_CITY_GYM",
+ "name": "VermilionCity_Gym_Layout",
+ "width": 11,
+ "height": 21,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4D34",
+ "border_filepath": "data/layouts/VermilionCity_Gym/border.bin",
+ "blockdata_filepath": "data/layouts/VermilionCity_Gym/map.bin"
+ },
+ {
+ "id": "LAYOUT_CERULEAN_CITY_BIKE_SHOP",
+ "name": "CeruleanCity_BikeShop_Layout",
+ "width": 11,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C5C",
+ "border_filepath": "data/layouts/CeruleanCity_BikeShop/border.bin",
+ "blockdata_filepath": "data/layouts/CeruleanCity_BikeShop/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_GAME_CORNER",
+ "name": "CeladonCity_GameCorner_Layout",
+ "width": 18,
+ "height": 15,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CEC",
+ "border_filepath": "data/layouts/CeladonCity_GameCorner/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_GameCorner/map.bin"
+ },
+ {
+ "id": "LAYOUT_PEWTER_CITY_GYM",
+ "name": "PewterCity_Gym_Layout",
+ "width": 13,
+ "height": 16,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4D04",
+ "border_filepath": "data/layouts/PewterCity_Gym/border.bin",
+ "blockdata_filepath": "data/layouts/PewterCity_Gym/map.bin"
+ },
+ {},
+ {
+ "id": "LAYOUT_FOUR_ISLAND_LORELEIS_HOUSE",
+ "name": "FourIsland_LoreleisHouse_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F14",
+ "border_filepath": "data/layouts/FourIsland_LoreleisHouse/border.bin",
+ "blockdata_filepath": "data/layouts/FourIsland_LoreleisHouse/map.bin"
+ },
+ {
+ "id": "LAYOUT_THREE_ISLAND_HOUSE1",
+ "name": "ThreeIsland_House1_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C8C",
+ "border_filepath": "data/layouts/ThreeIsland_House1/border.bin",
+ "blockdata_filepath": "data/layouts/ThreeIsland_House1/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82D75F0",
+ "name": "UnusedLayout_82D75F0_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82D75F0/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82D75F0/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82D7674",
+ "name": "UnusedLayout_82D7674_Layout",
+ "width": 8,
+ "height": 6,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82D7674/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82D7674/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFFRON_CITY_GYM",
+ "name": "SaffronCity_Gym_Layout",
+ "width": 29,
+ "height": 25,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4D64",
+ "border_filepath": "data/layouts/SaffronCity_Gym/border.bin",
+ "blockdata_filepath": "data/layouts/SaffronCity_Gym/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82D7CC8",
+ "name": "UnusedLayout_82D7CC8_Layout",
+ "width": 8,
+ "height": 6,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82D7CC8/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82D7CC8/map.bin"
+ },
+ {
+ "id": "LAYOUT_CINNABAR_ISLAND_GYM",
+ "name": "CinnabarIsland_Gym_Layout",
+ "width": 30,
+ "height": 25,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4D7C",
+ "border_filepath": "data/layouts/CinnabarIsland_Gym/border.bin",
+ "blockdata_filepath": "data/layouts/CinnabarIsland_Gym/map.bin"
+ },
+ {
+ "id": "LAYOUT_VIRIDIAN_CITY_GYM",
+ "name": "ViridianCity_Gym_Layout",
+ "width": 20,
+ "height": 24,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CBC",
+ "border_filepath": "data/layouts/ViridianCity_Gym/border.bin",
+ "blockdata_filepath": "data/layouts/ViridianCity_Gym/map.bin"
+ },
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82D88C8",
+ "name": "UnusedLayout_82D88C8_Layout",
+ "width": 18,
+ "height": 14,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4BCC",
+ "border_filepath": "data/layouts/UnusedLayout_82D88C8/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82D88C8/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNKNOWN_MAP_00_00",
+ "name": "UnknownMap_00_00_Layout",
+ "width": 14,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C44",
+ "border_filepath": "data/layouts/UnknownMap_00_00/border.bin",
+ "blockdata_filepath": "data/layouts/UnknownMap_00_00/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNKNOWN_MAP_00_01",
+ "name": "UnknownMap_00_01_Layout",
+ "width": 12,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C44",
+ "border_filepath": "data/layouts/UnknownMap_00_01/border.bin",
+ "blockdata_filepath": "data/layouts/UnknownMap_00_01/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNKNOWN_MAP_00_02",
+ "name": "UnknownMap_00_02_Layout",
+ "width": 20,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C44",
+ "border_filepath": "data/layouts/UnknownMap_00_02/border.bin",
+ "blockdata_filepath": "data/layouts/UnknownMap_00_02/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNKNOWN_MAP_00_03",
+ "name": "UnknownMap_00_03_Layout",
+ "width": 14,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C44",
+ "border_filepath": "data/layouts/UnknownMap_00_03/border.bin",
+ "blockdata_filepath": "data/layouts/UnknownMap_00_03/map.bin"
+ },
+ {
+ "id": "LAYOUT_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE",
+ "name": "FuchsiaCity_SafariZone_Entrance_Layout",
+ "width": 9,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F14",
+ "border_filepath": "data/layouts/FuchsiaCity_SafariZone_Entrance/border.bin",
+ "blockdata_filepath": "data/layouts/FuchsiaCity_SafariZone_Entrance/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82D9B24",
+ "name": "UnusedLayout_82D9B24_Layout",
+ "width": 40,
+ "height": 40,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B6C",
+ "border_filepath": "data/layouts/UnusedLayout_82D9B24/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82D9B24/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DA7C8",
+ "name": "UnusedLayout_82DA7C8_Layout",
+ "width": 40,
+ "height": 40,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B6C",
+ "border_filepath": "data/layouts/UnusedLayout_82DA7C8/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DA7C8/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DB46C",
+ "name": "UnusedLayout_82DB46C_Layout",
+ "width": 40,
+ "height": 40,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B6C",
+ "border_filepath": "data/layouts/UnusedLayout_82DB46C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DB46C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DB4F0",
+ "name": "UnusedLayout_82DB4F0_Layout",
+ "width": 8,
+ "height": 6,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82DB4F0/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DB4F0/map.bin"
+ },
+ {},
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DBBE0",
+ "name": "UnusedLayout_82DBBE0_Layout",
+ "width": 29,
+ "height": 30,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4ADC",
+ "border_filepath": "data/layouts/UnusedLayout_82DBBE0/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DBBE0/map.bin"
+ },
+ {},
+ {},
+ {},
+ {},
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DBDD8",
+ "name": "UnusedLayout_82DBDD8_Layout",
+ "width": 18,
+ "height": 13,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4D94",
+ "border_filepath": "data/layouts/UnusedLayout_82DBDD8/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DBDD8/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DBFB8",
+ "name": "UnusedLayout_82DBFB8_Layout",
+ "width": 17,
+ "height": 13,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4D94",
+ "border_filepath": "data/layouts/UnusedLayout_82DBFB8/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DBFB8/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DC4EC",
+ "name": "UnusedLayout_82DC4EC_Layout",
+ "width": 36,
+ "height": 18,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4D94",
+ "border_filepath": "data/layouts/UnusedLayout_82DC4EC/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DC4EC/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DC60C",
+ "name": "UnusedLayout_82DC60C_Layout",
+ "width": 14,
+ "height": 9,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82DC60C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DC60C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DC72C",
+ "name": "UnusedLayout_82DC72C_Layout",
+ "width": 14,
+ "height": 9,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82DC72C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DC72C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DC84C",
+ "name": "UnusedLayout_82DC84C_Layout",
+ "width": 14,
+ "height": 9,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82DC84C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DC84C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DCA70",
+ "name": "UnusedLayout_82DCA70_Layout",
+ "width": 15,
+ "height": 17,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C44",
+ "border_filepath": "data/layouts/UnusedLayout_82DCA70/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DCA70/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DCB44",
+ "name": "UnusedLayout_82DCB44_Layout",
+ "width": 11,
+ "height": 8,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82DCB44/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DCB44/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DCC40",
+ "name": "UnusedLayout_82DCC40_Layout",
+ "width": 12,
+ "height": 9,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82DCC40/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DCC40/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DCCD4",
+ "name": "UnusedLayout_82DCCD4_Layout",
+ "width": 8,
+ "height": 7,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82DCCD4/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DCCD4/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DCD68",
+ "name": "UnusedLayout_82DCD68_Layout",
+ "width": 8,
+ "height": 7,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82DCD68/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DCD68/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DCDFC",
+ "name": "UnusedLayout_82DCDFC_Layout",
+ "width": 8,
+ "height": 7,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82DCDFC/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DCDFC/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DCF00",
+ "name": "UnusedLayout_82DCF00_Layout",
+ "width": 14,
+ "height": 8,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82DCF00/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DCF00/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DD004",
+ "name": "UnusedLayout_82DD004_Layout",
+ "width": 14,
+ "height": 8,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82DD004/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DD004/map.bin"
+ },
+ {},
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_82DD0DC",
+ "name": "UnusedLayout_82DD0DC_Layout",
+ "width": 10,
+ "height": 9,
+ "border_width": 0,
+ "border_height": 0,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CD4",
+ "border_filepath": "data/layouts/UnusedLayout_82DD0DC/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_82DD0DC/map.bin"
+ },
+ {
+ "id": "LAYOUT_PALLET_TOWN",
+ "name": "PalletTown_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AAC",
+ "border_filepath": "data/layouts/PalletTown/border.bin",
+ "blockdata_filepath": "data/layouts/PalletTown/map.bin"
+ },
+ {
+ "id": "LAYOUT_VIRIDIAN_CITY",
+ "name": "ViridianCity_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AC4",
+ "border_filepath": "data/layouts/ViridianCity/border.bin",
+ "blockdata_filepath": "data/layouts/ViridianCity/map.bin"
+ },
+ {
+ "id": "LAYOUT_PEWTER_CITY",
+ "name": "PewterCity_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4ADC",
+ "border_filepath": "data/layouts/PewterCity/border.bin",
+ "blockdata_filepath": "data/layouts/PewterCity/map.bin"
+ },
+ {
+ "id": "LAYOUT_CERULEAN_CITY",
+ "name": "CeruleanCity_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AF4",
+ "border_filepath": "data/layouts/CeruleanCity/border.bin",
+ "blockdata_filepath": "data/layouts/CeruleanCity/map.bin"
+ },
+ {
+ "id": "LAYOUT_LAVENDER_TOWN",
+ "name": "LavenderTown_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B0C",
+ "border_filepath": "data/layouts/LavenderTown/border.bin",
+ "blockdata_filepath": "data/layouts/LavenderTown/map.bin"
+ },
+ {
+ "id": "LAYOUT_VERMILION_CITY",
+ "name": "VermilionCity_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B24",
+ "border_filepath": "data/layouts/VermilionCity/border.bin",
+ "blockdata_filepath": "data/layouts/VermilionCity/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY",
+ "name": "CeladonCity_Layout",
+ "width": 60,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B3C",
+ "border_filepath": "data/layouts/CeladonCity/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity/map.bin"
+ },
+ {
+ "id": "LAYOUT_FUCHSIA_CITY",
+ "name": "FuchsiaCity_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B54",
+ "border_filepath": "data/layouts/FuchsiaCity/border.bin",
+ "blockdata_filepath": "data/layouts/FuchsiaCity/map.bin"
+ },
+ {
+ "id": "LAYOUT_CINNABAR_ISLAND",
+ "name": "CinnabarIsland_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B6C",
+ "border_filepath": "data/layouts/CinnabarIsland/border.bin",
+ "blockdata_filepath": "data/layouts/CinnabarIsland/map.bin"
+ },
+ {
+ "id": "LAYOUT_INDIGO_PLATEAU_EXTERIOR",
+ "name": "IndigoPlateau_Exterior_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B84",
+ "border_filepath": "data/layouts/IndigoPlateau_Exterior/border.bin",
+ "blockdata_filepath": "data/layouts/IndigoPlateau_Exterior/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFFRON_CITY",
+ "name": "SaffronCity_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B9C",
+ "border_filepath": "data/layouts/SaffronCity/border.bin",
+ "blockdata_filepath": "data/layouts/SaffronCity/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE1",
+ "name": "Route1_Layout",
+ "width": 24,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AAC",
+ "border_filepath": "data/layouts/Route1/border.bin",
+ "blockdata_filepath": "data/layouts/Route1/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE2",
+ "name": "Route2_Layout",
+ "width": 24,
+ "height": 80,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AC4",
+ "border_filepath": "data/layouts/Route2/border.bin",
+ "blockdata_filepath": "data/layouts/Route2/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE3",
+ "name": "Route3_Layout",
+ "width": 84,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4ADC",
+ "border_filepath": "data/layouts/Route3/border.bin",
+ "blockdata_filepath": "data/layouts/Route3/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE4",
+ "name": "Route4_Layout",
+ "width": 108,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AF4",
+ "border_filepath": "data/layouts/Route4/border.bin",
+ "blockdata_filepath": "data/layouts/Route4/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE5",
+ "name": "Route5_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AF4",
+ "border_filepath": "data/layouts/Route5/border.bin",
+ "blockdata_filepath": "data/layouts/Route5/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE6",
+ "name": "Route6_Layout",
+ "width": 24,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B24",
+ "border_filepath": "data/layouts/Route6/border.bin",
+ "blockdata_filepath": "data/layouts/Route6/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE7",
+ "name": "Route7_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B3C",
+ "border_filepath": "data/layouts/Route7/border.bin",
+ "blockdata_filepath": "data/layouts/Route7/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE8",
+ "name": "Route8_Layout",
+ "width": 72,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B0C",
+ "border_filepath": "data/layouts/Route8/border.bin",
+ "blockdata_filepath": "data/layouts/Route8/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE9",
+ "name": "Route9_Layout",
+ "width": 72,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AF4",
+ "border_filepath": "data/layouts/Route9/border.bin",
+ "blockdata_filepath": "data/layouts/Route9/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE10",
+ "name": "Route10_Layout",
+ "width": 24,
+ "height": 80,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B0C",
+ "border_filepath": "data/layouts/Route10/border.bin",
+ "blockdata_filepath": "data/layouts/Route10/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE11",
+ "name": "Route11_Layout",
+ "width": 72,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B24",
+ "border_filepath": "data/layouts/Route11/border.bin",
+ "blockdata_filepath": "data/layouts/Route11/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE12",
+ "name": "Route12_Layout",
+ "width": 24,
+ "height": 120,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B0C",
+ "border_filepath": "data/layouts/Route12/border.bin",
+ "blockdata_filepath": "data/layouts/Route12/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE13",
+ "name": "Route13_Layout",
+ "width": 72,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B0C",
+ "border_filepath": "data/layouts/Route13/border.bin",
+ "blockdata_filepath": "data/layouts/Route13/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE14",
+ "name": "Route14_Layout",
+ "width": 24,
+ "height": 60,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B0C",
+ "border_filepath": "data/layouts/Route14/border.bin",
+ "blockdata_filepath": "data/layouts/Route14/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE15",
+ "name": "Route15_Layout",
+ "width": 72,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B54",
+ "border_filepath": "data/layouts/Route15/border.bin",
+ "blockdata_filepath": "data/layouts/Route15/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE16",
+ "name": "Route16_Layout",
+ "width": 48,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B3C",
+ "border_filepath": "data/layouts/Route16/border.bin",
+ "blockdata_filepath": "data/layouts/Route16/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE17",
+ "name": "Route17_Layout",
+ "width": 24,
+ "height": 160,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B3C",
+ "border_filepath": "data/layouts/Route17/border.bin",
+ "blockdata_filepath": "data/layouts/Route17/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE18",
+ "name": "Route18_Layout",
+ "width": 60,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B3C",
+ "border_filepath": "data/layouts/Route18/border.bin",
+ "blockdata_filepath": "data/layouts/Route18/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE19",
+ "name": "Route19_Layout",
+ "width": 24,
+ "height": 60,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B54",
+ "border_filepath": "data/layouts/Route19/border.bin",
+ "blockdata_filepath": "data/layouts/Route19/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE20",
+ "name": "Route20_Layout",
+ "width": 120,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B6C",
+ "border_filepath": "data/layouts/Route20/border.bin",
+ "blockdata_filepath": "data/layouts/Route20/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE21_NORTH",
+ "name": "Route21_North_Layout",
+ "width": 24,
+ "height": 50,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AAC",
+ "border_filepath": "data/layouts/Route21_North/border.bin",
+ "blockdata_filepath": "data/layouts/Route21_North/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE22",
+ "name": "Route22_Layout",
+ "width": 48,
+ "height": 24,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AC4",
+ "border_filepath": "data/layouts/Route22/border.bin",
+ "blockdata_filepath": "data/layouts/Route22/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE23",
+ "name": "Route23_Layout",
+ "width": 24,
+ "height": 160,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B84",
+ "border_filepath": "data/layouts/Route23/border.bin",
+ "blockdata_filepath": "data/layouts/Route23/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE24",
+ "name": "Route24_Layout",
+ "width": 24,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AF4",
+ "border_filepath": "data/layouts/Route24/border.bin",
+ "blockdata_filepath": "data/layouts/Route24/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE25",
+ "name": "Route25_Layout",
+ "width": 72,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AF4",
+ "border_filepath": "data/layouts/Route25/border.bin",
+ "blockdata_filepath": "data/layouts/Route25/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_MOON_1F",
+ "name": "MtMoon_1F_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/MtMoon_1F/border.bin",
+ "blockdata_filepath": "data/layouts/MtMoon_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_MOON_B1F",
+ "name": "MtMoon_B1F_Layout",
+ "width": 49,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/MtMoon_B1F/border.bin",
+ "blockdata_filepath": "data/layouts/MtMoon_B1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_MOON_B2F",
+ "name": "MtMoon_B2F_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/MtMoon_B2F/border.bin",
+ "blockdata_filepath": "data/layouts/MtMoon_B2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_VIRIDIAN_FOREST",
+ "name": "ViridianForest_Layout",
+ "width": 54,
+ "height": 69,
+ "border_width": 3,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4DC4",
+ "border_filepath": "data/layouts/ViridianForest/border.bin",
+ "blockdata_filepath": "data/layouts/ViridianForest/map.bin"
+ },
+ {
+ "id": "LAYOUT_SSANNE_EXTERIOR",
+ "name": "SSAnne_Exterior_Layout",
+ "width": 70,
+ "height": 32,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B24",
+ "border_filepath": "data/layouts/SSAnne_Exterior/border.bin",
+ "blockdata_filepath": "data/layouts/SSAnne_Exterior/map.bin"
+ },
+ {
+ "id": "LAYOUT_SSANNE_1F_CORRIDOR",
+ "name": "SSAnne_1F_Corridor_Layout",
+ "width": 31,
+ "height": 21,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4D94",
+ "border_filepath": "data/layouts/SSAnne_1F_Corridor/border.bin",
+ "blockdata_filepath": "data/layouts/SSAnne_1F_Corridor/map.bin"
+ },
+ {
+ "id": "LAYOUT_SSANNE_2F_CORRIDOR",
+ "name": "SSAnne_2F_Corridor_Layout",
+ "width": 34,
+ "height": 16,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4D94",
+ "border_filepath": "data/layouts/SSAnne_2F_Corridor/border.bin",
+ "blockdata_filepath": "data/layouts/SSAnne_2F_Corridor/map.bin"
+ },
+ {
+ "id": "LAYOUT_SSANNE_3F_CORRIDOR",
+ "name": "SSAnne_3F_Corridor_Layout",
+ "width": 22,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4D94",
+ "border_filepath": "data/layouts/SSAnne_3F_Corridor/border.bin",
+ "blockdata_filepath": "data/layouts/SSAnne_3F_Corridor/map.bin"
+ },
+ {
+ "id": "LAYOUT_SSANNE_B1F_CORRIDOR",
+ "name": "SSAnne_B1F_Corridor_Layout",
+ "width": 23,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4D94",
+ "border_filepath": "data/layouts/SSAnne_B1F_Corridor/border.bin",
+ "blockdata_filepath": "data/layouts/SSAnne_B1F_Corridor/map.bin"
+ },
+ {
+ "id": "LAYOUT_SSANNE_DECK",
+ "name": "SSAnne_Deck_Layout",
+ "width": 24,
+ "height": 19,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4D94",
+ "border_filepath": "data/layouts/SSAnne_Deck/border.bin",
+ "blockdata_filepath": "data/layouts/SSAnne_Deck/map.bin"
+ },
+ {
+ "id": "LAYOUT_DIGLETTS_CAVE_B1F",
+ "name": "DiglettsCave_B1F_Layout",
+ "width": 85,
+ "height": 80,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E0C",
+ "border_filepath": "data/layouts/DiglettsCave_B1F/border.bin",
+ "blockdata_filepath": "data/layouts/DiglettsCave_B1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_VICTORY_ROAD_1F",
+ "name": "VictoryRoad_1F_Layout",
+ "width": 48,
+ "height": 22,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/VictoryRoad_1F/border.bin",
+ "blockdata_filepath": "data/layouts/VictoryRoad_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_VICTORY_ROAD_2F",
+ "name": "VictoryRoad_2F_Layout",
+ "width": 51,
+ "height": 22,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/VictoryRoad_2F/border.bin",
+ "blockdata_filepath": "data/layouts/VictoryRoad_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_VICTORY_ROAD_3F",
+ "name": "VictoryRoad_3F_Layout",
+ "width": 45,
+ "height": 22,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/VictoryRoad_3F/border.bin",
+ "blockdata_filepath": "data/layouts/VictoryRoad_3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROCKET_HIDEOUT_B1F",
+ "name": "RocketHideout_B1F_Layout",
+ "width": 28,
+ "height": 34,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/RocketHideout_B1F/border.bin",
+ "blockdata_filepath": "data/layouts/RocketHideout_B1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROCKET_HIDEOUT_B2F",
+ "name": "RocketHideout_B2F_Layout",
+ "width": 32,
+ "height": 22,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/RocketHideout_B2F/border.bin",
+ "blockdata_filepath": "data/layouts/RocketHideout_B2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROCKET_HIDEOUT_B3F",
+ "name": "RocketHideout_B3F_Layout",
+ "width": 22,
+ "height": 27,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/RocketHideout_B3F/border.bin",
+ "blockdata_filepath": "data/layouts/RocketHideout_B3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROCKET_HIDEOUT_B4F",
+ "name": "RocketHideout_B4F_Layout",
+ "width": 24,
+ "height": 26,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/RocketHideout_B4F/border.bin",
+ "blockdata_filepath": "data/layouts/RocketHideout_B4F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SILPH_CO_1F",
+ "name": "SilphCo_1F_Layout",
+ "width": 36,
+ "height": 22,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SilphCo_1F/border.bin",
+ "blockdata_filepath": "data/layouts/SilphCo_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SILPH_CO_2F",
+ "name": "SilphCo_2F_Layout",
+ "width": 36,
+ "height": 22,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SilphCo_2F/border.bin",
+ "blockdata_filepath": "data/layouts/SilphCo_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SILPH_CO_3F",
+ "name": "SilphCo_3F_Layout",
+ "width": 36,
+ "height": 22,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SilphCo_3F/border.bin",
+ "blockdata_filepath": "data/layouts/SilphCo_3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SILPH_CO_4F",
+ "name": "SilphCo_4F_Layout",
+ "width": 36,
+ "height": 22,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SilphCo_4F/border.bin",
+ "blockdata_filepath": "data/layouts/SilphCo_4F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SILPH_CO_5F",
+ "name": "SilphCo_5F_Layout",
+ "width": 36,
+ "height": 22,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SilphCo_5F/border.bin",
+ "blockdata_filepath": "data/layouts/SilphCo_5F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SILPH_CO_6F",
+ "name": "SilphCo_6F_Layout",
+ "width": 31,
+ "height": 19,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SilphCo_6F/border.bin",
+ "blockdata_filepath": "data/layouts/SilphCo_6F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SILPH_CO_7F",
+ "name": "SilphCo_7F_Layout",
+ "width": 31,
+ "height": 19,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SilphCo_7F/border.bin",
+ "blockdata_filepath": "data/layouts/SilphCo_7F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SILPH_CO_8F",
+ "name": "SilphCo_8F_Layout",
+ "width": 31,
+ "height": 19,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SilphCo_8F/border.bin",
+ "blockdata_filepath": "data/layouts/SilphCo_8F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SILPH_CO_9F",
+ "name": "SilphCo_9F_Layout",
+ "width": 31,
+ "height": 19,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SilphCo_9F/border.bin",
+ "blockdata_filepath": "data/layouts/SilphCo_9F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SILPH_CO_10F",
+ "name": "SilphCo_10F_Layout",
+ "width": 17,
+ "height": 19,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SilphCo_10F/border.bin",
+ "blockdata_filepath": "data/layouts/SilphCo_10F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SILPH_CO_11F",
+ "name": "SilphCo_11F_Layout",
+ "width": 17,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SilphCo_11F/border.bin",
+ "blockdata_filepath": "data/layouts/SilphCo_11F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_MANSION_1F",
+ "name": "PokemonMansion_1F_Layout",
+ "width": 38,
+ "height": 35,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F2C",
+ "border_filepath": "data/layouts/PokemonMansion_1F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonMansion_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_MANSION_2F",
+ "name": "PokemonMansion_2F_Layout",
+ "width": 38,
+ "height": 38,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F2C",
+ "border_filepath": "data/layouts/PokemonMansion_2F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonMansion_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_MANSION_3F",
+ "name": "PokemonMansion_3F_Layout",
+ "width": 38,
+ "height": 35,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F2C",
+ "border_filepath": "data/layouts/PokemonMansion_3F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonMansion_3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_MANSION_B1F",
+ "name": "PokemonMansion_B1F_Layout",
+ "width": 38,
+ "height": 35,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F2C",
+ "border_filepath": "data/layouts/PokemonMansion_B1F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonMansion_B1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFARI_ZONE_CENTER",
+ "name": "SafariZone_Center_Layout",
+ "width": 51,
+ "height": 36,
+ "border_width": 3,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B54",
+ "border_filepath": "data/layouts/SafariZone_Center/border.bin",
+ "blockdata_filepath": "data/layouts/SafariZone_Center/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFARI_ZONE_EAST",
+ "name": "SafariZone_East_Layout",
+ "width": 54,
+ "height": 35,
+ "border_width": 3,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B54",
+ "border_filepath": "data/layouts/SafariZone_East/border.bin",
+ "blockdata_filepath": "data/layouts/SafariZone_East/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFARI_ZONE_NORTH",
+ "name": "SafariZone_North_Layout",
+ "width": 57,
+ "height": 40,
+ "border_width": 3,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B54",
+ "border_filepath": "data/layouts/SafariZone_North/border.bin",
+ "blockdata_filepath": "data/layouts/SafariZone_North/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFARI_ZONE_WEST",
+ "name": "SafariZone_West_Layout",
+ "width": 48,
+ "height": 36,
+ "border_width": 3,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B54",
+ "border_filepath": "data/layouts/SafariZone_West/border.bin",
+ "blockdata_filepath": "data/layouts/SafariZone_West/map.bin"
+ },
+ {
+ "id": "LAYOUT_CERULEAN_CAVE_1F",
+ "name": "CeruleanCave_1F_Layout",
+ "width": 40,
+ "height": 23,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E54",
+ "border_filepath": "data/layouts/CeruleanCave_1F/border.bin",
+ "blockdata_filepath": "data/layouts/CeruleanCave_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_CERULEAN_CAVE_2F",
+ "name": "CeruleanCave_2F_Layout",
+ "width": 40,
+ "height": 23,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E54",
+ "border_filepath": "data/layouts/CeruleanCave_2F/border.bin",
+ "blockdata_filepath": "data/layouts/CeruleanCave_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_CERULEAN_CAVE_B1F",
+ "name": "CeruleanCave_B1F_Layout",
+ "width": 40,
+ "height": 23,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E54",
+ "border_filepath": "data/layouts/CeruleanCave_B1F/border.bin",
+ "blockdata_filepath": "data/layouts/CeruleanCave_B1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROCK_TUNNEL_1F",
+ "name": "RockTunnel_1F_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4DF4",
+ "border_filepath": "data/layouts/RockTunnel_1F/border.bin",
+ "blockdata_filepath": "data/layouts/RockTunnel_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROCK_TUNNEL_B1F",
+ "name": "RockTunnel_B1F_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4DF4",
+ "border_filepath": "data/layouts/RockTunnel_B1F/border.bin",
+ "blockdata_filepath": "data/layouts/RockTunnel_B1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEAFOAM_ISLANDS_1F",
+ "name": "SeafoamIslands_1F_Layout",
+ "width": 38,
+ "height": 24,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E24",
+ "border_filepath": "data/layouts/SeafoamIslands_1F/border.bin",
+ "blockdata_filepath": "data/layouts/SeafoamIslands_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEAFOAM_ISLANDS_B1F",
+ "name": "SeafoamIslands_B1F_Layout",
+ "width": 38,
+ "height": 23,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E24",
+ "border_filepath": "data/layouts/SeafoamIslands_B1F/border.bin",
+ "blockdata_filepath": "data/layouts/SeafoamIslands_B1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEAFOAM_ISLANDS_B2F",
+ "name": "SeafoamIslands_B2F_Layout",
+ "width": 38,
+ "height": 24,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E24",
+ "border_filepath": "data/layouts/SeafoamIslands_B2F/border.bin",
+ "blockdata_filepath": "data/layouts/SeafoamIslands_B2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEAFOAM_ISLANDS_B3F",
+ "name": "SeafoamIslands_B3F_Layout",
+ "width": 38,
+ "height": 24,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E24",
+ "border_filepath": "data/layouts/SeafoamIslands_B3F/border.bin",
+ "blockdata_filepath": "data/layouts/SeafoamIslands_B3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEAFOAM_ISLANDS_B4F",
+ "name": "SeafoamIslands_B4F_Layout",
+ "width": 38,
+ "height": 24,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E24",
+ "border_filepath": "data/layouts/SeafoamIslands_B4F/border.bin",
+ "blockdata_filepath": "data/layouts/SeafoamIslands_B4F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_TOWER_1F",
+ "name": "PokemonTower_1F_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4EFC",
+ "border_filepath": "data/layouts/PokemonTower_1F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonTower_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_TOWER_2F",
+ "name": "PokemonTower_2F_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4EFC",
+ "border_filepath": "data/layouts/PokemonTower_2F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonTower_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_TOWER_3F",
+ "name": "PokemonTower_3F_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4EFC",
+ "border_filepath": "data/layouts/PokemonTower_3F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonTower_3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_TOWER_4F",
+ "name": "PokemonTower_4F_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4EFC",
+ "border_filepath": "data/layouts/PokemonTower_4F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonTower_4F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_TOWER_5F",
+ "name": "PokemonTower_5F_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4EFC",
+ "border_filepath": "data/layouts/PokemonTower_5F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonTower_5F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_TOWER_6F",
+ "name": "PokemonTower_6F_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4EFC",
+ "border_filepath": "data/layouts/PokemonTower_6F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonTower_6F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_TOWER_7F",
+ "name": "PokemonTower_7F_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4EFC",
+ "border_filepath": "data/layouts/PokemonTower_7F/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonTower_7F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POWER_PLANT",
+ "name": "PowerPlant_Layout",
+ "width": 49,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E9C",
+ "border_filepath": "data/layouts/PowerPlant/border.bin",
+ "blockdata_filepath": "data/layouts/PowerPlant/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE25_SEA_COTTAGE",
+ "name": "Route25_SeaCottage_Layout",
+ "width": 15,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4EB4",
+ "border_filepath": "data/layouts/Route25_SeaCottage/border.bin",
+ "blockdata_filepath": "data/layouts/Route25_SeaCottage/map.bin"
+ },
+ {
+ "id": "LAYOUT_SSANNE_KITCHEN",
+ "name": "SSAnne_Kitchen_Layout",
+ "width": 16,
+ "height": 14,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4D94",
+ "border_filepath": "data/layouts/SSAnne_Kitchen/border.bin",
+ "blockdata_filepath": "data/layouts/SSAnne_Kitchen/map.bin"
+ },
+ {
+ "id": "LAYOUT_SSANNE_CAPTAINS_OFFICE",
+ "name": "SSAnne_CaptainsOffice_Layout",
+ "width": 9,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4D94",
+ "border_filepath": "data/layouts/SSAnne_CaptainsOffice/border.bin",
+ "blockdata_filepath": "data/layouts/SSAnne_CaptainsOffice/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNDERGROUND_PATH_ENTRANCE",
+ "name": "UndergroundPath_Entrance_Layout",
+ "width": 13,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/UndergroundPath_Entrance/border.bin",
+ "blockdata_filepath": "data/layouts/UndergroundPath_Entrance/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNDERGROUND_PATH_EAST_WEST_TUNNEL",
+ "name": "UndergroundPath_EastWestTunnel_Layout",
+ "width": 80,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4EE4",
+ "border_filepath": "data/layouts/UndergroundPath_EastWestTunnel/border.bin",
+ "blockdata_filepath": "data/layouts/UndergroundPath_EastWestTunnel/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNDERGROUND_PATH_NORTH_SOUTH_TUNNEL",
+ "name": "UndergroundPath_NorthSouthTunnel_Layout",
+ "width": 8,
+ "height": 63,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4EE4",
+ "border_filepath": "data/layouts/UndergroundPath_NorthSouthTunnel/border.bin",
+ "blockdata_filepath": "data/layouts/UndergroundPath_NorthSouthTunnel/map.bin"
+ },
+ {},
+ {
+ "id": "LAYOUT_ROUTE12_NORTH_ENTRANCE_1F",
+ "name": "Route12_NorthEntrance_1F_Layout",
+ "width": 11,
+ "height": 13,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/Route12_NorthEntrance_1F/border.bin",
+ "blockdata_filepath": "data/layouts/Route12_NorthEntrance_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SSANNE_ROOM1",
+ "name": "SSAnne_Room1_Layout",
+ "width": 6,
+ "height": 8,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4D94",
+ "border_filepath": "data/layouts/SSAnne_Room1/border.bin",
+ "blockdata_filepath": "data/layouts/SSAnne_Room1/map.bin"
+ },
+ {
+ "id": "LAYOUT_SSANNE_ROOM2",
+ "name": "SSAnne_Room2_Layout",
+ "width": 6,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4D94",
+ "border_filepath": "data/layouts/SSAnne_Room2/border.bin",
+ "blockdata_filepath": "data/layouts/SSAnne_Room2/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
+ "name": "CeladonCity_DepartmentStore_Elevator_Layout",
+ "width": 5,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/CeladonCity_DepartmentStore_Elevator/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_DepartmentStore_Elevator/map.bin"
+ },
+ {
+ "id": "LAYOUT_PEWTER_CITY_MUSEUM_1F",
+ "name": "PewterCity_Museum_1F_Layout",
+ "width": 28,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C2C",
+ "border_filepath": "data/layouts/PewterCity_Museum_1F/border.bin",
+ "blockdata_filepath": "data/layouts/PewterCity_Museum_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_PEWTER_CITY_MUSEUM_2F",
+ "name": "PewterCity_Museum_2F_Layout",
+ "width": 19,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C2C",
+ "border_filepath": "data/layouts/PewterCity_Museum_2F/border.bin",
+ "blockdata_filepath": "data/layouts/PewterCity_Museum_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_CERULEAN_CITY_HOUSE2",
+ "name": "CeruleanCity_House2_Layout",
+ "width": 10,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4FA4",
+ "border_filepath": "data/layouts/CeruleanCity_House2/border.bin",
+ "blockdata_filepath": "data/layouts/CeruleanCity_House2/map.bin"
+ },
+ {
+ "id": "LAYOUT_CERULEAN_CITY_HOUSE1",
+ "name": "CeruleanCity_House1_Layout",
+ "width": 10,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/CeruleanCity_House1/border.bin",
+ "blockdata_filepath": "data/layouts/CeruleanCity_House1/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_CONDOMINIUMS_1F",
+ "name": "CeladonCity_Condominiums_1F_Layout",
+ "width": 15,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F8C",
+ "border_filepath": "data/layouts/CeladonCity_Condominiums_1F/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_Condominiums_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_CONDOMINIUMS_2F",
+ "name": "CeladonCity_Condominiums_2F_Layout",
+ "width": 15,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F8C",
+ "border_filepath": "data/layouts/CeladonCity_Condominiums_2F/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_Condominiums_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_CONDOMINIUMS_3F",
+ "name": "CeladonCity_Condominiums_3F_Layout",
+ "width": 15,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F8C",
+ "border_filepath": "data/layouts/CeladonCity_Condominiums_3F/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_Condominiums_3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_CONDOMINIUMS_ROOF",
+ "name": "CeladonCity_Condominiums_Roof_Layout",
+ "width": 14,
+ "height": 23,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F8C",
+ "border_filepath": "data/layouts/CeladonCity_Condominiums_Roof/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_Condominiums_Roof/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_CONDOMINIUMS_ROOF_ROOM",
+ "name": "CeladonCity_Condominiums_RoofRoom_Layout",
+ "width": 10,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F5C",
+ "border_filepath": "data/layouts/CeladonCity_Condominiums_RoofRoom/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_Condominiums_RoofRoom/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_GAME_CORNER_PRIZE_ROOM",
+ "name": "CeladonCity_GameCorner_PrizeRoom_Layout",
+ "width": 9,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CEC",
+ "border_filepath": "data/layouts/CeladonCity_GameCorner_PrizeRoom/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_GameCorner_PrizeRoom/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_RESTAURANT",
+ "name": "CeladonCity_Restaurant_Layout",
+ "width": 15,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F44",
+ "border_filepath": "data/layouts/CeladonCity_Restaurant/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_Restaurant/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_HOTEL",
+ "name": "CeladonCity_Hotel_Layout",
+ "width": 17,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F44",
+ "border_filepath": "data/layouts/CeladonCity_Hotel/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_Hotel/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_1F",
+ "name": "CeladonCity_DepartmentStore_1F_Layout",
+ "width": 13,
+ "height": 16,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E6C",
+ "border_filepath": "data/layouts/CeladonCity_DepartmentStore_1F/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_DepartmentStore_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_2F",
+ "name": "CeladonCity_DepartmentStore_2F_Layout",
+ "width": 13,
+ "height": 15,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E6C",
+ "border_filepath": "data/layouts/CeladonCity_DepartmentStore_2F/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_DepartmentStore_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_3F",
+ "name": "CeladonCity_DepartmentStore_3F_Layout",
+ "width": 13,
+ "height": 15,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E6C",
+ "border_filepath": "data/layouts/CeladonCity_DepartmentStore_3F/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_DepartmentStore_3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_4F",
+ "name": "CeladonCity_DepartmentStore_4F_Layout",
+ "width": 13,
+ "height": 15,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E6C",
+ "border_filepath": "data/layouts/CeladonCity_DepartmentStore_4F/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_DepartmentStore_4F/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_5F",
+ "name": "CeladonCity_DepartmentStore_5F_Layout",
+ "width": 13,
+ "height": 15,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E6C",
+ "border_filepath": "data/layouts/CeladonCity_DepartmentStore_5F/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_DepartmentStore_5F/map.bin"
+ },
+ {
+ "id": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_ROOF",
+ "name": "CeladonCity_DepartmentStore_Roof_Layout",
+ "width": 19,
+ "height": 14,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E6C",
+ "border_filepath": "data/layouts/CeladonCity_DepartmentStore_Roof/border.bin",
+ "blockdata_filepath": "data/layouts/CeladonCity_DepartmentStore_Roof/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFARI_ZONE_BUILDING",
+ "name": "SafariZone_Building_Layout",
+ "width": 13,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F14",
+ "border_filepath": "data/layouts/SafariZone_Building/border.bin",
+ "blockdata_filepath": "data/layouts/SafariZone_Building/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFARI_ZONE_SECRET_HOUSE",
+ "name": "SafariZone_SecretHouse_Layout",
+ "width": 13,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F14",
+ "border_filepath": "data/layouts/SafariZone_SecretHouse/border.bin",
+ "blockdata_filepath": "data/layouts/SafariZone_SecretHouse/map.bin"
+ },
+ {
+ "id": "LAYOUT_FUCHSIA_CITY_ZOO_BUILDING",
+ "name": "FuchsiaCity_ZooBuilding_Layout",
+ "width": 20,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F14",
+ "border_filepath": "data/layouts/FuchsiaCity_ZooBuilding/border.bin",
+ "blockdata_filepath": "data/layouts/FuchsiaCity_ZooBuilding/map.bin"
+ },
+ {
+ "id": "LAYOUT_FUCHSIA_CITY_BUILDING1",
+ "name": "FuchsiaCity_Building1_Layout",
+ "width": 13,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C2C",
+ "border_filepath": "data/layouts/FuchsiaCity_Building1/border.bin",
+ "blockdata_filepath": "data/layouts/FuchsiaCity_Building1/map.bin"
+ },
+ {
+ "id": "LAYOUT_FUCHSIA_CITY_HOUSE2",
+ "name": "FuchsiaCity_House2_Layout",
+ "width": 10,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C2C",
+ "border_filepath": "data/layouts/FuchsiaCity_House2/border.bin",
+ "blockdata_filepath": "data/layouts/FuchsiaCity_House2/map.bin"
+ },
+ {
+ "id": "LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
+ "name": "CinnabarIsland_PokemonLab_Entrance_Layout",
+ "width": 28,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C8C",
+ "border_filepath": "data/layouts/CinnabarIsland_PokemonLab_Entrance/border.bin",
+ "blockdata_filepath": "data/layouts/CinnabarIsland_PokemonLab_Entrance/map.bin"
+ },
+ {
+ "id": "LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_LOUNGE",
+ "name": "CinnabarIsland_PokemonLab_Lounge_Layout",
+ "width": 15,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C8C",
+ "border_filepath": "data/layouts/CinnabarIsland_PokemonLab_Lounge/border.bin",
+ "blockdata_filepath": "data/layouts/CinnabarIsland_PokemonLab_Lounge/map.bin"
+ },
+ {
+ "id": "LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_RESEARCH_ROOM",
+ "name": "CinnabarIsland_PokemonLab_ResearchRoom_Layout",
+ "width": 15,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C8C",
+ "border_filepath": "data/layouts/CinnabarIsland_PokemonLab_ResearchRoom/border.bin",
+ "blockdata_filepath": "data/layouts/CinnabarIsland_PokemonLab_ResearchRoom/map.bin"
+ },
+ {
+ "id": "LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_EXPERIMENT_ROOM",
+ "name": "CinnabarIsland_PokemonLab_ExperimentRoom_Layout",
+ "width": 15,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C8C",
+ "border_filepath": "data/layouts/CinnabarIsland_PokemonLab_ExperimentRoom/border.bin",
+ "blockdata_filepath": "data/layouts/CinnabarIsland_PokemonLab_ExperimentRoom/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFFRON_CITY_DUPLICATE",
+ "name": "SaffronCity_Duplicate_Layout",
+ "width": 66,
+ "height": 55,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B9C",
+ "border_filepath": "data/layouts/SaffronCity_Duplicate/border.bin",
+ "blockdata_filepath": "data/layouts/SaffronCity_Duplicate/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFFRON_CITY_NORTH_SOUTH_ENTRANCE",
+ "name": "SaffronCity_NorthSouthEntrance_Layout",
+ "width": 9,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/SaffronCity_NorthSouthEntrance/border.bin",
+ "blockdata_filepath": "data/layouts/SaffronCity_NorthSouthEntrance/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFFRON_CITY_EAST_WEST_ENTRANCE",
+ "name": "SaffronCity_EastWestEntrance_Layout",
+ "width": 13,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/SaffronCity_EastWestEntrance/border.bin",
+ "blockdata_filepath": "data/layouts/SaffronCity_EastWestEntrance/map.bin"
+ },
+ {
+ "id": "LAYOUT_DIGLETTS_CAVE_NORTH_ENTRANCE",
+ "name": "DiglettsCave_NorthEntrance_Layout",
+ "width": 10,
+ "height": 8,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E0C",
+ "border_filepath": "data/layouts/DiglettsCave_NorthEntrance/border.bin",
+ "blockdata_filepath": "data/layouts/DiglettsCave_NorthEntrance/map.bin"
+ },
+ {
+ "id": "LAYOUT_DIGLETTS_CAVE_SOUTH_ENTRANCE",
+ "name": "DiglettsCave_SouthEntrance_Layout",
+ "width": 10,
+ "height": 8,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E0C",
+ "border_filepath": "data/layouts/DiglettsCave_SouthEntrance/border.bin",
+ "blockdata_filepath": "data/layouts/DiglettsCave_SouthEntrance/map.bin"
+ },
+ {
+ "id": "LAYOUT_INDIGO_PLATEAU_POKEMON_CENTER_1F",
+ "name": "IndigoPlateau_PokemonCenter_1F_Layout",
+ "width": 25,
+ "height": 18,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4BE4",
+ "border_filepath": "data/layouts/IndigoPlateau_PokemonCenter_1F/border.bin",
+ "blockdata_filepath": "data/layouts/IndigoPlateau_PokemonCenter_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_LEAGUE_LORELEIS_ROOM",
+ "name": "PokemonLeague_LoreleisRoom_Layout",
+ "width": 13,
+ "height": 13,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D50C4",
+ "border_filepath": "data/layouts/PokemonLeague_LoreleisRoom/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonLeague_LoreleisRoom/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_LEAGUE_BRUNOS_ROOM",
+ "name": "PokemonLeague_BrunosRoom_Layout",
+ "width": 13,
+ "height": 13,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D50C4",
+ "border_filepath": "data/layouts/PokemonLeague_BrunosRoom/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonLeague_BrunosRoom/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_LEAGUE_AGATHAS_ROOM",
+ "name": "PokemonLeague_AgathasRoom_Layout",
+ "width": 13,
+ "height": 13,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D50C4",
+ "border_filepath": "data/layouts/PokemonLeague_AgathasRoom/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonLeague_AgathasRoom/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_LEAGUE_LANCES_ROOM",
+ "name": "PokemonLeague_LancesRoom_Layout",
+ "width": 28,
+ "height": 24,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D50C4",
+ "border_filepath": "data/layouts/PokemonLeague_LancesRoom/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonLeague_LancesRoom/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_LEAGUE_CHAMPIONS_ROOM",
+ "name": "PokemonLeague_ChampionsRoom_Layout",
+ "width": 13,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D50C4",
+ "border_filepath": "data/layouts/PokemonLeague_ChampionsRoom/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonLeague_ChampionsRoom/map.bin"
+ },
+ {
+ "id": "LAYOUT_POKEMON_LEAGUE_HALL_OF_FAME",
+ "name": "PokemonLeague_HallOfFame_Layout",
+ "width": 11,
+ "height": 13,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D50DC",
+ "border_filepath": "data/layouts/PokemonLeague_HallOfFame/border.bin",
+ "blockdata_filepath": "data/layouts/PokemonLeague_HallOfFame/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE21_SOUTH",
+ "name": "Route21_South_Layout",
+ "width": 24,
+ "height": 50,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B6C",
+ "border_filepath": "data/layouts/Route21_South/border.bin",
+ "blockdata_filepath": "data/layouts/Route21_South/map.bin"
+ },
+ {
+ "id": "LAYOUT_ENTRANCE_2F",
+ "name": "Entrance_2F_Layout",
+ "width": 13,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/Entrance_2F/border.bin",
+ "blockdata_filepath": "data/layouts/Entrance_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE2_ENTRANCE",
+ "name": "Route2_Entrance_Layout",
+ "width": 15,
+ "height": 12,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/Route2_Entrance/border.bin",
+ "blockdata_filepath": "data/layouts/Route2_Entrance/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE22_NORTH_ENTRANCE",
+ "name": "Route22_NorthEntrance_Layout",
+ "width": 15,
+ "height": 12,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/Route22_NorthEntrance/border.bin",
+ "blockdata_filepath": "data/layouts/Route22_NorthEntrance/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE16_NORTH_ENTRANCE_1F",
+ "name": "Route16_NorthEntrance_1F_Layout",
+ "width": 13,
+ "height": 18,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/Route16_NorthEntrance_1F/border.bin",
+ "blockdata_filepath": "data/layouts/Route16_NorthEntrance_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_ENTRANCE_1F",
+ "name": "Entrance_1F_Layout",
+ "width": 13,
+ "height": 12,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/Entrance_1F/border.bin",
+ "blockdata_filepath": "data/layouts/Entrance_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROCKET_HIDEOUT_ELEVATOR",
+ "name": "RocketHideout_Elevator_Layout",
+ "width": 5,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/RocketHideout_Elevator/border.bin",
+ "blockdata_filepath": "data/layouts/RocketHideout_Elevator/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFFRON_CITY_HOUSE1_1F",
+ "name": "SaffronCity_House1_1F_Layout",
+ "width": 13,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C74",
+ "border_filepath": "data/layouts/SaffronCity_House1_1F/border.bin",
+ "blockdata_filepath": "data/layouts/SaffronCity_House1_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFFRON_CITY_HOUSE1_2F",
+ "name": "SaffronCity_House1_2F_Layout",
+ "width": 12,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4C74",
+ "border_filepath": "data/layouts/SaffronCity_House1_2F/border.bin",
+ "blockdata_filepath": "data/layouts/SaffronCity_House1_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFFRON_CITY_DOJO",
+ "name": "SaffronCity_Dojo_Layout",
+ "width": 13,
+ "height": 16,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4D04",
+ "border_filepath": "data/layouts/SaffronCity_Dojo/border.bin",
+ "blockdata_filepath": "data/layouts/SaffronCity_Dojo/map.bin"
+ },
+ {
+ "id": "LAYOUT_SILPH_CO_ELEVATOR",
+ "name": "SilphCo_Elevator_Layout",
+ "width": 5,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SilphCo_Elevator/border.bin",
+ "blockdata_filepath": "data/layouts/SilphCo_Elevator/map.bin"
+ },
+ {
+ "id": "LAYOUT_ONE_ISLAND",
+ "name": "OneIsland_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D504C",
+ "border_filepath": "data/layouts/OneIsland/border.bin",
+ "blockdata_filepath": "data/layouts/OneIsland/map.bin"
+ },
+ {
+ "id": "LAYOUT_TWO_ISLAND",
+ "name": "TwoIsland_Layout",
+ "width": 48,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D504C",
+ "border_filepath": "data/layouts/TwoIsland/border.bin",
+ "blockdata_filepath": "data/layouts/TwoIsland/map.bin"
+ },
+ {
+ "id": "LAYOUT_THREE_ISLAND",
+ "name": "ThreeIsland_Layout",
+ "width": 24,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D504C",
+ "border_filepath": "data/layouts/ThreeIsland/border.bin",
+ "blockdata_filepath": "data/layouts/ThreeIsland/map.bin"
+ },
+ {
+ "id": "LAYOUT_FOUR_ISLAND",
+ "name": "FourIsland_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D5064",
+ "border_filepath": "data/layouts/FourIsland/border.bin",
+ "blockdata_filepath": "data/layouts/FourIsland/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND",
+ "name": "FiveIsland_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D5064",
+ "border_filepath": "data/layouts/FiveIsland/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND",
+ "name": "SevenIsland_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D507C",
+ "border_filepath": "data/layouts/SevenIsland/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND",
+ "name": "SixIsland_Layout",
+ "width": 24,
+ "height": 30,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D507C",
+ "border_filepath": "data/layouts/SixIsland/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland/map.bin"
+ },
+ {
+ "id": "LAYOUT_ONE_ISLAND_KINDLE_ROAD",
+ "name": "OneIsland_KindleRoad_Layout",
+ "width": 24,
+ "height": 140,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D504C",
+ "border_filepath": "data/layouts/OneIsland_KindleRoad/border.bin",
+ "blockdata_filepath": "data/layouts/OneIsland_KindleRoad/map.bin"
+ },
+ {
+ "id": "LAYOUT_ONE_ISLAND_TREASURE_BEACH",
+ "name": "OneIsland_TreasureBeach_Layout",
+ "width": 24,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D504C",
+ "border_filepath": "data/layouts/OneIsland_TreasureBeach/border.bin",
+ "blockdata_filepath": "data/layouts/OneIsland_TreasureBeach/map.bin"
+ },
+ {
+ "id": "LAYOUT_TWO_ISLAND_CAPE_BRINK",
+ "name": "TwoIsland_CapeBrink_Layout",
+ "width": 24,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D504C",
+ "border_filepath": "data/layouts/TwoIsland_CapeBrink/border.bin",
+ "blockdata_filepath": "data/layouts/TwoIsland_CapeBrink/map.bin"
+ },
+ {
+ "id": "LAYOUT_THREE_ISLAND_BOND_BRIDGE",
+ "name": "ThreeIsland_BondBridge_Layout",
+ "width": 96,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D504C",
+ "border_filepath": "data/layouts/ThreeIsland_BondBridge/border.bin",
+ "blockdata_filepath": "data/layouts/ThreeIsland_BondBridge/map.bin"
+ },
+ {
+ "id": "LAYOUT_THREE_ISLAND_PORT",
+ "name": "ThreeIsland_Port_Layout",
+ "width": 48,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D504C",
+ "border_filepath": "data/layouts/ThreeIsland_Port/border.bin",
+ "blockdata_filepath": "data/layouts/ThreeIsland_Port/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNKNOWN_MAP_03_50",
+ "name": "UnknownMap_03_50_Layout",
+ "width": 1,
+ "height": 1,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B3C",
+ "border_filepath": "data/layouts/UnknownMap_03_50/border.bin",
+ "blockdata_filepath": "data/layouts/UnknownMap_03_50/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNKNOWN_MAP_03_51",
+ "name": "UnknownMap_03_51_Layout",
+ "width": 1,
+ "height": 1,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B3C",
+ "border_filepath": "data/layouts/UnknownMap_03_51/border.bin",
+ "blockdata_filepath": "data/layouts/UnknownMap_03_51/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNKNOWN_MAP_03_52",
+ "name": "UnknownMap_03_52_Layout",
+ "width": 84,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B3C",
+ "border_filepath": "data/layouts/UnknownMap_03_52/border.bin",
+ "blockdata_filepath": "data/layouts/UnknownMap_03_52/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNKNOWN_MAP_03_53",
+ "name": "UnknownMap_03_53_Layout",
+ "width": 24,
+ "height": 60,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4B3C",
+ "border_filepath": "data/layouts/UnknownMap_03_53/border.bin",
+ "blockdata_filepath": "data/layouts/UnknownMap_03_53/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_RESORT_GORGEOUS",
+ "name": "FiveIsland_ResortGorgeous_Layout",
+ "width": 72,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D5064",
+ "border_filepath": "data/layouts/FiveIsland_ResortGorgeous/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_ResortGorgeous/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_WATER_LABYRINTH",
+ "name": "FiveIsland_WaterLabyrinth_Layout",
+ "width": 72,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D5064",
+ "border_filepath": "data/layouts/FiveIsland_WaterLabyrinth/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_WaterLabyrinth/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_MEADOW",
+ "name": "FiveIsland_Meadow_Layout",
+ "width": 24,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D5064",
+ "border_filepath": "data/layouts/FiveIsland_Meadow/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_Meadow/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_MEMORIAL_PILLAR",
+ "name": "FiveIsland_MemorialPillar_Layout",
+ "width": 24,
+ "height": 60,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D5064",
+ "border_filepath": "data/layouts/FiveIsland_MemorialPillar/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_MemorialPillar/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND_OUTCAST_ISLAND",
+ "name": "SixIsland_OutcastIsland_Layout",
+ "width": 24,
+ "height": 80,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D507C",
+ "border_filepath": "data/layouts/SixIsland_OutcastIsland/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland_OutcastIsland/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND_GREEN_PATH",
+ "name": "SixIsland_GreenPath_Layout",
+ "width": 72,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D507C",
+ "border_filepath": "data/layouts/SixIsland_GreenPath/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland_GreenPath/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND_WATER_PATH",
+ "name": "SixIsland_WaterPath_Layout",
+ "width": 24,
+ "height": 100,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D507C",
+ "border_filepath": "data/layouts/SixIsland_WaterPath/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland_WaterPath/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND_RUIN_VALLEY",
+ "name": "SixIsland_RuinValley_Layout",
+ "width": 48,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D507C",
+ "border_filepath": "data/layouts/SixIsland_RuinValley/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland_RuinValley/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER",
+ "name": "SevenIsland_TrainerTower_Layout",
+ "width": 120,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D507C",
+ "border_filepath": "data/layouts/SevenIsland_TrainerTower/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TrainerTower/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_SEVAULT_CANYON_ENTRANCE",
+ "name": "SevenIsland_SevaultCanyon_Entrance_Layout",
+ "width": 24,
+ "height": 40,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D507C",
+ "border_filepath": "data/layouts/SevenIsland_SevaultCanyon_Entrance/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_SevaultCanyon_Entrance/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_SEVAULT_CANYON",
+ "name": "SevenIsland_SevaultCanyon_Layout",
+ "width": 24,
+ "height": 80,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D507C",
+ "border_filepath": "data/layouts/SevenIsland_SevaultCanyon/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_SevaultCanyon/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS",
+ "name": "SevenIsland_TanobyRuins_Layout",
+ "width": 144,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D507C",
+ "border_filepath": "data/layouts/SevenIsland_TanobyRuins/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TanobyRuins/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_833614C",
+ "name": "UnusedLayout_833614C_Layout",
+ "width": 24,
+ "height": 60,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AAC",
+ "border_filepath": "data/layouts/UnusedLayout_833614C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_833614C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_83377F0",
+ "name": "UnusedLayout_83377F0_Layout",
+ "width": 144,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AAC",
+ "border_filepath": "data/layouts/UnusedLayout_83377F0/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_83377F0/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_8338354",
+ "name": "UnusedLayout_8338354_Layout",
+ "width": 24,
+ "height": 60,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AAC",
+ "border_filepath": "data/layouts/UnusedLayout_8338354/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_8338354/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_8338738",
+ "name": "UnusedLayout_8338738_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4AAC",
+ "border_filepath": "data/layouts/UnusedLayout_8338738/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_8338738/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNKNOWN_MAP_00_04",
+ "name": "UnknownMap_00_04_Layout",
+ "width": 15,
+ "height": 12,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D50DC",
+ "border_filepath": "data/layouts/UnknownMap_00_04/border.bin",
+ "blockdata_filepath": "data/layouts/UnknownMap_00_04/map.bin"
+ },
+ {
+ "id": "LAYOUT_SAFFRON_CITY_POKEMON_TRAINER_FAN_CLUB",
+ "name": "SaffronCity_PokemonTrainerFanClub_Layout",
+ "width": 11,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F74",
+ "border_filepath": "data/layouts/SaffronCity_PokemonTrainerFanClub/border.bin",
+ "blockdata_filepath": "data/layouts/SaffronCity_PokemonTrainerFanClub/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_8338B4C",
+ "name": "UnusedLayout_8338B4C_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/UnusedLayout_8338B4C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_8338B4C/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_HOUSE_ROOM2",
+ "name": "SevenIsland_House_Room2_Layout",
+ "width": 12,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/SevenIsland_House_Room2/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_House_Room2/map.bin"
+ },
+ {
+ "id": "LAYOUT_VIRIDIAN_CITY_HOUSE2",
+ "name": "ViridianCity_House2_Layout",
+ "width": 10,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F5C",
+ "border_filepath": "data/layouts/ViridianCity_House2/border.bin",
+ "blockdata_filepath": "data/layouts/ViridianCity_House2/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_8338E90",
+ "name": "UnusedLayout_8338E90_Layout",
+ "width": 15,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F44",
+ "border_filepath": "data/layouts/UnusedLayout_8338E90/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_8338E90/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_833902C",
+ "name": "UnusedLayout_833902C_Layout",
+ "width": 17,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F44",
+ "border_filepath": "data/layouts/UnusedLayout_833902C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_833902C/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_RUBY_PATH_B4F",
+ "name": "MtEmber_RubyPath_B4F_Layout",
+ "width": 18,
+ "height": 16,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4FEC",
+ "border_filepath": "data/layouts/MtEmber_RubyPath_B4F/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_RubyPath_B4F/map.bin"
+ },
+ {
+ "id": "LAYOUT_THREE_ISLAND_BERRY_FOREST",
+ "name": "ThreeIsland_BerryForest_Layout",
+ "width": 57,
+ "height": 47,
+ "border_width": 3,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D5004",
+ "border_filepath": "data/layouts/ThreeIsland_BerryForest/border.bin",
+ "blockdata_filepath": "data/layouts/ThreeIsland_BerryForest/map.bin"
+ },
+ {
+ "id": "LAYOUT_ONE_ISLAND_POKEMON_CENTER_1F",
+ "name": "OneIsland_PokemonCenter_1F_Layout",
+ "width": 19,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4BE4",
+ "border_filepath": "data/layouts/OneIsland_PokemonCenter_1F/border.bin",
+ "blockdata_filepath": "data/layouts/OneIsland_PokemonCenter_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_TWO_ISLAND_JOYFUL_GAME_CORNER",
+ "name": "TwoIsland_JoyfulGameCorner_Layout",
+ "width": 12,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4CEC",
+ "border_filepath": "data/layouts/TwoIsland_JoyfulGameCorner/border.bin",
+ "blockdata_filepath": "data/layouts/TwoIsland_JoyfulGameCorner/map.bin"
+ },
+ {
+ "id": "LAYOUT_VERMILION_CITY_POKEMON_FAN_CLUB",
+ "name": "VermilionCity_PokemonFanClub_Layout",
+ "width": 12,
+ "height": 12,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F74",
+ "border_filepath": "data/layouts/VermilionCity_PokemonFanClub/border.bin",
+ "blockdata_filepath": "data/layouts/VermilionCity_PokemonFanClub/map.bin"
+ },
+ {
+ "id": "LAYOUT_LAVENDER_TOWN_VOLUNTEER_POKEMON_HOUSE",
+ "name": "LavenderTown_VolunteerPokemonHouse_Layout",
+ "width": 12,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F74",
+ "border_filepath": "data/layouts/LavenderTown_VolunteerPokemonHouse/border.bin",
+ "blockdata_filepath": "data/layouts/LavenderTown_VolunteerPokemonHouse/map.bin"
+ },
+ {
+ "id": "LAYOUT_ROUTE5_POKEMON_DAY_CARE",
+ "name": "Route5_PokemonDayCare_Layout",
+ "width": 12,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F74",
+ "border_filepath": "data/layouts/Route5_PokemonDayCare/border.bin",
+ "blockdata_filepath": "data/layouts/Route5_PokemonDayCare/map.bin"
+ },
+ {
+ "id": "LAYOUT_VIRIDIAN_CITY_HOUSE1",
+ "name": "ViridianCity_House1_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/ViridianCity_House1/border.bin",
+ "blockdata_filepath": "data/layouts/ViridianCity_House1/map.bin"
+ },
+ {
+ "id": "LAYOUT_FOUR_ISLAND_POKEMON_DAY_CARE",
+ "name": "FourIsland_PokemonDayCare_Layout",
+ "width": 12,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4F74",
+ "border_filepath": "data/layouts/FourIsland_PokemonDayCare/border.bin",
+ "blockdata_filepath": "data/layouts/FourIsland_PokemonDayCare/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_833B6EC",
+ "name": "UnusedLayout_833B6EC_Layout",
+ "width": 38,
+ "height": 24,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E24",
+ "border_filepath": "data/layouts/UnusedLayout_833B6EC/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_833B6EC/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_833BE30",
+ "name": "UnusedLayout_833BE30_Layout",
+ "width": 38,
+ "height": 24,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E24",
+ "border_filepath": "data/layouts/UnusedLayout_833BE30/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_833BE30/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_EXTERIOR",
+ "name": "MtEmber_Exterior_Layout",
+ "width": 57,
+ "height": 54,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D504C",
+ "border_filepath": "data/layouts/MtEmber_Exterior/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_Exterior/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_SUMMIT",
+ "name": "MtEmber_Summit_Layout",
+ "width": 19,
+ "height": 22,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D504C",
+ "border_filepath": "data/layouts/MtEmber_Summit/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_Summit/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_SUMMIT_PATH_1F",
+ "name": "MtEmber_SummitPath_1F_Layout",
+ "width": 15,
+ "height": 18,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4FEC",
+ "border_filepath": "data/layouts/MtEmber_SummitPath_1F/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_SummitPath_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_SUMMIT_PATH_2F",
+ "name": "MtEmber_SummitPath_2F_Layout",
+ "width": 48,
+ "height": 46,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4FEC",
+ "border_filepath": "data/layouts/MtEmber_SummitPath_2F/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_SummitPath_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_SUMMIT_PATH_3F",
+ "name": "MtEmber_SummitPath_3F_Layout",
+ "width": 15,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4FEC",
+ "border_filepath": "data/layouts/MtEmber_SummitPath_3F/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_SummitPath_3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_RUBY_PATH_1F",
+ "name": "MtEmber_RubyPath_1F_Layout",
+ "width": 27,
+ "height": 19,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4FEC",
+ "border_filepath": "data/layouts/MtEmber_RubyPath_1F/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_RubyPath_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_RUBY_PATH_B1F",
+ "name": "MtEmber_RubyPath_B1F_Layout",
+ "width": 11,
+ "height": 23,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4FEC",
+ "border_filepath": "data/layouts/MtEmber_RubyPath_B1F/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_RubyPath_B1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_RUBY_PATH_B2F",
+ "name": "MtEmber_RubyPath_B2F_Layout",
+ "width": 16,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4FEC",
+ "border_filepath": "data/layouts/MtEmber_RubyPath_B2F/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_RubyPath_B2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_RUBY_PATH_B3F",
+ "name": "MtEmber_RubyPath_B3F_Layout",
+ "width": 31,
+ "height": 23,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4FEC",
+ "border_filepath": "data/layouts/MtEmber_RubyPath_B3F/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_RubyPath_B3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_RUBY_PATH_B1F_STAIRS",
+ "name": "MtEmber_RubyPath_B1F_Stairs_Layout",
+ "width": 6,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4FEC",
+ "border_filepath": "data/layouts/MtEmber_RubyPath_B1F_Stairs/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_RubyPath_B1F_Stairs/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_RUBY_PATH_B2F_STAIRS",
+ "name": "MtEmber_RubyPath_B2F_Stairs_Layout",
+ "width": 8,
+ "height": 6,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4FEC",
+ "border_filepath": "data/layouts/MtEmber_RubyPath_B2F_Stairs/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_RubyPath_B2F_Stairs/map.bin"
+ },
+ {
+ "id": "LAYOUT_MT_EMBER_RUBY_PATH_B5F",
+ "name": "MtEmber_RubyPath_B5F_Layout",
+ "width": 16,
+ "height": 15,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4FEC",
+ "border_filepath": "data/layouts/MtEmber_RubyPath_B5F/border.bin",
+ "blockdata_filepath": "data/layouts/MtEmber_RubyPath_B5F/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_ROCKET_WAREHOUSE",
+ "name": "FiveIsland_RocketWarehouse_Layout",
+ "width": 29,
+ "height": 27,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/FiveIsland_RocketWarehouse/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_RocketWarehouse/map.bin"
+ },
+ {
+ "id": "LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_ENTRANCE",
+ "name": "FourIsland_IcefallCave_Entrance_Layout",
+ "width": 30,
+ "height": 36,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E24",
+ "border_filepath": "data/layouts/FourIsland_IcefallCave_Entrance/border.bin",
+ "blockdata_filepath": "data/layouts/FourIsland_IcefallCave_Entrance/map.bin"
+ },
+ {
+ "id": "LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_1F",
+ "name": "FourIsland_IcefallCave_1F_Layout",
+ "width": 20,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E24",
+ "border_filepath": "data/layouts/FourIsland_IcefallCave_1F/border.bin",
+ "blockdata_filepath": "data/layouts/FourIsland_IcefallCave_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_B1F",
+ "name": "FourIsland_IcefallCave_B1F_Layout",
+ "width": 24,
+ "height": 20,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E24",
+ "border_filepath": "data/layouts/FourIsland_IcefallCave_B1F/border.bin",
+ "blockdata_filepath": "data/layouts/FourIsland_IcefallCave_B1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_BACK",
+ "name": "FourIsland_IcefallCave_Back_Layout",
+ "width": 25,
+ "height": 26,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E24",
+ "border_filepath": "data/layouts/FourIsland_IcefallCave_Back/border.bin",
+ "blockdata_filepath": "data/layouts/FourIsland_IcefallCave_Back/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_LOBBY",
+ "name": "SevenIsland_TrainerTower_Lobby_Layout",
+ "width": 19,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/SevenIsland_TrainerTower_Lobby/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_Lobby/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_1F",
+ "name": "SevenIsland_TrainerTower_1F_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/SevenIsland_TrainerTower_1F/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_2F",
+ "name": "SevenIsland_TrainerTower_2F_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/SevenIsland_TrainerTower_2F/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_3F",
+ "name": "SevenIsland_TrainerTower_3F_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/SevenIsland_TrainerTower_3F/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_4F",
+ "name": "SevenIsland_TrainerTower_4F_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/SevenIsland_TrainerTower_4F/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_4F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_5F",
+ "name": "SevenIsland_TrainerTower_5F_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/SevenIsland_TrainerTower_5F/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_5F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_6F",
+ "name": "SevenIsland_TrainerTower_6F_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/SevenIsland_TrainerTower_6F/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_6F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_7F",
+ "name": "SevenIsland_TrainerTower_7F_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/SevenIsland_TrainerTower_7F/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_7F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_8F",
+ "name": "SevenIsland_TrainerTower_8F_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/SevenIsland_TrainerTower_8F/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_8F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_ROOF",
+ "name": "SevenIsland_TrainerTower_Roof_Layout",
+ "width": 18,
+ "height": 16,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/SevenIsland_TrainerTower_Roof/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_Roof/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
+ "name": "SevenIsland_TrainerTower_Elevator_Layout",
+ "width": 5,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4ECC",
+ "border_filepath": "data/layouts/SevenIsland_TrainerTower_Elevator/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TrainerTower_Elevator/map.bin"
+ },
+ {
+ "id": "LAYOUT_CERULEAN_CITY_HOUSE5",
+ "name": "CeruleanCity_House5_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E84",
+ "border_filepath": "data/layouts/CeruleanCity_House5/border.bin",
+ "blockdata_filepath": "data/layouts/CeruleanCity_House5/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND_DOTTED_HOLE_1F",
+ "name": "SixIsland_DottedHole_1F_Layout",
+ "width": 16,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/SixIsland_DottedHole_1F/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland_DottedHole_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND_DOTTED_HOLE_B1F",
+ "name": "SixIsland_DottedHole_B1F_Layout",
+ "width": 13,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/SixIsland_DottedHole_B1F/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland_DottedHole_B1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND_DOTTED_HOLE_B2F",
+ "name": "SixIsland_DottedHole_B2F_Layout",
+ "width": 13,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/SixIsland_DottedHole_B2F/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland_DottedHole_B2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND_DOTTED_HOLE_B3F",
+ "name": "SixIsland_DottedHole_B3F_Layout",
+ "width": 13,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/SixIsland_DottedHole_B3F/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland_DottedHole_B3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND_DOTTED_HOLE_B4F",
+ "name": "SixIsland_DottedHole_B4F_Layout",
+ "width": 13,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/SixIsland_DottedHole_B4F/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland_DottedHole_B4F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND_DOTTED_HOLE_SAPPHIRE_ROOM",
+ "name": "SixIsland_DottedHole_SapphireRoom_Layout",
+ "width": 16,
+ "height": 15,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/SixIsland_DottedHole_SapphireRoom/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland_DottedHole_SapphireRoom/map.bin"
+ },
+ {
+ "id": "LAYOUT_ISLAND_HARBOR",
+ "name": "Island_Harbor_Layout",
+ "width": 17,
+ "height": 13,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D50AC",
+ "border_filepath": "data/layouts/Island_Harbor/border.bin",
+ "blockdata_filepath": "data/layouts/Island_Harbor/map.bin"
+ },
+ {
+ "id": "LAYOUT_ONE_ISLAND_POKEMON_CENTER_2F",
+ "name": "OneIsland_PokemonCenter_2F_Layout",
+ "width": 15,
+ "height": 10,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4BE4",
+ "border_filepath": "data/layouts/OneIsland_PokemonCenter_2F/border.bin",
+ "blockdata_filepath": "data/layouts/OneIsland_PokemonCenter_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND_PATTERN_BUSH",
+ "name": "SixIsland_PatternBush_Layout",
+ "width": 60,
+ "height": 32,
+ "border_width": 3,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4DC4",
+ "border_filepath": "data/layouts/SixIsland_PatternBush/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland_PatternBush/map.bin"
+ },
+ {
+ "id": "LAYOUT_THREE_ISLAND_DUNSPARCE_TUNNEL",
+ "name": "ThreeIsland_DunsparceTunnel_Layout",
+ "width": 30,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/ThreeIsland_DunsparceTunnel/border.bin",
+ "blockdata_filepath": "data/layouts/ThreeIsland_DunsparceTunnel/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_83453C0",
+ "name": "UnusedLayout_83453C0_Layout",
+ "width": 30,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/UnusedLayout_83453C0/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_83453C0/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ENTRANCE",
+ "name": "FiveIsland_LostCave_Entrance_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Entrance/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Entrance/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "name": "FiveIsland_LostCave_Room1_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room1/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room1/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM2",
+ "name": "FiveIsland_LostCave_Room2_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room2/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room2/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM3",
+ "name": "FiveIsland_LostCave_Room3_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room3/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room3/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM4",
+ "name": "FiveIsland_LostCave_Room4_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room4/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room4/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM5",
+ "name": "FiveIsland_LostCave_Room5_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room5/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room5/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM6",
+ "name": "FiveIsland_LostCave_Room6_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room6/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room6/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM7",
+ "name": "FiveIsland_LostCave_Room7_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room7/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room7/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM8",
+ "name": "FiveIsland_LostCave_Room8_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room8/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room8/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM9",
+ "name": "FiveIsland_LostCave_Room9_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room9/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room9/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM10",
+ "name": "FiveIsland_LostCave_Room10_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room10/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room10/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM11",
+ "name": "FiveIsland_LostCave_Room11_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room11/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room11/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM12",
+ "name": "FiveIsland_LostCave_Room12_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room12/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room12/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM13",
+ "name": "FiveIsland_LostCave_Room13_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room13/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room13/map.bin"
+ },
+ {
+ "id": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM14",
+ "name": "FiveIsland_LostCave_Room14_Layout",
+ "width": 11,
+ "height": 11,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4BFC",
+ "border_filepath": "data/layouts/FiveIsland_LostCave_Room14/border.bin",
+ "blockdata_filepath": "data/layouts/FiveIsland_LostCave_Room14/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_MONEAN_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_MoneanChamber_Layout",
+ "width": 23,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5034",
+ "border_filepath": "data/layouts/SevenIsland_TanobyRuins_MoneanChamber/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TanobyRuins_MoneanChamber/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_LIPTOO_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_LiptooChamber_Layout",
+ "width": 23,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5034",
+ "border_filepath": "data/layouts/SevenIsland_TanobyRuins_LiptooChamber/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TanobyRuins_LiptooChamber/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_WEEPTH_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_WeepthChamber_Layout",
+ "width": 23,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5034",
+ "border_filepath": "data/layouts/SevenIsland_TanobyRuins_WeepthChamber/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TanobyRuins_WeepthChamber/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_DILFORD_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_DilfordChamber_Layout",
+ "width": 23,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5034",
+ "border_filepath": "data/layouts/SevenIsland_TanobyRuins_DilfordChamber/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TanobyRuins_DilfordChamber/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_SCUFIB_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_ScufibChamber_Layout",
+ "width": 23,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5034",
+ "border_filepath": "data/layouts/SevenIsland_TanobyRuins_ScufibChamber/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TanobyRuins_ScufibChamber/map.bin"
+ },
+ {
+ "id": "LAYOUT_SIX_ISLAND_ALTERING_CAVE",
+ "name": "SixIsland_AlteringCave_Layout",
+ "width": 32,
+ "height": 24,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4DF4",
+ "border_filepath": "data/layouts/SixIsland_AlteringCave/border.bin",
+ "blockdata_filepath": "data/layouts/SixIsland_AlteringCave/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_SEAVAULT_CANYON_TANOBY_KEY",
+ "name": "SevenIsland_SeavaultCanyon_TanobyKey_Layout",
+ "width": 15,
+ "height": 16,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4E0C",
+ "border_filepath": "data/layouts/SevenIsland_SeavaultCanyon_TanobyKey/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_SeavaultCanyon_TanobyKey/map.bin"
+ },
+ {
+ "id": "LAYOUT_BIRTH_ISLAND_EXTERIOR",
+ "name": "BirthIsland_Exterior_Layout",
+ "width": 30,
+ "height": 30,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D507C",
+ "border_filepath": "data/layouts/BirthIsland_Exterior/border.bin",
+ "blockdata_filepath": "data/layouts/BirthIsland_Exterior/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_EXTERIOR",
+ "name": "NavelRock_Exterior_Layout",
+ "width": 20,
+ "height": 23,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D504C",
+ "border_filepath": "data/layouts/NavelRock_Exterior/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_Exterior/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_1F",
+ "name": "NavelRock_1F_Layout",
+ "width": 17,
+ "height": 26,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_1F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_SUMMIT",
+ "name": "NavelRock_Summit_Layout",
+ "width": 19,
+ "height": 25,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_Summit/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_Summit/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_BASE",
+ "name": "NavelRock_Base_Layout",
+ "width": 21,
+ "height": 23,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_Base/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_Base/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_SUMMIT_PATH_2F",
+ "name": "NavelRock_SummitPath_2F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_SummitPath_2F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_SummitPath_2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_SUMMIT_PATH_3F",
+ "name": "NavelRock_SummitPath_3F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_SummitPath_3F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_SummitPath_3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_SUMMIT_PATH_4F",
+ "name": "NavelRock_SummitPath_4F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_SummitPath_4F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_SummitPath_4F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_SUMMIT_PATH_5F",
+ "name": "NavelRock_SummitPath_5F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_SummitPath_5F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_SummitPath_5F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_BASE_PATH_B1F",
+ "name": "NavelRock_BasePath_B1F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_BasePath_B1F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_BasePath_B1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_BASE_PATH_B2F",
+ "name": "NavelRock_BasePath_B2F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_BasePath_B2F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_BasePath_B2F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_BASE_PATH_B3F",
+ "name": "NavelRock_BasePath_B3F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_BasePath_B3F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_BasePath_B3F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_BASE_PATH_B4F",
+ "name": "NavelRock_BasePath_B4F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_BasePath_B4F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_BasePath_B4F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_BASE_PATH_B5F",
+ "name": "NavelRock_BasePath_B5F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_BasePath_B5F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_BasePath_B5F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_BASE_PATH_B6F",
+ "name": "NavelRock_BasePath_B6F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_BasePath_B6F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_BasePath_B6F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_BASE_PATH_B7F",
+ "name": "NavelRock_BasePath_B7F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_BasePath_B7F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_BasePath_B7F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_BASE_PATH_B8F",
+ "name": "NavelRock_BasePath_B8F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_BasePath_B8F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_BasePath_B8F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_BASE_PATH_B9F",
+ "name": "NavelRock_BasePath_B9F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_BasePath_B9F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_BasePath_B9F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_BASE_PATH_B10F",
+ "name": "NavelRock_BasePath_B10F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_BasePath_B10F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_BasePath_B10F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_BASE_PATH_B11F",
+ "name": "NavelRock_BasePath_B11F_Layout",
+ "width": 7,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_BasePath_B11F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_BasePath_B11F/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_RIXY_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_RixyChamber_Layout",
+ "width": 23,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5034",
+ "border_filepath": "data/layouts/SevenIsland_TanobyRuins_RixyChamber/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TanobyRuins_RixyChamber/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_VIAPOIS_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_ViapoisChamber_Layout",
+ "width": 23,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5034",
+ "border_filepath": "data/layouts/SevenIsland_TanobyRuins_ViapoisChamber/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_TanobyRuins_ViapoisChamber/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_B1F",
+ "name": "NavelRock_B1F_Layout",
+ "width": 17,
+ "height": 7,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_B1F/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_B1F/map.bin"
+ },
+ {
+ "id": "LAYOUT_NAVEL_ROCK_FORK",
+ "name": "NavelRock_Fork_Layout",
+ "width": 30,
+ "height": 100,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D501C",
+ "border_filepath": "data/layouts/NavelRock_Fork/border.bin",
+ "blockdata_filepath": "data/layouts/NavelRock_Fork/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834BC2C",
+ "name": "UnusedLayout_834BC2C_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834BC2C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834BC2C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834BEB4",
+ "name": "UnusedLayout_834BEB4_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834BEB4/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834BEB4/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834C13C",
+ "name": "UnusedLayout_834C13C_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834C13C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834C13C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834C3C4",
+ "name": "UnusedLayout_834C3C4_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834C3C4/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834C3C4/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834C64C",
+ "name": "UnusedLayout_834C64C_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834C64C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834C64C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834C8D4",
+ "name": "UnusedLayout_834C8D4_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834C8D4/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834C8D4/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834CB5C",
+ "name": "UnusedLayout_834CB5C_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834CB5C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834CB5C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834CDE4",
+ "name": "UnusedLayout_834CDE4_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834CDE4/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834CDE4/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834D06C",
+ "name": "UnusedLayout_834D06C_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834D06C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834D06C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834D2F4",
+ "name": "UnusedLayout_834D2F4_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834D2F4/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834D2F4/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834D57C",
+ "name": "UnusedLayout_834D57C_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834D57C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834D57C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834D804",
+ "name": "UnusedLayout_834D804_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834D804/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834D804/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834DA8C",
+ "name": "UnusedLayout_834DA8C_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834DA8C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834DA8C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834DD14",
+ "name": "UnusedLayout_834DD14_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834DD14/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834DD14/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834DF9C",
+ "name": "UnusedLayout_834DF9C_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834DF9C/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834DF9C/map.bin"
+ },
+ {
+ "id": "LAYOUT_UNUSED_LAYOUT_834E224",
+ "name": "UnusedLayout_834E224_Layout",
+ "width": 18,
+ "height": 17,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D5094",
+ "border_filepath": "data/layouts/UnusedLayout_834E224/border.bin",
+ "blockdata_filepath": "data/layouts/UnusedLayout_834E224/map.bin"
+ },
+ {
+ "id": "LAYOUT_SEVEN_ISLAND_HOUSE_ROOM1",
+ "name": "SevenIsland_House_Room1_Layout",
+ "width": 11,
+ "height": 9,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4BB4",
+ "secondary_tileset": "gTileset_82D4E24",
+ "border_filepath": "data/layouts/SevenIsland_House_Room1/border.bin",
+ "blockdata_filepath": "data/layouts/SevenIsland_House_Room1/map.bin"
+ },
+ {
+ "id": "LAYOUT_ONE_ISLAND_KINDLE_ROAD_EMBER_SPA",
+ "name": "OneIsland_KindleRoad_EmberSpa_Layout",
+ "width": 27,
+ "height": 39,
+ "border_width": 2,
+ "border_height": 2,
+ "primary_tileset": "gTileset_82D4A94",
+ "secondary_tileset": "gTileset_82D4FEC",
+ "border_filepath": "data/layouts/OneIsland_KindleRoad_EmberSpa/border.bin",
+ "blockdata_filepath": "data/layouts/OneIsland_KindleRoad_EmberSpa/map.bin"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/map_event_scripts.inc b/data/map_event_scripts.inc
new file mode 100644
index 000000000..bf530ce48
--- /dev/null
+++ b/data/map_event_scripts.inc
@@ -0,0 +1,10383 @@
+
+ .include "data/maps/UnknownMap_00_00/scripts.inc"
+ .include "data/maps/UnknownMap_00_01/scripts.inc"
+ .include "data/maps/UnknownMap_00_02/scripts.inc"
+ .include "data/maps/UnknownMap_00_03/scripts.inc"
+ .include "data/maps/UnknownMap_00_04/scripts.inc"
+ .include "data/maps/ViridianForest/scripts.inc"
+ .include "data/maps/MtMoon_1F/scripts.inc"
+ .include "data/maps/MtMoon_B1F/scripts.inc"
+ .include "data/maps/MtMoon_B2F/scripts.inc"
+ .include "data/maps/SSAnne_Exterior/scripts.inc"
+ .include "data/maps/SSAnne_1F_Corridor/scripts.inc"
+ .include "data/maps/SSAnne_2F_Corridor/scripts.inc"
+ .include "data/maps/SSAnne_3F_Corridor/scripts.inc"
+ .include "data/maps/SSAnne_B1F_Corridor/scripts.inc"
+ .include "data/maps/SSAnne_Deck/scripts.inc"
+ .include "data/maps/SSAnne_Kitchen/scripts.inc"
+ .include "data/maps/SSAnne_CaptainsOffice/scripts.inc"
+ .include "data/maps/SSAnne_1F_Room1/scripts.inc"
+ .include "data/maps/SSAnne_1F_Room2/scripts.inc"
+ .include "data/maps/SSAnne_1F_Room3/scripts.inc"
+ .include "data/maps/SSAnne_1F_Room4/scripts.inc"
+ .include "data/maps/SSAnne_1F_Room5/scripts.inc"
+ .include "data/maps/SSAnne_1F_Room7/scripts.inc"
+ .include "data/maps/SSAnne_2F_Room1/scripts.inc"
+ .include "data/maps/SSAnne_2F_Room2/scripts.inc"
+ .include "data/maps/SSAnne_2F_Room3/scripts.inc"
+ .include "data/maps/SSAnne_2F_Room4/scripts.inc"
+ .include "data/maps/SSAnne_2F_Room5/scripts.inc"
+ .include "data/maps/SSAnne_2F_Room6/scripts.inc"
+ .include "data/maps/SSAnne_B1F_Room1/scripts.inc"
+ .include "data/maps/SSAnne_B1F_Room2/scripts.inc"
+ .include "data/maps/SSAnne_B1F_Room3/scripts.inc"
+ .include "data/maps/SSAnne_B1F_Room4/scripts.inc"
+ .include "data/maps/SSAnne_B1F_Room5/scripts.inc"
+ .include "data/maps/SSAnne_1F_Room6/scripts.inc"
+ .include "data/maps/UndergroundPath_NorthEntrance/scripts.inc"
+ .include "data/maps/UndergroundPath_NorthSouthTunnel/scripts.inc"
+ .include "data/maps/UndergroundPath_SouthEntrance/scripts.inc"
+ .include "data/maps/UndergroundPath_WestEntrance/scripts.inc"
+ .include "data/maps/UndergroundPath_EastWestTunnel/scripts.inc"
+ .include "data/maps/UndergroundPath_EastEntrance/scripts.inc"
+ .include "data/maps/DiglettsCave_NorthEntrance/scripts.inc"
+ .include "data/maps/DiglettsCave_B1F/scripts.inc"
+ .include "data/maps/DiglettsCave_SouthEntrance/scripts.inc"
+ .include "data/maps/VictoryRoad_1F/scripts.inc"
+ .include "data/maps/VictoryRoad_2F/scripts.inc"
+ .include "data/maps/VictoryRoad_3F/scripts.inc"
+ .include "data/maps/RocketHideout_B1F/scripts.inc"
+ .include "data/maps/RocketHideout_B2F/scripts.inc"
+ .include "data/maps/RocketHideout_B3F/scripts.inc"
+ .include "data/maps/RocketHideout_B4F/scripts.inc"
+ .include "data/maps/RocketHideout_Elevator/scripts.inc"
+ .include "data/maps/SilphCo_1F/scripts.inc"
+ .include "data/maps/SilphCo_2F/scripts.inc"
+ .include "data/maps/SilphCo_3F/scripts.inc"
+ .include "data/maps/SilphCo_4F/scripts.inc"
+ .include "data/maps/SilphCo_5F/scripts.inc"
+ .include "data/maps/SilphCo_6F/scripts.inc"
+ .include "data/maps/SilphCo_7F/scripts.inc"
+ .include "data/maps/SilphCo_8F/scripts.inc"
+ .include "data/maps/SilphCo_9F/scripts.inc"
+ .include "data/maps/SilphCo_10F/scripts.inc"
+ .include "data/maps/SilphCo_11F/scripts.inc"
+ .include "data/maps/SilphCo_Elevator/scripts.inc"
+ .include "data/maps/PokemonMansion_1F/scripts.inc"
+ .include "data/maps/PokemonMansion_2F/scripts.inc"
+ .include "data/maps/PokemonMansion_3F/scripts.inc"
+ .include "data/maps/PokemonMansion_B1F/scripts.inc"
+ .include "data/maps/SafariZone_Center/scripts.inc"
+ .include "data/maps/SafariZone_East/scripts.inc"
+ .include "data/maps/SafariZone_North/scripts.inc"
+ .include "data/maps/SafariZone_West/scripts.inc"
+ .include "data/maps/SafariZone_Building1/scripts.inc"
+ .include "data/maps/SafariZone_Building2/scripts.inc"
+ .include "data/maps/SafariZone_Building3/scripts.inc"
+ .include "data/maps/SafariZone_Building4/scripts.inc"
+ .include "data/maps/SafariZone_SecretHouse/scripts.inc"
+ .include "data/maps/CeruleanCave_1F/scripts.inc"
+ .include "data/maps/CeruleanCave_2F/scripts.inc"
+ .include "data/maps/CeruleanCave_B1F/scripts.inc"
+ .include "data/maps/PokemonLeague_LoreleisRoom/scripts.inc"
+ .include "data/maps/PokemonLeague_BrunosRoom/scripts.inc"
+ .include "data/maps/PokemonLeague_AgathasRoom/scripts.inc"
+ .include "data/maps/PokemonLeague_LancesRoom/scripts.inc"
+ .include "data/maps/PokemonLeague_ChampionsRoom/scripts.inc"
+ .include "data/maps/PokemonLeague_HallOfFame/scripts.inc"
+ .include "data/maps/RockTunnel_1F/scripts.inc"
+ .include "data/maps/RockTunnel_B1F/scripts.inc"
+ .include "data/maps/SeafoamIslands_1F/scripts.inc"
+ .include "data/maps/SeafoamIslands_B1F/scripts.inc"
+ .include "data/maps/SeafoamIslands_B2F/scripts.inc"
+ .include "data/maps/SeafoamIslands_B3F/scripts.inc"
+ .include "data/maps/SeafoamIslands_B4F/scripts.inc"
+ .include "data/maps/PokemonTower_1F/scripts.inc"
+ .include "data/maps/PokemonTower_2F/scripts.inc"
+ .include "data/maps/PokemonTower_3F/scripts.inc"
+ .include "data/maps/PokemonTower_4F/scripts.inc"
+ .include "data/maps/PokemonTower_5F/scripts.inc"
+ .include "data/maps/PokemonTower_6F/scripts.inc"
+ .include "data/maps/PokemonTower_7F/scripts.inc"
+ .include "data/maps/PowerPlant/scripts.inc"
+ .include "data/maps/MtEmber_RubyPath_B4F/scripts.inc"
+ .include "data/maps/MtEmber_Exterior/scripts.inc"
+ .include "data/maps/MtEmber_SummitPath_1F/scripts.inc"
+ .include "data/maps/MtEmber_SummitPath_2F/scripts.inc"
+ .include "data/maps/MtEmber_SummitPath_3F/scripts.inc"
+ .include "data/maps/MtEmber_Summit/scripts.inc"
+ .include "data/maps/MtEmber_RubyPath_B5F/scripts.inc"
+ .include "data/maps/MtEmber_RubyPath_1F/scripts.inc"
+ .include "data/maps/MtEmber_RubyPath_B1F/scripts.inc"
+ .include "data/maps/MtEmber_RubyPath_B2F/scripts.inc"
+ .include "data/maps/MtEmber_RubyPath_B3F/scripts.inc"
+ .include "data/maps/MtEmber_RubyPath_B1F_Stairs/scripts.inc"
+ .include "data/maps/MtEmber_RubyPath_B2F_Stairs/scripts.inc"
+ .include "data/maps/ThreeIsland_BerryForest/scripts.inc"
+ .include "data/maps/FourIsland_IcefallCave_Entrance/scripts.inc"
+ .include "data/maps/FourIsland_IcefallCave_1F/scripts.inc"
+ .include "data/maps/FourIsland_IcefallCave_B1F/scripts.inc"
+ .include "data/maps/FourIsland_IcefallCave_Back/scripts.inc"
+ .include "data/maps/FiveIsland_RocketWarehouse/scripts.inc"
+ .include "data/maps/SixIsland_DottedHole_1F/scripts.inc"
+ .include "data/maps/SixIsland_DottedHole_B1F/scripts.inc"
+ .include "data/maps/SixIsland_DottedHole_B2F/scripts.inc"
+ .include "data/maps/SixIsland_DottedHole_B3F/scripts.inc"
+ .include "data/maps/SixIsland_DottedHole_B4F/scripts.inc"
+ .include "data/maps/SixIsland_DottedHole_SapphireRoom/scripts.inc"
+ .include "data/maps/SixIsland_PatternBush/scripts.inc"
+ .include "data/maps/SixIsland_AlteringCave/scripts.inc"
+ .include "data/maps/NavelRock_Exterior/scripts.inc"
+ .include "data/maps/SevenIsland_TrainerTower_1F/scripts.inc"
+ .include "data/maps/SevenIsland_TrainerTower_2F/scripts.inc"
+ .include "data/maps/SevenIsland_TrainerTower_3F/scripts.inc"
+ .include "data/maps/SevenIsland_TrainerTower_4F/scripts.inc"
+ .include "data/maps/SevenIsland_TrainerTower_5F/scripts.inc"
+ .include "data/maps/SevenIsland_TrainerTower_6F/scripts.inc"
+ .include "data/maps/SevenIsland_TrainerTower_7F/scripts.inc"
+ .include "data/maps/SevenIsland_TrainerTower_8F/scripts.inc"
+ .include "data/maps/SevenIsland_TrainerTower_Roof/scripts.inc"
+ .include "data/maps/SevenIsland_TrainerTower_Lobby/scripts.inc"
+ .include "data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Entrance/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room1/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room2/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room3/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room4/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room5/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room6/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room7/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room8/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room9/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room10/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room11/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room12/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room13/scripts.inc"
+ .include "data/maps/FiveIsland_LostCave_Room14/scripts.inc"
+ .include "data/maps/SevenIsland_TanobyRuins_MoneanChamber/scripts.inc"
+ .include "data/maps/SevenIsland_TanobyRuins_LiptooChamber/scripts.inc"
+ .include "data/maps/SevenIsland_TanobyRuins_WeepthChamber/scripts.inc"
+ .include "data/maps/SevenIsland_TanobyRuins_DilfordChamber/scripts.inc"
+ .include "data/maps/SevenIsland_TanobyRuins_ScufibChamber/scripts.inc"
+ .include "data/maps/SevenIsland_TanobyRuins_RixyChamber/scripts.inc"
+ .include "data/maps/SevenIsland_TanobyRuins_ViapoisChamber/scripts.inc"
+ .include "data/maps/ThreeIsland_DunsparceTunnel/scripts.inc"
+ .include "data/maps/SevenIsland_SeavaultCanyon_TanobyKey/scripts.inc"
+ .include "data/maps/NavelRock_1F/scripts.inc"
+ .include "data/maps/NavelRock_Summit/scripts.inc"
+ .include "data/maps/NavelRock_Base/scripts.inc"
+ .include "data/maps/NavelRock_SummitPath_2F/scripts.inc"
+ .include "data/maps/NavelRock_SummitPath_3F/scripts.inc"
+ .include "data/maps/NavelRock_SummitPath_4F/scripts.inc"
+ .include "data/maps/NavelRock_SummitPath_5F/scripts.inc"
+ .include "data/maps/NavelRock_BasePath_B1F/scripts.inc"
+ .include "data/maps/NavelRock_BasePath_B2F/scripts.inc"
+ .include "data/maps/NavelRock_BasePath_B3F/scripts.inc"
+ .include "data/maps/NavelRock_BasePath_B4F/scripts.inc"
+ .include "data/maps/NavelRock_BasePath_B5F/scripts.inc"
+ .include "data/maps/NavelRock_BasePath_B6F/scripts.inc"
+ .include "data/maps/NavelRock_BasePath_B7F/scripts.inc"
+ .include "data/maps/NavelRock_BasePath_B8F/scripts.inc"
+ .include "data/maps/NavelRock_BasePath_B9F/scripts.inc"
+ .include "data/maps/NavelRock_BasePath_B10F/scripts.inc"
+ .include "data/maps/NavelRock_BasePath_B11F/scripts.inc"
+ .include "data/maps/NavelRock_B1F/scripts.inc"
+ .include "data/maps/NavelRock_Fork/scripts.inc"
+ .include "data/maps/BirthIsland_Exterior/scripts.inc"
+ .include "data/maps/OneIsland_KindleRoad_EmberSpa/scripts.inc"
+ .include "data/maps/BirthIsland_Harbor/scripts.inc"
+ .include "data/maps/PalletTown/scripts.inc"
+ .include "data/maps/ViridianCity/scripts.inc"
+ .include "data/maps/PewterCity/scripts.inc"
+ .include "data/maps/CeruleanCity/scripts.inc"
+ .include "data/maps/LavenderTown/scripts.inc"
+ .include "data/maps/VermilionCity/scripts.inc"
+ .include "data/maps/CeladonCity/scripts.inc"
+ .include "data/maps/FuchsiaCity/scripts.inc"
+ .include "data/maps/CinnabarIsland/scripts.inc"
+ .include "data/maps/IndigoPlateau_Exterior/scripts.inc"
+ .include "data/maps/SaffronCity_Duplicate/scripts.inc"
+ .include "data/maps/SaffronCity/scripts.inc"
+ .include "data/maps/OneIsland/scripts.inc"
+ .include "data/maps/TwoIsland/scripts.inc"
+ .include "data/maps/ThreeIsland/scripts.inc"
+ .include "data/maps/FourIsland/scripts.inc"
+ .include "data/maps/FiveIsland/scripts.inc"
+ .include "data/maps/SevenIsland/scripts.inc"
+ .include "data/maps/SixIsland/scripts.inc"
+ .include "data/maps/Route1/scripts.inc"
+ .include "data/maps/Route2/scripts.inc"
+ .include "data/maps/Route3/scripts.inc"
+ .include "data/maps/Route4/scripts.inc"
+ .include "data/maps/Route5/scripts.inc"
+ .include "data/maps/Route6/scripts.inc"
+ .include "data/maps/Route7/scripts.inc"
+ .include "data/maps/Route8/scripts.inc"
+ .include "data/maps/Route9/scripts.inc"
+ .include "data/maps/Route10/scripts.inc"
+ .include "data/maps/Route11/scripts.inc"
+ .include "data/maps/Route12/scripts.inc"
+ .include "data/maps/Route13/scripts.inc"
+ .include "data/maps/Route14/scripts.inc"
+ .include "data/maps/Route15/scripts.inc"
+ .include "data/maps/Route16/scripts.inc"
+ .include "data/maps/Route17/scripts.inc"
+ .include "data/maps/Route18/scripts.inc"
+ .include "data/maps/Route19/scripts.inc"
+ .include "data/maps/Route20/scripts.inc"
+ .include "data/maps/Route21_North/scripts.inc"
+ .include "data/maps/Route21_South/scripts.inc"
+ .include "data/maps/Route22/scripts.inc"
+ .include "data/maps/Route23/scripts.inc"
+ .include "data/maps/Route24/scripts.inc"
+ .include "data/maps/Route25/scripts.inc"
+ .include "data/maps/OneIsland_KindleRoad/scripts.inc"
+ .include "data/maps/OneIsland_TreasureBeach/scripts.inc"
+ .include "data/maps/TwoIsland_CapeBrink/scripts.inc"
+ .include "data/maps/ThreeIsland_BondBridge/scripts.inc"
+ .include "data/maps/ThreeIsland_Port/scripts.inc"
+ .include "data/maps/UnknownMap_03_50/scripts.inc"
+ .include "data/maps/UnknownMap_03_51/scripts.inc"
+ .include "data/maps/UnknownMap_03_52/scripts.inc"
+ .include "data/maps/UnknownMap_03_53/scripts.inc"
+ .include "data/maps/FiveIsland_ResortGorgeous/scripts.inc"
+ .include "data/maps/FiveIsland_WaterLabyrinth/scripts.inc"
+ .include "data/maps/FiveIsland_Meadow/scripts.inc"
+ .include "data/maps/FiveIsland_MemorialPillar/scripts.inc"
+ .include "data/maps/SixIsland_OutcastIsland/scripts.inc"
+ .include "data/maps/SixIsland_GreenPath/scripts.inc"
+ .include "data/maps/SixIsland_WaterPath/scripts.inc"
+ .include "data/maps/SixIsland_RuinValley/scripts.inc"
+ .include "data/maps/SevenIsland_TrainerTower/scripts.inc"
+ .include "data/maps/SevenIsland_SevaultCanyon_Entrance/scripts.inc"
+ .include "data/maps/SevenIsland_SevaultCanyon/scripts.inc"
+ .include "data/maps/SevenIsland_TanobyRuins/scripts.inc"
+ .include "data/maps/PalletTown_PlayersHouse_1F/scripts.inc"
+ .include "data/maps/PalletTown_PlayersHouse_2F/scripts.inc"
+ .include "data/maps/PalletTown_GarysHouse/scripts.inc"
+ .include "data/maps/PalletTown_ProfessorOaksLab/scripts.inc"
+ .include "data/maps/ViridianCity_House1/scripts.inc"
+ .include "data/maps/ViridianCity_Gym/scripts.inc"
+ .include "data/maps/ViridianCity_House2/scripts.inc"
+ .include "data/maps/ViridianCity_Mart/scripts.inc"
+ .include "data/maps/ViridianCity_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/ViridianCity_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/PewterCity_Museum_1F/scripts.inc"
+ .include "data/maps/PewterCity_Museum_2F/scripts.inc"
+ .include "data/maps/PewterCity_Gym/scripts.inc"
+ .include "data/maps/PewterCity_Mart/scripts.inc"
+ .include "data/maps/PewterCity_House1/scripts.inc"
+ .include "data/maps/PewterCity_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/PewterCity_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/PewterCity_House2/scripts.inc"
+ .include "data/maps/CeruleanCity_House1/scripts.inc"
+ .include "data/maps/CeruleanCity_House2/scripts.inc"
+ .include "data/maps/CeruleanCity_House3/scripts.inc"
+ .include "data/maps/CeruleanCity_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/CeruleanCity_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/CeruleanCity_Gym/scripts.inc"
+ .include "data/maps/CeruleanCity_BikeShop/scripts.inc"
+ .include "data/maps/CeruleanCity_Mart/scripts.inc"
+ .include "data/maps/CeruleanCity_House4/scripts.inc"
+ .include "data/maps/CeruleanCity_House5/scripts.inc"
+ .include "data/maps/LavenderTown_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/LavenderTown_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/LavenderTown_VolunteerPokemonHouse/scripts.inc"
+ .include "data/maps/LavenderTown_House1/scripts.inc"
+ .include "data/maps/LavenderTown_House2/scripts.inc"
+ .include "data/maps/LavenderTown_Mart/scripts.inc"
+ .include "data/maps/VermilionCity_House1/scripts.inc"
+ .include "data/maps/VermilionCity_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/VermilionCity_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/VermilionCity_PokemonFanClub/scripts.inc"
+ .include "data/maps/VermilionCity_Mart/scripts.inc"
+ .include "data/maps/VermilionCity_Gym/scripts.inc"
+ .include "data/maps/VermilionCity_House3/scripts.inc"
+ .include "data/maps/CeladonCity_DepartmentStore_1F/scripts.inc"
+ .include "data/maps/CeladonCity_DepartmentStore_2F/scripts.inc"
+ .include "data/maps/CeladonCity_DepartmentStore_3F/scripts.inc"
+ .include "data/maps/CeladonCity_DepartmentStore_4F/scripts.inc"
+ .include "data/maps/CeladonCity_DepartmentStore_5F/scripts.inc"
+ .include "data/maps/CeladonCity_DepartmentStore_Roof/scripts.inc"
+ .include "data/maps/CeladonCity_DepartmentStore_Elevator/scripts.inc"
+ .include "data/maps/CeladonCity_Condominiums_1F/scripts.inc"
+ .include "data/maps/CeladonCity_Condominiums_2F/scripts.inc"
+ .include "data/maps/CeladonCity_Condominiums_3F/scripts.inc"
+ .include "data/maps/CeladonCity_Condominiums_Roof/scripts.inc"
+ .include "data/maps/CeladonCity_Condominiums_RoofRoom/scripts.inc"
+ .include "data/maps/CeladonCity_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/CeladonCity_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/CeladonCity_GameCorner/scripts.inc"
+ .include "data/maps/CeladonCity_GameCorner_PrizeRoom/scripts.inc"
+ .include "data/maps/CeladonCity_Gym/scripts.inc"
+ .include "data/maps/CeladonCity_Restaurant/scripts.inc"
+ .include "data/maps/CeladonCity_House1/scripts.inc"
+ .include "data/maps/CeladonCity_Hotel/scripts.inc"
+ .include "data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc"
+ .include "data/maps/FuchsiaCity_Mart/scripts.inc"
+ .include "data/maps/FuchsiaCity_ZooBuilding/scripts.inc"
+ .include "data/maps/FuchsiaCity_Gym/scripts.inc"
+ .include "data/maps/FuchsiaCity_House1/scripts.inc"
+ .include "data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/FuchsiaCity_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/FuchsiaCity_Building1/scripts.inc"
+ .include "data/maps/FuchsiaCity_House2/scripts.inc"
+ .include "data/maps/FuchsiaCity_House3/scripts.inc"
+ .include "data/maps/CinnabarIsland_Gym/scripts.inc"
+ .include "data/maps/CinnabarIsland_PokemonLab_Entrance/scripts.inc"
+ .include "data/maps/CinnabarIsland_PokemonLab_Lounge/scripts.inc"
+ .include "data/maps/CinnabarIsland_PokemonLab_ResearchRoom/scripts.inc"
+ .include "data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/scripts.inc"
+ .include "data/maps/CinnabarIsland_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/CinnabarIsland_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/CinnabarIsland_Mart/scripts.inc"
+ .include "data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/IndigoPlateau_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/SaffronCity_House1_1F/scripts.inc"
+ .include "data/maps/SaffronCity_House1_2F/scripts.inc"
+ .include "data/maps/SaffronCity_Dojo/scripts.inc"
+ .include "data/maps/SaffronCity_Gym/scripts.inc"
+ .include "data/maps/SaffronCity_House2/scripts.inc"
+ .include "data/maps/SaffronCity_Mart/scripts.inc"
+ .include "data/maps/SaffronCity_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/SaffronCity_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/SaffronCity_House3/scripts.inc"
+ .include "data/maps/SaffronCity_PokemonTrainerFanClub/scripts.inc"
+ .include "data/maps/Route2_ViridianForest_SouthEntrance/scripts.inc"
+ .include "data/maps/Route2_House/scripts.inc"
+ .include "data/maps/Route2_EastBuilding/scripts.inc"
+ .include "data/maps/Route2_ViridianForest_NorthEntrance/scripts.inc"
+ .include "data/maps/Route4_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/Route4_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/Route5_PokemonDayCare/scripts.inc"
+ .include "data/maps/Route5_SouthEntrance/scripts.inc"
+ .include "data/maps/Route6_NorthEntrance/scripts.inc"
+ .include "data/maps/UnknownMap_18_01/scripts.inc"
+ .include "data/maps/Route7_EastEntrance/scripts.inc"
+ .include "data/maps/Route8_WestEntrance/scripts.inc"
+ .include "data/maps/Route10_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/Route10_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/Route11_EastEntrance_1F/scripts.inc"
+ .include "data/maps/Route11_EastEntrance_2F/scripts.inc"
+ .include "data/maps/Route12_NorthEntrance_1F/scripts.inc"
+ .include "data/maps/Route12_NorthEntrance_2F/scripts.inc"
+ .include "data/maps/Route12_FishingHouse/scripts.inc"
+ .include "data/maps/Route15_WestEntrance_1F/scripts.inc"
+ .include "data/maps/Route15_WestEntrance_2F/scripts.inc"
+ .include "data/maps/Route16_House/scripts.inc"
+ .include "data/maps/Route16_NorthEntrance_1F/scripts.inc"
+ .include "data/maps/Route16_NorthEntrance_2F/scripts.inc"
+ .include "data/maps/Route18_EastEntrance_1F/scripts.inc"
+ .include "data/maps/Route18_EastEntrance_2F/scripts.inc"
+ .include "data/maps/UnusedHouse_27_00/scripts.inc"
+ .include "data/maps/Route22_NorthEntrance/scripts.inc"
+ .include "data/maps/UnusedHouse_29_00/scripts.inc"
+ .include "data/maps/Route25_SeaCottage/scripts.inc"
+ .include "data/maps/SevenIsland_House_Room1/scripts.inc"
+ .include "data/maps/SevenIsland_House_Room2/scripts.inc"
+ .include "data/maps/SevenIsland_Mart/scripts.inc"
+ .include "data/maps/SevenIsland_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/SevenIsland_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/UnusedHouse_31_05/scripts.inc"
+ .include "data/maps/SevenIsland_Harbor/scripts.inc"
+ .include "data/maps/OneIsland_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/OneIsland_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/OneIsland_House1/scripts.inc"
+ .include "data/maps/OneIsland_House2/scripts.inc"
+ .include "data/maps/OneIsland_Harbor/scripts.inc"
+ .include "data/maps/TwoIsland_JoyfulGameCorner/scripts.inc"
+ .include "data/maps/TwoIsland_House/scripts.inc"
+ .include "data/maps/TwoIsland_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/TwoIsland_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/TwoIsland_Harbor/scripts.inc"
+ .include "data/maps/ThreeIsland_House1/scripts.inc"
+ .include "data/maps/ThreeIsland_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/ThreeIsland_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/ThreeIsland_Mart/scripts.inc"
+ .include "data/maps/ThreeIsland_House2/scripts.inc"
+ .include "data/maps/ThreeIsland_House3/scripts.inc"
+ .include "data/maps/ThreeIsland_House4/scripts.inc"
+ .include "data/maps/ThreeIsland_House5/scripts.inc"
+ .include "data/maps/FourIsland_PokemonDayCare/scripts.inc"
+ .include "data/maps/FourIsland_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/FourIsland_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/FourIsland_House1/scripts.inc"
+ .include "data/maps/FourIsland_LoreleisHouse/scripts.inc"
+ .include "data/maps/FourIsland_Harbor/scripts.inc"
+ .include "data/maps/FourIsland_House2/scripts.inc"
+ .include "data/maps/FourIsland_Mart/scripts.inc"
+ .include "data/maps/FiveIsland_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/FiveIsland_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/FiveIsland_Harbor/scripts.inc"
+ .include "data/maps/FiveIsland_House1/scripts.inc"
+ .include "data/maps/FiveIsland_House2/scripts.inc"
+ .include "data/maps/SixIsland_PokemonCenter_1F/scripts.inc"
+ .include "data/maps/SixIsland_PokemonCenter_2F/scripts.inc"
+ .include "data/maps/SixIsland_Harbor/scripts.inc"
+ .include "data/maps/SixIsland_House/scripts.inc"
+ .include "data/maps/SixIsland_Mart/scripts.inc"
+ .include "data/maps/ThreeIsland_Harbor/scripts.inc"
+ .include "data/maps/FiveIsland_ResortGorgeous_House/scripts.inc"
+ .include "data/maps/TwoIsland_CapeBrink_House/scripts.inc"
+ .include "data/maps/SixIsland_WaterPath_House1/scripts.inc"
+ .include "data/maps/SixIsland_WaterPath_House2/scripts.inc"
+ .include "data/maps/SevenIsland_SevaultCanyon_House/scripts.inc"
+
+@ this section is a mixture of text strings and event scripts
+
+gUnknown_8172255:: @ 8172255
+ .incbin "baserom.gba", 0x172255, 0x72
+
+Text_1722C7:: @ 81722C7
+ .incbin "baserom.gba", 0x1722C7, 0x32
+
+Text_1722F9:: @ 81722F9
+ .incbin "baserom.gba", 0x1722F9, 0x1C
+
+gUnknown_8172315:: @ 8172315
+ .incbin "baserom.gba", 0x172315, 0x35
+
+Text_17234A:: @ 817234A
+ .incbin "baserom.gba", 0x17234A, 0x33
+
+Text_17237D:: @ 817237D
+ .incbin "baserom.gba", 0x17237D, 0x1B
+
+gUnknown_8172398:: @ 8172398
+ .incbin "baserom.gba", 0x172398, 0x3C
+
+Text_1723D4:: @ 81723D4
+ .incbin "baserom.gba", 0x1723D4, 0x2E
+
+Text_172402:: @ 8172402
+ .incbin "baserom.gba", 0x172402, 0x1D
+
+gUnknown_817241F:: @ 817241F
+ .incbin "baserom.gba", 0x17241F, 0x63
+
+Text_172482:: @ 8172482
+ .incbin "baserom.gba", 0x172482, 0x3D
+
+Text_1724BF:: @ 81724BF
+ .incbin "baserom.gba", 0x1724BF, 0x1D
+
+gUnknown_81724DC:: @ 81724DC
+ .incbin "baserom.gba", 0x1724DC, 0x1D
+
+Text_1724F9:: @ 81724F9
+ .incbin "baserom.gba", 0x1724F9, 0x22
+
+Text_17251B:: @ 817251B
+ .incbin "baserom.gba", 0x17251B, 0xC
+
+gUnknown_8172527:: @ 8172527
+ .incbin "baserom.gba", 0x172527, 0x32
+
+gUnknown_8172559:: @ 8172559
+ .incbin "baserom.gba", 0x172559, 0x6E
+
+gUnknown_81725C7:: @ 81725C7
+ .incbin "baserom.gba", 0x1725C7, 0x62
+
+gUnknown_8172629:: @ 8172629
+ .incbin "baserom.gba", 0x172629, 0x33
+
+gUnknown_817265C:: @ 817265C
+ .incbin "baserom.gba", 0x17265C, 0x47
+
+gUnknown_81726A3:: @ 81726A3
+ .incbin "baserom.gba", 0x1726A3, 0x7A
+
+gUnknown_817271D:: @ 817271D
+ .incbin "baserom.gba", 0x17271D, 0x56
+
+gUnknown_8172773:: @ 8172773
+ .incbin "baserom.gba", 0x172773, 0x2A
+
+Text_17279D:: @ 817279D
+ .incbin "baserom.gba", 0x17279D, 0x2E
+
+Text_1727CB:: @ 81727CB
+ .incbin "baserom.gba", 0x1727CB, 0x14
+
+gUnknown_81727DF:: @ 81727DF
+ .incbin "baserom.gba", 0x1727DF, 0x3E
+
+Text_17281D:: @ 817281D
+ .incbin "baserom.gba", 0x17281D, 0x27
+
+Text_172844:: @ 8172844
+ .incbin "baserom.gba", 0x172844, 0x1F
+
+gUnknown_8172863:: @ 8172863
+ .incbin "baserom.gba", 0x172863, 0x33
+
+Text_172896:: @ 8172896
+ .incbin "baserom.gba", 0x172896, 0x2D
+
+Text_1728C3:: @ 81728C3
+ .incbin "baserom.gba", 0x1728C3, 0xF
+
+gUnknown_81728D2:: @ 81728D2
+ .incbin "baserom.gba", 0x1728D2, 0x39
+
+Text_17290B:: @ 817290B
+ .incbin "baserom.gba", 0x17290B, 0x1C
+
+Text_172927:: @ 8172927
+ .incbin "baserom.gba", 0x172927, 0x15
+
+gUnknown_817293C:: @ 817293C
+ .incbin "baserom.gba", 0x17293C, 0x36
+
+Text_172972:: @ 8172972
+ .incbin "baserom.gba", 0x172972, 0x32
+
+Text_1729A4:: @ 81729A4
+ .incbin "baserom.gba", 0x1729A4, 0x8
+
+gUnknown_81729AC:: @ 81729AC
+ .incbin "baserom.gba", 0x1729AC, 0x3E
+
+Text_1729EA:: @ 81729EA
+ .incbin "baserom.gba", 0x1729EA, 0x30
+
+Text_172A1A:: @ 8172A1A
+ .incbin "baserom.gba", 0x172A1A, 0xC
+
+gUnknown_8172A26:: @ 8172A26
+ .incbin "baserom.gba", 0x172A26, 0x2F
+
+Text_172A55:: @ 8172A55
+ .incbin "baserom.gba", 0x172A55, 0x3A
+
+Text_172A8F:: @ 8172A8F
+ .incbin "baserom.gba", 0x172A8F, 0x8
+
+gUnknown_8172A97:: @ 8172A97
+ .incbin "baserom.gba", 0x172A97, 0x49
+
+gUnknown_8172AE0:: @ 8172AE0
+ .incbin "baserom.gba", 0x172AE0, 0x84
+
+Text_172B64:: @ 8172B64
+ .incbin "baserom.gba", 0x172B64, 0x35
+
+Text_172B99:: @ 8172B99
+ .incbin "baserom.gba", 0x172B99, 0x12
+
+gUnknown_8172BAB:: @ 8172BAB
+ .incbin "baserom.gba", 0x172BAB, 0x2B
+
+Text_172BD6:: @ 8172BD6
+ .incbin "baserom.gba", 0x172BD6, 0x25
+
+gUnknown_8172BFB:: @ 8172BFB
+ .incbin "baserom.gba", 0x172BFB, 0x5F
+
+Text_172C5A:: @ 8172C5A
+ .incbin "baserom.gba", 0x172C5A, 0x5E
+
+Text_172CB8:: @ 8172CB8
+ .incbin "baserom.gba", 0x172CB8, 0x13
+
+gUnknown_8172CCB:: @ 8172CCB
+ .incbin "baserom.gba", 0x172CCB, 0x31
+
+Text_172CFC:: @ 8172CFC
+ .incbin "baserom.gba", 0x172CFC, 0x4A
+
+Text_172D46:: @ 8172D46
+ .incbin "baserom.gba", 0x172D46, 0xB
+
+gUnknown_8172D51:: @ 8172D51
+ .incbin "baserom.gba", 0x172D51, 0x31
+
+Text_172D82:: @ 8172D82
+ .incbin "baserom.gba", 0x172D82, 0x2D
+
+Text_172DAF:: @ 8172DAF
+ .incbin "baserom.gba", 0x172DAF, 0x12
+
+gUnknown_8172DC1:: @ 8172DC1
+ .incbin "baserom.gba", 0x172DC1, 0x2F
+
+Text_172DF0:: @ 8172DF0
+ .incbin "baserom.gba", 0x172DF0, 0x4E
+
+Text_172E3E:: @ 8172E3E
+ .incbin "baserom.gba", 0x172E3E, 0xD
+
+gUnknown_8172E4B:: @ 8172E4B
+ .incbin "baserom.gba", 0x172E4B, 0x2C
+
+gUnknown_8172E77:: @ 8172E77
+ .incbin "baserom.gba", 0x172E77, 0x1D
+
+gUnknown_8172E94:: @ 8172E94
+ .incbin "baserom.gba", 0x172E94, 0x1E
+
+gUnknown_8172EB2:: @ 8172EB2
+ .incbin "baserom.gba", 0x172EB2, 0x1B
+
+gUnknown_8172ECD:: @ 8172ECD
+ .incbin "baserom.gba", 0x172ECD, 0x1A
+
+gUnknown_8172EE7:: @ 8172EE7
+ .incbin "baserom.gba", 0x172EE7, 0x79
+
+gUnknown_8172F60:: @ 8172F60
+ .incbin "baserom.gba", 0x172F60, 0x63
+
+gUnknown_8172FC3:: @ 8172FC3
+ .incbin "baserom.gba", 0x172FC3, 0x72
+
+gUnknown_8173035:: @ 8173035
+ .incbin "baserom.gba", 0x173035, 0xDB
+
+Text_173110:: @ 8173110
+ .incbin "baserom.gba", 0x173110, 0x54
+
+gUnknown_8173164:: @ 8173164
+ .incbin "baserom.gba", 0x173164, 0xA8
+
+gUnknown_817320C:: @ 817320C
+ .incbin "baserom.gba", 0x17320C, 0x63
+
+gUnknown_817326F:: @ 817326F
+ .incbin "baserom.gba", 0x17326F, 0x33
+
+gUnknown_81732A2:: @ 81732A2
+ .incbin "baserom.gba", 0x1732A2, 0x24
+
+gUnknown_81732C6:: @ 81732C6
+ .incbin "baserom.gba", 0x1732C6, 0x42
+
+Text_173308:: @ 8173308
+ .incbin "baserom.gba", 0x173308, 0x23
+
+Text_17332B:: @ 817332B
+ .incbin "baserom.gba", 0x17332B, 0x13
+
+gUnknown_817333E:: @ 817333E
+ .incbin "baserom.gba", 0x17333E, 0x44
+
+Text_173382:: @ 8173382
+ .incbin "baserom.gba", 0x173382, 0x1E
+
+Text_1733A0:: @ 81733A0
+ .incbin "baserom.gba", 0x1733A0, 0x15
+
+gUnknown_81733B5:: @ 81733B5
+ .incbin "baserom.gba", 0x1733B5, 0x43
+
+gUnknown_81733F8:: @ 81733F8
+ .incbin "baserom.gba", 0x1733F8, 0x31
+
+gUnknown_8173429:: @ 8173429
+ .incbin "baserom.gba", 0x173429, 0x39
+
+gUnknown_8173462:: @ 8173462
+ .incbin "baserom.gba", 0x173462, 0x3E
+
+gUnknown_81734A0:: @ 81734A0
+ .incbin "baserom.gba", 0x1734A0, 0x33
+
+gUnknown_81734D3:: @ 81734D3
+ .incbin "baserom.gba", 0x1734D3, 0x6B
+
+gUnknown_817353E:: @ 817353E
+ .incbin "baserom.gba", 0x17353E, 0x32
+
+gUnknown_8173570:: @ 8173570
+ .incbin "baserom.gba", 0x173570, 0x2F
+
+gUnknown_817359F:: @ 817359F
+ .incbin "baserom.gba", 0x17359F, 0x40
+
+gUnknown_81735DF:: @ 81735DF
+ .incbin "baserom.gba", 0x1735DF, 0x32
+
+gUnknown_8173611:: @ 8173611
+ .incbin "baserom.gba", 0x173611, 0x35
+
+gUnknown_8173646:: @ 8173646
+ .incbin "baserom.gba", 0x173646, 0x30
+
+Text_173676:: @ 8173676
+ .incbin "baserom.gba", 0x173676, 0x30
+
+gUnknown_81736A6:: @ 81736A6
+ .incbin "baserom.gba", 0x1736A6, 0x109
+
+gUnknown_81737AF:: @ 81737AF
+ .incbin "baserom.gba", 0x1737AF, 0x23
+
+gUnknown_81737D2:: @ 81737D2
+ .incbin "baserom.gba", 0x1737D2, 0x5F
+
+gUnknown_8173831:: @ 8173831
+ .incbin "baserom.gba", 0x173831, 0x92
+
+gUnknown_81738C3:: @ 81738C3
+ .incbin "baserom.gba", 0x1738C3, 0x23
+
+gUnknown_81738E6:: @ 81738E6
+ .incbin "baserom.gba", 0x1738E6, 0x1D
+
+gUnknown_8173903:: @ 8173903
+ .incbin "baserom.gba", 0x173903, 0x38
+
+gUnknown_817393B:: @ 817393B
+ .incbin "baserom.gba", 0x17393B, 0x5E
+
+Text_173999:: @ 8173999
+ .incbin "baserom.gba", 0x173999, 0x18
+
+Text_1739B1:: @ 81739B1
+ .incbin "baserom.gba", 0x1739B1, 0x14
+
+gUnknown_81739C5:: @ 81739C5
+ .incbin "baserom.gba", 0x1739C5, 0x55
+
+Text_173A1A:: @ 8173A1A
+ .incbin "baserom.gba", 0x173A1A, 0x35
+
+Text_173A4F:: @ 8173A4F
+ .incbin "baserom.gba", 0x173A4F, 0x2B
+
+gUnknown_8173A7A:: @ 8173A7A
+ .incbin "baserom.gba", 0x173A7A, 0x4B
+
+gUnknown_8173AC5:: @ 8173AC5
+ .incbin "baserom.gba", 0x173AC5, 0x35
+
+gUnknown_8173AFA:: @ 8173AFA
+ .incbin "baserom.gba", 0x173AFA, 0x27
+
+gUnknown_8173B21:: @ 8173B21
+ .incbin "baserom.gba", 0x173B21, 0x40
+
+gUnknown_8173B61:: @ 8173B61
+ .incbin "baserom.gba", 0x173B61, 0x18
+
+gUnknown_8173B79:: @ 8173B79
+ .incbin "baserom.gba", 0x173B79, 0x2B
+
+gUnknown_8173BA4:: @ 8173BA4
+ .incbin "baserom.gba", 0x173BA4, 0x2D
+
+Text_173BD1:: @ 8173BD1
+ .incbin "baserom.gba", 0x173BD1, 0x29
+
+Text_173BFA:: @ 8173BFA
+ .incbin "baserom.gba", 0x173BFA, 0x36
+
+gUnknown_8173C30:: @ 8173C30
+ .incbin "baserom.gba", 0x173C30, 0x22
+
+Text_173C52:: @ 8173C52
+ .incbin "baserom.gba", 0x173C52, 0x62
+
+Text_173CB4:: @ 8173CB4
+ .incbin "baserom.gba", 0x173CB4, 0x10
+
+gUnknown_8173CC4:: @ 8173CC4
+ .incbin "baserom.gba", 0x173CC4, 0x1F
+
+Text_173CE3:: @ 8173CE3
+ .incbin "baserom.gba", 0x173CE3, 0x80
+
+Text_173D63:: @ 8173D63
+ .incbin "baserom.gba", 0x173D63, 0x2F
+
+Text_173D92:: @ 8173D92
+ .incbin "baserom.gba", 0x173D92, 0x24
+
+gUnknown_8173DB6:: @ 8173DB6
+ .incbin "baserom.gba", 0x173DB6, 0x25
+
+Text_173DDB:: @ 8173DDB
+ .incbin "baserom.gba", 0x173DDB, 0x1C
+
+Text_173DF7:: @ 8173DF7
+ .incbin "baserom.gba", 0x173DF7, 0xD
+
+gUnknown_8173E04:: @ 8173E04
+ .incbin "baserom.gba", 0x173E04, 0x36
+
+gUnknown_8173E3A:: @ 8173E3A
+ .incbin "baserom.gba", 0x173E3A, 0x41
+
+gUnknown_8173E7B:: @ 8173E7B
+ .incbin "baserom.gba", 0x173E7B, 0x8C
+
+Text_173F07:: @ 8173F07
+ .incbin "baserom.gba", 0x173F07, 0x3B
+
+Text_173F42:: @ 8173F42
+ .incbin "baserom.gba", 0x173F42, 0x13
+
+gUnknown_8173F55:: @ 8173F55
+ .incbin "baserom.gba", 0x173F55, 0x2E
+
+Text_173F83:: @ 8173F83
+ .incbin "baserom.gba", 0x173F83, 0x28
+
+Text_173FAB:: @ 8173FAB
+ .incbin "baserom.gba", 0x173FAB, 0xE
+
+gUnknown_8173FB9:: @ 8173FB9
+ .incbin "baserom.gba", 0x173FB9, 0x3E
+
+gUnknown_8173FF7:: @ 8173FF7
+ .incbin "baserom.gba", 0x173FF7, 0x58
+
+gUnknown_817404F:: @ 817404F
+ .incbin "baserom.gba", 0x17404F, 0x52
+
+gUnknown_81740A1:: @ 81740A1
+ .incbin "baserom.gba", 0x1740A1, 0x35
+
+gUnknown_81740D6:: @ 81740D6
+ .incbin "baserom.gba", 0x1740D6, 0x20
+
+Text_1740F6:: @ 81740F6
+ .incbin "baserom.gba", 0x1740F6, 0x2D
+
+Text_174123:: @ 8174123
+ .incbin "baserom.gba", 0x174123, 0x17
+
+gUnknown_817413A:: @ 817413A
+ .incbin "baserom.gba", 0x17413A, 0x3D
+
+Text_174177:: @ 8174177
+ .incbin "baserom.gba", 0x174177, 0x78
+
+Text_1741EF:: @ 81741EF
+ .incbin "baserom.gba", 0x1741EF, 0x1F
+
+gUnknown_817420E:: @ 817420E
+ .incbin "baserom.gba", 0x17420E, 0x2B
+
+Text_174239:: @ 8174239
+ .incbin "baserom.gba", 0x174239, 0x23
+
+Text_17425C:: @ 817425C
+ .incbin "baserom.gba", 0x17425C, 0x16
+
+gUnknown_8174272:: @ 8174272
+ .incbin "baserom.gba", 0x174272, 0x34
+
+Text_1742A6:: @ 81742A6
+ .incbin "baserom.gba", 0x1742A6, 0x1D
+
+Text_1742C3:: @ 81742C3
+ .incbin "baserom.gba", 0x1742C3, 0xF
+
+gUnknown_81742D2:: @ 81742D2
+ .incbin "baserom.gba", 0x1742D2, 0x43
+
+Text_174315:: @ 8174315
+ .incbin "baserom.gba", 0x174315, 0x33
+
+Text_174348:: @ 8174348
+ .incbin "baserom.gba", 0x174348, 0x1A
+
+gUnknown_8174362:: @ 8174362
+ .incbin "baserom.gba", 0x174362, 0x23
+
+Text_174385:: @ 8174385
+ .incbin "baserom.gba", 0x174385, 0x2E
+
+Text_1743B3:: @ 81743B3
+ .incbin "baserom.gba", 0x1743B3, 0x15
+
+gUnknown_81743C8:: @ 81743C8
+ .incbin "baserom.gba", 0x1743C8, 0x30
+
+gUnknown_81743F8:: @ 81743F8
+ .incbin "baserom.gba", 0x1743F8, 0x4C
+
+gUnknown_8174444:: @ 8174444
+ .incbin "baserom.gba", 0x174444, 0x17
+
+gUnknown_817445B:: @ 817445B
+ .incbin "baserom.gba", 0x17445B, 0x35
+
+gUnknown_8174490:: @ 8174490
+ .incbin "baserom.gba", 0x174490, 0x40
+
+gUnknown_81744D0:: @ 81744D0
+ .incbin "baserom.gba", 0x1744D0, 0x45
+
+gUnknown_8174515:: @ 8174515
+ .incbin "baserom.gba", 0x174515, 0x44
+
+gUnknown_8174559:: @ 8174559
+ .incbin "baserom.gba", 0x174559, 0x42
+
+gUnknown_817459B:: @ 817459B
+ .incbin "baserom.gba", 0x17459B, 0x3E
+
+gUnknown_81745D9:: @ 81745D9
+ .incbin "baserom.gba", 0x1745D9, 0x53
+
+gUnknown_817462C:: @ 817462C
+ .incbin "baserom.gba", 0x17462C, 0x7B
+
+gUnknown_81746A7:: @ 81746A7
+ .incbin "baserom.gba", 0x1746A7, 0x69
+
+Text_174710:: @ 8174710
+ .incbin "baserom.gba", 0x174710, 0x28
+
+Text_174738:: @ 8174738
+ .incbin "baserom.gba", 0x174738, 0xC
+
+gUnknown_8174744:: @ 8174744
+ .incbin "baserom.gba", 0x174744, 0x40
+
+Text_174784:: @ 8174784
+ .incbin "baserom.gba", 0x174784, 0x34
+
+Text_1747B8:: @ 81747B8
+ .incbin "baserom.gba", 0x1747B8, 0x10
+
+gUnknown_81747C8:: @ 81747C8
+ .incbin "baserom.gba", 0x1747C8, 0x27
+
+Text_1747EF:: @ 81747EF
+ .incbin "baserom.gba", 0x1747EF, 0x3D
+
+Text_17482C:: @ 817482C
+ .incbin "baserom.gba", 0x17482C, 0x12
+
+gUnknown_817483E:: @ 817483E
+ .incbin "baserom.gba", 0x17483E, 0x39
+
+Text_174877:: @ 8174877
+ .incbin "baserom.gba", 0x174877, 0x3D
+
+Text_1748B4:: @ 81748B4
+ .incbin "baserom.gba", 0x1748B4, 0x7
+
+gUnknown_81748BB:: @ 81748BB
+ .incbin "baserom.gba", 0x1748BB, 0x33
+
+Text_1748EE:: @ 81748EE
+ .incbin "baserom.gba", 0x1748EE, 0x2D
+
+Text_17491B:: @ 817491B
+ .incbin "baserom.gba", 0x17491B, 0xC
+
+gUnknown_8174927:: @ 8174927
+ .incbin "baserom.gba", 0x174927, 0x1B
+
+Text_174942:: @ 8174942
+ .incbin "baserom.gba", 0x174942, 0x18
+
+Text_17495A:: @ 817495A
+ .incbin "baserom.gba", 0x17495A, 0xF
+
+gUnknown_8174969:: @ 8174969
+ .incbin "baserom.gba", 0x174969, 0x2C
+
+Text_174995:: @ 8174995
+ .incbin "baserom.gba", 0x174995, 0x1B
+
+Text_1749B0:: @ 81749B0
+ .incbin "baserom.gba", 0x1749B0, 0xB
+
+gUnknown_81749BB:: @ 81749BB
+ .incbin "baserom.gba", 0x1749BB, 0x1A5
+
+Text_174B60:: @ 8174B60
+ .incbin "baserom.gba", 0x174B60, 0x23
+
+Text_174B83:: @ 8174B83
+ .incbin "baserom.gba", 0x174B83, 0x16
+
+gUnknown_8174B99:: @ 8174B99
+ .incbin "baserom.gba", 0x174B99, 0x31
+
+Text_174BCA:: @ 8174BCA
+ .incbin "baserom.gba", 0x174BCA, 0x2A
+
+Text_174BF4:: @ 8174BF4
+ .incbin "baserom.gba", 0x174BF4, 0xF
+
+gUnknown_8174C03:: @ 8174C03
+ .incbin "baserom.gba", 0x174C03, 0x2D
+
+Text_174C30:: @ 8174C30
+ .incbin "baserom.gba", 0x174C30, 0x2A
+
+Text_174C5A:: @ 8174C5A
+ .incbin "baserom.gba", 0x174C5A, 0xD
+
+gUnknown_8174C67:: @ 8174C67
+ .incbin "baserom.gba", 0x174C67, 0x23
+
+Text_174C8A:: @ 8174C8A
+ .incbin "baserom.gba", 0x174C8A, 0x1F
+
+Text_174CA9:: @ 8174CA9
+ .incbin "baserom.gba", 0x174CA9, 0x14
+
+gUnknown_8174CBD:: @ 8174CBD
+ .incbin "baserom.gba", 0x174CBD, 0x4F
+
+Text_174D0C:: @ 8174D0C
+ .incbin "baserom.gba", 0x174D0C, 0x39
+
+Text_174D45:: @ 8174D45
+ .incbin "baserom.gba", 0x174D45, 0x1F
+
+gUnknown_8174D64:: @ 8174D64
+ .incbin "baserom.gba", 0x174D64, 0x32
+
+Text_174D96:: @ 8174D96
+ .incbin "baserom.gba", 0x174D96, 0x72
+
+Text_174E08:: @ 8174E08
+ .incbin "baserom.gba", 0x174E08, 0x31
+
+Text_174E39:: @ 8174E39
+ .incbin "baserom.gba", 0x174E39, 0xF
+
+gUnknown_8174E48:: @ 8174E48
+ .incbin "baserom.gba", 0x174E48, 0x45
+
+Text_174E8D:: @ 8174E8D
+ .incbin "baserom.gba", 0x174E8D, 0x3D
+
+Text_174ECA:: @ 8174ECA
+ .incbin "baserom.gba", 0x174ECA, 0x23
+
+Text_174EED:: @ 8174EED
+ .incbin "baserom.gba", 0x174EED, 0xD
+
+gUnknown_8174EFA:: @ 8174EFA
+ .incbin "baserom.gba", 0x174EFA, 0x32
+
+Text_174F2C:: @ 8174F2C
+ .incbin "baserom.gba", 0x174F2C, 0x34
+
+Text_174F60:: @ 8174F60
+ .incbin "baserom.gba", 0x174F60, 0x6
+
+gUnknown_8174F66:: @ 8174F66
+ .incbin "baserom.gba", 0x174F66, 0x2E
+
+Text_174F94:: @ 8174F94
+ .incbin "baserom.gba", 0x174F94, 0x10
+
+Text_174FA4:: @ 8174FA4
+ .incbin "baserom.gba", 0x174FA4, 0xF
+
+gUnknown_8174FB3:: @ 8174FB3
+ .incbin "baserom.gba", 0x174FB3, 0x2E
+
+Text_174FE1:: @ 8174FE1
+ .incbin "baserom.gba", 0x174FE1, 0x17
+
+Text_174FF8:: @ 8174FF8
+ .incbin "baserom.gba", 0x174FF8, 0xF
+
+gUnknown_8175007:: @ 8175007
+ .incbin "baserom.gba", 0x175007, 0x33
+
+Text_17503A:: @ 817503A
+ .incbin "baserom.gba", 0x17503A, 0x20
+
+Text_17505A:: @ 817505A
+ .incbin "baserom.gba", 0x17505A, 0x6
+
+gUnknown_8175060:: @ 8175060
+ .incbin "baserom.gba", 0x175060, 0x2C
+
+Text_17508C:: @ 817508C
+ .incbin "baserom.gba", 0x17508C, 0x33
+
+Text_1750BF:: @ 81750BF
+ .incbin "baserom.gba", 0x1750BF, 0xD
+
+gUnknown_81750CC:: @ 81750CC
+ .incbin "baserom.gba", 0x1750CC, 0x4E
+
+Text_17511A:: @ 817511A
+ .incbin "baserom.gba", 0x17511A, 0x30
+
+Text_17514A:: @ 817514A
+ .incbin "baserom.gba", 0x17514A, 0x11
+
+gUnknown_817515B:: @ 817515B
+ .incbin "baserom.gba", 0x17515B, 0x43
+
+Text_17519E:: @ 817519E
+ .incbin "baserom.gba", 0x17519E, 0x30
+
+Text_1751CE:: @ 81751CE
+ .incbin "baserom.gba", 0x1751CE, 0x12
+
+gUnknown_81751E0:: @ 81751E0
+ .incbin "baserom.gba", 0x1751E0, 0x46
+
+Text_175226:: @ 8175226
+ .incbin "baserom.gba", 0x175226, 0xF2
+
+Text_175318:: @ 8175318
+ .incbin "baserom.gba", 0x175318, 0x15
+
+gUnknown_817532D:: @ 817532D
+ .incbin "baserom.gba", 0x17532D, 0xA3
+
+Text_1753D0:: @ 81753D0
+ .incbin "baserom.gba", 0x1753D0, 0x2E
+
+Text_1753FE:: @ 81753FE
+ .incbin "baserom.gba", 0x1753FE, 0xE
+
+gUnknown_817540C:: @ 817540C
+ .incbin "baserom.gba", 0x17540C, 0x2B
+
+Text_175437:: @ 8175437
+ .incbin "baserom.gba", 0x175437, 0x2C
+
+Text_175463:: @ 8175463
+ .incbin "baserom.gba", 0x175463, 0x7
+
+gUnknown_817546A:: @ 817546A
+ .incbin "baserom.gba", 0x17546A, 0x1E
+
+Text_175488:: @ 8175488
+ .incbin "baserom.gba", 0x175488, 0x31
+
+Text_1754B9:: @ 81754B9
+ .incbin "baserom.gba", 0x1754B9, 0x4
+
+gUnknown_81754BD:: @ 81754BD
+ .incbin "baserom.gba", 0x1754BD, 0x20
+
+gUnknown_81754DD:: @ 81754DD
+ .incbin "baserom.gba", 0x1754DD, 0x1A
+
+gUnknown_81754F7:: @ 81754F7
+ .incbin "baserom.gba", 0x1754F7, 0x52
+
+gUnknown_8175549:: @ 8175549
+ .incbin "baserom.gba", 0x175549, 0x19
+
+Text_175562:: @ 8175562
+ .incbin "baserom.gba", 0x175562, 0x1C
+
+Text_17557E:: @ 817557E
+ .incbin "baserom.gba", 0x17557E, 0x21
+
+gUnknown_817559F:: @ 817559F
+ .incbin "baserom.gba", 0x17559F, 0x27
+
+Text_1755C6:: @ 81755C6
+ .incbin "baserom.gba", 0x1755C6, 0x1F
+
+Text_1755E5:: @ 81755E5
+ .incbin "baserom.gba", 0x1755E5, 0xD
+
+gUnknown_81755F2:: @ 81755F2
+ .incbin "baserom.gba", 0x1755F2, 0x3B
+
+Text_17562D:: @ 817562D
+ .incbin "baserom.gba", 0x17562D, 0x1D
+
+Text_17564A:: @ 817564A
+ .incbin "baserom.gba", 0x17564A, 0x7
+
+gUnknown_8175651:: @ 8175651
+ .incbin "baserom.gba", 0x175651, 0x5C
+
+Text_1756AD:: @ 81756AD
+ .incbin "baserom.gba", 0x1756AD, 0x2B
+
+Text_1756D8:: @ 81756D8
+ .incbin "baserom.gba", 0x1756D8, 0xA
+
+gUnknown_81756E2:: @ 81756E2
+ .incbin "baserom.gba", 0x1756E2, 0x1B2
+
+gUnknown_8175894:: @ 8175894
+ .incbin "baserom.gba", 0x175894, 0x19
+
+gUnknown_81758AD:: @ 81758AD
+ .incbin "baserom.gba", 0x1758AD, 0x26
+
+gUnknown_81758D3:: @ 81758D3
+ .incbin "baserom.gba", 0x1758D3, 0x23
+
+Text_1758F6:: @ 81758F6
+ .incbin "baserom.gba", 0x1758F6, 0x1B
+
+Text_175911:: @ 8175911
+ .incbin "baserom.gba", 0x175911, 0xB
+
+gUnknown_817591C:: @ 817591C
+ .incbin "baserom.gba", 0x17591C, 0x2C
+
+Text_175948:: @ 8175948
+ .incbin "baserom.gba", 0x175948, 0x35
+
+Text_17597D:: @ 817597D
+ .incbin "baserom.gba", 0x17597D, 0x13
+
+gUnknown_8175990:: @ 8175990
+ .incbin "baserom.gba", 0x175990, 0x4C
+
+gUnknown_81759DC:: @ 81759DC
+ .incbin "baserom.gba", 0x1759DC, 0x19
+
+gUnknown_81759F5:: @ 81759F5
+ .incbin "baserom.gba", 0x1759F5, 0x20
+
+gUnknown_8175A15:: @ 8175A15
+ .incbin "baserom.gba", 0x175A15, 0x1A
+
+Text_175A2F:: @ 8175A2F
+ .incbin "baserom.gba", 0x175A2F, 0x2C
+
+Text_175A5B:: @ 8175A5B
+ .incbin "baserom.gba", 0x175A5B, 0x7
+
+gUnknown_8175A62:: @ 8175A62
+ .incbin "baserom.gba", 0x175A62, 0x2E
+
+Text_175A90:: @ 8175A90
+ .incbin "baserom.gba", 0x175A90, 0x20
+
+Text_175AB0:: @ 8175AB0
+ .incbin "baserom.gba", 0x175AB0, 0x18
+
+gUnknown_8175AC8:: @ 8175AC8
+ .incbin "baserom.gba", 0x175AC8, 0x51
+
+Text_175B19:: @ 8175B19
+ .incbin "baserom.gba", 0x175B19, 0x12
+
+Text_175B2B:: @ 8175B2B
+ .incbin "baserom.gba", 0x175B2B, 0xD
+
+gUnknown_8175B38:: @ 8175B38
+ .incbin "baserom.gba", 0x175B38, 0x1F
+
+gUnknown_8175B57:: @ 8175B57
+ .incbin "baserom.gba", 0x175B57, 0x19
+
+gUnknown_8175B70:: @ 8175B70
+ .incbin "baserom.gba", 0x175B70, 0x43
+
+gUnknown_8175BB3:: @ 8175BB3
+ .incbin "baserom.gba", 0x175BB3, 0x32
+
+Text_175BE5:: @ 8175BE5
+ .incbin "baserom.gba", 0x175BE5, 0x24
+
+Text_175C09:: @ 8175C09
+ .incbin "baserom.gba", 0x175C09, 0x6
+
+gUnknown_8175C0F:: @ 8175C0F
+ .incbin "baserom.gba", 0x175C0F, 0x31
+
+Text_175C40:: @ 8175C40
+ .incbin "baserom.gba", 0x175C40, 0x2D
+
+Text_175C6D:: @ 8175C6D
+ .incbin "baserom.gba", 0x175C6D, 0x10
+
+gUnknown_8175C7D:: @ 8175C7D
+ .incbin "baserom.gba", 0x175C7D, 0x40
+
+Text_175CBD:: @ 8175CBD
+ .incbin "baserom.gba", 0x175CBD, 0x2E
+
+Text_175CEB:: @ 8175CEB
+ .incbin "baserom.gba", 0x175CEB, 0xE
+
+gUnknown_8175CF9:: @ 8175CF9
+ .incbin "baserom.gba", 0x175CF9, 0x2F
+
+Text_175D28:: @ 8175D28
+ .incbin "baserom.gba", 0x175D28, 0x23
+
+Text_175D4B:: @ 8175D4B
+ .incbin "baserom.gba", 0x175D4B, 0xE
+
+gUnknown_8175D59:: @ 8175D59
+ .incbin "baserom.gba", 0x175D59, 0x30
+
+gUnknown_8175D89:: @ 8175D89
+ .incbin "baserom.gba", 0x175D89, 0x57
+
+gUnknown_8175DE0:: @ 8175DE0
+ .incbin "baserom.gba", 0x175DE0, 0x48
+
+gUnknown_8175E28:: @ 8175E28
+ .incbin "baserom.gba", 0x175E28, 0x58
+
+gUnknown_8175E80:: @ 8175E80
+ .incbin "baserom.gba", 0x175E80, 0xA4
+
+gUnknown_8175F24:: @ 8175F24
+ .incbin "baserom.gba", 0x175F24, 0x2D
+
+gUnknown_8175F51:: @ 8175F51
+ .incbin "baserom.gba", 0x175F51, 0x1F
+
+gUnknown_8175F70:: @ 8175F70
+ .incbin "baserom.gba", 0x175F70, 0x23
+
+gUnknown_8175F93:: @ 8175F93
+ .incbin "baserom.gba", 0x175F93, 0x17
+
+gUnknown_8175FAA:: @ 8175FAA
+ .incbin "baserom.gba", 0x175FAA, 0x29
+
+gUnknown_8175FD3:: @ 8175FD3
+ .incbin "baserom.gba", 0x175FD3, 0x3F
+
+gUnknown_8176012:: @ 8176012
+ .incbin "baserom.gba", 0x176012, 0x39
+
+gUnknown_817604B:: @ 817604B
+ .incbin "baserom.gba", 0x17604B, 0x33
+
+gUnknown_817607E:: @ 817607E
+ .incbin "baserom.gba", 0x17607E, 0x38
+
+gUnknown_81760B6:: @ 81760B6
+ .incbin "baserom.gba", 0x1760B6, 0x28
+
+Text_1760DE:: @ 81760DE
+ .incbin "baserom.gba", 0x1760DE, 0x26
+
+Text_176104:: @ 8176104
+ .incbin "baserom.gba", 0x176104, 0xB
+
+gUnknown_817610F:: @ 817610F
+ .incbin "baserom.gba", 0x17610F, 0x27
+
+Text_176136:: @ 8176136
+ .incbin "baserom.gba", 0x176136, 0x87
+
+Text_1761BD:: @ 81761BD
+ .incbin "baserom.gba", 0x1761BD, 0x7
+
+gUnknown_81761C4:: @ 81761C4
+ .incbin "baserom.gba", 0x1761C4, 0x2D
+
+Text_1761F1:: @ 81761F1
+ .incbin "baserom.gba", 0x1761F1, 0x1D
+
+Text_17620E:: @ 817620E
+ .incbin "baserom.gba", 0x17620E, 0xD
+
+gUnknown_817621B:: @ 817621B
+ .incbin "baserom.gba", 0x17621B, 0x32
+
+gUnknown_817624D:: @ 817624D
+ .incbin "baserom.gba", 0x17624D, 0x19
+
+gUnknown_8176266:: @ 8176266
+ .incbin "baserom.gba", 0x176266, 0x71
+
+Text_1762D7:: @ 81762D7
+ .incbin "baserom.gba", 0x1762D7, 0x2E
+
+gUnknown_8176305:: @ 8176305
+ .incbin "baserom.gba", 0x176305, 0xD8
+
+gUnknown_81763DD:: @ 81763DD
+ .incbin "baserom.gba", 0x1763DD, 0x67
+
+gUnknown_8176444:: @ 8176444
+ .incbin "baserom.gba", 0x176444, 0x42
+
+gUnknown_8176486:: @ 8176486
+ .incbin "baserom.gba", 0x176486, 0x3C
+
+gUnknown_81764C2:: @ 81764C2
+ .incbin "baserom.gba", 0x1764C2, 0x3F
+
+gUnknown_8176501:: @ 8176501
+ .incbin "baserom.gba", 0x176501, 0x31
+
+gUnknown_8176532:: @ 8176532
+ .incbin "baserom.gba", 0x176532, 0x41
+
+gUnknown_8176573:: @ 8176573
+ .incbin "baserom.gba", 0x176573, 0x13
+
+Text_176586:: @ 8176586
+ .incbin "baserom.gba", 0x176586, 0x1F
+
+Text_1765A5:: @ 81765A5
+ .incbin "baserom.gba", 0x1765A5, 0xC
+
+gUnknown_81765B1:: @ 81765B1
+ .incbin "baserom.gba", 0x1765B1, 0x31
+
+Text_1765E2:: @ 81765E2
+ .incbin "baserom.gba", 0x1765E2, 0x2A
+
+Text_17660C:: @ 817660C
+ .incbin "baserom.gba", 0x17660C, 0xA
+
+gUnknown_8176616:: @ 8176616
+ .incbin "baserom.gba", 0x176616, 0x2D
+
+Text_176643:: @ 8176643
+ .incbin "baserom.gba", 0x176643, 0x26
+
+Text_176669:: @ 8176669
+ .incbin "baserom.gba", 0x176669, 0x18
+
+gUnknown_8176681:: @ 8176681
+ .incbin "baserom.gba", 0x176681, 0x32
+
+Text_1766B3:: @ 81766B3
+ .incbin "baserom.gba", 0x1766B3, 0x24
+
+Text_1766D7:: @ 81766D7
+ .incbin "baserom.gba", 0x1766D7, 0xE
+
+gUnknown_81766E5:: @ 81766E5
+ .incbin "baserom.gba", 0x1766E5, 0x2B
+
+gUnknown_8176710:: @ 8176710
+ .incbin "baserom.gba", 0x176710, 0x17
+
+gUnknown_8176727:: @ 8176727
+ .incbin "baserom.gba", 0x176727, 0xA9
+
+Text_1767D0:: @ 81767D0
+ .incbin "baserom.gba", 0x1767D0, 0x57
+
+gUnknown_8176827:: @ 8176827
+ .incbin "baserom.gba", 0x176827, 0x12D
+
+gUnknown_8176954:: @ 8176954
+ .incbin "baserom.gba", 0x176954, 0x19
+
+gUnknown_817696D:: @ 817696D
+ .incbin "baserom.gba", 0x17696D, 0x1F
+
+gUnknown_817698C:: @ 817698C
+ .incbin "baserom.gba", 0x17698C, 0x16
+
+Text_1769A2:: @ 81769A2
+ .incbin "baserom.gba", 0x1769A2, 0x1C
+
+Text_1769BE:: @ 81769BE
+ .incbin "baserom.gba", 0x1769BE, 0x11
+
+gUnknown_81769CF:: @ 81769CF
+ .incbin "baserom.gba", 0x1769CF, 0x2E
+
+Text_1769FD:: @ 81769FD
+ .incbin "baserom.gba", 0x1769FD, 0x1C
+
+Text_176A19:: @ 8176A19
+ .incbin "baserom.gba", 0x176A19, 0xD
+
+gUnknown_8176A26:: @ 8176A26
+ .incbin "baserom.gba", 0x176A26, 0x30
+
+Text_176A56:: @ 8176A56
+ .incbin "baserom.gba", 0x176A56, 0x26
+
+Text_176A7C:: @ 8176A7C
+ .incbin "baserom.gba", 0x176A7C, 0x14
+
+gUnknown_8176A90:: @ 8176A90
+ .incbin "baserom.gba", 0x176A90, 0x22
+
+gUnknown_8176AB2:: @ 8176AB2
+ .incbin "baserom.gba", 0x176AB2, 0xA2
+
+gUnknown_8176B54:: @ 8176B54
+ .incbin "baserom.gba", 0x176B54, 0x2D
+
+gUnknown_8176B81:: @ 8176B81
+ .incbin "baserom.gba", 0x176B81, 0xF
+
+gUnknown_8176B90:: @ 8176B90
+ .incbin "baserom.gba", 0x176B90, 0x13
+
+Text_176BA3:: @ 8176BA3
+ .incbin "baserom.gba", 0x176BA3, 0x25
+
+Text_176BC8:: @ 8176BC8
+ .incbin "baserom.gba", 0x176BC8, 0x8
+
+gUnknown_8176BD0:: @ 8176BD0
+ .incbin "baserom.gba", 0x176BD0, 0x2B
+
+Text_176BFB:: @ 8176BFB
+ .incbin "baserom.gba", 0x176BFB, 0x30
+
+Text_176C2B:: @ 8176C2B
+ .incbin "baserom.gba", 0x176C2B, 0x11
+
+gUnknown_8176C3C:: @ 8176C3C
+ .incbin "baserom.gba", 0x176C3C, 0x3E
+
+Text_176C7A:: @ 8176C7A
+ .incbin "baserom.gba", 0x176C7A, 0x26
+
+Text_176CA0:: @ 8176CA0
+ .incbin "baserom.gba", 0x176CA0, 0x18
+
+gUnknown_8176CB8:: @ 8176CB8
+ .incbin "baserom.gba", 0x176CB8, 0x1C
+
+gUnknown_8176CD4:: @ 8176CD4
+ .incbin "baserom.gba", 0x176CD4, 0x19
+
+Text_176CED:: @ 8176CED
+ .incbin "baserom.gba", 0x176CED, 0x2B
+
+Text_176D18:: @ 8176D18
+ .incbin "baserom.gba", 0x176D18, 0xD
+
+gUnknown_8176D25:: @ 8176D25
+ .incbin "baserom.gba", 0x176D25, 0x32
+
+Text_176D57:: @ 8176D57
+ .incbin "baserom.gba", 0x176D57, 0x1C
+
+Text_176D73:: @ 8176D73
+ .incbin "baserom.gba", 0x176D73, 0x13
+
+gUnknown_8176D86:: @ 8176D86
+ .incbin "baserom.gba", 0x176D86, 0x34
+
+gUnknown_8176DBA:: @ 8176DBA
+ .incbin "baserom.gba", 0x176DBA, 0x14
+
+gUnknown_8176DCE:: @ 8176DCE
+ .incbin "baserom.gba", 0x176DCE, 0x2A
+
+gUnknown_8176DF8:: @ 8176DF8
+ .incbin "baserom.gba", 0x176DF8, 0x1A
+
+gUnknown_8176E12:: @ 8176E12
+ .incbin "baserom.gba", 0x176E12, 0xD5
+
+gUnknown_8176EE7:: @ 8176EE7
+ .incbin "baserom.gba", 0x176EE7, 0xD6
+
+gUnknown_8176FBD:: @ 8176FBD
+ .incbin "baserom.gba", 0x176FBD, 0x2E
+
+gUnknown_8176FEB:: @ 8176FEB
+ .incbin "baserom.gba", 0x176FEB, 0xA3
+
+gUnknown_817708E:: @ 817708E
+ .incbin "baserom.gba", 0x17708E, 0x1B
+
+gUnknown_81770A9:: @ 81770A9
+ .incbin "baserom.gba", 0x1770A9, 0x5F
+
+gUnknown_8177108:: @ 8177108
+ .incbin "baserom.gba", 0x177108, 0xA3
+
+Text_1771AB:: @ 81771AB
+ .incbin "baserom.gba", 0x1771AB, 0x17
+
+gUnknown_81771C2:: @ 81771C2
+ .incbin "baserom.gba", 0x1771C2, 0xA8
+
+Text_17726A:: @ 817726A
+ .incbin "baserom.gba", 0x17726A, 0x22
+
+Text_17728C:: @ 817728C
+ .incbin "baserom.gba", 0x17728C, 0xF
+
+gUnknown_817729B:: @ 817729B
+ .incbin "baserom.gba", 0x17729B, 0x1D
+
+Text_1772B8:: @ 81772B8
+ .incbin "baserom.gba", 0x1772B8, 0x2F
+
+Text_1772E7:: @ 81772E7
+ .incbin "baserom.gba", 0x1772E7, 0x12
+
+gUnknown_81772F9:: @ 81772F9
+ .incbin "baserom.gba", 0x1772F9, 0x32
+
+gUnknown_817732B:: @ 817732B
+ .incbin "baserom.gba", 0x17732B, 0x1F
+
+gUnknown_817734A:: @ 817734A
+ .incbin "baserom.gba", 0x17734A, 0x1A
+
+Text_177364:: @ 8177364
+ .incbin "baserom.gba", 0x177364, 0x2D
+
+Text_177391:: @ 8177391
+ .incbin "baserom.gba", 0x177391, 0x6
+
+gUnknown_8177397:: @ 8177397
+ .incbin "baserom.gba", 0x177397, 0x2F
+
+Text_1773C6:: @ 81773C6
+ .incbin "baserom.gba", 0x1773C6, 0x37
+
+Text_1773FD:: @ 81773FD
+ .incbin "baserom.gba", 0x1773FD, 0x1B
+
+gUnknown_8177418:: @ 8177418
+ .incbin "baserom.gba", 0x177418, 0x80
+
+Text_177498:: @ 8177498
+ .incbin "baserom.gba", 0x177498, 0x33
+
+Text_1774CB:: @ 81774CB
+ .incbin "baserom.gba", 0x1774CB, 0x18
+
+gUnknown_81774E3:: @ 81774E3
+ .incbin "baserom.gba", 0x1774E3, 0x3C
+
+gUnknown_817751F:: @ 817751F
+ .incbin "baserom.gba", 0x17751F, 0x55
+
+gUnknown_8177574:: @ 8177574
+ .incbin "baserom.gba", 0x177574, 0x73
+
+Text_1775E7:: @ 81775E7
+ .incbin "baserom.gba", 0x1775E7, 0x1B
+
+Text_177602:: @ 8177602
+ .incbin "baserom.gba", 0x177602, 0x6
+
+gUnknown_8177608:: @ 8177608
+ .incbin "baserom.gba", 0x177608, 0x20
+
+Text_177628:: @ 8177628
+ .incbin "baserom.gba", 0x177628, 0x1B
+
+Text_177643:: @ 8177643
+ .incbin "baserom.gba", 0x177643, 0x14
+
+gUnknown_8177657:: @ 8177657
+ .incbin "baserom.gba", 0x177657, 0x2E
+
+gUnknown_8177685:: @ 8177685
+ .incbin "baserom.gba", 0x177685, 0x3B
+
+Text_1776C0:: @ 81776C0
+ .incbin "baserom.gba", 0x1776C0, 0x17
+
+Text_1776D7:: @ 81776D7
+ .incbin "baserom.gba", 0x1776D7, 0x7
+
+gUnknown_81776DE:: @ 81776DE
+ .incbin "baserom.gba", 0x1776DE, 0x42
+
+Text_177720:: @ 8177720
+ .incbin "baserom.gba", 0x177720, 0x37
+
+Text_177757:: @ 8177757
+ .incbin "baserom.gba", 0x177757, 0x13
+
+gUnknown_817776A:: @ 817776A
+ .incbin "baserom.gba", 0x17776A, 0x2E
+
+gUnknown_8177798:: @ 8177798
+ .incbin "baserom.gba", 0x177798, 0x5A
+
+gUnknown_81777F2:: @ 81777F2
+ .incbin "baserom.gba", 0x1777F2, 0xB
+
+gUnknown_81777FD:: @ 81777FD
+ .incbin "baserom.gba", 0x1777FD, 0x32
+
+gUnknown_817782F:: @ 817782F
+ .incbin "baserom.gba", 0x17782F, 0xC
+
+gUnknown_817783B:: @ 817783B
+ .incbin "baserom.gba", 0x17783B, 0xB
+
+gUnknown_8177846:: @ 8177846
+ .incbin "baserom.gba", 0x177846, 0x3E
+
+gUnknown_8177884:: @ 8177884
+ .incbin "baserom.gba", 0x177884, 0x19
+
+gUnknown_817789D:: @ 817789D
+ .incbin "baserom.gba", 0x17789D, 0xB
+
+gUnknown_81778A8:: @ 81778A8
+ .incbin "baserom.gba", 0x1778A8, 0x2E
+
+gUnknown_81778D6:: @ 81778D6
+ .incbin "baserom.gba", 0x1778D6, 0x7
+
+gUnknown_81778DD:: @ 81778DD
+ .incbin "baserom.gba", 0x1778DD, 0x58
+
+gUnknown_8177935:: @ 8177935
+ .incbin "baserom.gba", 0x177935, 0x39
+
+gUnknown_817796E:: @ 817796E
+ .incbin "baserom.gba", 0x17796E, 0xB
+
+gUnknown_8177979:: @ 8177979
+ .incbin "baserom.gba", 0x177979, 0x7F
+
+gUnknown_81779F8:: @ 81779F8
+ .incbin "baserom.gba", 0x1779F8, 0x49
+
+gUnknown_8177A41:: @ 8177A41
+ .incbin "baserom.gba", 0x177A41, 0x19
+
+gUnknown_8177A5A:: @ 8177A5A
+ .incbin "baserom.gba", 0x177A5A, 0x28
+
+gUnknown_8177A82:: @ 8177A82
+ .incbin "baserom.gba", 0x177A82, 0x2C
+
+gUnknown_8177AAE:: @ 8177AAE
+ .incbin "baserom.gba", 0x177AAE, 0x34
+
+gUnknown_8177AE2:: @ 8177AE2
+ .incbin "baserom.gba", 0x177AE2, 0x34
+
+gUnknown_8177B16:: @ 8177B16
+ .incbin "baserom.gba", 0x177B16, 0x22
+
+gUnknown_8177B38:: @ 8177B38
+ .incbin "baserom.gba", 0x177B38, 0x73
+
+gUnknown_8177BAB:: @ 8177BAB
+ .incbin "baserom.gba", 0x177BAB, 0x41
+
+gUnknown_8177BEC:: @ 8177BEC
+ .incbin "baserom.gba", 0x177BEC, 0xFF
+
+gUnknown_8177CEB:: @ 8177CEB
+ .incbin "baserom.gba", 0x177CEB, 0x4E
+
+gUnknown_8177D39:: @ 8177D39
+ .incbin "baserom.gba", 0x177D39, 0x52
+
+gUnknown_8177D8B:: @ 8177D8B
+ .incbin "baserom.gba", 0x177D8B, 0x36
+
+gUnknown_8177DC1:: @ 8177DC1
+ .incbin "baserom.gba", 0x177DC1, 0xD1
+
+gUnknown_8177E92:: @ 8177E92
+ .incbin "baserom.gba", 0x177E92, 0x25
+
+gUnknown_8177EB7:: @ 8177EB7
+ .incbin "baserom.gba", 0x177EB7, 0xBB
+
+gUnknown_8177F72:: @ 8177F72
+ .incbin "baserom.gba", 0x177F72, 0x2D
+
+Text_177F9F:: @ 8177F9F
+ .incbin "baserom.gba", 0x177F9F, 0x5
+
+gUnknown_8177FA4:: @ 8177FA4
+ .incbin "baserom.gba", 0x177FA4, 0xE5
+
+gUnknown_8178089:: @ 8178089
+ .incbin "baserom.gba", 0x178089, 0x108
+
+Text_178191:: @ 8178191
+ .incbin "baserom.gba", 0x178191, 0x1F
+
+gUnknown_81781B0:: @ 81781B0
+ .incbin "baserom.gba", 0x1781B0, 0x5F
+
+gUnknown_817820F:: @ 817820F
+ .incbin "baserom.gba", 0x17820F, 0xFD
+
+gUnknown_817830C:: @ 817830C
+ .incbin "baserom.gba", 0x17830C, 0xFD
+
+Text_178409:: @ 8178409
+ .incbin "baserom.gba", 0x178409, 0x17
+
+gUnknown_8178420:: @ 8178420
+ .incbin "baserom.gba", 0x178420, 0x2D
+
+gUnknown_817844D:: @ 817844D
+ .incbin "baserom.gba", 0x17844D, 0x140
+
+gUnknown_817858D:: @ 817858D
+ .incbin "baserom.gba", 0x17858D, 0x14A
+
+Text_1786D7:: @ 81786D7
+ .incbin "baserom.gba", 0x1786D7, 0x29
+
+gUnknown_8178700:: @ 8178700
+ .incbin "baserom.gba", 0x178700, 0x64
+
+gUnknown_8178764:: @ 8178764
+ .incbin "baserom.gba", 0x178764, 0x159
+
+gUnknown_81788BD:: @ 81788BD
+ .incbin "baserom.gba", 0x1788BD, 0x158
+
+Text_178A15:: @ 8178A15
+ .incbin "baserom.gba", 0x178A15, 0x3D
+
+gUnknown_8178A52:: @ 8178A52
+ .incbin "baserom.gba", 0x178A52, 0x11A
+
+gUnknown_8178B6C:: @ 8178B6C
+ .incbin "baserom.gba", 0x178B6C, 0x168
+
+gUnknown_8178CD4:: @ 8178CD4
+ .incbin "baserom.gba", 0x178CD4, 0x16B
+
+Text_178E3F:: @ 8178E3F
+ .incbin "baserom.gba", 0x178E3F, 0xF0
+
+gUnknown_8178F2F:: @ 8178F2F
+ .incbin "baserom.gba", 0x178F2F, 0x97
+
+gUnknown_8178FC6:: @ 8178FC6
+ .incbin "baserom.gba", 0x178FC6, 0x9
+
+gUnknown_8178FCF:: @ 8178FCF
+ .incbin "baserom.gba", 0x178FCF, 0xC0
+
+gUnknown_817908F:: @ 817908F
+ .incbin "baserom.gba", 0x17908F, 0x114
+
+gUnknown_81791A3:: @ 81791A3
+ .incbin "baserom.gba", 0x1791A3, 0x8C
+
+gUnknown_817922F:: @ 817922F
+ .incbin "baserom.gba", 0x17922F, 0x137
+
+Text_179366:: @ 8179366
+ .incbin "baserom.gba", 0x179366, 0x22
+
+Text_179388:: @ 8179388
+ .incbin "baserom.gba", 0x179388, 0xE
+
+gUnknown_8179396:: @ 8179396
+ .incbin "baserom.gba", 0x179396, 0x5B
+
+Text_1793F1:: @ 81793F1
+ .incbin "baserom.gba", 0x1793F1, 0x1D
+
+Text_17940E:: @ 817940E
+ .incbin "baserom.gba", 0x17940E, 0x2C
+
+gUnknown_817943A:: @ 817943A
+ .incbin "baserom.gba", 0x17943A, 0x41
+
+Text_17947B:: @ 817947B
+ .incbin "baserom.gba", 0x17947B, 0x31
+
+Text_1794AC:: @ 81794AC
+ .incbin "baserom.gba", 0x1794AC, 0x8
+
+gUnknown_81794B4:: @ 81794B4
+ .incbin "baserom.gba", 0x1794B4, 0x20
+
+Text_1794D4:: @ 81794D4
+ .incbin "baserom.gba", 0x1794D4, 0x1A
+
+Text_1794EE:: @ 81794EE
+ .incbin "baserom.gba", 0x1794EE, 0xB
+
+gUnknown_81794F9:: @ 81794F9
+ .incbin "baserom.gba", 0x1794F9, 0x23
+
+Text_17951C:: @ 817951C
+ .incbin "baserom.gba", 0x17951C, 0x2B
+
+Text_179547:: @ 8179547
+ .incbin "baserom.gba", 0x179547, 0x11
+
+gUnknown_8179558:: @ 8179558
+ .incbin "baserom.gba", 0x179558, 0x1F
+
+Text_179577:: @ 8179577
+ .incbin "baserom.gba", 0x179577, 0x2A
+
+Text_1795A1:: @ 81795A1
+ .incbin "baserom.gba", 0x1795A1, 0x14
+
+gUnknown_81795B5:: @ 81795B5
+ .incbin "baserom.gba", 0x1795B5, 0x30
+
+Text_1795E5:: @ 81795E5
+ .incbin "baserom.gba", 0x1795E5, 0x1F
+
+Text_179604:: @ 8179604
+ .incbin "baserom.gba", 0x179604, 0xF
+
+gUnknown_8179613:: @ 8179613
+ .incbin "baserom.gba", 0x179613, 0x1A
+
+gUnknown_817962D:: @ 817962D
+ .incbin "baserom.gba", 0x17962D, 0x2A
+
+Text_179657:: @ 8179657
+ .incbin "baserom.gba", 0x179657, 0x62
+
+Text_1796B9:: @ 81796B9
+ .incbin "baserom.gba", 0x1796B9, 0x15
+
+gUnknown_81796CE:: @ 81796CE
+ .incbin "baserom.gba", 0x1796CE, 0x13
+
+Text_1796E1:: @ 81796E1
+ .incbin "baserom.gba", 0x1796E1, 0x1F
+
+Text_179700:: @ 8179700
+ .incbin "baserom.gba", 0x179700, 0x12
+
+gUnknown_8179712:: @ 8179712
+ .incbin "baserom.gba", 0x179712, 0x28
+
+Text_17973A:: @ 817973A
+ .incbin "baserom.gba", 0x17973A, 0x25
+
+Text_17975F:: @ 817975F
+ .incbin "baserom.gba", 0x17975F, 0x18
+
+gUnknown_8179777:: @ 8179777
+ .incbin "baserom.gba", 0x179777, 0x2D
+
+Text_1797A4:: @ 81797A4
+ .incbin "baserom.gba", 0x1797A4, 0x27
+
+Text_1797CB:: @ 81797CB
+ .incbin "baserom.gba", 0x1797CB, 0x13
+
+gUnknown_81797DE:: @ 81797DE
+ .incbin "baserom.gba", 0x1797DE, 0x4B
+
+Text_179829:: @ 8179829
+ .incbin "baserom.gba", 0x179829, 0x2D
+
+Text_179856:: @ 8179856
+ .incbin "baserom.gba", 0x179856, 0x24
+
+gUnknown_817987A:: @ 817987A
+ .incbin "baserom.gba", 0x17987A, 0x33
+
+Text_1798AD:: @ 81798AD
+ .incbin "baserom.gba", 0x1798AD, 0x30
+
+Text_1798DD:: @ 81798DD
+ .incbin "baserom.gba", 0x1798DD, 0xC
+
+gUnknown_81798E9:: @ 81798E9
+ .incbin "baserom.gba", 0x1798E9, 0x2D
+
+Text_179916:: @ 8179916
+ .incbin "baserom.gba", 0x179916, 0x1C
+
+Text_179932:: @ 8179932
+ .incbin "baserom.gba", 0x179932, 0xC
+
+gUnknown_817993E:: @ 817993E
+ .incbin "baserom.gba", 0x17993E, 0x2A
+
+Text_179968:: @ 8179968
+ .incbin "baserom.gba", 0x179968, 0x2F
+
+Text_179997:: @ 8179997
+ .incbin "baserom.gba", 0x179997, 0x15
+
+gUnknown_81799AC:: @ 81799AC
+ .incbin "baserom.gba", 0x1799AC, 0x18A
+
+gUnknown_8179B36:: @ 8179B36
+ .incbin "baserom.gba", 0x179B36, 0x2F
+
+gUnknown_8179B65:: @ 8179B65
+ .incbin "baserom.gba", 0x179B65, 0x15
+
+gUnknown_8179B7A:: @ 8179B7A
+ .incbin "baserom.gba", 0x179B7A, 0x3E
+
+gUnknown_8179BB8:: @ 8179BB8
+ .incbin "baserom.gba", 0x179BB8, 0x44
+
+gUnknown_8179BFC:: @ 8179BFC
+ .incbin "baserom.gba", 0x179BFC, 0x45
+
+gUnknown_8179C41:: @ 8179C41
+ .incbin "baserom.gba", 0x179C41, 0x4B
+
+gUnknown_8179C8C:: @ 8179C8C
+ .incbin "baserom.gba", 0x179C8C, 0x1F
+
+gUnknown_8179CAB:: @ 8179CAB
+ .incbin "baserom.gba", 0x179CAB, 0x54
+
+gUnknown_8179CFF:: @ 8179CFF
+ .incbin "baserom.gba", 0x179CFF, 0x74
+
+Text_179D73:: @ 8179D73
+ .incbin "baserom.gba", 0x179D73, 0x61
+
+gUnknown_8179DD4:: @ 8179DD4
+ .incbin "baserom.gba", 0x179DD4, 0xDA
+
+gUnknown_8179EAE:: @ 8179EAE
+ .incbin "baserom.gba", 0x179EAE, 0x5B
+
+Text_179F09:: @ 8179F09
+ .incbin "baserom.gba", 0x179F09, 0x18
+
+Text_179F21:: @ 8179F21
+ .incbin "baserom.gba", 0x179F21, 0x10
+
+gUnknown_8179F31:: @ 8179F31
+ .incbin "baserom.gba", 0x179F31, 0x31
+
+Text_179F62:: @ 8179F62
+ .incbin "baserom.gba", 0x179F62, 0x10
+
+Text_179F72:: @ 8179F72
+ .incbin "baserom.gba", 0x179F72, 0x16
+
+gUnknown_8179F88:: @ 8179F88
+ .incbin "baserom.gba", 0x179F88, 0x18
+
+Text_179FA0:: @ 8179FA0
+ .incbin "baserom.gba", 0x179FA0, 0x1C
+
+Text_179FBC:: @ 8179FBC
+ .incbin "baserom.gba", 0x179FBC, 0x17
+
+gUnknown_8179FD3:: @ 8179FD3
+ .incbin "baserom.gba", 0x179FD3, 0x31
+
+Text_17A004:: @ 817A004
+ .incbin "baserom.gba", 0x17A004, 0x13
+
+Text_17A017:: @ 817A017
+ .incbin "baserom.gba", 0x17A017, 0x14
+
+gUnknown_817A02B:: @ 817A02B
+ .incbin "baserom.gba", 0x17A02B, 0x1B
+
+Text_17A046:: @ 817A046
+ .incbin "baserom.gba", 0x17A046, 0x1B
+
+Text_17A061:: @ 817A061
+ .incbin "baserom.gba", 0x17A061, 0x6
+
+gUnknown_817A067:: @ 817A067
+ .incbin "baserom.gba", 0x17A067, 0x2F
+
+Text_17A096:: @ 817A096
+ .incbin "baserom.gba", 0x17A096, 0x15
+
+Text_17A0AB:: @ 817A0AB
+ .incbin "baserom.gba", 0x17A0AB, 0x10
+
+gUnknown_817A0BB:: @ 817A0BB
+ .incbin "baserom.gba", 0x17A0BB, 0x28
+
+gUnknown_817A0E3:: @ 817A0E3
+ .incbin "baserom.gba", 0x17A0E3, 0x3C
+
+Text_17A11F:: @ 817A11F
+ .incbin "baserom.gba", 0x17A11F, 0x13
+
+Text_17A132:: @ 817A132
+ .incbin "baserom.gba", 0x17A132, 0x6
+
+gUnknown_817A138:: @ 817A138
+ .incbin "baserom.gba", 0x17A138, 0x18
+
+Text_17A150:: @ 817A150
+ .incbin "baserom.gba", 0x17A150, 0x14
+
+Text_17A164:: @ 817A164
+ .incbin "baserom.gba", 0x17A164, 0x12
+
+gUnknown_817A176:: @ 817A176
+ .incbin "baserom.gba", 0x17A176, 0x11
+
+Text_17A187:: @ 817A187
+ .incbin "baserom.gba", 0x17A187, 0x9
+
+Text_17A190:: @ 817A190
+ .incbin "baserom.gba", 0x17A190, 0x4
+
+gUnknown_817A194:: @ 817A194
+ .incbin "baserom.gba", 0x17A194, 0x16
+
+Text_17A1AA:: @ 817A1AA
+ .incbin "baserom.gba", 0x17A1AA, 0xD
+
+Text_17A1B7:: @ 817A1B7
+ .incbin "baserom.gba", 0x17A1B7, 0x6
+
+gUnknown_817A1BD:: @ 817A1BD
+ .incbin "baserom.gba", 0x17A1BD, 0x3D
+
+gUnknown_817A1FA:: @ 817A1FA
+ .incbin "baserom.gba", 0x17A1FA, 0x49
+
+Text_17A243:: @ 817A243
+ .incbin "baserom.gba", 0x17A243, 0x10
+
+Text_17A253:: @ 817A253
+ .incbin "baserom.gba", 0x17A253, 0x7
+
+gUnknown_817A25A:: @ 817A25A
+ .incbin "baserom.gba", 0x17A25A, 0x18
+
+Text_17A272:: @ 817A272
+ .incbin "baserom.gba", 0x17A272, 0xD
+
+Text_17A27F:: @ 817A27F
+ .incbin "baserom.gba", 0x17A27F, 0x14
+
+gUnknown_817A293:: @ 817A293
+ .incbin "baserom.gba", 0x17A293, 0x35
+
+Text_17A2C8:: @ 817A2C8
+ .incbin "baserom.gba", 0x17A2C8, 0x14
+
+Text_17A2DC:: @ 817A2DC
+ .incbin "baserom.gba", 0x17A2DC, 0x6
+
+gUnknown_817A2E2:: @ 817A2E2
+ .incbin "baserom.gba", 0x17A2E2, 0x16
+
+gUnknown_817A2F8:: @ 817A2F8
+ .incbin "baserom.gba", 0x17A2F8, 0x14
+
+Text_17A30C:: @ 817A30C
+ .incbin "baserom.gba", 0x17A30C, 0x36
+
+gUnknown_817A342:: @ 817A342
+ .incbin "baserom.gba", 0x17A342, 0x3E
+
+Text_17A380:: @ 817A380
+ .incbin "baserom.gba", 0x17A380, 0x24
+
+Text_17A3A4:: @ 817A3A4
+ .incbin "baserom.gba", 0x17A3A4, 0xB
+
+gUnknown_817A3AF:: @ 817A3AF
+ .incbin "baserom.gba", 0x17A3AF, 0x1E
+
+Text_17A3CD:: @ 817A3CD
+ .incbin "baserom.gba", 0x17A3CD, 0x99
+
+Text_17A466:: @ 817A466
+ .incbin "baserom.gba", 0x17A466, 0x11
+
+gUnknown_817A477:: @ 817A477
+ .incbin "baserom.gba", 0x17A477, 0x58
+
+Text_17A4CF:: @ 817A4CF
+ .incbin "baserom.gba", 0x17A4CF, 0x1F
+
+Text_17A4EE:: @ 817A4EE
+ .incbin "baserom.gba", 0x17A4EE, 0x18
+
+gUnknown_817A506:: @ 817A506
+ .incbin "baserom.gba", 0x17A506, 0x23
+
+gUnknown_817A529:: @ 817A529
+ .incbin "baserom.gba", 0x17A529, 0x301
+
+gUnknown_817A82A:: @ 817A82A
+ .incbin "baserom.gba", 0x17A82A, 0x62
+
+gUnknown_817A88C:: @ 817A88C
+ .incbin "baserom.gba", 0x17A88C, 0x28
+
+gUnknown_817A8B4:: @ 817A8B4
+ .incbin "baserom.gba", 0x17A8B4, 0x3A
+
+Text_17A8EE:: @ 817A8EE
+ .incbin "baserom.gba", 0x17A8EE, 0x82
+
+gUnknown_817A970:: @ 817A970
+ .incbin "baserom.gba", 0x17A970, 0x71
+
+gUnknown_817A9E1:: @ 817A9E1
+ .incbin "baserom.gba", 0x17A9E1, 0x25
+
+gUnknown_817AA06:: @ 817AA06
+ .incbin "baserom.gba", 0x17AA06, 0x2E
+
+Text_17AA34:: @ 817AA34
+ .incbin "baserom.gba", 0x17AA34, 0xB
+
+gUnknown_817AA3F:: @ 817AA3F
+ .incbin "baserom.gba", 0x17AA3F, 0x17
+
+gUnknown_817AA56:: @ 817AA56
+ .incbin "baserom.gba", 0x17AA56, 0x34
+
+Text_17AA8A:: @ 817AA8A
+ .incbin "baserom.gba", 0x17AA8A, 0xF
+
+gUnknown_817AA99:: @ 817AA99
+ .incbin "baserom.gba", 0x17AA99, 0x3E
+
+gUnknown_817AAD7:: @ 817AAD7
+ .incbin "baserom.gba", 0x17AAD7, 0x9C
+
+Text_17AB73:: @ 817AB73
+ .incbin "baserom.gba", 0x17AB73, 0x37
+
+Text_17ABAA:: @ 817ABAA
+ .incbin "baserom.gba", 0x17ABAA, 0x2E
+
+gUnknown_817ABD8:: @ 817ABD8
+ .incbin "baserom.gba", 0x17ABD8, 0x7D
+
+Text_17AC55:: @ 817AC55
+ .incbin "baserom.gba", 0x17AC55, 0x2D
+
+Text_17AC82:: @ 817AC82
+ .incbin "baserom.gba", 0x17AC82, 0x20
+
+gUnknown_817ACA2:: @ 817ACA2
+ .incbin "baserom.gba", 0x17ACA2, 0x64
+
+Text_17AD06:: @ 817AD06
+ .incbin "baserom.gba", 0x17AD06, 0x65
+
+Text_17AD6B:: @ 817AD6B
+ .incbin "baserom.gba", 0x17AD6B, 0x1E
+
+gUnknown_817AD89:: @ 817AD89
+ .incbin "baserom.gba", 0x17AD89, 0x3C
+
+gUnknown_817ADC5:: @ 817ADC5
+ .incbin "baserom.gba", 0x17ADC5, 0x11
+
+gUnknown_817ADD6:: @ 817ADD6
+ .incbin "baserom.gba", 0x17ADD6, 0xB8
+
+gUnknown_817AE8E:: @ 817AE8E
+ .incbin "baserom.gba", 0x17AE8E, 0x53
+
+gUnknown_817AEE1:: @ 817AEE1
+ .incbin "baserom.gba", 0x17AEE1, 0x5A
+
+gUnknown_817AF3B:: @ 817AF3B
+ .incbin "baserom.gba", 0x17AF3B, 0x64
+
+gUnknown_817AF9F:: @ 817AF9F
+ .incbin "baserom.gba", 0x17AF9F, 0x37
+
+gUnknown_817AFD6:: @ 817AFD6
+ .incbin "baserom.gba", 0x17AFD6, 0x53
+
+gUnknown_817B029:: @ 817B029
+ .incbin "baserom.gba", 0x17B029, 0x26
+
+gUnknown_817B04F:: @ 817B04F
+ .incbin "baserom.gba", 0x17B04F, 0x6A
+
+gUnknown_817B0B9:: @ 817B0B9
+ .incbin "baserom.gba", 0x17B0B9, 0x50
+
+gUnknown_817B109:: @ 817B109
+ .incbin "baserom.gba", 0x17B109, 0x102
+
+gUnknown_817B20B:: @ 817B20B
+ .incbin "baserom.gba", 0x17B20B, 0x46
+
+Text_17B251:: @ 817B251
+ .incbin "baserom.gba", 0x17B251, 0x18
+
+gUnknown_817B269:: @ 817B269
+ .incbin "baserom.gba", 0x17B269, 0x86
+
+gUnknown_817B2EF:: @ 817B2EF
+ .incbin "baserom.gba", 0x17B2EF, 0x24
+
+Text_17B313:: @ 817B313
+ .incbin "baserom.gba", 0x17B313, 0x86
+
+gUnknown_817B399:: @ 817B399
+ .incbin "baserom.gba", 0x17B399, 0xBE
+
+gUnknown_817B457:: @ 817B457
+ .incbin "baserom.gba", 0x17B457, 0x8C
+
+gUnknown_817B4E3:: @ 817B4E3
+ .incbin "baserom.gba", 0x17B4E3, 0x2F
+
+gUnknown_817B512:: @ 817B512
+ .incbin "baserom.gba", 0x17B512, 0x3B
+
+Text_17B54D:: @ 817B54D
+ .incbin "baserom.gba", 0x17B54D, 0x38
+
+Text_17B585:: @ 817B585
+ .incbin "baserom.gba", 0x17B585, 0x21
+
+gUnknown_817B5A6:: @ 817B5A6
+ .incbin "baserom.gba", 0x17B5A6, 0x30
+
+Text_17B5D6:: @ 817B5D6
+ .incbin "baserom.gba", 0x17B5D6, 0x59
+
+Text_17B62F:: @ 817B62F
+ .incbin "baserom.gba", 0x17B62F, 0x13
+
+gUnknown_817B642:: @ 817B642
+ .incbin "baserom.gba", 0x17B642, 0x35
+
+Text_17B677:: @ 817B677
+ .incbin "baserom.gba", 0x17B677, 0x62
+
+Text_17B6D9:: @ 817B6D9
+ .incbin "baserom.gba", 0x17B6D9, 0x16
+
+gUnknown_817B6EF:: @ 817B6EF
+ .incbin "baserom.gba", 0x17B6EF, 0x3E
+
+Text_17B72D:: @ 817B72D
+ .incbin "baserom.gba", 0x17B72D, 0x6F
+
+Text_17B79C:: @ 817B79C
+ .incbin "baserom.gba", 0x17B79C, 0x12
+
+gUnknown_817B7AE:: @ 817B7AE
+ .incbin "baserom.gba", 0x17B7AE, 0x4C
+
+gUnknown_817B7FA:: @ 817B7FA
+ .incbin "baserom.gba", 0x17B7FA, 0xE0
+
+Text_17B8DA:: @ 817B8DA
+ .incbin "baserom.gba", 0x17B8DA, 0x121
+
+Text_17B9FB:: @ 817B9FB
+ .incbin "baserom.gba", 0x17B9FB, 0x69
+
+gUnknown_817BA64:: @ 817BA64
+ .incbin "baserom.gba", 0x17BA64, 0xB1
+
+gUnknown_817BB15:: @ 817BB15
+ .incbin "baserom.gba", 0x17BB15, 0x9A
+
+Text_17BBAF:: @ 817BBAF
+ .incbin "baserom.gba", 0x17BBAF, 0xA6
+
+Text_17BC55:: @ 817BC55
+ .incbin "baserom.gba", 0x17BC55, 0x17
+
+gUnknown_817BC6C:: @ 817BC6C
+ .incbin "baserom.gba", 0x17BC6C, 0x37
+
+gUnknown_817BCA3:: @ 817BCA3
+ .incbin "baserom.gba", 0x17BCA3, 0x34
+
+gUnknown_817BCD7:: @ 817BCD7
+ .incbin "baserom.gba", 0x17BCD7, 0xAB
+
+Text_17BD82:: @ 817BD82
+ .incbin "baserom.gba", 0x17BD82, 0x15
+
+gUnknown_817BD97:: @ 817BD97
+ .incbin "baserom.gba", 0x17BD97, 0x3D
+
+gUnknown_817BDD4:: @ 817BDD4
+ .incbin "baserom.gba", 0x17BDD4, 0x166
+
+Text_17BF3A:: @ 817BF3A
+ .incbin "baserom.gba", 0x17BF3A, 0x2C
+
+Text_17BF66:: @ 817BF66
+ .incbin "baserom.gba", 0x17BF66, 0x31
+
+gUnknown_817BF97:: @ 817BF97
+ .incbin "baserom.gba", 0x17BF97, 0x54
+
+Text_17BFEB:: @ 817BFEB
+ .incbin "baserom.gba", 0x17BFEB, 0x3D
+
+Text_17C028:: @ 817C028
+ .incbin "baserom.gba", 0x17C028, 0x2E
+
+gUnknown_817C056:: @ 817C056
+ .incbin "baserom.gba", 0x17C056, 0x68
+
+Text_17C0BE:: @ 817C0BE
+ .incbin "baserom.gba", 0x17C0BE, 0x34
+
+Text_17C0F2:: @ 817C0F2
+ .incbin "baserom.gba", 0x17C0F2, 0x21
+
+gUnknown_817C113:: @ 817C113
+ .incbin "baserom.gba", 0x17C113, 0x42
+
+Text_17C155:: @ 817C155
+ .incbin "baserom.gba", 0x17C155, 0x41
+
+Text_17C196:: @ 817C196
+ .incbin "baserom.gba", 0x17C196, 0x3A
+
+gUnknown_817C1D0:: @ 817C1D0
+ .incbin "baserom.gba", 0x17C1D0, 0x76
+
+Text_17C246:: @ 817C246
+ .incbin "baserom.gba", 0x17C246, 0x2F
+
+Text_17C275:: @ 817C275
+ .incbin "baserom.gba", 0x17C275, 0x2F
+
+gUnknown_817C2A4:: @ 817C2A4
+ .incbin "baserom.gba", 0x17C2A4, 0x35
+
+Text_17C2D9:: @ 817C2D9
+ .incbin "baserom.gba", 0x17C2D9, 0x34
+
+Text_17C30D:: @ 817C30D
+ .incbin "baserom.gba", 0x17C30D, 0xF
+
+gUnknown_817C31C:: @ 817C31C
+ .incbin "baserom.gba", 0x17C31C, 0x57
+
+Text_17C373:: @ 817C373
+ .incbin "baserom.gba", 0x17C373, 0x32
+
+Text_17C3A5:: @ 817C3A5
+ .incbin "baserom.gba", 0x17C3A5, 0x29
+
+gUnknown_817C3CE:: @ 817C3CE
+ .incbin "baserom.gba", 0x17C3CE, 0x5D
+
+Text_17C42B:: @ 817C42B
+ .incbin "baserom.gba", 0x17C42B, 0x2D
+
+Text_17C458:: @ 817C458
+ .incbin "baserom.gba", 0x17C458, 0x38
+
+gUnknown_817C490:: @ 817C490
+ .incbin "baserom.gba", 0x17C490, 0x6E
+
+Text_17C4FE:: @ 817C4FE
+ .incbin "baserom.gba", 0x17C4FE, 0x54
+
+Text_17C552:: @ 817C552
+ .incbin "baserom.gba", 0x17C552, 0x3E
+
+gUnknown_817C590:: @ 817C590
+ .incbin "baserom.gba", 0x17C590, 0x4B
+
+Text_17C5DB:: @ 817C5DB
+ .incbin "baserom.gba", 0x17C5DB, 0x2E
+
+Text_17C609:: @ 817C609
+ .incbin "baserom.gba", 0x17C609, 0xC
+
+gUnknown_817C615:: @ 817C615
+ .incbin "baserom.gba", 0x17C615, 0x29
+
+Text_17C63E:: @ 817C63E
+ .incbin "baserom.gba", 0x17C63E, 0x22
+
+Text_17C660:: @ 817C660
+ .incbin "baserom.gba", 0x17C660, 0x2E
+
+gUnknown_817C68E:: @ 817C68E
+ .incbin "baserom.gba", 0x17C68E, 0x3B
+
+Text_17C6C9:: @ 817C6C9
+ .incbin "baserom.gba", 0x17C6C9, 0x32
+
+Text_17C6FB:: @ 817C6FB
+ .incbin "baserom.gba", 0x17C6FB, 0x2D
+
+gUnknown_817C728:: @ 817C728
+ .incbin "baserom.gba", 0x17C728, 0x6C
+
+gUnknown_817C794:: @ 817C794
+ .incbin "baserom.gba", 0x17C794, 0x45
+
+gUnknown_817C7D9:: @ 817C7D9
+ .incbin "baserom.gba", 0x17C7D9, 0x77
+
+gUnknown_817C850:: @ 817C850
+ .incbin "baserom.gba", 0x17C850, 0x3D
+
+Text_17C88D:: @ 817C88D
+ .incbin "baserom.gba", 0x17C88D, 0x32
+
+gUnknown_817C8BF:: @ 817C8BF
+ .incbin "baserom.gba", 0x17C8BF, 0x5E
+
+gUnknown_817C91D:: @ 817C91D
+ .incbin "baserom.gba", 0x17C91D, 0x1A
+
+gUnknown_817C937:: @ 817C937
+ .incbin "baserom.gba", 0x17C937, 0x6B
+
+gUnknown_817C9A2:: @ 817C9A2
+ .incbin "baserom.gba", 0x17C9A2, 0x1E
+
+gUnknown_817C9C0:: @ 817C9C0
+ .incbin "baserom.gba", 0x17C9C0, 0x309
+
+gUnknown_817CCC9:: @ 817CCC9
+ .incbin "baserom.gba", 0x17CCC9, 0x156
+
+gUnknown_817CE1F:: @ 817CE1F
+ .incbin "baserom.gba", 0x17CE1F, 0x19
+
+gUnknown_817CE38:: @ 817CE38
+ .incbin "baserom.gba", 0x17CE38, 0x67
+
+gUnknown_817CE9F:: @ 817CE9F
+ .incbin "baserom.gba", 0x17CE9F, 0x56
+
+Text_17CEF5:: @ 817CEF5
+ .incbin "baserom.gba", 0x17CEF5, 0x4D
+
+Text_17CF42:: @ 817CF42
+ .incbin "baserom.gba", 0x17CF42, 0x12
+
+gUnknown_817CF54:: @ 817CF54
+ .incbin "baserom.gba", 0x17CF54, 0x6D
+
+Text_17CFC1:: @ 817CFC1
+ .incbin "baserom.gba", 0x17CFC1, 0x3A
+
+Text_17CFFB:: @ 817CFFB
+ .incbin "baserom.gba", 0x17CFFB, 0x3C
+
+gUnknown_817D037:: @ 817D037
+ .incbin "baserom.gba", 0x17D037, 0x2B
+
+gUnknown_817D062:: @ 817D062
+ .incbin "baserom.gba", 0x17D062, 0x24
+
+Text_17D086:: @ 817D086
+ .incbin "baserom.gba", 0x17D086, 0x2C
+
+gUnknown_817D0B2:: @ 817D0B2
+ .incbin "baserom.gba", 0x17D0B2, 0x89
+
+gUnknown_817D13B:: @ 817D13B
+ .incbin "baserom.gba", 0x17D13B, 0x8E
+
+gUnknown_817D1C9:: @ 817D1C9
+ .incbin "baserom.gba", 0x17D1C9, 0xC3
+
+gUnknown_817D28C:: @ 817D28C
+ .incbin "baserom.gba", 0x17D28C, 0x50
+
+gUnknown_817D2DC:: @ 817D2DC
+ .incbin "baserom.gba", 0x17D2DC, 0x3F
+
+gUnknown_817D31B:: @ 817D31B
+ .incbin "baserom.gba", 0x17D31B, 0x2F
+
+gUnknown_817D34A:: @ 817D34A
+ .incbin "baserom.gba", 0x17D34A, 0x94
+
+gUnknown_817D3DE:: @ 817D3DE
+ .incbin "baserom.gba", 0x17D3DE, 0x72
+
+gUnknown_817D450:: @ 817D450
+ .incbin "baserom.gba", 0x17D450, 0x5A
+
+gUnknown_817D4AA:: @ 817D4AA
+ .incbin "baserom.gba", 0x17D4AA, 0x39
+
+gUnknown_817D4E3:: @ 817D4E3
+ .incbin "baserom.gba", 0x17D4E3, 0x6D
+
+gUnknown_817D550:: @ 817D550
+ .incbin "baserom.gba", 0x17D550, 0xD2
+
+gUnknown_817D622:: @ 817D622
+ .incbin "baserom.gba", 0x17D622, 0xD1
+
+gUnknown_817D6F3:: @ 817D6F3
+ .incbin "baserom.gba", 0x17D6F3, 0x39
+
+Text_17D72C:: @ 817D72C
+ .incbin "baserom.gba", 0x17D72C, 0x1E
+
+gUnknown_817D74A:: @ 817D74A
+ .incbin "baserom.gba", 0x17D74A, 0x7E
+
+gUnknown_817D7C8:: @ 817D7C8
+ .incbin "baserom.gba", 0x17D7C8, 0x45
+
+gUnknown_817D80D:: @ 817D80D
+ .incbin "baserom.gba", 0x17D80D, 0x59
+
+gUnknown_817D866:: @ 817D866
+ .incbin "baserom.gba", 0x17D866, 0x19
+
+gUnknown_817D87F:: @ 817D87F
+ .incbin "baserom.gba", 0x17D87F, 0xB
+
+gUnknown_817D88A:: @ 817D88A
+ .incbin "baserom.gba", 0x17D88A, 0xB
+
+gUnknown_817D895:: @ 817D895
+ .incbin "baserom.gba", 0x17D895, 0x2A
+
+gUnknown_817D8BF:: @ 817D8BF
+ .incbin "baserom.gba", 0x17D8BF, 0x66
+
+gUnknown_817D925:: @ 817D925
+ .incbin "baserom.gba", 0x17D925, 0x85
+
+gUnknown_817D9AA:: @ 817D9AA
+ .incbin "baserom.gba", 0x17D9AA, 0x6C
+
+gUnknown_817DA16:: @ 817DA16
+ .incbin "baserom.gba", 0x17DA16, 0xA5
+
+gUnknown_817DABB:: @ 817DABB
+ .incbin "baserom.gba", 0x17DABB, 0x7E
+
+gUnknown_817DB39:: @ 817DB39
+ .incbin "baserom.gba", 0x17DB39, 0x3F
+
+gUnknown_817DB78:: @ 817DB78
+ .incbin "baserom.gba", 0x17DB78, 0x20
+
+gUnknown_817DB98:: @ 817DB98
+ .incbin "baserom.gba", 0x17DB98, 0x3D
+
+gUnknown_817DBD5:: @ 817DBD5
+ .incbin "baserom.gba", 0x17DBD5, 0xF
+
+gUnknown_817DBE4:: @ 817DBE4
+ .incbin "baserom.gba", 0x17DBE4, 0x6A
+
+gUnknown_817DC4E:: @ 817DC4E
+ .incbin "baserom.gba", 0x17DC4E, 0x4B
+
+gUnknown_817DC99:: @ 817DC99
+ .incbin "baserom.gba", 0x17DC99, 0x6A
+
+gUnknown_817DD03:: @ 817DD03
+ .incbin "baserom.gba", 0x17DD03, 0x4B
+
+gUnknown_817DD4E:: @ 817DD4E
+ .incbin "baserom.gba", 0x17DD4E, 0x14D
+
+gUnknown_817DE9B:: @ 817DE9B
+ .incbin "baserom.gba", 0x17DE9B, 0x50
+
+gUnknown_817DEEB:: @ 817DEEB
+ .incbin "baserom.gba", 0x17DEEB, 0x76
+
+gUnknown_817DF61:: @ 817DF61
+ .incbin "baserom.gba", 0x17DF61, 0xE5
+
+gUnknown_817E046:: @ 817E046
+ .incbin "baserom.gba", 0x17E046, 0xA4
+
+gUnknown_817E0EA:: @ 817E0EA
+ .incbin "baserom.gba", 0x17E0EA, 0x64
+
+gUnknown_817E14E:: @ 817E14E
+ .incbin "baserom.gba", 0x17E14E, 0x6D
+
+gUnknown_817E1BB:: @ 817E1BB
+ .incbin "baserom.gba", 0x17E1BB, 0x2C
+
+gUnknown_817E1E7:: @ 817E1E7
+ .incbin "baserom.gba", 0x17E1E7, 0x66
+
+gUnknown_817E24D:: @ 817E24D
+ .incbin "baserom.gba", 0x17E24D, 0x8E
+
+gUnknown_817E2DB:: @ 817E2DB
+ .incbin "baserom.gba", 0x17E2DB, 0x1A
+
+gUnknown_817E2F5:: @ 817E2F5
+ .incbin "baserom.gba", 0x17E2F5, 0x141
+
+gUnknown_817E436:: @ 817E436
+ .incbin "baserom.gba", 0x17E436, 0x69
+
+gUnknown_817E49F:: @ 817E49F
+ .incbin "baserom.gba", 0x17E49F, 0x9F
+
+gUnknown_817E53E:: @ 817E53E
+ .incbin "baserom.gba", 0x17E53E, 0x1E
+
+gUnknown_817E55C:: @ 817E55C
+ .incbin "baserom.gba", 0x17E55C, 0x2D
+
+gUnknown_817E589:: @ 817E589
+ .incbin "baserom.gba", 0x17E589, 0x23
+
+gUnknown_817E5AC:: @ 817E5AC
+ .incbin "baserom.gba", 0x17E5AC, 0x56
+
+gUnknown_817E602:: @ 817E602
+ .incbin "baserom.gba", 0x17E602, 0x24
+
+gUnknown_817E626:: @ 817E626
+ .incbin "baserom.gba", 0x17E626, 0x1E
+
+gUnknown_817E644:: @ 817E644
+ .incbin "baserom.gba", 0x17E644, 0x3A
+
+gUnknown_817E67E:: @ 817E67E
+ .incbin "baserom.gba", 0x17E67E, 0x49
+
+gUnknown_817E6C7:: @ 817E6C7
+ .incbin "baserom.gba", 0x17E6C7, 0x2F
+
+gUnknown_817E6F6:: @ 817E6F6
+ .incbin "baserom.gba", 0x17E6F6, 0x52
+
+gUnknown_817E748:: @ 817E748
+ .incbin "baserom.gba", 0x17E748, 0x7D
+
+gUnknown_817E7C5:: @ 817E7C5
+ .incbin "baserom.gba", 0x17E7C5, 0x19
+
+gUnknown_817E7DE:: @ 817E7DE
+ .incbin "baserom.gba", 0x17E7DE, 0x46
+
+gUnknown_817E824:: @ 817E824
+ .incbin "baserom.gba", 0x17E824, 0xDE
+
+gUnknown_817E902:: @ 817E902
+ .incbin "baserom.gba", 0x17E902, 0xA
+
+gUnknown_817E90C:: @ 817E90C
+ .incbin "baserom.gba", 0x17E90C, 0x64
+
+Text_17E970:: @ 817E970
+ .incbin "baserom.gba", 0x17E970, 0x2D
+
+gUnknown_817E99D:: @ 817E99D
+ .incbin "baserom.gba", 0x17E99D, 0x2A
+
+gUnknown_817E9C7:: @ 817E9C7
+ .incbin "baserom.gba", 0x17E9C7, 0x3F
+
+gUnknown_817EA06:: @ 817EA06
+ .incbin "baserom.gba", 0x17EA06, 0x30
+
+gUnknown_817EA36:: @ 817EA36
+ .incbin "baserom.gba", 0x17EA36, 0xA1
+
+gUnknown_817EAD7:: @ 817EAD7
+ .incbin "baserom.gba", 0x17EAD7, 0x9A
+
+Text_17EB71:: @ 817EB71
+ .incbin "baserom.gba", 0x17EB71, 0x24
+
+gUnknown_817EB95:: @ 817EB95
+ .incbin "baserom.gba", 0x17EB95, 0x13F
+
+gUnknown_817ECD4:: @ 817ECD4
+ .incbin "baserom.gba", 0x17ECD4, 0x89
+
+gUnknown_817ED5D:: @ 817ED5D
+ .incbin "baserom.gba", 0x17ED5D, 0xB1
+
+Text_17EE0E:: @ 817EE0E
+ .incbin "baserom.gba", 0x17EE0E, 0x62
+
+Text_17EE70:: @ 817EE70
+ .incbin "baserom.gba", 0x17EE70, 0x2C
+
+gUnknown_817EE9C:: @ 817EE9C
+ .incbin "baserom.gba", 0x17EE9C, 0x23
+
+gUnknown_817EEBF:: @ 817EEBF
+ .incbin "baserom.gba", 0x17EEBF, 0x2E
+
+gUnknown_817EEED:: @ 817EEED
+ .incbin "baserom.gba", 0x17EEED, 0x1A
+
+gUnknown_817EF07:: @ 817EF07
+ .incbin "baserom.gba", 0x17EF07, 0x38
+
+gUnknown_817EF3F:: @ 817EF3F
+ .incbin "baserom.gba", 0x17EF3F, 0x4A
+
+gUnknown_817EF89:: @ 817EF89
+ .incbin "baserom.gba", 0x17EF89, 0x94
+
+gUnknown_817F01D:: @ 817F01D
+ .incbin "baserom.gba", 0x17F01D, 0x95
+
+gUnknown_817F0B2:: @ 817F0B2
+ .incbin "baserom.gba", 0x17F0B2, 0x3F
+
+gUnknown_817F0F1:: @ 817F0F1
+ .incbin "baserom.gba", 0x17F0F1, 0x92
+
+Text_17F183:: @ 817F183
+ .incbin "baserom.gba", 0x17F183, 0x1E
+
+gUnknown_817F1A1:: @ 817F1A1
+ .incbin "baserom.gba", 0x17F1A1, 0x21
+
+Text_17F1C2:: @ 817F1C2
+ .incbin "baserom.gba", 0x17F1C2, 0x10
+
+gUnknown_817F1D2:: @ 817F1D2
+ .incbin "baserom.gba", 0x17F1D2, 0x17
+
+Text_17F1E9:: @ 817F1E9
+ .incbin "baserom.gba", 0x17F1E9, 0x13
+
+gUnknown_817F1FC:: @ 817F1FC
+ .incbin "baserom.gba", 0x17F1FC, 0x74
+
+gUnknown_817F270:: @ 817F270
+ .incbin "baserom.gba", 0x17F270, 0x17
+
+gUnknown_817F287:: @ 817F287
+ .incbin "baserom.gba", 0x17F287, 0x1B
+
+gUnknown_817F2A2:: @ 817F2A2
+ .incbin "baserom.gba", 0x17F2A2, 0x15
+
+gUnknown_817F2B7:: @ 817F2B7
+ .incbin "baserom.gba", 0x17F2B7, 0x18
+
+gUnknown_817F2CF:: @ 817F2CF
+ .incbin "baserom.gba", 0x17F2CF, 0x4A
+
+gUnknown_817F319:: @ 817F319
+ .incbin "baserom.gba", 0x17F319, 0x107
+
+gUnknown_817F420:: @ 817F420
+ .incbin "baserom.gba", 0x17F420, 0x33
+
+gUnknown_817F453:: @ 817F453
+ .incbin "baserom.gba", 0x17F453, 0x72
+
+gUnknown_817F4C5:: @ 817F4C5
+ .incbin "baserom.gba", 0x17F4C5, 0x2A
+
+gUnknown_817F4EF:: @ 817F4EF
+ .incbin "baserom.gba", 0x17F4EF, 0x3F
+
+gUnknown_817F52E:: @ 817F52E
+ .incbin "baserom.gba", 0x17F52E, 0x1A
+
+gUnknown_817F548:: @ 817F548
+ .incbin "baserom.gba", 0x17F548, 0x20
+
+gUnknown_817F568:: @ 817F568
+ .incbin "baserom.gba", 0x17F568, 0x4E
+
+gUnknown_817F5B6:: @ 817F5B6
+ .incbin "baserom.gba", 0x17F5B6, 0x5E
+
+gUnknown_817F614:: @ 817F614
+ .incbin "baserom.gba", 0x17F614, 0x62
+
+gUnknown_817F676:: @ 817F676
+ .incbin "baserom.gba", 0x17F676, 0x24
+
+gUnknown_817F69A:: @ 817F69A
+ .incbin "baserom.gba", 0x17F69A, 0x3C
+
+gUnknown_817F6D6:: @ 817F6D6
+ .incbin "baserom.gba", 0x17F6D6, 0x21
+
+gUnknown_817F6F7:: @ 817F6F7
+ .incbin "baserom.gba", 0x17F6F7, 0x2C
+
+gUnknown_817F723:: @ 817F723
+ .incbin "baserom.gba", 0x17F723, 0x53
+
+gUnknown_817F776:: @ 817F776
+ .incbin "baserom.gba", 0x17F776, 0x30
+
+gUnknown_817F7A6:: @ 817F7A6
+ .incbin "baserom.gba", 0x17F7A6, 0x57
+
+gUnknown_817F7FD:: @ 817F7FD
+ .incbin "baserom.gba", 0x17F7FD, 0x74
+
+gUnknown_817F871:: @ 817F871
+ .incbin "baserom.gba", 0x17F871, 0x17
+
+gUnknown_817F888:: @ 817F888
+ .incbin "baserom.gba", 0x17F888, 0x24
+
+gUnknown_817F8AC:: @ 817F8AC
+ .incbin "baserom.gba", 0x17F8AC, 0x4F
+
+gUnknown_817F8FB:: @ 817F8FB
+ .incbin "baserom.gba", 0x17F8FB, 0x2D
+
+gUnknown_817F928:: @ 817F928
+ .incbin "baserom.gba", 0x17F928, 0x79
+
+gUnknown_817F9A1:: @ 817F9A1
+ .incbin "baserom.gba", 0x17F9A1, 0x2B
+
+gUnknown_817F9CC:: @ 817F9CC
+ .incbin "baserom.gba", 0x17F9CC, 0x45
+
+gUnknown_817FA11:: @ 817FA11
+ .incbin "baserom.gba", 0x17FA11, 0x11
+
+gUnknown_817FA22:: @ 817FA22
+ .incbin "baserom.gba", 0x17FA22, 0x1A
+
+gUnknown_817FA3C:: @ 817FA3C
+ .incbin "baserom.gba", 0x17FA3C, 0x3B
+
+gUnknown_817FA77:: @ 817FA77
+ .incbin "baserom.gba", 0x17FA77, 0x43
+
+gUnknown_817FABA:: @ 817FABA
+ .incbin "baserom.gba", 0x17FABA, 0x56
+
+gUnknown_817FB10:: @ 817FB10
+ .incbin "baserom.gba", 0x17FB10, 0x13
+
+Text_17FB23:: @ 817FB23
+ .incbin "baserom.gba", 0x17FB23, 0x95
+
+Text_17FBB8:: @ 817FBB8
+ .incbin "baserom.gba", 0x17FBB8, 0x48
+
+gUnknown_817FC00:: @ 817FC00
+ .incbin "baserom.gba", 0x17FC00, 0x5F
+
+gUnknown_817FC5F:: @ 817FC5F
+ .incbin "baserom.gba", 0x17FC5F, 0x62
+
+Text_17FCC1:: @ 817FCC1
+ .incbin "baserom.gba", 0x17FCC1, 0x2B
+
+gUnknown_817FCEC:: @ 817FCEC
+ .incbin "baserom.gba", 0x17FCEC, 0x73
+
+gUnknown_817FD5F:: @ 817FD5F
+ .incbin "baserom.gba", 0x17FD5F, 0x73
+
+gUnknown_817FDD2:: @ 817FDD2
+ .incbin "baserom.gba", 0x17FDD2, 0xF1
+
+gUnknown_817FEC3:: @ 817FEC3
+ .incbin "baserom.gba", 0x17FEC3, 0x59
+
+gUnknown_817FF1C:: @ 817FF1C
+ .incbin "baserom.gba", 0x17FF1C, 0x2E
+
+gUnknown_817FF4A:: @ 817FF4A
+ .incbin "baserom.gba", 0x17FF4A, 0x7B
+
+gUnknown_817FFC5:: @ 817FFC5
+ .incbin "baserom.gba", 0x17FFC5, 0x4F
+
+gUnknown_8180014:: @ 8180014
+ .incbin "baserom.gba", 0x180014, 0x7
+
+gUnknown_818001B:: @ 818001B
+ .incbin "baserom.gba", 0x18001B, 0x5A
+
+gUnknown_8180075:: @ 8180075
+ .incbin "baserom.gba", 0x180075, 0x17
+
+gUnknown_818008C:: @ 818008C
+ .incbin "baserom.gba", 0x18008C, 0x36
+
+gUnknown_81800C2:: @ 81800C2
+ .incbin "baserom.gba", 0x1800C2, 0x1F
+
+gUnknown_81800E1:: @ 81800E1
+ .incbin "baserom.gba", 0x1800E1, 0x99
+
+gUnknown_818017A:: @ 818017A
+ .incbin "baserom.gba", 0x18017A, 0x28
+
+gUnknown_81801A2:: @ 81801A2
+ .incbin "baserom.gba", 0x1801A2, 0x43
+
+gUnknown_81801E5:: @ 81801E5
+ .incbin "baserom.gba", 0x1801E5, 0x10
+
+gUnknown_81801F5:: @ 81801F5
+ .incbin "baserom.gba", 0x1801F5, 0x2F
+
+gUnknown_8180224:: @ 8180224
+ .incbin "baserom.gba", 0x180224, 0x80
+
+gUnknown_81802A4:: @ 81802A4
+ .incbin "baserom.gba", 0x1802A4, 0x2B
+
+gUnknown_81802CF:: @ 81802CF
+ .incbin "baserom.gba", 0x1802CF, 0x31
+
+gUnknown_8180300:: @ 8180300
+ .incbin "baserom.gba", 0x180300, 0x1E1
+
+gUnknown_81804E1:: @ 81804E1
+ .incbin "baserom.gba", 0x1804E1, 0x8D
+
+gUnknown_818056E:: @ 818056E
+ .incbin "baserom.gba", 0x18056E, 0x58
+
+gUnknown_81805C6:: @ 81805C6
+ .incbin "baserom.gba", 0x1805C6, 0x66
+
+gUnknown_818062C:: @ 818062C
+ .incbin "baserom.gba", 0x18062C, 0x2E
+
+gUnknown_818065A:: @ 818065A
+ .incbin "baserom.gba", 0x18065A, 0x51
+
+gUnknown_81806AB:: @ 81806AB
+ .incbin "baserom.gba", 0x1806AB, 0x28
+
+gUnknown_81806D3:: @ 81806D3
+ .incbin "baserom.gba", 0x1806D3, 0x1D
+
+gUnknown_81806F0:: @ 81806F0
+ .incbin "baserom.gba", 0x1806F0, 0x1D
+
+gUnknown_818070D:: @ 818070D
+ .incbin "baserom.gba", 0x18070D, 0x1A
+
+gUnknown_8180727:: @ 8180727
+ .incbin "baserom.gba", 0x180727, 0x41
+
+gUnknown_8180768:: @ 8180768
+ .incbin "baserom.gba", 0x180768, 0x41
+
+gUnknown_81807A9:: @ 81807A9
+ .incbin "baserom.gba", 0x1807A9, 0x30
+
+gUnknown_81807D9:: @ 81807D9
+ .incbin "baserom.gba", 0x1807D9, 0x2D
+
+gUnknown_8180806:: @ 8180806
+ .incbin "baserom.gba", 0x180806, 0x53
+
+gUnknown_8180859:: @ 8180859
+ .incbin "baserom.gba", 0x180859, 0x2E
+
+gUnknown_8180887:: @ 8180887
+ .incbin "baserom.gba", 0x180887, 0x27
+
+gUnknown_81808AE:: @ 81808AE
+ .incbin "baserom.gba", 0x1808AE, 0x4C
+
+gUnknown_81808FA:: @ 81808FA
+ .incbin "baserom.gba", 0x1808FA, 0x1C3
+
+gUnknown_8180ABD:: @ 8180ABD
+ .incbin "baserom.gba", 0x180ABD, 0x63
+
+gUnknown_8180B20:: @ 8180B20
+ .incbin "baserom.gba", 0x180B20, 0x14
+
+gUnknown_8180B34:: @ 8180B34
+ .incbin "baserom.gba", 0x180B34, 0x6C
+
+gUnknown_8180BA0:: @ 8180BA0
+ .incbin "baserom.gba", 0x180BA0, 0x6D
+
+gUnknown_8180C0D:: @ 8180C0D
+ .incbin "baserom.gba", 0x180C0D, 0x31
+
+gUnknown_8180C3E:: @ 8180C3E
+ .incbin "baserom.gba", 0x180C3E, 0xC
+
+gUnknown_8180C4A:: @ 8180C4A
+ .incbin "baserom.gba", 0x180C4A, 0x46
+
+gUnknown_8180C90:: @ 8180C90
+ .incbin "baserom.gba", 0x180C90, 0x1A
+
+gUnknown_8180CAA:: @ 8180CAA
+ .incbin "baserom.gba", 0x180CAA, 0x133
+
+gUnknown_8180DDD:: @ 8180DDD
+ .incbin "baserom.gba", 0x180DDD, 0x1B
+
+gUnknown_8180DF8:: @ 8180DF8
+ .incbin "baserom.gba", 0x180DF8, 0xB5
+
+gUnknown_8180EAD:: @ 8180EAD
+ .incbin "baserom.gba", 0x180EAD, 0x5C
+
+gUnknown_8180F09:: @ 8180F09
+ .incbin "baserom.gba", 0x180F09, 0xFA
+
+gUnknown_8181003:: @ 8181003
+ .incbin "baserom.gba", 0x181003, 0x1C
+
+gUnknown_818101F:: @ 818101F
+ .incbin "baserom.gba", 0x18101F, 0x3B
+
+gUnknown_818105A:: @ 818105A
+ .incbin "baserom.gba", 0x18105A, 0x2D
+
+gUnknown_8181087:: @ 8181087
+ .incbin "baserom.gba", 0x181087, 0x20
+
+gUnknown_81810A7:: @ 81810A7
+ .incbin "baserom.gba", 0x1810A7, 0x2E
+
+gUnknown_81810D5:: @ 81810D5
+ .incbin "baserom.gba", 0x1810D5, 0x20
+
+gUnknown_81810F5:: @ 81810F5
+ .incbin "baserom.gba", 0x1810F5, 0x64
+
+gUnknown_8181159:: @ 8181159
+ .incbin "baserom.gba", 0x181159, 0x30
+
+gUnknown_8181189:: @ 8181189
+ .incbin "baserom.gba", 0x181189, 0x36
+
+gUnknown_81811BF:: @ 81811BF
+ .incbin "baserom.gba", 0x1811BF, 0x66
+
+gUnknown_8181225:: @ 8181225
+ .incbin "baserom.gba", 0x181225, 0x61
+
+gUnknown_8181286:: @ 8181286
+ .incbin "baserom.gba", 0x181286, 0x13
+
+gUnknown_8181299:: @ 8181299
+ .incbin "baserom.gba", 0x181299, 0x31
+
+gUnknown_81812CA:: @ 81812CA
+ .incbin "baserom.gba", 0x1812CA, 0x38
+
+gUnknown_8181302:: @ 8181302
+ .incbin "baserom.gba", 0x181302, 0x24
+
+gUnknown_8181326:: @ 8181326
+ .incbin "baserom.gba", 0x181326, 0x2E
+
+gUnknown_8181354:: @ 8181354
+ .incbin "baserom.gba", 0x181354, 0xE
+
+gUnknown_8181362:: @ 8181362
+ .incbin "baserom.gba", 0x181362, 0x48
+
+gUnknown_81813AA:: @ 81813AA
+ .incbin "baserom.gba", 0x1813AA, 0xA8
+
+gUnknown_8181452:: @ 8181452
+ .incbin "baserom.gba", 0x181452, 0x67
+
+gUnknown_81814B9:: @ 81814B9
+ .incbin "baserom.gba", 0x1814B9, 0x1A
+
+gUnknown_81814D3:: @ 81814D3
+ .incbin "baserom.gba", 0x1814D3, 0x14
+
+gUnknown_81814E7:: @ 81814E7
+ .incbin "baserom.gba", 0x1814E7, 0x32
+
+gUnknown_8181519:: @ 8181519
+ .incbin "baserom.gba", 0x181519, 0x102
+
+gUnknown_818161B:: @ 818161B
+ .incbin "baserom.gba", 0x18161B, 0x10B
+
+Text_181726:: @ 8181726
+ .incbin "baserom.gba", 0x181726, 0x28
+
+gUnknown_818174E:: @ 818174E
+ .incbin "baserom.gba", 0x18174E, 0x10A
+
+gUnknown_8181858:: @ 8181858
+ .incbin "baserom.gba", 0x181858, 0xA9
+
+gUnknown_8181901:: @ 8181901
+ .incbin "baserom.gba", 0x181901, 0xE0
+
+gUnknown_81819E1:: @ 81819E1
+ .incbin "baserom.gba", 0x1819E1, 0x29
+
+gUnknown_8181A0A:: @ 8181A0A
+ .incbin "baserom.gba", 0x181A0A, 0x40
+
+gUnknown_8181A4A:: @ 8181A4A
+ .incbin "baserom.gba", 0x181A4A, 0x3E
+
+gUnknown_8181A88:: @ 8181A88
+ .incbin "baserom.gba", 0x181A88, 0x1F
+
+gUnknown_8181AA7:: @ 8181AA7
+ .incbin "baserom.gba", 0x181AA7, 0x21
+
+gUnknown_8181AC8:: @ 8181AC8
+ .incbin "baserom.gba", 0x181AC8, 0x36
+
+Text_181AFE:: @ 8181AFE
+ .incbin "baserom.gba", 0x181AFE, 0x7E
+
+Text_181B7C:: @ 8181B7C
+ .incbin "baserom.gba", 0x181B7C, 0xFB
+
+Text_181C77:: @ 8181C77
+ .incbin "baserom.gba", 0x181C77, 0x37
+
+Text_181CAE:: @ 8181CAE
+ .incbin "baserom.gba", 0x181CAE, 0x81
+
+gUnknown_8181D2F:: @ 8181D2F
+ .incbin "baserom.gba", 0x181D2F, 0x9B
+
+gUnknown_8181DCA:: @ 8181DCA
+ .incbin "baserom.gba", 0x181DCA, 0x7D
+
+gUnknown_8181E47:: @ 8181E47
+ .incbin "baserom.gba", 0x181E47, 0xE1
+
+gUnknown_8181F28:: @ 8181F28
+ .incbin "baserom.gba", 0x181F28, 0x35
+
+gUnknown_8181F5D:: @ 8181F5D
+ .incbin "baserom.gba", 0x181F5D, 0x71
+
+gUnknown_8181FCE:: @ 8181FCE
+ .incbin "baserom.gba", 0x181FCE, 0x93
+
+gUnknown_8182061:: @ 8182061
+ .incbin "baserom.gba", 0x182061, 0x2A
+
+gUnknown_818208B:: @ 818208B
+ .incbin "baserom.gba", 0x18208B, 0x35
+
+gUnknown_81820C0:: @ 81820C0
+ .incbin "baserom.gba", 0x1820C0, 0x65
+
+gUnknown_8182125:: @ 8182125
+ .incbin "baserom.gba", 0x182125, 0x84
+
+gUnknown_81821A9:: @ 81821A9
+ .incbin "baserom.gba", 0x1821A9, 0x33
+
+gUnknown_81821DC:: @ 81821DC
+ .incbin "baserom.gba", 0x1821DC, 0x15
+
+gUnknown_81821F1:: @ 81821F1
+ .incbin "baserom.gba", 0x1821F1, 0x2E
+
+gUnknown_818221F:: @ 818221F
+ .incbin "baserom.gba", 0x18221F, 0x56
+
+gUnknown_8182275:: @ 8182275
+ .incbin "baserom.gba", 0x182275, 0x86
+
+gUnknown_81822FB:: @ 81822FB
+ .incbin "baserom.gba", 0x1822FB, 0xCC
+
+gUnknown_81823C7:: @ 81823C7
+ .incbin "baserom.gba", 0x1823C7, 0x26
+
+gUnknown_81823ED:: @ 81823ED
+ .incbin "baserom.gba", 0x1823ED, 0x66
+
+gUnknown_8182453:: @ 8182453
+ .incbin "baserom.gba", 0x182453, 0x2A
+
+gUnknown_818247D:: @ 818247D
+ .incbin "baserom.gba", 0x18247D, 0x3A
+
+Text_1824B7:: @ 81824B7
+ .incbin "baserom.gba", 0x1824B7, 0x18
+
+gUnknown_81824CF:: @ 81824CF
+ .incbin "baserom.gba", 0x1824CF, 0x20
+
+gUnknown_81824EF:: @ 81824EF
+ .incbin "baserom.gba", 0x1824EF, 0x32
+
+Text_182521:: @ 8182521
+ .incbin "baserom.gba", 0x182521, 0x15
+
+gUnknown_8182536:: @ 8182536
+ .incbin "baserom.gba", 0x182536, 0x4C
+
+gUnknown_8182582:: @ 8182582
+ .incbin "baserom.gba", 0x182582, 0x52
+
+Text_1825D4:: @ 81825D4
+ .incbin "baserom.gba", 0x1825D4, 0xE
+
+gUnknown_81825E2:: @ 81825E2
+ .incbin "baserom.gba", 0x1825E2, 0x41
+
+gUnknown_8182623:: @ 8182623
+ .incbin "baserom.gba", 0x182623, 0x94
+
+Text_1826B7:: @ 81826B7
+ .incbin "baserom.gba", 0x1826B7, 0x66
+
+gUnknown_818271D:: @ 818271D
+ .incbin "baserom.gba", 0x18271D, 0x3D
+
+gUnknown_818275A:: @ 818275A
+ .incbin "baserom.gba", 0x18275A, 0x64
+
+gUnknown_81827BE:: @ 81827BE
+ .incbin "baserom.gba", 0x1827BE, 0x1D
+
+gUnknown_81827DB:: @ 81827DB
+ .incbin "baserom.gba", 0x1827DB, 0x16
+
+gUnknown_81827F1:: @ 81827F1
+ .incbin "baserom.gba", 0x1827F1, 0x32
+
+gUnknown_8182823:: @ 8182823
+ .incbin "baserom.gba", 0x182823, 0xC8
+
+gUnknown_81828EB:: @ 81828EB
+ .incbin "baserom.gba", 0x1828EB, 0x9F
+
+gUnknown_818298A:: @ 818298A
+ .incbin "baserom.gba", 0x18298A, 0x6A
+
+gUnknown_81829F4:: @ 81829F4
+ .incbin "baserom.gba", 0x1829F4, 0xF
+
+gUnknown_8182A03:: @ 8182A03
+ .incbin "baserom.gba", 0x182A03, 0x28
+
+gUnknown_8182A2B:: @ 8182A2B
+ .incbin "baserom.gba", 0x182A2B, 0x4A
+
+gUnknown_8182A75:: @ 8182A75
+ .incbin "baserom.gba", 0x182A75, 0xC2
+
+gUnknown_8182B37:: @ 8182B37
+ .incbin "baserom.gba", 0x182B37, 0x1AC
+
+gUnknown_8182CE3:: @ 8182CE3
+ .incbin "baserom.gba", 0x182CE3, 0xAB
+
+gUnknown_8182D8E:: @ 8182D8E
+ .incbin "baserom.gba", 0x182D8E, 0x5D
+
+gUnknown_8182DEB:: @ 8182DEB
+ .incbin "baserom.gba", 0x182DEB, 0x10
+
+gUnknown_8182DFB:: @ 8182DFB
+ .incbin "baserom.gba", 0x182DFB, 0x2B
+
+gUnknown_8182E26:: @ 8182E26
+ .incbin "baserom.gba", 0x182E26, 0x70
+
+gUnknown_8182E96:: @ 8182E96
+ .incbin "baserom.gba", 0x182E96, 0x1B0
+
+gUnknown_8183046:: @ 8183046
+ .incbin "baserom.gba", 0x183046, 0x26
+
+gUnknown_818306C:: @ 818306C
+ .incbin "baserom.gba", 0x18306C, 0xD7
+
+gUnknown_8183143:: @ 8183143
+ .incbin "baserom.gba", 0x183143, 0x83
+
+gUnknown_81831C6:: @ 81831C6
+ .incbin "baserom.gba", 0x1831C6, 0x29
+
+gUnknown_81831EF:: @ 81831EF
+ .incbin "baserom.gba", 0x1831EF, 0x66
+
+gUnknown_8183255:: @ 8183255
+ .incbin "baserom.gba", 0x183255, 0x48
+
+gUnknown_818329D:: @ 818329D
+ .incbin "baserom.gba", 0x18329D, 0xAA
+
+gUnknown_8183347:: @ 8183347
+ .incbin "baserom.gba", 0x183347, 0x40
+
+gUnknown_8183387:: @ 8183387
+ .incbin "baserom.gba", 0x183387, 0x32
+
+gUnknown_81833B9:: @ 81833B9
+ .incbin "baserom.gba", 0x1833B9, 0x81
+
+gUnknown_818343A:: @ 818343A
+ .incbin "baserom.gba", 0x18343A, 0x24
+
+gUnknown_818345E:: @ 818345E
+ .incbin "baserom.gba", 0x18345E, 0x24
+
+gUnknown_8183482:: @ 8183482
+ .incbin "baserom.gba", 0x183482, 0xF
+
+gUnknown_8183491:: @ 8183491
+ .incbin "baserom.gba", 0x183491, 0x42F
+
+gUnknown_81838C0:: @ 81838C0
+ .incbin "baserom.gba", 0x1838C0, 0x17
+
+gUnknown_81838D7:: @ 81838D7
+ .incbin "baserom.gba", 0x1838D7, 0xC4
+
+gUnknown_818399B:: @ 818399B
+ .incbin "baserom.gba", 0x18399B, 0x19
+
+gUnknown_81839B4:: @ 81839B4
+ .incbin "baserom.gba", 0x1839B4, 0x420
+
+gUnknown_8183DD4:: @ 8183DD4
+ .incbin "baserom.gba", 0x183DD4, 0x293
+
+gUnknown_8184067:: @ 8184067
+ .incbin "baserom.gba", 0x184067, 0x30
+
+gUnknown_8184097:: @ 8184097
+ .incbin "baserom.gba", 0x184097, 0x4DF
+
+gUnknown_8184576:: @ 8184576
+ .incbin "baserom.gba", 0x184576, 0x5F0
+
+gUnknown_8184B66:: @ 8184B66
+ .incbin "baserom.gba", 0x184B66, 0x35F
+
+gUnknown_8184EC5:: @ 8184EC5
+ .incbin "baserom.gba", 0x184EC5, 0x24
+
+gUnknown_8184EE9:: @ 8184EE9
+ .incbin "baserom.gba", 0x184EE9, 0xC
+
+gUnknown_8184EF5:: @ 8184EF5
+ .incbin "baserom.gba", 0x184EF5, 0x413
+
+gUnknown_8185308:: @ 8185308
+ .incbin "baserom.gba", 0x185308, 0xF
+
+gUnknown_8185317:: @ 8185317
+ .incbin "baserom.gba", 0x185317, 0x6C
+
+gUnknown_8185383:: @ 8185383
+ .incbin "baserom.gba", 0x185383, 0x49
+
+gUnknown_81853CC:: @ 81853CC
+ .incbin "baserom.gba", 0x1853CC, 0x3CB
+
+gUnknown_8185797:: @ 8185797
+ .incbin "baserom.gba", 0x185797, 0x1C
+
+gUnknown_81857B3:: @ 81857B3
+ .incbin "baserom.gba", 0x1857B3, 0x604
+
+gUnknown_8185DB7:: @ 8185DB7
+ .incbin "baserom.gba", 0x185DB7, 0x38
+
+gUnknown_8185DEF:: @ 8185DEF
+ .incbin "baserom.gba", 0x185DEF, 0x3D
+
+gUnknown_8185E2C:: @ 8185E2C
+ .incbin "baserom.gba", 0x185E2C, 0x56D
+
+gUnknown_8186399:: @ 8186399
+ .incbin "baserom.gba", 0x186399, 0x6DE
+
+gUnknown_8186A77:: @ 8186A77
+ .incbin "baserom.gba", 0x186A77, 0x4C6
+
+gUnknown_8186F3D:: @ 8186F3D
+ .incbin "baserom.gba", 0x186F3D, 0x3D
+
+gUnknown_8186F7A:: @ 8186F7A
+ .incbin "baserom.gba", 0x186F7A, 0x1E
+
+gUnknown_8186F98:: @ 8186F98
+ .incbin "baserom.gba", 0x186F98, 0x54C
+
+gUnknown_81874E4:: @ 81874E4
+ .incbin "baserom.gba", 0x1874E4, 0x2E
+
+gUnknown_8187512:: @ 8187512
+ .incbin "baserom.gba", 0x187512, 0x69
+
+gUnknown_818757B:: @ 818757B
+ .incbin "baserom.gba", 0x18757B, 0x43
+
+gUnknown_81875BE:: @ 81875BE
+ .incbin "baserom.gba", 0x1875BE, 0x25
+
+gUnknown_81875E3:: @ 81875E3
+ .incbin "baserom.gba", 0x1875E3, 0x3F
+
+gUnknown_8187622:: @ 8187622
+ .incbin "baserom.gba", 0x187622, 0x135
+
+gUnknown_8187757:: @ 8187757
+ .incbin "baserom.gba", 0x187757, 0x25
+
+gUnknown_818777C:: @ 818777C
+ .incbin "baserom.gba", 0x18777C, 0x48A
+
+gUnknown_8187C06:: @ 8187C06
+ .incbin "baserom.gba", 0x187C06, 0x6CB
+
+gUnknown_81882D1:: @ 81882D1
+ .incbin "baserom.gba", 0x1882D1, 0x5BF
+
+gUnknown_8188890:: @ 8188890
+ .incbin "baserom.gba", 0x188890, 0xC9
+
+Text_188959:: @ 8188959
+ .incbin "baserom.gba", 0x188959, 0x1B
+
+gUnknown_8188974:: @ 8188974
+ .incbin "baserom.gba", 0x188974, 0xC8
+
+gUnknown_8188A3C:: @ 8188A3C
+ .incbin "baserom.gba", 0x188A3C, 0xCC
+
+Text_188B08:: @ 8188B08
+ .incbin "baserom.gba", 0x188B08, 0x21
+
+gUnknown_8188B29:: @ 8188B29
+ .incbin "baserom.gba", 0x188B29, 0xD6
+
+gUnknown_8188BFF:: @ 8188BFF
+ .incbin "baserom.gba", 0x188BFF, 0x1A
+
+gUnknown_8188C19:: @ 8188C19
+ .incbin "baserom.gba", 0x188C19, 0x23
+
+gUnknown_8188C3C:: @ 8188C3C
+ .incbin "baserom.gba", 0x188C3C, 0x57
+
+gUnknown_8188C93:: @ 8188C93
+ .incbin "baserom.gba", 0x188C93, 0x2F
+
+gUnknown_8188CC2:: @ 8188CC2
+ .incbin "baserom.gba", 0x188CC2, 0x19
+
+Text_188CDB:: @ 8188CDB
+ .incbin "baserom.gba", 0x188CDB, 0x101
+
+Text_188DDC:: @ 8188DDC
+ .incbin "baserom.gba", 0x188DDC, 0x15
+
+gUnknown_8188DF1:: @ 8188DF1
+ .incbin "baserom.gba", 0x188DF1, 0x75B
+
+gUnknown_818954C:: @ 818954C
+ .incbin "baserom.gba", 0x18954C, 0x76
+
+gUnknown_81895C2:: @ 81895C2
+ .incbin "baserom.gba", 0x1895C2, 0x740
+
+gUnknown_8189D02:: @ 8189D02
+ .incbin "baserom.gba", 0x189D02, 0x30
+
+gUnknown_8189D32:: @ 8189D32
+ .incbin "baserom.gba", 0x189D32, 0x9C
+
+gUnknown_8189DCE:: @ 8189DCE
+ .incbin "baserom.gba", 0x189DCE, 0x442
+
+gUnknown_818A210:: @ 818A210
+ .incbin "baserom.gba", 0x18A210, 0x13
+
+gUnknown_818A223:: @ 818A223
+ .incbin "baserom.gba", 0x18A223, 0x3E
+
+gUnknown_818A261:: @ 818A261
+ .incbin "baserom.gba", 0x18A261, 0x77
+
+gUnknown_818A2D8:: @ 818A2D8
+ .incbin "baserom.gba", 0x18A2D8, 0x2F
+
+gUnknown_818A307:: @ 818A307
+ .incbin "baserom.gba", 0x18A307, 0x32
+
+gUnknown_818A339:: @ 818A339
+ .incbin "baserom.gba", 0x18A339, 0x52
+
+gUnknown_818A38B:: @ 818A38B
+ .incbin "baserom.gba", 0x18A38B, 0x450
+
+gUnknown_818A7DB:: @ 818A7DB
+ .incbin "baserom.gba", 0x18A7DB, 0x23
+
+gUnknown_818A7FE:: @ 818A7FE
+ .incbin "baserom.gba", 0x18A7FE, 0xF
+
+gUnknown_818A80D:: @ 818A80D
+ .incbin "baserom.gba", 0x18A80D, 0x82
+
+gUnknown_818A88F:: @ 818A88F
+ .incbin "baserom.gba", 0x18A88F, 0x17
+
+gUnknown_818A8A6:: @ 818A8A6
+ .incbin "baserom.gba", 0x18A8A6, 0x79
+
+Text_18A91F:: @ 818A91F
+ .incbin "baserom.gba", 0x18A91F, 0x21
+
+gUnknown_818A940:: @ 818A940
+ .incbin "baserom.gba", 0x18A940, 0x80
+
+gUnknown_818A9C0:: @ 818A9C0
+ .incbin "baserom.gba", 0x18A9C0, 0x4C
+
+gUnknown_818AA0C:: @ 818AA0C
+ .incbin "baserom.gba", 0x18AA0C, 0x182
+
+gUnknown_818AB8E:: @ 818AB8E
+ .incbin "baserom.gba", 0x18AB8E, 0x66
+
+Text_18ABF4:: @ 818ABF4
+ .incbin "baserom.gba", 0x18ABF4, 0x6E
+
+gUnknown_818AC62:: @ 818AC62
+ .incbin "baserom.gba", 0x18AC62, 0x26
+
+Text_18AC88:: @ 818AC88
+ .incbin "baserom.gba", 0x18AC88, 0x2B
+
+Text_18ACB3:: @ 818ACB3
+ .incbin "baserom.gba", 0x18ACB3, 0x12
+
+gUnknown_818ACC5:: @ 818ACC5
+ .incbin "baserom.gba", 0x18ACC5, 0x2B
+
+Text_18ACF0:: @ 818ACF0
+ .incbin "baserom.gba", 0x18ACF0, 0x49
+
+Text_18AD39:: @ 818AD39
+ .incbin "baserom.gba", 0x18AD39, 0x20
+
+gUnknown_818AD59:: @ 818AD59
+ .incbin "baserom.gba", 0x18AD59, 0x6D
+
+Text_18ADC6:: @ 818ADC6
+ .incbin "baserom.gba", 0x18ADC6, 0x35
+
+Text_18ADFB:: @ 818ADFB
+ .incbin "baserom.gba", 0x18ADFB, 0x1B
+
+gUnknown_818AE16:: @ 818AE16
+ .incbin "baserom.gba", 0x18AE16, 0x218
+
+gUnknown_818B02E:: @ 818B02E
+ .incbin "baserom.gba", 0x18B02E, 0xE
+
+gUnknown_818B03C:: @ 818B03C
+ .incbin "baserom.gba", 0x18B03C, 0x22
+
+gUnknown_818B05E:: @ 818B05E
+ .incbin "baserom.gba", 0x18B05E, 0x37
+
+gUnknown_818B095:: @ 818B095
+ .incbin "baserom.gba", 0x18B095, 0x70
+
+gUnknown_818B105:: @ 818B105
+ .incbin "baserom.gba", 0x18B105, 0x39
+
+gUnknown_818B13E:: @ 818B13E
+ .incbin "baserom.gba", 0x18B13E, 0x33
+
+gUnknown_818B171:: @ 818B171
+ .incbin "baserom.gba", 0x18B171, 0xA8
+
+gUnknown_818B219:: @ 818B219
+ .incbin "baserom.gba", 0x18B219, 0x25
+
+gUnknown_818B23E:: @ 818B23E
+ .incbin "baserom.gba", 0x18B23E, 0x44
+
+gUnknown_818B282:: @ 818B282
+ .incbin "baserom.gba", 0x18B282, 0x58
+
+gUnknown_818B2DA:: @ 818B2DA
+ .incbin "baserom.gba", 0x18B2DA, 0x1E
+
+gUnknown_818B2F8:: @ 818B2F8
+ .incbin "baserom.gba", 0x18B2F8, 0x62
+
+Text_18B35A:: @ 818B35A
+ .incbin "baserom.gba", 0x18B35A, 0x68
+
+Text_18B3C2:: @ 818B3C2
+ .incbin "baserom.gba", 0x18B3C2, 0x6
+
+gUnknown_818B3C8:: @ 818B3C8
+ .incbin "baserom.gba", 0x18B3C8, 0x485
+
+gUnknown_818B84D:: @ 818B84D
+ .incbin "baserom.gba", 0x18B84D, 0x1E
+
+gUnknown_818B86B:: @ 818B86B
+ .incbin "baserom.gba", 0x18B86B, 0x4A1
+
+gUnknown_818BD0C:: @ 818BD0C
+ .incbin "baserom.gba", 0x18BD0C, 0x1B
+
+gUnknown_818BD27:: @ 818BD27
+ .incbin "baserom.gba", 0x18BD27, 0x20
+
+gUnknown_818BD47:: @ 818BD47
+ .incbin "baserom.gba", 0x18BD47, 0x33
+
+gUnknown_818BD7A:: @ 818BD7A
+ .incbin "baserom.gba", 0x18BD7A, 0x46
+
+gUnknown_818BDC0:: @ 818BDC0
+ .incbin "baserom.gba", 0x18BDC0, 0x39
+
+gUnknown_818BDF9:: @ 818BDF9
+ .incbin "baserom.gba", 0x18BDF9, 0x18
+
+gUnknown_818BE11:: @ 818BE11
+ .incbin "baserom.gba", 0x18BE11, 0x3A
+
+gUnknown_818BE4B:: @ 818BE4B
+ .incbin "baserom.gba", 0x18BE4B, 0x4ED
+
+gUnknown_818C338:: @ 818C338
+ .incbin "baserom.gba", 0x18C338, 0x38
+
+gUnknown_818C370:: @ 818C370
+ .incbin "baserom.gba", 0x18C370, 0x4BD
+
+gUnknown_818C82D:: @ 818C82D
+ .incbin "baserom.gba", 0x18C82D, 0x6FE
+
+gUnknown_818CF2B:: @ 818CF2B
+ .incbin "baserom.gba", 0x18CF2B, 0x3C5
+
+gUnknown_818D2F0:: @ 818D2F0
+ .incbin "baserom.gba", 0x18D2F0, 0x70
+
+gUnknown_818D360:: @ 818D360
+ .incbin "baserom.gba", 0x18D360, 0x71
+
+gUnknown_818D3D1:: @ 818D3D1
+ .incbin "baserom.gba", 0x18D3D1, 0x27
+
+gUnknown_818D3F8:: @ 818D3F8
+ .incbin "baserom.gba", 0x18D3F8, 0x46
+
+gUnknown_818D43E:: @ 818D43E
+ .incbin "baserom.gba", 0x18D43E, 0x54
+
+gUnknown_818D492:: @ 818D492
+ .incbin "baserom.gba", 0x18D492, 0x67
+
+gUnknown_818D4F9:: @ 818D4F9
+ .incbin "baserom.gba", 0x18D4F9, 0x12
+
+gUnknown_818D50B:: @ 818D50B
+ .incbin "baserom.gba", 0x18D50B, 0x30
+
+gUnknown_818D53B:: @ 818D53B
+ .incbin "baserom.gba", 0x18D53B, 0x51
+
+gUnknown_818D58C:: @ 818D58C
+ .incbin "baserom.gba", 0x18D58C, 0x38
+
+gUnknown_818D5C4:: @ 818D5C4
+ .incbin "baserom.gba", 0x18D5C4, 0x46
+
+gUnknown_818D60A:: @ 818D60A
+ .incbin "baserom.gba", 0x18D60A, 0x57
+
+gUnknown_818D661:: @ 818D661
+ .incbin "baserom.gba", 0x18D661, 0x23
+
+gUnknown_818D684:: @ 818D684
+ .incbin "baserom.gba", 0x18D684, 0x2B
+
+gUnknown_818D6AF:: @ 818D6AF
+ .incbin "baserom.gba", 0x18D6AF, 0x52
+
+gUnknown_818D701:: @ 818D701
+ .incbin "baserom.gba", 0x18D701, 0x62
+
+gUnknown_818D763:: @ 818D763
+ .incbin "baserom.gba", 0x18D763, 0x3E
+
+gUnknown_818D7A1:: @ 818D7A1
+ .incbin "baserom.gba", 0x18D7A1, 0x32
+
+gUnknown_818D7D3:: @ 818D7D3
+ .incbin "baserom.gba", 0x18D7D3, 0xA2
+
+gUnknown_818D875:: @ 818D875
+ .incbin "baserom.gba", 0x18D875, 0x3D
+
+gUnknown_818D8B2:: @ 818D8B2
+ .incbin "baserom.gba", 0x18D8B2, 0x1A
+
+gUnknown_818D8CC:: @ 818D8CC
+ .incbin "baserom.gba", 0x18D8CC, 0x32
+
+gUnknown_818D8FE:: @ 818D8FE
+ .incbin "baserom.gba", 0x18D8FE, 0x7D
+
+gUnknown_818D97B:: @ 818D97B
+ .incbin "baserom.gba", 0x18D97B, 0x2A
+
+gUnknown_818D9A5:: @ 818D9A5
+ .incbin "baserom.gba", 0x18D9A5, 0x71
+
+gUnknown_818DA16:: @ 818DA16
+ .incbin "baserom.gba", 0x18DA16, 0x5D
+
+gUnknown_818DA73:: @ 818DA73
+ .incbin "baserom.gba", 0x18DA73, 0x4B
+
+gUnknown_818DABE:: @ 818DABE
+ .incbin "baserom.gba", 0x18DABE, 0x35
+
+gUnknown_818DAF3:: @ 818DAF3
+ .incbin "baserom.gba", 0x18DAF3, 0x3B
+
+gUnknown_818DB2E:: @ 818DB2E
+ .incbin "baserom.gba", 0x18DB2E, 0x5A
+
+gUnknown_818DB88:: @ 818DB88
+ .incbin "baserom.gba", 0x18DB88, 0x55
+
+gUnknown_818DBDD:: @ 818DBDD
+ .incbin "baserom.gba", 0x18DBDD, 0x6A
+
+gUnknown_818DC47:: @ 818DC47
+ .incbin "baserom.gba", 0x18DC47, 0x20
+
+gUnknown_818DC67:: @ 818DC67
+ .incbin "baserom.gba", 0x18DC67, 0x2D
+
+gUnknown_818DC94:: @ 818DC94
+ .incbin "baserom.gba", 0x18DC94, 0x25
+
+gUnknown_818DCB9:: @ 818DCB9
+ .incbin "baserom.gba", 0x18DCB9, 0x29
+
+gUnknown_818DCE2:: @ 818DCE2
+ .incbin "baserom.gba", 0x18DCE2, 0x52
+
+gUnknown_818DD34:: @ 818DD34
+ .incbin "baserom.gba", 0x18DD34, 0x1E
+
+Text_18DD52:: @ 818DD52
+ .incbin "baserom.gba", 0x18DD52, 0x23
+
+gUnknown_818DD75:: @ 818DD75
+ .incbin "baserom.gba", 0x18DD75, 0x2F
+
+gUnknown_818DDA4:: @ 818DDA4
+ .incbin "baserom.gba", 0x18DDA4, 0x46
+
+Text_18DDEA:: @ 818DDEA
+ .incbin "baserom.gba", 0x18DDEA, 0x30
+
+Text_18DE1A:: @ 818DE1A
+ .incbin "baserom.gba", 0x18DE1A, 0x1E
+
+gUnknown_818DE38:: @ 818DE38
+ .incbin "baserom.gba", 0x18DE38, 0x55
+
+gUnknown_818DE8D:: @ 818DE8D
+ .incbin "baserom.gba", 0x18DE8D, 0xC
+
+gUnknown_818DE99:: @ 818DE99
+ .incbin "baserom.gba", 0x18DE99, 0x2F
+
+gUnknown_818DEC8:: @ 818DEC8
+ .incbin "baserom.gba", 0x18DEC8, 0x2B
+
+gUnknown_818DEF3:: @ 818DEF3
+ .incbin "baserom.gba", 0x18DEF3, 0xC9
+
+gUnknown_818DFBC:: @ 818DFBC
+ .incbin "baserom.gba", 0x18DFBC, 0x12E
+
+gUnknown_818E0EA:: @ 818E0EA
+ .incbin "baserom.gba", 0x18E0EA, 0x2C
+
+gUnknown_818E116:: @ 818E116
+ .incbin "baserom.gba", 0x18E116, 0x61
+
+gUnknown_818E177:: @ 818E177
+ .incbin "baserom.gba", 0x18E177, 0x1D
+
+gUnknown_818E194:: @ 818E194
+ .incbin "baserom.gba", 0x18E194, 0x73
+
+gUnknown_818E207:: @ 818E207
+ .incbin "baserom.gba", 0x18E207, 0x6B
+
+gUnknown_818E272:: @ 818E272
+ .incbin "baserom.gba", 0x18E272, 0x73
+
+gUnknown_818E2E5:: @ 818E2E5
+ .incbin "baserom.gba", 0x18E2E5, 0x28
+
+Text_18E30D:: @ 818E30D
+ .incbin "baserom.gba", 0x18E30D, 0x23
+
+gUnknown_818E330:: @ 818E330
+ .incbin "baserom.gba", 0x18E330, 0x7D
+
+gUnknown_818E3AD:: @ 818E3AD
+ .incbin "baserom.gba", 0x18E3AD, 0x58
+
+gUnknown_818E405:: @ 818E405
+ .incbin "baserom.gba", 0x18E405, 0xAA
+
+Text_18E4AF:: @ 818E4AF
+ .incbin "baserom.gba", 0x18E4AF, 0x1B
+
+gUnknown_818E4CA:: @ 818E4CA
+ .incbin "baserom.gba", 0x18E4CA, 0x3E
+
+gUnknown_818E508:: @ 818E508
+ .incbin "baserom.gba", 0x18E508, 0x2E
+
+gUnknown_818E536:: @ 818E536
+ .incbin "baserom.gba", 0x18E536, 0x8F
+
+gUnknown_818E5C5:: @ 818E5C5
+ .incbin "baserom.gba", 0x18E5C5, 0x25
+
+Text_18E5EA:: @ 818E5EA
+ .incbin "baserom.gba", 0x18E5EA, 0x28
+
+gUnknown_818E612:: @ 818E612
+ .incbin "baserom.gba", 0x18E612, 0xA1
+
+gUnknown_818E6B3:: @ 818E6B3
+ .incbin "baserom.gba", 0x18E6B3, 0x1D
+
+gUnknown_818E6D0:: @ 818E6D0
+ .incbin "baserom.gba", 0x18E6D0, 0xB4
+
+gUnknown_818E784:: @ 818E784
+ .incbin "baserom.gba", 0x18E784, 0xED
+
+gUnknown_818E871:: @ 818E871
+ .incbin "baserom.gba", 0x18E871, 0x2B
+
+gUnknown_818E89C:: @ 818E89C
+ .incbin "baserom.gba", 0x18E89C, 0xF2
+
+gUnknown_818E98E:: @ 818E98E
+ .incbin "baserom.gba", 0x18E98E, 0x57
+
+gUnknown_818E9E5:: @ 818E9E5
+ .incbin "baserom.gba", 0x18E9E5, 0x34
+
+gUnknown_818EA19:: @ 818EA19
+ .incbin "baserom.gba", 0x18EA19, 0x2C
+
+gUnknown_818EA45:: @ 818EA45
+ .incbin "baserom.gba", 0x18EA45, 0x21
+
+gUnknown_818EA66:: @ 818EA66
+ .incbin "baserom.gba", 0x18EA66, 0x1E
+
+gUnknown_818EA84:: @ 818EA84
+ .incbin "baserom.gba", 0x18EA84, 0x32
+
+gUnknown_818EAB6:: @ 818EAB6
+ .incbin "baserom.gba", 0x18EAB6, 0x3E
+
+gUnknown_818EAF4:: @ 818EAF4
+ .incbin "baserom.gba", 0x18EAF4, 0xF2
+
+gUnknown_818EBE6:: @ 818EBE6
+ .incbin "baserom.gba", 0x18EBE6, 0x25
+
+gUnknown_818EC0B:: @ 818EC0B
+ .incbin "baserom.gba", 0x18EC0B, 0x10A
+
+gUnknown_818ED15:: @ 818ED15
+ .incbin "baserom.gba", 0x18ED15, 0x6C
+
+gUnknown_818ED81:: @ 818ED81
+ .incbin "baserom.gba", 0x18ED81, 0x74
+
+gUnknown_818EDF5:: @ 818EDF5
+ .incbin "baserom.gba", 0x18EDF5, 0x6B
+
+gUnknown_818EE60:: @ 818EE60
+ .incbin "baserom.gba", 0x18EE60, 0xF9
+
+gUnknown_818EF59:: @ 818EF59
+ .incbin "baserom.gba", 0x18EF59, 0xAB
+
+gUnknown_818F004:: @ 818F004
+ .incbin "baserom.gba", 0x18F004, 0x5E
+
+gUnknown_818F062:: @ 818F062
+ .incbin "baserom.gba", 0x18F062, 0x23
+
+gUnknown_818F085:: @ 818F085
+ .incbin "baserom.gba", 0x18F085, 0x63
+
+Text_18F0E8:: @ 818F0E8
+ .incbin "baserom.gba", 0x18F0E8, 0x1B
+
+gUnknown_818F103:: @ 818F103
+ .incbin "baserom.gba", 0x18F103, 0xD8
+
+gUnknown_818F1DB:: @ 818F1DB
+ .incbin "baserom.gba", 0x18F1DB, 0xB7
+
+gUnknown_818F292:: @ 818F292
+ .incbin "baserom.gba", 0x18F292, 0x7D
+
+gUnknown_818F30F:: @ 818F30F
+ .incbin "baserom.gba", 0x18F30F, 0x1D
+
+gUnknown_818F32C:: @ 818F32C
+ .incbin "baserom.gba", 0x18F32C, 0x11
+
+gUnknown_818F33D:: @ 818F33D
+ .incbin "baserom.gba", 0x18F33D, 0x15
+
+Text_18F352:: @ 818F352
+ .incbin "baserom.gba", 0x18F352, 0xED
+
+Text_18F43F:: @ 818F43F
+ .incbin "baserom.gba", 0x18F43F, 0x63
+
+gUnknown_818F4A2:: @ 818F4A2
+ .incbin "baserom.gba", 0x18F4A2, 0xE4
+
+gUnknown_818F586:: @ 818F586
+ .incbin "baserom.gba", 0x18F586, 0xEF
+
+gUnknown_818F675:: @ 818F675
+ .incbin "baserom.gba", 0x18F675, 0x20
+
+gUnknown_818F695:: @ 818F695
+ .incbin "baserom.gba", 0x18F695, 0x86
+
+gUnknown_818F71B:: @ 818F71B
+ .incbin "baserom.gba", 0x18F71B, 0x20
+
+Text_18F73B:: @ 818F73B
+ .incbin "baserom.gba", 0x18F73B, 0x2E
+
+Text_18F769:: @ 818F769
+ .incbin "baserom.gba", 0x18F769, 0x12
+
+gUnknown_818F77B:: @ 818F77B
+ .incbin "baserom.gba", 0x18F77B, 0x32
+
+Text_18F7AD:: @ 818F7AD
+ .incbin "baserom.gba", 0x18F7AD, 0x29
+
+Text_18F7D6:: @ 818F7D6
+ .incbin "baserom.gba", 0x18F7D6, 0x7
+
+gUnknown_818F7DD:: @ 818F7DD
+ .incbin "baserom.gba", 0x18F7DD, 0x16
+
+Text_18F7F3:: @ 818F7F3
+ .incbin "baserom.gba", 0x18F7F3, 0x31
+
+Text_18F824:: @ 818F824
+ .incbin "baserom.gba", 0x18F824, 0x1C
+
+gUnknown_818F840:: @ 818F840
+ .incbin "baserom.gba", 0x18F840, 0x2C
+
+Text_18F86C:: @ 818F86C
+ .incbin "baserom.gba", 0x18F86C, 0x2D
+
+Text_18F899:: @ 818F899
+ .incbin "baserom.gba", 0x18F899, 0x7
+
+gUnknown_818F8A0:: @ 818F8A0
+ .incbin "baserom.gba", 0x18F8A0, 0x2B
+
+Text_18F8CB:: @ 818F8CB
+ .incbin "baserom.gba", 0x18F8CB, 0x23
+
+Text_18F8EE:: @ 818F8EE
+ .incbin "baserom.gba", 0x18F8EE, 0x10
+
+gUnknown_818F8FE:: @ 818F8FE
+ .incbin "baserom.gba", 0x18F8FE, 0x2E
+
+Text_18F92C:: @ 818F92C
+ .incbin "baserom.gba", 0x18F92C, 0x2E
+
+Text_18F95A:: @ 818F95A
+ .incbin "baserom.gba", 0x18F95A, 0x6
+
+gUnknown_818F960:: @ 818F960
+ .incbin "baserom.gba", 0x18F960, 0x2A
+
+Text_18F98A:: @ 818F98A
+ .incbin "baserom.gba", 0x18F98A, 0x31
+
+Text_18F9BB:: @ 818F9BB
+ .incbin "baserom.gba", 0x18F9BB, 0x11
+
+gUnknown_818F9CC:: @ 818F9CC
+ .incbin "baserom.gba", 0x18F9CC, 0x1B
+
+Text_18F9E7:: @ 818F9E7
+ .incbin "baserom.gba", 0x18F9E7, 0x46
+
+Text_18FA2D:: @ 818FA2D
+ .incbin "baserom.gba", 0x18FA2D, 0xE
+
+gUnknown_818FA3B:: @ 818FA3B
+ .incbin "baserom.gba", 0x18FA3B, 0x46
+
+gUnknown_818FA81:: @ 818FA81
+ .incbin "baserom.gba", 0x18FA81, 0xD5
+
+gUnknown_818FB56:: @ 818FB56
+ .incbin "baserom.gba", 0x18FB56, 0x37
+
+gUnknown_818FB8D:: @ 818FB8D
+ .incbin "baserom.gba", 0x18FB8D, 0x34
+
+gUnknown_818FBC1:: @ 818FBC1
+ .incbin "baserom.gba", 0x18FBC1, 0x3F
+
+gUnknown_818FC00:: @ 818FC00
+ .incbin "baserom.gba", 0x18FC00, 0x2B
+
+gUnknown_818FC2B:: @ 818FC2B
+ .incbin "baserom.gba", 0x18FC2B, 0x3A
+
+gUnknown_818FC65:: @ 818FC65
+ .incbin "baserom.gba", 0x18FC65, 0xBE
+
+gUnknown_818FD23:: @ 818FD23
+ .incbin "baserom.gba", 0x18FD23, 0x85
+
+gUnknown_818FDA8:: @ 818FDA8
+ .incbin "baserom.gba", 0x18FDA8, 0xB4
+
+gUnknown_818FE5C:: @ 818FE5C
+ .incbin "baserom.gba", 0x18FE5C, 0xBD
+
+gUnknown_818FF19:: @ 818FF19
+ .incbin "baserom.gba", 0x18FF19, 0xF
+
+gUnknown_818FF28:: @ 818FF28
+ .incbin "baserom.gba", 0x18FF28, 0x23
+
+gUnknown_818FF4B:: @ 818FF4B
+ .incbin "baserom.gba", 0x18FF4B, 0x3D
+
+Text_18FF88:: @ 818FF88
+ .incbin "baserom.gba", 0x18FF88, 0x21
+
+gUnknown_818FFA9:: @ 818FFA9
+ .incbin "baserom.gba", 0x18FFA9, 0x7C
+
+gUnknown_8190025:: @ 8190025
+ .incbin "baserom.gba", 0x190025, 0x7A
+
+gUnknown_819009F:: @ 819009F
+ .incbin "baserom.gba", 0x19009F, 0x70
+
+gUnknown_819010F:: @ 819010F
+ .incbin "baserom.gba", 0x19010F, 0x8A
+
+gUnknown_8190199:: @ 8190199
+ .incbin "baserom.gba", 0x190199, 0x81
+
+gUnknown_819021A:: @ 819021A
+ .incbin "baserom.gba", 0x19021A, 0x20
+
+gUnknown_819023A:: @ 819023A
+ .incbin "baserom.gba", 0x19023A, 0x4F
+
+gUnknown_8190289:: @ 8190289
+ .incbin "baserom.gba", 0x190289, 0x36
+
+Text_1902BF:: @ 81902BF
+ .incbin "baserom.gba", 0x1902BF, 0x36
+
+gUnknown_81902F5:: @ 81902F5
+ .incbin "baserom.gba", 0x1902F5, 0x37
+
+gUnknown_819032C:: @ 819032C
+ .incbin "baserom.gba", 0x19032C, 0x58
+
+gUnknown_8190384:: @ 8190384
+ .incbin "baserom.gba", 0x190384, 0x61
+
+gUnknown_81903E5:: @ 81903E5
+ .incbin "baserom.gba", 0x1903E5, 0x6B
+
+gUnknown_8190450:: @ 8190450
+ .incbin "baserom.gba", 0x190450, 0x65
+
+gUnknown_81904B5:: @ 81904B5
+ .incbin "baserom.gba", 0x1904B5, 0x44
+
+gUnknown_81904F9:: @ 81904F9
+ .incbin "baserom.gba", 0x1904F9, 0xC
+
+gUnknown_8190505:: @ 8190505
+ .incbin "baserom.gba", 0x190505, 0x17
+
+gUnknown_819051C:: @ 819051C
+ .incbin "baserom.gba", 0x19051C, 0x1D
+
+gUnknown_8190539:: @ 8190539
+ .incbin "baserom.gba", 0x190539, 0x17
+
+gUnknown_8190550:: @ 8190550
+ .incbin "baserom.gba", 0x190550, 0x61
+
+gUnknown_81905B1:: @ 81905B1
+ .incbin "baserom.gba", 0x1905B1, 0x76
+
+gUnknown_8190627:: @ 8190627
+ .incbin "baserom.gba", 0x190627, 0x8D
+
+gUnknown_81906B4:: @ 81906B4
+ .incbin "baserom.gba", 0x1906B4, 0x63
+
+gUnknown_8190717:: @ 8190717
+ .incbin "baserom.gba", 0x190717, 0x14F
+
+gUnknown_8190866:: @ 8190866
+ .incbin "baserom.gba", 0x190866, 0x28
+
+gUnknown_819088E:: @ 819088E
+ .incbin "baserom.gba", 0x19088E, 0x20
+
+gUnknown_81908AE:: @ 81908AE
+ .incbin "baserom.gba", 0x1908AE, 0x1F
+
+gUnknown_81908CD:: @ 81908CD
+ .incbin "baserom.gba", 0x1908CD, 0x3D
+
+gUnknown_819090A:: @ 819090A
+ .incbin "baserom.gba", 0x19090A, 0x3B
+
+gUnknown_8190945:: @ 8190945
+ .incbin "baserom.gba", 0x190945, 0x30
+
+gUnknown_8190975:: @ 8190975
+ .incbin "baserom.gba", 0x190975, 0x1BB
+
+gUnknown_8190B30:: @ 8190B30
+ .incbin "baserom.gba", 0x190B30, 0x50
+
+gUnknown_8190B80:: @ 8190B80
+ .incbin "baserom.gba", 0x190B80, 0x73
+
+gUnknown_8190BF3:: @ 8190BF3
+ .incbin "baserom.gba", 0x190BF3, 0x2B
+
+gUnknown_8190C1E:: @ 8190C1E
+ .incbin "baserom.gba", 0x190C1E, 0x42
+
+gUnknown_8190C60:: @ 8190C60
+ .incbin "baserom.gba", 0x190C60, 0x21
+
+gUnknown_8190C81:: @ 8190C81
+ .incbin "baserom.gba", 0x190C81, 0xE
+
+gUnknown_8190C8F:: @ 8190C8F
+ .incbin "baserom.gba", 0x190C8F, 0x45
+
+Text_190CD4:: @ 8190CD4
+ .incbin "baserom.gba", 0x190CD4, 0x17B
+
+Text_190E4F:: @ 8190E4F
+ .incbin "baserom.gba", 0x190E4F, 0x172
+
+gUnknown_8190FC1:: @ 8190FC1
+ .incbin "baserom.gba", 0x190FC1, 0x1A
+
+gUnknown_8190FDB:: @ 8190FDB
+ .incbin "baserom.gba", 0x190FDB, 0x1D
+
+gUnknown_8190FF8:: @ 8190FF8
+ .incbin "baserom.gba", 0x190FF8, 0x117
+
+gUnknown_819110F:: @ 819110F
+ .incbin "baserom.gba", 0x19110F, 0xBF
+
+gUnknown_81911CE:: @ 81911CE
+ .incbin "baserom.gba", 0x1911CE, 0x1E
+
+Text_1911EC:: @ 81911EC
+ .incbin "baserom.gba", 0x1911EC, 0x4B
+
+Text_191237:: @ 8191237
+ .incbin "baserom.gba", 0x191237, 0x34
+
+gUnknown_819126B:: @ 819126B
+ .incbin "baserom.gba", 0x19126B, 0x2D
+
+gUnknown_8191298:: @ 8191298
+ .incbin "baserom.gba", 0x191298, 0xA4
+
+gUnknown_819133C:: @ 819133C
+ .incbin "baserom.gba", 0x19133C, 0x20
+
+gUnknown_819135C:: @ 819135C
+ .incbin "baserom.gba", 0x19135C, 0xB6
+
+gUnknown_8191412:: @ 8191412
+ .incbin "baserom.gba", 0x191412, 0x2A
+
+gUnknown_819143C:: @ 819143C
+ .incbin "baserom.gba", 0x19143C, 0x32
+
+gUnknown_819146E:: @ 819146E
+ .incbin "baserom.gba", 0x19146E, 0x36
+
+gUnknown_81914A4:: @ 81914A4
+ .incbin "baserom.gba", 0x1914A4, 0x3A
+
+gUnknown_81914DE:: @ 81914DE
+ .incbin "baserom.gba", 0x1914DE, 0x63
+
+gUnknown_8191541:: @ 8191541
+ .incbin "baserom.gba", 0x191541, 0x7A
+
+gUnknown_81915BB:: @ 81915BB
+ .incbin "baserom.gba", 0x1915BB, 0x12
+
+gUnknown_81915CD:: @ 81915CD
+ .incbin "baserom.gba", 0x1915CD, 0xE
+
+gUnknown_81915DB:: @ 81915DB
+ .incbin "baserom.gba", 0x1915DB, 0xCE
+
+gUnknown_81916A9:: @ 81916A9
+ .incbin "baserom.gba", 0x1916A9, 0x41
+
+Text_1916EA:: @ 81916EA
+ .incbin "baserom.gba", 0x1916EA, 0x17
+
+gUnknown_8191701:: @ 8191701
+ .incbin "baserom.gba", 0x191701, 0x42
+
+gUnknown_8191743:: @ 8191743
+ .incbin "baserom.gba", 0x191743, 0x3D
+
+gUnknown_8191780:: @ 8191780
+ .incbin "baserom.gba", 0x191780, 0x64
+
+gUnknown_81917E4:: @ 81917E4
+ .incbin "baserom.gba", 0x1917E4, 0x5C
+
+gUnknown_8191840:: @ 8191840
+ .incbin "baserom.gba", 0x191840, 0xA7
+
+gUnknown_81918E7:: @ 81918E7
+ .incbin "baserom.gba", 0x1918E7, 0x80
+
+Text_191967:: @ 8191967
+ .incbin "baserom.gba", 0x191967, 0x37
+
+gUnknown_819199E:: @ 819199E
+ .incbin "baserom.gba", 0x19199E, 0x20
+
+gUnknown_81919BE:: @ 81919BE
+ .incbin "baserom.gba", 0x1919BE, 0x73
+
+gUnknown_8191A31:: @ 8191A31
+ .incbin "baserom.gba", 0x191A31, 0xC8
+
+gUnknown_8191AF9:: @ 8191AF9
+ .incbin "baserom.gba", 0x191AF9, 0x70
+
+gUnknown_8191B69:: @ 8191B69
+ .incbin "baserom.gba", 0x191B69, 0xCD
+
+gUnknown_8191C36:: @ 8191C36
+ .incbin "baserom.gba", 0x191C36, 0x73
+
+gUnknown_8191CA9:: @ 8191CA9
+ .incbin "baserom.gba", 0x191CA9, 0xCF
+
+gUnknown_8191D78:: @ 8191D78
+ .incbin "baserom.gba", 0x191D78, 0x80
+
+gUnknown_8191DF8:: @ 8191DF8
+ .incbin "baserom.gba", 0x191DF8, 0x1B
+
+gUnknown_8191E13:: @ 8191E13
+ .incbin "baserom.gba", 0x191E13, 0xC5
+
+gUnknown_8191ED8:: @ 8191ED8
+ .incbin "baserom.gba", 0x191ED8, 0x52
+
+gUnknown_8191F2A:: @ 8191F2A
+ .incbin "baserom.gba", 0x191F2A, 0x3A
+
+gUnknown_8191F64:: @ 8191F64
+ .incbin "baserom.gba", 0x191F64, 0x1C
+
+gUnknown_8191F80:: @ 8191F80
+ .incbin "baserom.gba", 0x191F80, 0x7B
+
+gUnknown_8191FFB:: @ 8191FFB
+ .incbin "baserom.gba", 0x191FFB, 0x7E
+
+gUnknown_8192079:: @ 8192079
+ .incbin "baserom.gba", 0x192079, 0x9D
+
+gUnknown_8192116:: @ 8192116
+ .incbin "baserom.gba", 0x192116, 0x36
+
+gUnknown_819214C:: @ 819214C
+ .incbin "baserom.gba", 0x19214C, 0xA3
+
+Text_1921EF:: @ 81921EF
+ .incbin "baserom.gba", 0x1921EF, 0xD0
+
+gUnknown_81922BF:: @ 81922BF
+ .incbin "baserom.gba", 0x1922BF, 0x38
+
+gUnknown_81922F7:: @ 81922F7
+ .incbin "baserom.gba", 0x1922F7, 0xFA
+
+gUnknown_81923F1:: @ 81923F1
+ .incbin "baserom.gba", 0x1923F1, 0x1D
+
+gUnknown_819240E:: @ 819240E
+ .incbin "baserom.gba", 0x19240E, 0x1F
+
+Text_19242D:: @ 819242D
+ .incbin "baserom.gba", 0x19242D, 0x54
+
+Text_192481:: @ 8192481
+ .incbin "baserom.gba", 0x192481, 0x4F
+
+Text_1924D0:: @ 81924D0
+ .incbin "baserom.gba", 0x1924D0, 0x14
+
+gUnknown_81924E4:: @ 81924E4
+ .incbin "baserom.gba", 0x1924E4, 0x40
+
+Text_192524:: @ 8192524
+ .incbin "baserom.gba", 0x192524, 0x23
+
+Text_192547:: @ 8192547
+ .incbin "baserom.gba", 0x192547, 0xF
+
+gUnknown_8192556:: @ 8192556
+ .incbin "baserom.gba", 0x192556, 0x56
+
+gUnknown_81925AC:: @ 81925AC
+ .incbin "baserom.gba", 0x1925AC, 0xDC
+
+gUnknown_8192688:: @ 8192688
+ .incbin "baserom.gba", 0x192688, 0x59
+
+gUnknown_81926E1:: @ 81926E1
+ .incbin "baserom.gba", 0x1926E1, 0x38
+
+gUnknown_8192719:: @ 8192719
+ .incbin "baserom.gba", 0x192719, 0x3C
+
+Text_192755:: @ 8192755
+ .incbin "baserom.gba", 0x192755, 0x41
+
+gUnknown_8192796:: @ 8192796
+ .incbin "baserom.gba", 0x192796, 0x1C
+
+gUnknown_81927B2:: @ 81927B2
+ .incbin "baserom.gba", 0x1927B2, 0x2F
+
+gUnknown_81927E1:: @ 81927E1
+ .incbin "baserom.gba", 0x1927E1, 0x2D
+
+gUnknown_819280E:: @ 819280E
+ .incbin "baserom.gba", 0x19280E, 0x25
+
+gUnknown_8192833:: @ 8192833
+ .incbin "baserom.gba", 0x192833, 0x75
+
+gUnknown_81928A8:: @ 81928A8
+ .incbin "baserom.gba", 0x1928A8, 0x27
+
+gUnknown_81928CF:: @ 81928CF
+ .incbin "baserom.gba", 0x1928CF, 0x68
+
+gUnknown_8192937:: @ 8192937
+ .incbin "baserom.gba", 0x192937, 0x31
+
+gUnknown_8192968:: @ 8192968
+ .incbin "baserom.gba", 0x192968, 0x45
+
+gUnknown_81929AD:: @ 81929AD
+ .incbin "baserom.gba", 0x1929AD, 0x15
+
+gUnknown_81929C2:: @ 81929C2
+ .incbin "baserom.gba", 0x1929C2, 0xB7
+
+gUnknown_8192A79:: @ 8192A79
+ .incbin "baserom.gba", 0x192A79, 0x77
+
+gUnknown_8192AF0:: @ 8192AF0
+ .incbin "baserom.gba", 0x192AF0, 0x53
+
+gUnknown_8192B43:: @ 8192B43
+ .incbin "baserom.gba", 0x192B43, 0xC4
+
+gUnknown_8192C07:: @ 8192C07
+ .incbin "baserom.gba", 0x192C07, 0xCE
+
+gUnknown_8192CD5:: @ 8192CD5
+ .incbin "baserom.gba", 0x192CD5, 0x76
+
+gUnknown_8192D4B:: @ 8192D4B
+ .incbin "baserom.gba", 0x192D4B, 0x98
+
+gUnknown_8192DE3:: @ 8192DE3
+ .incbin "baserom.gba", 0x192DE3, 0xE2
+
+gUnknown_8192EC5:: @ 8192EC5
+ .incbin "baserom.gba", 0x192EC5, 0x65
+
+gUnknown_8192F2A:: @ 8192F2A
+ .incbin "baserom.gba", 0x192F2A, 0x3D
+
+gUnknown_8192F67:: @ 8192F67
+ .incbin "baserom.gba", 0x192F67, 0x9C
+
+gUnknown_8193003:: @ 8193003
+ .incbin "baserom.gba", 0x193003, 0x30
+
+gUnknown_8193033:: @ 8193033
+ .incbin "baserom.gba", 0x193033, 0x1EA
+
+gUnknown_819321D:: @ 819321D
+ .incbin "baserom.gba", 0x19321D, 0x41
+
+gUnknown_819325E:: @ 819325E
+ .incbin "baserom.gba", 0x19325E, 0x67
+
+gUnknown_81932C5:: @ 81932C5
+ .incbin "baserom.gba", 0x1932C5, 0x2F
+
+Text_1932F4:: @ 81932F4
+ .incbin "baserom.gba", 0x1932F4, 0x2A
+
+gUnknown_819331E:: @ 819331E
+ .incbin "baserom.gba", 0x19331E, 0x34
+
+gUnknown_8193352:: @ 8193352
+ .incbin "baserom.gba", 0x193352, 0x28
+
+gUnknown_819337A:: @ 819337A
+ .incbin "baserom.gba", 0x19337A, 0x81
+
+gUnknown_81933FB:: @ 81933FB
+ .incbin "baserom.gba", 0x1933FB, 0x34
+
+gUnknown_819342F:: @ 819342F
+ .incbin "baserom.gba", 0x19342F, 0x36
+
+gUnknown_8193465:: @ 8193465
+ .incbin "baserom.gba", 0x193465, 0x79
+
+gUnknown_81934DE:: @ 81934DE
+ .incbin "baserom.gba", 0x1934DE, 0x5C
+
+gUnknown_819353A:: @ 819353A
+ .incbin "baserom.gba", 0x19353A, 0xB3
+
+gUnknown_81935ED:: @ 81935ED
+ .incbin "baserom.gba", 0x1935ED, 0x30
+
+gUnknown_819361D:: @ 819361D
+ .incbin "baserom.gba", 0x19361D, 0x35
+
+gUnknown_8193652:: @ 8193652
+ .incbin "baserom.gba", 0x193652, 0x62
+
+gUnknown_81936B4:: @ 81936B4
+ .incbin "baserom.gba", 0x1936B4, 0x2A
+
+gUnknown_81936DE:: @ 81936DE
+ .incbin "baserom.gba", 0x1936DE, 0x10
+
+gUnknown_81936EE:: @ 81936EE
+ .incbin "baserom.gba", 0x1936EE, 0x11
+
+gUnknown_81936FF:: @ 81936FF
+ .incbin "baserom.gba", 0x1936FF, 0xBE
+
+gUnknown_81937BD:: @ 81937BD
+ .incbin "baserom.gba", 0x1937BD, 0x28
+
+gUnknown_81937E5:: @ 81937E5
+ .incbin "baserom.gba", 0x1937E5, 0x76
+
+gUnknown_819385B:: @ 819385B
+ .incbin "baserom.gba", 0x19385B, 0x1D
+
+gUnknown_8193878:: @ 8193878
+ .incbin "baserom.gba", 0x193878, 0x28
+
+gUnknown_81938A0:: @ 81938A0
+ .incbin "baserom.gba", 0x1938A0, 0x8B
+
+gUnknown_819392B:: @ 819392B
+ .incbin "baserom.gba", 0x19392B, 0x40
+
+gUnknown_819396B:: @ 819396B
+ .incbin "baserom.gba", 0x19396B, 0x12
+
+gUnknown_819397D:: @ 819397D
+ .incbin "baserom.gba", 0x19397D, 0x7B
+
+gUnknown_81939F8:: @ 81939F8
+ .incbin "baserom.gba", 0x1939F8, 0x53
+
+gUnknown_8193A4B:: @ 8193A4B
+ .incbin "baserom.gba", 0x193A4B, 0x5B
+
+gUnknown_8193AA6:: @ 8193AA6
+ .incbin "baserom.gba", 0x193AA6, 0x2C
+
+gUnknown_8193AD2:: @ 8193AD2
+ .incbin "baserom.gba", 0x193AD2, 0x64
+
+gUnknown_8193B36:: @ 8193B36
+ .incbin "baserom.gba", 0x193B36, 0x30
+
+gUnknown_8193B66:: @ 8193B66
+ .incbin "baserom.gba", 0x193B66, 0x6E
+
+gUnknown_8193BD4:: @ 8193BD4
+ .incbin "baserom.gba", 0x193BD4, 0x1C
+
+gUnknown_8193BF0:: @ 8193BF0
+ .incbin "baserom.gba", 0x193BF0, 0x92
+
+gUnknown_8193C82:: @ 8193C82
+ .incbin "baserom.gba", 0x193C82, 0x42
+
+gUnknown_8193CC4:: @ 8193CC4
+ .incbin "baserom.gba", 0x193CC4, 0x21
+
+gUnknown_8193CE5:: @ 8193CE5
+ .incbin "baserom.gba", 0x193CE5, 0xD1
+
+gUnknown_8193DB6:: @ 8193DB6
+ .incbin "baserom.gba", 0x193DB6, 0x3B
+
+gUnknown_8193DF1:: @ 8193DF1
+ .incbin "baserom.gba", 0x193DF1, 0xD0
+
+gUnknown_8193EC1:: @ 8193EC1
+ .incbin "baserom.gba", 0x193EC1, 0x69
+
+gUnknown_8193F2A:: @ 8193F2A
+ .incbin "baserom.gba", 0x193F2A, 0x57
+
+gUnknown_8193F81:: @ 8193F81
+ .incbin "baserom.gba", 0x193F81, 0x2E
+
+gUnknown_8193FAF:: @ 8193FAF
+ .incbin "baserom.gba", 0x193FAF, 0x79
+
+gUnknown_8194028:: @ 8194028
+ .incbin "baserom.gba", 0x194028, 0x1D
+
+gUnknown_8194045:: @ 8194045
+ .incbin "baserom.gba", 0x194045, 0x2A
+
+gUnknown_819406F:: @ 819406F
+ .incbin "baserom.gba", 0x19406F, 0x40
+
+gUnknown_81940AF:: @ 81940AF
+ .incbin "baserom.gba", 0x1940AF, 0x96
+
+gUnknown_8194145:: @ 8194145
+ .incbin "baserom.gba", 0x194145, 0x3B
+
+gUnknown_8194180:: @ 8194180
+ .incbin "baserom.gba", 0x194180, 0x2EF
+
+gUnknown_819446F:: @ 819446F
+ .incbin "baserom.gba", 0x19446F, 0x2D
+
+gUnknown_819449C:: @ 819449C
+ .incbin "baserom.gba", 0x19449C, 0x30
+
+gUnknown_81944CC:: @ 81944CC
+ .incbin "baserom.gba", 0x1944CC, 0x4C
+
+gUnknown_8194518:: @ 8194518
+ .incbin "baserom.gba", 0x194518, 0x42
+
+gUnknown_819455A:: @ 819455A
+ .incbin "baserom.gba", 0x19455A, 0x17
+
+gUnknown_8194571:: @ 8194571
+ .incbin "baserom.gba", 0x194571, 0xD
+
+gUnknown_819457E:: @ 819457E
+ .incbin "baserom.gba", 0x19457E, 0xAA
+
+gUnknown_8194628:: @ 8194628
+ .incbin "baserom.gba", 0x194628, 0x126
+
+gUnknown_819474E:: @ 819474E
+ .incbin "baserom.gba", 0x19474E, 0x2E
+
+gUnknown_819477C:: @ 819477C
+ .incbin "baserom.gba", 0x19477C, 0xE4
+
+gUnknown_8194860:: @ 8194860
+ .incbin "baserom.gba", 0x194860, 0x2E
+
+gUnknown_819488E:: @ 819488E
+ .incbin "baserom.gba", 0x19488E, 0x44
+
+gUnknown_81948D2:: @ 81948D2
+ .incbin "baserom.gba", 0x1948D2, 0x14
+
+gUnknown_81948E6:: @ 81948E6
+ .incbin "baserom.gba", 0x1948E6, 0x2A
+
+gUnknown_8194910:: @ 8194910
+ .incbin "baserom.gba", 0x194910, 0x2D
+
+gUnknown_819493D:: @ 819493D
+ .incbin "baserom.gba", 0x19493D, 0x23
+
+gUnknown_8194960:: @ 8194960
+ .incbin "baserom.gba", 0x194960, 0x6B
+
+gUnknown_81949CB:: @ 81949CB
+ .incbin "baserom.gba", 0x1949CB, 0x32
+
+gUnknown_81949FD:: @ 81949FD
+ .incbin "baserom.gba", 0x1949FD, 0x10
+
+gUnknown_8194A0D:: @ 8194A0D
+ .incbin "baserom.gba", 0x194A0D, 0x37
+
+gUnknown_8194A44:: @ 8194A44
+ .incbin "baserom.gba", 0x194A44, 0xB
+
+gUnknown_8194A4F:: @ 8194A4F
+ .incbin "baserom.gba", 0x194A4F, 0x28
+
+gUnknown_8194A77:: @ 8194A77
+ .incbin "baserom.gba", 0x194A77, 0xEE
+
+gUnknown_8194B65:: @ 8194B65
+ .incbin "baserom.gba", 0x194B65, 0x3F
+
+Text_194BA4:: @ 8194BA4
+ .incbin "baserom.gba", 0x194BA4, 0xEA
+
+gUnknown_8194C8E:: @ 8194C8E
+ .incbin "baserom.gba", 0x194C8E, 0x6C
+
+gUnknown_8194CFA:: @ 8194CFA
+ .incbin "baserom.gba", 0x194CFA, 0x8D
+
+gUnknown_8194D87:: @ 8194D87
+ .incbin "baserom.gba", 0x194D87, 0x21
+
+gUnknown_8194DA8:: @ 8194DA8
+ .incbin "baserom.gba", 0x194DA8, 0x3B
+
+gUnknown_8194DE3:: @ 8194DE3
+ .incbin "baserom.gba", 0x194DE3, 0x20
+
+Text_194E03:: @ 8194E03
+ .incbin "baserom.gba", 0x194E03, 0x54
+
+Text_194E57:: @ 8194E57
+ .incbin "baserom.gba", 0x194E57, 0x4E
+
+Text_194EA5:: @ 8194EA5
+ .incbin "baserom.gba", 0x194EA5, 0x18
+
+gUnknown_8194EBD:: @ 8194EBD
+ .incbin "baserom.gba", 0x194EBD, 0x62
+
+Text_194F1F:: @ 8194F1F
+ .incbin "baserom.gba", 0x194F1F, 0x50
+
+Text_194F6F:: @ 8194F6F
+ .incbin "baserom.gba", 0x194F6F, 0x7
+
+gUnknown_8194F76:: @ 8194F76
+ .incbin "baserom.gba", 0x194F76, 0x47
+
+Text_194FBD:: @ 8194FBD
+ .incbin "baserom.gba", 0x194FBD, 0x34
+
+Text_194FF1:: @ 8194FF1
+ .incbin "baserom.gba", 0x194FF1, 0x13
+
+gUnknown_8195004:: @ 8195004
+ .incbin "baserom.gba", 0x195004, 0xB0
+
+gUnknown_81950B4:: @ 81950B4
+ .incbin "baserom.gba", 0x1950B4, 0x138
+
+gUnknown_81951EC:: @ 81951EC
+ .incbin "baserom.gba", 0x1951EC, 0x1F
+
+gUnknown_819520B:: @ 819520B
+ .incbin "baserom.gba", 0x19520B, 0x3D
+
+gUnknown_8195248:: @ 8195248
+ .incbin "baserom.gba", 0x195248, 0x41
+
+gUnknown_8195289:: @ 8195289
+ .incbin "baserom.gba", 0x195289, 0x1F
+
+gUnknown_81952A8:: @ 81952A8
+ .incbin "baserom.gba", 0x1952A8, 0x88
+
+gUnknown_8195330:: @ 8195330
+ .incbin "baserom.gba", 0x195330, 0x3C
+
+gUnknown_819536C:: @ 819536C
+ .incbin "baserom.gba", 0x19536C, 0x43
+
+gUnknown_81953AF:: @ 81953AF
+ .incbin "baserom.gba", 0x1953AF, 0x3F
+
+gUnknown_81953EE:: @ 81953EE
+ .incbin "baserom.gba", 0x1953EE, 0x12
+
+gUnknown_8195400:: @ 8195400
+ .incbin "baserom.gba", 0x195400, 0x71
+
+gUnknown_8195471:: @ 8195471
+ .incbin "baserom.gba", 0x195471, 0x6C
+
+gUnknown_81954DD:: @ 81954DD
+ .incbin "baserom.gba", 0x1954DD, 0x5A
+
+gUnknown_8195537:: @ 8195537
+ .incbin "baserom.gba", 0x195537, 0x7C
+
+gUnknown_81955B3:: @ 81955B3
+ .incbin "baserom.gba", 0x1955B3, 0x14
+
+gUnknown_81955C7:: @ 81955C7
+ .incbin "baserom.gba", 0x1955C7, 0x48
+
+gUnknown_819560F:: @ 819560F
+ .incbin "baserom.gba", 0x19560F, 0x29
+
+gUnknown_8195638:: @ 8195638
+ .incbin "baserom.gba", 0x195638, 0xB1
+
+gUnknown_81956E9:: @ 81956E9
+ .incbin "baserom.gba", 0x1956E9, 0x80
+
+gUnknown_8195769:: @ 8195769
+ .incbin "baserom.gba", 0x195769, 0x47
+
+gUnknown_81957B0:: @ 81957B0
+ .incbin "baserom.gba", 0x1957B0, 0x73
+
+gUnknown_8195823:: @ 8195823
+ .incbin "baserom.gba", 0x195823, 0x40
+
+gUnknown_8195863:: @ 8195863
+ .incbin "baserom.gba", 0x195863, 0x12
+
+gUnknown_8195875:: @ 8195875
+ .incbin "baserom.gba", 0x195875, 0x22
+
+gUnknown_8195897:: @ 8195897
+ .incbin "baserom.gba", 0x195897, 0x21
+
+gUnknown_81958B8:: @ 81958B8
+ .incbin "baserom.gba", 0x1958B8, 0x20
+
+gUnknown_81958D8:: @ 81958D8
+ .incbin "baserom.gba", 0x1958D8, 0x1E
+
+gUnknown_81958F6:: @ 81958F6
+ .incbin "baserom.gba", 0x1958F6, 0x11
+
+gUnknown_8195907:: @ 8195907
+ .incbin "baserom.gba", 0x195907, 0x161
+
+gUnknown_8195A68:: @ 8195A68
+ .incbin "baserom.gba", 0x195A68, 0x61
+
+gUnknown_8195AC9:: @ 8195AC9
+ .incbin "baserom.gba", 0x195AC9, 0x92
+
+gUnknown_8195B5B:: @ 8195B5B
+ .incbin "baserom.gba", 0x195B5B, 0x5F
+
+gUnknown_8195BBA:: @ 8195BBA
+ .incbin "baserom.gba", 0x195BBA, 0xE6
+
+gUnknown_8195CA0:: @ 8195CA0
+ .incbin "baserom.gba", 0x195CA0, 0x74
+
+gUnknown_8195D14:: @ 8195D14
+ .incbin "baserom.gba", 0x195D14, 0xE
+
+gUnknown_8195D22:: @ 8195D22
+ .incbin "baserom.gba", 0x195D22, 0x3D
+
+Text_195D5F:: @ 8195D5F
+ .incbin "baserom.gba", 0x195D5F, 0x16
+
+gUnknown_8195D75:: @ 8195D75
+ .incbin "baserom.gba", 0x195D75, 0x38
+
+Text_195DAD:: @ 8195DAD
+ .incbin "baserom.gba", 0x195DAD, 0x27
+
+gUnknown_8195DD4:: @ 8195DD4
+ .incbin "baserom.gba", 0x195DD4, 0x5F
+
+gUnknown_8195E33:: @ 8195E33
+ .incbin "baserom.gba", 0x195E33, 0x35
+
+gUnknown_8195E68:: @ 8195E68
+ .incbin "baserom.gba", 0x195E68, 0x57
+
+gUnknown_8195EBF:: @ 8195EBF
+ .incbin "baserom.gba", 0x195EBF, 0x35
+
+gUnknown_8195EF4:: @ 8195EF4
+ .incbin "baserom.gba", 0x195EF4, 0x5B
+
+gUnknown_8195F4F:: @ 8195F4F
+ .incbin "baserom.gba", 0x195F4F, 0x1F
+
+gUnknown_8195F6E:: @ 8195F6E
+ .incbin "baserom.gba", 0x195F6E, 0x2A
+
+gUnknown_8195F98:: @ 8195F98
+ .incbin "baserom.gba", 0x195F98, 0x57
+
+gUnknown_8195FEF:: @ 8195FEF
+ .incbin "baserom.gba", 0x195FEF, 0x28
+
+gUnknown_8196017:: @ 8196017
+ .incbin "baserom.gba", 0x196017, 0x21
+
+Text_196038:: @ 8196038
+ .incbin "baserom.gba", 0x196038, 0x26
+
+gUnknown_819605E:: @ 819605E
+ .incbin "baserom.gba", 0x19605E, 0x18
+
+gUnknown_8196076:: @ 8196076
+ .incbin "baserom.gba", 0x196076, 0x18
+
+gUnknown_819608E:: @ 819608E
+ .incbin "baserom.gba", 0x19608E, 0x20
+
+gUnknown_81960AE:: @ 81960AE
+ .incbin "baserom.gba", 0x1960AE, 0xD
+
+gUnknown_81960BB:: @ 81960BB
+ .incbin "baserom.gba", 0x1960BB, 0xE
+
+gUnknown_81960C9:: @ 81960C9
+ .incbin "baserom.gba", 0x1960C9, 0x40
+
+gUnknown_8196109:: @ 8196109
+ .incbin "baserom.gba", 0x196109, 0x3F
+
+gUnknown_8196148:: @ 8196148
+ .incbin "baserom.gba", 0x196148, 0x40
+
+gUnknown_8196188:: @ 8196188
+ .incbin "baserom.gba", 0x196188, 0xD3
+
+gUnknown_819625B:: @ 819625B
+ .incbin "baserom.gba", 0x19625B, 0x17
+
+gUnknown_8196272:: @ 8196272
+ .incbin "baserom.gba", 0x196272, 0x15
+
+gUnknown_8196287:: @ 8196287
+ .incbin "baserom.gba", 0x196287, 0x20
+
+gUnknown_81962A7:: @ 81962A7
+ .incbin "baserom.gba", 0x1962A7, 0x18
+
+gUnknown_81962BF:: @ 81962BF
+ .incbin "baserom.gba", 0x1962BF, 0x18
+
+gUnknown_81962D7:: @ 81962D7
+ .incbin "baserom.gba", 0x1962D7, 0x24
+
+gUnknown_81962FB:: @ 81962FB
+ .incbin "baserom.gba", 0x1962FB, 0x5B
+
+gUnknown_8196356:: @ 8196356
+ .incbin "baserom.gba", 0x196356, 0x77
+
+Text_1963CD:: @ 81963CD
+ .incbin "baserom.gba", 0x1963CD, 0x3F
+
+gUnknown_819640C:: @ 819640C
+ .incbin "baserom.gba", 0x19640C, 0x3F
+
+gUnknown_819644B:: @ 819644B
+ .incbin "baserom.gba", 0x19644B, 0x2D
+
+gUnknown_8196478:: @ 8196478
+ .incbin "baserom.gba", 0x196478, 0x30
+
+gUnknown_81964A8:: @ 81964A8
+ .incbin "baserom.gba", 0x1964A8, 0x1C
+
+gUnknown_81964C4:: @ 81964C4
+ .incbin "baserom.gba", 0x1964C4, 0x13
+
+gUnknown_81964D7:: @ 81964D7
+ .incbin "baserom.gba", 0x1964D7, 0xBA
+
+Text_196591:: @ 8196591
+ .incbin "baserom.gba", 0x196591, 0x31
+
+gUnknown_81965C2:: @ 81965C2
+ .incbin "baserom.gba", 0x1965C2, 0x32
+
+Text_1965F4:: @ 81965F4
+ .incbin "baserom.gba", 0x1965F4, 0x23
+
+gUnknown_8196617:: @ 8196617
+ .incbin "baserom.gba", 0x196617, 0x7E
+
+gUnknown_8196695:: @ 8196695
+ .incbin "baserom.gba", 0x196695, 0xA7
+
+gUnknown_819673C:: @ 819673C
+ .incbin "baserom.gba", 0x19673C, 0xA7
+
+gUnknown_81967E3:: @ 81967E3
+ .incbin "baserom.gba", 0x1967E3, 0x78
+
+gUnknown_819685B:: @ 819685B
+ .incbin "baserom.gba", 0x19685B, 0x67
+
+gUnknown_81968C2:: @ 81968C2
+ .incbin "baserom.gba", 0x1968C2, 0x51
+
+gUnknown_8196913:: @ 8196913
+ .incbin "baserom.gba", 0x196913, 0x2D
+
+gUnknown_8196940:: @ 8196940
+ .incbin "baserom.gba", 0x196940, 0x44
+
+Text_196984:: @ 8196984
+ .incbin "baserom.gba", 0x196984, 0x58
+
+gUnknown_81969DC:: @ 81969DC
+ .incbin "baserom.gba", 0x1969DC, 0x1F
+
+gUnknown_81969FB:: @ 81969FB
+ .incbin "baserom.gba", 0x1969FB, 0x2B
+
+gUnknown_8196A26:: @ 8196A26
+ .incbin "baserom.gba", 0x196A26, 0x20
+
+gUnknown_8196A46:: @ 8196A46
+ .incbin "baserom.gba", 0x196A46, 0x1C
+
+gUnknown_8196A62:: @ 8196A62
+ .incbin "baserom.gba", 0x196A62, 0x20
+
+gUnknown_8196A82:: @ 8196A82
+ .incbin "baserom.gba", 0x196A82, 0x45
+
+gUnknown_8196AC7:: @ 8196AC7
+ .incbin "baserom.gba", 0x196AC7, 0x2C
+
+gUnknown_8196AF3:: @ 8196AF3
+ .incbin "baserom.gba", 0x196AF3, 0x1A
+
+gUnknown_8196B0D:: @ 8196B0D
+ .incbin "baserom.gba", 0x196B0D, 0x23
+
+gUnknown_8196B30:: @ 8196B30
+ .incbin "baserom.gba", 0x196B30, 0x19
+
+gUnknown_8196B49:: @ 8196B49
+ .incbin "baserom.gba", 0x196B49, 0x32
+
+gUnknown_8196B7B:: @ 8196B7B
+ .incbin "baserom.gba", 0x196B7B, 0x32
+
+gUnknown_8196BAD:: @ 8196BAD
+ .incbin "baserom.gba", 0x196BAD, 0xF4
+
+gUnknown_8196CA1:: @ 8196CA1
+ .incbin "baserom.gba", 0x196CA1, 0x5D
+
+gUnknown_8196CFE:: @ 8196CFE
+ .incbin "baserom.gba", 0x196CFE, 0x2D
+
+gUnknown_8196D2B:: @ 8196D2B
+ .incbin "baserom.gba", 0x196D2B, 0x1C
+
+gUnknown_8196D47:: @ 8196D47
+ .incbin "baserom.gba", 0x196D47, 0x28
+
+gUnknown_8196D6F:: @ 8196D6F
+ .incbin "baserom.gba", 0x196D6F, 0x18
+
+gUnknown_8196D87:: @ 8196D87
+ .incbin "baserom.gba", 0x196D87, 0x30
+
+gUnknown_8196DB7:: @ 8196DB7
+ .incbin "baserom.gba", 0x196DB7, 0x41
+
+gUnknown_8196DF8:: @ 8196DF8
+ .incbin "baserom.gba", 0x196DF8, 0x23
+
+gUnknown_8196E1B:: @ 8196E1B
+ .incbin "baserom.gba", 0x196E1B, 0x25
+
+gUnknown_8196E40:: @ 8196E40
+ .incbin "baserom.gba", 0x196E40, 0x29
+
+Text_196E69:: @ 8196E69
+ .incbin "baserom.gba", 0x196E69, 0x2C
+
+Text_196E95:: @ 8196E95
+ .incbin "baserom.gba", 0x196E95, 0x6
+
+gUnknown_8196E9B:: @ 8196E9B
+ .incbin "baserom.gba", 0x196E9B, 0x41
+
+gUnknown_8196EDC:: @ 8196EDC
+ .incbin "baserom.gba", 0x196EDC, 0x31
+
+gUnknown_8196F0D:: @ 8196F0D
+ .incbin "baserom.gba", 0x196F0D, 0x19
+
+gUnknown_8196F26:: @ 8196F26
+ .incbin "baserom.gba", 0x196F26, 0x20
+
+gUnknown_8196F46:: @ 8196F46
+ .incbin "baserom.gba", 0x196F46, 0x1E
+
+gUnknown_8196F64:: @ 8196F64
+ .incbin "baserom.gba", 0x196F64, 0x1D
+
+gUnknown_8196F81:: @ 8196F81
+ .incbin "baserom.gba", 0x196F81, 0x1F
+
+gUnknown_8196FA0:: @ 8196FA0
+ .incbin "baserom.gba", 0x196FA0, 0x21
+
+gUnknown_8196FC1:: @ 8196FC1
+ .incbin "baserom.gba", 0x196FC1, 0x3E
+
+gUnknown_8196FFF:: @ 8196FFF
+ .incbin "baserom.gba", 0x196FFF, 0x3F
+
+gUnknown_819703E:: @ 819703E
+ .incbin "baserom.gba", 0x19703E, 0x19
+
+gUnknown_8197057:: @ 8197057
+ .incbin "baserom.gba", 0x197057, 0x23
+
+Text_19707A:: @ 819707A
+ .incbin "baserom.gba", 0x19707A, 0x23
+
+gUnknown_819709D:: @ 819709D
+ .incbin "baserom.gba", 0x19709D, 0x15
+
+gUnknown_81970B2:: @ 81970B2
+ .incbin "baserom.gba", 0x1970B2, 0x23
+
+gUnknown_81970D5:: @ 81970D5
+ .incbin "baserom.gba", 0x1970D5, 0x3F
+
+Text_197114:: @ 8197114
+ .incbin "baserom.gba", 0x197114, 0x14C
+
+Text_197260:: @ 8197260
+ .incbin "baserom.gba", 0x197260, 0x58
+
+gUnknown_81972B8:: @ 81972B8
+ .incbin "baserom.gba", 0x1972B8, 0x6F
+
+gUnknown_8197327:: @ 8197327
+ .incbin "baserom.gba", 0x197327, 0x93
+
+gUnknown_81973BA:: @ 81973BA
+ .incbin "baserom.gba", 0x1973BA, 0x1D
+
+gUnknown_81973D7:: @ 81973D7
+ .incbin "baserom.gba", 0x1973D7, 0x86
+
+gUnknown_819745D:: @ 819745D
+ .incbin "baserom.gba", 0x19745D, 0x1F
+
+Text_19747C:: @ 819747C
+ .incbin "baserom.gba", 0x19747C, 0x48
+
+Text_1974C4:: @ 81974C4
+ .incbin "baserom.gba", 0x1974C4, 0x12
+
+gUnknown_81974D6:: @ 81974D6
+ .incbin "baserom.gba", 0x1974D6, 0x24
+
+Text_1974FA:: @ 81974FA
+ .incbin "baserom.gba", 0x1974FA, 0x22
+
+Text_19751C:: @ 819751C
+ .incbin "baserom.gba", 0x19751C, 0xB
+
+gUnknown_8197527:: @ 8197527
+ .incbin "baserom.gba", 0x197527, 0x6E
+
+Text_197595:: @ 8197595
+ .incbin "baserom.gba", 0x197595, 0x26
+
+Text_1975BB:: @ 81975BB
+ .incbin "baserom.gba", 0x1975BB, 0x16
+
+gUnknown_81975D1:: @ 81975D1
+ .incbin "baserom.gba", 0x1975D1, 0x3A
+
+Text_19760B:: @ 819760B
+ .incbin "baserom.gba", 0x19760B, 0x55
+
+Text_197660:: @ 8197660
+ .incbin "baserom.gba", 0x197660, 0x4
+
+gUnknown_8197664:: @ 8197664
+ .incbin "baserom.gba", 0x197664, 0x61
+
+Text_1976C5:: @ 81976C5
+ .incbin "baserom.gba", 0x1976C5, 0x3A
+
+Text_1976FF:: @ 81976FF
+ .incbin "baserom.gba", 0x1976FF, 0x9
+
+gUnknown_8197708:: @ 8197708
+ .incbin "baserom.gba", 0x197708, 0x3F
+
+Text_197747:: @ 8197747
+ .incbin "baserom.gba", 0x197747, 0x33
+
+Text_19777A:: @ 819777A
+ .incbin "baserom.gba", 0x19777A, 0xE
+
+gUnknown_8197788:: @ 8197788
+ .incbin "baserom.gba", 0x197788, 0x5D
+
+Text_1977E5:: @ 81977E5
+ .incbin "baserom.gba", 0x1977E5, 0x4D
+
+Text_197832:: @ 8197832
+ .incbin "baserom.gba", 0x197832, 0xC
+
+gUnknown_819783E:: @ 819783E
+ .incbin "baserom.gba", 0x19783E, 0x36
+
+gUnknown_8197874:: @ 8197874
+ .incbin "baserom.gba", 0x197874, 0x37
+
+gUnknown_81978AB:: @ 81978AB
+ .incbin "baserom.gba", 0x1978AB, 0x3B
+
+gUnknown_81978E6:: @ 81978E6
+ .incbin "baserom.gba", 0x1978E6, 0x2F
+
+gUnknown_8197915:: @ 8197915
+ .incbin "baserom.gba", 0x197915, 0x3D
+
+gUnknown_8197952:: @ 8197952
+ .incbin "baserom.gba", 0x197952, 0x38
+
+gUnknown_819798A:: @ 819798A
+ .incbin "baserom.gba", 0x19798A, 0x37
+
+gUnknown_81979C1:: @ 81979C1
+ .incbin "baserom.gba", 0x1979C1, 0x77
+
+gUnknown_8197A38:: @ 8197A38
+ .incbin "baserom.gba", 0x197A38, 0x26
+
+gUnknown_8197A5E:: @ 8197A5E
+ .incbin "baserom.gba", 0x197A5E, 0x14
+
+gUnknown_8197A72:: @ 8197A72
+ .incbin "baserom.gba", 0x197A72, 0x2D
+
+gUnknown_8197A9F:: @ 8197A9F
+ .incbin "baserom.gba", 0x197A9F, 0x34
+
+gUnknown_8197AD3:: @ 8197AD3
+ .incbin "baserom.gba", 0x197AD3, 0x4D
+
+gUnknown_8197B20:: @ 8197B20
+ .incbin "baserom.gba", 0x197B20, 0x57
+
+gUnknown_8197B77:: @ 8197B77
+ .incbin "baserom.gba", 0x197B77, 0x47
+
+gUnknown_8197BBE:: @ 8197BBE
+ .incbin "baserom.gba", 0x197BBE, 0x4E
+
+gUnknown_8197C0C:: @ 8197C0C
+ .incbin "baserom.gba", 0x197C0C, 0x24
+
+gUnknown_8197C30:: @ 8197C30
+ .incbin "baserom.gba", 0x197C30, 0x3B
+
+gUnknown_8197C6B:: @ 8197C6B
+ .incbin "baserom.gba", 0x197C6B, 0x1C
+
+gUnknown_8197C87:: @ 8197C87
+ .incbin "baserom.gba", 0x197C87, 0x80
+
+gUnknown_8197D07:: @ 8197D07
+ .incbin "baserom.gba", 0x197D07, 0x49
+
+Text_197D50:: @ 8197D50
+ .incbin "baserom.gba", 0x197D50, 0x30
+
+gUnknown_8197D80:: @ 8197D80
+ .incbin "baserom.gba", 0x197D80, 0x69
+
+gUnknown_8197DE9:: @ 8197DE9
+ .incbin "baserom.gba", 0x197DE9, 0x19
+
+gUnknown_8197E02:: @ 8197E02
+ .incbin "baserom.gba", 0x197E02, 0x18
+
+gUnknown_8197E1A:: @ 8197E1A
+ .incbin "baserom.gba", 0x197E1A, 0x2E
+
+gUnknown_8197E48:: @ 8197E48
+ .incbin "baserom.gba", 0x197E48, 0x32
+
+gUnknown_8197E7A:: @ 8197E7A
+ .incbin "baserom.gba", 0x197E7A, 0xB
+
+gUnknown_8197E85:: @ 8197E85
+ .incbin "baserom.gba", 0x197E85, 0x2B
+
+gUnknown_8197EB0:: @ 8197EB0
+ .incbin "baserom.gba", 0x197EB0, 0x33
+
+gUnknown_8197EE3:: @ 8197EE3
+ .incbin "baserom.gba", 0x197EE3, 0x1BB
+
+gUnknown_819809E:: @ 819809E
+ .incbin "baserom.gba", 0x19809E, 0x1E
+
+gUnknown_81980BC:: @ 81980BC
+ .incbin "baserom.gba", 0x1980BC, 0x78
+
+gUnknown_8198134:: @ 8198134
+ .incbin "baserom.gba", 0x198134, 0x37
+
+gUnknown_819816B:: @ 819816B
+ .incbin "baserom.gba", 0x19816B, 0x57
+
+gUnknown_81981C2:: @ 81981C2
+ .incbin "baserom.gba", 0x1981C2, 0x68
+
+gUnknown_819822A:: @ 819822A
+ .incbin "baserom.gba", 0x19822A, 0x5B
+
+gUnknown_8198285:: @ 8198285
+ .incbin "baserom.gba", 0x198285, 0xA9
+
+Text_19832E:: @ 819832E
+ .incbin "baserom.gba", 0x19832E, 0x116
+
+Text_198444:: @ 8198444
+ .incbin "baserom.gba", 0x198444, 0x3D
+
+gUnknown_8198481:: @ 8198481
+ .incbin "baserom.gba", 0x198481, 0x8D
+
+gUnknown_819850E:: @ 819850E
+ .incbin "baserom.gba", 0x19850E, 0x81
+
+gUnknown_819858F:: @ 819858F
+ .incbin "baserom.gba", 0x19858F, 0x1C
+
+gUnknown_81985AB:: @ 81985AB
+ .incbin "baserom.gba", 0x1985AB, 0x62
+
+gUnknown_819860D:: @ 819860D
+ .incbin "baserom.gba", 0x19860D, 0x1C
+
+Text_198629:: @ 8198629
+ .incbin "baserom.gba", 0x198629, 0x8B
+
+Text_1986B4:: @ 81986B4
+ .incbin "baserom.gba", 0x1986B4, 0x15
+
+gUnknown_81986C9:: @ 81986C9
+ .incbin "baserom.gba", 0x1986C9, 0x55
+
+Text_19871E:: @ 819871E
+ .incbin "baserom.gba", 0x19871E, 0x5B
+
+Text_198779:: @ 8198779
+ .incbin "baserom.gba", 0x198779, 0xE
+
+gUnknown_8198787:: @ 8198787
+ .incbin "baserom.gba", 0x198787, 0x61
+
+Text_1987E8:: @ 81987E8
+ .incbin "baserom.gba", 0x1987E8, 0x2A
+
+Text_198812:: @ 8198812
+ .incbin "baserom.gba", 0x198812, 0x13
+
+gUnknown_8198825:: @ 8198825
+ .incbin "baserom.gba", 0x198825, 0x41
+
+Text_198866:: @ 8198866
+ .incbin "baserom.gba", 0x198866, 0x50
+
+Text_1988B6:: @ 81988B6
+ .incbin "baserom.gba", 0x1988B6, 0x15
+
+gUnknown_81988CB:: @ 81988CB
+ .incbin "baserom.gba", 0x1988CB, 0x54
+
+Text_19891F:: @ 819891F
+ .incbin "baserom.gba", 0x19891F, 0x60
+
+Text_19897F:: @ 819897F
+ .incbin "baserom.gba", 0x19897F, 0x6
+
+gUnknown_8198985:: @ 8198985
+ .incbin "baserom.gba", 0x198985, 0x1C
+
+Text_1989A1:: @ 81989A1
+ .incbin "baserom.gba", 0x1989A1, 0x49
+
+Text_1989EA:: @ 81989EA
+ .incbin "baserom.gba", 0x1989EA, 0x26
+
+gUnknown_8198A10:: @ 8198A10
+ .incbin "baserom.gba", 0x198A10, 0x4E
+
+gUnknown_8198A5E:: @ 8198A5E
+ .incbin "baserom.gba", 0x198A5E, 0xBF
+
+gUnknown_8198B1D:: @ 8198B1D
+ .incbin "baserom.gba", 0x198B1D, 0x2E
+
+gUnknown_8198B4B:: @ 8198B4B
+ .incbin "baserom.gba", 0x198B4B, 0x36
+
+gUnknown_8198B81:: @ 8198B81
+ .incbin "baserom.gba", 0x198B81, 0x3A
+
+gUnknown_8198BBB:: @ 8198BBB
+ .incbin "baserom.gba", 0x198BBB, 0x64
+
+gUnknown_8198C1F:: @ 8198C1F
+ .incbin "baserom.gba", 0x198C1F, 0x5C
+
+gUnknown_8198C7B:: @ 8198C7B
+ .incbin "baserom.gba", 0x198C7B, 0x3C
+
+gUnknown_8198CB7:: @ 8198CB7
+ .incbin "baserom.gba", 0x198CB7, 0x77
+
+gUnknown_8198D2E:: @ 8198D2E
+ .incbin "baserom.gba", 0x198D2E, 0x6D
+
+gUnknown_8198D9B:: @ 8198D9B
+ .incbin "baserom.gba", 0x198D9B, 0x5E
+
+gUnknown_8198DF9:: @ 8198DF9
+ .incbin "baserom.gba", 0x198DF9, 0x46
+
+gUnknown_8198E3F:: @ 8198E3F
+ .incbin "baserom.gba", 0x198E3F, 0x24
+
+gUnknown_8198E63:: @ 8198E63
+ .incbin "baserom.gba", 0x198E63, 0x21
+
+Text_198E84:: @ 8198E84
+ .incbin "baserom.gba", 0x198E84, 0x26
+
+gUnknown_8198EAA:: @ 8198EAA
+ .incbin "baserom.gba", 0x198EAA, 0x20
+
+gUnknown_8198ECA:: @ 8198ECA
+ .incbin "baserom.gba", 0x198ECA, 0xCC
+
+gUnknown_8198F96:: @ 8198F96
+ .incbin "baserom.gba", 0x198F96, 0xD2
+
+gUnknown_8199068:: @ 8199068
+ .incbin "baserom.gba", 0x199068, 0x22
+
+gUnknown_819908A:: @ 819908A
+ .incbin "baserom.gba", 0x19908A, 0xB2
+
+gUnknown_819913C:: @ 819913C
+ .incbin "baserom.gba", 0x19913C, 0x2B
+
+gUnknown_8199167:: @ 8199167
+ .incbin "baserom.gba", 0x199167, 0x27
+
+gUnknown_819918E:: @ 819918E
+ .incbin "baserom.gba", 0x19918E, 0x79
+
+gUnknown_8199207:: @ 8199207
+ .incbin "baserom.gba", 0x199207, 0x57
+
+gUnknown_819925E:: @ 819925E
+ .incbin "baserom.gba", 0x19925E, 0x38
+
+gUnknown_8199296:: @ 8199296
+ .incbin "baserom.gba", 0x199296, 0xA1
+
+gUnknown_8199337:: @ 8199337
+ .incbin "baserom.gba", 0x199337, 0x1D
+
+gUnknown_8199354:: @ 8199354
+ .incbin "baserom.gba", 0x199354, 0x2A
+
+gUnknown_819937E:: @ 819937E
+ .incbin "baserom.gba", 0x19937E, 0x3B
+
+gUnknown_81993B9:: @ 81993B9
+ .incbin "baserom.gba", 0x1993B9, 0x68
+
+gUnknown_8199421:: @ 8199421
+ .incbin "baserom.gba", 0x199421, 0x24
+
+gUnknown_8199445:: @ 8199445
+ .incbin "baserom.gba", 0x199445, 0x20
+
+gUnknown_8199465:: @ 8199465
+ .incbin "baserom.gba", 0x199465, 0x20
+
+gUnknown_8199485:: @ 8199485
+ .incbin "baserom.gba", 0x199485, 0x2C
+
+gUnknown_81994B1:: @ 81994B1
+ .incbin "baserom.gba", 0x1994B1, 0x39
+
+gUnknown_81994EA:: @ 81994EA
+ .incbin "baserom.gba", 0x1994EA, 0x35
+
+gUnknown_819951F:: @ 819951F
+ .incbin "baserom.gba", 0x19951F, 0x24
+
+Text_199543:: @ 8199543
+ .incbin "baserom.gba", 0x199543, 0xB7
+
+Text_1995FA:: @ 81995FA
+ .incbin "baserom.gba", 0x1995FA, 0x58
+
+gUnknown_8199652:: @ 8199652
+ .incbin "baserom.gba", 0x199652, 0x4C
+
+gUnknown_819969E:: @ 819969E
+ .incbin "baserom.gba", 0x19969E, 0x61
+
+gUnknown_81996FF:: @ 81996FF
+ .incbin "baserom.gba", 0x1996FF, 0x1E
+
+gUnknown_819971D:: @ 819971D
+ .incbin "baserom.gba", 0x19971D, 0x6C
+
+gUnknown_8199789:: @ 8199789
+ .incbin "baserom.gba", 0x199789, 0x1C
+
+Text_1997A5:: @ 81997A5
+ .incbin "baserom.gba", 0x1997A5, 0x31
+
+Text_1997D6:: @ 81997D6
+ .incbin "baserom.gba", 0x1997D6, 0x14
+
+gUnknown_81997EA:: @ 81997EA
+ .incbin "baserom.gba", 0x1997EA, 0x55
+
+Text_19983F:: @ 819983F
+gUnknown_819983F:: @ 819983F
+ .incbin "baserom.gba", 0x19983F, 0x31
+
+Text_199870:: @ 8199870
+ .incbin "baserom.gba", 0x199870, 0xD
+
+gUnknown_819987D:: @ 819987D
+ .incbin "baserom.gba", 0x19987D, 0x40
+
+Text_1998BD:: @ 81998BD
+gUnknown_81998BD:: @ 81998BD
+ .incbin "baserom.gba", 0x1998BD, 0x30
+
+Text_1998ED:: @ 81998ED
+ .incbin "baserom.gba", 0x1998ED, 0x24
+
+gUnknown_8199911:: @ 8199911
+ .incbin "baserom.gba", 0x199911, 0x37
+
+Text_199948:: @ 8199948
+gUnknown_8199948:: @ 8199948
+ .incbin "baserom.gba", 0x199948, 0x2B
+
+Text_199973:: @ 8199973
+ .incbin "baserom.gba", 0x199973, 0x13
+
+gUnknown_8199986:: @ 8199986
+ .incbin "baserom.gba", 0x199986, 0x31
+
+Text_1999B7:: @ 81999B7
+gUnknown_81999B7:: @ 81999B7
+ .incbin "baserom.gba", 0x1999B7, 0x24
+
+Text_1999DB:: @ 81999DB
+ .incbin "baserom.gba", 0x1999DB, 0x4
+
+gUnknown_81999DF:: @ 81999DF
+ .incbin "baserom.gba", 0x1999DF, 0xA0
+
+Text_199A7F:: @ 8199A7F
+gUnknown_8199A7F:: @ 8199A7F
+ .incbin "baserom.gba", 0x199A7F, 0x3A
+
+Text_199AB9:: @ 8199AB9
+ .incbin "baserom.gba", 0x199AB9, 0x10
+
+gUnknown_8199AC9:: @ 8199AC9
+ .incbin "baserom.gba", 0x199AC9, 0x33
+
+Text_199AFC:: @ 8199AFC
+gUnknown_8199AFC:: @ 8199AFC
+ .incbin "baserom.gba", 0x199AFC, 0x1A
+
+Text_199B16:: @ 8199B16
+ .incbin "baserom.gba", 0x199B16, 0x11
+
+gUnknown_8199B27:: @ 8199B27
+ .incbin "baserom.gba", 0x199B27, 0x5A
+
+gUnknown_8199B81:: @ 8199B81
+ .incbin "baserom.gba", 0x199B81, 0x8B
+
+gUnknown_8199C0C:: @ 8199C0C
+ .incbin "baserom.gba", 0x199C0C, 0x1D
+
+gUnknown_8199C29:: @ 8199C29
+ .incbin "baserom.gba", 0x199C29, 0x39
+
+gUnknown_8199C62:: @ 8199C62
+ .incbin "baserom.gba", 0x199C62, 0x3D
+
+gUnknown_8199C9F:: @ 8199C9F
+ .incbin "baserom.gba", 0x199C9F, 0xBB
+
+gUnknown_8199D5A:: @ 8199D5A
+ .incbin "baserom.gba", 0x199D5A, 0x1F
+
+gUnknown_8199D79:: @ 8199D79
+ .incbin "baserom.gba", 0x199D79, 0x30
+
+gUnknown_8199DA9:: @ 8199DA9
+ .incbin "baserom.gba", 0x199DA9, 0x1D
+
+gUnknown_8199DC6:: @ 8199DC6
+ .incbin "baserom.gba", 0x199DC6, 0x3A
+
+gUnknown_8199E00:: @ 8199E00
+ .incbin "baserom.gba", 0x199E00, 0x36
+
+gUnknown_8199E36:: @ 8199E36
+ .incbin "baserom.gba", 0x199E36, 0x19
+
+gUnknown_8199E4F:: @ 8199E4F
+ .incbin "baserom.gba", 0x199E4F, 0x2A
+
+gUnknown_8199E79:: @ 8199E79
+ .incbin "baserom.gba", 0x199E79, 0x6C
+
+gUnknown_8199EE5:: @ 8199EE5
+ .incbin "baserom.gba", 0x199EE5, 0x5C
+
+gUnknown_8199F41:: @ 8199F41
+ .incbin "baserom.gba", 0x199F41, 0x29
+
+gUnknown_8199F6A:: @ 8199F6A
+ .incbin "baserom.gba", 0x199F6A, 0x19
+
+gUnknown_8199F83:: @ 8199F83
+ .incbin "baserom.gba", 0x199F83, 0x17
+
+gUnknown_8199F9A:: @ 8199F9A
+ .incbin "baserom.gba", 0x199F9A, 0x19
+
+gUnknown_8199FB3:: @ 8199FB3
+ .incbin "baserom.gba", 0x199FB3, 0x62
+
+gUnknown_819A015:: @ 819A015
+ .incbin "baserom.gba", 0x19A015, 0x35
+
+gUnknown_819A04A:: @ 819A04A
+ .incbin "baserom.gba", 0x19A04A, 0xDE
+
+gUnknown_819A128:: @ 819A128
+ .incbin "baserom.gba", 0x19A128, 0x15A
+
+Text_19A282:: @ 819A282
+gUnknown_819A282:: @ 819A282
+ .incbin "baserom.gba", 0x19A282, 0x92
+
+gUnknown_819A314:: @ 819A314
+ .incbin "baserom.gba", 0x19A314, 0x3B
+
+gUnknown_819A34F:: @ 819A34F
+ .incbin "baserom.gba", 0x19A34F, 0x4F
+
+Text_19A39E:: @ 819A39E
+ .incbin "baserom.gba", 0x19A39E, 0x36
+
+gUnknown_819A3D4:: @ 819A3D4
+ .incbin "baserom.gba", 0x19A3D4, 0x89
+
+gUnknown_819A45D:: @ 819A45D
+ .incbin "baserom.gba", 0x19A45D, 0x4E
+
+gUnknown_819A4AB:: @ 819A4AB
+ .incbin "baserom.gba", 0x19A4AB, 0x36
+
+gUnknown_819A4E1:: @ 819A4E1
+ .incbin "baserom.gba", 0x19A4E1, 0x17
+
+gUnknown_819A4F8:: @ 819A4F8
+ .incbin "baserom.gba", 0x19A4F8, 0xC6
+
+gUnknown_819A5BE:: @ 819A5BE
+ .incbin "baserom.gba", 0x19A5BE, 0xF3
+
+gUnknown_819A6B1:: @ 819A6B1
+ .incbin "baserom.gba", 0x19A6B1, 0x74
+
+gUnknown_819A725:: @ 819A725
+ .incbin "baserom.gba", 0x19A725, 0x41
+
+gUnknown_819A766:: @ 819A766
+ .incbin "baserom.gba", 0x19A766, 0x1F
+
+gUnknown_819A785:: @ 819A785
+ .incbin "baserom.gba", 0x19A785, 0x1B
+
+gUnknown_819A7A0:: @ 819A7A0
+ .incbin "baserom.gba", 0x19A7A0, 0x51
+
+gUnknown_819A7F1:: @ 819A7F1
+ .incbin "baserom.gba", 0x19A7F1, 0x46
+
+gUnknown_819A837:: @ 819A837
+ .incbin "baserom.gba", 0x19A837, 0xA1
+
+gUnknown_819A8D8:: @ 819A8D8
+ .incbin "baserom.gba", 0x19A8D8, 0x6B
+
+gUnknown_819A943:: @ 819A943
+ .incbin "baserom.gba", 0x19A943, 0x258
+
+gUnknown_819AB9B:: @ 819AB9B
+ .incbin "baserom.gba", 0x19AB9B, 0x3C
+
+gUnknown_819ABD7:: @ 819ABD7
+ .incbin "baserom.gba", 0x19ABD7, 0x74
+
+gUnknown_819AC4B:: @ 819AC4B
+ .incbin "baserom.gba", 0x19AC4B, 0x15
+
+gUnknown_819AC60:: @ 819AC60
+ .incbin "baserom.gba", 0x19AC60, 0x91
+
+gUnknown_819ACF1:: @ 819ACF1
+ .incbin "baserom.gba", 0x19ACF1, 0x33F
+
+gUnknown_819B030:: @ 819B030
+ .incbin "baserom.gba", 0x19B030, 0x41
+
+gUnknown_819B071:: @ 819B071
+ .incbin "baserom.gba", 0x19B071, 0x2F
+
+gUnknown_819B0A0:: @ 819B0A0
+ .incbin "baserom.gba", 0x19B0A0, 0x30
+
+gUnknown_819B0D0:: @ 819B0D0
+ .incbin "baserom.gba", 0x19B0D0, 0x5C
+
+Text_19B12C:: @ 819B12C
+ .incbin "baserom.gba", 0x19B12C, 0x67
+
+Text_19B193:: @ 819B193
+ .incbin "baserom.gba", 0x19B193, 0x14
+
+gUnknown_819B1A7:: @ 819B1A7
+ .incbin "baserom.gba", 0x19B1A7, 0xA5
+
+gUnknown_819B24C:: @ 819B24C
+ .incbin "baserom.gba", 0x19B24C, 0x29
+
+Text_19B275:: @ 819B275
+ .incbin "baserom.gba", 0x19B275, 0x1D
+
+Text_19B292:: @ 819B292
+ .incbin "baserom.gba", 0x19B292, 0xB
+
+gUnknown_819B29D:: @ 819B29D
+ .incbin "baserom.gba", 0x19B29D, 0x43
+
+Text_19B2E0:: @ 819B2E0
+ .incbin "baserom.gba", 0x19B2E0, 0x1D
+
+Text_19B2FD:: @ 819B2FD
+ .incbin "baserom.gba", 0x19B2FD, 0x12
+
+gUnknown_819B30F:: @ 819B30F
+ .incbin "baserom.gba", 0x19B30F, 0x32
+
+Text_19B341:: @ 819B341
+ .incbin "baserom.gba", 0x19B341, 0x55
+
+Text_19B396:: @ 819B396
+ .incbin "baserom.gba", 0x19B396, 0x16
+
+gUnknown_819B3AC:: @ 819B3AC
+ .incbin "baserom.gba", 0x19B3AC, 0x33
+
+Text_19B3DF:: @ 819B3DF
+ .incbin "baserom.gba", 0x19B3DF, 0x30
+
+Text_19B40F:: @ 819B40F
+ .incbin "baserom.gba", 0x19B40F, 0x10
+
+gUnknown_819B41F:: @ 819B41F
+ .incbin "baserom.gba", 0x19B41F, 0x2F
+
+gUnknown_819B44E:: @ 819B44E
+ .incbin "baserom.gba", 0x19B44E, 0x25
+
+Text_19B473:: @ 819B473
+ .incbin "baserom.gba", 0x19B473, 0x2B
+
+gUnknown_819B49E:: @ 819B49E
+ .incbin "baserom.gba", 0x19B49E, 0x43
+
+gUnknown_819B4E1:: @ 819B4E1
+ .incbin "baserom.gba", 0x19B4E1, 0x17
+
+gUnknown_819B4F8:: @ 819B4F8
+ .incbin "baserom.gba", 0x19B4F8, 0x17
+
+gUnknown_819B50F:: @ 819B50F
+ .incbin "baserom.gba", 0x19B50F, 0x1F
+
+gUnknown_819B52E:: @ 819B52E
+ .incbin "baserom.gba", 0x19B52E, 0xE
+
+Text_19B53C:: @ 819B53C
+ .incbin "baserom.gba", 0x19B53C, 0xC6
+
+Text_19B602:: @ 819B602
+ .incbin "baserom.gba", 0x19B602, 0x83
+
+gUnknown_819B685:: @ 819B685
+ .incbin "baserom.gba", 0x19B685, 0x75
+
+gUnknown_819B6FA:: @ 819B6FA
+ .incbin "baserom.gba", 0x19B6FA, 0xD9
+
+gUnknown_819B7D3:: @ 819B7D3
+ .incbin "baserom.gba", 0x19B7D3, 0x1F
+
+gUnknown_819B7F2:: @ 819B7F2
+ .incbin "baserom.gba", 0x19B7F2, 0x57
+
+gUnknown_819B849:: @ 819B849
+ .incbin "baserom.gba", 0x19B849, 0x21
+
+Text_19B86A:: @ 819B86A
+ .incbin "baserom.gba", 0x19B86A, 0x3E
+
+Text_19B8A8:: @ 819B8A8
+ .incbin "baserom.gba", 0x19B8A8, 0x11
+
+gUnknown_819B8B9:: @ 819B8B9
+ .incbin "baserom.gba", 0x19B8B9, 0x7D
+
+Text_19B936:: @ 819B936
+ .incbin "baserom.gba", 0x19B936, 0x21
+
+Text_19B957:: @ 819B957
+ .incbin "baserom.gba", 0x19B957, 0x16
+
+gUnknown_819B96D:: @ 819B96D
+ .incbin "baserom.gba", 0x19B96D, 0x2B
+
+Text_19B998:: @ 819B998
+ .incbin "baserom.gba", 0x19B998, 0x54
+
+Text_19B9EC:: @ 819B9EC
+ .incbin "baserom.gba", 0x19B9EC, 0xB
+
+gUnknown_819B9F7:: @ 819B9F7
+ .incbin "baserom.gba", 0x19B9F7, 0x4E
+
+Text_19BA45:: @ 819BA45
+ .incbin "baserom.gba", 0x19BA45, 0x59
+
+Text_19BA9E:: @ 819BA9E
+ .incbin "baserom.gba", 0x19BA9E, 0x16
+
+gUnknown_819BAB4:: @ 819BAB4
+ .incbin "baserom.gba", 0x19BAB4, 0x34
+
+Text_19BAE8:: @ 819BAE8
+ .incbin "baserom.gba", 0x19BAE8, 0x25
+
+Text_19BB0D:: @ 819BB0D
+ .incbin "baserom.gba", 0x19BB0D, 0x12
+
+gUnknown_819BB1F:: @ 819BB1F
+ .incbin "baserom.gba", 0x19BB1F, 0x2A
+
+Text_19BB49:: @ 819BB49
+ .incbin "baserom.gba", 0x19BB49, 0x58
+
+Text_19BBA1:: @ 819BBA1
+ .incbin "baserom.gba", 0x19BBA1, 0x12
+
+gUnknown_819BBB3:: @ 819BBB3
+ .incbin "baserom.gba", 0x19BBB3, 0xA4
+
+Text_19BC57:: @ 819BC57
+ .incbin "baserom.gba", 0x19BC57, 0x65
+
+Text_19BCBC:: @ 819BCBC
+ .incbin "baserom.gba", 0x19BCBC, 0x8
+
+gUnknown_819BCC4:: @ 819BCC4
+ .incbin "baserom.gba", 0x19BCC4, 0x32
+
+gUnknown_819BCF6:: @ 819BCF6
+ .incbin "baserom.gba", 0x19BCF6, 0xC5
+
+gUnknown_819BDBB:: @ 819BDBB
+ .incbin "baserom.gba", 0x19BDBB, 0x43
+
+gUnknown_819BDFE:: @ 819BDFE
+ .incbin "baserom.gba", 0x19BDFE, 0x39
+
+gUnknown_819BE37:: @ 819BE37
+ .incbin "baserom.gba", 0x19BE37, 0x3D
+
+gUnknown_819BE74:: @ 819BE74
+ .incbin "baserom.gba", 0x19BE74, 0x4F
+
+gUnknown_819BEC3:: @ 819BEC3
+ .incbin "baserom.gba", 0x19BEC3, 0x12
+
+gUnknown_819BED5:: @ 819BED5
+ .incbin "baserom.gba", 0x19BED5, 0x32
+
+gUnknown_819BF07:: @ 819BF07
+ .incbin "baserom.gba", 0x19BF07, 0x88
+
+gUnknown_819BF8F:: @ 819BF8F
+ .incbin "baserom.gba", 0x19BF8F, 0x62
+
+gUnknown_819BFF1:: @ 819BFF1
+ .incbin "baserom.gba", 0x19BFF1, 0x32
+
+gUnknown_819C023:: @ 819C023
+ .incbin "baserom.gba", 0x19C023, 0x35
+
+gUnknown_819C058:: @ 819C058
+ .incbin "baserom.gba", 0x19C058, 0x5C
+
+gUnknown_819C0B4:: @ 819C0B4
+ .incbin "baserom.gba", 0x19C0B4, 0x4E
+
+gUnknown_819C102:: @ 819C102
+ .incbin "baserom.gba", 0x19C102, 0x40
+
+gUnknown_819C142:: @ 819C142
+ .incbin "baserom.gba", 0x19C142, 0x2A
+
+gUnknown_819C16C:: @ 819C16C
+ .incbin "baserom.gba", 0x19C16C, 0x23
+
+gUnknown_819C18F:: @ 819C18F
+ .incbin "baserom.gba", 0x19C18F, 0x6D
+
+gUnknown_819C1FC:: @ 819C1FC
+ .incbin "baserom.gba", 0x19C1FC, 0x2F
+
+gUnknown_819C22B:: @ 819C22B
+ .incbin "baserom.gba", 0x19C22B, 0xA
+
+gUnknown_819C235:: @ 819C235
+ .incbin "baserom.gba", 0x19C235, 0x15B
+
+gUnknown_819C390:: @ 819C390
+ .incbin "baserom.gba", 0x19C390, 0x2D
+
+gUnknown_819C3BD:: @ 819C3BD
+ .incbin "baserom.gba", 0x19C3BD, 0x63
+
+gUnknown_819C420:: @ 819C420
+ .incbin "baserom.gba", 0x19C420, 0x85
+
+gUnknown_819C4A5:: @ 819C4A5
+ .incbin "baserom.gba", 0x19C4A5, 0xB7
+
+gUnknown_819C55C:: @ 819C55C
+ .incbin "baserom.gba", 0x19C55C, 0x4D
+
+gUnknown_819C5A9:: @ 819C5A9
+ .incbin "baserom.gba", 0x19C5A9, 0x57
+
+gUnknown_819C600:: @ 819C600
+ .incbin "baserom.gba", 0x19C600, 0xBA
+
+gUnknown_819C6BA:: @ 819C6BA
+ .incbin "baserom.gba", 0x19C6BA, 0x80
+
+gUnknown_819C73A:: @ 819C73A
+ .incbin "baserom.gba", 0x19C73A, 0x8E
+
+gUnknown_819C7C8:: @ 819C7C8
+ .incbin "baserom.gba", 0x19C7C8, 0x56
+
+gUnknown_819C81E:: @ 819C81E
+ .incbin "baserom.gba", 0x19C81E, 0xA3
+
+gUnknown_819C8C1:: @ 819C8C1
+ .incbin "baserom.gba", 0x19C8C1, 0xC5
+
+gUnknown_819C986:: @ 819C986
+ .incbin "baserom.gba", 0x19C986, 0x4F
+
+gUnknown_819C9D5:: @ 819C9D5
+ .incbin "baserom.gba", 0x19C9D5, 0xA7
+
+gUnknown_819CA7C:: @ 819CA7C
+ .incbin "baserom.gba", 0x19CA7C, 0xB6
+
+gUnknown_819CB32:: @ 819CB32
+ .incbin "baserom.gba", 0x19CB32, 0x30
+
+gUnknown_819CB62:: @ 819CB62
+ .incbin "baserom.gba", 0x19CB62, 0x71
+
+gUnknown_819CBD3:: @ 819CBD3
+ .incbin "baserom.gba", 0x19CBD3, 0x58
+
+gUnknown_819CC2B:: @ 819CC2B
+ .incbin "baserom.gba", 0x19CC2B, 0x97
+
+gUnknown_819CCC2:: @ 819CCC2
+ .incbin "baserom.gba", 0x19CCC2, 0x31
+
+gUnknown_819CCF3:: @ 819CCF3
+ .incbin "baserom.gba", 0x19CCF3, 0x5B
+
+gUnknown_819CD4E:: @ 819CD4E
+ .incbin "baserom.gba", 0x19CD4E, 0x8C
+
+gUnknown_819CDDA:: @ 819CDDA
+ .incbin "baserom.gba", 0x19CDDA, 0x60
+
+gUnknown_819CE3A:: @ 819CE3A
+ .incbin "baserom.gba", 0x19CE3A, 0xA5
+
+gUnknown_819CEDF:: @ 819CEDF
+ .incbin "baserom.gba", 0x19CEDF, 0x8E
+
+gUnknown_819CF6D:: @ 819CF6D
+ .incbin "baserom.gba", 0x19CF6D, 0xB2
+
+gUnknown_819D01F:: @ 819D01F
+ .incbin "baserom.gba", 0x19D01F, 0x56
+
+gUnknown_819D075:: @ 819D075
+ .incbin "baserom.gba", 0x19D075, 0x6E
+
+gUnknown_819D0E3:: @ 819D0E3
+ .incbin "baserom.gba", 0x19D0E3, 0x65
+
+gUnknown_819D148:: @ 819D148
+ .incbin "baserom.gba", 0x19D148, 0x66
+
+gUnknown_819D1AE:: @ 819D1AE
+ .incbin "baserom.gba", 0x19D1AE, 0x63
+
+gUnknown_819D211:: @ 819D211
+ .incbin "baserom.gba", 0x19D211, 0xA3
+
+gUnknown_819D2B4:: @ 819D2B4
+ .incbin "baserom.gba", 0x19D2B4, 0x6B
+
+gUnknown_819D31F:: @ 819D31F
+ .incbin "baserom.gba", 0x19D31F, 0xB3
+
+gUnknown_819D3D2:: @ 819D3D2
+ .incbin "baserom.gba", 0x19D3D2, 0xA5
+
+gUnknown_819D477:: @ 819D477
+ .incbin "baserom.gba", 0x19D477, 0xB5
+
+gUnknown_819D52C:: @ 819D52C
+ .incbin "baserom.gba", 0x19D52C, 0x5F
+
+gUnknown_819D58B:: @ 819D58B
+ .incbin "baserom.gba", 0x19D58B, 0x5C
+
+gUnknown_819D5E7:: @ 819D5E7
+ .incbin "baserom.gba", 0x19D5E7, 0x68
+
+gUnknown_819D64F:: @ 819D64F
+ .incbin "baserom.gba", 0x19D64F, 0xFF
+
+gUnknown_819D74E:: @ 819D74E
+ .incbin "baserom.gba", 0x19D74E, 0x53
+
+gUnknown_819D7A1:: @ 819D7A1
+ .incbin "baserom.gba", 0x19D7A1, 0x20
+
+gUnknown_819D7C1:: @ 819D7C1
+ .incbin "baserom.gba", 0x19D7C1, 0x5D
+
+gUnknown_819D81E:: @ 819D81E
+ .incbin "baserom.gba", 0x19D81E, 0x3E
+
+gUnknown_819D85C:: @ 819D85C
+ .incbin "baserom.gba", 0x19D85C, 0x74
+
+gUnknown_819D8D0:: @ 819D8D0
+ .incbin "baserom.gba", 0x19D8D0, 0x6B
+
+gUnknown_819D93B:: @ 819D93B
+ .incbin "baserom.gba", 0x19D93B, 0x99
+
+gUnknown_819D9D4:: @ 819D9D4
+ .incbin "baserom.gba", 0x19D9D4, 0x66
+
+gUnknown_819DA3A:: @ 819DA3A
+ .incbin "baserom.gba", 0x19DA3A, 0x60
+
+gUnknown_819DA9A:: @ 819DA9A
+ .incbin "baserom.gba", 0x19DA9A, 0x9A
+
+gUnknown_819DB34:: @ 819DB34
+ .incbin "baserom.gba", 0x19DB34, 0x9F
+
+Text_19DBD3:: @ 819DBD3
+ .incbin "baserom.gba", 0x19DBD3, 0x34
+
+gUnknown_819DC07:: @ 819DC07
+ .incbin "baserom.gba", 0x19DC07, 0x37
+
+gUnknown_819DC3E:: @ 819DC3E
+ .incbin "baserom.gba", 0x19DC3E, 0x3A
+
+gUnknown_819DC78:: @ 819DC78
+ .incbin "baserom.gba", 0x19DC78, 0x22
+
+gUnknown_819DC9A:: @ 819DC9A
+ .incbin "baserom.gba", 0x19DC9A, 0x41
+
+gUnknown_819DCDB:: @ 819DCDB
+ .incbin "baserom.gba", 0x19DCDB, 0x79
+
+gUnknown_819DD54:: @ 819DD54
+ .incbin "baserom.gba", 0x19DD54, 0x2F7
+
+gUnknown_819E04B:: @ 819E04B
+ .incbin "baserom.gba", 0x19E04B, 0x50
+
+gUnknown_819E09B:: @ 819E09B
+ .incbin "baserom.gba", 0x19E09B, 0x26
+
+gUnknown_819E0C1:: @ 819E0C1
+ .incbin "baserom.gba", 0x19E0C1, 0xAC
+
+gUnknown_819E16D:: @ 819E16D
+ .incbin "baserom.gba", 0x19E16D, 0x14
+
+gUnknown_819E181:: @ 819E181
+ .incbin "baserom.gba", 0x19E181, 0x50
+
+gUnknown_819E1D1:: @ 819E1D1
+ .incbin "baserom.gba", 0x19E1D1, 0x26
+
+gUnknown_819E1F7:: @ 819E1F7
+ .incbin "baserom.gba", 0x19E1F7, 0xAC
+
+gUnknown_819E2A3:: @ 819E2A3
+ .incbin "baserom.gba", 0x19E2A3, 0x14
+
+gUnknown_819E2B7:: @ 819E2B7
+ .incbin "baserom.gba", 0x19E2B7, 0x50
+
+gUnknown_819E307:: @ 819E307
+ .incbin "baserom.gba", 0x19E307, 0x26
+
+gUnknown_819E32D:: @ 819E32D
+ .incbin "baserom.gba", 0x19E32D, 0xAC
+
+gUnknown_819E3D9:: @ 819E3D9
+ .incbin "baserom.gba", 0x19E3D9, 0x14
+
+gUnknown_819E3ED:: @ 819E3ED
+ .incbin "baserom.gba", 0x19E3ED, 0x50
+
+gUnknown_819E43D:: @ 819E43D
+ .incbin "baserom.gba", 0x19E43D, 0x26
+
+gUnknown_819E463:: @ 819E463
+ .incbin "baserom.gba", 0x19E463, 0xAC
+
+gUnknown_819E50F:: @ 819E50F
+ .incbin "baserom.gba", 0x19E50F, 0x14
+
+gUnknown_819E523:: @ 819E523
+ .incbin "baserom.gba", 0x19E523, 0x7A
+
+gUnknown_819E59D:: @ 819E59D
+ .incbin "baserom.gba", 0x19E59D, 0x35
+
+gUnknown_819E5D2:: @ 819E5D2
+ .incbin "baserom.gba", 0x19E5D2, 0x29
+
+gUnknown_819E5FB:: @ 819E5FB
+ .incbin "baserom.gba", 0x19E5FB, 0x138
+
+gUnknown_819E733:: @ 819E733
+ .incbin "baserom.gba", 0x19E733, 0x53
+
+gUnknown_819E786:: @ 819E786
+ .incbin "baserom.gba", 0x19E786, 0x29
+
+gUnknown_819E7AF:: @ 819E7AF
+ .incbin "baserom.gba", 0x19E7AF, 0xF7
+
+gUnknown_819E8A6:: @ 819E8A6
+ .incbin "baserom.gba", 0x19E8A6, 0xD5
+
+gUnknown_819E97B:: @ 819E97B
+ .incbin "baserom.gba", 0x19E97B, 0x6A
+
+gUnknown_819E9E5:: @ 819E9E5
+ .incbin "baserom.gba", 0x19E9E5, 0xFF
+
+gUnknown_819EAE4:: @ 819EAE4
+ .incbin "baserom.gba", 0x19EAE4, 0x53
+
+gUnknown_819EB37:: @ 819EB37
+ .incbin "baserom.gba", 0x19EB37, 0x22
+
+gUnknown_819EB59:: @ 819EB59
+ .incbin "baserom.gba", 0x19EB59, 0x131
+
+gUnknown_819EC8A:: @ 819EC8A
+ .incbin "baserom.gba", 0x19EC8A, 0x4F
+
+gUnknown_819ECD9:: @ 819ECD9
+ .incbin "baserom.gba", 0x19ECD9, 0x46
+
+gUnknown_819ED1F:: @ 819ED1F
+ .incbin "baserom.gba", 0x19ED1F, 0x88
+
+gUnknown_819EDA7:: @ 819EDA7
+ .incbin "baserom.gba", 0x19EDA7, 0x3A
+
+gUnknown_819EDE1:: @ 819EDE1
+ .incbin "baserom.gba", 0x19EDE1, 0x5F
+
+gUnknown_819EE40:: @ 819EE40
+ .incbin "baserom.gba", 0x19EE40, 0x5F
+
+gUnknown_819EE9F:: @ 819EE9F
+ .incbin "baserom.gba", 0x19EE9F, 0x27
+
+gUnknown_819EEC6:: @ 819EEC6
+ .incbin "baserom.gba", 0x19EEC6, 0x79
+
+gUnknown_819EF3F:: @ 819EF3F
+ .incbin "baserom.gba", 0x19EF3F, 0x1E
+
+gUnknown_819EF5D:: @ 819EF5D
+ .incbin "baserom.gba", 0x19EF5D, 0x43
+
+gUnknown_819EFA0:: @ 819EFA0
+ .incbin "baserom.gba", 0x19EFA0, 0x40
+
+gUnknown_819EFE0:: @ 819EFE0
+ .incbin "baserom.gba", 0x19EFE0, 0x7B
+
+gUnknown_819F05B:: @ 819F05B
+ .incbin "baserom.gba", 0x19F05B, 0x57
+
+gUnknown_819F0B2:: @ 819F0B2
+ .incbin "baserom.gba", 0x19F0B2, 0x39
+
+gUnknown_819F0EB:: @ 819F0EB
+ .incbin "baserom.gba", 0x19F0EB, 0x10F
+
+gUnknown_819F1FA:: @ 819F1FA
+ .incbin "baserom.gba", 0x19F1FA, 0x1D
+
+gUnknown_819F217:: @ 819F217
+ .incbin "baserom.gba", 0x19F217, 0xC4
+
+gUnknown_819F2DB:: @ 819F2DB
+ .incbin "baserom.gba", 0x19F2DB, 0x40
+
+gUnknown_819F31B:: @ 819F31B
+ .incbin "baserom.gba", 0x19F31B, 0x7A
+
+gUnknown_819F395:: @ 819F395
+ .incbin "baserom.gba", 0x19F395, 0x36
+
+gUnknown_819F3CB:: @ 819F3CB
+ .incbin "baserom.gba", 0x19F3CB, 0x3F
+
+gUnknown_819F40A:: @ 819F40A
+ .incbin "baserom.gba", 0x19F40A, 0x5E
+
+gUnknown_819F468:: @ 819F468
+ .incbin "baserom.gba", 0x19F468, 0x2C
+
+gUnknown_819F494:: @ 819F494
+ .incbin "baserom.gba", 0x19F494, 0x3B
+
+gUnknown_819F4CF:: @ 819F4CF
+ .incbin "baserom.gba", 0x19F4CF, 0x3D
+
+gUnknown_819F50C:: @ 819F50C
+ .incbin "baserom.gba", 0x19F50C, 0x54
+
+gUnknown_819F560:: @ 819F560
+ .incbin "baserom.gba", 0x19F560, 0x4B
+
+gUnknown_819F5AB:: @ 819F5AB
+ .incbin "baserom.gba", 0x19F5AB, 0xFF
+
+gUnknown_819F6AA:: @ 819F6AA
+ .incbin "baserom.gba", 0x19F6AA, 0x53
+
+gUnknown_819F6FD:: @ 819F6FD
+ .incbin "baserom.gba", 0x19F6FD, 0x22
+
+gUnknown_819F71F:: @ 819F71F
+ .incbin "baserom.gba", 0x19F71F, 0x7D
+
+gUnknown_819F79C:: @ 819F79C
+ .incbin "baserom.gba", 0x19F79C, 0x5C
+
+gUnknown_819F7F8:: @ 819F7F8
+ .incbin "baserom.gba", 0x19F7F8, 0x59
+
+gUnknown_819F851:: @ 819F851
+ .incbin "baserom.gba", 0x19F851, 0x6F
+
+gUnknown_819F8C0:: @ 819F8C0
+ .incbin "baserom.gba", 0x19F8C0, 0x20
+
+gUnknown_819F8E0:: @ 819F8E0
+ .incbin "baserom.gba", 0x19F8E0, 0x4D
+
+gUnknown_819F92D:: @ 819F92D
+ .incbin "baserom.gba", 0x19F92D, 0x22
+
+gUnknown_819F94F:: @ 819F94F
+ .incbin "baserom.gba", 0x19F94F, 0x10
+
+gUnknown_819F95F:: @ 819F95F
+ .incbin "baserom.gba", 0x19F95F, 0x2C
+
+gUnknown_819F98B:: @ 819F98B
+ .incbin "baserom.gba", 0x19F98B, 0x41
+
+gUnknown_819F9CC:: @ 819F9CC
+ .incbin "baserom.gba", 0x19F9CC, 0x1C
+
+gUnknown_819F9E8:: @ 819F9E8
+ .incbin "baserom.gba", 0x19F9E8, 0x1F
+
+gUnknown_819FA07:: @ 819FA07
+ .incbin "baserom.gba", 0x19FA07, 0x3A
+
+gUnknown_819FA41:: @ 819FA41
+ .incbin "baserom.gba", 0x19FA41, 0x2E
+
+gUnknown_819FA6F:: @ 819FA6F
+ .incbin "baserom.gba", 0x19FA6F, 0x4A
+
+gUnknown_819FAB9:: @ 819FAB9
+ .incbin "baserom.gba", 0x19FAB9, 0x55
+
+gUnknown_819FB0E:: @ 819FB0E
+ .incbin "baserom.gba", 0x19FB0E, 0x107
+
+gUnknown_819FC15:: @ 819FC15
+ .incbin "baserom.gba", 0x19FC15, 0x53
+
+gUnknown_819FC68:: @ 819FC68
+ .incbin "baserom.gba", 0x19FC68, 0x2B
+
+gUnknown_819FC93:: @ 819FC93
+ .incbin "baserom.gba", 0x19FC93, 0x79
+
+gUnknown_819FD0C:: @ 819FD0C
+ .incbin "baserom.gba", 0x19FD0C, 0x2E
+
+gUnknown_819FD3A:: @ 819FD3A
+ .incbin "baserom.gba", 0x19FD3A, 0x26
+
+gUnknown_819FD60:: @ 819FD60
+ .incbin "baserom.gba", 0x19FD60, 0xB
+
+gUnknown_819FD6B:: @ 819FD6B
+ .incbin "baserom.gba", 0x19FD6B, 0x48
+
+gUnknown_819FDB3:: @ 819FDB3
+ .incbin "baserom.gba", 0x19FDB3, 0x47
+
+gUnknown_819FDFA:: @ 819FDFA
+ .incbin "baserom.gba", 0x19FDFA, 0xEC
+
+gUnknown_819FEE6:: @ 819FEE6
+ .incbin "baserom.gba", 0x19FEE6, 0xED
+
+gUnknown_819FFD3:: @ 819FFD3
+ .incbin "baserom.gba", 0x19FFD3, 0x62
+
+gUnknown_81A0035:: @ 81A0035
+ .incbin "baserom.gba", 0x1A0035, 0x81
+
+gUnknown_81A00B6:: @ 81A00B6
+ .incbin "baserom.gba", 0x1A00B6, 0x85
+
+gUnknown_81A013B:: @ 81A013B
+ .incbin "baserom.gba", 0x1A013B, 0xA9
+
+gUnknown_81A01E4:: @ 81A01E4
+ .incbin "baserom.gba", 0x1A01E4, 0xAA
+
+gUnknown_81A028E:: @ 81A028E
+ .incbin "baserom.gba", 0x1A028E, 0x26
+
+gUnknown_81A02B4:: @ 81A02B4
+ .incbin "baserom.gba", 0x1A02B4, 0x1B
+
+gUnknown_81A02CF:: @ 81A02CF
+ .incbin "baserom.gba", 0x1A02CF, 0xDC
+
+gUnknown_81A03AB:: @ 81A03AB
+ .incbin "baserom.gba", 0x1A03AB, 0x57
+
+gUnknown_81A0402:: @ 81A0402
+ .incbin "baserom.gba", 0x1A0402, 0x2B
+
+gUnknown_81A042D:: @ 81A042D
+ .incbin "baserom.gba", 0x1A042D, 0x2E
+
+gUnknown_81A045B:: @ 81A045B
+ .incbin "baserom.gba", 0x1A045B, 0x1E
+
+Text_1A0479:: @ 81A0479
+ .incbin "baserom.gba", 0x1A0479, 0x22
+
+gUnknown_81A049B:: @ 81A049B
+ .incbin "baserom.gba", 0x1A049B, 0xCC
+
+gUnknown_81A0567:: @ 81A0567
+ .incbin "baserom.gba", 0x1A0567, 0x31
+
+gUnknown_81A0598:: @ 81A0598
+ .incbin "baserom.gba", 0x1A0598, 0xB6
+
+gUnknown_81A064E:: @ 81A064E
+ .incbin "baserom.gba", 0x1A064E, 0x5D
+
+gUnknown_81A06AB:: @ 81A06AB
+ .incbin "baserom.gba", 0x1A06AB, 0xDD
+
+gUnknown_81A0788:: @ 81A0788
+ .incbin "baserom.gba", 0x1A0788, 0x3C
+
+gUnknown_81A07C4:: @ 81A07C4
+ .incbin "baserom.gba", 0x1A07C4, 0x28
+
+gUnknown_81A07EC:: @ 81A07EC
+ .incbin "baserom.gba", 0x1A07EC, 0x1B
+
+gUnknown_81A0807:: @ 81A0807
+ .incbin "baserom.gba", 0x1A0807, 0x85
+
+gUnknown_81A088C:: @ 81A088C
+ .incbin "baserom.gba", 0x1A088C, 0xE5
+
+gUnknown_81A0971:: @ 81A0971
+ .incbin "baserom.gba", 0x1A0971, 0xDE
+
+gUnknown_81A0A4F:: @ 81A0A4F
+ .incbin "baserom.gba", 0x1A0A4F, 0x7D
+
+gUnknown_81A0ACC:: @ 81A0ACC
+ .incbin "baserom.gba", 0x1A0ACC, 0x3D
+
+gUnknown_81A0B09:: @ 81A0B09
+ .incbin "baserom.gba", 0x1A0B09, 0x8F
+
+gUnknown_81A0B98:: @ 81A0B98
+ .incbin "baserom.gba", 0x1A0B98, 0x87
+
+gUnknown_81A0C1F:: @ 81A0C1F
+ .incbin "baserom.gba", 0x1A0C1F, 0x86
+
+gUnknown_81A0CA5:: @ 81A0CA5
+ .incbin "baserom.gba", 0x1A0CA5, 0x39
+
+gUnknown_81A0CDE:: @ 81A0CDE
+ .incbin "baserom.gba", 0x1A0CDE, 0x19
+
+gUnknown_81A0CF7:: @ 81A0CF7
+ .incbin "baserom.gba", 0x1A0CF7, 0x30
+
+gUnknown_81A0D27:: @ 81A0D27
+ .incbin "baserom.gba", 0x1A0D27, 0x4B
+
+gUnknown_81A0D72:: @ 81A0D72
+ .incbin "baserom.gba", 0x1A0D72, 0x3A
+
+gUnknown_81A0DAC:: @ 81A0DAC
+ .incbin "baserom.gba", 0x1A0DAC, 0x3C
+
+gUnknown_81A0DE8:: @ 81A0DE8
+ .incbin "baserom.gba", 0x1A0DE8, 0x2F
+
+gUnknown_81A0E17:: @ 81A0E17
+ .incbin "baserom.gba", 0x1A0E17, 0x79
+
+gUnknown_81A0E90:: @ 81A0E90
+ .incbin "baserom.gba", 0x1A0E90, 0x3C
+
+gUnknown_81A0ECC:: @ 81A0ECC
+ .incbin "baserom.gba", 0x1A0ECC, 0x74
+
+gUnknown_81A0F40:: @ 81A0F40
+ .incbin "baserom.gba", 0x1A0F40, 0x71
+
+gUnknown_81A0FB1:: @ 81A0FB1
+ .incbin "baserom.gba", 0x1A0FB1, 0x13D
+
+gUnknown_81A10EE:: @ 81A10EE
+ .incbin "baserom.gba", 0x1A10EE, 0x25
+
+gUnknown_81A1113:: @ 81A1113
+ .incbin "baserom.gba", 0x1A1113, 0x3D
+
+gUnknown_81A1150:: @ 81A1150
+ .incbin "baserom.gba", 0x1A1150, 0x9C
+
+Text_1A11EC:: @ 81A11EC
+ .incbin "baserom.gba", 0x1A11EC, 0x2C
+
+gUnknown_81A1218:: @ 81A1218
+ .incbin "baserom.gba", 0x1A1218, 0x18
+
+gUnknown_81A1230:: @ 81A1230
+ .incbin "baserom.gba", 0x1A1230, 0x36
+
+gUnknown_81A1266:: @ 81A1266
+ .incbin "baserom.gba", 0x1A1266, 0x26
+
+gUnknown_81A128C:: @ 81A128C
+ .incbin "baserom.gba", 0x1A128C, 0x95
+
+gUnknown_81A1321:: @ 81A1321
+ .incbin "baserom.gba", 0x1A1321, 0x97
+
+gUnknown_81A13B8:: @ 81A13B8
+ .incbin "baserom.gba", 0x1A13B8, 0x13
+
+gUnknown_81A13CB:: @ 81A13CB
+ .incbin "baserom.gba", 0x1A13CB, 0x66
+
+gUnknown_81A1431:: @ 81A1431
+ .incbin "baserom.gba", 0x1A1431, 0x3F
+
+gUnknown_81A1470:: @ 81A1470
+ .incbin "baserom.gba", 0x1A1470, 0x71
+
+gUnknown_81A14E1:: @ 81A14E1
+ .incbin "baserom.gba", 0x1A14E1, 0x1A
+
+gUnknown_81A14FB:: @ 81A14FB
+ .incbin "baserom.gba", 0x1A14FB, 0x79
+
+gUnknown_81A1574:: @ 81A1574
+ .incbin "baserom.gba", 0x1A1574, 0x78
+
+gUnknown_81A15EC:: @ 81A15EC
+ .incbin "baserom.gba", 0x1A15EC, 0xAF
+
+gUnknown_81A169B:: @ 81A169B
+ .incbin "baserom.gba", 0x1A169B, 0x88
+
+gUnknown_81A1723:: @ 81A1723
+ .incbin "baserom.gba", 0x1A1723, 0xBC
+
+gUnknown_81A17DF:: @ 81A17DF
+ .incbin "baserom.gba", 0x1A17DF, 0xB7
+
+gUnknown_81A1896:: @ 81A1896
+ .incbin "baserom.gba", 0x1A1896, 0xE8
+
+gUnknown_81A197E:: @ 81A197E
+ .incbin "baserom.gba", 0x1A197E, 0xF
+
+Text_1A198D:: @ 81A198D
+ .incbin "baserom.gba", 0x1A198D, 0x1D
+
+gUnknown_81A19AA:: @ 81A19AA
+ .incbin "baserom.gba", 0x1A19AA, 0x5E
+
+gUnknown_81A1A08:: @ 81A1A08
+ .incbin "baserom.gba", 0x1A1A08, 0x37
+
+gUnknown_81A1A3F:: @ 81A1A3F
+ .incbin "baserom.gba", 0x1A1A3F, 0x117
+
+Text_1A1B56:: @ 81A1B56
+ .incbin "baserom.gba", 0x1A1B56, 0x38
+
+Text_1A1B8E:: @ 81A1B8E
+ .incbin "baserom.gba", 0x1A1B8E, 0x29
+
+gUnknown_81A1BB7:: @ 81A1BB7
+ .incbin "baserom.gba", 0x1A1BB7, 0x76
+
+Text_1A1C2D:: @ 81A1C2D
+ .incbin "baserom.gba", 0x1A1C2D, 0x21
+
+gUnknown_81A1C4E:: @ 81A1C4E
+ .incbin "baserom.gba", 0x1A1C4E, 0xF7
+
+gUnknown_81A1D45:: @ 81A1D45
+ .incbin "baserom.gba", 0x1A1D45, 0x14
+
+gUnknown_81A1D59:: @ 81A1D59
+ .incbin "baserom.gba", 0x1A1D59, 0x24
+
+gUnknown_81A1D7D:: @ 81A1D7D
+ .incbin "baserom.gba", 0x1A1D7D, 0xBC
+
+gUnknown_81A1E39:: @ 81A1E39
+ .incbin "baserom.gba", 0x1A1E39, 0x84
+
+gUnknown_81A1EBD:: @ 81A1EBD
+ .incbin "baserom.gba", 0x1A1EBD, 0x36
+
+gUnknown_81A1EF3:: @ 81A1EF3
+ .incbin "baserom.gba", 0x1A1EF3, 0x89
+
+gUnknown_81A1F7C:: @ 81A1F7C
+ .incbin "baserom.gba", 0x1A1F7C, 0xFA
+
+gUnknown_81A2076:: @ 81A2076
+ .incbin "baserom.gba", 0x1A2076, 0x5F
+
+gUnknown_81A20D5:: @ 81A20D5
+ .incbin "baserom.gba", 0x1A20D5, 0x58
+
+gUnknown_81A212D:: @ 81A212D
+ .incbin "baserom.gba", 0x1A212D, 0x60
+
+gUnknown_81A218D:: @ 81A218D
+ .incbin "baserom.gba", 0x1A218D, 0x43
+
+gUnknown_81A21D0:: @ 81A21D0
+ .incbin "baserom.gba", 0x1A21D0, 0x6F
+
+gUnknown_81A223F:: @ 81A223F
+ .incbin "baserom.gba", 0x1A223F, 0x47
+
+gUnknown_81A2286:: @ 81A2286
+ .incbin "baserom.gba", 0x1A2286, 0x45
+
+gUnknown_81A22CB:: @ 81A22CB
+ .incbin "baserom.gba", 0x1A22CB, 0x50
+
+gUnknown_81A231B:: @ 81A231B
+ .incbin "baserom.gba", 0x1A231B, 0x17
+
+gUnknown_81A2332:: @ 81A2332
+ .incbin "baserom.gba", 0x1A2332, 0x4E
+
+gUnknown_81A2380:: @ 81A2380
+ .incbin "baserom.gba", 0x1A2380, 0x38
+
+gUnknown_81A23B8:: @ 81A23B8
+ .incbin "baserom.gba", 0x1A23B8, 0x50
+
+gUnknown_81A2408:: @ 81A2408
+ .incbin "baserom.gba", 0x1A2408, 0x5D
+
+gUnknown_81A2465:: @ 81A2465
+ .incbin "baserom.gba", 0x1A2465, 0x135
+
+gUnknown_81A259A:: @ 81A259A
+ .incbin "baserom.gba", 0x1A259A, 0xBE
+
+gUnknown_81A2658:: @ 81A2658
+ .incbin "baserom.gba", 0x1A2658, 0x7D
+
+gUnknown_81A26D5:: @ 81A26D5
+ .incbin "baserom.gba", 0x1A26D5, 0x37
+
+gUnknown_81A270C:: @ 81A270C
+ .incbin "baserom.gba", 0x1A270C, 0x37
+
+gUnknown_81A2743:: @ 81A2743
+ .incbin "baserom.gba", 0x1A2743, 0x119
+
+gUnknown_81A285C:: @ 81A285C
+ .incbin "baserom.gba", 0x1A285C, 0x2E
+
+gUnknown_81A288A:: @ 81A288A
+ .incbin "baserom.gba", 0x1A288A, 0x28
+
+gUnknown_81A28B2:: @ 81A28B2
+ .incbin "baserom.gba", 0x1A28B2, 0x7F
+
+gUnknown_81A2931:: @ 81A2931
+ .incbin "baserom.gba", 0x1A2931, 0x39
+
+gUnknown_81A296A:: @ 81A296A
+ .incbin "baserom.gba", 0x1A296A, 0x8D
+
+Text_1A29F7:: @ 81A29F7
+ .incbin "baserom.gba", 0x1A29F7, 0x2D
+
+gUnknown_81A2A24:: @ 81A2A24
+ .incbin "baserom.gba", 0x1A2A24, 0x76
+
+gUnknown_81A2A9A:: @ 81A2A9A
+ .incbin "baserom.gba", 0x1A2A9A, 0x30
+
+gUnknown_81A2ACA:: @ 81A2ACA
+ .incbin "baserom.gba", 0x1A2ACA, 0x2B
+
+gUnknown_81A2AF5:: @ 81A2AF5
+ .incbin "baserom.gba", 0x1A2AF5, 0x5E
+
+gUnknown_81A2B53:: @ 81A2B53
+ .incbin "baserom.gba", 0x1A2B53, 0x35
+
+gUnknown_81A2B88:: @ 81A2B88
+ .incbin "baserom.gba", 0x1A2B88, 0xDB
+
+gUnknown_81A2C63:: @ 81A2C63
+ .incbin "baserom.gba", 0x1A2C63, 0x60
+
+gUnknown_81A2CC3:: @ 81A2CC3
+ .incbin "baserom.gba", 0x1A2CC3, 0x1E
+
+gUnknown_81A2CE1:: @ 81A2CE1
+ .incbin "baserom.gba", 0x1A2CE1, 0x1B
+
+gUnknown_81A2CFC:: @ 81A2CFC
+ .incbin "baserom.gba", 0x1A2CFC, 0x47
+
+Text_1A2D43:: @ 81A2D43
+ .incbin "baserom.gba", 0x1A2D43, 0x42
+
+gUnknown_81A2D85:: @ 81A2D85
+ .incbin "baserom.gba", 0x1A2D85, 0x2E
+
+gUnknown_81A2DB3:: @ 81A2DB3
+ .incbin "baserom.gba", 0x1A2DB3, 0x2D
+
+gUnknown_81A2DE0:: @ 81A2DE0
+ .incbin "baserom.gba", 0x1A2DE0, 0x40
+
+gUnknown_81A2E20:: @ 81A2E20
+ .incbin "baserom.gba", 0x1A2E20, 0x39
+
+gUnknown_81A2E59:: @ 81A2E59
+ .incbin "baserom.gba", 0x1A2E59, 0x65
+
+gUnknown_81A2EBE:: @ 81A2EBE
+ .incbin "baserom.gba", 0x1A2EBE, 0x80
+
+gUnknown_81A2F3E:: @ 81A2F3E
+ .incbin "baserom.gba", 0x1A2F3E, 0x54
+
+gUnknown_81A2F92:: @ 81A2F92
+ .incbin "baserom.gba", 0x1A2F92, 0x23
+
+gUnknown_81A2FB5:: @ 81A2FB5
+ .incbin "baserom.gba", 0x1A2FB5, 0x86
+
+gUnknown_81A303B:: @ 81A303B
+ .incbin "baserom.gba", 0x1A303B, 0x68
+
+gUnknown_81A30A3:: @ 81A30A3
+ .incbin "baserom.gba", 0x1A30A3, 0x71
+
+gUnknown_81A3114:: @ 81A3114
+ .incbin "baserom.gba", 0x1A3114, 0x48
+
+gUnknown_81A315C:: @ 81A315C
+ .incbin "baserom.gba", 0x1A315C, 0x94
+
+gUnknown_81A31F0:: @ 81A31F0
+ .incbin "baserom.gba", 0x1A31F0, 0x55
+
+gUnknown_81A3245:: @ 81A3245
+ .incbin "baserom.gba", 0x1A3245, 0x85
+
+gUnknown_81A32CA:: @ 81A32CA
+ .incbin "baserom.gba", 0x1A32CA, 0xAF
+
+gUnknown_81A3379:: @ 81A3379
+ .incbin "baserom.gba", 0x1A3379, 0x62
+
+gUnknown_81A33DB:: @ 81A33DB
+ .incbin "baserom.gba", 0x1A33DB, 0x54
+
+gUnknown_81A342F:: @ 81A342F
+ .incbin "baserom.gba", 0x1A342F, 0x3A
+
+gUnknown_81A3469:: @ 81A3469
+ .incbin "baserom.gba", 0x1A3469, 0x72
+
+gUnknown_81A34DB:: @ 81A34DB
+ .incbin "baserom.gba", 0x1A34DB, 0x14C
+
+gUnknown_81A3627:: @ 81A3627
+ .incbin "baserom.gba", 0x1A3627, 0x70
+
+gUnknown_81A3697:: @ 81A3697
+ .incbin "baserom.gba", 0x1A3697, 0x9D
+
+gUnknown_81A3734:: @ 81A3734
+ .incbin "baserom.gba", 0x1A3734, 0xCE
+
+gUnknown_81A3802:: @ 81A3802
+ .incbin "baserom.gba", 0x1A3802, 0x24
+
+gUnknown_81A3826:: @ 81A3826
+ .incbin "baserom.gba", 0x1A3826, 0xE6
+
+gUnknown_81A390C:: @ 81A390C
+ .incbin "baserom.gba", 0x1A390C, 0xCC
+
+gUnknown_81A39D8:: @ 81A39D8
+ .incbin "baserom.gba", 0x1A39D8, 0x6A
+
+gUnknown_81A3A42:: @ 81A3A42
+ .incbin "baserom.gba", 0x1A3A42, 0xD2
+
+gUnknown_81A3B14:: @ 81A3B14
+ .incbin "baserom.gba", 0x1A3B14, 0xA6
+
+gUnknown_81A3BBA:: @ 81A3BBA
+ .incbin "baserom.gba", 0x1A3BBA, 0x43
+
+gUnknown_81A3BFD:: @ 81A3BFD
+ .incbin "baserom.gba", 0x1A3BFD, 0xAF
+
+gUnknown_81A3CAC:: @ 81A3CAC
+ .incbin "baserom.gba", 0x1A3CAC, 0xB2
+
+gUnknown_81A3D5E:: @ 81A3D5E
+ .incbin "baserom.gba", 0x1A3D5E, 0xA4
+
+gUnknown_81A3E02:: @ 81A3E02
+ .incbin "baserom.gba", 0x1A3E02, 0x85
+
+gUnknown_81A3E87:: @ 81A3E87
+ .incbin "baserom.gba", 0x1A3E87, 0xA9
+
+gUnknown_81A3F30:: @ 81A3F30
+ .incbin "baserom.gba", 0x1A3F30, 0x1FE
+
+gUnknown_81A412E:: @ 81A412E
+ .incbin "baserom.gba", 0x1A412E, 0x143
+
+gUnknown_81A4271:: @ 81A4271
+ .incbin "baserom.gba", 0x1A4271, 0x2F
+
+gUnknown_81A42A0:: @ 81A42A0
+ .incbin "baserom.gba", 0x1A42A0, 0x75
+
+gUnknown_81A4315:: @ 81A4315
+ .incbin "baserom.gba", 0x1A4315, 0x65
+
+gUnknown_81A437A:: @ 81A437A
+ .incbin "baserom.gba", 0x1A437A, 0x7D
+
+gUnknown_81A43F7:: @ 81A43F7
+ .incbin "baserom.gba", 0x1A43F7, 0x114
+
+gUnknown_81A450B:: @ 81A450B
+ .incbin "baserom.gba", 0x1A450B, 0x16
+
+gUnknown_81A4521:: @ 81A4521
+ .incbin "baserom.gba", 0x1A4521, 0x45
+
+gUnknown_81A4566:: @ 81A4566
+ .incbin "baserom.gba", 0x1A4566, 0x28
+
+gUnknown_81A458E:: @ 81A458E
+ .incbin "baserom.gba", 0x1A458E, 0x5A
+
+gUnknown_81A45E8:: @ 81A45E8
+ .incbin "baserom.gba", 0x1A45E8, 0x33
+
+gUnknown_81A461B:: @ 81A461B
+ .incbin "baserom.gba", 0x1A461B, 0x17
+
+gUnknown_81A4632:: @ 81A4632
+ .incbin "baserom.gba", 0x1A4632, 0x25
+
+gUnknown_81A4657:: @ 81A4657
+ .incbin "baserom.gba", 0x1A4657, 0x392
+
+gUnknown_81A49E9:: @ 81A49E9
+ .incbin "baserom.gba", 0x1A49E9, 0x56
+
+gUnknown_81A4A3F:: @ 81A4A3F
+ .incbin "baserom.gba", 0x1A4A3F, 0x49
+
+gUnknown_81A4A88:: @ 81A4A88
+ .incbin "baserom.gba", 0x1A4A88, 0x51
+
+gUnknown_81A4AD9:: @ 81A4AD9
+ .incbin "baserom.gba", 0x1A4AD9, 0x60
+
+gUnknown_81A4B39:: @ 81A4B39
+ .incbin "baserom.gba", 0x1A4B39, 0x41
+
+gUnknown_81A4B7A:: @ 81A4B7A
+ .incbin "baserom.gba", 0x1A4B7A, 0x75
+
+gUnknown_81A4BEF:: @ 81A4BEF
+ .incbin "baserom.gba", 0x1A4BEF, 0x58
+
+gUnknown_81A4C47:: @ 81A4C47
+ .incbin "baserom.gba", 0x1A4C47, 0x27
+
+gUnknown_81A4C6E:: @ 81A4C6E
+ .incbin "baserom.gba", 0x1A4C6E, 0x4B
+
+gUnknown_81A4CB9:: @ 81A4CB9
+ .incbin "baserom.gba", 0x1A4CB9, 0x54
+
+gUnknown_81A4D0D:: @ 81A4D0D
+ .incbin "baserom.gba", 0x1A4D0D, 0x65
+
+gUnknown_81A4D72:: @ 81A4D72
+ .incbin "baserom.gba", 0x1A4D72, 0x3D
+
+gUnknown_81A4DAF:: @ 81A4DAF
+ .incbin "baserom.gba", 0x1A4DAF, 0x19
+
+gUnknown_81A4DC8:: @ 81A4DC8
+ .incbin "baserom.gba", 0x1A4DC8, 0x10
+
+gUnknown_81A4DD8:: @ 81A4DD8
+ .incbin "baserom.gba", 0x1A4DD8, 0x1D
+
+gUnknown_81A4DF5:: @ 81A4DF5
+ .incbin "baserom.gba", 0x1A4DF5, 0x31
+
+gUnknown_81A4E26:: @ 81A4E26
+ .incbin "baserom.gba", 0x1A4E26, 0x19
+
+gStdScript_81A4E3F:: @ 81A4E3F
+ lock
+ faceplayer
+ message 0x0
+ waitmessage
+ waitbuttonpress
+ release
+ return
+
+gStdScript_81A4E4A:: @ 81A4E4A
+ lockall
+ message 0x0
+ waitmessage
+ waitbuttonpress
+ releaseall
+ return
+
+gStdScript_81A4E54:: @ 81A4E54
+ message 0x0
+ waitmessage
+ waitbuttonpress
+ return
+
+gStdScript_81A4E5C:: @ 81A4E5C
+ message 0x0
+ waitmessage
+ yesnobox 20, 8
+ return
+
+gStdScript_81A4E66:: @ 81A4E66
+ textcolor 3
+ compare_var_to_value VAR_0x8002, 257
+ call_if 1, EventScript_1A4EA2
+ compare_var_to_value VAR_0x8002, 318
+ call_if 1, EventScript_1A4EA6
+ message 0x0
+ waitmessage
+ waitfanfare
+ compare_var_to_value VAR_0x8002, 257
+ call_if 1, EventScript_1A4EAA
+ setorcopyvar VAR_0x8000, VAR_0x8000
+ setorcopyvar VAR_0x8001, VAR_0x8001
+ callstd 8
+ call EventScript_1A6675
+ return
+
+EventScript_1A4EA2:: @ 81A4EA2
+ playfanfare MUS_FANFA1
+ return
+
+EventScript_1A4EA6:: @ 81A4EA6
+ playfanfare BGM_FRLG_ME_KEYITEM
+ return
+
+EventScript_1A4EAA:: @ 81A4EAA
+ delay 50
+ return
+
+EventScript_1A4EAE:: @ 81A4EAE
+ return
+
+@ *****************************
+@
+@ event scripts mixed with text
+@
+@ *****************************
+
+EventScript_1A4EAF:: @ 81A4EAF
+ .incbin "baserom.gba", 0x1A4EAF, 0x5
+
+gUnknown_81A4EB4:: @ 81A4EB4
+ .incbin "baserom.gba", 0x1A4EB4, 0xD
+
+gUnknown_81A4EC1:: @ 81A4EC1
+ .incbin "baserom.gba", 0x1A4EC1, 0x28
+
+gUnknown_81A4EE9:: @ 81A4EE9
+ .incbin "baserom.gba", 0x1A4EE9, 0x38
+
+gUnknown_81A4F21:: @ 81A4F21
+ .incbin "baserom.gba", 0x1A4F21, 0x1D
+
+gUnknown_81A4F3E:: @ 81A4F3E
+ .incbin "baserom.gba", 0x1A4F3E, 0x35
+
+gUnknown_81A4F73:: @ 81A4F73
+ .incbin "baserom.gba", 0x1A4F73, 0xAC
+
+gStdScript_81A501F:: @ 81A501F
+ message 0x0
+ waitmessage
+ waitbuttonpress
+ release
+ return
+
+gUnknown_81A5028:: @ 81A5028
+ .incbin "baserom.gba", 0x1A5028, 0x62
+
+gUnknown_81A508A:: @ 81A508A
+ .incbin "baserom.gba", 0x1A508A, 0x106
+
+gUnknown_81A5190:: @ 81A5190
+ .incbin "baserom.gba", 0x1A5190, 0x66
+
+Text_1A51F6:: @ 81A51F6
+ .incbin "baserom.gba", 0x1A51F6, 0x11
+
+gUnknown_81A5207:: @ 81A5207
+ .incbin "baserom.gba", 0x1A5207, 0x11
+
+gUnknown_81A5218:: @ 81A5218
+ .incbin "baserom.gba", 0x1A5218, 0x19
+
+Text_1A5231:: @ 81A5231
+ .incbin "baserom.gba", 0x1A5231, 0x11
+
+gUnknown_81A5242:: @ 81A5242
+ .incbin "baserom.gba", 0x1A5242, 0xAE
+
+Text_1A52F0:: @ 81A52F0
+ .incbin "baserom.gba", 0x1A52F0, 0x3F
+
+gUnknown_81A532F:: @ 81A532F
+ .incbin "baserom.gba", 0x1A532F, 0x2D
+
+Text_1A535C:: @ 81A535C
+ .incbin "baserom.gba", 0x1A535C, 0xC4
+
+gUnknown_81A5420:: @ 81A5420
+ .incbin "baserom.gba", 0x1A5420, 0x56
+
+gUnknown_81A5476:: @ 81A5476
+ .incbin "baserom.gba", 0x1A5476, 0x231
+
+gUnknown_81A56A7:: @ 81A56A7
+ .incbin "baserom.gba", 0x1A56A7, 0x2D4
+
+gUnknown_81A597B:: @ 81A597B
+ .incbin "baserom.gba", 0x1A597B, 0x3B
+
+gUnknown_81A59B6:: @ 81A59B6
+ .incbin "baserom.gba", 0x1A59B6, 0x10
+
+gUnknown_81A59C6:: @ 81A59C6
+ .incbin "baserom.gba", 0x1A59C6, 0x14
+
+gUnknown_81A59DA:: @ 81A59DA
+ .incbin "baserom.gba", 0x1A59DA, 0xD
+
+gUnknown_81A59E7:: @ 81A59E7
+ .incbin "baserom.gba", 0x1A59E7, 0x17
+
+gUnknown_81A59FE:: @ 81A59FE
+ .incbin "baserom.gba", 0x1A59FE, 0x50
+
+gUnknown_81A5A4E:: @ 81A5A4E
+ .incbin "baserom.gba", 0x1A5A4E, 0x1C
+
+gUnknown_81A5A6A:: @ 81A5A6A
+ .incbin "baserom.gba", 0x1A5A6A, 0x33
+
+gUnknown_81A5A9D:: @ 81A5A9D
+ .incbin "baserom.gba", 0x1A5A9D, 0x8
+
+gUnknown_81A5AA5:: @ 81A5AA5
+ .incbin "baserom.gba", 0x1A5AA5, 0x31
+
+gUnknown_81A5AD6:: @ 81A5AD6
+ .incbin "baserom.gba", 0x1A5AD6, 0x32
+
+gUnknown_81A5B08:: @ 81A5B08
+ .incbin "baserom.gba", 0x1A5B08, 0x10
+
+gUnknown_81A5B18:: @ 81A5B18
+ .incbin "baserom.gba", 0x1A5B18, 0x32
+
+gUnknown_81A5B4A:: @ 81A5B4A
+ .incbin "baserom.gba", 0x1A5B4A, 0x16
+
+gUnknown_81A5B60:: @ 81A5B60
+ .incbin "baserom.gba", 0x1A5B60, 0x291
+
+Text_1A5DF1:: @ 81A5DF1
+ .incbin "baserom.gba", 0x1A5DF1, 0x40
+
+gUnknown_81A5E31:: @ 81A5E31
+ .incbin "baserom.gba", 0x1A5E31, 0x3E0
+
+Text_1A6211:: @ 81A6211
+ .incbin "baserom.gba", 0x1A6211, 0x1D7
+
+Text_1A63E8:: @ 81A63E8
+ .incbin "baserom.gba", 0x1A63E8, 0x60
+
+Text_1A6448:: @ 81A6448
+ .incbin "baserom.gba", 0x1A6448, 0x39
+
+gUnknown_81A6481:: @ 81A6481
+ .incbin "baserom.gba", 0x1A6481, 0x99
+
+EventScript_1A651A:: @ 81A651A
+ .incbin "baserom.gba", 0x1A651A, 0x31
+
+gUnknown_81A654B:: @ 81A654B
+ .incbin "baserom.gba", 0x1A654B, 0x2D
+
+EventScript_1A6578:: @ 81A6578
+ .incbin "baserom.gba", 0x1A6578, 0xFD
+
+EventScript_1A6675:: @ 81A6675
+ .incbin "baserom.gba", 0x1A6675, 0x6
+
+gStdScript_81A667B:: @ 81A667B
+ copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID
+ textcolor 3
+ additem 32768, 32769
+ copyvar VAR_0x8007, VAR_RESULT
+ call EventScript_1A6697
+ copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS
+ return
+
+EventScript_1A6697:: @ 81A6697
+ bufferitemnameplural 1, VAR_0x8000, VAR_0x8001
+ checkitemtype 32768
+ call EventScript_1A66BC
+ compare_var_to_value VAR_0x8007, 1
+ call_if 1, EventScript_1A6749
+ compare_var_to_value VAR_0x8007, 0
+ call_if 1, EventScript_1A675E
+ return
+
+EventScript_1A66BC:: @ 81A66BC
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_1A66F9
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_1A6709
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_1A6719
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_1A6729
+ compare_var_to_value VAR_0x8000, 5
+ goto_if 1, EventScript_1A6739
+ end
+
+EventScript_1A66F9:: @ 81A66F9
+ getstdstring 2, 24
+ compare_var_to_value VAR_0x8007, 1
+ call_if 1, EventScript_1A6764
+ return
+
+EventScript_1A6709:: @ 81A6709
+ getstdstring 2, 25
+ compare_var_to_value VAR_0x8007, 1
+ call_if 1, EventScript_1A6764
+ return
+
+EventScript_1A6719:: @ 81A6719
+ getstdstring 2, 26
+ compare_var_to_value VAR_0x8007, 1
+ call_if 1, EventScript_1A6764
+ return
+
+EventScript_1A6729:: @ 81A6729
+ getstdstring 2, 27
+ compare_var_to_value VAR_0x8007, 1
+ call_if 1, EventScript_1A6768
+ return
+
+EventScript_1A6739:: @ 81A6739
+ getstdstring 2, 28
+ compare_var_to_value VAR_0x8007, 1
+ call_if 1, EventScript_1A6764
+ return
+
+EventScript_1A6749:: @ 81A6749
+ message Text_1A51F6
+ waitfanfare
+ waitmessage
+ loadword 0, gUnknown_81A5218
+ callstd 4
+ setvar VAR_RESULT, 1
+ return
+
+EventScript_1A675E:: @ 81A675E
+ setvar VAR_RESULT, 0
+ return
+
+EventScript_1A6764:: @ 81A6764
+ playfanfare MUS_FANFA1
+ return
+
+EventScript_1A6768:: @ 81A6768
+ playfanfare MUS_FANFA1
+ return
+
+gStdScript_81A676C:: @ 81A676C
+ adddecor 32768
+ copyvar VAR_0x8007, VAR_RESULT
+ call EventScript_1A677A
+ return
+
+EventScript_1A677A:: @ 81A677A
+ getdecorname 1, 32768
+ compare_var_to_value VAR_0x8007, 1
+ call_if 1, EventScript_1A6795
+ compare_var_to_value VAR_0x8007, 0
+ call_if 1, EventScript_1A67AD
+ return
+
+EventScript_1A6795:: @ 81A6795
+ playfanfare MUS_FANFA4
+ message Text_1A52F0
+ waitfanfare
+ waitmessage
+ loadword 0, gUnknown_81A532F
+ callstd 4
+ setvar VAR_RESULT, 1
+ return
+
+EventScript_1A67AD:: @ 81A67AD
+ setvar VAR_RESULT, 0
+ return
+
+gStdScript_81A67B3:: @ 81A67B3
+ lock
+ faceplayer
+ waitse
+ copyvar VAR_0x8004, VAR_0x8000
+ copyvar VAR_0x8005, VAR_0x8001
+ checkitemspace 32768, 32769
+ copyvar VAR_0x8007, VAR_RESULT
+ getitemname 1, 32768
+ checkitemtype 32768
+ call EventScript_1A66BC
+ compare_var_to_value VAR_0x8007, 1
+ call_if 1, EventScript_1A67EE
+ compare_var_to_value VAR_0x8007, 0
+ call_if 1, EventScript_1A682D
+ release
+ return
+
+EventScript_1A67EE:: @ 81A67EE
+ removeobject VAR_LAST_TALKED
+ additem 32772, 32773
+ specialvar VAR_RESULT, sub_80CC8CC
+ copyvar VAR_0x8008, VAR_RESULT
+ compare_var_to_value VAR_0x8008, 1
+ call_if 1, EventScript_1A6821
+ compare_var_to_value VAR_0x8008, 0
+ call_if 1, EventScript_1A6827
+ waitfanfare
+ waitmessage
+ loadword 0, gUnknown_81A5218
+ callstd 4
+ return
+
+EventScript_1A6821:: @ 81A6821
+ message Text_1A63E8
+ return
+
+EventScript_1A6827:: @ 81A6827
+ message Text_1A5231
+ return
+
+EventScript_1A682D:: @ 81A682D
+ loadword 0, Text_1A51F6
+ callstd 4
+ loadword 0, gUnknown_81A5242
+ callstd 4
+ setvar VAR_RESULT, 0
+ return
+
+gUnknown_81A6843:: @ 81A6843
+ .incbin "baserom.gba", 0x1A6843, 0x112
+
+gUnknown_81A6955:: @ 81A6955
+ .incbin "baserom.gba", 0x1A6955, 0x173
+
+gUnknown_81A6AC8:: @ 81A6AC8
+ .incbin "baserom.gba", 0x1A6AC8, 0x45
+
+gUnknown_81A6B0D:: @ 81A6B0D
+ .incbin "baserom.gba", 0x1A6B0D, 0xB
+
+EventScript_1A6B18:: @ 81A6B18
+ .incbin "baserom.gba", 0x1A6B18, 0xE1
+
+EventScript_1A6BF9:: @ 81A6BF9
+ .incbin "baserom.gba", 0x1A6BF9, 0x2D
+
+EventScript_1A6C26:: @ 81A6C26
+ .incbin "baserom.gba", 0x1A6C26, 0xC
+
+gUnknown_81A6C32:: @ 81A6C32
+ .incbin "baserom.gba", 0x1A6C32, 0xE5
+
+gUnknown_81A6D17:: @ 81A6D17
+ .incbin "baserom.gba", 0x1A6D17, 0x56
+
+gUnknown_81A6D6D:: @ 81A6D6D
+ .incbin "baserom.gba", 0x1A6D6D, 0x72
+
+gUnknown_81A6DDF:: @ 81A6DDF
+ .incbin "baserom.gba", 0x1A6DDF, 0x57
+
+gUnknown_81A6E36:: @ 81A6E36
+ .incbin "baserom.gba", 0x1A6E36, 0x6E
+
+gUnknown_81A6EA4:: @ 81A6EA4
+ .incbin "baserom.gba", 0x1A6EA4, 0x67
+
+gUnknown_81A6F0B:: @ 81A6F0B
+ .incbin "baserom.gba", 0x1A6F0B, 0x66
+
+gUnknown_81A6F71:: @ 81A6F71
+ .incbin "baserom.gba", 0x1A6F71, 0x3A
+
+gUnknown_81A6FAB:: @ 81A6FAB
+ .incbin "baserom.gba", 0x1A6FAB, 0x46
+
+gUnknown_81A6FF1:: @ 81A6FF1
+ .incbin "baserom.gba", 0x1A6FF1, 0x40
+
+gUnknown_81A7031:: @ 81A7031
+ .incbin "baserom.gba", 0x1A7031, 0x32
+
+gUnknown_81A7063:: @ 81A7063
+ .incbin "baserom.gba", 0x1A7063, 0x42
+
+gUnknown_81A70A5:: @ 81A70A5
+ .incbin "baserom.gba", 0x1A70A5, 0x33
+
+gUnknown_81A70D8:: @ 81A70D8
+ .incbin "baserom.gba", 0x1A70D8, 0x30
+
+gUnknown_81A7108:: @ 81A7108
+ .incbin "baserom.gba", 0x1A7108, 0x2F
+
+gUnknown_81A7137:: @ 81A7137
+ .incbin "baserom.gba", 0x1A7137, 0x3E
+
+gUnknown_81A7175:: @ 81A7175
+ .incbin "baserom.gba", 0x1A7175, 0x11C
+
+Text_1A7291:: @ 81A7291
+ .incbin "baserom.gba", 0x1A7291, 0x1C
+
+gUnknown_81A72AD:: @ 81A72AD
+ .incbin "baserom.gba", 0x1A72AD, 0xCE
+
+EventScript_1A737B:: @ 81A737B
+ .incbin "baserom.gba", 0x1A737B, 0x170
+
+EventScript_1A74EB:: @ 81A74EB
+ .incbin "baserom.gba", 0x1A74EB, 0x1B
+
+EventScript_1A7506:: @ 81A7506
+ .incbin "baserom.gba", 0x1A7506, 0x19
+
+EventScript_1A751F:: @ 81A751F
+ .incbin "baserom.gba", 0x1A751F, 0x19
+
+EventScript_1A7538:: @ 81A7538
+ .incbin "baserom.gba", 0x1A7538, 0x2B
+
+EventScript_1A7563:: @ 81A7563
+ .incbin "baserom.gba", 0x1A7563, 0x26
+
+EventScript_1A7589:: @ 81A7589
+ .incbin "baserom.gba", 0x1A7589, 0x13
+
+EventScript_1A759C:: @ 81A759C
+ .incbin "baserom.gba", 0x1A759C, 0x39
+
+EventScript_1A75D5:: @ 81A75D5
+ .incbin "baserom.gba", 0x1A75D5, 0x4
+
+Movement_1A75D9:: @ 81A75D9
+ .incbin "baserom.gba", 0x1A75D9, 0x2
+
+Movement_1A75DB:: @ 81A75DB
+ .incbin "baserom.gba", 0x1A75DB, 0x2
+
+Movement_1A75DD:: @ 81A75DD
+ .incbin "baserom.gba", 0x1A75DD, 0x4
+
+Movement_1A75E1:: @ 81A75E1
+ .incbin "baserom.gba", 0x1A75E1, 0x4
+
+Movement_1A75E5:: @ 81A75E5
+ .incbin "baserom.gba", 0x1A75E5, 0x2
+
+Movement_1A75E7:: @ 81A75E7
+ .incbin "baserom.gba", 0x1A75E7, 0x2
+
+Movement_1A75E9:: @ 81A75E9
+ .incbin "baserom.gba", 0x1A75E9, 0x2
+
+Movement_1A75EB:: @ 81A75EB
+ .incbin "baserom.gba", 0x1A75EB, 0x2
+
+Movement_1A75ED:: @ 81A75ED
+ .incbin "baserom.gba", 0x1A75ED, 0x2
+
+Movement_1A75EF:: @ 81A75EF
+ .incbin "baserom.gba", 0x1A75EF, 0x2
+
+Movement_1A75F1:: @ 81A75F1
+ .incbin "baserom.gba", 0x1A75F1, 0x15
+
+gUnknown_81A7606:: @ 81A7606
+ .incbin "baserom.gba", 0x1A7606, 0x9
+
+gUnknown_81A760F:: @ 81A760F
+ .incbin "baserom.gba", 0x1A760F, 0x9
+
+gUnknown_81A7618:: @ 81A7618
+ .incbin "baserom.gba", 0x1A7618, 0x9
+
+gUnknown_81A7621:: @ 81A7621
+ .incbin "baserom.gba", 0x1A7621, 0x9
+
+gUnknown_81A762A:: @ 81A762A
+ .incbin "baserom.gba", 0x1A762A, 0x9
+
+gUnknown_81A7633:: @ 81A7633
+ .incbin "baserom.gba", 0x1A7633, 0x9
+
+gUnknown_81A763C:: @ 81A763C
+ .incbin "baserom.gba", 0x1A763C, 0x9
+
+gUnknown_81A7645:: @ 81A7645
+ .incbin "baserom.gba", 0x1A7645, 0x9
+
+gUnknown_81A764E:: @ 81A764E
+ .incbin "baserom.gba", 0x1A764E, 0x9
+
+gUnknown_81A7657:: @ 81A7657
+ .incbin "baserom.gba", 0x1A7657, 0x9
+
+gUnknown_81A7660:: @ 81A7660
+ .incbin "baserom.gba", 0x1A7660, 0x9
+
+gUnknown_81A7669:: @ 81A7669
+ .incbin "baserom.gba", 0x1A7669, 0x9
+
+gUnknown_81A7672:: @ 81A7672
+ .incbin "baserom.gba", 0x1A7672, 0x9
+
+gUnknown_81A767B:: @ 81A767B
+ .incbin "baserom.gba", 0x1A767B, 0x9
+
+gUnknown_81A7684:: @ 81A7684
+ .incbin "baserom.gba", 0x1A7684, 0x9
+
+gUnknown_81A768D:: @ 81A768D
+ .incbin "baserom.gba", 0x1A768D, 0x9
+
+gUnknown_81A7696:: @ 81A7696
+ .incbin "baserom.gba", 0x1A7696, 0x9
+
+gUnknown_81A769F:: @ 81A769F
+ .incbin "baserom.gba", 0x1A769F, 0x9
+
+gUnknown_81A76A8:: @ 81A76A8
+ .incbin "baserom.gba", 0x1A76A8, 0x9
+
+gUnknown_81A76B1:: @ 81A76B1
+ .incbin "baserom.gba", 0x1A76B1, 0x9
+
+gUnknown_81A76BA:: @ 81A76BA
+ .incbin "baserom.gba", 0x1A76BA, 0x9
+
+gUnknown_81A76C3:: @ 81A76C3
+ .incbin "baserom.gba", 0x1A76C3, 0x9
+
+gUnknown_81A76CC:: @ 81A76CC
+ .incbin "baserom.gba", 0x1A76CC, 0x9
+
+gUnknown_81A76D5:: @ 81A76D5
+ .incbin "baserom.gba", 0x1A76D5, 0x9
+
+gUnknown_81A76DE:: @ 81A76DE
+ .incbin "baserom.gba", 0x1A76DE, 0x9
+
+gUnknown_81A76E7:: @ 81A76E7
+ .incbin "baserom.gba", 0x1A76E7, 0x9
+
+gUnknown_81A76F0:: @ 81A76F0
+ .incbin "baserom.gba", 0x1A76F0, 0x9
+
+gUnknown_81A76F9:: @ 81A76F9
+ .incbin "baserom.gba", 0x1A76F9, 0x9
+
+gUnknown_81A7702:: @ 81A7702
+ .incbin "baserom.gba", 0x1A7702, 0x9E
+
+gUnknown_81A77A0:: @ 81A77A0
+ .incbin "baserom.gba", 0x1A77A0, 0x9
+
+EventScript_1A77A9:: @ 81A77A9
+ .incbin "baserom.gba", 0x1A77A9, 0x1
+
+EventScript_1A77AA:: @ 81A77AA
+ .incbin "baserom.gba", 0x1A77AA, 0x6
+
+EventScript_1A77B0:: @ 81A77B0
+ .incbin "baserom.gba", 0x1A77B0, 0x6
+
+Route16_NorthEntrance_1F_EventScript_1A77B6:: @ 81A77B6
+Route18_EastEntrance_1F_EventScript_1A77B6:: @ 81A77B6
+ .incbin "baserom.gba", 0x1A77B6, 0xB
+
+Route16_NorthEntrance_1F_EventScript_1A77C1:: @ 81A77C1
+Route18_EastEntrance_1F_EventScript_1A77C1:: @ 81A77C1
+ .incbin "baserom.gba", 0x1A77C1, 0x42
+
+EventScript_1A7803:: @ 81A7803
+ .incbin "baserom.gba", 0x1A7803, 0x69
+
+EventScript_1A786C:: @ 81A786C
+ .incbin "baserom.gba", 0x1A786C, 0x102
+
+EventScript_1A796E:: @ 81A796E
+ .incbin "baserom.gba", 0x1A796E, 0x14B
+
+EventScript_1A7AB9:: @ 81A7AB9
+ .incbin "baserom.gba", 0x1A7AB9, 0x4
+
+EventScript_1A7ABD:: @ 81A7ABD
+ .incbin "baserom.gba", 0x1A7ABD, 0xA
+
+EventScript_1A7AC7:: @ 81A7AC7
+ .incbin "baserom.gba", 0x1A7AC7, 0xA
+
+EventScript_1A7AD1:: @ 81A7AD1
+ .incbin "baserom.gba", 0x1A7AD1, 0xA
+
+gUnknown_81A7ADB:: @ 81A7ADB
+ .incbin "baserom.gba", 0x1A7ADB, 0x5
+
+EventScript_1A7AE0:: @ 81A7AE0
+ .incbin "baserom.gba", 0x1A7AE0, 0x2
+
+EventScript_1A7AE2:: @ 81A7AE2
+ .incbin "baserom.gba", 0x1A7AE2, 0x98
+
+EventScript_1A7B7A:: @ 81A7B7A
+ .incbin "baserom.gba", 0x1A7B7A, 0x1C4
+
+EventScript_1A7D3E:: @ 81A7D3E
+ .incbin "baserom.gba", 0x1A7D3E, 0x134
+
+EventScript_1A7E72:: @ 81A7E72
+ .incbin "baserom.gba", 0x1A7E72, 0xDA
+
+EventScript_1A7F4C:: @ 81A7F4C
+ .incbin "baserom.gba", 0x1A7F4C, 0x1FD
+
+EventScript_1A8149:: @ 81A8149
+ .incbin "baserom.gba", 0x1A8149, 0x2E
+
+EventScript_1A8177:: @ 81A8177
+ .incbin "baserom.gba", 0x1A8177, 0x2E
+
+EventScript_1A81A5:: @ 81A81A5
+ .incbin "baserom.gba", 0x1A81A5, 0x37
+
+EventScript_1A81DC:: @ 81A81DC
+ .incbin "baserom.gba", 0x1A81DC, 0x37
+
+EventScript_1A8213:: @ 81A8213
+ .incbin "baserom.gba", 0x1A8213, 0x2E
+
+EventScript_1A8241:: @ 81A8241
+ .incbin "baserom.gba", 0x1A8241, 0x2E
+
+EventScript_1A826F:: @ 81A826F
+ .incbin "baserom.gba", 0x1A826F, 0x37
+
+EventScript_1A82A6:: @ 81A82A6
+ .incbin "baserom.gba", 0x1A82A6, 0x37
+
+EventScript_1A82DD:: @ 81A82DD
+ .incbin "baserom.gba", 0x1A82DD, 0x37
+
+EventScript_1A8314:: @ 81A8314
+ .incbin "baserom.gba", 0x1A8314, 0x37
+
+EventScript_1A834B:: @ 81A834B
+ .incbin "baserom.gba", 0x1A834B, 0x2E
+
+EventScript_1A8379:: @ 81A8379
+ .incbin "baserom.gba", 0x1A8379, 0x2E
+
+EventScript_1A83A7:: @ 81A83A7
+ .incbin "baserom.gba", 0x1A83A7, 0x2E
+
+EventScript_1A83D5:: @ 81A83D5
+ .incbin "baserom.gba", 0x1A83D5, 0x37
+
+EventScript_1A840C:: @ 81A840C
+ .incbin "baserom.gba", 0x1A840C, 0x37
+
+EventScript_1A8443:: @ 81A8443
+ .incbin "baserom.gba", 0x1A8443, 0x37
+
+EventScript_1A847A:: @ 81A847A
+ .incbin "baserom.gba", 0x1A847A, 0x2E
+
+EventScript_1A84A8:: @ 81A84A8
+ .incbin "baserom.gba", 0x1A84A8, 0x2E
+
+EventScript_1A84D6:: @ 81A84D6
+ .incbin "baserom.gba", 0x1A84D6, 0x2E
+
+EventScript_1A8504:: @ 81A8504
+ .incbin "baserom.gba", 0x1A8504, 0x417
+
+SilphCo_2F_EventScript_1A891B:: @ 81A891B
+ .incbin "baserom.gba", 0x1A891B, 0x1A
+
+SilphCo_2F_EventScript_1A8935:: @ 81A8935
+ .incbin "baserom.gba", 0x1A8935, 0x1A
+
+SilphCo_3F_EventScript_1A894F:: @ 81A894F
+ .incbin "baserom.gba", 0x1A894F, 0x1A
+
+SilphCo_3F_EventScript_1A8969:: @ 81A8969
+ .incbin "baserom.gba", 0x1A8969, 0x1A
+
+SilphCo_4F_EventScript_1A8983:: @ 81A8983
+ .incbin "baserom.gba", 0x1A8983, 0x1A
+
+SilphCo_4F_EventScript_1A899D:: @ 81A899D
+ .incbin "baserom.gba", 0x1A899D, 0x1A
+
+SilphCo_5F_EventScript_1A89B7:: @ 81A89B7
+ .incbin "baserom.gba", 0x1A89B7, 0x1A
+
+SilphCo_5F_EventScript_1A89D1:: @ 81A89D1
+ .incbin "baserom.gba", 0x1A89D1, 0x1A
+
+SilphCo_5F_EventScript_1A89EB:: @ 81A89EB
+ .incbin "baserom.gba", 0x1A89EB, 0x1A
+
+SilphCo_6F_EventScript_1A8A05:: @ 81A8A05
+ .incbin "baserom.gba", 0x1A8A05, 0x1A
+
+SilphCo_7F_EventScript_1A8A1F:: @ 81A8A1F
+ .incbin "baserom.gba", 0x1A8A1F, 0x1A
+
+SilphCo_7F_EventScript_1A8A39:: @ 81A8A39
+ .incbin "baserom.gba", 0x1A8A39, 0x1A
+
+SilphCo_7F_EventScript_1A8A53:: @ 81A8A53
+ .incbin "baserom.gba", 0x1A8A53, 0x1A
+
+SilphCo_8F_EventScript_1A8A6D:: @ 81A8A6D
+ .incbin "baserom.gba", 0x1A8A6D, 0x1A
+
+SilphCo_9F_EventScript_1A8A87:: @ 81A8A87
+ .incbin "baserom.gba", 0x1A8A87, 0x1A
+
+SilphCo_9F_EventScript_1A8AA1:: @ 81A8AA1
+ .incbin "baserom.gba", 0x1A8AA1, 0x1A
+
+SilphCo_9F_EventScript_1A8ABB:: @ 81A8ABB
+ .incbin "baserom.gba", 0x1A8ABB, 0x1A
+
+SilphCo_9F_EventScript_1A8AD5:: @ 81A8AD5
+ .incbin "baserom.gba", 0x1A8AD5, 0x1A
+
+SilphCo_10F_EventScript_1A8AEF:: @ 81A8AEF
+ .incbin "baserom.gba", 0x1A8AEF, 0x1A
+
+SilphCo_11F_EventScript_1A8B09:: @ 81A8B09
+ .incbin "baserom.gba", 0x1A8B09, 0x11E
+
+EventScript_1A8C27:: @ 81A8C27
+ .incbin "baserom.gba", 0x1A8C27, 0xC
+
+EventScript_1A8C33:: @ 81A8C33
+ .incbin "baserom.gba", 0x1A8C33, 0x9
+
+EventScript_1A8C3C:: @ 81A8C3C
+ .incbin "baserom.gba", 0x1A8C3C, 0x71
+
+EventScript_1A8CAD:: @ 81A8CAD
+ .incbin "baserom.gba", 0x1A8CAD, 0x10
+
+EventScript_1A8CBD:: @ 81A8CBD
+ .incbin "baserom.gba", 0x1A8CBD, 0xC
+
+EventScript_1A8CC9:: @ 81A8CC9
+ .incbin "baserom.gba", 0x1A8CC9, 0x10
+
+EventScript_1A8CD9:: @ 81A8CD9
+ .incbin "baserom.gba", 0x1A8CD9, 0x14
+
+gUnknown_81A8CED:: @ 81A8CED
+ .incbin "baserom.gba", 0x1A8CED, 0x9
+
+CeruleanCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+CinnabarIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+FiveIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+FuchsiaCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+OneIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+PewterCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+SevenIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+VermilionCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+FourIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+SixIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+ThreeIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+TwoIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+Route10_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+Route10_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+Route4_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+SaffronCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+IndigoPlateau_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+CeladonCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+LavenderTown_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+ViridianCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
+ .incbin "baserom.gba", 0x1A8CF6, 0x6
+
+CeruleanCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+CinnabarIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+FiveIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+FuchsiaCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+OneIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+PewterCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+SevenIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+VermilionCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+FourIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+SixIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+ThreeIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+TwoIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+Route10_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+Route10_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+Route4_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+SaffronCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+IndigoPlateau_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+CeladonCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+LavenderTown_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+ViridianCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
+ .incbin "baserom.gba", 0x1A8CFC, 0x6
+
+CeruleanCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+CinnabarIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+FiveIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+FuchsiaCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+OneIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+PewterCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+SevenIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+VermilionCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+FourIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+SixIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+ThreeIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+TwoIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+Route10_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+Route10_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+Route4_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+SaffronCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+IndigoPlateau_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+CeladonCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+LavenderTown_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+ViridianCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
+ .incbin "baserom.gba", 0x1A8D02, 0x6
+
+VermilionCity_PokemonCenter_1F_EventScript_1A8D08:: @ 81A8D08
+ .incbin "baserom.gba", 0x1A8D08, 0x41
+
+gUnknown_81A8D49:: @ 81A8D49
+ .incbin "baserom.gba", 0x1A8D49, 0x4E
+
+gUnknown_81A8D97:: @ 81A8D97
+ .incbin "baserom.gba", 0x1A8D97, 0x41
+
+gUnknown_81A8DD8:: @ 81A8DD8
+ .incbin "baserom.gba", 0x1A8DD8, 0x25
+
+gUnknown_81A8DFD:: @ 81A8DFD
+ .incbin "baserom.gba", 0x1A8DFD, 0x5B
+
+gStdScript_81A8E58:: @ 81A8E58
+ .incbin "baserom.gba", 0x1A8E58, 0x6D
+
+EventScript_1A8EC5:: @ 81A8EC5
+ .incbin "baserom.gba", 0x1A8EC5, 0x8F
+
+EventScript_1A8F54:: @ 81A8F54
+ .incbin "baserom.gba", 0x1A8F54, 0x9A
+
+EventScript_1A8FEE:: @ 81A8FEE
+ .incbin "baserom.gba", 0x1A8FEE, 0xB
+
+EventScript_1A8FF9:: @ 81A8FF9
+ .incbin "baserom.gba", 0x1A8FF9, 0xB
+
+EventScript_1A9004:: @ 81A9004
+ .incbin "baserom.gba", 0x1A9004, 0xB
+
+EventScript_1A900F:: @ 81A900F
+ .incbin "baserom.gba", 0x1A900F, 0xCB
+
+EventScript_1A90DA:: @ 81A90DA
+ .incbin "baserom.gba", 0x1A90DA, 0x1C
+
+EventScript_1A90F6:: @ 81A90F6
+ .incbin "baserom.gba", 0x1A90F6, 0x12
+
+EventScript_1A9108:: @ 81A9108
+ .incbin "baserom.gba", 0x1A9108, 0x16
+
+EventScript_1A911E:: @ 81A911E
+ .incbin "baserom.gba", 0x1A911E, 0xB7
+
+EventScript_1A91D5:: @ 81A91D5
+ .incbin "baserom.gba", 0x1A91D5, 0x58
+
+EventScript_1A922D:: @ 81A922D
+ .incbin "baserom.gba", 0x1A922D, 0x9
+
+EventScript_1A9236:: @ 81A9236
+ .incbin "baserom.gba", 0x1A9236, 0x15
+
+EventScript_1A924B:: @ 81A924B
+ .incbin "baserom.gba", 0x1A924B, 0x13
+
+EventScript_1A925E:: @ 81A925E
+ .incbin "baserom.gba", 0x1A925E, 0xE
+
+EventScript_1A926C:: @ 81A926C
+ .incbin "baserom.gba", 0x1A926C, 0x10
+
+EventScript_1A927C:: @ 81A927C
+ .incbin "baserom.gba", 0x1A927C, 0xC
+
+gUnknown_81A9288:: @ 81A9288
+ .incbin "baserom.gba", 0x1A9288, 0x3
+
+gUnknown_81A928B:: @ 81A928B
+ .incbin "baserom.gba", 0x1A928B, 0x5
+
+gUnknown_81A9290:: @ 81A9290
+ .incbin "baserom.gba", 0x1A9290, 0x6
+
+gUnknown_81A9296:: @ 81A9296
+ .incbin "baserom.gba", 0x1A9296, 0x5
+
+gUnknown_81A929B:: @ 81A929B
+ .incbin "baserom.gba", 0x1A929B, 0x4
+
+gUnknown_81A929F:: @ 81A929F
+ .incbin "baserom.gba", 0x1A929F, 0x4
+
+gUnknown_81A92A3:: @ 81A92A3
+ .incbin "baserom.gba", 0x1A92A3, 0x4
+
+gUnknown_81A92A7:: @ 81A92A7
+ .incbin "baserom.gba", 0x1A92A7, 0x4
+
+gUnknown_81A92AB:: @ 81A92AB
+ .incbin "baserom.gba", 0x1A92AB, 0x4
+
+gUnknown_81A92AF:: @ 81A92AF
+ .incbin "baserom.gba", 0x1A92AF, 0x4
+
+gUnknown_81A92B3:: @ 81A92B3
+ .incbin "baserom.gba", 0x1A92B3, 0x4
+
+gUnknown_81A92B7:: @ 81A92B7
+ .incbin "baserom.gba", 0x1A92B7, 0x5
+
+gUnknown_81A92BC:: @ 81A92BC
+ .incbin "baserom.gba", 0x1A92BC, 0x5
+
+gUnknown_81A92C1:: @ 81A92C1
+ .incbin "baserom.gba", 0x1A92C1, 0x2
+
+gUnknown_81A92C3:: @ 81A92C3
+ .incbin "baserom.gba", 0x1A92C3, 0x2
+
+gUnknown_81A92C5:: @ 81A92C5
+ .incbin "baserom.gba", 0x1A92C5, 0xB
+
+gUnknown_81A92D0:: @ 81A92D0
+ .incbin "baserom.gba", 0x1A92D0, 0xC
+
+gUnknown_81A92DC:: @ 81A92DC
+ .incbin "baserom.gba", 0x1A92DC, 0xA
+
+gUnknown_81A92E6:: @ 81A92E6
+ .incbin "baserom.gba", 0x1A92E6, 0xC
+
+gUnknown_81A92F2:: @ 81A92F2
+ .incbin "baserom.gba", 0x1A92F2, 0xC
+
+gUnknown_81A92FE:: @ 81A92FE
+ .incbin "baserom.gba", 0x1A92FE, 0xC
+
+gUnknown_81A930A:: @ 81A930A
+ .incbin "baserom.gba", 0x1A930A, 0xC
+
+gUnknown_81A9316:: @ 81A9316
+ .incbin "baserom.gba", 0x1A9316, 0xB
+
+gUnknown_81A9321:: @ 81A9321
+ .incbin "baserom.gba", 0x1A9321, 0xC
+
+gUnknown_81A932D:: @ 81A932D
+ .incbin "baserom.gba", 0x1A932D, 0xB
+
+gUnknown_81A9338:: @ 81A9338
+ .incbin "baserom.gba", 0x1A9338, 0x7
+
+gUnknown_81A933F:: @ 81A933F
+ .incbin "baserom.gba", 0x1A933F, 0xB
+
+gUnknown_81A934A:: @ 81A934A
+ .incbin "baserom.gba", 0x1A934A, 0xC
+
+gUnknown_81A9356:: @ 81A9356
+ .incbin "baserom.gba", 0x1A9356, 0xC
+
+gUnknown_81A9362:: @ 81A9362
+ .incbin "baserom.gba", 0x1A9362, 0x6
+
+gUnknown_81A9368:: @ 81A9368
+ .incbin "baserom.gba", 0x1A9368, 0xC
+
+gUnknown_81A9374:: @ 81A9374
+ .incbin "baserom.gba", 0x1A9374, 0x8
+
+gUnknown_81A937C:: @ 81A937C
+ .incbin "baserom.gba", 0x1A937C, 0xB
+
+gUnknown_81A9387:: @ 81A9387
+ .incbin "baserom.gba", 0x1A9387, 0xC
+
+gUnknown_81A9393:: @ 81A9393
+ .incbin "baserom.gba", 0x1A9393, 0xC
+
+gUnknown_81A939F:: @ 81A939F
+ .incbin "baserom.gba", 0x1A939F, 0xC
+
+gUnknown_81A93AB:: @ 81A93AB
+ .incbin "baserom.gba", 0x1A93AB, 0x9
+
+gUnknown_81A93B4:: @ 81A93B4
+ .incbin "baserom.gba", 0x1A93B4, 0xC
+
+gUnknown_81A93C0:: @ 81A93C0
+ .incbin "baserom.gba", 0x1A93C0, 0x9
+
+Route3_EventScript_1A93C9:: @ 81A93C9
+ .incbin "baserom.gba", 0x1A93C9, 0x3E
+
+Route3_EventScript_1A9407:: @ 81A9407
+ .incbin "baserom.gba", 0x1A9407, 0x3E
+
+Route3_EventScript_1A9445:: @ 81A9445
+ .incbin "baserom.gba", 0x1A9445, 0x3E
+
+Route3_EventScript_1A9483:: @ 81A9483
+ .incbin "baserom.gba", 0x1A9483, 0x3E
+
+Route3_EventScript_1A94C1:: @ 81A94C1
+ .incbin "baserom.gba", 0x1A94C1, 0x3E
+
+Route3_EventScript_1A94FF:: @ 81A94FF
+ .incbin "baserom.gba", 0x1A94FF, 0x3E
+
+Route3_EventScript_1A953D:: @ 81A953D
+ .incbin "baserom.gba", 0x1A953D, 0x3E
+
+Route3_EventScript_1A957B:: @ 81A957B
+ .incbin "baserom.gba", 0x1A957B, 0x3E
+
+Route4_EventScript_1A95B9:: @ 81A95B9
+ .incbin "baserom.gba", 0x1A95B9, 0x3E
+
+Route24_EventScript_1A95F7:: @ 81A95F7
+ .incbin "baserom.gba", 0x1A95F7, 0x3E
+
+Route24_EventScript_1A9635:: @ 81A9635
+ .incbin "baserom.gba", 0x1A9635, 0x3E
+
+Route24_EventScript_1A9673:: @ 81A9673
+ .incbin "baserom.gba", 0x1A9673, 0x3E
+
+Route24_EventScript_1A96B1:: @ 81A96B1
+ .incbin "baserom.gba", 0x1A96B1, 0x3E
+
+Route24_EventScript_1A96EF:: @ 81A96EF
+ .incbin "baserom.gba", 0x1A96EF, 0x3E
+
+Route24_EventScript_1A972D:: @ 81A972D
+ .incbin "baserom.gba", 0x1A972D, 0x3E
+
+Route25_EventScript_1A976B:: @ 81A976B
+ .incbin "baserom.gba", 0x1A976B, 0x3E
+
+Route25_EventScript_1A97A9:: @ 81A97A9
+ .incbin "baserom.gba", 0x1A97A9, 0x3E
+
+Route25_EventScript_1A97E7:: @ 81A97E7
+ .incbin "baserom.gba", 0x1A97E7, 0x3E
+
+Route25_EventScript_1A9825:: @ 81A9825
+ .incbin "baserom.gba", 0x1A9825, 0x3E
+
+Route25_EventScript_1A9863:: @ 81A9863
+ .incbin "baserom.gba", 0x1A9863, 0x3E
+
+Route25_EventScript_1A98A1:: @ 81A98A1
+ .incbin "baserom.gba", 0x1A98A1, 0x3E
+
+Route25_EventScript_1A98DF:: @ 81A98DF
+ .incbin "baserom.gba", 0x1A98DF, 0x3E
+
+Route25_EventScript_1A991D:: @ 81A991D
+ .incbin "baserom.gba", 0x1A991D, 0x3E
+
+Route25_EventScript_1A995B:: @ 81A995B
+ .incbin "baserom.gba", 0x1A995B, 0x3E
+
+Route6_EventScript_1A9999:: @ 81A9999
+ .incbin "baserom.gba", 0x1A9999, 0x3E
+
+Route6_EventScript_1A99D7:: @ 81A99D7
+ .incbin "baserom.gba", 0x1A99D7, 0x3E
+
+Route6_EventScript_1A9A15:: @ 81A9A15
+ .incbin "baserom.gba", 0x1A9A15, 0x3E
+
+Route6_EventScript_1A9A53:: @ 81A9A53
+ .incbin "baserom.gba", 0x1A9A53, 0x3E
+
+Route6_EventScript_1A9A91:: @ 81A9A91
+ .incbin "baserom.gba", 0x1A9A91, 0x3E
+
+Route6_EventScript_1A9ACF:: @ 81A9ACF
+ .incbin "baserom.gba", 0x1A9ACF, 0x3E
+
+Route11_EventScript_1A9B0D:: @ 81A9B0D
+ .incbin "baserom.gba", 0x1A9B0D, 0x3E
+
+Route11_EventScript_1A9B4B:: @ 81A9B4B
+ .incbin "baserom.gba", 0x1A9B4B, 0x3E
+
+Route11_EventScript_1A9B89:: @ 81A9B89
+ .incbin "baserom.gba", 0x1A9B89, 0x3E
+
+Route11_EventScript_1A9BC7:: @ 81A9BC7
+ .incbin "baserom.gba", 0x1A9BC7, 0x3E
+
+Route11_EventScript_1A9C05:: @ 81A9C05
+ .incbin "baserom.gba", 0x1A9C05, 0x3E
+
+Route11_EventScript_1A9C43:: @ 81A9C43
+ .incbin "baserom.gba", 0x1A9C43, 0x3E
+
+Route11_EventScript_1A9C81:: @ 81A9C81
+ .incbin "baserom.gba", 0x1A9C81, 0x3E
+
+Route11_EventScript_1A9CBF:: @ 81A9CBF
+ .incbin "baserom.gba", 0x1A9CBF, 0x3E
+
+Route11_EventScript_1A9CFD:: @ 81A9CFD
+ .incbin "baserom.gba", 0x1A9CFD, 0x3E
+
+Route11_EventScript_1A9D3B:: @ 81A9D3B
+ .incbin "baserom.gba", 0x1A9D3B, 0x3E
+
+Route9_EventScript_1A9D79:: @ 81A9D79
+ .incbin "baserom.gba", 0x1A9D79, 0x3E
+
+Route9_EventScript_1A9DB7:: @ 81A9DB7
+ .incbin "baserom.gba", 0x1A9DB7, 0x3E
+
+Route9_EventScript_1A9DF5:: @ 81A9DF5
+ .incbin "baserom.gba", 0x1A9DF5, 0x3E
+
+Route9_EventScript_1A9E33:: @ 81A9E33
+ .incbin "baserom.gba", 0x1A9E33, 0x3E
+
+Route9_EventScript_1A9E71:: @ 81A9E71
+ .incbin "baserom.gba", 0x1A9E71, 0x3E
+
+Route9_EventScript_1A9EAF:: @ 81A9EAF
+ .incbin "baserom.gba", 0x1A9EAF, 0x3E
+
+Route9_EventScript_1A9EED:: @ 81A9EED
+ .incbin "baserom.gba", 0x1A9EED, 0x3E
+
+Route9_EventScript_1A9F2B:: @ 81A9F2B
+ .incbin "baserom.gba", 0x1A9F2B, 0x3E
+
+Route9_EventScript_1A9F69:: @ 81A9F69
+ .incbin "baserom.gba", 0x1A9F69, 0x3E
+
+Route10_EventScript_1A9FA7:: @ 81A9FA7
+ .incbin "baserom.gba", 0x1A9FA7, 0x3E
+
+Route10_EventScript_1A9FE5:: @ 81A9FE5
+ .incbin "baserom.gba", 0x1A9FE5, 0x3E
+
+Route10_EventScript_1AA023:: @ 81AA023
+ .incbin "baserom.gba", 0x1AA023, 0x3E
+
+Route10_EventScript_1AA061:: @ 81AA061
+ .incbin "baserom.gba", 0x1AA061, 0x3E
+
+Route10_EventScript_1AA09F:: @ 81AA09F
+ .incbin "baserom.gba", 0x1AA09F, 0x3E
+
+Route10_EventScript_1AA0DD:: @ 81AA0DD
+ .incbin "baserom.gba", 0x1AA0DD, 0x3E
+
+Route8_EventScript_1AA11B:: @ 81AA11B
+ .incbin "baserom.gba", 0x1AA11B, 0x3E
+
+Route8_EventScript_1AA159:: @ 81AA159
+ .incbin "baserom.gba", 0x1AA159, 0x3E
+
+Route8_EventScript_1AA197:: @ 81AA197
+ .incbin "baserom.gba", 0x1AA197, 0x3E
+
+Route8_EventScript_1AA1D5:: @ 81AA1D5
+ .incbin "baserom.gba", 0x1AA1D5, 0x3E
+
+Route8_EventScript_1AA213:: @ 81AA213
+ .incbin "baserom.gba", 0x1AA213, 0x3E
+
+Route8_EventScript_1AA251:: @ 81AA251
+ .incbin "baserom.gba", 0x1AA251, 0x3E
+
+Route8_EventScript_1AA28F:: @ 81AA28F
+ .incbin "baserom.gba", 0x1AA28F, 0x3E
+
+Route8_EventScript_1AA2CD:: @ 81AA2CD
+ .incbin "baserom.gba", 0x1AA2CD, 0x3E
+
+Route8_EventScript_1AA30B:: @ 81AA30B
+ .incbin "baserom.gba", 0x1AA30B, 0x3E
+
+Route8_EventScript_1AA349:: @ 81AA349
+ .incbin "baserom.gba", 0x1AA349, 0x46
+
+Route8_EventScript_1AA38F:: @ 81AA38F
+ .incbin "baserom.gba", 0x1AA38F, 0x46
+
+Route8_EventScript_1AA3D5:: @ 81AA3D5
+ .incbin "baserom.gba", 0x1AA3D5, 0x3E
+
+Route8_EventScript_1AA413:: @ 81AA413
+ .incbin "baserom.gba", 0x1AA413, 0x3E
+
+Route12_EventScript_1AA451:: @ 81AA451
+ .incbin "baserom.gba", 0x1AA451, 0x3E
+
+Route12_EventScript_1AA48F:: @ 81AA48F
+ .incbin "baserom.gba", 0x1AA48F, 0x3E
+
+Route12_EventScript_1AA4CD:: @ 81AA4CD
+ .incbin "baserom.gba", 0x1AA4CD, 0x3E
+
+Route12_EventScript_1AA50B:: @ 81AA50B
+ .incbin "baserom.gba", 0x1AA50B, 0x3E
+
+Route12_EventScript_1AA549:: @ 81AA549
+ .incbin "baserom.gba", 0x1AA549, 0x3E
+
+Route12_EventScript_1AA587:: @ 81AA587
+ .incbin "baserom.gba", 0x1AA587, 0x3E
+
+Route12_EventScript_1AA5C5:: @ 81AA5C5
+ .incbin "baserom.gba", 0x1AA5C5, 0x3E
+
+Route12_EventScript_1AA603:: @ 81AA603
+ .incbin "baserom.gba", 0x1AA603, 0x46
+
+Route12_EventScript_1AA649:: @ 81AA649
+ .incbin "baserom.gba", 0x1AA649, 0x46
+
+Route13_EventScript_1AA68F:: @ 81AA68F
+ .incbin "baserom.gba", 0x1AA68F, 0x3E
+
+Route13_EventScript_1AA6CD:: @ 81AA6CD
+ .incbin "baserom.gba", 0x1AA6CD, 0x3E
+
+Route13_EventScript_1AA70B:: @ 81AA70B
+ .incbin "baserom.gba", 0x1AA70B, 0x3E
+
+Route13_EventScript_1AA749:: @ 81AA749
+ .incbin "baserom.gba", 0x1AA749, 0x3E
+
+Route13_EventScript_1AA787:: @ 81AA787
+ .incbin "baserom.gba", 0x1AA787, 0x3E
+
+Route13_EventScript_1AA7C5:: @ 81AA7C5
+ .incbin "baserom.gba", 0x1AA7C5, 0x3E
+
+Route13_EventScript_1AA803:: @ 81AA803
+ .incbin "baserom.gba", 0x1AA803, 0x3E
+
+Route13_EventScript_1AA841:: @ 81AA841
+ .incbin "baserom.gba", 0x1AA841, 0x3E
+
+Route13_EventScript_1AA87F:: @ 81AA87F
+ .incbin "baserom.gba", 0x1AA87F, 0x3E
+
+Route13_EventScript_1AA8BD:: @ 81AA8BD
+ .incbin "baserom.gba", 0x1AA8BD, 0x3E
+
+Route14_EventScript_1AA8FB:: @ 81AA8FB
+ .incbin "baserom.gba", 0x1AA8FB, 0x3E
+
+Route14_EventScript_1AA939:: @ 81AA939
+ .incbin "baserom.gba", 0x1AA939, 0x3E
+
+Route14_EventScript_1AA977:: @ 81AA977
+ .incbin "baserom.gba", 0x1AA977, 0x3E
+
+Route14_EventScript_1AA9B5:: @ 81AA9B5
+ .incbin "baserom.gba", 0x1AA9B5, 0x3E
+
+Route14_EventScript_1AA9F3:: @ 81AA9F3
+ .incbin "baserom.gba", 0x1AA9F3, 0x3E
+
+Route14_EventScript_1AAA31:: @ 81AAA31
+ .incbin "baserom.gba", 0x1AAA31, 0x3E
+
+Route14_EventScript_1AAA6F:: @ 81AAA6F
+ .incbin "baserom.gba", 0x1AAA6F, 0x3E
+
+Route14_EventScript_1AAAAD:: @ 81AAAAD
+ .incbin "baserom.gba", 0x1AAAAD, 0x3E
+
+Route14_EventScript_1AAAEB:: @ 81AAAEB
+ .incbin "baserom.gba", 0x1AAAEB, 0x3E
+
+Route14_EventScript_1AAB29:: @ 81AAB29
+ .incbin "baserom.gba", 0x1AAB29, 0x3E
+
+Route14_EventScript_1AAB67:: @ 81AAB67
+ .incbin "baserom.gba", 0x1AAB67, 0x46
+
+Route14_EventScript_1AABAD:: @ 81AABAD
+ .incbin "baserom.gba", 0x1AABAD, 0x46
+
+Route15_EventScript_1AABF3:: @ 81AABF3
+ .incbin "baserom.gba", 0x1AABF3, 0x3E
+
+Route15_EventScript_1AAC31:: @ 81AAC31
+ .incbin "baserom.gba", 0x1AAC31, 0x3E
+
+Route15_EventScript_1AAC6F:: @ 81AAC6F
+ .incbin "baserom.gba", 0x1AAC6F, 0x3E
+
+Route15_EventScript_1AACAD:: @ 81AACAD
+ .incbin "baserom.gba", 0x1AACAD, 0x3E
+
+Route15_EventScript_1AACEB:: @ 81AACEB
+ .incbin "baserom.gba", 0x1AACEB, 0x3E
+
+Route15_EventScript_1AAD29:: @ 81AAD29
+ .incbin "baserom.gba", 0x1AAD29, 0x3E
+
+Route15_EventScript_1AAD67:: @ 81AAD67
+ .incbin "baserom.gba", 0x1AAD67, 0x3E
+
+Route15_EventScript_1AADA5:: @ 81AADA5
+ .incbin "baserom.gba", 0x1AADA5, 0x3E
+
+Route15_EventScript_1AADE3:: @ 81AADE3
+ .incbin "baserom.gba", 0x1AADE3, 0x3E
+
+Route15_EventScript_1AAE21:: @ 81AAE21
+ .incbin "baserom.gba", 0x1AAE21, 0x3E
+
+Route15_EventScript_1AAE5F:: @ 81AAE5F
+ .incbin "baserom.gba", 0x1AAE5F, 0x46
+
+Route15_EventScript_1AAEA5:: @ 81AAEA5
+ .incbin "baserom.gba", 0x1AAEA5, 0x46
+
+Route16_EventScript_1AAEEB:: @ 81AAEEB
+ .incbin "baserom.gba", 0x1AAEEB, 0x3E
+
+Route16_EventScript_1AAF29:: @ 81AAF29
+ .incbin "baserom.gba", 0x1AAF29, 0x3E
+
+Route16_EventScript_1AAF67:: @ 81AAF67
+ .incbin "baserom.gba", 0x1AAF67, 0x3E
+
+Route16_EventScript_1AAFA5:: @ 81AAFA5
+ .incbin "baserom.gba", 0x1AAFA5, 0x3E
+
+Route16_EventScript_1AAFE3:: @ 81AAFE3
+ .incbin "baserom.gba", 0x1AAFE3, 0x3E
+
+Route16_EventScript_1AB021:: @ 81AB021
+ .incbin "baserom.gba", 0x1AB021, 0x3E
+
+Route16_EventScript_1AB05F:: @ 81AB05F
+ .incbin "baserom.gba", 0x1AB05F, 0x46
+
+Route16_EventScript_1AB0A5:: @ 81AB0A5
+ .incbin "baserom.gba", 0x1AB0A5, 0x46
+
+Route17_EventScript_1AB0EB:: @ 81AB0EB
+ .incbin "baserom.gba", 0x1AB0EB, 0x3E
+
+Route17_EventScript_1AB129:: @ 81AB129
+ .incbin "baserom.gba", 0x1AB129, 0x3E
+
+Route17_EventScript_1AB167:: @ 81AB167
+ .incbin "baserom.gba", 0x1AB167, 0x3E
+
+Route17_EventScript_1AB1A5:: @ 81AB1A5
+ .incbin "baserom.gba", 0x1AB1A5, 0x3E
+
+Route17_EventScript_1AB1E3:: @ 81AB1E3
+ .incbin "baserom.gba", 0x1AB1E3, 0x3E
+
+Route17_EventScript_1AB221:: @ 81AB221
+ .incbin "baserom.gba", 0x1AB221, 0x3E
+
+Route17_EventScript_1AB25F:: @ 81AB25F
+ .incbin "baserom.gba", 0x1AB25F, 0x3E
+
+Route17_EventScript_1AB29D:: @ 81AB29D
+ .incbin "baserom.gba", 0x1AB29D, 0x3E
+
+Route17_EventScript_1AB2DB:: @ 81AB2DB
+ .incbin "baserom.gba", 0x1AB2DB, 0x3E
+
+Route17_EventScript_1AB319:: @ 81AB319
+ .incbin "baserom.gba", 0x1AB319, 0x3E
+
+Route18_EventScript_1AB357:: @ 81AB357
+ .incbin "baserom.gba", 0x1AB357, 0x3E
+
+Route18_EventScript_1AB395:: @ 81AB395
+ .incbin "baserom.gba", 0x1AB395, 0x3E
+
+Route18_EventScript_1AB3D3:: @ 81AB3D3
+ .incbin "baserom.gba", 0x1AB3D3, 0x3E
+
+Route19_EventScript_1AB411:: @ 81AB411
+ .incbin "baserom.gba", 0x1AB411, 0x3E
+
+Route19_EventScript_1AB44F:: @ 81AB44F
+ .incbin "baserom.gba", 0x1AB44F, 0x3E
+
+Route19_EventScript_1AB48D:: @ 81AB48D
+ .incbin "baserom.gba", 0x1AB48D, 0x3E
+
+Route19_EventScript_1AB4CB:: @ 81AB4CB
+ .incbin "baserom.gba", 0x1AB4CB, 0x3E
+
+Route19_EventScript_1AB509:: @ 81AB509
+ .incbin "baserom.gba", 0x1AB509, 0x3E
+
+Route19_EventScript_1AB547:: @ 81AB547
+ .incbin "baserom.gba", 0x1AB547, 0x3E
+
+Route19_EventScript_1AB585:: @ 81AB585
+ .incbin "baserom.gba", 0x1AB585, 0x3E
+
+Route19_EventScript_1AB5C3:: @ 81AB5C3
+ .incbin "baserom.gba", 0x1AB5C3, 0x3E
+
+Route19_EventScript_1AB601:: @ 81AB601
+ .incbin "baserom.gba", 0x1AB601, 0x3E
+
+Route19_EventScript_1AB63F:: @ 81AB63F
+ .incbin "baserom.gba", 0x1AB63F, 0x3E
+
+Route19_EventScript_1AB67D:: @ 81AB67D
+ .incbin "baserom.gba", 0x1AB67D, 0x46
+
+Route19_EventScript_1AB6C3:: @ 81AB6C3
+ .incbin "baserom.gba", 0x1AB6C3, 0x46
+
+Route20_EventScript_1AB709:: @ 81AB709
+ .incbin "baserom.gba", 0x1AB709, 0x3E
+
+Route20_EventScript_1AB747:: @ 81AB747
+ .incbin "baserom.gba", 0x1AB747, 0x3E
+
+Route20_EventScript_1AB785:: @ 81AB785
+ .incbin "baserom.gba", 0x1AB785, 0x3E
+
+Route20_EventScript_1AB7C3:: @ 81AB7C3
+ .incbin "baserom.gba", 0x1AB7C3, 0x3E
+
+Route20_EventScript_1AB801:: @ 81AB801
+ .incbin "baserom.gba", 0x1AB801, 0x3E
+
+Route20_EventScript_1AB83F:: @ 81AB83F
+ .incbin "baserom.gba", 0x1AB83F, 0x3E
+
+Route20_EventScript_1AB87D:: @ 81AB87D
+ .incbin "baserom.gba", 0x1AB87D, 0x3E
+
+Route20_EventScript_1AB8BB:: @ 81AB8BB
+ .incbin "baserom.gba", 0x1AB8BB, 0x3E
+
+Route20_EventScript_1AB8F9:: @ 81AB8F9
+ .incbin "baserom.gba", 0x1AB8F9, 0x3E
+
+Route20_EventScript_1AB937:: @ 81AB937
+ .incbin "baserom.gba", 0x1AB937, 0x3E
+
+Route21_North_EventScript_1AB975:: @ 81AB975
+ .incbin "baserom.gba", 0x1AB975, 0x3E
+
+Route21_South_EventScript_1AB9B3:: @ 81AB9B3
+ .incbin "baserom.gba", 0x1AB9B3, 0x3E
+
+Route21_North_EventScript_1AB9F1:: @ 81AB9F1
+ .incbin "baserom.gba", 0x1AB9F1, 0x3E
+
+Route21_South_EventScript_1ABA2F:: @ 81ABA2F
+ .incbin "baserom.gba", 0x1ABA2F, 0x3E
+
+Route21_North_EventScript_1ABA6D:: @ 81ABA6D
+ .incbin "baserom.gba", 0x1ABA6D, 0x3E
+
+Route21_South_EventScript_1ABAAB:: @ 81ABAAB
+ .incbin "baserom.gba", 0x1ABAAB, 0x3E
+
+Route21_South_EventScript_1ABAE9:: @ 81ABAE9
+ .incbin "baserom.gba", 0x1ABAE9, 0x3E
+
+Route21_South_EventScript_1ABB27:: @ 81ABB27
+ .incbin "baserom.gba", 0x1ABB27, 0x3E
+
+Route21_North_EventScript_1ABB65:: @ 81ABB65
+ .incbin "baserom.gba", 0x1ABB65, 0x46
+
+Route21_North_EventScript_1ABBAB:: @ 81ABBAB
+ .incbin "baserom.gba", 0x1ABBAB, 0x46
+
+OneIsland_KindleRoad_EventScript_1ABBF1:: @ 81ABBF1
+ .incbin "baserom.gba", 0x1ABBF1, 0x3E
+
+OneIsland_KindleRoad_EventScript_1ABC2F:: @ 81ABC2F
+ .incbin "baserom.gba", 0x1ABC2F, 0x3E
+
+OneIsland_KindleRoad_EventScript_1ABC6D:: @ 81ABC6D
+ .incbin "baserom.gba", 0x1ABC6D, 0x3E
+
+OneIsland_KindleRoad_EventScript_1ABCAB:: @ 81ABCAB
+ .incbin "baserom.gba", 0x1ABCAB, 0x3E
+
+OneIsland_KindleRoad_EventScript_1ABCE9:: @ 81ABCE9
+ .incbin "baserom.gba", 0x1ABCE9, 0x3E
+
+OneIsland_KindleRoad_EventScript_1ABD27:: @ 81ABD27
+ .incbin "baserom.gba", 0x1ABD27, 0x3E
+
+OneIsland_KindleRoad_EventScript_1ABD65:: @ 81ABD65
+ .incbin "baserom.gba", 0x1ABD65, 0x3E
+
+OneIsland_KindleRoad_EventScript_1ABDA3:: @ 81ABDA3
+ .incbin "baserom.gba", 0x1ABDA3, 0x3E
+
+OneIsland_KindleRoad_EventScript_1ABDE1:: @ 81ABDE1
+ .incbin "baserom.gba", 0x1ABDE1, 0x3E
+
+OneIsland_KindleRoad_EventScript_1ABE1F:: @ 81ABE1F
+ .incbin "baserom.gba", 0x1ABE1F, 0x3E
+
+OneIsland_KindleRoad_EventScript_1ABE5D:: @ 81ABE5D
+ .incbin "baserom.gba", 0x1ABE5D, 0x3E
+
+OneIsland_KindleRoad_EventScript_1ABE9B:: @ 81ABE9B
+ .incbin "baserom.gba", 0x1ABE9B, 0x46
+
+OneIsland_KindleRoad_EventScript_1ABEE1:: @ 81ABEE1
+ .incbin "baserom.gba", 0x1ABEE1, 0x46
+
+OneIsland_TreasureBeach_EventScript_1ABF27:: @ 81ABF27
+ .incbin "baserom.gba", 0x1ABF27, 0x3E
+
+ThreeIsland_BondBridge_EventScript_1ABF65:: @ 81ABF65
+ .incbin "baserom.gba", 0x1ABF65, 0x3E
+
+ThreeIsland_BondBridge_EventScript_1ABFA3:: @ 81ABFA3
+ .incbin "baserom.gba", 0x1ABFA3, 0x3E
+
+ThreeIsland_BondBridge_EventScript_1ABFE1:: @ 81ABFE1
+ .incbin "baserom.gba", 0x1ABFE1, 0x3E
+
+ThreeIsland_BondBridge_EventScript_1AC01F:: @ 81AC01F
+ .incbin "baserom.gba", 0x1AC01F, 0x3E
+
+ThreeIsland_BondBridge_EventScript_1AC05D:: @ 81AC05D
+ .incbin "baserom.gba", 0x1AC05D, 0x3E
+
+ThreeIsland_BondBridge_EventScript_1AC09B:: @ 81AC09B
+ .incbin "baserom.gba", 0x1AC09B, 0x46
+
+ThreeIsland_BondBridge_EventScript_1AC0E1:: @ 81AC0E1
+ .incbin "baserom.gba", 0x1AC0E1, 0x46
+
+FiveIsland_ResortGorgeous_EventScript_1AC127:: @ 81AC127
+ .incbin "baserom.gba", 0x1AC127, 0x3E
+
+FiveIsland_ResortGorgeous_EventScript_1AC165:: @ 81AC165
+ .incbin "baserom.gba", 0x1AC165, 0x3E
+
+FiveIsland_ResortGorgeous_EventScript_1AC1A3:: @ 81AC1A3
+ .incbin "baserom.gba", 0x1AC1A3, 0x3E
+
+FiveIsland_ResortGorgeous_EventScript_1AC1E1:: @ 81AC1E1
+ .incbin "baserom.gba", 0x1AC1E1, 0x3E
+
+FiveIsland_ResortGorgeous_EventScript_1AC21F:: @ 81AC21F
+ .incbin "baserom.gba", 0x1AC21F, 0x3E
+
+FiveIsland_ResortGorgeous_EventScript_1AC25D:: @ 81AC25D
+ .incbin "baserom.gba", 0x1AC25D, 0x3E
+
+FiveIsland_ResortGorgeous_EventScript_1AC29B:: @ 81AC29B
+ .incbin "baserom.gba", 0x1AC29B, 0x3E
+
+FiveIsland_WaterLabyrinth_EventScript_1AC2D9:: @ 81AC2D9
+ .incbin "baserom.gba", 0x1AC2D9, 0x3E
+
+FiveIsland_MemorialPillar_EventScript_1AC317:: @ 81AC317
+ .incbin "baserom.gba", 0x1AC317, 0x3E
+
+FiveIsland_MemorialPillar_EventScript_1AC355:: @ 81AC355
+ .incbin "baserom.gba", 0x1AC355, 0x3E
+
+FiveIsland_MemorialPillar_EventScript_1AC393:: @ 81AC393
+ .incbin "baserom.gba", 0x1AC393, 0x3E
+
+SixIsland_OutcastIsland_EventScript_1AC3D1:: @ 81AC3D1
+ .incbin "baserom.gba", 0x1AC3D1, 0x3E
+
+SixIsland_OutcastIsland_EventScript_1AC40F:: @ 81AC40F
+ .incbin "baserom.gba", 0x1AC40F, 0x3E
+
+SixIsland_OutcastIsland_EventScript_1AC44D:: @ 81AC44D
+ .incbin "baserom.gba", 0x1AC44D, 0x3E
+
+SixIsland_OutcastIsland_EventScript_1AC48B:: @ 81AC48B
+ .incbin "baserom.gba", 0x1AC48B, 0x46
+
+SixIsland_OutcastIsland_EventScript_1AC4D1:: @ 81AC4D1
+ .incbin "baserom.gba", 0x1AC4D1, 0x46
+
+SixIsland_GreenPath_EventScript_1AC517:: @ 81AC517
+ .incbin "baserom.gba", 0x1AC517, 0x3E
+
+SixIsland_WaterPath_EventScript_1AC555:: @ 81AC555
+ .incbin "baserom.gba", 0x1AC555, 0x3E
+
+SixIsland_WaterPath_EventScript_1AC593:: @ 81AC593
+ .incbin "baserom.gba", 0x1AC593, 0x3E
+
+SixIsland_WaterPath_EventScript_1AC5D1:: @ 81AC5D1
+ .incbin "baserom.gba", 0x1AC5D1, 0x3E
+
+SixIsland_WaterPath_EventScript_1AC60F:: @ 81AC60F
+ .incbin "baserom.gba", 0x1AC60F, 0x3E
+
+SixIsland_WaterPath_EventScript_1AC64D:: @ 81AC64D
+ .incbin "baserom.gba", 0x1AC64D, 0x46
+
+SixIsland_WaterPath_EventScript_1AC693:: @ 81AC693
+ .incbin "baserom.gba", 0x1AC693, 0x46
+
+SixIsland_WaterPath_EventScript_1AC6D9:: @ 81AC6D9
+ .incbin "baserom.gba", 0x1AC6D9, 0x3E
+
+SixIsland_RuinValley_EventScript_1AC717:: @ 81AC717
+ .incbin "baserom.gba", 0x1AC717, 0x3E
+
+SixIsland_RuinValley_EventScript_1AC755:: @ 81AC755
+ .incbin "baserom.gba", 0x1AC755, 0x3E
+
+SixIsland_RuinValley_EventScript_1AC793:: @ 81AC793
+ .incbin "baserom.gba", 0x1AC793, 0x3E
+
+SixIsland_RuinValley_EventScript_1AC7D1:: @ 81AC7D1
+ .incbin "baserom.gba", 0x1AC7D1, 0x3E
+
+SixIsland_RuinValley_EventScript_1AC80F:: @ 81AC80F
+ .incbin "baserom.gba", 0x1AC80F, 0x3E
+
+SevenIsland_TrainerTower_EventScript_1AC84D:: @ 81AC84D
+ .incbin "baserom.gba", 0x1AC84D, 0x3E
+
+SevenIsland_TrainerTower_EventScript_1AC88B:: @ 81AC88B
+ .incbin "baserom.gba", 0x1AC88B, 0x3E
+
+SevenIsland_SevaultCanyon_Entrance_EventScript_1AC8C9:: @ 81AC8C9
+ .incbin "baserom.gba", 0x1AC8C9, 0x3E
+
+SevenIsland_SevaultCanyon_Entrance_EventScript_1AC907:: @ 81AC907
+ .incbin "baserom.gba", 0x1AC907, 0x46
+
+SevenIsland_SevaultCanyon_Entrance_EventScript_1AC94D:: @ 81AC94D
+ .incbin "baserom.gba", 0x1AC94D, 0x46
+
+SevenIsland_SevaultCanyon_Entrance_EventScript_1AC993:: @ 81AC993
+ .incbin "baserom.gba", 0x1AC993, 0x3E
+
+SevenIsland_SevaultCanyon_Entrance_EventScript_1AC9D1:: @ 81AC9D1
+ .incbin "baserom.gba", 0x1AC9D1, 0x3E
+
+SevenIsland_SevaultCanyon_Entrance_EventScript_1ACA0F:: @ 81ACA0F
+ .incbin "baserom.gba", 0x1ACA0F, 0x3E
+
+SevenIsland_SevaultCanyon_EventScript_1ACA4D:: @ 81ACA4D
+ .incbin "baserom.gba", 0x1ACA4D, 0x3E
+
+SevenIsland_SevaultCanyon_EventScript_1ACA8B:: @ 81ACA8B
+ .incbin "baserom.gba", 0x1ACA8B, 0x3E
+
+SevenIsland_SevaultCanyon_EventScript_1ACAC9:: @ 81ACAC9
+ .incbin "baserom.gba", 0x1ACAC9, 0x3E
+
+SevenIsland_SevaultCanyon_EventScript_1ACB07:: @ 81ACB07
+ .incbin "baserom.gba", 0x1ACB07, 0x3E
+
+SevenIsland_SevaultCanyon_EventScript_1ACB45:: @ 81ACB45
+ .incbin "baserom.gba", 0x1ACB45, 0x3E
+
+SevenIsland_SevaultCanyon_EventScript_1ACB83:: @ 81ACB83
+ .incbin "baserom.gba", 0x1ACB83, 0x3E
+
+SevenIsland_SevaultCanyon_EventScript_1ACBC1:: @ 81ACBC1
+ .incbin "baserom.gba", 0x1ACBC1, 0x46
+
+SevenIsland_SevaultCanyon_EventScript_1ACC07:: @ 81ACC07
+ .incbin "baserom.gba", 0x1ACC07, 0x46
+
+SevenIsland_TanobyRuins_EventScript_1ACC4D:: @ 81ACC4D
+ .incbin "baserom.gba", 0x1ACC4D, 0x3E
+
+SevenIsland_TanobyRuins_EventScript_1ACC8B:: @ 81ACC8B
+ .incbin "baserom.gba", 0x1ACC8B, 0x3E
+
+SevenIsland_TanobyRuins_EventScript_1ACCC9:: @ 81ACCC9
+ .incbin "baserom.gba", 0x1ACCC9, 0x3E
+
+SevenIsland_TanobyRuins_EventScript_1ACD07:: @ 81ACD07
+ .incbin "baserom.gba", 0x1ACD07, 0x5E
+
+ViridianCity_House2_EventScript_1ACD65:: @ 81ACD65
+ .incbin "baserom.gba", 0x1ACD65, 0x6B
+
+FourIsland_PokemonCenter_1F_EventScript_1ACDD0:: @ 81ACDD0
+ .incbin "baserom.gba", 0x1ACDD0, 0x1A
+
+Route4_EventScript_1ACDEA:: @ 81ACDEA
+ .incbin "baserom.gba", 0x1ACDEA, 0x19
+
+MtMoon_1F_EventScript_1ACE03:: @ 81ACE03
+ .incbin "baserom.gba", 0x1ACE03, 0x19
+
+PewterCity_Museum_1F_EventScript_1ACE1C:: @ 81ACE1C
+ .incbin "baserom.gba", 0x1ACE1C, 0x1A
+
+Route20_EventScript_1ACE36:: @ 81ACE36
+ .incbin "baserom.gba", 0x1ACE36, 0x19
+
+Route25_EventScript_1ACE4F:: @ 81ACE4F
+ .incbin "baserom.gba", 0x1ACE4F, 0x19
+
+CeruleanCity_PokemonCenter_1F_EventScript_1ACE68:: @ 81ACE68
+ .incbin "baserom.gba", 0x1ACE68, 0x1B
+
+VermilionCity_PokemonCenter_1F_EventScript_1ACE83:: @ 81ACE83
+ .incbin "baserom.gba", 0x1ACE83, 0x1A
+
+CeladonCity_Condominiums_2F_EventScript_1ACE9D:: @ 81ACE9D
+ .incbin "baserom.gba", 0x1ACE9D, 0x1B
+
+FuchsiaCity_Building1_EventScript_1ACEB8:: @ 81ACEB8
+ .incbin "baserom.gba", 0x1ACEB8, 0x1B
+
+SafariZone_Building3_EventScript_1ACED3:: @ 81ACED3
+ .incbin "baserom.gba", 0x1ACED3, 0x19
+
+SaffronCity_PokemonCenter_1F_EventScript_1ACEEC:: @ 81ACEEC
+ .incbin "baserom.gba", 0x1ACEEC, 0x1B
+
+CinnabarIsland_Gym_EventScript_1ACF07:: @ 81ACF07
+ .incbin "baserom.gba", 0x1ACF07, 0x25
+
+FiveIsland_ResortGorgeous_House_EventScript_1ACF2C:: @ 81ACF2C
+ .incbin "baserom.gba", 0x1ACF2C, 0x1A
+
+FourIsland_Mart_EventScript_1ACF46:: @ 81ACF46
+ .incbin "baserom.gba", 0x1ACF46, 0x19
+
+FiveIsland_PokemonCenter_1F_EventScript_1ACF5F:: @ 81ACF5F
+ .incbin "baserom.gba", 0x1ACF5F, 0x1B
+
+SaffronCity_PokemonTrainerFanClub_EventScript_1ACF7A:: @ 81ACF7A
+ .incbin "baserom.gba", 0x1ACF7A, 0x1B
+
+SevenIsland_SevaultCanyon_EventScript_1ACF95:: @ 81ACF95
+ .incbin "baserom.gba", 0x1ACF95, 0x19
+
+IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE:: @ 81ACFAE
+ .incbin "baserom.gba", 0x1ACFAE, 0x26
+
+SevenIsland_PokemonCenter_1F_EventScript_1ACFD4:: @ 81ACFD4
+ .incbin "baserom.gba", 0x1ACFD4, 0x1B
+
+SixIsland_Mart_EventScript_1ACFEF:: @ 81ACFEF
+ .incbin "baserom.gba", 0x1ACFEF, 0x4B
+
+SaffronCity_Duplicate_EventScript_1AD03A:: @ 81AD03A
+ .incbin "baserom.gba", 0x1AD03A, 0x19
+
+CeladonCity_DepartmentStore_2F_EventScript_1AD053:: @ 81AD053
+ .incbin "baserom.gba", 0x1AD053, 0x19
+
+IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C:: @ 81AD06C
+ .incbin "baserom.gba", 0x1AD06C, 0x1B
+
+IndigoPlateau_PokemonCenter_1F_EventScript_1AD087:: @ 81AD087
+ .incbin "baserom.gba", 0x1AD087, 0x19
+
+LavenderTown_PokemonCenter_1F_EventScript_1AD0A0:: @ 81AD0A0
+ .incbin "baserom.gba", 0x1AD0A0, 0x19
+
+CinnabarIsland_PokemonCenter_1F_EventScript_1AD0B9:: @ 81AD0B9
+ .incbin "baserom.gba", 0x1AD0B9, 0x1B
+
+SilphCo_5F_EventScript_1AD0D4:: @ 81AD0D4
+ .incbin "baserom.gba", 0x1AD0D4, 0x19
+
+@ 0x19
+SilphCo_8F_EventScript_1AD0ED:: @ 81AD0ED
+ .incbin "baserom.gba", 0x1AD0ED, 0x19
+
+ .include "data/text/fame_checker.inc"
+
+CeladonCity_GameCorner_EventScript_1B2867:: @ 81B2867
+ .incbin "baserom.gba", 0x1B2867, 0xD1
+
+FourIsland_House2_EventScript_1B2938:: @ 81B2938
+ .incbin "baserom.gba", 0x1B2938, 0x4E4
+
+gUnknown_81B2E1C:: @ 81B2E1C
+ .string "How do I do this?$"
+
+gUnknown_81B2E2E:: @ 81B2E2E
+ .string "What does this term mean?$"
+
+gUnknown_81B2E48:: @ 81B2E48
+ .string "About this game$"
+
+gUnknown_81B2E58:: @ 81B2E58
+ .string "Type Matchup List$"
+
+gUnknown_81B2E6A:: @ 81B2E6A
+ .string "EXIT$"
+
+gUnknown_81B2E6F:: @ 81B2E6F
+ .incbin "baserom.gba", 0x1B2E6F, 0x15A
+
+gUnknown_81B2FC9:: @ 81B2FC9
+ .incbin "baserom.gba", 0x1B2FC9, 0x52
+
+gUnknown_81B301B:: @ 81B301B
+ .incbin "baserom.gba", 0x1B301B, 0x8199
+
+CeladonCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+CeruleanCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+CinnabarIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+FiveIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+FourIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+FuchsiaCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+IndigoPlateau_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+LavenderTown_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+OneIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+PewterCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+Route10_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+Route4_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+SaffronCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+SevenIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+SixIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+ThreeIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+TwoIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+VermilionCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+ViridianCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
+ .incbin "baserom.gba", 0x1BB1B4, 0x1E
+
+CeruleanCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+CinnabarIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+FiveIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+FuchsiaCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+OneIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+PewterCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+SevenIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+VermilionCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+FourIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+SixIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+ThreeIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+TwoIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+Route10_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+Route10_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+Route4_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+SaffronCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+IndigoPlateau_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+CeladonCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+LavenderTown_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+ViridianCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
+ .incbin "baserom.gba", 0x1BB1D2, 0x1B
+
+CeladonCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+CeruleanCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+CinnabarIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+FiveIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+FourIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+FuchsiaCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+IndigoPlateau_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+LavenderTown_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+OneIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+PewterCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+Route10_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+Route4_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+SaffronCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+SevenIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+SixIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+ThreeIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+TwoIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+VermilionCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+ViridianCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
+ .incbin "baserom.gba", 0x1BB1ED, 0x3A
+
+EventScript_1BB227:: @ 81BB227
+ .incbin "baserom.gba", 0x1BB227, 0x10
+
+CeladonCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+CeruleanCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+CinnabarIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+FiveIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+FourIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+FuchsiaCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+IndigoPlateau_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+LavenderTown_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+OneIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+PewterCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+Route10_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+Route4_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+SaffronCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+SevenIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+SixIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+ThreeIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+TwoIsland_JoyfulGameCorner_MapScript4_1BB237:: @ 81BB237
+TwoIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+VermilionCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+ViridianCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
+ .incbin "baserom.gba", 0x1BB237, 0x6C
+
+CeladonCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+CeruleanCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+CinnabarIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+FiveIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+FourIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+FuchsiaCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+IndigoPlateau_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+LavenderTown_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+OneIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+PewterCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+Route10_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+Route4_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+SaffronCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+SevenIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+SixIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+ThreeIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+TwoIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+VermilionCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+ViridianCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
+ .incbin "baserom.gba", 0x1BB2A3, 0x5A
+
+EventScript_1BB2FD:: @ 81BB2FD
+ .incbin "baserom.gba", 0x1BB2FD, 0x1A6
+
+EventScript_1BB4A3:: @ 81BB4A3
+ .incbin "baserom.gba", 0x1BB4A3, 0x208
+
+EventScript_1BB6AB:: @ 81BB6AB
+ .incbin "baserom.gba", 0x1BB6AB, 0x133
+
+EventScript_1BB7DE:: @ 81BB7DE
+ .incbin "baserom.gba", 0x1BB7DE, 0xC9
+
+gUnknown_81BB8A7:: @ 81BB8A7
+ .incbin "baserom.gba", 0x1BB8A7, 0x1C
+
+gUnknown_81BB8C3:: @ 81BB8C3
+UnknownMap_00_00_EventScript_1BB8C3:: @ 81BB8C3
+ .incbin "baserom.gba", 0x1BB8C3, 0xC
+
+gUnknown_81BB8CF:: @ 81BB8CF
+UnknownMap_00_00_EventScript_1BB8CF:: @ 81BB8CF
+ .incbin "baserom.gba", 0x1BB8CF, 0xC
+
+gUnknown_81BB8DB:: @ 81BB8DB
+UnknownMap_00_03_EventScript_1BB8DB:: @ 81BB8DB
+ .incbin "baserom.gba", 0x1BB8DB, 0x1D
+
+gUnknown_81BB8F8:: @ 81BB8F8
+UnknownMap_00_03_EventScript_1BB8F8:: @ 81BB8F8
+ .incbin "baserom.gba", 0x1BB8F8, 0x1D
+
+gUnknown_81BB915:: @ 81BB915
+UnknownMap_00_03_EventScript_1BB915:: @ 81BB915
+ .incbin "baserom.gba", 0x1BB915, 0x1D
+
+gUnknown_81BB932:: @ 81BB932
+UnknownMap_00_03_EventScript_1BB932:: @ 81BB932
+ .incbin "baserom.gba", 0x1BB932, 0x1E
+
+gUnknown_81BB950:: @ 81BB950
+UnknownMap_00_01_EventScript_1BB950:: @ 81BB950
+ .incbin "baserom.gba", 0x1BB950, 0xC
+
+gUnknown_81BB95C:: @ 81BB95C
+UnknownMap_00_01_EventScript_1BB95C:: @ 81BB95C
+ .incbin "baserom.gba", 0x1BB95C, 0x24
+
+gUnknown_81BB980:: @ 81BB980
+UnknownMap_00_02_EventScript_1BB980:: @ 81BB980
+ .incbin "baserom.gba", 0x1BB980, 0x1
+
+gUnknown_81BB981:: @ 81BB981
+ .incbin "baserom.gba", 0x1BB981, 0x11
+
+gUnknown_81BB992:: @ 81BB992
+ .incbin "baserom.gba", 0x1BB992, 0x11
+
+gUnknown_81BB9A3:: @ 81BB9A3
+ .incbin "baserom.gba", 0x1BB9A3, 0xC
+
+UnknownMap_00_00_EventScript_1BB9AF:: @ 81BB9AF
+ .incbin "baserom.gba", 0x1BB9AF, 0x12
+
+UnknownMap_00_01_EventScript_1BB9C1:: @ 81BB9C1
+ .incbin "baserom.gba", 0x1BB9C1, 0x12
+
+UnknownMap_00_02_EventScript_1BB9D3:: @ 81BB9D3
+ .incbin "baserom.gba", 0x1BB9D3, 0x1
+
+gUnknown_81BB9D4:: @ 81BB9D4
+ .incbin "baserom.gba", 0x1BB9D4, 0x1C
+
+gUnknown_81BB9F0:: @ 81BB9F0
+ .incbin "baserom.gba", 0x1BB9F0, 0xC
+
+gUnknown_81BB9FC:: @ 81BB9FC
+ .incbin "baserom.gba", 0x1BB9FC, 0x5DC
+
+gUnknown_81BBFD8:: @ 81BBFD8
+ .incbin "baserom.gba", 0x1BBFD8, 0x84
+
+CeladonCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+CeruleanCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+CinnabarIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+FiveIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+FourIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+FuchsiaCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+IndigoPlateau_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+LavenderTown_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+OneIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+PewterCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+Route10_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+Route4_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+SaffronCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+SevenIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+SixIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+ThreeIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+TwoIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+VermilionCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+ViridianCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
+ .incbin "baserom.gba", 0x1BC05C, 0x4
+
+EventScript_1BC060:: @ 81BC060
+ .incbin "baserom.gba", 0x1BC060, 0x6E
+
+EventScript_1BC0CE:: @ 81BC0CE
+ .incbin "baserom.gba", 0x1BC0CE, 0x219
+
+TwoIsland_JoyfulGameCorner_EventScript_1BC2E7:: @ 81BC2E7
+ .incbin "baserom.gba", 0x1BC2E7, 0x15
+
+TwoIsland_JoyfulGameCorner_EventScript_1BC2FC:: @ 81BC2FC
+ .incbin "baserom.gba", 0x1BC2FC, 0x1B0
+
+gUnknown_81BC4AC:: @ 81BC4AC
+ .incbin "baserom.gba", 0x1BC4AC, 0x22
+
+gUnknown_81BC4CE:: @ 81BC4CE
+ .incbin "baserom.gba", 0x1BC4CE, 0x3F
+
+gUnknown_81BC50D:: @ 81BC50D
+ .incbin "baserom.gba", 0x1BC50D, 0x3F
+
+gUnknown_81BC54C:: @ 81BC54C
+ .incbin "baserom.gba", 0x1BC54C, 0x19C7
+
+CeladonCity_EventScript_1BDF13:: @ 81BDF13
+CeladonCity_Gym_EventScript_1BDF13:: @ 81BDF13
+FiveIsland_Meadow_EventScript_1BDF13:: @ 81BDF13
+PewterCity_EventScript_1BDF13:: @ 81BDF13
+Route10_EventScript_1BDF13:: @ 81BDF13
+Route12_EventScript_1BDF13:: @ 81BDF13
+Route14_EventScript_1BDF13:: @ 81BDF13
+Route16_EventScript_1BDF13:: @ 81BDF13
+Route25_EventScript_1BDF13:: @ 81BDF13
+Route2_EventScript_1BDF13:: @ 81BDF13
+Route8_EventScript_1BDF13:: @ 81BDF13
+ThreeIsland_BerryForest_EventScript_1BDF13:: @ 81BDF13
+ThreeIsland_BondBridge_EventScript_1BDF13:: @ 81BDF13
+ThreeIsland_EventScript_1BDF13:: @ 81BDF13
+Route9_EventScript_1BDF13:: @ 81BDF13
+Route13_EventScript_1BDF13:: @ 81BDF13
+TwoIsland_EventScript_1BDF13:: @ 81BDF13
+FuchsiaCity_EventScript_1BDF13:: @ 81BDF13
+VermilionCity_EventScript_1BDF13:: @ 81BDF13
+VermilionCity_EventScript_1BDF13:: @ 81BDF13
+CeruleanCity_EventScript_1BDF13:: @ 81BDF13
+ViridianCity_EventScript_1BDF13:: @ 81BDF13
+ .incbin "baserom.gba", 0x1BDF13, 0x58
+
+gUnknown_81BDF6B:: @ 81BDF6B
+ .incbin "baserom.gba", 0x1BDF6B, 0xA1
+
+CeruleanCave_2F_EventScript_1BE00C:: @ 81BE00C
+MtEmber_Exterior_EventScript_1BE00C:: @ 81BE00C
+MtEmber_RubyPath_B1F_Stairs_EventScript_1BE00C:: @ 81BE00C
+MtEmber_RubyPath_B2F_EventScript_1BE00C:: @ 81BE00C
+MtEmber_SummitPath_2F_EventScript_1BE00C:: @ 81BE00C
+MtEmber_RubyPath_1F_EventScript_1BE00C:: @ 81BE00C
+SevenIsland_SevaultCanyon_EventScript_1BE00C:: @ 81BE00C
+FourIsland_EventScript_1BE00C:: @ 81BE00C
+OneIsland_KindleRoad_EventScript_1BE00C:: @ 81BE00C
+MtEmber_RubyPath_B2F_Stairs_EventScript_1BE00C:: @ 81BE00C
+MtEmber_RubyPath_B3F_EventScript_1BE00C:: @ 81BE00C
+MtEmber_RubyPath_B1F_EventScript_1BE00C:: @ 81BE00C
+MtEmber_RubyPath_B1F_EventScript_1BE00C:: @ 81BE00C
+RockTunnel_B1F_EventScript_1BE00C:: @ 81BE00C
+CeruleanCave_B1F_EventScript_1BE00C:: @ 81BE00C
+CeruleanCave_1F_EventScript_1BE00C:: @ 81BE00C
+ .incbin "baserom.gba", 0x1BE00C, 0x58
+
+gUnknown_81BE064:: @ 81BE064
+ .incbin "baserom.gba", 0x1BE064, 0xB9
+
+MtEmber_Exterior_EventScript_1BE11D:: @ 81BE11D
+MtEmber_RubyPath_B2F_EventScript_1BE11D:: @ 81BE11D
+MtEmber_Summit_EventScript_1BE11D:: @ 81BE11D
+SeafoamIslands_1F_EventScript_1BE11D:: @ 81BE11D
+SeafoamIslands_B2F_EventScript_1BE11D:: @ 81BE11D
+SevenIsland_SevaultCanyon_EventScript_1BE11D:: @ 81BE11D
+VictoryRoad_1F_EventScript_1BE11D:: @ 81BE11D
+VictoryRoad_3F_EventScript_1BE11D:: @ 81BE11D
+SixIsland_RuinValley_EventScript_1BE11D:: @ 81BE11D
+FuchsiaCity_Building1_EventScript_1BE11D:: @ 81BE11D
+SevenIsland_SeavaultCanyon_TanobyKey_EventScript_1BE11D:: @ 81BE11D
+MtEmber_RubyPath_B3F_EventScript_1BE11D:: @ 81BE11D
+SeafoamIslands_B3F_EventScript_1BE11D:: @ 81BE11D
+SeafoamIslands_B3F_EventScript_1BE11D:: @ 81BE11D
+SeafoamIslands_B1F_EventScript_1BE11D:: @ 81BE11D
+VictoryRoad_2F_EventScript_1BE11D:: @ 81BE11D
+ .incbin "baserom.gba", 0x1BE11D, 0x51
+
+gUnknown_81BE16E:: @ 81BE16E
+ .incbin "baserom.gba", 0x1BE16E, 0x149
+
+gUnknown_81BE2B7:: @ 81BE2B7
+ .incbin "baserom.gba", 0x1BE2B7, 0x48
+
+gUnknown_81BE2FF:: @ 81BE2FF
+ .incbin "baserom.gba", 0x1BE2FF, 0x265
+
+gUnknown_81BE564:: @ 81BE564
+ .incbin "baserom.gba", 0x1BE564, 0x2A
+
+Route2_EventScript_1BE58E:: @ 81BE58E
+ .incbin "baserom.gba", 0x1BE58E, 0xD
+
+Route2_EventScript_1BE59B:: @ 81BE59B
+ .incbin "baserom.gba", 0x1BE59B, 0xD
+
+ViridianForest_EventScript_1BE5A8:: @ 81BE5A8
+ .incbin "baserom.gba", 0x1BE5A8, 0xD
+
+ViridianForest_EventScript_1BE5B5:: @ 81BE5B5
+ .incbin "baserom.gba", 0x1BE5B5, 0xD
+
+ViridianForest_EventScript_1BE5C2:: @ 81BE5C2
+ .incbin "baserom.gba", 0x1BE5C2, 0xD
+
+MtMoon_1F_EventScript_1BE5CF:: @ 81BE5CF
+ .incbin "baserom.gba", 0x1BE5CF, 0xD
+
+MtMoon_1F_EventScript_1BE5DC:: @ 81BE5DC
+ .incbin "baserom.gba", 0x1BE5DC, 0xD
+
+MtMoon_1F_EventScript_1BE5E9:: @ 81BE5E9
+ .incbin "baserom.gba", 0x1BE5E9, 0xD
+
+MtMoon_1F_EventScript_1BE5F6:: @ 81BE5F6
+ .incbin "baserom.gba", 0x1BE5F6, 0xD
+
+MtMoon_1F_EventScript_1BE603:: @ 81BE603
+ .incbin "baserom.gba", 0x1BE603, 0xD
+
+MtMoon_1F_EventScript_1BE610:: @ 81BE610
+ .incbin "baserom.gba", 0x1BE610, 0xD
+
+MtMoon_B2F_EventScript_1BE61D:: @ 81BE61D
+ .incbin "baserom.gba", 0x1BE61D, 0xD
+
+MtMoon_B2F_EventScript_1BE62A:: @ 81BE62A
+ .incbin "baserom.gba", 0x1BE62A, 0xD
+
+Route4_EventScript_1BE637:: @ 81BE637
+ .incbin "baserom.gba", 0x1BE637, 0xD
+
+Route24_EventScript_1BE644:: @ 81BE644
+ .incbin "baserom.gba", 0x1BE644, 0xD
+
+Route25_EventScript_1BE651:: @ 81BE651
+ .incbin "baserom.gba", 0x1BE651, 0xD
+
+SSAnne_1F_Room2_EventScript_1BE65E:: @ 81BE65E
+ .incbin "baserom.gba", 0x1BE65E, 0xD
+
+SSAnne_2F_Room2_EventScript_1BE66B:: @ 81BE66B
+ .incbin "baserom.gba", 0x1BE66B, 0xD
+
+SSAnne_2F_Room4_EventScript_1BE678:: @ 81BE678
+ .incbin "baserom.gba", 0x1BE678, 0xD
+
+SSAnne_B1F_Room2_EventScript_1BE685:: @ 81BE685
+ .incbin "baserom.gba", 0x1BE685, 0xD
+
+SSAnne_B1F_Room3_EventScript_1BE692:: @ 81BE692
+ .incbin "baserom.gba", 0x1BE692, 0xD
+
+SSAnne_B1F_Room5_EventScript_1BE69F:: @ 81BE69F
+ .incbin "baserom.gba", 0x1BE69F, 0xD
+
+SSAnne_Kitchen_EventScript_1BE6AC:: @ 81BE6AC
+ .incbin "baserom.gba", 0x1BE6AC, 0xD
+
+Route9_EventScript_1BE6B9:: @ 81BE6B9
+ .incbin "baserom.gba", 0x1BE6B9, 0xD
+
+RocketHideout_B1F_EventScript_1BE6C6:: @ 81BE6C6
+ .incbin "baserom.gba", 0x1BE6C6, 0xD
+
+RocketHideout_B1F_EventScript_1BE6D3:: @ 81BE6D3
+ .incbin "baserom.gba", 0x1BE6D3, 0xD
+
+RocketHideout_B2F_EventScript_1BE6E0:: @ 81BE6E0
+ .incbin "baserom.gba", 0x1BE6E0, 0xD
+
+RocketHideout_B2F_EventScript_1BE6ED:: @ 81BE6ED
+ .incbin "baserom.gba", 0x1BE6ED, 0xD
+
+RocketHideout_B2F_EventScript_1BE6FA:: @ 81BE6FA
+ .incbin "baserom.gba", 0x1BE6FA, 0xD
+
+RocketHideout_B2F_EventScript_1BE707:: @ 81BE707
+ .incbin "baserom.gba", 0x1BE707, 0xD
+
+RocketHideout_B3F_EventScript_1BE714:: @ 81BE714
+ .incbin "baserom.gba", 0x1BE714, 0xD
+
+RocketHideout_B3F_EventScript_1BE721:: @ 81BE721
+ .incbin "baserom.gba", 0x1BE721, 0xD
+
+RocketHideout_B4F_EventScript_1BE72E:: @ 81BE72E
+ .incbin "baserom.gba", 0x1BE72E, 0xD
+
+RocketHideout_B4F_EventScript_1BE73B:: @ 81BE73B
+ .incbin "baserom.gba", 0x1BE73B, 0xD
+
+RocketHideout_B4F_EventScript_1BE748:: @ 81BE748
+ .incbin "baserom.gba", 0x1BE748, 0xD
+
+PokemonTower_3F_EventScript_1BE755:: @ 81BE755
+ .incbin "baserom.gba", 0x1BE755, 0xD
+
+PokemonTower_4F_EventScript_1BE762:: @ 81BE762
+ .incbin "baserom.gba", 0x1BE762, 0xD
+
+PokemonTower_4F_EventScript_1BE76F:: @ 81BE76F
+ .incbin "baserom.gba", 0x1BE76F, 0xD
+
+PokemonTower_4F_EventScript_1BE77C:: @ 81BE77C
+ .incbin "baserom.gba", 0x1BE77C, 0xD
+
+PokemonTower_5F_EventScript_1BE789:: @ 81BE789
+ .incbin "baserom.gba", 0x1BE789, 0xD
+
+PokemonTower_6F_EventScript_1BE796:: @ 81BE796
+ .incbin "baserom.gba", 0x1BE796, 0xD
+
+PokemonTower_6F_EventScript_1BE7A3:: @ 81BE7A3
+ .incbin "baserom.gba", 0x1BE7A3, 0xD
+
+Route12_EventScript_1BE7B0:: @ 81BE7B0
+ .incbin "baserom.gba", 0x1BE7B0, 0xD
+
+Route12_EventScript_1BE7BD:: @ 81BE7BD
+ .incbin "baserom.gba", 0x1BE7BD, 0xD
+
+Route15_EventScript_1BE7CA:: @ 81BE7CA
+ .incbin "baserom.gba", 0x1BE7CA, 0xD
+
+SafariZone_Center_EventScript_1BE7D7:: @ 81BE7D7
+ .incbin "baserom.gba", 0x1BE7D7, 0xD
+
+SafariZone_East_EventScript_1BE7E4:: @ 81BE7E4
+ .incbin "baserom.gba", 0x1BE7E4, 0xD
+
+SafariZone_East_EventScript_1BE7F1:: @ 81BE7F1
+ .incbin "baserom.gba", 0x1BE7F1, 0xD
+
+SafariZone_East_EventScript_1BE7FE:: @ 81BE7FE
+ .incbin "baserom.gba", 0x1BE7FE, 0xD
+
+SafariZone_East_EventScript_1BE80B:: @ 81BE80B
+ .incbin "baserom.gba", 0x1BE80B, 0xD
+
+SafariZone_North_EventScript_1BE818:: @ 81BE818
+ .incbin "baserom.gba", 0x1BE818, 0xD
+
+SafariZone_North_EventScript_1BE825:: @ 81BE825
+ .incbin "baserom.gba", 0x1BE825, 0xD
+
+SafariZone_West_EventScript_1BE832:: @ 81BE832
+ .incbin "baserom.gba", 0x1BE832, 0xD
+
+SafariZone_West_EventScript_1BE83F:: @ 81BE83F
+ .incbin "baserom.gba", 0x1BE83F, 0xD
+
+SafariZone_West_EventScript_1BE84C:: @ 81BE84C
+ .incbin "baserom.gba", 0x1BE84C, 0xD
+
+SafariZone_West_EventScript_1BE859:: @ 81BE859
+ .incbin "baserom.gba", 0x1BE859, 0xD
+
+SilphCo_3F_EventScript_1BE866:: @ 81BE866
+ .incbin "baserom.gba", 0x1BE866, 0xD
+
+SilphCo_4F_EventScript_1BE873:: @ 81BE873
+ .incbin "baserom.gba", 0x1BE873, 0xD
+
+SilphCo_4F_EventScript_1BE880:: @ 81BE880
+ .incbin "baserom.gba", 0x1BE880, 0xD
+
+SilphCo_4F_EventScript_1BE88D:: @ 81BE88D
+ .incbin "baserom.gba", 0x1BE88D, 0xD
+
+SilphCo_5F_EventScript_1BE89A:: @ 81BE89A
+ .incbin "baserom.gba", 0x1BE89A, 0xD
+
+SilphCo_5F_EventScript_1BE8A7:: @ 81BE8A7
+ .incbin "baserom.gba", 0x1BE8A7, 0xD
+
+SilphCo_5F_EventScript_1BE8B4:: @ 81BE8B4
+ .incbin "baserom.gba", 0x1BE8B4, 0xD
+
+SilphCo_6F_EventScript_1BE8C1:: @ 81BE8C1
+ .incbin "baserom.gba", 0x1BE8C1, 0xD
+
+SilphCo_6F_EventScript_1BE8CE:: @ 81BE8CE
+ .incbin "baserom.gba", 0x1BE8CE, 0xD
+
+SilphCo_7F_EventScript_1BE8DB:: @ 81BE8DB
+ .incbin "baserom.gba", 0x1BE8DB, 0xD
+
+SilphCo_7F_EventScript_1BE8E8:: @ 81BE8E8
+ .incbin "baserom.gba", 0x1BE8E8, 0xD
+
+SilphCo_10F_EventScript_1BE8F5:: @ 81BE8F5
+ .incbin "baserom.gba", 0x1BE8F5, 0xD
+
+SilphCo_10F_EventScript_1BE902:: @ 81BE902
+ .incbin "baserom.gba", 0x1BE902, 0xD
+
+SilphCo_10F_EventScript_1BE90F:: @ 81BE90F
+ .incbin "baserom.gba", 0x1BE90F, 0xD
+
+PowerPlant_EventScript_1BE91C:: @ 81BE91C
+ .incbin "baserom.gba", 0x1BE91C, 0xD
+
+PowerPlant_EventScript_1BE929:: @ 81BE929
+ .incbin "baserom.gba", 0x1BE929, 0xD
+
+PowerPlant_EventScript_1BE936:: @ 81BE936
+ .incbin "baserom.gba", 0x1BE936, 0xD
+
+PowerPlant_EventScript_1BE943:: @ 81BE943
+ .incbin "baserom.gba", 0x1BE943, 0xD
+
+PowerPlant_EventScript_1BE950:: @ 81BE950
+ .incbin "baserom.gba", 0x1BE950, 0xD
+
+PokemonMansion_1F_EventScript_1BE95D:: @ 81BE95D
+ .incbin "baserom.gba", 0x1BE95D, 0xD
+
+PokemonMansion_1F_EventScript_1BE96A:: @ 81BE96A
+ .incbin "baserom.gba", 0x1BE96A, 0xD
+
+PokemonMansion_2F_EventScript_1BE977:: @ 81BE977
+ .incbin "baserom.gba", 0x1BE977, 0xD
+
+PokemonMansion_3F_EventScript_1BE984:: @ 81BE984
+ .incbin "baserom.gba", 0x1BE984, 0xD
+
+PokemonMansion_3F_EventScript_1BE991:: @ 81BE991
+ .incbin "baserom.gba", 0x1BE991, 0xD
+
+PokemonMansion_B1F_EventScript_1BE99E:: @ 81BE99E
+ .incbin "baserom.gba", 0x1BE99E, 0xD
+
+PokemonMansion_B1F_EventScript_1BE9AB:: @ 81BE9AB
+ .incbin "baserom.gba", 0x1BE9AB, 0xD
+
+PokemonMansion_B1F_EventScript_1BE9B8:: @ 81BE9B8
+ .incbin "baserom.gba", 0x1BE9B8, 0xD
+
+PokemonMansion_B1F_EventScript_1BE9C5:: @ 81BE9C5
+ .incbin "baserom.gba", 0x1BE9C5, 0xD
+
+VictoryRoad_1F_EventScript_1BE9D2:: @ 81BE9D2
+ .incbin "baserom.gba", 0x1BE9D2, 0xD
+
+VictoryRoad_1F_EventScript_1BE9DF:: @ 81BE9DF
+ .incbin "baserom.gba", 0x1BE9DF, 0xD
+
+VictoryRoad_2F_EventScript_1BE9EC:: @ 81BE9EC
+ .incbin "baserom.gba", 0x1BE9EC, 0xD
+
+VictoryRoad_2F_EventScript_1BE9F9:: @ 81BE9F9
+ .incbin "baserom.gba", 0x1BE9F9, 0xD
+
+VictoryRoad_2F_EventScript_1BEA06:: @ 81BEA06
+ .incbin "baserom.gba", 0x1BEA06, 0xD
+
+VictoryRoad_2F_EventScript_1BEA13:: @ 81BEA13
+ .incbin "baserom.gba", 0x1BEA13, 0xD
+
+VictoryRoad_3F_EventScript_1BEA20:: @ 81BEA20
+ .incbin "baserom.gba", 0x1BEA20, 0xD
+
+VictoryRoad_3F_EventScript_1BEA2D:: @ 81BEA2D
+ .incbin "baserom.gba", 0x1BEA2D, 0xD
+
+CeruleanCave_1F_EventScript_1BEA3A:: @ 81BEA3A
+ .incbin "baserom.gba", 0x1BEA3A, 0xD
+
+CeruleanCave_1F_EventScript_1BEA47:: @ 81BEA47
+ .incbin "baserom.gba", 0x1BEA47, 0xD
+
+CeruleanCave_1F_EventScript_1BEA54:: @ 81BEA54
+ .incbin "baserom.gba", 0x1BEA54, 0xD
+
+CeruleanCave_2F_EventScript_1BEA61:: @ 81BEA61
+ .incbin "baserom.gba", 0x1BEA61, 0xD
+
+CeruleanCave_2F_EventScript_1BEA6E:: @ 81BEA6E
+ .incbin "baserom.gba", 0x1BEA6E, 0xD
+
+CeruleanCave_2F_EventScript_1BEA7B:: @ 81BEA7B
+ .incbin "baserom.gba", 0x1BEA7B, 0xD
+
+CeruleanCave_B1F_EventScript_1BEA88:: @ 81BEA88
+ .incbin "baserom.gba", 0x1BEA88, 0xD
+
+CeruleanCave_B1F_EventScript_1BEA95:: @ 81BEA95
+ .incbin "baserom.gba", 0x1BEA95, 0xD
+
+FuchsiaCity_Building1_EventScript_1BEAA2:: @ 81BEAA2
+ .incbin "baserom.gba", 0x1BEAA2, 0xD
+
+TwoIsland_EventScript_1BEAAF:: @ 81BEAAF
+ .incbin "baserom.gba", 0x1BEAAF, 0xD
+
+ThreeIsland_EventScript_1BEABC:: @ 81BEABC
+ .incbin "baserom.gba", 0x1BEABC, 0xD
+
+ViridianForest_EventScript_1BEAC9:: @ 81BEAC9
+ .incbin "baserom.gba", 0x1BEAC9, 0xD
+
+MtMoon_B2F_EventScript_1BEAD6:: @ 81BEAD6
+ .incbin "baserom.gba", 0x1BEAD6, 0xD
+
+MtMoon_B2F_EventScript_1BEAE3:: @ 81BEAE3
+ .incbin "baserom.gba", 0x1BEAE3, 0xD
+
+Route11_EventScript_1BEAF0:: @ 81BEAF0
+ .incbin "baserom.gba", 0x1BEAF0, 0xD
+
+Route9_EventScript_1BEAFD:: @ 81BEAFD
+ .incbin "baserom.gba", 0x1BEAFD, 0xD
+
+RockTunnel_1F_EventScript_1BEB0A:: @ 81BEB0A
+ .incbin "baserom.gba", 0x1BEB0A, 0xD
+
+RockTunnel_1F_EventScript_1BEB17:: @ 81BEB17
+ .incbin "baserom.gba", 0x1BEB17, 0xD
+
+RockTunnel_1F_EventScript_1BEB24:: @ 81BEB24
+ .incbin "baserom.gba", 0x1BEB24, 0xD
+
+RockTunnel_B1F_EventScript_1BEB31:: @ 81BEB31
+ .incbin "baserom.gba", 0x1BEB31, 0xD
+
+RockTunnel_B1F_EventScript_1BEB3E:: @ 81BEB3E
+ .incbin "baserom.gba", 0x1BEB3E, 0xD
+
+SilphCo_8F_EventScript_1BEB4B:: @ 81BEB4B
+ .incbin "baserom.gba", 0x1BEB4B, 0xD
+
+SilphCo_11F_EventScript_1BEB58:: @ 81BEB58
+ .incbin "baserom.gba", 0x1BEB58, 0xD
+
+PokemonMansion_1F_EventScript_1BEB65:: @ 81BEB65
+ .incbin "baserom.gba", 0x1BEB65, 0xD
+
+PokemonMansion_2F_EventScript_1BEB72:: @ 81BEB72
+ .incbin "baserom.gba", 0x1BEB72, 0xD
+
+PokemonMansion_2F_EventScript_1BEB7F:: @ 81BEB7F
+ .incbin "baserom.gba", 0x1BEB7F, 0xD
+
+ViridianCity_EventScript_1BEB8C:: @ 81BEB8C
+ .incbin "baserom.gba", 0x1BEB8C, 0xD
+
+Route11_EventScript_1BEB99:: @ 81BEB99
+ .incbin "baserom.gba", 0x1BEB99, 0xD
+
+Route11_EventScript_1BEBA6:: @ 81BEBA6
+ .incbin "baserom.gba", 0x1BEBA6, 0xD
+
+PokemonTower_5F_EventScript_1BEBB3:: @ 81BEBB3
+ .incbin "baserom.gba", 0x1BEBB3, 0xD
+
+CeladonCity_EventScript_1BEBC0:: @ 81BEBC0
+ .incbin "baserom.gba", 0x1BEBC0, 0xD
+
+RocketHideout_B3F_EventScript_1BEBCD:: @ 81BEBCD
+ .incbin "baserom.gba", 0x1BEBCD, 0xD
+
+SafariZone_North_EventScript_1BEBDA:: @ 81BEBDA
+ .incbin "baserom.gba", 0x1BEBDA, 0xD
+
+SeafoamIslands_1F_EventScript_1BEBE7:: @ 81BEBE7
+ .incbin "baserom.gba", 0x1BEBE7, 0xD
+
+SeafoamIslands_B1F_EventScript_1BEBF4:: @ 81BEBF4
+ .incbin "baserom.gba", 0x1BEBF4, 0xD
+
+SeafoamIslands_B1F_EventScript_1BEC01:: @ 81BEC01
+ .incbin "baserom.gba", 0x1BEC01, 0xD
+
+SeafoamIslands_B2F_EventScript_1BEC0E:: @ 81BEC0E
+ .incbin "baserom.gba", 0x1BEC0E, 0xD
+
+SeafoamIslands_B4F_EventScript_1BEC1B:: @ 81BEC1B
+ .incbin "baserom.gba", 0x1BEC1B, 0xD
+
+FourIsland_EventScript_1BEC28:: @ 81BEC28
+ .incbin "baserom.gba", 0x1BEC28, 0xD
+
+FourIsland_EventScript_1BEC35:: @ 81BEC35
+ .incbin "baserom.gba", 0x1BEC35, 0xD
+
+OneIsland_KindleRoad_EventScript_1BEC42:: @ 81BEC42
+ .incbin "baserom.gba", 0x1BEC42, 0xD
+
+OneIsland_KindleRoad_EventScript_1BEC4F:: @ 81BEC4F
+ .incbin "baserom.gba", 0x1BEC4F, 0xD
+
+OneIsland_KindleRoad_EventScript_1BEC5C:: @ 81BEC5C
+ .incbin "baserom.gba", 0x1BEC5C, 0xD
+
+FiveIsland_Meadow_EventScript_1BEC69:: @ 81BEC69
+ .incbin "baserom.gba", 0x1BEC69, 0xD
+
+FiveIsland_Meadow_EventScript_1BEC76:: @ 81BEC76
+ .incbin "baserom.gba", 0x1BEC76, 0xD
+
+FiveIsland_MemorialPillar_EventScript_1BEC83:: @ 81BEC83
+ .incbin "baserom.gba", 0x1BEC83, 0xD
+
+SixIsland_OutcastIsland_EventScript_1BEC90:: @ 81BEC90
+ .incbin "baserom.gba", 0x1BEC90, 0xD
+
+SixIsland_WaterPath_EventScript_1BEC9D:: @ 81BEC9D
+ .incbin "baserom.gba", 0x1BEC9D, 0xD
+
+SixIsland_WaterPath_EventScript_1BECAA:: @ 81BECAA
+ .incbin "baserom.gba", 0x1BECAA, 0xD
+
+SixIsland_RuinValley_EventScript_1BECB7:: @ 81BECB7
+ .incbin "baserom.gba", 0x1BECB7, 0xD
+
+SixIsland_RuinValley_EventScript_1BECC4:: @ 81BECC4
+ .incbin "baserom.gba", 0x1BECC4, 0xD
+
+SixIsland_RuinValley_EventScript_1BECD1:: @ 81BECD1
+ .incbin "baserom.gba", 0x1BECD1, 0xD
+
+SevenIsland_SevaultCanyon_EventScript_1BECDE:: @ 81BECDE
+ .incbin "baserom.gba", 0x1BECDE, 0xD
+
+SevenIsland_SevaultCanyon_EventScript_1BECEB:: @ 81BECEB
+ .incbin "baserom.gba", 0x1BECEB, 0xD
+
+SevenIsland_SevaultCanyon_EventScript_1BECF8:: @ 81BECF8
+ .incbin "baserom.gba", 0x1BECF8, 0xD
+
+ThreeIsland_BerryForest_EventScript_1BED05:: @ 81BED05
+ .incbin "baserom.gba", 0x1BED05, 0xD
+
+ThreeIsland_BerryForest_EventScript_1BED12:: @ 81BED12
+ .incbin "baserom.gba", 0x1BED12, 0xD
+
+ThreeIsland_BerryForest_EventScript_1BED1F:: @ 81BED1F
+ .incbin "baserom.gba", 0x1BED1F, 0xD
+
+MtEmber_Exterior_EventScript_1BED2C:: @ 81BED2C
+ .incbin "baserom.gba", 0x1BED2C, 0xD
+
+MtEmber_Exterior_EventScript_1BED39:: @ 81BED39
+ .incbin "baserom.gba", 0x1BED39, 0xD
+
+MtEmber_Exterior_EventScript_1BED46:: @ 81BED46
+ .incbin "baserom.gba", 0x1BED46, 0xD
+
+FourIsland_IcefallCave_1F_EventScript_1BED53:: @ 81BED53
+ .incbin "baserom.gba", 0x1BED53, 0xD
+
+FourIsland_IcefallCave_1F_EventScript_1BED60:: @ 81BED60
+ .incbin "baserom.gba", 0x1BED60, 0xD
+
+FourIsland_IcefallCave_B1F_EventScript_1BED6D:: @ 81BED6D
+ .incbin "baserom.gba", 0x1BED6D, 0xD
+
+FourIsland_IcefallCave_B1F_EventScript_1BED7A:: @ 81BED7A
+ .incbin "baserom.gba", 0x1BED7A, 0xD
+
+FiveIsland_RocketWarehouse_EventScript_1BED87:: @ 81BED87
+ .incbin "baserom.gba", 0x1BED87, 0xD
+
+FiveIsland_RocketWarehouse_EventScript_1BED94:: @ 81BED94
+ .incbin "baserom.gba", 0x1BED94, 0xD
+
+FiveIsland_RocketWarehouse_EventScript_1BEDA1:: @ 81BEDA1
+ .incbin "baserom.gba", 0x1BEDA1, 0xD
+
+FiveIsland_RocketWarehouse_EventScript_1BEDAE:: @ 81BEDAE
+ .incbin "baserom.gba", 0x1BEDAE, 0xD
+
+FiveIsland_LostCave_Room10_EventScript_1BEDBB:: @ 81BEDBB
+ .incbin "baserom.gba", 0x1BEDBB, 0xD
+
+FiveIsland_LostCave_Room11_EventScript_1BEDC8:: @ 81BEDC8
+ .incbin "baserom.gba", 0x1BEDC8, 0xD
+
+FiveIsland_LostCave_Room12_EventScript_1BEDD5:: @ 81BEDD5
+ .incbin "baserom.gba", 0x1BEDD5, 0xD
+
+FiveIsland_LostCave_Room13_EventScript_1BEDE2:: @ 81BEDE2
+ .incbin "baserom.gba", 0x1BEDE2, 0xD
+
+FiveIsland_LostCave_Room14_EventScript_1BEDEF:: @ 81BEDEF
+ .incbin "baserom.gba", 0x1BEDEF, 0xD
+
+SevenIsland_SevaultCanyon_House_EventScript_1BEDFC:: @ 81BEDFC
+ .incbin "baserom.gba", 0x1BEDFC, 0xD
+
+SilphCo_4F_EventScript_1BEE09:: @ 81BEE09
+ .incbin "baserom.gba", 0x1BEE09, 0xD
+
+PewterCity_PokemonCenter_1F_EventScript_1BEE16:: @ 81BEE16
+ .incbin "baserom.gba", 0x1BEE16, 0x582
+
+Route5_PokemonDayCare_EventScript_1BF398:: @ 81BF398
+ .incbin "baserom.gba", 0x1BF398, 0x1AE
+
+gUnknown_81BF546:: @ 81BF546
+ .incbin "baserom.gba", 0x1BF546, 0xF
+
+gUnknown_81BF555:: @ 81BF555
+ .incbin "baserom.gba", 0x1BF555, 0x8E
+
+gUnknown_81BF5E3:: @ 81BF5E3
+ .incbin "baserom.gba", 0x1BF5E3, 0xB7
+
+gUnknown_81BF69A:: @ 81BF69A
+ .incbin "baserom.gba", 0x1BF69A, 0x35
+
+gUnknown_81BF6CF:: @ 81BF6CF
+ .incbin "baserom.gba", 0x1BF6CF, 0x21
+
+gUnknown_81BF6F0:: @ 81BF6F0
+ .incbin "baserom.gba", 0x1BF6F0, 0x3A
+
+Text_1BF72A:: @ 81BF72A
+ .incbin "baserom.gba", 0x1BF72A, 0x2B
+
+gUnknown_81BF755:: @ 81BF755
+ .incbin "baserom.gba", 0x1BF755, 0x34
+
+gUnknown_81BF789:: @ 81BF789
+ .incbin "baserom.gba", 0x1BF789, 0x2D
+
+gUnknown_81BF7B6:: @ 81BF7B6
+ .incbin "baserom.gba", 0x1BF7B6, 0x2E
+
+gUnknown_81BF7E4:: @ 81BF7E4
+ .incbin "baserom.gba", 0x1BF7E4, 0x55
+
+gUnknown_81BF839:: @ 81BF839
+ .incbin "baserom.gba", 0x1BF839, 0x27
+
+gUnknown_81BF860:: @ 81BF860
+ .incbin "baserom.gba", 0x1BF860, 0x3F
+
+gUnknown_81BF89F:: @ 81BF89F
+ .incbin "baserom.gba", 0x1BF89F, 0x57
+
+gUnknown_81BF8F6:: @ 81BF8F6
+ .incbin "baserom.gba", 0x1BF8F6, 0x20
+
+gUnknown_81BF916:: @ 81BF916
+ .incbin "baserom.gba", 0x1BF916, 0x1C
+
+gUnknown_81BF932:: @ 81BF932
+ .incbin "baserom.gba", 0x1BF932, 0x1D
+
+gUnknown_81BF94F:: @ 81BF94F
+ .incbin "baserom.gba", 0x1BF94F, 0x27
+
+gUnknown_81BF976:: @ 81BF976
+ .incbin "baserom.gba", 0x1BF976, 0x12
+
+gUnknown_81BF988:: @ 81BF988
+ .incbin "baserom.gba", 0x1BF988, 0x44
+
+gUnknown_81BF9CC:: @ 81BF9CC
+ .incbin "baserom.gba", 0x1BF9CC, 0x23
+
+gUnknown_81BF9EF:: @ 81BF9EF
+ .incbin "baserom.gba", 0x1BF9EF, 0x4C
+
+gUnknown_81BFA3B:: @ 81BFA3B
+ .incbin "baserom.gba", 0x1BFA3B, 0x2C
+
+gUnknown_81BFA67:: @ 81BFA67
+ .incbin "baserom.gba", 0x1BFA67, 0x1E
+
+gUnknown_81BFA85:: @ 81BFA85
+ .incbin "baserom.gba", 0x1BFA85, 0x28
+
+gUnknown_81BFAAD:: @ 81BFAAD
+ .incbin "baserom.gba", 0x1BFAAD, 0x3B
+
+gUnknown_81BFAE8:: @ 81BFAE8
+ .incbin "baserom.gba", 0x1BFAE8, 0x21
+
+gUnknown_81BFB09:: @ 81BFB09
+ .incbin "baserom.gba", 0x1BFB09, 0x56
+
+gUnknown_81BFB5F:: @ 81BFB5F
+ .incbin "baserom.gba", 0x1BFB5F, 0x6
+
+gUnknown_81BFB65:: @ 81BFB65
+ .incbin "baserom.gba", 0x1BFB65, 0x22
+
+gUnknown_81BFB87:: @ 81BFB87
+ .incbin "baserom.gba", 0x1BFB87, 0x23
+
+gUnknown_81BFBAA:: @ 81BFBAA
+ .incbin "baserom.gba", 0x1BFBAA, 0x1B
+
+gUnknown_81BFBC5:: @ 81BFBC5
+ .incbin "baserom.gba", 0x1BFBC5, 0x12
+
+gUnknown_81BFBD7:: @ 81BFBD7
+ .incbin "baserom.gba", 0x1BFBD7, 0x2D5
+
+gUnknown_81BFEAC:: @ 81BFEAC
+ .incbin "baserom.gba", 0x1BFEAC, 0x1164
+
+gUnknown_81C1010:: @ 81C1010
+ .incbin "baserom.gba", 0x1C1010, 0xC
+
+gUnknown_81C101C:: @ 81C101C
+ .incbin "baserom.gba", 0x1C101C, 0x345
+
+gUnknown_81C1361:: @ 81C1361
+ .incbin "baserom.gba", 0x1C1361, 0x1B
+
+gUnknown_81C137C:: @ 81C137C
+ .incbin "baserom.gba", 0x1C137C, 0x5A
+
+gUnknown_81C13D6:: @ 81C13D6
+ .incbin "baserom.gba", 0x1C13D6, 0x53
+
+gUnknown_81C1429:: @ 81C1429
+ .incbin "baserom.gba", 0x1C1429, 0x3385
+
+VictoryRoad_2F_EventScript_1C47AE:: @ 81C47AE
+ .incbin "baserom.gba", 0x1C47AE, 0x68
+
+EventScript_1C4816:: @ 81C4816
+ .incbin "baserom.gba", 0x1C4816, 0x68
+
+RockTunnel_B1F_EventScript_1C487E:: @ 81C487E
+ .incbin "baserom.gba", 0x1C487E, 0x68
+
+MtEmber_Exterior_EventScript_1C48E6:: @ 81C48E6
+ .incbin "baserom.gba", 0x1C48E6, 0x68
+
+Route4_EventScript_1C494E:: @ 81C494E
+ .incbin "baserom.gba", 0x1C494E, 0x68
+
+Route4_EventScript_1C49B6:: @ 81C49B6
+ .incbin "baserom.gba", 0x1C49B6, 0x68
+
+EventScript_1C4A1E:: @ 81C4A1E
+ .incbin "baserom.gba", 0x1C4A1E, 0x68
+
+EventScript_1C4A86:: @ 81C4A86
+ .incbin "baserom.gba", 0x1C4A86, 0x68
+
+FuchsiaCity_EventScript_1C4AEE:: @ 81C4AEE
+ .incbin "baserom.gba", 0x1C4AEE, 0x68
+
+SevenIsland_EventScript_1C4B56:: @ 81C4B56
+ .incbin "baserom.gba", 0x1C4B56, 0x68
+
+PewterCity_Museum_1F_EventScript_1C4BBE:: @ 81C4BBE
+ .incbin "baserom.gba", 0x1C4BBE, 0x68
+
+EventScript_1C4C26:: @ 81C4C26
+ .incbin "baserom.gba", 0x1C4C26, 0x68
+
+EventScript_1C4C8E:: @ 81C4C8E
+ .incbin "baserom.gba", 0x1C4C8E, 0x68
+
+EventScript_1C4CF6:: @ 81C4CF6
+ .incbin "baserom.gba", 0x1C4CF6, 0x8E
+
+FourIsland_House1_EventScript_1C4D84:: @ 81C4D84
+ .incbin "baserom.gba", 0x1C4D84, 0x68
+
+TwoIsland_CapeBrink_House_EventScript_1C4DEC:: @ 81C4DEC
+ .incbin "baserom.gba", 0x1C4DEC, 0x168
+
+SevenIsland_TrainerTower_1F_MapScript1_1C4F54:: @ 81C4F54
+SevenIsland_TrainerTower_2F_MapScript1_1C4F54:: @ 81C4F54
+SevenIsland_TrainerTower_3F_MapScript1_1C4F54:: @ 81C4F54
+SevenIsland_TrainerTower_4F_MapScript1_1C4F54:: @ 81C4F54
+SevenIsland_TrainerTower_5F_MapScript1_1C4F54:: @ 81C4F54
+SevenIsland_TrainerTower_6F_MapScript1_1C4F54:: @ 81C4F54
+SevenIsland_TrainerTower_7F_MapScript1_1C4F54:: @ 81C4F54
+SevenIsland_TrainerTower_8F_MapScript1_1C4F54:: @ 81C4F54
+SevenIsland_TrainerTower_Elevator_MapScript1_1C4F54:: @ 81C4F54
+SevenIsland_TrainerTower_Roof_MapScript1_1C4F54:: @ 81C4F54
+ .incbin "baserom.gba", 0x1C4F54, 0xE
+
+SevenIsland_TrainerTower_1F_MapScript2_1C4F62:: @ 81C4F62
+SevenIsland_TrainerTower_2F_MapScript2_1C4F62:: @ 81C4F62
+SevenIsland_TrainerTower_3F_MapScript2_1C4F62:: @ 81C4F62
+SevenIsland_TrainerTower_4F_MapScript2_1C4F62:: @ 81C4F62
+SevenIsland_TrainerTower_5F_MapScript2_1C4F62:: @ 81C4F62
+SevenIsland_TrainerTower_6F_MapScript2_1C4F62:: @ 81C4F62
+SevenIsland_TrainerTower_7F_MapScript2_1C4F62:: @ 81C4F62
+SevenIsland_TrainerTower_8F_MapScript2_1C4F62:: @ 81C4F62
+ .incbin "baserom.gba", 0x1C4F62, 0xE4
+
+SevenIsland_TrainerTower_1F_MapScript3_1C5046:: @ 81C5046
+SevenIsland_TrainerTower_2F_MapScript3_1C5046:: @ 81C5046
+SevenIsland_TrainerTower_3F_MapScript3_1C5046:: @ 81C5046
+SevenIsland_TrainerTower_4F_MapScript3_1C5046:: @ 81C5046
+SevenIsland_TrainerTower_5F_MapScript3_1C5046:: @ 81C5046
+SevenIsland_TrainerTower_6F_MapScript3_1C5046:: @ 81C5046
+SevenIsland_TrainerTower_7F_MapScript3_1C5046:: @ 81C5046
+SevenIsland_TrainerTower_8F_MapScript3_1C5046:: @ 81C5046
+SevenIsland_TrainerTower_Elevator_MapScript2_1C5046:: @ 81C5046
+SevenIsland_TrainerTower_Roof_MapScript2_1C5046:: @ 81C5046
+ .incbin "baserom.gba", 0x1C5046, 0x2AE
+
+EventScript_1C52F4:: @ 81C52F4
+ .incbin "baserom.gba", 0x1C52F4, 0x47
+
+EventScript_1C533B:: @ 81C533B
+ .incbin "baserom.gba", 0x1C533B, 0x47
+
+EventScript_1C5382:: @ 81C5382
+ .incbin "baserom.gba", 0x1C5382, 0xA
+
+EventScript_1C538C:: @ 81C538C
+ .incbin "baserom.gba", 0x1C538C, 0x1E
+
+EventScript_1C53AA:: @ 81C53AA
+ .incbin "baserom.gba", 0x1C53AA, 0xF2
+
+gUnknown_81C549C:: @ 81C549C
+ .incbin "baserom.gba", 0x1C549C, 0x13
+
+SevenIsland_TrainerTower_2F_EventScript_1C54AF:: @ 81C54AF
+SevenIsland_TrainerTower_4F_EventScript_1C54AF:: @ 81C54AF
+SevenIsland_TrainerTower_6F_EventScript_1C54AF:: @ 81C54AF
+SevenIsland_TrainerTower_8F_EventScript_1C54AF:: @ 81C54AF
+SevenIsland_TrainerTower_5F_EventScript_1C54AF:: @ 81C54AF
+SevenIsland_TrainerTower_7F_EventScript_1C54AF:: @ 81C54AF
+SevenIsland_TrainerTower_3F_EventScript_1C54AF:: @ 81C54AF
+SevenIsland_TrainerTower_1F_EventScript_1C54AF:: @ 81C54AF
+ .incbin "baserom.gba", 0x1C54AF, 0x5
+
+SevenIsland_TrainerTower_2F_EventScript_1C54B4:: @ 81C54B4
+SevenIsland_TrainerTower_4F_EventScript_1C54B4:: @ 81C54B4
+SevenIsland_TrainerTower_6F_EventScript_1C54B4:: @ 81C54B4
+SevenIsland_TrainerTower_8F_EventScript_1C54B4:: @ 81C54B4
+SevenIsland_TrainerTower_5F_EventScript_1C54B4:: @ 81C54B4
+SevenIsland_TrainerTower_7F_EventScript_1C54B4:: @ 81C54B4
+SevenIsland_TrainerTower_3F_EventScript_1C54B4:: @ 81C54B4
+SevenIsland_TrainerTower_1F_EventScript_1C54B4:: @ 81C54B4
+ .incbin "baserom.gba", 0x1C54B4, 0x36
+
+SevenIsland_TrainerTower_2F_EventScript_1C54EA:: @ 81C54EA
+SevenIsland_TrainerTower_4F_EventScript_1C54EA:: @ 81C54EA
+SevenIsland_TrainerTower_6F_EventScript_1C54EA:: @ 81C54EA
+SevenIsland_TrainerTower_8F_EventScript_1C54EA:: @ 81C54EA
+SevenIsland_TrainerTower_5F_EventScript_1C54EA:: @ 81C54EA
+SevenIsland_TrainerTower_7F_EventScript_1C54EA:: @ 81C54EA
+SevenIsland_TrainerTower_3F_EventScript_1C54EA:: @ 81C54EA
+SevenIsland_TrainerTower_1F_EventScript_1C54EA:: @ 81C54EA
+ .incbin "baserom.gba", 0x1C54EA, 0x71
+
+gUnknown_81C555B:: @ 81C555B
+ .incbin "baserom.gba", 0x1C555B, 0x6E
+
+gUnknown_81C55C9:: @ 81C55C9
+ .incbin "baserom.gba", 0x1C55C9, 0x21
+
+gUnknown_81C55EA:: @ 81C55EA
+ .incbin "baserom.gba", 0x1C55EA, 0x3B
+
+gUnknown_81C5625:: @ 81C5625
+ .incbin "baserom.gba", 0x1C5625, 0x22
+
+gUnknown_81C5647:: @ 81C5647
+ .incbin "baserom.gba", 0x1C5647, 0x23
+
+@ 0xE5
+gUnknown_81C566A:: @ 81C566A
+ .incbin "baserom.gba", 0x1C566A, 0xE5
+
+gOtherText_NewName:: @ 81C574F
+ .string "NEW NAME$"
+
+gNameChoice_Green:: @ 81C5758
+ .string "GREEN$"
+
+gNameChoice_Red:: @ 81C575E
+ .string "RED$"
+
+gNameChoice_Leaf:: @ 81C5762
+ .string "LEAF$"
+
+gNameChoice_Fire:: @ 81C5767
+ .string "FIRE$"
+
+gNameChoice_Gary:: @ 81C576C
+ .string "GARY$"
+
+gNameChoice_Kaz:: @ 81C5771
+ .string "KAZ$"
+
+gNameChoice_Toru:: @ 81C5775
+ .string "TORU$"
+
+gNameChoice_Ash:: @ 81C577A
+ .string "ASH$"
+
+gNameChoice_Kene:: @ 81C577E
+ .string "KENE$"
+
+gNameChoice_Geki:: @ 81C5783
+ .string "GEKI$"
+
+gNameChoice_Jak:: @ 81C5788
+ .string "JAK$"
+
+gNameChoice_Janne:: @ 81C578C
+ .string "JANNE$"
+
+gNameChoice_Jonn:: @ 81C5792
+ .string "JONN$"
+
+gNameChoice_Kamon:: @ 81C5797
+ .string "KAMON$"
+
+gNameChoice_Karl:: @ 81C579D
+ .string "KARL$"
+
+gNameChoice_Taylor:: @ 81C57A2
+ .string "TAYLOR$"
+
+gNameChoice_Oscar:: @ 81C57A9
+ .string "OSCAR$"
+
+gNameChoice_Hiro:: @ 81C57AF
+ .string "HIRO$"
+
+gNameChoice_Max:: @ 81C57B4
+ .string "MAX$"
+
+gNameChoice_Jon:: @ 81C57B8
+ .string "JON$"
+
+gNameChoice_Ralph:: @ 81C57BC
+ .string "RALPH$"
+
+gNameChoice_Kay:: @ 81C57C2
+ .string "KAY$"
+
+gNameChoice_Tosh:: @ 81C57C6
+ .string "TOSH$"
+
+gNameChoice_Roak:: @ 81C57CB
+ .string "ROAK$"
+
+gNameChoice_Omi:: @ 81C57D0
+ .string "OMI$"
+
+gNameChoice_Jodi:: @ 81C57D4
+ .string "JODI$"
+
+gNameChoice_Amanda:: @ 81C57D9
+ .string "AMANDA$"
+
+gNameChoice_Hillary:: @ 81C57E0
+ .string "HILLARY$"
+
+gNameChoice_Makey:: @ 81C57E8
+ .string "MAKEY$"
+
+gNameChoice_Michi:: @ 81C57EE
+ .string "MICHI$"
+
+gNameChoice_Paula:: @ 81C57F4
+ .string "PAULA$"
+
+gNameChoice_June:: @ 81C57FA
+ .string "JUNE$"
+
+gNameChoice_Cassie:: @ 81C57FF
+ .string "CASSIE$"
+
+gNameChoice_Rey:: @ 81C5806
+ .string "REY$"
+
+gNameChoice_Seda:: @ 81C580A
+ .string "SEDA$"
+
+gNameChoice_Kiko:: @ 81C580F
+ .string "KIKO$"
+
+gNameChoice_Mina:: @ 81C5814
+ .string "MINA$"
+
+gNameChoice_Norie:: @ 81C5819
+ .string "NORIE$"
+
+gNameChoice_Sai:: @ 81C581F
+ .string "SAI$"
+
+gNameChoice_Momo:: @ 81C5823
+ .string "MOMO$"
+
+gNameChoice_Suzi:: @ 81C5828
+ .string "SUZI$"
+
+gNewGame_HelpDocs1:: @ 81C582D
+ .string "The various buttons will be explained in\n"
+ .string "the order of their importance.$"
+
+gNewGame_HelpDocs2:: @ 81C5875
+ .string "Moves the main character.\n"
+ .string "Also used to choose various data\n"
+ .string "headings.$"
+
+gNewGame_HelpDocs3:: @ 81C58BA
+ .string "Used to confirm a choice, check\n"
+ .string "things, chat, and scroll text.$"
+
+gNewGame_HelpDocs4:: @ 81C58F9
+ .string "Used to exit, cancel a choice,\n"
+ .string "and cancel a mode.$"
+
+gNewGame_HelpDocs5:: @ 81C592B
+ .string "Press this button to open the\n"
+ .string "MENU.$"
+
+gNewGame_HelpDocs6:: @ 81C594F
+ .string "Used to shift items and to use\n"
+ .string "a registered item.$"
+
+gNewGame_HelpDocs7:: @ 81C5981
+ .string "If you need help playing the\n"
+ .string "game, or on how to do things,\n"
+ .string "press the L or R Button.$"
+
+gOakText_AskPlayerGender:: @ 81C59D5
+ .string "Now tell me. Are you a boy?\n"
+ .string "Or are you a girl?$"
+
+gNewGameAdventureIntro1::
+ .string "In the world which you are about to\n"
+ .string "enter, you will embark on a grand\n"
+ .string "adventure with you as the hero.\n"
+ .string "\n"
+ .string "Speak to people and check things\n"
+ .string "wherever you go, be it towns, roads,\n"
+ .string "or caves. Gather information and\n"
+ .string "hints from every source.$"
+
+gNewGameAdventureIntro2::
+ .string "New paths will open to you by helping\n"
+ .string "people in need, overcoming challenges,\n"
+ .string "and solving mysteries.\n"
+ .string "\n"
+ .string "At times, you will be challenged by\n"
+ .string "others and attacked by wild creatures.\n"
+ .string "Be brave and keep pushing on.$"
+
+gNewGameAdventureIntro3::
+ .string "Through your adventure, we hope\n"
+ .string "that you will interact with all sorts\n"
+ .string "of people and achieve personal growth.\n"
+ .string "That is our biggest objective.\n"
+ .string "\n"
+ .string "Press the A Button, and let your\n"
+ .string "adventure begin!$"
+
+gOakText_WelcomeToTheWorld:: @ 81C5C78
+ .string "Hello, there!\n"
+ .string "Glad to meet you!\pWelcome to the world of POKéMON!\pMy name is OAK.\pPeople affectionately refer to me\n"
+ .string "as the POKéMON PROFESSOR.\p$"
+
+gOakText_WorldInhabited1:: @ 81C5D06
+ .string "This world…$"
+
+gOakText_WorldInhabited2:: @ 81C5D12
+ .string "…is inhabited far and wide by\n"
+ .string "creatures called POKéMON.\p$"
+
+gOakText_PetsBattlingStudy:: @ 81C5D4B
+ .string "For some people, POKéMON are pets.\n"
+ .string "Others use them for battling.\pAs for myself…\pI study POKéMON as a profession.\p$"
+
+gOakText_TellMeALittleAboutYourself:: @ 81C5DBD
+ .string "But first, tell me a little about\n"
+ .string "yourself.\p$"
+
+gOakText_AskPlayerName:: @ 81C5DEA
+ .string "Let’s begin with your name.\n"
+ .string "What is it?\p$"
+
+gOakText_FinalizePlayerName:: @ 81C5E13
+ .string "Right…\n"
+ .string "So your name is {PLAYER}.$"
+
+gOakText_IntroduceRival:: @ 81C5E2E
+ .string "This is my grandson.\pHe’s been your rival since you both\n"
+ .string "were babies.\p…Erm, what was his name now?$"
+
+gOakText_AskRivalName:: @ 81C5E91
+ .string "Your rival’s name, what was it now?$"
+
+gOakText_ConfirmRivalName:: @ 81C5EB5
+ .string "…Er, was it {RIVAL}?$"
+
+gOakText_RememberRivalName:: @ 81C5EC5
+ .string "That’s right! I remember now!\n"
+ .string "His name is {RIVAL}!\p$"
+
+gOakText_LegendAboutToUnfold:: @ 81C5EF4
+ .string "{PLAYER}!\pYour very own POKéMON legend is\n"
+ .string "about to unfold!\pA world of dreams and adventures\n"
+ .string "with POKéMON awaits! Let’s go!$"
+
+@ pokedude data
+gUnknown_81C5F69::
+ .string "POKé DUDE: The speedier of the\n"
+ .string "battlers gets to attack first.$"
+
+gUnknown_81C5FA7::
+ .string "It looks like my RATTATA was\n"
+ .string "faster than the PIDGEY.$"
+
+gUnknown_81C5FDC::
+ .string "The battlers take turns attacking\n"
+ .string "and reducing each other’s HP.$"
+
+gUnknown_81C601C::
+ .string "My RATTATA reduced the foe’s HP\n"
+ .string "to zero, so it wins!\p"
+ .string "The POKéMON that took part in the\n"
+ .string "battle get EXP. Points.\p"
+ .string "When a POKéMON collects enough\n"
+ .string "EXP. Points, it levels up.\p"
+ .string "Leveling up makes your POKéMON\n"
+ .string "stronger than before.$"
+
+gUnknown_81C60FA::
+ .string "POKé DUDE: Uh-oh…\n"
+ .string "My RATTATA has been poisoned…\p"
+ .string "If a POKéMON is poisoned, it loses\n"
+ .string "HP steadily.$"
+
+gUnknown_81C615A::
+ .string "If a POKéMON develops a status\n"
+ .string "problem, heal it right away.$"
+
+gUnknown_81C6196::
+ .string "Using an item on a POKéMON uses\n"
+ .string "up one turn, though.\p"
+ .string "Now, it’s the opponent’s turn!$"
+
+gUnknown_81C61EA::
+ .string "Yay!\n"
+ .string "We managed to win!$"
+
+gUnknown_81C6202::
+ .string "POKé DUDE: The move BUBBLE is\n"
+ .string "a WATER-type attack.\p"
+ .string "The targeted ODDISH is a\n"
+ .string "GRASS/POISON-type POKéMON.\p"
+ .string "The WATER-type attack is absorbed\n"
+ .string "by the GRASS-type POKéMON…\p"
+ .string "As a result, the move becomes not\n"
+ .string "very effective, and inflicts only\l"
+ .string "half the usual damage.$"
+
+gUnknown_81C6301::
+ .string "Uh-oh, this is not good!\p"
+ .string "The ABSORB attack you just saw\n"
+ .string "is a GRASS-type move.\p"
+ .string "POLIWAG is a WATER-type POKéMON.\p"
+ .string "So, ABSORB becomes super\n"
+ .string "effective, doubling the damage.$"
+
+gUnknown_81C63A9::
+ .string "It’s not going to be easy to win\n"
+ .string "with this matchup…\p"
+ .string "Let’s try shifting POKéMON!$"
+
+gUnknown_81C63F9::
+ .string "Shifting POKéMON in and out uses\n"
+ .string "up one turn.\p"
+ .string "Now, it’s the opponent’s turn.$"
+
+gUnknown_81C6446::
+ .string "BUTTERFREE is a BUG/FLYING-type\n"
+ .string "POKéMON.\p"
+ .string "Against this POKéMON, a GRASS-\n"
+ .string "type attack…\p"
+ .string "…inflicts only half the usual\n"
+ .string "damage on a BUG-type POKéMON…\p"
+ .string "…And, it also causes only half the\n"
+ .string "damage on a FLYING-type POKéMON.\p"
+ .string "Therefore, BUTTERFREE, being a\n"
+ .string "BUG/FLYING POKéMON, only takes\l"
+ .string "one quarter of the usual damage.$"
+
+gUnknown_81C657A::
+ .string "ODDISH is a GRASS/POISON-type\n"
+ .string "POKéMON.\p"
+ .string "A FLYING- or PSYCHIC-type attack\n"
+ .string "is super effective against it.\p"
+ .string "One of those types of attacks will\n"
+ .string "inflict double the usual damage.\p"
+ .string "Okay, here we go!$"
+
+gUnknown_81C6637::
+ .string "Yeah!\n"
+ .string "We won!$"
+
+gUnknown_81C6645::
+ .string "POKé DUDE: When you’re trying to\n"
+ .string "catch a POKéMON, don’t throw any\l"
+ .string "POKé BALLS right away.\p"
+ .string "First, you need to weaken it by\n"
+ .string "reducing its HP.$"
+
+gUnknown_81C66CF::
+ .string "Okay, that should be good enough.\p"
+ .string "But, if it’s possible, it would be\n"
+ .string "best if the target has a status\l"
+ .string "problem.\p"
+ .string "For instance, it would be easier\n"
+ .string "to catch if it were asleep or\l"
+ .string "paralyzed.$"
+
+gUnknown_81C6787::
+ .string "This will make the POKéMON a lot\n"
+ .string "easier to catch!\p"
+ .string "Oh, yes. If you paralyze a\n"
+ .string "POKéMON, you can’t make it fall\l"
+ .string "asleep on top of paralysis.\p"
+ .string "In other words, you can’t double\n"
+ .string "up status problems, okay?$"
+
+gUnknown_81C684B::
+ .string "Okay!\n"
+ .string "Let me throw my POKé BALL!$"
+
+gUnknown_81C686C::
+ .string "Before you throw a POKé BALL,\n"
+ .string "consider the condition and the\l"
+ .string "type of POKéMON, and pick the kind\l"
+ .string "of BALL that would work best.$"
diff --git a/data/map_events.s b/data/map_events.s
index d61949575..aabafa21f 100644
--- a/data/map_events.s
+++ b/data/map_events.s
@@ -1,1276 +1,18 @@
- .section .rodata
- .align 2
-gMapEvents_UnknownMap_00_00:: @ 0x83AE0DC
- .incbin "baserom.gba", 0x3AE0DC, 0x5C
-
-gMapEvents_UnknownMap_00_01:: @ 0x83AE138
- .incbin "baserom.gba", 0x3AE138, 0x8C
-
-gMapEvents_UnknownMap_00_02:: @ 0x83AE1C4
- .incbin "baserom.gba", 0x3AE1C4, 0x74
-
-gMapEvents_UnknownMap_00_03:: @ 0x83AE238
- .incbin "baserom.gba", 0x3AE238, 0xF4
-
-gMapEvents_UnknownMap_00_04:: @ 0x83AE32C
- .incbin "baserom.gba", 0x3AE32C, 0x1AC
-
-gMapEvents_ViridianForest:: @ 0x83AE4D8
- .incbin "baserom.gba", 0x3AE4D8, 0x190
-
-gMapEvents_MtMoon_1F:: @ 0x83AE668
- .incbin "baserom.gba", 0x3AE668, 0x9C
-
-gMapEvents_MtMoon_B1F:: @ 0x83AE704
- .incbin "baserom.gba", 0x3AE704, 0x164
-
-gMapEvents_MtMoon_B2F:: @ 0x83AE868
- .incbin "baserom.gba", 0x3AE868, 0x60
-
-gMapEvents_SSAnne_Exterior:: @ 0x83AE8C8
- .incbin "baserom.gba", 0x3AE8C8, 0xAC
-
-gMapEvents_SSAnne_1F_Corridor:: @ 0x83AE974
- .incbin "baserom.gba", 0x3AE974, 0xBC
-
-gMapEvents_SSAnne_2F_Corridor:: @ 0x83AEA30
- .incbin "baserom.gba", 0x3AEA30, 0x44
-
-gMapEvents_SSAnne_3F_Corridor:: @ 0x83AEA74
- .incbin "baserom.gba", 0x3AEA74, 0x50
-
-gMapEvents_SSAnne_B1F_Corridor:: @ 0x83AEAC4
- .incbin "baserom.gba", 0x3AEAC4, 0x9C
-
-gMapEvents_SSAnne_Deck:: @ 0x83AEB60
- .incbin "baserom.gba", 0x3AEB60, 0x100
-
-gMapEvents_SSAnne_Kitchen:: @ 0x83AEC60
- .incbin "baserom.gba", 0x3AEC60, 0x58
-
-gMapEvents_SSAnne_CaptainsOffice:: @ 0x83AECB8
- .incbin "baserom.gba", 0x3AECB8, 0x34
-
-gMapEvents_SSAnne_1F_Room1:: @ 0x83AECEC
- .incbin "baserom.gba", 0x3AECEC, 0x7C
-
-gMapEvents_SSAnne_1F_Room2:: @ 0x83AED68
- .incbin "baserom.gba", 0x3AED68, 0x64
-
-gMapEvents_SSAnne_1F_Room3:: @ 0x83AEDCC
- .incbin "baserom.gba", 0x3AEDCC, 0x34
-
-gMapEvents_SSAnne_1F_Room4:: @ 0x83AEE00
- .incbin "baserom.gba", 0x3AEE00, 0x34
-
-gMapEvents_SSAnne_1F_Room5:: @ 0x83AEE34
- .incbin "baserom.gba", 0x3AEE34, 0x34
-
-gMapEvents_SSAnne_1F_Room7:: @ 0x83AEE68
- .incbin "baserom.gba", 0x3AEE68, 0x34
-
-gMapEvents_SSAnne_2F_Room1:: @ 0x83AEE9C
- .incbin "baserom.gba", 0x3AEE9C, 0x64
-
-gMapEvents_SSAnne_2F_Room2:: @ 0x83AEF00
- .incbin "baserom.gba", 0x3AEF00, 0x4C
-
-gMapEvents_SSAnne_2F_Room3:: @ 0x83AEF4C
- .incbin "baserom.gba", 0x3AEF4C, 0x64
-
-gMapEvents_SSAnne_2F_Room4:: @ 0x83AEFB0
- .incbin "baserom.gba", 0x3AEFB0, 0x4C
-
-gMapEvents_SSAnne_2F_Room5:: @ 0x83AEFFC
- .incbin "baserom.gba", 0x3AEFFC, 0x4C
-
-gMapEvents_SSAnne_2F_Room6:: @ 0x83AF048
- .incbin "baserom.gba", 0x3AF048, 0x4C
-
-gMapEvents_SSAnne_B1F_Room1:: @ 0x83AF094
- .incbin "baserom.gba", 0x3AF094, 0x4C
-
-gMapEvents_SSAnne_B1F_Room2:: @ 0x83AF0E0
- .incbin "baserom.gba", 0x3AF0E0, 0x4C
-
-gMapEvents_SSAnne_B1F_Room3:: @ 0x83AF12C
- .incbin "baserom.gba", 0x3AF12C, 0x4C
-
-gMapEvents_SSAnne_B1F_Room4:: @ 0x83AF178
- .incbin "baserom.gba", 0x3AF178, 0x64
-
-gMapEvents_SSAnne_B1F_Room5:: @ 0x83AF1DC
- .incbin "baserom.gba", 0x3AF1DC, 0x34
-
-gMapEvents_SSAnne_1F_Room6:: @ 0x83AF210
- .incbin "baserom.gba", 0x3AF210, 0x4C
-
-gMapEvents_UndergroundPath_NorthEntrance:: @ 0x83AF25C
- .incbin "baserom.gba", 0x3AF25C, 0x78
-
-gMapEvents_UndergroundPath_NorthSouthTunnel:: @ 0x83AF2D4
- .incbin "baserom.gba", 0x3AF2D4, 0x4C
-
-gMapEvents_UndergroundPath_SouthEntrance:: @ 0x83AF320
- .incbin "baserom.gba", 0x3AF320, 0x4C
-
-gMapEvents_UndergroundPath_WestEntrance:: @ 0x83AF36C
- .incbin "baserom.gba", 0x3AF36C, 0x78
-
-gMapEvents_UndergroundPath_EastWestTunnel:: @ 0x83AF3E4
- .incbin "baserom.gba", 0x3AF3E4, 0x4C
-
-gMapEvents_UndergroundPath_EastEntrance:: @ 0x83AF430
- .incbin "baserom.gba", 0x3AF430, 0x3C
-
-gMapEvents_DiglettsCave_NorthEntrance:: @ 0x83AF46C
- .incbin "baserom.gba", 0x3AF46C, 0x24
-
-gMapEvents_DiglettsCave_B1F:: @ 0x83AF490
- .incbin "baserom.gba", 0x3AF490, 0x3C
-
-gMapEvents_DiglettsCave_SouthEntrance:: @ 0x83AF4CC
- .incbin "baserom.gba", 0x3AF4CC, 0xF4
-
-gMapEvents_VictoryRoad_1F:: @ 0x83AF5C0
- .incbin "baserom.gba", 0x3AF5C0, 0x1B4
-
-gMapEvents_VictoryRoad_2F:: @ 0x83AF774
- .incbin "baserom.gba", 0x3AF774, 0x16C
-
-gMapEvents_VictoryRoad_3F:: @ 0x83AF8E0
- .incbin "baserom.gba", 0x3AF8E0, 0xF8
-
-gMapEvents_RocketHideout_B1F:: @ 0x83AF9D8
- .incbin "baserom.gba", 0x3AF9D8, 0xB4
-
-gMapEvents_RocketHideout_B2F:: @ 0x83AFA8C
- .incbin "baserom.gba", 0x3AFA8C, 0xA8
-
-gMapEvents_RocketHideout_B3F:: @ 0x83AFB34
- .incbin "baserom.gba", 0x3AFB34, 0x11C
-
-gMapEvents_RocketHideout_B4F:: @ 0x83AFC50
- .incbin "baserom.gba", 0x3AFC50, 0x30
-
-gMapEvents_RocketHideout_Elevator:: @ 0x83AFC80
- .incbin "baserom.gba", 0x3AFC80, 0x60
-
-gMapEvents_SilphCo_1F:: @ 0x83AFCE0
- .incbin "baserom.gba", 0x3AFCE0, 0x13C
-
-gMapEvents_SilphCo_2F:: @ 0x83AFE1C
- .incbin "baserom.gba", 0x3AFE1C, 0x13C
-
-gMapEvents_SilphCo_3F:: @ 0x83AFF58
- .incbin "baserom.gba", 0x3AFF58, 0x184
-
-gMapEvents_SilphCo_4F:: @ 0x83B00DC
- .incbin "baserom.gba", 0x3B00DC, 0x1FC
-
-gMapEvents_SilphCo_5F:: @ 0x83B02D8
- .incbin "baserom.gba", 0x3B02D8, 0x174
-
-gMapEvents_SilphCo_6F:: @ 0x83B044C
- .incbin "baserom.gba", 0x3B044C, 0x214
-
-gMapEvents_SilphCo_7F:: @ 0x83B0660
- .incbin "baserom.gba", 0x3B0660, 0x124
-
-gMapEvents_SilphCo_8F:: @ 0x83B0784
- .incbin "baserom.gba", 0x3B0784, 0x180
-
-gMapEvents_SilphCo_9F:: @ 0x83B0904
- .incbin "baserom.gba", 0x3B0904, 0x11C
-
-gMapEvents_SilphCo_10F:: @ 0x83B0A20
- .incbin "baserom.gba", 0x3B0A20, 0x124
-
-gMapEvents_SilphCo_11F:: @ 0x83B0B44
- .incbin "baserom.gba", 0x3B0B44, 0x28
-
-gMapEvents_SilphCo_Elevator:: @ 0x83B0B6C
- .incbin "baserom.gba", 0x3B0B6C, 0xF4
-
-gMapEvents_PokemonMansion_1F:: @ 0x83B0C60
- .incbin "baserom.gba", 0x3B0C60, 0xC0
-
-gMapEvents_PokemonMansion_2F:: @ 0x83B0D20
- .incbin "baserom.gba", 0x3B0D20, 0xD8
-
-gMapEvents_PokemonMansion_3F:: @ 0x83B0DF8
- .incbin "baserom.gba", 0x3B0DF8, 0xDC
-
-gMapEvents_PokemonMansion_B1F:: @ 0x83B0ED4
- .incbin "baserom.gba", 0x3B0ED4, 0xC4
-
-gMapEvents_SafariZone_Center:: @ 0x83B0F98
- .incbin "baserom.gba", 0x3B0F98, 0xD0
-
-gMapEvents_SafariZone_East:: @ 0x83B1068
- .incbin "baserom.gba", 0x3B1068, 0x100
-
-gMapEvents_SafariZone_North:: @ 0x83B1168
- .incbin "baserom.gba", 0x3B1168, 0x108
-
-gMapEvents_SafariZone_West:: @ 0x83B1270
- .incbin "baserom.gba", 0x3B1270, 0x5C
-
-gMapEvents_SafariZone_Building1:: @ 0x83B12CC
- .incbin "baserom.gba", 0x3B12CC, 0x74
-
-gMapEvents_SafariZone_Building2:: @ 0x83B1340
- .incbin "baserom.gba", 0x3B1340, 0x8C
-
-gMapEvents_SafariZone_Building3:: @ 0x83B13CC
- .incbin "baserom.gba", 0x3B13CC, 0x74
-
-gMapEvents_SafariZone_Building4:: @ 0x83B1440
- .incbin "baserom.gba", 0x3B1440, 0x44
-
-gMapEvents_SafariZone_SecretHouse:: @ 0x83B1484
- .incbin "baserom.gba", 0x3B1484, 0x138
-
-gMapEvents_CeruleanCave_1F:: @ 0x83B15BC
- .incbin "baserom.gba", 0x3B15BC, 0x17C
-
-gMapEvents_CeruleanCave_2F:: @ 0x83B1738
- .incbin "baserom.gba", 0x3B1738, 0x13C
-
-gMapEvents_CeruleanCave_B1F:: @ 0x83B1874
- .incbin "baserom.gba", 0x3B1874, 0x3C
-
-gMapEvents_PokemonLeague_LoreleisRoom:: @ 0x83B18B0
- .incbin "baserom.gba", 0x3B18B0, 0x3C
-
-gMapEvents_PokemonLeague_BrunosRoom:: @ 0x83B18EC
- .incbin "baserom.gba", 0x3B18EC, 0x3C
-
-gMapEvents_PokemonLeague_AgathasRoom:: @ 0x83B1928
- .incbin "baserom.gba", 0x3B1928, 0x3C
-
-gMapEvents_PokemonLeague_LancesRoom:: @ 0x83B1964
- .incbin "baserom.gba", 0x3B1964, 0x54
-
-gMapEvents_PokemonLeague_ChampionsRoom:: @ 0x83B19B8
- .incbin "baserom.gba", 0x3B19B8, 0x34
-
-gMapEvents_PokemonLeague_HallOfFame:: @ 0x83B19EC
- .incbin "baserom.gba", 0x3B19EC, 0x140
-
-gMapEvents_RockTunnel_1F:: @ 0x83B1B2C
- .incbin "baserom.gba", 0x3B1B2C, 0x2A4
-
-gMapEvents_RockTunnel_B1F:: @ 0x83B1DD0
- .incbin "baserom.gba", 0x3B1DD0, 0x94
-
-gMapEvents_SeafoamIslands_1F:: @ 0x83B1E64
- .incbin "baserom.gba", 0x3B1E64, 0xCC
-
-gMapEvents_SeafoamIslands_B1F:: @ 0x83B1F30
- .incbin "baserom.gba", 0x3B1F30, 0xB4
-
-gMapEvents_SeafoamIslands_B2F:: @ 0x83B1FE4
- .incbin "baserom.gba", 0x3B1FE4, 0xF8
-
-gMapEvents_SeafoamIslands_B3F:: @ 0x83B20DC
- .incbin "baserom.gba", 0x3B20DC, 0xE8
-
-gMapEvents_SeafoamIslands_B4F:: @ 0x83B21C4
- .incbin "baserom.gba", 0x3B21C4, 0xAC
-
-gMapEvents_PokemonTower_1F:: @ 0x83B2270
- .incbin "baserom.gba", 0x3B2270, 0x74
-
-gMapEvents_PokemonTower_2F:: @ 0x83B22E4
- .incbin "baserom.gba", 0x3B22E4, 0x84
-
-gMapEvents_PokemonTower_3F:: @ 0x83B2368
- .incbin "baserom.gba", 0x3B2368, 0xB4
-
-gMapEvents_PokemonTower_4F:: @ 0x83B241C
- .incbin "baserom.gba", 0x3B241C, 0x1E8
-
-gMapEvents_PokemonTower_5F:: @ 0x83B2604
- .incbin "baserom.gba", 0x3B2604, 0xBC
-
-gMapEvents_PokemonTower_6F:: @ 0x83B26C0
- .incbin "baserom.gba", 0x3B26C0, 0x88
-
-gMapEvents_PokemonTower_7F:: @ 0x83B2748
- .incbin "baserom.gba", 0x3B2748, 0x114
-
-gMapEvents_PowerPlant:: @ 0x83B285C
- .incbin "baserom.gba", 0x3B285C, 0x15C
-
-gMapEvents_MtEmber_RubyPath_B4F:: @ 0x83B29B8
- .incbin "baserom.gba", 0x3B29B8, 0x26C
-
-gMapEvents_MtEmber_Exterior:: @ 0x83B2C24
- .incbin "baserom.gba", 0x3B2C24, 0x24
-
-gMapEvents_MtEmber_SummitPath_1F:: @ 0x83B2C48
- .incbin "baserom.gba", 0x3B2C48, 0xFC
-
-gMapEvents_MtEmber_SummitPath_2F:: @ 0x83B2D44
- .incbin "baserom.gba", 0x3B2D44, 0x24
-
-gMapEvents_MtEmber_SummitPath_3F:: @ 0x83B2D68
- .incbin "baserom.gba", 0x3B2D68, 0x94
-
-gMapEvents_MtEmber_Summit:: @ 0x83B2DFC
- .incbin "baserom.gba", 0x3B2DFC, 0x40
-
-gMapEvents_MtEmber_RubyPath_B5F:: @ 0x83B2E3C
- .incbin "baserom.gba", 0x3B2E3C, 0xA4
-
-gMapEvents_SSAnne_Kitchen3:: @ 0x83B2EE0
- .incbin "baserom.gba", 0x3B2EE0, 0x84
-
-gMapEvents_MtEmber_RubyPath_B1F:: @ 0x83B2F64
- .incbin "baserom.gba", 0x3B2F64, 0xCC
-
-gMapEvents_MtEmber_RubyPath_B2F:: @ 0x83B3030
- .incbin "baserom.gba", 0x3B3030, 0x11C
-
-gMapEvents_MtEmber_RubyPath_B3F:: @ 0x83B314C
- .incbin "baserom.gba", 0x3B314C, 0x3C
-
-gMapEvents_MtEmber_RubyPath_B1F_Stairs:: @ 0x83B3188
- .incbin "baserom.gba", 0x3B3188, 0x54
-
-gMapEvents_MtEmber_RubyPath_B2F_Stairs:: @ 0x83B31DC
- .incbin "baserom.gba", 0x3B31DC, 0x230
-
-gMapEvents_ThreeIsland_BerryForest:: @ 0x83B340C
- .incbin "baserom.gba", 0x3B340C, 0x2C
-
-gMapEvents_FourIsland_IcefallCave_Entrance:: @ 0x83B3438
- .incbin "baserom.gba", 0x3B3438, 0x74
-
-gMapEvents_FourIsland_IcefallCave_1F:: @ 0x83B34AC
- .incbin "baserom.gba", 0x3B34AC, 0x5C
-
-gMapEvents_SSAnne_CaptainsOffice2:: @ 0x83B3508
- .incbin "baserom.gba", 0x3B3508, 0xAC
-
-gMapEvents_SSAnne_CaptainsOffice3:: @ 0x83B35B4
- .incbin "baserom.gba", 0x3B35B4, 0x268
-
-gMapEvents_SSAnne_CaptainsOffice4:: @ 0x83B381C
- .incbin "baserom.gba", 0x3B381C, 0x34
-
-gMapEvents_SSAnne_CaptainsOffice5:: @ 0x83B3850
- .incbin "baserom.gba", 0x3B3850, 0x48
-
-gMapEvents_SixIsland_DottedHole_B1F:: @ 0x83B3898
- .incbin "baserom.gba", 0x3B3898, 0x48
-
-gMapEvents_SixIsland_DottedHole_B2F:: @ 0x83B38E0
- .incbin "baserom.gba", 0x3B38E0, 0x48
-
-gMapEvents_SixIsland_DottedHole_B3F:: @ 0x83B3928
- .incbin "baserom.gba", 0x3B3928, 0x48
-
-gMapEvents_SSAnne_CaptainsOffice9:: @ 0x83B3970
- .incbin "baserom.gba", 0x3B3970, 0x60
-
-gMapEvents_SixIsland_DottedHole_SapphireRoom:: @ 0x83B39D0
- .incbin "baserom.gba", 0x3B39D0, 0x164
-
-gMapEvents_SSAnne_1F_Room11:: @ 0x83B3B34
- .incbin "baserom.gba", 0x3B3B34, 0x1C
-
-gMapEvents_SSAnne_1F_Room12:: @ 0x83B3B50
- .incbin "baserom.gba", 0x3B3B50, 0x24
-
-gMapEvents_NavelRock_Exterior:: @ 0x83B3B74
- .incbin "baserom.gba", 0x3B3B74, 0xCC
-
-gMapEvents_SevenIsland_TrainerTower_1F:: @ 0x83B3C40
- .incbin "baserom.gba", 0x3B3C40, 0xD4
-
-gMapEvents_SevenIsland_TrainerTower_2F:: @ 0x83B3D14
- .incbin "baserom.gba", 0x3B3D14, 0xD4
-
-gMapEvents_SevenIsland_TrainerTower_3F:: @ 0x83B3DE8
- .incbin "baserom.gba", 0x3B3DE8, 0xD4
-
-gMapEvents_SevenIsland_TrainerTower_4F:: @ 0x83B3EBC
- .incbin "baserom.gba", 0x3B3EBC, 0xD4
-
-gMapEvents_SevenIsland_TrainerTower_5F:: @ 0x83B3F90
- .incbin "baserom.gba", 0x3B3F90, 0xD4
-
-gMapEvents_SevenIsland_TrainerTower_6F:: @ 0x83B4064
- .incbin "baserom.gba", 0x3B4064, 0xD4
-
-gMapEvents_SevenIsland_TrainerTower_7F:: @ 0x83B4138
- .incbin "baserom.gba", 0x3B4138, 0xD4
-
-gMapEvents_SevenIsland_TrainerTower_8F:: @ 0x83B420C
- .incbin "baserom.gba", 0x3B420C, 0x3C
-
-gMapEvents_SevenIsland_TrainerTower_Roof:: @ 0x83B4248
- .incbin "baserom.gba", 0x3B4248, 0xC0
-
-gMapEvents_SevenIsland_TrainerTower_Lobby:: @ 0x83B4308
- .incbin "baserom.gba", 0x3B4308, 0x28
-
-gMapEvents_SevenIsland_TrainerTower_Elevator:: @ 0x83B4330
- .incbin "baserom.gba", 0x3B4330, 0x24
-
-gMapEvents_FiveIsland_LostCave_Entrance:: @ 0x83B4354
- .incbin "baserom.gba", 0x3B4354, 0x54
-
-gMapEvents_FiveIsland_LostCave_Room1:: @ 0x83B43A8
- .incbin "baserom.gba", 0x3B43A8, 0x34
-
-gMapEvents_FiveIsland_LostCave_Room2:: @ 0x83B43DC
- .incbin "baserom.gba", 0x3B43DC, 0x34
-
-gMapEvents_FiveIsland_LostCave_Room3:: @ 0x83B4410
- .incbin "baserom.gba", 0x3B4410, 0x4C
-
-gMapEvents_FiveIsland_LostCave_Room4:: @ 0x83B445C
- .incbin "baserom.gba", 0x3B445C, 0x34
-
-gMapEvents_FiveIsland_LostCave_Room5:: @ 0x83B4490
- .incbin "baserom.gba", 0x3B4490, 0x34
-
-gMapEvents_FiveIsland_LostCave_Room6:: @ 0x83B44C4
- .incbin "baserom.gba", 0x3B44C4, 0x34
-
-gMapEvents_FiveIsland_LostCave_Room7:: @ 0x83B44F8
- .incbin "baserom.gba", 0x3B44F8, 0x34
-
-gMapEvents_FiveIsland_LostCave_Room8:: @ 0x83B452C
- .incbin "baserom.gba", 0x3B452C, 0x34
-
-gMapEvents_FiveIsland_LostCave_Room9:: @ 0x83B4560
- .incbin "baserom.gba", 0x3B4560, 0x4C
-
-gMapEvents_FiveIsland_LostCave_Room10:: @ 0x83B45AC
- .incbin "baserom.gba", 0x3B45AC, 0x34
-
-gMapEvents_FiveIsland_LostCave_Room11:: @ 0x83B45E0
- .incbin "baserom.gba", 0x3B45E0, 0x34
-
-gMapEvents_FiveIsland_LostCave_Room12:: @ 0x83B4614
- .incbin "baserom.gba", 0x3B4614, 0x34
-
-gMapEvents_FiveIsland_LostCave_Room13:: @ 0x83B4648
- .incbin "baserom.gba", 0x3B4648, 0x34
-
-gMapEvents_FiveIsland_LostCave_Room14:: @ 0x83B467C
- .incbin "baserom.gba", 0x3B467C, 0x1C
-
-gMapEvents_SevenIsland_TanobyRuins_MoneanChamber:: @ 0x83B4698
- .incbin "baserom.gba", 0x3B4698, 0x1C
-
-gMapEvents_SevenIsland_TanobyRuins_LiptooChamber:: @ 0x83B46B4
- .incbin "baserom.gba", 0x3B46B4, 0x1C
-
-gMapEvents_SevenIsland_TanobyRuins_WeepthChamber:: @ 0x83B46D0
- .incbin "baserom.gba", 0x3B46D0, 0x1C
-
-gMapEvents_SevenIsland_TanobyRuins_DilfordChamber:: @ 0x83B46EC
- .incbin "baserom.gba", 0x3B46EC, 0x1C
-
-gMapEvents_SevenIsland_TanobyRuins_ScufibChamber:: @ 0x83B4708
- .incbin "baserom.gba", 0x3B4708, 0x1C
-
-gMapEvents_SevenIsland_TanobyRuins_RixyChamber:: @ 0x83B4724
- .incbin "baserom.gba", 0x3B4724, 0x1C
-
-gMapEvents_SevenIsland_TanobyRuins_ViapoisChamber:: @ 0x83B4740
- .incbin "baserom.gba", 0x3B4740, 0x48
-
-gMapEvents_ThreeIsland_DunsparceTunnel:: @ 0x83B4788
- .incbin "baserom.gba", 0x3B4788, 0x134
-
-gMapEvents_SevenIsland_SeavaultCanyon_TanobyKey:: @ 0x83B48BC
- .incbin "baserom.gba", 0x3B48BC, 0x24
-
-gMapEvents_NavelRock_1F:: @ 0x83B48E0
- .incbin "baserom.gba", 0x3B48E0, 0x50
-
-gMapEvents_NavelRock_Summit:: @ 0x83B4930
- .incbin "baserom.gba", 0x3B4930, 0x34
-
-gMapEvents_NavelRock_Base:: @ 0x83B4964
- .incbin "baserom.gba", 0x3B4964, 0x24
-
-gMapEvents_NavelRock_SummitPath_2F:: @ 0x83B4988
- .incbin "baserom.gba", 0x3B4988, 0x24
-
-gMapEvents_NavelRock_SummitPath_3F:: @ 0x83B49AC
- .incbin "baserom.gba", 0x3B49AC, 0x24
-
-gMapEvents_NavelRock_SummitPath_4F:: @ 0x83B49D0
- .incbin "baserom.gba", 0x3B49D0, 0x24
-
-gMapEvents_NavelRock_SummitPath_5F:: @ 0x83B49F4
- .incbin "baserom.gba", 0x3B49F4, 0x24
-
-gMapEvents_NavelRock_BasePath_B1F:: @ 0x83B4A18
- .incbin "baserom.gba", 0x3B4A18, 0x24
-
-gMapEvents_NavelRock_BasePath_B2F:: @ 0x83B4A3C
- .incbin "baserom.gba", 0x3B4A3C, 0x24
-
-gMapEvents_NavelRock_BasePath_B3F:: @ 0x83B4A60
- .incbin "baserom.gba", 0x3B4A60, 0x24
-
-gMapEvents_NavelRock_BasePath_B4F:: @ 0x83B4A84
- .incbin "baserom.gba", 0x3B4A84, 0x24
-
-gMapEvents_NavelRock_BasePath_B5F:: @ 0x83B4AA8
- .incbin "baserom.gba", 0x3B4AA8, 0x24
-
-gMapEvents_NavelRock_BasePath_B6F:: @ 0x83B4ACC
- .incbin "baserom.gba", 0x3B4ACC, 0x24
-
-gMapEvents_NavelRock_BasePath_B7F:: @ 0x83B4AF0
- .incbin "baserom.gba", 0x3B4AF0, 0x24
-
-gMapEvents_NavelRock_BasePath_B8F:: @ 0x83B4B14
- .incbin "baserom.gba", 0x3B4B14, 0x24
-
-gMapEvents_NavelRock_BasePath_B9F:: @ 0x83B4B38
- .incbin "baserom.gba", 0x3B4B38, 0x24
-
-gMapEvents_NavelRock_BasePath_B10F:: @ 0x83B4B5C
- .incbin "baserom.gba", 0x3B4B5C, 0x24
-
-gMapEvents_NavelRock_BasePath_B11F:: @ 0x83B4B80
- .incbin "baserom.gba", 0x3B4B80, 0x24
-
-gMapEvents_NavelRock_B1F:: @ 0x83B4BA4
- .incbin "baserom.gba", 0x3B4BA4, 0x2C
-
-gMapEvents_NavelRock_Fork:: @ 0x83B4BD0
- .incbin "baserom.gba", 0x3B4BD0, 0x4C
-
-gMapEvents_BirthIsland_Exterior:: @ 0x83B4C1C
- .incbin "baserom.gba", 0x3B4C1C, 0xBC
-
-gMapEvents_OneIsland_KindleRoad_EmberSpa:: @ 0x83B4CD8
- .incbin "baserom.gba", 0x3B4CD8, 0x4C
-
-gMapEvents_BirthIsland_Harbor:: @ 0x83B4D24
- .incbin "baserom.gba", 0x3B4D24, 0x4C
-
-gMapEvents_NavelRock_Harbor:: @ 0x83B4D70
- .incbin "baserom.gba", 0x3B4D70, 0xE0
-
-gMapEvents_PalletTown:: @ 0x83B4E50
- .incbin "baserom.gba", 0x3B4E50, 0x190
-
-gMapEvents_ViridianCity:: @ 0x83B4FE0
- .incbin "baserom.gba", 0x3B4FE0, 0x1AC
-
-gMapEvents_PewterCity:: @ 0x83B518C
- .incbin "baserom.gba", 0x3B518C, 0x254
-
-gMapEvents_CeruleanCity:: @ 0x83B53E0
- .incbin "baserom.gba", 0x3B53E0, 0xBC
-
-gMapEvents_LavenderTown:: @ 0x83B549C
- .incbin "baserom.gba", 0x3B549C, 0x1AC
-
-gMapEvents_VermilionCity:: @ 0x83B5648
- .incbin "baserom.gba", 0x3B5648, 0x250
-
-gMapEvents_CeladonCity:: @ 0x83B5898
- .incbin "baserom.gba", 0x3B5898, 0x27C
-
-gMapEvents_FuchsiaCity:: @ 0x83B5B14
- .incbin "baserom.gba", 0x3B5B14, 0xDC
-
-gMapEvents_CinnabarIsland:: @ 0x83B5BF0
- .incbin "baserom.gba", 0x3B5BF0, 0x4C
-
-gMapEvents_IndigoPlateau_Exterior:: @ 0x83B5C3C
- .incbin "baserom.gba", 0x3B5C3C, 0x260
-
-gMapEvents_SaffronCity_Duplicate:: @ 0x83B5E9C
- .incbin "baserom.gba", 0x3B5E9C, 0x14
-
-gMapEvents_SaffronCity:: @ 0x83B5EB0
- .incbin "baserom.gba", 0x3B5EB0, 0x94
-
-gMapEvents_OneIsland:: @ 0x83B5F44
- .incbin "baserom.gba", 0x3B5F44, 0x130
-
-gMapEvents_TwoIsland:: @ 0x83B6074
- .incbin "baserom.gba", 0x3B6074, 0x254
-
-gMapEvents_ThreeIsland:: @ 0x83B62C8
- .incbin "baserom.gba", 0x3B62C8, 0x1A4
-
-gMapEvents_FourIsland:: @ 0x83B646C
- .incbin "baserom.gba", 0x3B646C, 0x88
-
-gMapEvents_FiveIsland:: @ 0x83B64F4
- .incbin "baserom.gba", 0x3B64F4, 0x88
-
-gMapEvents_SevenIsland:: @ 0x83B657C
- .incbin "baserom.gba", 0x3B657C, 0x7C
-
-gMapEvents_SixIsland:: @ 0x83B65F8
- .incbin "baserom.gba", 0x3B65F8, 0x50
-
-gMapEvents_Route1:: @ 0x83B6648
- .incbin "baserom.gba", 0x3B6648, 0x124
-
-gMapEvents_Route2:: @ 0x83B676C
- .incbin "baserom.gba", 0x3B676C, 0x104
-
-gMapEvents_Route3:: @ 0x83B6870
- .incbin "baserom.gba", 0x3B6870, 0x110
-
-gMapEvents_Route4:: @ 0x83B6980
- .incbin "baserom.gba", 0x3B6980, 0x40
-
-gMapEvents_Route5:: @ 0x83B69C0
- .incbin "baserom.gba", 0x3B69C0, 0xE0
-
-gMapEvents_Route6:: @ 0x83B6AA0
- .incbin "baserom.gba", 0x3B6AA0, 0x54
-
-gMapEvents_Route7:: @ 0x83B6AF4
- .incbin "baserom.gba", 0x3B6AF4, 0x1BC
-
-gMapEvents_Route8:: @ 0x83B6CB0
- .incbin "baserom.gba", 0x3B6CB0, 0x164
-
-gMapEvents_Route9:: @ 0x83B6E14
- .incbin "baserom.gba", 0x3B6E14, 0x18C
-
-gMapEvents_Route10:: @ 0x83B6FA0
- .incbin "baserom.gba", 0x3B6FA0, 0x17C
-
-gMapEvents_Route11:: @ 0x83B711C
- .incbin "baserom.gba", 0x3B711C, 0x1C0
-
-gMapEvents_Route12:: @ 0x83B72DC
- .incbin "baserom.gba", 0x3B72DC, 0x14C
-
-gMapEvents_Route13:: @ 0x83B7428
- .incbin "baserom.gba", 0x3B7428, 0x1A0
-
-gMapEvents_Route14:: @ 0x83B75C8
- .incbin "baserom.gba", 0x3B75C8, 0x180
-
-gMapEvents_Route15:: @ 0x83B7748
- .incbin "baserom.gba", 0x3B7748, 0x150
-
-gMapEvents_Route16:: @ 0x83B7898
- .incbin "baserom.gba", 0x3B7898, 0x188
-
-gMapEvents_Route17:: @ 0x83B7A20
- .incbin "baserom.gba", 0x3B7A20, 0x84
-
-gMapEvents_Route18:: @ 0x83B7AA4
- .incbin "baserom.gba", 0x3B7AA4, 0x140
-
-gMapEvents_Route19:: @ 0x83B7BE4
- .incbin "baserom.gba", 0x3B7BE4, 0x150
-
-gMapEvents_Route20:: @ 0x83B7D34
- .incbin "baserom.gba", 0x3B7D34, 0xB0
-
-gMapEvents_Route21_North:: @ 0x83B7DE4
- .incbin "baserom.gba", 0x3B7DE4, 0x8C
-
-gMapEvents_Route21_South:: @ 0x83B7E70
- .incbin "baserom.gba", 0x3B7E70, 0xA8
-
-gMapEvents_Route22:: @ 0x83B7F18
- .incbin "baserom.gba", 0x3B7F18, 0x3E8
-
-gMapEvents_Route23:: @ 0x83B8300
- .incbin "baserom.gba", 0x3B8300, 0x100
-
-gMapEvents_Route24:: @ 0x83B8400
- .incbin "baserom.gba", 0x3B8400, 0x190
-
-gMapEvents_Route25:: @ 0x83B8590
- .incbin "baserom.gba", 0x3B8590, 0x2FC
-
-gMapEvents_OneIsland_KindleRoad:: @ 0x83B888C
- .incbin "baserom.gba", 0x3B888C, 0xA4
-
-gMapEvents_OneIsland_TreasureBeach:: @ 0x83B8930
- .incbin "baserom.gba", 0x3B8930, 0x34
-
-gMapEvents_TwoIsland_CapeBrink:: @ 0x83B8964
- .incbin "baserom.gba", 0x3B8964, 0x138
-
-gMapEvents_ThreeIsland_BondBridge:: @ 0x83B8A9C
- .incbin "baserom.gba", 0x3B8A9C, 0x74
-
-gMapEvents_ThreeIsland_Port:: @ 0x83B8B10
- .incbin "baserom.gba", 0x3B8B10, 0x14
-
-gMapEvents_UnknownMap_03_50:: @ 0x83B8B24
- .incbin "baserom.gba", 0x3B8B24, 0x14
-
-gMapEvents_UnknownMap_03_51:: @ 0x83B8B38
- .incbin "baserom.gba", 0x3B8B38, 0x14
-
-gMapEvents_UnknownMap_03_52:: @ 0x83B8B4C
- .incbin "baserom.gba", 0x3B8B4C, 0x14
-
-gMapEvents_UnknownMap_03_53:: @ 0x83B8B60
- .incbin "baserom.gba", 0x3B8B60, 0x120
-
-gMapEvents_FiveIsland_ResortGorgeous:: @ 0x83B8C80
- .incbin "baserom.gba", 0x3B8C80, 0x44
-
-gMapEvents_FiveIsland_WaterLabyrinth:: @ 0x83B8CC4
- .incbin "baserom.gba", 0x3B8CC4, 0xD0
-
-gMapEvents_FiveIsland_Meadow:: @ 0x83B8D94
- .incbin "baserom.gba", 0x3B8D94, 0xC8
-
-gMapEvents_FiveIsland_MemorialPillar:: @ 0x83B8E5C
- .incbin "baserom.gba", 0x3B8E5C, 0xDC
-
-gMapEvents_SixIsland_OutcastIsland:: @ 0x83B8F38
- .incbin "baserom.gba", 0x3B8F38, 0x70
-
-gMapEvents_SixIsland_GreenPath:: @ 0x83B8FA8
- .incbin "baserom.gba", 0x3B8FA8, 0x138
-
-gMapEvents_SixIsland_WaterPath:: @ 0x83B90E0
- .incbin "baserom.gba", 0x3B90E0, 0x1C0
-
-gMapEvents_SixIsland_RuinValley:: @ 0x83B92A0
- .incbin "baserom.gba", 0x3B92A0, 0x88
-
-gMapEvents_SevenIsland_TrainerTower:: @ 0x83B9328
- .incbin "baserom.gba", 0x3B9328, 0xD4
-
-gMapEvents_SevenIsland_SevaultCanyon_Entrance:: @ 0x83B93FC
- .incbin "baserom.gba", 0x3B93FC, 0x21C
-
-gMapEvents_SevenIsland_SevaultCanyon:: @ 0x83B9618
- .incbin "baserom.gba", 0x3B9618, 0xDC
-
-gMapEvents_SevenIsland_TanobyRuins:: @ 0x83B96F4
- .incbin "baserom.gba", 0x3B96F4, 0x58
-
-gMapEvents_PalletTown_PlayersHouse_1F:: @ 0x83B974C
- .incbin "baserom.gba", 0x3B974C, 0x40
-
-gMapEvents_PalletTown_PlayersHouse_2F:: @ 0x83B978C
- .incbin "baserom.gba", 0x3B978C, 0x80
-
-gMapEvents_PalletTown_GarysHouse:: @ 0x83B980C
- .incbin "baserom.gba", 0x3B980C, 0x1AC
-
-gMapEvents_PalletTown_ProfessorOaksLab:: @ 0x83B99B8
- .incbin "baserom.gba", 0x3B99B8, 0x80
-
-gMapEvents_ViridianCity_House1:: @ 0x83B9A38
- .incbin "baserom.gba", 0x3B9A38, 0x140
-
-gMapEvents_ViridianCity_Gym:: @ 0x83B9B78
- .incbin "baserom.gba", 0x3B9B78, 0x98
-
-gMapEvents_ViridianCity_House2:: @ 0x83B9C10
- .incbin "baserom.gba", 0x3B9C10, 0x74
-
-gMapEvents_ViridianCity_Mart:: @ 0x83B9C84
- .incbin "baserom.gba", 0x3B9C84, 0x94
-
-gMapEvents_ViridianCity_PokemonCenter_1F:: @ 0x83B9D18
- .incbin "baserom.gba", 0x3B9D18, 0x8C
-
-gMapEvents_ViridianCity_PokemonCenter_2F:: @ 0x83B9DA4
- .incbin "baserom.gba", 0x3B9DA4, 0x134
-
-gMapEvents_PewterCity_Museum_1F:: @ 0x83B9ED8
- .incbin "baserom.gba", 0x3B9ED8, 0xF4
-
-gMapEvents_PewterCity_Museum_2F:: @ 0x83B9FCC
- .incbin "baserom.gba", 0x3B9FCC, 0x8C
-
-gMapEvents_PewterCity_Gym:: @ 0x83BA058
- .incbin "baserom.gba", 0x3BA058, 0x74
-
-gMapEvents_PewterCity_Mart:: @ 0x83BA0CC
- .incbin "baserom.gba", 0x3BA0CC, 0x74
-
-gMapEvents_PewterCity_House1:: @ 0x83BA140
- .incbin "baserom.gba", 0x3BA140, 0xDC
-
-gMapEvents_PewterCity_PokemonCenter_1F:: @ 0x83BA21C
- .incbin "baserom.gba", 0x3BA21C, 0x8C
-
-gMapEvents_PewterCity_PokemonCenter_2F:: @ 0x83BA2A8
- .incbin "baserom.gba", 0x3BA2A8, 0x5C
-
-gMapEvents_PewterCity_House2:: @ 0x83BA304
- .incbin "baserom.gba", 0x3BA304, 0x4C
-
-gMapEvents_CeruleanCity_House1:: @ 0x83BA350
- .incbin "baserom.gba", 0x3BA350, 0x70
-
-gMapEvents_CeruleanCity_House2:: @ 0x83BA3C0
- .incbin "baserom.gba", 0x3BA3C0, 0x5C
-
-gMapEvents_CeruleanCity_House3:: @ 0x83BA41C
- .incbin "baserom.gba", 0x3BA41C, 0xDC
-
-gMapEvents_CeruleanCity_PokemonCenter_1F:: @ 0x83BA4F8
- .incbin "baserom.gba", 0x3BA4F8, 0x8C
-
-gMapEvents_CeruleanCity_PokemonCenter_2F:: @ 0x83BA584
- .incbin "baserom.gba", 0x3BA584, 0xA4
-
-gMapEvents_CeruleanCity_Gym:: @ 0x83BA628
- .incbin "baserom.gba", 0x3BA628, 0xD4
-
-gMapEvents_CeruleanCity_BikeShop:: @ 0x83BA6FC
- .incbin "baserom.gba", 0x3BA6FC, 0x74
-
-gMapEvents_CeruleanCity_Mart:: @ 0x83BA770
- .incbin "baserom.gba", 0x3BA770, 0x34
-
-gMapEvents_CeruleanCity_House4:: @ 0x83BA7A4
- .incbin "baserom.gba", 0x3BA7A4, 0x40
-
-gMapEvents_CeruleanCity_House5:: @ 0x83BA7E4
- .incbin "baserom.gba", 0x3BA7E4, 0xAC
-
-gMapEvents_LavenderTown_PokemonCenter_1F:: @ 0x83BA890
- .incbin "baserom.gba", 0x3BA890, 0x8C
-
-gMapEvents_LavenderTown_PokemonCenter_2F:: @ 0x83BA91C
- .incbin "baserom.gba", 0x3BA91C, 0xE0
-
-gMapEvents_LavenderTown_VolunteerPokemonHouse:: @ 0x83BA9FC
- .incbin "baserom.gba", 0x3BA9FC, 0x5C
-
-gMapEvents_LavenderTown_House1:: @ 0x83BAA58
- .incbin "baserom.gba", 0x3BAA58, 0x44
-
-gMapEvents_LavenderTown_House2:: @ 0x83BAA9C
- .incbin "baserom.gba", 0x3BAA9C, 0x8C
-
-gMapEvents_LavenderTown_Mart:: @ 0x83BAB28
- .incbin "baserom.gba", 0x3BAB28, 0x44
-
-gMapEvents_VermilionCity_House1:: @ 0x83BAB6C
- .incbin "baserom.gba", 0x3BAB6C, 0xDC
-
-gMapEvents_VermilionCity_PokemonCenter_1F:: @ 0x83BAC48
- .incbin "baserom.gba", 0x3BAC48, 0x8C
-
-gMapEvents_VermilionCity_PokemonCenter_2F:: @ 0x83BACD4
- .incbin "baserom.gba", 0x3BACD4, 0xD4
-
-gMapEvents_VermilionCity_PokemonFanClub:: @ 0x83BADA8
- .incbin "baserom.gba", 0x3BADA8, 0x44
-
-gMapEvents_VermilionCity_House2:: @ 0x83BADEC
- .incbin "baserom.gba", 0x3BADEC, 0x74
-
-gMapEvents_VermilionCity_Mart:: @ 0x83BAE60
- .incbin "baserom.gba", 0x3BAE60, 0x170
-
-gMapEvents_VermilionCity_Gym:: @ 0x83BAFD0
- .incbin "baserom.gba", 0x3BAFD0, 0x98
-
-gMapEvents_VermilionCity_House3:: @ 0x83BB068
- .incbin "baserom.gba", 0x3BB068, 0x84
-
-gMapEvents_CeladonCity_DepartmentStore_1F:: @ 0x83BB0EC
- .incbin "baserom.gba", 0x3BB0EC, 0x98
-
-gMapEvents_CeladonCity_DepartmentStore_2F:: @ 0x83BB184
- .incbin "baserom.gba", 0x3BB184, 0x128
-
-gMapEvents_CeladonCity_DepartmentStore_3F:: @ 0x83BB2AC
- .incbin "baserom.gba", 0x3BB2AC, 0x80
-
-gMapEvents_CeladonCity_DepartmentStore_4F:: @ 0x83BB32C
- .incbin "baserom.gba", 0x3BB32C, 0x98
-
-gMapEvents_CeladonCity_DepartmentStore_5F:: @ 0x83BB3C4
- .incbin "baserom.gba", 0x3BB3C4, 0x7C
-
-gMapEvents_CeladonCity_DepartmentStore_Roof:: @ 0x83BB440
- .incbin "baserom.gba", 0x3BB440, 0x3C
-
-gMapEvents_CeladonCity_DepartmentStore_Elevator:: @ 0x83BB47C
- .incbin "baserom.gba", 0x3BB47C, 0xBC
-
-gMapEvents_CeladonCity_Condominiums_1F:: @ 0x83BB538
- .incbin "baserom.gba", 0x3BB538, 0x7C
-
-gMapEvents_CeladonCity_Condominiums_2F:: @ 0x83BB5B4
- .incbin "baserom.gba", 0x3BB5B4, 0xF4
-
-gMapEvents_CeladonCity_Condominiums_3F:: @ 0x83BB6A8
- .incbin "baserom.gba", 0x3BB6A8, 0x44
-
-gMapEvents_CeladonCity_Condominiums_Roof:: @ 0x83BB6EC
- .incbin "baserom.gba", 0x3BB6EC, 0x80
-
-gMapEvents_CeladonCity_Condominiums_RoofRoom:: @ 0x83BB76C
- .incbin "baserom.gba", 0x3BB76C, 0x94
-
-gMapEvents_CeladonCity_PokemonCenter_1F:: @ 0x83BB800
- .incbin "baserom.gba", 0x3BB800, 0x8C
-
-gMapEvents_CeladonCity_PokemonCenter_2F:: @ 0x83BB88C
- .incbin "baserom.gba", 0x3BB88C, 0x2EC
-
-gMapEvents_CeladonCity_GameCorner:: @ 0x83BBB78
- .incbin "baserom.gba", 0x3BBB78, 0xA4
-
-gMapEvents_CeladonCity_GameCorner_PrizeRoom:: @ 0x83BBC1C
- .incbin "baserom.gba", 0x3BBC1C, 0x14C
-
-gMapEvents_CeladonCity_Gym:: @ 0x83BBD68
- .incbin "baserom.gba", 0x3BBD68, 0xA4
-
-gMapEvents_CeladonCity_Restaurant:: @ 0x83BBE0C
- .incbin "baserom.gba", 0x3BBE0C, 0x74
-
-gMapEvents_CeladonCity_House1:: @ 0x83BBE80
- .incbin "baserom.gba", 0x3BBE80, 0x8C
-
-gMapEvents_CeladonCity_Hotel:: @ 0x83BBF0C
- .incbin "baserom.gba", 0x3BBF0C, 0x94
-
-gMapEvents_FuchsiaCity_SafariZone_Entrance:: @ 0x83BBFA0
- .incbin "baserom.gba", 0x3BBFA0, 0x74
-
-gMapEvents_FuchsiaCity_Mart:: @ 0x83BC014
- .incbin "baserom.gba", 0x3BC014, 0x8C
-
-gMapEvents_FuchsiaCity_ZooBuilding:: @ 0x83BC0A0
- .incbin "baserom.gba", 0x3BC0A0, 0x104
-
-gMapEvents_FuchsiaCity_Gym:: @ 0x83BC1A4
- .incbin "baserom.gba", 0x3BC1A4, 0x74
-
-gMapEvents_FuchsiaCity_House1:: @ 0x83BC218
- .incbin "baserom.gba", 0x3BC218, 0x94
-
-gMapEvents_FuchsiaCity_PokemonCenter_1F:: @ 0x83BC2AC
- .incbin "baserom.gba", 0x3BC2AC, 0x8C
-
-gMapEvents_FuchsiaCity_PokemonCenter_2F:: @ 0x83BC338
- .incbin "baserom.gba", 0x3BC338, 0xBC
-
-gMapEvents_FuchsiaCity_Building1:: @ 0x83BC3F4
- .incbin "baserom.gba", 0x3BC3F4, 0x4C
-
-gMapEvents_FuchsiaCity_House2:: @ 0x83BC440
- .incbin "baserom.gba", 0x3BC440, 0x34
-
-gMapEvents_FuchsiaCity_House3:: @ 0x83BC474
- .incbin "baserom.gba", 0x3BC474, 0x1B8
-
-gMapEvents_CinnabarIsland_Gym:: @ 0x83BC62C
- .incbin "baserom.gba", 0x3BC62C, 0x8C
-
-gMapEvents_CinnabarIsland_PokemonLab_Entrance:: @ 0x83BC6B8
- .incbin "baserom.gba", 0x3BC6B8, 0x64
-
-gMapEvents_CinnabarIsland_PokemonLab_Lounge:: @ 0x83BC71C
- .incbin "baserom.gba", 0x3BC71C, 0x64
-
-gMapEvents_CinnabarIsland_PokemonLab_ResearchRoom:: @ 0x83BC780
- .incbin "baserom.gba", 0x3BC780, 0x4C
-
-gMapEvents_CinnabarIsland_PokemonLab_ExperimentRoom:: @ 0x83BC7CC
- .incbin "baserom.gba", 0x3BC7CC, 0xDC
-
-gMapEvents_CinnabarIsland_PokemonCenter_1F:: @ 0x83BC8A8
- .incbin "baserom.gba", 0x3BC8A8, 0x8C
-
-gMapEvents_CinnabarIsland_PokemonCenter_2F:: @ 0x83BC934
- .incbin "baserom.gba", 0x3BC934, 0x74
-
-gMapEvents_CinnabarIsland_Mart:: @ 0x83BC9A8
- .incbin "baserom.gba", 0x3BC9A8, 0xEC
-
-gMapEvents_IndigoPlateau_PokemonCenter_1F:: @ 0x83BCA94
- .incbin "baserom.gba", 0x3BCA94, 0x8C
-
-gMapEvents_IndigoPlateau_PokemonCenter_2F:: @ 0x83BCB20
- .incbin "baserom.gba", 0x3BCB20, 0x7C
-
-gMapEvents_SaffronCity_House1_1F:: @ 0x83BCB9C
- .incbin "baserom.gba", 0x3BCB9C, 0xA0
-
-gMapEvents_SaffronCity_House1_2F:: @ 0x83BCC3C
- .incbin "baserom.gba", 0x3BCC3C, 0x124
-
-gMapEvents_SaffronCity_Dojo:: @ 0x83BCD60
- .incbin "baserom.gba", 0x3BCD60, 0x20C
-
-gMapEvents_SaffronCity_Gym:: @ 0x83BCF6C
- .incbin "baserom.gba", 0x3BCF6C, 0x98
-
-gMapEvents_SaffronCity_House2:: @ 0x83BD004
- .incbin "baserom.gba", 0x3BD004, 0x74
-
-gMapEvents_SaffronCity_Mart:: @ 0x83BD078
- .incbin "baserom.gba", 0x3BD078, 0xC4
-
-gMapEvents_SaffronCity_PokemonCenter_1F:: @ 0x83BD13C
- .incbin "baserom.gba", 0x3BD13C, 0x8C
-
-gMapEvents_SaffronCity_PokemonCenter_2F:: @ 0x83BD1C8
- .incbin "baserom.gba", 0x3BD1C8, 0x44
-
-gMapEvents_SaffronCity_House3:: @ 0x83BD20C
- .incbin "baserom.gba", 0x3BD20C, 0x10C
-
-gMapEvents_SaffronCity_PokemonTrainerFanClub:: @ 0x83BD318
- .incbin "baserom.gba", 0x3BD318, 0x64
-
-gMapEvents_Route2_ViridianForest_SouthEntrance:: @ 0x83BD37C
- .incbin "baserom.gba", 0x3BD37C, 0x5C
-
-gMapEvents_Route2_House:: @ 0x83BD3D8
- .incbin "baserom.gba", 0x3BD3D8, 0x64
-
-gMapEvents_Route2_EastBuilding:: @ 0x83BD43C
- .incbin "baserom.gba", 0x3BD43C, 0x7C
-
-gMapEvents_Route2_ViridianForest_NorthEntrance:: @ 0x83BD4B8
- .incbin "baserom.gba", 0x3BD4B8, 0xC4
-
-gMapEvents_Route4_PokemonCenter_1F:: @ 0x83BD57C
- .incbin "baserom.gba", 0x3BD57C, 0x8C
-
-gMapEvents_Route4_PokemonCenter_2F:: @ 0x83BD608
- .incbin "baserom.gba", 0x3BD608, 0x44
-
-gMapEvents_Route5_PokemonDayCare:: @ 0x83BD64C
- .incbin "baserom.gba", 0x3BD64C, 0x7C
-
-gMapEvents_Route5_SouthEntrance:: @ 0x83BD6C8
- .incbin "baserom.gba", 0x3BD6C8, 0x7C
-
-gMapEvents_Route6_NorthEntrance:: @ 0x83BD744
- .incbin "baserom.gba", 0x3BD744, 0x14
-
-gMapEvents_UnknownMap_18_01:: @ 0x83BD758
- .incbin "baserom.gba", 0x3BD758, 0x7C
-
-gMapEvents_Route7_EastEntrance:: @ 0x83BD7D4
- .incbin "baserom.gba", 0x3BD7D4, 0x7C
-
-gMapEvents_Route8_WestEntrance:: @ 0x83BD850
- .incbin "baserom.gba", 0x3BD850, 0xAC
-
-gMapEvents_Route10_PokemonCenter_1F:: @ 0x83BD8FC
- .incbin "baserom.gba", 0x3BD8FC, 0x8C
-
-gMapEvents_Route10_PokemonCenter_2F:: @ 0x83BD988
- .incbin "baserom.gba", 0x3BD988, 0x6C
-
-gMapEvents_Route11_EastEntrance_1F:: @ 0x83BD9F4
- .incbin "baserom.gba", 0x3BD9F4, 0x64
-
-gMapEvents_Route11_EastEntrance_2F:: @ 0x83BDA58
- .incbin "baserom.gba", 0x3BDA58, 0x54
-
-gMapEvents_Route12_NorthEntrance_1F:: @ 0x83BDAAC
- .incbin "baserom.gba", 0x3BDAAC, 0x4C
-
-gMapEvents_Route12_NorthEntrance_2F:: @ 0x83BDAF8
- .incbin "baserom.gba", 0x3BDAF8, 0x50
-
-gMapEvents_Route12_FishingHouse:: @ 0x83BDB48
- .incbin "baserom.gba", 0x3BDB48, 0x54
-
-gMapEvents_Route15_WestEntrance_1F:: @ 0x83BDB9C
- .incbin "baserom.gba", 0x3BDB9C, 0x4C
-
-gMapEvents_Route15_WestEntrance_2F:: @ 0x83BDBE8
- .incbin "baserom.gba", 0x3BDBE8, 0x5C
-
-gMapEvents_Route16_House:: @ 0x83BDC44
- .incbin "baserom.gba", 0x3BDC44, 0x11C
-
-gMapEvents_Route16_NorthEntrance_1F:: @ 0x83BDD60
- .incbin "baserom.gba", 0x3BDD60, 0x7C
-
-gMapEvents_Route16_NorthEntrance_2F:: @ 0x83BDDDC
- .incbin "baserom.gba", 0x3BDDDC, 0xF4
-
-gMapEvents_Route18_EastEntrance_1F:: @ 0x83BDED0
- .incbin "baserom.gba", 0x3BDED0, 0x4C
-
-gMapEvents_Route18_EastEntrance_2F:: @ 0x83BDF1C
- .incbin "baserom.gba", 0x3BDF1C, 0x14
-
-gMapEvents_UnusedHouse_27_00:: @ 0x83BDF30
- .incbin "baserom.gba", 0x3BDF30, 0x5C
-
-gMapEvents_Route22_NorthEntrance:: @ 0x83BDF8C
- .incbin "baserom.gba", 0x3BDF8C, 0x14
-
-gMapEvents_UnusedHouse_29_00:: @ 0x83BDFA0
- .incbin "baserom.gba", 0x3BDFA0, 0x68
-
-gMapEvents_Route25_SeaCottage:: @ 0x83BE008
- .incbin "baserom.gba", 0x3BE008, 0x48
-
-gMapEvents_SevenIsland_House_Room1:: @ 0x83BE050
- .incbin "baserom.gba", 0x3BE050, 0x34
-
-gMapEvents_SevenIsland_House_Room2:: @ 0x83BE084
- .incbin "baserom.gba", 0x3BE084, 0x7C
-
-gMapEvents_SevenIsland_Mart:: @ 0x83BE100
- .incbin "baserom.gba", 0x3BE100, 0xB4
-
-gMapEvents_SevenIsland_PokemonCenter_1F:: @ 0x83BE1B4
- .incbin "baserom.gba", 0x3BE1B4, 0x8C
-
-gMapEvents_SevenIsland_PokemonCenter_2F:: @ 0x83BE240
- .incbin "baserom.gba", 0x3BE240, 0x14
-
-gMapEvents_UnusedHouse_31_05:: @ 0x83BE254
- .incbin "baserom.gba", 0x3BE254, 0x4C
-
-gMapEvents_SevenIsland_Harbor:: @ 0x83BE2A0
- .incbin "baserom.gba", 0x3BE2A0, 0x160
-
-gMapEvents_OneIsland_PokemonCenter_1F:: @ 0x83BE400
- .incbin "baserom.gba", 0x3BE400, 0x8C
-
-gMapEvents_OneIsland_PokemonCenter_2F:: @ 0x83BE48C
- .incbin "baserom.gba", 0x3BE48C, 0x4C
-
-gMapEvents_OneIsland_House1:: @ 0x83BE4D8
- .incbin "baserom.gba", 0x3BE4D8, 0x34
-
-gMapEvents_OneIsland_House2:: @ 0x83BE50C
- .incbin "baserom.gba", 0x3BE50C, 0x4C
-
-gMapEvents_OneIsland_Harbor:: @ 0x83BE558
- .incbin "baserom.gba", 0x3BE558, 0x94
-
-gMapEvents_TwoIsland_JoyfulGameCorner:: @ 0x83BE5EC
- .incbin "baserom.gba", 0x3BE5EC, 0x34
-
-gMapEvents_TwoIsland_House:: @ 0x83BE620
- .incbin "baserom.gba", 0x3BE620, 0x6C
-
-gMapEvents_TwoIsland_PokemonCenter_1F:: @ 0x83BE68C
- .incbin "baserom.gba", 0x3BE68C, 0x8C
-
-gMapEvents_TwoIsland_PokemonCenter_2F:: @ 0x83BE718
- .incbin "baserom.gba", 0x3BE718, 0x4C
-
-gMapEvents_TwoIsland_Harbor:: @ 0x83BE764
- .incbin "baserom.gba", 0x3BE764, 0x40
-
-gMapEvents_ThreeIsland_House1:: @ 0x83BE7A4
- .incbin "baserom.gba", 0x3BE7A4, 0x84
-
-gMapEvents_ThreeIsland_PokemonCenter_1F:: @ 0x83BE828
- .incbin "baserom.gba", 0x3BE828, 0x8C
-
-gMapEvents_ThreeIsland_PokemonCenter_2F:: @ 0x83BE8B4
- .incbin "baserom.gba", 0x3BE8B4, 0x7C
-
-gMapEvents_ThreeIsland_Mart:: @ 0x83BE930
- .incbin "baserom.gba", 0x3BE930, 0x4C
-
-gMapEvents_ThreeIsland_House2:: @ 0x83BE97C
- .incbin "baserom.gba", 0x3BE97C, 0x34
-
-gMapEvents_ThreeIsland_House3:: @ 0x83BE9B0
- .incbin "baserom.gba", 0x3BE9B0, 0x4C
-
-gMapEvents_ThreeIsland_House4:: @ 0x83BE9FC
- .incbin "baserom.gba", 0x3BE9FC, 0x34
-
-gMapEvents_ThreeIsland_House5:: @ 0x83BEA30
- .incbin "baserom.gba", 0x3BEA30, 0x34
-
-gMapEvents_FourIsland_PokemonDayCare:: @ 0x83BEA64
- .incbin "baserom.gba", 0x3BEA64, 0x9C
-
-gMapEvents_FourIsland_PokemonCenter_1F:: @ 0x83BEB00
- .incbin "baserom.gba", 0x3BEB00, 0x8C
-
-gMapEvents_FourIsland_PokemonCenter_2F:: @ 0x83BEB8C
- .incbin "baserom.gba", 0x3BEB8C, 0x4C
-
-gMapEvents_FourIsland_House1:: @ 0x83BEBD8
- .incbin "baserom.gba", 0x3BEBD8, 0x184
-
-gMapEvents_FourIsland_LoreleisHouse:: @ 0x83BED5C
- .incbin "baserom.gba", 0x3BED5C, 0x4C
-
-gMapEvents_FourIsland_Harbor:: @ 0x83BEDA8
- .incbin "baserom.gba", 0x3BEDA8, 0x34
-
-gMapEvents_FourIsland_House2:: @ 0x83BEDDC
- .incbin "baserom.gba", 0x3BEDDC, 0x64
-
-gMapEvents_FourIsland_Mart:: @ 0x83BEE40
- .incbin "baserom.gba", 0x3BEE40, 0x9C
-
-gMapEvents_FiveIsland_PokemonCenter_1F:: @ 0x83BEEDC
- .incbin "baserom.gba", 0x3BEEDC, 0x8C
-
-gMapEvents_FiveIsland_PokemonCenter_2F:: @ 0x83BEF68
- .incbin "baserom.gba", 0x3BEF68, 0x4C
-
-gMapEvents_FiveIsland_Harbor:: @ 0x83BEFB4
- .incbin "baserom.gba", 0x3BEFB4, 0x34
-
-gMapEvents_FiveIsland_House1:: @ 0x83BEFE8
- .incbin "baserom.gba", 0x3BEFE8, 0x34
-
-gMapEvents_FiveIsland_House2:: @ 0x83BF01C
- .incbin "baserom.gba", 0x3BF01C, 0x84
-
-gMapEvents_SixIsland_PokemonCenter_1F:: @ 0x83BF0A0
- .incbin "baserom.gba", 0x3BF0A0, 0x8C
-
-gMapEvents_SixIsland_PokemonCenter_2F:: @ 0x83BF12C
- .incbin "baserom.gba", 0x3BF12C, 0x4C
-
-gMapEvents_SixIsland_Harbor:: @ 0x83BF178
- .incbin "baserom.gba", 0x3BF178, 0x34
-
-gMapEvents_SixIsland_House:: @ 0x83BF1AC
- .incbin "baserom.gba", 0x3BF1AC, 0x64
-
-gMapEvents_SixIsland_Mart:: @ 0x83BF210
- .incbin "baserom.gba", 0x3BF210, 0x4C
-
-gMapEvents_ThreeIsland_Harbor:: @ 0x83BF25C
- .incbin "baserom.gba", 0x3BF25C, 0x64
-
-gMapEvents_FiveIsland_ResortGorgeous_House:: @ 0x83BF2C0
- .incbin "baserom.gba", 0x3BF2C0, 0x34
-
-gMapEvents_TwoIsland_CapeBrink_House:: @ 0x83BF2F4
- .incbin "baserom.gba", 0x3BF2F4, 0x40
-
-gMapEvents_SixIsland_WaterPath_House1:: @ 0x83BF334
- .incbin "baserom.gba", 0x3BF334, 0x34
-
-gMapEvents_SixIsland_WaterPath_House2:: @ 0x83BF368
- .incbin "baserom.gba", 0x3BF368, 0x64
-
-gMapEvents_SevenIsland_SevaultCanyon_House:: @ 0x83BF3CC
- .incbin "baserom.gba", 0x3BF3CC, 0x188
+@#include "constants/bg_event_constants.h"
+@#include "constants/event_object_movement_constants.h"
+@#include "constants/event_objects.h"
+#include "constants/flags.h"
+#include "constants/items.h"
+@#include "constants/map_scripts.h"
+#include "constants/layouts.h"
+#include "constants/maps.h"
+@#include "constants/secret_bases.h"
+#include "constants/vars.h"
+@#include "constants/weather.h"
+@#include "constants/trainer_hill.h"
+ .include "asm/macros.inc"
+ .include "constants/constants.inc"
+
+ .section .rodata
+
+ .include "data/maps/events.inc"
diff --git a/data/maps.s b/data/maps.s
new file mode 100644
index 000000000..9cb61ccb4
--- /dev/null
+++ b/data/maps.s
@@ -0,0 +1,18 @@
+#include "constants/layouts.h"
+@#include "constants/map_types.h"
+#include "constants/maps.h"
+@#include "constants/weather.h"
+#include "constants/region_map.h"
+#include "constants/songs.h"
+#include "constants/items.h"
+@#include "constants/weather.h"
+ .include "asm/macros.inc"
+ .include "constants/constants.inc"
+
+ .section .rodata
+
+ .include "data/layouts/layouts.inc"
+ .include "data/layouts/layouts_table.inc"
+ .include "data/maps/headers.inc"
+ .include "data/maps/groups.inc"
+ .include "data/maps/connections.inc"
diff --git a/data/maps/.gitignore b/data/maps/.gitignore
new file mode 100644
index 000000000..59405b176
--- /dev/null
+++ b/data/maps/.gitignore
@@ -0,0 +1,7 @@
+connections.inc
+events.inc
+groups.inc
+headers.inc
+**/connections.inc
+**/events.inc
+**/header.inc
diff --git a/data/maps/BirthIsland_Exterior/map.json b/data/maps/BirthIsland_Exterior/map.json
new file mode 100644
index 000000000..521d191fa
--- /dev/null
+++ b/data/maps/BirthIsland_Exterior/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_BIRTH_ISLAND_EXTERIOR",
+ "name": "BirthIsland_Exterior",
+ "layout": "LAYOUT_BIRTH_ISLAND_EXTERIOR",
+ "music": "0xFFFF",
+ "region_map_section": "MAPSEC_BIRTH_ISLAND",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "106",
+ "x": 15,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "BirthIsland_Exterior_EventScript_165271",
+ "flag": "154"
+ },
+ {
+ "graphics_id": "240",
+ "x": 15,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "153"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 15,
+ "y": 24,
+ "elevation": 3,
+ "dest_map": "MAP_BIRTH_ISLAND_HARBOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/BirthIsland_Exterior/scripts.inc b/data/maps/BirthIsland_Exterior/scripts.inc
new file mode 100644
index 000000000..93618c138
--- /dev/null
+++ b/data/maps/BirthIsland_Exterior/scripts.inc
@@ -0,0 +1,132 @@
+BirthIsland_Exterior_MapScripts:: @ 8165203
+ map_script 3, BirthIsland_Exterior_MapScript1_165217
+ map_script 5, BirthIsland_Exterior_MapScript2_165253
+ map_script 7, BirthIsland_Exterior_MapScript3_165213
+ .byte 0
+
+BirthIsland_Exterior_MapScript3_165213:: @ 8165213
+ special sub_80CD008
+ end
+
+BirthIsland_Exterior_MapScript1_165217:: @ 8165217
+ setworldmapflag 2242
+ setvar VAR_0x4010, 150
+ setvar VAR_SECRET_BASE_MAP, 0
+ setvar VAR_ALTERING_CAVE_WILD_SET, 0
+ checkflag FLAG_0x2E4
+ call_if 1, EventScript_16523C
+ checkflag FLAG_0x2E4
+ call_if 0, EventScript_165243
+ end
+
+EventScript_16523C:: @ 816523C
+ setflag FLAG_0x099
+ setflag FLAG_0x09A
+ return
+
+EventScript_165243:: @ 8165243
+ checkflag FLAG_0x2F7
+ goto_if 1, EventScript_1A77A9
+ clearflag FLAG_0x09A
+ clearflag 2120
+ return
+
+BirthIsland_Exterior_MapScript2_165253:: @ 8165253
+ checkflag 2055
+ call_if 1, EventScript_16525D
+ end
+
+EventScript_16525D:: @ 816525D
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 5, EventScript_1A77A9
+ removeobject 2
+ return
+
+BirthIsland_Exterior_EventScript_165271:: @ 8165271
+ lock
+ faceplayer
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ special sub_80CCDFC
+ waitstate
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_1652BA
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_1652BC
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_1652C0
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_1652BE
+ end
+
+EventScript_1652BA:: @ 81652BA
+ release
+ end
+
+EventScript_1652BC:: @ 81652BC
+ release
+ end
+
+EventScript_1652BE:: @ 81652BE
+ release
+ end
+
+EventScript_1652C0:: @ 81652C0
+ addobject 2
+ waitse
+ setfieldeffectarg 0, 1
+ setfieldeffectarg 1, 56
+ setfieldeffectarg 2, 2
+ dofieldeffect 68
+ playbgm BGM_FRLG_DEOXYS_EYE, 0
+ waitfieldeffect 68
+ applymovement 2, Movement_165353
+ waitmovement 0
+ waitse
+ playmoncry SPECIES_DEOXYS, 2
+ delay 40
+ waitmoncry
+ setvar VAR_LAST_TALKED, 2
+ setvar VAR_0x8004, 410
+ setvar VAR_0x8005, 30
+ setvar VAR_0x8006, 0
+ special sub_8044838
+ setflag 2055
+ special sub_807F9D8
+ waitstate
+ clearflag 2055
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16533A
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_165348
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_165348
+ setflag FLAG_0x2E4
+ release
+ end
+
+EventScript_16533A:: @ 816533A
+ setflag FLAG_0x2F7
+ setvar VAR_0x8004, 410
+ goto EventScript_1A9236
+ end
+
+EventScript_165348:: @ 8165348
+ setvar VAR_0x8004, 410
+ goto EventScript_1A9236
+ end
+
+Movement_165353:: @ 8165353
+ step_down
+ step_down
+ step_down
+ step_down
+ step_down
+ step_down
+ step_down
+ step_end
diff --git a/data/maps/BirthIsland_Harbor/map.json b/data/maps/BirthIsland_Harbor/map.json
new file mode 100644
index 000000000..4efbb12a4
--- /dev/null
+++ b/data/maps/BirthIsland_Harbor/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_BIRTH_ISLAND_HARBOR",
+ "name": "BirthIsland_Harbor",
+ "layout": "LAYOUT_ISLAND_HARBOR",
+ "music": "0xFFFF",
+ "region_map_section": "MAPSEC_BIRTH_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": "108",
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "BirthIsland_Harbor_EventScript_1653E7",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_BIRTH_ISLAND_EXTERIOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/BirthIsland_Harbor/scripts.inc b/data/maps/BirthIsland_Harbor/scripts.inc
new file mode 100644
index 000000000..d92a62d8e
--- /dev/null
+++ b/data/maps/BirthIsland_Harbor/scripts.inc
@@ -0,0 +1,37 @@
+BirthIsland_Harbor_MapScripts:: @ 81653E6
+ .byte 0
+
+BirthIsland_Harbor_EventScript_1653E7:: @ 81653E7
+ lock
+ faceplayer
+ message Text_181726
+ waitmessage
+ setvar VAR_0x8004, 10
+ multichoice 20, 8, 61, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_1A91D5
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_1A90F6
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_1A90F6
+ end
+
+NavelRock_Harbor_MapScripts:: @ 8165420
+ .byte 0
+
+NavelRock_Harbor_EventScript_165421:: @ 8165421
+ lock
+ faceplayer
+ message Text_181726
+ waitmessage
+ setvar VAR_0x8004, 9
+ multichoice 20, 8, 61, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_1A91D5
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_1A90F6
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_1A90F6
+ end
diff --git a/data/maps/CeladonCity/map.json b/data/maps/CeladonCity/map.json
new file mode 100644
index 000000000..0bf834686
--- /dev/null
+++ b/data/maps/CeladonCity/map.json
@@ -0,0 +1,384 @@
+{
+ "id": "MAP_CELADON_CITY",
+ "name": "CeladonCity",
+ "layout": "LAYOUT_CELADON_CITY",
+ "music": "BGM_FRLG_CELADON_CITY",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE16",
+ "offset": 10,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_ROUTE7",
+ "offset": 10,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 48,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 4,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_166CFA",
+ "flag": "95"
+ },
+ {
+ "graphics_id": "27",
+ "x": 38,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_166CC5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "112",
+ "x": 36,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_166CDC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 11,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "52",
+ "movement_range_x": 4,
+ "movement_range_y": 4,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_166C99",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 18,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 5,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_166CAD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 30,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_166CB6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "33",
+ "x": 26,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_166CBF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "49",
+ "x": 38,
+ "y": 31,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 5,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_166D03",
+ "flag": "95"
+ },
+ {
+ "graphics_id": "32",
+ "x": 9,
+ "y": 30,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_166CA2",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 52,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_1BDF13",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "95",
+ "x": 40,
+ "y": 35,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_1BDF13",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "19",
+ "x": 25,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_166D0C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65375",
+ "x": 65529,
+ "y": 21,
+ "elevation": 7,
+ "movement_type": "0",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 34,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_1BEBC0",
+ "flag": "465"
+ },
+ {
+ "graphics_id": "55",
+ "x": 47,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_EventScript_166D15",
+ "flag": "95"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 34,
+ "y": 21,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_GAME_CORNER",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 14,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 15,
+ "y": 14,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_1F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 30,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 48,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 39,
+ "y": 20,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_GAME_CORNER_PRIZE_ROOM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 11,
+ "y": 30,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_GYM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 37,
+ "y": 29,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_RESTAURANT",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 41,
+ "y": 29,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_HOUSE1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 49,
+ "y": 29,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_HOTEL",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 29,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 30,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 31,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 45,
+ "y": 23,
+ "elevation": 0,
+ "script": "CeladonCity_EventScript_166D5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 38,
+ "y": 23,
+ "elevation": 0,
+ "script": "CeladonCity_EventScript_166D63"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 33,
+ "y": 23,
+ "elevation": 0,
+ "script": "CeladonCity_EventScript_166D6C"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 22,
+ "y": 18,
+ "elevation": 3,
+ "script": "CeladonCity_EventScript_166D27"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 26,
+ "y": 11,
+ "elevation": 0,
+ "script": "CeladonCity_EventScript_166D48"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 33,
+ "y": 16,
+ "elevation": 0,
+ "script": "CeladonCity_EventScript_166D1E"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 18,
+ "y": 14,
+ "elevation": 3,
+ "script": "CeladonCity_EventScript_166D51"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 16,
+ "y": 31,
+ "elevation": 0,
+ "script": "CeladonCity_EventScript_166D30"
+ },
+ {
+ "type": "hidden_item",
+ "x": 55,
+ "y": 20,
+ "elevation": 3,
+ "item": "ITEM_PP_UP",
+ "flag": "47",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity/scripts.inc b/data/maps/CeladonCity/scripts.inc
new file mode 100644
index 000000000..54579baae
--- /dev/null
+++ b/data/maps/CeladonCity/scripts.inc
@@ -0,0 +1,123 @@
+CeladonCity_MapScripts:: @ 8166C8F
+ map_script 3, CeladonCity_MapScript1_166C95
+ .byte 0
+
+CeladonCity_MapScript1_166C95:: @ 8166C95
+ setworldmapflag 2198
+ end
+
+CeladonCity_EventScript_166C99:: @ 8166C99
+ loadword 0, gUnknown_817FEC3
+ callstd 2
+ end
+
+CeladonCity_EventScript_166CA2:: @ 8166CA2
+ lock
+ loadword 0, gUnknown_817FF1C
+ callstd 4
+ release
+ end
+
+CeladonCity_EventScript_166CAD:: @ 8166CAD
+ loadword 0, gUnknown_817FF4A
+ callstd 2
+ end
+
+CeladonCity_EventScript_166CB6:: @ 8166CB6
+ loadword 0, gUnknown_817FFC5
+ callstd 2
+ end
+
+CeladonCity_EventScript_166CBF:: @ 8166CBF
+ goto EventScript_1C4A86
+ end
+
+CeladonCity_EventScript_166CC5:: @ 8166CC5
+ lock
+ faceplayer
+ loadword 0, gUnknown_818001B
+ callstd 4
+ closemessage
+ applymovement 2, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+CeladonCity_EventScript_166CDC:: @ 8166CDC
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_POLIWRATH, 0
+ loadword 0, gUnknown_8180075
+ callstd 4
+ closemessage
+ waitmoncry
+ applymovement 3, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+CeladonCity_EventScript_166CFA:: @ 8166CFA
+ loadword 0, gUnknown_81800C2
+ callstd 2
+ end
+
+CeladonCity_EventScript_166D03:: @ 8166D03
+ loadword 0, gUnknown_818008C
+ callstd 2
+ end
+
+CeladonCity_EventScript_166D0C:: @ 8166D0C
+ loadword 0, gUnknown_8180300
+ callstd 2
+ end
+
+CeladonCity_EventScript_166D15:: @ 8166D15
+ loadword 0, gUnknown_81804E1
+ callstd 2
+ end
+
+CeladonCity_EventScript_166D1E:: @ 8166D1E
+ loadword 0, gUnknown_81800E1
+ callstd 3
+ end
+
+CeladonCity_EventScript_166D27:: @ 8166D27
+ loadword 0, gUnknown_818017A
+ callstd 3
+ end
+
+CeladonCity_EventScript_166D30:: @ 8166D30
+ lockall
+ setvar VAR_0x8004, 5
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_81801A2
+ callstd 4
+ releaseall
+ end
+
+CeladonCity_EventScript_166D48:: @ 8166D48
+ loadword 0, gUnknown_81801E5
+ callstd 3
+ end
+
+CeladonCity_EventScript_166D51:: @ 8166D51
+ loadword 0, gUnknown_81801F5
+ callstd 3
+ end
+
+CeladonCity_EventScript_166D5A:: @ 8166D5A
+ loadword 0, gUnknown_8180224
+ callstd 3
+ end
+
+CeladonCity_EventScript_166D63:: @ 8166D63
+ loadword 0, gUnknown_81802A4
+ callstd 3
+ end
+
+CeladonCity_EventScript_166D6C:: @ 8166D6C
+ loadword 0, gUnknown_81802CF
+ callstd 3
+ end
diff --git a/data/maps/CeladonCity_Condominiums_1F/map.json b/data/maps/CeladonCity_Condominiums_1F/map.json
new file mode 100644
index 000000000..443e9acd6
--- /dev/null
+++ b/data/maps/CeladonCity_Condominiums_1F/map.json
@@ -0,0 +1,130 @@
+{
+ "id": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
+ "name": "CeladonCity_Condominiums_1F",
+ "layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_1F",
+ "music": "BGM_FRLG_CELADON_CITY",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": "125",
+ "x": 1,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Condominiums_1F_EventScript_16C38E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "113",
+ "x": 5,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Condominiums_1F_EventScript_16C3A1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "122",
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Condominiums_1F_EventScript_16C3B4",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "35",
+ "x": 2,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Condominiums_1F_EventScript_16C321",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 19,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 12,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 13,
+ "y": 19,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 12,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 2,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 11
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 12,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_1F_EventScript_16C3C7"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 12,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_1F_EventScript_16C3C7"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_Condominiums_1F/scripts.inc b/data/maps/CeladonCity_Condominiums_1F/scripts.inc
new file mode 100644
index 000000000..868c58812
--- /dev/null
+++ b/data/maps/CeladonCity_Condominiums_1F/scripts.inc
@@ -0,0 +1,78 @@
+CeladonCity_Condominiums_1F_MapScripts:: @ 816C320
+ .byte 0
+
+CeladonCity_Condominiums_1F_EventScript_16C321:: @ 816C321
+ lock
+ faceplayer
+ checkflag FLAG_0x2F8
+ goto_if 1, EventScript_16C36A
+ checkflag 2092
+ goto_if 1, EventScript_16C374
+ checkflag FLAG_0x2A6
+ goto_if 1, EventScript_16C36A
+ loadword 0, gUnknown_81960C9
+ callstd 4
+ setflag FLAG_0x2A6
+ setorcopyvar VAR_0x8000, 369
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A6BF9
+ loadword 0, gUnknown_8196109
+ callstd 4
+ release
+ end
+
+EventScript_16C36A:: @ 816C36A
+ loadword 0, gUnknown_8196148
+ callstd 4
+ release
+ end
+
+EventScript_16C374:: @ 816C374
+ setvar VAR_0x8004, 1
+ setvar VAR_0x8005, 4
+ special SetFlavorTextFlagFromSpecialVars
+ setflag FLAG_0x2F8
+ loadword 0, gUnknown_8196188
+ callstd 4
+ release
+ end
+
+CeladonCity_Condominiums_1F_EventScript_16C38E:: @ 816C38E
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_MEOWTH, 0
+ loadword 0, gUnknown_81960BB
+ callstd 4
+ waitmoncry
+ release
+ end
+
+CeladonCity_Condominiums_1F_EventScript_16C3A1:: @ 816C3A1
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_CLEFAIRY, 0
+ loadword 0, gUnknown_819625B
+ callstd 4
+ waitmoncry
+ release
+ end
+
+CeladonCity_Condominiums_1F_EventScript_16C3B4:: @ 816C3B4
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_NIDORAN_F, 0
+ loadword 0, gUnknown_8196272
+ callstd 4
+ waitmoncry
+ release
+ end
+
+CeladonCity_Condominiums_1F_EventScript_16C3C7:: @ 816C3C7
+ loadword 0, gUnknown_8196287
+ callstd 3
+ end
diff --git a/data/maps/CeladonCity_Condominiums_2F/map.json b/data/maps/CeladonCity_Condominiums_2F/map.json
new file mode 100644
index 000000000..48559628c
--- /dev/null
+++ b/data/maps/CeladonCity_Condominiums_2F/map.json
@@ -0,0 +1,90 @@
+{
+ "id": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
+ "name": "CeladonCity_Condominiums_2F",
+ "layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_2F",
+ "music": "BGM_FRLG_CELADON_CITY",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": "0",
+ "x": 6,
+ "y": 6,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Condominiums_2F_EventScript_1ACE9D",
+ "flag": "158"
+ },
+ {
+ "graphics_id": "0",
+ "x": 5,
+ "y": 6,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Condominiums_2F_EventScript_1ACE9D",
+ "flag": "158"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 12,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 12,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_2F_EventScript_16C3D1"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 12,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_2F_EventScript_16C3D1"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_Condominiums_2F/scripts.inc b/data/maps/CeladonCity_Condominiums_2F/scripts.inc
new file mode 100644
index 000000000..f7c6fa8d7
--- /dev/null
+++ b/data/maps/CeladonCity_Condominiums_2F/scripts.inc
@@ -0,0 +1,7 @@
+CeladonCity_Condominiums_2F_MapScripts:: @ 816C3D0
+ .byte 0
+
+CeladonCity_Condominiums_2F_EventScript_16C3D1:: @ 816C3D1
+ loadword 0, gUnknown_81962A7
+ callstd 3
+ end
diff --git a/data/maps/CeladonCity_Condominiums_3F/map.json b/data/maps/CeladonCity_Condominiums_3F/map.json
new file mode 100644
index 000000000..c804ec6e7
--- /dev/null
+++ b/data/maps/CeladonCity_Condominiums_3F/map.json
@@ -0,0 +1,158 @@
+{
+ "id": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
+ "name": "CeladonCity_Condominiums_3F",
+ "layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_3F",
+ "music": "BGM_FRLG_CELADON_CITY",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": "26",
+ "x": 0,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Condominiums_3F_EventScript_16C3DB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 3,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Condominiums_3F_EventScript_16C3F6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "52",
+ "x": 4,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Condominiums_3F_EventScript_16C3E4",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "27",
+ "x": 0,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Condominiums_3F_EventScript_16C3ED",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 12,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 11,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 12,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_3F_EventScript_16C435"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 1,
+ "y": 9,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_3F_EventScript_16C43E"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 5,
+ "y": 9,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_3F_EventScript_16C447"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 1,
+ "y": 12,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_3F_EventScript_16C450"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 12,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_3F_EventScript_16C435"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 0,
+ "y": 12,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_3F_EventScript_16C450"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 0,
+ "y": 9,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_3F_EventScript_16C43E"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 4,
+ "y": 9,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_3F_EventScript_16C447"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_Condominiums_3F/scripts.inc b/data/maps/CeladonCity_Condominiums_3F/scripts.inc
new file mode 100644
index 000000000..fe18ab649
--- /dev/null
+++ b/data/maps/CeladonCity_Condominiums_3F/scripts.inc
@@ -0,0 +1,64 @@
+CeladonCity_Condominiums_3F_MapScripts:: @ 816C3DA
+ .byte 0
+
+CeladonCity_Condominiums_3F_EventScript_16C3DB:: @ 816C3DB
+ loadword 0, gUnknown_81962BF
+ callstd 2
+ end
+
+CeladonCity_Condominiums_3F_EventScript_16C3E4:: @ 816C3E4
+ loadword 0, gUnknown_81962D7
+ callstd 2
+ end
+
+CeladonCity_Condominiums_3F_EventScript_16C3ED:: @ 816C3ED
+ loadword 0, gUnknown_81962FB
+ callstd 2
+ end
+
+CeladonCity_Condominiums_3F_EventScript_16C3F6:: @ 816C3F6
+ lock
+ faceplayer
+ specialvar VAR_RESULT, sub_8088F58
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16C412
+ loadword 0, gUnknown_8196356
+ callstd 4
+ release
+ end
+
+EventScript_16C412:: @ 816C412
+ goto EventScript_16C418
+ end
+
+EventScript_16C418:: @ 816C418
+ message Text_1963CD
+ waitmessage
+ delay 60
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_80CA618
+ waitstate
+ release
+ end
+
+CeladonCity_Condominiums_3F_EventScript_16C435:: @ 816C435
+ loadword 0, gUnknown_81964A8
+ callstd 3
+ end
+
+CeladonCity_Condominiums_3F_EventScript_16C43E:: @ 816C43E
+ loadword 0, gUnknown_819640C
+ callstd 3
+ end
+
+CeladonCity_Condominiums_3F_EventScript_16C447:: @ 816C447
+ loadword 0, gUnknown_819644B
+ callstd 3
+ end
+
+CeladonCity_Condominiums_3F_EventScript_16C450:: @ 816C450
+ loadword 0, gUnknown_8196478
+ callstd 3
+ end
diff --git a/data/maps/CeladonCity_Condominiums_Roof/map.json b/data/maps/CeladonCity_Condominiums_Roof/map.json
new file mode 100644
index 000000000..8e3cfdba6
--- /dev/null
+++ b/data/maps/CeladonCity_Condominiums_Roof/map.json
@@ -0,0 +1,56 @@
+{
+ "id": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
+ "name": "CeladonCity_Condominiums_Roof",
+ "layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_ROOF",
+ "music": "BGM_FRLG_CELADON_CITY",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": [],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 2,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF_ROOM",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 12,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_Roof_EventScript_16C45A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 12,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_Roof_EventScript_16C45A"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_Condominiums_Roof/scripts.inc b/data/maps/CeladonCity_Condominiums_Roof/scripts.inc
new file mode 100644
index 000000000..dd3d686c0
--- /dev/null
+++ b/data/maps/CeladonCity_Condominiums_Roof/scripts.inc
@@ -0,0 +1,7 @@
+CeladonCity_Condominiums_Roof_MapScripts:: @ 816C459
+ .byte 0
+
+CeladonCity_Condominiums_Roof_EventScript_16C45A:: @ 816C45A
+ loadword 0, gUnknown_81964C4
+ callstd 3
+ end
diff --git a/data/maps/CeladonCity_Condominiums_RoofRoom/map.json b/data/maps/CeladonCity_Condominiums_RoofRoom/map.json
new file mode 100644
index 000000000..9b34fffdd
--- /dev/null
+++ b/data/maps/CeladonCity_Condominiums_RoofRoom/map.json
@@ -0,0 +1,90 @@
+{
+ "id": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF_ROOM",
+ "name": "CeladonCity_Condominiums_RoofRoom",
+ "layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_ROOF_ROOM",
+ "music": "BGM_FRLG_CELADON_CITY",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": "54",
+ "x": 3,
+ "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": "CeladonCity_Condominiums_RoofRoom_EventScript_16C464",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 7,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Condominiums_RoofRoom_EventScript_16C46D",
+ "flag": "87"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_RoofRoom_EventScript_16C522"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_RoofRoom_EventScript_16C522"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 4,
+ "elevation": 0,
+ "script": "CeladonCity_Condominiums_RoofRoom_EventScript_16C519"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_Condominiums_RoofRoom/scripts.inc b/data/maps/CeladonCity_Condominiums_RoofRoom/scripts.inc
new file mode 100644
index 000000000..ee5cf4777
--- /dev/null
+++ b/data/maps/CeladonCity_Condominiums_RoofRoom/scripts.inc
@@ -0,0 +1,127 @@
+CeladonCity_Condominiums_RoofRoom_MapScripts:: @ 816C463
+ .byte 0
+
+CeladonCity_Condominiums_RoofRoom_EventScript_16C464:: @ 816C464
+ loadword 0, gUnknown_81964D7
+ callstd 2
+ end
+
+CeladonCity_Condominiums_RoofRoom_EventScript_16C46D:: @ 816C46D
+ lock
+ faceplayer
+ setvar VAR_0x4001, 133
+ givemon SPECIES_EEVEE, 25, ITEM_NONE, 0, 0, 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16C4A6
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16C4DA
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A927C
+ release
+ end
+
+EventScript_16C4A6:: @ 816C4A6
+ removeobject 2
+ playfanfare MUS_FANFA1
+ message Text_196591
+ waitmessage
+ waitfanfare
+ getspeciesname 0, SPECIES_EEVEE
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16C514
+ call EventScript_1A8C27
+ call EventScript_1A74EB
+ goto EventScript_16C514
+ end
+
+EventScript_16C4DA:: @ 816C4DA
+ removeobject 2
+ playfanfare MUS_FANFA1
+ message Text_196591
+ waitmessage
+ waitfanfare
+ getspeciesname 0, SPECIES_EEVEE
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16C509
+ call EventScript_1A8C33
+ goto EventScript_16C509
+ end
+
+EventScript_16C509:: @ 816C509
+ call EventScript_1A8C3C
+ goto EventScript_16C514
+ end
+
+EventScript_16C514:: @ 816C514
+ setflag FLAG_0x263
+ release
+ end
+
+CeladonCity_Condominiums_RoofRoom_EventScript_16C519:: @ 816C519
+ loadword 0, gUnknown_81967E3
+ callstd 3
+ end
+
+CeladonCity_Condominiums_RoofRoom_EventScript_16C522:: @ 816C522
+ lockall
+ loadword 0, gUnknown_81965C2
+ callstd 4
+ message Text_1965F4
+ waitmessage
+ setvar VAR_0x8004, 4
+ multichoice 0, 0, 43, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16C5C0
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16C5CE
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16C5DC
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16C5EA
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16C5EA
+ end
+
+EventScript_16C578:: @ 816C578
+ message Text_1965F4
+ waitmessage
+ multichoice 0, 0, 43, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16C5C0
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16C5CE
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16C5DC
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16C5EA
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16C5EA
+ end
+
+EventScript_16C5C0:: @ 816C5C0
+ loadword 0, gUnknown_8196617
+ callstd 4
+ goto EventScript_16C578
+ end
+
+EventScript_16C5CE:: @ 816C5CE
+ loadword 0, gUnknown_8196695
+ callstd 4
+ goto EventScript_16C578
+ end
+
+EventScript_16C5DC:: @ 816C5DC
+ loadword 0, gUnknown_819673C
+ callstd 4
+ goto EventScript_16C578
+ end
+
+EventScript_16C5EA:: @ 816C5EA
+ releaseall
+ end
diff --git a/data/maps/CeladonCity_DepartmentStore_1F/map.json b/data/maps/CeladonCity_DepartmentStore_1F/map.json
new file mode 100644
index 000000000..1318f0173
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_1F/map.json
@@ -0,0 +1,105 @@
+{
+ "id": "MAP_CELADON_CITY_DEPARTMENT_STORE_1F",
+ "name": "CeladonCity_DepartmentStore_1F",
+ "layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 4,
+ "elevator_flag": 1,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "48",
+ "x": 6,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_1F_EventScript_16BAD9",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 15,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 3,
+ "y": 15,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 9,
+ "y": 15,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 10,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 11,
+ "y": 15,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 6,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_2F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 11,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_1F_EventScript_16BAE2"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 1,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_1F_EventScript_16BAEB"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_DepartmentStore_1F/scripts.inc b/data/maps/CeladonCity_DepartmentStore_1F/scripts.inc
new file mode 100644
index 000000000..c17ca3c25
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_1F/scripts.inc
@@ -0,0 +1,17 @@
+CeladonCity_DepartmentStore_1F_MapScripts:: @ 816BAD8
+ .byte 0
+
+CeladonCity_DepartmentStore_1F_EventScript_16BAD9:: @ 816BAD9
+ loadword 0, gUnknown_81954DD
+ callstd 2
+ end
+
+CeladonCity_DepartmentStore_1F_EventScript_16BAE2:: @ 816BAE2
+ loadword 0, gUnknown_8195537
+ callstd 3
+ end
+
+CeladonCity_DepartmentStore_1F_EventScript_16BAEB:: @ 816BAEB
+ loadword 0, gUnknown_81955B3
+ callstd 3
+ end
diff --git a/data/maps/CeladonCity_DepartmentStore_2F/map.json b/data/maps/CeladonCity_DepartmentStore_2F/map.json
new file mode 100644
index 000000000..9765467e4
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_2F/map.json
@@ -0,0 +1,102 @@
+{
+ "id": "MAP_CELADON_CITY_DEPARTMENT_STORE_2F",
+ "name": "CeladonCity_DepartmentStore_2F",
+ "layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 4,
+ "elevator_flag": 2,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "22",
+ "x": 5,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_2F_EventScript_16BAFE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "68",
+ "x": 1,
+ "y": 8,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 3,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_2F_EventScript_16BB10",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "68",
+ "x": 1,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 3,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_2F_EventScript_16BB4E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "23",
+ "x": 11,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_2F_EventScript_1AD053",
+ "flag": "157"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 3,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_1F",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 9,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_3F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_2F_EventScript_16BB07"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_DepartmentStore_2F/scripts.inc b/data/maps/CeladonCity_DepartmentStore_2F/scripts.inc
new file mode 100644
index 000000000..1c1e0ab95
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_2F/scripts.inc
@@ -0,0 +1,72 @@
+CeladonCity_DepartmentStore_2F_MapScripts:: @ 816BAF4
+ .byte 0
+
+CeladonCity_DepartmentStore_2F_EventScript_16BAF5:: @ 816BAF5
+ loadword 0, gUnknown_81955C7
+ callstd 2
+ end
+
+CeladonCity_DepartmentStore_2F_EventScript_16BAFE:: @ 816BAFE
+ loadword 0, gUnknown_819560F
+ callstd 2
+ end
+
+CeladonCity_DepartmentStore_2F_EventScript_16BB07:: @ 816BB07
+ loadword 0, gUnknown_8195638
+ callstd 3
+ end
+
+CeladonCity_DepartmentStore_2F_EventScript_16BB10:: @ 816BB10
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16BB38
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16BB38:: @ 816BB38
+ .2byte ITEM_GREAT_BALL
+ .2byte ITEM_SUPER_POTION
+ .2byte ITEM_REVIVE
+ .2byte ITEM_ANTIDOTE
+ .2byte ITEM_PARALYZE_HEAL
+ .2byte ITEM_AWAKENING
+ .2byte ITEM_BURN_HEAL
+ .2byte ITEM_ICE_HEAL
+ .2byte ITEM_SUPER_REPEL
+ .2byte ITEM_NONE
+ release
+ end
+
+CeladonCity_DepartmentStore_2F_EventScript_16BB4E:: @ 816BB4E
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16BB74
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16BB74:: @ 816BB74
+ .2byte ITEM_TM05
+ .2byte ITEM_TM15
+ .2byte ITEM_TM28
+ .2byte ITEM_TM31
+ .2byte ITEM_TM43
+ .2byte ITEM_TM45
+ .2byte ITEM_NONE
+ release
+ end
diff --git a/data/maps/CeladonCity_DepartmentStore_3F/map.json b/data/maps/CeladonCity_DepartmentStore_3F/map.json
new file mode 100644
index 000000000..c6a314cc9
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_3F/map.json
@@ -0,0 +1,185 @@
+{
+ "id": "MAP_CELADON_CITY_DEPARTMENT_STORE_3F",
+ "name": "CeladonCity_DepartmentStore_3F",
+ "layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_3F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 4,
+ "elevator_flag": 3,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "68",
+ "x": 10,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BB85",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "51",
+ "x": 11,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BB8B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "51",
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BB9D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "51",
+ "x": 1,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BB94",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 9,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BBA6",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_2F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 3,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_4F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 1,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BBDC"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 2,
+ "y": 8,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BBB8"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 5,
+ "y": 8,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BBC1"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 2,
+ "y": 11,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BBCA"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 5,
+ "y": 11,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BBD3"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 1,
+ "y": 8,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BBAF"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 1,
+ "y": 11,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BBAF"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 8,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BBAF"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 11,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BBAF"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 2,
+ "y": 4,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BBE5"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 0,
+ "y": 4,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_3F_EventScript_16BBE5"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_DepartmentStore_3F/scripts.inc b/data/maps/CeladonCity_DepartmentStore_3F/scripts.inc
new file mode 100644
index 000000000..b615859f3
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_3F/scripts.inc
@@ -0,0 +1,61 @@
+CeladonCity_DepartmentStore_3F_MapScripts:: @ 816BB84
+ .byte 0
+
+CeladonCity_DepartmentStore_3F_EventScript_16BB85:: @ 816BB85
+ goto EventScript_1C4C26
+ end
+
+CeladonCity_DepartmentStore_3F_EventScript_16BB8B:: @ 816BB8B
+ loadword 0, gUnknown_81956E9
+ callstd 2
+ end
+
+CeladonCity_DepartmentStore_3F_EventScript_16BB94:: @ 816BB94
+ loadword 0, gUnknown_8195769
+ callstd 2
+ end
+
+CeladonCity_DepartmentStore_3F_EventScript_16BB9D:: @ 816BB9D
+ loadword 0, gUnknown_81957B0
+ callstd 2
+ end
+
+CeladonCity_DepartmentStore_3F_EventScript_16BBA6:: @ 816BBA6
+ loadword 0, gUnknown_8195823
+ callstd 2
+ end
+
+CeladonCity_DepartmentStore_3F_EventScript_16BBAF:: @ 816BBAF
+ loadword 0, gUnknown_8195863
+ callstd 3
+ end
+
+CeladonCity_DepartmentStore_3F_EventScript_16BBB8:: @ 816BBB8
+ loadword 0, gUnknown_8195875
+ callstd 3
+ end
+
+CeladonCity_DepartmentStore_3F_EventScript_16BBC1:: @ 816BBC1
+ loadword 0, gUnknown_8195897
+ callstd 3
+ end
+
+CeladonCity_DepartmentStore_3F_EventScript_16BBCA:: @ 816BBCA
+ loadword 0, gUnknown_81958B8
+ callstd 3
+ end
+
+CeladonCity_DepartmentStore_3F_EventScript_16BBD3:: @ 816BBD3
+ loadword 0, gUnknown_81958D8
+ callstd 3
+ end
+
+CeladonCity_DepartmentStore_3F_EventScript_16BBDC:: @ 816BBDC
+ loadword 0, gUnknown_81958F6
+ callstd 3
+ end
+
+CeladonCity_DepartmentStore_3F_EventScript_16BBE5:: @ 816BBE5
+ loadword 0, gUnknown_8195907
+ callstd 3
+ end
diff --git a/data/maps/CeladonCity_DepartmentStore_4F/map.json b/data/maps/CeladonCity_DepartmentStore_4F/map.json
new file mode 100644
index 000000000..8fc5e4f09
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_4F/map.json
@@ -0,0 +1,89 @@
+{
+ "id": "MAP_CELADON_CITY_DEPARTMENT_STORE_4F",
+ "name": "CeladonCity_DepartmentStore_4F",
+ "layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_4F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 4,
+ "elevator_flag": 4,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "25",
+ "x": 6,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_4F_EventScript_16BBEF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 10,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_4F_EventScript_16BBF8",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "68",
+ "x": 3,
+ "y": 13,
+ "elevation": 0,
+ "movement_type": "7",
+ "movement_range_x": 3,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_4F_EventScript_16BC0A",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 3,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_3F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 9,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_5F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_4F_EventScript_16BC01"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_DepartmentStore_4F/scripts.inc b/data/maps/CeladonCity_DepartmentStore_4F/scripts.inc
new file mode 100644
index 000000000..ac1acefa0
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_4F/scripts.inc
@@ -0,0 +1,43 @@
+CeladonCity_DepartmentStore_4F_MapScripts:: @ 816BBEE
+ .byte 0
+
+CeladonCity_DepartmentStore_4F_EventScript_16BBEF:: @ 816BBEF
+ loadword 0, gUnknown_8195A68
+ callstd 2
+ end
+
+CeladonCity_DepartmentStore_4F_EventScript_16BBF8:: @ 816BBF8
+ loadword 0, gUnknown_8195AC9
+ callstd 2
+ end
+
+CeladonCity_DepartmentStore_4F_EventScript_16BC01:: @ 816BC01
+ loadword 0, gUnknown_8195B5B
+ callstd 3
+ end
+
+CeladonCity_DepartmentStore_4F_EventScript_16BC0A:: @ 816BC0A
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16BC30
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16BC30:: @ 816BC30
+ .2byte ITEM_POKE_DOLL
+ .2byte ITEM_RETRO_MAIL
+ .2byte ITEM_FIRE_STONE
+ .2byte ITEM_THUNDER_STONE
+ .2byte ITEM_WATER_STONE
+ .2byte ITEM_LEAF_STONE
+ .2byte ITEM_NONE
+ release
+ end
diff --git a/data/maps/CeladonCity_DepartmentStore_5F/map.json b/data/maps/CeladonCity_DepartmentStore_5F/map.json
new file mode 100644
index 000000000..063d36602
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_5F/map.json
@@ -0,0 +1,102 @@
+{
+ "id": "MAP_CELADON_CITY_DEPARTMENT_STORE_5F",
+ "name": "CeladonCity_DepartmentStore_5F",
+ "layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_5F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 4,
+ "elevator_flag": 5,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "61",
+ "x": 11,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_5F_EventScript_16BC41",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_5F_EventScript_16BC4A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "68",
+ "x": 1,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_5F_EventScript_16BC5C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "68",
+ "x": 1,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_5F_EventScript_16BC96",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_4F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 3,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ROOF",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 1,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_5F_EventScript_16BC53"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_DepartmentStore_5F/scripts.inc b/data/maps/CeladonCity_DepartmentStore_5F/scripts.inc
new file mode 100644
index 000000000..5562858c0
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_5F/scripts.inc
@@ -0,0 +1,70 @@
+CeladonCity_DepartmentStore_5F_MapScripts:: @ 816BC40
+ .byte 0
+
+CeladonCity_DepartmentStore_5F_EventScript_16BC41:: @ 816BC41
+ loadword 0, gUnknown_8195BBA
+ callstd 2
+ end
+
+CeladonCity_DepartmentStore_5F_EventScript_16BC4A:: @ 816BC4A
+ loadword 0, gUnknown_8195CA0
+ callstd 2
+ end
+
+CeladonCity_DepartmentStore_5F_EventScript_16BC53:: @ 816BC53
+ loadword 0, gUnknown_8195D14
+ callstd 3
+ end
+
+CeladonCity_DepartmentStore_5F_EventScript_16BC5C:: @ 816BC5C
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16BC84
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16BC84:: @ 816BC84
+ .2byte ITEM_X_ATTACK
+ .2byte ITEM_X_DEFEND
+ .2byte ITEM_X_SPEED
+ .2byte ITEM_X_SPECIAL
+ .2byte ITEM_X_ACCURACY
+ .2byte ITEM_GUARD_SPEC
+ .2byte ITEM_DIRE_HIT
+ .2byte ITEM_NONE
+ release
+ end
+
+CeladonCity_DepartmentStore_5F_EventScript_16BC96:: @ 816BC96
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16BCBC
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16BCBC:: @ 816BCBC
+ .2byte ITEM_HP_UP
+ .2byte ITEM_PROTEIN
+ .2byte ITEM_IRON
+ .2byte ITEM_CALCIUM
+ .2byte ITEM_ZINC
+ .2byte ITEM_CARBOS
+ .2byte ITEM_NONE
+ release
+ end
diff --git a/data/maps/CeladonCity_DepartmentStore_Elevator/map.json b/data/maps/CeladonCity_DepartmentStore_Elevator/map.json
new file mode 100644
index 000000000..150bd1605
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_Elevator/map.json
@@ -0,0 +1,49 @@
+{
+ "id": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
+ "name": "CeladonCity_DepartmentStore_Elevator",
+ "layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ },
+ {
+ "x": 2,
+ "y": 6,
+ "elevation": 0,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 0,
+ "y": 2,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_Elevator_EventScript_16C153"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_Elevator_EventScript_16C153"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_DepartmentStore_Elevator/scripts.inc b/data/maps/CeladonCity_DepartmentStore_Elevator/scripts.inc
new file mode 100644
index 000000000..ed342274f
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_Elevator/scripts.inc
@@ -0,0 +1,135 @@
+CeladonCity_DepartmentStore_Elevator_MapScripts:: @ 816C152
+ .byte 0
+
+CeladonCity_DepartmentStore_Elevator_EventScript_16C153:: @ 816C153
+ lockall
+ setvar VAR_0x8004, 3
+ checkflag FLAG_0x002
+ call_if 0, EventScript_1A7AB9
+ copyvar VAR_0x8005, VAR_0x403A
+ special sub_80CB580
+ message Text_1A535C
+ waitmessage
+ setvar VAR_0x8004, 3
+ specialvar VAR_RESULT, sub_80CB328
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16C1B7
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16C1C3
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16C1CF
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16C1DB
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_16C1E7
+ end
+
+EventScript_16C1B7:: @ 816C1B7
+ multichoicedefault 0, 0, 31, 0, 0
+ goto EventScript_16C1F3
+
+EventScript_16C1C2:: @ 816C1C2
+ end
+
+EventScript_16C1C3:: @ 816C1C3
+ multichoicedefault 0, 0, 31, 1, 0
+ goto EventScript_16C1F3
+ end
+
+EventScript_16C1CF:: @ 816C1CF
+ multichoicedefault 0, 0, 31, 2, 0
+ goto EventScript_16C1F3
+ end
+
+EventScript_16C1DB:: @ 816C1DB
+ multichoicedefault 0, 0, 31, 3, 0
+ goto EventScript_16C1F3
+ end
+
+EventScript_16C1E7:: @ 816C1E7
+ multichoicedefault 0, 0, 31, 4, 0
+ goto EventScript_16C1F3
+ end
+
+EventScript_16C1F3:: @ 816C1F3
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16C2E6
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16C2BE
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16C296
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16C26E
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_16C246
+ compare_var_to_value VAR_0x8000, 5
+ goto_if 1, EventScript_16C30E
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16C30E
+ end
+
+EventScript_16C246:: @ 816C246
+ setvar VAR_0x8006, 4
+ setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_1F, 255, 6, 1
+ compare_var_to_value VAR_0x403A, 4
+ goto_if 1, EventScript_16C30E
+ call EventScript_16C313
+ setvar VAR_0x403A, 4
+ goto EventScript_16C30E
+ end
+
+EventScript_16C26E:: @ 816C26E
+ setvar VAR_0x8006, 5
+ setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_2F, 255, 6, 1
+ compare_var_to_value VAR_0x403A, 5
+ goto_if 1, EventScript_16C30E
+ call EventScript_16C313
+ setvar VAR_0x403A, 5
+ goto EventScript_16C30E
+ end
+
+EventScript_16C296:: @ 816C296
+ setvar VAR_0x8006, 6
+ setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_3F, 255, 6, 1
+ compare_var_to_value VAR_0x403A, 6
+ goto_if 1, EventScript_16C30E
+ call EventScript_16C313
+ setvar VAR_0x403A, 6
+ goto EventScript_16C30E
+ end
+
+EventScript_16C2BE:: @ 816C2BE
+ setvar VAR_0x8006, 7
+ setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_4F, 255, 6, 1
+ compare_var_to_value VAR_0x403A, 7
+ goto_if 1, EventScript_16C30E
+ call EventScript_16C313
+ setvar VAR_0x403A, 7
+ goto EventScript_16C30E
+ end
+
+EventScript_16C2E6:: @ 816C2E6
+ setvar VAR_0x8006, 8
+ setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_5F, 255, 6, 1
+ compare_var_to_value VAR_0x403A, 8
+ goto_if 1, EventScript_16C30E
+ call EventScript_16C313
+ setvar VAR_0x403A, 8
+ goto EventScript_16C30E
+ end
+
+EventScript_16C30E:: @ 816C30E
+ special sub_80CB63C
+ releaseall
+ end
+
+EventScript_16C313:: @ 816C313
+ special sub_80CB63C
+ closemessage
+ waitse
+ special sub_80CB498
+ waitstate
+ setflag FLAG_0x002
+ return
diff --git a/data/maps/CeladonCity_DepartmentStore_Roof/map.json b/data/maps/CeladonCity_DepartmentStore_Roof/map.json
new file mode 100644
index 000000000..461da4fcc
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_Roof/map.json
@@ -0,0 +1,83 @@
+{
+ "id": "MAP_CELADON_CITY_DEPARTMENT_STORE_ROOF",
+ "name": "CeladonCity_DepartmentStore_Roof",
+ "layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_ROOF",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 4,
+ "elevator_flag": 127,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "41",
+ "x": 9,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_Roof_EventScript_16C022",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_DepartmentStore_Roof_EventScript_16BCCD",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_5F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 14,
+ "y": 3,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_Roof_EventScript_16C02B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 10,
+ "y": 3,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_Roof_EventScript_16C034"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 3,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_Roof_EventScript_16C034"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 3,
+ "elevation": 0,
+ "script": "CeladonCity_DepartmentStore_Roof_EventScript_16C034"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_DepartmentStore_Roof/scripts.inc b/data/maps/CeladonCity_DepartmentStore_Roof/scripts.inc
new file mode 100644
index 000000000..165942ca3
--- /dev/null
+++ b/data/maps/CeladonCity_DepartmentStore_Roof/scripts.inc
@@ -0,0 +1,358 @@
+CeladonCity_DepartmentStore_Roof_MapScripts:: @ 816BCCC
+ .byte 0
+
+CeladonCity_DepartmentStore_Roof_EventScript_16BCCD:: @ 816BCCD
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ faceplayer
+ call EventScript_16BCF6
+ compare_var_to_value VAR_0x4001, 0
+ goto_if 1, EventScript_16C00E
+ goto EventScript_16BD3E
+ end
+
+EventScript_16BCF6:: @ 816BCF6
+ setvar VAR_0x4001, 0
+ checkitem ITEM_FRESH_WATER, 1
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_16BD2C
+ checkitem ITEM_SODA_POP, 1
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_16BD32
+ checkitem ITEM_LEMONADE, 1
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_16BD38
+ return
+
+EventScript_16BD2C:: @ 816BD2C
+ addvar VAR_0x4001, 1
+ return
+
+EventScript_16BD32:: @ 816BD32
+ addvar VAR_0x4001, 2
+ return
+
+EventScript_16BD38:: @ 816BD38
+ addvar VAR_0x4001, 4
+ return
+
+EventScript_16BD3E:: @ 816BD3E
+ loadword 0, gUnknown_8195D22
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16C00C
+ textcolor 3
+ message Text_195D5F
+ waitmessage
+ textcolor 1
+ copyvar VAR_0x8000, VAR_0x4001
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16BDAE
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16BDDA
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16BE06
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_16BE3D
+ compare_var_to_value VAR_0x8000, 5
+ goto_if 1, EventScript_16BE69
+ compare_var_to_value VAR_0x8000, 6
+ goto_if 1, EventScript_16BEA0
+ compare_var_to_value VAR_0x8000, 7
+ goto_if 1, EventScript_16BED7
+ end
+
+EventScript_16BDAE:: @ 816BDAE
+ multichoice 0, 0, 32, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16BF19
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16C00C
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16C00C
+ end
+
+EventScript_16BDDA:: @ 816BDDA
+ multichoice 0, 0, 33, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16BF3A
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16C00C
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16C00C
+ end
+
+EventScript_16BE06:: @ 816BE06
+ multichoice 0, 0, 34, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16BF19
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16BF3A
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16C00C
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16C00C
+ end
+
+EventScript_16BE3D:: @ 816BE3D
+ multichoice 0, 0, 35, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16BF5B
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16C00C
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16C00C
+ end
+
+EventScript_16BE69:: @ 816BE69
+ multichoice 0, 0, 36, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16BF19
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16BF5B
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16C00C
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16C00C
+ end
+
+EventScript_16BEA0:: @ 816BEA0
+ multichoice 0, 0, 37, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16BF3A
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16BF5B
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16C00C
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16C00C
+ end
+
+EventScript_16BED7:: @ 816BED7
+ multichoice 0, 0, 38, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16BF19
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16BF3A
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16BF5B
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16C00C
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16C00C
+ end
+
+EventScript_16BF19:: @ 816BF19
+ setvar VAR_0x8008, 26
+ setvar VAR_0x8009, 304
+ checkflag FLAG_0x296
+ goto_if 1, EventScript_16C018
+ loadword 0, gUnknown_8195D75
+ callstd 4
+ goto EventScript_16BF7C
+ end
+
+EventScript_16BF3A:: @ 816BF3A
+ setvar VAR_0x8008, 27
+ setvar VAR_0x8009, 308
+ checkflag FLAG_0x295
+ goto_if 1, EventScript_16C018
+ loadword 0, gUnknown_8195E33
+ callstd 4
+ goto EventScript_16BF7C
+ end
+
+EventScript_16BF5B:: @ 816BF5B
+ setvar VAR_0x8008, 28
+ setvar VAR_0x8009, 321
+ checkflag FLAG_0x294
+ goto_if 1, EventScript_16C018
+ loadword 0, gUnknown_8195EBF
+ callstd 4
+ goto EventScript_16BF7C
+ end
+
+EventScript_16BF7C:: @ 816BF7C
+ getitemname 0, 32776
+ getitemname 1, 32777
+ removeitem 32776, 1
+ checkitemspace 32777, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16C002
+ additem 32777, 1
+ textcolor 3
+ playfanfare MUS_FANFA1
+ message Text_195DAD
+ waitmessage
+ waitfanfare
+ setorcopyvar VAR_0x8000, VAR_0x8009
+ setorcopyvar VAR_0x8001, 1
+ callstd 8
+ call EventScript_1A6675
+ compare_var_to_value VAR_0x8008, 26
+ call_if 1, EventScript_16BFDE
+ compare_var_to_value VAR_0x8008, 27
+ call_if 1, EventScript_16BFEA
+ compare_var_to_value VAR_0x8008, 28
+ call_if 1, EventScript_16BFF6
+ release
+ end
+
+EventScript_16BFDE:: @ 816BFDE
+ setflag FLAG_0x296
+ loadword 0, gUnknown_8195DD4
+ callstd 4
+ return
+
+EventScript_16BFEA:: @ 816BFEA
+ setflag FLAG_0x295
+ loadword 0, gUnknown_8195E68
+ callstd 4
+ return
+
+EventScript_16BFF6:: @ 816BFF6
+ setflag FLAG_0x294
+ loadword 0, gUnknown_8195EF4
+ callstd 4
+ return
+
+EventScript_16C002:: @ 816C002
+ loadword 0, gUnknown_8195F4F
+ callstd 4
+ release
+ end
+
+EventScript_16C00C:: @ 816C00C
+ release
+ end
+
+EventScript_16C00E:: @ 816C00E
+ loadword 0, gUnknown_8195FEF
+ callstd 4
+ release
+ end
+
+EventScript_16C018:: @ 816C018
+ loadword 0, gUnknown_8195F6E
+ callstd 4
+ release
+ end
+
+CeladonCity_DepartmentStore_Roof_EventScript_16C022:: @ 816C022
+ loadword 0, gUnknown_8195F98
+ callstd 2
+ end
+
+CeladonCity_DepartmentStore_Roof_EventScript_16C02B:: @ 816C02B
+ loadword 0, gUnknown_8196017
+ callstd 3
+ end
+
+CeladonCity_DepartmentStore_Roof_EventScript_16C034:: @ 816C034
+ lockall
+ message Text_196038
+ waitmessage
+ showmoneybox 0, 0, 0
+ goto EventScript_16C045
+ end
+
+EventScript_16C045:: @ 816C045
+ multichoice 12, 0, 26, 0
+ copyvar VAR_0x4001, VAR_RESULT
+ copyvar VAR_0x8000, VAR_0x4001
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16C083
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16C094
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16C0A5
+ loadword 0, gUnknown_81960AE
+ callstd 4
+ goto EventScript_16C14D
+ end
+
+EventScript_16C083:: @ 816C083
+ setvar VAR_0x4000, 26
+ checkmoney 200, 0
+ goto EventScript_16C0CB
+ end
+
+EventScript_16C094:: @ 816C094
+ setvar VAR_0x4000, 27
+ checkmoney 300, 0
+ goto EventScript_16C0CB
+ end
+
+EventScript_16C0A5:: @ 816C0A5
+ setvar VAR_0x4000, 28
+ checkmoney 350, 0
+ goto EventScript_16C0CB
+ end
+
+EventScript_16C0B6:: @ 816C0B6
+ takemoney 200, 0
+ return
+
+EventScript_16C0BD:: @ 816C0BD
+ takemoney 300, 0
+ return
+
+EventScript_16C0C4:: @ 816C0C4
+ takemoney 350, 0
+ return
+
+EventScript_16C0CB:: @ 816C0CB
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16C131
+ checkitemspace 16384, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16C13F
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16C0B6
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16C0BD
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_16C0C4
+ updatemoneybox 0, 0, 0
+ getitemname 0, 16384
+ playse SE_C_PASI
+ loadword 0, gUnknown_8196076
+ callstd 4
+ additem 16384, 1
+ goto EventScript_16C125
+ end
+
+EventScript_16C125:: @ 816C125
+ message Text_196038
+ waitmessage
+ goto EventScript_16C045
+ end
+
+EventScript_16C131:: @ 816C131
+ loadword 0, gUnknown_819605E
+ callstd 4
+ goto EventScript_16C14D
+ end
+
+EventScript_16C13F:: @ 816C13F
+ loadword 0, gUnknown_819608E
+ callstd 4
+ goto EventScript_16C14D
+ end
+
+EventScript_16C14D:: @ 816C14D
+ hidemoneybox
+ .byte 0
+ .byte 0
+ releaseall
+ end
diff --git a/data/maps/CeladonCity_GameCorner/map.json b/data/maps/CeladonCity_GameCorner/map.json
new file mode 100644
index 000000000..fa2b1186a
--- /dev/null
+++ b/data/maps/CeladonCity_GameCorner/map.json
@@ -0,0 +1,469 @@
+{
+ "id": "MAP_CELADON_CITY_GAME_CORNER",
+ "name": "CeladonCity_GameCorner",
+ "layout": "LAYOUT_CELADON_CITY_GAME_CORNER",
+ "music": "BGM_FRLG_GAMECORNER",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": "48",
+ "x": 4,
+ "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": "CeladonCity_GameCorner_EventScript_16C684",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 6,
+ "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": "CeladonCity_GameCorner_EventScript_16C68D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 1,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C7BA",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 1,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C7D7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "57",
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C7E7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "91",
+ "x": 7,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C857",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "23",
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C87E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "33",
+ "x": 10,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C88E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 13,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C89E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 16,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C8FE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "49",
+ "x": 11,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CAF5",
+ "flag": "91"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 9,
+ "y": 13,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 10,
+ "y": 13,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 13,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 15,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_ROCKET_HIDEOUT_B1F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 2,
+ "y": 4,
+ "elevation": 3,
+ "item": "ITEM_NONE",
+ "flag": "51",
+ "unknown": 10
+ },
+ {
+ "type": "hidden_item",
+ "x": 3,
+ "y": 8,
+ "elevation": 3,
+ "item": "ITEM_NONE",
+ "flag": "52",
+ "unknown": 10
+ },
+ {
+ "type": "hidden_item",
+ "x": 2,
+ "y": 11,
+ "elevation": 3,
+ "item": "ITEM_NONE",
+ "flag": "53",
+ "unknown": 20
+ },
+ {
+ "type": "hidden_item",
+ "x": 6,
+ "y": 12,
+ "elevation": 3,
+ "item": "ITEM_NONE",
+ "flag": "54",
+ "unknown": 10
+ },
+ {
+ "type": "hidden_item",
+ "x": 9,
+ "y": 9,
+ "elevation": 3,
+ "item": "ITEM_NONE",
+ "flag": "55",
+ "unknown": 10
+ },
+ {
+ "type": "hidden_item",
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_NONE",
+ "flag": "56",
+ "unknown": 20
+ },
+ {
+ "type": "hidden_item",
+ "x": 10,
+ "y": 4,
+ "elevation": 3,
+ "item": "ITEM_NONE",
+ "flag": "57",
+ "unknown": 10
+ },
+ {
+ "type": "hidden_item",
+ "x": 13,
+ "y": 3,
+ "elevation": 3,
+ "item": "ITEM_NONE",
+ "flag": "58",
+ "unknown": 10
+ },
+ {
+ "type": "hidden_item",
+ "x": 15,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_NONE",
+ "flag": "59",
+ "unknown": 10
+ },
+ {
+ "type": "hidden_item",
+ "x": 17,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_NONE",
+ "flag": "60",
+ "unknown": 40
+ },
+ {
+ "type": "hidden_item",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "item": "ITEM_NONE",
+ "flag": "61",
+ "unknown": 100
+ },
+ {
+ "type": "hidden_item",
+ "x": 12,
+ "y": 12,
+ "elevation": 3,
+ "item": "ITEM_NONE",
+ "flag": "62",
+ "unknown": 10
+ },
+ {
+ "type": "bg_event_type_4",
+ "x": 0,
+ "y": 7,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C95E"
+ },
+ {
+ "type": "bg_event_type_4",
+ "x": 0,
+ "y": 9,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C9A4"
+ },
+ {
+ "type": "bg_event_type_4",
+ "x": 0,
+ "y": 10,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C9B0"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 5,
+ "y": 6,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C9BC"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 5,
+ "y": 8,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CB5A"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 5,
+ "y": 9,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C9D4"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 5,
+ "y": 10,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C9E0"
+ },
+ {
+ "type": "bg_event_type_4",
+ "x": 6,
+ "y": 6,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C9EC"
+ },
+ {
+ "type": "bg_event_type_4",
+ "x": 6,
+ "y": 7,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16C9F8"
+ },
+ {
+ "type": "bg_event_type_4",
+ "x": 6,
+ "y": 9,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CA04"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 11,
+ "y": 6,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CA10"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 11,
+ "y": 7,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CA1C"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 11,
+ "y": 8,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CA28"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 11,
+ "y": 10,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CA34"
+ },
+ {
+ "type": "bg_event_type_4",
+ "x": 12,
+ "y": 6,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CA40"
+ },
+ {
+ "type": "bg_event_type_4",
+ "x": 12,
+ "y": 8,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CB63"
+ },
+ {
+ "type": "bg_event_type_4",
+ "x": 12,
+ "y": 9,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CA58"
+ },
+ {
+ "type": "bg_event_type_4",
+ "x": 12,
+ "y": 10,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CA64"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 17,
+ "y": 6,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CB6C"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 17,
+ "y": 7,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CA7C"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 17,
+ "y": 8,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CA88"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 17,
+ "y": 9,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CA94"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 1,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_16CAAA"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 17,
+ "y": 13,
+ "elevation": 0,
+ "script": "CeladonCity_GameCorner_EventScript_1B2867"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_GameCorner/scripts.inc b/data/maps/CeladonCity_GameCorner/scripts.inc
new file mode 100644
index 000000000..d32aa8afd
--- /dev/null
+++ b/data/maps/CeladonCity_GameCorner/scripts.inc
@@ -0,0 +1,524 @@
+CeladonCity_GameCorner_MapScripts:: @ 816C646
+ map_script 1, CeladonCity_GameCorner_MapScript1_16C64C
+ .byte 0
+
+CeladonCity_GameCorner_MapScript1_16C64C:: @ 816C64C
+ checkflag FLAG_0x26D
+ call_if 0, EventScript_16C656
+ end
+
+EventScript_16C656:: @ 816C656
+ setmetatile 15, 2, 658, 0
+ setmetatile 16, 2, 658, 0
+ setmetatile 17, 2, 658, 0
+ setmetatile 16, 3, 719, 1
+ setmetatile 17, 3, 719, 1
+ return
+
+CeladonCity_GameCorner_EventScript_16C684:: @ 816C684
+ loadword 0, gUnknown_8196940
+ callstd 2
+ end
+
+CeladonCity_GameCorner_EventScript_16C68D:: @ 816C68D
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ showmoneybox 0, 0, 0
+ showcoinsbox 0, 5
+ message Text_196984
+ waitmessage
+ multichoice 13, 0, 27, 0
+ copyvar VAR_0x8009, VAR_RESULT
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16C6E6
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16C6E6
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16C782
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16C782
+ end
+
+EventScript_16C6E6:: @ 816C6E6
+ checkflag FLAG_0x243
+ goto_if 0, EventScript_16C790
+ compare_var_to_value VAR_0x8009, 0
+ goto_if 1, EventScript_16C734
+ compare_var_to_value VAR_0x8009, 1
+ goto_if 1, EventScript_16C706
+ end
+
+EventScript_16C706:: @ 816C706
+ checkcoins VAR_0x4001
+ compare_var_to_value VAR_0x4001, 9500
+ goto_if 4, EventScript_16C79E
+ checkmoney 10000, 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16C7AC
+ givecoins 500
+ takemoney 10000, 0
+ goto EventScript_16C762
+ end
+
+EventScript_16C734:: @ 816C734
+ checkcoins VAR_0x4001
+ compare_var_to_value VAR_0x4001, 9950
+ goto_if 4, EventScript_16C79E
+ checkmoney 1000, 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16C7AC
+ givecoins 50
+ takemoney 1000, 0
+ goto EventScript_16C762
+ end
+
+EventScript_16C762:: @ 816C762
+ updatemoneybox 0, 0, 0
+ updatecoinsbox 0, 5
+ playse 248
+ loadword 0, gUnknown_8196A62
+ callstd 4
+ goto EventScript_16C77A
+ end
+
+EventScript_16C77A:: @ 816C77A
+ hidemoneybox
+ .byte 0
+ .byte 0
+ hidecoinsbox 0, 5
+ release
+ end
+
+EventScript_16C782:: @ 816C782
+ loadword 0, gUnknown_81969DC
+ callstd 4
+ goto EventScript_16C77A
+ end
+
+EventScript_16C790:: @ 816C790
+ loadword 0, gUnknown_81969FB
+ callstd 4
+ goto EventScript_16C77A
+ end
+
+EventScript_16C79E:: @ 816C79E
+ loadword 0, gUnknown_8196A26
+ callstd 4
+ goto EventScript_16C77A
+ end
+
+EventScript_16C7AC:: @ 816C7AC
+ loadword 0, gUnknown_8196A46
+ callstd 4
+ goto EventScript_16C77A
+ end
+
+CeladonCity_GameCorner_EventScript_16C7BA:: @ 816C7BA
+ lock
+ faceplayer
+ loadword 0, gUnknown_8196A82
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+EventScript_16C7CA:: @ 816C7CA
+ closemessage
+ applymovement VAR_LAST_TALKED, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+CeladonCity_GameCorner_EventScript_16C7D7:: @ 816C7D7
+ lock
+ faceplayer
+ loadword 0, gUnknown_8196AC7
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+CeladonCity_GameCorner_EventScript_16C7E7:: @ 816C7E7
+ lock
+ faceplayer
+ checkflag FLAG_0x26E
+ goto_if 1, EventScript_16C849
+ loadword 0, gUnknown_8196AF3
+ callstd 4
+ checkflag FLAG_0x243
+ goto_if 0, EventScript_16C839
+ checkcoins VAR_0x4001
+ compare_var_to_value VAR_0x4001, 9990
+ goto_if 4, EventScript_16C82B
+ givecoins 10
+ textcolor 3
+ loadword 0, gUnknown_8196B0D
+ callstd 4
+ playse 248
+ waitse
+ setflag FLAG_0x26E
+ goto EventScript_16C7CA
+ end
+
+EventScript_16C82B:: @ 816C82B
+ loadword 0, gUnknown_8196B30
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+EventScript_16C839:: @ 816C839
+ textcolor 3
+ loadword 0, gUnknown_8196F26
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+EventScript_16C849:: @ 816C849
+ loadword 0, gUnknown_8196B49
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+CeladonCity_GameCorner_EventScript_16C857:: @ 816C857
+ lock
+ faceplayer
+ checkflag FLAG_0x4B3
+ goto_if 1, EventScript_16C870
+ loadword 0, gUnknown_8196BAD
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+EventScript_16C870:: @ 816C870
+ loadword 0, gUnknown_8196CA1
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+CeladonCity_GameCorner_EventScript_16C87E:: @ 816C87E
+ lock
+ faceplayer
+ loadword 0, gUnknown_8196B7B
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+CeladonCity_GameCorner_EventScript_16C88E:: @ 816C88E
+ lock
+ faceplayer
+ loadword 0, gUnknown_8196CFE
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+CeladonCity_GameCorner_EventScript_16C89E:: @ 816C89E
+ lock
+ faceplayer
+ checkflag FLAG_0x26F
+ goto_if 1, EventScript_16C8F0
+ loadword 0, gUnknown_8196D2B
+ callstd 4
+ checkflag FLAG_0x243
+ goto_if 0, EventScript_16C839
+ checkcoins VAR_0x4001
+ compare_var_to_value VAR_0x4001, 9980
+ goto_if 4, EventScript_16C8E2
+ givecoins 20
+ textcolor 3
+ loadword 0, gUnknown_8196D47
+ callstd 4
+ playse 248
+ waitse
+ setflag FLAG_0x26F
+ goto EventScript_16C7CA
+ end
+
+EventScript_16C8E2:: @ 816C8E2
+ loadword 0, gUnknown_8196D6F
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+EventScript_16C8F0:: @ 816C8F0
+ loadword 0, gUnknown_8196D87
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+CeladonCity_GameCorner_EventScript_16C8FE:: @ 816C8FE
+ lock
+ faceplayer
+ checkflag FLAG_0x270
+ goto_if 1, EventScript_16C950
+ loadword 0, gUnknown_8196DB7
+ callstd 4
+ checkflag FLAG_0x243
+ goto_if 0, EventScript_16C839
+ checkcoins VAR_0x4001
+ compare_var_to_value VAR_0x4001, 9980
+ goto_if 4, EventScript_16C942
+ givecoins 20
+ textcolor 3
+ loadword 0, gUnknown_8196DF8
+ callstd 4
+ playse 248
+ waitse
+ setflag FLAG_0x270
+ goto EventScript_16C7CA
+ end
+
+EventScript_16C942:: @ 816C942
+ loadword 0, gUnknown_8196E1B
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+EventScript_16C950:: @ 816C950
+ loadword 0, gUnknown_8196E40
+ callstd 4
+ goto EventScript_16C7CA
+ end
+
+CeladonCity_GameCorner_EventScript_16C95E:: @ 816C95E
+ lockall
+ setvar VAR_0x8004, 0
+ goto EventScript_16C96C
+ end
+
+EventScript_16C96A:: @ 816C96A
+ releaseall
+ end
+
+EventScript_16C96C:: @ 816C96C
+ checkflag FLAG_0x243
+ goto_if 0, EventScript_16CAA0
+ loadword 0, gUnknown_8196F46
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16C96A
+ setfieldeffectarg 0, 255
+ setfieldeffectarg 1, 10
+ setfieldeffectarg 2, 14
+ dofieldeffect 64
+ waitfieldeffect 64
+ specialvar VAR_RESULT, sub_80CAABC
+ playslotmachine VAR_RESULT
+ releaseall
+ end
+
+CeladonCity_GameCorner_EventScript_16C9A4:: @ 816C9A4
+ lockall
+ setvar VAR_0x8004, 1
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16C9B0:: @ 816C9B0
+ lockall
+ setvar VAR_0x8004, 2
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16C9BC:: @ 816C9BC
+ lockall
+ setvar VAR_0x8004, 3
+ goto EventScript_16C96C
+ end
+
+EventScript_16C9C8:: @ 816C9C8
+ lockall
+ setvar VAR_0x8004, 4
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16C9D4:: @ 816C9D4
+ lockall
+ setvar VAR_0x8004, 5
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16C9E0:: @ 816C9E0
+ lockall
+ setvar VAR_0x8004, 6
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16C9EC:: @ 816C9EC
+ lockall
+ setvar VAR_0x8004, 7
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16C9F8:: @ 816C9F8
+ lockall
+ setvar VAR_0x8004, 8
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16CA04:: @ 816CA04
+ lockall
+ setvar VAR_0x8004, 9
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16CA10:: @ 816CA10
+ lockall
+ setvar VAR_0x8004, 10
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16CA1C:: @ 816CA1C
+ lockall
+ setvar VAR_0x8004, 11
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16CA28:: @ 816CA28
+ lockall
+ setvar VAR_0x8004, 12
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16CA34:: @ 816CA34
+ lockall
+ setvar VAR_0x8004, 13
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16CA40:: @ 816CA40
+ lockall
+ setvar VAR_0x8004, 14
+ goto EventScript_16C96C
+ end
+
+EventScript_16CA4C:: @ 816CA4C
+ lockall
+ setvar VAR_0x8004, 15
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16CA58:: @ 816CA58
+ lockall
+ setvar VAR_0x8004, 16
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16CA64:: @ 816CA64
+ lockall
+ setvar VAR_0x8004, 17
+ goto EventScript_16C96C
+ end
+
+EventScript_16CA70:: @ 816CA70
+ lockall
+ setvar VAR_0x8004, 18
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16CA7C:: @ 816CA7C
+ lockall
+ setvar VAR_0x8004, 19
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16CA88:: @ 816CA88
+ lockall
+ setvar VAR_0x8004, 20
+ goto EventScript_16C96C
+ end
+
+CeladonCity_GameCorner_EventScript_16CA94:: @ 816CA94
+ lockall
+ setvar VAR_0x8004, 21
+ goto EventScript_16C96C
+ end
+
+EventScript_16CAA0:: @ 816CAA0
+ loadword 0, gUnknown_8196F0D
+ callstd 4
+ releaseall
+ end
+
+CeladonCity_GameCorner_EventScript_16CAAA:: @ 816CAAA
+ lockall
+ loadword 0, gUnknown_8196EDC
+ callstd 4
+ checkflag FLAG_0x26D
+ call_if 0, EventScript_16CABE
+ releaseall
+ end
+
+EventScript_16CABE:: @ 816CABE
+ playse SE_FU_ZAKU2
+ setmetatile 15, 2, 669, 0
+ setmetatile 16, 2, 670, 1
+ setmetatile 17, 2, 671, 1
+ setmetatile 16, 3, 678, 1
+ setmetatile 17, 3, 679, 1
+ special DrawWholeMapView
+ setflag FLAG_0x26D
+ return
+
+CeladonCity_GameCorner_EventScript_16CAF5:: @ 816CAF5
+ trainerbattle 2, 357, 0, Text_196E69, Text_196E95, EventScript_16CB10
+ loadword 0, gUnknown_8196E9B
+ callstd 6
+ end
+
+EventScript_16CB10:: @ 816CB10
+ loadword 0, gUnknown_8196E9B
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_16CB34
+ compare_var_to_value VAR_FACING, 3
+ call_if 5, EventScript_16CB3F
+ removeobject 11
+ release
+ end
+
+EventScript_16CB34:: @ 816CB34
+ applymovement 11, Movement_16CB4A
+ waitmovement 0
+ return
+
+EventScript_16CB3F:: @ 816CB3F
+ applymovement 11, Movement_16CB53
+ waitmovement 0
+ return
+
+Movement_16CB4A:: @ 816CB4A
+ step_10
+ step_13
+ step_13
+ step_11
+ step_13
+ step_13
+ step_13
+ step_13
+ step_end
+
+Movement_16CB53:: @ 816CB53
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_end
+
+CeladonCity_GameCorner_EventScript_16CB5A:: @ 816CB5A
+ loadword 0, gUnknown_8196F64
+ callstd 3
+ end
+
+CeladonCity_GameCorner_EventScript_16CB63:: @ 816CB63
+ loadword 0, gUnknown_8196F81
+ callstd 3
+ end
+
+CeladonCity_GameCorner_EventScript_16CB6C:: @ 816CB6C
+ loadword 0, gUnknown_8196FA0
+ callstd 3
+ end
diff --git a/data/maps/CeladonCity_GameCorner_PrizeRoom/map.json b/data/maps/CeladonCity_GameCorner_PrizeRoom/map.json
new file mode 100644
index 000000000..b9247574a
--- /dev/null
+++ b/data/maps/CeladonCity_GameCorner_PrizeRoom/map.json
@@ -0,0 +1,107 @@
+{
+ "id": "MAP_CELADON_CITY_GAME_CORNER_PRIZE_ROOM",
+ "name": "CeladonCity_GameCorner_PrizeRoom",
+ "layout": "LAYOUT_CELADON_CITY_GAME_CORNER_PRIZE_ROOM",
+ "music": "BGM_FRLG_CELADON_CITY",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": "30",
+ "x": 2,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_GameCorner_PrizeRoom_EventScript_16CB76",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "33",
+ "x": 6,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_GameCorner_PrizeRoom_EventScript_16CB7F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 4,
+ "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": "CeladonCity_GameCorner_PrizeRoom_EventScript_16CB88",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 6,
+ "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": "CeladonCity_GameCorner_PrizeRoom_EventScript_16CE1D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 2,
+ "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": "CeladonCity_GameCorner_PrizeRoom_EventScript_16CF88",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_GameCorner_PrizeRoom/scripts.inc b/data/maps/CeladonCity_GameCorner_PrizeRoom/scripts.inc
new file mode 100644
index 000000000..8b71e03c2
--- /dev/null
+++ b/data/maps/CeladonCity_GameCorner_PrizeRoom/scripts.inc
@@ -0,0 +1,387 @@
+CeladonCity_GameCorner_PrizeRoom_MapScripts:: @ 816CB75
+ .byte 0
+
+CeladonCity_GameCorner_PrizeRoom_EventScript_16CB76:: @ 816CB76
+ loadword 0, gUnknown_8196FC1
+ callstd 2
+ end
+
+CeladonCity_GameCorner_PrizeRoom_EventScript_16CB7F:: @ 816CB7F
+ loadword 0, gUnknown_8196FFF
+ callstd 2
+ end
+
+CeladonCity_GameCorner_PrizeRoom_EventScript_16CB88:: @ 816CB88
+ lock
+ faceplayer
+ checkflag FLAG_0x243
+ goto_if 0, EventScript_16CD99
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ showcoinsbox 0, 0
+ loadword 0, gUnknown_8197057
+ callstd 4
+ goto EventScript_16CBB2
+ end
+
+EventScript_16CBB2:: @ 816CBB2
+ message Text_19707A
+ waitmessage
+ multichoice 11, 0, 14, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16CC15
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16CC25
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16CC35
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16CC45
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_16CC55
+ compare_var_to_value VAR_0x8000, 5
+ goto_if 1, EventScript_16CC10
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16CC10
+ end
+
+EventScript_16CC10:: @ 816CC10
+ hidecoinsbox 0, 0
+ release
+ end
+
+EventScript_16CC15:: @ 816CC15
+ setvar VAR_0x4001, 63
+ setvar VAR_0x4002, 180
+ goto EventScript_16CC65
+ end
+
+EventScript_16CC25:: @ 816CC25
+ setvar VAR_0x4001, 35
+ setvar VAR_0x4002, 500
+ goto EventScript_16CC65
+ end
+
+EventScript_16CC35:: @ 816CC35
+ setvar VAR_0x4001, 147
+ setvar VAR_0x4002, 2800
+ goto EventScript_16CC65
+ end
+
+EventScript_16CC45:: @ 816CC45
+ setvar VAR_0x4001, 123
+ setvar VAR_0x4002, 5500
+ goto EventScript_16CC65
+ end
+
+EventScript_16CC55:: @ 816CC55
+ setvar VAR_0x4001, 137
+ setvar VAR_0x4002, 9999
+ goto EventScript_16CC65
+ end
+
+EventScript_16CC65:: @ 816CC65
+ getspeciesname 0, 16385
+ loadword 0, gUnknown_819709D
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16CC10
+ checkcoins VAR_RESULT
+ compare_var_to_var VAR_RESULT, VAR_0x4002
+ goto_if 0, EventScript_16CDA5
+ textcolor 3
+ copyvar VAR_0x8000, VAR_0x4001
+ compare_var_to_value VAR_0x8000, 63
+ goto_if 1, EventScript_16CCD4
+ compare_var_to_value VAR_0x8000, 35
+ goto_if 1, EventScript_16CCE9
+ compare_var_to_value VAR_0x8000, 147
+ goto_if 1, EventScript_16CCFE
+ compare_var_to_value VAR_0x8000, 123
+ goto_if 1, EventScript_16CD13
+ compare_var_to_value VAR_0x8000, 137
+ goto_if 1, EventScript_16CD28
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16CD3D
+ end
+
+EventScript_16CCD4:: @ 816CCD4
+ givemon 16385, 9, ITEM_NONE, 0, 0, 0
+ goto EventScript_16CD52
+ end
+
+EventScript_16CCE9:: @ 816CCE9
+ givemon 16385, 8, ITEM_NONE, 0, 0, 0
+ goto EventScript_16CD52
+ end
+
+EventScript_16CCFE:: @ 816CCFE
+ givemon 16385, 18, ITEM_NONE, 0, 0, 0
+ goto EventScript_16CD52
+ end
+
+EventScript_16CD13:: @ 816CD13
+ givemon 16385, 25, ITEM_NONE, 0, 0, 0
+ goto EventScript_16CD52
+ end
+
+EventScript_16CD28:: @ 816CD28
+ givemon 16385, 26, ITEM_NONE, 0, 0, 0
+ goto EventScript_16CD52
+ end
+
+EventScript_16CD3D:: @ 816CD3D
+ givemon 16385, 18, ITEM_NONE, 0, 0, 0
+ goto EventScript_16CD52
+ end
+
+EventScript_16CD52:: @ 816CD52
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16CDB3
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16CDE0
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_16CD74
+ end
+
+EventScript_16CD74:: @ 816CD74
+ textcolor 3
+ loadword 0, gUnknown_81A5E31
+ callstd 4
+ hidecoinsbox 0, 0
+ release
+ end
+
+EventScript_16CD83:: @ 816CD83
+ countpokemon
+ subvar VAR_RESULT, 1
+ copyvar VAR_0x8004, VAR_RESULT
+ call EventScript_1A74EB
+ goto EventScript_16CC10
+ end
+
+EventScript_16CD99:: @ 816CD99
+ textcolor 3
+ loadword 0, gUnknown_819703E
+ callstd 4
+ release
+ end
+
+EventScript_16CDA5:: @ 816CDA5
+ loadword 0, gUnknown_81970D5
+ callstd 4
+ goto EventScript_16CC10
+ end
+
+EventScript_16CDB3:: @ 816CDB3
+ takecoins VAR_0x4002
+ updatecoinsbox 0, 5
+ getspeciesname 0, 16385
+ playfanfare MUS_FANFA1
+ message Text_1A5DF1
+ waitmessage
+ waitfanfare
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16CD83
+ goto EventScript_16CC10
+ end
+
+EventScript_16CDE0:: @ 816CDE0
+ takecoins VAR_0x4002
+ updatecoinsbox 0, 5
+ getspeciesname 0, 16385
+ playfanfare MUS_FANFA1
+ message Text_1A5DF1
+ waitmessage
+ waitfanfare
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16CE12
+ call EventScript_1A8C33
+ goto EventScript_16CE12
+ end
+
+EventScript_16CE12:: @ 816CE12
+ call EventScript_1A8C3C
+ goto EventScript_16CC10
+ end
+
+CeladonCity_GameCorner_PrizeRoom_EventScript_16CE1D:: @ 816CE1D
+ lock
+ faceplayer
+ checkflag FLAG_0x243
+ goto_if 0, EventScript_16CD99
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ showcoinsbox 0, 0
+ loadword 0, gUnknown_8197057
+ callstd 4
+ goto EventScript_16CE47
+ end
+
+EventScript_16CE47:: @ 816CE47
+ message Text_19707A
+ waitmessage
+ multichoice 11, 0, 30, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16CEA5
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16CEB9
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16CECD
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16CEE1
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_16CEF5
+ compare_var_to_value VAR_0x8000, 5
+ goto_if 1, EventScript_16CC10
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16CC10
+ end
+
+EventScript_16CEA5:: @ 816CEA5
+ setvar VAR_0x4001, 301
+ setvar VAR_0x4002, 4000
+ getmovename 1, MOVE_ICE_BEAM
+ goto EventScript_16CF09
+ end
+
+EventScript_16CEB9:: @ 816CEB9
+ setvar VAR_0x4001, 311
+ setvar VAR_0x4002, 3500
+ getmovename 1, MOVE_IRON_TAIL
+ goto EventScript_16CF09
+ end
+
+EventScript_16CECD:: @ 816CECD
+ setvar VAR_0x4001, 312
+ setvar VAR_0x4002, 4000
+ getmovename 1, MOVE_THUNDERBOLT
+ goto EventScript_16CF09
+ end
+
+EventScript_16CEE1:: @ 816CEE1
+ setvar VAR_0x4001, 318
+ setvar VAR_0x4002, 4500
+ getmovename 1, MOVE_SHADOW_BALL
+ goto EventScript_16CF09
+ end
+
+EventScript_16CEF5:: @ 816CEF5
+ setvar VAR_0x4001, 323
+ setvar VAR_0x4002, 4000
+ getmovename 1, MOVE_FLAMETHROWER
+ goto EventScript_16CF09
+ end
+
+EventScript_16CF09:: @ 816CF09
+ loadword 0, gUnknown_81970B2
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16CC10
+ goto EventScript_16CF3F
+ end
+
+EventScript_16CF22:: @ 816CF22
+ getitemname 0, 16385
+ loadword 0, gUnknown_819709D
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16CC10
+ goto EventScript_16CF3F
+ end
+
+EventScript_16CF3F:: @ 816CF3F
+ getitemname 0, 16385
+ checkcoins VAR_RESULT
+ compare_var_to_var VAR_RESULT, VAR_0x4002
+ goto_if 0, EventScript_16CDA5
+ checkitemspace 16385, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16CF79
+ takecoins VAR_0x4002
+ updatecoinsbox 0, 5
+ setorcopyvar VAR_0x8000, VAR_0x4001
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ goto EventScript_16CC10
+ end
+
+EventScript_16CF79:: @ 816CF79
+ textcolor 3
+ loadword 0, gUnknown_81A5242
+ callstd 4
+ hidecoinsbox 0, 0
+ release
+ end
+
+CeladonCity_GameCorner_PrizeRoom_EventScript_16CF88:: @ 816CF88
+ lock
+ faceplayer
+ checkflag FLAG_0x243
+ goto_if 0, EventScript_16CD99
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ showcoinsbox 0, 0
+ loadword 0, gUnknown_8197057
+ callstd 4
+ goto EventScript_16CFB2
+ end
+
+EventScript_16CFB2:: @ 816CFB2
+ message Text_19707A
+ waitmessage
+ multichoice 10, 0, 41, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16D010
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16D020
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16D030
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16D040
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_16D050
+ compare_var_to_value VAR_0x8000, 5
+ goto_if 1, EventScript_16CC10
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16CC10
+ end
+
+EventScript_16D010:: @ 816D010
+ setvar VAR_0x4001, 194
+ setvar VAR_0x4002, 800
+ goto EventScript_16CF22
+ end
+
+EventScript_16D020:: @ 816D020
+ setvar VAR_0x4001, 205
+ setvar VAR_0x4002, 1000
+ goto EventScript_16CF22
+ end
+
+EventScript_16D030:: @ 816D030
+ setvar VAR_0x4001, 215
+ setvar VAR_0x4002, 1000
+ goto EventScript_16CF22
+ end
+
+EventScript_16D040:: @ 816D040
+ setvar VAR_0x4001, 209
+ setvar VAR_0x4002, 1000
+ goto EventScript_16CF22
+ end
+
+EventScript_16D050:: @ 816D050
+ setvar VAR_0x4001, 40
+ setvar VAR_0x4002, 1600
+ goto EventScript_16CF22
+ end
diff --git a/data/maps/CeladonCity_Gym/map.json b/data/maps/CeladonCity_Gym/map.json
new file mode 100644
index 000000000..ae83a1571
--- /dev/null
+++ b/data/maps/CeladonCity_Gym/map.json
@@ -0,0 +1,200 @@
+{
+ "id": "MAP_CELADON_CITY_GYM",
+ "name": "CeladonCity_Gym",
+ "layout": "LAYOUT_CELADON_CITY_GYM",
+ "music": "BGM_FRLG_GYM",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "22",
+ "x": 3,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "CeladonCity_Gym_EventScript_16D111",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "29",
+ "x": 9,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "CeladonCity_Gym_EventScript_16D163",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 10,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "CeladonCity_Gym_EventScript_16D14C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "29",
+ "x": 2,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "CeladonCity_Gym_EventScript_16D17A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "29",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "CeladonCity_Gym_EventScript_16D19E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "CeladonCity_Gym_EventScript_16D128",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "83",
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Gym_EventScript_16D061",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 8,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "CeladonCity_Gym_EventScript_16D1B5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Gym_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "95",
+ "x": 3,
+ "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": "CeladonCity_Gym_EventScript_1BDF13",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "95",
+ "x": 9,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Gym_EventScript_1BDF13",
+ "flag": "20"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 6,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 7,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 16,
+ "elevation": 0,
+ "script": "CeladonCity_Gym_EventScript_16D1CC"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 16,
+ "elevation": 0,
+ "script": "CeladonCity_Gym_EventScript_16D1CC"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_Gym/scripts.inc b/data/maps/CeladonCity_Gym/scripts.inc
new file mode 100644
index 000000000..298c4a7da
--- /dev/null
+++ b/data/maps/CeladonCity_Gym/scripts.inc
@@ -0,0 +1,116 @@
+CeladonCity_Gym_MapScripts:: @ 816D060
+ .byte 0
+
+CeladonCity_Gym_EventScript_16D061:: @ 816D061
+ setvar VAR_0x8004, 5
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ trainerbattle 1, 417, 0, Text_197114, Text_197260, EventScript_16D0A0
+ checkflag FLAG_0x293
+ goto_if 0, EventScript_16D0C6
+ setvar VAR_0x8004, 5
+ setvar VAR_0x8005, 4
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_81972B8
+ callstd 4
+ release
+ end
+
+EventScript_16D0A0:: @ 816D0A0
+ setvar VAR_0x8004, 5
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ clearflag FLAG_0x09E
+ setflag FLAG_0x4B3
+ setflag 2083
+ setvar VAR_0x8008, 4
+ call EventScript_1A6B18
+ goto EventScript_16D0C6
+ end
+
+EventScript_16D0C6:: @ 816D0C6
+ loadword 0, gUnknown_8197327
+ callstd 4
+ checkitemspace ITEM_TM19, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16D107
+ additem ITEM_TM19, 1
+ loadword 0, gUnknown_81973BA
+ setorcopyvar VAR_0x8000, 307
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x293
+ loadword 0, gUnknown_81973D7
+ callstd 4
+ release
+ end
+
+EventScript_16D107:: @ 816D107
+ loadword 0, gUnknown_819745D
+ callstd 4
+ release
+ end
+
+CeladonCity_Gym_EventScript_16D111:: @ 816D111
+ trainerbattle 0, 132, 0, Text_19747C, Text_1974C4
+ loadword 0, gUnknown_81974D6
+ callstd 6
+ end
+
+CeladonCity_Gym_EventScript_16D128:: @ 816D128
+ trainerbattle 0, 133, 0, Text_1976C5, Text_1976FF
+ setvar VAR_0x8004, 5
+ setvar VAR_0x8005, 2
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8197708
+ callstd 6
+ end
+
+CeladonCity_Gym_EventScript_16D14C:: @ 816D14C
+ trainerbattle 0, 160, 0, Text_197595, Text_1975BB
+ loadword 0, gUnknown_81975D1
+ callstd 6
+ end
+
+CeladonCity_Gym_EventScript_16D163:: @ 816D163
+ trainerbattle 0, 265, 0, Text_1974FA, Text_19751C
+ loadword 0, gUnknown_8197527
+ callstd 6
+ end
+
+CeladonCity_Gym_EventScript_16D17A:: @ 816D17A
+ trainerbattle 0, 266, 0, Text_19760B, Text_197660
+ setvar VAR_0x8004, 5
+ setvar VAR_0x8005, 3
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8197664
+ callstd 6
+ end
+
+CeladonCity_Gym_EventScript_16D19E:: @ 816D19E
+ trainerbattle 0, 267, 0, Text_197747, Text_19777A
+ loadword 0, gUnknown_8197788
+ callstd 6
+ end
+
+CeladonCity_Gym_EventScript_16D1B5:: @ 816D1B5
+ trainerbattle 0, 402, 0, Text_1977E5, Text_197832
+ loadword 0, gUnknown_819783E
+ callstd 6
+ end
+
+CeladonCity_Gym_EventScript_16D1CC:: @ 816D1CC
+ lockall
+ checkflag 2083
+ goto_if 1, EventScript_16D1E0
+ loadword 0, gUnknown_8197874
+ callstd 4
+ releaseall
+ end
+
+EventScript_16D1E0:: @ 816D1E0
+ loadword 0, gUnknown_81978AB
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/CeladonCity_Hotel/map.json b/data/maps/CeladonCity_Hotel/map.json
new file mode 100644
index 000000000..85d79e8bc
--- /dev/null
+++ b/data/maps/CeladonCity_Hotel/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_CELADON_CITY_HOTEL",
+ "name": "CeladonCity_Hotel",
+ "layout": "LAYOUT_CELADON_CITY_HOTEL",
+ "music": "BGM_FRLG_CELADON_CITY",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": "35",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Hotel_EventScript_16D284",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "29",
+ "x": 3,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Hotel_EventScript_16D28D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Hotel_EventScript_16D296",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "16",
+ "x": 2,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Hotel_EventScript_16D29F",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 10,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 9
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 9
+ },
+ {
+ "x": 5,
+ "y": 10,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 9
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_Hotel/scripts.inc b/data/maps/CeladonCity_Hotel/scripts.inc
new file mode 100644
index 000000000..51a5ba906
--- /dev/null
+++ b/data/maps/CeladonCity_Hotel/scripts.inc
@@ -0,0 +1,22 @@
+CeladonCity_Hotel_MapScripts:: @ 816D283
+ .byte 0
+
+CeladonCity_Hotel_EventScript_16D284:: @ 816D284
+ loadword 0, gUnknown_8197B77
+ callstd 2
+ end
+
+CeladonCity_Hotel_EventScript_16D28D:: @ 816D28D
+ loadword 0, gUnknown_8197BBE
+ callstd 2
+ end
+
+CeladonCity_Hotel_EventScript_16D296:: @ 816D296
+ loadword 0, gUnknown_8197C0C
+ callstd 2
+ end
+
+CeladonCity_Hotel_EventScript_16D29F:: @ 816D29F
+ loadword 0, gUnknown_8197C30
+ callstd 2
+ end
diff --git a/data/maps/CeladonCity_House1/map.json b/data/maps/CeladonCity_House1/map.json
new file mode 100644
index 000000000..58d6ee590
--- /dev/null
+++ b/data/maps/CeladonCity_House1/map.json
@@ -0,0 +1,81 @@
+{
+ "id": "MAP_CELADON_CITY_HOUSE1",
+ "name": "CeladonCity_House1",
+ "layout": "LAYOUT_HOUSE5",
+ "music": "BGM_FRLG_CELADON_CITY",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": "33",
+ "x": 5,
+ "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": "CeladonCity_House1_EventScript_16D268",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "49",
+ "x": 2,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 5,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_House1_EventScript_16D271",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "49",
+ "x": 8,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 5,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_House1_EventScript_16D27A",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 8
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_House1/scripts.inc b/data/maps/CeladonCity_House1/scripts.inc
new file mode 100644
index 000000000..22d98478b
--- /dev/null
+++ b/data/maps/CeladonCity_House1/scripts.inc
@@ -0,0 +1,17 @@
+CeladonCity_House1_MapScripts:: @ 816D267
+ .byte 0
+
+CeladonCity_House1_EventScript_16D268:: @ 816D268
+ loadword 0, gUnknown_8197A9F
+ callstd 2
+ end
+
+CeladonCity_House1_EventScript_16D271:: @ 816D271
+ loadword 0, gUnknown_8197AD3
+ callstd 2
+ end
+
+CeladonCity_House1_EventScript_16D27A:: @ 816D27A
+ loadword 0, gUnknown_8197B20
+ callstd 2
+ end
diff --git a/data/maps/CeladonCity_PokemonCenter_1F/map.json b/data/maps/CeladonCity_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..717206847
--- /dev/null
+++ b/data/maps/CeladonCity_PokemonCenter_1F/map.json
@@ -0,0 +1,101 @@
+{
+ "id": "MAP_CELADON_CITY_POKEMON_CENTER_1F",
+ "name": "CeladonCity_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": "CeladonCity_PokemonCenter_1F_EventScript_16C5FB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_PokemonCenter_1F_EventScript_16C604",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 10,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_PokemonCenter_1F_EventScript_16C60D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 12,
+ "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": "CeladonCity_PokemonCenter_1F_EventScript_16C616",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_CELADON_CITY_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_PokemonCenter_1F/scripts.inc b/data/maps/CeladonCity_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..adb65d7d3
--- /dev/null
+++ b/data/maps/CeladonCity_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,30 @@
+CeladonCity_PokemonCenter_1F_MapScripts:: @ 816C5EC
+ map_script 3, CeladonCity_PokemonCenter_1F_MapScript1_16C5F7
+ map_script 5, CeladonCity_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+CeladonCity_PokemonCenter_1F_MapScript1_16C5F7:: @ 816C5F7
+ setrespawn 7
+ end
+
+CeladonCity_PokemonCenter_1F_EventScript_16C5FB:: @ 816C5FB
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+CeladonCity_PokemonCenter_1F_EventScript_16C604:: @ 816C604
+ loadword 0, gUnknown_819685B
+ callstd 2
+ end
+
+CeladonCity_PokemonCenter_1F_EventScript_16C60D:: @ 816C60D
+ loadword 0, gUnknown_81968C2
+ callstd 2
+ end
+
+CeladonCity_PokemonCenter_1F_EventScript_16C616:: @ 816C616
+ loadword 0, gUnknown_8196913
+ callstd 2
+ end
diff --git a/data/maps/CeladonCity_PokemonCenter_2F/map.json b/data/maps/CeladonCity_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..89358eaa6
--- /dev/null
+++ b/data/maps/CeladonCity_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_CELADON_CITY_POKEMON_CENTER_2F",
+ "name": "CeladonCity_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "CeladonCity_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_CELADON_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_PokemonCenter_2F/scripts.inc b/data/maps/CeladonCity_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..08ce23ad1
--- /dev/null
+++ b/data/maps/CeladonCity_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+CeladonCity_PokemonCenter_2F_MapScripts:: @ 816C61F
+ map_script 2, CeladonCity_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, CeladonCity_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, CeladonCity_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, CeladonCity_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+CeladonCity_PokemonCenter_2F_EventScript_16C634:: @ 816C634
+ call EventScript_1BB4A3
+ end
+
+EventScript_16C63A:: @ 816C63A
+ call EventScript_1BB6AB
+ end
+
+EventScript_16C640:: @ 816C640
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/CeladonCity_Restaurant/map.json b/data/maps/CeladonCity_Restaurant/map.json
new file mode 100644
index 000000000..284856350
--- /dev/null
+++ b/data/maps/CeladonCity_Restaurant/map.json
@@ -0,0 +1,107 @@
+{
+ "id": "MAP_CELADON_CITY_RESTAURANT",
+ "name": "CeladonCity_Restaurant",
+ "layout": "LAYOUT_CELADON_CITY_RESTAURANT",
+ "music": "BGM_FRLG_CELADON_CITY",
+ "region_map_section": "MAPSEC_CELADON_CITY",
+ "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": "59",
+ "x": 12,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Restaurant_EventScript_16D1EB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 11,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Restaurant_EventScript_16D1F4",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "27",
+ "x": 9,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Restaurant_EventScript_16D25E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 1,
+ "y": 2,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Restaurant_EventScript_16D1FD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 3,
+ "y": 7,
+ "elevation": 0,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeladonCity_Restaurant_EventScript_16D255",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 6,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 7,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_CELADON_CITY",
+ "dest_warp_id": 7
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeladonCity_Restaurant/scripts.inc b/data/maps/CeladonCity_Restaurant/scripts.inc
new file mode 100644
index 000000000..2b84f09f0
--- /dev/null
+++ b/data/maps/CeladonCity_Restaurant/scripts.inc
@@ -0,0 +1,54 @@
+CeladonCity_Restaurant_MapScripts:: @ 816D1EA
+ .byte 0
+
+CeladonCity_Restaurant_EventScript_16D1EB:: @ 816D1EB
+ loadword 0, gUnknown_81978E6
+ callstd 2
+ end
+
+CeladonCity_Restaurant_EventScript_16D1F4:: @ 816D1F4
+ loadword 0, gUnknown_8197915
+ callstd 2
+ end
+
+CeladonCity_Restaurant_EventScript_16D1FD:: @ 816D1FD
+ lock
+ faceplayer
+ checkflag FLAG_0x243
+ goto_if 1, EventScript_16D24B
+ loadword 0, gUnknown_81979C1
+ callstd 4
+ checkitemspace ITEM_COIN_CASE, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16D241
+ additem ITEM_COIN_CASE, 1
+ loadword 0, gUnknown_8197A38
+ setorcopyvar VAR_0x8000, 260
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x243
+ release
+ end
+
+EventScript_16D241:: @ 816D241
+ loadword 0, gUnknown_8197A5E
+ callstd 4
+ release
+ end
+
+EventScript_16D24B:: @ 816D24B
+ loadword 0, gUnknown_8197A72
+ callstd 4
+ release
+ end
+
+CeladonCity_Restaurant_EventScript_16D255:: @ 816D255
+ loadword 0, gUnknown_8197952
+ callstd 2
+ end
+
+CeladonCity_Restaurant_EventScript_16D25E:: @ 816D25E
+ loadword 0, gUnknown_819798A
+ callstd 2
+ end
diff --git a/data/maps/CeruleanCave_1F/map.json b/data/maps/CeruleanCave_1F/map.json
new file mode 100644
index 000000000..36bd0b680
--- /dev/null
+++ b/data/maps/CeruleanCave_1F/map.json
@@ -0,0 +1,204 @@
+{
+ "id": "MAP_CERULEAN_CAVE_1F",
+ "name": "CeruleanCave_1F",
+ "layout": "LAYOUT_CERULEAN_CAVE_1F",
+ "music": "BGM_FRLG_ROCKET_HIDEOUT",
+ "region_map_section": "MAPSEC_CERULEAN_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 7,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_1F_EventScript_1BEA47",
+ "flag": "434"
+ },
+ {
+ "graphics_id": "92",
+ "x": 11,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_1F_EventScript_1BEA54",
+ "flag": "435"
+ },
+ {
+ "graphics_id": "92",
+ "x": 25,
+ "y": 5,
+ "elevation": 4,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_1F_EventScript_1BEA3A",
+ "flag": "433"
+ },
+ {
+ "graphics_id": "96",
+ "x": 7,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_1F_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "96",
+ "x": 13,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_1F_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "96",
+ "x": 5,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_1F_EventScript_1BE00C",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "96",
+ "x": 14,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_1F_EventScript_1BE00C",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "96",
+ "x": 11,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_1F_EventScript_1BE00C",
+ "flag": "22"
+ },
+ {
+ "graphics_id": "96",
+ "x": 9,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_1F_EventScript_1BE00C",
+ "flag": "23"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 33,
+ "y": 21,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 34,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 1,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_B1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_2F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 30,
+ "y": 10,
+ "elevation": 4,
+ "dest_map": "MAP_CERULEAN_CAVE_2F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 24,
+ "y": 11,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_2F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 2,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_2F",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 12,
+ "y": 2,
+ "elevation": 3,
+ "item": "POCKET_KEY_ITEMS",
+ "flag": "39",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCave_1F/scripts.inc b/data/maps/CeruleanCave_1F/scripts.inc
new file mode 100644
index 000000000..be15e9b22
--- /dev/null
+++ b/data/maps/CeruleanCave_1F/scripts.inc
@@ -0,0 +1,7 @@
+CeruleanCave_1F_MapScripts:: @ 81624B3
+ map_script 3, CeruleanCave_1F_MapScript1_1624B9
+ .byte 0
+
+CeruleanCave_1F_MapScript1_1624B9:: @ 81624B9
+ setworldmapflag 2227
+ end
diff --git a/data/maps/CeruleanCave_2F/map.json b/data/maps/CeruleanCave_2F/map.json
new file mode 100644
index 000000000..061e13cc3
--- /dev/null
+++ b/data/maps/CeruleanCave_2F/map.json
@@ -0,0 +1,232 @@
+{
+ "id": "MAP_CERULEAN_CAVE_2F",
+ "name": "CeruleanCave_2F",
+ "layout": "LAYOUT_CERULEAN_CAVE_2F",
+ "music": "BGM_FRLG_ROCKET_HIDEOUT",
+ "region_map_section": "MAPSEC_CERULEAN_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 9,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BEA6E",
+ "flag": "437"
+ },
+ {
+ "graphics_id": "92",
+ "x": 29,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BEA7B",
+ "flag": "438"
+ },
+ {
+ "graphics_id": "92",
+ "x": 33,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BEA61",
+ "flag": "436"
+ },
+ {
+ "graphics_id": "96",
+ "x": 33,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "96",
+ "x": 33,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "96",
+ "x": 25,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BE00C",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "96",
+ "x": 28,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BE00C",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "96",
+ "x": 30,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BE00C",
+ "flag": "22"
+ },
+ {
+ "graphics_id": "96",
+ "x": 9,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BE00C",
+ "flag": "23"
+ },
+ {
+ "graphics_id": "96",
+ "x": 23,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BE00C",
+ "flag": "24"
+ },
+ {
+ "graphics_id": "96",
+ "x": 13,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BE00C",
+ "flag": "25"
+ },
+ {
+ "graphics_id": "96",
+ "x": 4,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BE00C",
+ "flag": "26"
+ },
+ {
+ "graphics_id": "96",
+ "x": 10,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_2F_EventScript_1BE00C",
+ "flag": "27"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 33,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 13,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 7,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_1F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 26,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_1F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 23,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_1F",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 5,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_1F",
+ "dest_warp_id": 7
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCave_2F/scripts.inc b/data/maps/CeruleanCave_2F/scripts.inc
new file mode 100644
index 000000000..a950a3854
--- /dev/null
+++ b/data/maps/CeruleanCave_2F/scripts.inc
@@ -0,0 +1,2 @@
+CeruleanCave_2F_MapScripts:: @ 81624BD
+ .byte 0
diff --git a/data/maps/CeruleanCave_B1F/map.json b/data/maps/CeruleanCave_B1F/map.json
new file mode 100644
index 000000000..44447c387
--- /dev/null
+++ b/data/maps/CeruleanCave_B1F/map.json
@@ -0,0 +1,184 @@
+{
+ "id": "MAP_CERULEAN_CAVE_B1F",
+ "name": "CeruleanCave_B1F",
+ "layout": "LAYOUT_CERULEAN_CAVE_B1F",
+ "music": "BGM_FRLG_ROCKET_HIDEOUT",
+ "region_map_section": "MAPSEC_CERULEAN_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 31,
+ "y": 9,
+ "elevation": 4,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_B1F_EventScript_1BEA95",
+ "flag": "440"
+ },
+ {
+ "graphics_id": "92",
+ "x": 32,
+ "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": "CeruleanCave_B1F_EventScript_1BEA88",
+ "flag": "439"
+ },
+ {
+ "graphics_id": "139",
+ "x": 7,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_B1F_EventScript_1624F5",
+ "flag": "129"
+ },
+ {
+ "graphics_id": "96",
+ "x": 37,
+ "y": 1,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_B1F_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "96",
+ "x": 38,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_B1F_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "96",
+ "x": 35,
+ "y": 1,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_B1F_EventScript_1BE00C",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "96",
+ "x": 37,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_B1F_EventScript_1BE00C",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "96",
+ "x": 35,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_B1F_EventScript_1BE00C",
+ "flag": "22"
+ },
+ {
+ "graphics_id": "96",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_B1F_EventScript_1BE00C",
+ "flag": "23"
+ },
+ {
+ "graphics_id": "96",
+ "x": 4,
+ "y": 1,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_B1F_EventScript_1BE00C",
+ "flag": "24"
+ },
+ {
+ "graphics_id": "96",
+ "x": 6,
+ "y": 1,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_B1F_EventScript_1BE00C",
+ "flag": "25"
+ },
+ {
+ "graphics_id": "96",
+ "x": 3,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCave_B1F_EventScript_1BE00C",
+ "flag": "26"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CAVE_1F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCave_B1F/scripts.inc b/data/maps/CeruleanCave_B1F/scripts.inc
new file mode 100644
index 000000000..983fea617
--- /dev/null
+++ b/data/maps/CeruleanCave_B1F/scripts.inc
@@ -0,0 +1,70 @@
+CeruleanCave_B1F_MapScripts:: @ 81624BE
+ map_script 5, CeruleanCave_B1F_MapScript1_1624C9
+ map_script 3, CeruleanCave_B1F_MapScript2_1624E7
+ .byte 0
+
+CeruleanCave_B1F_MapScript1_1624C9:: @ 81624C9
+ checkflag 2055
+ call_if 1, EventScript_1624D3
+ end
+
+EventScript_1624D3:: @ 81624D3
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 5, EventScript_1A77A9
+ removeobject VAR_LAST_TALKED
+ return
+
+CeruleanCave_B1F_MapScript2_1624E7:: @ 81624E7
+ checkflag FLAG_0x2BC
+ call_if 0, EventScript_1624F1
+ end
+
+EventScript_1624F1:: @ 81624F1
+ clearflag FLAG_0x081
+ return
+
+CeruleanCave_B1F_EventScript_1624F5:: @ 81624F5
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_MEWTWO, 2
+ message Text_177F9F
+ waitmessage
+ waitmoncry
+ delay 20
+ playbgm BGM_FRLG_LEADER_EYE, 0
+ waitbuttonpress
+ setwildbattle SPECIES_MEWTWO, 70, ITEM_NONE
+ setflag 2055
+ special sub_807F9D8
+ waitstate
+ clearflag 2055
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_162558
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_162561
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_162561
+ setflag FLAG_0x2BC
+ release
+ end
+
+EventScript_162558:: @ 8162558
+ setflag FLAG_0x2BC
+ goto EventScript_1A922D
+
+EventScript_162560:: @ 8162560
+ end
+
+EventScript_162561:: @ 8162561
+ setvar VAR_0x8004, 150
+ goto EventScript_1A9236
+
+EventScript_16256B:: @ 816256B
+ end
diff --git a/data/maps/CeruleanCity/events_bad.inc b/data/maps/CeruleanCity/events_bad.inc
new file mode 100644
index 000000000..1598a51ff
--- /dev/null
+++ b/data/maps/CeruleanCity/events_bad.inc
@@ -0,0 +1,43 @@
+CeruleanCity_EventObjects:
+ object_event 1, 60, 0, 31, 0, 12, 0, 3, 8, 17, 0, 0, 0
+ object_event 2, 49, 0, 33, 0, 6, 0, 3, 1, 17, 0, 0, 0
+ object_event 3, 16, 0, 16, 0, 21, 0, 3, 3, 49, 0, 0, 0
+ object_event 4, 30, 0, 9, 0, 23, 0, 3, 2, 17, 0, 0, 0
+ object_event 5, 129, 0, 32, 0, 29, 0, 3, 8, 17, 0, 0, 0
+ object_event 6, 22, 0, 33, 0, 29, 0, 3, 9, 17, 0, 0, 0
+ object_event 7, 18, 0, 34, 0, 22, 0, 3, 8, 17, 0, 0, 0
+ object_event 8, 72, 0, 22, 0, 0, 0, 3, 8, 17, 0, 0, 0
+ object_event 9, 95, 0, 26, 0, 32, 0, 3, 8, 17, 0, 0, 0
+ object_event 10, 65375, 0, 50, 0, 18, 0, 10, 0, 0, 0, 27, 0
+ object_event 11, 23, 0, 12, 0, 30, 0, 3, 7, 17, 0, 0, 0
+ object_event 12, 41, 0, 1, 0, 13, 0, 3, 8, 17, 0, 0, 0
+
+CeruleanCity_MapWarps:
+ warp_def 10, 11, 0, 1, MAP_CERULEAN_CITY_HOUSE1
+ warp_def 30, 11, 0, 1, MAP_CERULEAN_CITY_HOUSE2
+ warp_def 15, 17, 0, 1, MAP_CERULEAN_CITY_HOUSE3
+ warp_def 22, 19, 0, 1, MAP_CERULEAN_CITY_POKEMONCENTER_1F
+ warp_def 31, 21, 0, 1, MAP_CERULEAN_CITY_GYM
+ warp_def 13, 28, 3, 1, MAP_CERULEAN_CITY_BIKESHOP
+ warp_def 29, 28, 0, 1, MAP_CERULEAN_CITY_MART
+ warp_def 1, 12, 0, 0, MAP_CERULEAN_CAVE_1F
+ warp_def 10, 8, 3, 3, MAP_CERULEAN_CITY_HOUSE1
+ warp_def 31, 8, 3, 3, MAP_CERULEAN_CITY_HOUSE2
+ warp_def 31, 9, 3, 3, MAP_CERULEAN_CITY_HOUSE2
+ warp_def 14, 28, 3, 1, MAP_CERULEAN_CITY_BIKESHOP
+ warp_def 23, 28, 0, 0, MAP_CERULEAN_CITY_HOUSE4
+ warp_def 17, 11, 0, 0, MAP_CERULEAN_CITY_HOUSE5
+
+CeruleanCity_MapCoordEvents:
+ coord_event 22, 6, 3, VAR_0x4052, , CeruleanCity_EventScript_16649A
+ coord_event 23, 6, 3, VAR_0x4052, , CeruleanCity_EventScript_1664A6
+ coord_event 24, 6, 3, VAR_0x4052, , CeruleanCity_EventScript_1664B9
+ coord_event 33, 5, 3, VAR_0x407D, , CeruleanCity_EventScript_166683
+ coord_event 33, 7, 3, VAR_0x407D, , CeruleanCity_EventScript_1666A3
+
+CeruleanCity_MapBGEvents:
+ bg_hidden_item_event 18, 7, 3, ITEM_RARE_CANDY,
+
+CeruleanCity_MapEvents::
+ map_events CeruleanCity_EventObjects, CeruleanCity_MapWarps, CeruleanCity_MapCoordEvents, CeruleanCity_MapBGEvents
+
diff --git a/data/maps/CeruleanCity/map.json b/data/maps/CeruleanCity/map.json
new file mode 100644
index 000000000..602f84df8
--- /dev/null
+++ b/data/maps/CeruleanCity/map.json
@@ -0,0 +1,401 @@
+{
+ "id": "MAP_CERULEAN_CITY",
+ "name": "CeruleanCity",
+ "layout": "LAYOUT_CERULEAN_CITY",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_CERULEAN_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE24",
+ "offset": 12,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE5",
+ "offset": 0,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_ROUTE4",
+ "offset": 10,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_ROUTE9",
+ "offset": 10,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "60",
+ "x": 31,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_EventScript_1666E7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "49",
+ "x": 33,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_EventScript_166603",
+ "flag": "59"
+ },
+ {
+ "graphics_id": "16",
+ "x": 16,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 3,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_EventScript_1666FE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 9,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_EventScript_16671D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "129",
+ "x": 32,
+ "y": 29,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_EventScript_1667DD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 33,
+ "y": 29,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_EventScript_16674F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 34,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_EventScript_166726",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "72",
+ "x": 22,
+ "y": 0,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "60"
+ },
+ {
+ "graphics_id": "95",
+ "x": 26,
+ "y": 32,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_EventScript_1BDF13",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "65375",
+ "x": 50,
+ "y": 18,
+ "elevation": 10,
+ "movement_type": "0",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 27,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "23",
+ "x": 12,
+ "y": 30,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_EventScript_166738",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "41",
+ "x": 1,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_EventScript_16672F",
+ "flag": "92"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY_HOUSE1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 30,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY_HOUSE2",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 15,
+ "y": 17,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY_HOUSE3",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 22,
+ "y": 19,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 31,
+ "y": 21,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY_GYM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 13,
+ "y": 28,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY_BIKE_SHOP",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 29,
+ "y": 28,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY_MART",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 1,
+ "y": 12,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CAVE_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 10,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY_HOUSE1",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 31,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY_HOUSE2",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 31,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY_HOUSE2",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 14,
+ "y": 28,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY_BIKE_SHOP",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 23,
+ "y": 28,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY_HOUSE4",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 17,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY_HOUSE5",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 22,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4052",
+ "var_value": 0,
+ "script": "CeruleanCity_EventScript_16649A"
+ },
+ {
+ "type": "trigger",
+ "x": 23,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4052",
+ "var_value": 0,
+ "script": "CeruleanCity_EventScript_1664A6"
+ },
+ {
+ "type": "trigger",
+ "x": 24,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4052",
+ "var_value": 0,
+ "script": "CeruleanCity_EventScript_1664B9"
+ },
+ {
+ "type": "trigger",
+ "x": 33,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x407D",
+ "var_value": 0,
+ "script": "CeruleanCity_EventScript_166683"
+ },
+ {
+ "type": "trigger",
+ "x": 33,
+ "y": 7,
+ "elevation": 3,
+ "var": "VAR_0x407D",
+ "var_value": 0,
+ "script": "CeruleanCity_EventScript_1666A3"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 20,
+ "y": 25,
+ "elevation": 0,
+ "script": "CeruleanCity_EventScript_166838"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 27,
+ "y": 21,
+ "elevation": 0,
+ "script": "CeruleanCity_EventScript_166853"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 28,
+ "elevation": 0,
+ "script": "CeruleanCity_EventScript_16684A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 19,
+ "y": 32,
+ "elevation": 0,
+ "script": "CeruleanCity_EventScript_166841"
+ },
+ {
+ "type": "hidden_item",
+ "x": 18,
+ "y": 7,
+ "elevation": 3,
+ "item": "ITEM_RARE_CANDY",
+ "flag": "49",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 25,
+ "elevation": 0,
+ "script": "CeruleanCity_EventScript_16AC94"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 27,
+ "elevation": 0,
+ "script": "CeruleanCity_EventScript_16AC94"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 26,
+ "elevation": 0,
+ "script": "CeruleanCity_EventScript_16AC94"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCity/scripts.inc b/data/maps/CeruleanCity/scripts.inc
new file mode 100644
index 000000000..7f8e62f5b
--- /dev/null
+++ b/data/maps/CeruleanCity/scripts.inc
@@ -0,0 +1,415 @@
+CeruleanCity_MapScripts:: @ 8166471
+ map_script 3, CeruleanCity_MapScript1_166477
+ .byte 0
+
+CeruleanCity_MapScript1_166477:: @ 8166477
+ setworldmapflag 2195
+ checkflag FLAG_0x234
+ call_if 0, EventScript_166484
+ end
+
+EventScript_166484:: @ 8166484
+ setobjectxyperm 1, 30, 12
+ setobjectxyperm 5, 26, 31
+ setobjectxyperm 6, 27, 31
+ return
+
+CeruleanCity_EventScript_16649A:: @ 816649A
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_1664CC
+ end
+
+CeruleanCity_EventScript_1664A6:: @ 81664A6
+ lockall
+ setvar VAR_0x4001, 1
+ setobjectxyperm 8, 23, 0
+ goto EventScript_1664CC
+ end
+
+CeruleanCity_EventScript_1664B9:: @ 81664B9
+ lockall
+ setvar VAR_0x4001, 2
+ setobjectxyperm 8, 24, 0
+ goto EventScript_1664CC
+ end
+
+EventScript_1664CC:: @ 81664CC
+ textcolor 0
+ setvar VAR_0x4054, 2
+ playbgm BGM_FRLG_RIVAL, 0
+ addobject 8
+ applymovement 8, Movement_1665D3
+ waitmovement 0
+ loadword 0, gUnknown_817EAD7
+ callstd 4
+ setvar VAR_LAST_TALKED, 8
+ compare_var_to_value VAR_STARTER_MON, 2
+ call_if 1, EventScript_166582
+ compare_var_to_value VAR_STARTER_MON, 1
+ call_if 1, EventScript_16658D
+ compare_var_to_value VAR_STARTER_MON, 0
+ call_if 1, EventScript_166598
+ setvar VAR_0x8004, 13
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_817EB95
+ callstd 4
+ closemessage
+ playbgm BGM_FRLG_RIVAL_POSTBATTLE, 0
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_1665A3
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_1665A3
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_1665B5
+ loadword 0, gUnknown_817ECD4
+ callstd 4
+ setvar VAR_0x4052, 1
+ setflag FLAG_0x29B
+ setorcopyvar VAR_0x8000, 363
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ loadword 0, gUnknown_817ED5D
+ callstd 4
+ closemessage
+ applymovement 8, Movement_1665FB
+ waitmovement 0
+ fadedefaultbgm
+ removeobject 8
+ releaseall
+ end
+
+EventScript_166582:: @ 8166582
+ trainerbattle 3, 332, 0, Text_17EB71
+ return
+
+EventScript_16658D:: @ 816658D
+ trainerbattle 3, 333, 0, Text_17EB71
+ return
+
+EventScript_166598:: @ 8166598
+ trainerbattle 3, 334, 0, Text_17EB71
+ return
+
+EventScript_1665A3:: @ 81665A3
+ applymovement 255, Movement_1665C7
+ applymovement 8, Movement_1665D9
+ waitmovement 0
+ return
+
+EventScript_1665B5:: @ 81665B5
+ applymovement 255, Movement_1665CD
+ applymovement 8, Movement_1665EA
+ waitmovement 0
+ return
+
+Movement_1665C7:: @ 81665C7
+ step_1c
+ step_1b
+ step_30
+ step_1c
+ step_2d
+ step_end
+
+Movement_1665CD:: @ 81665CD
+ step_1c
+ step_1b
+ step_2f
+ step_1c
+ step_2d
+ step_end
+
+Movement_1665D3:: @ 81665D3
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_1665D9:: @ 81665D9
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_1c
+ step_1c
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_1665EA:: @ 81665EA
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_1c
+ step_1c
+ step_13
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_1665FB:: @ 81665FB
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+CeruleanCity_EventScript_166603:: @ 8166603
+ lock
+ faceplayer
+ checktrainerflag 355
+ goto_if 1, EventScript_16662E
+ message Text_17EE0E
+ waitmessage
+ playbgm BGM_FRLG_SUSPICIOUS_EYE, 0
+ waitbuttonpress
+ trainerbattle 3, 355, 0, Text_17EE70
+ setvar VAR_0x407D, 1
+ goto EventScript_16662E
+ end
+
+EventScript_16662E:: @ 816662E
+ loadword 0, gUnknown_817EE9C
+ callstd 4
+ checkitemspace ITEM_TM28, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_166677
+ additem ITEM_TM28, 1
+ loadword 0, gUnknown_817EEBF
+ setorcopyvar VAR_0x8000, 316
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ loadword 0, gUnknown_817EEED
+ callstd 4
+ closemessage
+ fadescreen 1
+ removeobject 2
+ fadescreen 0
+ setflag FLAG_0x23F
+ release
+ end
+
+EventScript_166677:: @ 8166677
+ textcolor 0
+ loadword 0, gUnknown_817EF07
+ callstd 4
+ release
+ end
+
+CeruleanCity_EventScript_166683:: @ 8166683
+ lockall
+ setvar VAR_0x4001, 0
+ applymovement 2, Movement_1A75E9
+ waitmovement 0
+ applymovement 255, Movement_1A75ED
+ waitmovement 0
+ goto EventScript_1666C3
+ end
+
+CeruleanCity_EventScript_1666A3:: @ 81666A3
+ lockall
+ setvar VAR_0x4001, 1
+ applymovement 2, Movement_1A75ED
+ waitmovement 0
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ goto EventScript_1666C3
+ end
+
+EventScript_1666C3:: @ 81666C3
+ textcolor 0
+ loadword 0, Text_17EE0E
+ callstd 4
+ setvar VAR_LAST_TALKED, 2
+ trainerbattle 3, 355, 0, Text_17EE70
+ setvar VAR_0x407D, 1
+ goto EventScript_16662E
+ end
+
+CeruleanCity_EventScript_1666E7:: @ 81666E7
+ lock
+ faceplayer
+ loadword 0, gUnknown_817F0F1
+ callstd 4
+ closemessage
+ applymovement 1, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+CeruleanCity_EventScript_1666FE:: @ 81666FE
+ lock
+ faceplayer
+ checkflag FLAG_0x234
+ goto_if 1, EventScript_166713
+ loadword 0, gUnknown_817F01D
+ callstd 4
+ release
+ end
+
+EventScript_166713:: @ 8166713
+ loadword 0, gUnknown_817EF89
+ callstd 4
+ release
+ end
+
+CeruleanCity_EventScript_16671D:: @ 816671D
+ loadword 0, gUnknown_817F0B2
+ callstd 2
+ end
+
+CeruleanCity_EventScript_166726:: @ 8166726
+ loadword 0, gUnknown_817EF3F
+ callstd 2
+ end
+
+CeruleanCity_EventScript_16672F:: @ 816672F
+ loadword 0, gUnknown_817F319
+ callstd 2
+ end
+
+CeruleanCity_EventScript_166738:: @ 8166738
+ lock
+ faceplayer
+ loadword 0, gUnknown_817F2CF
+ callstd 4
+ closemessage
+ applymovement 11, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+CeruleanCity_EventScript_16674F:: @ 816674F
+ lock
+ random 3
+ copyvar VAR_0x8008, VAR_RESULT
+ compare_var_to_value VAR_0x8008, 0
+ call_if 1, EventScript_1667B0
+ compare_var_to_value VAR_0x8008, 1
+ call_if 1, EventScript_1667B6
+ compare_var_to_value VAR_0x8008, 2
+ call_if 1, EventScript_1667BC
+ waitmessage
+ delay 40
+ playse SE_PIN
+ applymovement 5, Movement_1A75D9
+ waitmovement 0
+ delay 30
+ compare_var_to_value VAR_0x8008, 0
+ call_if 1, EventScript_1667C2
+ compare_var_to_value VAR_0x8008, 1
+ call_if 1, EventScript_1667CB
+ compare_var_to_value VAR_0x8008, 2
+ call_if 1, EventScript_1667D4
+ release
+ end
+
+EventScript_1667B0:: @ 81667B0
+ message Text_17F183
+ return
+
+EventScript_1667B6:: @ 81667B6
+ message Text_17F1C2
+ return
+
+EventScript_1667BC:: @ 81667BC
+ message Text_17F1E9
+ return
+
+EventScript_1667C2:: @ 81667C2
+ loadword 0, gUnknown_817F1A1
+ callstd 4
+ return
+
+EventScript_1667CB:: @ 81667CB
+ loadword 0, gUnknown_817F1D2
+ callstd 4
+ return
+
+EventScript_1667D4:: @ 81667D4
+ loadword 0, gUnknown_817F1FC
+ callstd 4
+ return
+
+CeruleanCity_EventScript_1667DD:: @ 81667DD
+ lock
+ random 4
+ copyvar VAR_0x8008, VAR_RESULT
+ compare_var_to_value VAR_0x8008, 0
+ call_if 1, EventScript_166814
+ compare_var_to_value VAR_0x8008, 1
+ call_if 1, EventScript_16681D
+ compare_var_to_value VAR_0x8008, 2
+ call_if 1, EventScript_166826
+ compare_var_to_value VAR_0x8008, 3
+ call_if 1, EventScript_16682F
+ release
+ end
+
+EventScript_166814:: @ 8166814
+ loadword 0, gUnknown_817F270
+ callstd 4
+ return
+
+EventScript_16681D:: @ 816681D
+ loadword 0, gUnknown_817F287
+ callstd 4
+ return
+
+EventScript_166826:: @ 8166826
+ loadword 0, gUnknown_817F2A2
+ callstd 4
+ return
+
+EventScript_16682F:: @ 816682F
+ loadword 0, gUnknown_817F2B7
+ callstd 4
+ return
+
+CeruleanCity_EventScript_166838:: @ 8166838
+ loadword 0, gUnknown_817F420
+ callstd 3
+ end
+
+CeruleanCity_EventScript_166841:: @ 8166841
+ loadword 0, gUnknown_817F453
+ callstd 3
+ end
+
+CeruleanCity_EventScript_16684A:: @ 816684A
+ loadword 0, gUnknown_817F4C5
+ callstd 3
+ end
+
+CeruleanCity_EventScript_166853:: @ 8166853
+ lockall
+ setvar VAR_0x8004, 3
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_817F4EF
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/CeruleanCity_BikeShop/map.json b/data/maps/CeruleanCity_BikeShop/map.json
new file mode 100644
index 000000000..f94bc3e7e
--- /dev/null
+++ b/data/maps/CeruleanCity_BikeShop/map.json
@@ -0,0 +1,138 @@
+{
+ "id": "MAP_CERULEAN_CITY_BIKE_SHOP",
+ "name": "CeruleanCity_BikeShop",
+ "layout": "LAYOUT_CERULEAN_CITY_BIKE_SHOP",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_CERULEAN_CITY",
+ "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": "25",
+ "x": 9,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_BikeShop_EventScript_16ABBD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_BikeShop_EventScript_16AC75",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_BikeShop_EventScript_16AC6C",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 6,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 3,
+ "elevation": 0,
+ "script": "CeruleanCity_BikeShop_EventScript_16AC94"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 4,
+ "elevation": 0,
+ "script": "CeruleanCity_BikeShop_EventScript_16AC94"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 5,
+ "elevation": 0,
+ "script": "CeruleanCity_BikeShop_EventScript_16AC94"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "script": "CeruleanCity_BikeShop_EventScript_16AC94"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 1,
+ "y": 4,
+ "elevation": 0,
+ "script": "CeruleanCity_BikeShop_EventScript_16AC94"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 5,
+ "elevation": 0,
+ "script": "CeruleanCity_BikeShop_EventScript_16AC94"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 7,
+ "elevation": 0,
+ "script": "CeruleanCity_BikeShop_EventScript_16AC94"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 8,
+ "elevation": 0,
+ "script": "CeruleanCity_BikeShop_EventScript_16AC94"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCity_BikeShop/scripts.inc b/data/maps/CeruleanCity_BikeShop/scripts.inc
new file mode 100644
index 000000000..7999511ef
--- /dev/null
+++ b/data/maps/CeruleanCity_BikeShop/scripts.inc
@@ -0,0 +1,92 @@
+CeruleanCity_BikeShop_MapScripts:: @ 816ABBC
+ .byte 0
+
+CeruleanCity_BikeShop_EventScript_16ABBD:: @ 816ABBD
+ lock
+ faceplayer
+ checkflag FLAG_0x271
+ goto_if 1, EventScript_16AC58
+ checkflag FLAG_0x241
+ goto_if 1, EventScript_16AC22
+ showmoneybox 0, 0, 0
+ message Text_192755
+ waitmessage
+ multichoice 11, 0, 13, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16AC07
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16AC15
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16AC15
+ end
+
+EventScript_16AC07:: @ 816AC07
+ loadword 0, gUnknown_8192796
+ callstd 4
+ goto EventScript_16AC15
+ end
+
+EventScript_16AC15:: @ 816AC15
+ loadword 0, gUnknown_819280E
+ callstd 4
+ hidemoneybox
+ .byte 0
+ .byte 0
+ release
+ end
+
+EventScript_16AC22:: @ 816AC22
+ loadword 0, gUnknown_81927B2
+ callstd 4
+ loadword 0, gUnknown_81927E1
+ setorcopyvar VAR_0x8000, 360
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ setflag FLAG_0x271
+ additem ITEM_BICYCLE, 1
+ removeitem ITEM_BIKE_VOUCHER, 1
+ loadword 0, gUnknown_819280E
+ callstd 4
+ release
+ end
+
+EventScript_16AC58:: @ 816AC58
+ loadword 0, gUnknown_8192833
+ callstd 4
+ release
+ end
+
+EventScript_16AC62:: @ 816AC62
+ loadword 0, gUnknown_81928A8
+ callstd 4
+ release
+ end
+
+CeruleanCity_BikeShop_EventScript_16AC6C:: @ 816AC6C
+ loadword 0, gUnknown_81928CF
+ callstd 2
+ end
+
+CeruleanCity_BikeShop_EventScript_16AC75:: @ 816AC75
+ lock
+ faceplayer
+ checkflag FLAG_0x271
+ goto_if 1, EventScript_16AC8A
+ loadword 0, gUnknown_8192937
+ callstd 4
+ release
+ end
+
+EventScript_16AC8A:: @ 816AC8A
+ loadword 0, gUnknown_8192968
+ callstd 4
+ release
+ end
+
+CeruleanCity_BikeShop_EventScript_16AC94:: @ 816AC94
+CeruleanCity_EventScript_16AC94:: @ 816AC94
+ loadword 0, gUnknown_81929AD
+ callstd 3
+ end
diff --git a/data/maps/CeruleanCity_Gym/map.json b/data/maps/CeruleanCity_Gym/map.json
new file mode 100644
index 000000000..715fbd067
--- /dev/null
+++ b/data/maps/CeruleanCity_Gym/map.json
@@ -0,0 +1,109 @@
+{
+ "id": "MAP_CERULEAN_CITY_GYM",
+ "name": "CeruleanCity_Gym",
+ "layout": "LAYOUT_CERULEAN_CITY_GYM",
+ "music": "BGM_FRLG_GYM",
+ "region_map_section": "MAPSEC_CERULEAN_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "43",
+ "x": 10,
+ "y": 12,
+ "elevation": 0,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "CeruleanCity_Gym_EventScript_16AB5B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "CeruleanCity_Gym_EventScript_16AB44",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "81",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_Gym_EventScript_16AAA1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "91",
+ "x": 7,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_Gym_EventScript_16AB7F",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 8,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 9,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 17,
+ "elevation": 0,
+ "script": "CeruleanCity_Gym_EventScript_16AB9E"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 10,
+ "y": 17,
+ "elevation": 0,
+ "script": "CeruleanCity_Gym_EventScript_16AB9E"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCity_Gym/scripts.inc b/data/maps/CeruleanCity_Gym/scripts.inc
new file mode 100644
index 000000000..850e8b23d
--- /dev/null
+++ b/data/maps/CeruleanCity_Gym/scripts.inc
@@ -0,0 +1,96 @@
+CeruleanCity_Gym_MapScripts:: @ 816AAA0
+ .byte 0
+
+CeruleanCity_Gym_EventScript_16AAA1:: @ 816AAA1
+ setvar VAR_0x8004, 3
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ trainerbattle 1, 415, 0, Text_1921EF, Text_19242D, EventScript_16AAD3
+ checkflag FLAG_0x297
+ goto_if 0, EventScript_16AAF9
+ loadword 0, gUnknown_81922BF
+ callstd 4
+ release
+ end
+
+EventScript_16AAD3:: @ 816AAD3
+ setvar VAR_0x8004, 3
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ setflag FLAG_0x4B1
+ setflag 2081
+ setrespawn 4
+ setvar VAR_0x8008, 2
+ call EventScript_1A6B18
+ goto EventScript_16AAF9
+ end
+
+EventScript_16AAF9:: @ 816AAF9
+ loadword 0, gUnknown_81922F7
+ callstd 4
+ checkitemspace ITEM_TM03, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16AB3A
+ additem ITEM_TM03, 1
+ loadword 0, gUnknown_81923F1
+ setorcopyvar VAR_0x8000, 291
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x297
+ loadword 0, gUnknown_81922BF
+ callstd 4
+ release
+ end
+
+EventScript_16AB3A:: @ 816AB3A
+ loadword 0, gUnknown_819240E
+ callstd 4
+ release
+ end
+
+CeruleanCity_Gym_EventScript_16AB44:: @ 816AB44
+ trainerbattle 0, 150, 0, Text_192481, Text_1924D0
+ loadword 0, gUnknown_81924E4
+ callstd 6
+ end
+
+CeruleanCity_Gym_EventScript_16AB5B:: @ 816AB5B
+ trainerbattle 0, 234, 0, Text_192524, Text_192547
+ setvar VAR_0x8004, 3
+ setvar VAR_0x8005, 2
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8192556
+ callstd 6
+ end
+
+CeruleanCity_Gym_EventScript_16AB7F:: @ 816AB7F
+ lock
+ faceplayer
+ checkflag FLAG_0x4B1
+ goto_if 1, EventScript_16AB94
+ loadword 0, gUnknown_81925AC
+ callstd 4
+ release
+ end
+
+EventScript_16AB94:: @ 816AB94
+ loadword 0, gUnknown_8192688
+ callstd 4
+ release
+ end
+
+CeruleanCity_Gym_EventScript_16AB9E:: @ 816AB9E
+ lockall
+ checkflag 2081
+ goto_if 1, EventScript_16ABB2
+ loadword 0, gUnknown_81926E1
+ callstd 4
+ releaseall
+ end
+
+EventScript_16ABB2:: @ 816ABB2
+ loadword 0, gUnknown_8192719
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/CeruleanCity_House1/map.json b/data/maps/CeruleanCity_House1/map.json
new file mode 100644
index 000000000..ad770bb63
--- /dev/null
+++ b/data/maps/CeruleanCity_House1/map.json
@@ -0,0 +1,62 @@
+{
+ "id": "MAP_CERULEAN_CITY_HOUSE1",
+ "name": "CeruleanCity_House1",
+ "layout": "LAYOUT_CERULEAN_CITY_HOUSE1",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_CERULEAN_CITY",
+ "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": "61",
+ "x": 6,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_House1_EventScript_16A7F0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 3,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 3,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 8
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCity_House1/scripts.inc b/data/maps/CeruleanCity_House1/scripts.inc
new file mode 100644
index 000000000..1e42bbe80
--- /dev/null
+++ b/data/maps/CeruleanCity_House1/scripts.inc
@@ -0,0 +1,121 @@
+CeruleanCity_House1_MapScripts:: @ 816A7EF
+ .byte 0
+
+CeruleanCity_House1_EventScript_16A7F0:: @ 816A7F0
+ lock
+ faceplayer
+ loadword 0, gUnknown_81918E7
+ callstd 4
+ message Text_191967
+ waitmessage
+ setvar VAR_0x8004, 0
+ special sub_80CB7C4
+ waitstate
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16A8FB
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16A909
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16A917
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16A925
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_16A933
+ compare_var_to_value VAR_0x8000, 5
+ goto_if 1, EventScript_16A941
+ compare_var_to_value VAR_0x8000, 6
+ goto_if 1, EventScript_16A94F
+ compare_var_to_value VAR_0x8000, 7
+ goto_if 1, EventScript_16A95D
+ compare_var_to_value VAR_0x8000, 8
+ goto_if 1, EventScript_16A96B
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16A96B
+ end
+
+EventScript_16A87D:: @ 816A87D
+ message Text_191967
+ waitmessage
+ special sub_80CBC5C
+ waitstate
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16A8FB
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16A909
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16A917
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16A925
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_16A933
+ compare_var_to_value VAR_0x8000, 5
+ goto_if 1, EventScript_16A941
+ compare_var_to_value VAR_0x8000, 6
+ goto_if 1, EventScript_16A94F
+ compare_var_to_value VAR_0x8000, 7
+ goto_if 1, EventScript_16A95D
+ compare_var_to_value VAR_0x8000, 8
+ goto_if 1, EventScript_16A96B
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16A96B
+ end
+
+EventScript_16A8FB:: @ 816A8FB
+ loadword 0, gUnknown_81919BE
+ callstd 4
+ goto EventScript_16A87D
+ end
+
+EventScript_16A909:: @ 816A909
+ loadword 0, gUnknown_8191A31
+ callstd 4
+ goto EventScript_16A87D
+ end
+
+EventScript_16A917:: @ 816A917
+ loadword 0, gUnknown_8191AF9
+ callstd 4
+ goto EventScript_16A87D
+ end
+
+EventScript_16A925:: @ 816A925
+ loadword 0, gUnknown_8191B69
+ callstd 4
+ goto EventScript_16A87D
+ end
+
+EventScript_16A933:: @ 816A933
+ loadword 0, gUnknown_8191C36
+ callstd 4
+ goto EventScript_16A87D
+ end
+
+EventScript_16A941:: @ 816A941
+ loadword 0, gUnknown_8191CA9
+ callstd 4
+ goto EventScript_16A87D
+ end
+
+EventScript_16A94F:: @ 816A94F
+ loadword 0, gUnknown_8191D78
+ callstd 4
+ goto EventScript_16A87D
+
+EventScript_16A95C:: @ 816A95C
+ end
+
+EventScript_16A95D:: @ 816A95D
+ loadword 0, gUnknown_8191DF8
+ callstd 4
+ goto EventScript_16A87D
+
+EventScript_16A96A:: @ 816A96A
+ end
+
+EventScript_16A96B:: @ 816A96B
+ loadword 0, gUnknown_819199E
+ callstd 4
+ release
+ end
diff --git a/data/maps/CeruleanCity_House2/map.json b/data/maps/CeruleanCity_House2/map.json
new file mode 100644
index 000000000..0c2d2e4cb
--- /dev/null
+++ b/data/maps/CeruleanCity_House2/map.json
@@ -0,0 +1,83 @@
+{
+ "id": "MAP_CERULEAN_CITY_HOUSE2",
+ "name": "CeruleanCity_House2",
+ "layout": "LAYOUT_CERULEAN_CITY_HOUSE2",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_CERULEAN_CITY",
+ "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": "56",
+ "x": 1,
+ "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": "CeruleanCity_House2_EventScript_16A976",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 7,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_House2_EventScript_16A995",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 1,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 9
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "CeruleanCity_House2_EventScript_16A99E"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCity_House2/scripts.inc b/data/maps/CeruleanCity_House2/scripts.inc
new file mode 100644
index 000000000..3d098c13a
--- /dev/null
+++ b/data/maps/CeruleanCity_House2/scripts.inc
@@ -0,0 +1,28 @@
+CeruleanCity_House2_MapScripts:: @ 816A975
+ .byte 0
+
+CeruleanCity_House2_EventScript_16A976:: @ 816A976
+ lock
+ faceplayer
+ checkflag FLAG_0x23F
+ goto_if 1, EventScript_16A98B
+ loadword 0, gUnknown_8191E13
+ callstd 4
+ release
+ end
+
+EventScript_16A98B:: @ 816A98B
+ loadword 0, gUnknown_8191ED8
+ callstd 4
+ release
+ end
+
+CeruleanCity_House2_EventScript_16A995:: @ 816A995
+ loadword 0, gUnknown_8191F2A
+ callstd 2
+ end
+
+CeruleanCity_House2_EventScript_16A99E:: @ 816A99E
+ loadword 0, gUnknown_8191F64
+ callstd 3
+ end
diff --git a/data/maps/CeruleanCity_House3/map.json b/data/maps/CeruleanCity_House3/map.json
new file mode 100644
index 000000000..748aac0e2
--- /dev/null
+++ b/data/maps/CeruleanCity_House3/map.json
@@ -0,0 +1,68 @@
+{
+ "id": "MAP_CERULEAN_CITY_HOUSE3",
+ "name": "CeruleanCity_House3",
+ "layout": "LAYOUT_HOUSE1",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_CERULEAN_CITY",
+ "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": "32",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_House3_EventScript_16A9B1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "35",
+ "x": 7,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_House3_EventScript_16A9A8",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCity_House3/scripts.inc b/data/maps/CeruleanCity_House3/scripts.inc
new file mode 100644
index 000000000..91037b14c
--- /dev/null
+++ b/data/maps/CeruleanCity_House3/scripts.inc
@@ -0,0 +1,50 @@
+CeruleanCity_House3_MapScripts:: @ 816A9A7
+ .byte 0
+
+CeruleanCity_House3_EventScript_16A9A8:: @ 816A9A8
+ loadword 0, gUnknown_8191F80
+ callstd 2
+ end
+
+CeruleanCity_House3_EventScript_16A9B1:: @ 816A9B1
+ lock
+ faceplayer
+ setvar VAR_0x8008, 1
+ call EventScript_1A8CAD
+ checkflag FLAG_0x24A
+ goto_if 1, EventScript_16AA23
+ loadword 0, gUnknown_81A59FE
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16AA0B
+ call EventScript_1A8CBD
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_16AA0B
+ call EventScript_1A8CC9
+ compare_var_to_var VAR_RESULT, VAR_0x8009
+ goto_if 5, EventScript_16AA15
+ call EventScript_1A8CD9
+ loadword 0, gUnknown_81A5A9D
+ callstd 4
+ setflag FLAG_0x24A
+ release
+ end
+
+EventScript_16AA0B:: @ 816AA0B
+ loadword 0, gUnknown_81A5A4E
+ callstd 4
+ release
+ end
+
+EventScript_16AA15:: @ 816AA15
+ getspeciesname 0, 32777
+ loadword 0, gUnknown_81A5A6A
+ callstd 4
+ release
+ end
+
+EventScript_16AA23:: @ 816AA23
+ loadword 0, gUnknown_81A5AA5
+ callstd 4
+ release
+ end
diff --git a/data/maps/CeruleanCity_House4/map.json b/data/maps/CeruleanCity_House4/map.json
new file mode 100644
index 000000000..c07927a27
--- /dev/null
+++ b/data/maps/CeruleanCity_House4/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_CERULEAN_CITY_HOUSE4",
+ "name": "CeruleanCity_House4",
+ "layout": "LAYOUT_HOUSE1",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_CERULEAN_CITY",
+ "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": "32",
+ "x": 5,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_House4_EventScript_16ACEF",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 12
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCity_House4/scripts.inc b/data/maps/CeruleanCity_House4/scripts.inc
new file mode 100644
index 000000000..ffda63cab
--- /dev/null
+++ b/data/maps/CeruleanCity_House4/scripts.inc
@@ -0,0 +1,112 @@
+CeruleanCity_House4_MapScripts:: @ 816ACEE
+ .byte 0
+
+CeruleanCity_House4_EventScript_16ACEF:: @ 816ACEF
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ specialvar VAR_0x8004, sub_8146CE8
+ copyvar VAR_0x8008, VAR_RESULT
+ compare_var_to_value VAR_0x8004, 0
+ goto_if 1, EventScript_16AD59
+ compare_var_to_value VAR_0x8004, 1
+ goto_if 1, EventScript_16AD63
+ compare_var_to_value VAR_0x8004, 2
+ goto_if 1, EventScript_16AD89
+ compare_var_to_value VAR_0x8004, 3
+ goto_if 1, EventScript_16ADAF
+ compare_var_to_value VAR_0x8004, 4
+ goto_if 1, EventScript_16ADC3
+ compare_var_to_value VAR_0x8004, 5
+ goto_if 1, EventScript_16ADE9
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 1, EventScript_16AE0F
+ end
+
+EventScript_16AD59:: @ 816AD59
+ loadword 0, gUnknown_8192AF0
+ callstd 4
+ release
+ end
+
+EventScript_16AD63:: @ 816AD63
+ call EventScript_16AE23
+ loadword 0, gUnknown_8192B43
+ callstd 4
+ setorcopyvar VAR_0x8000, VAR_0x8008
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16AE45
+ release
+ end
+
+EventScript_16AD89:: @ 816AD89
+ call EventScript_16AE23
+ loadword 0, gUnknown_8192C07
+ callstd 4
+ setorcopyvar VAR_0x8000, VAR_0x8008
+ setorcopyvar VAR_0x8001, 4
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16AE45
+ release
+ end
+
+EventScript_16ADAF:: @ 816ADAF
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_8192CD5
+ callstd 4
+ release
+ end
+
+EventScript_16ADC3:: @ 816ADC3
+ call EventScript_16AE23
+ loadword 0, gUnknown_8192D4B
+ callstd 4
+ setorcopyvar VAR_0x8000, VAR_0x8008
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16AE45
+ release
+ end
+
+EventScript_16ADE9:: @ 816ADE9
+ call EventScript_16AE23
+ loadword 0, gUnknown_8192DE3
+ callstd 4
+ setorcopyvar VAR_0x8000, VAR_0x8008
+ setorcopyvar VAR_0x8001, 4
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16AE45
+ release
+ end
+
+EventScript_16AE0F:: @ 816AE0F
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_8192EC5
+ callstd 4
+ release
+ end
+
+EventScript_16AE23:: @ 816AE23
+ playse SE_PIN
+ applymovement 1, Movement_1A75DB
+ waitmovement 0
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ applymovement 1, Movement_1A75DD
+ waitmovement 0
+ return
+
+EventScript_16AE45:: @ 816AE45
+ loadword 0, gUnknown_8192F2A
+ callstd 4
+ release
+ end
diff --git a/data/maps/CeruleanCity_House5/map.json b/data/maps/CeruleanCity_House5/map.json
new file mode 100644
index 000000000..6619a1fb4
--- /dev/null
+++ b/data/maps/CeruleanCity_House5/map.json
@@ -0,0 +1,49 @@
+{
+ "id": "MAP_CERULEAN_CITY_HOUSE5",
+ "name": "CeruleanCity_House5",
+ "layout": "LAYOUT_CERULEAN_CITY_HOUSE5",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_CERULEAN_CITY",
+ "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": "33",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_House5_EventScript_16AE50",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 13
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "script": "CeruleanCity_House5_EventScript_16B0DA"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCity_House5/scripts.inc b/data/maps/CeruleanCity_House5/scripts.inc
new file mode 100644
index 000000000..081499778
--- /dev/null
+++ b/data/maps/CeruleanCity_House5/scripts.inc
@@ -0,0 +1,214 @@
+CeruleanCity_House5_MapScripts:: @ 816AE4F
+ .byte 0
+
+CeruleanCity_House5_EventScript_16AE50:: @ 816AE50
+ lock
+ faceplayer
+ checkflag FLAG_0x2BB
+ goto_if 1, EventScript_16AEB7
+ loadword 0, gUnknown_8192F67
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16AEAD
+ checkflag 2119
+ goto_if 0, EventScript_16AEA3
+ loadword 0, gUnknown_8193003
+ callstd 4
+ setflag FLAG_0x2BB
+ setorcopyvar VAR_0x8000, 372
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A6BF9
+ loadword 0, gUnknown_8193033
+ callstd 4
+ release
+ end
+
+EventScript_16AEA3:: @ 816AEA3
+ loadword 0, gUnknown_819321D
+ callstd 4
+ release
+ end
+
+EventScript_16AEAD:: @ 816AEAD
+ loadword 0, gUnknown_819325E
+ callstd 4
+ release
+ end
+
+EventScript_16AEB7:: @ 816AEB7
+ special sub_815F094
+ loadword 0, gUnknown_81932C5
+ callstd 4
+ goto EventScript_16AEC8
+ end
+
+EventScript_16AEC8:: @ 816AEC8
+ message Text_1932F4
+ waitmessage
+ setvar VAR_0x8004, 5
+ special sub_80CB7C4
+ waitstate
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16AF6C
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16AF80
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16AF94
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16AFA8
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_16AFBC
+ compare_var_to_value VAR_0x8000, 5
+ goto_if 1, EventScript_16AFD0
+ compare_var_to_value VAR_0x8000, 6
+ goto_if 1, EventScript_16AFE4
+ compare_var_to_value VAR_0x8000, 7
+ goto_if 1, EventScript_16AFF8
+ compare_var_to_value VAR_0x8000, 8
+ goto_if 1, EventScript_16B00C
+ compare_var_to_value VAR_0x8000, 9
+ goto_if 1, EventScript_16B020
+ compare_var_to_value VAR_0x8000, 10
+ goto_if 1, EventScript_16B034
+ compare_var_to_value VAR_0x8000, 11
+ goto_if 1, EventScript_16B048
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16B048
+ end
+
+EventScript_16AF6C:: @ 816AF6C
+ getitemname 0, ITEM_ENERGY_POWDER
+ setvar VAR_0x8008, 30
+ setvar VAR_0x8009, 50
+ goto EventScript_16B055
+ end
+
+EventScript_16AF80:: @ 816AF80
+ getitemname 0, ITEM_ENERGY_ROOT
+ setvar VAR_0x8008, 31
+ setvar VAR_0x8009, 80
+ goto EventScript_16B055
+ end
+
+EventScript_16AF94:: @ 816AF94
+ getitemname 0, ITEM_HEAL_POWDER
+ setvar VAR_0x8008, 32
+ setvar VAR_0x8009, 50
+ goto EventScript_16B055
+ end
+
+EventScript_16AFA8:: @ 816AFA8
+ getitemname 0, ITEM_REVIVAL_HERB
+ setvar VAR_0x8008, 33
+ setvar VAR_0x8009, 300
+ goto EventScript_16B055
+ end
+
+EventScript_16AFBC:: @ 816AFBC
+ getitemname 0, ITEM_PROTEIN
+ setvar VAR_0x8008, 64
+ setvar VAR_0x8009, 1000
+ goto EventScript_16B055
+ end
+
+EventScript_16AFD0:: @ 816AFD0
+ getitemname 0, ITEM_IRON
+ setvar VAR_0x8008, 65
+ setvar VAR_0x8009, 1000
+ goto EventScript_16B055
+ end
+
+EventScript_16AFE4:: @ 816AFE4
+ getitemname 0, ITEM_CARBOS
+ setvar VAR_0x8008, 66
+ setvar VAR_0x8009, 1000
+ goto EventScript_16B055
+ end
+
+EventScript_16AFF8:: @ 816AFF8
+ getitemname 0, ITEM_CALCIUM
+ setvar VAR_0x8008, 67
+ setvar VAR_0x8009, 1000
+ goto EventScript_16B055
+ end
+
+EventScript_16B00C:: @ 816B00C
+ getitemname 0, ITEM_ZINC
+ setvar VAR_0x8008, 70
+ setvar VAR_0x8009, 1000
+ goto EventScript_16B055
+ end
+
+EventScript_16B020:: @ 816B020
+ getitemname 0, ITEM_HP_UP
+ setvar VAR_0x8008, 63
+ setvar VAR_0x8009, 1000
+ goto EventScript_16B055
+ end
+
+EventScript_16B034:: @ 816B034
+ getitemname 0, ITEM_PP_UP
+ setvar VAR_0x8008, 69
+ setvar VAR_0x8009, 3000
+ goto EventScript_16B055
+ end
+
+EventScript_16B048:: @ 816B048
+ loadword 0, gUnknown_819342F
+ callstd 4
+ special sub_815F114
+ release
+ end
+
+EventScript_16B055:: @ 816B055
+ loadword 0, gUnknown_819331E
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16AEC8
+ copyvar VAR_0x8004, VAR_0x8009
+ specialvar VAR_RESULT, sub_815EEB0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16B0CC
+ setorcopyvar VAR_0x8000, VAR_0x8008
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16B0BF
+ copyvar VAR_0x8004, VAR_0x8009
+ special sub_815EF5C
+ special sub_815F070
+ loadword 0, gUnknown_819337A
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16AEC8
+ loadword 0, gUnknown_81933FB
+ callstd 4
+ special sub_815F114
+ release
+ end
+
+EventScript_16B0BF:: @ 816B0BF
+ loadword 0, gUnknown_81A5207
+ callstd 4
+ special sub_815F114
+ release
+ end
+
+EventScript_16B0CC:: @ 816B0CC
+ loadword 0, gUnknown_8193352
+ callstd 4
+ goto EventScript_16AEC8
+ end
+
+CeruleanCity_House5_EventScript_16B0DA:: @ 816B0DA
+ lockall
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_814EA7C
+ waitstate
+ releaseall
+ end
diff --git a/data/maps/CeruleanCity_Mart/map.json b/data/maps/CeruleanCity_Mart/map.json
new file mode 100644
index 000000000..f0f95490c
--- /dev/null
+++ b/data/maps/CeruleanCity_Mart/map.json
@@ -0,0 +1,81 @@
+{
+ "id": "MAP_CERULEAN_CITY_MART",
+ "name": "CeruleanCity_Mart",
+ "layout": "LAYOUT_MART",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CERULEAN_CITY",
+ "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": "68",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_Mart_EventScript_16ACB0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "23",
+ "x": 9,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 4,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_Mart_EventScript_16ACA7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 1,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_Mart_EventScript_16AC9E",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCity_Mart/scripts.inc b/data/maps/CeruleanCity_Mart/scripts.inc
new file mode 100644
index 000000000..e9fc440c4
--- /dev/null
+++ b/data/maps/CeruleanCity_Mart/scripts.inc
@@ -0,0 +1,41 @@
+CeruleanCity_Mart_MapScripts:: @ 816AC9D
+ .byte 0
+
+CeruleanCity_Mart_EventScript_16AC9E:: @ 816AC9E
+ loadword 0, gUnknown_81929C2
+ callstd 2
+ end
+
+CeruleanCity_Mart_EventScript_16ACA7:: @ 816ACA7
+ loadword 0, gUnknown_8192A79
+ callstd 2
+ end
+
+CeruleanCity_Mart_EventScript_16ACB0:: @ 816ACB0
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16ACD8
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16ACD8:: @ 816ACD8
+ .2byte ITEM_POKE_BALL
+ .2byte ITEM_SUPER_POTION
+ .2byte ITEM_POTION
+ .2byte ITEM_ANTIDOTE
+ .2byte ITEM_PARALYZE_HEAL
+ .2byte ITEM_AWAKENING
+ .2byte ITEM_BURN_HEAL
+ .2byte ITEM_ESCAPE_ROPE
+ .2byte ITEM_REPEL
+ .2byte ITEM_NONE
+ release
+ end
diff --git a/data/maps/CeruleanCity_PokemonCenter_1F/map.json b/data/maps/CeruleanCity_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..f85c99a58
--- /dev/null
+++ b/data/maps/CeruleanCity_PokemonCenter_1F/map.json
@@ -0,0 +1,140 @@
+{
+ "id": "MAP_CERULEAN_CITY_POKEMON_CENTER_1F",
+ "name": "CeruleanCity_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CERULEAN_CITY",
+ "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": "CeruleanCity_PokemonCenter_1F_EventScript_16AA3C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 12,
+ "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": "CeruleanCity_PokemonCenter_1F_EventScript_16AA45",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 5,
+ "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": "CeruleanCity_PokemonCenter_1F_EventScript_16AA4E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_PokemonCenter_1F_EventScript_16AA57",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 3,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_PokemonCenter_1F_EventScript_16AA70",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "0",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_PokemonCenter_1F_EventScript_1ACE68",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "0",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_PokemonCenter_1F_EventScript_1ACE68",
+ "flag": "157"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_CERULEAN_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_CERULEAN_CITY_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCity_PokemonCenter_1F/scripts.inc b/data/maps/CeruleanCity_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..f9d2b2c9a
--- /dev/null
+++ b/data/maps/CeruleanCity_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,41 @@
+CeruleanCity_PokemonCenter_1F_MapScripts:: @ 816AA2D
+ map_script 3, CeruleanCity_PokemonCenter_1F_MapScript1_16AA38
+ map_script 5, CeruleanCity_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+CeruleanCity_PokemonCenter_1F_MapScript1_16AA38:: @ 816AA38
+ setrespawn 4
+ end
+
+CeruleanCity_PokemonCenter_1F_EventScript_16AA3C:: @ 816AA3C
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+CeruleanCity_PokemonCenter_1F_EventScript_16AA45:: @ 816AA45
+ loadword 0, gUnknown_8192079
+ callstd 2
+ end
+
+CeruleanCity_PokemonCenter_1F_EventScript_16AA4E:: @ 816AA4E
+ loadword 0, gUnknown_8191FFB
+ callstd 2
+ end
+
+CeruleanCity_PokemonCenter_1F_EventScript_16AA57:: @ 816AA57
+ lock
+ faceplayer
+ setvar VAR_0x8004, 13
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8192116
+ callstd 4
+ release
+ end
+
+CeruleanCity_PokemonCenter_1F_EventScript_16AA70:: @ 816AA70
+ loadword 0, gUnknown_819214C
+ callstd 2
+ end
diff --git a/data/maps/CeruleanCity_PokemonCenter_2F/map.json b/data/maps/CeruleanCity_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..c231d2b99
--- /dev/null
+++ b/data/maps/CeruleanCity_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_CERULEAN_CITY_POKEMON_CENTER_2F",
+ "name": "CeruleanCity_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CERULEAN_CITY",
+ "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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CeruleanCity_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "CeruleanCity_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_CERULEAN_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CeruleanCity_PokemonCenter_2F/scripts.inc b/data/maps/CeruleanCity_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..6abf8a484
--- /dev/null
+++ b/data/maps/CeruleanCity_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+CeruleanCity_PokemonCenter_2F_MapScripts:: @ 816AA79
+ map_script 2, CeruleanCity_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, CeruleanCity_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, CeruleanCity_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, CeruleanCity_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+CeruleanCity_PokemonCenter_2F_EventScript_16AA8E:: @ 816AA8E
+ call EventScript_1BB4A3
+ end
+
+EventScript_16AA94:: @ 816AA94
+ call EventScript_1BB6AB
+ end
+
+EventScript_16AA9A:: @ 816AA9A
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/CinnabarIsland/map.json b/data/maps/CinnabarIsland/map.json
new file mode 100644
index 000000000..395daeb62
--- /dev/null
+++ b/data/maps/CinnabarIsland/map.json
@@ -0,0 +1,158 @@
+{
+ "id": "MAP_CINNABAR_ISLAND",
+ "name": "CinnabarIsland",
+ "layout": "LAYOUT_CINNABAR_ISLAND",
+ "music": "BGM_FRLG_CINNABAR_ISLAND",
+ "region_map_section": "MAPSEC_CINNABAR_ISLAND",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE21_SOUTH",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE20",
+ "offset": 0,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "28",
+ "x": 14,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_EventScript_1671EF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 11,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_EventScript_167208",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "73",
+ "x": 20,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "98"
+ },
+ {
+ "graphics_id": "108",
+ "x": 23,
+ "y": 7,
+ "elevation": 1,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "107"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_POKEMON_MANSION_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 20,
+ "y": 4,
+ "elevation": 0,
+ "dest_map": "MAP_CINNABAR_ISLAND_GYM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 14,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_CINNABAR_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 19,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_CINNABAR_ISLAND_MART",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 20,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "CinnabarIsland_EventScript_1671CA"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 3,
+ "elevation": 0,
+ "script": "CinnabarIsland_EventScript_167211"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 9,
+ "elevation": 0,
+ "script": "CinnabarIsland_EventScript_16721A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 22,
+ "y": 5,
+ "elevation": 0,
+ "script": "CinnabarIsland_EventScript_167223"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 10,
+ "y": 9,
+ "elevation": 0,
+ "script": "CinnabarIsland_EventScript_16721A"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CinnabarIsland/scripts.inc b/data/maps/CinnabarIsland/scripts.inc
new file mode 100644
index 000000000..10a075b72
--- /dev/null
+++ b/data/maps/CinnabarIsland/scripts.inc
@@ -0,0 +1,384 @@
+CinnabarIsland_MapScripts:: @ 8166ED6
+ map_script 3, CinnabarIsland_MapScript1_166EE1
+ map_script 2, CinnabarIsland_MapScript2_166F6E
+ .byte 0
+
+CinnabarIsland_MapScript1_166EE1:: @ 8166EE1
+ setworldmapflag 2200
+ call EventScript_166F5E
+ compare_var_to_value VAR_0x4071, 1
+ call_if 1, EventScript_166F24
+ compare_var_to_value VAR_0x4071, 3
+ call_if 1, EventScript_166F52
+ compare_var_to_value VAR_0x408A, 1
+ call_if 1, EventScript_166F0B
+ end
+
+EventScript_166F0B:: @ 8166F0B
+ savebgm BGM_FRLG_FOLLOW_ME
+ setflag FLAG_0x002
+ setobjectxyperm 3, 15, 12
+ setobjectmovementtype 3, 9
+ setobjectxyperm 4, 30, 12
+ return
+
+EventScript_166F24:: @ 8166F24
+ getplayerxy VAR_0x8004, VAR_0x8005
+ compare_var_to_value VAR_0x8004, 18
+ goto_if 4, EventScript_166F4A
+ setflag FLAG_0x002
+ setobjectxyperm 3, 18, 12
+ setobjectmovementtype 3, 7
+ setobjectxyperm 4, 30, 12
+ return
+
+EventScript_166F4A:: @ 8166F4A
+ setobjectxyperm 4, 30, 8
+ return
+
+EventScript_166F52:: @ 8166F52
+ setobjectxyperm 3, 21, 8
+ setobjectmovementtype 3, 7
+ return
+
+EventScript_166F5E:: @ 8166F5E
+ checkflag FLAG_0x1A8
+ goto_if 1, EventScript_166F68
+ return
+
+EventScript_166F68:: @ 8166F68
+ setvar VAR_0x4001, 1
+ return
+
+CinnabarIsland_MapScript2_166F6E:: @ 8166F6E
+ map_script_2 VAR_0x408A, 1, EventScript_166F88
+ map_script_2 VAR_0x4071, 1, EventScript_166FCD
+ map_script_2 VAR_0x4071, 3, EventScript_166FA0
+ .2byte 0
+
+EventScript_166F88:: @ 8166F88
+ lockall
+ clearflag FLAG_SPECIAL_FLAG_0x4001
+ savebgm MUS_DUMMY
+ textcolor 0
+ setvar VAR_0x408A, 2
+ delay 20
+ call EventScript_1670E6
+ releaseall
+ end
+
+EventScript_166FA0:: @ 8166FA0
+ lockall
+ textcolor 0
+ loadword 0, gUnknown_8180F09
+ callstd 4
+ closemessage
+ applymovement 3, Movement_166FC6
+ waitmovement 0
+ removeobject 3
+ setvar VAR_0x4071, 4
+ setflag FLAG_0x075
+ clearflag FLAG_0x076
+ releaseall
+ end
+
+Movement_166FC6:: @ 8166FC6
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+EventScript_166FCD:: @ 8166FCD
+ lockall
+ textcolor 0
+ checkflag FLAG_0x002
+ call_if 0, EventScript_167032
+ checkflag FLAG_0x002
+ call_if 1, EventScript_16703D
+ playse SE_PIN
+ applymovement 3, Movement_1A75DB
+ waitmovement 0
+ applymovement 3, Movement_1A75DD
+ waitmovement 0
+ checkflag FLAG_0x002
+ call_if 0, EventScript_167048
+ checkflag FLAG_0x002
+ call_if 1, EventScript_167053
+ loadword 0, gUnknown_8180C90
+ callstd 4
+ loadword 0, gUnknown_8180CAA
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_167068
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_167078
+ end
+
+EventScript_167032:: @ 8167032
+ applymovement 3, Movement_1A75E9
+ waitmovement 0
+ return
+
+EventScript_16703D:: @ 816703D
+ applymovement 3, Movement_1A75E7
+ waitmovement 0
+ return
+
+EventScript_167048:: @ 8167048
+ applymovement 3, Movement_1671A4
+ waitmovement 0
+ return
+
+EventScript_167053:: @ 8167053
+ applymovement 3, Movement_1671A6
+ waitmovement 0
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ return
+
+EventScript_167068:: @ 8167068
+ loadword 0, gUnknown_8180DDD
+ callstd 4
+ closemessage
+ call EventScript_1670E6
+ releaseall
+ end
+
+EventScript_167078:: @ 8167078
+ loadword 0, gUnknown_8180DF8
+ callstd 4
+ closemessage
+ checkflag FLAG_0x002
+ call_if 0, EventScript_1670A0
+ checkflag FLAG_0x002
+ call_if 1, EventScript_1670B3
+ removeobject 3
+ setvar VAR_0x4071, 2
+ clearflag FLAG_0x0A2
+ releaseall
+ end
+
+EventScript_1670A0:: @ 81670A0
+ applymovement 3, Movement_1670AB
+ waitmovement 0
+ return
+
+Movement_1670AB:: @ 81670AB
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+EventScript_1670B3:: @ 81670B3
+ applymovement 255, Movement_1670DB
+ applymovement 3, Movement_1670DE
+ waitmovement 0
+ opendoor 14, 11
+ waitdooranim
+ applymovement 3, Movement_1670E2
+ waitmovement 0
+ closedoor 14, 11
+ waitdooranim
+ return
+
+Movement_1670DB:: @ 81670DB
+ step_12
+ step_30
+ step_end
+
+Movement_1670DE:: @ 81670DE
+ step_1c
+ step_12
+ step_2e
+ step_end
+
+Movement_1670E2:: @ 81670E2
+ step_11
+ step_1a
+ step_60
+ step_end
+
+EventScript_1670E6:: @ 81670E6
+ checkflag FLAG_0x002
+ call_if 1, EventScript_167142
+ addobject 4
+ checkflag FLAG_0x002
+ call_if 0, EventScript_167154
+ checkflag FLAG_0x002
+ call_if 1, EventScript_167166
+ loadword 0, gUnknown_8180EAD
+ callstd 4
+ closemessage
+ checkflag FLAG_0x002
+ call_if 0, EventScript_167171
+ checkflag FLAG_0x002
+ call_if 1, EventScript_167183
+ setvar VAR_0x4071, 2
+ removeobject 3
+ delay 40
+ setflag FLAG_0x06B
+ setvar VAR_0x4075, 1
+ setvar VAR_0x8004, 8
+ setvar VAR_0x8006, 1
+ goto EventScript_1A90DA
+ end
+
+EventScript_167142:: @ 8167142
+ applymovement 3, Movement_1671AF
+ applymovement 255, Movement_1671AF
+ waitmovement 0
+ return
+
+EventScript_167154:: @ 8167154
+ applymovement 3, Movement_1671AA
+ applymovement 4, Movement_167195
+ waitmovement 0
+ return
+
+EventScript_167166:: @ 8167166
+ applymovement 4, Movement_167195
+ waitmovement 0
+ return
+
+EventScript_167171:: @ 8167171
+ applymovement 3, Movement_16719D
+ applymovement 255, Movement_1671BA
+ waitmovement 0
+ return
+
+EventScript_167183:: @ 8167183
+ applymovement 3, Movement_1671B6
+ applymovement 255, Movement_1671C4
+ waitmovement 0
+ return
+
+Movement_167195:: @ 8167195
+ step_1c
+ step_1c
+ step_1f
+ step_1f
+ step_12
+ step_left
+ step_left
+ step_end
+
+Movement_16719D:: @ 816719D
+ step_13
+ step_10
+ step_10
+ step_13
+ step_1a
+ step_60
+ step_end
+
+Movement_1671A4:: @ 81671A4
+ step_11
+ step_end
+
+Movement_1671A6:: @ 81671A6
+ step_12
+ step_12
+ step_12
+ step_end
+
+Movement_1671AA:: @ 81671AA
+ step_1c
+ step_1c
+ step_1b
+ step_30
+ step_end
+
+Movement_1671AF:: @ 81671AF
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_end
+
+Movement_1671B6:: @ 81671B6
+ step_13
+ step_1a
+ step_60
+ step_end
+
+Movement_1671BA:: @ 81671BA
+ step_10
+ step_13
+ step_10
+ step_10
+ step_30
+ step_1a
+ step_13
+ step_1a
+ step_60
+ step_end
+
+Movement_1671C4:: @ 81671C4
+ step_13
+ step_1a
+ step_13
+ step_1a
+ step_60
+ step_end
+
+CinnabarIsland_EventScript_1671CA:: @ 81671CA
+ lockall
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ delay 20
+ loadword 0, gUnknown_8180B20
+ callstd 4
+ closemessage
+ applymovement 255, Movement_1671ED
+ waitmovement 0
+ releaseall
+ end
+
+Movement_1671ED:: @ 81671ED
+ step_10
+ step_end
+
+CinnabarIsland_EventScript_1671EF:: @ 81671EF
+ lock
+ faceplayer
+ setvar VAR_0x8004, 8
+ setvar VAR_0x8005, 3
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8180B34
+ callstd 4
+ release
+ end
+
+CinnabarIsland_EventScript_167208:: @ 8167208
+ loadword 0, gUnknown_8180BA0
+ callstd 2
+ end
+
+CinnabarIsland_EventScript_167211:: @ 8167211
+ loadword 0, gUnknown_8180C0D
+ callstd 3
+ end
+
+CinnabarIsland_EventScript_16721A:: @ 816721A
+ loadword 0, gUnknown_8180C3E
+ callstd 3
+ end
+
+CinnabarIsland_EventScript_167223:: @ 8167223
+ lockall
+ setvar VAR_0x8004, 8
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8180C4A
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/CinnabarIsland_Gym/map.json b/data/maps/CinnabarIsland_Gym/map.json
new file mode 100644
index 000000000..cb22dda7d
--- /dev/null
+++ b/data/maps/CinnabarIsland_Gym/map.json
@@ -0,0 +1,265 @@
+{
+ "id": "MAP_CINNABAR_ISLAND_GYM",
+ "name": "CinnabarIsland_Gym",
+ "layout": "LAYOUT_CINNABAR_ISLAND_GYM",
+ "music": "BGM_FRLG_GYM",
+ "region_map_section": "MAPSEC_CINNABAR_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_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "52",
+ "x": 25,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DB27",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 25,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DA7F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 17,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DA96",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "52",
+ "x": 16,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DB53",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 16,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DAC2",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "52",
+ "x": 4,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DB7F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 4,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DAFB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "86",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16D9D4",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "91",
+ "x": 24,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DBAB",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 24,
+ "y": 23,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 25,
+ "y": 23,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 26,
+ "y": 23,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 23,
+ "y": 20,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DBCA"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 27,
+ "y": 20,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DBCA"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 22,
+ "y": 10,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DBE8"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 23,
+ "y": 10,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DBF4"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 15,
+ "y": 2,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DCDD"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 16,
+ "y": 2,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DCE9"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 13,
+ "y": 10,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DDBB"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 14,
+ "y": 10,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DDC7"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 13,
+ "y": 17,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DE92"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 14,
+ "y": 17,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DE9E"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 1,
+ "y": 18,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DF69"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 2,
+ "y": 18,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16DF75"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 1,
+ "y": 10,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16E040"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 2,
+ "y": 10,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_16E04C"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "script": "CinnabarIsland_Gym_EventScript_1ACF07"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CinnabarIsland_Gym/scripts.inc b/data/maps/CinnabarIsland_Gym/scripts.inc
new file mode 100644
index 000000000..afe1f7a7b
--- /dev/null
+++ b/data/maps/CinnabarIsland_Gym/scripts.inc
@@ -0,0 +1,816 @@
+CinnabarIsland_Gym_MapScripts:: @ 816D94B
+ map_script 1, CinnabarIsland_Gym_MapScript1_16D951
+ .byte 0
+
+CinnabarIsland_Gym_MapScript1_16D951:: @ 816D951
+ checkflag FLAG_0x4B6
+ goto_if 1, EventScript_16D991
+ checkflag FLAG_0x265
+ call_if 1, EventScript_16D9B0
+ checkflag FLAG_0x267
+ call_if 1, EventScript_16D9B6
+ checkflag FLAG_0x268
+ call_if 1, EventScript_16D9BC
+ checkflag FLAG_0x269
+ call_if 1, EventScript_16D9C2
+ checkflag FLAG_0x26A
+ call_if 1, EventScript_16D9C8
+ checkflag FLAG_0x26B
+ call_if 1, EventScript_16D9CE
+ end
+
+EventScript_16D991:: @ 816D991
+ call EventScript_16E117
+ call EventScript_16E157
+ call EventScript_16E197
+ call EventScript_16E1D7
+ call EventScript_16E1F3
+ call EventScript_16E233
+ end
+
+EventScript_16D9B0:: @ 816D9B0
+ call EventScript_16E117
+ return
+
+EventScript_16D9B6:: @ 816D9B6
+ call EventScript_16E157
+ return
+
+EventScript_16D9BC:: @ 816D9BC
+ call EventScript_16E197
+ return
+
+EventScript_16D9C2:: @ 816D9C2
+ call EventScript_16E1D7
+ return
+
+EventScript_16D9C8:: @ 816D9C8
+ call EventScript_16E1F3
+ return
+
+EventScript_16D9CE:: @ 816D9CE
+ call EventScript_16E233
+ return
+
+CinnabarIsland_Gym_EventScript_16D9D4:: @ 816D9D4
+ setvar VAR_0x8004, 8
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ trainerbattle 1, 419, 0, Text_199543, Text_1995FA, EventScript_16DA06
+ checkflag FLAG_0x24E
+ goto_if 0, EventScript_16DA34
+ loadword 0, gUnknown_819971D
+ callstd 4
+ release
+ end
+
+EventScript_16DA06:: @ 816DA06
+ setvar VAR_0x8004, 8
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ setflag FLAG_0x4B6
+ setflag FLAG_UNK826
+ setrespawn 9
+ setvar VAR_0x4071, 1
+ clearflag FLAG_0x062
+ setvar VAR_0x8008, 7
+ call EventScript_1A6B18
+ goto EventScript_16DA34
+ end
+
+EventScript_16DA34:: @ 816DA34
+ loadword 0, gUnknown_819969E
+ callstd 4
+ checkitemspace ITEM_TM38, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16DA75
+ additem ITEM_TM38, 1
+ loadword 0, gUnknown_81996FF
+ setorcopyvar VAR_0x8000, 326
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x24E
+ loadword 0, gUnknown_8199652
+ callstd 4
+ release
+ end
+
+EventScript_16DA75:: @ 816DA75
+ loadword 0, gUnknown_8199789
+ callstd 4
+ release
+ end
+
+CinnabarIsland_Gym_EventScript_16DA7F:: @ 816DA7F
+ trainerbattle 0, 177, 0, Text_1997A5, Text_1997D6
+ loadword 0, gUnknown_81997EA
+ callstd 6
+ end
+
+CinnabarIsland_Gym_EventScript_16DA96:: @ 816DA96
+ trainerbattle 2, 178, 0, Text_1998BD, Text_1998ED, EventScript_16DAB1
+ loadword 0, gUnknown_8199911
+ callstd 6
+ end
+
+EventScript_16DAB1:: @ 816DAB1
+ checkflag FLAG_0x267
+ call_if 0, EventScript_16DABC
+ release
+ end
+
+EventScript_16DABC:: @ 816DABC
+ call EventScript_16DD31
+ return
+
+CinnabarIsland_Gym_EventScript_16DAC2:: @ 816DAC2
+ trainerbattle 2, 179, 0, Text_1999B7, Text_1999DB, EventScript_16DAEA
+ setvar VAR_0x8004, 8
+ setvar VAR_0x8005, 2
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_81999DF
+ callstd 6
+ end
+
+EventScript_16DAEA:: @ 816DAEA
+ checkflag FLAG_0x269
+ call_if 0, EventScript_16DAF5
+ release
+ end
+
+EventScript_16DAF5:: @ 816DAF5
+ call EventScript_16DEE6
+ return
+
+CinnabarIsland_Gym_EventScript_16DAFB:: @ 816DAFB
+ trainerbattle 2, 180, 0, Text_199AFC, Text_199B16, EventScript_16DB16
+ loadword 0, gUnknown_8199B27
+ callstd 6
+ end
+
+EventScript_16DB16:: @ 816DB16
+ checkflag FLAG_0x26B
+ call_if 0, EventScript_16DB21
+ release
+ end
+
+EventScript_16DB21:: @ 816DB21
+ call EventScript_16E094
+ return
+
+CinnabarIsland_Gym_EventScript_16DB27:: @ 816DB27
+ trainerbattle 2, 213, 0, Text_19983F, Text_199870, EventScript_16DB42
+ loadword 0, gUnknown_819987D
+ callstd 6
+ end
+
+EventScript_16DB42:: @ 816DB42
+ checkflag FLAG_0x265
+ call_if 0, EventScript_16DB4D
+ release
+ end
+
+EventScript_16DB4D:: @ 816DB4D
+ call EventScript_16DC58
+ return
+
+CinnabarIsland_Gym_EventScript_16DB53:: @ 816DB53
+ trainerbattle 2, 214, 0, Text_199948, Text_199973, EventScript_16DB6E
+ loadword 0, gUnknown_8199986
+ callstd 6
+ end
+
+EventScript_16DB6E:: @ 816DB6E
+ checkflag FLAG_0x268
+ call_if 0, EventScript_16DB79
+ release
+ end
+
+EventScript_16DB79:: @ 816DB79
+ call EventScript_16DE0F
+ return
+
+CinnabarIsland_Gym_EventScript_16DB7F:: @ 816DB7F
+ trainerbattle 2, 215, 0, Text_199A7F, Text_199AB9, EventScript_16DB9A
+ loadword 0, gUnknown_8199AC9
+ callstd 6
+ end
+
+EventScript_16DB9A:: @ 816DB9A
+ checkflag FLAG_0x26A
+ call_if 0, EventScript_16DBA5
+ release
+ end
+
+EventScript_16DBA5:: @ 816DBA5
+ call EventScript_16DFBD
+ return
+
+CinnabarIsland_Gym_EventScript_16DBAB:: @ 816DBAB
+ lock
+ faceplayer
+ checkflag FLAG_0x4B6
+ goto_if 1, EventScript_16DBC0
+ loadword 0, gUnknown_8199B81
+ callstd 4
+ release
+ end
+
+EventScript_16DBC0:: @ 816DBC0
+ loadword 0, gUnknown_8199C0C
+ callstd 4
+ release
+ end
+
+CinnabarIsland_Gym_EventScript_16DBCA:: @ 816DBCA
+ lockall
+ checkflag FLAG_UNK826
+ goto_if 1, EventScript_16DBDE
+ loadword 0, gUnknown_8199C29
+ callstd 4
+ releaseall
+ end
+
+EventScript_16DBDE:: @ 816DBDE
+ loadword 0, gUnknown_8199C62
+ callstd 4
+ releaseall
+ end
+
+CinnabarIsland_Gym_EventScript_16DBE8:: @ 816DBE8
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_16DC00
+ end
+
+CinnabarIsland_Gym_EventScript_16DBF4:: @ 816DBF4
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_16DC00
+ end
+
+EventScript_16DC00:: @ 816DC00
+ loadword 0, gUnknown_8199C9F
+ callstd 4
+ loadword 0, gUnknown_8199D5A
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16DC43
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16DC6A
+ end
+
+EventScript_16DC27:: @ 816DC27
+ playfanfare MUS_FANFA1
+ waitfanfare
+ loadword 0, gUnknown_8199E4F
+ callstd 4
+ return
+
+EventScript_16DC34:: @ 816DC34
+ waitse
+ playse SE_BOO
+ waitse
+ loadword 0, gUnknown_8199E79
+ callstd 4
+ closemessage
+ return
+
+EventScript_16DC43:: @ 816DC43
+ call EventScript_16DC27
+ checkflag FLAG_0x265
+ goto_if 1, EventScript_16DC68
+ call EventScript_16DC58
+ releaseall
+ end
+
+EventScript_16DC58:: @ 816DC58
+ playse SE_FU_ZAKU2
+ waitse
+ call EventScript_16E117
+ special DrawWholeMapView
+ setflag FLAG_0x265
+ return
+
+EventScript_16DC68:: @ 816DC68
+ releaseall
+ end
+
+EventScript_16DC6A:: @ 816DC6A
+ call EventScript_16DC34
+ checktrainerflag 213
+ goto_if 0, EventScript_16DC7A
+ releaseall
+ end
+
+EventScript_16DC7A:: @ 816DC7A
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16DCB4
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16DCC6
+ textcolor 0
+ loadword 0, gUnknown_819983F
+ callstd 4
+ trainerbattle 3, 213, 0, Text_199870
+ checkflag FLAG_0x265
+ goto_if 1, EventScript_16DC68
+ call EventScript_16DC58
+ releaseall
+ end
+
+EventScript_16DCB4:: @ 816DCB4
+ applymovement 255, Movement_1A75EB
+ applymovement 1, Movement_16DCD8
+ waitmovement 0
+ return
+
+EventScript_16DCC6:: @ 816DCC6
+ applymovement 255, Movement_1A75EB
+ applymovement 1, Movement_16DCDB
+ waitmovement 0
+ return
+
+Movement_16DCD8:: @ 816DCD8
+ step_12
+ step_12
+ step_end
+
+Movement_16DCDB:: @ 816DCDB
+ step_12
+ step_end
+
+CinnabarIsland_Gym_EventScript_16DCDD:: @ 816DCDD
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_16DCF5
+ end
+
+CinnabarIsland_Gym_EventScript_16DCE9:: @ 816DCE9
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_16DCF5
+ end
+
+EventScript_16DCF5:: @ 816DCF5
+ loadword 0, gUnknown_8199C9F
+ callstd 4
+ loadword 0, gUnknown_8199D79
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16DD41
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16DD1C
+ end
+
+EventScript_16DD1C:: @ 816DD1C
+ call EventScript_16DC27
+ checkflag FLAG_0x267
+ goto_if 1, EventScript_16DC68
+ call EventScript_16DD31
+ releaseall
+ end
+
+EventScript_16DD31:: @ 816DD31
+ playse SE_FU_ZAKU2
+ waitse
+ call EventScript_16E157
+ special DrawWholeMapView
+ setflag FLAG_0x267
+ return
+
+EventScript_16DD41:: @ 816DD41
+ call EventScript_16DC34
+ checktrainerflag 178
+ goto_if 0, EventScript_16DD51
+ releaseall
+ end
+
+EventScript_16DD51:: @ 816DD51
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16DD8B
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16DD9D
+ textcolor 0
+ loadword 0, gUnknown_81998BD
+ callstd 4
+ trainerbattle 3, 178, 0, Text_1998ED
+ checkflag FLAG_0x267
+ goto_if 1, EventScript_16DC68
+ call EventScript_16DD31
+ releaseall
+ end
+
+EventScript_16DD8B:: @ 816DD8B
+ applymovement 255, Movement_16DDB7
+ applymovement 3, Movement_16DDAF
+ waitmovement 0
+ return
+
+EventScript_16DD9D:: @ 816DD9D
+ applymovement 255, Movement_16DDB7
+ applymovement 3, Movement_16DDB3
+ waitmovement 0
+ return
+
+Movement_16DDAF:: @ 816DDAF
+ step_11
+ step_11
+ step_12
+ step_end
+
+Movement_16DDB3:: @ 816DDB3
+ step_11
+ step_11
+ step_2f
+ step_end
+
+Movement_16DDB7:: @ 816DDB7
+ step_1c
+ step_1c
+ step_30
+ step_end
+
+CinnabarIsland_Gym_EventScript_16DDBB:: @ 816DDBB
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_16DDD3
+ end
+
+CinnabarIsland_Gym_EventScript_16DDC7:: @ 816DDC7
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_16DDD3
+ end
+
+EventScript_16DDD3:: @ 816DDD3
+ loadword 0, gUnknown_8199C9F
+ callstd 4
+ loadword 0, gUnknown_8199DA9
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16DE1F
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16DDFA
+ end
+
+EventScript_16DDFA:: @ 816DDFA
+ call EventScript_16DC27
+ checkflag FLAG_0x268
+ goto_if 1, EventScript_16DC68
+ call EventScript_16DE0F
+ releaseall
+ end
+
+EventScript_16DE0F:: @ 816DE0F
+ playse SE_FU_ZAKU2
+ waitse
+ call EventScript_16E197
+ special DrawWholeMapView
+ setflag FLAG_0x268
+ return
+
+EventScript_16DE1F:: @ 816DE1F
+ call EventScript_16DC34
+ checktrainerflag 214
+ goto_if 0, EventScript_16DE2F
+ releaseall
+ end
+
+EventScript_16DE2F:: @ 816DE2F
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16DE69
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16DE7B
+ textcolor 0
+ loadword 0, gUnknown_8199948
+ callstd 4
+ trainerbattle 3, 214, 0, Text_199973
+ checkflag FLAG_0x268
+ goto_if 1, EventScript_16DC68
+ call EventScript_16DE0F
+ releaseall
+ end
+
+EventScript_16DE69:: @ 816DE69
+ applymovement 255, Movement_1A75EB
+ applymovement 4, Movement_16DE8D
+ waitmovement 0
+ return
+
+EventScript_16DE7B:: @ 816DE7B
+ applymovement 255, Movement_1A75EB
+ applymovement 4, Movement_16DE90
+ waitmovement 0
+ return
+
+Movement_16DE8D:: @ 816DE8D
+ step_12
+ step_12
+ step_end
+
+Movement_16DE90:: @ 816DE90
+ step_12
+ step_end
+
+CinnabarIsland_Gym_EventScript_16DE92:: @ 816DE92
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_16DEAA
+ end
+
+CinnabarIsland_Gym_EventScript_16DE9E:: @ 816DE9E
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_16DEAA
+ end
+
+EventScript_16DEAA:: @ 816DEAA
+ loadword 0, gUnknown_8199C9F
+ callstd 4
+ loadword 0, gUnknown_8199DC6
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16DEF6
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16DED1
+ end
+
+EventScript_16DED1:: @ 816DED1
+ call EventScript_16DC27
+ checkflag FLAG_0x269
+ goto_if 1, EventScript_16DC68
+ call EventScript_16DEE6
+ releaseall
+ end
+
+EventScript_16DEE6:: @ 816DEE6
+ playse SE_FU_ZAKU2
+ waitse
+ call EventScript_16E1D7
+ special DrawWholeMapView
+ setflag FLAG_0x269
+ return
+
+EventScript_16DEF6:: @ 816DEF6
+ call EventScript_16DC34
+ checktrainerflag 179
+ goto_if 0, EventScript_16DF06
+ releaseall
+ end
+
+EventScript_16DF06:: @ 816DF06
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16DF40
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16DF52
+ textcolor 0
+ loadword 0, gUnknown_81999B7
+ callstd 4
+ trainerbattle 3, 179, 0, Text_1999DB
+ checkflag FLAG_0x269
+ goto_if 1, EventScript_16DC68
+ call EventScript_16DEE6
+ releaseall
+ end
+
+EventScript_16DF40:: @ 816DF40
+ applymovement 255, Movement_1A75EB
+ applymovement 5, Movement_16DF64
+ waitmovement 0
+ return
+
+EventScript_16DF52:: @ 816DF52
+ applymovement 255, Movement_1A75EB
+ applymovement 5, Movement_16DF67
+ waitmovement 0
+ return
+
+Movement_16DF64:: @ 816DF64
+ step_12
+ step_12
+ step_end
+
+Movement_16DF67:: @ 816DF67
+ step_12
+ step_end
+
+CinnabarIsland_Gym_EventScript_16DF69:: @ 816DF69
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_16DF81
+ end
+
+CinnabarIsland_Gym_EventScript_16DF75:: @ 816DF75
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_16DF81
+ end
+
+EventScript_16DF81:: @ 816DF81
+ loadword 0, gUnknown_8199C9F
+ callstd 4
+ loadword 0, gUnknown_8199E00
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16DFA8
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16DFCD
+ end
+
+EventScript_16DFA8:: @ 816DFA8
+ call EventScript_16DC27
+ checkflag FLAG_0x26A
+ goto_if 1, EventScript_16DC68
+ call EventScript_16DFBD
+ releaseall
+ end
+
+EventScript_16DFBD:: @ 816DFBD
+ playse SE_FU_ZAKU2
+ waitse
+ call EventScript_16E1F3
+ special DrawWholeMapView
+ setflag FLAG_0x26A
+ return
+
+EventScript_16DFCD:: @ 816DFCD
+ call EventScript_16DC34
+ checktrainerflag 215
+ goto_if 0, EventScript_16DFDD
+ releaseall
+ end
+
+EventScript_16DFDD:: @ 816DFDD
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16E017
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16E029
+ textcolor 0
+ loadword 0, gUnknown_8199A7F
+ callstd 4
+ trainerbattle 3, 215, 0, Text_199AB9
+ checkflag FLAG_0x26A
+ goto_if 1, EventScript_16DC68
+ call EventScript_16DFBD
+ releaseall
+ end
+
+EventScript_16E017:: @ 816E017
+ applymovement 255, Movement_1A75EB
+ applymovement 6, Movement_16E03B
+ waitmovement 0
+ return
+
+EventScript_16E029:: @ 816E029
+ applymovement 255, Movement_1A75EB
+ applymovement 6, Movement_16E03E
+ waitmovement 0
+ return
+
+Movement_16E03B:: @ 816E03B
+ step_12
+ step_12
+ step_end
+
+Movement_16E03E:: @ 816E03E
+ step_12
+ step_end
+
+CinnabarIsland_Gym_EventScript_16E040:: @ 816E040
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_16E058
+ end
+
+CinnabarIsland_Gym_EventScript_16E04C:: @ 816E04C
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_16E058
+ end
+
+EventScript_16E058:: @ 816E058
+ loadword 0, gUnknown_8199C9F
+ callstd 4
+ loadword 0, gUnknown_8199E36
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16E0A4
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E07F
+ end
+
+EventScript_16E07F:: @ 816E07F
+ call EventScript_16DC27
+ checkflag FLAG_0x26B
+ goto_if 1, EventScript_16DC68
+ call EventScript_16E094
+ releaseall
+ end
+
+EventScript_16E094:: @ 816E094
+ playse SE_FU_ZAKU2
+ waitse
+ call EventScript_16E233
+ special DrawWholeMapView
+ setflag FLAG_0x26B
+ return
+
+EventScript_16E0A4:: @ 816E0A4
+ call EventScript_16DC34
+ checktrainerflag 180
+ goto_if 0, EventScript_16E0B4
+ releaseall
+ end
+
+EventScript_16E0B4:: @ 816E0B4
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16E0EE
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16E100
+ textcolor 0
+ loadword 0, gUnknown_8199AFC
+ callstd 4
+ trainerbattle 3, 180, 0, Text_199B16
+ checkflag FLAG_0x26B
+ goto_if 1, EventScript_16DC68
+ call EventScript_16E094
+ releaseall
+ end
+
+EventScript_16E0EE:: @ 816E0EE
+ applymovement 255, Movement_1A75EB
+ applymovement 7, Movement_16E112
+ waitmovement 0
+ return
+
+EventScript_16E100:: @ 816E100
+ applymovement 255, Movement_1A75EB
+ applymovement 7, Movement_16E115
+ waitmovement 0
+ return
+
+Movement_16E112:: @ 816E112
+ step_12
+ step_12
+ step_end
+
+Movement_16E115:: @ 816E115
+ step_12
+ step_end
+
+EventScript_16E117:: @ 816E117
+ setmetatile 26, 8, 711, 0
+ setmetatile 27, 8, 710, 0
+ setmetatile 26, 9, 719, 0
+ setmetatile 27, 9, 718, 0
+ setmetatile 26, 10, 649, 0
+ setmetatile 27, 10, 641, 0
+ setmetatile 28, 10, 642, 0
+ return
+
+EventScript_16E157:: @ 816E157
+ setmetatile 17, 8, 711, 0
+ setmetatile 18, 8, 710, 0
+ setmetatile 17, 9, 719, 0
+ setmetatile 18, 9, 718, 0
+ setmetatile 17, 10, 649, 0
+ setmetatile 18, 10, 641, 0
+ setmetatile 19, 10, 642, 0
+ return
+
+EventScript_16E197:: @ 816E197
+ setmetatile 17, 15, 711, 0
+ setmetatile 18, 15, 710, 0
+ setmetatile 17, 16, 719, 0
+ setmetatile 18, 16, 718, 0
+ setmetatile 17, 17, 649, 0
+ setmetatile 18, 17, 641, 0
+ setmetatile 19, 17, 642, 0
+ return
+
+EventScript_16E1D7:: @ 816E1D7
+ setmetatile 11, 21, 721, 1
+ setmetatile 11, 22, 649, 0
+ setmetatile 11, 23, 641, 0
+ return
+
+EventScript_16E1F3:: @ 816E1F3
+ setmetatile 5, 16, 711, 0
+ setmetatile 6, 16, 710, 0
+ setmetatile 5, 17, 719, 0
+ setmetatile 6, 17, 718, 0
+ setmetatile 5, 18, 649, 0
+ setmetatile 6, 18, 641, 0
+ setmetatile 7, 18, 642, 0
+ return
+
+EventScript_16E233:: @ 816E233
+ setmetatile 5, 8, 711, 0
+ setmetatile 6, 8, 710, 0
+ setmetatile 5, 9, 719, 0
+ setmetatile 6, 9, 718, 0
+ setmetatile 5, 10, 649, 0
+ setmetatile 6, 10, 641, 0
+ setmetatile 7, 10, 642, 0
+ return
diff --git a/data/maps/CinnabarIsland_Mart/map.json b/data/maps/CinnabarIsland_Mart/map.json
new file mode 100644
index 000000000..5904c5e98
--- /dev/null
+++ b/data/maps/CinnabarIsland_Mart/map.json
@@ -0,0 +1,81 @@
+{
+ "id": "MAP_CINNABAR_ISLAND_MART",
+ "name": "CinnabarIsland_Mart",
+ "layout": "LAYOUT_MART",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CINNABAR_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": "68",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_Mart_EventScript_16EA22",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_Mart_EventScript_16EA10",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_Mart_EventScript_16EA19",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CinnabarIsland_Mart/scripts.inc b/data/maps/CinnabarIsland_Mart/scripts.inc
new file mode 100644
index 000000000..f9808d872
--- /dev/null
+++ b/data/maps/CinnabarIsland_Mart/scripts.inc
@@ -0,0 +1,39 @@
+CinnabarIsland_Mart_MapScripts:: @ 816EA0F
+ .byte 0
+
+CinnabarIsland_Mart_EventScript_16EA10:: @ 816EA10
+ loadword 0, gUnknown_819A7A0
+ callstd 2
+ end
+
+CinnabarIsland_Mart_EventScript_16EA19:: @ 816EA19
+ loadword 0, gUnknown_819A7F1
+ callstd 2
+ end
+
+CinnabarIsland_Mart_EventScript_16EA22:: @ 816EA22
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16EA48
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16EA48:: @ 816EA48
+ .2byte ITEM_ULTRA_BALL
+ .2byte ITEM_GREAT_BALL
+ .2byte ITEM_HYPER_POTION
+ .2byte ITEM_REVIVE
+ .2byte ITEM_FULL_HEAL
+ .2byte ITEM_ESCAPE_ROPE
+ .2byte ITEM_MAX_REPEL
+ .2byte ITEM_NONE
+ release
+ end
diff --git a/data/maps/CinnabarIsland_PokemonCenter_1F/map.json b/data/maps/CinnabarIsland_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..b325d8e96
--- /dev/null
+++ b/data/maps/CinnabarIsland_PokemonCenter_1F/map.json
@@ -0,0 +1,140 @@
+{
+ "id": "MAP_CINNABAR_ISLAND_POKEMON_CENTER_1F",
+ "name": "CinnabarIsland_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CINNABAR_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": "CinnabarIsland_PokemonCenter_1F_EventScript_16E8E6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 2,
+ "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": "CinnabarIsland_PokemonCenter_1F_EventScript_16E8F8",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonCenter_1F_EventScript_16E8EF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 14,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonCenter_1F_EventScript_16E901",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "0",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonCenter_1F_EventScript_1AD0B9",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "0",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonCenter_1F_EventScript_1AD0B9",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "73",
+ "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": "CinnabarIsland_PokemonCenter_1F_EventScript_16E90A",
+ "flag": "162"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_CINNABAR_ISLAND_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CinnabarIsland_PokemonCenter_1F/scripts.inc b/data/maps/CinnabarIsland_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..3c15dfb23
--- /dev/null
+++ b/data/maps/CinnabarIsland_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,150 @@
+CinnabarIsland_PokemonCenter_1F_MapScripts:: @ 816E8D7
+ map_script 3, CinnabarIsland_PokemonCenter_1F_MapScript1_16E8E2
+ map_script 5, CinnabarIsland_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+CinnabarIsland_PokemonCenter_1F_MapScript1_16E8E2:: @ 816E8E2
+ setrespawn 9
+ end
+
+CinnabarIsland_PokemonCenter_1F_EventScript_16E8E6:: @ 816E8E6
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+CinnabarIsland_PokemonCenter_1F_EventScript_16E8EF:: @ 816E8EF
+ loadword 0, gUnknown_819A5BE
+ callstd 2
+ end
+
+CinnabarIsland_PokemonCenter_1F_EventScript_16E8F8:: @ 816E8F8
+ loadword 0, gUnknown_819A4F8
+ callstd 2
+ end
+
+CinnabarIsland_PokemonCenter_1F_EventScript_16E901:: @ 816E901
+ loadword 0, gUnknown_819A6B1
+ callstd 2
+ end
+
+CinnabarIsland_PokemonCenter_1F_EventScript_16E90A:: @ 816E90A
+ lock
+ faceplayer
+ loadword 0, gUnknown_819A725
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E9A5
+ loadword 0, gUnknown_819A785
+ callstd 4
+ closemessage
+ playbgm BGM_FRLG_FOLLOW_ME, 1
+ savebgm BGM_FRLG_FOLLOW_ME
+ setflag FLAG_SPECIAL_FLAG_0x4001
+ setflag FLAG_0x0A2
+ delay 20
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_16E96F
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_16E981
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_16E993
+ removeobject 7
+ setvar VAR_0x408A, 1
+ clearflag FLAG_0x062
+ warp MAP_CINNABAR_ISLAND, 255, 14, 11
+ waitstate
+ release
+ end
+
+EventScript_16E96F:: @ 816E96F
+ applymovement 7, Movement_16E9AF
+ applymovement 255, Movement_16E9B9
+ waitmovement 0
+ return
+
+EventScript_16E981:: @ 816E981
+ applymovement 7, Movement_16E9C3
+ applymovement 255, Movement_16E9CF
+ waitmovement 0
+ return
+
+EventScript_16E993:: @ 816E993
+ applymovement 7, Movement_16E9AF
+ applymovement 255, Movement_16E9DE
+ waitmovement 0
+ return
+
+EventScript_16E9A5:: @ 816E9A5
+ loadword 0, gUnknown_819A766
+ callstd 4
+ release
+ end
+
+Movement_16E9AF:: @ 816E9AF
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_1b
+ step_60
+ step_end
+
+Movement_16E9B9:: @ 816E9B9
+ step_10
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_1c
+ step_10
+ step_end
+
+Movement_16E9C3:: @ 816E9C3
+ step_11
+ step_12
+ step_12
+ step_10
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_1b
+ step_60
+ step_end
+
+Movement_16E9CF:: @ 816E9CF
+ step_1c
+ step_1c
+ step_1c
+ step_02
+ step_1c
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_1b
+ step_10
+ step_1b
+ step_60
+ step_end
+
+Movement_16E9DE:: @ 816E9DE
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_1c
+ step_10
+ step_end
diff --git a/data/maps/CinnabarIsland_PokemonCenter_2F/map.json b/data/maps/CinnabarIsland_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..8eab88cd1
--- /dev/null
+++ b/data/maps/CinnabarIsland_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_CINNABAR_ISLAND_POKEMON_CENTER_2F",
+ "name": "CinnabarIsland_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_CINNABAR_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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "CinnabarIsland_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_CINNABAR_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CinnabarIsland_PokemonCenter_2F/scripts.inc b/data/maps/CinnabarIsland_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..90969f46d
--- /dev/null
+++ b/data/maps/CinnabarIsland_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+CinnabarIsland_PokemonCenter_2F_MapScripts:: @ 816E9E8
+ map_script 2, CinnabarIsland_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, CinnabarIsland_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, CinnabarIsland_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, CinnabarIsland_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+CinnabarIsland_PokemonCenter_2F_EventScript_16E9FD:: @ 816E9FD
+ call EventScript_1BB4A3
+ end
+
+EventScript_16EA03:: @ 816EA03
+ call EventScript_1BB6AB
+ end
+
+EventScript_16EA09:: @ 816EA09
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/CinnabarIsland_PokemonLab_Entrance/map.json b/data/maps/CinnabarIsland_PokemonLab_Entrance/map.json
new file mode 100644
index 000000000..51bba9ff3
--- /dev/null
+++ b/data/maps/CinnabarIsland_PokemonLab_Entrance/map.json
@@ -0,0 +1,105 @@
+{
+ "id": "MAP_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
+ "name": "CinnabarIsland_PokemonLab_Entrance",
+ "layout": "LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
+ "music": "BGM_FRLG_CINNABAR_ISLAND",
+ "region_map_section": "MAPSEC_CINNABAR_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": "55",
+ "x": 2,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonLab_Entrance_EventScript_16E28B",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 13,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_LOUNGE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 19,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_RESEARCH_ROOM",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 25,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_EXPERIMENT_ROOM",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "CinnabarIsland_PokemonLab_Entrance_EventScript_16E294"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 5,
+ "elevation": 0,
+ "script": "CinnabarIsland_PokemonLab_Entrance_EventScript_16E29D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 18,
+ "y": 5,
+ "elevation": 0,
+ "script": "CinnabarIsland_PokemonLab_Entrance_EventScript_16E2A6"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 24,
+ "y": 5,
+ "elevation": 0,
+ "script": "CinnabarIsland_PokemonLab_Entrance_EventScript_16E2AF"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CinnabarIsland_PokemonLab_Entrance/scripts.inc b/data/maps/CinnabarIsland_PokemonLab_Entrance/scripts.inc
new file mode 100644
index 000000000..e32112ffc
--- /dev/null
+++ b/data/maps/CinnabarIsland_PokemonLab_Entrance/scripts.inc
@@ -0,0 +1,37 @@
+CinnabarIsland_PokemonLab_Entrance_MapScripts:: @ 816E273
+ map_script 3, CinnabarIsland_PokemonLab_Entrance_MapScript1_16E279
+ .byte 0
+
+CinnabarIsland_PokemonLab_Entrance_MapScript1_16E279:: @ 816E279
+ compare_var_to_value VAR_0x406A, 1
+ call_if 1, EventScript_16E285
+ end
+
+EventScript_16E285:: @ 816E285
+ setvar VAR_0x406A, 2
+ return
+
+CinnabarIsland_PokemonLab_Entrance_EventScript_16E28B:: @ 816E28B
+ loadword 0, gUnknown_8199EE5
+ callstd 2
+ end
+
+CinnabarIsland_PokemonLab_Entrance_EventScript_16E294:: @ 816E294
+ loadword 0, gUnknown_8199F41
+ callstd 3
+ end
+
+CinnabarIsland_PokemonLab_Entrance_EventScript_16E29D:: @ 816E29D
+ loadword 0, gUnknown_8199F6A
+ callstd 3
+ end
+
+CinnabarIsland_PokemonLab_Entrance_EventScript_16E2A6:: @ 816E2A6
+ loadword 0, gUnknown_8199F83
+ callstd 3
+ end
+
+CinnabarIsland_PokemonLab_Entrance_EventScript_16E2AF:: @ 816E2AF
+ loadword 0, gUnknown_8199F9A
+ callstd 3
+ end
diff --git a/data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/map.json b/data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/map.json
new file mode 100644
index 000000000..8a12c33c7
--- /dev/null
+++ b/data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_CINNABAR_ISLAND_POKEMON_LAB_EXPERIMENT_ROOM",
+ "name": "CinnabarIsland_PokemonLab_ExperimentRoom",
+ "layout": "LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_EXPERIMENT_ROOM",
+ "music": "BGM_FRLG_CINNABAR_ISLAND",
+ "region_map_section": "MAPSEC_CINNABAR_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": "19",
+ "x": 11,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonLab_ExperimentRoom_EventScript_16E401",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 12,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonLab_ExperimentRoom_EventScript_16E47D",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/scripts.inc b/data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/scripts.inc
new file mode 100644
index 000000000..3b0168728
--- /dev/null
+++ b/data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/scripts.inc
@@ -0,0 +1,362 @@
+CinnabarIsland_PokemonLab_ExperimentRoom_MapScripts:: @ 816E400
+ .byte 0
+
+CinnabarIsland_PokemonLab_ExperimentRoom_EventScript_16E401:: @ 816E401
+ lock
+ faceplayer
+ setvar VAR_0x8008, 8
+ call EventScript_1A8CAD
+ checkflag FLAG_0x276
+ goto_if 1, EventScript_16E473
+ loadword 0, gUnknown_81A597B
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E45B
+ call EventScript_1A8CBD
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_16E45B
+ call EventScript_1A8CC9
+ compare_var_to_var VAR_RESULT, VAR_0x8009
+ goto_if 5, EventScript_16E465
+ call EventScript_1A8CD9
+ loadword 0, gUnknown_81A59DA
+ callstd 4
+ setflag FLAG_0x276
+ release
+ end
+
+EventScript_16E45B:: @ 816E45B
+ loadword 0, gUnknown_81A59B6
+ callstd 4
+ release
+ end
+
+EventScript_16E465:: @ 816E465
+ getspeciesname 0, 32777
+ loadword 0, gUnknown_81A59C6
+ callstd 4
+ release
+ end
+
+EventScript_16E473:: @ 816E473
+ loadword 0, gUnknown_81A59E7
+ callstd 4
+ release
+ end
+
+CinnabarIsland_PokemonLab_ExperimentRoom_EventScript_16E47D:: @ 816E47D
+ lock
+ faceplayer
+ setvar VAR_RESULT, 0
+ checkflag FLAG_0x2EE
+ call_if 1, EventScript_16E8A1
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16E897
+ compare_var_to_value VAR_0x406A, 2
+ goto_if 1, EventScript_16E736
+ compare_var_to_value VAR_0x406A, 1
+ goto_if 1, EventScript_16E72C
+ call EventScript_16E4EC
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16E544
+ call EventScript_16E504
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16E586
+ call EventScript_16E51C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16E5C8
+ loadword 0, gUnknown_819A282
+ callstd 4
+ goto EventScript_16E53A
+ end
+
+EventScript_16E4EC:: @ 816E4EC
+ checkflag FLAG_0x273
+ goto_if 0, EventScript_16E534
+ checkflag FLAG_0x2ED
+ goto_if 1, EventScript_16E534
+ setvar VAR_RESULT, 1
+ return
+
+EventScript_16E504:: @ 816E504
+ checkflag FLAG_0x272
+ goto_if 0, EventScript_16E534
+ checkflag FLAG_0x2EC
+ goto_if 1, EventScript_16E534
+ setvar VAR_RESULT, 1
+ return
+
+EventScript_16E51C:: @ 816E51C
+ checkflag FLAG_0x25E
+ goto_if 0, EventScript_16E534
+ checkflag FLAG_0x2EE
+ goto_if 1, EventScript_16E534
+ setvar VAR_RESULT, 1
+ return
+
+EventScript_16E534:: @ 816E534
+ setvar VAR_RESULT, 0
+ return
+
+EventScript_16E53A:: @ 816E53A
+ loadword 0, gUnknown_819A314
+ callstd 4
+ release
+ end
+
+EventScript_16E544:: @ 816E544
+ message Text_19A282
+ waitmessage
+ call EventScript_16E51C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16E5FA
+ multichoice 0, 0, 21, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16E668
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16E53A
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16E53A
+ end
+
+EventScript_16E586:: @ 816E586
+ message Text_19A282
+ waitmessage
+ call EventScript_16E51C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16E631
+ multichoice 0, 0, 22, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16E6A6
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16E53A
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16E53A
+ end
+
+EventScript_16E5C8:: @ 816E5C8
+ message Text_19A282
+ waitmessage
+ multichoice 0, 0, 23, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16E6E4
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16E53A
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16E53A
+ end
+
+EventScript_16E5FA:: @ 816E5FA
+ multichoice 0, 0, 24, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16E668
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16E6E4
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16E53A
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16E53A
+ end
+
+EventScript_16E631:: @ 816E631
+ multichoice 0, 0, 25, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16E6A6
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16E6E4
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16E53A
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16E53A
+ end
+
+EventScript_16E668:: @ 816E668
+ getspeciesname 0, SPECIES_OMANYTE
+ getitemname 1, ITEM_HELIX_FOSSIL
+ loadword 0, gUnknown_819A3D4
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E722
+ loadword 0, gUnknown_819A45D
+ callstd 4
+ textcolor 0
+ removeitem ITEM_HELIX_FOSSIL, 1
+ loadword 0, gUnknown_819A4AB
+ callstd 4
+ setvar VAR_0x406A, 1
+ setvar VAR_0x4069, 1
+ release
+ end
+
+EventScript_16E6A6:: @ 816E6A6
+ getspeciesname 0, SPECIES_KABUTO
+ getitemname 1, ITEM_DOME_FOSSIL
+ loadword 0, gUnknown_819A3D4
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E722
+ loadword 0, gUnknown_819A45D
+ callstd 4
+ textcolor 0
+ removeitem ITEM_DOME_FOSSIL, 1
+ loadword 0, gUnknown_819A4AB
+ callstd 4
+ setvar VAR_0x406A, 1
+ setvar VAR_0x4069, 2
+ release
+ end
+
+EventScript_16E6E4:: @ 816E6E4
+ getspeciesname 0, SPECIES_AERODACTYL
+ getitemname 1, ITEM_OLD_AMBER
+ loadword 0, gUnknown_819A3D4
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E722
+ loadword 0, gUnknown_819A45D
+ callstd 4
+ textcolor 0
+ removeitem ITEM_OLD_AMBER, 1
+ loadword 0, gUnknown_819A4AB
+ callstd 4
+ setvar VAR_0x406A, 1
+ setvar VAR_0x4069, 3
+ release
+ end
+
+EventScript_16E722:: @ 816E722
+ loadword 0, gUnknown_819A4E1
+ callstd 4
+ release
+ end
+
+EventScript_16E72C:: @ 816E72C
+ loadword 0, gUnknown_819A4AB
+ callstd 4
+ release
+ end
+
+EventScript_16E736:: @ 816E736
+ compare_var_to_value VAR_0x4069, 1
+ goto_if 1, EventScript_16E758
+ compare_var_to_value VAR_0x4069, 2
+ goto_if 1, EventScript_16E79D
+ compare_var_to_value VAR_0x4069, 3
+ goto_if 1, EventScript_16E7E2
+ end
+
+EventScript_16E758:: @ 816E758
+ setvar VAR_0x4001, 138
+ getspeciesname 0, SPECIES_OMANYTE
+ loadword 0, gUnknown_819A34F
+ callstd 4
+ givemon SPECIES_OMANYTE, 5, ITEM_NONE, 0, 0, 0
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A927C
+ setflag FLAG_0x2ED
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E827
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16E85B
+ end
+
+EventScript_16E79D:: @ 816E79D
+ setvar VAR_0x4001, 140
+ getspeciesname 0, SPECIES_KABUTO
+ loadword 0, gUnknown_819A34F
+ callstd 4
+ givemon SPECIES_KABUTO, 5, ITEM_NONE, 0, 0, 0
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A927C
+ setflag FLAG_0x2EC
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E827
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16E85B
+ end
+
+EventScript_16E7E2:: @ 816E7E2
+ setvar VAR_0x4001, 142
+ getspeciesname 0, SPECIES_AERODACTYL
+ loadword 0, gUnknown_819A34F
+ callstd 4
+ givemon SPECIES_AERODACTYL, 5, ITEM_NONE, 0, 0, 0
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A927C
+ setflag FLAG_0x2EE
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E827
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16E85B
+ end
+
+EventScript_16E827:: @ 816E827
+ textcolor 3
+ playfanfare MUS_FANFA1
+ message Text_19A39E
+ waitmessage
+ waitfanfare
+ setvar VAR_0x406A, 0
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E895
+ call EventScript_1A8C27
+ call EventScript_1A74EB
+ goto EventScript_16E895
+ end
+
+EventScript_16E85B:: @ 816E85B
+ textcolor 3
+ playfanfare MUS_FANFA1
+ message Text_19A39E
+ waitmessage
+ waitfanfare
+ setvar VAR_0x406A, 0
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E88A
+ call EventScript_1A8C33
+ goto EventScript_16E88A
+ end
+
+EventScript_16E88A:: @ 816E88A
+ call EventScript_1A8C3C
+ goto EventScript_16E895
+ end
+
+EventScript_16E895:: @ 816E895
+ release
+ end
+
+EventScript_16E897:: @ 816E897
+ loadword 0, gUnknown_819A4E1
+ callstd 4
+ release
+ end
+
+EventScript_16E8A1:: @ 816E8A1
+ checkflag FLAG_0x273
+ goto_if 1, EventScript_16E8B9
+ checkflag FLAG_0x272
+ goto_if 1, EventScript_16E8C8
+ goto EventScript_16E534
+ end
+
+EventScript_16E8B9:: @ 816E8B9
+ checkflag FLAG_0x2ED
+ goto_if 0, EventScript_16E534
+ setvar VAR_RESULT, 1
+ return
+
+EventScript_16E8C8:: @ 816E8C8
+ checkflag FLAG_0x2EC
+ goto_if 0, EventScript_16E534
+ setvar VAR_RESULT, 1
+ return
diff --git a/data/maps/CinnabarIsland_PokemonLab_Lounge/map.json b/data/maps/CinnabarIsland_PokemonLab_Lounge/map.json
new file mode 100644
index 000000000..6fb33bc66
--- /dev/null
+++ b/data/maps/CinnabarIsland_PokemonLab_Lounge/map.json
@@ -0,0 +1,67 @@
+{
+ "id": "MAP_CINNABAR_ISLAND_POKEMON_LAB_LOUNGE",
+ "name": "CinnabarIsland_PokemonLab_Lounge",
+ "layout": "LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_LOUNGE",
+ "music": "BGM_FRLG_CINNABAR_ISLAND",
+ "region_map_section": "MAPSEC_CINNABAR_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": "55",
+ "x": 5,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonLab_Lounge_EventScript_16E2B9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "33",
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonLab_Lounge_EventScript_16E2C2",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 10,
+ "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": "CinnabarIsland_PokemonLab_Lounge_EventScript_16E33E",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/CinnabarIsland_PokemonLab_Lounge/scripts.inc b/data/maps/CinnabarIsland_PokemonLab_Lounge/scripts.inc
new file mode 100644
index 000000000..cf6b63139
--- /dev/null
+++ b/data/maps/CinnabarIsland_PokemonLab_Lounge/scripts.inc
@@ -0,0 +1,103 @@
+CinnabarIsland_PokemonLab_Lounge_MapScripts:: @ 816E2B8
+ .byte 0
+
+CinnabarIsland_PokemonLab_Lounge_EventScript_16E2B9:: @ 816E2B9
+ loadword 0, gUnknown_8199FB3
+ callstd 2
+ end
+
+CinnabarIsland_PokemonLab_Lounge_EventScript_16E2C2:: @ 816E2C2
+ lock
+ faceplayer
+ setvar VAR_0x8008, 6
+ call EventScript_1A8CAD
+ checkflag FLAG_0x274
+ goto_if 1, EventScript_16E334
+ loadword 0, gUnknown_81A59FE
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E31C
+ call EventScript_1A8CBD
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_16E31C
+ call EventScript_1A8CC9
+ compare_var_to_var VAR_RESULT, VAR_0x8009
+ goto_if 5, EventScript_16E326
+ call EventScript_1A8CD9
+ loadword 0, gUnknown_81A5A9D
+ callstd 4
+ setflag FLAG_0x274
+ release
+ end
+
+EventScript_16E31C:: @ 816E31C
+ loadword 0, gUnknown_81A5A4E
+ callstd 4
+ release
+ end
+
+EventScript_16E326:: @ 816E326
+ getspeciesname 0, 32777
+ loadword 0, gUnknown_81A5A6A
+ callstd 4
+ release
+ end
+
+EventScript_16E334:: @ 816E334
+ loadword 0, gUnknown_81A5AA5
+ callstd 4
+ release
+ end
+
+CinnabarIsland_PokemonLab_Lounge_EventScript_16E33E:: @ 816E33E
+ lock
+ faceplayer
+ setvar VAR_0x8008, 7
+ copyvar VAR_0x8004, VAR_0x8008
+ specialvar VAR_RESULT, sub_8053A9C
+ copyvar VAR_0x8009, VAR_RESULT
+ checkflag FLAG_0x275
+ goto_if 1, EventScript_16E3D4
+ loadword 0, gUnknown_81A5AD6
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16E3BC
+ special sub_80BF8FC
+ waitstate
+ copyvar VAR_0x800A, VAR_0x8004
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_16E3BC
+ copyvar VAR_0x8005, VAR_0x800A
+ specialvar VAR_RESULT, sub_8053D2C
+ copyvar VAR_0x800B, VAR_RESULT
+ compare_var_to_var VAR_RESULT, VAR_0x8009
+ goto_if 5, EventScript_16E3C6
+ copyvar VAR_0x8004, VAR_0x8008
+ copyvar VAR_0x8005, VAR_0x800A
+ special sub_8053D68
+ special sub_8054440
+ waitstate
+ loadword 0, gUnknown_81A5B4A
+ callstd 4
+ setflag FLAG_0x275
+ release
+ end
+
+EventScript_16E3BC:: @ 816E3BC
+ loadword 0, gUnknown_81A5B08
+ callstd 4
+ release
+ end
+
+EventScript_16E3C6:: @ 816E3C6
+ getspeciesname 0, 32777
+ loadword 0, gUnknown_81A5B18
+ callstd 4
+ release
+ end
+
+EventScript_16E3D4:: @ 816E3D4
+ loadword 0, gUnknown_81A5B60
+ callstd 4
+ release
+ end
diff --git a/data/maps/CinnabarIsland_PokemonLab_ResearchRoom/map.json b/data/maps/CinnabarIsland_PokemonLab_ResearchRoom/map.json
new file mode 100644
index 000000000..f1d049604
--- /dev/null
+++ b/data/maps/CinnabarIsland_PokemonLab_ResearchRoom/map.json
@@ -0,0 +1,69 @@
+{
+ "id": "MAP_CINNABAR_ISLAND_POKEMON_LAB_RESEARCH_ROOM",
+ "name": "CinnabarIsland_PokemonLab_ResearchRoom",
+ "layout": "LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_RESEARCH_ROOM",
+ "music": "BGM_FRLG_CINNABAR_ISLAND",
+ "region_map_section": "MAPSEC_CINNABAR_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": "52",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonLab_ResearchRoom_EventScript_16E3DF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 10,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "CinnabarIsland_PokemonLab_ResearchRoom_EventScript_16E3E5",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 1,
+ "elevation": 0,
+ "script": "CinnabarIsland_PokemonLab_ResearchRoom_EventScript_16E3F7"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "script": "CinnabarIsland_PokemonLab_ResearchRoom_EventScript_16E3EE"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/CinnabarIsland_PokemonLab_ResearchRoom/scripts.inc b/data/maps/CinnabarIsland_PokemonLab_ResearchRoom/scripts.inc
new file mode 100644
index 000000000..00fe86925
--- /dev/null
+++ b/data/maps/CinnabarIsland_PokemonLab_ResearchRoom/scripts.inc
@@ -0,0 +1,21 @@
+CinnabarIsland_PokemonLab_ResearchRoom_MapScripts:: @ 816E3DE
+ .byte 0
+
+CinnabarIsland_PokemonLab_ResearchRoom_EventScript_16E3DF:: @ 816E3DF
+ goto EventScript_1C4C8E
+ end
+
+CinnabarIsland_PokemonLab_ResearchRoom_EventScript_16E3E5:: @ 816E3E5
+ loadword 0, gUnknown_819A015
+ callstd 2
+ end
+
+CinnabarIsland_PokemonLab_ResearchRoom_EventScript_16E3EE:: @ 816E3EE
+ loadword 0, gUnknown_819A04A
+ callstd 3
+ end
+
+CinnabarIsland_PokemonLab_ResearchRoom_EventScript_16E3F7:: @ 816E3F7
+ loadword 0, gUnknown_819A128
+ callstd 3
+ end
diff --git a/data/maps/DiglettsCave_B1F/map.json b/data/maps/DiglettsCave_B1F/map.json
new file mode 100644
index 000000000..0494960fb
--- /dev/null
+++ b/data/maps/DiglettsCave_B1F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_DIGLETTS_CAVE_B1F",
+ "name": "DiglettsCave_B1F",
+ "layout": "LAYOUT_DIGLETTS_CAVE_B1F",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_DIGLETTS_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_DIGLETTS_CAVE_NORTH_ENTRANCE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 82,
+ "y": 71,
+ "elevation": 3,
+ "dest_map": "MAP_DIGLETTS_CAVE_SOUTH_ENTRANCE",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/DiglettsCave_B1F/scripts.inc b/data/maps/DiglettsCave_B1F/scripts.inc
new file mode 100644
index 000000000..cda6522cc
--- /dev/null
+++ b/data/maps/DiglettsCave_B1F/scripts.inc
@@ -0,0 +1,7 @@
+DiglettsCave_B1F_MapScripts:: @ 8160EF1
+ map_script 3, DiglettsCave_B1F_MapScript1_160EF7
+ .byte 0
+
+DiglettsCave_B1F_MapScript1_160EF7:: @ 8160EF7
+ setworldmapflag 2217
+ end
diff --git a/data/maps/DiglettsCave_NorthEntrance/map.json b/data/maps/DiglettsCave_NorthEntrance/map.json
new file mode 100644
index 000000000..77947f6db
--- /dev/null
+++ b/data/maps/DiglettsCave_NorthEntrance/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_DIGLETTS_CAVE_NORTH_ENTRANCE",
+ "name": "DiglettsCave_NorthEntrance",
+ "layout": "LAYOUT_DIGLETTS_CAVE_NORTH_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_DIGLETTS_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "56",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "DiglettsCave_NorthEntrance_EventScript_160EE8",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_DIGLETTS_CAVE_B1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/DiglettsCave_NorthEntrance/scripts.inc b/data/maps/DiglettsCave_NorthEntrance/scripts.inc
new file mode 100644
index 000000000..d5361b81a
--- /dev/null
+++ b/data/maps/DiglettsCave_NorthEntrance/scripts.inc
@@ -0,0 +1,7 @@
+DiglettsCave_NorthEntrance_MapScripts:: @ 8160EE7
+ .byte 0
+
+DiglettsCave_NorthEntrance_EventScript_160EE8:: @ 8160EE8
+ loadword 0, gUnknown_817462C
+ callstd 2
+ end
diff --git a/data/maps/DiglettsCave_SouthEntrance/map.json b/data/maps/DiglettsCave_SouthEntrance/map.json
new file mode 100644
index 000000000..2cbe9c6e0
--- /dev/null
+++ b/data/maps/DiglettsCave_SouthEntrance/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_DIGLETTS_CAVE_SOUTH_ENTRANCE",
+ "name": "DiglettsCave_SouthEntrance",
+ "layout": "LAYOUT_DIGLETTS_CAVE_SOUTH_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_DIGLETTS_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "32",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "DiglettsCave_SouthEntrance_EventScript_160EFC",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE11",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_DIGLETTS_CAVE_B1F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/DiglettsCave_SouthEntrance/scripts.inc b/data/maps/DiglettsCave_SouthEntrance/scripts.inc
new file mode 100644
index 000000000..78db82fe7
--- /dev/null
+++ b/data/maps/DiglettsCave_SouthEntrance/scripts.inc
@@ -0,0 +1,7 @@
+DiglettsCave_SouthEntrance_MapScripts:: @ 8160EFB
+ .byte 0
+
+DiglettsCave_SouthEntrance_EventScript_160EFC:: @ 8160EFC
+ loadword 0, gUnknown_81746A7
+ callstd 2
+ end
diff --git a/data/maps/FiveIsland/map.json b/data/maps/FiveIsland/map.json
new file mode 100644
index 000000000..b34f0aaf0
--- /dev/null
+++ b/data/maps/FiveIsland/map.json
@@ -0,0 +1,107 @@
+{
+ "id": "MAP_FIVE_ISLAND",
+ "name": "FiveIsland",
+ "layout": "LAYOUT_FIVE_ISLAND",
+ "music": "BGM_FRLG_ISLAND_FOUR",
+ "region_map_section": "MAPSEC_FIVE_ISLAND",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_FIVE_ISLAND_WATER_LABYRINTH",
+ "offset": -48,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_FIVE_ISLAND_MEADOW",
+ "offset": 0,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "57",
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_EventScript_167EAA",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 16,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_EventScript_167EA1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65375",
+ "x": 32,
+ "y": 9,
+ "elevation": 4,
+ "movement_type": "0",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 56,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "0x0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 12,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_HARBOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 18,
+ "y": 6,
+ "elevation": 0,
+ "dest_map": "MAP_FIVE_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 12,
+ "y": 6,
+ "elevation": 0,
+ "dest_map": "MAP_FIVE_ISLAND_HOUSE1",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 22,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_FIVE_ISLAND_HOUSE2",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 20,
+ "y": 8,
+ "elevation": 0,
+ "script": "FiveIsland_EventScript_167E98"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland/scripts.inc b/data/maps/FiveIsland/scripts.inc
new file mode 100644
index 000000000..43db0e050
--- /dev/null
+++ b/data/maps/FiveIsland/scripts.inc
@@ -0,0 +1,22 @@
+FiveIsland_MapScripts:: @ 8167E8E
+ map_script 3, FiveIsland_MapScript1_167E94
+ .byte 0
+
+FiveIsland_MapScript1_167E94:: @ 8167E94
+ setworldmapflag 2207
+ end
+
+FiveIsland_EventScript_167E98:: @ 8167E98
+ loadword 0, gUnknown_8182DFB
+ callstd 3
+ end
+
+FiveIsland_EventScript_167EA1:: @ 8167EA1
+ loadword 0, gUnknown_8182E26
+ callstd 2
+ end
+
+FiveIsland_EventScript_167EAA:: @ 8167EAA
+ loadword 0, gUnknown_8182E96
+ callstd 2
+ end
diff --git a/data/maps/FiveIsland_Harbor/map.json b/data/maps/FiveIsland_Harbor/map.json
new file mode 100644
index 000000000..96b4c12b2
--- /dev/null
+++ b/data/maps/FiveIsland_Harbor/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_FIVE_ISLAND_HARBOR",
+ "name": "FiveIsland_Harbor",
+ "layout": "LAYOUT_ISLAND_HARBOR",
+ "music": "BGM_FRLG_ISLAND_FOUR",
+ "region_map_section": "MAPSEC_FIVE_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": "108",
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_Harbor_EventScript_171D43",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_Harbor/scripts.inc b/data/maps/FiveIsland_Harbor/scripts.inc
new file mode 100644
index 000000000..a88a2f3fd
--- /dev/null
+++ b/data/maps/FiveIsland_Harbor/scripts.inc
@@ -0,0 +1,11 @@
+FiveIsland_Harbor_MapScripts:: @ 8171D42
+ .byte 0
+
+FiveIsland_Harbor_EventScript_171D43:: @ 8171D43
+ lock
+ faceplayer
+ message Text_181726
+ waitmessage
+ setvar VAR_0x8004, 5
+ goto EventScript_1A900F
+ end
diff --git a/data/maps/FiveIsland_House1/map.json b/data/maps/FiveIsland_House1/map.json
new file mode 100644
index 000000000..ffd475b42
--- /dev/null
+++ b/data/maps/FiveIsland_House1/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_FIVE_ISLAND_HOUSE1",
+ "name": "FiveIsland_House1",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_FOUR",
+ "region_map_section": "MAPSEC_FIVE_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": "31",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_House1_EventScript_171D57",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_House1/scripts.inc b/data/maps/FiveIsland_House1/scripts.inc
new file mode 100644
index 000000000..ca38f9944
--- /dev/null
+++ b/data/maps/FiveIsland_House1/scripts.inc
@@ -0,0 +1,7 @@
+FiveIsland_House1_MapScripts:: @ 8171D56
+ .byte 0
+
+FiveIsland_House1_EventScript_171D57:: @ 8171D57
+ loadword 0, gUnknown_81A3CAC
+ callstd 2
+ end
diff --git a/data/maps/FiveIsland_House2/map.json b/data/maps/FiveIsland_House2/map.json
new file mode 100644
index 000000000..bc3d2853c
--- /dev/null
+++ b/data/maps/FiveIsland_House2/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_FIVE_ISLAND_HOUSE2",
+ "name": "FiveIsland_House2",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_FOUR",
+ "region_map_section": "MAPSEC_FIVE_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": "32",
+ "x": 2,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_House2_EventScript_171D61",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_House2/scripts.inc b/data/maps/FiveIsland_House2/scripts.inc
new file mode 100644
index 000000000..313e27a92
--- /dev/null
+++ b/data/maps/FiveIsland_House2/scripts.inc
@@ -0,0 +1,7 @@
+FiveIsland_House2_MapScripts:: @ 8171D60
+ .byte 0
+
+FiveIsland_House2_EventScript_171D61:: @ 8171D61
+ loadword 0, gUnknown_81A3D5E
+ callstd 2
+ end
diff --git a/data/maps/FiveIsland_LostCave_Entrance/map.json b/data/maps/FiveIsland_LostCave_Entrance/map.json
new file mode 100644
index 000000000..c70a0558f
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Entrance/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ENTRANCE",
+ "name": "FiveIsland_LostCave_Entrance",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ENTRANCE",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_RESORT_GORGEOUS",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Entrance/scripts.inc b/data/maps/FiveIsland_LostCave_Entrance/scripts.inc
new file mode 100644
index 000000000..a6dc91f63
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Entrance/scripts.inc
@@ -0,0 +1,7 @@
+FiveIsland_LostCave_Entrance_MapScripts:: @ 8164BEC
+ map_script 3, FiveIsland_LostCave_Entrance_MapScript1_164BF2
+ .byte 0
+
+FiveIsland_LostCave_Entrance_MapScript1_164BF2:: @ 8164BF2
+ setworldmapflag 2236
+ end
diff --git a/data/maps/FiveIsland_LostCave_Room1/map.json b/data/maps/FiveIsland_LostCave_Room1/map.json
new file mode 100644
index 000000000..195e53dcb
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room1/map.json
@@ -0,0 +1,69 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "name": "FiveIsland_LostCave_Room1",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "56",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "FiveIsland_LostCave_Room1_EventScript_164BF7",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM2",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room1/scripts.inc b/data/maps/FiveIsland_LostCave_Room1/scripts.inc
new file mode 100644
index 000000000..2225c0315
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room1/scripts.inc
@@ -0,0 +1,8 @@
+FiveIsland_LostCave_Room1_MapScripts:: @ 8164BF6
+ .byte 0
+
+FiveIsland_LostCave_Room1_EventScript_164BF7:: @ 8164BF7
+ trainerbattle 0, 607, 0, Text_17CEF5, Text_17CF42
+ loadword 0, gUnknown_817CF54
+ callstd 6
+ end
diff --git a/data/maps/FiveIsland_LostCave_Room10/map.json b/data/maps/FiveIsland_LostCave_Room10/map.json
new file mode 100644
index 000000000..42e7f0179
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room10/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM10",
+ "name": "FiveIsland_LostCave_Room10",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM10",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "28",
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "147"
+ },
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "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": "FiveIsland_LostCave_Room10_EventScript_1BEDBB",
+ "flag": "504"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room10/scripts.inc b/data/maps/FiveIsland_LostCave_Room10/scripts.inc
new file mode 100644
index 000000000..4a8283959
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room10/scripts.inc
@@ -0,0 +1,68 @@
+FiveIsland_LostCave_Room10_MapScripts:: @ 8164C2D
+ map_script 5, FiveIsland_LostCave_Room10_MapScript1_164C38
+ map_script 2, FiveIsland_LostCave_Room10_MapScript2_164C48
+ .byte 0
+
+FiveIsland_LostCave_Room10_MapScript1_164C38:: @ 8164C38
+ checktrainerflag 606
+ call_if 1, EventScript_164C42
+ end
+
+EventScript_164C42:: @ 8164C42
+ setvar VAR_0x4083, 1
+ return
+
+FiveIsland_LostCave_Room10_MapScript2_164C48:: @ 8164C48
+ map_script_2 VAR_0x4083, 0, EventScript_164C52
+ .2byte 0
+
+EventScript_164C52:: @ 8164C52
+ lockall
+ textcolor 1
+ applymovement 1, Movement_164CC0
+ waitmovement 0
+ delay 100
+ applymovement 1, Movement_164CC8
+ waitmovement 0
+ loadword 0, gUnknown_817D062
+ callstd 4
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_164CB6
+ trainerbattle 3, 606, 0, Text_17D086
+ loadword 0, gUnknown_817D0B2
+ callstd 4
+ closemessage
+ call EventScript_164CA5
+ warp MAP_FIVE_ISLAND_RESORT_GORGEOUS, 255, 39, 10
+ waitstate
+ releaseall
+ end
+
+EventScript_164CA5:: @ 8164CA5
+ setflag FLAG_0x093
+ clearflag FLAG_0x094
+ setvar VAR_0x4083, 1
+ setvar VAR_0x4084, 1
+ return
+
+EventScript_164CB6:: @ 8164CB6
+ settrainerflag 606
+ call EventScript_164CA5
+ releaseall
+ end
+
+Movement_164CC0:: @ 8164CC0
+ step_12
+ step_1c
+ step_13
+ step_1c
+ step_2e
+ step_1c
+ step_2d
+ step_end
+
+Movement_164CC8:: @ 8164CC8
+ step_10
+ step_10
+ step_end
diff --git a/data/maps/FiveIsland_LostCave_Room11/map.json b/data/maps/FiveIsland_LostCave_Room11/map.json
new file mode 100644
index 000000000..47155c19d
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room11/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM11",
+ "name": "FiveIsland_LostCave_Room11",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM11",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "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": "FiveIsland_LostCave_Room11_EventScript_1BEDC8",
+ "flag": "505"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room11/scripts.inc b/data/maps/FiveIsland_LostCave_Room11/scripts.inc
new file mode 100644
index 000000000..be5962481
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room11/scripts.inc
@@ -0,0 +1,2 @@
+FiveIsland_LostCave_Room11_MapScripts:: @ 8164CCB
+ .byte 0
diff --git a/data/maps/FiveIsland_LostCave_Room12/map.json b/data/maps/FiveIsland_LostCave_Room12/map.json
new file mode 100644
index 000000000..cbe79bf74
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room12/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM12",
+ "name": "FiveIsland_LostCave_Room12",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM12",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "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": "FiveIsland_LostCave_Room12_EventScript_1BEDD5",
+ "flag": "506"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room12/scripts.inc b/data/maps/FiveIsland_LostCave_Room12/scripts.inc
new file mode 100644
index 000000000..388153884
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room12/scripts.inc
@@ -0,0 +1,2 @@
+FiveIsland_LostCave_Room12_MapScripts:: @ 8164CCC
+ .byte 0
diff --git a/data/maps/FiveIsland_LostCave_Room13/map.json b/data/maps/FiveIsland_LostCave_Room13/map.json
new file mode 100644
index 000000000..b39a12fd3
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room13/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM13",
+ "name": "FiveIsland_LostCave_Room13",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM13",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "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": "FiveIsland_LostCave_Room13_EventScript_1BEDE2",
+ "flag": "507"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room13/scripts.inc b/data/maps/FiveIsland_LostCave_Room13/scripts.inc
new file mode 100644
index 000000000..9ee934a90
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room13/scripts.inc
@@ -0,0 +1,2 @@
+FiveIsland_LostCave_Room13_MapScripts:: @ 8164CCD
+ .byte 0
diff --git a/data/maps/FiveIsland_LostCave_Room14/map.json b/data/maps/FiveIsland_LostCave_Room14/map.json
new file mode 100644
index 000000000..5e4f7aa07
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room14/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM14",
+ "name": "FiveIsland_LostCave_Room14",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM14",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "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": "FiveIsland_LostCave_Room14_EventScript_1BEDEF",
+ "flag": "508"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room14/scripts.inc b/data/maps/FiveIsland_LostCave_Room14/scripts.inc
new file mode 100644
index 000000000..b7e59feaa
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room14/scripts.inc
@@ -0,0 +1,2 @@
+FiveIsland_LostCave_Room14_MapScripts:: @ 8164CCE
+ .byte 0
diff --git a/data/maps/FiveIsland_LostCave_Room2/map.json b/data/maps/FiveIsland_LostCave_Room2/map.json
new file mode 100644
index 000000000..df991bd96
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room2/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM2",
+ "name": "FiveIsland_LostCave_Room2",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM2",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM3",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM11",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room2/scripts.inc b/data/maps/FiveIsland_LostCave_Room2/scripts.inc
new file mode 100644
index 000000000..29aab8eeb
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room2/scripts.inc
@@ -0,0 +1,2 @@
+FiveIsland_LostCave_Room2_MapScripts:: @ 8164C0E
+ .byte 0
diff --git a/data/maps/FiveIsland_LostCave_Room3/map.json b/data/maps/FiveIsland_LostCave_Room3/map.json
new file mode 100644
index 000000000..0fc5622ff
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room3/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM3",
+ "name": "FiveIsland_LostCave_Room3",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM3",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM4",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room3/scripts.inc b/data/maps/FiveIsland_LostCave_Room3/scripts.inc
new file mode 100644
index 000000000..e14779342
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room3/scripts.inc
@@ -0,0 +1,2 @@
+FiveIsland_LostCave_Room3_MapScripts:: @ 8164C0F
+ .byte 0
diff --git a/data/maps/FiveIsland_LostCave_Room4/map.json b/data/maps/FiveIsland_LostCave_Room4/map.json
new file mode 100644
index 000000000..b4d7633ac
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room4/map.json
@@ -0,0 +1,62 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM4",
+ "name": "FiveIsland_LostCave_Room4",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM4",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "23",
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "FiveIsland_LostCave_Room4_EventScript_164C11",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM12",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM5",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room4/scripts.inc b/data/maps/FiveIsland_LostCave_Room4/scripts.inc
new file mode 100644
index 000000000..9d2aa1f6a
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room4/scripts.inc
@@ -0,0 +1,8 @@
+FiveIsland_LostCave_Room4_MapScripts:: @ 8164C10
+ .byte 0
+
+FiveIsland_LostCave_Room4_EventScript_164C11:: @ 8164C11
+ trainerbattle 0, 608, 0, Text_17CFC1, Text_17CFFB
+ loadword 0, gUnknown_817D037
+ callstd 6
+ end
diff --git a/data/maps/FiveIsland_LostCave_Room5/map.json b/data/maps/FiveIsland_LostCave_Room5/map.json
new file mode 100644
index 000000000..dca189071
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room5/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM5",
+ "name": "FiveIsland_LostCave_Room5",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM5",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM6",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room5/scripts.inc b/data/maps/FiveIsland_LostCave_Room5/scripts.inc
new file mode 100644
index 000000000..3bdbbcc3b
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room5/scripts.inc
@@ -0,0 +1,2 @@
+FiveIsland_LostCave_Room5_MapScripts:: @ 8164C28
+ .byte 0
diff --git a/data/maps/FiveIsland_LostCave_Room6/map.json b/data/maps/FiveIsland_LostCave_Room6/map.json
new file mode 100644
index 000000000..e70d5d5cb
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room6/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM6",
+ "name": "FiveIsland_LostCave_Room6",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM6",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM13",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM7",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room6/scripts.inc b/data/maps/FiveIsland_LostCave_Room6/scripts.inc
new file mode 100644
index 000000000..1de5fc8ca
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room6/scripts.inc
@@ -0,0 +1,2 @@
+FiveIsland_LostCave_Room6_MapScripts:: @ 8164C29
+ .byte 0
diff --git a/data/maps/FiveIsland_LostCave_Room7/map.json b/data/maps/FiveIsland_LostCave_Room7/map.json
new file mode 100644
index 000000000..90b129cb9
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room7/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM7",
+ "name": "FiveIsland_LostCave_Room7",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM7",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM8",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room7/scripts.inc b/data/maps/FiveIsland_LostCave_Room7/scripts.inc
new file mode 100644
index 000000000..229bae05b
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room7/scripts.inc
@@ -0,0 +1,2 @@
+FiveIsland_LostCave_Room7_MapScripts:: @ 8164C2A
+ .byte 0
diff --git a/data/maps/FiveIsland_LostCave_Room8/map.json b/data/maps/FiveIsland_LostCave_Room8/map.json
new file mode 100644
index 000000000..7dd8dc00d
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room8/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM8",
+ "name": "FiveIsland_LostCave_Room8",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM8",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM9",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM14",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room8/scripts.inc b/data/maps/FiveIsland_LostCave_Room8/scripts.inc
new file mode 100644
index 000000000..833603106
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room8/scripts.inc
@@ -0,0 +1,2 @@
+FiveIsland_LostCave_Room8_MapScripts:: @ 8164C2B
+ .byte 0
diff --git a/data/maps/FiveIsland_LostCave_Room9/map.json b/data/maps/FiveIsland_LostCave_Room9/map.json
new file mode 100644
index 000000000..857ef6332
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room9/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM9",
+ "name": "FiveIsland_LostCave_Room9",
+ "layout": "LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM9",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_LOST_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM10",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ROOM1",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_LostCave_Room9/scripts.inc b/data/maps/FiveIsland_LostCave_Room9/scripts.inc
new file mode 100644
index 000000000..73a4425f9
--- /dev/null
+++ b/data/maps/FiveIsland_LostCave_Room9/scripts.inc
@@ -0,0 +1,2 @@
+FiveIsland_LostCave_Room9_MapScripts:: @ 8164C2C
+ .byte 0
diff --git a/data/maps/FiveIsland_Meadow/map.json b/data/maps/FiveIsland_Meadow/map.json
new file mode 100644
index 000000000..b2c8232c8
--- /dev/null
+++ b/data/maps/FiveIsland_Meadow/map.json
@@ -0,0 +1,138 @@
+{
+ "id": "MAP_FIVE_ISLAND_MEADOW",
+ "name": "FiveIsland_Meadow",
+ "layout": "LAYOUT_FIVE_ISLAND_MEADOW",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_FIVE_ISLE_MEADOW",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_FIVE_ISLAND",
+ "offset": 0,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_FIVE_ISLAND_MEMORIAL_PILLAR",
+ "offset": 20,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "50",
+ "x": 18,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "FiveIsland_Meadow_EventScript_1689BB",
+ "flag": "136"
+ },
+ {
+ "graphics_id": "49",
+ "x": 17,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "FiveIsland_Meadow_EventScript_16898D",
+ "flag": "136"
+ },
+ {
+ "graphics_id": "49",
+ "x": 11,
+ "y": 27,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "FiveIsland_Meadow_EventScript_1689A4",
+ "flag": "136"
+ },
+ {
+ "graphics_id": "95",
+ "x": 8,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_Meadow_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "95",
+ "x": 19,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_Meadow_EventScript_1BDF13",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "92",
+ "x": 12,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_Meadow_EventScript_1BEC69",
+ "flag": "478"
+ },
+ {
+ "graphics_id": "92",
+ "x": 3,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_Meadow_EventScript_1BEC76",
+ "flag": "479"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 12,
+ "y": 21,
+ "elevation": 0,
+ "dest_map": "MAP_FIVE_ISLAND_ROCKET_WAREHOUSE",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 21,
+ "elevation": 0,
+ "script": "FiveIsland_Meadow_EventScript_168942"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_Meadow/scripts.inc b/data/maps/FiveIsland_Meadow/scripts.inc
new file mode 100644
index 000000000..e4636cb65
--- /dev/null
+++ b/data/maps/FiveIsland_Meadow/scripts.inc
@@ -0,0 +1,59 @@
+FiveIsland_Meadow_MapScripts:: @ 8168932
+ map_script 1, FiveIsland_Meadow_MapScript1_168938
+ .byte 0
+
+FiveIsland_Meadow_MapScript1_168938:: @ 8168938
+ checkflag FLAG_0x2D6
+ call_if 1, EventScript_168983
+ end
+
+FiveIsland_Meadow_EventScript_168942:: @ 8168942
+ lockall
+ checkflag FLAG_0x2D6
+ goto_if 1, EventScript_168979
+ checkflag FLAG_0x2D8
+ goto_if 1, EventScript_16895F
+ loadword 0, gUnknown_818AB8E
+ callstd 4
+ releaseall
+ end
+
+EventScript_16895F:: @ 816895F
+ setflag FLAG_0x2D6
+ message Text_18ABF4
+ waitmessage
+ delay 60
+ call EventScript_168983
+ special DrawWholeMapView
+ playse SE_PIN
+ waitse
+ releaseall
+ end
+
+EventScript_168979:: @ 8168979
+ loadword 0, gUnknown_818AC62
+ callstd 4
+ releaseall
+ end
+
+EventScript_168983:: @ 8168983
+ setmetatile 12, 21, 687, 1
+ return
+
+FiveIsland_Meadow_EventScript_16898D:: @ 816898D
+ trainerbattle 0, 567, 0, Text_18AC88, Text_18ACB3
+ loadword 0, gUnknown_818ACC5
+ callstd 6
+ end
+
+FiveIsland_Meadow_EventScript_1689A4:: @ 81689A4
+ trainerbattle 0, 568, 0, Text_18ACF0, Text_18AD39
+ loadword 0, gUnknown_818AD59
+ callstd 6
+ end
+
+FiveIsland_Meadow_EventScript_1689BB:: @ 81689BB
+ trainerbattle 0, 569, 0, Text_18ADC6, Text_18ADFB
+ loadword 0, gUnknown_818AE16
+ callstd 6
+ end
diff --git a/data/maps/FiveIsland_MemorialPillar/map.json b/data/maps/FiveIsland_MemorialPillar/map.json
new file mode 100644
index 000000000..c8a7325db
--- /dev/null
+++ b/data/maps/FiveIsland_MemorialPillar/map.json
@@ -0,0 +1,135 @@
+{
+ "id": "MAP_FIVE_ISLAND_MEMORIAL_PILLAR",
+ "name": "FiveIsland_MemorialPillar",
+ "layout": "LAYOUT_FIVE_ISLAND_MEMORIAL_PILLAR",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_MEMORIAL_PILLAR",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_FIVE_ISLAND_MEADOW",
+ "offset": -20,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "25",
+ "x": 8,
+ "y": 44,
+ "elevation": 4,
+ "movement_type": "15",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_MemorialPillar_EventScript_1689D3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 12,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "21",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "FiveIsland_MemorialPillar_EventScript_1AC317",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 14,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "19",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "FiveIsland_MemorialPillar_EventScript_1AC355",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 17,
+ "y": 31,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "FiveIsland_MemorialPillar_EventScript_1AC393",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 4,
+ "y": 47,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_MemorialPillar_EventScript_1BEC83",
+ "flag": "480"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 9,
+ "y": 43,
+ "elevation": 0,
+ "script": "FiveIsland_MemorialPillar_EventScript_168A48"
+ },
+ {
+ "type": "hidden_item",
+ "x": 8,
+ "y": 52,
+ "elevation": 3,
+ "item": "ITEM_BIG_PEARL",
+ "flag": "170",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 15,
+ "y": 7,
+ "elevation": 3,
+ "item": "ITEM_RAZZ_BERRY",
+ "flag": "171",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 17,
+ "y": 22,
+ "elevation": 3,
+ "item": "ITEM_SITRUS_BERRY",
+ "flag": "172",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 14,
+ "y": 25,
+ "elevation": 3,
+ "item": "ITEM_BLUK_BERRY",
+ "flag": "173",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_MemorialPillar/scripts.inc b/data/maps/FiveIsland_MemorialPillar/scripts.inc
new file mode 100644
index 000000000..8337e9d6f
--- /dev/null
+++ b/data/maps/FiveIsland_MemorialPillar/scripts.inc
@@ -0,0 +1,110 @@
+FiveIsland_MemorialPillar_MapScripts:: @ 81689D2
+ .byte 0
+
+FiveIsland_MemorialPillar_EventScript_1689D3:: @ 81689D3
+ lock
+ checkflag FLAG_0x236
+ goto_if 1, EventScript_168A18
+ checkflag FLAG_0x2D7
+ goto_if 1, EventScript_168A22
+ loadword 0, gUnknown_818B02E
+ callstd 4
+ closemessage
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ delay 45
+ loadword 0, gUnknown_818B03C
+ callstd 4
+ applymovement 1, Movement_1A75E9
+ waitmovement 0
+ loadword 0, gUnknown_818B05E
+ callstd 4
+ release
+ end
+
+EventScript_168A18:: @ 8168A18
+ loadword 0, gUnknown_818B2DA
+ callstd 4
+ release
+ end
+
+EventScript_168A22:: @ 8168A22
+ loadword 0, gUnknown_818B282
+ callstd 4
+ setorcopyvar VAR_0x8000, 330
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_168AFE
+ call EventScript_168AE8
+ release
+ end
+
+FiveIsland_MemorialPillar_EventScript_168A48:: @ 8168A48
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lockall
+ checkflag FLAG_0x236
+ goto_if 1, EventScript_168B0B
+ checkflag FLAG_0x2D7
+ goto_if 1, EventScript_168B0B
+ loadword 0, gUnknown_818B095
+ callstd 4
+ checkitem ITEM_LEMONADE, 1
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_168A86
+ releaseall
+ end
+
+EventScript_168A86:: @ 8168A86
+ loadword 0, gUnknown_818B105
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_168A9B
+ releaseall
+ end
+
+EventScript_168A9B:: @ 8168A9B
+ removeitem ITEM_LEMONADE, 1
+ loadword 0, gUnknown_818B13E
+ callstd 4
+ closemessage
+ applymovement 1, Movement_1A75EB
+ waitmovement 0
+ delay 45
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ textcolor 0
+ loadword 0, gUnknown_818B171
+ callstd 4
+ setorcopyvar VAR_0x8000, 330
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_168AFE
+ call EventScript_168AE8
+ releaseall
+ end
+
+EventScript_168AE8:: @ 8168AE8
+ loadword 0, gUnknown_818B219
+ callstd 4
+ applymovement 1, Movement_1A75E9
+ waitmovement 0
+ setflag FLAG_0x236
+ return
+
+EventScript_168AFE:: @ 8168AFE
+ setflag FLAG_0x2D7
+ loadword 0, gUnknown_818B23E
+ callstd 4
+ releaseall
+ end
+
+EventScript_168B0B:: @ 8168B0B
+ loadword 0, gUnknown_818B2F8
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/FiveIsland_PokemonCenter_1F/map.json b/data/maps/FiveIsland_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..d5fffc7a9
--- /dev/null
+++ b/data/maps/FiveIsland_PokemonCenter_1F/map.json
@@ -0,0 +1,100 @@
+{
+ "id": "MAP_FIVE_ISLAND_POKEMON_CENTER_1F",
+ "name": "FiveIsland_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_FIVE_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": "FiveIsland_PokemonCenter_1F_EventScript_171D00",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 9,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_PokemonCenter_1F_EventScript_171D12",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_PokemonCenter_1F_EventScript_171D09",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "0",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_PokemonCenter_1F_EventScript_1ACF5F",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "0",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_PokemonCenter_1F_EventScript_1ACF5F",
+ "flag": "157"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_FIVE_ISLAND_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_PokemonCenter_1F/scripts.inc b/data/maps/FiveIsland_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..a9944ee18
--- /dev/null
+++ b/data/maps/FiveIsland_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,25 @@
+FiveIsland_PokemonCenter_1F_MapScripts:: @ 8171CF1
+ map_script 3, FiveIsland_PokemonCenter_1F_MapScript1_171CFC
+ map_script 5, FiveIsland_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+FiveIsland_PokemonCenter_1F_MapScript1_171CFC:: @ 8171CFC
+ setrespawn 18
+ end
+
+FiveIsland_PokemonCenter_1F_EventScript_171D00:: @ 8171D00
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+FiveIsland_PokemonCenter_1F_EventScript_171D09:: @ 8171D09
+ loadword 0, gUnknown_81A3BBA
+ callstd 2
+ end
+
+FiveIsland_PokemonCenter_1F_EventScript_171D12:: @ 8171D12
+ loadword 0, gUnknown_81A3BFD
+ callstd 2
+ end
diff --git a/data/maps/FiveIsland_PokemonCenter_2F/map.json b/data/maps/FiveIsland_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..2efdd61d5
--- /dev/null
+++ b/data/maps/FiveIsland_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_FIVE_ISLAND_POKEMON_CENTER_2F",
+ "name": "FiveIsland_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_FIVE_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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "FiveIsland_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_FIVE_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_PokemonCenter_2F/scripts.inc b/data/maps/FiveIsland_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..51682056c
--- /dev/null
+++ b/data/maps/FiveIsland_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+FiveIsland_PokemonCenter_2F_MapScripts:: @ 8171D1B
+ map_script 2, FiveIsland_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, FiveIsland_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, FiveIsland_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, FiveIsland_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+FiveIsland_PokemonCenter_2F_EventScript_171D30:: @ 8171D30
+ call EventScript_1BB4A3
+ end
+
+EventScript_171D36:: @ 8171D36
+ call EventScript_1BB6AB
+ end
+
+EventScript_171D3C:: @ 8171D3C
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/FiveIsland_ResortGorgeous/map.json b/data/maps/FiveIsland_ResortGorgeous/map.json
new file mode 100644
index 000000000..dfb2407d0
--- /dev/null
+++ b/data/maps/FiveIsland_ResortGorgeous/map.json
@@ -0,0 +1,189 @@
+{
+ "id": "MAP_FIVE_ISLAND_RESORT_GORGEOUS",
+ "name": "FiveIsland_ResortGorgeous",
+ "layout": "LAYOUT_FIVE_ISLAND_RESORT_GORGEOUS",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_RESORT_GORGEOUS",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_FIVE_ISLAND_WATER_LABYRINTH",
+ "offset": -48,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "22",
+ "x": 44,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "18",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "FiveIsland_ResortGorgeous_EventScript_1AC127",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 33,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "FiveIsland_ResortGorgeous_EventScript_1AC165",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 12,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "FiveIsland_ResortGorgeous_EventScript_1AC1A3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 23,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "FiveIsland_ResortGorgeous_EventScript_1AC1E1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 33,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "FiveIsland_ResortGorgeous_EventScript_1AC21F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 33,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "46",
+ "movement_range_x": 10,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "FiveIsland_ResortGorgeous_EventScript_1AC25D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 56,
+ "y": 7,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "FiveIsland_ResortGorgeous_EventScript_1AC29B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 39,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "148"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 64,
+ "y": 13,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ENTRANCE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 39,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_FIVE_ISLAND_RESORT_GORGEOUS_HOUSE",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 10,
+ "y": 7,
+ "elevation": 3,
+ "item": "ITEM_NEST_BALL",
+ "flag": "174",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 27,
+ "y": 11,
+ "elevation": 3,
+ "item": "ITEM_STARDUST",
+ "flag": "175",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 40,
+ "y": 12,
+ "elevation": 3,
+ "item": "ITEM_STAR_PIECE",
+ "flag": "176",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 27,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_STARDUST",
+ "flag": "177",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 42,
+ "y": 9,
+ "elevation": 0,
+ "script": "FiveIsland_ResortGorgeous_EventScript_168844"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_ResortGorgeous/scripts.inc b/data/maps/FiveIsland_ResortGorgeous/scripts.inc
new file mode 100644
index 000000000..997a27bb8
--- /dev/null
+++ b/data/maps/FiveIsland_ResortGorgeous/scripts.inc
@@ -0,0 +1,46 @@
+FiveIsland_ResortGorgeous_MapScripts:: @ 81687E4
+ map_script 4, FiveIsland_ResortGorgeous_MapScript1_1687EF
+ map_script 2, FiveIsland_ResortGorgeous_MapScript2_1687FE
+ .byte 0
+
+FiveIsland_ResortGorgeous_MapScript1_1687EF:: @ 81687EF
+ map_script_2 VAR_0x4084, 1, EventScript_1687F9
+ .2byte 0
+
+EventScript_1687F9:: @ 81687F9
+ turnobject 255, 2
+ end
+
+FiveIsland_ResortGorgeous_MapScript2_1687FE:: @ 81687FE
+ map_script_2 VAR_0x4084, 1, EventScript_168808
+ .2byte 0
+
+EventScript_168808:: @ 8168808
+ lockall
+ textcolor 1
+ loadword 0, gUnknown_818A7DB
+ callstd 4
+ closemessage
+ applymovement 8, Movement_1A75E9
+ waitmovement 0
+ opendoor 39, 8
+ waitdooranim
+ applymovement 8, Movement_168841
+ waitmovement 0
+ closedoor 39, 8
+ waitdooranim
+ removeobject 8
+ clearflag FLAG_0x095
+ setvar VAR_0x4084, 2
+ releaseall
+ end
+
+Movement_168841:: @ 8168841
+ step_11
+ step_60
+ step_end
+
+FiveIsland_ResortGorgeous_EventScript_168844:: @ 8168844
+ loadword 0, gUnknown_818A7FE
+ callstd 3
+ end
diff --git a/data/maps/FiveIsland_ResortGorgeous_House/map.json b/data/maps/FiveIsland_ResortGorgeous_House/map.json
new file mode 100644
index 000000000..ec97e8cf0
--- /dev/null
+++ b/data/maps/FiveIsland_ResortGorgeous_House/map.json
@@ -0,0 +1,69 @@
+{
+ "id": "MAP_FIVE_ISLAND_RESORT_GORGEOUS_HOUSE",
+ "name": "FiveIsland_ResortGorgeous_House",
+ "layout": "LAYOUT_FIVE_ISLAND_RESORT_GORGEOUS_HOUSE",
+ "music": "BGM_FRLG_ISLAND_FOUR",
+ "region_map_section": "MAPSEC_RESORT_GORGEOUS",
+ "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": "28",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_ResortGorgeous_House_EventScript_171EBE",
+ "flag": "149"
+ },
+ {
+ "graphics_id": "61",
+ "x": 6,
+ "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": "FiveIsland_ResortGorgeous_House_EventScript_172062",
+ "flag": "150"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_RESORT_GORGEOUS",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "script": "FiveIsland_ResortGorgeous_House_EventScript_1ACF2C"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 8,
+ "y": 1,
+ "elevation": 0,
+ "script": "FiveIsland_ResortGorgeous_House_EventScript_1ACF2C"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_ResortGorgeous_House/scripts.inc b/data/maps/FiveIsland_ResortGorgeous_House/scripts.inc
new file mode 100644
index 000000000..5dd91f845
--- /dev/null
+++ b/data/maps/FiveIsland_ResortGorgeous_House/scripts.inc
@@ -0,0 +1,163 @@
+FiveIsland_ResortGorgeous_House_MapScripts:: @ 8171EBD
+ .byte 0
+
+FiveIsland_ResortGorgeous_House_EventScript_171EBE:: @ 8171EBE
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ faceplayer
+ checkflag FLAG_0x002
+ goto_if 1, EventScript_172043
+ compare_var_to_value VAR_STORAGE_UNKNOWN, 65535
+ goto_if 1, EventScript_171F0B
+ compare_var_to_value VAR_STORAGE_UNKNOWN, 0
+ goto_if 5, EventScript_171F19
+ loadword 0, gUnknown_81A42A0
+ callstd 4
+ goto EventScript_171EFE
+ end
+
+EventScript_171EFE:: @ 8171EFE
+ special sub_80CB0A8
+ loadword 0, gUnknown_81A4315
+ callstd 4
+ release
+ end
+
+EventScript_171F0B:: @ 8171F0B
+ loadword 0, gUnknown_81A437A
+ callstd 4
+ goto EventScript_171EFE
+ end
+
+EventScript_171F19:: @ 8171F19
+ copyvar VAR_0x8004, VAR_STORAGE_UNKNOWN
+ specialvar VAR_RESULT, sub_80CC48C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_171F34
+ goto EventScript_171EFE
+ end
+
+EventScript_171F34:: @ 8171F34
+ special sub_80CB0A8
+ loadword 0, gUnknown_81A43F7
+ callstd 4
+ addobject 2
+ applymovement 2, Movement_172060
+ waitmovement 0
+ textcolor 0
+ loadword 0, gUnknown_81A450B
+ callstd 4
+ applymovement 1, Movement_1A75E9
+ waitmovement 0
+ textcolor 1
+ loadword 0, gUnknown_81A4521
+ callstd 4
+ textcolor 0
+ loadword 0, gUnknown_81A4566
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_171FCD
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_171FE9
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_171FFE
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_17201A
+ moveobjectoffscreen 2
+ loadword 0, gUnknown_81A458E
+ callstd 4
+ setorcopyvar VAR_0x8000, VAR_0x403B
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_172025
+ setflag FLAG_0x002
+ setvar VAR_STORAGE_UNKNOWN, 0
+ release
+ end
+
+EventScript_171FCD:: @ 8171FCD
+ applymovement 1, Movement_1A75ED
+ applymovement 2, Movement_17204D
+ waitmovement 0
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ return
+
+EventScript_171FE9:: @ 8171FE9
+ applymovement 2, Movement_172055
+ waitmovement 0
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ return
+
+EventScript_171FFE:: @ 8171FFE
+ applymovement 1, Movement_1A75E7
+ applymovement 2, Movement_172059
+ waitmovement 0
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ return
+
+EventScript_17201A:: @ 817201A
+ applymovement 2, Movement_17205E
+ waitmovement 0
+ return
+
+EventScript_172025:: @ 8172025
+ textcolor 0
+ loadword 0, gUnknown_81A45E8
+ callstd 4
+ textcolor 1
+ loadword 0, gUnknown_81A461B
+ callstd 4
+ setflag FLAG_0x002
+ setvar VAR_STORAGE_UNKNOWN, 0
+ release
+ end
+
+EventScript_172043:: @ 8172043
+ loadword 0, gUnknown_81A4632
+ callstd 4
+ release
+ end
+
+Movement_17204D:: @ 817204D
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_30
+ step_end
+
+Movement_172055:: @ 8172055
+ step_12
+ step_12
+ step_2d
+ step_end
+
+Movement_172059:: @ 8172059
+ step_12
+ step_12
+ step_12
+ step_10
+ step_end
+
+Movement_17205E:: @ 817205E
+ step_11
+ step_end
+
+Movement_172060:: @ 8172060
+ step_25
+ step_end
+
+FiveIsland_ResortGorgeous_House_EventScript_172062:: @ 8172062
+ loadword 0, gUnknown_81A4657
+ callstd 2
+ end
diff --git a/data/maps/FiveIsland_RocketWarehouse/map.json b/data/maps/FiveIsland_RocketWarehouse/map.json
new file mode 100644
index 000000000..f545a0d38
--- /dev/null
+++ b/data/maps/FiveIsland_RocketWarehouse/map.json
@@ -0,0 +1,366 @@
+{
+ "id": "MAP_FIVE_ISLAND_ROCKET_WAREHOUSE",
+ "name": "FiveIsland_RocketWarehouse",
+ "layout": "LAYOUT_FIVE_ISLAND_ROCKET_WAREHOUSE",
+ "music": "BGM_FRLG_ROCKET_HIDEOUT",
+ "region_map_section": "MAPSEC_ROCKET_WAREHOUSE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 5,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_3",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 15,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163FE6",
+ "flag": "136"
+ },
+ {
+ "graphics_id": "49",
+ "x": 17,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163FFD",
+ "flag": "136"
+ },
+ {
+ "graphics_id": "50",
+ "x": 27,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "FiveIsland_RocketWarehouse_EventScript_164087",
+ "flag": "136"
+ },
+ {
+ "graphics_id": "49",
+ "x": 25,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "FiveIsland_RocketWarehouse_EventScript_164014",
+ "flag": "136"
+ },
+ {
+ "graphics_id": "50",
+ "x": 6,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "16",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "FiveIsland_RocketWarehouse_EventScript_164070",
+ "flag": "136"
+ },
+ {
+ "graphics_id": "55",
+ "x": 27,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F93",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 8,
+ "y": 25,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_1BED87",
+ "flag": "500"
+ },
+ {
+ "graphics_id": "92",
+ "x": 17,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_1BED94",
+ "flag": "501"
+ },
+ {
+ "graphics_id": "92",
+ "x": 1,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_1BEDA1",
+ "flag": "502"
+ },
+ {
+ "graphics_id": "92",
+ "x": 4,
+ "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": "FiveIsland_RocketWarehouse_EventScript_1BEDAE",
+ "flag": "503"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 24,
+ "y": 25,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND_MEADOW",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 22,
+ "y": 11,
+ "elevation": 3,
+ "var": "VAR_0x4088",
+ "var_value": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F81"
+ },
+ {
+ "type": "trigger",
+ "x": 23,
+ "y": 11,
+ "elevation": 3,
+ "var": "VAR_0x4088",
+ "var_value": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F81"
+ },
+ {
+ "type": "trigger",
+ "x": 24,
+ "y": 11,
+ "elevation": 3,
+ "var": "VAR_0x4088",
+ "var_value": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F81"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 2,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_3",
+ "x": 26,
+ "y": 11,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F78"
+ },
+ {
+ "type": "hidden_item",
+ "x": 27,
+ "y": 2,
+ "elevation": 0,
+ "item": "ITEM_NEST_BALL",
+ "flag": "68",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 7,
+ "y": 16,
+ "elevation": 0,
+ "item": "ITEM_NET_BALL",
+ "flag": "69",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 2,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 10,
+ "y": 2,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 2,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 2,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 2,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 5,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 10,
+ "y": 5,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 4,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 10,
+ "y": 4,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 4,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 4,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 5,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 5,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 3,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 3,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 4,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 4,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 4,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 4,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 5,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 5,
+ "elevation": 0,
+ "script": "FiveIsland_RocketWarehouse_EventScript_163F5A"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_RocketWarehouse/scripts.inc b/data/maps/FiveIsland_RocketWarehouse/scripts.inc
new file mode 100644
index 000000000..24eb7b8fa
--- /dev/null
+++ b/data/maps/FiveIsland_RocketWarehouse/scripts.inc
@@ -0,0 +1,202 @@
+FiveIsland_RocketWarehouse_MapScripts:: @ 8163F2E
+ map_script 1, FiveIsland_RocketWarehouse_MapScript1_163F3D
+ map_script 3, FiveIsland_RocketWarehouse_MapScript2_163F39
+ .byte 0
+
+FiveIsland_RocketWarehouse_MapScript2_163F39:: @ 8163F39
+ setworldmapflag 2233
+ end
+
+FiveIsland_RocketWarehouse_MapScript1_163F3D:: @ 8163F3D
+ checktrainerflag 543
+ call_if 1, EventScript_163F47
+ end
+
+EventScript_163F47:: @ 8163F47
+ setmetatile 26, 20, 672, 0
+ setmetatile 27, 20, 672, 0
+ return
+
+FiveIsland_RocketWarehouse_EventScript_163F5A:: @ 8163F5A
+ lockall
+ checkflag FLAG_0x2D5
+ goto_if 1, EventScript_163F6E
+ loadword 0, gUnknown_817B4E3
+ callstd 4
+ releaseall
+ end
+
+EventScript_163F6E:: @ 8163F6E
+ loadword 0, gUnknown_817B512
+ callstd 4
+ releaseall
+ end
+
+FiveIsland_RocketWarehouse_EventScript_163F78:: @ 8163F78
+ loadword 0, gUnknown_817BB15
+ callstd 3
+ end
+
+FiveIsland_RocketWarehouse_EventScript_163F81:: @ 8163F81
+ lockall
+ applymovement 4, Movement_1A75E7
+ waitmovement 0
+ setvar VAR_0x4088, 1
+ releaseall
+ end
+
+FiveIsland_RocketWarehouse_EventScript_163F93:: @ 8163F93
+ trainerbattle 2, 545, 0, Text_17BBAF, Text_17BC55, EventScript_163FCD
+ checkflag 2116
+ goto_if 1, EventScript_163FB7
+ loadword 0, gUnknown_817BCA3
+ callstd 6
+ end
+
+EventScript_163FB7:: @ 8163FB7
+ setvar VAR_0x8004, 15
+ setvar VAR_0x8005, 5
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_817BCD7
+ callstd 6
+ end
+
+EventScript_163FCD:: @ 8163FCD
+ loadword 0, gUnknown_817BC6C
+ callstd 4
+ setflag FLAG_0x2DC
+ setorcopyvar VAR_0x8000, 374
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ release
+ end
+
+FiveIsland_RocketWarehouse_EventScript_163FE6:: @ 8163FE6
+ trainerbattle 0, 541, 0, Text_17B54D, Text_17B585
+ loadword 0, gUnknown_817B5A6
+ callstd 6
+ end
+
+FiveIsland_RocketWarehouse_EventScript_163FFD:: @ 8163FFD
+ trainerbattle 0, 542, 0, Text_17B677, Text_17B6D9
+ loadword 0, gUnknown_817B6EF
+ callstd 6
+ end
+
+FiveIsland_RocketWarehouse_EventScript_164014:: @ 8164014
+ trainerbattle 2, 544, 0, Text_17B8DA, Text_17B9FB, EventScript_16402F
+ loadword 0, gUnknown_817BA64
+ callstd 6
+ end
+
+EventScript_16402F:: @ 816402F
+ getplayerxy VAR_0x8004, VAR_0x8005
+ compare_var_to_value VAR_0x8004, 24
+ call_if 3, EventScript_164065
+ loadword 0, gUnknown_817BA64
+ callstd 4
+ closemessage
+ fadescreen 1
+ removeobject 1
+ removeobject 2
+ removeobject 4
+ removeobject 3
+ setflag FLAG_0x088
+ fadescreen 0
+ setvar VAR_0x4088, 1
+ setflag FLAG_0x2D5
+ release
+ end
+
+EventScript_164065:: @ 8164065
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ return
+
+FiveIsland_RocketWarehouse_EventScript_164070:: @ 8164070
+ trainerbattle 0, 516, 0, Text_17B5D6, Text_17B62F
+ loadword 0, gUnknown_817B642
+ callstd 6
+ end
+
+FiveIsland_RocketWarehouse_EventScript_164087:: @ 8164087
+ trainerbattle 2, 543, 0, Text_17B72D, Text_17B79C, EventScript_1640A2
+ loadword 0, gUnknown_817B7FA
+ callstd 6
+ end
+
+EventScript_1640A2:: @ 81640A2
+ getplayerxy VAR_0x8004, VAR_0x8005
+ specialvar VAR_RESULT, player_get_direction_lower_nybble
+ compare_var_to_value VAR_RESULT, 2
+ call_if 1, EventScript_16412E
+ loadword 0, gUnknown_817B7AE
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_0x8004, 24
+ call_if 3, EventScript_164144
+ compare_var_to_value VAR_0x8004, 25
+ call_if 1, EventScript_16414F
+ compare_var_to_value VAR_0x8004, 26
+ call_if 1, EventScript_16415A
+ compare_var_to_value VAR_0x8004, 27
+ call_if 1, EventScript_16415A
+ playse SE_PIN
+ call EventScript_163F47
+ special DrawWholeMapView
+ waitse
+ compare_var_to_value VAR_0x8004, 24
+ call_if 3, EventScript_164165
+ compare_var_to_value VAR_0x8004, 25
+ call_if 1, EventScript_164165
+ compare_var_to_value VAR_0x8004, 26
+ call_if 1, EventScript_164165
+ compare_var_to_value VAR_0x8004, 27
+ call_if 1, EventScript_164170
+ loadword 0, gUnknown_817B7FA
+ callstd 4
+ release
+ end
+
+EventScript_16412E:: @ 816412E
+ compare_var_to_value VAR_0x8004, 27
+ goto_if 1, EventScript_1A77A9
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ return
+
+EventScript_164144:: @ 8164144
+ applymovement 3, Movement_16417B
+ waitmovement 0
+ return
+
+EventScript_16414F:: @ 816414F
+ applymovement 3, Movement_16417F
+ waitmovement 0
+ return
+
+EventScript_16415A:: @ 816415A
+ applymovement 3, Movement_1A75E9
+ waitmovement 0
+ return
+
+EventScript_164165:: @ 8164165
+ applymovement 3, Movement_1A75E7
+ waitmovement 0
+ return
+
+EventScript_164170:: @ 8164170
+ applymovement 3, Movement_1A75ED
+ waitmovement 0
+ return
+
+Movement_16417B:: @ 816417B
+ step_13
+ step_13
+ step_2e
+ step_end
+
+Movement_16417F:: @ 816417F
+ step_13
+ step_2e
+ step_end
diff --git a/data/maps/FiveIsland_WaterLabyrinth/map.json b/data/maps/FiveIsland_WaterLabyrinth/map.json
new file mode 100644
index 000000000..f4ed982f2
--- /dev/null
+++ b/data/maps/FiveIsland_WaterLabyrinth/map.json
@@ -0,0 +1,57 @@
+{
+ "id": "MAP_FIVE_ISLAND_WATER_LABYRINTH",
+ "name": "FiveIsland_WaterLabyrinth",
+ "layout": "LAYOUT_FIVE_ISLAND_WATER_LABYRINTH",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_WATER_LABYRINTH",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_FIVE_ISLAND_RESORT_GORGEOUS",
+ "offset": 48,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_FIVE_ISLAND",
+ "offset": 48,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "61",
+ "x": 14,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_WaterLabyrinth_EventScript_16884E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "FiveIsland_WaterLabyrinth_EventScript_1AC2D9",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FiveIsland_WaterLabyrinth/scripts.inc b/data/maps/FiveIsland_WaterLabyrinth/scripts.inc
new file mode 100644
index 000000000..0c0eebf58
--- /dev/null
+++ b/data/maps/FiveIsland_WaterLabyrinth/scripts.inc
@@ -0,0 +1,80 @@
+FiveIsland_WaterLabyrinth_MapScripts:: @ 816884D
+ .byte 0
+
+FiveIsland_WaterLabyrinth_EventScript_16884E:: @ 816884E
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ faceplayer
+ checkflag FLAG_0x2DA
+ goto_if 1, EventScript_1688E3
+ checkflag FLAG_0x2DB
+ goto_if 1, EventScript_16892C
+ loadword 0, gUnknown_818A80D
+ callstd 4
+ specialvar VAR_RESULT, sub_80CA76C
+ compare_var_to_value VAR_RESULT, 6
+ goto_if 1, EventScript_1688AC
+ loadword 0, gUnknown_818A88F
+ callstd 4
+ release
+ end
+
+EventScript_168895:: @ 8168895
+ setvar VAR_0x8004, 1
+ setvar VAR_0x8005, 2
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_818AA0C
+ callstd 4
+ release
+ end
+
+EventScript_1688AC:: @ 81688AC
+ loadword 0, gUnknown_818A8A6
+ callstd 4
+ goto EventScript_1688BA
+ end
+
+EventScript_1688BA:: @ 81688BA
+ countpokemon
+ compare_var_to_value VAR_RESULT, 6
+ goto_if 1, EventScript_16891F
+ setflag FLAG_0x2DA
+ giveegg SPECIES_TOGEPI
+ textcolor 3
+ playfanfare MUS_FANFA1
+ message Text_18A91F
+ waitfanfare
+ waitmessage
+ call EventScript_1A6675
+ goto EventScript_1688E3
+ end
+
+EventScript_1688E3:: @ 81688E3
+ getspeciesname 1, SPECIES_TOGEPI
+ setvar VAR_0x8004, 175
+ specialvar VAR_RESULT, sub_80CD0F4
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_168895
+ getspeciesname 1, SPECIES_TOGETIC
+ setvar VAR_0x8004, 176
+ specialvar VAR_RESULT, sub_80CD0F4
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_168895
+ loadword 0, gUnknown_818A9C0
+ callstd 4
+ release
+ end
+
+EventScript_16891F:: @ 816891F
+ setflag FLAG_0x2DB
+ loadword 0, gUnknown_818A940
+ callstd 4
+ release
+ end
+
+EventScript_16892C:: @ 816892C
+ goto EventScript_1688BA
+ end
diff --git a/data/maps/FourIsland/map.json b/data/maps/FourIsland/map.json
new file mode 100644
index 000000000..fdc2e8607
--- /dev/null
+++ b/data/maps/FourIsland/map.json
@@ -0,0 +1,266 @@
+{
+ "id": "MAP_FOUR_ISLAND",
+ "name": "FourIsland",
+ "layout": "LAYOUT_FOUR_ISLAND",
+ "music": "BGM_FRLG_ISLAND_FOUR",
+ "region_map_section": "MAPSEC_FOUR_ISLAND",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "32",
+ "x": 16,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_EventScript_167D55",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "132",
+ "x": 12,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "122",
+ "x": 13,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "123",
+ "x": 14,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "121",
+ "x": 17,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "35",
+ "x": 26,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_EventScript_167E2E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "96",
+ "x": 5,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_EventScript_1BEC28",
+ "flag": "473"
+ },
+ {
+ "graphics_id": "92",
+ "x": 32,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_EventScript_1BEC35",
+ "flag": "474"
+ },
+ {
+ "graphics_id": "72",
+ "x": 8,
+ "y": 25,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "151"
+ },
+ {
+ "graphics_id": "27",
+ "x": 36,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_EventScript_167E73",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 31,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_EventScript_167E5A",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 18,
+ "y": 20,
+ "elevation": 0,
+ "dest_map": "MAP_FOUR_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 12,
+ "y": 13,
+ "elevation": 0,
+ "dest_map": "MAP_FOUR_ISLAND_POKEMON_DAY_CARE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 25,
+ "y": 14,
+ "elevation": 0,
+ "dest_map": "MAP_FOUR_ISLAND_HOUSE1",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 38,
+ "y": 12,
+ "elevation": 0,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_ENTRANCE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 33,
+ "y": 23,
+ "elevation": 0,
+ "dest_map": "MAP_FOUR_ISLAND_LORELEIS_HOUSE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 25,
+ "y": 26,
+ "elevation": 0,
+ "dest_map": "MAP_FOUR_ISLAND_HOUSE2",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 10,
+ "y": 28,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND_HARBOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 22,
+ "y": 26,
+ "elevation": 0,
+ "dest_map": "MAP_FOUR_ISLAND_MART",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 13,
+ "y": 19,
+ "elevation": 0,
+ "script": "FourIsland_EventScript_167E7C"
+ },
+ {
+ "type": "hidden_item",
+ "x": 22,
+ "y": 34,
+ "elevation": 3,
+ "item": "ITEM_PEARL",
+ "flag": "168",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 6,
+ "y": 21,
+ "elevation": 3,
+ "item": "POCKET_KEY_ITEMS",
+ "flag": "169",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 31,
+ "y": 23,
+ "elevation": 0,
+ "script": "FourIsland_EventScript_167E85"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/FourIsland/scripts.inc b/data/maps/FourIsland/scripts.inc
new file mode 100644
index 000000000..1568056b2
--- /dev/null
+++ b/data/maps/FourIsland/scripts.inc
@@ -0,0 +1,194 @@
+FourIsland_MapScripts:: @ 8167CAE
+ map_script 3, FourIsland_MapScript1_167CB9
+ map_script 2, FourIsland_MapScript2_167CE2
+ .byte 0
+
+FourIsland_MapScript1_167CB9:: @ 8167CB9
+ setworldmapflag 2206
+ compare_var_to_value VAR_0x4086, 0
+ call_if 1, EventScript_167CCD
+ call EventScript_167CD1
+ end
+
+EventScript_167CCD:: @ 8167CCD
+ clearflag FLAG_0x097
+ return
+
+EventScript_167CD1:: @ 8167CD1
+ checkflag FLAG_PENDING_DAYCARE_EGG
+ goto_if 0, EventScript_167CE1
+ setobjectxyperm 1, 16, 14
+
+EventScript_167CE1:: @ 8167CE1
+ return
+
+FourIsland_MapScript2_167CE2:: @ 8167CE2
+ map_script_2 VAR_0x4086, 0, EventScript_167CEC
+ .2byte 0
+
+EventScript_167CEC:: @ 8167CEC
+ lockall
+ textcolor 0
+ applymovement 10, Movement_1A75ED
+ waitmovement 0
+ playbgm BGM_FRLG_RIVAL, 0
+ applymovement 10, Movement_1A75DB
+ waitmovement 0
+ applymovement 10, Movement_1A75DD
+ waitmovement 0
+ delay 25
+ applymovement 10, Movement_167D49
+ waitmovement 0
+ loadword 0, gUnknown_8182B37
+ callstd 4
+ closemessage
+ applymovement 255, Movement_167D52
+ applymovement 10, Movement_167D4E
+ waitmovement 0
+ fadedefaultbgm
+ playse SE_KAIDAN
+ delay 35
+ removeobject 10
+ setvar VAR_0x4086, 1
+ releaseall
+ end
+
+Movement_167D49:: @ 8167D49
+ step_13
+ step_13
+ step_10
+ step_10
+ step_end
+
+Movement_167D4E:: @ 8167D4E
+ step_1c
+ step_1a
+ step_10
+ step_end
+
+Movement_167D52:: @ 8167D52
+ step_12
+ step_30
+ step_end
+
+FourIsland_EventScript_167D55:: @ 8167D55
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ faceplayer
+ special GetDaycareMonNicknames
+ specialvar VAR_RESULT, GetDaycareState
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_167D9B
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_167E0C
+ compare_var_to_value VAR_RESULT, 3
+ goto_if 1, EventScript_167E19
+ loadword 0, gUnknown_81BF555
+ callstd 4
+ release
+ end
+
+EventScript_167D9B:: @ 8167D9B
+ loadword 0, gUnknown_81BF5E3
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_167DD1
+ loadword 0, gUnknown_81BF7B6
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_167DD1
+ loadword 0, gUnknown_81BF6CF
+ callstd 4
+ clearflag FLAG_PENDING_DAYCARE_EGG
+ special RejectEggFromDayCare
+ release
+ end
+
+EventScript_167DD1:: @ 8167DD1
+ specialvar VAR_RESULT, CalculatePlayerPartyCount
+ compare_var_to_value VAR_RESULT, 6
+ goto_if 5, EventScript_167DEB
+ loadword 0, gUnknown_81BF6F0
+ callstd 4
+ release
+ end
+
+EventScript_167DEB:: @ 8167DEB
+ textcolor 3
+ message Text_1BF72A
+ call EventScript_1A6675
+ playfanfare MUS_FANFA1
+ waitfanfare
+ waitbuttonpress
+ loadword 0, gUnknown_81BF755
+ callstd 4
+ special GiveEggFromDaycare
+ clearflag FLAG_PENDING_DAYCARE_EGG
+ release
+ end
+
+EventScript_167E0C:: @ 8167E0C
+ special GetDaycareMonNicknames
+ loadword 0, gUnknown_81BF69A
+ callstd 4
+ release
+ end
+
+EventScript_167E19:: @ 8167E19
+ special GetDaycareMonNicknames
+ loadword 0, gUnknown_81BF789
+ callstd 4
+ special SetDaycareCompatibilityString
+ special sub_80CA68C
+ waitmessage
+ waitbuttonpress
+ release
+ end
+
+FourIsland_EventScript_167E2E:: @ 8167E2E
+ lock
+ faceplayer
+ checkflag 2116
+ goto_if 1, EventScript_167E43
+ loadword 0, gUnknown_8182A2B
+ callstd 4
+ release
+ end
+
+EventScript_167E43:: @ 8167E43
+ setvar VAR_0x8004, 9
+ setvar VAR_0x8005, 5
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8182A75
+ callstd 4
+ release
+ end
+
+FourIsland_EventScript_167E5A:: @ 8167E5A
+ lock
+ faceplayer
+ setvar VAR_0x8004, 9
+ setvar VAR_0x8005, 4
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8182CE3
+ callstd 4
+ release
+ end
+
+FourIsland_EventScript_167E73:: @ 8167E73
+ loadword 0, gUnknown_8182D8E
+ callstd 2
+ end
+
+FourIsland_EventScript_167E7C:: @ 8167E7C
+ loadword 0, gUnknown_8182A03
+ callstd 3
+ end
+
+FourIsland_EventScript_167E85:: @ 8167E85
+ loadword 0, gUnknown_8182DEB
+ callstd 3
+ end
diff --git a/data/maps/FourIsland_Harbor/map.json b/data/maps/FourIsland_Harbor/map.json
new file mode 100644
index 000000000..9786e2b1f
--- /dev/null
+++ b/data/maps/FourIsland_Harbor/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_FOUR_ISLAND_HARBOR",
+ "name": "FourIsland_Harbor",
+ "layout": "LAYOUT_ISLAND_HARBOR",
+ "music": "BGM_FRLG_ISLAND_FOUR",
+ "region_map_section": "MAPSEC_FOUR_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": "108",
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_Harbor_EventScript_171C99",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FourIsland_Harbor/scripts.inc b/data/maps/FourIsland_Harbor/scripts.inc
new file mode 100644
index 000000000..0daa45d88
--- /dev/null
+++ b/data/maps/FourIsland_Harbor/scripts.inc
@@ -0,0 +1,11 @@
+FourIsland_Harbor_MapScripts:: @ 8171C98
+ .byte 0
+
+FourIsland_Harbor_EventScript_171C99:: @ 8171C99
+ lock
+ faceplayer
+ message Text_181726
+ waitmessage
+ setvar VAR_0x8004, 4
+ goto EventScript_1A900F
+ end
diff --git a/data/maps/FourIsland_House1/map.json b/data/maps/FourIsland_House1/map.json
new file mode 100644
index 000000000..46c98ee57
--- /dev/null
+++ b/data/maps/FourIsland_House1/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_FOUR_ISLAND_HOUSE1",
+ "name": "FourIsland_House1",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_FOUR",
+ "region_map_section": "MAPSEC_FOUR_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": "27",
+ "x": 8,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_House1_EventScript_1C4D84",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "27",
+ "x": 9,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_House1_EventScript_171C45",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FourIsland_House1/scripts.inc b/data/maps/FourIsland_House1/scripts.inc
new file mode 100644
index 000000000..aff7f2230
--- /dev/null
+++ b/data/maps/FourIsland_House1/scripts.inc
@@ -0,0 +1,7 @@
+FourIsland_House1_MapScripts:: @ 8171C44
+ .byte 0
+
+FourIsland_House1_EventScript_171C45:: @ 8171C45
+ loadword 0, gUnknown_81A3802
+ callstd 2
+ end
diff --git a/data/maps/FourIsland_House2/map.json b/data/maps/FourIsland_House2/map.json
new file mode 100644
index 000000000..9419ba2c6
--- /dev/null
+++ b/data/maps/FourIsland_House2/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_FOUR_ISLAND_HOUSE2",
+ "name": "FourIsland_House2",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_FOUR",
+ "region_map_section": "MAPSEC_FOUR_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": "25",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_House2_EventScript_1B2938",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FourIsland_House2/scripts.inc b/data/maps/FourIsland_House2/scripts.inc
new file mode 100644
index 000000000..407bad4cb
--- /dev/null
+++ b/data/maps/FourIsland_House2/scripts.inc
@@ -0,0 +1,2 @@
+FourIsland_House2_MapScripts:: @ 8171CAC
+ .byte 0
diff --git a/data/maps/FourIsland_IcefallCave_1F/map.json b/data/maps/FourIsland_IcefallCave_1F/map.json
new file mode 100644
index 000000000..57207c4e5
--- /dev/null
+++ b/data/maps/FourIsland_IcefallCave_1F/map.json
@@ -0,0 +1,89 @@
+{
+ "id": "MAP_FOUR_ISLAND_ICEFALL_CAVE_1F",
+ "name": "FourIsland_IcefallCave_1F",
+ "layout": "LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_1F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_ICEFALL_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 11,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_IcefallCave_1F_EventScript_1BED53",
+ "flag": "496"
+ },
+ {
+ "graphics_id": "92",
+ "x": 12,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_IcefallCave_1F_EventScript_1BED60",
+ "flag": "497"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 17,
+ "elevation": 0,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_ENTRANCE",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 12,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_B1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 12,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_B1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 15,
+ "y": 16,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_B1F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 3,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_BACK",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FourIsland_IcefallCave_1F/scripts.inc b/data/maps/FourIsland_IcefallCave_1F/scripts.inc
new file mode 100644
index 000000000..c73ec85fd
--- /dev/null
+++ b/data/maps/FourIsland_IcefallCave_1F/scripts.inc
@@ -0,0 +1,33 @@
+FourIsland_IcefallCave_1F_MapScripts:: @ 8163D44
+ map_script 5, FourIsland_IcefallCave_1F_MapScript1_163D54
+ map_script 1, FourIsland_IcefallCave_1F_MapScript2_163D57
+ map_script 2, FourIsland_IcefallCave_1F_MapScript3_163D5B
+ .byte 0
+
+FourIsland_IcefallCave_1F_MapScript1_163D54:: @ 8163D54
+ setstepcallback 4
+ end
+
+FourIsland_IcefallCave_1F_MapScript2_163D57:: @ 8163D57
+ special sub_806E99C
+ end
+
+FourIsland_IcefallCave_1F_MapScript3_163D5B:: @ 8163D5B
+ map_script_2 VAR_0x4001, 1, EventScript_163D65
+ .2byte 0
+
+EventScript_163D65:: @ 8163D65
+ lockall
+ delay 20
+ applymovement 255, Movement_163D7F
+ waitmovement 0
+ playse SE_FU_ZAKU
+ delay 60
+ warphole MAP_FOUR_ISLAND_ICEFALL_CAVE_B1F
+ waitstate
+ releaseall
+ end
+
+Movement_163D7F:: @ 8163D7F
+ step_60
+ step_end
diff --git a/data/maps/FourIsland_IcefallCave_B1F/map.json b/data/maps/FourIsland_IcefallCave_B1F/map.json
new file mode 100644
index 000000000..20aa98d20
--- /dev/null
+++ b/data/maps/FourIsland_IcefallCave_B1F/map.json
@@ -0,0 +1,68 @@
+{
+ "id": "MAP_FOUR_ISLAND_ICEFALL_CAVE_B1F",
+ "name": "FourIsland_IcefallCave_B1F",
+ "layout": "LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_B1F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_ICEFALL_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 10,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_IcefallCave_B1F_EventScript_1BED6D",
+ "flag": "498"
+ },
+ {
+ "graphics_id": "92",
+ "x": 21,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_IcefallCave_B1F_EventScript_1BED7A",
+ "flag": "499"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 12,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_1F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 12,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 15,
+ "y": 16,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_1F",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FourIsland_IcefallCave_B1F/scripts.inc b/data/maps/FourIsland_IcefallCave_B1F/scripts.inc
new file mode 100644
index 000000000..a3ec3cf54
--- /dev/null
+++ b/data/maps/FourIsland_IcefallCave_B1F/scripts.inc
@@ -0,0 +1,2 @@
+FourIsland_IcefallCave_B1F_MapScripts:: @ 8163D81
+ .byte 0
diff --git a/data/maps/FourIsland_IcefallCave_Back/map.json b/data/maps/FourIsland_IcefallCave_Back/map.json
new file mode 100644
index 000000000..9c26325bd
--- /dev/null
+++ b/data/maps/FourIsland_IcefallCave_Back/map.json
@@ -0,0 +1,108 @@
+{
+ "id": "MAP_FOUR_ISLAND_ICEFALL_CAVE_BACK",
+ "name": "FourIsland_IcefallCave_Back",
+ "layout": "LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_BACK",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_ICEFALL_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 11,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "141"
+ },
+ {
+ "graphics_id": "49",
+ "x": 13,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "141"
+ },
+ {
+ "graphics_id": "77",
+ "x": 12,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_IcefallCave_Back_EventScript_163F25",
+ "flag": "139"
+ },
+ {
+ "graphics_id": "49",
+ "x": 10,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "141"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 12,
+ "y": 23,
+ "elevation": 0,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_1F",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 18,
+ "elevation": 3,
+ "var": "VAR_0x4080",
+ "var_value": 0,
+ "script": "FourIsland_IcefallCave_Back_EventScript_163D98"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 18,
+ "elevation": 3,
+ "var": "VAR_0x4080",
+ "var_value": 0,
+ "script": "FourIsland_IcefallCave_Back_EventScript_163D98"
+ },
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 18,
+ "elevation": 3,
+ "var": "VAR_0x4080",
+ "var_value": 0,
+ "script": "FourIsland_IcefallCave_Back_EventScript_163D98"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FourIsland_IcefallCave_Back/scripts.inc b/data/maps/FourIsland_IcefallCave_Back/scripts.inc
new file mode 100644
index 000000000..5b3641ad5
--- /dev/null
+++ b/data/maps/FourIsland_IcefallCave_Back/scripts.inc
@@ -0,0 +1,201 @@
+FourIsland_IcefallCave_Back_MapScripts:: @ 8163D82
+ map_script 3, FourIsland_IcefallCave_Back_MapScript1_163D88
+ .byte 0
+
+FourIsland_IcefallCave_Back_MapScript1_163D88:: @ 8163D88
+ compare_var_to_value VAR_0x4080, 1
+ call_if 1, EventScript_163D94
+ end
+
+EventScript_163D94:: @ 8163D94
+ setflag FLAG_0x08B
+ return
+
+FourIsland_IcefallCave_Back_EventScript_163D98:: @ 8163D98
+ lockall
+ textcolor 1
+ loadword 0, gUnknown_817B04F
+ callstd 4
+ applymovement 1, Movement_163EE8
+ waitmovement 0
+ textcolor 0
+ loadword 0, gUnknown_817B0B9
+ callstd 4
+ closemessage
+ playse SE_PIN
+ applymovement 3, Movement_1A75DB
+ waitmovement 0
+ applymovement 3, Movement_1A75ED
+ waitmovement 0
+ applymovement 3, Movement_1A75DD
+ waitmovement 0
+ textcolor 1
+ loadword 0, gUnknown_817B109
+ callstd 4
+ closemessage
+ applymovement 3, Movement_1A75EB
+ waitmovement 0
+ delay 18
+ applymovement 3, Movement_1A75ED
+ waitmovement 0
+ delay 35
+ applymovement 4, Movement_163F11
+ applymovement 3, Movement_163F18
+ applymovement 255, Movement_163EDD
+ waitmovement 0
+ applymovement 2, Movement_163EE8
+ waitmovement 0
+ playbgm BGM_FRLG_SUSPICIOUS_EYE, 0
+ textcolor 0
+ loadword 0, gUnknown_817B20B
+ callstd 4
+ setvar VAR_LAST_TALKED, 4
+ trainerbattle 3, 539, 0, Text_17B251
+ applymovement 3, Movement_163F1B
+ waitmovement 0
+ textcolor 1
+ loadword 0, gUnknown_817B269
+ callstd 4
+ textcolor 0
+ loadword 0, gUnknown_817B2EF
+ callstd 4
+ textcolor 1
+ message Text_17B313
+ waitmessage
+ waitse
+ playmoncry SPECIES_LAPRAS, 2
+ waitbuttonpress
+ waitmoncry
+ applymovement 1, Movement_163EEE
+ waitmovement 0
+ textcolor 0
+ loadword 0, gUnknown_817B399
+ callstd 4
+ closemessage
+ applymovement 3, Movement_163F1D
+ applymovement 255, Movement_163EE2
+ applymovement 1, Movement_163EF0
+ applymovement 2, Movement_163EFA
+ applymovement 4, Movement_163F05
+ waitmovement 0
+ removeobject 1
+ removeobject 2
+ removeobject 4
+ delay 50
+ applymovement 3, Movement_163F23
+ waitmovement 0
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ textcolor 1
+ loadword 0, gUnknown_817B457
+ callstd 4
+ setflag FLAG_0x08E
+ clearflag FLAG_0x08C
+ setvar VAR_0x4080, 1
+ releaseall
+ end
+
+Movement_163EDD:: @ 8163EDD
+ step_11
+ step_11
+ step_13
+ step_11
+ step_end
+
+Movement_163EE2:: @ 8163EE2
+ step_1c
+ step_2f
+ step_1c
+ step_1c
+ step_2d
+ step_end
+
+Movement_163EE8:: @ 8163EE8
+ step_25
+ step_end
+
+gUnknown_163EEA:: @ 8163EEA
+ step_4c
+ step_13
+ step_4d
+ step_end
+
+Movement_163EEE:: @ 8163EEE
+ step_29
+ step_end
+
+Movement_163EF0:: @ 8163EF0
+ step_13
+ step_10
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_end
+
+Movement_163EFA:: @ 8163EFA
+ step_1c
+ step_12
+ step_10
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_end
+
+Movement_163F05:: @ 8163F05
+ step_1c
+ step_10
+ step_1c
+ step_10
+ step_20
+ step_20
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_end
+
+Movement_163F11:: @ 8163F11
+ step_1c
+ step_1b
+ step_30
+ step_end
+
+Movement_163F15:: @ 8163F15
+ step_12
+ step_12
+ step_end
+
+Movement_163F18:: @ 8163F18
+ step_12
+ step_11
+ step_end
+
+Movement_163F1B:: @ 8163F1B
+ step_26
+ step_end
+
+Movement_163F1D:: @ 8163F1D
+ step_1b
+ step_30
+ step_1c
+ step_1c
+ step_2d
+ step_end
+
+Movement_163F23:: @ 8163F23
+ step_13
+ step_end
+
+FourIsland_IcefallCave_Back_EventScript_163F25:: @ 8163F25
+ loadword 0, gUnknown_817B457
+ callstd 2
+ end
diff --git a/data/maps/FourIsland_IcefallCave_Entrance/map.json b/data/maps/FourIsland_IcefallCave_Entrance/map.json
new file mode 100644
index 000000000..4214932de
--- /dev/null
+++ b/data/maps/FourIsland_IcefallCave_Entrance/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_FOUR_ISLAND_ICEFALL_CAVE_ENTRANCE",
+ "name": "FourIsland_IcefallCave_Entrance",
+ "layout": "LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_ENTRANCE",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_ICEFALL_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 17,
+ "y": 30,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 10,
+ "y": 21,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_1F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FourIsland_IcefallCave_Entrance/scripts.inc b/data/maps/FourIsland_IcefallCave_Entrance/scripts.inc
new file mode 100644
index 000000000..5fef54ab9
--- /dev/null
+++ b/data/maps/FourIsland_IcefallCave_Entrance/scripts.inc
@@ -0,0 +1,7 @@
+FourIsland_IcefallCave_Entrance_MapScripts:: @ 8163D3A
+ map_script 3, FourIsland_IcefallCave_Entrance_MapScript1_163D40
+ .byte 0
+
+FourIsland_IcefallCave_Entrance_MapScript1_163D40:: @ 8163D40
+ setworldmapflag 2232
+ end
diff --git a/data/maps/FourIsland_LoreleisHouse/map.json b/data/maps/FourIsland_LoreleisHouse/map.json
new file mode 100644
index 000000000..ccf6352d0
--- /dev/null
+++ b/data/maps/FourIsland_LoreleisHouse/map.json
@@ -0,0 +1,223 @@
+{
+ "id": "MAP_FOUR_ISLAND_LORELEIS_HOUSE",
+ "name": "FourIsland_LoreleisHouse",
+ "layout": "LAYOUT_FOUR_ISLAND_LORELEIS_HOUSE",
+ "music": "BGM_FRLG_ISLAND_FOUR",
+ "region_map_section": "MAPSEC_FOUR_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": "77",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_LoreleisHouse_EventScript_171C58",
+ "flag": "140"
+ },
+ {
+ "graphics_id": "131",
+ "x": 0,
+ "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": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "126",
+ "x": 10,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "120",
+ "x": 9,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "128",
+ "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": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "129",
+ "x": 6,
+ "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": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "121",
+ "x": 6,
+ "y": 4,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "125",
+ "x": 9,
+ "y": 4,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "165"
+ },
+ {
+ "graphics_id": "117",
+ "x": 10,
+ "y": 4,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "166"
+ },
+ {
+ "graphics_id": "115",
+ "x": 0,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "168"
+ },
+ {
+ "graphics_id": "122",
+ "x": 0,
+ "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": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "167"
+ },
+ {
+ "graphics_id": "123",
+ "x": 1,
+ "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": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "169"
+ },
+ {
+ "graphics_id": "114",
+ "x": 9,
+ "y": 0,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "171"
+ },
+ {
+ "graphics_id": "133",
+ "x": 10,
+ "y": 0,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "170"
+ },
+ {
+ "graphics_id": "107",
+ "x": 9,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_LoreleisHouse_EventScript_171C8D",
+ "flag": "172"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FourIsland_LoreleisHouse/scripts.inc b/data/maps/FourIsland_LoreleisHouse/scripts.inc
new file mode 100644
index 000000000..e475b11a7
--- /dev/null
+++ b/data/maps/FourIsland_LoreleisHouse/scripts.inc
@@ -0,0 +1,39 @@
+FourIsland_LoreleisHouse_MapScripts:: @ 8171C4E
+ map_script 3, FourIsland_LoreleisHouse_MapScript1_171C54
+ .byte 0
+
+FourIsland_LoreleisHouse_MapScript1_171C54:: @ 8171C54
+ special sub_80CD154
+ end
+
+FourIsland_LoreleisHouse_EventScript_171C58:: @ 8171C58
+ lock
+ faceplayer
+ checkflag FLAG_0x2D4
+ goto_if 1, EventScript_171C83
+ checkflag FLAG_0x2D5
+ goto_if 1, EventScript_171C76
+ loadword 0, gUnknown_81A3826
+ callstd 4
+ release
+ end
+
+EventScript_171C76:: @ 8171C76
+ setflag FLAG_0x2D4
+ loadword 0, gUnknown_81A390C
+ callstd 4
+ release
+ end
+
+EventScript_171C83:: @ 8171C83
+ loadword 0, gUnknown_81A39D8
+ callstd 4
+ release
+ end
+
+FourIsland_LoreleisHouse_EventScript_171C8D:: @ 8171C8D
+ lock
+ loadword 0, gUnknown_81A3A42
+ callstd 4
+ release
+ end
diff --git a/data/maps/FourIsland_Mart/map.json b/data/maps/FourIsland_Mart/map.json
new file mode 100644
index 000000000..999dad6c7
--- /dev/null
+++ b/data/maps/FourIsland_Mart/map.json
@@ -0,0 +1,67 @@
+{
+ "id": "MAP_FOUR_ISLAND_MART",
+ "name": "FourIsland_Mart",
+ "layout": "LAYOUT_MART",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_FOUR_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": "68",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_Mart_EventScript_171CAE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 6,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_Mart_EventScript_1ACF46",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 8,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_Mart_EventScript_171CE8",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND",
+ "dest_warp_id": 7
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FourIsland_Mart/scripts.inc b/data/maps/FourIsland_Mart/scripts.inc
new file mode 100644
index 000000000..e146a0b25
--- /dev/null
+++ b/data/maps/FourIsland_Mart/scripts.inc
@@ -0,0 +1,35 @@
+FourIsland_Mart_MapScripts:: @ 8171CAD
+ .byte 0
+
+FourIsland_Mart_EventScript_171CAE:: @ 8171CAE
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_171CD4
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_171CD4:: @ 8171CD4
+ .2byte ITEM_ULTRA_BALL
+ .2byte ITEM_FULL_RESTORE
+ .2byte ITEM_MAX_POTION
+ .2byte ITEM_REVIVE
+ .2byte ITEM_ICE_HEAL
+ .2byte ITEM_FULL_HEAL
+ .2byte ITEM_ESCAPE_ROPE
+ .2byte ITEM_MAX_REPEL
+ .2byte ITEM_NONE
+ release
+ end
+
+FourIsland_Mart_EventScript_171CE8:: @ 8171CE8
+ loadword 0, gUnknown_81A3B14
+ callstd 2
+ end
diff --git a/data/maps/FourIsland_PokemonCenter_1F/map.json b/data/maps/FourIsland_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..1df35b78b
--- /dev/null
+++ b/data/maps/FourIsland_PokemonCenter_1F/map.json
@@ -0,0 +1,102 @@
+{
+ "id": "MAP_FOUR_ISLAND_POKEMON_CENTER_1F",
+ "name": "FourIsland_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_FOUR_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": "FourIsland_PokemonCenter_1F_EventScript_171BF9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 10,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_PokemonCenter_1F_EventScript_171C02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "31",
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "13",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_PokemonCenter_1F_EventScript_171C0B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_PokemonCenter_1F_EventScript_171C14",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_FOUR_ISLAND_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "script": "FourIsland_PokemonCenter_1F_EventScript_1ACDD0"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "script": "FourIsland_PokemonCenter_1F_EventScript_1ACDD0"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/FourIsland_PokemonCenter_1F/scripts.inc b/data/maps/FourIsland_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..334b32304
--- /dev/null
+++ b/data/maps/FourIsland_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,30 @@
+FourIsland_PokemonCenter_1F_MapScripts:: @ 8171BEA
+ map_script 3, FourIsland_PokemonCenter_1F_MapScript1_171BF5
+ map_script 5, FourIsland_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+FourIsland_PokemonCenter_1F_MapScript1_171BF5:: @ 8171BF5
+ setrespawn 17
+ end
+
+FourIsland_PokemonCenter_1F_EventScript_171BF9:: @ 8171BF9
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+FourIsland_PokemonCenter_1F_EventScript_171C02:: @ 8171C02
+ loadword 0, gUnknown_81A3627
+ callstd 2
+ end
+
+FourIsland_PokemonCenter_1F_EventScript_171C0B:: @ 8171C0B
+ loadword 0, gUnknown_81A3697
+ callstd 2
+ end
+
+FourIsland_PokemonCenter_1F_EventScript_171C14:: @ 8171C14
+ loadword 0, gUnknown_81A3734
+ callstd 2
+ end
diff --git a/data/maps/FourIsland_PokemonCenter_2F/map.json b/data/maps/FourIsland_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..ef54040ea
--- /dev/null
+++ b/data/maps/FourIsland_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_FOUR_ISLAND_POKEMON_CENTER_2F",
+ "name": "FourIsland_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_FOUR_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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FourIsland_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "FourIsland_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_FOUR_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FourIsland_PokemonCenter_2F/scripts.inc b/data/maps/FourIsland_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..37d21446e
--- /dev/null
+++ b/data/maps/FourIsland_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+FourIsland_PokemonCenter_2F_MapScripts:: @ 8171C1D
+ map_script 2, FourIsland_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, FourIsland_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, FourIsland_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, FourIsland_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+FourIsland_PokemonCenter_2F_EventScript_171C32:: @ 8171C32
+ call EventScript_1BB4A3
+ end
+
+EventScript_171C38:: @ 8171C38
+ call EventScript_1BB6AB
+ end
+
+EventScript_171C3E:: @ 8171C3E
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/FourIsland_PokemonDayCare/map.json b/data/maps/FourIsland_PokemonDayCare/map.json
new file mode 100644
index 000000000..580fcc1c0
--- /dev/null
+++ b/data/maps/FourIsland_PokemonDayCare/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_FOUR_ISLAND_POKEMON_DAY_CARE",
+ "name": "FourIsland_PokemonDayCare",
+ "layout": "LAYOUT_FOUR_ISLAND_POKEMON_DAY_CARE",
+ "music": "BGM_FRLG_ISLAND_FOUR",
+ "region_map_section": "MAPSEC_FOUR_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": "35",
+ "x": 2,
+ "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": "FourIsland_PokemonDayCare_EventScript_171940",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FOUR_ISLAND",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FourIsland_PokemonDayCare/scripts.inc b/data/maps/FourIsland_PokemonDayCare/scripts.inc
new file mode 100644
index 000000000..1b0011054
--- /dev/null
+++ b/data/maps/FourIsland_PokemonDayCare/scripts.inc
@@ -0,0 +1,235 @@
+FourIsland_PokemonDayCare_MapScripts:: @ 817193F
+ .byte 0
+
+FourIsland_PokemonDayCare_EventScript_171940:: @ 8171940
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ specialvar VAR_RESULT, GetDaycareState
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_171A2E
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_171A52
+ compare_var_to_value VAR_RESULT, 3
+ goto_if 1, EventScript_171B86
+ loadword 0, gUnknown_81BF7E4
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_171993
+ loadword 0, gUnknown_81BF916
+ callstd 4
+ release
+ end
+
+EventScript_171993:: @ 8171993
+ specialvar VAR_RESULT, CountPartyNonEggMons
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_171A1A
+ loadword 0, gUnknown_81BF839
+ callstd 4
+ fadescreen 1
+ special ChooseSendDaycareMon
+ waitstate
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_1719F7
+ specialvar VAR_RESULT, CountPartyAliveNonEggMons_IgnoreVar0x8004Slot
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_171A24
+ specialvar VAR_0x8005, GetSelectedMonNickAndSpecies
+ waitse
+ playmoncry 32773, 0
+ loadword 0, gUnknown_81BF860
+ callstd 4
+ waitmoncry
+ special StoreSelectedPokemonInDaycare
+ incrementgamestat 47
+ specialvar VAR_RESULT, GetDaycareState
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_171A01
+ release
+ end
+
+EventScript_1719F7:: @ 81719F7
+ loadword 0, gUnknown_81BF976
+ callstd 4
+ release
+ end
+
+EventScript_171A01:: @ 8171A01
+ loadword 0, gUnknown_81BF89F
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_171993
+ goto EventScript_1719F7
+ end
+
+EventScript_171A1A:: @ 8171A1A
+ loadword 0, gUnknown_81BFAAD
+ callstd 4
+ release
+ end
+
+EventScript_171A24:: @ 8171A24
+ loadword 0, gUnknown_81BFB09
+ callstd 4
+ release
+ end
+
+EventScript_171A2E:: @ 8171A2E
+ loadword 0, gUnknown_81BF8F6
+ callstd 4
+ release
+ end
+
+EventScript_171A38:: @ 8171A38
+ loadword 0, gUnknown_81BF9CC
+ callstd 4
+ return
+
+EventScript_171A41:: @ 8171A41
+ specialvar VAR_RESULT, GetNumLevelsGainedFromDaycare
+ compare_var_to_value VAR_RESULT, 0
+ call_if 5, EventScript_171A38
+ return
+
+EventScript_171A52:: @ 8171A52
+ loadword 0, gUnknown_81BF988
+ callstd 4
+ setvar VAR_0x8004, 0
+ call EventScript_171A41
+ loadword 0, gUnknown_81BF89F
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_171993
+ loadword 0, gUnknown_81BFAE8
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_171A90
+ goto EventScript_1719F7
+ end
+
+EventScript_171A90:: @ 8171A90
+ specialvar VAR_RESULT, CalculatePlayerPartyCount
+ compare_var_to_value VAR_RESULT, 6
+ goto_if 1, EventScript_171B67
+ specialvar VAR_RESULT, GetDaycareState
+ setvar VAR_0x8004, 0
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_171ACF
+ special ShowDaycareLevelMenu
+ waitstate
+ copyvar VAR_0x8004, VAR_RESULT
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1719F7
+ goto EventScript_171ACF
+ end
+
+EventScript_171ACF:: @ 8171ACF
+ special GetDaycareCost
+ loadword 0, gUnknown_81BFA3B
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_171AEB
+ goto EventScript_1719F7
+ end
+
+EventScript_171AEB:: @ 8171AEB
+ specialvar VAR_RESULT, IsEnoughForCostInVar0x8005
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_171B05
+ loadword 0, gUnknown_81BF932
+ callstd 4
+ release
+ end
+
+EventScript_171B05:: @ 8171B05
+ applymovement 1, Movement_171B71
+ waitmovement 0
+ specialvar VAR_RESULT, TakePokemonFromDaycare
+ special SubtractMoneyFromVar0x8005
+ playse SE_T_KAMI2
+ loadword 0, gUnknown_81BFA67
+ callstd 4
+ waitse
+ playmoncry 32781, 0
+ textcolor 3
+ loadword 0, gUnknown_81BFA85
+ callstd 4
+ call EventScript_1A6675
+ waitmoncry
+ specialvar VAR_RESULT, GetDaycareState
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_171B4E
+ goto EventScript_1719F7
+ end
+
+EventScript_171B4E:: @ 8171B4E
+ loadword 0, gUnknown_81BF94F
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_171A90
+ goto EventScript_1719F7
+ end
+
+EventScript_171B67:: @ 8171B67
+ loadword 0, gUnknown_81BF9EF
+ callstd 4
+ release
+ end
+
+Movement_171B71:: @ 8171B71
+ step_1c
+ step_1c
+ step_03
+ step_1c
+ step_1c
+ step_02
+ step_1c
+ step_1c
+ step_01
+ step_up
+ step_60
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_00
+ step_61
+ step_down
+ step_end
+
+EventScript_171B85:: @ 8171B85
+ end
+
+EventScript_171B86:: @ 8171B86
+ loadword 0, gUnknown_81BF988
+ callstd 4
+ setvar VAR_0x8004, 0
+ call EventScript_171A41
+ setvar VAR_0x8004, 1
+ call EventScript_171A41
+ loadword 0, gUnknown_81BFAE8
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_171A90
+ loadword 0, gUnknown_81BF976
+ callstd 4
+ release
+ end
+
+EventScript_171BBF:: @ 8171BBF
+ special ShowDaycareLevelMenu
+ waitstate
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1719F7
+ copyvar VAR_0x8004, VAR_RESULT
+ specialvar VAR_RESULT, TakePokemonFromDaycare
+ loadword 0, gUnknown_81BFA67
+ callstd 4
+ loadword 0, gUnknown_81BF976
+ callstd 4
+ release
+ end
diff --git a/data/maps/FuchsiaCity/map.json b/data/maps/FuchsiaCity/map.json
new file mode 100644
index 000000000..1bc5c6621
--- /dev/null
+++ b/data/maps/FuchsiaCity/map.json
@@ -0,0 +1,409 @@
+{
+ "id": "MAP_FUCHSIA_CITY",
+ "name": "FuchsiaCity",
+ "layout": "LAYOUT_FUCHSIA_CITY",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_FUCHSIA_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE19",
+ "offset": 12,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_ROUTE18",
+ "offset": 10,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_ROUTE15",
+ "offset": 10,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "27",
+ "x": 37,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_EventScript_166DAF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "128",
+ "x": 36,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "80",
+ "movement_range_x": 4,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "127",
+ "x": 33,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 33,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_EventScript_166DB8",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "117",
+ "x": 39,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 3,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "16",
+ "x": 14,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 3,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_EventScript_166D9D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "135",
+ "x": 12,
+ "y": 20,
+ "elevation": 1,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 36,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 4,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_EventScript_166DA6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "240",
+ "x": 8,
+ "y": 8,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "119",
+ "x": 16,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 4,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 30,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "95",
+ "x": 21,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_EventScript_1BDF13",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "95",
+ "x": 32,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_EventScript_1BDF13",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "95",
+ "x": 24,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_EventScript_1BDF13",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "20",
+ "x": 15,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_EventScript_1C4AEE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 40,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_EventScript_166DC1",
+ "flag": "157"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 24,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 33,
+ "y": 31,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY_BUILDING1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 11,
+ "y": 15,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY_MART",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 28,
+ "y": 16,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY_ZOO_BUILDING",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 9,
+ "y": 32,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY_GYM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 14,
+ "y": 31,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY_HOUSE1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 25,
+ "y": 31,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 38,
+ "y": 31,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY_HOUSE2",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 39,
+ "y": 28,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY_HOUSE2",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 39,
+ "y": 29,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY_HOUSE2",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 19,
+ "y": 31,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY_HOUSE3",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 31,
+ "y": 18,
+ "elevation": 3,
+ "script": "FuchsiaCity_EventScript_166DDA"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 26,
+ "y": 18,
+ "elevation": 0,
+ "script": "FuchsiaCity_EventScript_166DE3"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 32,
+ "elevation": 0,
+ "script": "FuchsiaCity_EventScript_166E07"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 31,
+ "y": 31,
+ "elevation": 0,
+ "script": "FuchsiaCity_EventScript_166DF5"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 35,
+ "y": 10,
+ "elevation": 0,
+ "script": "FuchsiaCity_EventScript_166E38"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 38,
+ "y": 16,
+ "elevation": 3,
+ "script": "FuchsiaCity_EventScript_166E6A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 41,
+ "y": 10,
+ "elevation": 0,
+ "script": "FuchsiaCity_EventScript_166E1F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 17,
+ "y": 10,
+ "elevation": 0,
+ "script": "FuchsiaCity_EventScript_166E51"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 10,
+ "elevation": 0,
+ "script": "FuchsiaCity_EventScript_166E9C"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 17,
+ "y": 18,
+ "elevation": 3,
+ "script": "FuchsiaCity_EventScript_166E83"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 22,
+ "y": 7,
+ "elevation": 0,
+ "script": "FuchsiaCity_EventScript_166DEC"
+ },
+ {
+ "type": "hidden_item",
+ "x": 33,
+ "y": 26,
+ "elevation": 3,
+ "item": "ITEM_MAX_REVIVE",
+ "flag": "133",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/FuchsiaCity/scripts.inc b/data/maps/FuchsiaCity/scripts.inc
new file mode 100644
index 000000000..39624941c
--- /dev/null
+++ b/data/maps/FuchsiaCity/scripts.inc
@@ -0,0 +1,163 @@
+FuchsiaCity_MapScripts:: @ 8166D75
+ map_script 3, FuchsiaCity_MapScript1_166D7B
+ .byte 0
+
+FuchsiaCity_MapScript1_166D7B:: @ 8166D7B
+ setworldmapflag 2199
+ checkflag FLAG_0x272
+ call_if 1, EventScript_166D91
+ checkflag FLAG_0x272
+ call_if 0, EventScript_166D97
+ end
+
+EventScript_166D91:: @ 8166D91
+ setvar VAR_0x4010, 118
+ return
+
+EventScript_166D97:: @ 8166D97
+ setvar VAR_0x4010, 147
+ return
+
+FuchsiaCity_EventScript_166D9D:: @ 8166D9D
+ loadword 0, gUnknown_818056E
+ callstd 2
+ end
+
+FuchsiaCity_EventScript_166DA6:: @ 8166DA6
+ loadword 0, gUnknown_81805C6
+ callstd 2
+ end
+
+FuchsiaCity_EventScript_166DAF:: @ 8166DAF
+ loadword 0, gUnknown_818062C
+ callstd 2
+ end
+
+FuchsiaCity_EventScript_166DB8:: @ 8166DB8
+ loadword 0, gUnknown_818065A
+ callstd 2
+ end
+
+FuchsiaCity_EventScript_166DC1:: @ 8166DC1
+ lock
+ faceplayer
+ setvar VAR_0x8004, 6
+ setvar VAR_0x8005, 3
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8180ABD
+ callstd 4
+ release
+ end
+
+FuchsiaCity_EventScript_166DDA:: @ 8166DDA
+ loadword 0, gUnknown_81806AB
+ callstd 3
+ end
+
+FuchsiaCity_EventScript_166DE3:: @ 8166DE3
+ loadword 0, gUnknown_81806D3
+ callstd 3
+ end
+
+FuchsiaCity_EventScript_166DEC:: @ 8166DEC
+ loadword 0, gUnknown_81806F0
+ callstd 3
+ end
+
+FuchsiaCity_EventScript_166DF5:: @ 8166DF5
+ loadword 0, gUnknown_818070D
+ callstd 3
+ end
+
+EventScript_166DFE:: @ 8166DFE
+ loadword 0, gUnknown_8180727
+ callstd 3
+ end
+
+FuchsiaCity_EventScript_166E07:: @ 8166E07
+ lockall
+ setvar VAR_0x8004, 6
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8180768
+ callstd 4
+ releaseall
+ end
+
+FuchsiaCity_EventScript_166E1F:: @ 8166E1F
+ lockall
+ setvar VAR_0x8004, 113
+ special sub_80CBDCC
+ drawmonpic SPECIES_CHANSEY, 10, 3
+ loadword 0, gUnknown_81807A9
+ callstd 4
+ erasemonpic
+ releaseall
+ end
+
+FuchsiaCity_EventScript_166E38:: @ 8166E38
+ lockall
+ setvar VAR_0x8004, 100
+ special sub_80CBDCC
+ drawmonpic SPECIES_VOLTORB, 10, 3
+ loadword 0, gUnknown_81807D9
+ callstd 4
+ erasemonpic
+ releaseall
+ end
+
+FuchsiaCity_EventScript_166E51:: @ 8166E51
+ lockall
+ setvar VAR_0x8004, 115
+ special sub_80CBDCC
+ drawmonpic SPECIES_KANGASKHAN, 10, 3
+ loadword 0, gUnknown_8180806
+ callstd 4
+ erasemonpic
+ releaseall
+ end
+
+FuchsiaCity_EventScript_166E6A:: @ 8166E6A
+ lockall
+ setvar VAR_0x8004, 79
+ special sub_80CBDCC
+ drawmonpic SPECIES_SLOWPOKE, 10, 3
+ loadword 0, gUnknown_8180859
+ callstd 4
+ erasemonpic
+ releaseall
+ end
+
+FuchsiaCity_EventScript_166E83:: @ 8166E83
+ lockall
+ setvar VAR_0x8004, 131
+ special sub_80CBDCC
+ drawmonpic SPECIES_LAPRAS, 10, 3
+ loadword 0, gUnknown_8180887
+ callstd 4
+ erasemonpic
+ releaseall
+ end
+
+FuchsiaCity_EventScript_166E9C:: @ 8166E9C
+ lockall
+ checkflag FLAG_0x272
+ goto_if 1, EventScript_166EBE
+ setvar VAR_0x8004, 140
+ special sub_80CBDCC
+ drawmonpic SPECIES_KABUTO, 10, 3
+ loadword 0, gUnknown_81808FA
+ callstd 4
+ erasemonpic
+ releaseall
+ end
+
+EventScript_166EBE:: @ 8166EBE
+ setvar VAR_0x8004, 138
+ special sub_80CBDCC
+ drawmonpic SPECIES_OMANYTE, 10, 3
+ loadword 0, gUnknown_81808AE
+ callstd 4
+ erasemonpic
+ releaseall
+ end
diff --git a/data/maps/FuchsiaCity_Building1/map.json b/data/maps/FuchsiaCity_Building1/map.json
new file mode 100644
index 000000000..694e7bc51
--- /dev/null
+++ b/data/maps/FuchsiaCity_Building1/map.json
@@ -0,0 +1,123 @@
+{
+ "id": "MAP_FUCHSIA_CITY_BUILDING1",
+ "name": "FuchsiaCity_Building1",
+ "layout": "LAYOUT_FUCHSIA_CITY_BUILDING1",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_FUCHSIA_CITY",
+ "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": "33",
+ "x": 3,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_Building1_EventScript_16D74C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 11,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_Building1_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "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": "FuchsiaCity_Building1_EventScript_1BEAA2",
+ "flag": "441"
+ },
+ {
+ "graphics_id": "0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_Building1_EventScript_1ACEB8",
+ "flag": "159"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 10,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 7,
+ "y": 10,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 4,
+ "elevation": 0,
+ "script": "FuchsiaCity_Building1_EventScript_16D80D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 4,
+ "elevation": 0,
+ "script": "FuchsiaCity_Building1_EventScript_16D804"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 4,
+ "elevation": 0,
+ "script": "FuchsiaCity_Building1_EventScript_16D804"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 4,
+ "elevation": 0,
+ "script": "FuchsiaCity_Building1_EventScript_16D80D"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/FuchsiaCity_Building1/scripts.inc b/data/maps/FuchsiaCity_Building1/scripts.inc
new file mode 100644
index 000000000..6b4c7a583
--- /dev/null
+++ b/data/maps/FuchsiaCity_Building1/scripts.inc
@@ -0,0 +1,79 @@
+FuchsiaCity_Building1_MapScripts:: @ 816D74B
+ .byte 0
+
+FuchsiaCity_Building1_EventScript_16D74C:: @ 816D74C
+ lock
+ faceplayer
+ checkflag FLAG_0x23A
+ goto_if 1, EventScript_16D7FA
+ checkflag FLAG_0x189
+ goto_if 1, EventScript_16D780
+ loadword 0, gUnknown_8198DF9
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_16D7E8
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_16D7F1
+ release
+ end
+
+EventScript_16D780:: @ 816D780
+ textcolor 3
+ playfanfare MUS_ME_WAZA
+ message Text_198E84
+ waitmessage
+ waitfanfare
+ loadword 0, gUnknown_8198EAA
+ callstd 4
+ call EventScript_1A6675
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_16D7D6
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_16D7DF
+ additem ITEM_HM04, 1
+ loadword 0, gUnknown_8199068
+ setorcopyvar VAR_0x8000, 342
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x23A
+ removeitem ITEM_GOLD_TEETH, 1
+ release
+ end
+
+EventScript_16D7D6:: @ 816D7D6
+ loadword 0, gUnknown_8198ECA
+ callstd 4
+ return
+
+EventScript_16D7DF:: @ 816D7DF
+ loadword 0, gUnknown_8198F96
+ callstd 4
+ return
+
+EventScript_16D7E8:: @ 816D7E8
+ loadword 0, gUnknown_8198E3F
+ callstd 4
+ return
+
+EventScript_16D7F1:: @ 816D7F1
+ loadword 0, gUnknown_8198E63
+ callstd 4
+ return
+
+EventScript_16D7FA:: @ 816D7FA
+ loadword 0, gUnknown_819908A
+ callstd 4
+ release
+ end
+
+FuchsiaCity_Building1_EventScript_16D804:: @ 816D804
+ loadword 0, gUnknown_819913C
+ callstd 3
+ end
+
+FuchsiaCity_Building1_EventScript_16D80D:: @ 816D80D
+ loadword 0, gUnknown_8199167
+ callstd 3
+ end
diff --git a/data/maps/FuchsiaCity_Gym/map.json b/data/maps/FuchsiaCity_Gym/map.json
new file mode 100644
index 000000000..775797674
--- /dev/null
+++ b/data/maps/FuchsiaCity_Gym/map.json
@@ -0,0 +1,161 @@
+{
+ "id": "MAP_FUCHSIA_CITY_GYM",
+ "name": "FuchsiaCity_Gym",
+ "layout": "LAYOUT_FUCHSIA_CITY_GYM",
+ "music": "BGM_FRLG_GYM",
+ "region_map_section": "MAPSEC_FUCHSIA_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "26",
+ "x": 12,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "18",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "FuchsiaCity_Gym_EventScript_16D65A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 2,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "FuchsiaCity_Gym_EventScript_16D643",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 11,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "FuchsiaCity_Gym_EventScript_16D61F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 13,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "FuchsiaCity_Gym_EventScript_16D608",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "FuchsiaCity_Gym_EventScript_16D5F1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 2,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "FuchsiaCity_Gym_EventScript_16D671",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "84",
+ "x": 7,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_Gym_EventScript_16D54E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "91",
+ "x": 11,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_Gym_EventScript_16D688",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 21,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 7,
+ "y": 21,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 8,
+ "y": 21,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 19,
+ "elevation": 0,
+ "script": "FuchsiaCity_Gym_EventScript_16D6A7"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 10,
+ "y": 19,
+ "elevation": 0,
+ "script": "FuchsiaCity_Gym_EventScript_16D6A7"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/FuchsiaCity_Gym/scripts.inc b/data/maps/FuchsiaCity_Gym/scripts.inc
new file mode 100644
index 000000000..fee370e20
--- /dev/null
+++ b/data/maps/FuchsiaCity_Gym/scripts.inc
@@ -0,0 +1,120 @@
+FuchsiaCity_Gym_MapScripts:: @ 816D54D
+ .byte 0
+
+FuchsiaCity_Gym_EventScript_16D54E:: @ 816D54E
+ setvar VAR_0x8004, 6
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ trainerbattle 1, 418, 0, Text_19832E, Text_198444, EventScript_16D580
+ checkflag FLAG_0x259
+ goto_if 0, EventScript_16D5A6
+ loadword 0, gUnknown_8198481
+ callstd 4
+ release
+ end
+
+EventScript_16D580:: @ 816D580
+ setvar VAR_0x8004, 6
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ clearflag FLAG_0x09F
+ setflag FLAG_0x4B4
+ setflag FLAG_UNK824
+ setvar VAR_0x8008, 5
+ call EventScript_1A6B18
+ goto EventScript_16D5A6
+ end
+
+EventScript_16D5A6:: @ 816D5A6
+ loadword 0, gUnknown_819850E
+ callstd 4
+ checkitemspace ITEM_TM06, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16D5E7
+ additem ITEM_TM06, 1
+ loadword 0, gUnknown_819858F
+ setorcopyvar VAR_0x8000, 294
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x259
+ loadword 0, gUnknown_81985AB
+ callstd 4
+ release
+ end
+
+EventScript_16D5E7:: @ 816D5E7
+ loadword 0, gUnknown_819860D
+ callstd 4
+ release
+ end
+
+FuchsiaCity_Gym_EventScript_16D5F1:: @ 816D5F1
+ trainerbattle 0, 294, 0, Text_198866, Text_1988B6
+ loadword 0, gUnknown_81988CB
+ callstd 6
+ end
+
+FuchsiaCity_Gym_EventScript_16D608:: @ 816D608
+ trainerbattle 0, 295, 0, Text_19891F, Text_19897F
+ loadword 0, gUnknown_8198985
+ callstd 6
+ end
+
+FuchsiaCity_Gym_EventScript_16D61F:: @ 816D61F
+ trainerbattle 0, 288, 0, Text_19871E, Text_198779
+ setvar VAR_0x8004, 6
+ setvar VAR_0x8005, 2
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8198787
+ callstd 6
+ end
+
+FuchsiaCity_Gym_EventScript_16D643:: @ 816D643
+ trainerbattle 0, 289, 0, Text_1989A1, Text_1989EA
+ loadword 0, gUnknown_8198A10
+ callstd 6
+ end
+
+FuchsiaCity_Gym_EventScript_16D65A:: @ 816D65A
+ trainerbattle 0, 292, 0, Text_198629, Text_1986B4
+ loadword 0, gUnknown_81986C9
+ callstd 6
+ end
+
+FuchsiaCity_Gym_EventScript_16D671:: @ 816D671
+ trainerbattle 0, 293, 0, Text_1987E8, Text_198812
+ loadword 0, gUnknown_8198825
+ callstd 6
+ end
+
+FuchsiaCity_Gym_EventScript_16D688:: @ 816D688
+ lock
+ faceplayer
+ checkflag FLAG_0x4B4
+ goto_if 1, EventScript_16D69D
+ loadword 0, gUnknown_8198A5E
+ callstd 4
+ release
+ end
+
+EventScript_16D69D:: @ 816D69D
+ loadword 0, gUnknown_8198B1D
+ callstd 4
+ release
+ end
+
+FuchsiaCity_Gym_EventScript_16D6A7:: @ 816D6A7
+ lockall
+ checkflag FLAG_UNK824
+ goto_if 1, EventScript_16D6BB
+ loadword 0, gUnknown_8198B4B
+ callstd 4
+ releaseall
+ end
+
+EventScript_16D6BB:: @ 816D6BB
+ loadword 0, gUnknown_8198B81
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/FuchsiaCity_House1/map.json b/data/maps/FuchsiaCity_House1/map.json
new file mode 100644
index 000000000..2686c6c25
--- /dev/null
+++ b/data/maps/FuchsiaCity_House1/map.json
@@ -0,0 +1,81 @@
+{
+ "id": "MAP_FUCHSIA_CITY_HOUSE1",
+ "name": "FuchsiaCity_House1",
+ "layout": "LAYOUT_HOUSE1",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_FUCHSIA_CITY",
+ "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": "32",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_House1_EventScript_16D6CF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 1,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_House1_EventScript_16D6C6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "16",
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_House1_EventScript_16D6E8",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FuchsiaCity_House1/scripts.inc b/data/maps/FuchsiaCity_House1/scripts.inc
new file mode 100644
index 000000000..7f3f29d91
--- /dev/null
+++ b/data/maps/FuchsiaCity_House1/scripts.inc
@@ -0,0 +1,23 @@
+FuchsiaCity_House1_MapScripts:: @ 816D6C5
+ .byte 0
+
+FuchsiaCity_House1_EventScript_16D6C6:: @ 816D6C6
+ loadword 0, gUnknown_8198BBB
+ callstd 2
+ end
+
+FuchsiaCity_House1_EventScript_16D6CF:: @ 816D6CF
+ lock
+ faceplayer
+ setvar VAR_0x8004, 13
+ setvar VAR_0x8005, 2
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8198C1F
+ callstd 4
+ release
+ end
+
+FuchsiaCity_House1_EventScript_16D6E8:: @ 816D6E8
+ loadword 0, gUnknown_8198C7B
+ callstd 2
+ end
diff --git a/data/maps/FuchsiaCity_House2/map.json b/data/maps/FuchsiaCity_House2/map.json
new file mode 100644
index 000000000..d18088c38
--- /dev/null
+++ b/data/maps/FuchsiaCity_House2/map.json
@@ -0,0 +1,62 @@
+{
+ "id": "MAP_FUCHSIA_CITY_HOUSE2",
+ "name": "FuchsiaCity_House2",
+ "layout": "LAYOUT_FUCHSIA_CITY_HOUSE2",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_FUCHSIA_CITY",
+ "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": "57",
+ "x": 6,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_House2_EventScript_16D817",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 3,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 3,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 8
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FuchsiaCity_House2/scripts.inc b/data/maps/FuchsiaCity_House2/scripts.inc
new file mode 100644
index 000000000..82d9cf932
--- /dev/null
+++ b/data/maps/FuchsiaCity_House2/scripts.inc
@@ -0,0 +1,46 @@
+FuchsiaCity_House2_MapScripts:: @ 816D816
+ .byte 0
+
+FuchsiaCity_House2_EventScript_16D817:: @ 816D817
+ lock
+ faceplayer
+ checkflag FLAG_0x244
+ goto_if 1, EventScript_16D83F
+ loadword 0, gUnknown_819918E
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16D849
+ loadword 0, gUnknown_8199337
+ callstd 4
+ release
+ end
+
+EventScript_16D83F:: @ 816D83F
+ loadword 0, gUnknown_8199354
+ callstd 4
+ release
+ end
+
+EventScript_16D849:: @ 816D849
+ loadword 0, gUnknown_8199207
+ callstd 4
+ checkitemspace ITEM_GOOD_ROD, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16D88A
+ additem ITEM_GOOD_ROD, 1
+ loadword 0, gUnknown_819925E
+ setorcopyvar VAR_0x8000, 263
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ loadword 0, gUnknown_8199296
+ callstd 4
+ setflag FLAG_0x244
+ release
+ end
+
+EventScript_16D88A:: @ 816D88A
+ loadword 0, gUnknown_819937E
+ callstd 4
+ release
+ end
diff --git a/data/maps/FuchsiaCity_House3/map.json b/data/maps/FuchsiaCity_House3/map.json
new file mode 100644
index 000000000..a3445dd83
--- /dev/null
+++ b/data/maps/FuchsiaCity_House3/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_FUCHSIA_CITY_HOUSE3",
+ "name": "FuchsiaCity_House3",
+ "layout": "LAYOUT_HOUSE1",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_FUCHSIA_CITY",
+ "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": "30",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_House3_EventScript_16D895",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 10
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FuchsiaCity_House3/scripts.inc b/data/maps/FuchsiaCity_House3/scripts.inc
new file mode 100644
index 000000000..c7a7f60bb
--- /dev/null
+++ b/data/maps/FuchsiaCity_House3/scripts.inc
@@ -0,0 +1,68 @@
+FuchsiaCity_House3_MapScripts:: @ 816D894
+ .byte 0
+
+FuchsiaCity_House3_EventScript_16D895:: @ 816D895
+ lock
+ faceplayer
+ loadword 0, gUnknown_81993B9
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16D8B0
+ goto EventScript_16D941
+ end
+
+EventScript_16D8B0:: @ 816D8B0
+ loadword 0, gUnknown_8199421
+ callstd 4
+ special sub_80BF8FC
+ waitstate
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_16D941
+ special sub_80BFC14
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16D937
+ special ScrSpecial_CountPokemonMoves
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16D92A
+ loadword 0, gUnknown_8199445
+ callstd 4
+ fadescreen 1
+ special sub_80BF9BC
+ fadescreen 0
+ compare_var_to_value VAR_0x8005, 4
+ goto_if 1, EventScript_16D8B0
+ special ScrSpecial_GetPokemonNicknameAndMoveName
+ loadword 0, gUnknown_8199485
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16D919
+ goto EventScript_16D941
+ end
+
+EventScript_16D919:: @ 816D919
+ special sub_80BFBA8
+ playfanfare MUS_ME_WASURE
+ waitfanfare
+ loadword 0, gUnknown_81994B1
+ callstd 4
+ release
+ end
+
+EventScript_16D92A:: @ 816D92A
+ special ScrSpecial_GetPokemonNicknameAndMoveName
+ loadword 0, gUnknown_8199465
+ callstd 4
+ release
+ end
+
+EventScript_16D937:: @ 816D937
+ loadword 0, gUnknown_819951F
+ callstd 4
+ release
+ end
+
+EventScript_16D941:: @ 816D941
+ loadword 0, gUnknown_81994EA
+ callstd 4
+ release
+ end
diff --git a/data/maps/FuchsiaCity_Mart/map.json b/data/maps/FuchsiaCity_Mart/map.json
new file mode 100644
index 000000000..24dc3ba36
--- /dev/null
+++ b/data/maps/FuchsiaCity_Mart/map.json
@@ -0,0 +1,81 @@
+{
+ "id": "MAP_FUCHSIA_CITY_MART",
+ "name": "FuchsiaCity_Mart",
+ "layout": "LAYOUT_MART",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_FUCHSIA_CITY",
+ "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": "68",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_Mart_EventScript_16D4F3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 6,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_Mart_EventScript_16D4EA",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 9,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_Mart_EventScript_16D4E1",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FuchsiaCity_Mart/scripts.inc b/data/maps/FuchsiaCity_Mart/scripts.inc
new file mode 100644
index 000000000..b87c05ce7
--- /dev/null
+++ b/data/maps/FuchsiaCity_Mart/scripts.inc
@@ -0,0 +1,38 @@
+FuchsiaCity_Mart_MapScripts:: @ 816D4E0
+ .byte 0
+
+FuchsiaCity_Mart_EventScript_16D4E1:: @ 816D4E1
+ loadword 0, gUnknown_8198134
+ callstd 2
+ end
+
+FuchsiaCity_Mart_EventScript_16D4EA:: @ 816D4EA
+ loadword 0, gUnknown_81980BC
+ callstd 2
+ end
+
+FuchsiaCity_Mart_EventScript_16D4F3:: @ 816D4F3
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16D518
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16D518:: @ 816D518
+ .2byte ITEM_ULTRA_BALL
+ .2byte ITEM_GREAT_BALL
+ .2byte ITEM_SUPER_POTION
+ .2byte ITEM_REVIVE
+ .2byte ITEM_FULL_HEAL
+ .2byte ITEM_MAX_REPEL
+ .2byte ITEM_NONE
+ release
+ end
diff --git a/data/maps/FuchsiaCity_PokemonCenter_1F/map.json b/data/maps/FuchsiaCity_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..04a1a80b3
--- /dev/null
+++ b/data/maps/FuchsiaCity_PokemonCenter_1F/map.json
@@ -0,0 +1,101 @@
+{
+ "id": "MAP_FUCHSIA_CITY_POKEMON_CENTER_1F",
+ "name": "FuchsiaCity_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_FUCHSIA_CITY",
+ "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": "FuchsiaCity_PokemonCenter_1F_EventScript_16D700",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 12,
+ "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": "FuchsiaCity_PokemonCenter_1F_EventScript_16D709",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 13,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_PokemonCenter_1F_EventScript_16D712",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_PokemonCenter_1F_EventScript_16D71B",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_FUCHSIA_CITY_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc b/data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..c52bf9f88
--- /dev/null
+++ b/data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,30 @@
+FuchsiaCity_PokemonCenter_1F_MapScripts:: @ 816D6F1
+ map_script 3, FuchsiaCity_PokemonCenter_1F_MapScript1_16D6FC
+ map_script 5, FuchsiaCity_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+FuchsiaCity_PokemonCenter_1F_MapScript1_16D6FC:: @ 816D6FC
+ setrespawn 8
+ end
+
+FuchsiaCity_PokemonCenter_1F_EventScript_16D700:: @ 816D700
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+FuchsiaCity_PokemonCenter_1F_EventScript_16D709:: @ 816D709
+ loadword 0, gUnknown_8198CB7
+ callstd 2
+ end
+
+FuchsiaCity_PokemonCenter_1F_EventScript_16D712:: @ 816D712
+ loadword 0, gUnknown_8198D2E
+ callstd 2
+ end
+
+FuchsiaCity_PokemonCenter_1F_EventScript_16D71B:: @ 816D71B
+ loadword 0, gUnknown_8198D9B
+ callstd 2
+ end
diff --git a/data/maps/FuchsiaCity_PokemonCenter_2F/map.json b/data/maps/FuchsiaCity_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..ce72c9b33
--- /dev/null
+++ b/data/maps/FuchsiaCity_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_FUCHSIA_CITY_POKEMON_CENTER_2F",
+ "name": "FuchsiaCity_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_FUCHSIA_CITY",
+ "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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "FuchsiaCity_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_FUCHSIA_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FuchsiaCity_PokemonCenter_2F/scripts.inc b/data/maps/FuchsiaCity_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..2f62e3591
--- /dev/null
+++ b/data/maps/FuchsiaCity_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+FuchsiaCity_PokemonCenter_2F_MapScripts:: @ 816D724
+ map_script 2, FuchsiaCity_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, FuchsiaCity_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, FuchsiaCity_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, FuchsiaCity_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+FuchsiaCity_PokemonCenter_2F_EventScript_16D739:: @ 816D739
+ call EventScript_1BB4A3
+ end
+
+EventScript_16D73F:: @ 816D73F
+ call EventScript_1BB6AB
+ end
+
+EventScript_16D745:: @ 816D745
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/FuchsiaCity_SafariZone_Entrance/map.json b/data/maps/FuchsiaCity_SafariZone_Entrance/map.json
new file mode 100644
index 000000000..b6fbd9ec6
--- /dev/null
+++ b/data/maps/FuchsiaCity_SafariZone_Entrance/map.json
@@ -0,0 +1,103 @@
+{
+ "id": "MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE",
+ "name": "FuchsiaCity_SafariZone_Entrance",
+ "layout": "LAYOUT_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_FUCHSIA_CITY",
+ "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": "47",
+ "x": 7,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 1,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_SafariZone_Entrance_EventScript_16D4B7",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 4,
+ "y": 3,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "FuchsiaCity_SafariZone_Entrance_EventScript_16D36D"
+ },
+ {
+ "type": "trigger",
+ "x": 5,
+ "y": 3,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "FuchsiaCity_SafariZone_Entrance_EventScript_16D379"
+ },
+ {
+ "type": "trigger",
+ "x": 3,
+ "y": 3,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "FuchsiaCity_SafariZone_Entrance_EventScript_16D385"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc b/data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc
new file mode 100644
index 000000000..157b1dbdb
--- /dev/null
+++ b/data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc
@@ -0,0 +1,231 @@
+FuchsiaCity_SafariZone_Entrance_MapScripts:: @ 816D2A8
+ map_script 2, FuchsiaCity_SafariZone_Entrance_MapScript1_16D2AE
+ .byte 0
+
+FuchsiaCity_SafariZone_Entrance_MapScript1_16D2AE:: @ 816D2AE
+ map_script_2 VAR_0x406E, 1, EventScript_16D2F2
+ map_script_2 VAR_0x406E, 2, EventScript_16D312
+ map_script_2 VAR_0x406E, 3, EventScript_16D2C8
+ .2byte 0
+
+EventScript_16D2C8:: @ 816D2C8
+ lockall
+ textcolor 0
+ applymovement 255, Movement_16D36A
+ waitmovement 0
+ loadword 0, gUnknown_8197E85
+ callstd 4
+ closemessage
+ applymovement 255, Movement_16D367
+ waitmovement 0
+ special sub_80A0EEC
+ setvar VAR_0x406E, 0
+ releaseall
+ end
+
+EventScript_16D2F2:: @ 816D2F2
+ lockall
+ textcolor 0
+ loadword 0, gUnknown_8197E85
+ callstd 4
+ closemessage
+ applymovement 255, Movement_16D362
+ waitmovement 0
+ special sub_80A0EEC
+ setvar VAR_0x406E, 0
+ releaseall
+ end
+
+EventScript_16D312:: @ 816D312
+ lockall
+ textcolor 0
+ loadword 0, gUnknown_8197E1A
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16D345
+ loadword 0, gUnknown_8197E48
+ callstd 4
+ closemessage
+ applymovement 255, Movement_16D362
+ waitmovement 0
+ special sub_80A0EEC
+ setvar VAR_0x406E, 0
+ releaseall
+ end
+
+EventScript_16D345:: @ 816D345
+ loadword 0, gUnknown_8197E7A
+ callstd 4
+ closemessage
+ applymovement 255, Movement_16D365
+ waitmovement 0
+ warp MAP_SAFARI_ZONE_CENTER, 255, 26, 30
+ waitstate
+ end
+
+Movement_16D362:: @ 816D362
+ step_10
+ step_10
+ step_end
+
+Movement_16D365:: @ 816D365
+ step_11
+ step_end
+
+Movement_16D367:: @ 816D367
+ step_10
+ step_10
+ step_end
+
+Movement_16D36A:: @ 816D36A
+ step_10
+ step_1b
+ step_end
+
+FuchsiaCity_SafariZone_Entrance_EventScript_16D36D:: @ 816D36D
+ lockall
+ setvar VAR_0x4002, 0
+ goto EventScript_16D391
+ end
+
+FuchsiaCity_SafariZone_Entrance_EventScript_16D379:: @ 816D379
+ lockall
+ setvar VAR_0x4002, 1
+ goto EventScript_16D391
+ end
+
+FuchsiaCity_SafariZone_Entrance_EventScript_16D385:: @ 816D385
+ lockall
+ setvar VAR_0x4002, 2
+ goto EventScript_16D391
+ end
+
+EventScript_16D391:: @ 816D391
+ textcolor 0
+ loadword 0, gUnknown_8197C6B
+ callstd 4
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ showmoneybox 0, 0, 0
+ loadword 0, gUnknown_8197C87
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16D3CA
+ loadword 0, gUnknown_8197DE9
+ callstd 4
+ goto EventScript_16D49A
+ end
+
+EventScript_16D3CA:: @ 816D3CA
+ call EventScript_16D462
+ checkmoney 500, 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16D48C
+ takemoney 500, 0
+ updatemoneybox 0, 0, 0
+ loadword 0, gUnknown_8197D07
+ callstd 4
+ textcolor 3
+ playfanfare MUS_FANFA1
+ message Text_197D50
+ waitfanfare
+ call EventScript_1A6675
+ loadword 0, gUnknown_8197D80
+ callstd 4
+ closemessage
+ hidemoneybox
+ .byte 0
+ .byte 0
+ compare_var_to_value VAR_0x4002, 0
+ call_if 1, EventScript_16D44C
+ compare_var_to_value VAR_0x4002, 1
+ call_if 1, EventScript_16D441
+ compare_var_to_value VAR_0x4002, 2
+ call_if 1, EventScript_16D457
+ special sub_80A0EC4
+ setvar VAR_0x406E, 2
+ warp MAP_SAFARI_ZONE_CENTER, 255, 26, 30
+ waitstate
+ end
+
+EventScript_16D441:: @ 816D441
+ applymovement 255, Movement_16D4AF
+ waitmovement 0
+ return
+
+EventScript_16D44C:: @ 816D44C
+ applymovement 255, Movement_16D4AC
+ waitmovement 0
+ return
+
+EventScript_16D457:: @ 816D457
+ applymovement 255, Movement_16D4B3
+ waitmovement 0
+ return
+
+EventScript_16D462:: @ 816D462
+ countpokemon
+ compare_var_to_value VAR_RESULT, 6
+ goto_if 5, EventScript_1A77A9
+ specialvar VAR_RESULT, sub_80CABD0
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_1A77A9
+ loadword 0, gUnknown_81BFEAC
+ callstd 4
+ goto EventScript_16D49A
+ end
+
+EventScript_16D48C:: @ 816D48C
+ loadword 0, gUnknown_8197E02
+ callstd 4
+ goto EventScript_16D49A
+ end
+
+EventScript_16D49A:: @ 816D49A
+ closemessage
+ hidemoneybox
+ .byte 0
+ .byte 0
+ applymovement 255, Movement_16D4AA
+ waitmovement 0
+ releaseall
+ end
+
+Movement_16D4AA:: @ 816D4AA
+ step_10
+ step_end
+
+Movement_16D4AC:: @ 816D4AC
+ step_11
+ step_11
+ step_end
+
+Movement_16D4AF:: @ 816D4AF
+ step_11
+ step_12
+ step_11
+ step_end
+
+Movement_16D4B3:: @ 816D4B3
+ step_11
+ step_13
+ step_11
+ step_end
+
+FuchsiaCity_SafariZone_Entrance_EventScript_16D4B7:: @ 816D4B7
+ lock
+ faceplayer
+ loadword 0, gUnknown_8197EB0
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16D4D6
+ loadword 0, gUnknown_819809E
+ callstd 4
+ release
+ end
+
+EventScript_16D4D6:: @ 816D4D6
+ loadword 0, gUnknown_8197EE3
+ callstd 4
+ release
+ end
diff --git a/data/maps/FuchsiaCity_ZooBuilding/map.json b/data/maps/FuchsiaCity_ZooBuilding/map.json
new file mode 100644
index 000000000..0448b9984
--- /dev/null
+++ b/data/maps/FuchsiaCity_ZooBuilding/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_FUCHSIA_CITY_ZOO_BUILDING",
+ "name": "FuchsiaCity_ZooBuilding",
+ "layout": "LAYOUT_FUCHSIA_CITY_ZOO_BUILDING",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_FUCHSIA_CITY",
+ "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": "47",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_ZooBuilding_EventScript_16D532",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 12,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_ZooBuilding_EventScript_16D53B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_ZooBuilding_EventScript_16D529",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 10,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FuchsiaCity_ZooBuilding_EventScript_16D544",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 6,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 7,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/FuchsiaCity_ZooBuilding/scripts.inc b/data/maps/FuchsiaCity_ZooBuilding/scripts.inc
new file mode 100644
index 000000000..80c385909
--- /dev/null
+++ b/data/maps/FuchsiaCity_ZooBuilding/scripts.inc
@@ -0,0 +1,22 @@
+FuchsiaCity_ZooBuilding_MapScripts:: @ 816D528
+ .byte 0
+
+FuchsiaCity_ZooBuilding_EventScript_16D529:: @ 816D529
+ loadword 0, gUnknown_819816B
+ callstd 2
+ end
+
+FuchsiaCity_ZooBuilding_EventScript_16D532:: @ 816D532
+ loadword 0, gUnknown_81981C2
+ callstd 2
+ end
+
+FuchsiaCity_ZooBuilding_EventScript_16D53B:: @ 816D53B
+ loadword 0, gUnknown_819822A
+ callstd 2
+ end
+
+FuchsiaCity_ZooBuilding_EventScript_16D544:: @ 816D544
+ loadword 0, gUnknown_8198285
+ callstd 2
+ end
diff --git a/data/maps/IndigoPlateau_Exterior/map.json b/data/maps/IndigoPlateau_Exterior/map.json
new file mode 100644
index 000000000..29c62a76c
--- /dev/null
+++ b/data/maps/IndigoPlateau_Exterior/map.json
@@ -0,0 +1,60 @@
+{
+ "id": "MAP_INDIGO_PLATEAU_EXTERIOR",
+ "name": "IndigoPlateau_Exterior",
+ "layout": "LAYOUT_INDIGO_PLATEAU_EXTERIOR",
+ "music": "BGM_FRLG_INDIGO_PLATEAU",
+ "region_map_section": "MAPSEC_INDIGO_PLATEAU",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE23",
+ "offset": 0,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "72",
+ "x": 11,
+ "y": 6,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "163"
+ },
+ {
+ "graphics_id": "71",
+ "x": 11,
+ "y": 6,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "164"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 6,
+ "elevation": 0,
+ "dest_map": "MAP_INDIGO_PLATEAU_POKEMON_CENTER_1F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/IndigoPlateau_Exterior/scripts.inc b/data/maps/IndigoPlateau_Exterior/scripts.inc
new file mode 100644
index 000000000..101993c19
--- /dev/null
+++ b/data/maps/IndigoPlateau_Exterior/scripts.inc
@@ -0,0 +1,167 @@
+IndigoPlateau_Exterior_MapScripts:: @ 816723B
+ map_script 3, IndigoPlateau_Exterior_MapScript1_167246
+ map_script 2, IndigoPlateau_Exterior_MapScript2_16725A
+ .byte 0
+
+IndigoPlateau_Exterior_MapScript1_167246:: @ 8167246
+ setworldmapflag 2201
+ compare_var_to_value VAR_0x4085, 1
+ call_if 1, EventScript_167255
+ end
+
+EventScript_167255:: @ 8167255
+ playbgm BGM_FRLG_CREDITS, 0
+ return
+
+IndigoPlateau_Exterior_MapScript2_16725A:: @ 816725A
+ map_script_2 VAR_0x4085, 1, EventScript_167264
+ .2byte 0
+
+EventScript_167264:: @ 8167264
+ lockall
+ delay 105
+ opendoor 11, 6
+ waitdooranim
+ special SpawnScriptFieldObject
+ addobject 1
+ applymovement 1, Movement_167346
+ applymovement 255, Movement_167337
+ waitmovement 0
+ closedoor 11, 6
+ waitdooranim
+ applymovement 255, Movement_16731B
+ applymovement 1, Movement_16733E
+ waitmovement 0
+ delay 100
+ opendoor 11, 6
+ waitdooranim
+ addobject 2
+ applymovement 2, Movement_16735D
+ waitmovement 0
+ closedoor 11, 6
+ waitdooranim
+ delay 160
+ applymovement 255, Movement_16731F
+ applymovement 2, Movement_167348
+ waitmovement 0
+ delay 100
+ applymovement 255, Movement_16732E
+ waitmovement 0
+ delay 155
+ applymovement 255, Movement_16733C
+ waitmovement 0
+ delay 90
+ applymovement 255, Movement_167335
+ waitmovement 0
+ applymovement 255, Movement_167311
+ waitmovement 0
+ special RemoveScriptFieldObject
+ setvar VAR_0x4085, 0
+ removeobject 1
+ removeobject 2
+ special sub_80F39B4
+ waitstate
+ releaseall
+ end
+
+Movement_167311:: @ 8167311
+ step_3d
+ step_3d
+ step_3d
+ step_3d
+ step_3d
+ step_3d
+ step_end
+
+Movement_167318:: @ 8167318
+ step_10
+ step_10
+ step_end
+
+Movement_16731B:: @ 816731B
+ step_1c
+ step_1a
+ step_2d
+ step_end
+
+Movement_16731F:: @ 816731F
+ step_1b
+ step_30
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_2d
+ step_end
+
+Movement_16732E:: @ 816732E
+ step_13
+ step_1c
+ step_10
+ step_10
+ step_1c
+ step_1c
+ step_end
+
+Movement_167335:: @ 8167335
+ step_2d
+ step_end
+
+Movement_167337:: @ 8167337
+ step_03
+ step_4c
+ step_12
+ step_4d
+ step_end
+
+Movement_16733C:: @ 816733C
+ step_2e
+ step_end
+
+Movement_16733E:: @ 816733E
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_end
+
+Movement_167346:: @ 8167346
+ step_1d
+ step_end
+
+Movement_167348:: @ 8167348
+ step_2f
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_2d
+ step_1c
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_16735D:: @ 816735D
+ step_10
+ step_end
diff --git a/data/maps/IndigoPlateau_PokemonCenter_1F/map.json b/data/maps/IndigoPlateau_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..89ba4f048
--- /dev/null
+++ b/data/maps/IndigoPlateau_PokemonCenter_1F/map.json
@@ -0,0 +1,146 @@
+{
+ "id": "MAP_INDIGO_PLATEAU_POKEMON_CENTER_1F",
+ "name": "IndigoPlateau_PokemonCenter_1F",
+ "layout": "LAYOUT_INDIGO_PLATEAU_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_GYM",
+ "region_map_section": "MAPSEC_INDIGO_PLATEAU",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "68",
+ "x": 0,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EACC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "64",
+ "x": 13,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EB06",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "91",
+ "x": 7,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EAC3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 5,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 23,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "0",
+ "x": 22,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "41",
+ "x": 16,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD087",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "0",
+ "x": 23,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C",
+ "flag": "157"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 16,
+ "elevation": 3,
+ "dest_map": "MAP_INDIGO_PLATEAU_EXTERIOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_LEAGUE_LORELEIS_ROOM",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 1,
+ "y": 14,
+ "elevation": 4,
+ "dest_map": "MAP_INDIGO_PLATEAU_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc b/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..42a3280a2
--- /dev/null
+++ b/data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,81 @@
+IndigoPlateau_PokemonCenter_1F_MapScripts:: @ 816EA5A
+ map_script 3, IndigoPlateau_PokemonCenter_1F_MapScript1_16EA65
+ map_script 5, IndigoPlateau_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+IndigoPlateau_PokemonCenter_1F_MapScript1_16EA65:: @ 816EA65
+ setrespawn 10
+ specialvar VAR_RESULT, sub_806E25C
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_16EA79
+ end
+
+EventScript_16EA79:: @ 816EA79
+ checkflag 2116
+ goto_if 1, EventScript_1A77A9
+ setobjectxyperm 4, 4, 2
+ return
+
+IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A:: @ 816EA8A
+ lock
+ faceplayer
+ specialvar VAR_RESULT, sub_806E25C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16EAA6
+ loadword 0, gUnknown_819A8D8
+ callstd 4
+ release
+ end
+
+EventScript_16EAA6:: @ 816EAA6
+ checkflag 2116
+ goto_if 1, EventScript_16EAB9
+ loadword 0, gUnknown_819A943
+ callstd 4
+ release
+ end
+
+EventScript_16EAB9:: @ 816EAB9
+ loadword 0, gUnknown_819A8D8
+ callstd 4
+ release
+ end
+
+IndigoPlateau_PokemonCenter_1F_EventScript_16EAC3:: @ 816EAC3
+ loadword 0, gUnknown_819A837
+ callstd 2
+ end
+
+IndigoPlateau_PokemonCenter_1F_EventScript_16EACC:: @ 816EACC
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16EAF4
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16EAF4:: @ 816EAF4
+ .2byte ITEM_ULTRA_BALL
+ .2byte ITEM_GREAT_BALL
+ .2byte ITEM_FULL_RESTORE
+ .2byte ITEM_MAX_POTION
+ .2byte ITEM_REVIVE
+ .2byte ITEM_FULL_HEAL
+ .2byte ITEM_MAX_REPEL
+ .2byte ITEM_NONE
+ release
+ end
+
+IndigoPlateau_PokemonCenter_1F_EventScript_16EB06:: @ 816EB06
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
diff --git a/data/maps/IndigoPlateau_PokemonCenter_2F/map.json b/data/maps/IndigoPlateau_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..3003616f3
--- /dev/null
+++ b/data/maps/IndigoPlateau_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_INDIGO_PLATEAU_POKEMON_CENTER_2F",
+ "name": "IndigoPlateau_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_INDIGO_PLATEAU",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "IndigoPlateau_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_INDIGO_PLATEAU_POKEMON_CENTER_1F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/IndigoPlateau_PokemonCenter_2F/scripts.inc b/data/maps/IndigoPlateau_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..152e39da9
--- /dev/null
+++ b/data/maps/IndigoPlateau_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+IndigoPlateau_PokemonCenter_2F_MapScripts:: @ 816EB0F
+ map_script 2, IndigoPlateau_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, IndigoPlateau_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, IndigoPlateau_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, IndigoPlateau_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+IndigoPlateau_PokemonCenter_2F_EventScript_16EB24:: @ 816EB24
+ call EventScript_1BB4A3
+ end
+
+EventScript_16EB2A:: @ 816EB2A
+ call EventScript_1BB6AB
+ end
+
+EventScript_16EB30:: @ 816EB30
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/LavenderTown/map.json b/data/maps/LavenderTown/map.json
new file mode 100644
index 000000000..6231d9469
--- /dev/null
+++ b/data/maps/LavenderTown/map.json
@@ -0,0 +1,147 @@
+{
+ "id": "MAP_LAVENDER_TOWN",
+ "name": "LavenderTown",
+ "layout": "LAYOUT_LAVENDER_TOWN",
+ "music": "BGM_FRLG_LAVENDER_TOWN",
+ "region_map_section": "MAPSEC_LAVENDER_TOWN",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE10",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE12",
+ "offset": 0,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_ROUTE8",
+ "offset": 0,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "17",
+ "x": 19,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_EventScript_16687D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 12,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_EventScript_1668A6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "19",
+ "x": 10,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_EventScript_1668AF",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 18,
+ "y": 6,
+ "elevation": 0,
+ "dest_map": "MAP_POKEMON_TOWER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_LAVENDER_TOWN_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 10,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_LAVENDER_TOWN_VOLUNTEER_POKEMON_HOUSE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 16,
+ "elevation": 0,
+ "dest_map": "MAP_LAVENDER_TOWN_HOUSE1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 10,
+ "y": 16,
+ "elevation": 0,
+ "dest_map": "MAP_LAVENDER_TOWN_HOUSE2",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 20,
+ "y": 15,
+ "elevation": 0,
+ "dest_map": "MAP_LAVENDER_TOWN_MART",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 4,
+ "elevation": 0,
+ "script": "LavenderTown_EventScript_1668C1"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 15,
+ "y": 11,
+ "elevation": 0,
+ "script": "LavenderTown_EventScript_1668B8"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 21,
+ "y": 7,
+ "elevation": 0,
+ "script": "LavenderTown_EventScript_1668D3"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 11,
+ "elevation": 0,
+ "script": "LavenderTown_EventScript_1668CA"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/LavenderTown/scripts.inc b/data/maps/LavenderTown/scripts.inc
new file mode 100644
index 000000000..1f1c178e5
--- /dev/null
+++ b/data/maps/LavenderTown/scripts.inc
@@ -0,0 +1,57 @@
+LavenderTown_MapScripts:: @ 816686B
+ map_script 3, LavenderTown_MapScript1_166871
+ .byte 0
+
+LavenderTown_MapScript1_166871:: @ 8166871
+ setworldmapflag 2196
+ setvar VAR_0x405B, 1
+ setflag FLAG_0x03D
+ end
+
+LavenderTown_EventScript_16687D:: @ 816687D
+ lock
+ faceplayer
+ loadword 0, gUnknown_817F52E
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16689C
+ loadword 0, gUnknown_817F568
+ callstd 4
+ release
+ end
+
+EventScript_16689C:: @ 816689C
+ loadword 0, gUnknown_817F548
+ callstd 4
+ release
+ end
+
+LavenderTown_EventScript_1668A6:: @ 81668A6
+ loadword 0, gUnknown_817F5B6
+ callstd 2
+ end
+
+LavenderTown_EventScript_1668AF:: @ 81668AF
+ loadword 0, gUnknown_817F614
+ callstd 2
+ end
+
+LavenderTown_EventScript_1668B8:: @ 81668B8
+ loadword 0, gUnknown_817F676
+ callstd 3
+ end
+
+LavenderTown_EventScript_1668C1:: @ 81668C1
+ loadword 0, gUnknown_817F69A
+ callstd 3
+ end
+
+LavenderTown_EventScript_1668CA:: @ 81668CA
+ loadword 0, gUnknown_817F6D6
+ callstd 3
+ end
+
+LavenderTown_EventScript_1668D3:: @ 81668D3
+ loadword 0, gUnknown_817F6F7
+ callstd 3
+ end
diff --git a/data/maps/LavenderTown_House1/map.json b/data/maps/LavenderTown_House1/map.json
new file mode 100644
index 000000000..5674da210
--- /dev/null
+++ b/data/maps/LavenderTown_House1/map.json
@@ -0,0 +1,68 @@
+{
+ "id": "MAP_LAVENDER_TOWN_HOUSE1",
+ "name": "LavenderTown_House1",
+ "layout": "LAYOUT_HOUSE5",
+ "music": "BGM_FRLG_LAVENDER_TOWN",
+ "region_map_section": "MAPSEC_LAVENDER_TOWN",
+ "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": "42",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_House1_EventScript_16B233",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "111",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_House1_EventScript_16B252",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/LavenderTown_House1/scripts.inc b/data/maps/LavenderTown_House1/scripts.inc
new file mode 100644
index 000000000..d29217628
--- /dev/null
+++ b/data/maps/LavenderTown_House1/scripts.inc
@@ -0,0 +1,29 @@
+LavenderTown_House1_MapScripts:: @ 816B232
+ .byte 0
+
+LavenderTown_House1_EventScript_16B233:: @ 816B233
+ lock
+ faceplayer
+ checkflag FLAG_0x23C
+ goto_if 1, EventScript_16B248
+ loadword 0, gUnknown_819397D
+ callstd 4
+ release
+ end
+
+EventScript_16B248:: @ 816B248
+ loadword 0, gUnknown_81939F8
+ callstd 4
+ release
+ end
+
+LavenderTown_House1_EventScript_16B252:: @ 816B252
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_CUBONE, 0
+ loadword 0, gUnknown_819396B
+ callstd 4
+ waitmoncry
+ release
+ end
diff --git a/data/maps/LavenderTown_House2/map.json b/data/maps/LavenderTown_House2/map.json
new file mode 100644
index 000000000..8617d5d03
--- /dev/null
+++ b/data/maps/LavenderTown_House2/map.json
@@ -0,0 +1,55 @@
+{
+ "id": "MAP_LAVENDER_TOWN_HOUSE2",
+ "name": "LavenderTown_House2",
+ "layout": "LAYOUT_HOUSE5",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_LAVENDER_TOWN",
+ "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": "61",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_House2_EventScript_16B266",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/LavenderTown_House2/scripts.inc b/data/maps/LavenderTown_House2/scripts.inc
new file mode 100644
index 000000000..a48d89db0
--- /dev/null
+++ b/data/maps/LavenderTown_House2/scripts.inc
@@ -0,0 +1,81 @@
+LavenderTown_House2_MapScripts:: @ 816B265
+ .byte 0
+
+LavenderTown_House2_EventScript_16B266:: @ 816B266
+ lock
+ faceplayer
+ loadword 0, gUnknown_8193A4B
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16B287
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16B2AA
+ end
+
+EventScript_16B287:: @ 816B287
+ loadword 0, gUnknown_8193AA6
+ callstd 4
+ special sub_80BF8FC
+ waitstate
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 0, EventScript_16B2B4
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_16B2AA
+ end
+
+EventScript_16B2AA:: @ 816B2AA
+ loadword 0, gUnknown_8193BD4
+ callstd 4
+ release
+ end
+
+EventScript_16B2B4:: @ 816B2B4
+ specialvar VAR_RESULT, sub_80CAD54
+ compare_var_to_value VAR_RESULT, 412
+ goto_if 1, EventScript_16B307
+ special TV_CopyNicknameToStringVar1AndEnsureTerminated
+ special TV_CheckMonOTIDEqualsPlayerID
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16B311
+ specialvar VAR_RESULT, sub_80CAD7C
+ special TV_CopyNicknameToStringVar1AndEnsureTerminated
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16B311
+ loadword 0, gUnknown_8193AD2
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16B31B
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16B2AA
+ end
+
+EventScript_16B307:: @ 816B307
+ loadword 0, gUnknown_8193CC4
+ callstd 4
+ release
+ end
+
+EventScript_16B311:: @ 816B311
+ loadword 0, gUnknown_8193C82
+ callstd 4
+ release
+ end
+
+EventScript_16B31B:: @ 816B31B
+ loadword 0, gUnknown_8193B36
+ callstd 4
+ call EventScript_1A74EB
+ specialvar VAR_RESULT, sub_80CBFA0
+ special TV_CopyNicknameToStringVar1AndEnsureTerminated
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16B345
+ loadword 0, gUnknown_8193BF0
+ callstd 4
+ release
+ end
+
+EventScript_16B345:: @ 816B345
+ loadword 0, gUnknown_8193B66
+ callstd 4
+ release
+ end
diff --git a/data/maps/LavenderTown_Mart/map.json b/data/maps/LavenderTown_Mart/map.json
new file mode 100644
index 000000000..017950cb6
--- /dev/null
+++ b/data/maps/LavenderTown_Mart/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_LAVENDER_TOWN_MART",
+ "name": "LavenderTown_Mart",
+ "layout": "LAYOUT_MART",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_LAVENDER_TOWN",
+ "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": "68",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_Mart_EventScript_16B36B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_Mart_EventScript_16B350",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 9,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_Mart_EventScript_16B359",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 9,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_Mart_EventScript_16B362",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/LavenderTown_Mart/scripts.inc b/data/maps/LavenderTown_Mart/scripts.inc
new file mode 100644
index 000000000..217c3a883
--- /dev/null
+++ b/data/maps/LavenderTown_Mart/scripts.inc
@@ -0,0 +1,46 @@
+LavenderTown_Mart_MapScripts:: @ 816B34F
+ .byte 0
+
+LavenderTown_Mart_EventScript_16B350:: @ 816B350
+ loadword 0, gUnknown_8193CE5
+ callstd 2
+ end
+
+LavenderTown_Mart_EventScript_16B359:: @ 816B359
+ loadword 0, gUnknown_8193DB6
+ callstd 2
+ end
+
+LavenderTown_Mart_EventScript_16B362:: @ 816B362
+ loadword 0, gUnknown_8193DF1
+ callstd 2
+ end
+
+LavenderTown_Mart_EventScript_16B36B:: @ 816B36B
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16B390
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16B390:: @ 816B390
+ .2byte ITEM_GREAT_BALL
+ .2byte ITEM_SUPER_POTION
+ .2byte ITEM_REVIVE
+ .2byte ITEM_ANTIDOTE
+ .2byte ITEM_PARALYZE_HEAL
+ .2byte ITEM_BURN_HEAL
+ .2byte ITEM_ICE_HEAL
+ .2byte ITEM_ESCAPE_ROPE
+ .2byte ITEM_SUPER_REPEL
+ .2byte ITEM_NONE
+ release
+ end
diff --git a/data/maps/LavenderTown_PokemonCenter_1F/map.json b/data/maps/LavenderTown_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..db62073d3
--- /dev/null
+++ b/data/maps/LavenderTown_PokemonCenter_1F/map.json
@@ -0,0 +1,114 @@
+{
+ "id": "MAP_LAVENDER_TOWN_POKEMON_CENTER_1F",
+ "name": "LavenderTown_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_LAVENDER_TOWN",
+ "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": "LavenderTown_PokemonCenter_1F_EventScript_16B0FE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 9,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_PokemonCenter_1F_EventScript_16B107",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 5,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_PokemonCenter_1F_EventScript_16B110",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_PokemonCenter_1F_EventScript_16B119",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 14,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_PokemonCenter_1F_EventScript_1AD0A0",
+ "flag": "157"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_LAVENDER_TOWN_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/LavenderTown_PokemonCenter_1F/scripts.inc b/data/maps/LavenderTown_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..db03c1f85
--- /dev/null
+++ b/data/maps/LavenderTown_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,30 @@
+LavenderTown_PokemonCenter_1F_MapScripts:: @ 816B0EF
+ map_script 3, LavenderTown_PokemonCenter_1F_MapScript1_16B0FA
+ map_script 5, LavenderTown_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+LavenderTown_PokemonCenter_1F_MapScript1_16B0FA:: @ 816B0FA
+ setrespawn 5
+ end
+
+LavenderTown_PokemonCenter_1F_EventScript_16B0FE:: @ 816B0FE
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+LavenderTown_PokemonCenter_1F_EventScript_16B107:: @ 816B107
+ loadword 0, gUnknown_8193465
+ callstd 2
+ end
+
+LavenderTown_PokemonCenter_1F_EventScript_16B110:: @ 816B110
+ loadword 0, gUnknown_81934DE
+ callstd 2
+ end
+
+LavenderTown_PokemonCenter_1F_EventScript_16B119:: @ 816B119
+ loadword 0, gUnknown_819353A
+ callstd 2
+ end
diff --git a/data/maps/LavenderTown_PokemonCenter_2F/map.json b/data/maps/LavenderTown_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..8b88b91ce
--- /dev/null
+++ b/data/maps/LavenderTown_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_LAVENDER_TOWN_POKEMON_CENTER_2F",
+ "name": "LavenderTown_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_LAVENDER_TOWN",
+ "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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "LavenderTown_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_LAVENDER_TOWN_POKEMON_CENTER_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/LavenderTown_PokemonCenter_2F/scripts.inc b/data/maps/LavenderTown_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..16d54651b
--- /dev/null
+++ b/data/maps/LavenderTown_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+LavenderTown_PokemonCenter_2F_MapScripts:: @ 816B122
+ map_script 2, LavenderTown_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, LavenderTown_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, LavenderTown_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, LavenderTown_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+LavenderTown_PokemonCenter_2F_EventScript_16B137:: @ 816B137
+ call EventScript_1BB4A3
+ end
+
+EventScript_16B13D:: @ 816B13D
+ call EventScript_1BB6AB
+ end
+
+EventScript_16B143:: @ 816B143
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/LavenderTown_VolunteerPokemonHouse/map.json b/data/maps/LavenderTown_VolunteerPokemonHouse/map.json
new file mode 100644
index 000000000..a9646e5e6
--- /dev/null
+++ b/data/maps/LavenderTown_VolunteerPokemonHouse/map.json
@@ -0,0 +1,142 @@
+{
+ "id": "MAP_LAVENDER_TOWN_VOLUNTEER_POKEMON_HOUSE",
+ "name": "LavenderTown_VolunteerPokemonHouse",
+ "layout": "LAYOUT_LAVENDER_TOWN_VOLUNTEER_POKEMON_HOUSE",
+ "music": "BGM_FRLG_LAVENDER_TOWN",
+ "region_map_section": "MAPSEC_LAVENDER_TOWN",
+ "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": "78",
+ "x": 3,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_VolunteerPokemonHouse_EventScript_16B14A",
+ "flag": "53"
+ },
+ {
+ "graphics_id": "124",
+ "x": 1,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_VolunteerPokemonHouse_EventScript_16B1EB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "121",
+ "x": 9,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_VolunteerPokemonHouse_EventScript_16B1FE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "16",
+ "x": 9,
+ "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": "LavenderTown_VolunteerPokemonHouse_EventScript_16B1C3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 3,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_VolunteerPokemonHouse_EventScript_16B1CC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 7,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "LavenderTown_VolunteerPokemonHouse_EventScript_16B1AA",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 4,
+ "elevation": 0,
+ "script": "LavenderTown_VolunteerPokemonHouse_EventScript_16B211"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "script": "LavenderTown_VolunteerPokemonHouse_EventScript_16B229"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "LavenderTown_VolunteerPokemonHouse_EventScript_16B229"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/LavenderTown_VolunteerPokemonHouse/scripts.inc b/data/maps/LavenderTown_VolunteerPokemonHouse/scripts.inc
new file mode 100644
index 000000000..4671f0bfe
--- /dev/null
+++ b/data/maps/LavenderTown_VolunteerPokemonHouse/scripts.inc
@@ -0,0 +1,105 @@
+LavenderTown_VolunteerPokemonHouse_MapScripts:: @ 816B149
+ .byte 0
+
+LavenderTown_VolunteerPokemonHouse_EventScript_16B14A:: @ 816B14A
+ lock
+ faceplayer
+ checkflag FLAG_0x23D
+ goto_if 1, EventScript_16B196
+ loadword 0, gUnknown_81936FF
+ callstd 4
+ checkitemspace ITEM_POKE_FLUTE, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16B1A0
+ setflag FLAG_0x23D
+ additem ITEM_POKE_FLUTE, 1
+ loadword 0, gUnknown_81937BD
+ setorcopyvar VAR_0x8000, 350
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ loadword 0, gUnknown_81937E5
+ callstd 4
+ release
+ end
+
+EventScript_16B196:: @ 816B196
+ loadword 0, gUnknown_8193878
+ callstd 4
+ release
+ end
+
+EventScript_16B1A0:: @ 816B1A0
+ loadword 0, gUnknown_819385B
+ callstd 4
+ release
+ end
+
+LavenderTown_VolunteerPokemonHouse_EventScript_16B1AA:: @ 816B1AA
+ lock
+ faceplayer
+ setvar VAR_0x8004, 14
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8193652
+ callstd 4
+ release
+ end
+
+LavenderTown_VolunteerPokemonHouse_EventScript_16B1C3:: @ 816B1C3
+ loadword 0, gUnknown_81936B4
+ callstd 2
+ end
+
+LavenderTown_VolunteerPokemonHouse_EventScript_16B1CC:: @ 816B1CC
+ lock
+ faceplayer
+ checkflag FLAG_0x23C
+ goto_if 1, EventScript_16B1E1
+ loadword 0, gUnknown_81935ED
+ callstd 4
+ release
+ end
+
+EventScript_16B1E1:: @ 816B1E1
+ loadword 0, gUnknown_819361D
+ callstd 4
+ release
+ end
+
+LavenderTown_VolunteerPokemonHouse_EventScript_16B1EB:: @ 816B1EB
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_NIDORINO, 0
+ loadword 0, gUnknown_81936DE
+ callstd 4
+ waitmoncry
+ release
+ end
+
+LavenderTown_VolunteerPokemonHouse_EventScript_16B1FE:: @ 816B1FE
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_PSYDUCK, 0
+ loadword 0, gUnknown_81936EE
+ callstd 4
+ waitmoncry
+ release
+ end
+
+LavenderTown_VolunteerPokemonHouse_EventScript_16B211:: @ 816B211
+ lockall
+ setvar VAR_0x8004, 14
+ setvar VAR_0x8005, 2
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_81938A0
+ callstd 4
+ releaseall
+ end
+
+LavenderTown_VolunteerPokemonHouse_EventScript_16B229:: @ 816B229
+ loadword 0, gUnknown_819392B
+ callstd 3
+ end
diff --git a/data/maps/MtEmber_Exterior/map.json b/data/maps/MtEmber_Exterior/map.json
new file mode 100644
index 000000000..bae55d1c3
--- /dev/null
+++ b/data/maps/MtEmber_Exterior/map.json
@@ -0,0 +1,370 @@
+{
+ "id": "MAP_MT_EMBER_EXTERIOR",
+ "name": "MtEmber_Exterior",
+ "layout": "LAYOUT_MT_EMBER_EXTERIOR",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "56",
+ "x": 29,
+ "y": 45,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1C48E6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "49",
+ "x": 41,
+ "y": 40,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_16397F",
+ "flag": "137"
+ },
+ {
+ "graphics_id": "49",
+ "x": 42,
+ "y": 40,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1639F0",
+ "flag": "137"
+ },
+ {
+ "graphics_id": "24",
+ "x": 22,
+ "y": 35,
+ "elevation": 3,
+ "movement_type": "46",
+ "movement_range_x": 5,
+ "movement_range_y": 3,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "MtEmber_Exterior_EventScript_163AE2",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 15,
+ "y": 28,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "MtEmber_Exterior_EventScript_163AB4",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 14,
+ "y": 42,
+ "elevation": 3,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "MtEmber_Exterior_EventScript_163ACB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "96",
+ "x": 29,
+ "y": 41,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "96",
+ "x": 30,
+ "y": 42,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "97",
+ "x": 22,
+ "y": 45,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 17,
+ "y": 46,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 36,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "96",
+ "x": 34,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BE00C",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "96",
+ "x": 36,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BE00C",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "97",
+ "x": 35,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 35,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "96",
+ "x": 18,
+ "y": 39,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BE00C",
+ "flag": "22"
+ },
+ {
+ "graphics_id": "96",
+ "x": 19,
+ "y": 40,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BE00C",
+ "flag": "23"
+ },
+ {
+ "graphics_id": "92",
+ "x": 13,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BED2C",
+ "flag": "493"
+ },
+ {
+ "graphics_id": "92",
+ "x": 38,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BED39",
+ "flag": "494"
+ },
+ {
+ "graphics_id": "92",
+ "x": 48,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Exterior_EventScript_1BED46",
+ "flag": "495"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 28,
+ "y": 48,
+ "elevation": 3,
+ "dest_map": "MAP_ONE_ISLAND_KINDLE_ROAD",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 29,
+ "y": 48,
+ "elevation": 3,
+ "dest_map": "MAP_ONE_ISLAND_KINDLE_ROAD",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 14,
+ "y": 24,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_SUMMIT_PATH_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 39,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_SUMMIT_PATH_3F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 29,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_SUMMIT",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 42,
+ "y": 39,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_1F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 37,
+ "y": 43,
+ "elevation": 0,
+ "var": "VAR_0x407F",
+ "var_value": 1,
+ "script": "MtEmber_Exterior_EventScript_163A4E"
+ },
+ {
+ "type": "trigger",
+ "x": 38,
+ "y": 43,
+ "elevation": 0,
+ "var": "VAR_0x407F",
+ "var_value": 1,
+ "script": "MtEmber_Exterior_EventScript_163A4E"
+ },
+ {
+ "type": "trigger",
+ "x": 39,
+ "y": 43,
+ "elevation": 0,
+ "var": "VAR_0x407F",
+ "var_value": 1,
+ "script": "MtEmber_Exterior_EventScript_163A4E"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 18,
+ "y": 17,
+ "elevation": 0,
+ "item": "ITEM_FIRE_STONE",
+ "flag": "158",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 8,
+ "y": 30,
+ "elevation": 3,
+ "item": "POCKET_KEY_ITEMS",
+ "flag": "162",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_Exterior/scripts.inc b/data/maps/MtEmber_Exterior/scripts.inc
new file mode 100644
index 000000000..4ddae76ad
--- /dev/null
+++ b/data/maps/MtEmber_Exterior/scripts.inc
@@ -0,0 +1,146 @@
+MtEmber_Exterior_MapScripts:: @ 8163946
+ map_script 3, MtEmber_Exterior_MapScript1_163951
+ map_script 1, MtEmber_Exterior_MapScript2_163969
+ .byte 0
+
+MtEmber_Exterior_MapScript1_163951:: @ 8163951
+ setworldmapflag 2230
+ compare_var_to_value VAR_0x407F, 2
+ call_if 1, EventScript_163960
+ end
+
+EventScript_163960:: @ 8163960
+ setobjectmovementtype 2, 8
+ setobjectmovementtype 3, 8
+ return
+
+MtEmber_Exterior_MapScript2_163969:: @ 8163969
+ compare_var_to_value VAR_0x4076, 4
+ call_if 4, EventScript_163975
+ end
+
+EventScript_163975:: @ 8163975
+ setmetatile 42, 39, 838, 0
+ return
+
+MtEmber_Exterior_EventScript_16397F:: @ 816397F
+ lock
+ checktrainerflag 537
+ goto_if 1, EventScript_16399E
+ compare_var_to_value VAR_0x4076, 4
+ goto_if 1, EventScript_1639A8
+ loadword 0, gUnknown_817A82A
+ callstd 4
+ release
+ end
+
+EventScript_16399E:: @ 816399E
+ loadword 0, gUnknown_817AA3F
+ callstd 4
+ release
+ end
+
+EventScript_1639A8:: @ 81639A8
+ applymovement 2, Movement_1A75E1
+ waitmovement 0
+ playbgm BGM_FRLG_SUSPICIOUS_EYE, 0
+ loadword 0, gUnknown_817AA06
+ callstd 4
+ trainerbattle 3, 537, 0, Text_17AA34
+ loadword 0, gUnknown_817AA3F
+ callstd 4
+ checktrainerflag 538
+ goto_if 1, EventScript_1639DB
+ release
+ end
+
+EventScript_1639DB:: @ 81639DB
+ loadword 0, gUnknown_817AAD7
+ callstd 4
+ closemessage
+ fadescreen 1
+ removeobject 2
+ removeobject 3
+ fadescreen 0
+ release
+ end
+
+MtEmber_Exterior_EventScript_1639F0:: @ 81639F0
+ lock
+ faceplayer
+ checktrainerflag 538
+ goto_if 1, EventScript_163A1B
+ compare_var_to_value VAR_0x4076, 4
+ goto_if 1, EventScript_163A25
+ loadword 0, gUnknown_817A88C
+ callstd 4
+ closemessage
+ applymovement 3, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+EventScript_163A1B:: @ 8163A1B
+ loadword 0, gUnknown_817AA99
+ callstd 4
+ release
+ end
+
+EventScript_163A25:: @ 8163A25
+ playbgm BGM_FRLG_SUSPICIOUS_EYE, 0
+ loadword 0, gUnknown_817AA56
+ callstd 4
+ trainerbattle 3, 538, 0, Text_17AA8A
+ loadword 0, gUnknown_817AA99
+ callstd 4
+ checktrainerflag 537
+ goto_if 1, EventScript_1639DB
+ release
+ end
+
+MtEmber_Exterior_EventScript_163A4E:: @ 8163A4E
+ lockall
+ textcolor 0
+ loadword 0, gUnknown_817A8B4
+ callstd 4
+ message Text_17A8EE
+ waitmessage
+ playse SE_PIN
+ applymovement 3, Movement_1A75D9
+ waitmovement 0
+ waitbuttonpress
+ loadword 0, gUnknown_817A970
+ callstd 4
+ applymovement 2, Movement_1A75ED
+ waitmovement 0
+ playse SE_PIN
+ applymovement 2, Movement_1A75DB
+ waitmovement 0
+ applymovement 2, Movement_1A75DD
+ waitmovement 0
+ applymovement 3, Movement_1A75ED
+ waitmovement 0
+ call EventScript_163960
+ loadword 0, gUnknown_817A9E1
+ callstd 4
+ setvar VAR_0x407F, 2
+ releaseall
+ end
+
+MtEmber_Exterior_EventScript_163AB4:: @ 8163AB4
+ trainerbattle 0, 595, 0, Text_17AB73, Text_17ABAA
+ loadword 0, gUnknown_817ABD8
+ callstd 6
+ end
+
+MtEmber_Exterior_EventScript_163ACB:: @ 8163ACB
+ trainerbattle 0, 597, 0, Text_17AC55, Text_17AC82
+ loadword 0, gUnknown_817ACA2
+ callstd 6
+ end
+
+MtEmber_Exterior_EventScript_163AE2:: @ 8163AE2
+ trainerbattle 0, 592, 0, Text_17AD06, Text_17AD6B
+ loadword 0, gUnknown_817AD89
+ callstd 6
+ end
diff --git a/data/maps/MtEmber_RubyPath_1F/map.json b/data/maps/MtEmber_RubyPath_1F/map.json
new file mode 100644
index 000000000..b3c9ad2aa
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_1F/map.json
@@ -0,0 +1,107 @@
+{
+ "id": "MAP_MT_EMBER_RUBY_PATH_1F",
+ "name": "MtEmber_RubyPath_1F",
+ "layout": "LAYOUT_MT_EMBER_RUBY_PATH_1F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "96",
+ "x": 18,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_1F_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "96",
+ "x": 23,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_1F_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "96",
+ "x": 20,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_1F_EventScript_1BE00C",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "96",
+ "x": 19,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_1F_EventScript_1BE00C",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "96",
+ "x": 21,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_1F_EventScript_1BE00C",
+ "flag": "22"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 22,
+ "y": 17,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_EXTERIOR",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 1,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 24,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B2F_STAIRS",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_RubyPath_1F/scripts.inc b/data/maps/MtEmber_RubyPath_1F/scripts.inc
new file mode 100644
index 000000000..27cd09df7
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_1F/scripts.inc
@@ -0,0 +1,2 @@
+MtEmber_RubyPath_1F_MapScripts:: @ 8163C45
+ .byte 0
diff --git a/data/maps/MtEmber_RubyPath_B1F/map.json b/data/maps/MtEmber_RubyPath_B1F/map.json
new file mode 100644
index 000000000..df6b4fcb5
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B1F/map.json
@@ -0,0 +1,87 @@
+{
+ "id": "MAP_MT_EMBER_RUBY_PATH_B1F",
+ "name": "MtEmber_RubyPath_B1F",
+ "layout": "LAYOUT_MT_EMBER_RUBY_PATH_B1F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "96",
+ "x": 1,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B1F_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "96",
+ "x": 1,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B1F_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "96",
+ "x": 3,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B1F_EventScript_1BE00C",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "96",
+ "x": 5,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B1F_EventScript_1BE00C",
+ "flag": "21"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 9,
+ "y": 21,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_RubyPath_B1F/scripts.inc b/data/maps/MtEmber_RubyPath_B1F/scripts.inc
new file mode 100644
index 000000000..f0b3378d4
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B1F/scripts.inc
@@ -0,0 +1,2 @@
+MtEmber_RubyPath_B1F_MapScripts:: @ 8163C46
+ .byte 0
diff --git a/data/maps/MtEmber_RubyPath_B1F_Stairs/map.json b/data/maps/MtEmber_RubyPath_B1F_Stairs/map.json
new file mode 100644
index 000000000..61c0cae51
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B1F_Stairs/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_MT_EMBER_RUBY_PATH_B1F_STAIRS",
+ "name": "MtEmber_RubyPath_B1F_Stairs",
+ "layout": "LAYOUT_MT_EMBER_RUBY_PATH_B1F_STAIRS",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "96",
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B1F_Stairs_EventScript_1BE00C",
+ "flag": "18"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B3F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 1,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B2F_STAIRS",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_RubyPath_B1F_Stairs/scripts.inc b/data/maps/MtEmber_RubyPath_B1F_Stairs/scripts.inc
new file mode 100644
index 000000000..39df5df91
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B1F_Stairs/scripts.inc
@@ -0,0 +1,2 @@
+MtEmber_RubyPath_B1F_Stairs_MapScripts:: @ 8163C6F
+ .byte 0
diff --git a/data/maps/MtEmber_RubyPath_B2F/map.json b/data/maps/MtEmber_RubyPath_B2F/map.json
new file mode 100644
index 000000000..e10a1762c
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B2F/map.json
@@ -0,0 +1,126 @@
+{
+ "id": "MAP_MT_EMBER_RUBY_PATH_B2F",
+ "name": "MtEmber_RubyPath_B2F",
+ "layout": "LAYOUT_MT_EMBER_RUBY_PATH_B2F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "97",
+ "x": 9,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B2F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 12,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B2F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 12,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B2F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "96",
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B2F_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "96",
+ "x": 1,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B2F_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "96",
+ "x": 4,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B2F_EventScript_1BE00C",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "96",
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B2F_EventScript_1BE00C",
+ "flag": "21"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 13,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B3F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_RubyPath_B2F/scripts.inc b/data/maps/MtEmber_RubyPath_B2F/scripts.inc
new file mode 100644
index 000000000..8fec3c4d7
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B2F/scripts.inc
@@ -0,0 +1,2 @@
+MtEmber_RubyPath_B2F_MapScripts:: @ 8163C47
+ .byte 0
diff --git a/data/maps/MtEmber_RubyPath_B2F_Stairs/map.json b/data/maps/MtEmber_RubyPath_B2F_Stairs/map.json
new file mode 100644
index 000000000..5d494f5a4
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B2F_Stairs/map.json
@@ -0,0 +1,61 @@
+{
+ "id": "MAP_MT_EMBER_RUBY_PATH_B2F_STAIRS",
+ "name": "MtEmber_RubyPath_B2F_Stairs",
+ "layout": "LAYOUT_MT_EMBER_RUBY_PATH_B2F_STAIRS",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "96",
+ "x": 4,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B2F_Stairs_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "96",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B2F_Stairs_EventScript_1BE00C",
+ "flag": "19"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B1F_STAIRS",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 1,
+ "y": 4,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_1F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_RubyPath_B2F_Stairs/scripts.inc b/data/maps/MtEmber_RubyPath_B2F_Stairs/scripts.inc
new file mode 100644
index 000000000..50c8f8334
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B2F_Stairs/scripts.inc
@@ -0,0 +1,2 @@
+MtEmber_RubyPath_B2F_Stairs_MapScripts:: @ 8163C70
+ .byte 0
diff --git a/data/maps/MtEmber_RubyPath_B3F/map.json b/data/maps/MtEmber_RubyPath_B3F/map.json
new file mode 100644
index 000000000..3b681233c
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B3F/map.json
@@ -0,0 +1,172 @@
+{
+ "id": "MAP_MT_EMBER_RUBY_PATH_B3F",
+ "name": "MtEmber_RubyPath_B3F",
+ "layout": "LAYOUT_MT_EMBER_RUBY_PATH_B3F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "97",
+ "x": 10,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 26,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 28,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "96",
+ "x": 7,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "96",
+ "x": 4,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "96",
+ "x": 6,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE00C",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "96",
+ "x": 7,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE00C",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "96",
+ "x": 4,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE00C",
+ "flag": "22"
+ },
+ {
+ "graphics_id": "96",
+ "x": 5,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE00C",
+ "flag": "23"
+ },
+ {
+ "graphics_id": "97",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE11D",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 4,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 19,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B1F_STAIRS",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 5,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B4F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_RubyPath_B3F/scripts.inc b/data/maps/MtEmber_RubyPath_B3F/scripts.inc
new file mode 100644
index 000000000..52191ba85
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B3F/scripts.inc
@@ -0,0 +1,17 @@
+MtEmber_RubyPath_B3F_MapScripts:: @ 8163C48
+ .byte 0
+
+MtEmber_RubyPath_B3F_EventScript_163C49:: @ 8163C49
+MtEmber_RubyPath_B5F_EventScript_163C49:: @ 8163C49
+ lock
+ faceplayer
+ setflag FLAG_0x2DD
+ removeobject 1
+ additem ITEM_RUBY, 1
+ loadword 0, gUnknown_817ADC5
+ setorcopyvar VAR_0x8000, 373
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ release
+ end
diff --git a/data/maps/MtEmber_RubyPath_B4F/map.json b/data/maps/MtEmber_RubyPath_B4F/map.json
new file mode 100644
index 000000000..339c5e653
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B4F/map.json
@@ -0,0 +1,217 @@
+{
+ "id": "MAP_MT_EMBER_RUBY_PATH_B4F",
+ "name": "MtEmber_RubyPath_B4F",
+ "layout": "LAYOUT_MT_EMBER_RUBY_PATH_B4F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 14,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B5F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B3F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 3,
+ "y": 7,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_1638EC"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 4,
+ "y": 7,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_1638EC"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 5,
+ "y": 7,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_1638EC"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 4,
+ "y": 9,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_1638F5"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 3,
+ "y": 9,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_1638F5"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 5,
+ "y": 9,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_1638F5"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 3,
+ "y": 11,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_1638FE"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 4,
+ "y": 11,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_1638FE"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 5,
+ "y": 11,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_1638FE"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 3,
+ "y": 13,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163907"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 4,
+ "y": 13,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163907"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 5,
+ "y": 13,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163907"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 7,
+ "y": 7,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163910"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 8,
+ "y": 7,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163910"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 9,
+ "y": 7,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163910"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 7,
+ "y": 9,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163919"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163919"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 9,
+ "y": 9,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163919"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 7,
+ "y": 11,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163922"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 11,
+ "y": 7,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163934"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 11,
+ "y": 9,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_16393D"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 8,
+ "y": 11,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163922"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 9,
+ "y": 11,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_163922"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 7,
+ "y": 13,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_16392B"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 9,
+ "y": 13,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_16392B"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 8,
+ "y": 13,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B4F_EventScript_16392B"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_RubyPath_B4F/scripts.inc b/data/maps/MtEmber_RubyPath_B4F/scripts.inc
new file mode 100644
index 000000000..537aa71fe
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B4F/scripts.inc
@@ -0,0 +1,72 @@
+MtEmber_RubyPath_B4F_MapScripts:: @ 81638EB
+ .byte 0
+
+MtEmber_RubyPath_B4F_EventScript_1638EC:: @ 81638EC
+ lockall
+ braillemessage gUnknown_81A929F
+ waitbuttonpress
+ releaseall
+ end
+
+MtEmber_RubyPath_B4F_EventScript_1638F5:: @ 81638F5
+ lockall
+ braillemessage gUnknown_81A92A3
+ waitbuttonpress
+ releaseall
+ end
+
+MtEmber_RubyPath_B4F_EventScript_1638FE:: @ 81638FE
+ lockall
+ braillemessage gUnknown_81A92A7
+ waitbuttonpress
+ releaseall
+ end
+
+MtEmber_RubyPath_B4F_EventScript_163907:: @ 8163907
+ lockall
+ braillemessage gUnknown_81A92AB
+ waitbuttonpress
+ releaseall
+ end
+
+MtEmber_RubyPath_B4F_EventScript_163910:: @ 8163910
+ lockall
+ braillemessage gUnknown_81A92AF
+ waitbuttonpress
+ releaseall
+ end
+
+MtEmber_RubyPath_B4F_EventScript_163919:: @ 8163919
+ lockall
+ braillemessage gUnknown_81A92B3
+ waitbuttonpress
+ releaseall
+ end
+
+MtEmber_RubyPath_B4F_EventScript_163922:: @ 8163922
+ lockall
+ braillemessage gUnknown_81A92B7
+ waitbuttonpress
+ releaseall
+ end
+
+MtEmber_RubyPath_B4F_EventScript_16392B:: @ 816392B
+ lockall
+ braillemessage gUnknown_81A92BC
+ waitbuttonpress
+ releaseall
+ end
+
+MtEmber_RubyPath_B4F_EventScript_163934:: @ 8163934
+ lockall
+ braillemessage gUnknown_81A92C1
+ waitbuttonpress
+ releaseall
+ end
+
+MtEmber_RubyPath_B4F_EventScript_16393D:: @ 816393D
+ lockall
+ braillemessage gUnknown_81A92C3
+ waitbuttonpress
+ releaseall
+ end
diff --git a/data/maps/MtEmber_RubyPath_B5F/map.json b/data/maps/MtEmber_RubyPath_B5F/map.json
new file mode 100644
index 000000000..320bff06d
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B5F/map.json
@@ -0,0 +1,49 @@
+{
+ "id": "MAP_MT_EMBER_RUBY_PATH_B5F",
+ "name": "MtEmber_RubyPath_B5F",
+ "layout": "LAYOUT_MT_EMBER_RUBY_PATH_B5F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "99",
+ "x": 7,
+ "y": 7,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B5F_EventScript_163C49",
+ "flag": "138"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B4F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 7,
+ "y": 2,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B5F_EventScript_163BAB"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_RubyPath_B5F/scripts.inc b/data/maps/MtEmber_RubyPath_B5F/scripts.inc
new file mode 100644
index 000000000..91b69cf5b
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B5F/scripts.inc
@@ -0,0 +1,38 @@
+MtEmber_RubyPath_B5F_MapScripts:: @ 8163BAA
+ .byte 0
+
+MtEmber_RubyPath_B5F_EventScript_163BAB:: @ 8163BAB
+ lockall
+ setvar VAR_0x8005, 130
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A92C5
+ getbraillestringwidth gUnknown_81A92C5
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A92D0
+ getbraillestringwidth gUnknown_81A92D0
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A92DC
+ getbraillestringwidth gUnknown_81A92DC
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A92E6
+ getbraillestringwidth gUnknown_81A92E6
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A92F2
+ getbraillestringwidth gUnknown_81A92F2
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A92FE
+ getbraillestringwidth gUnknown_81A92FE
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A930A
+ getbraillestringwidth gUnknown_81A930A
+ call EventScript_1A926C
+ braillemessage gUnknown_81A9316
+ waitbuttonpress
+ releaseall
+ end
diff --git a/data/maps/MtEmber_Summit/map.json b/data/maps/MtEmber_Summit/map.json
new file mode 100644
index 000000000..eab46ccae
--- /dev/null
+++ b/data/maps/MtEmber_Summit/map.json
@@ -0,0 +1,93 @@
+{
+ "id": "MAP_MT_EMBER_SUMMIT",
+ "name": "MtEmber_Summit",
+ "layout": "LAYOUT_MT_EMBER_SUMMIT",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "137",
+ "x": 9,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Summit_EventScript_163B33",
+ "flag": "82"
+ },
+ {
+ "graphics_id": "97",
+ "x": 10,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Summit_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 9,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Summit_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 8,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Summit_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 8,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_Summit_EventScript_1BE11D",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 9,
+ "y": 15,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_EXTERIOR",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_Summit/scripts.inc b/data/maps/MtEmber_Summit/scripts.inc
new file mode 100644
index 000000000..85f60fd1d
--- /dev/null
+++ b/data/maps/MtEmber_Summit/scripts.inc
@@ -0,0 +1,66 @@
+MtEmber_Summit_MapScripts:: @ 8163AFC
+ map_script 3, MtEmber_Summit_MapScript1_163B25
+ map_script 5, MtEmber_Summit_MapScript2_163B07
+ .byte 0
+
+MtEmber_Summit_MapScript2_163B07:: @ 8163B07
+ checkflag 2055
+ call_if 1, EventScript_163B11
+ end
+
+EventScript_163B11:: @ 8163B11
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 5, EventScript_1A77A9
+ removeobject VAR_LAST_TALKED
+ return
+
+MtEmber_Summit_MapScript1_163B25:: @ 8163B25
+ checkflag FLAG_0x2BD
+ call_if 0, EventScript_163B2F
+ end
+
+EventScript_163B2F:: @ 8163B2F
+ clearflag FLAG_0x052
+ return
+
+MtEmber_Summit_EventScript_163B33:: @ 8163B33
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ faceplayer
+ setwildbattle SPECIES_MOLTRES, 50, ITEM_NONE
+ waitse
+ playmoncry SPECIES_MOLTRES, 2
+ message Text_1A6448
+ waitmessage
+ waitmoncry
+ delay 10
+ playbgm BGM_FRLG_LEADER_EYE, 0
+ waitbuttonpress
+ setflag 2055
+ special sub_807F9D8
+ waitstate
+ clearflag 2055
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_163B96
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_163B9F
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_163B9F
+ setflag FLAG_0x2BD
+ release
+ end
+
+EventScript_163B96:: @ 8163B96
+ setflag FLAG_0x2BD
+ goto EventScript_1A922D
+ end
+
+EventScript_163B9F:: @ 8163B9F
+ setvar VAR_0x8004, 146
+ goto EventScript_1A9236
+ end
diff --git a/data/maps/MtEmber_SummitPath_1F/map.json b/data/maps/MtEmber_SummitPath_1F/map.json
new file mode 100644
index 000000000..8e7ccc047
--- /dev/null
+++ b/data/maps/MtEmber_SummitPath_1F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_MT_EMBER_SUMMIT_PATH_1F",
+ "name": "MtEmber_SummitPath_1F",
+ "layout": "LAYOUT_MT_EMBER_SUMMIT_PATH_1F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 15,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_EXTERIOR",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 11,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_SUMMIT_PATH_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_SummitPath_1F/scripts.inc b/data/maps/MtEmber_SummitPath_1F/scripts.inc
new file mode 100644
index 000000000..945430a19
--- /dev/null
+++ b/data/maps/MtEmber_SummitPath_1F/scripts.inc
@@ -0,0 +1,2 @@
+MtEmber_SummitPath_1F_MapScripts:: @ 8163AF9
+ .byte 0
diff --git a/data/maps/MtEmber_SummitPath_2F/map.json b/data/maps/MtEmber_SummitPath_2F/map.json
new file mode 100644
index 000000000..69067bbcc
--- /dev/null
+++ b/data/maps/MtEmber_SummitPath_2F/map.json
@@ -0,0 +1,152 @@
+{
+ "id": "MAP_MT_EMBER_SUMMIT_PATH_2F",
+ "name": "MtEmber_SummitPath_2F",
+ "layout": "LAYOUT_MT_EMBER_SUMMIT_PATH_2F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "96",
+ "x": 40,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_SummitPath_2F_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "96",
+ "x": 33,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_SummitPath_2F_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "96",
+ "x": 15,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_SummitPath_2F_EventScript_1BE00C",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "96",
+ "x": 13,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_SummitPath_2F_EventScript_1BE00C",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "96",
+ "x": 13,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_SummitPath_2F_EventScript_1BE00C",
+ "flag": "22"
+ },
+ {
+ "graphics_id": "96",
+ "x": 7,
+ "y": 38,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_SummitPath_2F_EventScript_1BE00C",
+ "flag": "23"
+ },
+ {
+ "graphics_id": "96",
+ "x": 9,
+ "y": 35,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_SummitPath_2F_EventScript_1BE00C",
+ "flag": "24"
+ },
+ {
+ "graphics_id": "96",
+ "x": 7,
+ "y": 34,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_SummitPath_2F_EventScript_1BE00C",
+ "flag": "25"
+ },
+ {
+ "graphics_id": "96",
+ "x": 15,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_SummitPath_2F_EventScript_1BE00C",
+ "flag": "26"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 39,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_SUMMIT_PATH_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 39,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_SUMMIT_PATH_3F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_SummitPath_2F/scripts.inc b/data/maps/MtEmber_SummitPath_2F/scripts.inc
new file mode 100644
index 000000000..ca843116e
--- /dev/null
+++ b/data/maps/MtEmber_SummitPath_2F/scripts.inc
@@ -0,0 +1,2 @@
+MtEmber_SummitPath_2F_MapScripts:: @ 8163AFA
+ .byte 0
diff --git a/data/maps/MtEmber_SummitPath_3F/map.json b/data/maps/MtEmber_SummitPath_3F/map.json
new file mode 100644
index 000000000..b30309a12
--- /dev/null
+++ b/data/maps/MtEmber_SummitPath_3F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_MT_EMBER_SUMMIT_PATH_3F",
+ "name": "MtEmber_SummitPath_3F",
+ "layout": "LAYOUT_MT_EMBER_SUMMIT_PATH_3F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 4,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_SUMMIT_PATH_2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 11,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_EXTERIOR",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/MtEmber_SummitPath_3F/scripts.inc b/data/maps/MtEmber_SummitPath_3F/scripts.inc
new file mode 100644
index 000000000..5f44d2863
--- /dev/null
+++ b/data/maps/MtEmber_SummitPath_3F/scripts.inc
@@ -0,0 +1,2 @@
+MtEmber_SummitPath_3F_MapScripts:: @ 8163AFB
+ .byte 0
diff --git a/data/maps/MtMoon_1F/map.json b/data/maps/MtMoon_1F/map.json
new file mode 100644
index 000000000..39138d94e
--- /dev/null
+++ b/data/maps/MtMoon_1F/map.json
@@ -0,0 +1,239 @@
+{
+ "id": "MAP_MT_MOON_1F",
+ "name": "MtMoon_1F",
+ "layout": "LAYOUT_MT_MOON_1F",
+ "music": "BGM_FRLG_MT_MOON",
+ "region_map_section": "MAPSEC_MT_MOON",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "22",
+ "x": 20,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "MtMoon_1F_EventScript_16063C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 36,
+ "y": 30,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "MtMoon_1F_EventScript_160681",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 30,
+ "y": 35,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "MtMoon_1F_EventScript_160653",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 33,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "47",
+ "movement_range_x": 5,
+ "movement_range_y": 3,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "MtMoon_1F_EventScript_160625",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 7,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "MtMoon_1F_EventScript_16066A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 13,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "MtMoon_1F_EventScript_16060E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 7,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "MtMoon_1F_EventScript_1605F7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 2,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtMoon_1F_EventScript_1BE5CF",
+ "flag": "345"
+ },
+ {
+ "graphics_id": "92",
+ "x": 11,
+ "y": 35,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtMoon_1F_EventScript_1BE5DC",
+ "flag": "346"
+ },
+ {
+ "graphics_id": "92",
+ "x": 26,
+ "y": 32,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtMoon_1F_EventScript_1BE5E9",
+ "flag": "347"
+ },
+ {
+ "graphics_id": "92",
+ "x": 42,
+ "y": 35,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtMoon_1F_EventScript_1BE5F6",
+ "flag": "348"
+ },
+ {
+ "graphics_id": "92",
+ "x": 44,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtMoon_1F_EventScript_1BE603",
+ "flag": "349"
+ },
+ {
+ "graphics_id": "92",
+ "x": 3,
+ "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": "MtMoon_1F_EventScript_1BE610",
+ "flag": "350"
+ },
+ {
+ "graphics_id": "30",
+ "x": 42,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtMoon_1F_EventScript_1ACE03",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_B1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 19,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_B1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 31,
+ "y": 16,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_B1F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 18,
+ "y": 37,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE4",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 19,
+ "y": 26,
+ "elevation": 0,
+ "script": "MtMoon_1F_EventScript_1605EE"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/MtMoon_1F/scripts.inc b/data/maps/MtMoon_1F/scripts.inc
new file mode 100644
index 000000000..8303d88bf
--- /dev/null
+++ b/data/maps/MtMoon_1F/scripts.inc
@@ -0,0 +1,54 @@
+MtMoon_1F_MapScripts:: @ 81605E4
+ map_script 3, MtMoon_1F_MapScript1_1605EA
+ .byte 0
+
+MtMoon_1F_MapScript1_1605EA:: @ 81605EA
+ setworldmapflag 2213
+ end
+
+MtMoon_1F_EventScript_1605EE:: @ 81605EE
+ loadword 0, gUnknown_8172AE0
+ callstd 3
+ end
+
+MtMoon_1F_EventScript_1605F7:: @ 81605F7
+ trainerbattle 0, 181, 0, Text_17279D, Text_1727CB
+ loadword 0, gUnknown_81727DF
+ callstd 6
+ end
+
+MtMoon_1F_EventScript_16060E:: @ 816060E
+ trainerbattle 0, 91, 0, Text_17281D, Text_172844
+ loadword 0, gUnknown_8172863
+ callstd 6
+ end
+
+MtMoon_1F_EventScript_160625:: @ 8160625
+ trainerbattle 0, 120, 0, Text_172896, Text_1728C3
+ loadword 0, gUnknown_81728D2
+ callstd 6
+ end
+
+MtMoon_1F_EventScript_16063C:: @ 816063C
+ trainerbattle 0, 121, 0, Text_172972, Text_1729A4
+ loadword 0, gUnknown_81729AC
+ callstd 6
+ end
+
+MtMoon_1F_EventScript_160653:: @ 8160653
+ trainerbattle 0, 169, 0, Text_17290B, Text_172927
+ loadword 0, gUnknown_817293C
+ callstd 6
+ end
+
+MtMoon_1F_EventScript_16066A:: @ 816066A
+ trainerbattle 0, 108, 0, Text_1729EA, Text_172A1A
+ loadword 0, gUnknown_8172A26
+ callstd 6
+ end
+
+MtMoon_1F_EventScript_160681:: @ 8160681
+ trainerbattle 0, 109, 0, Text_172A55, Text_172A8F
+ loadword 0, gUnknown_8172A97
+ callstd 6
+ end
diff --git a/data/maps/MtMoon_B1F/map.json b/data/maps/MtMoon_B1F/map.json
new file mode 100644
index 000000000..64e316565
--- /dev/null
+++ b/data/maps/MtMoon_B1F/map.json
@@ -0,0 +1,131 @@
+{
+ "id": "MAP_MT_MOON_B1F",
+ "name": "MtMoon_B1F",
+ "layout": "LAYOUT_MT_MOON_B1F",
+ "music": "BGM_FRLG_MT_MOON",
+ "region_map_section": "MAPSEC_MT_MOON",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 25,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 43,
+ "y": 21,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_1F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 22,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_B2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 17,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_B2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 26,
+ "y": 36,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_B2F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 39,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_B2F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 45,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE4",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 46,
+ "y": 2,
+ "elevation": 0,
+ "item": "ITEM_TINY_MUSHROOM",
+ "flag": "84",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 26,
+ "y": 2,
+ "elevation": 0,
+ "item": "ITEM_TINY_MUSHROOM",
+ "flag": "85",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 39,
+ "y": 34,
+ "elevation": 0,
+ "item": "ITEM_TINY_MUSHROOM",
+ "flag": "86",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 24,
+ "y": 35,
+ "elevation": 0,
+ "item": "ITEM_BIG_MUSHROOM",
+ "flag": "87",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 6,
+ "y": 12,
+ "elevation": 0,
+ "item": "ITEM_BIG_MUSHROOM",
+ "flag": "88",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 25,
+ "y": 34,
+ "elevation": 0,
+ "item": "ITEM_BIG_MUSHROOM",
+ "flag": "89",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/MtMoon_B1F/scripts.inc b/data/maps/MtMoon_B1F/scripts.inc
new file mode 100644
index 000000000..17e91f4d0
--- /dev/null
+++ b/data/maps/MtMoon_B1F/scripts.inc
@@ -0,0 +1,2 @@
+MtMoon_B1F_MapScripts:: @ 8160698
+ .byte 0
diff --git a/data/maps/MtMoon_B2F/map.json b/data/maps/MtMoon_B2F/map.json
new file mode 100644
index 000000000..9b3fa3658
--- /dev/null
+++ b/data/maps/MtMoon_B2F/map.json
@@ -0,0 +1,221 @@
+{
+ "id": "MAP_MT_MOON_B2F",
+ "name": "MtMoon_B2F",
+ "layout": "LAYOUT_MT_MOON_B2F",
+ "music": "BGM_FRLG_MT_MOON",
+ "region_map_section": "MAPSEC_MT_MOON",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "98",
+ "x": 13,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtMoon_B2F_EventScript_16071B",
+ "flag": "47"
+ },
+ {
+ "graphics_id": "98",
+ "x": 14,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtMoon_B2F_EventScript_16077F",
+ "flag": "48"
+ },
+ {
+ "graphics_id": "55",
+ "x": 13,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtMoon_B2F_EventScript_1606C2",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "49",
+ "x": 37,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "MtMoon_B2F_EventScript_160829",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "49",
+ "x": 12,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "MtMoon_B2F_EventScript_1607E4",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "49",
+ "x": 35,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "MtMoon_B2F_EventScript_160812",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "49",
+ "x": 18,
+ "y": 27,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "MtMoon_B2F_EventScript_1607FB",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "92",
+ "x": 30,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtMoon_B2F_EventScript_1BE61D",
+ "flag": "351"
+ },
+ {
+ "graphics_id": "92",
+ "x": 35,
+ "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": "MtMoon_B2F_EventScript_1BE62A",
+ "flag": "352"
+ },
+ {
+ "graphics_id": "92",
+ "x": 24,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtMoon_B2F_EventScript_1BEAD6",
+ "flag": "447"
+ },
+ {
+ "graphics_id": "92",
+ "x": 3,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtMoon_B2F_EventScript_1BEAE3",
+ "flag": "448"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 25,
+ "y": 21,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_B1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 31,
+ "y": 11,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_B1F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 17,
+ "y": 31,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_B1F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 5,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_B1F",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 14,
+ "y": 11,
+ "elevation": 3,
+ "var": "VAR_0x408B",
+ "var_value": 0,
+ "script": "MtMoon_B2F_EventScript_1606B0"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 20,
+ "y": 16,
+ "elevation": 3,
+ "item": "ITEM_MOON_STONE",
+ "flag": "2",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 39,
+ "y": 11,
+ "elevation": 3,
+ "item": "ITEM_ETHER",
+ "flag": "3",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/MtMoon_B2F/scripts.inc b/data/maps/MtMoon_B2F/scripts.inc
new file mode 100644
index 000000000..14e47d472
--- /dev/null
+++ b/data/maps/MtMoon_B2F/scripts.inc
@@ -0,0 +1,160 @@
+MtMoon_B2F_MapScripts:: @ 8160699
+ map_script 3, MtMoon_B2F_MapScript1_16069F
+ .byte 0
+
+MtMoon_B2F_MapScript1_16069F:: @ 816069F
+ checkflag FLAG_0x232
+ call_if 0, EventScript_1606A9
+ end
+
+EventScript_1606A9:: @ 81606A9
+ clearflag FLAG_0x02F
+ clearflag FLAG_0x030
+ return
+
+MtMoon_B2F_EventScript_1606B0:: @ 81606B0
+ lockall
+ applymovement 3, Movement_1A75EB
+ waitmovement 0
+ call EventScript_1606DD
+ releaseall
+ end
+
+MtMoon_B2F_EventScript_1606C2:: @ 81606C2
+ lock
+ faceplayer
+ checkflag FLAG_0x232
+ goto_if 1, EventScript_160707
+ checktrainerflag 170
+ goto_if 1, EventScript_160711
+ call EventScript_1606DD
+ release
+ end
+
+EventScript_1606DD:: @ 81606DD
+ textcolor 0
+ message Text_172B64
+ waitmessage
+ playbgm BGM_FRLG_LEADER_EYE, 0
+ waitbuttonpress
+ setvar VAR_LAST_TALKED, 3
+ trainerbattle 3, 170, 0, Text_172B99
+ setvar VAR_0x408B, 1
+ loadword 0, gUnknown_8172BAB
+ callstd 4
+ return
+
+EventScript_160707:: @ 8160707
+ loadword 0, gUnknown_8172BFB
+ callstd 4
+ release
+ end
+
+EventScript_160711:: @ 8160711
+ loadword 0, gUnknown_8172BAB
+ callstd 4
+ release
+ end
+
+MtMoon_B2F_EventScript_16071B:: @ 816071B
+ lock
+ faceplayer
+ loadword 0, gUnknown_8172E77
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1607DE
+ removeobject 1
+ additem ITEM_DOME_FOSSIL, 1
+ loadword 0, gUnknown_8172ECD
+ setorcopyvar VAR_0x8000, 358
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ closemessage
+ special sub_8112364
+ delay 10
+ applymovement 3, Movement_16077A
+ waitmovement 0
+ moveobjectoffscreen 3
+ textcolor 0
+ playfanfare BGM_FRLG_ME_KEYITEM
+ message Text_172BD6
+ waitmessage
+ waitfanfare
+ removeobject 2
+ setflag FLAG_0x272
+ setflag FLAG_0x232
+ release
+ end
+
+Movement_16077A:: @ 816077A
+ step_13
+ step_11
+ step_11
+ step_11
+ step_end
+
+MtMoon_B2F_EventScript_16077F:: @ 816077F
+ lock
+ faceplayer
+ loadword 0, gUnknown_8172E94
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1607DE
+ removeobject 2
+ additem ITEM_HELIX_FOSSIL, 1
+ loadword 0, gUnknown_8172EB2
+ setorcopyvar VAR_0x8000, 357
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ closemessage
+ special sub_8112364
+ delay 10
+ applymovement 3, Movement_1607E0
+ waitmovement 0
+ moveobjectoffscreen 3
+ textcolor 0
+ playfanfare BGM_FRLG_ME_KEYITEM
+ message Text_172BD6
+ waitmessage
+ waitfanfare
+ removeobject 1
+ setflag FLAG_0x273
+ setflag FLAG_0x232
+ release
+ end
+
+EventScript_1607DE:: @ 81607DE
+ release
+ end
+
+Movement_1607E0:: @ 81607E0
+ step_11
+ step_11
+ step_11
+ step_end
+
+MtMoon_B2F_EventScript_1607E4:: @ 81607E4
+ trainerbattle 0, 351, 0, Text_172C5A, Text_172CB8
+ loadword 0, gUnknown_8172CCB
+ callstd 6
+ end
+
+MtMoon_B2F_EventScript_1607FB:: @ 81607FB
+ trainerbattle 0, 352, 0, Text_172CFC, Text_172D46
+ loadword 0, gUnknown_8172D51
+ callstd 6
+ end
+
+MtMoon_B2F_EventScript_160812:: @ 8160812
+ trainerbattle 0, 353, 0, Text_172D82, Text_172DAF
+ loadword 0, gUnknown_8172DC1
+ callstd 6
+ end
+
+MtMoon_B2F_EventScript_160829:: @ 8160829
+ trainerbattle 0, 354, 0, Text_172DF0, Text_172E3E
+ loadword 0, gUnknown_8172E4B
+ callstd 6
+ end
diff --git a/data/maps/NavelRock_1F/map.json b/data/maps/NavelRock_1F/map.json
new file mode 100644
index 000000000..586d2c9b6
--- /dev/null
+++ b/data/maps/NavelRock_1F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_1F",
+ "name": "NavelRock_1F",
+ "layout": "LAYOUT_NAVEL_ROCK_1F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_B1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 8,
+ "y": 23,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_EXTERIOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_1F/scripts.inc b/data/maps/NavelRock_1F/scripts.inc
new file mode 100644
index 000000000..97852f3d4
--- /dev/null
+++ b/data/maps/NavelRock_1F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_1F_MapScripts:: @ 8164F9E
+ .byte 0
diff --git a/data/maps/NavelRock_B1F/map.json b/data/maps/NavelRock_B1F/map.json
new file mode 100644
index 000000000..074a3e41f
--- /dev/null
+++ b/data/maps/NavelRock_B1F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_B1F",
+ "name": "NavelRock_B1F",
+ "layout": "LAYOUT_NAVEL_ROCK_B1F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_FORK",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_B1F/scripts.inc b/data/maps/NavelRock_B1F/scripts.inc
new file mode 100644
index 000000000..d940f8d12
--- /dev/null
+++ b/data/maps/NavelRock_B1F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_B1F_MapScripts:: @ 8165201
+ .byte 0
diff --git a/data/maps/NavelRock_Base/map.json b/data/maps/NavelRock_Base/map.json
new file mode 100644
index 000000000..5e515e7e9
--- /dev/null
+++ b/data/maps/NavelRock_Base/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_NAVEL_ROCK_BASE",
+ "name": "NavelRock_Base",
+ "layout": "LAYOUT_NAVEL_ROCK_BASE",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "144",
+ "x": 10,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "NavelRock_Base_EventScript_165134",
+ "flag": "155"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 13,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B11F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_Base/scripts.inc b/data/maps/NavelRock_Base/scripts.inc
new file mode 100644
index 000000000..cf31f50f2
--- /dev/null
+++ b/data/maps/NavelRock_Base/scripts.inc
@@ -0,0 +1,91 @@
+NavelRock_Base_MapScripts:: @ 81650E7
+ map_script 3, NavelRock_Base_MapScript1_1650F2
+ map_script 5, NavelRock_Base_MapScript2_165116
+ .byte 0
+
+NavelRock_Base_MapScript1_1650F2:: @ 81650F2
+ checkflag FLAG_0x2F2
+ call_if 1, EventScript_165105
+ checkflag FLAG_0x2F2
+ call_if 0, EventScript_165109
+ end
+
+EventScript_165105:: @ 8165105
+ setflag FLAG_0x09B
+ return
+
+EventScript_165109:: @ 8165109
+ checkflag FLAG_0x2F5
+ goto_if 1, EventScript_1A77A9
+ clearflag FLAG_0x09B
+ return
+
+NavelRock_Base_MapScript2_165116:: @ 8165116
+ checkflag 2055
+ call_if 1, EventScript_165120
+ end
+
+EventScript_165120:: @ 8165120
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 5, EventScript_1A77A9
+ removeobject 1
+ return
+
+NavelRock_Base_EventScript_165134:: @ 8165134
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ faceplayer
+ waitse
+ delay 20
+ playse SE_FUUSEN2
+ setvar VAR_0x8004, 0
+ setvar VAR_0x8005, 3
+ setvar VAR_0x8006, 4
+ setvar VAR_0x8007, 2
+ special sub_80CAC28
+ delay 30
+ playse SE_FUUSEN2
+ setvar VAR_0x8004, 0
+ setvar VAR_0x8005, 3
+ setvar VAR_0x8006, 4
+ setvar VAR_0x8007, 2
+ special sub_80CAC28
+ delay 30
+ delay 50
+ waitse
+ playmoncry SPECIES_LUGIA, 2
+ waitmoncry
+ delay 20
+ setvar VAR_0x8004, 249
+ setvar VAR_0x8005, 70
+ setvar VAR_0x8006, 0
+ special sub_8044838
+ setflag 2055
+ special sub_807F9D8
+ waitstate
+ clearflag 2055
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_1651D9
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_1651E7
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_1651E7
+ setflag FLAG_0x2F2
+ release
+ end
+
+EventScript_1651D9:: @ 81651D9
+ setflag FLAG_0x2F5
+ setvar VAR_0x8004, 249
+ goto EventScript_1A9236
+ end
+
+EventScript_1651E7:: @ 81651E7
+ setvar VAR_0x8004, 249
+ goto EventScript_1A9236
+ end
diff --git a/data/maps/NavelRock_BasePath_B10F/map.json b/data/maps/NavelRock_BasePath_B10F/map.json
new file mode 100644
index 000000000..c578caf34
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B10F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_BASE_PATH_B10F",
+ "name": "NavelRock_BasePath_B10F",
+ "layout": "LAYOUT_NAVEL_ROCK_BASE_PATH_B10F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B9F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B11F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_BasePath_B10F/scripts.inc b/data/maps/NavelRock_BasePath_B10F/scripts.inc
new file mode 100644
index 000000000..367d219c5
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B10F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_BasePath_B10F_MapScripts:: @ 81651FF
+ .byte 0
diff --git a/data/maps/NavelRock_BasePath_B11F/map.json b/data/maps/NavelRock_BasePath_B11F/map.json
new file mode 100644
index 000000000..a25f66a8d
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B11F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_BASE_PATH_B11F",
+ "name": "NavelRock_BasePath_B11F",
+ "layout": "LAYOUT_NAVEL_ROCK_BASE_PATH_B11F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B10F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_BasePath_B11F/scripts.inc b/data/maps/NavelRock_BasePath_B11F/scripts.inc
new file mode 100644
index 000000000..ee20f32f5
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B11F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_BasePath_B11F_MapScripts:: @ 8165200
+ .byte 0
diff --git a/data/maps/NavelRock_BasePath_B1F/map.json b/data/maps/NavelRock_BasePath_B1F/map.json
new file mode 100644
index 000000000..9127135f3
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B1F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_BASE_PATH_B1F",
+ "name": "NavelRock_BasePath_B1F",
+ "layout": "LAYOUT_NAVEL_ROCK_BASE_PATH_B1F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_FORK",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_BasePath_B1F/scripts.inc b/data/maps/NavelRock_BasePath_B1F/scripts.inc
new file mode 100644
index 000000000..d15e43a46
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B1F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_BasePath_B1F_MapScripts:: @ 81651F6
+ .byte 0
diff --git a/data/maps/NavelRock_BasePath_B2F/map.json b/data/maps/NavelRock_BasePath_B2F/map.json
new file mode 100644
index 000000000..4ec9d4faf
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B2F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_BASE_PATH_B2F",
+ "name": "NavelRock_BasePath_B2F",
+ "layout": "LAYOUT_NAVEL_ROCK_BASE_PATH_B2F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B3F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_BasePath_B2F/scripts.inc b/data/maps/NavelRock_BasePath_B2F/scripts.inc
new file mode 100644
index 000000000..9e41c37a4
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B2F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_BasePath_B2F_MapScripts:: @ 81651F7
+ .byte 0
diff --git a/data/maps/NavelRock_BasePath_B3F/map.json b/data/maps/NavelRock_BasePath_B3F/map.json
new file mode 100644
index 000000000..c0a482b47
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B3F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_BASE_PATH_B3F",
+ "name": "NavelRock_BasePath_B3F",
+ "layout": "LAYOUT_NAVEL_ROCK_BASE_PATH_B3F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B4F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_BasePath_B3F/scripts.inc b/data/maps/NavelRock_BasePath_B3F/scripts.inc
new file mode 100644
index 000000000..4a306fb7c
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B3F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_BasePath_B3F_MapScripts:: @ 81651F8
+ .byte 0
diff --git a/data/maps/NavelRock_BasePath_B4F/map.json b/data/maps/NavelRock_BasePath_B4F/map.json
new file mode 100644
index 000000000..c8ed7aa33
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B4F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_BASE_PATH_B4F",
+ "name": "NavelRock_BasePath_B4F",
+ "layout": "LAYOUT_NAVEL_ROCK_BASE_PATH_B4F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B3F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B5F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_BasePath_B4F/scripts.inc b/data/maps/NavelRock_BasePath_B4F/scripts.inc
new file mode 100644
index 000000000..80c442795
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B4F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_BasePath_B4F_MapScripts:: @ 81651F9
+ .byte 0
diff --git a/data/maps/NavelRock_BasePath_B5F/map.json b/data/maps/NavelRock_BasePath_B5F/map.json
new file mode 100644
index 000000000..55c22da08
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B5F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_BASE_PATH_B5F",
+ "name": "NavelRock_BasePath_B5F",
+ "layout": "LAYOUT_NAVEL_ROCK_BASE_PATH_B5F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B4F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B6F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_BasePath_B5F/scripts.inc b/data/maps/NavelRock_BasePath_B5F/scripts.inc
new file mode 100644
index 000000000..9bc4d0e8c
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B5F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_BasePath_B5F_MapScripts:: @ 81651FA
+ .byte 0
diff --git a/data/maps/NavelRock_BasePath_B6F/map.json b/data/maps/NavelRock_BasePath_B6F/map.json
new file mode 100644
index 000000000..ad441261b
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B6F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_BASE_PATH_B6F",
+ "name": "NavelRock_BasePath_B6F",
+ "layout": "LAYOUT_NAVEL_ROCK_BASE_PATH_B6F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B5F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B7F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_BasePath_B6F/scripts.inc b/data/maps/NavelRock_BasePath_B6F/scripts.inc
new file mode 100644
index 000000000..718afdcdc
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B6F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_BasePath_B6F_MapScripts:: @ 81651FB
+ .byte 0
diff --git a/data/maps/NavelRock_BasePath_B7F/map.json b/data/maps/NavelRock_BasePath_B7F/map.json
new file mode 100644
index 000000000..ea16d9bd0
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B7F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_BASE_PATH_B7F",
+ "name": "NavelRock_BasePath_B7F",
+ "layout": "LAYOUT_NAVEL_ROCK_BASE_PATH_B7F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B6F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B8F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_BasePath_B7F/scripts.inc b/data/maps/NavelRock_BasePath_B7F/scripts.inc
new file mode 100644
index 000000000..6942439e7
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B7F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_BasePath_B7F_MapScripts:: @ 81651FC
+ .byte 0
diff --git a/data/maps/NavelRock_BasePath_B8F/map.json b/data/maps/NavelRock_BasePath_B8F/map.json
new file mode 100644
index 000000000..27d4253f8
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B8F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_BASE_PATH_B8F",
+ "name": "NavelRock_BasePath_B8F",
+ "layout": "LAYOUT_NAVEL_ROCK_BASE_PATH_B8F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B7F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B9F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_BasePath_B8F/scripts.inc b/data/maps/NavelRock_BasePath_B8F/scripts.inc
new file mode 100644
index 000000000..8c6e1284d
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B8F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_BasePath_B8F_MapScripts:: @ 81651FD
+ .byte 0
diff --git a/data/maps/NavelRock_BasePath_B9F/map.json b/data/maps/NavelRock_BasePath_B9F/map.json
new file mode 100644
index 000000000..fd4b0e4eb
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B9F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_BASE_PATH_B9F",
+ "name": "NavelRock_BasePath_B9F",
+ "layout": "LAYOUT_NAVEL_ROCK_BASE_PATH_B9F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B8F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B10F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_BasePath_B9F/scripts.inc b/data/maps/NavelRock_BasePath_B9F/scripts.inc
new file mode 100644
index 000000000..0aa96b407
--- /dev/null
+++ b/data/maps/NavelRock_BasePath_B9F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_BasePath_B9F_MapScripts:: @ 81651FE
+ .byte 0
diff --git a/data/maps/NavelRock_Exterior/map.json b/data/maps/NavelRock_Exterior/map.json
new file mode 100644
index 000000000..2caf50cac
--- /dev/null
+++ b/data/maps/NavelRock_Exterior/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_EXTERIOR",
+ "name": "NavelRock_Exterior",
+ "layout": "LAYOUT_NAVEL_ROCK_EXTERIOR",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 9,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 9,
+ "y": 16,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_HARBOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_Exterior/scripts.inc b/data/maps/NavelRock_Exterior/scripts.inc
new file mode 100644
index 000000000..31013ff5d
--- /dev/null
+++ b/data/maps/NavelRock_Exterior/scripts.inc
@@ -0,0 +1,7 @@
+NavelRock_Exterior_MapScripts:: @ 81646AE
+ map_script 3, NavelRock_Exterior_MapScript1_1646B4
+ .byte 0
+
+NavelRock_Exterior_MapScript1_1646B4:: @ 81646B4
+ setworldmapflag 2229
+ end
diff --git a/data/maps/NavelRock_Fork/map.json b/data/maps/NavelRock_Fork/map.json
new file mode 100644
index 000000000..8f58e4edc
--- /dev/null
+++ b/data/maps/NavelRock_Fork/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_NAVEL_ROCK_FORK",
+ "name": "NavelRock_Fork",
+ "layout": "LAYOUT_NAVEL_ROCK_FORK",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 13,
+ "y": 95,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_B1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 3,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_SUMMIT_PATH_2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 26,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_BASE_PATH_B1F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_Fork/scripts.inc b/data/maps/NavelRock_Fork/scripts.inc
new file mode 100644
index 000000000..1a202fae9
--- /dev/null
+++ b/data/maps/NavelRock_Fork/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_Fork_MapScripts:: @ 8165202
+ .byte 0
diff --git a/data/maps/NavelRock_Harbor/map.json b/data/maps/NavelRock_Harbor/map.json
new file mode 100644
index 000000000..575542128
--- /dev/null
+++ b/data/maps/NavelRock_Harbor/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_NAVEL_ROCK_HARBOR",
+ "name": "NavelRock_Harbor",
+ "layout": "LAYOUT_ISLAND_HARBOR",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "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": "108",
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "NavelRock_Harbor_EventScript_165421",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_EXTERIOR",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_Harbor/scripts.inc b/data/maps/NavelRock_Harbor/scripts.inc
new file mode 100644
index 000000000..6e630ca01
--- /dev/null
+++ b/data/maps/NavelRock_Harbor/scripts.inc
@@ -0,0 +1 @@
+@ .include "data/maps/NavelRock_Harbor/scripts.inc"
diff --git a/data/maps/NavelRock_Summit/map.json b/data/maps/NavelRock_Summit/map.json
new file mode 100644
index 000000000..ec65f3a26
--- /dev/null
+++ b/data/maps/NavelRock_Summit/map.json
@@ -0,0 +1,61 @@
+{
+ "id": "MAP_NAVEL_ROCK_SUMMIT",
+ "name": "NavelRock_Summit",
+ "layout": "LAYOUT_NAVEL_ROCK_SUMMIT",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_11",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "145",
+ "x": 9,
+ "y": 6,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "156"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_SUMMIT_PATH_5F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 12,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "NavelRock_Summit_EventScript_164FFB"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 9,
+ "y": 11,
+ "elevation": 3,
+ "item": "ITEM_SACRED_ASH",
+ "flag": "160",
+ "unknown": 129
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_Summit/scripts.inc b/data/maps/NavelRock_Summit/scripts.inc
new file mode 100644
index 000000000..eeb47f007
--- /dev/null
+++ b/data/maps/NavelRock_Summit/scripts.inc
@@ -0,0 +1,130 @@
+NavelRock_Summit_MapScripts:: @ 8164F9F
+ map_script 3, NavelRock_Summit_MapScript1_164FAA
+ map_script 5, NavelRock_Summit_MapScript2_164FDD
+ .byte 0
+
+NavelRock_Summit_MapScript1_164FAA:: @ 8164FAA
+ checkflag FLAG_0x2F3
+ call_if 1, EventScript_164FBD
+ checkflag FLAG_0x2F3
+ call_if 0, EventScript_164FC6
+ end
+
+EventScript_164FBD:: @ 8164FBD
+ setvar VAR_0x4001, 1
+ setflag FLAG_0x09C
+ return
+
+EventScript_164FC6:: @ 8164FC6
+ setvar VAR_0x4001, 1
+ checkflag FLAG_0x2F6
+ goto_if 1, EventScript_1A77A9
+ setvar VAR_0x4001, 0
+ clearflag FLAG_0x09C
+ return
+
+NavelRock_Summit_MapScript2_164FDD:: @ 8164FDD
+ checkflag 2055
+ call_if 1, EventScript_164FE7
+ end
+
+EventScript_164FE7:: @ 8164FE7
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 5, EventScript_1A77A9
+ removeobject 1
+ return
+
+NavelRock_Summit_EventScript_164FFB:: @ 8164FFB
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lockall
+ setvar VAR_0x4001, 1
+ special SpawnScriptFieldObject
+ setvar VAR_0x8004, 3
+ setvar VAR_0x8005, 35
+ special sub_80CD1B4
+ applymovement 1, Movement_1650E0
+ applymovement 127, Movement_1650CD
+ waitmovement 0
+ delay 50
+ setweather 0
+ doweather
+ waitse
+ playmoncry SPECIES_HO_OH, 2
+ delay 30
+ waitmoncry
+ delay 60
+ setvar VAR_0x8004, 3
+ setvar VAR_0x8005, 35
+ special sub_80CD1B4
+ applymovement 127, Movement_1650D1
+ applymovement 1, Movement_1650D7
+ waitmovement 0
+ special RemoveScriptFieldObject
+ setvar VAR_0x8004, 250
+ setvar VAR_0x8005, 70
+ setvar VAR_0x8006, 0
+ special sub_8044838
+ setflag 2055
+ special sub_807F9D8
+ waitstate
+ clearflag 2055
+ setvar VAR_LAST_TALKED, 1
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_1650B4
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_1650C2
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_1650C2
+ setflag FLAG_0x2F3
+ releaseall
+ end
+
+EventScript_1650B4:: @ 81650B4
+ setflag FLAG_0x2F6
+ setvar VAR_0x8004, 250
+ goto EventScript_1A9236
+ end
+
+EventScript_1650C2:: @ 81650C2
+ setvar VAR_0x8004, 250
+ goto EventScript_1A9236
+ end
+
+Movement_1650CD:: @ 81650CD
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_1650D1:: @ 81650D1
+ step_1c
+ step_1c
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_1650D7:: @ 81650D7
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_25
+ step_1c
+ step_1c
+ step_end
+
+Movement_1650E0:: @ 81650E0
+ step_1c
+ step_1c
+ step_25
+ step_25
+ step_25
+ step_25
+ step_end
diff --git a/data/maps/NavelRock_SummitPath_2F/map.json b/data/maps/NavelRock_SummitPath_2F/map.json
new file mode 100644
index 000000000..ac1dfaeee
--- /dev/null
+++ b/data/maps/NavelRock_SummitPath_2F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_SUMMIT_PATH_2F",
+ "name": "NavelRock_SummitPath_2F",
+ "layout": "LAYOUT_NAVEL_ROCK_SUMMIT_PATH_2F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_FORK",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_SUMMIT_PATH_3F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_SummitPath_2F/scripts.inc b/data/maps/NavelRock_SummitPath_2F/scripts.inc
new file mode 100644
index 000000000..1311becf7
--- /dev/null
+++ b/data/maps/NavelRock_SummitPath_2F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_SummitPath_2F_MapScripts:: @ 81651F2
+ .byte 0
diff --git a/data/maps/NavelRock_SummitPath_3F/map.json b/data/maps/NavelRock_SummitPath_3F/map.json
new file mode 100644
index 000000000..5964d839a
--- /dev/null
+++ b/data/maps/NavelRock_SummitPath_3F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_SUMMIT_PATH_3F",
+ "name": "NavelRock_SummitPath_3F",
+ "layout": "LAYOUT_NAVEL_ROCK_SUMMIT_PATH_3F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_SUMMIT_PATH_2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_SUMMIT_PATH_4F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_SummitPath_3F/scripts.inc b/data/maps/NavelRock_SummitPath_3F/scripts.inc
new file mode 100644
index 000000000..1ca5fc782
--- /dev/null
+++ b/data/maps/NavelRock_SummitPath_3F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_SummitPath_3F_MapScripts:: @ 81651F3
+ .byte 0
diff --git a/data/maps/NavelRock_SummitPath_4F/map.json b/data/maps/NavelRock_SummitPath_4F/map.json
new file mode 100644
index 000000000..525326a31
--- /dev/null
+++ b/data/maps/NavelRock_SummitPath_4F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_SUMMIT_PATH_4F",
+ "name": "NavelRock_SummitPath_4F",
+ "layout": "LAYOUT_NAVEL_ROCK_SUMMIT_PATH_4F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_SUMMIT_PATH_3F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_SUMMIT_PATH_5F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_SummitPath_4F/scripts.inc b/data/maps/NavelRock_SummitPath_4F/scripts.inc
new file mode 100644
index 000000000..79371b1c5
--- /dev/null
+++ b/data/maps/NavelRock_SummitPath_4F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_SummitPath_4F_MapScripts:: @ 81651F4
+ .byte 0
diff --git a/data/maps/NavelRock_SummitPath_5F/map.json b/data/maps/NavelRock_SummitPath_5F/map.json
new file mode 100644
index 000000000..5aeb1faa8
--- /dev/null
+++ b/data/maps/NavelRock_SummitPath_5F/map.json
@@ -0,0 +1,34 @@
+{
+ "id": "MAP_NAVEL_ROCK_SUMMIT_PATH_5F",
+ "name": "NavelRock_SummitPath_5F",
+ "layout": "LAYOUT_NAVEL_ROCK_SUMMIT_PATH_5F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_NAVEL_ROCK",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_SUMMIT_PATH_4F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_NAVEL_ROCK_SUMMIT",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/NavelRock_SummitPath_5F/scripts.inc b/data/maps/NavelRock_SummitPath_5F/scripts.inc
new file mode 100644
index 000000000..d8aa65052
--- /dev/null
+++ b/data/maps/NavelRock_SummitPath_5F/scripts.inc
@@ -0,0 +1,2 @@
+NavelRock_SummitPath_5F_MapScripts:: @ 81651F5
+ .byte 0
diff --git a/data/maps/OneIsland/map.json b/data/maps/OneIsland/map.json
new file mode 100644
index 000000000..fd8c53409
--- /dev/null
+++ b/data/maps/OneIsland/map.json
@@ -0,0 +1,114 @@
+{
+ "id": "MAP_ONE_ISLAND",
+ "name": "OneIsland",
+ "layout": "LAYOUT_ONE_ISLAND",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_ONE_ISLAND",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ONE_ISLAND_TREASURE_BEACH",
+ "offset": 0,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_ONE_ISLAND_KINDLE_ROAD",
+ "offset": -120,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "73",
+ "x": 12,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "113"
+ },
+ {
+ "graphics_id": "32",
+ "x": 16,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_EventScript_167517",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 13,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "13",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_EventScript_167549",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 14,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_ONE_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 19,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_ONE_ISLAND_HOUSE1",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 8,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_ONE_ISLAND_HOUSE2",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 12,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_ONE_ISLAND_HARBOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 14,
+ "y": 13,
+ "elevation": 0,
+ "script": "OneIsland_EventScript_167552"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 15,
+ "y": 6,
+ "elevation": 0,
+ "script": "OneIsland_EventScript_16755B"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/OneIsland/scripts.inc b/data/maps/OneIsland/scripts.inc
new file mode 100644
index 000000000..70ab4ff03
--- /dev/null
+++ b/data/maps/OneIsland/scripts.inc
@@ -0,0 +1,121 @@
+OneIsland_MapScripts:: @ 8167484
+ map_script 3, OneIsland_MapScript1_16748F
+ map_script 2, OneIsland_MapScript2_167493
+ .byte 0
+
+OneIsland_MapScript1_16748F:: @ 816748F
+ setworldmapflag 2203
+ end
+
+OneIsland_MapScript2_167493:: @ 8167493
+ map_script_2 VAR_0x4075, 2, EventScript_16749D
+ .2byte 0
+
+EventScript_16749D:: @ 816749D
+ lockall
+ textcolor 0
+ applymovement 255, Movement_167505
+ waitmovement 0
+ loadword 0, gUnknown_818161B
+ callstd 4
+ closemessage
+ applymovement 1, Movement_167507
+ applymovement 255, Movement_1674F4
+ waitmovement 0
+ opendoor 14, 5
+ waitdooranim
+ applymovement 1, Movement_167514
+ applymovement 255, Movement_167501
+ waitmovement 0
+ closedoor 14, 5
+ waitdooranim
+ removeobject 1
+ setvar VAR_0x4075, 3
+ warp MAP_ONE_ISLAND_POKEMON_CENTER_1F, 255, 9, 9
+ waitstate
+ releaseall
+ end
+
+Movement_1674F4:: @ 81674F4
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_13
+ step_13
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_167501:: @ 8167501
+ step_11
+ step_11
+ step_60
+ step_end
+
+Movement_167505:: @ 8167505
+ step_11
+ step_end
+
+Movement_167507:: @ 8167507
+ step_11
+ step_11
+ step_11
+ step_11
+ step_13
+ step_13
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_167514:: @ 8167514
+ step_11
+ step_60
+ step_end
+
+OneIsland_EventScript_167517:: @ 8167517
+ lock
+ faceplayer
+ checkflag 2116
+ goto_if 1, EventScript_16753F
+ checkflag FLAG_0x2A1
+ goto_if 1, EventScript_167535
+ loadword 0, gUnknown_818174E
+ callstd 4
+ release
+ end
+
+EventScript_167535:: @ 8167535
+ loadword 0, gUnknown_8181858
+ callstd 4
+ release
+ end
+
+EventScript_16753F:: @ 816753F
+ loadword 0, gUnknown_8181901
+ callstd 4
+ release
+ end
+
+OneIsland_EventScript_167549:: @ 8167549
+ loadword 0, gUnknown_8181A4A
+ callstd 2
+ end
+
+OneIsland_EventScript_167552:: @ 8167552
+ loadword 0, gUnknown_81819E1
+ callstd 3
+ end
+
+OneIsland_EventScript_16755B:: @ 816755B
+ loadword 0, gUnknown_8181A0A
+ callstd 3
+ end
diff --git a/data/maps/OneIsland_Harbor/map.json b/data/maps/OneIsland_Harbor/map.json
new file mode 100644
index 000000000..3bf9f7876
--- /dev/null
+++ b/data/maps/OneIsland_Harbor/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_ONE_ISLAND_HARBOR",
+ "name": "OneIsland_Harbor",
+ "layout": "LAYOUT_ISLAND_HARBOR",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_ONE_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": "108",
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_Harbor_EventScript_1713BD",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_ONE_ISLAND",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/OneIsland_Harbor/scripts.inc b/data/maps/OneIsland_Harbor/scripts.inc
new file mode 100644
index 000000000..60a82c17e
--- /dev/null
+++ b/data/maps/OneIsland_Harbor/scripts.inc
@@ -0,0 +1,42 @@
+OneIsland_Harbor_MapScripts:: @ 8171378
+ map_script 4, OneIsland_Harbor_MapScript1_171383
+ map_script 2, OneIsland_Harbor_MapScript2_171392
+ .byte 0
+
+OneIsland_Harbor_MapScript1_171383:: @ 8171383
+ map_script_2 VAR_0x4075, 1, EventScript_17138D
+ .2byte 0
+
+EventScript_17138D:: @ 817138D
+ turnobject 255, 2
+ end
+
+OneIsland_Harbor_MapScript2_171392:: @ 8171392
+ map_script_2 VAR_0x4075, 1, EventScript_17139C
+ .2byte 0
+
+EventScript_17139C:: @ 817139C
+ lockall
+ textcolor 0
+ applymovement 255, Movement_1713B9
+ waitmovement 0
+ setvar VAR_0x4075, 2
+ warp MAP_ONE_ISLAND, 255, 12, 18
+ waitstate
+ releaseall
+ end
+
+Movement_1713B9:: @ 81713B9
+ step_11
+ step_11
+ step_11
+ step_end
+
+OneIsland_Harbor_EventScript_1713BD:: @ 81713BD
+ lock
+ faceplayer
+ message Text_181726
+ waitmessage
+ setvar VAR_0x8004, 1
+ goto EventScript_1A8EC5
+ end
diff --git a/data/maps/OneIsland_House1/map.json b/data/maps/OneIsland_House1/map.json
new file mode 100644
index 000000000..dd815fcd5
--- /dev/null
+++ b/data/maps/OneIsland_House1/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_ONE_ISLAND_HOUSE1",
+ "name": "OneIsland_House1",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_ONE_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": "32",
+ "x": 4,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_House1_EventScript_17135C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "35",
+ "x": 7,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_House1_EventScript_171365",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_ONE_ISLAND",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/OneIsland_House1/scripts.inc b/data/maps/OneIsland_House1/scripts.inc
new file mode 100644
index 000000000..24823bec8
--- /dev/null
+++ b/data/maps/OneIsland_House1/scripts.inc
@@ -0,0 +1,12 @@
+OneIsland_House1_MapScripts:: @ 817135B
+ .byte 0
+
+OneIsland_House1_EventScript_17135C:: @ 817135C
+ loadword 0, gUnknown_81A2332
+ callstd 2
+ end
+
+OneIsland_House1_EventScript_171365:: @ 8171365
+ loadword 0, gUnknown_81A2380
+ callstd 2
+ end
diff --git a/data/maps/OneIsland_House2/map.json b/data/maps/OneIsland_House2/map.json
new file mode 100644
index 000000000..0013b0de3
--- /dev/null
+++ b/data/maps/OneIsland_House2/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_ONE_ISLAND_HOUSE2",
+ "name": "OneIsland_House2",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_ONE_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": "22",
+ "x": 9,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_House2_EventScript_17136F",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_ONE_ISLAND",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/OneIsland_House2/scripts.inc b/data/maps/OneIsland_House2/scripts.inc
new file mode 100644
index 000000000..a9c79e1c6
--- /dev/null
+++ b/data/maps/OneIsland_House2/scripts.inc
@@ -0,0 +1,7 @@
+OneIsland_House2_MapScripts:: @ 817136E
+ .byte 0
+
+OneIsland_House2_EventScript_17136F:: @ 817136F
+ loadword 0, gUnknown_81A23B8
+ callstd 2
+ end
diff --git a/data/maps/OneIsland_KindleRoad/map.json b/data/maps/OneIsland_KindleRoad/map.json
new file mode 100644
index 000000000..375dabd15
--- /dev/null
+++ b/data/maps/OneIsland_KindleRoad/map.json
@@ -0,0 +1,440 @@
+{
+ "id": "MAP_ONE_ISLAND_KINDLE_ROAD",
+ "name": "OneIsland_KindleRoad",
+ "layout": "LAYOUT_ONE_ISLAND_KINDLE_ROAD",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_KINDLE_ROAD",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ONE_ISLAND",
+ "offset": 120,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "44",
+ "x": 11,
+ "y": 32,
+ "elevation": 1,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "OneIsland_KindleRoad_EventScript_1ABBF1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "46",
+ "x": 17,
+ "y": 132,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "OneIsland_KindleRoad_EventScript_1ABC2F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 7,
+ "y": 39,
+ "elevation": 1,
+ "movement_type": "52",
+ "movement_range_x": 6,
+ "movement_range_y": 3,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "OneIsland_KindleRoad_EventScript_1ABC6D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "45",
+ "x": 19,
+ "y": 79,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "OneIsland_KindleRoad_EventScript_1ABCAB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "57",
+ "x": 15,
+ "y": 25,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1ABCE9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "24",
+ "x": 9,
+ "y": 53,
+ "elevation": 3,
+ "movement_type": "26",
+ "movement_range_x": 1,
+ "movement_range_y": 7,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "OneIsland_KindleRoad_EventScript_1ABD27",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "24",
+ "x": 18,
+ "y": 105,
+ "elevation": 4,
+ "movement_type": "50",
+ "movement_range_x": 1,
+ "movement_range_y": 4,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "OneIsland_KindleRoad_EventScript_1ABD65",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 16,
+ "y": 64,
+ "elevation": 3,
+ "movement_type": "27",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "OneIsland_KindleRoad_EventScript_1ABDA3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 11,
+ "y": 64,
+ "elevation": 3,
+ "movement_type": "28",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "OneIsland_KindleRoad_EventScript_1ABDE1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 11,
+ "y": 89,
+ "elevation": 3,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "OneIsland_KindleRoad_EventScript_1ABE1F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 9,
+ "y": 108,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "OneIsland_KindleRoad_EventScript_1ABE5D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 8,
+ "y": 68,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "OneIsland_KindleRoad_EventScript_1ABEE1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "24",
+ "x": 9,
+ "y": 68,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "OneIsland_KindleRoad_EventScript_1ABE9B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "96",
+ "x": 8,
+ "y": 104,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "96",
+ "x": 11,
+ "y": 95,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "96",
+ "x": 12,
+ "y": 96,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "22"
+ },
+ {
+ "graphics_id": "96",
+ "x": 10,
+ "y": 95,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "23"
+ },
+ {
+ "graphics_id": "96",
+ "x": 9,
+ "y": 105,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "24"
+ },
+ {
+ "graphics_id": "96",
+ "x": 15,
+ "y": 75,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "25"
+ },
+ {
+ "graphics_id": "96",
+ "x": 9,
+ "y": 84,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "26"
+ },
+ {
+ "graphics_id": "96",
+ "x": 15,
+ "y": 74,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "27"
+ },
+ {
+ "graphics_id": "96",
+ "x": 15,
+ "y": 73,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "28"
+ },
+ {
+ "graphics_id": "96",
+ "x": 18,
+ "y": 111,
+ "elevation": 4,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "29"
+ },
+ {
+ "graphics_id": "96",
+ "x": 10,
+ "y": 86,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "30"
+ },
+ {
+ "graphics_id": "96",
+ "x": 9,
+ "y": 110,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "31"
+ },
+ {
+ "graphics_id": "96",
+ "x": 18,
+ "y": 112,
+ "elevation": 4,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BE00C",
+ "flag": "17"
+ },
+ {
+ "graphics_id": "92",
+ "x": 15,
+ "y": 70,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BEC42",
+ "flag": "475"
+ },
+ {
+ "graphics_id": "92",
+ "x": 17,
+ "y": 103,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BEC4F",
+ "flag": "476"
+ },
+ {
+ "graphics_id": "92",
+ "x": 18,
+ "y": 114,
+ "elevation": 4,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EventScript_1BEC5C",
+ "flag": "477"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_EXTERIOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 12,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_EXTERIOR",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 15,
+ "y": 58,
+ "elevation": 3,
+ "dest_map": "MAP_ONE_ISLAND_KINDLE_ROAD_EMBER_SPA",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 13,
+ "y": 59,
+ "elevation": 0,
+ "script": "OneIsland_KindleRoad_EventScript_168762"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 115,
+ "elevation": 0,
+ "script": "OneIsland_KindleRoad_EventScript_168759"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/OneIsland_KindleRoad/scripts.inc b/data/maps/OneIsland_KindleRoad/scripts.inc
new file mode 100644
index 000000000..4a6d76ae1
--- /dev/null
+++ b/data/maps/OneIsland_KindleRoad/scripts.inc
@@ -0,0 +1,12 @@
+OneIsland_KindleRoad_MapScripts:: @ 8168758
+ .byte 0
+
+OneIsland_KindleRoad_EventScript_168759:: @ 8168759
+ loadword 0, gUnknown_8189D02
+ callstd 3
+ end
+
+OneIsland_KindleRoad_EventScript_168762:: @ 8168762
+ loadword 0, gUnknown_8189D32
+ callstd 3
+ end
diff --git a/data/maps/OneIsland_KindleRoad_EmberSpa/map.json b/data/maps/OneIsland_KindleRoad_EmberSpa/map.json
new file mode 100644
index 000000000..3045795db
--- /dev/null
+++ b/data/maps/OneIsland_KindleRoad_EmberSpa/map.json
@@ -0,0 +1,116 @@
+{
+ "id": "MAP_ONE_ISLAND_KINDLE_ROAD_EMBER_SPA",
+ "name": "OneIsland_KindleRoad_EmberSpa",
+ "layout": "LAYOUT_ONE_ISLAND_KINDLE_ROAD_EMBER_SPA",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_EMBER_SPA",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "32",
+ "x": 11,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EmberSpa_EventScript_16535C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 15,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "18",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EmberSpa_EventScript_165365",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EmberSpa_EventScript_165380",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "35",
+ "x": 20,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EmberSpa_EventScript_165377",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 10,
+ "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": "OneIsland_KindleRoad_EmberSpa_EventScript_165399",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 11,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_KindleRoad_EmberSpa_EventScript_16536E",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 13,
+ "y": 36,
+ "elevation": 3,
+ "dest_map": "MAP_ONE_ISLAND_KINDLE_ROAD",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "OneIsland_KindleRoad_EmberSpa_EventScript_1653CF"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/OneIsland_KindleRoad_EmberSpa/scripts.inc b/data/maps/OneIsland_KindleRoad_EmberSpa/scripts.inc
new file mode 100644
index 000000000..8e2409168
--- /dev/null
+++ b/data/maps/OneIsland_KindleRoad_EmberSpa/scripts.inc
@@ -0,0 +1,66 @@
+OneIsland_KindleRoad_EmberSpa_MapScripts:: @ 816535B
+ .byte 0
+
+OneIsland_KindleRoad_EmberSpa_EventScript_16535C:: @ 816535C
+ loadword 0, gUnknown_817D34A
+ callstd 2
+ end
+
+OneIsland_KindleRoad_EmberSpa_EventScript_165365:: @ 8165365
+ loadword 0, gUnknown_817D3DE
+ callstd 2
+ end
+
+OneIsland_KindleRoad_EmberSpa_EventScript_16536E:: @ 816536E
+ loadword 0, gUnknown_817D4AA
+ callstd 2
+ end
+
+OneIsland_KindleRoad_EmberSpa_EventScript_165377:: @ 8165377
+ loadword 0, gUnknown_817D4E3
+ callstd 2
+ end
+
+OneIsland_KindleRoad_EmberSpa_EventScript_165380:: @ 8165380
+ lock
+ faceplayer
+ setvar VAR_0x8004, 10
+ setvar VAR_0x8005, 3
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_817D550
+ callstd 4
+ release
+ end
+
+OneIsland_KindleRoad_EmberSpa_EventScript_165399:: @ 8165399
+ lock
+ faceplayer
+ checkflag FLAG_0x2EF
+ goto_if 1, EventScript_1653C5
+ loadword 0, gUnknown_817D622
+ callstd 4
+ setorcopyvar VAR_0x8000, 344
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ setflag FLAG_0x2EF
+ loadword 0, gUnknown_817D6F3
+ callstd 4
+ release
+ end
+
+EventScript_1653C5:: @ 81653C5
+ loadword 0, gUnknown_817D6F3
+ callstd 4
+ release
+ end
+
+OneIsland_KindleRoad_EmberSpa_EventScript_1653CF:: @ 81653CF
+ lockall
+ fadescreen 3
+ special sp000_heal_pokemon
+ fadescreen 2
+ loadword 0, gUnknown_817D450
+ callstd 4
+ setvar VAR_0x4001, 1
+ releaseall
+ end
diff --git a/data/maps/OneIsland_PokemonCenter_1F/map.json b/data/maps/OneIsland_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..ec515417d
--- /dev/null
+++ b/data/maps/OneIsland_PokemonCenter_1F/map.json
@@ -0,0 +1,214 @@
+{
+ "id": "MAP_ONE_ISLAND_POKEMON_CENTER_1F",
+ "name": "OneIsland_PokemonCenter_1F",
+ "layout": "LAYOUT_ONE_ISLAND_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_NETWORK_CENTER",
+ "region_map_section": "MAPSEC_ONE_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": 5,
+ "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": "OneIsland_PokemonCenter_1F_EventScript_170E94",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "73",
+ "x": 14,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_170E9D",
+ "flag": "114"
+ },
+ {
+ "graphics_id": "89",
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_170EC5",
+ "flag": "115"
+ },
+ {
+ "graphics_id": "16",
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_171148",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_171151",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "24",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_17115A",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 9,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ONE_ISLAND",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 1,
+ "y": 5,
+ "elevation": 4,
+ "dest_map": "MAP_ONE_ISLAND_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4076",
+ "var_value": 2,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_1711AA"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 7,
+ "elevation": 3,
+ "var": "VAR_0x4076",
+ "var_value": 2,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_1711B6"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4076",
+ "var_value": 2,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_1711C2"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 9,
+ "elevation": 3,
+ "var": "VAR_0x4076",
+ "var_value": 2,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_1711CE"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 2,
+ "elevation": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_171179"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 3,
+ "elevation": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_171179"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 4,
+ "elevation": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_171179"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 5,
+ "elevation": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_171179"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 13,
+ "y": 5,
+ "elevation": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_171179"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 15,
+ "y": 5,
+ "elevation": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_171179"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 14,
+ "y": 5,
+ "elevation": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_171179"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 16,
+ "y": 5,
+ "elevation": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_171179"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 17,
+ "y": 5,
+ "elevation": 0,
+ "script": "OneIsland_PokemonCenter_1F_EventScript_171179"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/OneIsland_PokemonCenter_1F/scripts.inc b/data/maps/OneIsland_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..4419b669e
--- /dev/null
+++ b/data/maps/OneIsland_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,658 @@
+OneIsland_PokemonCenter_1F_MapScripts:: @ 8170BF8
+ map_script 3, OneIsland_PokemonCenter_1F_MapScript1_170C4E
+ map_script 5, OneIsland_PokemonCenter_1F_MapScript2_1BC05C
+ map_script 1, OneIsland_PokemonCenter_1F_MapScript3_170C0D
+ map_script 2, OneIsland_PokemonCenter_1F_MapScript4_170CA7
+ .byte 0
+
+OneIsland_PokemonCenter_1F_MapScript3_170C0D:: @ 8170C0D
+ compare_var_to_value VAR_0x4076, 5
+ call_if 4, EventScript_170C22
+ checkflag 2116
+ call_if 1, EventScript_170C36
+ end
+
+EventScript_170C22:: @ 8170C22
+ setmetatile 13, 4, 861, 1
+ return
+
+EventScript_170C2C:: @ 8170C2C
+ setmetatile 16, 4, 863, 1
+ return
+
+EventScript_170C36:: @ 8170C36
+ call EventScript_170C2C
+ setmetatile 14, 4, 858, 1
+ setmetatile 15, 4, 859, 1
+ return
+
+OneIsland_PokemonCenter_1F_MapScript1_170C4E:: @ 8170C4E
+ setrespawn 14
+ compare_var_to_value VAR_0x4076, 6
+ call_if 1, EventScript_170C73
+ compare_var_to_value VAR_0x4076, 0
+ call_if 1, EventScript_170C79
+ compare_var_to_value VAR_0x4076, 2
+ call_if 1, EventScript_170C90
+ end
+
+EventScript_170C73:: @ 8170C73
+ setvar VAR_0x4076, 7
+ return
+
+EventScript_170C79:: @ 8170C79
+ setobjectxyperm 2, 9, 8
+ setobjectmovementtype 2, 7
+ setobjectxyperm 3, 15, 6
+ setobjectmovementtype 3, 7
+ return
+
+EventScript_170C90:: @ 8170C90
+ setobjectxyperm 2, 14, 7
+ setobjectmovementtype 2, 9
+ setobjectxyperm 3, 14, 8
+ setobjectmovementtype 3, 9
+ return
+
+OneIsland_PokemonCenter_1F_MapScript4_170CA7:: @ 8170CA7
+ map_script_2 VAR_0x4076, 0, EventScript_170CB1
+ .2byte 0
+
+EventScript_170CB1:: @ 8170CB1
+ lockall
+ textcolor 0
+ applymovement 255, Movement_170E7D
+ applymovement 2, Movement_170E86
+ waitmovement 0
+ loadword 0, gUnknown_81A0CDE
+ callstd 4
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ playse SE_PIN
+ applymovement 3, Movement_1A75DB
+ waitmovement 0
+ applymovement 3, Movement_1A75E7
+ waitmovement 0
+ applymovement 3, Movement_1A75DD
+ waitmovement 0
+ loadword 0, gUnknown_81A0CF7
+ callstd 4
+ loadword 0, gUnknown_81A0D27
+ callstd 4
+ applymovement 2, Movement_1A75ED
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ loadword 0, gUnknown_81A0D72
+ callstd 4
+ applymovement 2, Movement_1A75EB
+ waitmovement 0
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ checkflag 2092
+ call_if 1, EventScript_170E34
+ checkflag 2092
+ call_if 0, EventScript_170E3D
+ applymovement 3, Movement_1A75ED
+ waitmovement 0
+ loadword 0, gUnknown_81A0E17
+ callstd 4
+ loadword 0, gUnknown_81A0E90
+ callstd 4
+ applymovement 3, Movement_1A75E7
+ waitmovement 0
+ loadword 0, gUnknown_81A0ECC
+ callstd 4
+ closemessage
+ applymovement 2, Movement_1A75E9
+ waitmovement 0
+ loadword 0, gUnknown_81A0F40
+ callstd 4
+ applymovement 2, Movement_1A75ED
+ waitmovement 0
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ loadword 0, gUnknown_81A0FB1
+ callstd 4
+ loadword 0, gUnknown_81A10EE
+ setorcopyvar VAR_0x8000, 280
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ additem ITEM_METEORITE, 1
+ applymovement 3, Movement_1A75ED
+ waitmovement 0
+ loadword 0, gUnknown_81A1113
+ callstd 4
+ additem ITEM_TRI_PASS, 1
+ loadword 0, gUnknown_81A231B
+ setorcopyvar VAR_0x8000, 367
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ loadword 0, gUnknown_81A1150
+ callstd 4
+ compare_var_to_value VAR_0x4058, 2
+ call_if 4, EventScript_170E46
+ compare_var_to_value VAR_0x4058, 2
+ call_if 0, EventScript_170E58
+ setflag 2117
+ loadword 0, gUnknown_81A1230
+ callstd 4
+ closemessage
+ applymovement 2, Movement_1A75E9
+ waitmovement 0
+ applymovement 3, Movement_1A75E9
+ waitmovement 0
+ setflag 2113
+ setvar VAR_0x4076, 1
+ releaseall
+ end
+
+EventScript_170E34:: @ 8170E34
+ loadword 0, gUnknown_81A0DE8
+ callstd 4
+ return
+
+EventScript_170E3D:: @ 8170E3D
+ loadword 0, gUnknown_81A0DAC
+ callstd 4
+ return
+
+EventScript_170E46:: @ 8170E46
+ textcolor 3
+ playfanfare BGM_FRLG_ME_KEYITEM
+ message Text_1A11EC
+ waitmessage
+ waitfanfare
+ call EventScript_1A6675
+ return
+
+EventScript_170E58:: @ 8170E58
+ setflag FLAG_0x039
+ setvar VAR_0x4058, 2
+ additem ITEM_TOWN_MAP, 1
+ loadword 0, gUnknown_81A1218
+ setorcopyvar VAR_0x8000, 361
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ return
+
+Movement_170E7D:: @ 8170E7D
+ step_11
+ step_11
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_2e
+ step_end
+
+Movement_170E86:: @ 8170E86
+ step_11
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_11
+ step_30
+ step_end
+
+Movement_170E8F:: @ 8170E8F
+ step_11
+ step_end
+
+Movement_170E91:: @ 8170E91
+ step_12
+ step_30
+ step_end
+
+OneIsland_PokemonCenter_1F_EventScript_170E94:: @ 8170E94
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+OneIsland_PokemonCenter_1F_EventScript_170E9D:: @ 8170E9D
+ lock
+ checkflag FLAG_0x2A1
+ goto_if 1, EventScript_170EB1
+ loadword 0, gUnknown_81A1266
+ callstd 4
+ release
+ end
+
+EventScript_170EB1:: @ 8170EB1
+ applymovement 2, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_81A128C
+ callstd 4
+ release
+ end
+
+OneIsland_PokemonCenter_1F_EventScript_170EC5:: @ 8170EC5
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4076, 7
+ goto_if 1, EventScript_170F35
+ compare_var_to_value VAR_0x4076, 6
+ goto_if 1, EventScript_170F9B
+ checkflag FLAG_0x2DC
+ goto_if 1, EventScript_170FA5
+ compare_var_to_value VAR_0x4076, 5
+ goto_if 1, EventScript_17103A
+ checkflag FLAG_0x2DD
+ goto_if 1, EventScript_171044
+ compare_var_to_value VAR_0x4076, 4
+ goto_if 1, EventScript_1710F2
+ specialvar VAR_RESULT, sub_806E25C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_1710FC
+ compare_var_to_value VAR_0x4076, 3
+ goto_if 1, EventScript_171134
+ loadword 0, gUnknown_81A1321
+ callstd 4
+ closemessage
+ applymovement 3, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+EventScript_170F35:: @ 8170F35
+ loadword 0, gUnknown_81A1EBD
+ callstd 4
+ random 3
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_170F6D
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_170F84
+ setvar VAR_0x8004, 13
+ setvar VAR_0x8005, 5
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_81A2076
+ callstd 4
+ release
+ end
+
+EventScript_170F6D:: @ 8170F6D
+ setvar VAR_0x8004, 13
+ setvar VAR_0x8005, 3
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_81A1EF3
+ callstd 4
+ release
+ end
+
+EventScript_170F84:: @ 8170F84
+ setvar VAR_0x8004, 13
+ setvar VAR_0x8005, 4
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_81A1F7C
+ callstd 4
+ release
+ end
+
+EventScript_170F9B:: @ 8170F9B
+ loadword 0, gUnknown_81A1E39
+ callstd 4
+ release
+ end
+
+EventScript_170FA5:: @ 8170FA5
+ textcolor 3
+ playfanfare MUS_ME_WAZA
+ message Text_1A1C2D
+ waitmessage
+ waitfanfare
+ call EventScript_1A6675
+ removeitem ITEM_SAPPHIRE, 1
+ loadword 0, gUnknown_81A1C4E
+ callstd 4
+ closemessage
+ applymovement 3, Movement_171142
+ waitmovement 0
+ playse SE_N
+ call EventScript_170C2C
+ special DrawWholeMapView
+ loadword 0, gUnknown_81A1D45
+ callstd 4
+ closemessage
+ delay 60
+ applymovement 3, Movement_17113E
+ waitmovement 0
+ delay 30
+ applymovement 3, Movement_17113E
+ waitmovement 0
+ delay 40
+ playse SE_PC_ON
+ call EventScript_170C36
+ special DrawWholeMapView
+ loadword 0, gUnknown_81A1D59
+ callstd 4
+ applymovement 3, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_81A1D7D
+ callstd 4
+ special sub_810B82C
+ setflag 2116
+ setflag FLAG_0x05C
+ setflag FLAG_0x08C
+ setvar VAR_0x4076, 6
+ special InitRoamer
+ release
+ end
+
+EventScript_17103A:: @ 817103A
+ loadword 0, gUnknown_81A1BB7
+ callstd 4
+ release
+ end
+
+EventScript_171044:: @ 8171044
+ loadword 0, gUnknown_81A197E
+ callstd 4
+ textcolor 3
+ playfanfare MUS_ME_WAZA
+ message Text_1A198D
+ waitmessage
+ waitfanfare
+ call EventScript_1A6675
+ closemessage
+ applymovement 3, Movement_171142
+ waitmovement 0
+ playse SE_N
+ call EventScript_170C22
+ special DrawWholeMapView
+ delay 30
+ applymovement 3, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_81A19AA
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_171099
+ goto EventScript_1710B2
+ end
+
+EventScript_171099:: @ 8171099
+ loadword 0, gUnknown_81A1A08
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_171099
+ goto EventScript_1710B2
+ end
+
+EventScript_1710B2:: @ 81710B2
+ loadword 0, gUnknown_81A1A3F
+ callstd 4
+ removeitem ITEM_RUBY, 1
+ removeitem ITEM_TRI_PASS, 1
+ setvar VAR_0x4076, 5
+ additem ITEM_RAINBOW_PASS, 1
+ setflag 2118
+ textcolor 3
+ playfanfare BGM_FRLG_ME_KEYITEM
+ message Text_1A1B56
+ waitmessage
+ waitfanfare
+ playfanfare BGM_FRLG_ME_KEYITEM
+ message Text_1A1B8E
+ waitmessage
+ waitfanfare
+ call EventScript_1A6675
+ goto EventScript_17103A
+ end
+
+EventScript_1710F2:: @ 81710F2
+ loadword 0, gUnknown_81A1896
+ callstd 4
+ release
+ end
+
+EventScript_1710FC:: @ 81710FC
+ loadword 0, gUnknown_81A169B
+ callstd 4
+ applymovement 3, Movement_1A75E9
+ waitmovement 0
+ loadword 0, gUnknown_81A1723
+ callstd 4
+ applymovement 3, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_81A17DF
+ callstd 4
+ setvar VAR_0x407F, 1
+ setvar VAR_0x4076, 4
+ release
+ end
+
+EventScript_171134:: @ 8171134
+ loadword 0, gUnknown_81A15EC
+ callstd 4
+ release
+ end
+
+Movement_17113E:: @ 817113E
+ step_26
+ step_1b
+ step_26
+ step_end
+
+Movement_171142:: @ 8171142
+ step_2e
+ step_26
+ step_1c
+ step_26
+ step_26
+ step_end
+
+OneIsland_PokemonCenter_1F_EventScript_171148:: @ 8171148
+ loadword 0, gUnknown_81A20D5
+ callstd 2
+ end
+
+OneIsland_PokemonCenter_1F_EventScript_171151:: @ 8171151
+ loadword 0, gUnknown_81A212D
+ callstd 2
+ end
+
+OneIsland_PokemonCenter_1F_EventScript_17115A:: @ 817115A
+ lock
+ faceplayer
+ checkflag 2116
+ goto_if 1, EventScript_17116F
+ loadword 0, gUnknown_81A218D
+ callstd 4
+ release
+ end
+
+EventScript_17116F:: @ 817116F
+ loadword 0, gUnknown_81A21D0
+ callstd 4
+ release
+ end
+
+OneIsland_PokemonCenter_1F_EventScript_171179:: @ 8171179
+ lockall
+ checkflag 2116
+ goto_if 1, EventScript_1711A0
+ checkflag FLAG_0x2A1
+ goto_if 1, EventScript_171196
+ loadword 0, gUnknown_81A223F
+ callstd 4
+ releaseall
+ end
+
+EventScript_171196:: @ 8171196
+ loadword 0, gUnknown_81A2286
+ callstd 4
+ releaseall
+ end
+
+EventScript_1711A0:: @ 81711A0
+ loadword 0, gUnknown_81A22CB
+ callstd 4
+ releaseall
+ end
+
+OneIsland_PokemonCenter_1F_EventScript_1711AA:: @ 81711AA
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_1711DA
+ end
+
+OneIsland_PokemonCenter_1F_EventScript_1711B6:: @ 81711B6
+ lockall
+ setvar VAR_0x4001, 2
+ goto EventScript_1711DA
+ end
+
+OneIsland_PokemonCenter_1F_EventScript_1711C2:: @ 81711C2
+ lockall
+ setvar VAR_0x4001, 3
+ goto EventScript_1711DA
+ end
+
+OneIsland_PokemonCenter_1F_EventScript_1711CE:: @ 81711CE
+ lockall
+ setvar VAR_0x4001, 4
+ goto EventScript_1711DA
+ end
+
+EventScript_1711DA:: @ 81711DA
+ textcolor 0
+ playse SE_PIN
+ applymovement 2, Movement_1A75DB
+ waitmovement 0
+ loadword 0, gUnknown_81A13B8
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_1712E4
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_1712EF
+ compare_var_to_value VAR_0x4001, 3
+ call_if 1, EventScript_1712FA
+ compare_var_to_value VAR_0x4001, 4
+ call_if 1, EventScript_171305
+ delay 10
+ loadword 0, gUnknown_81A13CB
+ callstd 4
+ applymovement 255, Movement_1A75ED
+ waitmovement 0
+ loadword 0, gUnknown_81A1431
+ callstd 4
+ applymovement 2, Movement_1A75ED
+ waitmovement 0
+ applymovement 3, Movement_1A75E9
+ waitmovement 0
+ loadword 0, gUnknown_81A1470
+ callstd 4
+ loadword 0, gUnknown_81A14E1
+ callstd 4
+ closemessage
+ applymovement 2, Movement_1A75E7
+ waitmovement 0
+ delay 10
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ delay 15
+ loadword 0, gUnknown_81A14FB
+ callstd 4
+ closemessage
+ applymovement 2, Movement_1A75ED
+ waitmovement 0
+ delay 15
+ applymovement 3, Movement_1A75E7
+ waitmovement 0
+ applymovement 255, Movement_1A75ED
+ waitmovement 0
+ loadword 0, gUnknown_81A1574
+ callstd 4
+ closemessage
+ delay 25
+ applymovement 255, Movement_171326
+ applymovement 2, Movement_17132D
+ waitmovement 0
+ playse SE_KAIDAN
+ setflag FLAG_0x072
+ setvar VAR_0x4076, 3
+ clearflag FLAG_0x062
+ setvar VAR_0x4071, 3
+ setvar VAR_0x8004, 1
+ setvar VAR_0x8006, 8
+ goto EventScript_1A90DA
+ end
+
+EventScript_1712E4:: @ 81712E4
+ applymovement 255, Movement_171310
+ waitmovement 0
+ return
+
+EventScript_1712EF:: @ 81712EF
+ applymovement 255, Movement_171314
+ waitmovement 0
+ return
+
+EventScript_1712FA:: @ 81712FA
+ applymovement 255, Movement_171316
+ waitmovement 0
+ return
+
+EventScript_171305:: @ 8171305
+ applymovement 255, Movement_17131A
+ waitmovement 0
+ return
+
+Movement_171310:: @ 8171310
+ step_13
+ step_10
+ step_30
+ step_end
+
+Movement_171314:: @ 8171314
+ step_13
+ step_end
+
+Movement_171316:: @ 8171316
+ step_13
+ step_11
+ step_30
+ step_end
+
+Movement_17131A:: @ 817131A
+ step_13
+ step_11
+ step_11
+ step_30
+ step_end
+
+Movement_17131F:: @ 817131F
+ step_1c
+ step_1c
+ step_1a
+ step_2f
+ step_end
+
+Movement_171324:: @ 8171324
+ step_29
+ step_end
+
+Movement_171326:: @ 8171326
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_end
+
+Movement_17132D:: @ 817132D
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_end
diff --git a/data/maps/OneIsland_PokemonCenter_2F/map.json b/data/maps/OneIsland_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..f9f5e5c81
--- /dev/null
+++ b/data/maps/OneIsland_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_ONE_ISLAND_POKEMON_CENTER_2F",
+ "name": "OneIsland_PokemonCenter_2F",
+ "layout": "LAYOUT_ONE_ISLAND_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_NETWORK_CENTER",
+ "region_map_section": "MAPSEC_ONE_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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "OneIsland_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_ONE_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/OneIsland_PokemonCenter_2F/scripts.inc b/data/maps/OneIsland_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..255a1693d
--- /dev/null
+++ b/data/maps/OneIsland_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+OneIsland_PokemonCenter_2F_MapScripts:: @ 8171334
+ map_script 2, OneIsland_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, OneIsland_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, OneIsland_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, OneIsland_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+OneIsland_PokemonCenter_2F_EventScript_171349:: @ 8171349
+ call EventScript_1BB4A3
+ end
+
+EventScript_17134F:: @ 817134F
+ call EventScript_1BB6AB
+ end
+
+EventScript_171355:: @ 8171355
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/OneIsland_TreasureBeach/map.json b/data/maps/OneIsland_TreasureBeach/map.json
new file mode 100644
index 000000000..4dbcb7a74
--- /dev/null
+++ b/data/maps/OneIsland_TreasureBeach/map.json
@@ -0,0 +1,125 @@
+{
+ "id": "MAP_ONE_ISLAND_TREASURE_BEACH",
+ "name": "OneIsland_TreasureBeach",
+ "layout": "LAYOUT_ONE_ISLAND_TREASURE_BEACH",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_TREASURE_BEACH",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ONE_ISLAND",
+ "offset": 0,
+ "direction": "up"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "44",
+ "x": 8,
+ "y": 11,
+ "elevation": 1,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "OneIsland_TreasureBeach_EventScript_1ABF27",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "19",
+ "x": 13,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "OneIsland_TreasureBeach_EventScript_16876C",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 8,
+ "y": 20,
+ "elevation": 3,
+ "item": "ITEM_STARDUST",
+ "flag": "103",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 13,
+ "y": 27,
+ "elevation": 3,
+ "item": "ITEM_STARDUST",
+ "flag": "104",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 11,
+ "y": 31,
+ "elevation": 3,
+ "item": "ITEM_PEARL",
+ "flag": "105",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 9,
+ "y": 34,
+ "elevation": 3,
+ "item": "ITEM_PEARL",
+ "flag": "106",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 15,
+ "y": 22,
+ "elevation": 3,
+ "item": "POCKET_KEY_ITEMS",
+ "flag": "107",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 16,
+ "y": 33,
+ "elevation": 3,
+ "item": "POCKET_KEY_ITEMS",
+ "flag": "108",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 15,
+ "y": 29,
+ "elevation": 3,
+ "item": "ITEM_STAR_PIECE",
+ "flag": "109",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 8,
+ "y": 27,
+ "elevation": 3,
+ "item": "ITEM_BIG_PEARL",
+ "flag": "110",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/OneIsland_TreasureBeach/scripts.inc b/data/maps/OneIsland_TreasureBeach/scripts.inc
new file mode 100644
index 000000000..7c6fb47cd
--- /dev/null
+++ b/data/maps/OneIsland_TreasureBeach/scripts.inc
@@ -0,0 +1,7 @@
+OneIsland_TreasureBeach_MapScripts:: @ 816876B
+ .byte 0
+
+OneIsland_TreasureBeach_EventScript_16876C:: @ 816876C
+ loadword 0, gUnknown_8189DCE
+ callstd 2
+ end
diff --git a/data/maps/PalletTown/map.json b/data/maps/PalletTown/map.json
new file mode 100644
index 000000000..076af662f
--- /dev/null
+++ b/data/maps/PalletTown/map.json
@@ -0,0 +1,156 @@
+{
+ "id": "MAP_PALLET_TOWN",
+ "name": "PalletTown",
+ "layout": "LAYOUT_PALLET_TOWN",
+ "music": "BGM_FRLG_PALLET_TOWN",
+ "region_map_section": "MAPSEC_PALLET_TOWN",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE1",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE21_NORTH",
+ "offset": 0,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "23",
+ "x": 3,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 4,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_EventScript_16575C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "27",
+ "x": 13,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 6,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_EventScript_16582F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "71",
+ "x": 10,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "44"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_PALLET_TOWN_PLAYERS_HOUSE_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 15,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_PALLET_TOWN_GARYS_HOUSE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 16,
+ "y": 13,
+ "elevation": 0,
+ "dest_map": "MAP_PALLET_TOWN_PROFESSOR_OAKS_LAB",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 1,
+ "elevation": 3,
+ "var": "VAR_0x4050",
+ "var_value": 0,
+ "script": "PalletTown_EventScript_1655ED"
+ },
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 1,
+ "elevation": 3,
+ "var": "VAR_0x4050",
+ "var_value": 0,
+ "script": "PalletTown_EventScript_1655F9"
+ },
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 2,
+ "elevation": 3,
+ "var": "VAR_0x4002",
+ "var_value": 1,
+ "script": "PalletTown_EventScript_16587B"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 16,
+ "y": 16,
+ "elevation": 0,
+ "script": "PalletTown_EventScript_165838"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 7,
+ "elevation": 0,
+ "script": "PalletTown_EventScript_165850"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 13,
+ "y": 7,
+ "elevation": 0,
+ "script": "PalletTown_EventScript_165859"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 11,
+ "elevation": 0,
+ "script": "PalletTown_EventScript_165862"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 14,
+ "elevation": 0,
+ "script": "PalletTown_EventScript_16586B"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PalletTown/scripts.inc b/data/maps/PalletTown/scripts.inc
new file mode 100644
index 000000000..d0d4fc155
--- /dev/null
+++ b/data/maps/PalletTown/scripts.inc
@@ -0,0 +1,527 @@
+PalletTown_MapScripts:: @ 816545A
+ map_script 3, PalletTown_MapScript1_165465
+ map_script 2, PalletTown_MapScript2_1654CE
+ .byte 0
+
+PalletTown_MapScript1_165465:: @ 8165465
+ setworldmapflag 2192
+ checkflag FLAG_0x291
+ call_if 1, EventScript_165488
+ compare_var_to_value VAR_0x4070, 0
+ call_if 1, EventScript_1654A8
+ compare_var_to_value VAR_0x4070, 1
+ call_if 1, EventScript_1654A2
+ end
+
+EventScript_165488:: @ 8165488
+ checkflag 2110
+ goto_if 0, EventScript_1A77A9
+ compare_var_to_value VAR_0x4070, 1
+ goto_if 4, EventScript_1A77A9
+ setvar VAR_0x4070, 1
+ return
+
+EventScript_1654A2:: @ 81654A2
+ setvar VAR_0x4070, 2
+ return
+
+EventScript_1654A8:: @ 81654A8
+ checkflag FLAG_0x291
+ goto_if 1, EventScript_1654BD
+ setobjectxyperm 1, 5, 15
+ setobjectmovementtype 1, 7
+ return
+
+EventScript_1654BD:: @ 81654BD
+ setobjectxyperm 1, 12, 2
+ setobjectmovementtype 1, 8
+ setvar VAR_0x4002, 1
+ return
+
+PalletTown_MapScript2_1654CE:: @ 81654CE
+ map_script_2 VAR_0x4050, 2, EventScript_1654D8
+ .2byte 0
+
+EventScript_1654D8:: @ 81654D8
+ lockall
+ textcolor 0
+ setobjectxyperm 3, 14, 14
+ setobjectmovementtype 3, 9
+ addobject 3
+ applymovement 3, Movement_1655AF
+ waitmovement 0
+ checkflag FLAG_SYS_RIBBON_GET
+ goto_if 0, EventScript_1655A1
+ loadword 0, gUnknown_817D8BF
+ callstd 4
+ setvar VAR_0x8004, 0
+ specialvar VAR_RESULT, sub_80CA3D8
+ copyvar VAR_0x8008, VAR_0x8005
+ copyvar VAR_0x8009, VAR_0x8006
+ getnumberstring 0, VAR_0x8008
+ getnumberstring 1, VAR_0x8009
+ compare_var_to_value VAR_0x8009, 60
+ goto_if 0, EventScript_165593
+ loadword 0, gUnknown_817D9AA
+ callstd 4
+ closemessage
+ playbgm BGM_FRLG_FOLLOW_ME, 0
+ applymovement 255, Movement_1655DD
+ applymovement 3, Movement_1655CC
+ waitmovement 0
+ opendoor 16, 13
+ waitdooranim
+ applymovement 3, Movement_16572E
+ applymovement 255, Movement_165758
+ waitmovement 0
+ closedoor 16, 13
+ waitdooranim
+ setvar VAR_0x4055, 7
+ setvar VAR_0x4050, 3
+ setflag FLAG_0x02C
+ warp MAP_PALLET_TOWN_PROFESSOR_OAKS_LAB, 255, 6, 12
+ waitstate
+ releaseall
+ end
+
+EventScript_16557E:: @ 816557E
+ closemessage
+ applymovement 3, Movement_1655BE
+ waitmovement 0
+ removeobject 3
+ setvar VAR_0x4050, 3
+ releaseall
+ end
+
+EventScript_165593:: @ 8165593
+ loadword 0, gUnknown_817D925
+ callstd 4
+ goto EventScript_16557E
+ end
+
+EventScript_1655A1:: @ 81655A1
+ loadword 0, gUnknown_817DA16
+ callstd 4
+ goto EventScript_16557E
+ end
+
+Movement_1655AF:: @ 81655AF
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_2e
+ step_end
+
+Movement_1655BE:: @ 81655BE
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_end
+
+Movement_1655CC:: @ 81655CC
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_2e
+ step_end
+
+Movement_1655DD:: @ 81655DD
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_end
+
+PalletTown_EventScript_1655ED:: @ 81655ED
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_165605
+ end
+
+PalletTown_EventScript_1655F9:: @ 81655F9
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_165605
+ end
+
+EventScript_165605:: @ 8165605
+ setvar VAR_0x8004, 0
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ textcolor 0
+ delay 30
+ playbgm BGM_FRLG_PROF_OAK, 0
+ message Text_17D72C
+ waitmessage
+ delay 85
+ closemessage
+ applymovement 255, Movement_1A75ED
+ waitmovement 0
+ playse SE_PIN
+ applymovement 255, Movement_1A75DB
+ waitmovement 0
+ delay 30
+ addobject 3
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_1656B8
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_1656C3
+ delay 30
+ loadword 0, gUnknown_817D74A
+ callstd 4
+ closemessage
+ delay 30
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_1656CE
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_1656E0
+ opendoor 16, 13
+ waitdooranim
+ applymovement 3, Movement_16572E
+ applymovement 255, Movement_165758
+ waitmovement 0
+ closedoor 16, 13
+ waitdooranim
+ setvar VAR_0x4055, 1
+ clearflag FLAG_0x02B
+ setvar VAR_0x4050, 1
+ setflag FLAG_0x02C
+ setflag FLAG_SPECIAL_FLAG_0x4001
+ warp MAP_PALLET_TOWN_PROFESSOR_OAKS_LAB, 255, 6, 12
+ waitstate
+ releaseall
+ end
+
+EventScript_1656B8:: @ 81656B8
+ applymovement 3, Movement_1656F2
+ waitmovement 0
+ return
+
+EventScript_1656C3:: @ 81656C3
+ applymovement 3, Movement_1656FB
+ waitmovement 0
+ return
+
+EventScript_1656CE:: @ 81656CE
+ applymovement 3, Movement_165705
+ applymovement 255, Movement_165731
+ waitmovement 0
+ return
+
+EventScript_1656E0:: @ 81656E0
+ applymovement 3, Movement_165719
+ applymovement 255, Movement_165744
+ waitmovement 0
+ return
+
+Movement_1656F2:: @ 81656F2
+ step_11
+ step_11
+ step_13
+ step_11
+ step_11
+ step_13
+ step_11
+ step_11
+ step_end
+
+Movement_1656FB:: @ 81656FB
+ step_13
+ step_11
+ step_11
+ step_13
+ step_11
+ step_11
+ step_13
+ step_11
+ step_11
+ step_end
+
+Movement_165705:: @ 8165705
+ step_10
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_2e
+ step_end
+
+Movement_165719:: @ 8165719
+ step_10
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_2e
+ step_end
+
+Movement_16572E:: @ 816572E
+ step_11
+ step_60
+ step_end
+
+Movement_165731:: @ 8165731
+ step_10
+ step_10
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_end
+
+Movement_165744:: @ 8165744
+ step_10
+ step_10
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_end
+
+Movement_165758:: @ 8165758
+ step_13
+ step_11
+ step_60
+ step_end
+
+PalletTown_EventScript_16575C:: @ 816575C
+ lock
+ compare_var_to_value VAR_0x4070, 2
+ goto_if 1, EventScript_1657ED
+ compare_var_to_value VAR_0x4070, 1
+ goto_if 1, EventScript_165815
+ compare_var_to_value VAR_0x4002, 1
+ goto_if 1, EventScript_1658C2
+ checkflag FLAG_0x002
+ goto_if 1, EventScript_165801
+ loadword 0, gUnknown_81B1C8B
+ callstd 4
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ playse SE_PIN
+ applymovement 1, Movement_1A75DB
+ waitmovement 0
+ applymovement 1, Movement_1A75DD
+ waitmovement 0
+ loadword 0, gUnknown_81B1C9F
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_1657D7
+ compare_var_to_value VAR_FACING, 4
+ call_if 5, EventScript_1657E2
+ moveobjectoffscreen 1
+ setflag FLAG_0x002
+ release
+ end
+
+EventScript_1657D7:: @ 81657D7
+ applymovement 1, Movement_165829
+ waitmovement 0
+ return
+
+EventScript_1657E2:: @ 81657E2
+ applymovement 1, Movement_16582C
+ waitmovement 0
+ return
+
+EventScript_1657ED:: @ 81657ED
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_817D7C8
+ callstd 4
+ release
+ end
+
+EventScript_165801:: @ 8165801
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_81B1CAF
+ callstd 4
+ release
+ end
+
+EventScript_165815:: @ 8165815
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_81B1CEC
+ callstd 4
+ release
+ end
+
+Movement_165829:: @ 8165829
+ step_13
+ step_2f
+ step_end
+
+Movement_16582C:: @ 816582C
+ step_12
+ step_30
+ step_end
+
+PalletTown_EventScript_16582F:: @ 816582F
+ loadword 0, gUnknown_817D80D
+ callstd 2
+ end
+
+PalletTown_EventScript_165838:: @ 8165838
+ lockall
+ setvar VAR_0x8004, 0
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_817D866
+ callstd 4
+ releaseall
+ end
+
+PalletTown_EventScript_165850:: @ 8165850
+ loadword 0, gUnknown_817D87F
+ callstd 3
+ end
+
+PalletTown_EventScript_165859:: @ 8165859
+ loadword 0, gUnknown_817D88A
+ callstd 3
+ end
+
+PalletTown_EventScript_165862:: @ 8165862
+ loadword 0, gUnknown_817D895
+ callstd 3
+ end
+
+PalletTown_EventScript_16586B:: @ 816586B
+ lockall
+ loadword 0, gUnknown_81B1CC1
+ callstd 4
+ setvar VAR_0x4070, 1
+ releaseall
+ end
+
+PalletTown_EventScript_16587B:: @ 816587B
+ lockall
+ applymovement 1, Movement_1A75EB
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ call EventScript_165894
+ releaseall
+ end
+
+EventScript_165894:: @ 8165894
+ textcolor 1
+ loadword 0, gUnknown_81B1D0B
+ callstd 4
+ closemessage
+ delay 20
+ textcolor 3
+ setflag 2110
+ setvar VAR_0x4070, 1
+ setvar VAR_0x4002, 0
+ special sub_80699E0
+ special sub_80699BC
+ signmsg
+ loadword 0, gUnknown_81B1D51
+ callstd 4
+ normalmsg
+ return
+
+EventScript_1658C2:: @ 81658C2
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ call EventScript_165894
+ release
+ end
diff --git a/data/maps/PalletTown_GarysHouse/map.json b/data/maps/PalletTown_GarysHouse/map.json
new file mode 100644
index 000000000..71b380a90
--- /dev/null
+++ b/data/maps/PalletTown_GarysHouse/map.json
@@ -0,0 +1,90 @@
+{
+ "id": "MAP_PALLET_TOWN_GARYS_HOUSE",
+ "name": "PalletTown_GarysHouse",
+ "layout": "LAYOUT_PALLET_TOWN_GARYS_HOUSE",
+ "music": "BGM_FRLG_PALLET_TOWN",
+ "region_map_section": "MAPSEC_PALLET_TOWN",
+ "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": "76",
+ "x": 10,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 3,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_GarysHouse_EventScript_168D56",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "93",
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_GarysHouse_EventScript_168F63",
+ "flag": "57"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_PALLET_TOWN",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_PALLET_TOWN",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 3,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_PALLET_TOWN",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 1,
+ "elevation": 0,
+ "script": "PalletTown_GarysHouse_EventScript_168F6C"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 1,
+ "elevation": 0,
+ "script": "PalletTown_GarysHouse_EventScript_168F6C"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "script": "PalletTown_GarysHouse_EventScript_168F75"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PalletTown_GarysHouse/scripts.inc b/data/maps/PalletTown_GarysHouse/scripts.inc
new file mode 100644
index 000000000..668990b4a
--- /dev/null
+++ b/data/maps/PalletTown_GarysHouse/scripts.inc
@@ -0,0 +1,217 @@
+PalletTown_GarysHouse_MapScripts:: @ 8168D27
+ map_script 3, PalletTown_GarysHouse_MapScript1_168D2D
+ .byte 0
+
+PalletTown_GarysHouse_MapScript1_168D2D:: @ 8168D2D
+ compare_var_to_value VAR_0x4058, 2
+ call_if 0, EventScript_168D44
+ compare_var_to_value VAR_0x4058, 2
+ call_if 4, EventScript_168D50
+ end
+
+EventScript_168D44:: @ 8168D44
+ setobjectmovementtype 1, 10
+ setobjectxyperm 1, 5, 4
+ return
+
+EventScript_168D50:: @ 8168D50
+ setvar VAR_0x4001, 1
+ return
+
+PalletTown_GarysHouse_EventScript_168D56:: @ 8168D56
+ lock
+ faceplayer
+ setvar VAR_0x8004, 1
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ checkflag 2092
+ goto_if 1, EventScript_168DB9
+ compare_var_to_value VAR_0x4001, 1
+ goto_if 1, EventScript_168EEC
+ compare_var_to_value VAR_0x4058, 2
+ goto_if 1, EventScript_168F59
+ compare_var_to_value VAR_0x4058, 1
+ goto_if 1, EventScript_168EF6
+ compare_var_to_value VAR_0x4055, 1
+ goto_if 4, EventScript_168DAF
+ loadword 0, gUnknown_818D58C
+ callstd 4
+ closemessage
+ applymovement 1, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+EventScript_168DAF:: @ 8168DAF
+ loadword 0, gUnknown_818D5C4
+ callstd 4
+ release
+ end
+
+EventScript_168DB9:: @ 8168DB9
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ compare_var_to_value VAR_MIRAGE_RND_L, 500
+ goto_if 0, EventScript_168E46
+ loadword 0, gUnknown_818D7D3
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_168E3C
+ loadword 0, gUnknown_818D8B2
+ callstd 4
+ special sub_80BF8FC
+ waitstate
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_168E3C
+ specialvar VAR_RESULT, sub_80CAD54
+ compare_var_to_value VAR_RESULT, 412
+ goto_if 1, EventScript_168E32
+ loadword 0, gUnknown_818D8CC
+ callstd 4
+ closemessage
+ fadescreen 1
+ playfanfare MUS_ME_ASA
+ waitfanfare
+ special sub_80CC948
+ fadescreen 0
+ special TV_CopyNicknameToStringVar1AndEnsureTerminated
+ loadword 0, gUnknown_818D8FE
+ callstd 4
+ release
+ end
+
+EventScript_168E32:: @ 8168E32
+ loadword 0, gUnknown_818D97B
+ callstd 4
+ release
+ end
+
+EventScript_168E3C:: @ 8168E3C
+ loadword 0, gUnknown_818D875
+ callstd 4
+ release
+ end
+
+EventScript_168E46:: @ 8168E46
+ loadword 0, gUnknown_818D9A5
+ callstd 4
+ specialvar VAR_RESULT, sub_80CA76C
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_168EA6
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_168EB0
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_168EBA
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_168EC4
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_168ECE
+ compare_var_to_value VAR_0x8000, 5
+ goto_if 1, EventScript_168ED8
+ compare_var_to_value VAR_0x8000, 6
+ goto_if 1, EventScript_168EE2
+ end
+
+EventScript_168EA6:: @ 8168EA6
+ loadword 0, gUnknown_818DBDD
+ callstd 4
+ release
+ end
+
+EventScript_168EB0:: @ 8168EB0
+ loadword 0, gUnknown_818DB88
+ callstd 4
+ release
+ end
+
+EventScript_168EBA:: @ 8168EBA
+ loadword 0, gUnknown_818DB2E
+ callstd 4
+ release
+ end
+
+EventScript_168EC4:: @ 8168EC4
+ loadword 0, gUnknown_818DAF3
+ callstd 4
+ release
+ end
+
+EventScript_168ECE:: @ 8168ECE
+ loadword 0, gUnknown_818DABE
+ callstd 4
+ release
+ end
+
+EventScript_168ED8:: @ 8168ED8
+ loadword 0, gUnknown_818DA73
+ callstd 4
+ release
+ end
+
+EventScript_168EE2:: @ 8168EE2
+ loadword 0, gUnknown_818DA16
+ callstd 4
+ release
+ end
+
+EventScript_168EEC:: @ 8168EEC
+ loadword 0, gUnknown_818D701
+ callstd 4
+ release
+ end
+
+EventScript_168EF6:: @ 8168EF6
+ loadword 0, gUnknown_818D60A
+ callstd 4
+ closemessage
+ checkitemspace ITEM_TOWN_MAP, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_168F4F
+ applymovement 1, Movement_1A75EB
+ waitmovement 0
+ removeobject 2
+ setvar VAR_0x4058, 2
+ delay 15
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ delay 12
+ additem ITEM_TOWN_MAP, 1
+ loadword 0, gUnknown_818D661
+ setorcopyvar VAR_0x8000, 361
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ release
+ end
+
+EventScript_168F4F:: @ 8168F4F
+ loadword 0, gUnknown_818D684
+ callstd 4
+ release
+ end
+
+EventScript_168F59:: @ 8168F59
+ loadword 0, gUnknown_818D6AF
+ callstd 4
+ release
+ end
+
+PalletTown_GarysHouse_EventScript_168F63:: @ 8168F63
+ loadword 0, gUnknown_818D763
+ callstd 2
+ end
+
+PalletTown_GarysHouse_EventScript_168F6C:: @ 8168F6C
+ loadword 0, gUnknown_818D7A1
+ callstd 3
+ end
+
+PalletTown_GarysHouse_EventScript_168F75:: @ 8168F75
+ loadword 0, gUnknown_818DC47
+ callstd 3
+ end
diff --git a/data/maps/PalletTown_PlayersHouse_1F/map.json b/data/maps/PalletTown_PlayersHouse_1F/map.json
new file mode 100644
index 000000000..a573f0526
--- /dev/null
+++ b/data/maps/PalletTown_PlayersHouse_1F/map.json
@@ -0,0 +1,70 @@
+{
+ "id": "MAP_PALLET_TOWN_PLAYERS_HOUSE_1F",
+ "name": "PalletTown_PlayersHouse_1F",
+ "layout": "LAYOUT_PALLET_TOWN_PLAYERS_HOUSE_1F",
+ "music": "BGM_FRLG_PALLET_TOWN",
+ "region_map_section": "MAPSEC_PALLET_TOWN",
+ "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": "88",
+ "x": 8,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_PlayersHouse_1F_EventScript_168C09",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_PALLET_TOWN",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_PALLET_TOWN",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_PALLET_TOWN_PLAYERS_HOUSE_2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 3,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_PALLET_TOWN",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 1,
+ "elevation": 0,
+ "script": "PalletTown_PlayersHouse_1F_EventScript_168C62"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PalletTown_PlayersHouse_1F/scripts.inc b/data/maps/PalletTown_PlayersHouse_1F/scripts.inc
new file mode 100644
index 000000000..c0a266344
--- /dev/null
+++ b/data/maps/PalletTown_PlayersHouse_1F/scripts.inc
@@ -0,0 +1,66 @@
+PalletTown_PlayersHouse_1F_MapScripts:: @ 8168C08
+ .byte 0
+
+PalletTown_PlayersHouse_1F_EventScript_168C09:: @ 8168C09
+ lock
+ faceplayer
+ checkflag FLAG_0x258
+ goto_if 1, EventScript_168C4A
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_168C38
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_168C41
+ closemessage
+ applymovement 1, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+EventScript_168C38:: @ 8168C38
+ loadword 0, gUnknown_818D2F0
+ callstd 4
+ return
+
+EventScript_168C41:: @ 8168C41
+ loadword 0, gUnknown_818D360
+ callstd 4
+ return
+
+EventScript_168C4A:: @ 8168C4A
+ loadword 0, gUnknown_818D3D1
+ callstd 4
+ closemessage
+ call EventScript_1A6C26
+ loadword 0, gUnknown_818D3F8
+ callstd 4
+ release
+ end
+
+PalletTown_PlayersHouse_1F_EventScript_168C62:: @ 8168C62
+ lockall
+ compare_var_to_value VAR_FACING, 2
+ goto_if 1, EventScript_168C78
+ loadword 0, gUnknown_818D4F9
+ callstd 4
+ releaseall
+ end
+
+EventScript_168C78:: @ 8168C78
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_168C91
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_168C9A
+ releaseall
+ end
+
+EventScript_168C91:: @ 8168C91
+ loadword 0, gUnknown_818D43E
+ callstd 4
+ return
+
+EventScript_168C9A:: @ 8168C9A
+ loadword 0, gUnknown_818D492
+ callstd 4
+ return
diff --git a/data/maps/PalletTown_PlayersHouse_2F/map.json b/data/maps/PalletTown_PlayersHouse_2F/map.json
new file mode 100644
index 000000000..c9c62b631
--- /dev/null
+++ b/data/maps/PalletTown_PlayersHouse_2F/map.json
@@ -0,0 +1,49 @@
+{
+ "id": "MAP_PALLET_TOWN_PLAYERS_HOUSE_2F",
+ "name": "PalletTown_PlayersHouse_2F",
+ "layout": "LAYOUT_PALLET_TOWN_PLAYERS_HOUSE_2F",
+ "music": "BGM_FRLG_PALLET_TOWN",
+ "region_map_section": "MAPSEC_PALLET_TOWN",
+ "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": [],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_PALLET_TOWN_PLAYERS_HOUSE_1F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 5,
+ "elevation": 3,
+ "script": "PalletTown_PlayersHouse_2F_EventScript_168CD2"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 1,
+ "y": 1,
+ "elevation": 0,
+ "script": "PalletTown_PlayersHouse_2F_EventScript_168CE4"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 1,
+ "elevation": 0,
+ "script": "PalletTown_PlayersHouse_2F_EventScript_168CDB"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PalletTown_PlayersHouse_2F/scripts.inc b/data/maps/PalletTown_PlayersHouse_2F/scripts.inc
new file mode 100644
index 000000000..b9e02166c
--- /dev/null
+++ b/data/maps/PalletTown_PlayersHouse_2F/scripts.inc
@@ -0,0 +1,59 @@
+PalletTown_PlayersHouse_2F_MapScripts:: @ 8168CA3
+ map_script 3, PalletTown_PlayersHouse_2F_MapScript1_168CAE
+ map_script 4, PalletTown_PlayersHouse_2F_MapScript2_168CBE
+ .byte 0
+
+PalletTown_PlayersHouse_2F_MapScript1_168CAE:: @ 8168CAE
+ compare_var_to_value VAR_0x4056, 0
+ call_if 1, EventScript_168CBA
+ end
+
+EventScript_168CBA:: @ 8168CBA
+ setrespawn 1
+ return
+
+PalletTown_PlayersHouse_2F_MapScript2_168CBE:: @ 8168CBE
+ map_script_2 VAR_0x4056, 0, EventScript_168CC8
+ .2byte 0
+
+EventScript_168CC8:: @ 8168CC8
+ turnobject 255, 2
+ setvar VAR_0x4056, 1
+ end
+
+PalletTown_PlayersHouse_2F_EventScript_168CD2:: @ 8168CD2
+ loadword 0, gUnknown_818D50B
+ callstd 3
+ end
+
+PalletTown_PlayersHouse_2F_EventScript_168CDB:: @ 8168CDB
+ loadword 0, gUnknown_818D53B
+ callstd 3
+ end
+
+gUnknown_8168CE4:: @ 8168CE4
+PalletTown_PlayersHouse_2F_EventScript_168CE4:: @ 8168CE4
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lockall
+ setvar VAR_0x8004, 32
+ special sub_812B220
+ setvar VAR_0x8004, 1
+ special sub_80CA86C
+ playse SE_PC_ON
+ loadword 0, gUnknown_81A5420
+ callstd 4
+ special sub_80EB6AC
+ waitstate
+ special sub_812B35C
+ releaseall
+ end
+
+gUnknown_8168D17:: @ 8168D17
+ setvar VAR_0x8004, 1
+ playse SE_PC_OFF
+ special sub_80CA9A8
+ special sub_812B35C
+ releaseall
+ end
diff --git a/data/maps/PalletTown_ProfessorOaksLab/map.json b/data/maps/PalletTown_ProfessorOaksLab/map.json
new file mode 100644
index 000000000..f974f7ac0
--- /dev/null
+++ b/data/maps/PalletTown_ProfessorOaksLab/map.json
@@ -0,0 +1,256 @@
+{
+ "id": "MAP_PALLET_TOWN_PROFESSOR_OAKS_LAB",
+ "name": "PalletTown_ProfessorOaksLab",
+ "layout": "LAYOUT_PALLET_TOWN_PROFESSOR_OAKS_LAB",
+ "music": "BGM_FRLG_OAK_LAB",
+ "region_map_section": "MAPSEC_PALLET_TOWN",
+ "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": "55",
+ "x": 3,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169DEE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "48",
+ "x": 2,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 0,
+ "movement_range_y": 4,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169E46",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169E1A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "71",
+ "x": 6,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169595",
+ "flag": "43"
+ },
+ {
+ "graphics_id": "92",
+ "x": 8,
+ "y": 4,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169BAB",
+ "flag": "40"
+ },
+ {
+ "graphics_id": "92",
+ "x": 9,
+ "y": 4,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169D78",
+ "flag": "41"
+ },
+ {
+ "graphics_id": "92",
+ "x": 10,
+ "y": 4,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169DAE",
+ "flag": "42"
+ },
+ {
+ "graphics_id": "72",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_16955F",
+ "flag": "45"
+ },
+ {
+ "graphics_id": "94",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169E5F",
+ "flag": "58"
+ },
+ {
+ "graphics_id": "94",
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169E5F",
+ "flag": "58"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_PALLET_TOWN",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 7,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_PALLET_TOWN",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 5,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_PALLET_TOWN",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4055",
+ "var_value": 2,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_1692C3"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4055",
+ "var_value": 2,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_1692C3"
+ },
+ {
+ "type": "trigger",
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4055",
+ "var_value": 2,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_1692C3"
+ },
+ {
+ "type": "trigger",
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4055",
+ "var_value": 3,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_1692E7"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4055",
+ "var_value": 3,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_1692F3"
+ },
+ {
+ "type": "trigger",
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4055",
+ "var_value": 3,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_1692FF"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169E68"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169E68"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 1,
+ "elevation": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169E71"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 1,
+ "elevation": 0,
+ "script": "PalletTown_ProfessorOaksLab_EventScript_169E7A"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PalletTown_ProfessorOaksLab/scripts.inc b/data/maps/PalletTown_ProfessorOaksLab/scripts.inc
new file mode 100644
index 000000000..2308b32d2
--- /dev/null
+++ b/data/maps/PalletTown_ProfessorOaksLab/scripts.inc
@@ -0,0 +1,1474 @@
+PalletTown_ProfessorOaksLab_MapScripts:: @ 8168F7E
+ map_script 3, PalletTown_ProfessorOaksLab_MapScript1_168F8E
+ map_script 4, PalletTown_ProfessorOaksLab_MapScript2_168FE1
+ map_script 2, PalletTown_ProfessorOaksLab_MapScript3_168FF0
+ .byte 0
+
+PalletTown_ProfessorOaksLab_MapScript1_168F8E:: @ 8168F8E
+ setflag FLAG_0x2CF
+ compare_var_to_value VAR_0x4055, 1
+ call_if 1, EventScript_168FC6
+ compare_var_to_value VAR_0x4055, 7
+ call_if 1, EventScript_168FD5
+ compare_var_to_value VAR_0x4055, 8
+ call_if 1, EventScript_168FC0
+ checkflag FLAG_0x247
+ call_if 1, EventScript_168FBC
+ end
+
+EventScript_168FBC:: @ 8168FBC
+ setflag FLAG_0x24F
+ return
+
+EventScript_168FC0:: @ 8168FC0
+ setvar VAR_0x4055, 9
+ return
+
+EventScript_168FC6:: @ 8168FC6
+ setobjectxyperm 4, 6, 11
+ setobjectmovementtype 4, 7
+ savebgm BGM_FRLG_PROF_OAK
+ return
+
+EventScript_168FD5:: @ 8168FD5
+ setobjectxyperm 4, 6, 11
+ setobjectmovementtype 4, 7
+ return
+
+PalletTown_ProfessorOaksLab_MapScript2_168FE1:: @ 8168FE1
+ map_script_2 VAR_0x4055, 1, EventScript_168FEB
+ .2byte 0
+
+EventScript_168FEB:: @ 8168FEB
+ turnobject 255, 2
+ end
+
+PalletTown_ProfessorOaksLab_MapScript3_168FF0:: @ 8168FF0
+ map_script_2 VAR_0x4055, 1, EventScript_16923E
+ map_script_2 VAR_0x4055, 7, EventScript_169002
+ .2byte 0
+
+EventScript_169002:: @ 8169002
+ lockall
+ setvar VAR_FACING, 2
+ textcolor 0
+ applymovement 4, Movement_1692B0
+ waitmovement 0
+ removeobject 4
+ setobjectxyperm 4, 6, 3
+ setobjectmovementtype 4, 8
+ clearflag FLAG_0x02B
+ applymovement 255, Movement_1692B7
+ waitmovement 0
+ goto EventScript_169035
+ end
+
+EventScript_169035:: @ 8169035
+ loadword 0, gUnknown_818EE60
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_169174
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_1691BB
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_169194
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_169194
+ loadword 0, gUnknown_818EF59
+ callstd 4
+ fadedefaultbgm
+ loadword 0, gUnknown_818F004
+ callstd 4
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_1691DB
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_1691E6
+ textcolor 3
+ loadword 0, gUnknown_818F062
+ callstd 4
+ closemessage
+ call EventScript_1A6675
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_1691F1
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_1691FC
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_169215
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_169227
+ addobject 9
+ addobject 10
+ delay 30
+ loadword 0, gUnknown_818F085
+ callstd 4
+ closemessage
+ removeobject 9
+ removeobject 10
+ delay 30
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_169845
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_169850
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_16985B
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_16986D
+ textcolor 3
+ playfanfare BGM_FRLG_ME_KEYITEM
+ message Text_18F0E8
+ waitmessage
+ waitfanfare
+ call EventScript_1A6675
+ special EnableNationalPokedex
+ loadword 0, gUnknown_818F103
+ callstd 4
+ loadword 0, gUnknown_818F1DB
+ callstd 4
+ closemessage
+ playbgm BGM_FRLG_RIVAL_POSTBATTLE, 0
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_169B69
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_169B7B
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_169B7B
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_169B7B
+ removeobject 8
+ fadedefaultbgm
+ setvar VAR_0x4055, 8
+ releaseall
+ end
+
+EventScript_169174:: @ 8169174
+ setobjectxyperm 8, 5, 10
+ addobject 8
+ playbgm BGM_FRLG_RIVAL, 0
+ applymovement 255, Movement_169B94
+ applymovement 8, Movement_169B9D
+ waitmovement 0
+ return
+
+EventScript_169194:: @ 8169194
+ setobjectxyperm 8, 6, 10
+ addobject 8
+ playbgm BGM_FRLG_RIVAL, 0
+ applymovement 4, Movement_1A75ED
+ applymovement 255, Movement_169B91
+ applymovement 8, Movement_169B9D
+ waitmovement 0
+ return
+
+EventScript_1691BB:: @ 81691BB
+ setobjectxyperm 8, 6, 10
+ addobject 8
+ playbgm BGM_FRLG_RIVAL, 0
+ applymovement 4, Movement_1A75ED
+ applymovement 8, Movement_169B9D
+ waitmovement 0
+ return
+
+EventScript_1691DB:: @ 81691DB
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ return
+
+EventScript_1691E6:: @ 81691E6
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ return
+
+EventScript_1691F1:: @ 81691F1
+ applymovement 4, Movement_169232
+ waitmovement 0
+ return
+
+EventScript_1691FC:: @ 81691FC
+ applymovement 4, Movement_169238
+ applymovement 255, Movement_1698C7
+ applymovement 8, Movement_1698C7
+ waitmovement 4
+ return
+
+EventScript_169215:: @ 8169215
+ applymovement 4, Movement_169232
+ applymovement 255, Movement_1698C3
+ waitmovement 4
+ return
+
+EventScript_169227:: @ 8169227
+ applymovement 4, Movement_169232
+ waitmovement 0
+ return
+
+Movement_169232:: @ 8169232
+ step_11
+ step_12
+ step_2e
+ step_1c
+ step_1a
+ step_end
+
+Movement_169238:: @ 8169238
+ step_12
+ step_12
+ step_11
+ step_1c
+ step_1a
+ step_end
+
+EventScript_16923E:: @ 816923E
+ lockall
+ textcolor 0
+ applymovement 4, Movement_1692B0
+ waitmovement 0
+ removeobject 4
+ setobjectxyperm 4, 6, 3
+ setobjectmovementtype 4, 8
+ clearflag FLAG_0x02B
+ applymovement 255, Movement_1692B7
+ waitmovement 0
+ applymovement 8, Movement_1A75E9
+ waitmovement 0
+ clearflag FLAG_SPECIAL_FLAG_0x4001
+ savebgm SE_STOP
+ fadedefaultbgm
+ loadword 0, gUnknown_818DC94
+ callstd 4
+ closemessage
+ delay 60
+ loadword 0, gUnknown_818DFBC
+ callstd 4
+ closemessage
+ delay 30
+ applymovement 8, Movement_1692C0
+ waitmovement 0
+ loadword 0, gUnknown_818DCB9
+ callstd 4
+ loadword 0, gUnknown_818E0EA
+ callstd 4
+ setvar VAR_0x4055, 2
+ releaseall
+ end
+
+Movement_1692B0:: @ 81692B0
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_1692B7:: @ 81692B7
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_1692C0:: @ 81692C0
+ step_26
+ step_26
+ step_end
+
+PalletTown_ProfessorOaksLab_EventScript_1692C3:: @ 81692C3
+ lockall
+ textcolor 0
+ applymovement 4, Movement_1A75F1
+ waitmovement 0
+ loadword 0, gUnknown_818E177
+ callstd 4
+ closemessage
+ applymovement 255, Movement_1692E5
+ waitmovement 0
+ releaseall
+ end
+
+Movement_1692E5:: @ 81692E5
+ step_11
+ step_end
+
+PalletTown_ProfessorOaksLab_EventScript_1692E7:: @ 81692E7
+ lockall
+ setvar VAR_0x4002, 1
+ goto EventScript_16930B
+ end
+
+PalletTown_ProfessorOaksLab_EventScript_1692F3:: @ 81692F3
+ lockall
+ setvar VAR_0x4002, 2
+ goto EventScript_16930B
+ end
+
+PalletTown_ProfessorOaksLab_EventScript_1692FF:: @ 81692FF
+ lockall
+ setvar VAR_0x4002, 3
+ goto EventScript_16930B
+ end
+
+EventScript_16930B:: @ 816930B
+ textcolor 0
+ playbgm BGM_FRLG_RIVAL, 0
+ applymovement 8, Movement_1A75ED
+ waitmovement 0
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ loadword 0, gUnknown_818DDA4
+ callstd 4
+ closemessage
+ applymovement 4, Movement_1A75F1
+ waitmovement 0
+ compare_var_to_value VAR_STARTER_MON, 0
+ goto_if 1, EventScript_1693D2
+ compare_var_to_value VAR_STARTER_MON, 1
+ goto_if 1, EventScript_16944D
+ compare_var_to_value VAR_STARTER_MON, 2
+ goto_if 1, EventScript_16935A
+ end
+
+EventScript_16935A:: @ 816935A
+ compare_var_to_value VAR_0x4002, 1
+ goto_if 1, EventScript_16937C
+ compare_var_to_value VAR_0x4002, 2
+ goto_if 1, EventScript_16938C
+ compare_var_to_value VAR_0x4002, 3
+ goto_if 1, EventScript_16939C
+ end
+
+EventScript_16937C:: @ 816937C
+ applymovement 8, Movement_1693C0
+ waitmovement 0
+ goto EventScript_1693AC
+ end
+
+EventScript_16938C:: @ 816938C
+ applymovement 8, Movement_1693C7
+ waitmovement 0
+ goto EventScript_1693AC
+ end
+
+EventScript_16939C:: @ 816939C
+ applymovement 8, Movement_1693CD
+ waitmovement 0
+ goto EventScript_1693AC
+ end
+
+EventScript_1693AC:: @ 81693AC
+ trainerbattle 9, 326, 3, Text_18DDEA, Text_18DE1A
+ goto EventScript_1694C2
+ end
+
+Movement_1693C0:: @ 81693C0
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_end
+
+Movement_1693C7:: @ 81693C7
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_end
+
+Movement_1693CD:: @ 81693CD
+ step_12
+ step_12
+ step_10
+ step_10
+ step_end
+
+EventScript_1693D2:: @ 81693D2
+ compare_var_to_value VAR_0x4002, 1
+ goto_if 1, EventScript_1693F4
+ compare_var_to_value VAR_0x4002, 2
+ goto_if 1, EventScript_169404
+ compare_var_to_value VAR_0x4002, 3
+ goto_if 1, EventScript_169414
+ end
+
+EventScript_1693F4:: @ 81693F4
+ applymovement 8, Movement_169438
+ waitmovement 0
+ goto EventScript_169424
+ end
+
+EventScript_169404:: @ 8169404
+ applymovement 8, Movement_169440
+ waitmovement 0
+ goto EventScript_169424
+ end
+
+EventScript_169414:: @ 8169414
+ applymovement 8, Movement_169447
+ waitmovement 0
+ goto EventScript_169424
+ end
+
+EventScript_169424:: @ 8169424
+ trainerbattle 9, 328, 3, Text_18DDEA, Text_18DE1A
+ goto EventScript_1694C2
+ end
+
+Movement_169438:: @ 8169438
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_end
+
+Movement_169440:: @ 8169440
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_end
+
+Movement_169447:: @ 8169447
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_end
+
+EventScript_16944D:: @ 816944D
+ compare_var_to_value VAR_0x4002, 1
+ goto_if 1, EventScript_16946F
+ compare_var_to_value VAR_0x4002, 2
+ goto_if 1, EventScript_16947F
+ compare_var_to_value VAR_0x4002, 3
+ goto_if 1, EventScript_16948F
+ end
+
+EventScript_16946F:: @ 816946F
+ applymovement 8, Movement_1694B3
+ waitmovement 0
+ goto EventScript_16949F
+ end
+
+EventScript_16947F:: @ 816947F
+ applymovement 8, Movement_1694B9
+ waitmovement 0
+ goto EventScript_16949F
+ end
+
+EventScript_16948F:: @ 816948F
+ applymovement 8, Movement_1694BE
+ waitmovement 0
+ goto EventScript_16949F
+ end
+
+EventScript_16949F:: @ 816949F
+ trainerbattle 9, 327, 3, Text_18DDEA, Text_18DE1A
+ goto EventScript_1694C2
+ end
+
+Movement_1694B3:: @ 81694B3
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_end
+
+Movement_1694B9:: @ 81694B9
+ step_12
+ step_12
+ step_10
+ step_10
+ step_end
+
+Movement_1694BE:: @ 81694BE
+ step_12
+ step_10
+ step_10
+ step_end
+
+EventScript_1694C2:: @ 81694C2
+ special sp000_heal_pokemon
+ loadword 0, gUnknown_818DE38
+ callstd 4
+ closemessage
+ playbgm BGM_FRLG_RIVAL_POSTBATTLE, 0
+ compare_var_to_value VAR_0x4002, 1
+ call_if 1, EventScript_169504
+ compare_var_to_value VAR_0x4002, 2
+ call_if 1, EventScript_169516
+ compare_var_to_value VAR_0x4002, 3
+ call_if 1, EventScript_169528
+ removeobject 8
+ playse SE_KAIDAN
+ fadedefaultbgm
+ setvar VAR_0x4055, 4
+ setflag FLAG_0x258
+ releaseall
+ end
+
+EventScript_169504:: @ 8169504
+ applymovement 8, Movement_16953A
+ applymovement 255, Movement_169553
+ waitmovement 8
+ return
+
+EventScript_169516:: @ 8169516
+ applymovement 8, Movement_16954A
+ applymovement 255, Movement_169553
+ waitmovement 8
+ return
+
+EventScript_169528:: @ 8169528
+ applymovement 8, Movement_169542
+ applymovement 255, Movement_169559
+ waitmovement 8
+ return
+
+Movement_16953A:: @ 816953A
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_1b
+ step_end
+
+Movement_169542:: @ 8169542
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_1b
+ step_end
+
+Movement_16954A:: @ 816954A
+ step_13
+ step_10
+ step_10
+ step_10
+ step_12
+ step_10
+ step_10
+ step_1b
+ step_end
+
+Movement_169553:: @ 8169553
+ step_1c
+ step_1b
+ step_30
+ step_1c
+ step_2d
+ step_end
+
+Movement_169559:: @ 8169559
+ step_1c
+ step_1b
+ step_2f
+ step_1c
+ step_2d
+ step_end
+
+PalletTown_ProfessorOaksLab_EventScript_16955F:: @ 816955F
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4055, 3
+ goto_if 1, EventScript_16958B
+ compare_var_to_value VAR_0x4055, 2
+ goto_if 1, EventScript_169581
+ loadword 0, gUnknown_818DC67
+ callstd 4
+ release
+ end
+
+EventScript_169581:: @ 8169581
+ loadword 0, gUnknown_818DCE2
+ callstd 4
+ release
+ end
+
+EventScript_16958B:: @ 816958B
+ loadword 0, gUnknown_818DD75
+ callstd 4
+ release
+ end
+
+PalletTown_ProfessorOaksLab_EventScript_169595:: @ 8169595
+ lock
+ faceplayer
+ checkflag FLAG_0x002
+ goto_if 1, EventScript_169600
+ compare_var_to_value VAR_0x4055, 9
+ goto_if 1, EventScript_169903
+ compare_var_to_value VAR_0x4055, 8
+ goto_if 1, EventScript_169A6E
+ checkflag 2092
+ goto_if 1, EventScript_1699CE
+ compare_var_to_value VAR_0x4052, 1
+ goto_if 1, EventScript_169903
+ compare_var_to_value VAR_0x4055, 6
+ goto_if 1, EventScript_1698D6
+ compare_var_to_value VAR_0x4057, 1
+ goto_if 4, EventScript_16961E
+ compare_var_to_value VAR_0x4055, 4
+ goto_if 1, EventScript_169614
+ compare_var_to_value VAR_0x4055, 3
+ goto_if 1, EventScript_16960A
+ loadword 0, gUnknown_818E116
+ callstd 4
+ release
+ end
+
+EventScript_169600:: @ 8169600
+ loadword 0, gUnknown_81A72AD
+ callstd 4
+ release
+ end
+
+EventScript_16960A:: @ 816960A
+ loadword 0, gUnknown_818E330
+ callstd 4
+ release
+ end
+
+EventScript_169614:: @ 8169614
+ loadword 0, gUnknown_818E3AD
+ callstd 4
+ release
+ end
+
+EventScript_16961E:: @ 816961E
+ loadword 0, gUnknown_818E405
+ callstd 4
+ textcolor 3
+ playfanfare MUS_ME_WAZA
+ message Text_18E4AF
+ waitmessage
+ waitfanfare
+ call EventScript_1A6675
+ removeitem ITEM_OAKS_PARCEL, 1
+ loadword 0, gUnknown_818E4CA
+ callstd 4
+ playbgm BGM_FRLG_RIVAL, 0
+ loadword 0, gUnknown_818DE8D
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_169A82
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_169AC1
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_169A9E
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_169A9E
+ fadedefaultbgm
+ loadword 0, gUnknown_818DE99
+ callstd 4
+ closemessage
+ delay 30
+ playse SE_PIN
+ applymovement 4, Movement_1A75DB
+ waitmovement 0
+ applymovement 4, Movement_1A75DD
+ waitmovement 0
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_169ADD
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_169B14
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_169AF5
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_169B86
+ loadword 0, gUnknown_818E508
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_169882
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_16988D
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_1698A6
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_1698B8
+ loadword 0, gUnknown_818E536
+ callstd 4
+ closemessage
+ delay 40
+ loadword 0, gUnknown_818E5C5
+ callstd 4
+ closemessage
+ applymovement 4, Movement_1A75E9
+ waitmovement 0
+ removeobject 9
+ delay 10
+ removeobject 10
+ delay 25
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_169845
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_169850
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_16985B
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_16986D
+ delay 10
+ textcolor 3
+ playfanfare BGM_FRLG_ME_KEYITEM
+ message Text_18E5EA
+ waitmessage
+ waitfanfare
+ call EventScript_1A6675
+ setflag 2089
+ special sub_810B810
+ setvar VAR_0x407C, 1
+ loadword 0, gUnknown_818E612
+ callstd 4
+ additem ITEM_POKE_BALL, 5
+ loadword 0, gUnknown_818E6B3
+ setorcopyvar VAR_0x8000, 4
+ setorcopyvar VAR_0x8001, 5
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ loadword 0, gUnknown_818E6D0
+ callstd 4
+ setvar VAR_0x8004, 0
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_818E784
+ callstd 4
+ loadword 0, gUnknown_818DEC8
+ callstd 4
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_169B33
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_169B45
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_169B57
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_169B57
+ loadword 0, gUnknown_818DEF3
+ callstd 4
+ closemessage
+ playbgm BGM_FRLG_RIVAL_POSTBATTLE, 0
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_169B69
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_169B7B
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_169B7B
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_169B7B
+ removeobject 8
+ fadedefaultbgm
+ setvar VAR_0x4055, 6
+ setvar VAR_0x4057, 2
+ setvar VAR_0x4051, 1
+ setvar VAR_0x4058, 1
+ setvar VAR_0x4054, 1
+ release
+ end
+
+EventScript_169845:: @ 8169845
+ applymovement 4, Movement_16987C
+ waitmovement 0
+ return
+
+EventScript_169850:: @ 8169850
+ applymovement 4, Movement_16987F
+ waitmovement 0
+ return
+
+EventScript_16985B:: @ 816985B
+ applymovement 4, Movement_16987C
+ applymovement 255, Movement_169878
+ waitmovement 0
+ return
+
+EventScript_16986D:: @ 816986D
+ applymovement 4, Movement_16987C
+ waitmovement 0
+ return
+
+Movement_169878:: @ 8169878
+ step_1c
+ step_1b
+ step_30
+ step_end
+
+Movement_16987C:: @ 816987C
+ step_13
+ step_10
+ step_end
+
+Movement_16987F:: @ 816987F
+ step_10
+ step_13
+ step_end
+
+EventScript_169882:: @ 8169882
+ applymovement 4, Movement_1698CB
+ waitmovement 0
+ return
+
+EventScript_16988D:: @ 816988D
+ applymovement 4, Movement_1698D0
+ applymovement 255, Movement_1698C7
+ applymovement 8, Movement_1698C7
+ waitmovement 4
+ return
+
+EventScript_1698A6:: @ 81698A6
+ applymovement 4, Movement_1698CB
+ applymovement 255, Movement_1698C3
+ waitmovement 4
+ return
+
+EventScript_1698B8:: @ 81698B8
+ applymovement 4, Movement_1698CB
+ waitmovement 0
+ return
+
+Movement_1698C3:: @ 81698C3
+ step_1c
+ step_1b
+ step_2e
+ step_end
+
+Movement_1698C7:: @ 81698C7
+ step_1c
+ step_1b
+ step_2f
+ step_end
+
+Movement_1698CB:: @ 81698CB
+ step_11
+ step_12
+ step_1c
+ step_2d
+ step_end
+
+Movement_1698D0:: @ 81698D0
+ step_12
+ step_12
+ step_11
+ step_1c
+ step_30
+ step_end
+
+EventScript_1698D6:: @ 81698D6
+ setvar VAR_0x8004, 0
+ specialvar VAR_RESULT, sub_80CA3D8
+ copyvar VAR_0x8008, VAR_0x8005
+ copyvar VAR_0x8009, VAR_0x8006
+ getnumberstring 0, VAR_0x8008
+ getnumberstring 1, VAR_0x8009
+ compare_var_to_value VAR_0x8009, 1
+ goto_if 1, EventScript_1699FB
+ goto EventScript_169903
+ end
+
+EventScript_169903:: @ 8169903
+ call EventScript_1A737B
+ checkflag FLAG_0x2F4
+ goto_if 1, EventScript_169913
+ release
+ end
+
+EventScript_169913:: @ 8169913
+ closemessage
+ delay 40
+ message Text_1A7291
+ waitmessage
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_169964
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_16996F
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_16997A
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_169985
+ applymovement 4, Movement_1A75E1
+ waitmovement 0
+ closemessage
+ delay 70
+ loadword 0, gUnknown_81A72AD
+ callstd 4
+ setflag FLAG_0x002
+ release
+ end
+
+EventScript_169964:: @ 8169964
+ applymovement 4, Movement_169990
+ waitmovement 0
+ return
+
+EventScript_16996F:: @ 816996F
+ applymovement 4, Movement_169997
+ waitmovement 0
+ return
+
+EventScript_16997A:: @ 816997A
+ applymovement 4, Movement_16999E
+ waitmovement 0
+ return
+
+EventScript_169985:: @ 8169985
+ applymovement 4, Movement_1699A5
+ waitmovement 0
+ return
+
+Movement_169990:: @ 8169990
+ step_25
+ step_29
+ step_25
+ step_25
+ step_29
+ step_25
+ step_end
+
+Movement_169997:: @ 8169997
+ step_26
+ step_2a
+ step_26
+ step_26
+ step_2a
+ step_26
+ step_end
+
+Movement_16999E:: @ 816999E
+ step_27
+ step_2b
+ step_27
+ step_27
+ step_2b
+ step_27
+ step_end
+
+Movement_1699A5:: @ 81699A5
+ step_28
+ step_2c
+ step_28
+ step_28
+ step_2c
+ step_28
+ step_end
+
+Movement_1699AC:: @ 81699AC
+ step_12
+ step_2d
+ step_1b
+ step_30
+ step_1b
+ step_2e
+ step_1b
+ step_2f
+ step_1b
+ step_2d
+ step_1b
+ step_13
+ step_13
+ step_2e
+ step_1b
+ step_2f
+ step_1b
+ step_2d
+ step_1b
+ step_30
+ step_1b
+ step_2e
+ step_1b
+ step_12
+ step_end
+
+Movement_1699C5:
+ step_11
+ step_10
+ step_10
+ step_25
+ step_11
+ step_1c
+ step_1c
+ step_1c
+ step_end
+
+EventScript_1699CE:: @ 81699CE
+ call EventScript_1A737B
+ closemessage
+ compare_var_to_value VAR_0x8009, 60
+ goto_if 0, EventScript_1699F9
+ checkflag FLAG_SYS_RIBBON_GET
+ goto_if 0, EventScript_1699F9
+ delay 30
+ loadword 0, gUnknown_818EDF5
+ callstd 4
+ goto EventScript_169035
+ end
+
+EventScript_1699F9:: @ 81699F9
+ release
+ end
+
+EventScript_1699FB:: @ 81699FB
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ checkflag FLAG_0x24F
+ goto_if 1, EventScript_169A6E
+ checkflag FLAG_0x247
+ goto_if 1, EventScript_169A78
+ checkitem ITEM_POKE_BALL, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_169A34
+ goto EventScript_169A6E
+ end
+
+EventScript_169A34:: @ 8169A34
+ compare_var_to_value VAR_0x4054, 2
+ goto_if 4, EventScript_169A45
+ goto EventScript_169A6E
+ end
+
+EventScript_169A45:: @ 8169A45
+ loadword 0, gUnknown_818E89C
+ callstd 4
+ additem ITEM_POKE_BALL, 5
+ loadword 0, gUnknown_818E6B3
+ setorcopyvar VAR_0x8000, 4
+ setorcopyvar VAR_0x8001, 5
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x247
+ release
+ end
+
+EventScript_169A6E:: @ 8169A6E
+ loadword 0, gUnknown_818E871
+ callstd 4
+ release
+ end
+
+EventScript_169A78:: @ 8169A78
+ loadword 0, gUnknown_818E98E
+ callstd 4
+ release
+ end
+
+EventScript_169A82:: @ 8169A82
+ setobjectxyperm 8, 5, 10
+ addobject 8
+ applymovement 255, Movement_169B94
+ applymovement 8, Movement_169B9D
+ waitmovement 0
+ return
+
+EventScript_169A9E:: @ 8169A9E
+ setobjectxyperm 8, 6, 10
+ addobject 8
+ applymovement 4, Movement_1A75ED
+ applymovement 255, Movement_169B91
+ applymovement 8, Movement_169B9D
+ waitmovement 0
+ return
+
+EventScript_169AC1:: @ 8169AC1
+ setobjectxyperm 8, 6, 10
+ addobject 8
+ applymovement 4, Movement_1A75ED
+ applymovement 8, Movement_169B9D
+ waitmovement 0
+ return
+
+EventScript_169ADD:: @ 8169ADD
+ applymovement 4, Movement_1A75E1
+ waitmovement 0
+ delay 15
+ applymovement 4, Movement_1A75ED
+ waitmovement 0
+ return
+
+EventScript_169AF5:: @ 8169AF5
+ applymovement 4, Movement_1A75E1
+ waitmovement 0
+ delay 15
+ applymovement 255, Movement_1A75E7
+ applymovement 4, Movement_1A75ED
+ waitmovement 0
+ return
+
+EventScript_169B14:: @ 8169B14
+ applymovement 4, Movement_1A75E1
+ waitmovement 0
+ delay 15
+ applymovement 255, Movement_1A75EB
+ applymovement 4, Movement_1A75ED
+ waitmovement 0
+ return
+
+EventScript_169B33:: @ 8169B33
+ applymovement 8, Movement_1A75E1
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ return
+
+EventScript_169B45:: @ 8169B45
+ applymovement 8, Movement_1A75E9
+ applymovement 255, Movement_1A75ED
+ waitmovement 0
+ return
+
+EventScript_169B57:: @ 8169B57
+ applymovement 8, Movement_1A75E1
+ applymovement 255, Movement_1A75ED
+ waitmovement 0
+ return
+
+EventScript_169B69:: @ 8169B69
+ applymovement 255, Movement_169B91
+ applymovement 8, Movement_169BA4
+ waitmovement 0
+ return
+
+EventScript_169B7B:: @ 8169B7B
+ applymovement 8, Movement_169BA4
+ waitmovement 0
+ return
+
+EventScript_169B86:: @ 8169B86
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ return
+
+Movement_169B91:: @ 8169B91
+ step_1a
+ step_2d
+ step_end
+
+Movement_169B94:: @ 8169B94
+ step_2d
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1b
+ step_2f
+ step_end
+
+Movement_169B9D:: @ 8169B9D
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_169BA4:: @ 8169BA4
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+PalletTown_ProfessorOaksLab_EventScript_169BAB:: @ 8169BAB
+ lock
+ faceplayer
+ setvar VAR_0x4001, 0
+ setvar VAR_0x4002, 1
+ setvar VAR_0x4003, 4
+ setvar VAR_0x4004, 7
+ compare_var_to_value VAR_0x4055, 3
+ goto_if 4, EventScript_169DE4
+ compare_var_to_value VAR_0x4055, 2
+ goto_if 1, EventScript_169BE1
+ loadword 0, gUnknown_818EA19
+ callstd 4
+ release
+ end
+
+EventScript_169BE1:: @ 8169BE1
+ applymovement 4, Movement_1A75EF
+ waitmovement 0
+ drawmonpic 16386, 10, 3
+ textcolor 0
+ compare_var_to_value VAR_0x4001, 0
+ goto_if 1, EventScript_169C14
+ compare_var_to_value VAR_0x4001, 1
+ goto_if 1, EventScript_169C33
+ compare_var_to_value VAR_0x4001, 2
+ goto_if 1, EventScript_169C52
+ end
+
+EventScript_169C14:: @ 8169C14
+ loadword 0, gUnknown_818E272
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_169C74
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_169C71
+ end
+
+EventScript_169C33:: @ 8169C33
+ loadword 0, gUnknown_818E207
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_169C74
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_169C71
+ end
+
+EventScript_169C52:: @ 8169C52
+ loadword 0, gUnknown_818E194
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_169C74
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_169C71
+ end
+
+EventScript_169C71:: @ 8169C71
+ erasemonpic
+ release
+ end
+
+EventScript_169C74:: @ 8169C74
+ erasemonpic
+ removeobject VAR_LAST_TALKED
+ loadword 0, gUnknown_818E2E5
+ callstd 4
+ call EventScript_1A6675
+ setflag 2088
+ setflag FLAG_0x291
+ givemon 16386, 5, ITEM_NONE, 0, 0, 0
+ copyvar VAR_STARTER_MON, VAR_0x4001
+ getspeciesname 0, 16386
+ message Text_18E30D
+ waitmessage
+ playfanfare BGM_FRLG_ME_KEYITEM
+ waitfanfare
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_169CCC
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_169CDC
+ end
+
+EventScript_169CCC:: @ 8169CCC
+ setvar VAR_0x8004, 0
+ call EventScript_1A74EB
+ goto EventScript_169CDC
+ end
+
+EventScript_169CDC:: @ 8169CDC
+ closemessage
+ compare_var_to_value VAR_0x4001, 0
+ goto_if 1, EventScript_169CFF
+ compare_var_to_value VAR_0x4001, 1
+ goto_if 1, EventScript_169D1F
+ compare_var_to_value VAR_0x4001, 2
+ goto_if 1, EventScript_169D0F
+ end
+
+EventScript_169CFF:: @ 8169CFF
+ applymovement 8, Movement_169D62
+ waitmovement 0
+ goto EventScript_169D2F
+ end
+
+EventScript_169D0F:: @ 8169D0F
+ applymovement 8, Movement_169D6B
+ waitmovement 0
+ goto EventScript_169D2F
+ end
+
+EventScript_169D1F:: @ 8169D1F
+ applymovement 8, Movement_169D72
+ waitmovement 0
+ goto EventScript_169D2F
+ end
+
+EventScript_169D2F:: @ 8169D2F
+ textcolor 0
+ loadword 0, gUnknown_818DD34
+ callstd 4
+ removeobject VAR_0x4004
+ textcolor 3
+ getspeciesname 0, 16387
+ message Text_18DD52
+ waitmessage
+ playfanfare BGM_FRLG_ME_KEYITEM
+ waitfanfare
+ setvar VAR_0x4055, 3
+ checkflag 2110
+ call_if 1, EventScript_169D5C
+ release
+ end
+
+EventScript_169D5C:: @ 8169D5C
+ setvar VAR_0x4070, 1
+ return
+
+Movement_169D62:: @ 8169D62
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_11
+ step_end
+
+Movement_169D6B:: @ 8169D6B
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_2e
+ step_end
+
+Movement_169D72:: @ 8169D72
+ step_10
+ step_13
+ step_13
+ step_13
+ step_2e
+ step_end
+
+PalletTown_ProfessorOaksLab_EventScript_169D78:: @ 8169D78
+ lock
+ faceplayer
+ setvar VAR_0x4001, 1
+ setvar VAR_0x4002, 7
+ setvar VAR_0x4003, 1
+ setvar VAR_0x4004, 5
+ compare_var_to_value VAR_0x4055, 3
+ goto_if 4, EventScript_169DE4
+ compare_var_to_value VAR_0x4055, 2
+ goto_if 1, EventScript_169BE1
+ loadword 0, gUnknown_818EA19
+ callstd 4
+ release
+ end
+
+PalletTown_ProfessorOaksLab_EventScript_169DAE:: @ 8169DAE
+ lock
+ faceplayer
+ setvar VAR_0x4001, 2
+ setvar VAR_0x4002, 4
+ setvar VAR_0x4003, 7
+ setvar VAR_0x4004, 6
+ compare_var_to_value VAR_0x4055, 3
+ goto_if 4, EventScript_169DE4
+ compare_var_to_value VAR_0x4055, 2
+ goto_if 1, EventScript_169BE1
+ loadword 0, gUnknown_818EA19
+ callstd 4
+ release
+ end
+
+EventScript_169DE4:: @ 8169DE4
+ loadword 0, gUnknown_818EA45
+ callstd 4
+ release
+ end
+
+PalletTown_ProfessorOaksLab_EventScript_169DEE:: @ 8169DEE
+ lock
+ faceplayer
+ checkflag 2092
+ goto_if 1, EventScript_169E03
+ loadword 0, gUnknown_818EBE6
+ callstd 4
+ release
+ end
+
+EventScript_169E03:: @ 8169E03
+ setvar VAR_0x8004, 0
+ setvar VAR_0x8005, 5
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_818ED15
+ callstd 4
+ release
+ end
+
+PalletTown_ProfessorOaksLab_EventScript_169E1A:: @ 8169E1A
+ lock
+ faceplayer
+ checkflag 2092
+ goto_if 1, EventScript_169E2F
+ loadword 0, gUnknown_818EBE6
+ callstd 4
+ release
+ end
+
+EventScript_169E2F:: @ 8169E2F
+ setvar VAR_0x8004, 1
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_818EC0B
+ callstd 4
+ release
+ end
+
+PalletTown_ProfessorOaksLab_EventScript_169E46:: @ 8169E46
+ lock
+ faceplayer
+ setvar VAR_0x8004, 0
+ setvar VAR_0x8005, 2
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_818ED81
+ callstd 4
+ release
+ end
+
+PalletTown_ProfessorOaksLab_EventScript_169E5F:: @ 8169E5F
+ loadword 0, gUnknown_818E9E5
+ callstd 2
+ end
+
+PalletTown_ProfessorOaksLab_EventScript_169E68:: @ 8169E68
+ loadword 0, gUnknown_818EAF4
+ callstd 3
+ end
+
+PalletTown_ProfessorOaksLab_EventScript_169E71:: @ 8169E71
+ loadword 0, gUnknown_818EA66
+ callstd 3
+ end
+
+PalletTown_ProfessorOaksLab_EventScript_169E7A:: @ 8169E7A
+ lockall
+ compare_var_to_value VAR_0x4055, 6
+ goto_if 4, EventScript_169E90
+ loadword 0, gUnknown_818EA84
+ callstd 4
+ releaseall
+ end
+
+EventScript_169E90:: @ 8169E90
+ loadword 0, gUnknown_818EAB6
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/PewterCity/map.json b/data/maps/PewterCity/map.json
new file mode 100644
index 000000000..4ac852cdc
--- /dev/null
+++ b/data/maps/PewterCity/map.json
@@ -0,0 +1,281 @@
+{
+ "id": "MAP_PEWTER_CITY",
+ "name": "PewterCity",
+ "layout": "LAYOUT_PEWTER_CITY",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_PEWTER_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE2",
+ "offset": 12,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_ROUTE3",
+ "offset": 10,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "22",
+ "x": 6,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_EventScript_166075",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 33,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_EventScript_16607E",
+ "flag": "80"
+ },
+ {
+ "graphics_id": "27",
+ "x": 21,
+ "y": 28,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_EventScript_16622B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 33,
+ "y": 27,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_EventScript_166244",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "19",
+ "x": 42,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_EventScript_165B9D",
+ "flag": "46"
+ },
+ {
+ "graphics_id": "95",
+ "x": 30,
+ "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": "PewterCity_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "55",
+ "x": 46,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_EventScript_1662A9",
+ "flag": "146"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 17,
+ "y": 6,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY_MUSEUM_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 25,
+ "y": 4,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY_MUSEUM_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 15,
+ "y": 16,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY_GYM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 28,
+ "y": 18,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY_MART",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 33,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY_HOUSE1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 17,
+ "y": 25,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 9,
+ "y": 30,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY_HOUSE2",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 42,
+ "y": 21,
+ "elevation": 3,
+ "var": "VAR_0x406C",
+ "var_value": 0,
+ "script": "PewterCity_EventScript_165D8E"
+ },
+ {
+ "type": "trigger",
+ "x": 42,
+ "y": 22,
+ "elevation": 3,
+ "var": "VAR_0x406C",
+ "var_value": 0,
+ "script": "PewterCity_EventScript_165D9A"
+ },
+ {
+ "type": "trigger",
+ "x": 42,
+ "y": 23,
+ "elevation": 3,
+ "var": "VAR_0x406C",
+ "var_value": 0,
+ "script": "PewterCity_EventScript_165DA6"
+ },
+ {
+ "type": "trigger",
+ "x": 43,
+ "y": 23,
+ "elevation": 3,
+ "var": "VAR_0x406C",
+ "var_value": 0,
+ "script": "PewterCity_EventScript_165DB2"
+ },
+ {
+ "type": "trigger",
+ "x": 46,
+ "y": 21,
+ "elevation": 3,
+ "var": "VAR_0x406C",
+ "var_value": 1,
+ "script": "PewterCity_EventScript_1662B7"
+ },
+ {
+ "type": "trigger",
+ "x": 46,
+ "y": 22,
+ "elevation": 3,
+ "var": "VAR_0x406C",
+ "var_value": 1,
+ "script": "PewterCity_EventScript_1662C4"
+ },
+ {
+ "type": "trigger",
+ "x": 46,
+ "y": 23,
+ "elevation": 3,
+ "var": "VAR_0x406C",
+ "var_value": 1,
+ "script": "PewterCity_EventScript_1662D1"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 19,
+ "y": 7,
+ "elevation": 0,
+ "script": "PewterCity_EventScript_16627F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 39,
+ "y": 19,
+ "elevation": 0,
+ "script": "PewterCity_EventScript_166276"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 16,
+ "elevation": 0,
+ "script": "PewterCity_EventScript_166288"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 20,
+ "y": 30,
+ "elevation": 0,
+ "script": "PewterCity_EventScript_16626D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 31,
+ "y": 25,
+ "elevation": 0,
+ "script": "PewterCity_EventScript_1662A0"
+ },
+ {
+ "type": "hidden_item",
+ "x": 6,
+ "y": 3,
+ "elevation": 3,
+ "item": "POCKET_TM_CASE",
+ "flag": "112",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PewterCity/scripts.inc b/data/maps/PewterCity/scripts.inc
new file mode 100644
index 000000000..25d32949d
--- /dev/null
+++ b/data/maps/PewterCity/scripts.inc
@@ -0,0 +1,1614 @@
+PewterCity_MapScripts:: @ 8165B8E
+ map_script 3, PewterCity_MapScript1_165B94
+ .byte 0
+
+PewterCity_MapScript1_165B94:: @ 8165B94
+ setworldmapflag 2194
+ setvar VAR_0x4061, 0
+ end
+
+PewterCity_EventScript_165B9D:: @ 8165B9D
+ lock
+ faceplayer
+ loadword 0, gUnknown_817E67E
+ callstd 4
+ closemessage
+ playbgm BGM_FRLG_FOLLOW_ME, 0
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_165BD3
+ loadword 0, gUnknown_817E6C7
+ callstd 4
+ closemessage
+ applymovement 5, Movement_165D83
+ waitmovement 0
+ fadedefaultbgm
+ removeobject 5
+ clearflag FLAG_0x02E
+ release
+ end
+
+EventScript_165BD3:: @ 8165BD3
+ applymovement 255, Movement_165C3C
+ applymovement 5, Movement_165CDE
+ waitmovement 0
+ applymovement 255, Movement_165C41
+ applymovement 5, Movement_165CE3
+ waitmovement 0
+ return
+
+EventScript_165BF6:: @ 8165BF6
+ applymovement 255, Movement_165C80
+ applymovement 5, Movement_165D23
+ waitmovement 0
+ applymovement 255, Movement_165C82
+ applymovement 5, Movement_165D25
+ waitmovement 0
+ return
+
+EventScript_165C19:: @ 8165C19
+ applymovement 255, Movement_165CAF
+ applymovement 5, Movement_165D53
+ waitmovement 0
+ applymovement 255, Movement_165CB1
+ applymovement 5, Movement_165D55
+ waitmovement 0
+ return
+
+Movement_165C3C:: @ 8165C3C
+ step_1c
+ step_1c
+ step_1a
+ step_2d
+ step_end
+
+Movement_165C41:: @ 8165C41
+ step_10
+ step_12
+ step_12
+ step_12
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_end
+
+Movement_165C80:: @ 8165C80
+ step_1c
+ step_end
+
+Movement_165C82:: @ 8165C82
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_end
+
+Movement_165CAF:: @ 8165CAF
+ step_1c
+ step_end
+
+Movement_165CB1:: @ 8165CB1
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_end
+
+Movement_165CDE:: @ 8165CDE
+ step_10
+ step_12
+ step_2e
+ step_26
+ step_end
+
+Movement_165CE3:: @ 8165CE3
+ step_12
+ step_12
+ step_12
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_2f
+ step_end
+
+Movement_165D23:: @ 8165D23
+ step_28
+ step_end
+
+Movement_165D25:: @ 8165D25
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_2f
+ step_end
+
+Movement_165D53:: @ 8165D53
+ step_25
+ step_end
+
+Movement_165D55:: @ 8165D55
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_2f
+ step_end
+
+Movement_165D83:: @ 8165D83
+ step_10
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_end
+
+PewterCity_EventScript_165D8E:: @ 8165D8E
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_165DBE
+ end
+
+PewterCity_EventScript_165D9A:: @ 8165D9A
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_165DBE
+ end
+
+PewterCity_EventScript_165DA6:: @ 8165DA6
+ lockall
+ setvar VAR_0x4001, 2
+ goto EventScript_165DBE
+ end
+
+PewterCity_EventScript_165DB2:: @ 8165DB2
+ lockall
+ setvar VAR_0x4001, 3
+ goto EventScript_165DBE
+ end
+
+EventScript_165DBE:: @ 8165DBE
+ textcolor 0
+ loadword 0, gUnknown_817E67E
+ callstd 4
+ closemessage
+ playbgm BGM_FRLG_FOLLOW_ME, 0
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_165E0A
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_165E26
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_165E42
+ loadword 0, gUnknown_817E6C7
+ callstd 4
+ closemessage
+ applymovement 5, Movement_165D83
+ waitmovement 0
+ fadedefaultbgm
+ removeobject 5
+ clearflag FLAG_0x02E
+ releaseall
+ end
+
+EventScript_165E0A:: @ 8165E0A
+ applymovement 5, Movement_165F6C
+ waitmovement 0
+ applymovement 255, Movement_165E7A
+ applymovement 5, Movement_165F7F
+ waitmovement 0
+ return
+
+EventScript_165E26:: @ 8165E26
+ applymovement 5, Movement_165F71
+ waitmovement 0
+ applymovement 255, Movement_165EB9
+ applymovement 5, Movement_165FBF
+ waitmovement 0
+ return
+
+EventScript_165E42:: @ 8165E42
+ applymovement 5, Movement_165F74
+ waitmovement 0
+ applymovement 255, Movement_165EF9
+ applymovement 5, Movement_166000
+ waitmovement 0
+ return
+
+EventScript_165E5E:: @ 8165E5E
+ applymovement 5, Movement_165F78
+ waitmovement 0
+ applymovement 255, Movement_165F3A
+ applymovement 5, Movement_166042
+ waitmovement 0
+ return
+
+Movement_165E7A:: @ 8165E7A
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_end
+
+Movement_165EB9:: @ 8165EB9
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_end
+
+Movement_165EF9:: @ 8165EF9
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_end
+
+Movement_165F3A:: @ 8165F3A
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_end
+
+Movement_165F6C:: @ 8165F6C
+ step_12
+ step_10
+ step_30
+ step_28
+ step_end
+
+Movement_165F71:: @ 8165F71
+ step_10
+ step_25
+ step_end
+
+Movement_165F74:: @ 8165F74
+ step_10
+ step_10
+ step_25
+ step_end
+
+Movement_165F78:: @ 8165F78
+ step_10
+ step_10
+ step_13
+ step_10
+ step_13
+ step_28
+ step_end
+
+Movement_165F7F:: @ 8165F7F
+ step_12
+ step_12
+ step_12
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_2f
+ step_end
+
+Movement_165FBF:: @ 8165FBF
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_2f
+ step_end
+
+Movement_166000:: @ 8166000
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_2f
+ step_end
+
+Movement_166042:: @ 8166042
+ step_12
+ step_12
+ step_12
+ step_11
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_2f
+ step_end
+
+PewterCity_EventScript_166075:: @ 8166075
+ loadword 0, gUnknown_817E436
+ callstd 2
+ end
+
+PewterCity_EventScript_16607E:: @ 816607E
+ lock
+ faceplayer
+ loadword 0, gUnknown_817E53E
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_166136
+ loadword 0, gUnknown_817E589
+ callstd 4
+ closemessage
+ delay 10
+ playbgm BGM_FRLG_FOLLOW_ME, 0
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_1660EE
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_166100
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_166112
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_166124
+ loadword 0, gUnknown_817E5AC
+ callstd 4
+ closemessage
+ delay 10
+ applymovement 2, Movement_16621C
+ waitmovement 0
+ fadedefaultbgm
+ removeobject 2
+ clearflag FLAG_0x050
+ release
+ end
+
+EventScript_1660EE:: @ 81660EE
+ applymovement 2, Movement_16615C
+ applymovement 255, Movement_166140
+ waitmovement 0
+ return
+
+EventScript_166100:: @ 8166100
+ applymovement 2, Movement_166193
+ applymovement 255, Movement_166177
+ waitmovement 0
+ return
+
+EventScript_166112:: @ 8166112
+ applymovement 2, Movement_1661CA
+ applymovement 255, Movement_1661AE
+ waitmovement 0
+ return
+
+EventScript_166124:: @ 8166124
+ applymovement 2, Movement_166201
+ applymovement 255, Movement_1661E5
+ waitmovement 0
+ return
+
+EventScript_166136:: @ 8166136
+ loadword 0, gUnknown_817E55C
+ callstd 4
+ release
+ end
+
+Movement_166140:: @ 8166140
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_1b
+ step_2e
+ step_end
+
+Movement_16615C:: @ 816615C
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_2e
+ step_end
+
+Movement_166177:: @ 8166177
+ step_1c
+ step_1c
+ step_12
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_1b
+ step_2e
+ step_end
+
+Movement_166193:: @ 8166193
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_2e
+ step_end
+
+Movement_1661AE:: @ 81661AE
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_1b
+ step_2e
+ step_end
+
+Movement_1661CA:: @ 81661CA
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_2e
+ step_end
+
+Movement_1661E5:: @ 81661E5
+ step_13
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_1b
+ step_2e
+ step_end
+
+Movement_166201:: @ 8166201
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_2e
+ step_end
+
+Movement_16621C:: @ 816621C
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_13
+ step_end
+
+PewterCity_EventScript_16622B:: @ 816622B
+ lock
+ faceplayer
+ setvar VAR_0x8004, 2
+ setvar VAR_0x8005, 2
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_817E49F
+ callstd 4
+ release
+ end
+
+PewterCity_EventScript_166244:: @ 8166244
+ lock
+ faceplayer
+ loadword 0, gUnknown_817E602
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_166263
+ loadword 0, gUnknown_817E644
+ callstd 4
+ release
+ end
+
+EventScript_166263:: @ 8166263
+ loadword 0, gUnknown_817E626
+ callstd 4
+ release
+ end
+
+PewterCity_EventScript_16626D:: @ 816626D
+ loadword 0, gUnknown_817E6F6
+ callstd 3
+ end
+
+PewterCity_EventScript_166276:: @ 8166276
+ loadword 0, gUnknown_817E748
+ callstd 3
+ end
+
+PewterCity_EventScript_16627F:: @ 816627F
+ loadword 0, gUnknown_817E7C5
+ callstd 3
+ end
+
+PewterCity_EventScript_166288:: @ 8166288
+ lockall
+ setvar VAR_0x8004, 2
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_817E7DE
+ callstd 4
+ releaseall
+ end
+
+PewterCity_EventScript_1662A0:: @ 81662A0
+ loadword 0, gUnknown_817E824
+ callstd 3
+ end
+
+PewterCity_EventScript_1662A9:: @ 81662A9
+ lock
+ faceplayer
+ setvar VAR_0x4001, 0
+ call EventScript_1662DE
+ release
+ end
+
+PewterCity_EventScript_1662B7:: @ 81662B7
+ lockall
+ setvar VAR_0x4001, 1
+ call EventScript_1662DE
+ releaseall
+ end
+
+PewterCity_EventScript_1662C4:: @ 81662C4
+ lockall
+ setvar VAR_0x4001, 2
+ call EventScript_1662DE
+ releaseall
+ end
+
+PewterCity_EventScript_1662D1:: @ 81662D1
+ lockall
+ setvar VAR_0x4001, 3
+ call EventScript_1662DE
+ releaseall
+ end
+
+EventScript_1662DE:: @ 81662DE
+ textcolor 0
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_1663CA
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_1663CA
+ compare_var_to_value VAR_0x4001, 3
+ call_if 1, EventScript_1663CA
+ waitse
+ playse SE_PIN
+ applymovement 7, Movement_1A75DB
+ waitmovement 0
+ applymovement 7, Movement_1A75DD
+ waitmovement 0
+ loadword 0, gUnknown_817E902
+ callstd 4
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_1663D5
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_1663DA
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_1663E6
+ compare_var_to_value VAR_0x4001, 3
+ call_if 1, EventScript_1663FC
+ loadword 0, gUnknown_817E90C
+ callstd 4
+ textcolor 3
+ playfanfare BGM_FRLG_ME_KEYITEM
+ message Text_17E970
+ waitmessage
+ waitfanfare
+ loadword 0, gUnknown_817E99D
+ callstd 4
+ special sub_80699BC
+ signmsg
+ loadword 0, gUnknown_817E9C7
+ callstd 4
+ normalmsg
+ call EventScript_1A6675
+ loadword 0, gUnknown_817EA06
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_166412
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16641D
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_166428
+ compare_var_to_value VAR_0x4001, 3
+ call_if 1, EventScript_166433
+ delay 30
+ textcolor 3
+ loadword 0, gUnknown_817EA36
+ callstd 4
+ closemessage
+ removeobject 7
+ setflag 2095
+ setvar VAR_0x406C, 2
+ return
+
+EventScript_1663CA:: @ 81663CA
+ applymovement 7, Movement_1A75ED
+ waitmovement 0
+ return
+
+EventScript_1663D5:: @ 81663D5
+ closemessage
+ delay 20
+ return
+
+EventScript_1663DA:: @ 81663DA
+ closemessage
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ return
+
+EventScript_1663E6:: @ 81663E6
+ closemessage
+ applymovement 7, Movement_16643E
+ waitmovement 0
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ return
+
+EventScript_1663FC:: @ 81663FC
+ closemessage
+ applymovement 7, Movement_166441
+ waitmovement 0
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ return
+
+EventScript_166412:: @ 8166412
+ applymovement 7, Movement_166445
+ waitmovement 0
+ return
+
+EventScript_16641D:: @ 816641D
+ applymovement 7, Movement_166450
+ waitmovement 0
+ return
+
+EventScript_166428:: @ 8166428
+ applymovement 7, Movement_16645B
+ waitmovement 0
+ return
+
+EventScript_166433:: @ 8166433
+ applymovement 7, Movement_166465
+ waitmovement 0
+ return
+
+Movement_16643E:: @ 816643E
+ step_1a
+ step_10
+ step_end
+
+Movement_166441:: @ 8166441
+ step_1a
+ step_10
+ step_10
+ step_end
+
+Movement_166445:: @ 8166445
+ step_10
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_end
+
+Movement_166450:: @ 8166450
+ step_12
+ step_10
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_end
+
+Movement_16645B:: @ 816645B
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_end
+
+Movement_166465:: @ 8166465
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_end
+
+Movement_16646F:: @ 816646F
+ step_27
+ step_end
diff --git a/data/maps/PewterCity_Gym/map.json b/data/maps/PewterCity_Gym/map.json
new file mode 100644
index 000000000..81a12e91f
--- /dev/null
+++ b/data/maps/PewterCity_Gym/map.json
@@ -0,0 +1,96 @@
+{
+ "id": "MAP_PEWTER_CITY_GYM",
+ "name": "PewterCity_Gym",
+ "layout": "LAYOUT_PEWTER_CITY_GYM",
+ "music": "BGM_FRLG_GYM",
+ "region_map_section": "MAPSEC_PEWTER_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "80",
+ "x": 6,
+ "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": "PewterCity_Gym_EventScript_16A593",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 3,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "PewterCity_Gym_EventScript_16A63E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "91",
+ "x": 7,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Gym_EventScript_16A655",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 6,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 7,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 12,
+ "elevation": 0,
+ "script": "PewterCity_Gym_EventScript_16A6AF"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 12,
+ "elevation": 0,
+ "script": "PewterCity_Gym_EventScript_16A6AF"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PewterCity_Gym/scripts.inc b/data/maps/PewterCity_Gym/scripts.inc
new file mode 100644
index 000000000..0ba35e23a
--- /dev/null
+++ b/data/maps/PewterCity_Gym/scripts.inc
@@ -0,0 +1,110 @@
+PewterCity_Gym_MapScripts:: @ 816A592
+ .byte 0
+
+PewterCity_Gym_EventScript_16A593:: @ 816A593
+ setvar VAR_0x8004, 2
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ trainerbattle 1, 414, 0, Text_190CD4, Text_190E4F, EventScript_16A5C5
+ checkflag FLAG_0x254
+ goto_if 0, EventScript_16A5F3
+ loadword 0, gUnknown_819110F
+ callstd 4
+ release
+ end
+
+EventScript_16A5C5:: @ 816A5C5
+ setvar VAR_0x8004, 2
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ setflag FLAG_0x4B0
+ setflag FLAG_UNK820
+ setvar VAR_0x406C, 1
+ setflag FLAG_0x02E
+ clearflag FLAG_0x092
+ setvar VAR_0x8008, 1
+ call EventScript_1A6B18
+ goto EventScript_16A5F3
+ end
+
+EventScript_16A5F3:: @ 816A5F3
+ loadword 0, gUnknown_8190FC1
+ callstd 4
+ checkitemspace ITEM_TM39, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16A634
+ additem ITEM_TM39, 1
+ loadword 0, gUnknown_8190FDB
+ setorcopyvar VAR_0x8000, 327
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x254
+ loadword 0, gUnknown_8190FF8
+ callstd 4
+ release
+ end
+
+EventScript_16A634:: @ 816A634
+ loadword 0, gUnknown_81911CE
+ callstd 4
+ release
+ end
+
+PewterCity_Gym_EventScript_16A63E:: @ 816A63E
+ trainerbattle 0, 142, 0, Text_1911EC, Text_191237
+ loadword 0, gUnknown_819126B
+ callstd 6
+ end
+
+PewterCity_Gym_EventScript_16A655:: @ 816A655
+ lock
+ faceplayer
+ checkflag FLAG_0x4B0
+ goto_if 1, EventScript_16A67F
+ loadword 0, gUnknown_8191298
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16A689
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16A697
+ end
+
+EventScript_16A67F:: @ 816A67F
+ loadword 0, gUnknown_819143C
+ callstd 4
+ release
+ end
+
+EventScript_16A689:: @ 816A689
+ loadword 0, gUnknown_819133C
+ callstd 4
+ goto EventScript_16A6A5
+ end
+
+EventScript_16A697:: @ 816A697
+ loadword 0, gUnknown_8191412
+ callstd 4
+ goto EventScript_16A6A5
+ end
+
+EventScript_16A6A5:: @ 816A6A5
+ loadword 0, gUnknown_819135C
+ callstd 4
+ release
+ end
+
+PewterCity_Gym_EventScript_16A6AF:: @ 816A6AF
+ lockall
+ checkflag FLAG_UNK820
+ goto_if 1, EventScript_16A6C3
+ loadword 0, gUnknown_819146E
+ callstd 4
+ releaseall
+ end
+
+EventScript_16A6C3:: @ 816A6C3
+ loadword 0, gUnknown_81914A4
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/PewterCity_House1/map.json b/data/maps/PewterCity_House1/map.json
new file mode 100644
index 000000000..941fb3805
--- /dev/null
+++ b/data/maps/PewterCity_House1/map.json
@@ -0,0 +1,81 @@
+{
+ "id": "MAP_PEWTER_CITY_HOUSE1",
+ "name": "PewterCity_House1",
+ "layout": "LAYOUT_HOUSE2",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_PEWTER_CITY",
+ "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": "30",
+ "x": 1,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_House1_EventScript_16A71D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "16",
+ "x": 5,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_House1_EventScript_16A726",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "123",
+ "x": 6,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_House1_EventScript_16A736",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PewterCity_House1/scripts.inc b/data/maps/PewterCity_House1/scripts.inc
new file mode 100644
index 000000000..b051c7c2d
--- /dev/null
+++ b/data/maps/PewterCity_House1/scripts.inc
@@ -0,0 +1,34 @@
+PewterCity_House1_MapScripts:: @ 816A71C
+ .byte 0
+
+PewterCity_House1_EventScript_16A71D:: @ 816A71D
+ loadword 0, gUnknown_81915DB
+ callstd 2
+ end
+
+PewterCity_House1_EventScript_16A726:: @ 816A726
+ lock
+ loadword 0, gUnknown_81915CD
+ callstd 4
+ call EventScript_16A749
+ release
+ end
+
+PewterCity_House1_EventScript_16A736:: @ 816A736
+ lock
+ faceplayer
+ call EventScript_16A749
+ applymovement 3, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+EventScript_16A749:: @ 816A749
+ textcolor 3
+ waitse
+ playmoncry SPECIES_NIDORAN_M, 0
+ loadword 0, gUnknown_81915BB
+ callstd 4
+ waitmoncry
+ call EventScript_1A6675
+ return
diff --git a/data/maps/PewterCity_House2/map.json b/data/maps/PewterCity_House2/map.json
new file mode 100644
index 000000000..8b60f9557
--- /dev/null
+++ b/data/maps/PewterCity_House2/map.json
@@ -0,0 +1,68 @@
+{
+ "id": "MAP_PEWTER_CITY_HOUSE2",
+ "name": "PewterCity_House2",
+ "layout": "LAYOUT_HOUSE2",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_PEWTER_CITY",
+ "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": "32",
+ "x": 3,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_House2_EventScript_16A7DD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "16",
+ "x": 5,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "13",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_House2_EventScript_16A7E6",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PewterCity_House2/scripts.inc b/data/maps/PewterCity_House2/scripts.inc
new file mode 100644
index 000000000..8b706eeac
--- /dev/null
+++ b/data/maps/PewterCity_House2/scripts.inc
@@ -0,0 +1,12 @@
+PewterCity_House2_MapScripts:: @ 816A7DC
+ .byte 0
+
+PewterCity_House2_EventScript_16A7DD:: @ 816A7DD
+ loadword 0, gUnknown_81917E4
+ callstd 2
+ end
+
+PewterCity_House2_EventScript_16A7E6:: @ 816A7E6
+ loadword 0, gUnknown_8191840
+ callstd 2
+ end
diff --git a/data/maps/PewterCity_Mart/map.json b/data/maps/PewterCity_Mart/map.json
new file mode 100644
index 000000000..7c7f2a616
--- /dev/null
+++ b/data/maps/PewterCity_Mart/map.json
@@ -0,0 +1,81 @@
+{
+ "id": "MAP_PEWTER_CITY_MART",
+ "name": "PewterCity_Mart",
+ "layout": "LAYOUT_MART",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_PEWTER_CITY",
+ "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": "18",
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Mart_EventScript_16A6CE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "19",
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Mart_EventScript_16A6D7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "68",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Mart_EventScript_16A6E0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PewterCity_Mart/scripts.inc b/data/maps/PewterCity_Mart/scripts.inc
new file mode 100644
index 000000000..ea0a47028
--- /dev/null
+++ b/data/maps/PewterCity_Mart/scripts.inc
@@ -0,0 +1,40 @@
+PewterCity_Mart_MapScripts:: @ 816A6CD
+ .byte 0
+
+PewterCity_Mart_EventScript_16A6CE:: @ 816A6CE
+ loadword 0, gUnknown_81914DE
+ callstd 2
+ end
+
+PewterCity_Mart_EventScript_16A6D7:: @ 816A6D7
+ loadword 0, gUnknown_8191541
+ callstd 2
+ end
+
+PewterCity_Mart_EventScript_16A6E0:: @ 816A6E0
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16A708
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16A708:: @ 816A708
+ .2byte ITEM_POKE_BALL
+ .2byte ITEM_POTION
+ .2byte ITEM_ANTIDOTE
+ .2byte ITEM_PARALYZE_HEAL
+ .2byte ITEM_AWAKENING
+ .2byte ITEM_BURN_HEAL
+ .2byte ITEM_ESCAPE_ROPE
+ .2byte ITEM_REPEL
+ .2byte ITEM_NONE
+ release
+ end
diff --git a/data/maps/PewterCity_Museum_1F/map.json b/data/maps/PewterCity_Museum_1F/map.json
new file mode 100644
index 000000000..bfa941559
--- /dev/null
+++ b/data/maps/PewterCity_Museum_1F/map.json
@@ -0,0 +1,198 @@
+{
+ "id": "MAP_PEWTER_CITY_MUSEUM_1F",
+ "name": "PewterCity_Museum_1F",
+ "layout": "LAYOUT_PEWTER_CITY_MUSEUM_1F",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_PEWTER_CITY",
+ "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": "47",
+ "x": 16,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Museum_1F_EventScript_16A31B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 2,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Museum_1F_EventScript_16A4A5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 21,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Museum_1F_EventScript_16A4AE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "101",
+ "x": 22,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Museum_1F_EventScript_16A509",
+ "flag": "86"
+ },
+ {
+ "graphics_id": "55",
+ "x": 26,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Museum_1F_EventScript_16A49C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 26,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Museum_1F_EventScript_1C4BBE",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 13,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 14,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 15,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 21,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 22,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY_MUSEUM_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4061",
+ "var_value": 0,
+ "script": "PewterCity_Museum_1F_EventScript_16A38F"
+ },
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4061",
+ "var_value": 0,
+ "script": "PewterCity_Museum_1F_EventScript_16A3A5"
+ },
+ {
+ "type": "trigger",
+ "x": 14,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4061",
+ "var_value": 0,
+ "script": "PewterCity_Museum_1F_EventScript_16A3BB"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 4,
+ "elevation": 0,
+ "script": "PewterCity_Museum_1F_EventScript_16A512"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 7,
+ "elevation": 0,
+ "script": "PewterCity_Museum_1F_EventScript_16A532"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 27,
+ "y": 1,
+ "elevation": 0,
+ "script": "PewterCity_Museum_1F_EventScript_1ACE1C"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 26,
+ "y": 1,
+ "elevation": 0,
+ "script": "PewterCity_Museum_1F_EventScript_1ACE1C"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PewterCity_Museum_1F/scripts.inc b/data/maps/PewterCity_Museum_1F/scripts.inc
new file mode 100644
index 000000000..f597dd916
--- /dev/null
+++ b/data/maps/PewterCity_Museum_1F/scripts.inc
@@ -0,0 +1,228 @@
+PewterCity_Museum_1F_MapScripts:: @ 816A31A
+ .byte 0
+
+PewterCity_Museum_1F_EventScript_16A31B:: @ 816A31B
+ lock
+ faceplayer
+ compare_var_to_value VAR_FACING, 3
+ goto_if 1, EventScript_16A348
+ compare_var_to_value VAR_FACING, 1
+ goto_if 1, EventScript_16A348
+ compare_var_to_value VAR_FACING, 2
+ goto_if 1, EventScript_16A348
+ loadword 0, gUnknown_8190539
+ callstd 4
+ release
+ end
+
+EventScript_16A348:: @ 816A348
+ loadword 0, gUnknown_8190550
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16A367
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16A37B
+ end
+
+EventScript_16A367:: @ 816A367
+ loadword 0, gUnknown_81905B1
+ callstd 4
+ applymovement 1, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+EventScript_16A37B:: @ 816A37B
+ loadword 0, gUnknown_8190627
+ callstd 4
+ applymovement 1, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+PewterCity_Museum_1F_EventScript_16A38F:: @ 816A38F
+ lockall
+ setvar VAR_0x4001, 0
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ goto EventScript_16A3D1
+ end
+
+PewterCity_Museum_1F_EventScript_16A3A5:: @ 816A3A5
+ lockall
+ setvar VAR_0x4001, 1
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ goto EventScript_16A3D1
+ end
+
+PewterCity_Museum_1F_EventScript_16A3BB:: @ 816A3BB
+ lockall
+ setvar VAR_0x4001, 2
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ goto EventScript_16A3D1
+ end
+
+EventScript_16A3D1:: @ 816A3D1
+ textcolor 0
+ showmoneybox 0, 0, 0
+ loadword 0, gUnknown_81904B5
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16A402
+ loadword 0, gUnknown_81904F9
+ callstd 4
+ closemessage
+ hidemoneybox
+ .byte 0
+ .byte 0
+ applymovement 255, Movement_16A48E
+ waitmovement 0
+ releaseall
+ end
+
+EventScript_16A402:: @ 816A402
+ checkmoney 50, 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16A476
+ closemessage
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16A455
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16A460
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_16A46B
+ playse 248
+ takemoney 50, 0
+ updatemoneybox 0, 0, 0
+ waitse
+ loadword 0, gUnknown_8190505
+ callstd 4
+ setvar VAR_0x4061, 1
+ hidemoneybox
+ .byte 0
+ .byte 0
+ releaseall
+ end
+
+EventScript_16A455:: @ 816A455
+ applymovement 255, Movement_16A490
+ waitmovement 0
+ return
+
+EventScript_16A460:: @ 816A460
+ applymovement 255, Movement_16A495
+ waitmovement 0
+ return
+
+EventScript_16A46B:: @ 816A46B
+ applymovement 255, Movement_16A499
+ waitmovement 0
+ return
+
+EventScript_16A476:: @ 816A476
+ loadword 0, gUnknown_819051C
+ callstd 4
+ closemessage
+ hidemoneybox
+ .byte 0
+ .byte 0
+ applymovement 255, Movement_16A48E
+ waitmovement 0
+ releaseall
+ end
+
+Movement_16A48E:: @ 816A48E
+ step_10
+ step_end
+
+Movement_16A490:: @ 816A490
+ step_13
+ step_13
+ step_1b
+ step_28
+ step_end
+
+Movement_16A495:: @ 816A495
+ step_13
+ step_1b
+ step_28
+ step_end
+
+Movement_16A499:: @ 816A499
+ step_1b
+ step_28
+ step_end
+
+PewterCity_Museum_1F_EventScript_16A49C:: @ 816A49C
+ loadword 0, gUnknown_81908CD
+ callstd 2
+ end
+
+PewterCity_Museum_1F_EventScript_16A4A5:: @ 816A4A5
+ loadword 0, gUnknown_81906B4
+ callstd 2
+ end
+
+PewterCity_Museum_1F_EventScript_16A4AE:: @ 816A4AE
+ lock
+ faceplayer
+ checkflag FLAG_0x25E
+ goto_if 1, EventScript_16A4FF
+ loadword 0, gUnknown_8190717
+ callstd 4
+ checkitemspace ITEM_OLD_AMBER, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16A4F5
+ setflag FLAG_0x25E
+ removeobject 4
+ additem ITEM_OLD_AMBER, 1
+ loadword 0, gUnknown_8190866
+ setorcopyvar VAR_0x8000, 354
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ release
+ end
+
+EventScript_16A4F5:: @ 816A4F5
+ loadword 0, gUnknown_81908AE
+ callstd 4
+ release
+ end
+
+EventScript_16A4FF:: @ 816A4FF
+ loadword 0, gUnknown_819088E
+ callstd 4
+ release
+ end
+
+PewterCity_Museum_1F_EventScript_16A509:: @ 816A509
+ loadword 0, gUnknown_819090A
+ callstd 2
+ end
+
+PewterCity_Museum_1F_EventScript_16A512:: @ 816A512
+ lockall
+ setvar VAR_0x8004, 142
+ setvar VAR_0x8005, 10
+ setvar VAR_0x8006, 3
+ special sub_809D504
+ loadword 0, gUnknown_8190945
+ callstd 4
+ special sub_809D620
+ releaseall
+ end
+
+PewterCity_Museum_1F_EventScript_16A532:: @ 816A532
+ lockall
+ setvar VAR_0x8004, 141
+ setvar VAR_0x8005, 10
+ setvar VAR_0x8006, 3
+ special sub_809D504
+ loadword 0, gUnknown_8190975
+ callstd 4
+ special sub_809D620
+ releaseall
+ end
diff --git a/data/maps/PewterCity_Museum_2F/map.json b/data/maps/PewterCity_Museum_2F/map.json
new file mode 100644
index 000000000..fc75fdbd7
--- /dev/null
+++ b/data/maps/PewterCity_Museum_2F/map.json
@@ -0,0 +1,150 @@
+{
+ "id": "MAP_PEWTER_CITY_MUSEUM_2F",
+ "name": "PewterCity_Museum_2F",
+ "layout": "LAYOUT_PEWTER_CITY_MUSEUM_2F",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_PEWTER_CITY",
+ "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": "55",
+ "x": 10,
+ "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": "PewterCity_Museum_2F_EventScript_16A565",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 3,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Museum_2F_EventScript_16A553",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "33",
+ "x": 0,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 3,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Museum_2F_EventScript_16A55C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 15,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Museum_2F_EventScript_16A56E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 16,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_Museum_2F_EventScript_16A577",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY_MUSEUM_1F",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 6,
+ "elevation": 0,
+ "script": "PewterCity_Museum_2F_EventScript_16A589"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 15,
+ "y": 5,
+ "elevation": 0,
+ "script": "PewterCity_Museum_2F_EventScript_16A580"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 14,
+ "y": 5,
+ "elevation": 0,
+ "script": "PewterCity_Museum_2F_EventScript_16A580"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 16,
+ "y": 5,
+ "elevation": 0,
+ "script": "PewterCity_Museum_2F_EventScript_16A580"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 14,
+ "y": 4,
+ "elevation": 0,
+ "script": "PewterCity_Museum_2F_EventScript_16A580"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 15,
+ "y": 4,
+ "elevation": 0,
+ "script": "PewterCity_Museum_2F_EventScript_16A580"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 16,
+ "y": 4,
+ "elevation": 0,
+ "script": "PewterCity_Museum_2F_EventScript_16A580"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 5,
+ "elevation": 0,
+ "script": "PewterCity_Museum_2F_EventScript_16A589"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PewterCity_Museum_2F/scripts.inc b/data/maps/PewterCity_Museum_2F/scripts.inc
new file mode 100644
index 000000000..e41268793
--- /dev/null
+++ b/data/maps/PewterCity_Museum_2F/scripts.inc
@@ -0,0 +1,37 @@
+PewterCity_Museum_2F_MapScripts:: @ 816A552
+ .byte 0
+
+PewterCity_Museum_2F_EventScript_16A553:: @ 816A553
+ loadword 0, gUnknown_8190B30
+ callstd 2
+ end
+
+PewterCity_Museum_2F_EventScript_16A55C:: @ 816A55C
+ loadword 0, gUnknown_8190B80
+ callstd 2
+ end
+
+PewterCity_Museum_2F_EventScript_16A565:: @ 816A565
+ loadword 0, gUnknown_8190BF3
+ callstd 2
+ end
+
+PewterCity_Museum_2F_EventScript_16A56E:: @ 816A56E
+ loadword 0, gUnknown_8190C1E
+ callstd 2
+ end
+
+PewterCity_Museum_2F_EventScript_16A577:: @ 816A577
+ loadword 0, gUnknown_8190C60
+ callstd 2
+ end
+
+PewterCity_Museum_2F_EventScript_16A580:: @ 816A580
+ loadword 0, gUnknown_8190C81
+ callstd 3
+ end
+
+PewterCity_Museum_2F_EventScript_16A589:: @ 816A589
+ loadword 0, gUnknown_8190C8F
+ callstd 3
+ end
diff --git a/data/maps/PewterCity_PokemonCenter_1F/map.json b/data/maps/PewterCity_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..fd244b488
--- /dev/null
+++ b/data/maps/PewterCity_PokemonCenter_1F/map.json
@@ -0,0 +1,140 @@
+{
+ "id": "MAP_PEWTER_CITY_POKEMON_CENTER_1F",
+ "name": "PewterCity_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_PEWTER_CITY",
+ "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": "115",
+ "x": 2,
+ "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": "PewterCity_PokemonCenter_1F_EventScript_16A781",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_PokemonCenter_1F_EventScript_16A778",
+ "flag": "0"
+ },
+ {
+ "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": "PewterCity_PokemonCenter_1F_EventScript_16A76F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 1,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_PokemonCenter_1F_EventScript_16A798",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "23",
+ "x": 13,
+ "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": "PewterCity_PokemonCenter_1F_EventScript_1BEE16",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "51",
+ "x": 10,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_PokemonCenter_1F_EventScript_16A7A1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "51",
+ "x": 14,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_PokemonCenter_1F_EventScript_16A7AC",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_PEWTER_CITY",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_PEWTER_CITY_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PewterCity_PokemonCenter_1F/scripts.inc b/data/maps/PewterCity_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..ffdccea77
--- /dev/null
+++ b/data/maps/PewterCity_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,49 @@
+PewterCity_PokemonCenter_1F_MapScripts:: @ 816A760
+ map_script 3, PewterCity_PokemonCenter_1F_MapScript1_16A76B
+ map_script 5, PewterCity_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+PewterCity_PokemonCenter_1F_MapScript1_16A76B:: @ 816A76B
+ setrespawn 3
+ end
+
+PewterCity_PokemonCenter_1F_EventScript_16A76F:: @ 816A76F
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+PewterCity_PokemonCenter_1F_EventScript_16A778:: @ 816A778
+ loadword 0, gUnknown_81916A9
+ callstd 2
+ end
+
+PewterCity_PokemonCenter_1F_EventScript_16A781:: @ 816A781
+ lock
+ faceplayer
+ fadeoutbgm 0
+ playbgm BGM_FRLG_JIGGLYPUFF, 0
+ message Text_1916EA
+ waitmessage
+ delay 455
+ playbgm BGM_FRLG_POKEMON_CENTER, 1
+ release
+ end
+
+PewterCity_PokemonCenter_1F_EventScript_16A798:: @ 816A798
+ loadword 0, gUnknown_8191701
+ callstd 2
+ end
+
+PewterCity_PokemonCenter_1F_EventScript_16A7A1:: @ 816A7A1
+ lock
+ loadword 0, gUnknown_8191743
+ callstd 4
+ release
+ end
+
+PewterCity_PokemonCenter_1F_EventScript_16A7AC:: @ 816A7AC
+ loadword 0, gUnknown_8191780
+ callstd 2
+ end
diff --git a/data/maps/PewterCity_PokemonCenter_2F/map.json b/data/maps/PewterCity_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..0b6b59689
--- /dev/null
+++ b/data/maps/PewterCity_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_PEWTER_CITY_POKEMON_CENTER_2F",
+ "name": "PewterCity_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_PEWTER_CITY",
+ "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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PewterCity_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "PewterCity_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_PEWTER_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PewterCity_PokemonCenter_2F/scripts.inc b/data/maps/PewterCity_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..7f019d782
--- /dev/null
+++ b/data/maps/PewterCity_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+PewterCity_PokemonCenter_2F_MapScripts:: @ 816A7B5
+ map_script 2, PewterCity_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, PewterCity_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, PewterCity_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, PewterCity_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+PewterCity_PokemonCenter_2F_EventScript_16A7CA:: @ 816A7CA
+ call EventScript_1BB4A3
+ end
+
+EventScript_16A7D0:: @ 816A7D0
+ call EventScript_1BB6AB
+ end
+
+EventScript_16A7D6:: @ 816A7D6
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/PokemonLeague_AgathasRoom/map.json b/data/maps/PokemonLeague_AgathasRoom/map.json
new file mode 100644
index 000000000..2f349ed52
--- /dev/null
+++ b/data/maps/PokemonLeague_AgathasRoom/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_POKEMON_LEAGUE_AGATHAS_ROOM",
+ "name": "PokemonLeague_AgathasRoom",
+ "layout": "LAYOUT_POKEMON_LEAGUE_AGATHAS_ROOM",
+ "music": "BGM_FRLG_POKEMON_TOWER",
+ "region_map_section": "MAPSEC_POKEMON_LEAGUE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_6",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "75",
+ "x": 6,
+ "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": "PokemonLeague_AgathasRoom_EventScript_162877",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 12,
+ "elevation": 0,
+ "dest_map": "MAP_POKEMON_LEAGUE_BRUNOS_ROOM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_POKEMON_LEAGUE_LANCES_ROOM",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PokemonLeague_AgathasRoom/scripts.inc b/data/maps/PokemonLeague_AgathasRoom/scripts.inc
new file mode 100644
index 000000000..6fce65046
--- /dev/null
+++ b/data/maps/PokemonLeague_AgathasRoom/scripts.inc
@@ -0,0 +1,110 @@
+PokemonLeague_AgathasRoom_MapScripts:: @ 8162810
+ map_script 5, PokemonLeague_AgathasRoom_MapScript1_162825
+ map_script 1, PokemonLeague_AgathasRoom_MapScript2_162830
+ map_script 4, PokemonLeague_AgathasRoom_MapScript3_162851
+ map_script 2, PokemonLeague_AgathasRoom_MapScript4_162860
+ .byte 0
+
+PokemonLeague_AgathasRoom_MapScript1_162825:: @ 8162825
+ setvar VAR_0x8004, 2
+ call EventScript_1A75D5
+ end
+
+PokemonLeague_AgathasRoom_MapScript2_162830:: @ 8162830
+ checkflag FLAG_0x4BA
+ call_if 1, EventScript_16284B
+ compare_var_to_value VAR_0x4068, 3
+ call_if 1, EventScript_162845
+ end
+
+EventScript_162845:: @ 8162845
+ call EventScript_1A759C
+ return
+
+EventScript_16284B:: @ 816284B
+ call EventScript_1A7538
+ return
+
+PokemonLeague_AgathasRoom_MapScript3_162851:: @ 8162851
+ map_script_2 VAR_0x4001, 0, EventScript_16285B
+ .2byte 0
+
+EventScript_16285B:: @ 816285B
+ turnobject 255, 2
+ end
+
+PokemonLeague_AgathasRoom_MapScript4_162860:: @ 8162860
+ map_script_2 VAR_0x4068, 2, EventScript_16286A
+ .2byte 0
+
+EventScript_16286A:: @ 816286A
+ lockall
+ call EventScript_1A751F
+ setvar VAR_0x4068, 3
+ releaseall
+ end
+
+PokemonLeague_AgathasRoom_EventScript_162877:: @ 8162877
+ lock
+ faceplayer
+ setvar VAR_0x8004, 11
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ checkflag FLAG_0x4BA
+ goto_if 1, EventScript_162911
+ setvar VAR_0x8004, 11
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ setvar VAR_0x8004, 11
+ setvar VAR_0x8005, 4
+ special SetFlavorTextFlagFromSpecialVars
+ setvar VAR_0x8004, 0
+ setvar VAR_0x8005, 4
+ special SetFlavorTextFlagFromSpecialVars
+ checkflag 2092
+ call_if 0, EventScript_1628E9
+ checkflag 2092
+ call_if 1, EventScript_1628F2
+ setflag FLAG_0x003
+ setflag FLAG_0x005
+ checkflag 2116
+ call_if 0, EventScript_1628FB
+ checkflag 2116
+ call_if 1, EventScript_162906
+ clearflag FLAG_0x005
+ goto EventScript_16291B
+
+EventScript_1628E8:: @ 81628E8
+ end
+
+EventScript_1628E9:: @ 81628E9
+ loadword 0, gUnknown_817844D
+ callstd 4
+ return
+
+EventScript_1628F2:: @ 81628F2
+ loadword 0, gUnknown_817858D
+ callstd 4
+ return
+
+EventScript_1628FB:: @ 81628FB
+ trainerbattle 3, 412, 0, Text_1786D7
+ return
+
+EventScript_162906:: @ 8162906
+ trainerbattle 3, 737, 0, Text_1786D7
+ return
+
+EventScript_162911:: @ 8162911
+ loadword 0, gUnknown_8178700
+ callstd 4
+ release
+ end
+
+EventScript_16291B:: @ 816291B
+ setflag FLAG_0x4BA
+ call EventScript_1A7506
+ loadword 0, gUnknown_8178700
+ callstd 4
+ release
+ end
diff --git a/data/maps/PokemonLeague_BrunosRoom/map.json b/data/maps/PokemonLeague_BrunosRoom/map.json
new file mode 100644
index 000000000..c2e0209a5
--- /dev/null
+++ b/data/maps/PokemonLeague_BrunosRoom/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_POKEMON_LEAGUE_BRUNOS_ROOM",
+ "name": "PokemonLeague_BrunosRoom",
+ "layout": "LAYOUT_POKEMON_LEAGUE_BRUNOS_ROOM",
+ "music": "BGM_FRLG_ROCKET_HIDEOUT",
+ "region_map_section": "MAPSEC_POKEMON_LEAGUE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_5",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "79",
+ "x": 6,
+ "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": "PokemonLeague_BrunosRoom_EventScript_1626EC",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 12,
+ "elevation": 0,
+ "dest_map": "MAP_POKEMON_LEAGUE_LORELEIS_ROOM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_POKEMON_LEAGUE_AGATHAS_ROOM",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PokemonLeague_BrunosRoom/scripts.inc b/data/maps/PokemonLeague_BrunosRoom/scripts.inc
new file mode 100644
index 000000000..41116d4cd
--- /dev/null
+++ b/data/maps/PokemonLeague_BrunosRoom/scripts.inc
@@ -0,0 +1,140 @@
+PokemonLeague_BrunosRoom_MapScripts:: @ 8162685
+ map_script 5, PokemonLeague_BrunosRoom_MapScript1_16269A
+ map_script 1, PokemonLeague_BrunosRoom_MapScript2_1626A5
+ map_script 4, PokemonLeague_BrunosRoom_MapScript3_1626C6
+ map_script 2, PokemonLeague_BrunosRoom_MapScript4_1626D5
+ .byte 0
+
+PokemonLeague_BrunosRoom_MapScript1_16269A:: @ 816269A
+ setvar VAR_0x8004, 1
+ call EventScript_1A75D5
+ end
+
+PokemonLeague_BrunosRoom_MapScript2_1626A5:: @ 81626A5
+ checkflag FLAG_0x4B9
+ call_if 1, EventScript_1626C0
+ compare_var_to_value VAR_0x4068, 2
+ call_if 1, EventScript_1626BA
+ end
+
+EventScript_1626BA:: @ 81626BA
+ call EventScript_1A759C
+ return
+
+EventScript_1626C0:: @ 81626C0
+ call EventScript_1A7538
+ return
+
+PokemonLeague_BrunosRoom_MapScript3_1626C6:: @ 81626C6
+ map_script_2 VAR_0x4001, 0, EventScript_1626D0
+ .2byte 0
+
+EventScript_1626D0:: @ 81626D0
+ turnobject 255, 2
+ end
+
+PokemonLeague_BrunosRoom_MapScript4_1626D5:: @ 81626D5
+ map_script_2 VAR_0x4068, 1, EventScript_1626DF
+ .2byte 0
+
+EventScript_1626DF:: @ 81626DF
+ lockall
+ call EventScript_1A751F
+ setvar VAR_0x4068, 2
+ releaseall
+ end
+
+PokemonLeague_BrunosRoom_EventScript_1626EC:: @ 81626EC
+ lock
+ faceplayer
+ setvar VAR_0x8004, 10
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ checkflag FLAG_0x4B9
+ goto_if 1, EventScript_162779
+ setvar VAR_0x8004, 10
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ setvar VAR_0x8004, 10
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ checkflag 2092
+ call_if 0, EventScript_162751
+ checkflag 2092
+ call_if 1, EventScript_16275A
+ setflag FLAG_0x003
+ setflag FLAG_0x005
+ checkflag 2116
+ call_if 0, EventScript_162763
+ checkflag 2116
+ call_if 1, EventScript_16276E
+ clearflag FLAG_0x005
+ goto EventScript_1627B0
+
+EventScript_162750:: @ 8162750
+ end
+
+EventScript_162751:: @ 8162751
+ loadword 0, gUnknown_817820F
+ callstd 4
+ return
+
+EventScript_16275A:: @ 816275A
+ loadword 0, gUnknown_817830C
+ callstd 4
+ return
+
+EventScript_162763:: @ 8162763
+ trainerbattle 3, 411, 0, Text_178409
+ return
+
+EventScript_16276E:: @ 816276E
+ trainerbattle 3, 736, 0, Text_178409
+ return
+
+EventScript_162779:: @ 8162779
+ loadword 0, gUnknown_8178420
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_1627FA
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_1627EF
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_162805
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_162805
+ release
+ end
+
+EventScript_1627B0:: @ 81627B0
+ setflag FLAG_0x4B9
+ call EventScript_1A7506
+ loadword 0, gUnknown_8178420
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_1627FA
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_1627EF
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_162805
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_162805
+ release
+ end
+
+EventScript_1627EF:: @ 81627EF
+ applymovement 1, Movement_1A75E7
+ waitmovement 0
+ return
+
+EventScript_1627FA:: @ 81627FA
+ applymovement 1, Movement_1A75EB
+ waitmovement 0
+ return
+
+EventScript_162805:: @ 8162805
+ applymovement 1, Movement_1A75ED
+ waitmovement 0
+ return
diff --git a/data/maps/PokemonLeague_ChampionsRoom/map.json b/data/maps/PokemonLeague_ChampionsRoom/map.json
new file mode 100644
index 000000000..5c4da669c
--- /dev/null
+++ b/data/maps/PokemonLeague_ChampionsRoom/map.json
@@ -0,0 +1,61 @@
+{
+ "id": "MAP_POKEMON_LEAGUE_CHAMPIONS_ROOM",
+ "name": "PokemonLeague_ChampionsRoom",
+ "layout": "LAYOUT_POKEMON_LEAGUE_CHAMPIONS_ROOM",
+ "music": "BGM_FRLG_INDIGO_PLATEAU",
+ "region_map_section": "MAPSEC_POKEMON_LEAGUE",
+ "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": "72",
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "71",
+ "x": 6,
+ "y": 15,
+ "elevation": 0,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "90"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_LEAGUE_LANCES_ROOM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_LEAGUE_HALL_OF_FAME",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PokemonLeague_ChampionsRoom/scripts.inc b/data/maps/PokemonLeague_ChampionsRoom/scripts.inc
new file mode 100644
index 000000000..81d3ae0fa
--- /dev/null
+++ b/data/maps/PokemonLeague_ChampionsRoom/scripts.inc
@@ -0,0 +1,254 @@
+PokemonLeague_ChampionsRoom_MapScripts:: @ 8162AE2
+ map_script 4, PokemonLeague_ChampionsRoom_MapScript1_162B5D
+ map_script 5, PokemonLeague_ChampionsRoom_MapScript2_162AF2
+ map_script 2, PokemonLeague_ChampionsRoom_MapScript3_162B6C
+ .byte 0
+
+PokemonLeague_ChampionsRoom_MapScript2_162AF2:: @ 8162AF2
+ setvar VAR_0x8004, 4
+ call EventScript_1A75D5
+ compare_var_to_value VAR_STARTER_MON, 2
+ call_if 1, EventScript_162B1E
+ compare_var_to_value VAR_STARTER_MON, 1
+ call_if 1, EventScript_162B31
+ compare_var_to_value VAR_STARTER_MON, 0
+ call_if 1, EventScript_162B44
+ end
+
+EventScript_162B1E:: @ 8162B1E
+ checktrainerflag 438
+ goto_if 1, EventScript_162B57
+ checktrainerflag 739
+ goto_if 1, EventScript_162B57
+ return
+
+EventScript_162B31:: @ 8162B31
+ checktrainerflag 439
+ goto_if 1, EventScript_162B57
+ checktrainerflag 740
+ goto_if 1, EventScript_162B57
+ return
+
+EventScript_162B44:: @ 8162B44
+ checktrainerflag 440
+ goto_if 1, EventScript_162B57
+ checktrainerflag 741
+ goto_if 1, EventScript_162B57
+ return
+
+EventScript_162B57:: @ 8162B57
+ setvar VAR_0x4001, 1
+ return
+
+PokemonLeague_ChampionsRoom_MapScript1_162B5D:: @ 8162B5D
+ map_script_2 VAR_0x4001, 0, EventScript_162B67
+ .2byte 0
+
+EventScript_162B67:: @ 8162B67
+ turnobject 255, 2
+ end
+
+PokemonLeague_ChampionsRoom_MapScript3_162B6C:: @ 8162B6C
+ map_script_2 VAR_0x4001, 0, EventScript_162B76
+ .2byte 0
+
+EventScript_162B76:: @ 8162B76
+ lockall
+ textcolor 0
+ setflag FLAG_0x002
+ applymovement 255, Movement_162D07
+ waitmovement 0
+ delay 20
+ checkflag 2092
+ call_if 0, EventScript_162CB3
+ checkflag 2092
+ call_if 1, EventScript_162CBC
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_162C68
+ setflag FLAG_0x003
+ setflag FLAG_0x005
+ savebgm BGM_FRLG_KACHI_LEADER
+ checkflag 2116
+ call_if 0, EventScript_162C6F
+ checkflag 2116
+ call_if 1, EventScript_162C91
+ setflag FLAG_0x004
+ clearflag FLAG_0x005
+ setflag FLAG_0x4BC
+ setflag FLAG_0x004
+ loadword 0, gUnknown_8178F2F
+ callstd 4
+ playbgm BGM_FRLG_HALL_OF_FAME_PALLET_TOWN, 0
+ addobject 2
+ loadword 0, gUnknown_8178FC6
+ callstd 4
+ closemessage
+ applymovement 255, Movement_162D1F
+ applymovement 1, Movement_162D41
+ applymovement 2, Movement_162D2A
+ waitmovement 0
+ delay 25
+ specialvar VAR_RESULT, ScrSpecial_GetStarter
+ getspeciesname 0, 32781
+ loadword 0, gUnknown_8178FCF
+ callstd 4
+ applymovement 2, Movement_1A75EB
+ applymovement 1, Movement_1A75E7
+ waitmovement 0
+ loadword 0, gUnknown_817908F
+ callstd 4
+ closemessage
+ applymovement 2, Movement_1A75ED
+ waitmovement 0
+ delay 20
+ loadword 0, gUnknown_81791A3
+ callstd 4
+ closemessage
+ delay 13
+ applymovement 2, Movement_162D37
+ applymovement 255, Movement_162D12
+ waitmovement 0
+ setvar VAR_0x4001, 1
+ warp MAP_POKEMON_LEAGUE_HALL_OF_FAME, 255, 5, 12
+ waitstate
+ releaseall
+ end
+
+EventScript_162C68:: @ 8162C68
+ call EventScript_162B57
+ releaseall
+ end
+
+EventScript_162C6F:: @ 8162C6F
+ compare_var_to_value VAR_STARTER_MON, 2
+ call_if 1, EventScript_162CC5
+ compare_var_to_value VAR_STARTER_MON, 1
+ call_if 1, EventScript_162CD0
+ compare_var_to_value VAR_STARTER_MON, 0
+ call_if 1, EventScript_162CDB
+ return
+
+EventScript_162C91:: @ 8162C91
+ compare_var_to_value VAR_STARTER_MON, 2
+ call_if 1, EventScript_162CE6
+ compare_var_to_value VAR_STARTER_MON, 1
+ call_if 1, EventScript_162CF1
+ compare_var_to_value VAR_STARTER_MON, 0
+ call_if 1, EventScript_162CFC
+ return
+
+EventScript_162CB3:: @ 8162CB3
+ loadword 0, gUnknown_8178B6C
+ callstd 4
+ return
+
+EventScript_162CBC:: @ 8162CBC
+ loadword 0, gUnknown_8178CD4
+ callstd 4
+ return
+
+EventScript_162CC5:: @ 8162CC5
+ trainerbattle 3, 438, 0, Text_178E3F
+ return
+
+EventScript_162CD0:: @ 8162CD0
+ trainerbattle 3, 439, 0, Text_178E3F
+ return
+
+EventScript_162CDB:: @ 8162CDB
+ trainerbattle 3, 440, 0, Text_178E3F
+ return
+
+EventScript_162CE6:: @ 8162CE6
+ trainerbattle 3, 739, 0, Text_178E3F
+ return
+
+EventScript_162CF1:: @ 8162CF1
+ trainerbattle 3, 740, 0, Text_178E3F
+ return
+
+EventScript_162CFC:: @ 8162CFC
+ trainerbattle 3, 741, 0, Text_178E3F
+ return
+
+Movement_162D07:: @ 8162D07
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_162D12:: @ 8162D12
+ step_1c
+ step_12
+ step_11
+ step_11
+ step_11
+ step_13
+ step_11
+ step_11
+ step_11
+ step_11
+ step_1b
+ step_60
+ step_end
+
+Movement_162D1F:: @ 8162D1F
+ step_1b
+ step_2d
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_2f
+ step_end
+
+Movement_162D2A:: @ 8162D2A
+ step_1c
+ step_1c
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_12
+ step_11
+ step_11
+ step_2d
+ step_1c
+ step_end
+
+Movement_162D37:: @ 8162D37
+ step_11
+ step_11
+ step_13
+ step_11
+ step_11
+ step_11
+ step_11
+ step_1b
+ step_60
+ step_end
+
+Movement_162D41:: @ 8162D41
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_2f
+ step_end
diff --git a/data/maps/PokemonLeague_HallOfFame/map.json b/data/maps/PokemonLeague_HallOfFame/map.json
new file mode 100644
index 000000000..c7529d73f
--- /dev/null
+++ b/data/maps/PokemonLeague_HallOfFame/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_POKEMON_LEAGUE_HALL_OF_FAME",
+ "name": "PokemonLeague_HallOfFame",
+ "layout": "LAYOUT_POKEMON_LEAGUE_HALL_OF_FAME",
+ "music": "BGM_FRLG_HALL_OF_FAME_PALLET_TOWN",
+ "region_map_section": "MAPSEC_POKEMON_LEAGUE",
+ "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": "71",
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_LEAGUE_CHAMPIONS_ROOM",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PokemonLeague_HallOfFame/scripts.inc b/data/maps/PokemonLeague_HallOfFame/scripts.inc
new file mode 100644
index 000000000..2fd41e840
--- /dev/null
+++ b/data/maps/PokemonLeague_HallOfFame/scripts.inc
@@ -0,0 +1,55 @@
+PokemonLeague_HallOfFame_MapScripts:: @ 8162D4C
+ map_script 2, PokemonLeague_HallOfFame_MapScript1_162D66
+ map_script 4, PokemonLeague_HallOfFame_MapScript2_162D57
+ .byte 0
+
+PokemonLeague_HallOfFame_MapScript2_162D57:: @ 8162D57
+ map_script_2 VAR_0x4001, 0, EventScript_162D61
+ .2byte 0
+
+EventScript_162D61:: @ 8162D61
+ turnobject 255, 2
+ end
+
+PokemonLeague_HallOfFame_MapScript1_162D66:: @ 8162D66
+ map_script_2 VAR_0x4001, 0, EventScript_162D70
+ .2byte 0
+
+EventScript_162D70:: @ 8162D70
+ lockall
+ textcolor 0
+ applymovement 255, Movement_162DCD
+ waitmovement 0
+ applymovement 1, Movement_1A75E7
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ delay 18
+ loadword 0, gUnknown_817922F
+ callstd 4
+ closemessage
+ applymovement 1, Movement_1A75E9
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ delay 20
+ dofieldeffect 62
+ waitfieldeffect 62
+ delay 40
+ setvar VAR_0x4001, 1
+ call EventScript_1A651A
+ setrespawn 1
+ fadescreenspeed 1, 24
+ special sub_80CA2E4
+ waitstate
+ releaseall
+ end
+
+Movement_162DCD:: @ 8162DCD
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
diff --git a/data/maps/PokemonLeague_LancesRoom/map.json b/data/maps/PokemonLeague_LancesRoom/map.json
new file mode 100644
index 000000000..f1f1a4dc8
--- /dev/null
+++ b/data/maps/PokemonLeague_LancesRoom/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_POKEMON_LEAGUE_LANCES_ROOM",
+ "name": "PokemonLeague_LancesRoom",
+ "layout": "LAYOUT_POKEMON_LEAGUE_LANCES_ROOM",
+ "music": "BGM_FRLG_INDIGO_PLATEAU",
+ "region_map_section": "MAPSEC_POKEMON_LEAGUE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_7",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "74",
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonLeague_LancesRoom_EventScript_162A14",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 23,
+ "y": 13,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_LEAGUE_AGATHAS_ROOM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_POKEMON_LEAGUE_CHAMPIONS_ROOM",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PokemonLeague_LancesRoom/scripts.inc b/data/maps/PokemonLeague_LancesRoom/scripts.inc
new file mode 100644
index 000000000..f3a181319
--- /dev/null
+++ b/data/maps/PokemonLeague_LancesRoom/scripts.inc
@@ -0,0 +1,184 @@
+PokemonLeague_LancesRoom_MapScripts:: @ 816292D
+ map_script 5, PokemonLeague_LancesRoom_MapScript1_162942
+ map_script 1, PokemonLeague_LancesRoom_MapScript2_16294D
+ map_script 4, PokemonLeague_LancesRoom_MapScript3_16296E
+ map_script 2, PokemonLeague_LancesRoom_MapScript4_16297D
+ .byte 0
+
+PokemonLeague_LancesRoom_MapScript1_162942:: @ 8162942
+ setvar VAR_0x8004, 3
+ call EventScript_1A75D5
+ end
+
+PokemonLeague_LancesRoom_MapScript2_16294D:: @ 816294D
+ compare_var_to_value VAR_0x4068, 4
+ call_if 1, EventScript_162962
+ checkflag FLAG_0x4BB
+ call_if 1, EventScript_162968
+ end
+
+EventScript_162962:: @ 8162962
+ call EventScript_1629A8
+ return
+
+EventScript_162968:: @ 8162968
+ call EventScript_1A7589
+ return
+
+PokemonLeague_LancesRoom_MapScript3_16296E:: @ 816296E
+ map_script_2 VAR_0x4001, 0, EventScript_162978
+ .2byte 0
+
+EventScript_162978:: @ 8162978
+ turnobject 255, 2
+ end
+
+PokemonLeague_LancesRoom_MapScript4_16297D:: @ 816297D
+ map_script_2 VAR_0x4068, 3, EventScript_162987
+ .2byte 0
+
+EventScript_162987:: @ 8162987
+ lockall
+ applymovement 255, Movement_1629F1
+ waitmovement 0
+ setflag FLAG_0x002
+ call EventScript_1629A8
+ playse SE_FU_ZAKU2
+ special DrawWholeMapView
+ waitse
+ setvar VAR_0x4068, 4
+ releaseall
+ end
+
+EventScript_1629A8:: @ 81629A8
+ setmetatile 5, 14, 669, 1
+ setmetatile 6, 14, 670, 1
+ setmetatile 7, 14, 671, 1
+ setmetatile 5, 15, 677, 1
+ setmetatile 6, 15, 678, 1
+ setmetatile 7, 15, 679, 1
+ setmetatile 6, 16, 785, 0
+ setmetatile 7, 16, 785, 0
+ return
+
+Movement_1629F1:: @ 81629F1
+ step_11
+ step_11
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
+
+PokemonLeague_LancesRoom_EventScript_162A14:: @ 8162A14
+ lock
+ faceplayer
+ setvar VAR_0x8004, 12
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ checkflag FLAG_0x4BB
+ goto_if 1, EventScript_162AA1
+ setvar VAR_0x8004, 12
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ setvar VAR_0x8004, 12
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ checkflag 2092
+ call_if 0, EventScript_162A79
+ checkflag 2092
+ call_if 1, EventScript_162A82
+ setflag FLAG_0x003
+ setflag FLAG_0x005
+ checkflag 2116
+ call_if 0, EventScript_162A8B
+ checkflag 2116
+ call_if 1, EventScript_162A96
+ clearflag FLAG_0x005
+ goto EventScript_162AAB
+
+EventScript_162A78:: @ 8162A78
+ end
+
+EventScript_162A79:: @ 8162A79
+ loadword 0, gUnknown_8178764
+ callstd 4
+ return
+
+EventScript_162A82:: @ 8162A82
+ loadword 0, gUnknown_81788BD
+ callstd 4
+ return
+
+EventScript_162A8B:: @ 8162A8B
+ trainerbattle 3, 413, 0, Text_178A15
+ return
+
+EventScript_162A96:: @ 8162A96
+ trainerbattle 3, 738, 0, Text_178A15
+ return
+
+EventScript_162AA1:: @ 8162AA1
+ loadword 0, gUnknown_8178A52
+ callstd 4
+ release
+ end
+
+EventScript_162AAB:: @ 8162AAB
+ setvar VAR_0x8004, 0
+ special sub_8113530
+ setflag FLAG_0x4BB
+ call EventScript_1A7563
+ loadword 0, gUnknown_8178A52
+ callstd 4
+ closemessage
+ release
+ end
+
+EventScript_162AC6:: @ 8162AC6
+ applymovement 1, Movement_162ADC
+ waitmovement 0
+ return
+
+EventScript_162AD1:: @ 8162AD1
+ applymovement 1, Movement_162ADF
+ waitmovement 0
+ return
+
+Movement_162ADC:: @ 8162ADC
+ step_12
+ step_30
+ step_end
+
+Movement_162ADF:: @ 8162ADF
+ step_13
+ step_2f
+ step_end
diff --git a/data/maps/PokemonLeague_LoreleisRoom/map.json b/data/maps/PokemonLeague_LoreleisRoom/map.json
new file mode 100644
index 000000000..f853b99ba
--- /dev/null
+++ b/data/maps/PokemonLeague_LoreleisRoom/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_POKEMON_LEAGUE_LORELEIS_ROOM",
+ "name": "PokemonLeague_LoreleisRoom",
+ "layout": "LAYOUT_POKEMON_LEAGUE_LORELEIS_ROOM",
+ "music": "BGM_FRLG_GYM",
+ "region_map_section": "MAPSEC_POKEMON_LEAGUE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_4",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "77",
+ "x": 6,
+ "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": "PokemonLeague_LoreleisRoom_EventScript_1625DC",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 12,
+ "elevation": 0,
+ "dest_map": "MAP_INDIGO_PLATEAU_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_POKEMON_LEAGUE_BRUNOS_ROOM",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PokemonLeague_LoreleisRoom/scripts.inc b/data/maps/PokemonLeague_LoreleisRoom/scripts.inc
new file mode 100644
index 000000000..9455e97ed
--- /dev/null
+++ b/data/maps/PokemonLeague_LoreleisRoom/scripts.inc
@@ -0,0 +1,112 @@
+PokemonLeague_LoreleisRoom_MapScripts:: @ 816256C
+ map_script 5, PokemonLeague_LoreleisRoom_MapScript1_162586
+ map_script 1, PokemonLeague_LoreleisRoom_MapScript2_162591
+ map_script 3, PokemonLeague_LoreleisRoom_MapScript3_1625B2
+ map_script 4, PokemonLeague_LoreleisRoom_MapScript4_1625B6
+ map_script 2, PokemonLeague_LoreleisRoom_MapScript5_1625C5
+ .byte 0
+
+PokemonLeague_LoreleisRoom_MapScript1_162586:: @ 8162586
+ setvar VAR_0x8004, 0
+ call EventScript_1A75D5
+ end
+
+PokemonLeague_LoreleisRoom_MapScript2_162591:: @ 8162591
+ checkflag FLAG_0x4B8
+ call_if 1, EventScript_1625AC
+ compare_var_to_value VAR_0x4068, 1
+ call_if 1, EventScript_1625A6
+ end
+
+EventScript_1625A6:: @ 81625A6
+ call EventScript_1A759C
+ return
+
+EventScript_1625AC:: @ 81625AC
+ call EventScript_1A7538
+ return
+
+PokemonLeague_LoreleisRoom_MapScript3_1625B2:: @ 81625B2
+ setworldmapflag 2223
+ end
+
+PokemonLeague_LoreleisRoom_MapScript4_1625B6:: @ 81625B6
+ map_script_2 VAR_0x4001, 0, EventScript_1625C0
+ .2byte 0
+
+EventScript_1625C0:: @ 81625C0
+ turnobject 255, 2
+ end
+
+PokemonLeague_LoreleisRoom_MapScript5_1625C5:: @ 81625C5
+ map_script_2 VAR_0x4068, 0, EventScript_1625CF
+ .2byte 0
+
+EventScript_1625CF:: @ 81625CF
+ lockall
+ call EventScript_1A751F
+ setvar VAR_0x4068, 1
+ releaseall
+ end
+
+PokemonLeague_LoreleisRoom_EventScript_1625DC:: @ 81625DC
+ lock
+ faceplayer
+ setvar VAR_0x8004, 9
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ checkflag FLAG_0x4B8
+ goto_if 1, EventScript_162669
+ setvar VAR_0x8004, 9
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ setvar VAR_0x8004, 9
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ checkflag 2116
+ call_if 0, EventScript_162641
+ checkflag 2116
+ call_if 1, EventScript_16264A
+ setflag FLAG_0x003
+ setflag FLAG_0x005
+ checkflag 2116
+ call_if 0, EventScript_162653
+ checkflag 2116
+ call_if 1, EventScript_16265E
+ clearflag FLAG_0x005
+ goto EventScript_162673
+
+EventScript_162640:: @ 8162640
+ end
+
+EventScript_162641:: @ 8162641
+ loadword 0, gUnknown_8177FA4
+ callstd 4
+ return
+
+EventScript_16264A:: @ 816264A
+ loadword 0, gUnknown_8178089
+ callstd 4
+ return
+
+EventScript_162653:: @ 8162653
+ trainerbattle 3, 410, 0, Text_178191
+ return
+
+EventScript_16265E:: @ 816265E
+ trainerbattle 3, 735, 0, Text_178191
+ return
+
+EventScript_162669:: @ 8162669
+ loadword 0, gUnknown_81781B0
+ callstd 4
+ release
+ end
+
+EventScript_162673:: @ 8162673
+ setflag FLAG_0x4B8
+ call EventScript_1A7506
+ loadword 0, gUnknown_81781B0
+ callstd 4
+ release
+ end
diff --git a/data/maps/PokemonMansion_1F/map.json b/data/maps/PokemonMansion_1F/map.json
new file mode 100644
index 000000000..a1de1c947
--- /dev/null
+++ b/data/maps/PokemonMansion_1F/map.json
@@ -0,0 +1,173 @@
+{
+ "id": "MAP_POKEMON_MANSION_1F",
+ "name": "PokemonMansion_1F",
+ "layout": "LAYOUT_POKEMON_MANSION_1F",
+ "music": "BGM_FRLG_POKEMON_MANSION",
+ "region_map_section": "MAPSEC_POKEMON_MANSION",
+ "requires_flash": false,
+ "weather": "WEATHER_11",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_3",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "55",
+ "x": 22,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "PokemonMansion_1F_EventScript_162226",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 29,
+ "y": 32,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonMansion_1F_EventScript_1BE95D",
+ "flag": "415"
+ },
+ {
+ "graphics_id": "92",
+ "x": 22,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonMansion_1F_EventScript_1BE96A",
+ "flag": "416"
+ },
+ {
+ "graphics_id": "92",
+ "x": 27,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonMansion_1F_EventScript_1BEB65",
+ "flag": "458"
+ },
+ {
+ "graphics_id": "18",
+ "x": 8,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "PokemonMansion_1F_EventScript_16223D",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 33,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 8,
+ "y": 33,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 33,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 10,
+ "y": 13,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_2F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 25,
+ "y": 27,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_B1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 34,
+ "y": 33,
+ "elevation": 3,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 35,
+ "y": 34,
+ "elevation": 0,
+ "dest_map": "MAP_CINNABAR_ISLAND",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 19,
+ "y": 22,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_3F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 20,
+ "y": 22,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_3F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 11,
+ "y": 13,
+ "elevation": 0,
+ "dest_map": "MAP_POKEMON_MANSION_2F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 5,
+ "y": 5,
+ "elevation": 0,
+ "script": "PokemonMansion_1F_EventScript_162212"
+ },
+ {
+ "type": "hidden_item",
+ "x": 2,
+ "y": 21,
+ "elevation": 0,
+ "item": "ITEM_MOON_STONE",
+ "flag": "31",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PokemonMansion_1F/scripts.inc b/data/maps/PokemonMansion_1F/scripts.inc
new file mode 100644
index 000000000..d56f4ed71
--- /dev/null
+++ b/data/maps/PokemonMansion_1F/scripts.inc
@@ -0,0 +1,35 @@
+PokemonMansion_1F_MapScripts:: @ 81621F9
+ map_script 1, PokemonMansion_1F_MapScript1_162204
+ map_script 3, PokemonMansion_1F_MapScript2_16220E
+ .byte 0
+
+PokemonMansion_1F_MapScript1_162204:: @ 8162204
+ checkflag FLAG_0x26C
+ call_if 1, EventScript_1A7B7A
+ end
+
+PokemonMansion_1F_MapScript2_16220E:: @ 816220E
+ setworldmapflag 2221
+ end
+
+PokemonMansion_1F_EventScript_162212:: @ 8162212
+ lockall
+ setvar VAR_0x8004, 0
+ call EventScript_1A7AE2
+ playse SE_FU_ZAKU2
+ special DrawWholeMapView
+ waitse
+ releaseall
+ end
+
+PokemonMansion_1F_EventScript_162226:: @ 8162226
+ trainerbattle 0, 335, 0, Text_177364, Text_177391
+ loadword 0, gUnknown_8177397
+ callstd 6
+ end
+
+PokemonMansion_1F_EventScript_16223D:: @ 816223D
+ trainerbattle 0, 534, 0, Text_1773C6, Text_1773FD
+ loadword 0, gUnknown_8177418
+ callstd 6
+ end
diff --git a/data/maps/PokemonMansion_2F/map.json b/data/maps/PokemonMansion_2F/map.json
new file mode 100644
index 000000000..edfc69272
--- /dev/null
+++ b/data/maps/PokemonMansion_2F/map.json
@@ -0,0 +1,130 @@
+{
+ "id": "MAP_POKEMON_MANSION_2F",
+ "name": "PokemonMansion_2F",
+ "layout": "LAYOUT_POKEMON_MANSION_2F",
+ "music": "BGM_FRLG_POKEMON_MANSION",
+ "region_map_section": "MAPSEC_POKEMON_MANSION",
+ "requires_flash": false,
+ "weather": "WEATHER_11",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_3",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "52",
+ "x": 5,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "PokemonMansion_2F_EventScript_16228A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 36,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonMansion_2F_EventScript_1BE977",
+ "flag": "417"
+ },
+ {
+ "graphics_id": "92",
+ "x": 18,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonMansion_2F_EventScript_1BEB72",
+ "flag": "459"
+ },
+ {
+ "graphics_id": "92",
+ "x": 35,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonMansion_2F_EventScript_1BEB7F",
+ "flag": "460"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 9,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_3F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 34,
+ "y": 22,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_3F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 9,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_3F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 27,
+ "y": 17,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_3F",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 2,
+ "y": 16,
+ "elevation": 0,
+ "script": "PokemonMansion_2F_EventScript_162264"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 31,
+ "elevation": 0,
+ "script": "PokemonMansion_2F_EventScript_162281"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 25,
+ "y": 4,
+ "elevation": 0,
+ "script": "PokemonMansion_2F_EventScript_162278"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PokemonMansion_2F/scripts.inc b/data/maps/PokemonMansion_2F/scripts.inc
new file mode 100644
index 000000000..1181e8c86
--- /dev/null
+++ b/data/maps/PokemonMansion_2F/scripts.inc
@@ -0,0 +1,34 @@
+PokemonMansion_2F_MapScripts:: @ 8162254
+ map_script 1, PokemonMansion_2F_MapScript1_16225A
+ .byte 0
+
+PokemonMansion_2F_MapScript1_16225A:: @ 816225A
+ checkflag FLAG_0x26C
+ call_if 1, EventScript_1A7D3E
+ end
+
+PokemonMansion_2F_EventScript_162264:: @ 8162264
+ lockall
+ setvar VAR_0x8004, 1
+ call EventScript_1A7AE2
+ playse SE_FU_ZAKU2
+ special DrawWholeMapView
+ waitse
+ releaseall
+ end
+
+PokemonMansion_2F_EventScript_162278:: @ 8162278
+ loadword 0, gUnknown_817751F
+ callstd 3
+ end
+
+PokemonMansion_2F_EventScript_162281:: @ 8162281
+ loadword 0, gUnknown_8177574
+ callstd 3
+ end
+
+PokemonMansion_2F_EventScript_16228A:: @ 816228A
+ trainerbattle 0, 216, 0, Text_177498, Text_1774CB
+ loadword 0, gUnknown_81774E3
+ callstd 6
+ end
diff --git a/data/maps/PokemonMansion_3F/map.json b/data/maps/PokemonMansion_3F/map.json
new file mode 100644
index 000000000..cabb1dae5
--- /dev/null
+++ b/data/maps/PokemonMansion_3F/map.json
@@ -0,0 +1,153 @@
+{
+ "id": "MAP_POKEMON_MANSION_3F",
+ "name": "PokemonMansion_3F",
+ "layout": "LAYOUT_POKEMON_MANSION_3F",
+ "music": "BGM_FRLG_POKEMON_MANSION",
+ "region_map_section": "MAPSEC_POKEMON_MANSION",
+ "requires_flash": false,
+ "weather": "WEATHER_11",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_3",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "52",
+ "x": 7,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "PokemonMansion_3F_EventScript_1622CE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 22,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "PokemonMansion_3F_EventScript_1622E5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 9,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonMansion_3F_EventScript_1BE984",
+ "flag": "418"
+ },
+ {
+ "graphics_id": "92",
+ "x": 32,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonMansion_3F_EventScript_1BE991",
+ "flag": "419"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 34,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 11,
+ "y": 11,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_2F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 18,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_1F",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 19,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_1F",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 23,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_2F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 20,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_1F",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 24,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_2F",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 16,
+ "elevation": 0,
+ "script": "PokemonMansion_3F_EventScript_1622C5"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 12,
+ "y": 5,
+ "elevation": 0,
+ "script": "PokemonMansion_3F_EventScript_1622B1"
+ },
+ {
+ "type": "hidden_item",
+ "x": 36,
+ "y": 13,
+ "elevation": 3,
+ "item": "ITEM_RARE_CANDY",
+ "flag": "32",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PokemonMansion_3F/scripts.inc b/data/maps/PokemonMansion_3F/scripts.inc
new file mode 100644
index 000000000..291dd4649
--- /dev/null
+++ b/data/maps/PokemonMansion_3F/scripts.inc
@@ -0,0 +1,35 @@
+PokemonMansion_3F_MapScripts:: @ 81622A1
+ map_script 1, PokemonMansion_3F_MapScript1_1622A7
+ .byte 0
+
+PokemonMansion_3F_MapScript1_1622A7:: @ 81622A7
+ checkflag FLAG_0x26C
+ call_if 1, EventScript_1A7E72
+ end
+
+PokemonMansion_3F_EventScript_1622B1:: @ 81622B1
+ lockall
+ setvar VAR_0x8004, 2
+ call EventScript_1A7AE2
+ playse SE_FU_ZAKU2
+ special DrawWholeMapView
+ waitse
+ releaseall
+ end
+
+PokemonMansion_3F_EventScript_1622C5:: @ 81622C5
+ loadword 0, gUnknown_8177685
+ callstd 3
+ end
+
+PokemonMansion_3F_EventScript_1622CE:: @ 81622CE
+ trainerbattle 0, 218, 0, Text_1775E7, Text_177602
+ loadword 0, gUnknown_8177608
+ callstd 6
+ end
+
+PokemonMansion_3F_EventScript_1622E5:: @ 81622E5
+ trainerbattle 0, 346, 0, Text_177628, Text_177643
+ loadword 0, gUnknown_8177657
+ callstd 6
+ end
diff --git a/data/maps/PokemonMansion_B1F/map.json b/data/maps/PokemonMansion_B1F/map.json
new file mode 100644
index 000000000..b12b4fc61
--- /dev/null
+++ b/data/maps/PokemonMansion_B1F/map.json
@@ -0,0 +1,137 @@
+{
+ "id": "MAP_POKEMON_MANSION_B1F",
+ "name": "PokemonMansion_B1F",
+ "layout": "LAYOUT_POKEMON_MANSION_B1F",
+ "music": "BGM_FRLG_POKEMON_MANSION",
+ "region_map_section": "MAPSEC_POKEMON_MANSION",
+ "requires_flash": false,
+ "weather": "WEATHER_11",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_3",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 6,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonMansion_B1F_EventScript_1BE9B8",
+ "flag": "423"
+ },
+ {
+ "graphics_id": "52",
+ "x": 20,
+ "y": 25,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "PokemonMansion_B1F_EventScript_162329",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 34,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 6,
+ "script": "PokemonMansion_B1F_EventScript_162340",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 23,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonMansion_B1F_EventScript_1BE99E",
+ "flag": "420"
+ },
+ {
+ "graphics_id": "92",
+ "x": 2,
+ "y": 29,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonMansion_B1F_EventScript_1BE9AB",
+ "flag": "421"
+ },
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonMansion_B1F_EventScript_1BE9C5",
+ "flag": "424"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 34,
+ "y": 29,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_MANSION_1F",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 21,
+ "y": 27,
+ "elevation": 0,
+ "script": "PokemonMansion_B1F_EventScript_162320"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 24,
+ "y": 29,
+ "elevation": 0,
+ "script": "PokemonMansion_B1F_EventScript_16230C"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 27,
+ "y": 5,
+ "elevation": 0,
+ "script": "PokemonMansion_B1F_EventScript_16230C"
+ },
+ {
+ "type": "hidden_item",
+ "x": 35,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_ELIXIR",
+ "flag": "33",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PokemonMansion_B1F/scripts.inc b/data/maps/PokemonMansion_B1F/scripts.inc
new file mode 100644
index 000000000..3a5b974bd
--- /dev/null
+++ b/data/maps/PokemonMansion_B1F/scripts.inc
@@ -0,0 +1,35 @@
+PokemonMansion_B1F_MapScripts:: @ 81622FC
+ map_script 1, PokemonMansion_B1F_MapScript1_162302
+ .byte 0
+
+PokemonMansion_B1F_MapScript1_162302:: @ 8162302
+ checkflag FLAG_0x26C
+ call_if 1, EventScript_1A7F4C
+ end
+
+PokemonMansion_B1F_EventScript_16230C:: @ 816230C
+ lockall
+ setvar VAR_0x8004, 3
+ call EventScript_1A7AE2
+ playse SE_FU_ZAKU2
+ special DrawWholeMapView
+ waitse
+ releaseall
+ end
+
+PokemonMansion_B1F_EventScript_162320:: @ 8162320
+ loadword 0, gUnknown_8177798
+ callstd 3
+ end
+
+PokemonMansion_B1F_EventScript_162329:: @ 8162329
+ trainerbattle 0, 219, 0, Text_1776C0, Text_1776D7
+ loadword 0, gUnknown_81776DE
+ callstd 6
+ end
+
+PokemonMansion_B1F_EventScript_162340:: @ 8162340
+ trainerbattle 0, 347, 0, Text_177720, Text_177757
+ loadword 0, gUnknown_817776A
+ callstd 6
+ end
diff --git a/data/maps/PokemonTower_1F/map.json b/data/maps/PokemonTower_1F/map.json
new file mode 100644
index 000000000..0a7c0726f
--- /dev/null
+++ b/data/maps/PokemonTower_1F/map.json
@@ -0,0 +1,114 @@
+{
+ "id": "MAP_POKEMON_TOWER_1F",
+ "name": "PokemonTower_1F",
+ "layout": "LAYOUT_POKEMON_TOWER_1F",
+ "music": "BGM_FRLG_POKEMON_TOWER",
+ "region_map_section": "MAPSEC_POKEMON_TOWER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 5,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "48",
+ "x": 18,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_1F_EventScript_16327C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 18,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_1F_EventScript_16323F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_1F_EventScript_163248",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "31",
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_1F_EventScript_16325A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 8,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_1F_EventScript_163251",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 12,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_LAVENDER_TOWN",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 18,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_TOWER_2F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PokemonTower_1F/scripts.inc b/data/maps/PokemonTower_1F/scripts.inc
new file mode 100644
index 000000000..534901cf6
--- /dev/null
+++ b/data/maps/PokemonTower_1F/scripts.inc
@@ -0,0 +1,44 @@
+PokemonTower_1F_MapScripts:: @ 8163235
+ map_script 3, PokemonTower_1F_MapScript1_16323B
+ .byte 0
+
+PokemonTower_1F_MapScript1_16323B:: @ 816323B
+ setworldmapflag 2226
+ end
+
+PokemonTower_1F_EventScript_16323F:: @ 816323F
+ loadword 0, gUnknown_8179CAB
+ callstd 2
+ end
+
+PokemonTower_1F_EventScript_163248:: @ 8163248
+ loadword 0, gUnknown_8179C8C
+ callstd 2
+ end
+
+PokemonTower_1F_EventScript_163251:: @ 8163251
+ loadword 0, gUnknown_8179C41
+ callstd 2
+ end
+
+PokemonTower_1F_EventScript_16325A:: @ 816325A
+ lock
+ faceplayer
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_163272
+ loadword 0, gUnknown_8179BFC
+ callstd 4
+ release
+ end
+
+EventScript_163272:: @ 8163272
+ loadword 0, gUnknown_8179BB8
+ callstd 4
+ release
+ end
+
+PokemonTower_1F_EventScript_16327C:: @ 816327C
+ loadword 0, gUnknown_8179B7A
+ callstd 2
+ end
diff --git a/data/maps/PokemonTower_2F/map.json b/data/maps/PokemonTower_2F/map.json
new file mode 100644
index 000000000..1d83dc368
--- /dev/null
+++ b/data/maps/PokemonTower_2F/map.json
@@ -0,0 +1,80 @@
+{
+ "id": "MAP_POKEMON_TOWER_2F",
+ "name": "PokemonTower_2F",
+ "layout": "LAYOUT_POKEMON_TOWER_2F",
+ "music": "BGM_FRLG_POKEMON_TOWER",
+ "region_map_section": "MAPSEC_POKEMON_TOWER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 5,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "72",
+ "x": 16,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "81"
+ },
+ {
+ "graphics_id": "58",
+ "x": 3,
+ "y": 7,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_2F_EventScript_163286",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_TOWER_3F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 18,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_TOWER_1F",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 17,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x405D",
+ "var_value": 0,
+ "script": "PokemonTower_2F_EventScript_16328F"
+ },
+ {
+ "type": "trigger",
+ "x": 16,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x405D",
+ "var_value": 0,
+ "script": "PokemonTower_2F_EventScript_16329B"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PokemonTower_2F/scripts.inc b/data/maps/PokemonTower_2F/scripts.inc
new file mode 100644
index 000000000..68c3be0c0
--- /dev/null
+++ b/data/maps/PokemonTower_2F/scripts.inc
@@ -0,0 +1,111 @@
+PokemonTower_2F_MapScripts:: @ 8163285
+ .byte 0
+
+PokemonTower_2F_EventScript_163286:: @ 8163286
+ loadword 0, gUnknown_8179EAE
+ callstd 2
+ end
+
+PokemonTower_2F_EventScript_16328F:: @ 816328F
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_1632A7
+ end
+
+PokemonTower_2F_EventScript_16329B:: @ 816329B
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_1632A7
+ end
+
+EventScript_1632A7:: @ 81632A7
+ textcolor 0
+ playbgm BGM_FRLG_RIVAL, 0
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_163339
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16334B
+ applymovement 1, Movement_1A75DB
+ waitmovement 0
+ applymovement 1, Movement_1A75DD
+ waitmovement 0
+ loadword 0, gUnknown_8179CFF
+ callstd 4
+ setvar VAR_LAST_TALKED, 1
+ compare_var_to_value VAR_STARTER_MON, 2
+ call_if 1, EventScript_16335D
+ compare_var_to_value VAR_STARTER_MON, 1
+ call_if 1, EventScript_163368
+ compare_var_to_value VAR_STARTER_MON, 0
+ call_if 1, EventScript_163373
+ loadword 0, gUnknown_8179DD4
+ callstd 4
+ closemessage
+ playbgm BGM_FRLG_RIVAL_POSTBATTLE, 0
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16337E
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_163389
+ playse SE_KAIDAN
+ delay 25
+ fadedefaultbgm
+ removeobject 1
+ setvar VAR_0x405D, 1
+ releaseall
+ end
+
+EventScript_163339:: @ 8163339
+ applymovement 1, Movement_1A75EB
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ return
+
+EventScript_16334B:: @ 816334B
+ applymovement 1, Movement_1A75ED
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ return
+
+EventScript_16335D:: @ 816335D
+ trainerbattle 3, 429, 0, Text_179D73
+ return
+
+EventScript_163368:: @ 8163368
+ trainerbattle 3, 430, 0, Text_179D73
+ return
+
+EventScript_163373:: @ 8163373
+ trainerbattle 3, 431, 0, Text_179D73
+ return
+
+EventScript_16337E:: @ 816337E
+ applymovement 1, Movement_163394
+ waitmovement 0
+ return
+
+EventScript_163389:: @ 8163389
+ applymovement 1, Movement_16339D
+ waitmovement 0
+ return
+
+Movement_163394:: @ 8163394
+ step_10
+ step_13
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_30
+ step_end
+
+Movement_16339D:: @ 816339D
+ step_13
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_30
+ step_end
diff --git a/data/maps/PokemonTower_3F/map.json b/data/maps/PokemonTower_3F/map.json
new file mode 100644
index 000000000..e4109d22a
--- /dev/null
+++ b/data/maps/PokemonTower_3F/map.json
@@ -0,0 +1,87 @@
+{
+ "id": "MAP_POKEMON_TOWER_3F",
+ "name": "PokemonTower_3F",
+ "layout": "LAYOUT_POKEMON_TOWER_3F",
+ "music": "BGM_FRLG_POKEMON_TOWER",
+ "region_map_section": "MAPSEC_POKEMON_TOWER",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 5,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "58",
+ "x": 10,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "PokemonTower_3F_EventScript_1633A7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 9,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "PokemonTower_3F_EventScript_1633BE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 12,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "13",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "PokemonTower_3F_EventScript_1633D5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 13,
+ "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": "PokemonTower_3F_EventScript_1BE755",
+ "flag": "375"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_TOWER_2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 18,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_TOWER_4F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PokemonTower_3F/scripts.inc b/data/maps/PokemonTower_3F/scripts.inc
new file mode 100644
index 000000000..69ad8edac
--- /dev/null
+++ b/data/maps/PokemonTower_3F/scripts.inc
@@ -0,0 +1,20 @@
+PokemonTower_3F_MapScripts:: @ 81633A6
+ .byte 0
+
+PokemonTower_3F_EventScript_1633A7:: @ 81633A7
+ trainerbattle 0, 441, 0, Text_179FA0, Text_179FBC
+ loadword 0, gUnknown_8179FD3
+ callstd 6
+ end
+
+PokemonTower_3F_EventScript_1633BE:: @ 81633BE
+ trainerbattle 0, 442, 0, Text_179F62, Text_179F72
+ loadword 0, gUnknown_8179F88
+ callstd 6
+ end
+
+PokemonTower_3F_EventScript_1633D5:: @ 81633D5
+ trainerbattle 0, 443, 0, Text_179F09, Text_179F21
+ loadword 0, gUnknown_8179F31
+ callstd 6
+ end
diff --git a/data/maps/PokemonTower_4F/map.json b/data/maps/PokemonTower_4F/map.json
new file mode 100644
index 000000000..e9262ecba
--- /dev/null
+++ b/data/maps/PokemonTower_4F/map.json
@@ -0,0 +1,113 @@
+{
+ "id": "MAP_POKEMON_TOWER_4F",
+ "name": "PokemonTower_4F",
+ "layout": "LAYOUT_POKEMON_TOWER_4F",
+ "music": "BGM_FRLG_POKEMON_TOWER",
+ "region_map_section": "MAPSEC_POKEMON_TOWER",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 5,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "58",
+ "x": 17,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "PokemonTower_4F_EventScript_163404",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "PokemonTower_4F_EventScript_16341B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 4,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "PokemonTower_4F_EventScript_1633ED",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 12,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_4F_EventScript_1BE762",
+ "flag": "376"
+ },
+ {
+ "graphics_id": "92",
+ "x": 8,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_4F_EventScript_1BE76F",
+ "flag": "377"
+ },
+ {
+ "graphics_id": "92",
+ "x": 11,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_4F_EventScript_1BE77C",
+ "flag": "378"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_TOWER_5F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 18,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_TOWER_3F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PokemonTower_4F/scripts.inc b/data/maps/PokemonTower_4F/scripts.inc
new file mode 100644
index 000000000..ada885b73
--- /dev/null
+++ b/data/maps/PokemonTower_4F/scripts.inc
@@ -0,0 +1,20 @@
+PokemonTower_4F_MapScripts:: @ 81633EC
+ .byte 0
+
+PokemonTower_4F_EventScript_1633ED:: @ 81633ED
+ trainerbattle 0, 444, 0, Text_17A004, Text_17A017
+ loadword 0, gUnknown_817A02B
+ callstd 6
+ end
+
+PokemonTower_4F_EventScript_163404:: @ 8163404
+ trainerbattle 0, 445, 0, Text_17A046, Text_17A061
+ loadword 0, gUnknown_817A067
+ callstd 6
+ end
+
+PokemonTower_4F_EventScript_16341B:: @ 816341B
+ trainerbattle 0, 446, 0, Text_17A096, Text_17A0AB
+ loadword 0, gUnknown_817A0BB
+ callstd 6
+ end
diff --git a/data/maps/PokemonTower_5F/map.json b/data/maps/PokemonTower_5F/map.json
new file mode 100644
index 000000000..e44ded9f5
--- /dev/null
+++ b/data/maps/PokemonTower_5F/map.json
@@ -0,0 +1,290 @@
+{
+ "id": "MAP_POKEMON_TOWER_5F",
+ "name": "PokemonTower_5F",
+ "layout": "LAYOUT_POKEMON_TOWER_5F",
+ "music": "BGM_FRLG_POKEMON_TOWER",
+ "region_map_section": "MAPSEC_POKEMON_TOWER",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 5,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "58",
+ "x": 11,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "PokemonTower_5F_EventScript_163472",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 19,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "PokemonTower_5F_EventScript_16345B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 7,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "PokemonTower_5F_EventScript_163489",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 11,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "PokemonTower_5F_EventScript_1634A0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 12,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_5F_EventScript_163433",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 6,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_5F_EventScript_1BE789",
+ "flag": "379"
+ },
+ {
+ "graphics_id": "92",
+ "x": 11,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_5F_EventScript_1BEBB3",
+ "flag": "464"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_TOWER_4F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 18,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_TOWER_6F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "PokemonTower_5F_EventScript_16343C"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "PokemonTower_5F_EventScript_16343C"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "PokemonTower_5F_EventScript_16343C"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 9,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "PokemonTower_5F_EventScript_16343C"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 1,
+ "script": "PokemonTower_5F_EventScript_163453"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 9,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "PokemonTower_5F_EventScript_16343C"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 10,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "PokemonTower_5F_EventScript_16343C"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "PokemonTower_5F_EventScript_16343C"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 10,
+ "elevation": 0,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "PokemonTower_5F_EventScript_16343C"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 9,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 1,
+ "script": "PokemonTower_5F_EventScript_163453"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 10,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 1,
+ "script": "PokemonTower_5F_EventScript_163453"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 11,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 1,
+ "script": "PokemonTower_5F_EventScript_163453"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 11,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 1,
+ "script": "PokemonTower_5F_EventScript_163453"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 11,
+ "elevation": 0,
+ "var": "VAR_0x4001",
+ "var_value": 1,
+ "script": "PokemonTower_5F_EventScript_163453"
+ },
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 8,
+ "elevation": 0,
+ "var": "VAR_0x4001",
+ "var_value": 1,
+ "script": "PokemonTower_5F_EventScript_163453"
+ },
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 9,
+ "elevation": 0,
+ "var": "VAR_0x4001",
+ "var_value": 1,
+ "script": "PokemonTower_5F_EventScript_163453"
+ },
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 10,
+ "elevation": 0,
+ "var": "VAR_0x4001",
+ "var_value": 1,
+ "script": "PokemonTower_5F_EventScript_163453"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 7,
+ "y": 3,
+ "elevation": 3,
+ "item": "ITEM_BIG_MUSHROOM",
+ "flag": "14",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PokemonTower_5F/scripts.inc b/data/maps/PokemonTower_5F/scripts.inc
new file mode 100644
index 000000000..c7a7e7512
--- /dev/null
+++ b/data/maps/PokemonTower_5F/scripts.inc
@@ -0,0 +1,48 @@
+PokemonTower_5F_MapScripts:: @ 8163432
+ .byte 0
+
+PokemonTower_5F_EventScript_163433:: @ 8163433
+ loadword 0, gUnknown_817A0E3
+ callstd 2
+ end
+
+PokemonTower_5F_EventScript_16343C:: @ 816343C
+ lockall
+ fadescreen 3
+ special sp000_heal_pokemon
+ fadescreen 2
+ loadword 0, gUnknown_817A1FA
+ callstd 4
+ setvar VAR_0x4001, 1
+ releaseall
+ end
+
+PokemonTower_5F_EventScript_163453:: @ 8163453
+ lockall
+ setvar VAR_0x4001, 0
+ releaseall
+ end
+
+PokemonTower_5F_EventScript_16345B:: @ 816345B
+ trainerbattle 0, 447, 0, Text_17A11F, Text_17A132
+ loadword 0, gUnknown_817A138
+ callstd 6
+ end
+
+PokemonTower_5F_EventScript_163472:: @ 8163472
+ trainerbattle 0, 448, 0, Text_17A150, Text_17A164
+ loadword 0, gUnknown_817A176
+ callstd 6
+ end
+
+PokemonTower_5F_EventScript_163489:: @ 8163489
+ trainerbattle 0, 449, 0, Text_17A187, Text_17A190
+ loadword 0, gUnknown_817A194
+ callstd 6
+ end
+
+PokemonTower_5F_EventScript_1634A0:: @ 81634A0
+ trainerbattle 0, 450, 0, Text_17A1AA, Text_17A1B7
+ loadword 0, gUnknown_817A1BD
+ callstd 6
+ end
diff --git a/data/maps/PokemonTower_6F/map.json b/data/maps/PokemonTower_6F/map.json
new file mode 100644
index 000000000..8243176bb
--- /dev/null
+++ b/data/maps/PokemonTower_6F/map.json
@@ -0,0 +1,119 @@
+{
+ "id": "MAP_POKEMON_TOWER_6F",
+ "name": "PokemonTower_6F",
+ "layout": "LAYOUT_POKEMON_TOWER_6F",
+ "music": "BGM_FRLG_POKEMON_TOWER",
+ "region_map_section": "MAPSEC_POKEMON_TOWER",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 5,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "58",
+ "x": 13,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "PokemonTower_6F_EventScript_163514",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 18,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "PokemonTower_6F_EventScript_163542",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 9,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "PokemonTower_6F_EventScript_16352B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_6F_EventScript_1BE796",
+ "flag": "380"
+ },
+ {
+ "graphics_id": "92",
+ "x": 15,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_6F_EventScript_1BE7A3",
+ "flag": "381"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 16,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_TOWER_7F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 18,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_TOWER_5F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 15,
+ "elevation": 3,
+ "var": "VAR_0x4059",
+ "var_value": 0,
+ "script": "PokemonTower_6F_EventScript_1634B8"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 16,
+ "elevation": 3,
+ "var": "VAR_0x4059",
+ "var_value": 0,
+ "script": "PokemonTower_6F_EventScript_1634B8"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/PokemonTower_6F/scripts.inc b/data/maps/PokemonTower_6F/scripts.inc
new file mode 100644
index 000000000..17e67b0fa
--- /dev/null
+++ b/data/maps/PokemonTower_6F/scripts.inc
@@ -0,0 +1,56 @@
+PokemonTower_6F_MapScripts:: @ 81634B7
+ .byte 0
+
+PokemonTower_6F_EventScript_1634B8:: @ 81634B8
+ lockall
+ textcolor 2
+ loadword 0, gUnknown_817A2F8
+ callstd 4
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ setwildbattle SPECIES_MAROWAK, 30, ITEM_NONE
+ special sub_807F904
+ waitstate
+ special sub_8112364
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1634F5
+ applymovement 255, Movement_163512
+ waitmovement 0
+ releaseall
+ end
+
+EventScript_1634F5:: @ 81634F5
+ message Text_17A30C
+ waitmessage
+ waitse
+ playmoncry SPECIES_MAROWAK, 0
+ waitbuttonpress
+ waitmoncry
+ loadword 0, gUnknown_817A342
+ callstd 4
+ setvar VAR_0x4059, 1
+ releaseall
+ end
+
+Movement_163512:: @ 8163512
+ step_11
+ step_end
+
+PokemonTower_6F_EventScript_163514:: @ 8163514
+ trainerbattle 0, 451, 0, Text_17A243, Text_17A253
+ loadword 0, gUnknown_817A25A
+ callstd 6
+ end
+
+PokemonTower_6F_EventScript_16352B:: @ 816352B
+ trainerbattle 0, 452, 0, Text_17A272, Text_17A27F
+ loadword 0, gUnknown_817A293
+ callstd 6
+ end
+
+PokemonTower_6F_EventScript_163542:: @ 8163542
+ trainerbattle 0, 453, 0, Text_17A2C8, Text_17A2DC
+ loadword 0, gUnknown_817A2E2
+ callstd 6
+ end
diff --git a/data/maps/PokemonTower_7F/map.json b/data/maps/PokemonTower_7F/map.json
new file mode 100644
index 000000000..71ca0d08e
--- /dev/null
+++ b/data/maps/PokemonTower_7F/map.json
@@ -0,0 +1,90 @@
+{
+ "id": "MAP_POKEMON_TOWER_7F",
+ "name": "PokemonTower_7F",
+ "layout": "LAYOUT_POKEMON_TOWER_7F",
+ "music": "BGM_FRLG_POKEMON_TOWER",
+ "region_map_section": "MAPSEC_POKEMON_TOWER",
+ "requires_flash": false,
+ "weather": "WEATHER_6",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 5,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "78",
+ "x": 11,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PokemonTower_7F_EventScript_16355A",
+ "flag": "52"
+ },
+ {
+ "graphics_id": "49",
+ "x": 9,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "PokemonTower_7F_EventScript_163586",
+ "flag": "94"
+ },
+ {
+ "graphics_id": "49",
+ "x": 13,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "PokemonTower_7F_EventScript_16363D",
+ "flag": "131"
+ },
+ {
+ "graphics_id": "49",
+ "x": 9,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "PokemonTower_7F_EventScript_1636D6",
+ "flag": "132"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 16,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_TOWER_6F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 11,
+ "y": 4,
+ "elevation": 3,
+ "item": "ITEM_SOOTHE_BELL",
+ "flag": "159",
+ "unknown": 129
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PokemonTower_7F/scripts.inc b/data/maps/PokemonTower_7F/scripts.inc
new file mode 100644
index 000000000..29b281222
--- /dev/null
+++ b/data/maps/PokemonTower_7F/scripts.inc
@@ -0,0 +1,249 @@
+PokemonTower_7F_MapScripts:: @ 8163559
+ .byte 0
+
+PokemonTower_7F_EventScript_16355A:: @ 816355A
+ lock
+ faceplayer
+ setvar VAR_0x8004, 14
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ setflag FLAG_0x034
+ clearflag FLAG_0x035
+ setflag FLAG_0x23C
+ loadword 0, gUnknown_817A529
+ callstd 4
+ closemessage
+ warp MAP_LAVENDER_TOWN_VOLUNTEER_POKEMON_HOUSE, 255, 4, 7
+ waitstate
+ release
+ end
+
+PokemonTower_7F_EventScript_163586:: @ 8163586
+ trainerbattle 2, 369, 0, Text_17A380, Text_17A3A4, EventScript_1635A1
+ loadword 0, gUnknown_817A3AF
+ callstd 6
+ end
+
+EventScript_1635A1:: @ 81635A1
+ loadword 0, gUnknown_817A3AF
+ callstd 4
+ closemessage
+ getplayerxy VAR_0x8004, VAR_0x8005
+ compare_var_to_value VAR_0x8004, 10
+ goto_if 1, EventScript_1635E0
+ compare_var_to_value VAR_0x8004, 11
+ goto_if 1, EventScript_1635F0
+ compare_var_to_value VAR_0x8004, 9
+ goto_if 1, EventScript_163600
+ applymovement 2, Movement_16362C
+ waitmovement 0
+ goto EventScript_163616
+ end
+
+EventScript_1635E0:: @ 81635E0
+ applymovement 2, Movement_16361B
+ waitmovement 0
+ goto EventScript_163616
+ end
+
+EventScript_1635F0:: @ 81635F0
+ applymovement 2, Movement_163624
+ waitmovement 0
+ goto EventScript_163616
+ end
+
+EventScript_163600:: @ 8163600
+ applymovement 2, Movement_163633
+ waitmovement 0
+ playse SE_KAIDAN
+ delay 25
+ goto EventScript_163616
+ end
+
+EventScript_163616:: @ 8163616
+ removeobject 2
+ release
+ end
+
+Movement_16361B:: @ 816361B
+ step_10
+ step_13
+ step_10
+ step_10
+ step_10
+ step_13
+ step_10
+ step_10
+ step_end
+
+Movement_163624:: @ 8163624
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_10
+ step_10
+ step_end
+
+Movement_16362C:: @ 816362C
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_163633:: @ 8163633
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_10
+ step_10
+ step_2f
+ step_end
+
+PokemonTower_7F_EventScript_16363D:: @ 816363D
+ trainerbattle 2, 370, 0, Text_17A3CD, Text_17A466, EventScript_163658
+ loadword 0, gUnknown_817A477
+ callstd 6
+ end
+
+EventScript_163658:: @ 8163658
+ setvar VAR_0x8004, 14
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_817A477
+ callstd 4
+ closemessage
+ getplayerxy VAR_0x8004, VAR_0x8005
+ compare_var_to_value VAR_0x8004, 12
+ goto_if 1, EventScript_163699
+ compare_var_to_value VAR_0x8004, 13
+ goto_if 1, EventScript_1636A9
+ applymovement 3, Movement_1636C6
+ waitmovement 0
+ goto EventScript_1636B9
+ end
+
+EventScript_163699:: @ 8163699
+ applymovement 3, Movement_1636BE
+ waitmovement 0
+ goto EventScript_1636B9
+ end
+
+EventScript_1636A9:: @ 81636A9
+ applymovement 3, Movement_1636CD
+ waitmovement 0
+ goto EventScript_1636B9
+ end
+
+EventScript_1636B9:: @ 81636B9
+ removeobject 3
+ release
+ end
+
+Movement_1636BE:: @ 81636BE
+ step_10
+ step_10
+ step_10
+ step_12
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_1636C6:: @ 81636C6
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_1636CD:: @ 81636CD
+ step_12
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+PokemonTower_7F_EventScript_1636D6:: @ 81636D6
+ trainerbattle 2, 371, 0, Text_17A4CF, Text_17A4EE, EventScript_1636F1
+ loadword 0, gUnknown_817A506
+ callstd 6
+ end
+
+EventScript_1636F1:: @ 81636F1
+ loadword 0, gUnknown_817A506
+ callstd 4
+ closemessage
+ getplayerxy VAR_0x8004, VAR_0x8005
+ compare_var_to_value VAR_0x8004, 10
+ goto_if 1, EventScript_163725
+ compare_var_to_value VAR_0x8004, 9
+ goto_if 1, EventScript_163735
+ applymovement 4, Movement_163754
+ waitmovement 0
+ goto EventScript_163745
+ end
+
+EventScript_163725:: @ 8163725
+ applymovement 4, Movement_16374C
+ waitmovement 0
+ goto EventScript_163745
+ end
+
+EventScript_163735:: @ 8163735
+ applymovement 4, Movement_16375B
+ waitmovement 0
+ goto EventScript_163745
+ end
+
+EventScript_163745:: @ 8163745
+ removeobject 4
+ release
+ end
+
+EventScript_16374A:: @ 816374A
+ release
+ end
+
+Movement_16374C:: @ 816374C
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_10
+ step_end
+
+Movement_163754:: @ 8163754
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_16375B:: @ 816375B
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
diff --git a/data/maps/PowerPlant/map.json b/data/maps/PowerPlant/map.json
new file mode 100644
index 000000000..bc65392c2
--- /dev/null
+++ b/data/maps/PowerPlant/map.json
@@ -0,0 +1,179 @@
+{
+ "id": "MAP_POWER_PLANT",
+ "name": "PowerPlant",
+ "layout": "LAYOUT_POWER_PLANT",
+ "music": "BGM_FRLG_POKEMON_MANSION",
+ "region_map_section": "MAPSEC_POWER_PLANT",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_3",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 7,
+ "y": 27,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PowerPlant_EventScript_1BE91C",
+ "flag": "410"
+ },
+ {
+ "graphics_id": "92",
+ "x": 40,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PowerPlant_EventScript_1BE929",
+ "flag": "411"
+ },
+ {
+ "graphics_id": "92",
+ "x": 46,
+ "y": 37,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PowerPlant_EventScript_1BE936",
+ "flag": "412"
+ },
+ {
+ "graphics_id": "92",
+ "x": 45,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PowerPlant_EventScript_1BE943",
+ "flag": "413"
+ },
+ {
+ "graphics_id": "92",
+ "x": 26,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PowerPlant_EventScript_1BE950",
+ "flag": "414"
+ },
+ {
+ "graphics_id": "136",
+ "x": 5,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PowerPlant_EventScript_1637B8",
+ "flag": "93"
+ },
+ {
+ "graphics_id": "92",
+ "x": 36,
+ "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": "PowerPlant_EventScript_16388D",
+ "flag": "134"
+ },
+ {
+ "graphics_id": "92",
+ "x": 30,
+ "y": 38,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "PowerPlant_EventScript_16382F",
+ "flag": "133"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 39,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE10",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 5,
+ "y": 38,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE10",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 6,
+ "y": 39,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE10",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 1,
+ "y": 11,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE10",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 0,
+ "y": 13,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE10",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 29,
+ "y": 16,
+ "elevation": 3,
+ "item": "ITEM_MAX_ELIXIR",
+ "flag": "27",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 8,
+ "y": 12,
+ "elevation": 3,
+ "item": "ITEM_THUNDER_STONE",
+ "flag": "28",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/PowerPlant/scripts.inc b/data/maps/PowerPlant/scripts.inc
new file mode 100644
index 000000000..78878b456
--- /dev/null
+++ b/data/maps/PowerPlant/scripts.inc
@@ -0,0 +1,141 @@
+PowerPlant_MapScripts:: @ 8163764
+ map_script 5, PowerPlant_MapScript1_16376F
+ map_script 3, PowerPlant_MapScript2_16378D
+ .byte 0
+
+PowerPlant_MapScript1_16376F:: @ 816376F
+ checkflag 2055
+ call_if 1, EventScript_163779
+ end
+
+EventScript_163779:: @ 8163779
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 5, EventScript_1A77A9
+ removeobject VAR_LAST_TALKED
+ return
+
+PowerPlant_MapScript2_16378D:: @ 816378D
+ setworldmapflag 2228
+ checkflag FLAG_0x2BF
+ call_if 0, EventScript_1637AC
+ checkflag FLAG_0x2D0
+ call_if 0, EventScript_1637B0
+ checkflag FLAG_0x2D1
+ call_if 0, EventScript_1637B4
+ end
+
+EventScript_1637AC:: @ 81637AC
+ clearflag FLAG_0x05D
+ return
+
+EventScript_1637B0:: @ 81637B0
+ clearflag FLAG_0x085
+ return
+
+EventScript_1637B4:: @ 81637B4
+ clearflag FLAG_0x086
+ return
+
+PowerPlant_EventScript_1637B8:: @ 81637B8
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ faceplayer
+ setwildbattle SPECIES_ZAPDOS, 50, ITEM_NONE
+ waitse
+ playmoncry SPECIES_ZAPDOS, 2
+ message Text_1A6448
+ waitmessage
+ waitmoncry
+ delay 10
+ playbgm BGM_FRLG_LEADER_EYE, 0
+ waitbuttonpress
+ setflag 2055
+ special sub_807F9D8
+ waitstate
+ clearflag 2055
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16381B
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_163824
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_163824
+ setflag FLAG_0x2BF
+ release
+ end
+
+EventScript_16381B:: @ 816381B
+ setflag FLAG_0x2BF
+ goto EventScript_1A922D
+ end
+
+EventScript_163824:: @ 8163824
+ setvar VAR_0x8004, 145
+ goto EventScript_1A9236
+ end
+
+PowerPlant_EventScript_16382F:: @ 816382F
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ setwildbattle SPECIES_ELECTRODE, 34, ITEM_NONE
+ waitse
+ playmoncry SPECIES_ELECTRODE, 2
+ delay 40
+ waitmoncry
+ setflag 2055
+ dowildbattle
+ clearflag 2055
+ special sub_8112364
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_163884
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_163884
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_163884
+ setflag FLAG_0x2D0
+ release
+ end
+
+EventScript_163884:: @ 8163884
+ setflag FLAG_0x2D0
+ goto EventScript_1A922D
+ end
+
+PowerPlant_EventScript_16388D:: @ 816388D
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ setwildbattle SPECIES_ELECTRODE, 34, ITEM_NONE
+ waitse
+ playmoncry SPECIES_ELECTRODE, 2
+ delay 40
+ waitmoncry
+ setflag 2055
+ dowildbattle
+ clearflag 2055
+ special sub_8112364
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_1638E2
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_1638E2
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_1638E2
+ setflag FLAG_0x2D1
+ release
+ end
+
+EventScript_1638E2:: @ 81638E2
+ setflag FLAG_0x2D1
+ goto EventScript_1A922D
+ end
diff --git a/data/maps/RockTunnel_1F/map.json b/data/maps/RockTunnel_1F/map.json
new file mode 100644
index 000000000..d1e0c78f6
--- /dev/null
+++ b/data/maps/RockTunnel_1F/map.json
@@ -0,0 +1,201 @@
+{
+ "id": "MAP_ROCK_TUNNEL_1F",
+ "name": "RockTunnel_1F",
+ "layout": "LAYOUT_ROCK_TUNNEL_1F",
+ "music": "BGM_FRLG_MT_MOON",
+ "region_map_section": "MAPSEC_ROCK_TUNNEL",
+ "requires_flash": true,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "40",
+ "x": 26,
+ "y": 28,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "RockTunnel_1F_EventScript_162E73",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 39,
+ "y": 27,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "RockTunnel_1F_EventScript_162E5C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 45,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "RockTunnel_1F_EventScript_162E45",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 20,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "RockTunnel_1F_EventScript_162E17",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 5,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "RockTunnel_1F_EventScript_162E00",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 7,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "RockTunnel_1F_EventScript_162DE9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "52",
+ "x": 27,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "RockTunnel_1F_EventScript_162E2E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 37,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_1F_EventScript_1BEB0A",
+ "flag": "451"
+ },
+ {
+ "graphics_id": "92",
+ "x": 33,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_1F_EventScript_1BEB17",
+ "flag": "452"
+ },
+ {
+ "graphics_id": "92",
+ "x": 22,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_1F_EventScript_1BEB24",
+ "flag": "453"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 17,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE10",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 45,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_ROCK_TUNNEL_B1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_ROCK_TUNNEL_B1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 20,
+ "y": 13,
+ "elevation": 3,
+ "dest_map": "MAP_ROCK_TUNNEL_B1F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 45,
+ "y": 21,
+ "elevation": 3,
+ "dest_map": "MAP_ROCK_TUNNEL_B1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 18,
+ "y": 37,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE10",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 14,
+ "y": 33,
+ "elevation": 3,
+ "script": "RockTunnel_1F_EventScript_162DE0"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/RockTunnel_1F/scripts.inc b/data/maps/RockTunnel_1F/scripts.inc
new file mode 100644
index 000000000..f45f6d1f0
--- /dev/null
+++ b/data/maps/RockTunnel_1F/scripts.inc
@@ -0,0 +1,54 @@
+RockTunnel_1F_MapScripts:: @ 8162DD6
+ map_script 3, RockTunnel_1F_MapScript1_162DDC
+ .byte 0
+
+RockTunnel_1F_MapScript1_162DDC:: @ 8162DDC
+ setworldmapflag 2224
+ end
+
+RockTunnel_1F_EventScript_162DE0:: @ 8162DE0
+ loadword 0, gUnknown_817962D
+ callstd 3
+ end
+
+RockTunnel_1F_EventScript_162DE9:: @ 8162DE9
+ trainerbattle 0, 192, 0, Text_179366, Text_179388
+ loadword 0, gUnknown_8179396
+ callstd 6
+ end
+
+RockTunnel_1F_EventScript_162E00:: @ 8162E00
+ trainerbattle 0, 193, 0, Text_1793F1, Text_17940E
+ loadword 0, gUnknown_817943A
+ callstd 6
+ end
+
+RockTunnel_1F_EventScript_162E17:: @ 8162E17
+ trainerbattle 0, 194, 0, Text_17947B, Text_1794AC
+ loadword 0, gUnknown_81794B4
+ callstd 6
+ end
+
+RockTunnel_1F_EventScript_162E2E:: @ 8162E2E
+ trainerbattle 0, 168, 0, Text_1794D4, Text_1794EE
+ loadword 0, gUnknown_81794F9
+ callstd 6
+ end
+
+RockTunnel_1F_EventScript_162E45:: @ 8162E45
+ trainerbattle 0, 476, 0, Text_17951C, Text_179547
+ loadword 0, gUnknown_8179558
+ callstd 6
+ end
+
+RockTunnel_1F_EventScript_162E5C:: @ 8162E5C
+ trainerbattle 0, 475, 0, Text_1795E5, Text_179604
+ loadword 0, gUnknown_8179613
+ callstd 6
+ end
+
+RockTunnel_1F_EventScript_162E73:: @ 8162E73
+ trainerbattle 0, 474, 0, Text_179577, Text_1795A1
+ loadword 0, gUnknown_81795B5
+ callstd 6
+ end
diff --git a/data/maps/RockTunnel_B1F/map.json b/data/maps/RockTunnel_B1F/map.json
new file mode 100644
index 000000000..474efd82f
--- /dev/null
+++ b/data/maps/RockTunnel_B1F/map.json
@@ -0,0 +1,387 @@
+{
+ "id": "MAP_ROCK_TUNNEL_B1F",
+ "name": "RockTunnel_B1F",
+ "layout": "LAYOUT_ROCK_TUNNEL_B1F",
+ "music": "BGM_FRLG_MT_MOON",
+ "region_map_section": "MAPSEC_ROCK_TUNNEL",
+ "requires_flash": true,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "52",
+ "x": 2,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "RockTunnel_B1F_EventScript_162EFE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 5,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "RockTunnel_B1F_EventScript_162EB9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 11,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "RockTunnel_B1F_EventScript_162E8B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 36,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "RockTunnel_B1F_EventScript_162ED0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 41,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "RockTunnel_B1F_EventScript_162EE7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "52",
+ "x": 23,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "RockTunnel_B1F_EventScript_162F15",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 15,
+ "y": 33,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "RockTunnel_B1F_EventScript_162EA2",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "52",
+ "x": 29,
+ "y": 35,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "RockTunnel_B1F_EventScript_162F2C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 2,
+ "y": 29,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1C487E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 2,
+ "y": 37,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BEB31",
+ "flag": "454"
+ },
+ {
+ "graphics_id": "92",
+ "x": 9,
+ "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": "RockTunnel_B1F_EventScript_1BEB3E",
+ "flag": "455"
+ },
+ {
+ "graphics_id": "96",
+ "x": 1,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "96",
+ "x": 1,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "96",
+ "x": 4,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "96",
+ "x": 2,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "96",
+ "x": 39,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "22"
+ },
+ {
+ "graphics_id": "96",
+ "x": 42,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "23"
+ },
+ {
+ "graphics_id": "96",
+ "x": 43,
+ "y": 28,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "24"
+ },
+ {
+ "graphics_id": "96",
+ "x": 45,
+ "y": 30,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "25"
+ },
+ {
+ "graphics_id": "96",
+ "x": 45,
+ "y": 33,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "26"
+ },
+ {
+ "graphics_id": "96",
+ "x": 25,
+ "y": 1,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "27"
+ },
+ {
+ "graphics_id": "96",
+ "x": 27,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "28"
+ },
+ {
+ "graphics_id": "96",
+ "x": 23,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "29"
+ },
+ {
+ "graphics_id": "96",
+ "x": 26,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "30"
+ },
+ {
+ "graphics_id": "96",
+ "x": 24,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "31"
+ },
+ {
+ "graphics_id": "96",
+ "x": 27,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RockTunnel_B1F_EventScript_1BE00C",
+ "flag": "17"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 38,
+ "y": 28,
+ "elevation": 3,
+ "dest_map": "MAP_ROCK_TUNNEL_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 33,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_ROCK_TUNNEL_1F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 27,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_ROCK_TUNNEL_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 2,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_ROCK_TUNNEL_1F",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/RockTunnel_B1F/scripts.inc b/data/maps/RockTunnel_B1F/scripts.inc
new file mode 100644
index 000000000..40cf188f3
--- /dev/null
+++ b/data/maps/RockTunnel_B1F/scripts.inc
@@ -0,0 +1,50 @@
+RockTunnel_B1F_MapScripts:: @ 8162E8A
+ .byte 0
+
+RockTunnel_B1F_EventScript_162E8B:: @ 8162E8B
+ trainerbattle 0, 158, 0, Text_179657, Text_1796B9
+ loadword 0, gUnknown_81796CE
+ callstd 6
+ end
+
+RockTunnel_B1F_EventScript_162EA2:: @ 8162EA2
+ trainerbattle 0, 159, 0, Text_1798AD, Text_1798DD
+ loadword 0, gUnknown_81798E9
+ callstd 6
+ end
+
+RockTunnel_B1F_EventScript_162EB9:: @ 8162EB9
+ trainerbattle 0, 189, 0, Text_1796E1, Text_179700
+ loadword 0, gUnknown_8179712
+ callstd 6
+ end
+
+RockTunnel_B1F_EventScript_162ED0:: @ 8162ED0
+ trainerbattle 0, 190, 0, Text_179829, Text_179856
+ loadword 0, gUnknown_817987A
+ callstd 6
+ end
+
+RockTunnel_B1F_EventScript_162EE7:: @ 8162EE7
+ trainerbattle 0, 191, 0, Text_179916, Text_179932
+ loadword 0, gUnknown_817993E
+ callstd 6
+ end
+
+RockTunnel_B1F_EventScript_162EFE:: @ 8162EFE
+ trainerbattle 0, 164, 0, Text_17973A, Text_17975F
+ loadword 0, gUnknown_8179777
+ callstd 6
+ end
+
+RockTunnel_B1F_EventScript_162F15:: @ 8162F15
+ trainerbattle 0, 165, 0, Text_1797A4, Text_1797CB
+ loadword 0, gUnknown_81797DE
+ callstd 6
+ end
+
+RockTunnel_B1F_EventScript_162F2C:: @ 8162F2C
+ trainerbattle 0, 166, 0, Text_179968, Text_179997
+ loadword 0, gUnknown_81799AC
+ callstd 6
+ end
diff --git a/data/maps/RocketHideout_B1F/map.json b/data/maps/RocketHideout_B1F/map.json
new file mode 100644
index 000000000..6bcfd6dcb
--- /dev/null
+++ b/data/maps/RocketHideout_B1F/map.json
@@ -0,0 +1,164 @@
+{
+ "id": "MAP_ROCKET_HIDEOUT_B1F",
+ "name": "RocketHideout_B1F",
+ "layout": "LAYOUT_ROCKET_HIDEOUT_B1F",
+ "music": "BGM_FRLG_ROCKET_HIDEOUT",
+ "region_map_section": "MAPSEC_ROCKET_HIDEOUT",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": -1,
+ "battle_scene": "BATTLE_SCENE_3",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "RocketHideout_B1F_EventScript_1611C5",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "49",
+ "x": 24,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "RocketHideout_B1F_EventScript_1611AE",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "49",
+ "x": 6,
+ "y": 32,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "RocketHideout_B1F_EventScript_1611F3",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "49",
+ "x": 10,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "RocketHideout_B1F_EventScript_1611DC",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "49",
+ "x": 21,
+ "y": 27,
+ "elevation": 3,
+ "movement_type": "16",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "RocketHideout_B1F_EventScript_16120A",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "y": 16,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B1F_EventScript_1BE6C6",
+ "flag": "364"
+ },
+ {
+ "graphics_id": "92",
+ "x": 1,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B1F_EventScript_1BE6D3",
+ "flag": "365"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 12,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_CELADON_CITY_GAME_CORNER",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 17,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_ROCKET_HIDEOUT_B2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 15,
+ "y": 30,
+ "elevation": 3,
+ "dest_map": "MAP_ROCKET_HIDEOUT_B2F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 23,
+ "y": 25,
+ "elevation": 0,
+ "dest_map": "MAP_ROCKET_HIDEOUT_ELEVATOR",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 24,
+ "y": 25,
+ "elevation": 0,
+ "dest_map": "MAP_ROCKET_HIDEOUT_ELEVATOR",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 25,
+ "y": 25,
+ "elevation": 0,
+ "dest_map": "MAP_ROCKET_HIDEOUT_ELEVATOR",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 16,
+ "y": 17,
+ "elevation": 0,
+ "item": "ITEM_PP_UP",
+ "flag": "11",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/RocketHideout_B1F/scripts.inc b/data/maps/RocketHideout_B1F/scripts.inc
new file mode 100644
index 000000000..2704c6b79
--- /dev/null
+++ b/data/maps/RocketHideout_B1F/scripts.inc
@@ -0,0 +1,69 @@
+RocketHideout_B1F_MapScripts:: @ 8161195
+ map_script 1, RocketHideout_B1F_MapScript1_1611A0
+ map_script 3, RocketHideout_B1F_MapScript2_1611AA
+ .byte 0
+
+RocketHideout_B1F_MapScript1_1611A0:: @ 81611A0
+ checktrainerflag 362
+ call_if 0, EventScript_161233
+ end
+
+RocketHideout_B1F_MapScript2_1611AA:: @ 81611AA
+ setworldmapflag 2219
+ end
+
+RocketHideout_B1F_EventScript_1611AE:: @ 81611AE
+ trainerbattle 0, 358, 0, Text_174ECA, Text_174EED
+ loadword 0, gUnknown_8174EFA
+ callstd 6
+ end
+
+RocketHideout_B1F_EventScript_1611C5:: @ 81611C5
+ trainerbattle 0, 359, 0, Text_174F2C, Text_174F60
+ loadword 0, gUnknown_8174F66
+ callstd 6
+ end
+
+RocketHideout_B1F_EventScript_1611DC:: @ 81611DC
+ trainerbattle 0, 360, 0, Text_174F94, Text_174FA4
+ loadword 0, gUnknown_8174FB3
+ callstd 6
+ end
+
+RocketHideout_B1F_EventScript_1611F3:: @ 81611F3
+ trainerbattle 0, 361, 0, Text_174FE1, Text_174FF8
+ loadword 0, gUnknown_8175007
+ callstd 6
+ end
+
+RocketHideout_B1F_EventScript_16120A:: @ 816120A
+ trainerbattle 2, 362, 0, Text_17503A, Text_17505A, EventScript_161225
+ loadword 0, gUnknown_8175060
+ callstd 6
+ end
+
+EventScript_161225:: @ 8161225
+ call EventScript_16126A
+ playse SE_FU_ZAKU2
+ special DrawWholeMapView
+ waitse
+ release
+ end
+
+EventScript_161233:: @ 8161233
+ setmetatile 20, 19, 718, 1
+ setmetatile 21, 19, 719, 1
+ setmetatile 20, 20, 726, 1
+ setmetatile 21, 20, 727, 1
+ setmetatile 20, 21, 642, 0
+ setmetatile 21, 21, 642, 0
+ return
+
+EventScript_16126A:: @ 816126A
+ setmetatile 20, 19, 642, 0
+ setmetatile 21, 19, 641, 0
+ setmetatile 20, 20, 642, 0
+ setmetatile 21, 20, 641, 0
+ setmetatile 20, 21, 642, 0
+ setmetatile 21, 21, 641, 0
+ return
diff --git a/data/maps/RocketHideout_B2F/map.json b/data/maps/RocketHideout_B2F/map.json
new file mode 100644
index 000000000..a5b3bbe4b
--- /dev/null
+++ b/data/maps/RocketHideout_B2F/map.json
@@ -0,0 +1,121 @@
+{
+ "id": "MAP_ROCKET_HIDEOUT_B2F",
+ "name": "RocketHideout_B2F",
+ "layout": "LAYOUT_ROCKET_HIDEOUT_B2F",
+ "music": "BGM_FRLG_ROCKET_HIDEOUT",
+ "region_map_section": "MAPSEC_ROCKET_HIDEOUT",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": -2,
+ "battle_scene": "BATTLE_SCENE_3",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 20,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "RocketHideout_B2F_EventScript_1612A2",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "92",
+ "x": 15,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B2F_EventScript_1BE6E0",
+ "flag": "366"
+ },
+ {
+ "graphics_id": "92",
+ "x": 2,
+ "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": "RocketHideout_B2F_EventScript_1BE6ED",
+ "flag": "367"
+ },
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B2F_EventScript_1BE6FA",
+ "flag": "368"
+ },
+ {
+ "graphics_id": "92",
+ "x": 0,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B2F_EventScript_1BE707",
+ "flag": "369"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 21,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_ROCKET_HIDEOUT_B3F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 28,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_ROCKET_HIDEOUT_B1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 23,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_ROCKET_HIDEOUT_B1F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 28,
+ "y": 16,
+ "elevation": 0,
+ "dest_map": "MAP_ROCKET_HIDEOUT_ELEVATOR",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 29,
+ "y": 16,
+ "elevation": 0,
+ "dest_map": "MAP_ROCKET_HIDEOUT_ELEVATOR",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/RocketHideout_B2F/scripts.inc b/data/maps/RocketHideout_B2F/scripts.inc
new file mode 100644
index 000000000..e1f54c7ef
--- /dev/null
+++ b/data/maps/RocketHideout_B2F/scripts.inc
@@ -0,0 +1,8 @@
+RocketHideout_B2F_MapScripts:: @ 81612A1
+ .byte 0
+
+RocketHideout_B2F_EventScript_1612A2:: @ 81612A2
+ trainerbattle 0, 363, 0, Text_17508C, Text_1750BF
+ loadword 0, gUnknown_81750CC
+ callstd 6
+ end
diff --git a/data/maps/RocketHideout_B3F/map.json b/data/maps/RocketHideout_B3F/map.json
new file mode 100644
index 000000000..46a504ca0
--- /dev/null
+++ b/data/maps/RocketHideout_B3F/map.json
@@ -0,0 +1,110 @@
+{
+ "id": "MAP_ROCKET_HIDEOUT_B3F",
+ "name": "RocketHideout_B3F",
+ "layout": "LAYOUT_ROCKET_HIDEOUT_B3F",
+ "music": "BGM_FRLG_ROCKET_HIDEOUT",
+ "region_map_section": "MAPSEC_ROCKET_HIDEOUT",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": -3,
+ "battle_scene": "BATTLE_SCENE_3",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 19,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "RocketHideout_B3F_EventScript_1612D1",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "49",
+ "x": 2,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "RocketHideout_B3F_EventScript_1612BA",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "92",
+ "x": 12,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B3F_EventScript_1BE714",
+ "flag": "370"
+ },
+ {
+ "graphics_id": "92",
+ "x": 19,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B3F_EventScript_1BE721",
+ "flag": "371"
+ },
+ {
+ "graphics_id": "92",
+ "x": 14,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B3F_EventScript_1BEBCD",
+ "flag": "466"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 18,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_ROCKET_HIDEOUT_B2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 15,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_ROCKET_HIDEOUT_B4F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 1,
+ "y": 3,
+ "elevation": 3,
+ "item": "ITEM_NUGGET",
+ "flag": "12",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/RocketHideout_B3F/scripts.inc b/data/maps/RocketHideout_B3F/scripts.inc
new file mode 100644
index 000000000..b60e71b39
--- /dev/null
+++ b/data/maps/RocketHideout_B3F/scripts.inc
@@ -0,0 +1,14 @@
+RocketHideout_B3F_MapScripts:: @ 81612B9
+ .byte 0
+
+RocketHideout_B3F_EventScript_1612BA:: @ 81612BA
+ trainerbattle 0, 364, 0, Text_17511A, Text_17514A
+ loadword 0, gUnknown_817515B
+ callstd 6
+ end
+
+RocketHideout_B3F_EventScript_1612D1:: @ 81612D1
+ trainerbattle 0, 365, 0, Text_17519E, Text_1751CE
+ loadword 0, gUnknown_81751E0
+ callstd 6
+ end
diff --git a/data/maps/RocketHideout_B4F/map.json b/data/maps/RocketHideout_B4F/map.json
new file mode 100644
index 000000000..8f28dd94e
--- /dev/null
+++ b/data/maps/RocketHideout_B4F/map.json
@@ -0,0 +1,178 @@
+{
+ "id": "MAP_ROCKET_HIDEOUT_B4F",
+ "name": "RocketHideout_B4F",
+ "layout": "LAYOUT_ROCKET_HIDEOUT_B4F",
+ "music": "BGM_FRLG_ROCKET_HIDEOUT",
+ "region_map_section": "MAPSEC_ROCKET_HIDEOUT",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": -4,
+ "battle_scene": "BATTLE_SCENE_3",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "87",
+ "x": 19,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B4F_EventScript_161317",
+ "flag": "56"
+ },
+ {
+ "graphics_id": "92",
+ "x": 20,
+ "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": "RocketHideout_B4F_EventScript_161363",
+ "flag": "55"
+ },
+ {
+ "graphics_id": "49",
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "RocketHideout_B4F_EventScript_161381",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "92",
+ "x": 3,
+ "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": "RocketHideout_B4F_EventScript_1613AD",
+ "flag": "54"
+ },
+ {
+ "graphics_id": "49",
+ "x": 19,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B4F_EventScript_161418",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "49",
+ "x": 16,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B4F_EventScript_1613CE",
+ "flag": "173"
+ },
+ {
+ "graphics_id": "92",
+ "x": 1,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B4F_EventScript_1BE72E",
+ "flag": "372"
+ },
+ {
+ "graphics_id": "92",
+ "x": 4,
+ "y": 14,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B4F_EventScript_1BE73B",
+ "flag": "373"
+ },
+ {
+ "graphics_id": "92",
+ "x": 6,
+ "y": 23,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "RocketHideout_B4F_EventScript_1BE748",
+ "flag": "374"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_ROCKET_HIDEOUT_B3F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 20,
+ "y": 23,
+ "elevation": 0,
+ "dest_map": "MAP_ROCKET_HIDEOUT_ELEVATOR",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 21,
+ "y": 23,
+ "elevation": 0,
+ "dest_map": "MAP_ROCKET_HIDEOUT_ELEVATOR",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 22,
+ "y": 6,
+ "elevation": 3,
+ "item": "ITEM_NEST_BALL",
+ "flag": "13",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 16,
+ "y": 6,
+ "elevation": 3,
+ "item": "ITEM_NET_BALL",
+ "flag": "134",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/RocketHideout_B4F/scripts.inc b/data/maps/RocketHideout_B4F/scripts.inc
new file mode 100644
index 000000000..c61e0144c
--- /dev/null
+++ b/data/maps/RocketHideout_B4F/scripts.inc
@@ -0,0 +1,145 @@
+RocketHideout_B4F_MapScripts:: @ 81612E8
+ map_script 1, RocketHideout_B4F_MapScript1_1612EE
+ .byte 0
+
+RocketHideout_B4F_MapScript1_1612EE:: @ 81612EE
+ setvar VAR_0x4001, 0
+ checktrainerflag 366
+ call_if 1, EventScript_161311
+ checktrainerflag 367
+ call_if 1, EventScript_161311
+ compare_var_to_value VAR_0x4001, 2
+ call_if 5, EventScript_16146A
+ end
+
+EventScript_161311:: @ 8161311
+ addvar VAR_0x4001, 1
+ return
+
+RocketHideout_B4F_EventScript_161317:: @ 8161317
+ lock
+ faceplayer
+ setvar VAR_0x8004, 15
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ message Text_175226
+ waitmessage
+ playbgm BGM_FRLG_SUSPICIOUS_EYE, 0
+ waitbuttonpress
+ trainerbattle 3, 348, 0, Text_175318
+ loadword 0, gUnknown_817532D
+ callstd 4
+ fadescreen 1
+ closemessage
+ removeobject 1
+ addobject 2
+ clearflag FLAG_0x037
+ setflag FLAG_0x05F
+ setvar VAR_0x8004, 15
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ fadescreen 0
+ release
+ end
+
+RocketHideout_B4F_EventScript_161363:: @ 8161363
+ lock
+ faceplayer
+ removeobject 2
+ setorcopyvar VAR_0x8000, 359
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A6BF9
+ release
+ end
+
+RocketHideout_B4F_EventScript_161381:: @ 8161381
+ trainerbattle 2, 368, 0, Text_175488, Text_1754B9, EventScript_16139D
+ loadword 0, gUnknown_81754BD
+ callstd 4
+ release
+ end
+
+EventScript_16139D:: @ 816139D
+ loadword 0, gUnknown_81754BD
+ callstd 4
+ addobject 4
+ clearflag FLAG_0x036
+ release
+ end
+
+RocketHideout_B4F_EventScript_1613AD:: @ 81613AD
+ lock
+ faceplayer
+ setflag FLAG_0x2A5
+ removeobject 4
+ setorcopyvar VAR_0x8000, 356
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A6BF9
+ release
+ end
+
+RocketHideout_B4F_EventScript_1613CE:: @ 81613CE
+ trainerbattle 2, 366, 0, Text_1753D0, Text_1753FE, EventScript_1613E9
+ loadword 0, gUnknown_817540C
+ callstd 6
+ end
+
+EventScript_1613E9:: @ 81613E9
+ setvar VAR_0x4001, 0
+ checktrainerflag 366
+ call_if 1, EventScript_161311
+ checktrainerflag 367
+ call_if 1, EventScript_161311
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_1614A1
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_161462
+ release
+ end
+
+RocketHideout_B4F_EventScript_161418:: @ 8161418
+ trainerbattle 2, 367, 0, Text_175437, Text_175463, EventScript_161433
+ loadword 0, gUnknown_817546A
+ callstd 6
+ end
+
+EventScript_161433:: @ 8161433
+ setvar VAR_0x4001, 0
+ checktrainerflag 366
+ call_if 1, EventScript_161311
+ checktrainerflag 367
+ call_if 1, EventScript_161311
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_1614A1
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_161462
+ release
+ end
+
+EventScript_161462:: @ 8161462
+ playse SE_FU_ZAKU2
+ special DrawWholeMapView
+ waitse
+ return
+
+EventScript_16146A:: @ 816146A
+ setmetatile 17, 12, 718, 1
+ setmetatile 18, 12, 719, 1
+ setmetatile 17, 13, 726, 1
+ setmetatile 18, 13, 727, 1
+ setmetatile 17, 14, 642, 0
+ setmetatile 18, 14, 642, 0
+ return
+
+EventScript_1614A1:: @ 81614A1
+ setmetatile 17, 12, 642, 0
+ setmetatile 18, 12, 641, 0
+ setmetatile 17, 13, 642, 0
+ setmetatile 18, 13, 641, 0
+ setmetatile 17, 14, 642, 0
+ setmetatile 18, 14, 641, 0
+ return
diff --git a/data/maps/RocketHideout_Elevator/map.json b/data/maps/RocketHideout_Elevator/map.json
new file mode 100644
index 000000000..6b16ec8eb
--- /dev/null
+++ b/data/maps/RocketHideout_Elevator/map.json
@@ -0,0 +1,42 @@
+{
+ "id": "MAP_ROCKET_HIDEOUT_ELEVATOR",
+ "name": "RocketHideout_Elevator",
+ "layout": "LAYOUT_ROCKET_HIDEOUT_ELEVATOR",
+ "music": "BGM_FRLG_ROCKET_HIDEOUT",
+ "region_map_section": "MAPSEC_ROCKET_HIDEOUT",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_3",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ },
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 0,
+ "y": 2,
+ "elevation": 0,
+ "script": "RocketHideout_Elevator_EventScript_1614D9"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/RocketHideout_Elevator/scripts.inc b/data/maps/RocketHideout_Elevator/scripts.inc
new file mode 100644
index 000000000..9b504ac68
--- /dev/null
+++ b/data/maps/RocketHideout_Elevator/scripts.inc
@@ -0,0 +1,115 @@
+RocketHideout_Elevator_MapScripts:: @ 81614D8
+ .byte 0
+
+RocketHideout_Elevator_EventScript_1614D9:: @ 81614D9
+ lockall
+ checkflag FLAG_0x2A5
+ goto_if 0, EventScript_16161B
+ setvar VAR_0x8004, 2
+ checkflag FLAG_0x002
+ call_if 0, EventScript_1A7AB9
+ copyvar VAR_0x8005, VAR_0x403A
+ special sub_80CB580
+ message Text_1A535C
+ waitmessage
+ setvar VAR_0x8004, 2
+ specialvar VAR_RESULT, sub_80CB328
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_161530
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16153C
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_161548
+ end
+
+EventScript_161530:: @ 8161530
+ multichoicedefault 0, 0, 42, 0, 0
+ goto EventScript_161554
+
+EventScript_16153B:: @ 816153B
+ end
+
+EventScript_16153C:: @ 816153C
+ multichoicedefault 0, 0, 42, 1, 0
+ goto EventScript_161554
+
+EventScript_161547:: @ 8161547
+ end
+
+EventScript_161548:: @ 8161548
+ multichoicedefault 0, 0, 42, 2, 0
+ goto EventScript_161554
+
+EventScript_161553:: @ 8161553
+ end
+
+EventScript_161554:: @ 8161554
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_161591
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_1615B9
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_1615E1
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_161609
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_161609
+ end
+
+EventScript_161591:: @ 8161591
+ setvar VAR_0x8006, 3
+ setdynamicwarp MAP_ROCKET_HIDEOUT_B1F, 255, 24, 25
+ compare_var_to_value VAR_0x403A, 3
+ goto_if 1, EventScript_161609
+ call EventScript_16160E
+ setvar VAR_0x403A, 3
+ goto EventScript_161609
+
+EventScript_1615B8:: @ 81615B8
+ end
+
+EventScript_1615B9:: @ 81615B9
+ setvar VAR_0x8006, 2
+ setdynamicwarp MAP_ROCKET_HIDEOUT_B2F, 255, 28, 16
+ compare_var_to_value VAR_0x403A, 2
+ goto_if 1, EventScript_161609
+ call EventScript_16160E
+ setvar VAR_0x403A, 2
+ goto EventScript_161609
+
+EventScript_1615E0:: @ 81615E0
+ end
+
+EventScript_1615E1:: @ 81615E1
+ setvar VAR_0x8006, 0
+ setdynamicwarp MAP_ROCKET_HIDEOUT_B4F, 255, 20, 23
+ compare_var_to_value VAR_0x403A, 0
+ goto_if 1, EventScript_161609
+ call EventScript_16160E
+ setvar VAR_0x403A, 0
+ goto EventScript_161609
+
+EventScript_161608:: @ 8161608
+ end
+
+EventScript_161609:: @ 8161609
+ special sub_80CB63C
+ releaseall
+ end
+
+EventScript_16160E:: @ 816160E
+ special sub_80CB63C
+ closemessage
+ waitse
+ special sub_80CB498
+ waitstate
+ setflag FLAG_0x002
+ return
+
+EventScript_16161B:: @ 816161B
+ loadword 0, gUnknown_81754DD
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/Route1/map.json b/data/maps/Route1/map.json
new file mode 100644
index 000000000..8996e5b45
--- /dev/null
+++ b/data/maps/Route1/map.json
@@ -0,0 +1,65 @@
+{
+ "id": "MAP_ROUTE1",
+ "name": "Route1",
+ "layout": "LAYOUT_ROUTE1",
+ "music": "BGM_FRLG_ROUTE_1",
+ "region_map_section": "MAPSEC_ROUTE_1",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_VIRIDIAN_CITY",
+ "offset": -12,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_PALLET_TOWN",
+ "offset": 0,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "68",
+ "x": 6,
+ "y": 28,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route1_EventScript_167EFE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "19",
+ "x": 19,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 3,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route1_EventScript_167F52",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 31,
+ "elevation": 0,
+ "script": "Route1_EventScript_167F5B"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route1/scripts.inc b/data/maps/Route1/scripts.inc
new file mode 100644
index 000000000..00cca1d96
--- /dev/null
+++ b/data/maps/Route1/scripts.inc
@@ -0,0 +1,42 @@
+Route1_MapScripts:: @ 8167EFD
+ .byte 0
+
+Route1_EventScript_167EFE:: @ 8167EFE
+ lock
+ faceplayer
+ checkflag FLAG_0x230
+ goto_if 1, EventScript_167F48
+ loadword 0, gUnknown_818329D
+ callstd 4
+ textcolor 3
+ checkitemspace ITEM_POTION, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A6BF9
+ getitemname 1, ITEM_POTION
+ playfanfare MUS_FANFA1
+ message Text_1A51F6
+ waitmessage
+ waitfanfare
+ additem ITEM_POTION, 1
+ loadword 0, gUnknown_8183387
+ callstd 4
+ call EventScript_1A6675
+ setflag FLAG_0x230
+ release
+ end
+
+EventScript_167F48:: @ 8167F48
+ loadword 0, gUnknown_8183347
+ callstd 4
+ release
+ end
+
+Route1_EventScript_167F52:: @ 8167F52
+ loadword 0, gUnknown_81833B9
+ callstd 2
+ end
+
+Route1_EventScript_167F5B:: @ 8167F5B
+ loadword 0, gUnknown_818343A
+ callstd 3
+ end
diff --git a/data/maps/Route10/map.json b/data/maps/Route10/map.json
new file mode 100644
index 000000000..4314e572c
--- /dev/null
+++ b/data/maps/Route10/map.json
@@ -0,0 +1,264 @@
+{
+ "id": "MAP_ROUTE10",
+ "name": "Route10",
+ "layout": "LAYOUT_ROUTE10",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_10",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_LAVENDER_TOWN",
+ "offset": 0,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_ROUTE9",
+ "offset": 0,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "40",
+ "x": 7,
+ "y": 60,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route10_EventScript_1A9FE5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 4,
+ "y": 62,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route10_EventScript_1AA09F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "52",
+ "x": 15,
+ "y": 70,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route10_EventScript_1AA061",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 4,
+ "y": 68,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route10_EventScript_1AA0DD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "52",
+ "x": 13,
+ "y": 44,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route10_EventScript_1AA023",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 9,
+ "y": 27,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route10_EventScript_1A9FA7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 10,
+ "y": 20,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route10_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "95",
+ "x": 10,
+ "y": 22,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route10_EventScript_1BDF13",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "95",
+ "x": 10,
+ "y": 24,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route10_EventScript_1BDF13",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "95",
+ "x": 10,
+ "y": 26,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route10_EventScript_1BDF13",
+ "flag": "21"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_ROCK_TUNNEL_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 8,
+ "y": 57,
+ "elevation": 3,
+ "dest_map": "MAP_ROCK_TUNNEL_1F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 7,
+ "y": 40,
+ "elevation": 3,
+ "dest_map": "MAP_POWER_PLANT",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 13,
+ "y": 20,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE10_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 37,
+ "elevation": 3,
+ "dest_map": "MAP_POWER_PLANT",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 15,
+ "y": 59,
+ "elevation": 0,
+ "script": "Route10_EventScript_167FE4"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 42,
+ "elevation": 0,
+ "script": "Route10_EventScript_167FED"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 21,
+ "elevation": 0,
+ "script": "Route10_EventScript_167FDB"
+ },
+ {
+ "type": "hidden_item",
+ "x": 10,
+ "y": 19,
+ "elevation": 0,
+ "item": "ITEM_SUPER_POTION",
+ "flag": "9",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 12,
+ "y": 40,
+ "elevation": 3,
+ "item": "ITEM_MAX_ETHER",
+ "flag": "10",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 6,
+ "y": 26,
+ "elevation": 3,
+ "item": "ITEM_CHERI_BERRY",
+ "flag": "126",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 17,
+ "y": 29,
+ "elevation": 3,
+ "item": "ITEM_PERSIM_BERRY",
+ "flag": "125",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 20,
+ "y": 57,
+ "elevation": 3,
+ "item": "ITEM_NANAB_BERRY",
+ "flag": "151",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route10/scripts.inc b/data/maps/Route10/scripts.inc
new file mode 100644
index 000000000..b714312a2
--- /dev/null
+++ b/data/maps/Route10/scripts.inc
@@ -0,0 +1,20 @@
+Route10_MapScripts:: @ 8167FD9
+ .byte 0
+
+Route10_EventScript_167FDA:: @ 8167FDA
+ end
+
+Route10_EventScript_167FDB:: @ 8167FDB
+ loadword 0, gUnknown_8184EC5
+ callstd 3
+ end
+
+Route10_EventScript_167FE4:: @ 8167FE4
+ loadword 0, gUnknown_8184EE9
+ callstd 3
+ end
+
+Route10_EventScript_167FED:: @ 8167FED
+ loadword 0, gUnknown_8184EF5
+ callstd 3
+ end
diff --git a/data/maps/Route10_PokemonCenter_1F/map.json b/data/maps/Route10_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..868607faf
--- /dev/null
+++ b/data/maps/Route10_PokemonCenter_1F/map.json
@@ -0,0 +1,114 @@
+{
+ "id": "MAP_ROUTE10_POKEMON_CENTER_1F",
+ "name": "Route10_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_ROUTE_10",
+ "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": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route10_PokemonCenter_1F_EventScript_16FC41",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 9,
+ "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": "Route10_PokemonCenter_1F_EventScript_16FC53",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "27",
+ "x": 2,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route10_PokemonCenter_1F_EventScript_16FC4A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 14,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route10_PokemonCenter_1F_EventScript_16FC5C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 12,
+ "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": "Route10_PokemonCenter_1F_EventScript_16FC65",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE10",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE10",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE10",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_ROUTE10_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route10_PokemonCenter_1F/scripts.inc b/data/maps/Route10_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..b9fbf2cde
--- /dev/null
+++ b/data/maps/Route10_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,75 @@
+Route10_PokemonCenter_1F_MapScripts:: @ 816FC2F
+ map_script 3, Route10_PokemonCenter_1F_MapScript1_16FC3A
+ map_script 5, Route10_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+Route10_PokemonCenter_1F_MapScript1_16FC3A:: @ 816FC3A
+ setworldmapflag 2211
+ setrespawn 13
+ end
+
+Route10_PokemonCenter_1F_EventScript_16FC41:: @ 816FC41
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+Route10_PokemonCenter_1F_EventScript_16FC4A:: @ 816FC4A
+ loadword 0, gUnknown_819E59D
+ callstd 2
+ end
+
+Route10_PokemonCenter_1F_EventScript_16FC53:: @ 816FC53
+ loadword 0, gUnknown_819E523
+ callstd 2
+ end
+
+Route10_PokemonCenter_1F_EventScript_16FC5C:: @ 816FC5C
+ loadword 0, gUnknown_819E5D2
+ callstd 2
+ end
+
+Route10_PokemonCenter_1F_EventScript_16FC65:: @ 816FC65
+ lock
+ faceplayer
+ call EventScript_16FCF1
+ checkflag FLAG_0x2FA
+ goto_if 1, EventScript_16FCE7
+ loadword 0, gUnknown_819E5FB
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A7AD1
+ setvar VAR_0x8004, 0
+ specialvar VAR_RESULT, sub_80CA3D8
+ getnumberstring 2, VAR_0x8006
+ call EventScript_16FCF1
+ compare_var_to_value VAR_0x8006, 20
+ goto_if 0, EventScript_1A7ABD
+ loadword 0, gUnknown_819E733
+ callstd 4
+ checkitemspace ITEM_EVERSTONE, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A7AC7
+ additem ITEM_EVERSTONE, 1
+ loadword 0, gUnknown_819E786
+ setorcopyvar VAR_0x8000, 195
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x2FA
+ loadword 0, gUnknown_819E7AF
+ callstd 4
+ release
+ end
+
+EventScript_16FCE7:: @ 816FCE7
+ loadword 0, gUnknown_819E7AF
+ callstd 4
+ release
+ end
+
+EventScript_16FCF1:: @ 816FCF1
+ getnumberstring 0, 20
+ getitemname 1, ITEM_EVERSTONE
+ return
diff --git a/data/maps/Route10_PokemonCenter_2F/map.json b/data/maps/Route10_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..1f185774b
--- /dev/null
+++ b/data/maps/Route10_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_ROUTE10_POKEMON_CENTER_2F",
+ "name": "Route10_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_ROUTE_10",
+ "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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route10_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route10_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route10_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "Route10_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_ROUTE10_POKEMON_CENTER_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route10_PokemonCenter_2F/scripts.inc b/data/maps/Route10_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..26e646ed0
--- /dev/null
+++ b/data/maps/Route10_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+Route10_PokemonCenter_2F_MapScripts:: @ 816FCFA
+ map_script 2, Route10_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, Route10_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, Route10_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, Route10_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+Route10_PokemonCenter_2F_EventScript_16FD0F:: @ 816FD0F
+ call EventScript_1BB4A3
+ end
+
+EventScript_16FD15:: @ 816FD15
+ call EventScript_1BB6AB
+ end
+
+EventScript_16FD1B:: @ 816FD1B
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/Route11/map.json b/data/maps/Route11/map.json
new file mode 100644
index 000000000..6800fad19
--- /dev/null
+++ b/data/maps/Route11/map.json
@@ -0,0 +1,239 @@
+{
+ "id": "MAP_ROUTE11",
+ "name": "Route11",
+ "layout": "LAYOUT_ROUTE11",
+ "music": "BGM_FRLG_ROUTE_11",
+ "region_map_section": "MAPSEC_ROUTE_11",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_VERMILION_CITY",
+ "offset": -10,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_ROUTE12",
+ "offset": -60,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "18",
+ "x": 19,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route11_EventScript_1A9B0D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 16,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route11_EventScript_1A9C81",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 31,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "15",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route11_EventScript_1A9B4B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 28,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "40",
+ "movement_range_x": 8,
+ "movement_range_y": 4,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route11_EventScript_1A9BC7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 38,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route11_EventScript_1A9CBF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 50,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route11_EventScript_1A9D3B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 42,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route11_EventScript_1A9C05",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 50,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "25",
+ "movement_range_x": 1,
+ "movement_range_y": 4,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route11_EventScript_1A9B89",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 57,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route11_EventScript_1A9CFD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 32,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 6,
+ "script": "Route11_EventScript_1A9C43",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 42,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route11_EventScript_1BEAF0",
+ "flag": "449"
+ },
+ {
+ "graphics_id": "92",
+ "x": 63,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route11_EventScript_1BEB99",
+ "flag": "462"
+ },
+ {
+ "graphics_id": "92",
+ "x": 13,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route11_EventScript_1BEBA6",
+ "flag": "463"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_DIGLETTS_CAVE_SOUTH_ENTRANCE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 58,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE11_EAST_ENTRANCE_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 65,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE11_EAST_ENTRANCE_1F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "script": "Route11_EventScript_167FF7"
+ },
+ {
+ "type": "hidden_item",
+ "x": 58,
+ "y": 5,
+ "elevation": 0,
+ "item": "ITEM_ESCAPE_ROPE",
+ "flag": "41",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route11/scripts.inc b/data/maps/Route11/scripts.inc
new file mode 100644
index 000000000..5a369712e
--- /dev/null
+++ b/data/maps/Route11/scripts.inc
@@ -0,0 +1,7 @@
+Route11_MapScripts:: @ 8167FF6
+ .byte 0
+
+Route11_EventScript_167FF7:: @ 8167FF7
+ loadword 0, gUnknown_8185308
+ callstd 3
+ end
diff --git a/data/maps/Route11_EastEntrance_1F/map.json b/data/maps/Route11_EastEntrance_1F/map.json
new file mode 100644
index 000000000..701eef973
--- /dev/null
+++ b/data/maps/Route11_EastEntrance_1F/map.json
@@ -0,0 +1,82 @@
+{
+ "id": "MAP_ROUTE11_EAST_ENTRANCE_1F",
+ "name": "Route11_EastEntrance_1F",
+ "layout": "LAYOUT_ENTRANCE_1F",
+ "music": "BGM_FRLG_VERMILION_CITY",
+ "region_map_section": "MAPSEC_ROUTE_11",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "60",
+ "x": 6,
+ "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": "Route11_EastEntrance_1F_EventScript_16FD22",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "60",
+ "x": 4,
+ "y": 10,
+ "elevation": 0,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route11_EastEntrance_1F_EventScript_16FD2B",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE11",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 1,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE11",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 11,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE11",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 11,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE11",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 9,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE11_EAST_ENTRANCE_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route11_EastEntrance_1F/scripts.inc b/data/maps/Route11_EastEntrance_1F/scripts.inc
new file mode 100644
index 000000000..af3166665
--- /dev/null
+++ b/data/maps/Route11_EastEntrance_1F/scripts.inc
@@ -0,0 +1,12 @@
+Route11_EastEntrance_1F_MapScripts:: @ 816FD21
+ .byte 0
+
+Route11_EastEntrance_1F_EventScript_16FD22:: @ 816FD22
+ loadword 0, gUnknown_819E8A6
+ callstd 2
+ end
+
+Route11_EastEntrance_1F_EventScript_16FD2B:: @ 816FD2B
+ loadword 0, gUnknown_819E97B
+ callstd 2
+ end
diff --git a/data/maps/Route11_EastEntrance_2F/map.json b/data/maps/Route11_EastEntrance_2F/map.json
new file mode 100644
index 000000000..d8867ca6b
--- /dev/null
+++ b/data/maps/Route11_EastEntrance_2F/map.json
@@ -0,0 +1,69 @@
+{
+ "id": "MAP_ROUTE11_EAST_ENTRANCE_2F",
+ "name": "Route11_EastEntrance_2F",
+ "layout": "LAYOUT_ENTRANCE_2F",
+ "music": "BGM_FRLG_VERMILION_CITY",
+ "region_map_section": "MAPSEC_ROUTE_11",
+ "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": "18",
+ "x": 7,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route11_EastEntrance_2F_EventScript_16FD5C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 2,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route11_EastEntrance_2F_EventScript_16FDD8",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE11_EAST_ENTRANCE_1F",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "Route11_EastEntrance_2F_EventScript_16FD35"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 1,
+ "elevation": 0,
+ "script": "Route11_EastEntrance_2F_EventScript_16FD53"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route11_EastEntrance_2F/scripts.inc b/data/maps/Route11_EastEntrance_2F/scripts.inc
new file mode 100644
index 000000000..9b4451b23
--- /dev/null
+++ b/data/maps/Route11_EastEntrance_2F/scripts.inc
@@ -0,0 +1,109 @@
+Route11_EastEntrance_2F_MapScripts:: @ 816FD34
+ .byte 0
+
+Route11_EastEntrance_2F_EventScript_16FD35:: @ 816FD35
+ lockall
+ checkflag FLAG_0x253
+ goto_if 1, EventScript_16FD49
+ loadword 0, gUnknown_819EC8A
+ callstd 4
+ releaseall
+ end
+
+EventScript_16FD49:: @ 816FD49
+ loadword 0, gUnknown_819ECD9
+ callstd 4
+ releaseall
+ end
+
+Route11_EastEntrance_2F_EventScript_16FD53:: @ 816FD53
+ loadword 0, gUnknown_819ED1F
+ callstd 3
+ end
+
+Route11_EastEntrance_2F_EventScript_16FD5C:: @ 816FD5C
+ lock
+ faceplayer
+ setvar VAR_0x8008, 4
+ call EventScript_1A8CAD
+ checkflag FLAG_0x251
+ goto_if 1, EventScript_16FDCE
+ loadword 0, gUnknown_81A597B
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16FDB6
+ call EventScript_1A8CBD
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_16FDB6
+ call EventScript_1A8CC9
+ compare_var_to_var VAR_RESULT, VAR_0x8009
+ goto_if 5, EventScript_16FDC0
+ call EventScript_1A8CD9
+ loadword 0, gUnknown_81A59DA
+ callstd 4
+ setflag FLAG_0x251
+ release
+ end
+
+EventScript_16FDB6:: @ 816FDB6
+ loadword 0, gUnknown_81A59B6
+ callstd 4
+ release
+ end
+
+EventScript_16FDC0:: @ 816FDC0
+ getspeciesname 0, 32777
+ loadword 0, gUnknown_81A59C6
+ callstd 4
+ release
+ end
+
+EventScript_16FDCE:: @ 816FDCE
+ loadword 0, gUnknown_81A59E7
+ callstd 4
+ release
+ end
+
+Route11_EastEntrance_2F_EventScript_16FDD8:: @ 816FDD8
+ lock
+ faceplayer
+ call EventScript_16FE64
+ checkflag FLAG_0x252
+ goto_if 1, EventScript_16FE5A
+ loadword 0, gUnknown_819E9E5
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A7AD1
+ setvar VAR_0x8004, 0
+ specialvar VAR_RESULT, sub_80CA3D8
+ getnumberstring 2, VAR_0x8006
+ call EventScript_16FE64
+ compare_var_to_value VAR_0x8006, 30
+ goto_if 0, EventScript_1A7ABD
+ loadword 0, gUnknown_819EAE4
+ callstd 4
+ checkitemspace ITEM_ITEMFINDER, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A7AC7
+ additem ITEM_ITEMFINDER, 1
+ loadword 0, gUnknown_819EB37
+ setorcopyvar VAR_0x8000, 261
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x252
+ loadword 0, gUnknown_819EB59
+ callstd 4
+ release
+ end
+
+EventScript_16FE5A:: @ 816FE5A
+ loadword 0, gUnknown_819EB59
+ callstd 4
+ release
+ end
+
+EventScript_16FE64:: @ 816FE64
+ getnumberstring 0, 30
+ getitemname 1, ITEM_ITEMFINDER
+ return
diff --git a/data/maps/Route12/map.json b/data/maps/Route12/map.json
new file mode 100644
index 000000000..2b4da6469
--- /dev/null
+++ b/data/maps/Route12/map.json
@@ -0,0 +1,289 @@
+{
+ "id": "MAP_ROUTE12",
+ "name": "Route12",
+ "layout": "LAYOUT_ROUTE12",
+ "music": "BGM_FRLG_ROUTE_11",
+ "region_map_section": "MAPSEC_ROUTE_12",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_LAVENDER_TOWN",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE13",
+ "offset": -48,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_ROUTE11",
+ "offset": 60,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "57",
+ "x": 17,
+ "y": 32,
+ "elevation": 3,
+ "movement_type": "13",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route12_EventScript_1AA451",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "57",
+ "x": 9,
+ "y": 40,
+ "elevation": 3,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route12_EventScript_1AA48F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "57",
+ "x": 16,
+ "y": 47,
+ "elevation": 3,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route12_EventScript_1AA4CD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "57",
+ "x": 13,
+ "y": 59,
+ "elevation": 3,
+ "movement_type": "13",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route12_EventScript_1AA50B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "109",
+ "x": 14,
+ "y": 70,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route12_EventScript_168014",
+ "flag": "84"
+ },
+ {
+ "graphics_id": "26",
+ "x": 13,
+ "y": 92,
+ "elevation": 3,
+ "movement_type": "37",
+ "movement_range_x": 4,
+ "movement_range_y": 4,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route12_EventScript_1AA587",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 10,
+ "y": 99,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route12_EventScript_1AA5C5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "57",
+ "x": 18,
+ "y": 108,
+ "elevation": 3,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route12_EventScript_1AA549",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 11,
+ "y": 100,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route12_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "92",
+ "x": 18,
+ "y": 36,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route12_EventScript_1BE7B0",
+ "flag": "382"
+ },
+ {
+ "graphics_id": "92",
+ "x": 9,
+ "y": 101,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route12_EventScript_1BE7BD",
+ "flag": "383"
+ },
+ {
+ "graphics_id": "29",
+ "x": 19,
+ "y": 64,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route12_EventScript_1AA649",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 19,
+ "y": 63,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route12_EventScript_1AA603",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 12,
+ "y": 111,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route12_EventScript_1BDF13",
+ "flag": "19"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 12,
+ "y": 86,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE12_FISHING_HOUSE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 14,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE12_NORTH_ENTRANCE_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 15,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE12_NORTH_ENTRANCE_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 14,
+ "y": 21,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE12_NORTH_ENTRANCE_1F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 17,
+ "y": 13,
+ "elevation": 0,
+ "script": "Route12_EventScript_1680A3"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 15,
+ "y": 69,
+ "elevation": 0,
+ "script": "Route12_EventScript_1680AC"
+ },
+ {
+ "type": "hidden_item",
+ "x": 18,
+ "y": 57,
+ "elevation": 3,
+ "item": "ITEM_HYPER_POTION",
+ "flag": "42",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 14,
+ "y": 70,
+ "elevation": 3,
+ "item": "ITEM_LEFTOVERS",
+ "flag": "131",
+ "unknown": 129
+ },
+ {
+ "type": "hidden_item",
+ "x": 9,
+ "y": 116,
+ "elevation": 3,
+ "item": "ITEM_RARE_CANDY",
+ "flag": "130",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route12/scripts.inc b/data/maps/Route12/scripts.inc
new file mode 100644
index 000000000..4f587cdd5
--- /dev/null
+++ b/data/maps/Route12/scripts.inc
@@ -0,0 +1,72 @@
+Route12_MapScripts:: @ 8168000
+ map_script 5, Route12_MapScript1_168006
+ .byte 0
+
+Route12_MapScript1_168006:: @ 8168006
+ checkflag 2055
+ call_if 1, EventScript_168010
+ end
+
+EventScript_168010:: @ 8168010
+ removeobject VAR_LAST_TALKED
+ return
+
+Route12_EventScript_168014:: @ 8168014
+ lock
+ faceplayer
+ checkflag FLAG_0x23D
+ goto_if 0, EventScript_168099
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ loadword 0, gUnknown_81853CC
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16808D
+ call EventScript_1A924B
+ setwildbattle SPECIES_SNORLAX, 30, ITEM_NONE
+ waitse
+ playmoncry SPECIES_SNORLAX, 2
+ delay 40
+ waitmoncry
+ setflag FLAG_0x054
+ setflag 2055
+ setflag FLAG_0x253
+ dowildbattle
+ clearflag 2055
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16808F
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_16808F
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_16808F
+ release
+ end
+
+EventScript_16808D:: @ 816808D
+ release
+ end
+
+EventScript_16808F:: @ 816808F
+ loadword 0, gUnknown_8185383
+ callstd 4
+ release
+ end
+
+EventScript_168099:: @ 8168099
+ loadword 0, gUnknown_8185317
+ callstd 4
+ release
+ end
+
+Route12_EventScript_1680A3:: @ 81680A3
+ loadword 0, gUnknown_8185797
+ callstd 3
+ end
+
+Route12_EventScript_1680AC:: @ 81680AC
+ loadword 0, gUnknown_81857B3
+ callstd 3
+ end
diff --git a/data/maps/Route12_FishingHouse/map.json b/data/maps/Route12_FishingHouse/map.json
new file mode 100644
index 000000000..016bd3f4f
--- /dev/null
+++ b/data/maps/Route12_FishingHouse/map.json
@@ -0,0 +1,63 @@
+{
+ "id": "MAP_ROUTE12_FISHING_HOUSE",
+ "name": "Route12_FishingHouse",
+ "layout": "LAYOUT_HOUSE4",
+ "music": "BGM_FRLG_CELADON_CITY",
+ "region_map_section": "MAPSEC_ROUTE_12",
+ "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": "57",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route12_FishingHouse_EventScript_16FF0C",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE12",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE12",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE12",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "script": "Route12_FishingHouse_EventScript_170067"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route12_FishingHouse/scripts.inc b/data/maps/Route12_FishingHouse/scripts.inc
new file mode 100644
index 000000000..b1da71b49
--- /dev/null
+++ b/data/maps/Route12_FishingHouse/scripts.inc
@@ -0,0 +1,137 @@
+Route12_FishingHouse_MapScripts:: @ 816FF0B
+ .byte 0
+
+Route12_FishingHouse_EventScript_16FF0C:: @ 816FF0C
+ lock
+ faceplayer
+ checkflag FLAG_0x255
+ goto_if 1, EventScript_16FF7F
+ loadword 0, gUnknown_819EFE0
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16FF34
+ loadword 0, gUnknown_819F1FA
+ callstd 4
+ release
+ end
+
+EventScript_16FF34:: @ 816FF34
+ checkitemspace ITEM_SUPER_ROD, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16FF75
+ additem ITEM_SUPER_ROD, 1
+ loadword 0, gUnknown_819F05B
+ callstd 4
+ loadword 0, gUnknown_819F0B2
+ setorcopyvar VAR_0x8000, 264
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x255
+ loadword 0, gUnknown_819F0EB
+ callstd 4
+ release
+ end
+
+EventScript_16FF75:: @ 816FF75
+ loadword 0, gUnknown_819F494
+ callstd 4
+ release
+ end
+
+EventScript_16FF7F:: @ 816FF7F
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ setvar VAR_0x8004, 129
+ specialvar VAR_RESULT, sub_80CC48C
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16FFF5
+ special sub_80A096C
+ loadword 0, gUnknown_819F2DB
+ callstd 4
+ special sub_80BF8FC
+ waitstate
+ copyvar VAR_RESULT, VAR_0x8004
+ compare_var_to_value VAR_RESULT, 6
+ goto_if 4, EventScript_16FFFF
+ special sub_80A0984
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_170001
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_17000B
+ compare_var_to_value VAR_RESULT, 3
+ goto_if 1, EventScript_170031
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_17001E
+ release
+ end
+
+EventScript_16FFF5:: @ 816FFF5
+ loadword 0, gUnknown_819F217
+ callstd 4
+ release
+ end
+
+EventScript_16FFFF:: @ 816FFFF
+ release
+ end
+
+EventScript_170001:: @ 8170001
+ loadword 0, gUnknown_819F468
+ callstd 4
+ release
+ end
+
+EventScript_17000B:: @ 817000B
+ checkflag FLAG_0x29C
+ goto_if 0, EventScript_170031
+ loadword 0, gUnknown_819F40A
+ callstd 4
+ release
+ end
+
+EventScript_17001E:: @ 817001E
+ checkflag FLAG_0x29C
+ goto_if 0, EventScript_170031
+ loadword 0, gUnknown_819F3CB
+ callstd 4
+ release
+ end
+
+EventScript_170031:: @ 8170031
+ setflag FLAG_0x29C
+ loadword 0, gUnknown_819F31B
+ callstd 4
+ setorcopyvar VAR_0x8000, 6
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_17005D
+ loadword 0, gUnknown_819F395
+ callstd 4
+ release
+ end
+
+EventScript_17005D:: @ 817005D
+ loadword 0, gUnknown_819F494
+ callstd 4
+ release
+ end
+
+Route12_FishingHouse_EventScript_170067:: @ 8170067
+ lockall
+ checkflag FLAG_0x29C
+ goto_if 1, EventScript_17007B
+ loadword 0, gUnknown_819F50C
+ callstd 4
+ releaseall
+ end
+
+EventScript_17007B:: @ 817007B
+ special sub_80A096C
+ loadword 0, gUnknown_819F4CF
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/Route12_NorthEntrance_1F/map.json b/data/maps/Route12_NorthEntrance_1F/map.json
new file mode 100644
index 000000000..e712f5608
--- /dev/null
+++ b/data/maps/Route12_NorthEntrance_1F/map.json
@@ -0,0 +1,69 @@
+{
+ "id": "MAP_ROUTE12_NORTH_ENTRANCE_1F",
+ "name": "Route12_NorthEntrance_1F",
+ "layout": "LAYOUT_ROUTE12_NORTH_ENTRANCE_1F",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_12",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "60",
+ "x": 1,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route12_NorthEntrance_1F_EventScript_16FE6E",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE12",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE12",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 5,
+ "y": 11,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE12",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 6,
+ "y": 11,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE12",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 8,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE12_NORTH_ENTRANCE_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route12_NorthEntrance_1F/scripts.inc b/data/maps/Route12_NorthEntrance_1F/scripts.inc
new file mode 100644
index 000000000..19b7315df
--- /dev/null
+++ b/data/maps/Route12_NorthEntrance_1F/scripts.inc
@@ -0,0 +1,7 @@
+Route12_NorthEntrance_1F_MapScripts:: @ 816FE6D
+ .byte 0
+
+Route12_NorthEntrance_1F_EventScript_16FE6E:: @ 816FE6E
+ loadword 0, gUnknown_819EDA7
+ callstd 2
+ end
diff --git a/data/maps/Route12_NorthEntrance_2F/map.json b/data/maps/Route12_NorthEntrance_2F/map.json
new file mode 100644
index 000000000..8dd3a5404
--- /dev/null
+++ b/data/maps/Route12_NorthEntrance_2F/map.json
@@ -0,0 +1,56 @@
+{
+ "id": "MAP_ROUTE12_NORTH_ENTRANCE_2F",
+ "name": "Route12_NorthEntrance_2F",
+ "layout": "LAYOUT_ENTRANCE_2F",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_12",
+ "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": "22",
+ "x": 7,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route12_NorthEntrance_2F_EventScript_16FE8A",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE12_NORTH_ENTRANCE_1F",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "Route12_NorthEntrance_2F_EventScript_16FE78"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 1,
+ "elevation": 0,
+ "script": "Route12_NorthEntrance_2F_EventScript_16FE81"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route12_NorthEntrance_2F/scripts.inc b/data/maps/Route12_NorthEntrance_2F/scripts.inc
new file mode 100644
index 000000000..822f721f5
--- /dev/null
+++ b/data/maps/Route12_NorthEntrance_2F/scripts.inc
@@ -0,0 +1,59 @@
+Route12_NorthEntrance_2F_MapScripts:: @ 816FE77
+ .byte 0
+
+Route12_NorthEntrance_2F_EventScript_16FE78:: @ 816FE78
+ loadword 0, gUnknown_819EF5D
+ callstd 3
+ end
+
+Route12_NorthEntrance_2F_EventScript_16FE81:: @ 816FE81
+ loadword 0, gUnknown_819EFA0
+ callstd 3
+ end
+
+Route12_NorthEntrance_2F_EventScript_16FE8A:: @ 816FE8A
+ lock
+ faceplayer
+ checkflag FLAG_0x25B
+ goto_if 1, EventScript_16FF01
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_16FEE5
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_16FEEE
+ checkitemspace ITEM_TM27, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16FEF7
+ additem ITEM_TM27, 1
+ loadword 0, gUnknown_819EE9F
+ setorcopyvar VAR_0x8000, 315
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ loadword 0, gUnknown_819EEC6
+ callstd 4
+ setflag FLAG_0x25B
+ release
+ end
+
+EventScript_16FEE5:: @ 816FEE5
+ loadword 0, gUnknown_819EDE1
+ callstd 4
+ return
+
+EventScript_16FEEE:: @ 816FEEE
+ loadword 0, gUnknown_819EE40
+ callstd 4
+ return
+
+EventScript_16FEF7:: @ 816FEF7
+ loadword 0, gUnknown_819EF3F
+ callstd 4
+ release
+ end
+
+EventScript_16FF01:: @ 816FF01
+ loadword 0, gUnknown_819EEC6
+ callstd 4
+ release
+ end
diff --git a/data/maps/Route13/map.json b/data/maps/Route13/map.json
new file mode 100644
index 000000000..0417505f5
--- /dev/null
+++ b/data/maps/Route13/map.json
@@ -0,0 +1,205 @@
+{
+ "id": "MAP_ROUTE13",
+ "name": "Route13",
+ "layout": "LAYOUT_ROUTE13",
+ "music": "BGM_FRLG_ROUTE_11",
+ "region_map_section": "MAPSEC_ROUTE_13",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE12",
+ "offset": 48,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE14",
+ "offset": 0,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "40",
+ "x": 62,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route13_EventScript_1AA803",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 63,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route13_EventScript_1AA749",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 54,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route13_EventScript_1AA841",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "29",
+ "x": 42,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route13_EventScript_1AA70B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "29",
+ "x": 43,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route13_EventScript_1AA6CD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 35,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route13_EventScript_1AA87F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 29,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route13_EventScript_1AA8BD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 9,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route13_EventScript_1AA7C5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 16,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route13_EventScript_1AA787",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 14,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route13_EventScript_1AA68F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 44,
+ "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": "Route13_EventScript_1BDF13",
+ "flag": "18"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 41,
+ "y": 12,
+ "elevation": 0,
+ "script": "Route13_EventScript_1680C8"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 37,
+ "y": 6,
+ "elevation": 0,
+ "script": "Route13_EventScript_1680BF"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 21,
+ "y": 14,
+ "elevation": 0,
+ "script": "Route13_EventScript_1680B6"
+ },
+ {
+ "type": "hidden_item",
+ "x": 23,
+ "y": 14,
+ "elevation": 3,
+ "item": "ITEM_PP_UP",
+ "flag": "15",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route13/scripts.inc b/data/maps/Route13/scripts.inc
new file mode 100644
index 000000000..a2c8ca7c9
--- /dev/null
+++ b/data/maps/Route13/scripts.inc
@@ -0,0 +1,17 @@
+Route13_MapScripts:: @ 81680B5
+ .byte 0
+
+Route13_EventScript_1680B6:: @ 81680B6
+ loadword 0, gUnknown_8185DB7
+ callstd 3
+ end
+
+Route13_EventScript_1680BF:: @ 81680BF
+ loadword 0, gUnknown_8185DEF
+ callstd 3
+ end
+
+Route13_EventScript_1680C8:: @ 81680C8
+ loadword 0, gUnknown_8185E2C
+ callstd 3
+ end
diff --git a/data/maps/Route14/map.json b/data/maps/Route14/map.json
new file mode 100644
index 000000000..cdfb7882e
--- /dev/null
+++ b/data/maps/Route14/map.json
@@ -0,0 +1,252 @@
+{
+ "id": "MAP_ROUTE14",
+ "name": "Route14",
+ "layout": "LAYOUT_ROUTE14",
+ "music": "BGM_FRLG_ROUTE_11",
+ "region_map_section": "MAPSEC_ROUTE_14",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE15",
+ "offset": 40,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_ROUTE13",
+ "offset": 0,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "53",
+ "x": 7,
+ "y": 37,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route14_EventScript_1AA9B5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 18,
+ "y": 35,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AA9F3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 10,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route14_EventScript_1AAAEB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 16,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route14_EventScript_1AAB29",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 7,
+ "y": 31,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route14_EventScript_1AA977",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 7,
+ "y": 34,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route14_EventScript_1AA8FB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 8,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AAAAD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 7,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AAA6F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 10,
+ "y": 37,
+ "elevation": 3,
+ "movement_type": "25",
+ "movement_range_x": 1,
+ "movement_range_y": 6,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AA939",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 18,
+ "y": 47,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AAA31",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 7,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route14_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "95",
+ "x": 12,
+ "y": 35,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route14_EventScript_1BDF13",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "95",
+ "x": 1,
+ "y": 47,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route14_EventScript_1BDF13",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "17",
+ "x": 13,
+ "y": 51,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AABAD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 12,
+ "y": 51,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AAB67",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 17,
+ "y": 12,
+ "elevation": 0,
+ "script": "Route14_EventScript_1680D2"
+ },
+ {
+ "type": "hidden_item",
+ "x": 9,
+ "y": 20,
+ "elevation": 3,
+ "item": "ITEM_ZINC",
+ "flag": "149",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 19,
+ "y": 53,
+ "elevation": 3,
+ "item": "ITEM_PINAP_BERRY",
+ "flag": "157",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route14/scripts.inc b/data/maps/Route14/scripts.inc
new file mode 100644
index 000000000..20cc90520
--- /dev/null
+++ b/data/maps/Route14/scripts.inc
@@ -0,0 +1,7 @@
+Route14_MapScripts:: @ 81680D1
+ .byte 0
+
+Route14_EventScript_1680D2:: @ 81680D2
+ loadword 0, gUnknown_8186399
+ callstd 3
+ end
diff --git a/data/maps/Route15/map.json b/data/maps/Route15/map.json
new file mode 100644
index 000000000..213b89fdc
--- /dev/null
+++ b/data/maps/Route15/map.json
@@ -0,0 +1,236 @@
+{
+ "id": "MAP_ROUTE15",
+ "name": "Route15",
+ "layout": "LAYOUT_ROUTE15",
+ "music": "BGM_FRLG_ROUTE_11",
+ "region_map_section": "MAPSEC_ROUTE_15",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_FUCHSIA_CITY",
+ "offset": -10,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_ROUTE14",
+ "offset": -40,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "40",
+ "x": 22,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route15_EventScript_1AAD67",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 31,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route15_EventScript_1AACEB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 37,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route15_EventScript_1AAD29",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 44,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route15_EventScript_1AADA5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "29",
+ "x": 50,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route15_EventScript_1AACAD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 59,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "18",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route15_EventScript_1AAC31",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 63,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "13",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route15_EventScript_1AABF3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 52,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 4,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route15_EventScript_1AADE3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "29",
+ "x": 54,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route15_EventScript_1AAC6F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 28,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 4,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route15_EventScript_1AAE21",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 20,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route15_EventScript_1BE7CA",
+ "flag": "384"
+ },
+ {
+ "graphics_id": "54",
+ "x": 39,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route15_EventScript_1AAEA5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "24",
+ "x": 40,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route15_EventScript_1AAE5F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65375",
+ "x": 73,
+ "y": 7,
+ "elevation": 13,
+ "movement_type": "0",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 32,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "0x0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 9,
+ "y": 11,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE15_WEST_ENTRANCE_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 16,
+ "y": 11,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE15_WEST_ENTRANCE_1F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 41,
+ "y": 11,
+ "elevation": 0,
+ "script": "Route15_EventScript_1680DC"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route15/scripts.inc b/data/maps/Route15/scripts.inc
new file mode 100644
index 000000000..2f19dbbcc
--- /dev/null
+++ b/data/maps/Route15/scripts.inc
@@ -0,0 +1,7 @@
+Route15_MapScripts:: @ 81680DB
+ .byte 0
+
+Route15_EventScript_1680DC:: @ 81680DC
+ loadword 0, gUnknown_8186A77
+ callstd 3
+ end
diff --git a/data/maps/Route15_WestEntrance_1F/map.json b/data/maps/Route15_WestEntrance_1F/map.json
new file mode 100644
index 000000000..d39ee196e
--- /dev/null
+++ b/data/maps/Route15_WestEntrance_1F/map.json
@@ -0,0 +1,69 @@
+{
+ "id": "MAP_ROUTE15_WEST_ENTRANCE_1F",
+ "name": "Route15_WestEntrance_1F",
+ "layout": "LAYOUT_ENTRANCE_1F",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_15",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "60",
+ "x": 6,
+ "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": "Route15_WestEntrance_1F_EventScript_170089",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE15",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 1,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE15",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE15",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 11,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE15",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 9,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE15_WEST_ENTRANCE_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route15_WestEntrance_1F/scripts.inc b/data/maps/Route15_WestEntrance_1F/scripts.inc
new file mode 100644
index 000000000..32085e1e7
--- /dev/null
+++ b/data/maps/Route15_WestEntrance_1F/scripts.inc
@@ -0,0 +1,7 @@
+Route15_WestEntrance_1F_MapScripts:: @ 8170088
+ .byte 0
+
+Route15_WestEntrance_1F_EventScript_170089:: @ 8170089
+ loadword 0, gUnknown_819F560
+ callstd 2
+ end
diff --git a/data/maps/Route15_WestEntrance_2F/map.json b/data/maps/Route15_WestEntrance_2F/map.json
new file mode 100644
index 000000000..6be75b750
--- /dev/null
+++ b/data/maps/Route15_WestEntrance_2F/map.json
@@ -0,0 +1,56 @@
+{
+ "id": "MAP_ROUTE15_WEST_ENTRANCE_2F",
+ "name": "Route15_WestEntrance_2F",
+ "layout": "LAYOUT_ENTRANCE_2F",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_15",
+ "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": "55",
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route15_WestEntrance_2F_EventScript_1700B9",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE15_WEST_ENTRANCE_1F",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "Route15_WestEntrance_2F_EventScript_170093"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 1,
+ "elevation": 0,
+ "script": "Route15_WestEntrance_2F_EventScript_1700B0"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route15_WestEntrance_2F/scripts.inc b/data/maps/Route15_WestEntrance_2F/scripts.inc
new file mode 100644
index 000000000..67ccc5214
--- /dev/null
+++ b/data/maps/Route15_WestEntrance_2F/scripts.inc
@@ -0,0 +1,64 @@
+Route15_WestEntrance_2F_MapScripts:: @ 8170092
+ .byte 0
+
+Route15_WestEntrance_2F_EventScript_170093:: @ 8170093
+ lockall
+ loadword 0, gUnknown_819F79C
+ callstd 4
+ drawmonpic SPECIES_ARTICUNO, 10, 3
+ delay 20
+ waitbuttonpress
+ erasemonpic
+ setvar VAR_0x8004, 144
+ special sub_80CBDCC
+ releaseall
+ end
+
+Route15_WestEntrance_2F_EventScript_1700B0:: @ 81700B0
+ loadword 0, gUnknown_819F7F8
+ callstd 3
+ end
+
+Route15_WestEntrance_2F_EventScript_1700B9:: @ 81700B9
+ lock
+ faceplayer
+ call EventScript_170145
+ checkflag FLAG_0x256
+ goto_if 1, EventScript_17013B
+ loadword 0, gUnknown_819F5AB
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A7AD1
+ setvar VAR_0x8004, 0
+ specialvar VAR_RESULT, sub_80CA3D8
+ getnumberstring 2, VAR_0x8006
+ call EventScript_170145
+ compare_var_to_value VAR_0x8006, 50
+ goto_if 0, EventScript_1A7ABD
+ loadword 0, gUnknown_819F6AA
+ callstd 4
+ checkitemspace ITEM_EXP_SHARE, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A7AC7
+ additem ITEM_EXP_SHARE, 1
+ loadword 0, gUnknown_819F6FD
+ setorcopyvar VAR_0x8000, 182
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x256
+ loadword 0, gUnknown_819F71F
+ callstd 4
+ release
+ end
+
+EventScript_17013B:: @ 817013B
+ loadword 0, gUnknown_819F71F
+ callstd 4
+ release
+ end
+
+EventScript_170145:: @ 8170145
+ getnumberstring 0, 50
+ getitemname 1, ITEM_EXP_SHARE
+ return
diff --git a/data/maps/Route16/map.json b/data/maps/Route16/map.json
new file mode 100644
index 000000000..a8dd02f92
--- /dev/null
+++ b/data/maps/Route16/map.json
@@ -0,0 +1,221 @@
+{
+ "id": "MAP_ROUTE16",
+ "name": "Route16",
+ "layout": "LAYOUT_ROUTE16",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_16",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE17",
+ "offset": 0,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_CELADON_CITY",
+ "offset": -10,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "53",
+ "x": 16,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route16_EventScript_1AAEEB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 14,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route16_EventScript_1AAFA5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 12,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route16_EventScript_1AAFE3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 8,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route16_EventScript_1AAF67",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 10,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route16_EventScript_1AAF29",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 6,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route16_EventScript_1AB021",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 41,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route16_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "29",
+ "x": 30,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route16_EventScript_1AB0A5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 31,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route16_EventScript_1AB05F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "109",
+ "x": 31,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route16_EventScript_168121",
+ "flag": "128"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE16_HOUSE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 20,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16_NORTH_ENTRANCE_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 27,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16_NORTH_ENTRANCE_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 20,
+ "y": 13,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16_NORTH_ENTRANCE_1F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 27,
+ "y": 13,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16_NORTH_ENTRANCE_1F",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 17,
+ "elevation": 0,
+ "script": "Route16_EventScript_1681B6"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 33,
+ "y": 11,
+ "elevation": 0,
+ "script": "Route16_EventScript_1681AD"
+ },
+ {
+ "type": "hidden_item",
+ "x": 31,
+ "y": 13,
+ "elevation": 3,
+ "item": "ITEM_LEFTOVERS",
+ "flag": "132",
+ "unknown": 129
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route16/scripts.inc b/data/maps/Route16/scripts.inc
new file mode 100644
index 000000000..e06522f56
--- /dev/null
+++ b/data/maps/Route16/scripts.inc
@@ -0,0 +1,90 @@
+Route16_MapScripts:: @ 81680E5
+ map_script 5, Route16_MapScript1_1680F5
+ map_script 3, Route16_MapScript2_168103
+ map_script 4, Route16_MapScript3_168113
+ .byte 0
+
+Route16_MapScript1_1680F5:: @ 81680F5
+ checkflag 2055
+ call_if 1, EventScript_1680FF
+ end
+
+EventScript_1680FF:: @ 81680FF
+ removeobject VAR_LAST_TALKED
+ return
+
+Route16_MapScript2_168103:: @ 8168103
+ compare_var_to_value VAR_0x405E, 1
+ call_if 1, EventScript_16810F
+ end
+
+EventScript_16810F:: @ 816810F
+ setflag 2096
+ return
+
+Route16_MapScript3_168113:: @ 8168113
+ map_script_2 VAR_0x405E, 1, EventScript_16811D
+ .2byte 0
+
+EventScript_16811D:: @ 816811D
+ special sub_80CA630
+ end
+
+Route16_EventScript_168121:: @ 8168121
+ lock
+ faceplayer
+ checkflag FLAG_0x23D
+ goto_if 0, EventScript_1681A3
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ loadword 0, gUnknown_81853CC
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_168197
+ call EventScript_1A924B
+ setwildbattle SPECIES_SNORLAX, 30, ITEM_NONE
+ waitse
+ playmoncry SPECIES_SNORLAX, 2
+ delay 40
+ waitmoncry
+ setflag FLAG_0x080
+ setflag 2055
+ dowildbattle
+ clearflag 2055
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_168199
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_168199
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_168199
+ release
+ end
+
+EventScript_168197:: @ 8168197
+ release
+ end
+
+EventScript_168199:: @ 8168199
+ loadword 0, gUnknown_8185383
+ callstd 4
+ release
+ end
+
+EventScript_1681A3:: @ 81681A3
+ loadword 0, gUnknown_8186F3D
+ callstd 4
+ release
+ end
+
+Route16_EventScript_1681AD:: @ 81681AD
+ loadword 0, gUnknown_8186F7A
+ callstd 3
+ end
+
+Route16_EventScript_1681B6:: @ 81681B6
+ loadword 0, gUnknown_8186F98
+ callstd 3
+ end
diff --git a/data/maps/Route16_House/map.json b/data/maps/Route16_House/map.json
new file mode 100644
index 000000000..890b5d9f4
--- /dev/null
+++ b/data/maps/Route16_House/map.json
@@ -0,0 +1,68 @@
+{
+ "id": "MAP_ROUTE16_HOUSE",
+ "name": "Route16_House",
+ "layout": "LAYOUT_HOUSE1",
+ "music": "BGM_FRLG_CELADON_CITY",
+ "region_map_section": "MAPSEC_ROUTE_16",
+ "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": "23",
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route16_House_EventScript_17014F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "133",
+ "x": 9,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route16_House_EventScript_1701AF",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route16_House/scripts.inc b/data/maps/Route16_House/scripts.inc
new file mode 100644
index 000000000..12a4251d8
--- /dev/null
+++ b/data/maps/Route16_House/scripts.inc
@@ -0,0 +1,47 @@
+Route16_House_MapScripts:: @ 817014E
+ .byte 0
+
+Route16_House_EventScript_17014F:: @ 817014F
+ lock
+ faceplayer
+ checkflag FLAG_0x238
+ goto_if 1, EventScript_1701A5
+ loadword 0, gUnknown_819F851
+ callstd 4
+ checkitemspace ITEM_HM02, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_17019B
+ additem ITEM_HM02, 1
+ loadword 0, gUnknown_819F8C0
+ setorcopyvar VAR_0x8000, 340
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ loadword 0, gUnknown_819F8E0
+ callstd 4
+ setflag FLAG_0x238
+ release
+ end
+
+EventScript_17019B:: @ 817019B
+ loadword 0, gUnknown_819F92D
+ callstd 4
+ release
+ end
+
+EventScript_1701A5:: @ 81701A5
+ loadword 0, gUnknown_819F8E0
+ callstd 4
+ release
+ end
+
+Route16_House_EventScript_1701AF:: @ 81701AF
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_FEAROW, 0
+ loadword 0, gUnknown_819F94F
+ callstd 4
+ waitmoncry
+ release
+ end
diff --git a/data/maps/Route16_NorthEntrance_1F/map.json b/data/maps/Route16_NorthEntrance_1F/map.json
new file mode 100644
index 000000000..586be196d
--- /dev/null
+++ b/data/maps/Route16_NorthEntrance_1F/map.json
@@ -0,0 +1,182 @@
+{
+ "id": "MAP_ROUTE16_NORTH_ENTRANCE_1F",
+ "name": "Route16_NorthEntrance_1F",
+ "layout": "LAYOUT_ROUTE16_NORTH_ENTRANCE_1F",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_16",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "60",
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route16_NorthEntrance_1F_EventScript_1701DB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 7,
+ "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": "Route16_NorthEntrance_1F_EventScript_1702B5",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 11,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 1,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 11,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 9,
+ "y": 16,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16_NORTH_ENTRANCE_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 12,
+ "elevation": 3,
+ "var": "VAR_0x405E",
+ "var_value": 1,
+ "script": "Route16_NorthEntrance_1F_EventScript_1A77B6"
+ },
+ {
+ "type": "trigger",
+ "x": 2,
+ "y": 12,
+ "elevation": 3,
+ "var": "VAR_0x405E",
+ "var_value": 0,
+ "script": "Route16_NorthEntrance_1F_EventScript_1A77C1"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 10,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "Route16_NorthEntrance_1F_EventScript_1701E4"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 11,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "Route16_NorthEntrance_1F_EventScript_1701F0"
+ },
+ {
+ "type": "trigger",
+ "x": 1,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x405E",
+ "var_value": 0,
+ "script": "Route16_NorthEntrance_1F_EventScript_1A77C1"
+ },
+ {
+ "type": "trigger",
+ "x": 1,
+ "y": 11,
+ "elevation": 3,
+ "var": "VAR_0x405E",
+ "var_value": 0,
+ "script": "Route16_NorthEntrance_1F_EventScript_1A77C1"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 11,
+ "elevation": 3,
+ "var": "VAR_0x405E",
+ "var_value": 1,
+ "script": "Route16_NorthEntrance_1F_EventScript_1A77B6"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x405E",
+ "var_value": 1,
+ "script": "Route16_NorthEntrance_1F_EventScript_1A77B6"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 12,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "Route16_NorthEntrance_1F_EventScript_1701FC"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "Route16_NorthEntrance_1F_EventScript_170208"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 14,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "Route16_NorthEntrance_1F_EventScript_170214"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route16_NorthEntrance_1F/scripts.inc b/data/maps/Route16_NorthEntrance_1F/scripts.inc
new file mode 100644
index 000000000..b288d45ce
--- /dev/null
+++ b/data/maps/Route16_NorthEntrance_1F/scripts.inc
@@ -0,0 +1,123 @@
+Route16_NorthEntrance_1F_MapScripts:: @ 81701C2
+ map_script 3, Route16_NorthEntrance_1F_MapScript1_1701C8
+ .byte 0
+
+Route16_NorthEntrance_1F_MapScript1_1701C8:: @ 81701C8
+ clearflag 2096
+ checkflag FLAG_0x271
+ call_if 1, EventScript_1701D5
+ end
+
+EventScript_1701D5:: @ 81701D5
+ setvar VAR_0x4001, 1
+ return
+
+Route16_NorthEntrance_1F_EventScript_1701DB:: @ 81701DB
+ loadword 0, gUnknown_819F98B
+ callstd 2
+ end
+
+Route16_NorthEntrance_1F_EventScript_1701E4:: @ 81701E4
+ lockall
+ setvar VAR_0x8008, 0
+ goto EventScript_170220
+ end
+
+Route16_NorthEntrance_1F_EventScript_1701F0:: @ 81701F0
+ lockall
+ setvar VAR_0x8008, 1
+ goto EventScript_170220
+ end
+
+Route16_NorthEntrance_1F_EventScript_1701FC:: @ 81701FC
+ lockall
+ setvar VAR_0x8008, 2
+ goto EventScript_170220
+ end
+
+Route16_NorthEntrance_1F_EventScript_170208:: @ 8170208
+ lockall
+ setvar VAR_0x8008, 3
+ goto EventScript_170220
+ end
+
+Route16_NorthEntrance_1F_EventScript_170214:: @ 8170214
+ lockall
+ setvar VAR_0x8008, 4
+ goto EventScript_170220
+ end
+
+EventScript_170220:: @ 8170220
+ textcolor 0
+ loadword 0, gUnknown_819F9CC
+ callstd 4
+ closemessage
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ delay 20
+ compare_var_to_value VAR_0x8008, 1
+ call_if 1, EventScript_170279
+ compare_var_to_value VAR_0x8008, 2
+ call_if 1, EventScript_170284
+ compare_var_to_value VAR_0x8008, 3
+ call_if 1, EventScript_17028F
+ compare_var_to_value VAR_0x8008, 4
+ call_if 1, EventScript_17029A
+ loadword 0, gUnknown_819F95F
+ callstd 4
+ closemessage
+ applymovement 255, Movement_1702B3
+ waitmovement 0
+ releaseall
+ end
+
+EventScript_170279:: @ 8170279
+ applymovement 255, Movement_1702A5
+ waitmovement 0
+ return
+
+EventScript_170284:: @ 8170284
+ applymovement 255, Movement_1702A7
+ waitmovement 0
+ return
+
+EventScript_17028F:: @ 817028F
+ applymovement 255, Movement_1702AA
+ waitmovement 0
+ return
+
+EventScript_17029A:: @ 817029A
+ applymovement 255, Movement_1702AE
+ waitmovement 0
+ return
+
+Movement_1702A5:: @ 81702A5
+ step_11
+ step_end
+
+Movement_1702A7:: @ 81702A7
+ step_11
+ step_11
+ step_end
+
+Movement_1702AA:: @ 81702AA
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_1702AE:: @ 81702AE
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_1702B3:: @ 81702B3
+ step_13
+ step_end
+
+Route16_NorthEntrance_1F_EventScript_1702B5:: @ 81702B5
+ loadword 0, gUnknown_819F9E8
+ callstd 2
+ end
diff --git a/data/maps/Route16_NorthEntrance_2F/map.json b/data/maps/Route16_NorthEntrance_2F/map.json
new file mode 100644
index 000000000..e4cdf8626
--- /dev/null
+++ b/data/maps/Route16_NorthEntrance_2F/map.json
@@ -0,0 +1,82 @@
+{
+ "id": "MAP_ROUTE16_NORTH_ENTRANCE_2F",
+ "name": "Route16_NorthEntrance_2F",
+ "layout": "LAYOUT_ENTRANCE_2F",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_16",
+ "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": "16",
+ "x": 6,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route16_NorthEntrance_2F_EventScript_1702BF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route16_NorthEntrance_2F_EventScript_1702C8",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 10,
+ "y": 6,
+ "elevation": 0,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route16_NorthEntrance_2F_EventScript_1702E3",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE16_NORTH_ENTRANCE_1F",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "Route16_NorthEntrance_2F_EventScript_1702D1"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 1,
+ "elevation": 0,
+ "script": "Route16_NorthEntrance_2F_EventScript_1702DA"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route16_NorthEntrance_2F/scripts.inc b/data/maps/Route16_NorthEntrance_2F/scripts.inc
new file mode 100644
index 000000000..3a5a2a48b
--- /dev/null
+++ b/data/maps/Route16_NorthEntrance_2F/scripts.inc
@@ -0,0 +1,66 @@
+Route16_NorthEntrance_2F_MapScripts:: @ 81702BE
+ .byte 0
+
+Route16_NorthEntrance_2F_EventScript_1702BF:: @ 81702BF
+ loadword 0, gUnknown_819FA07
+ callstd 2
+ end
+
+Route16_NorthEntrance_2F_EventScript_1702C8:: @ 81702C8
+ loadword 0, gUnknown_819FA41
+ callstd 2
+ end
+
+Route16_NorthEntrance_2F_EventScript_1702D1:: @ 81702D1
+ loadword 0, gUnknown_819FA6F
+ callstd 3
+ end
+
+Route16_NorthEntrance_2F_EventScript_1702DA:: @ 81702DA
+ loadword 0, gUnknown_819FAB9
+ callstd 3
+ end
+
+Route16_NorthEntrance_2F_EventScript_1702E3:: @ 81702E3
+ lock
+ faceplayer
+ call EventScript_17036F
+ checkflag FLAG_0x2FD
+ goto_if 1, EventScript_170365
+ loadword 0, gUnknown_819FB0E
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A7AD1
+ setvar VAR_0x8004, 0
+ specialvar VAR_RESULT, sub_80CA3D8
+ getnumberstring 2, VAR_0x8006
+ call EventScript_17036F
+ compare_var_to_value VAR_0x8006, 40
+ goto_if 0, EventScript_1A7ABD
+ loadword 0, gUnknown_819FC15
+ callstd 4
+ checkitemspace ITEM_AMULET_COIN, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A7AC7
+ additem ITEM_AMULET_COIN, 1
+ loadword 0, gUnknown_819FC68
+ setorcopyvar VAR_0x8000, 189
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x2FD
+ loadword 0, gUnknown_819FC93
+ callstd 4
+ release
+ end
+
+EventScript_170365:: @ 8170365
+ loadword 0, gUnknown_819FC93
+ callstd 4
+ release
+ end
+
+EventScript_17036F:: @ 817036F
+ getnumberstring 0, 40
+ getitemname 1, ITEM_AMULET_COIN
+ return
diff --git a/data/maps/Route17/map.json b/data/maps/Route17/map.json
new file mode 100644
index 000000000..3e2049c31
--- /dev/null
+++ b/data/maps/Route17/map.json
@@ -0,0 +1,249 @@
+{
+ "id": "MAP_ROUTE17",
+ "name": "Route17",
+ "layout": "LAYOUT_ROUTE17",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_17",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE16",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE18",
+ "offset": 0,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "53",
+ "x": 4,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "26",
+ "movement_range_x": 1,
+ "movement_range_y": 6,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route17_EventScript_1AB319",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 11,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "26",
+ "movement_range_x": 1,
+ "movement_range_y": 5,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route17_EventScript_1AB221",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 15,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "52",
+ "movement_range_x": 4,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route17_EventScript_1AB1E3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 18,
+ "y": 41,
+ "elevation": 3,
+ "movement_type": "26",
+ "movement_range_x": 1,
+ "movement_range_y": 5,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route17_EventScript_1AB129",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 7,
+ "y": 38,
+ "elevation": 3,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route17_EventScript_1AB0EB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 2,
+ "y": 61,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route17_EventScript_1AB29D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 21,
+ "y": 61,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route17_EventScript_1AB25F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 18,
+ "y": 94,
+ "elevation": 3,
+ "movement_type": "26",
+ "movement_range_x": 1,
+ "movement_range_y": 5,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route17_EventScript_1AB2DB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 16,
+ "y": 134,
+ "elevation": 3,
+ "movement_type": "47",
+ "movement_range_x": 8,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route17_EventScript_1AB1A5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 4,
+ "y": 116,
+ "elevation": 3,
+ "movement_type": "26",
+ "movement_range_x": 1,
+ "movement_range_y": 5,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route17_EventScript_1AB167",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 97,
+ "elevation": 0,
+ "script": "Route17_EventScript_1681DB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 83,
+ "elevation": 0,
+ "script": "Route17_EventScript_1681D2"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 68,
+ "elevation": 0,
+ "script": "Route17_EventScript_1681C9"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 53,
+ "elevation": 0,
+ "script": "Route17_EventScript_1681C0"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 125,
+ "elevation": 3,
+ "script": "Route17_EventScript_1681E4"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 157,
+ "elevation": 0,
+ "script": "Route17_EventScript_1681ED"
+ },
+ {
+ "type": "hidden_item",
+ "x": 18,
+ "y": 83,
+ "elevation": 3,
+ "item": "ITEM_RARE_CANDY",
+ "flag": "17",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 10,
+ "y": 53,
+ "elevation": 3,
+ "item": "ITEM_FULL_RESTORE",
+ "flag": "18",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 4,
+ "y": 68,
+ "elevation": 3,
+ "item": "ITEM_PP_UP",
+ "flag": "19",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 4,
+ "y": 125,
+ "elevation": 3,
+ "item": "ITEM_MAX_REVIVE",
+ "flag": "20",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 14,
+ "y": 157,
+ "elevation": 3,
+ "item": "ITEM_MAX_ELIXIR",
+ "flag": "21",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route17/scripts.inc b/data/maps/Route17/scripts.inc
new file mode 100644
index 000000000..8278392d0
--- /dev/null
+++ b/data/maps/Route17/scripts.inc
@@ -0,0 +1,32 @@
+Route17_MapScripts:: @ 81681BF
+ .byte 0
+
+Route17_EventScript_1681C0:: @ 81681C0
+ loadword 0, gUnknown_81874E4
+ callstd 3
+ end
+
+Route17_EventScript_1681C9:: @ 81681C9
+ loadword 0, gUnknown_8187512
+ callstd 3
+ end
+
+Route17_EventScript_1681D2:: @ 81681D2
+ loadword 0, gUnknown_818757B
+ callstd 3
+ end
+
+Route17_EventScript_1681DB:: @ 81681DB
+ loadword 0, gUnknown_81875BE
+ callstd 3
+ end
+
+Route17_EventScript_1681E4:: @ 81681E4
+ loadword 0, gUnknown_81875E3
+ callstd 3
+ end
+
+Route17_EventScript_1681ED:: @ 81681ED
+ loadword 0, gUnknown_8187622
+ callstd 3
+ end
diff --git a/data/maps/Route18/map.json b/data/maps/Route18/map.json
new file mode 100644
index 000000000..760f31bad
--- /dev/null
+++ b/data/maps/Route18/map.json
@@ -0,0 +1,100 @@
+{
+ "id": "MAP_ROUTE18",
+ "name": "Route18",
+ "layout": "LAYOUT_ROUTE18",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_18",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE17",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_FUCHSIA_CITY",
+ "offset": -10,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "26",
+ "x": 46,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route18_EventScript_1AB3D3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 41,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route18_EventScript_1AB395",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 39,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 6,
+ "script": "Route18_EventScript_1AB357",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 41,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE18_EAST_ENTRANCE_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 48,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE18_EAST_ENTRANCE_1F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 37,
+ "y": 7,
+ "elevation": 0,
+ "script": "Route18_EventScript_168228"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 52,
+ "y": 7,
+ "elevation": 0,
+ "script": "Route18_EventScript_16821F"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route18/scripts.inc b/data/maps/Route18/scripts.inc
new file mode 100644
index 000000000..b7fcc41ab
--- /dev/null
+++ b/data/maps/Route18/scripts.inc
@@ -0,0 +1,31 @@
+Route18_MapScripts:: @ 81681F6
+ map_script 3, Route18_MapScript1_168201
+ map_script 4, Route18_MapScript2_168211
+ .byte 0
+
+Route18_MapScript1_168201:: @ 8168201
+ compare_var_to_value VAR_0x405E, 1
+ call_if 1, EventScript_16820D
+ end
+
+EventScript_16820D:: @ 816820D
+ setflag 2096
+ return
+
+Route18_MapScript2_168211:: @ 8168211
+ map_script_2 VAR_0x405E, 1, EventScript_16821B
+ .2byte 0
+
+EventScript_16821B:: @ 816821B
+ special sub_80CA630
+ end
+
+Route18_EventScript_16821F:: @ 816821F
+ loadword 0, gUnknown_8187757
+ callstd 3
+ end
+
+Route18_EventScript_168228:: @ 8168228
+ loadword 0, gUnknown_818777C
+ callstd 3
+ end
diff --git a/data/maps/Route18_EastEntrance_1F/map.json b/data/maps/Route18_EastEntrance_1F/map.json
new file mode 100644
index 000000000..6e85ecee0
--- /dev/null
+++ b/data/maps/Route18_EastEntrance_1F/map.json
@@ -0,0 +1,155 @@
+{
+ "id": "MAP_ROUTE18_EAST_ENTRANCE_1F",
+ "name": "Route18_EastEntrance_1F",
+ "layout": "LAYOUT_ENTRANCE_1F",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_18",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "60",
+ "x": 6,
+ "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": "Route18_EastEntrance_1F_EventScript_170391",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE18",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE18",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 9,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE18_EAST_ENTRANCE_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 2,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x405E",
+ "var_value": 0,
+ "script": "Route18_EastEntrance_1F_EventScript_1A77C1"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "Route18_EastEntrance_1F_EventScript_17039A"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "Route18_EastEntrance_1F_EventScript_1703A6"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "Route18_EastEntrance_1F_EventScript_1703B2"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 7,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "Route18_EastEntrance_1F_EventScript_1703BE"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "Route18_EastEntrance_1F_EventScript_1703CA"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x405E",
+ "var_value": 1,
+ "script": "Route18_EastEntrance_1F_EventScript_1A77B6"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x405E",
+ "var_value": 1,
+ "script": "Route18_EastEntrance_1F_EventScript_1A77B6"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 7,
+ "elevation": 3,
+ "var": "VAR_0x405E",
+ "var_value": 1,
+ "script": "Route18_EastEntrance_1F_EventScript_1A77B6"
+ },
+ {
+ "type": "trigger",
+ "x": 1,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x405E",
+ "var_value": 0,
+ "script": "Route18_EastEntrance_1F_EventScript_1A77C1"
+ },
+ {
+ "type": "trigger",
+ "x": 1,
+ "y": 7,
+ "elevation": 3,
+ "var": "VAR_0x405E",
+ "var_value": 0,
+ "script": "Route18_EastEntrance_1F_EventScript_1A77C1"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route18_EastEntrance_1F/scripts.inc b/data/maps/Route18_EastEntrance_1F/scripts.inc
new file mode 100644
index 000000000..0a55befaa
--- /dev/null
+++ b/data/maps/Route18_EastEntrance_1F/scripts.inc
@@ -0,0 +1,118 @@
+Route18_EastEntrance_1F_MapScripts:: @ 8170378
+ map_script 3, Route18_EastEntrance_1F_MapScript1_17037E
+ .byte 0
+
+Route18_EastEntrance_1F_MapScript1_17037E:: @ 817037E
+ clearflag 2096
+ checkflag FLAG_0x271
+ call_if 1, EventScript_17038B
+ end
+
+EventScript_17038B:: @ 817038B
+ setvar VAR_0x4001, 1
+ return
+
+Route18_EastEntrance_1F_EventScript_170391:: @ 8170391
+ loadword 0, gUnknown_819FD3A
+ callstd 2
+ end
+
+Route18_EastEntrance_1F_EventScript_17039A:: @ 817039A
+ lockall
+ setvar VAR_0x8008, 0
+ goto EventScript_1703D6
+ end
+
+Route18_EastEntrance_1F_EventScript_1703A6:: @ 81703A6
+ lockall
+ setvar VAR_0x8008, 1
+ goto EventScript_1703D6
+ end
+
+Route18_EastEntrance_1F_EventScript_1703B2:: @ 81703B2
+ lockall
+ setvar VAR_0x8008, 2
+ goto EventScript_1703D6
+ end
+
+Route18_EastEntrance_1F_EventScript_1703BE:: @ 81703BE
+ lockall
+ setvar VAR_0x8008, 3
+ goto EventScript_1703D6
+ end
+
+Route18_EastEntrance_1F_EventScript_1703CA:: @ 81703CA
+ lockall
+ setvar VAR_0x8008, 4
+ goto EventScript_1703D6
+ end
+
+EventScript_1703D6:: @ 81703D6
+ textcolor 0
+ loadword 0, gUnknown_819FD60
+ callstd 4
+ closemessage
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ delay 20
+ compare_var_to_value VAR_0x8008, 1
+ call_if 1, EventScript_17042F
+ compare_var_to_value VAR_0x8008, 2
+ call_if 1, EventScript_17043A
+ compare_var_to_value VAR_0x8008, 3
+ call_if 1, EventScript_170445
+ compare_var_to_value VAR_0x8008, 4
+ call_if 1, EventScript_170450
+ loadword 0, gUnknown_819FD0C
+ callstd 4
+ closemessage
+ applymovement 255, Movement_170469
+ waitmovement 0
+ releaseall
+ end
+
+EventScript_17042F:: @ 817042F
+ applymovement 255, Movement_17045B
+ waitmovement 0
+ return
+
+EventScript_17043A:: @ 817043A
+ applymovement 255, Movement_17045D
+ waitmovement 0
+ return
+
+EventScript_170445:: @ 8170445
+ applymovement 255, Movement_170460
+ waitmovement 0
+ return
+
+EventScript_170450:: @ 8170450
+ applymovement 255, Movement_170464
+ waitmovement 0
+ return
+
+Movement_17045B:: @ 817045B
+ step_11
+ step_end
+
+Movement_17045D:: @ 817045D
+ step_11
+ step_11
+ step_end
+
+Movement_170460:: @ 8170460
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_170464:: @ 8170464
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_170469:: @ 8170469
+ step_13
+ step_end
diff --git a/data/maps/Route18_EastEntrance_2F/map.json b/data/maps/Route18_EastEntrance_2F/map.json
new file mode 100644
index 000000000..e304e53f9
--- /dev/null
+++ b/data/maps/Route18_EastEntrance_2F/map.json
@@ -0,0 +1,56 @@
+{
+ "id": "MAP_ROUTE18_EAST_ENTRANCE_2F",
+ "name": "Route18_EastEntrance_2F",
+ "layout": "LAYOUT_ENTRANCE_2F",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_18",
+ "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": "19",
+ "x": 5,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route18_EastEntrance_2F_EventScript_17047E",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE18_EAST_ENTRANCE_1F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "Route18_EastEntrance_2F_EventScript_17046C"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 1,
+ "elevation": 0,
+ "script": "Route18_EastEntrance_2F_EventScript_170475"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route18_EastEntrance_2F/scripts.inc b/data/maps/Route18_EastEntrance_2F/scripts.inc
new file mode 100644
index 000000000..84bcd23b3
--- /dev/null
+++ b/data/maps/Route18_EastEntrance_2F/scripts.inc
@@ -0,0 +1,55 @@
+Route18_EastEntrance_2F_MapScripts:: @ 817046B
+ .byte 0
+
+Route18_EastEntrance_2F_EventScript_17046C:: @ 817046C
+ loadword 0, gUnknown_819FD6B
+ callstd 3
+ end
+
+Route18_EastEntrance_2F_EventScript_170475:: @ 8170475
+ loadword 0, gUnknown_819FDB3
+ callstd 3
+ end
+
+Route18_EastEntrance_2F_EventScript_17047E:: @ 817047E
+ lock
+ faceplayer
+ setvar VAR_0x8008, 5
+ call EventScript_1A8CAD
+ checkflag FLAG_0x257
+ goto_if 1, EventScript_1704F0
+ loadword 0, gUnknown_81A597B
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1704D8
+ call EventScript_1A8CBD
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_1704D8
+ call EventScript_1A8CC9
+ compare_var_to_var VAR_RESULT, VAR_0x8009
+ goto_if 5, EventScript_1704E2
+ call EventScript_1A8CD9
+ loadword 0, gUnknown_81A59DA
+ callstd 4
+ setflag FLAG_0x257
+ release
+ end
+
+EventScript_1704D8:: @ 81704D8
+ loadword 0, gUnknown_81A59B6
+ callstd 4
+ release
+ end
+
+EventScript_1704E2:: @ 81704E2
+ getspeciesname 0, 32777
+ loadword 0, gUnknown_81A59C6
+ callstd 4
+ release
+ end
+
+EventScript_1704F0:: @ 81704F0
+ loadword 0, gUnknown_81A59E7
+ callstd 4
+ release
+ end
diff --git a/data/maps/Route19/map.json b/data/maps/Route19/map.json
new file mode 100644
index 000000000..055c49371
--- /dev/null
+++ b/data/maps/Route19/map.json
@@ -0,0 +1,195 @@
+{
+ "id": "MAP_ROUTE19",
+ "name": "Route19",
+ "layout": "LAYOUT_ROUTE19",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_19",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_FUCHSIA_CITY",
+ "offset": -12,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE20",
+ "offset": 40,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "45",
+ "x": 15,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 6,
+ "movement_range_y": 3,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route19_EventScript_1AB44F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "45",
+ "x": 10,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route19_EventScript_1AB411",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 12,
+ "y": 17,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route19_EventScript_1AB547",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 18,
+ "y": 33,
+ "elevation": 1,
+ "movement_type": "51",
+ "movement_range_x": 5,
+ "movement_range_y": 3,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB48D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 8,
+ "y": 27,
+ "elevation": 1,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB4CB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 16,
+ "y": 22,
+ "elevation": 1,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 6,
+ "script": "Route19_EventScript_1AB509",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 11,
+ "y": 47,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB585",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 14,
+ "y": 48,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB601",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 12,
+ "y": 49,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB63F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 9,
+ "y": 48,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB5C3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 8,
+ "y": 41,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB67D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "36",
+ "x": 9,
+ "y": 41,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB6C3",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 13,
+ "y": 12,
+ "elevation": 0,
+ "script": "Route19_EventScript_168232"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route19/scripts.inc b/data/maps/Route19/scripts.inc
new file mode 100644
index 000000000..19af9f870
--- /dev/null
+++ b/data/maps/Route19/scripts.inc
@@ -0,0 +1,7 @@
+Route19_MapScripts:: @ 8168231
+ .byte 0
+
+Route19_EventScript_168232:: @ 8168232
+ loadword 0, gUnknown_8187C06
+ callstd 3
+ end
diff --git a/data/maps/Route2/map.json b/data/maps/Route2/map.json
new file mode 100644
index 000000000..a8fde02a1
--- /dev/null
+++ b/data/maps/Route2/map.json
@@ -0,0 +1,208 @@
+{
+ "id": "MAP_ROUTE2",
+ "name": "Route2",
+ "layout": "LAYOUT_ROUTE2",
+ "music": "BGM_FRLG_ROUTE_1",
+ "region_map_section": "MAPSEC_ROUTE_2",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_PEWTER_CITY",
+ "offset": -12,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_VIRIDIAN_CITY",
+ "offset": -12,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "95",
+ "x": 16,
+ "y": 62,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_EventScript_1BDF13",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "95",
+ "x": 15,
+ "y": 69,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_EventScript_1BDF13",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "95",
+ "x": 11,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_EventScript_1BDF13",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "95",
+ "x": 18,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_EventScript_1BDF13",
+ "flag": "22"
+ },
+ {
+ "graphics_id": "92",
+ "x": 17,
+ "y": 54,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_EventScript_1BE58E",
+ "flag": "340"
+ },
+ {
+ "graphics_id": "92",
+ "x": 17,
+ "y": 64,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_EventScript_1BE59B",
+ "flag": "341"
+ },
+ {
+ "graphics_id": "65375",
+ "x": 6,
+ "y": 85,
+ "elevation": 8,
+ "movement_type": "0",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "0x0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 13,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_NORTH_ENTRANCE",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 6,
+ "y": 13,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_NORTH_ENTRANCE",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 51,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_SOUTH_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 17,
+ "y": 11,
+ "elevation": 3,
+ "dest_map": "MAP_DIGLETTS_CAVE_NORTH_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 17,
+ "y": 22,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE2_HOUSE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 18,
+ "y": 46,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_EAST_BUILDING",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 18,
+ "y": 41,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_EAST_BUILDING",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 19,
+ "y": 41,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_EAST_BUILDING",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 19,
+ "y": 46,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_EAST_BUILDING",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 51,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_SOUTH_ENTRANCE",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 14,
+ "y": 12,
+ "elevation": 0,
+ "script": "Route2_EventScript_167F6E"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 73,
+ "elevation": 0,
+ "script": "Route2_EventScript_167F65"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route2/scripts.inc b/data/maps/Route2/scripts.inc
new file mode 100644
index 000000000..8623b3622
--- /dev/null
+++ b/data/maps/Route2/scripts.inc
@@ -0,0 +1,12 @@
+Route2_MapScripts:: @ 8167F64
+ .byte 0
+
+Route2_EventScript_167F65:: @ 8167F65
+ loadword 0, gUnknown_818345E
+ callstd 3
+ end
+
+Route2_EventScript_167F6E:: @ 8167F6E
+ loadword 0, gUnknown_8183482
+ callstd 3
+ end
diff --git a/data/maps/Route20/map.json b/data/maps/Route20/map.json
new file mode 100644
index 000000000..80213fc07
--- /dev/null
+++ b/data/maps/Route20/map.json
@@ -0,0 +1,213 @@
+{
+ "id": "MAP_ROUTE20",
+ "name": "Route20",
+ "layout": "LAYOUT_ROUTE20",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_20",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_CINNABAR_ISLAND",
+ "offset": 0,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_ROUTE19",
+ "offset": -40,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "44",
+ "x": 8,
+ "y": 11,
+ "elevation": 1,
+ "movement_type": "13",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route20_EventScript_1AB83F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 16,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route20_EventScript_1AB8F9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 34,
+ "y": 7,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route20_EventScript_1AB801",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 43,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route20_EventScript_1AB8BB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 23,
+ "y": 10,
+ "elevation": 1,
+ "movement_type": "52",
+ "movement_range_x": 5,
+ "movement_range_y": 4,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route20_EventScript_1AB747",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 73,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route20_EventScript_1AB937",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 111,
+ "y": 9,
+ "elevation": 1,
+ "movement_type": "45",
+ "movement_range_x": 5,
+ "movement_range_y": 3,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route20_EventScript_1AB709",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 106,
+ "y": 11,
+ "elevation": 1,
+ "movement_type": "50",
+ "movement_range_x": 5,
+ "movement_range_y": 3,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route20_EventScript_1AB785",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 93,
+ "y": 10,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route20_EventScript_1AB87D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 54,
+ "y": 11,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route20_EventScript_1AB7C3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 69,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route20_EventScript_1ACE36",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 60,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 72,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_1F",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 68,
+ "y": 14,
+ "elevation": 0,
+ "script": "Route20_EventScript_168280"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 64,
+ "y": 8,
+ "elevation": 0,
+ "script": "Route20_EventScript_168280"
+ },
+ {
+ "type": "hidden_item",
+ "x": 23,
+ "y": 6,
+ "elevation": 3,
+ "item": "ITEM_STARDUST",
+ "flag": "153",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route20/scripts.inc b/data/maps/Route20/scripts.inc
new file mode 100644
index 000000000..e611d1f73
--- /dev/null
+++ b/data/maps/Route20/scripts.inc
@@ -0,0 +1,35 @@
+Route20_MapScripts:: @ 816823B
+ map_script 3, Route20_MapScript1_168241
+ .byte 0
+
+Route20_MapScript1_168241:: @ 8168241
+ checkflag FLAG_0x2D2
+ call_if 0, EventScript_168254
+ checkflag FLAG_0x2D3
+ call_if 0, EventScript_16826D
+ end
+
+EventScript_168254:: @ 8168254
+ clearflag FLAG_0x040
+ clearflag FLAG_0x041
+ setflag FLAG_0x042
+ setflag FLAG_0x043
+ setflag FLAG_0x044
+ setflag FLAG_0x045
+ setflag FLAG_0x046
+ setflag FLAG_0x047
+ return
+
+EventScript_16826D:: @ 816826D
+ clearflag FLAG_0x048
+ clearflag FLAG_0x049
+ clearflag FLAG_0x04A
+ clearflag FLAG_0x04B
+ setflag FLAG_0x04C
+ setflag FLAG_0x04D
+ return
+
+Route20_EventScript_168280:: @ 8168280
+ loadword 0, gUnknown_81882D1
+ callstd 3
+ end
diff --git a/data/maps/Route21_North/map.json b/data/maps/Route21_North/map.json
new file mode 100644
index 000000000..42b87c9bc
--- /dev/null
+++ b/data/maps/Route21_North/map.json
@@ -0,0 +1,119 @@
+{
+ "id": "MAP_ROUTE21_NORTH",
+ "name": "Route21_North",
+ "layout": "LAYOUT_ROUTE21_NORTH",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_21",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_PALLET_TOWN",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE21_SOUTH",
+ "offset": 0,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "57",
+ "x": 7,
+ "y": 27,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route21_North_EventScript_1AB975",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "57",
+ "x": 16,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route21_North_EventScript_1AB9F1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 12,
+ "y": 44,
+ "elevation": 1,
+ "movement_type": "51",
+ "movement_range_x": 4,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route21_North_EventScript_1ABA6D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 14,
+ "y": 35,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route21_North_EventScript_1ABB65",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "36",
+ "x": 15,
+ "y": 35,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route21_North_EventScript_1ABBAB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65307",
+ "x": 13,
+ "y": 65533,
+ "elevation": 2,
+ "movement_type": "0",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "0x0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 17,
+ "y": 42,
+ "elevation": 3,
+ "item": "ITEM_PEARL",
+ "flag": "154",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route21_North/scripts.inc b/data/maps/Route21_North/scripts.inc
new file mode 100644
index 000000000..a7436e8ec
--- /dev/null
+++ b/data/maps/Route21_North/scripts.inc
@@ -0,0 +1,2 @@
+Route21_North_MapScripts:: @ 8168289
+ .byte 0
diff --git a/data/maps/Route21_South/map.json b/data/maps/Route21_South/map.json
new file mode 100644
index 000000000..125dc88fc
--- /dev/null
+++ b/data/maps/Route21_South/map.json
@@ -0,0 +1,96 @@
+{
+ "id": "MAP_ROUTE21_SOUTH",
+ "name": "Route21_South",
+ "layout": "LAYOUT_ROUTE21_SOUTH",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_21",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE21_NORTH",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_CINNABAR_ISLAND",
+ "offset": 0,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "57",
+ "x": 11,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route21_South_EventScript_1AB9B3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "57",
+ "x": 14,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route21_South_EventScript_1ABA2F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 15,
+ "y": 24,
+ "elevation": 1,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route21_South_EventScript_1ABAAB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 15,
+ "y": 38,
+ "elevation": 1,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route21_South_EventScript_1ABAE9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 10,
+ "y": 29,
+ "elevation": 1,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route21_South_EventScript_1ABB27",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route21_South/scripts.inc b/data/maps/Route21_South/scripts.inc
new file mode 100644
index 000000000..ea3478a2b
--- /dev/null
+++ b/data/maps/Route21_South/scripts.inc
@@ -0,0 +1,2 @@
+Route21_South_MapScripts:: @ 816828A
+ .byte 0
diff --git a/data/maps/Route22/map.json b/data/maps/Route22/map.json
new file mode 100644
index 000000000..2acb37549
--- /dev/null
+++ b/data/maps/Route22/map.json
@@ -0,0 +1,122 @@
+{
+ "id": "MAP_ROUTE22",
+ "name": "Route22",
+ "layout": "LAYOUT_ROUTE22",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_22",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE23",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_VIRIDIAN_CITY",
+ "offset": -10,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "72",
+ "x": 25,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "79"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE22_NORTH_ENTRANCE",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 9,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE22_NORTH_ENTRANCE",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 33,
+ "y": 4,
+ "elevation": 3,
+ "var": "VAR_0x4054",
+ "var_value": 1,
+ "script": "Route22_EventScript_16828C"
+ },
+ {
+ "type": "trigger",
+ "x": 33,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4054",
+ "var_value": 1,
+ "script": "Route22_EventScript_168298"
+ },
+ {
+ "type": "trigger",
+ "x": 33,
+ "y": 6,
+ "elevation": 0,
+ "var": "VAR_0x4054",
+ "var_value": 1,
+ "script": "Route22_EventScript_1682AB"
+ },
+ {
+ "type": "trigger",
+ "x": 33,
+ "y": 4,
+ "elevation": 3,
+ "var": "VAR_0x4054",
+ "var_value": 3,
+ "script": "Route22_EventScript_1683ED"
+ },
+ {
+ "type": "trigger",
+ "x": 33,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4054",
+ "var_value": 3,
+ "script": "Route22_EventScript_1683F9"
+ },
+ {
+ "type": "trigger",
+ "x": 33,
+ "y": 6,
+ "elevation": 0,
+ "var": "VAR_0x4054",
+ "var_value": 3,
+ "script": "Route22_EventScript_16840C"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 12,
+ "elevation": 0,
+ "script": "Route22_EventScript_1684E2"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route22/scripts.inc b/data/maps/Route22/scripts.inc
new file mode 100644
index 000000000..30dbed8a1
--- /dev/null
+++ b/data/maps/Route22/scripts.inc
@@ -0,0 +1,266 @@
+Route22_MapScripts:: @ 816828B
+ .byte 0
+
+Route22_EventScript_16828C:: @ 816828C
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_1682BE
+
+EventScript_168297:: @ 8168297
+ end
+
+Route22_EventScript_168298:: @ 8168298
+ lockall
+ setvar VAR_0x4001, 1
+ setobjectxyperm 1, 25, 5
+ goto EventScript_1682BE
+
+EventScript_1682AA:: @ 81682AA
+ end
+
+Route22_EventScript_1682AB:: @ 81682AB
+ lockall
+ setvar VAR_0x4001, 2
+ setobjectxyperm 1, 25, 5
+ goto EventScript_1682BE
+
+EventScript_1682BD:: @ 81682BD
+ end
+
+EventScript_1682BE:: @ 81682BE
+ textcolor 0
+ playbgm BGM_FRLG_RIVAL, 0
+ addobject 1
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_168350
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_168350
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_16835B
+ delay 6
+ loadword 0, gUnknown_8188890
+ callstd 4
+ compare_var_to_value VAR_STARTER_MON, 2
+ call_if 1, EventScript_16836D
+ compare_var_to_value VAR_STARTER_MON, 1
+ call_if 1, EventScript_16837C
+ compare_var_to_value VAR_STARTER_MON, 0
+ call_if 1, EventScript_16838B
+ loadword 0, gUnknown_8188974
+ callstd 4
+ closemessage
+ delay 10
+ playbgm BGM_FRLG_RIVAL_POSTBATTLE, 0
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16839A
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16839A
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_1683A5
+ fadedefaultbgm
+ removeobject 1
+ setvar VAR_0x4054, 2
+ releaseall
+ end
+
+EventScript_168350:: @ 8168350
+ applymovement 1, Movement_1683D1
+ waitmovement 0
+ return
+
+EventScript_16835B:: @ 816835B
+ applymovement 1, Movement_1683D9
+ applymovement 255, Movement_1683E3
+ waitmovement 0
+ return
+
+EventScript_16836D:: @ 816836D
+ trainerbattle 9, 329, 0, Text_188959, Text_18DE1A
+ return
+
+EventScript_16837C:: @ 816837C
+ trainerbattle 9, 330, 0, Text_188959, Text_18DE1A
+ return
+
+EventScript_16838B:: @ 816838B
+ trainerbattle 9, 331, 0, Text_188959, Text_18DE1A
+ return
+
+EventScript_16839A:: @ 816839A
+ applymovement 1, Movement_1683B8
+ waitmovement 0
+ return
+
+EventScript_1683A5:: @ 81683A5
+ applymovement 1, Movement_1683C5
+ waitmovement 0
+ return
+
+Movement_1683B0:: @ 8
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_end
+
+Movement_1683B8:: @ 81683B8
+ step_10
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_1683C5:: @ 81683C5
+ step_13
+ step_13
+ step_13
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_1683D1:: @ 81683D1
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_end
+
+Movement_1683D9:: @ 81683D9
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_13
+ step_2d
+ step_end
+
+Movement_1683E3:: @ 81683E3
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_1b
+ step_2e
+ step_end
+
+Route22_EventScript_1683ED:: @ 81683ED
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_16841F
+
+EventScript_1683F8:: @ 81683F8
+ end
+
+Route22_EventScript_1683F9:: @ 81683F9
+ lockall
+ setvar VAR_0x4001, 1
+ setobjectxyperm 1, 25, 5
+ goto EventScript_16841F
+
+EventScript_16840B:: @ 816840B
+ end
+
+Route22_EventScript_16840C:: @ 816840C
+ lockall
+ setvar VAR_0x4001, 2
+ setobjectxyperm 1, 25, 5
+ goto EventScript_16841F
+
+EventScript_16841E:: @ 816841E
+ end
+
+EventScript_16841F:: @ 816841F
+ textcolor 0
+ playbgm BGM_FRLG_RIVAL, 0
+ addobject 1
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16849C
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16849C
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_1684A7
+ loadword 0, gUnknown_8188A3C
+ callstd 4
+ setvar VAR_LAST_TALKED, 1
+ compare_var_to_value VAR_STARTER_MON, 2
+ call_if 1, EventScript_1684B9
+ compare_var_to_value VAR_STARTER_MON, 1
+ call_if 1, EventScript_1684C4
+ compare_var_to_value VAR_STARTER_MON, 0
+ call_if 1, EventScript_1684CF
+ loadword 0, gUnknown_8188B29
+ callstd 4
+ closemessage
+ delay 10
+ playbgm BGM_FRLG_RIVAL_POSTBATTLE, 0
+ applymovement 1, Movement_1684DA
+ waitmovement 0
+ fadedefaultbgm
+ removeobject 1
+ setvar VAR_0x4054, 4
+ releaseall
+ end
+
+EventScript_16849C:: @ 816849C
+ applymovement 1, Movement_1683D1
+ waitmovement 0
+ return
+
+EventScript_1684A7:: @ 81684A7
+ applymovement 1, Movement_1683D9
+ applymovement 255, Movement_1683E3
+ waitmovement 0
+ return
+
+EventScript_1684B9:: @ 81684B9
+ trainerbattle 3, 435, 0, Text_188B08
+ return
+
+EventScript_1684C4:: @ 81684C4
+ trainerbattle 3, 436, 0, Text_188B08
+ return
+
+EventScript_1684CF:: @ 81684CF
+ trainerbattle 3, 437, 0, Text_188B08
+ return
+
+Movement_1684DA:: @ 81684DA
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_12
+ step_end
+
+Route22_EventScript_1684E2:: @ 81684E2
+ loadword 0, gUnknown_8188BFF
+ callstd 3
+ end
diff --git a/data/maps/Route22_NorthEntrance/map.json b/data/maps/Route22_NorthEntrance/map.json
new file mode 100644
index 000000000..e68b94f7c
--- /dev/null
+++ b/data/maps/Route22_NorthEntrance/map.json
@@ -0,0 +1,72 @@
+{
+ "id": "MAP_ROUTE22_NORTH_ENTRANCE",
+ "name": "Route22_NorthEntrance",
+ "layout": "LAYOUT_ROUTE22_NORTH_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_ROUTE_22",
+ "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": "60",
+ "x": 8,
+ "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": "Route22_NorthEntrance_EventScript_1704FC",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE23",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 6,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE22",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 7,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE22",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 8,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE22",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 7,
+ "y": 2,
+ "elevation": 3,
+ "var": "VAR_0x405F",
+ "var_value": 0,
+ "script": "Route22_NorthEntrance_EventScript_17050D"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route22_NorthEntrance/scripts.inc b/data/maps/Route22_NorthEntrance/scripts.inc
new file mode 100644
index 000000000..d7d7c61da
--- /dev/null
+++ b/data/maps/Route22_NorthEntrance/scripts.inc
@@ -0,0 +1,18 @@
+Route22_NorthEntrance_MapScripts:: @ 81704FB
+ .byte 0
+
+Route22_NorthEntrance_EventScript_1704FC:: @ 81704FC
+ lock
+ faceplayer
+ setvar VAR_0x4001, 1
+ getstdstring 0, 15
+ goto EventScript_1A7803
+ end
+
+Route22_NorthEntrance_EventScript_17050D:: @ 817050D
+ lockall
+ setvar VAR_0x4001, 1
+ setvar VAR_0x8009, 1
+ getstdstring 0, 15
+ goto EventScript_1A796E
+ end
diff --git a/data/maps/Route23/map.json b/data/maps/Route23/map.json
new file mode 100644
index 000000000..924371f26
--- /dev/null
+++ b/data/maps/Route23/map.json
@@ -0,0 +1,610 @@
+{
+ "id": "MAP_ROUTE23",
+ "name": "Route23",
+ "layout": "LAYOUT_ROUTE23",
+ "music": "BGM_FRLG_INDIGO_PLATEAU",
+ "region_map_section": "MAPSEC_ROUTE_23",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_INDIGO_PLATEAU_EXTERIOR",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE22",
+ "offset": 0,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "60",
+ "x": 15,
+ "y": 149,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route23_EventScript_16850C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "60",
+ "x": 8,
+ "y": 140,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route23_EventScript_16851D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "60",
+ "x": 14,
+ "y": 123,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route23_EventScript_16852E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "60",
+ "x": 16,
+ "y": 112,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route23_EventScript_16853F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "60",
+ "x": 10,
+ "y": 94,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route23_EventScript_168550",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "60",
+ "x": 14,
+ "y": 61,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route23_EventScript_168561",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "60",
+ "x": 6,
+ "y": 35,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route23_EventScript_168572",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 28,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 18,
+ "y": 28,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_2F",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 8,
+ "y": 153,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE22_NORTH_ENTRANCE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 154,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE22_NORTH_ENTRANCE",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 149,
+ "elevation": 3,
+ "var": "VAR_0x405F",
+ "var_value": 1,
+ "script": "Route23_EventScript_168583"
+ },
+ {
+ "type": "trigger",
+ "x": 7,
+ "y": 140,
+ "elevation": 3,
+ "var": "VAR_0x405F",
+ "var_value": 2,
+ "script": "Route23_EventScript_168598"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 123,
+ "elevation": 3,
+ "var": "VAR_0x405F",
+ "var_value": 3,
+ "script": "Route23_EventScript_1685AD"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 111,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 4,
+ "script": "Route23_EventScript_1685C2"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 94,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 5,
+ "script": "Route23_EventScript_1685D7"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 61,
+ "elevation": 3,
+ "var": "VAR_0x405F",
+ "var_value": 6,
+ "script": "Route23_EventScript_1685EC"
+ },
+ {
+ "type": "trigger",
+ "x": 1,
+ "y": 35,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 7,
+ "script": "Route23_EventScript_168601"
+ },
+ {
+ "type": "trigger",
+ "x": 1,
+ "y": 34,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 7,
+ "script": "Route23_EventScript_168601"
+ },
+ {
+ "type": "trigger",
+ "x": 1,
+ "y": 32,
+ "elevation": 3,
+ "var": "VAR_0x405F",
+ "var_value": 7,
+ "script": "Route23_EventScript_168601"
+ },
+ {
+ "type": "trigger",
+ "x": 1,
+ "y": 33,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 7,
+ "script": "Route23_EventScript_168601"
+ },
+ {
+ "type": "trigger",
+ "x": 1,
+ "y": 31,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 7,
+ "script": "Route23_EventScript_168601"
+ },
+ {
+ "type": "trigger",
+ "x": 1,
+ "y": 36,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 7,
+ "script": "Route23_EventScript_168601"
+ },
+ {
+ "type": "trigger",
+ "x": 5,
+ "y": 35,
+ "elevation": 3,
+ "var": "VAR_0x405F",
+ "var_value": 7,
+ "script": "Route23_EventScript_168601"
+ },
+ {
+ "type": "trigger",
+ "x": 4,
+ "y": 35,
+ "elevation": 3,
+ "var": "VAR_0x405F",
+ "var_value": 7,
+ "script": "Route23_EventScript_168601"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 60,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 6,
+ "script": "Route23_EventScript_1685EC"
+ },
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 61,
+ "elevation": 3,
+ "var": "VAR_0x405F",
+ "var_value": 6,
+ "script": "Route23_EventScript_1685EC"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 60,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 6,
+ "script": "Route23_EventScript_1685EC"
+ },
+ {
+ "type": "trigger",
+ "x": 8,
+ "y": 94,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 5,
+ "script": "Route23_EventScript_1685D7"
+ },
+ {
+ "type": "trigger",
+ "x": 5,
+ "y": 92,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 5,
+ "script": "Route23_EventScript_1685D7"
+ },
+ {
+ "type": "trigger",
+ "x": 7,
+ "y": 94,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 5,
+ "script": "Route23_EventScript_1685D7"
+ },
+ {
+ "type": "trigger",
+ "x": 4,
+ "y": 92,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 5,
+ "script": "Route23_EventScript_1685D7"
+ },
+ {
+ "type": "trigger",
+ "x": 3,
+ "y": 92,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 5,
+ "script": "Route23_EventScript_1685D7"
+ },
+ {
+ "type": "trigger",
+ "x": 2,
+ "y": 92,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 5,
+ "script": "Route23_EventScript_1685D7"
+ },
+ {
+ "type": "trigger",
+ "x": 4,
+ "y": 139,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 2,
+ "script": "Route23_EventScript_168598"
+ },
+ {
+ "type": "trigger",
+ "x": 5,
+ "y": 139,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 2,
+ "script": "Route23_EventScript_168598"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 140,
+ "elevation": 3,
+ "var": "VAR_0x405F",
+ "var_value": 2,
+ "script": "Route23_EventScript_168598"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 122,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 3,
+ "script": "Route23_EventScript_1685AD"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 122,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 3,
+ "script": "Route23_EventScript_1685AD"
+ },
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 123,
+ "elevation": 3,
+ "var": "VAR_0x405F",
+ "var_value": 3,
+ "script": "Route23_EventScript_1685AD"
+ },
+ {
+ "type": "trigger",
+ "x": 8,
+ "y": 109,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 4,
+ "script": "Route23_EventScript_1685C2"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 109,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 4,
+ "script": "Route23_EventScript_1685C2"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 109,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 4,
+ "script": "Route23_EventScript_1685C2"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 109,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 4,
+ "script": "Route23_EventScript_1685C2"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 109,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 4,
+ "script": "Route23_EventScript_1685C2"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 111,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 4,
+ "script": "Route23_EventScript_1685C2"
+ },
+ {
+ "type": "trigger",
+ "x": 14,
+ "y": 112,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 4,
+ "script": "Route23_EventScript_1685C2"
+ },
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 112,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 4,
+ "script": "Route23_EventScript_1685C2"
+ },
+ {
+ "type": "trigger",
+ "x": 15,
+ "y": 112,
+ "elevation": 1,
+ "var": "VAR_0x405F",
+ "var_value": 4,
+ "script": "Route23_EventScript_1685C2"
+ },
+ {
+ "type": "trigger",
+ "x": 12,
+ "y": 148,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 1,
+ "script": "Route23_EventScript_168583"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 148,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 1,
+ "script": "Route23_EventScript_168583"
+ },
+ {
+ "type": "trigger",
+ "x": 14,
+ "y": 149,
+ "elevation": 3,
+ "var": "VAR_0x405F",
+ "var_value": 1,
+ "script": "Route23_EventScript_168583"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 148,
+ "elevation": 0,
+ "var": "VAR_0x405F",
+ "var_value": 1,
+ "script": "Route23_EventScript_168583"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 19,
+ "y": 42,
+ "elevation": 0,
+ "item": "ITEM_FULL_RESTORE",
+ "flag": "34",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 20,
+ "y": 72,
+ "elevation": 0,
+ "item": "POCKET_KEY_ITEMS",
+ "flag": "35",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 11,
+ "y": 101,
+ "elevation": 3,
+ "item": "ITEM_MAX_ETHER",
+ "flag": "36",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 3,
+ "y": 18,
+ "elevation": 3,
+ "item": "ITEM_LUM_BERRY",
+ "flag": "145",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 2,
+ "y": 29,
+ "elevation": 3,
+ "item": "ITEM_SITRUS_BERRY",
+ "flag": "146",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 10,
+ "y": 67,
+ "elevation": 3,
+ "item": "ITEM_ASPEAR_BERRY",
+ "flag": "147",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 3,
+ "y": 128,
+ "elevation": 3,
+ "item": "ITEM_LEPPA_BERRY",
+ "flag": "148",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 9,
+ "y": 8,
+ "elevation": 3,
+ "item": "ITEM_MAX_ELIXIR",
+ "flag": "155",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 31,
+ "elevation": 0,
+ "script": "Route23_EventScript_168616"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route23/scripts.inc b/data/maps/Route23/scripts.inc
new file mode 100644
index 000000000..3154a6f0e
--- /dev/null
+++ b/data/maps/Route23/scripts.inc
@@ -0,0 +1,129 @@
+Route23_MapScripts:: @ 81684EB
+ map_script 3, Route23_MapScript1_1684F1
+ .byte 0
+
+Route23_MapScript1_1684F1:: @ 81684F1
+ clearflag FLAG_0x059
+ setflag FLAG_0x058
+ setvar VAR_0x4064, 0
+ setvar VAR_0x4065, 0
+ setvar VAR_0x4066, 0
+ setvar VAR_0x4067, 0
+ end
+
+Route23_EventScript_16850C:: @ 816850C
+ lock
+ faceplayer
+ setvar VAR_0x4001, 2
+ getstdstring 0, 16
+ goto EventScript_1A786C
+ end
+
+Route23_EventScript_16851D:: @ 816851D
+ lock
+ faceplayer
+ setvar VAR_0x4001, 3
+ getstdstring 0, 17
+ goto EventScript_1A786C
+ end
+
+Route23_EventScript_16852E:: @ 816852E
+ lock
+ faceplayer
+ setvar VAR_0x4001, 4
+ getstdstring 0, 18
+ goto EventScript_1A786C
+ end
+
+Route23_EventScript_16853F:: @ 816853F
+ lock
+ faceplayer
+ setvar VAR_0x4001, 5
+ getstdstring 0, 19
+ goto EventScript_1A786C
+ end
+
+Route23_EventScript_168550:: @ 8168550
+ lock
+ faceplayer
+ setvar VAR_0x4001, 6
+ getstdstring 0, 20
+ goto EventScript_1A786C
+ end
+
+Route23_EventScript_168561:: @ 8168561
+ lock
+ faceplayer
+ setvar VAR_0x4001, 7
+ getstdstring 0, 21
+ goto EventScript_1A786C
+ end
+
+Route23_EventScript_168572:: @ 8168572
+ lock
+ faceplayer
+ setvar VAR_0x4001, 8
+ getstdstring 0, 22
+ goto EventScript_1A786C
+ end
+
+Route23_EventScript_168583:: @ 8168583
+ lockall
+ setvar VAR_0x4001, 2
+ setvar VAR_0x8009, 1
+ getstdstring 0, 16
+ goto EventScript_1A796E
+ end
+
+Route23_EventScript_168598:: @ 8168598
+ lockall
+ setvar VAR_0x4001, 3
+ setvar VAR_0x8009, 2
+ getstdstring 0, 17
+ goto EventScript_1A796E
+ end
+
+Route23_EventScript_1685AD:: @ 81685AD
+ lockall
+ setvar VAR_0x4001, 4
+ setvar VAR_0x8009, 3
+ getstdstring 0, 18
+ goto EventScript_1A796E
+ end
+
+Route23_EventScript_1685C2:: @ 81685C2
+ lockall
+ setvar VAR_0x4001, 5
+ setvar VAR_0x8009, 4
+ getstdstring 0, 19
+ goto EventScript_1A796E
+ end
+
+Route23_EventScript_1685D7:: @ 81685D7
+ lockall
+ setvar VAR_0x4001, 6
+ setvar VAR_0x8009, 5
+ getstdstring 0, 20
+ goto EventScript_1A796E
+ end
+
+Route23_EventScript_1685EC:: @ 81685EC
+ lockall
+ setvar VAR_0x4001, 7
+ setvar VAR_0x8009, 6
+ getstdstring 0, 21
+ goto EventScript_1A796E
+ end
+
+Route23_EventScript_168601:: @ 8168601
+ lockall
+ setvar VAR_0x4001, 8
+ setvar VAR_0x8009, 7
+ getstdstring 0, 22
+ goto EventScript_1A796E
+ end
+
+Route23_EventScript_168616:: @ 8168616
+ loadword 0, gUnknown_8188C19
+ callstd 3
+ end
diff --git a/data/maps/Route24/map.json b/data/maps/Route24/map.json
new file mode 100644
index 000000000..edc86edb8
--- /dev/null
+++ b/data/maps/Route24/map.json
@@ -0,0 +1,164 @@
+{
+ "id": "MAP_ROUTE24",
+ "name": "Route24",
+ "layout": "LAYOUT_ROUTE24",
+ "music": "BGM_FRLG_ROUTE_24",
+ "region_map_section": "MAPSEC_ROUTE_24",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_CERULEAN_CITY",
+ "offset": -12,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_ROUTE25",
+ "offset": 0,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "25",
+ "x": 12,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route24_EventScript_168620",
+ "flag": "49"
+ },
+ {
+ "graphics_id": "39",
+ "x": 12,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route24_EventScript_1A972D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 10,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route24_EventScript_1A9673",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 12,
+ "y": 25,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route24_EventScript_1A95F7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 10,
+ "y": 28,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route24_EventScript_1A96B1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 12,
+ "y": 31,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route24_EventScript_1A9635",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 5,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route24_EventScript_1A96EF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 11,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route24_EventScript_1BE644",
+ "flag": "354"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 15,
+ "elevation": 3,
+ "var": "VAR_0x406B",
+ "var_value": 0,
+ "script": "Route24_EventScript_168660"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 15,
+ "elevation": 3,
+ "var": "VAR_0x406B",
+ "var_value": 0,
+ "script": "Route24_EventScript_16866C"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 19,
+ "y": 4,
+ "elevation": 3,
+ "item": "ITEM_PECHA_BERRY",
+ "flag": "115",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route24/scripts.inc b/data/maps/Route24/scripts.inc
new file mode 100644
index 000000000..811f194a2
--- /dev/null
+++ b/data/maps/Route24/scripts.inc
@@ -0,0 +1,114 @@
+Route24_MapScripts:: @ 816861F
+ .byte 0
+
+Route24_EventScript_168620:: @ 8168620
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x406B, 1
+ goto_if 1, EventScript_168656
+ loadword 0, gUnknown_8188C3C
+ callstd 4
+ checkitemspace ITEM_NUGGET, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16864C
+ call EventScript_1686B9
+ release
+ end
+
+EventScript_16864C:: @ 816864C
+ loadword 0, gUnknown_8188CC2
+ callstd 4
+ release
+ end
+
+EventScript_168656:: @ 8168656
+ loadword 0, gUnknown_8188DF1
+ callstd 4
+ release
+ end
+
+Route24_EventScript_168660:: @ 8168660
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_168678
+ end
+
+Route24_EventScript_16866C:: @ 816866C
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_168678
+ end
+
+EventScript_168678:: @ 8168678
+ textcolor 0
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_1686FD
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_168708
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ loadword 0, gUnknown_8188C3C
+ callstd 4
+ checkitemspace ITEM_NUGGET, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_168713
+ call EventScript_1686B9
+ releaseall
+ end
+
+EventScript_1686B9:: @ 81686B9
+ additem ITEM_NUGGET, 1
+ loadword 0, gUnknown_8188C93
+ setorcopyvar VAR_0x8000, 110
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ message Text_188CDB
+ waitmessage
+ playbgm BGM_FRLG_SUSPICIOUS_EYE, 0
+ waitbuttonpress
+ setvar VAR_LAST_TALKED, 1
+ trainerbattle 3, 356, 0, Text_188DDC
+ loadword 0, gUnknown_8188DF1
+ callstd 4
+ setvar VAR_0x406B, 1
+ return
+
+EventScript_1686FD:: @ 81686FD
+ applymovement 1, Movement_16873E
+ waitmovement 0
+ return
+
+EventScript_168708:: @ 8168708
+ applymovement 1, Movement_1A75E7
+ waitmovement 0
+ return
+
+EventScript_168713:: @ 8168713
+ loadword 0, gUnknown_8188CC2
+ callstd 4
+ closemessage
+ applymovement 255, Movement_168743
+ waitmovement 0
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_168733
+ release
+ end
+
+EventScript_168733:: @ 8168733
+ applymovement 1, Movement_168740
+ waitmovement 0
+ return
+
+Movement_16873E:: @ 816873E
+ step_12
+ step_end
+
+Movement_168740:: @ 8168740
+ step_13
+ step_2f
+ step_end
+
+Movement_168743:: @ 8168743
+ step_10
+ step_end
diff --git a/data/maps/Route25/map.json b/data/maps/Route25/map.json
new file mode 100644
index 000000000..4e6baf2be
--- /dev/null
+++ b/data/maps/Route25/map.json
@@ -0,0 +1,247 @@
+{
+ "id": "MAP_ROUTE25",
+ "name": "Route25",
+ "layout": "LAYOUT_ROUTE25",
+ "music": "BGM_FRLG_ROUTE_24",
+ "region_map_section": "MAPSEC_ROUTE_25",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE24",
+ "offset": 0,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "56",
+ "x": 11,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route25_EventScript_1A98A1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 18,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route25_EventScript_1A976B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 17,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route25_EventScript_1A991D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 22,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route25_EventScript_1A97A9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 22,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route25_EventScript_1A9825",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 27,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route25_EventScript_1A98DF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 28,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route25_EventScript_1A995B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 36,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "26",
+ "movement_range_x": 1,
+ "movement_range_y": 3,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route25_EventScript_1A97E7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 42,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route25_EventScript_1A9863",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 26,
+ "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": "Route25_EventScript_1BE651",
+ "flag": "355"
+ },
+ {
+ "graphics_id": "95",
+ "x": 30,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route25_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "29",
+ "x": 49,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route25_EventScript_1ACE4F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 49,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route25_EventScript_16874F",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 51,
+ "y": 4,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE25_SEA_COTTAGE",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 48,
+ "y": 4,
+ "elevation": 0,
+ "script": "Route25_EventScript_168746"
+ },
+ {
+ "type": "hidden_item",
+ "x": 14,
+ "y": 2,
+ "elevation": 3,
+ "item": "ITEM_ELIXIR",
+ "flag": "4",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 58,
+ "y": 6,
+ "elevation": 3,
+ "item": "ITEM_ETHER",
+ "flag": "5",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 33,
+ "y": 8,
+ "elevation": 3,
+ "item": "ITEM_ORAN_BERRY",
+ "flag": "116",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 40,
+ "y": 3,
+ "elevation": 3,
+ "item": "ITEM_BLUK_BERRY",
+ "flag": "117",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route25/scripts.inc b/data/maps/Route25/scripts.inc
new file mode 100644
index 000000000..88bbc1efa
--- /dev/null
+++ b/data/maps/Route25/scripts.inc
@@ -0,0 +1,12 @@
+Route25_MapScripts:: @ 8168745
+ .byte 0
+
+Route25_EventScript_168746:: @ 8168746
+ loadword 0, gUnknown_818954C
+ callstd 3
+ end
+
+Route25_EventScript_16874F:: @ 816874F
+ loadword 0, gUnknown_81895C2
+ callstd 2
+ end
diff --git a/data/maps/Route25_SeaCottage/map.json b/data/maps/Route25_SeaCottage/map.json
new file mode 100644
index 000000000..62edc1927
--- /dev/null
+++ b/data/maps/Route25_SeaCottage/map.json
@@ -0,0 +1,76 @@
+{
+ "id": "MAP_ROUTE25_SEA_COTTAGE",
+ "name": "Route25_SeaCottage",
+ "layout": "LAYOUT_ROUTE25_SEA_COTTAGE",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_25",
+ "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": "73",
+ "x": 7,
+ "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": "Route25_SeaCottage_EventScript_17054B",
+ "flag": "51"
+ },
+ {
+ "graphics_id": "113",
+ "x": 10,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route25_SeaCottage_EventScript_17054B",
+ "flag": "50"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE25",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 7,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE25",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 8,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE25",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 4,
+ "y": 5,
+ "elevation": 0,
+ "script": "Route25_SeaCottage_EventScript_1706DD"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route25_SeaCottage/scripts.inc b/data/maps/Route25_SeaCottage/scripts.inc
new file mode 100644
index 000000000..c88ed3054
--- /dev/null
+++ b/data/maps/Route25_SeaCottage/scripts.inc
@@ -0,0 +1,337 @@
+Route25_SeaCottage_MapScripts:: @ 8170523
+ map_script 3, Route25_SeaCottage_MapScript1_170529
+ .byte 0
+
+Route25_SeaCottage_MapScript1_170529:: @ 8170529
+ checkflag FLAG_0x233
+ call_if 0, EventScript_17053C
+ checkflag FLAG_0x234
+ call_if 1, EventScript_170547
+ end
+
+EventScript_17053C:: @ 817053C
+ clearflag FLAG_0x032
+ setobjectxyperm 1, 3, 3
+ return
+
+EventScript_170547:: @ 8170547
+ setflag FLAG_0x003
+ return
+
+Route25_SeaCottage_EventScript_17054B:: @ 817054B
+ lock
+ faceplayer
+ checkflag FLAG_0x003
+ goto_if 1, EventScript_1706C8
+ checkflag FLAG_0x234
+ goto_if 1, EventScript_170640
+ checkflag FLAG_0x233
+ goto_if 1, EventScript_17064A
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_170580
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_17058E
+ end
+
+EventScript_170580:: @ 8170580
+ loadword 0, gUnknown_819FDFA
+ callstd 5
+ goto EventScript_17059C
+ end
+
+EventScript_17058E:: @ 817058E
+ loadword 0, gUnknown_819FEE6
+ callstd 5
+ goto EventScript_17059C
+ end
+
+EventScript_17059C:: @ 817059C
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_170600
+ loadword 0, gUnknown_819FFD3
+ callstd 4
+ closemessage
+ delay 10
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_17062A
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_170635
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_170635
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_170635
+ opendoor 10, 3
+ waitdooranim
+ applymovement 2, Movement_1706DB
+ waitmovement 0
+ removeobject 2
+ playse SE_EXPMAX
+ closedoor 10, 3
+ waitdooranim
+ setflag FLAG_0x002
+ release
+ end
+
+EventScript_170600:: @ 8170600
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_170618
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_170621
+ return
+
+EventScript_170618:: @ 8170618
+ loadword 0, gUnknown_81A0035
+ callstd 4
+ return
+
+EventScript_170621:: @ 8170621
+ loadword 0, gUnknown_81A00B6
+ callstd 4
+ return
+
+EventScript_17062A:: @ 817062A
+ applymovement 2, Movement_1706D5
+ waitmovement 0
+ return
+
+EventScript_170635:: @ 8170635
+ applymovement 2, Movement_1706D2
+ waitmovement 0
+ return
+
+EventScript_170640:: @ 8170640
+ loadword 0, gUnknown_81A02CF
+ callstd 4
+ release
+ end
+
+EventScript_17064A:: @ 817064A
+ setvar VAR_0x8004, 13
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_1706AC
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_1706B5
+ checkitemspace ITEM_SS_TICKET, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1706BE
+ additem ITEM_SS_TICKET, 1
+ loadword 0, gUnknown_81A028E
+ setorcopyvar VAR_0x8000, 265
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ setflag FLAG_0x235
+ setflag FLAG_0x031
+ setflag FLAG_0x234
+ setflag 2100
+ goto EventScript_170640
+ end
+
+EventScript_1706AC:: @ 81706AC
+ loadword 0, gUnknown_81A013B
+ callstd 4
+ return
+
+EventScript_1706B5:: @ 81706B5
+ loadword 0, gUnknown_81A01E4
+ callstd 4
+ return
+
+EventScript_1706BE:: @ 81706BE
+ loadword 0, gUnknown_81A02B4
+ callstd 4
+ release
+ end
+
+EventScript_1706C8:: @ 81706C8
+ loadword 0, gUnknown_81A03AB
+ callstd 4
+ release
+ end
+
+Movement_1706D2:: @ 81706D2
+ step_11
+ step_11
+ step_end
+
+Movement_1706D5:: @ 81706D5
+ step_13
+ step_11
+ step_11
+ step_12
+ step_2e
+ step_end
+
+Movement_1706DB:: @ 81706DB
+ step_11
+ step_end
+
+Route25_SeaCottage_EventScript_1706DD:: @ 81706DD
+ lockall
+ checkflag FLAG_0x003
+ goto_if 1, EventScript_1707CA
+ checkflag FLAG_0x002
+ goto_if 1, EventScript_1706FA
+ loadword 0, gUnknown_81A0402
+ callstd 4
+ releaseall
+ end
+
+EventScript_1706FA:: @ 81706FA
+ fadeoutbgm 0
+ loadword 0, gUnknown_81A042D
+ callstd 4
+ closemessage
+ clearflag FLAG_0x002
+ setflag FLAG_0x233
+ special SpawnScriptFieldObject
+ applymovement 127, Movement_1707BE
+ waitmovement 0
+ delay 35
+ playse SE_PIN
+ waitse
+ setvar VAR_0x8004, 0
+ special sub_809C4A8
+ delay 10
+ call EventScript_1707B6
+ call EventScript_1707B6
+ call EventScript_1707B6
+ call EventScript_1707B6
+ call EventScript_1707B6
+ call EventScript_1707B6
+ call EventScript_1707B6
+ setvar VAR_0x8004, 1
+ special sub_809C4A8
+ playse SE_FU_ZUZUZU
+ special sub_809C5FC
+ waitse
+ call EventScript_1707B6
+ call EventScript_1707B6
+ call EventScript_1707B6
+ call EventScript_1707B6
+ call EventScript_1707B6
+ opendoor 3, 3
+ waitdooranim
+ fadeinbgm 0
+ addobject 1
+ clearflag FLAG_0x033
+ delay 50
+ playfanfare MUS_FANFA1
+ applymovement 1, Movement_170888
+ waitmovement 0
+ waitfanfare
+ applymovement 127, Movement_1707C3
+ waitmovement 0
+ playse SE_EXPMAX
+ closedoor 3, 3
+ waitdooranim
+ applymovement 1, Movement_170881
+ waitmovement 0
+ special RemoveScriptFieldObject
+ releaseall
+ end
+
+EventScript_1707B6:: @ 81707B6
+ playse SE_BOWA
+ waitse
+ delay 20
+ return
+
+Movement_1707BE:: @ 81707BE
+ step_11
+ step_11
+ step_13
+ step_13
+ step_end
+
+Movement_1707C3:: @ 81707C3
+ step_1c
+ step_1c
+ step_10
+ step_10
+ step_12
+ step_12
+ step_end
+
+EventScript_1707CA:: @ 81707CA
+ loadword 0, gUnknown_81A045B
+ callstd 4
+ goto EventScript_1707D8
+ end
+
+EventScript_1707D8:: @ 81707D8
+ message Text_1A0479
+ waitmessage
+ multichoice 0, 0, 1, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_17082B
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_170840
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_170855
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_17086A
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_17087F
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_17087F
+ end
+
+EventScript_17082B:: @ 817082B
+ drawmonpic SPECIES_EEVEE, 10, 3
+ waitbuttonpress
+ erasemonpic
+ setvar VAR_0x8004, 133
+ special sub_80CBDCC
+ goto EventScript_1707D8
+ end
+
+EventScript_170840:: @ 8170840
+ drawmonpic SPECIES_FLAREON, 10, 3
+ waitbuttonpress
+ erasemonpic
+ setvar VAR_0x8004, 136
+ special sub_80CBDCC
+ goto EventScript_1707D8
+ end
+
+EventScript_170855:: @ 8170855
+ drawmonpic SPECIES_JOLTEON, 10, 3
+ waitbuttonpress
+ erasemonpic
+ setvar VAR_0x8004, 135
+ special sub_80CBDCC
+ goto EventScript_1707D8
+ end
+
+EventScript_17086A:: @ 817086A
+ drawmonpic SPECIES_VAPOREON, 10, 3
+ waitbuttonpress
+ erasemonpic
+ setvar VAR_0x8004, 134
+ special sub_80CBDCC
+ goto EventScript_1707D8
+ end
+
+EventScript_17087F:: @ 817087F
+ releaseall
+ end
+
+Movement_170881:: @ 8170881
+ step_13
+ step_13
+ step_13
+ step_13
+ step_10
+ step_10
+ step_end
+
+Movement_170888:: @ 8170888
+ step_10
+ step_end
diff --git a/data/maps/Route2_EastBuilding/map.json b/data/maps/Route2_EastBuilding/map.json
new file mode 100644
index 000000000..97931c051
--- /dev/null
+++ b/data/maps/Route2_EastBuilding/map.json
@@ -0,0 +1,75 @@
+{
+ "id": "MAP_ROUTE2_EAST_BUILDING",
+ "name": "Route2_EastBuilding",
+ "layout": "LAYOUT_ROUTE2_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "55",
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_EastBuilding_EventScript_16F67F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 10,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_EastBuilding_EventScript_16F714",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 10,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE2",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 7,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 8,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 7,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route2_EastBuilding/scripts.inc b/data/maps/Route2_EastBuilding/scripts.inc
new file mode 100644
index 000000000..ac1fcb6bb
--- /dev/null
+++ b/data/maps/Route2_EastBuilding/scripts.inc
@@ -0,0 +1,51 @@
+Route2_EastBuilding_MapScripts:: @ 816F67E
+ .byte 0
+
+Route2_EastBuilding_EventScript_16F67F:: @ 816F67F
+ lock
+ faceplayer
+ call EventScript_16F70B
+ checkflag FLAG_0x23B
+ goto_if 1, EventScript_16F701
+ loadword 0, gUnknown_819D64F
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A7AD1
+ setvar VAR_0x8004, 0
+ specialvar VAR_RESULT, sub_80CA3D8
+ getnumberstring 2, VAR_0x8006
+ call EventScript_16F70B
+ compare_var_to_value VAR_0x8006, 10
+ goto_if 0, EventScript_1A7ABD
+ loadword 0, gUnknown_819D74E
+ callstd 4
+ checkitemspace ITEM_HM05, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A7AC7
+ additem ITEM_HM05, 1
+ loadword 0, gUnknown_819D7A1
+ setorcopyvar VAR_0x8000, 343
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x23B
+ loadword 0, gUnknown_819D7C1
+ callstd 4
+ release
+ end
+
+EventScript_16F701:: @ 816F701
+ loadword 0, gUnknown_819D7C1
+ callstd 4
+ release
+ end
+
+EventScript_16F70B:: @ 816F70B
+ getnumberstring 0, 10
+ getitemname 1, ITEM_HM05
+ return
+
+Route2_EastBuilding_EventScript_16F714:: @ 816F714
+ loadword 0, gUnknown_819D81E
+ callstd 2
+ end
diff --git a/data/maps/Route2_House/map.json b/data/maps/Route2_House/map.json
new file mode 100644
index 000000000..cbb0eb947
--- /dev/null
+++ b/data/maps/Route2_House/map.json
@@ -0,0 +1,68 @@
+{
+ "id": "MAP_ROUTE2_HOUSE",
+ "name": "Route2_House",
+ "layout": "LAYOUT_HOUSE2",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_2",
+ "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": "55",
+ "x": 4,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_House_EventScript_16F5F9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "51",
+ "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": "Route2_House_EventScript_16F602",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE2",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE2",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE2",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route2_House/scripts.inc b/data/maps/Route2_House/scripts.inc
new file mode 100644
index 000000000..8f7305c29
--- /dev/null
+++ b/data/maps/Route2_House/scripts.inc
@@ -0,0 +1,50 @@
+Route2_House_MapScripts:: @ 816F5F8
+ .byte 0
+
+Route2_House_EventScript_16F5F9:: @ 816F5F9
+ loadword 0, gUnknown_819D5E7
+ callstd 2
+ end
+
+Route2_House_EventScript_16F602:: @ 816F602
+ lock
+ faceplayer
+ setvar VAR_0x8008, 0
+ call EventScript_1A8CAD
+ checkflag FLAG_0x248
+ goto_if 1, EventScript_16F674
+ loadword 0, gUnknown_81A597B
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16F65C
+ call EventScript_1A8CBD
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_16F65C
+ call EventScript_1A8CC9
+ compare_var_to_var VAR_RESULT, VAR_0x8009
+ goto_if 5, EventScript_16F666
+ call EventScript_1A8CD9
+ loadword 0, gUnknown_81A59DA
+ callstd 4
+ setflag FLAG_0x248
+ release
+ end
+
+EventScript_16F65C:: @ 816F65C
+ loadword 0, gUnknown_81A59B6
+ callstd 4
+ release
+ end
+
+EventScript_16F666:: @ 816F666
+ getspeciesname 0, 32777
+ loadword 0, gUnknown_81A59C6
+ callstd 4
+ release
+ end
+
+EventScript_16F674:: @ 816F674
+ loadword 0, gUnknown_81A59E7
+ callstd 4
+ release
+ end
diff --git a/data/maps/Route2_ViridianForest_NorthEntrance/map.json b/data/maps/Route2_ViridianForest_NorthEntrance/map.json
new file mode 100644
index 000000000..271446b94
--- /dev/null
+++ b/data/maps/Route2_ViridianForest_NorthEntrance/map.json
@@ -0,0 +1,88 @@
+{
+ "id": "MAP_ROUTE2_VIRIDIAN_FOREST_NORTH_ENTRANCE",
+ "name": "Route2_ViridianForest_NorthEntrance",
+ "layout": "LAYOUT_ROUTE2_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "18",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_ViridianForest_NorthEntrance_EventScript_16F71E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_ViridianForest_NorthEntrance_EventScript_16F727",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 10,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_ViridianForest_NorthEntrance_EventScript_16F730",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_FOREST",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 7,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_FOREST",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 8,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_FOREST",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 7,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route2_ViridianForest_NorthEntrance/scripts.inc b/data/maps/Route2_ViridianForest_NorthEntrance/scripts.inc
new file mode 100644
index 000000000..d84ef1b6e
--- /dev/null
+++ b/data/maps/Route2_ViridianForest_NorthEntrance/scripts.inc
@@ -0,0 +1,17 @@
+Route2_ViridianForest_NorthEntrance_MapScripts:: @ 816F71D
+ .byte 0
+
+Route2_ViridianForest_NorthEntrance_EventScript_16F71E:: @ 816F71E
+ loadword 0, gUnknown_819D85C
+ callstd 2
+ end
+
+Route2_ViridianForest_NorthEntrance_EventScript_16F727:: @ 816F727
+ loadword 0, gUnknown_819D8D0
+ callstd 2
+ end
+
+Route2_ViridianForest_NorthEntrance_EventScript_16F730:: @ 816F730
+ loadword 0, gUnknown_819D93B
+ callstd 2
+ end
diff --git a/data/maps/Route2_ViridianForest_SouthEntrance/map.json b/data/maps/Route2_ViridianForest_SouthEntrance/map.json
new file mode 100644
index 000000000..8dc14d62f
--- /dev/null
+++ b/data/maps/Route2_ViridianForest_SouthEntrance/map.json
@@ -0,0 +1,75 @@
+{
+ "id": "MAP_ROUTE2_VIRIDIAN_FOREST_SOUTH_ENTRANCE",
+ "name": "Route2_ViridianForest_SouthEntrance",
+ "layout": "LAYOUT_ROUTE2_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "28",
+ "x": 10,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_ViridianForest_SouthEntrance_EventScript_16F5E6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "23",
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route2_ViridianForest_SouthEntrance_EventScript_16F5EF",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 7,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 8,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 7,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_FOREST",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route2_ViridianForest_SouthEntrance/scripts.inc b/data/maps/Route2_ViridianForest_SouthEntrance/scripts.inc
new file mode 100644
index 000000000..f81d39f8c
--- /dev/null
+++ b/data/maps/Route2_ViridianForest_SouthEntrance/scripts.inc
@@ -0,0 +1,12 @@
+Route2_ViridianForest_SouthEntrance_MapScripts:: @ 816F5E5
+ .byte 0
+
+Route2_ViridianForest_SouthEntrance_EventScript_16F5E6:: @ 816F5E6
+ loadword 0, gUnknown_819D52C
+ callstd 2
+ end
+
+Route2_ViridianForest_SouthEntrance_EventScript_16F5EF:: @ 816F5EF
+ loadword 0, gUnknown_819D58B
+ callstd 2
+ end
diff --git a/data/maps/Route3/map.json b/data/maps/Route3/map.json
new file mode 100644
index 000000000..01e64cf74
--- /dev/null
+++ b/data/maps/Route3/map.json
@@ -0,0 +1,165 @@
+{
+ "id": "MAP_ROUTE3",
+ "name": "Route3",
+ "layout": "LAYOUT_ROUTE3",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_3",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE4",
+ "offset": 60,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_PEWTER_CITY",
+ "offset": -10,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "18",
+ "x": 70,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route3_EventScript_167F78",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 40,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route3_EventScript_1A957B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 32,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route3_EventScript_1A94C1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 30,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route3_EventScript_1A953D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 25,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route3_EventScript_1A9483",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 29,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route3_EventScript_1A9407",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 19,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route3_EventScript_1A94FF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 12,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route3_EventScript_1A9445",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 17,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route3_EventScript_1A93C9",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 72,
+ "y": 11,
+ "elevation": 0,
+ "script": "Route3_EventScript_167F81"
+ },
+ {
+ "type": "hidden_item",
+ "x": 26,
+ "y": 9,
+ "elevation": 3,
+ "item": "ITEM_ORAN_BERRY",
+ "flag": "113",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route3/scripts.inc b/data/maps/Route3/scripts.inc
new file mode 100644
index 000000000..c74a4401a
--- /dev/null
+++ b/data/maps/Route3/scripts.inc
@@ -0,0 +1,12 @@
+Route3_MapScripts:: @ 8167F77
+ .byte 0
+
+Route3_EventScript_167F78:: @ 8167F78
+ loadword 0, gUnknown_8183491
+ callstd 2
+ end
+
+Route3_EventScript_167F81:: @ 8167F81
+ loadword 0, gUnknown_81838C0
+ callstd 3
+ end
diff --git a/data/maps/Route4/map.json b/data/maps/Route4/map.json
new file mode 100644
index 000000000..d7c4363a4
--- /dev/null
+++ b/data/maps/Route4/map.json
@@ -0,0 +1,186 @@
+{
+ "id": "MAP_ROUTE4",
+ "name": "Route4",
+ "layout": "LAYOUT_ROUTE4",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_4",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE3",
+ "offset": -60,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_CERULEAN_CITY",
+ "offset": -10,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "23",
+ "x": 9,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route4_EventScript_167F8C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 75,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route4_EventScript_1A95B9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 67,
+ "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": "Route4_EventScript_1BE637",
+ "flag": "353"
+ },
+ {
+ "graphics_id": "19",
+ "x": 15,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route4_EventScript_1ACDEA",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 47,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route4_EventScript_1C494E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 50,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route4_EventScript_1C49B6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65321",
+ "x": 109,
+ "y": 3,
+ "elevation": 12,
+ "movement_type": "0",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 3,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "0x0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 19,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_MT_MOON_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 32,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_MT_MOON_B1F",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 12,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE4_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 18,
+ "y": 7,
+ "elevation": 0,
+ "script": "Route4_EventScript_167F95"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 34,
+ "y": 7,
+ "elevation": 0,
+ "script": "Route4_EventScript_167F9E"
+ },
+ {
+ "type": "hidden_item",
+ "x": 43,
+ "y": 2,
+ "elevation": 3,
+ "item": "POCKET_POKE_BALLS",
+ "flag": "50",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "item": "ITEM_PERSIM_BERRY",
+ "flag": "114",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 67,
+ "y": 17,
+ "elevation": 3,
+ "item": "ITEM_RAZZ_BERRY",
+ "flag": "156",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route4/scripts.inc b/data/maps/Route4/scripts.inc
new file mode 100644
index 000000000..51f60f02f
--- /dev/null
+++ b/data/maps/Route4/scripts.inc
@@ -0,0 +1,20 @@
+Route4_MapScripts:: @ 8167F8A
+ .byte 0
+
+Route4_EventScript_167F8B:: @ 8167F8B
+ end
+
+Route4_EventScript_167F8C:: @ 8167F8C
+ loadword 0, gUnknown_81838D7
+ callstd 2
+ end
+
+Route4_EventScript_167F95:: @ 8167F95
+ loadword 0, gUnknown_818399B
+ callstd 3
+ end
+
+Route4_EventScript_167F9E:: @ 8167F9E
+ loadword 0, gUnknown_81839B4
+ callstd 3
+ end
diff --git a/data/maps/Route4_PokemonCenter_1F/map.json b/data/maps/Route4_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..51492a5b3
--- /dev/null
+++ b/data/maps/Route4_PokemonCenter_1F/map.json
@@ -0,0 +1,127 @@
+{
+ "id": "MAP_ROUTE4_POKEMON_CENTER_1F",
+ "name": "Route4_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_ROUTE_4",
+ "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": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route4_PokemonCenter_1F_EventScript_16F8BB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 1,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route4_PokemonCenter_1F_EventScript_16F75F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 12,
+ "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": "Route4_PokemonCenter_1F_EventScript_16F754",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "19",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route4_PokemonCenter_1F_EventScript_16F74B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 14,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route4_PokemonCenter_1F_EventScript_16F8C4",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "105",
+ "x": 12,
+ "y": 6,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route4_PokemonCenter_1F_EventScript_16F8CD",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE4",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE4",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE4",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_ROUTE4_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route4_PokemonCenter_1F/scripts.inc b/data/maps/Route4_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..e488082c2
--- /dev/null
+++ b/data/maps/Route4_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,181 @@
+Route4_PokemonCenter_1F_MapScripts:: @ 816F739
+ map_script 3, Route4_PokemonCenter_1F_MapScript1_16F744
+ map_script 5, Route4_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+Route4_PokemonCenter_1F_MapScript1_16F744:: @ 816F744
+ setworldmapflag 2210
+ setrespawn 12
+ end
+
+Route4_PokemonCenter_1F_EventScript_16F74B:: @ 816F74B
+ loadword 0, gUnknown_819D9D4
+ callstd 2
+ end
+
+Route4_PokemonCenter_1F_EventScript_16F754:: @ 816F754
+ lock
+ loadword 0, gUnknown_819DA3A
+ callstd 4
+ release
+ end
+
+Route4_PokemonCenter_1F_EventScript_16F75F:: @ 816F75F
+ lock
+ faceplayer
+ checkflag FLAG_0x249
+ goto_if 1, EventScript_16F8A2
+ showmoneybox 0, 0, 0
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16F786
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F794
+ end
+
+EventScript_16F786:: @ 816F786
+ loadword 0, gUnknown_819DA9A
+ callstd 5
+ goto EventScript_16F7A2
+ end
+
+EventScript_16F794:: @ 816F794
+ loadword 0, gUnknown_819DB34
+ callstd 5
+ goto EventScript_16F7A2
+ end
+
+EventScript_16F7A2:: @ 816F7A2
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16F888
+ checkmoney 500, 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16F895
+ textcolor 3
+ setvar VAR_0x4001, 129
+ givemon SPECIES_MAGIKARP, 5, ITEM_NONE, 0, 0, 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16F7F6
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F822
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_16F8AC
+ end
+
+EventScript_16F7F6:: @ 816F7F6
+ call EventScript_16F86F
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16F861
+ call EventScript_1A8C27
+ fadescreen 1
+ hidemoneybox
+ .byte 0
+ .byte 0
+ special ChangePokemonNickname
+ waitstate
+ goto EventScript_16F86A
+ end
+
+EventScript_16F822:: @ 816F822
+ call EventScript_16F86F
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16F84B
+ fadescreen 1
+ hidemoneybox
+ .byte 0
+ .byte 0
+ special ChangeBoxPokemonNickname
+ waitstate
+ lock
+ faceplayer
+ goto EventScript_16F856
+ end
+
+EventScript_16F84B:: @ 816F84B
+ call EventScript_1A8C3C
+ goto EventScript_16F861
+ end
+
+EventScript_16F856:: @ 816F856
+ call EventScript_1A8C3C
+ goto EventScript_16F86A
+ end
+
+EventScript_16F861:: @ 816F861
+ hidemoneybox
+ .byte 0
+ .byte 0
+ goto EventScript_16F86A
+ end
+
+EventScript_16F86A:: @ 816F86A
+ setflag FLAG_0x249
+ release
+ end
+
+EventScript_16F86F:: @ 816F86F
+ takemoney 500, 0
+ updatemoneybox 0, 0, 0
+ playfanfare MUS_FANFA1
+ message Text_19DBD3
+ waitmessage
+ waitfanfare
+ getspeciesname 0, SPECIES_MAGIKARP
+ return
+
+EventScript_16F888:: @ 816F888
+ loadword 0, gUnknown_819DC07
+ callstd 4
+ hidemoneybox
+ .byte 0
+ .byte 0
+ release
+ end
+
+EventScript_16F895:: @ 816F895
+ loadword 0, gUnknown_819DC78
+ callstd 4
+ hidemoneybox
+ .byte 0
+ .byte 0
+ release
+ end
+
+EventScript_16F8A2:: @ 816F8A2
+ loadword 0, gUnknown_819DC9A
+ callstd 4
+ release
+ end
+
+EventScript_16F8AC:: @ 816F8AC
+ textcolor 0
+ loadword 0, gUnknown_819DC3E
+ callstd 4
+ hidemoneybox
+ .byte 0
+ .byte 0
+ release
+ end
+
+Route4_PokemonCenter_1F_EventScript_16F8BB:: @ 816F8BB
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+Route4_PokemonCenter_1F_EventScript_16F8C4:: @ 816F8C4
+ loadword 0, gUnknown_819DCDB
+ callstd 2
+ end
+
+Route4_PokemonCenter_1F_EventScript_16F8CD:: @ 816F8CD
+ lock
+ loadword 0, gUnknown_819DD54
+ callstd 4
+ release
+ end
diff --git a/data/maps/Route4_PokemonCenter_2F/map.json b/data/maps/Route4_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..a601bf6fc
--- /dev/null
+++ b/data/maps/Route4_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_ROUTE4_POKEMON_CENTER_2F",
+ "name": "Route4_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_ROUTE_4",
+ "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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route4_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route4_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route4_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "Route4_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_ROUTE4_POKEMON_CENTER_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route4_PokemonCenter_2F/scripts.inc b/data/maps/Route4_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..172b29972
--- /dev/null
+++ b/data/maps/Route4_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+Route4_PokemonCenter_2F_MapScripts:: @ 816F8D8
+ map_script 2, Route4_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, Route4_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, Route4_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, Route4_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+Route4_PokemonCenter_2F_EventScript_16F8ED:: @ 816F8ED
+ call EventScript_1BB4A3
+ end
+
+EventScript_16F8F3:: @ 816F8F3
+ call EventScript_1BB6AB
+ end
+
+EventScript_16F8F9:: @ 816F8F9
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/Route5/map.json b/data/maps/Route5/map.json
new file mode 100644
index 000000000..b6f8cadef
--- /dev/null
+++ b/data/maps/Route5/map.json
@@ -0,0 +1,67 @@
+{
+ "id": "MAP_ROUTE5",
+ "name": "Route5",
+ "layout": "LAYOUT_ROUTE5",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_5",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_CERULEAN_CITY",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_SAFFRON_CITY",
+ "offset": 0,
+ "direction": "down"
+ }
+ ],
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 31,
+ "y": 31,
+ "elevation": 0,
+ "dest_map": "MAP_UNDERGROUND_PATH_NORTH_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 23,
+ "y": 25,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE5_POKEMON_DAY_CARE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 24,
+ "y": 32,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE5_SOUTH_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 25,
+ "y": 32,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE5_SOUTH_ENTRANCE",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 32,
+ "y": 32,
+ "elevation": 0,
+ "script": "Route5_EventScript_167FA8"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route5/scripts.inc b/data/maps/Route5/scripts.inc
new file mode 100644
index 000000000..a5fde8a87
--- /dev/null
+++ b/data/maps/Route5/scripts.inc
@@ -0,0 +1,7 @@
+Route5_MapScripts:: @ 8167FA7
+ .byte 0
+
+Route5_EventScript_167FA8:: @ 8167FA8
+ loadword 0, gUnknown_8183DD4
+ callstd 3
+ end
diff --git a/data/maps/Route5_PokemonDayCare/map.json b/data/maps/Route5_PokemonDayCare/map.json
new file mode 100644
index 000000000..6ea473e4f
--- /dev/null
+++ b/data/maps/Route5_PokemonDayCare/map.json
@@ -0,0 +1,55 @@
+{
+ "id": "MAP_ROUTE5_POKEMON_DAY_CARE",
+ "name": "Route5_PokemonDayCare",
+ "layout": "LAYOUT_ROUTE5_POKEMON_DAY_CARE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_5",
+ "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": "61",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route5_PokemonDayCare_EventScript_1BF398",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE5",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE5",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE5",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route5_PokemonDayCare/scripts.inc b/data/maps/Route5_PokemonDayCare/scripts.inc
new file mode 100644
index 000000000..3946ef43b
--- /dev/null
+++ b/data/maps/Route5_PokemonDayCare/scripts.inc
@@ -0,0 +1,2 @@
+Route5_PokemonDayCare_MapScripts:: @ 816F8FF
+ .byte 0
diff --git a/data/maps/Route5_SouthEntrance/map.json b/data/maps/Route5_SouthEntrance/map.json
new file mode 100644
index 000000000..b153ebe11
--- /dev/null
+++ b/data/maps/Route5_SouthEntrance/map.json
@@ -0,0 +1,90 @@
+{
+ "id": "MAP_ROUTE5_SOUTH_ENTRANCE",
+ "name": "Route5_SouthEntrance",
+ "layout": "LAYOUT_SAFFRON_CITY_NORTH_SOUTH_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_5",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "60",
+ "x": 1,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route5_SouthEntrance_EventScript_16F901",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 9
+ },
+ {
+ "x": 4,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE5",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 9
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE5",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 3,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4062",
+ "var_value": 0,
+ "script": "Route5_SouthEntrance_EventScript_16F90A"
+ },
+ {
+ "type": "trigger",
+ "x": 4,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4062",
+ "var_value": 0,
+ "script": "Route5_SouthEntrance_EventScript_16F916"
+ },
+ {
+ "type": "trigger",
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4062",
+ "var_value": 0,
+ "script": "Route5_SouthEntrance_EventScript_16F922"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route5_SouthEntrance/scripts.inc b/data/maps/Route5_SouthEntrance/scripts.inc
new file mode 100644
index 000000000..9e4b41a51
--- /dev/null
+++ b/data/maps/Route5_SouthEntrance/scripts.inc
@@ -0,0 +1,92 @@
+Route5_SouthEntrance_MapScripts:: @ 816F900
+ .byte 0
+
+Route5_SouthEntrance_EventScript_16F901:: @ 816F901
+ loadword 0, gUnknown_819E16D
+ callstd 2
+ end
+
+Route5_SouthEntrance_EventScript_16F90A:: @ 816F90A
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_16F92E
+ end
+
+Route5_SouthEntrance_EventScript_16F916:: @ 816F916
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_16F92E
+ end
+
+Route5_SouthEntrance_EventScript_16F922:: @ 816F922
+ lockall
+ setvar VAR_0x4001, 2
+ goto EventScript_16F92E
+ end
+
+EventScript_16F92E:: @ 816F92E
+ textcolor 0
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ checkflag FLAG_0x2A6
+ goto_if 1, EventScript_16F958
+ loadword 0, gUnknown_819E04B
+ callstd 4
+ closemessage
+ applymovement 255, Movement_16F9C4
+ waitmovement 0
+ releaseall
+ end
+
+EventScript_16F958:: @ 816F958
+ removeitem ITEM_TEA, 1
+ goto EventScript_16F963
+ end
+
+EventScript_16F963:: @ 816F963
+ loadword 0, gUnknown_819E09B
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16F99C
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16F9A7
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_16F9B2
+ loadword 0, gUnknown_819E0C1
+ callstd 4
+ setvar VAR_0x4062, 1
+ releaseall
+ end
+
+EventScript_16F99C:: @ 816F99C
+ applymovement 255, Movement_16F9C2
+ waitmovement 0
+ return
+
+EventScript_16F9A7:: @ 816F9A7
+ applymovement 255, Movement_16F9BD
+ waitmovement 0
+ return
+
+EventScript_16F9B2:: @ 816F9B2
+ applymovement 255, Movement_16F9BF
+ waitmovement 0
+ return
+
+Movement_16F9BD:: @ 816F9BD
+ step_12
+ step_end
+
+Movement_16F9BF:: @ 816F9BF
+ step_12
+ step_12
+ step_end
+
+Movement_16F9C2:: @ 816F9C2
+ step_27
+ step_end
+
+Movement_16F9C4:: @ 816F9C4
+ step_11
+ step_end
diff --git a/data/maps/Route6/map.json b/data/maps/Route6/map.json
new file mode 100644
index 000000000..13dc779ef
--- /dev/null
+++ b/data/maps/Route6/map.json
@@ -0,0 +1,157 @@
+{
+ "id": "MAP_ROUTE6",
+ "name": "Route6",
+ "layout": "LAYOUT_ROUTE6",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_6",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_SAFFRON_CITY",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_VERMILION_CITY",
+ "offset": -12,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "20",
+ "x": 3,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route6_EventScript_1A9999",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 12,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route6_EventScript_1A9A15",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 13,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route6_EventScript_1A9A91",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 20,
+ "y": 25,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route6_EventScript_1A99D7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 13,
+ "y": 32,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route6_EventScript_1A9ACF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 13,
+ "y": 33,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route6_EventScript_1A9A53",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 19,
+ "y": 13,
+ "elevation": 0,
+ "dest_map": "MAP_UNDERGROUND_PATH_SOUTH_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 12,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE6_NORTH_ENTRANCE",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 13,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE6_NORTH_ENTRANCE",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 21,
+ "y": 15,
+ "elevation": 0,
+ "script": "Route6_EventScript_167FB2"
+ },
+ {
+ "type": "hidden_item",
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_SITRUS_BERRY",
+ "flag": "118",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 19,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_RARE_CANDY",
+ "flag": "119",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route6/scripts.inc b/data/maps/Route6/scripts.inc
new file mode 100644
index 000000000..8cbe2db5a
--- /dev/null
+++ b/data/maps/Route6/scripts.inc
@@ -0,0 +1,7 @@
+Route6_MapScripts:: @ 8167FB1
+ .byte 0
+
+Route6_EventScript_167FB2:: @ 8167FB2
+ loadword 0, gUnknown_8184067
+ callstd 3
+ end
diff --git a/data/maps/Route6_NorthEntrance/map.json b/data/maps/Route6_NorthEntrance/map.json
new file mode 100644
index 000000000..99fb33e28
--- /dev/null
+++ b/data/maps/Route6_NorthEntrance/map.json
@@ -0,0 +1,90 @@
+{
+ "id": "MAP_ROUTE6_NORTH_ENTRANCE",
+ "name": "Route6_NorthEntrance",
+ "layout": "LAYOUT_SAFFRON_CITY_NORTH_SOUTH_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_6",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "60",
+ "x": 7,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route6_NorthEntrance_EventScript_16F9C7",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 11
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 11
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE6",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE6",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 3,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4062",
+ "var_value": 0,
+ "script": "Route6_NorthEntrance_EventScript_16F9D0"
+ },
+ {
+ "type": "trigger",
+ "x": 4,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4062",
+ "var_value": 0,
+ "script": "Route6_NorthEntrance_EventScript_16F9DC"
+ },
+ {
+ "type": "trigger",
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4062",
+ "var_value": 0,
+ "script": "Route6_NorthEntrance_EventScript_16F9E8"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route6_NorthEntrance/scripts.inc b/data/maps/Route6_NorthEntrance/scripts.inc
new file mode 100644
index 000000000..836396d94
--- /dev/null
+++ b/data/maps/Route6_NorthEntrance/scripts.inc
@@ -0,0 +1,92 @@
+Route6_NorthEntrance_MapScripts:: @ 816F9C6
+ .byte 0
+
+Route6_NorthEntrance_EventScript_16F9C7:: @ 816F9C7
+ loadword 0, gUnknown_819E2A3
+ callstd 2
+ end
+
+Route6_NorthEntrance_EventScript_16F9D0:: @ 816F9D0
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_16F9F4
+ end
+
+Route6_NorthEntrance_EventScript_16F9DC:: @ 816F9DC
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_16F9F4
+ end
+
+Route6_NorthEntrance_EventScript_16F9E8:: @ 816F9E8
+ lockall
+ setvar VAR_0x4001, 2
+ goto EventScript_16F9F4
+ end
+
+EventScript_16F9F4:: @ 816F9F4
+ textcolor 0
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ checkflag FLAG_0x2A6
+ goto_if 1, EventScript_16FA1E
+ loadword 0, gUnknown_819E181
+ callstd 4
+ closemessage
+ applymovement 255, Movement_16FA8A
+ waitmovement 0
+ releaseall
+ end
+
+EventScript_16FA1E:: @ 816FA1E
+ removeitem ITEM_TEA, 1
+ goto EventScript_16FA29
+ end
+
+EventScript_16FA29:: @ 816FA29
+ loadword 0, gUnknown_819E1D1
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16FA62
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16FA6D
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_16FA78
+ loadword 0, gUnknown_819E1F7
+ callstd 4
+ setvar VAR_0x4062, 1
+ releaseall
+ end
+
+EventScript_16FA62:: @ 816FA62
+ applymovement 255, Movement_16FA83
+ waitmovement 0
+ return
+
+EventScript_16FA6D:: @ 816FA6D
+ applymovement 255, Movement_16FA86
+ waitmovement 0
+ return
+
+EventScript_16FA78:: @ 816FA78
+ applymovement 255, Movement_16FA88
+ waitmovement 0
+ return
+
+Movement_16FA83:: @ 816FA83
+ step_13
+ step_13
+ step_end
+
+Movement_16FA86:: @ 816FA86
+ step_13
+ step_end
+
+Movement_16FA88:: @ 816FA88
+ step_28
+ step_end
+
+Movement_16FA8A:: @ 816FA8A
+ step_10
+ step_end
diff --git a/data/maps/Route7/map.json b/data/maps/Route7/map.json
new file mode 100644
index 000000000..2974e7ba8
--- /dev/null
+++ b/data/maps/Route7/map.json
@@ -0,0 +1,76 @@
+{
+ "id": "MAP_ROUTE7",
+ "name": "Route7",
+ "layout": "LAYOUT_ROUTE7",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_7",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_CELADON_CITY",
+ "offset": -10,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_SAFFRON_CITY",
+ "offset": -10,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "65375",
+ "x": 65528,
+ "y": 12,
+ "elevation": 10,
+ "movement_type": "0",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 6,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "0x0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 14,
+ "elevation": 0,
+ "dest_map": "MAP_UNDERGROUND_PATH_WEST_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 15,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE7_EAST_ENTRANCE",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 14,
+ "elevation": 0,
+ "script": "Route7_EventScript_167FBC"
+ },
+ {
+ "type": "hidden_item",
+ "x": 16,
+ "y": 15,
+ "elevation": 3,
+ "item": "ITEM_WEPEAR_BERRY",
+ "flag": "152",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route7/scripts.inc b/data/maps/Route7/scripts.inc
new file mode 100644
index 000000000..7ec9bd6a0
--- /dev/null
+++ b/data/maps/Route7/scripts.inc
@@ -0,0 +1,7 @@
+Route7_MapScripts:: @ 8167FBB
+ .byte 0
+
+Route7_EventScript_167FBC:: @ 8167FBC
+ loadword 0, gUnknown_8184097
+ callstd 3
+ end
diff --git a/data/maps/Route7_EastEntrance/map.json b/data/maps/Route7_EastEntrance/map.json
new file mode 100644
index 000000000..618183024
--- /dev/null
+++ b/data/maps/Route7_EastEntrance/map.json
@@ -0,0 +1,90 @@
+{
+ "id": "MAP_ROUTE7_EAST_ENTRANCE",
+ "name": "Route7_EastEntrance",
+ "layout": "LAYOUT_SAFFRON_CITY_EAST_WEST_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_7",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "60",
+ "x": 6,
+ "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": "Route7_EastEntrance_EventScript_16FA8E",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE7",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE7",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 11,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 11,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 8
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "var": "VAR_0x4062",
+ "var_value": 0,
+ "script": "Route7_EastEntrance_EventScript_16FA97"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4062",
+ "var_value": 0,
+ "script": "Route7_EastEntrance_EventScript_16FAA3"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4062",
+ "var_value": 0,
+ "script": "Route7_EastEntrance_EventScript_16FAAF"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route7_EastEntrance/scripts.inc b/data/maps/Route7_EastEntrance/scripts.inc
new file mode 100644
index 000000000..242081916
--- /dev/null
+++ b/data/maps/Route7_EastEntrance/scripts.inc
@@ -0,0 +1,92 @@
+Route7_EastEntrance_MapScripts:: @ 816FA8D
+ .byte 0
+
+Route7_EastEntrance_EventScript_16FA8E:: @ 816FA8E
+ loadword 0, gUnknown_819E3D9
+ callstd 2
+ end
+
+Route7_EastEntrance_EventScript_16FA97:: @ 816FA97
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_16FABB
+ end
+
+Route7_EastEntrance_EventScript_16FAA3:: @ 816FAA3
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_16FABB
+ end
+
+Route7_EastEntrance_EventScript_16FAAF:: @ 816FAAF
+ lockall
+ setvar VAR_0x4001, 2
+ goto EventScript_16FABB
+ end
+
+EventScript_16FABB:: @ 816FABB
+ textcolor 0
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ checkflag FLAG_0x2A6
+ goto_if 1, EventScript_16FAE5
+ loadword 0, gUnknown_819E2B7
+ callstd 4
+ closemessage
+ applymovement 255, Movement_16FB51
+ waitmovement 0
+ releaseall
+ end
+
+EventScript_16FAE5:: @ 816FAE5
+ removeitem ITEM_TEA, 1
+ goto EventScript_16FAF0
+ end
+
+EventScript_16FAF0:: @ 816FAF0
+ loadword 0, gUnknown_819E307
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16FB29
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16FB34
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_16FB3F
+ loadword 0, gUnknown_819E32D
+ callstd 4
+ setvar VAR_0x4062, 1
+ releaseall
+ end
+
+EventScript_16FB29:: @ 816FB29
+ applymovement 255, Movement_16FB4F
+ waitmovement 0
+ return
+
+EventScript_16FB34:: @ 816FB34
+ applymovement 255, Movement_16FB4A
+ waitmovement 0
+ return
+
+EventScript_16FB3F:: @ 816FB3F
+ applymovement 255, Movement_16FB4C
+ waitmovement 0
+ return
+
+Movement_16FB4A:: @ 816FB4A
+ step_11
+ step_end
+
+Movement_16FB4C:: @ 816FB4C
+ step_11
+ step_11
+ step_end
+
+Movement_16FB4F:: @ 816FB4F
+ step_26
+ step_end
+
+Movement_16FB51:: @ 816FB51
+ step_12
+ step_end
diff --git a/data/maps/Route8/map.json b/data/maps/Route8/map.json
new file mode 100644
index 000000000..cec23d53d
--- /dev/null
+++ b/data/maps/Route8/map.json
@@ -0,0 +1,276 @@
+{
+ "id": "MAP_ROUTE8",
+ "name": "Route8",
+ "layout": "LAYOUT_ROUTE8",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_8",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_SAFFRON_CITY",
+ "offset": -10,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_LAVENDER_TOWN",
+ "offset": 0,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "22",
+ "x": 62,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 6,
+ "script": "Route8_EventScript_1AA1D5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 55,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route8_EventScript_1AA30B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 51,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route8_EventScript_1AA251",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 29,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route8_EventScript_1AA11B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 29,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 6,
+ "script": "Route8_EventScript_1AA28F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 29,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route8_EventScript_1AA159",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 29,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 6,
+ "script": "Route8_EventScript_1AA197",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 21,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route8_EventScript_1AA2CD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 9,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route8_EventScript_1AA213",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 33,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route8_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "95",
+ "x": 47,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route8_EventScript_1BDF13",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "17",
+ "x": 40,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route8_EventScript_1AA349",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 41,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route8_EventScript_1AA38F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 14,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "52",
+ "movement_range_x": 5,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route8_EventScript_1AA3D5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 24,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "41",
+ "movement_range_x": 5,
+ "movement_range_y": 5,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route8_EventScript_1AA413",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 13,
+ "y": 4,
+ "elevation": 0,
+ "dest_map": "MAP_UNDERGROUND_PATH_EAST_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 7,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE8_WEST_ENTRANCE",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 16,
+ "y": 5,
+ "elevation": 0,
+ "script": "Route8_EventScript_167FC6"
+ },
+ {
+ "type": "hidden_item",
+ "x": 42,
+ "y": 10,
+ "elevation": 3,
+ "item": "ITEM_RAWST_BERRY",
+ "flag": "127",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 38,
+ "y": 11,
+ "elevation": 3,
+ "item": "ITEM_LUM_BERRY",
+ "flag": "128",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 42,
+ "y": 15,
+ "elevation": 3,
+ "item": "ITEM_LEPPA_BERRY",
+ "flag": "129",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route8/scripts.inc b/data/maps/Route8/scripts.inc
new file mode 100644
index 000000000..d789a05d6
--- /dev/null
+++ b/data/maps/Route8/scripts.inc
@@ -0,0 +1,7 @@
+Route8_MapScripts:: @ 8167FC5
+ .byte 0
+
+Route8_EventScript_167FC6:: @ 8167FC6
+ loadword 0, gUnknown_8184576
+ callstd 3
+ end
diff --git a/data/maps/Route8_WestEntrance/map.json b/data/maps/Route8_WestEntrance/map.json
new file mode 100644
index 000000000..d46acda0f
--- /dev/null
+++ b/data/maps/Route8_WestEntrance/map.json
@@ -0,0 +1,90 @@
+{
+ "id": "MAP_ROUTE8_WEST_ENTRANCE",
+ "name": "Route8_WestEntrance",
+ "layout": "LAYOUT_SAFFRON_CITY_EAST_WEST_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_ROUTE_8",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "60",
+ "x": 6,
+ "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": "Route8_WestEntrance_EventScript_16FB54",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 10
+ },
+ {
+ "x": 1,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 10
+ },
+ {
+ "x": 11,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE8",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 11,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE8",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "var": "VAR_0x4062",
+ "var_value": 0,
+ "script": "Route8_WestEntrance_EventScript_16FB5D"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4062",
+ "var_value": 0,
+ "script": "Route8_WestEntrance_EventScript_16FB69"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4062",
+ "var_value": 0,
+ "script": "Route8_WestEntrance_EventScript_16FB75"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/Route8_WestEntrance/scripts.inc b/data/maps/Route8_WestEntrance/scripts.inc
new file mode 100644
index 000000000..472bb5b8f
--- /dev/null
+++ b/data/maps/Route8_WestEntrance/scripts.inc
@@ -0,0 +1,102 @@
+Route8_WestEntrance_MapScripts:: @ 816FB53
+ .byte 0
+
+Route8_WestEntrance_EventScript_16FB54:: @ 816FB54
+ loadword 0, gUnknown_819E50F
+ callstd 2
+ end
+
+Route8_WestEntrance_EventScript_16FB5D:: @ 816FB5D
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_16FB81
+ end
+
+Route8_WestEntrance_EventScript_16FB69:: @ 816FB69
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_16FB81
+ end
+
+Route8_WestEntrance_EventScript_16FB75:: @ 816FB75
+ lockall
+ setvar VAR_0x4001, 2
+ goto EventScript_16FB81
+ end
+
+EventScript_16FB81:: @ 816FB81
+ textcolor 0
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ checkflag FLAG_0x2A6
+ goto_if 1, EventScript_16FBAB
+ loadword 0, gUnknown_819E3ED
+ callstd 4
+ closemessage
+ applymovement 255, Movement_16FC2D
+ waitmovement 0
+ releaseall
+ end
+
+EventScript_16FBAB:: @ 816FBAB
+ removeitem ITEM_TEA, 1
+ goto EventScript_16FBCC
+ end
+
+EventScript_16FBB6:: @ 816FBB6
+ removeitem ITEM_SODA_POP, 1
+ goto EventScript_16FBCC
+ end
+
+EventScript_16FBC1:: @ 816FBC1
+ removeitem ITEM_LEMONADE, 1
+ goto EventScript_16FBCC
+ end
+
+EventScript_16FBCC:: @ 816FBCC
+ loadword 0, gUnknown_819E43D
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_16FC05
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_16FC10
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_16FC1B
+ loadword 0, gUnknown_819E463
+ callstd 4
+ setvar VAR_0x4062, 1
+ releaseall
+ end
+
+EventScript_16FC05:: @ 816FC05
+ applymovement 255, Movement_16FC2B
+ waitmovement 0
+ return
+
+EventScript_16FC10:: @ 816FC10
+ applymovement 255, Movement_16FC26
+ waitmovement 0
+ return
+
+EventScript_16FC1B:: @ 816FC1B
+ applymovement 255, Movement_16FC28
+ waitmovement 0
+ return
+
+Movement_16FC26:: @ 816FC26
+ step_11
+ step_end
+
+Movement_16FC28:: @ 816FC28
+ step_11
+ step_11
+ step_end
+
+Movement_16FC2B:: @ 816FC2B
+ step_26
+ step_end
+
+Movement_16FC2D:: @ 816FC2D
+ step_13
+ step_end
diff --git a/data/maps/Route9/map.json b/data/maps/Route9/map.json
new file mode 100644
index 000000000..72877fc69
--- /dev/null
+++ b/data/maps/Route9/map.json
@@ -0,0 +1,222 @@
+{
+ "id": "MAP_ROUTE9",
+ "name": "Route9",
+ "layout": "LAYOUT_ROUTE9",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_9",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_CERULEAN_CITY",
+ "offset": -10,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_ROUTE10",
+ "offset": 0,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "40",
+ "x": 14,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route9_EventScript_1A9E71",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 20,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "15",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route9_EventScript_1A9F69",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 61,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route9_EventScript_1A9EED",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 26,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route9_EventScript_1A9DF5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 26,
+ "y": 1,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route9_EventScript_1A9D79",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 49,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route9_EventScript_1A9DB7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 53,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 3,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route9_EventScript_1A9F2B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 60,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route9_EventScript_1A9EAF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 36,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route9_EventScript_1A9E33",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 2,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route9_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "92",
+ "x": 12,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route9_EventScript_1BE6B9",
+ "flag": "363"
+ },
+ {
+ "graphics_id": "92",
+ "x": 65,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route9_EventScript_1BEAFD",
+ "flag": "450"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 29,
+ "y": 7,
+ "elevation": 0,
+ "script": "Route9_EventScript_167FD0"
+ },
+ {
+ "type": "hidden_item",
+ "x": 15,
+ "y": 7,
+ "elevation": 0,
+ "item": "ITEM_ETHER",
+ "flag": "6",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 63,
+ "y": 2,
+ "elevation": 3,
+ "item": "ITEM_RARE_CANDY",
+ "flag": "123",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 48,
+ "y": 2,
+ "elevation": 3,
+ "item": "ITEM_CHESTO_BERRY",
+ "flag": "150",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/Route9/scripts.inc b/data/maps/Route9/scripts.inc
new file mode 100644
index 000000000..a6492a3e1
--- /dev/null
+++ b/data/maps/Route9/scripts.inc
@@ -0,0 +1,7 @@
+Route9_MapScripts:: @ 8167FCF
+ .byte 0
+
+Route9_EventScript_167FD0:: @ 8167FD0
+ loadword 0, gUnknown_8184B66
+ callstd 3
+ end
diff --git a/data/maps/SSAnne_1F_Corridor/map.json b/data/maps/SSAnne_1F_Corridor/map.json
new file mode 100644
index 000000000..864ebe0dd
--- /dev/null
+++ b/data/maps/SSAnne_1F_Corridor/map.json
@@ -0,0 +1,138 @@
+{
+ "id": "MAP_SSANNE_1F_CORRIDOR",
+ "name": "SSAnne_1F_Corridor",
+ "layout": "LAYOUT_SSANNE_1F_CORRIDOR",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "62",
+ "x": 18,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_1F_Corridor_EventScript_1608D5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 12,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_1F_Corridor_EventScript_1608CC",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_2F_CORRIDOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 2,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_KITCHEN",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 19,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_EXTERIOR",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 20,
+ "y": 0,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_EXTERIOR",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 3,
+ "y": 20,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_KITCHEN",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 28,
+ "y": 17,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_B1F_CORRIDOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 5,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_1F_ROOM1",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 8,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_1F_ROOM2",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_1F_ROOM3",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 14,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_1F_ROOM4",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 17,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_1F_ROOM5",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 23,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_1F_ROOM7",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 20,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_1F_ROOM6",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_1F_Corridor/scripts.inc b/data/maps/SSAnne_1F_Corridor/scripts.inc
new file mode 100644
index 000000000..0d84f7851
--- /dev/null
+++ b/data/maps/SSAnne_1F_Corridor/scripts.inc
@@ -0,0 +1,12 @@
+SSAnne_1F_Corridor_MapScripts:: @ 81608CB
+ .byte 0
+
+SSAnne_1F_Corridor_EventScript_1608CC:: @ 81608CC
+ loadword 0, gUnknown_8172EE7
+ callstd 2
+ end
+
+SSAnne_1F_Corridor_EventScript_1608D5:: @ 81608D5
+ loadword 0, gUnknown_8172F60
+ callstd 2
+ end
diff --git a/data/maps/SSAnne_1F_Room1/map.json b/data/maps/SSAnne_1F_Room1/map.json
new file mode 100644
index 000000000..e83821225
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room1/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_SSANNE_1F_ROOM1",
+ "name": "SSAnne_1F_Room1",
+ "layout": "LAYOUT_SSANNE_ROOM1",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "61",
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_1F_Room1_EventScript_160BDC",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_1F_Room1/scripts.inc b/data/maps/SSAnne_1F_Room1/scripts.inc
new file mode 100644
index 000000000..578278550
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room1/scripts.inc
@@ -0,0 +1,7 @@
+SSAnne_1F_Room1_MapScripts:: @ 8160BDB
+ .byte 0
+
+SSAnne_1F_Room1_EventScript_160BDC:: @ 8160BDC
+ loadword 0, gUnknown_817393B
+ callstd 2
+ end
diff --git a/data/maps/SSAnne_1F_Room2/map.json b/data/maps/SSAnne_1F_Room2/map.json
new file mode 100644
index 000000000..4649e12ca
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room2/map.json
@@ -0,0 +1,80 @@
+{
+ "id": "MAP_SSANNE_1F_ROOM2",
+ "name": "SSAnne_1F_Room2",
+ "layout": "LAYOUT_SSANNE_ROOM1",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "22",
+ "x": 5,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SSAnne_1F_Room2_EventScript_160BEF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 0,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SSAnne_1F_Room2_EventScript_160C06",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 2,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SSAnne_1F_Room2_EventScript_160BE6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_1F_Room2_EventScript_1BE65E",
+ "flag": "356"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 7
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_1F_Room2/scripts.inc b/data/maps/SSAnne_1F_Room2/scripts.inc
new file mode 100644
index 000000000..f0670a7e6
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room2/scripts.inc
@@ -0,0 +1,19 @@
+SSAnne_1F_Room2_MapScripts:: @ 8160BE5
+ .byte 0
+
+SSAnne_1F_Room2_EventScript_160BE6:: @ 8160BE6
+ loadword 0, gUnknown_8173AC5
+ callstd 2
+ end
+
+SSAnne_1F_Room2_EventScript_160BEF:: @ 8160BEF
+ trainerbattle 0, 126, 0, Text_173A1A, Text_173A4F
+ loadword 0, gUnknown_8173A7A
+ callstd 6
+ end
+
+SSAnne_1F_Room2_EventScript_160C06:: @ 8160C06
+ trainerbattle 0, 96, 0, Text_173999, Text_1739B1
+ loadword 0, gUnknown_81739C5
+ callstd 6
+ end
diff --git a/data/maps/SSAnne_1F_Room3/map.json b/data/maps/SSAnne_1F_Room3/map.json
new file mode 100644
index 000000000..b47bf6ddd
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room3/map.json
@@ -0,0 +1,67 @@
+{
+ "id": "MAP_SSANNE_1F_ROOM3",
+ "name": "SSAnne_1F_Room3",
+ "layout": "LAYOUT_SSANNE_ROOM1",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "17",
+ "x": 3,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "52",
+ "movement_range_x": 2,
+ "movement_range_y": 3,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_1F_Room3_EventScript_160C1E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "131",
+ "x": 4,
+ "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": "SSAnne_1F_Room3_EventScript_160C30",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 0,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_1F_Room3_EventScript_160C27",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 8
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_1F_Room3/scripts.inc b/data/maps/SSAnne_1F_Room3/scripts.inc
new file mode 100644
index 000000000..a1f69d1da
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room3/scripts.inc
@@ -0,0 +1,23 @@
+SSAnne_1F_Room3_MapScripts:: @ 8160C1D
+ .byte 0
+
+SSAnne_1F_Room3_EventScript_160C1E:: @ 8160C1E
+ loadword 0, gUnknown_8173B21
+ callstd 2
+ end
+
+SSAnne_1F_Room3_EventScript_160C27:: @ 8160C27
+ loadword 0, gUnknown_8173AFA
+ callstd 2
+ end
+
+SSAnne_1F_Room3_EventScript_160C30:: @ 8160C30
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_WIGGLYTUFF, 0
+ loadword 0, gUnknown_8173B61
+ callstd 4
+ waitmoncry
+ release
+ end
diff --git a/data/maps/SSAnne_1F_Room4/map.json b/data/maps/SSAnne_1F_Room4/map.json
new file mode 100644
index 000000000..4a4c62769
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room4/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_SSANNE_1F_ROOM4",
+ "name": "SSAnne_1F_Room4",
+ "layout": "LAYOUT_SSANNE_ROOM1",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "23",
+ "x": 2,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_1F_Room4_EventScript_160C44",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 9
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_1F_Room4/scripts.inc b/data/maps/SSAnne_1F_Room4/scripts.inc
new file mode 100644
index 000000000..224bd98fd
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room4/scripts.inc
@@ -0,0 +1,19 @@
+SSAnne_1F_Room4_MapScripts:: @ 8160C43
+ .byte 0
+
+SSAnne_1F_Room4_EventScript_160C44:: @ 8160C44
+ lock
+ faceplayer
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_160C5C
+ loadword 0, gUnknown_8173BA4
+ callstd 4
+ release
+ end
+
+EventScript_160C5C:: @ 8160C5C
+ loadword 0, gUnknown_8173B79
+ callstd 4
+ release
+ end
diff --git a/data/maps/SSAnne_1F_Room5/map.json b/data/maps/SSAnne_1F_Room5/map.json
new file mode 100644
index 000000000..d7d2eb16f
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room5/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_SSANNE_1F_ROOM5",
+ "name": "SSAnne_1F_Room5",
+ "layout": "LAYOUT_SSANNE_ROOM1",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "61",
+ "x": 2,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "SSAnne_1F_Room5_EventScript_160C67",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 10
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_1F_Room5/scripts.inc b/data/maps/SSAnne_1F_Room5/scripts.inc
new file mode 100644
index 000000000..e56b3d1fc
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room5/scripts.inc
@@ -0,0 +1,8 @@
+SSAnne_1F_Room5_MapScripts:: @ 8160C66
+ .byte 0
+
+SSAnne_1F_Room5_EventScript_160C67:: @ 8160C67
+ trainerbattle 0, 422, 0, Text_173BD1, Text_173BFA
+ loadword 0, gUnknown_8173C30
+ callstd 6
+ end
diff --git a/data/maps/SSAnne_1F_Room6/map.json b/data/maps/SSAnne_1F_Room6/map.json
new file mode 100644
index 000000000..75cc7b348
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room6/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_SSANNE_1F_ROOM6",
+ "name": "SSAnne_1F_Room6",
+ "layout": "LAYOUT_SSANNE_ROOM1",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "28",
+ "x": 3,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_1F_Room6_EventScript_160DF3",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 12
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_1F_Room6/scripts.inc b/data/maps/SSAnne_1F_Room6/scripts.inc
new file mode 100644
index 000000000..9ebb100d8
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room6/scripts.inc
@@ -0,0 +1,31 @@
+SSAnne_1F_Room6_MapScripts:: @ 8160DF2
+ .byte 0
+
+SSAnne_1F_Room6_EventScript_160DF3:: @ 8160DF3
+ lock
+ faceplayer
+ loadword 0, gUnknown_817445B
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_160E18
+ closemessage
+ call EventScript_1A6C26
+ loadword 0, gUnknown_8174490
+ callstd 4
+ release
+ end
+
+EventScript_160E18:: @ 8160E18
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_160E2E
+ loadword 0, gUnknown_8174515
+ callstd 4
+ release
+ end
+
+EventScript_160E2E:: @ 8160E2E
+ loadword 0, gUnknown_81744D0
+ callstd 4
+ release
+ end
diff --git a/data/maps/SSAnne_1F_Room7/map.json b/data/maps/SSAnne_1F_Room7/map.json
new file mode 100644
index 000000000..0dffef5c4
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room7/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_SSANNE_1F_ROOM7",
+ "name": "SSAnne_1F_Room7",
+ "layout": "LAYOUT_SSANNE_ROOM1",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "61",
+ "x": 4,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SSAnne_1F_Room7_EventScript_160C7F",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 11
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_1F_Room7/scripts.inc b/data/maps/SSAnne_1F_Room7/scripts.inc
new file mode 100644
index 000000000..7e5387084
--- /dev/null
+++ b/data/maps/SSAnne_1F_Room7/scripts.inc
@@ -0,0 +1,8 @@
+SSAnne_1F_Room7_MapScripts:: @ 8160C7E
+ .byte 0
+
+SSAnne_1F_Room7_EventScript_160C7F:: @ 8160C7F
+ trainerbattle 0, 421, 0, Text_173C52, Text_173CB4
+ loadword 0, gUnknown_8173CC4
+ callstd 6
+ end
diff --git a/data/maps/SSAnne_2F_Corridor/map.json b/data/maps/SSAnne_2F_Corridor/map.json
new file mode 100644
index 000000000..d634f353e
--- /dev/null
+++ b/data/maps/SSAnne_2F_Corridor/map.json
@@ -0,0 +1,138 @@
+{
+ "id": "MAP_SSANNE_2F_CORRIDOR",
+ "name": "SSAnne_2F_Corridor",
+ "layout": "LAYOUT_SSANNE_2F_CORRIDOR",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "72",
+ "x": 30,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "61"
+ },
+ {
+ "graphics_id": "62",
+ "x": 2,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_2F_Corridor_EventScript_160A54",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 3,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_3F_CORRIDOR",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 30,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_CAPTAINS_OFFICE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 6,
+ "y": 10,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_2F_ROOM1",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 10,
+ "y": 10,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_2F_ROOM2",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 14,
+ "y": 10,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_2F_ROOM3",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 18,
+ "y": 10,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_2F_ROOM4",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 22,
+ "y": 10,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_2F_ROOM5",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 26,
+ "y": 10,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_2F_ROOM6",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 30,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x405B",
+ "var_value": 0,
+ "script": "SSAnne_2F_Corridor_EventScript_1608DF"
+ },
+ {
+ "type": "trigger",
+ "x": 31,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x405B",
+ "var_value": 0,
+ "script": "SSAnne_2F_Corridor_EventScript_1608EB"
+ },
+ {
+ "type": "trigger",
+ "x": 32,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x405B",
+ "var_value": 0,
+ "script": "SSAnne_2F_Corridor_EventScript_1608F7"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_2F_Corridor/scripts.inc b/data/maps/SSAnne_2F_Corridor/scripts.inc
new file mode 100644
index 000000000..0cecaff2e
--- /dev/null
+++ b/data/maps/SSAnne_2F_Corridor/scripts.inc
@@ -0,0 +1,187 @@
+SSAnne_2F_Corridor_MapScripts:: @ 81608DE
+ .byte 0
+
+SSAnne_2F_Corridor_EventScript_1608DF:: @ 81608DF
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_160903
+
+EventScript_1608EA:: @ 81608EA
+ end
+
+SSAnne_2F_Corridor_EventScript_1608EB:: @ 81608EB
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_160903
+
+EventScript_1608F6:: @ 81608F6
+ end
+
+SSAnne_2F_Corridor_EventScript_1608F7:: @ 81608F7
+ lockall
+ setvar VAR_0x4001, 2
+ goto EventScript_160903
+
+EventScript_160902:: @ 8160902
+ end
+
+EventScript_160903:: @ 8160903
+ textcolor 0
+ playse SE_KAIDAN
+ delay 5
+ playbgm BGM_FRLG_RIVAL, 0
+ addobject 1
+ delay 10
+ applymovement 1, Movement_1A75ED
+ waitmovement 0
+ delay 20
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_1609AD
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_1609B8
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_1609CA
+ loadword 0, gUnknown_8173035
+ callstd 4
+ setvar VAR_LAST_TALKED, 1
+ compare_var_to_value VAR_STARTER_MON, 2
+ call_if 1, EventScript_1609DC
+ compare_var_to_value VAR_STARTER_MON, 1
+ call_if 1, EventScript_1609E7
+ compare_var_to_value VAR_STARTER_MON, 0
+ call_if 1, EventScript_1609F2
+ loadword 0, gUnknown_8173164
+ callstd 4
+ closemessage
+ delay 10
+ playbgm BGM_FRLG_RIVAL_POSTBATTLE, 0
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_1609FD
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_160A08
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_160A13
+ fadedefaultbgm
+ removeobject 1
+ setvar VAR_0x405B, 1
+ releaseall
+ end
+
+EventScript_1609AD:: @ 81609AD
+ applymovement 1, Movement_160A2A
+ waitmovement 0
+ return
+
+EventScript_1609B8:: @ 81609B8
+ applymovement 1, Movement_160A2E
+ applymovement 255, Movement_160A24
+ waitmovement 0
+ return
+
+EventScript_1609CA:: @ 81609CA
+ applymovement 255, Movement_160A1E
+ applymovement 1, Movement_160A34
+ waitmovement 0
+ return
+
+EventScript_1609DC:: @ 81609DC
+ trainerbattle 3, 426, 0, Text_173110
+ return
+
+EventScript_1609E7:: @ 81609E7
+ trainerbattle 3, 427, 0, Text_173110
+ return
+
+EventScript_1609F2:: @ 81609F2
+ trainerbattle 3, 428, 0, Text_173110
+ return
+
+EventScript_1609FD:: @ 81609FD
+ applymovement 1, Movement_160A3B
+ waitmovement 0
+ return
+
+EventScript_160A08:: @ 8160A08
+ applymovement 1, Movement_160A44
+ waitmovement 0
+ return
+
+EventScript_160A13:: @ 8160A13
+ applymovement 1, Movement_160A4C
+ waitmovement 0
+ return
+
+Movement_160A1E:: @ 8160A1E
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_2f
+ step_end
+
+Movement_160A24:: @ 8160A24
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_2f
+ step_end
+
+Movement_160A2A:: @ 8160A2A
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_160A2E:: @ 8160A2E
+ step_10
+ step_10
+ step_10
+ step_10
+ step_30
+ step_end
+
+Movement_160A34:: @ 8160A34
+ step_10
+ step_10
+ step_10
+ step_10
+ step_13
+ step_1a
+ step_end
+
+Movement_160A3B:: @ 8160A3B
+ step_13
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_160A44:: @ 8160A44
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_160A4C:: @ 8160A4C
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
+
+SSAnne_2F_Corridor_EventScript_160A54:: @ 8160A54
+ loadword 0, gUnknown_8172FC3
+ callstd 2
+ end
diff --git a/data/maps/SSAnne_2F_Room1/map.json b/data/maps/SSAnne_2F_Room1/map.json
new file mode 100644
index 000000000..2094f497b
--- /dev/null
+++ b/data/maps/SSAnne_2F_Room1/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_SSANNE_2F_ROOM1",
+ "name": "SSAnne_2F_Room1",
+ "layout": "LAYOUT_SSANNE_ROOM2",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "61",
+ "x": 1,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_2F_Room1_EventScript_160C97",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_2F_CORRIDOR",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_2F_Room1/scripts.inc b/data/maps/SSAnne_2F_Room1/scripts.inc
new file mode 100644
index 000000000..65f373a77
--- /dev/null
+++ b/data/maps/SSAnne_2F_Room1/scripts.inc
@@ -0,0 +1,15 @@
+SSAnne_2F_Room1_MapScripts:: @ 8160C96
+ .byte 0
+
+SSAnne_2F_Room1_EventScript_160C97:: @ 8160C97
+ lock
+ faceplayer
+ message Text_173CE3
+ waitmessage
+ setvar VAR_0x8004, 143
+ special sub_80CBDCC
+ drawmonpic SPECIES_SNORLAX, 10, 3
+ waitbuttonpress
+ erasemonpic
+ release
+ end
diff --git a/data/maps/SSAnne_2F_Room2/map.json b/data/maps/SSAnne_2F_Room2/map.json
new file mode 100644
index 000000000..c4c95231a
--- /dev/null
+++ b/data/maps/SSAnne_2F_Room2/map.json
@@ -0,0 +1,67 @@
+{
+ "id": "MAP_SSANNE_2F_ROOM2",
+ "name": "SSAnne_2F_Room2",
+ "layout": "LAYOUT_SSANNE_ROOM2",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "57",
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SSAnne_2F_Room2_EventScript_160CB1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 1,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SSAnne_2F_Room2_EventScript_160CC8",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 3,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_2F_Room2_EventScript_1BE66B",
+ "flag": "357"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_2F_CORRIDOR",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_2F_Room2/scripts.inc b/data/maps/SSAnne_2F_Room2/scripts.inc
new file mode 100644
index 000000000..0adab213c
--- /dev/null
+++ b/data/maps/SSAnne_2F_Room2/scripts.inc
@@ -0,0 +1,14 @@
+SSAnne_2F_Room2_MapScripts:: @ 8160CB0
+ .byte 0
+
+SSAnne_2F_Room2_EventScript_160CB1:: @ 8160CB1
+ trainerbattle 0, 223, 0, Text_173DDB, Text_173DF7
+ loadword 0, gUnknown_8173E04
+ callstd 6
+ end
+
+SSAnne_2F_Room2_EventScript_160CC8:: @ 8160CC8
+ trainerbattle 0, 482, 0, Text_173D63, Text_173D92
+ loadword 0, gUnknown_8173DB6
+ callstd 6
+ end
diff --git a/data/maps/SSAnne_2F_Room3/map.json b/data/maps/SSAnne_2F_Room3/map.json
new file mode 100644
index 000000000..266e87a29
--- /dev/null
+++ b/data/maps/SSAnne_2F_Room3/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_SSANNE_2F_ROOM3",
+ "name": "SSAnne_2F_Room3",
+ "layout": "LAYOUT_SSANNE_ROOM2",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "61",
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_2F_Room3_EventScript_160CE0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 3,
+ "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": "SSAnne_2F_Room3_EventScript_160CE9",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_2F_CORRIDOR",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_2F_Room3/scripts.inc b/data/maps/SSAnne_2F_Room3/scripts.inc
new file mode 100644
index 000000000..e2acc4ccd
--- /dev/null
+++ b/data/maps/SSAnne_2F_Room3/scripts.inc
@@ -0,0 +1,12 @@
+SSAnne_2F_Room3_MapScripts:: @ 8160CDF
+ .byte 0
+
+SSAnne_2F_Room3_EventScript_160CE0:: @ 8160CE0
+ loadword 0, gUnknown_8173E3A
+ callstd 2
+ end
+
+SSAnne_2F_Room3_EventScript_160CE9:: @ 8160CE9
+ loadword 0, gUnknown_8173E7B
+ callstd 2
+ end
diff --git a/data/maps/SSAnne_2F_Room4/map.json b/data/maps/SSAnne_2F_Room4/map.json
new file mode 100644
index 000000000..9e3a3c62c
--- /dev/null
+++ b/data/maps/SSAnne_2F_Room4/map.json
@@ -0,0 +1,67 @@
+{
+ "id": "MAP_SSANNE_2F_ROOM4",
+ "name": "SSAnne_2F_Room4",
+ "layout": "LAYOUT_SSANNE_ROOM2",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "61",
+ "x": 0,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SSAnne_2F_Room4_EventScript_160CF3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 3,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SSAnne_2F_Room4_EventScript_160D0A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 2,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_2F_Room4_EventScript_1BE678",
+ "flag": "358"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_2F_CORRIDOR",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_2F_Room4/scripts.inc b/data/maps/SSAnne_2F_Room4/scripts.inc
new file mode 100644
index 000000000..d9ffc8a55
--- /dev/null
+++ b/data/maps/SSAnne_2F_Room4/scripts.inc
@@ -0,0 +1,14 @@
+SSAnne_2F_Room4_MapScripts:: @ 8160CF2
+ .byte 0
+
+SSAnne_2F_Room4_EventScript_160CF3:: @ 8160CF3
+ trainerbattle 0, 483, 0, Text_173F07, Text_173F42
+ loadword 0, gUnknown_8173F55
+ callstd 6
+ end
+
+SSAnne_2F_Room4_EventScript_160D0A:: @ 8160D0A
+ trainerbattle 0, 127, 0, Text_173F83, Text_173FAB
+ loadword 0, gUnknown_8173FB9
+ callstd 6
+ end
diff --git a/data/maps/SSAnne_2F_Room5/map.json b/data/maps/SSAnne_2F_Room5/map.json
new file mode 100644
index 000000000..64e5cdac3
--- /dev/null
+++ b/data/maps/SSAnne_2F_Room5/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_SSANNE_2F_ROOM5",
+ "name": "SSAnne_2F_Room5",
+ "layout": "LAYOUT_SSANNE_ROOM2",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "61",
+ "x": 5,
+ "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": "SSAnne_2F_Room5_EventScript_160D22",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "16",
+ "x": 3,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_2F_Room5_EventScript_160D2B",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_2F_CORRIDOR",
+ "dest_warp_id": 7
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_2F_Room5/scripts.inc b/data/maps/SSAnne_2F_Room5/scripts.inc
new file mode 100644
index 000000000..e3d94ecff
--- /dev/null
+++ b/data/maps/SSAnne_2F_Room5/scripts.inc
@@ -0,0 +1,12 @@
+SSAnne_2F_Room5_MapScripts:: @ 8160D21
+ .byte 0
+
+SSAnne_2F_Room5_EventScript_160D22:: @ 8160D22
+ loadword 0, gUnknown_8173FF7
+ callstd 2
+ end
+
+SSAnne_2F_Room5_EventScript_160D2B:: @ 8160D2B
+ loadword 0, gUnknown_817404F
+ callstd 2
+ end
diff --git a/data/maps/SSAnne_2F_Room6/map.json b/data/maps/SSAnne_2F_Room6/map.json
new file mode 100644
index 000000000..c64e8a018
--- /dev/null
+++ b/data/maps/SSAnne_2F_Room6/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_SSANNE_2F_ROOM6",
+ "name": "SSAnne_2F_Room6",
+ "layout": "LAYOUT_SSANNE_ROOM2",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "31",
+ "x": 1,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_2F_Room6_EventScript_160D3E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "23",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_2F_Room6_EventScript_160D35",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_2F_CORRIDOR",
+ "dest_warp_id": 8
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_2F_Room6/scripts.inc b/data/maps/SSAnne_2F_Room6/scripts.inc
new file mode 100644
index 000000000..3c43d9243
--- /dev/null
+++ b/data/maps/SSAnne_2F_Room6/scripts.inc
@@ -0,0 +1,12 @@
+SSAnne_2F_Room6_MapScripts:: @ 8160D34
+ .byte 0
+
+SSAnne_2F_Room6_EventScript_160D35:: @ 8160D35
+ loadword 0, gUnknown_81740A1
+ callstd 2
+ end
+
+SSAnne_2F_Room6_EventScript_160D3E:: @ 8160D3E
+ loadword 0, gUnknown_81740D6
+ callstd 2
+ end
diff --git a/data/maps/SSAnne_3F_Corridor/map.json b/data/maps/SSAnne_3F_Corridor/map.json
new file mode 100644
index 000000000..e60513ea2
--- /dev/null
+++ b/data/maps/SSAnne_3F_Corridor/map.json
@@ -0,0 +1,55 @@
+{
+ "id": "MAP_SSANNE_3F_CORRIDOR",
+ "name": "SSAnne_3F_Corridor",
+ "layout": "LAYOUT_SSANNE_3F_CORRIDOR",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "62",
+ "x": 10,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 3,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_3F_Corridor_EventScript_160A5E",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_DECK",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 18,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_2F_CORRIDOR",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 0,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_DECK",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_3F_Corridor/scripts.inc b/data/maps/SSAnne_3F_Corridor/scripts.inc
new file mode 100644
index 000000000..21017b2a2
--- /dev/null
+++ b/data/maps/SSAnne_3F_Corridor/scripts.inc
@@ -0,0 +1,7 @@
+SSAnne_3F_Corridor_MapScripts:: @ 8160A5D
+ .byte 0
+
+SSAnne_3F_Corridor_EventScript_160A5E:: @ 8160A5E
+ loadword 0, gUnknown_817320C
+ callstd 2
+ end
diff --git a/data/maps/SSAnne_B1F_Corridor/map.json b/data/maps/SSAnne_B1F_Corridor/map.json
new file mode 100644
index 000000000..a0c76bf1d
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Corridor/map.json
@@ -0,0 +1,72 @@
+{
+ "id": "MAP_SSANNE_B1F_CORRIDOR",
+ "name": "SSAnne_B1F_Corridor",
+ "layout": "LAYOUT_SSANNE_B1F_CORRIDOR",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 19,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 2,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_B1F_ROOM1",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 6,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_B1F_ROOM2",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 10,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_B1F_ROOM3",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 14,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_B1F_ROOM4",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 18,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_B1F_ROOM5",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 21,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_HYPER_POTION",
+ "flag": "8",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_B1F_Corridor/scripts.inc b/data/maps/SSAnne_B1F_Corridor/scripts.inc
new file mode 100644
index 000000000..3e4641593
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Corridor/scripts.inc
@@ -0,0 +1,2 @@
+SSAnne_B1F_Corridor_MapScripts:: @ 8160A67
+ .byte 0
diff --git a/data/maps/SSAnne_B1F_Room1/map.json b/data/maps/SSAnne_B1F_Room1/map.json
new file mode 100644
index 000000000..673c16c67
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Room1/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_SSANNE_B1F_ROOM1",
+ "name": "SSAnne_B1F_Room1",
+ "layout": "LAYOUT_SSANNE_ROOM2",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "57",
+ "x": 5,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SSAnne_B1F_Room1_EventScript_160D48",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 3,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SSAnne_B1F_Room1_EventScript_160D5F",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_B1F_CORRIDOR",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_B1F_Room1/scripts.inc b/data/maps/SSAnne_B1F_Room1/scripts.inc
new file mode 100644
index 000000000..4bbfb167a
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Room1/scripts.inc
@@ -0,0 +1,14 @@
+SSAnne_B1F_Room1_MapScripts:: @ 8160D47
+ .byte 0
+
+SSAnne_B1F_Room1_EventScript_160D48:: @ 8160D48
+ trainerbattle 0, 224, 0, Text_174177, Text_1741EF
+ loadword 0, gUnknown_817420E
+ callstd 6
+ end
+
+SSAnne_B1F_Room1_EventScript_160D5F:: @ 8160D5F
+ trainerbattle 0, 140, 0, Text_1740F6, Text_174123
+ loadword 0, gUnknown_817413A
+ callstd 6
+ end
diff --git a/data/maps/SSAnne_B1F_Room2/map.json b/data/maps/SSAnne_B1F_Room2/map.json
new file mode 100644
index 000000000..2557bf329
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Room2/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_SSANNE_B1F_ROOM2",
+ "name": "SSAnne_B1F_Room2",
+ "layout": "LAYOUT_SSANNE_ROOM2",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "62",
+ "x": 3,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SSAnne_B1F_Room2_EventScript_160D77",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 3,
+ "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": "SSAnne_B1F_Room2_EventScript_1BE685",
+ "flag": "359"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_B1F_CORRIDOR",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_B1F_Room2/scripts.inc b/data/maps/SSAnne_B1F_Room2/scripts.inc
new file mode 100644
index 000000000..d982818bc
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Room2/scripts.inc
@@ -0,0 +1,8 @@
+SSAnne_B1F_Room2_MapScripts:: @ 8160D76
+ .byte 0
+
+SSAnne_B1F_Room2_EventScript_160D77:: @ 8160D77
+ trainerbattle 0, 138, 0, Text_174239, Text_17425C
+ loadword 0, gUnknown_8174272
+ callstd 6
+ end
diff --git a/data/maps/SSAnne_B1F_Room3/map.json b/data/maps/SSAnne_B1F_Room3/map.json
new file mode 100644
index 000000000..9c6634dd1
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Room3/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_SSANNE_B1F_ROOM3",
+ "name": "SSAnne_B1F_Room3",
+ "layout": "LAYOUT_SSANNE_ROOM2",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "62",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SSAnne_B1F_Room3_EventScript_160D8F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 1,
+ "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": "SSAnne_B1F_Room3_EventScript_1BE692",
+ "flag": "360"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_B1F_CORRIDOR",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_B1F_Room3/scripts.inc b/data/maps/SSAnne_B1F_Room3/scripts.inc
new file mode 100644
index 000000000..b61516005
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Room3/scripts.inc
@@ -0,0 +1,8 @@
+SSAnne_B1F_Room3_MapScripts:: @ 8160D8E
+ .byte 0
+
+SSAnne_B1F_Room3_EventScript_160D8F:: @ 8160D8F
+ trainerbattle 0, 139, 0, Text_1742A6, Text_1742C3
+ loadword 0, gUnknown_81742D2
+ callstd 6
+ end
diff --git a/data/maps/SSAnne_B1F_Room4/map.json b/data/maps/SSAnne_B1F_Room4/map.json
new file mode 100644
index 000000000..f8802f3bb
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Room4/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_SSANNE_B1F_ROOM4",
+ "name": "SSAnne_B1F_Room4",
+ "layout": "LAYOUT_SSANNE_ROOM2",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "62",
+ "x": 3,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SSAnne_B1F_Room4_EventScript_160DBE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 2,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SSAnne_B1F_Room4_EventScript_160DA7",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_B1F_CORRIDOR",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_B1F_Room4/scripts.inc b/data/maps/SSAnne_B1F_Room4/scripts.inc
new file mode 100644
index 000000000..c81c58192
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Room4/scripts.inc
@@ -0,0 +1,14 @@
+SSAnne_B1F_Room4_MapScripts:: @ 8160DA6
+ .byte 0
+
+SSAnne_B1F_Room4_EventScript_160DA7:: @ 8160DA7
+ trainerbattle 0, 136, 0, Text_174315, Text_174348
+ loadword 0, gUnknown_8174362
+ callstd 6
+ end
+
+SSAnne_B1F_Room4_EventScript_160DBE:: @ 8160DBE
+ trainerbattle 0, 137, 0, Text_174385, Text_1743B3
+ loadword 0, gUnknown_81743C8
+ callstd 6
+ end
diff --git a/data/maps/SSAnne_B1F_Room5/map.json b/data/maps/SSAnne_B1F_Room5/map.json
new file mode 100644
index 000000000..0d3ad10c8
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Room5/map.json
@@ -0,0 +1,67 @@
+{
+ "id": "MAP_SSANNE_B1F_ROOM5",
+ "name": "SSAnne_B1F_Room5",
+ "layout": "LAYOUT_SSANNE_ROOM2",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "19",
+ "x": 3,
+ "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": "SSAnne_B1F_Room5_EventScript_160DD6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "134",
+ "x": 2,
+ "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": "SSAnne_B1F_Room5_EventScript_160DDF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 2,
+ "y": 2,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_B1F_Room5_EventScript_1BE69F",
+ "flag": "361"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_B1F_CORRIDOR",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_B1F_Room5/scripts.inc b/data/maps/SSAnne_B1F_Room5/scripts.inc
new file mode 100644
index 000000000..b38ab6265
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Room5/scripts.inc
@@ -0,0 +1,18 @@
+SSAnne_B1F_Room5_MapScripts:: @ 8160DD5
+ .byte 0
+
+SSAnne_B1F_Room5_EventScript_160DD6:: @ 8160DD6
+ loadword 0, gUnknown_81743F8
+ callstd 2
+ end
+
+SSAnne_B1F_Room5_EventScript_160DDF:: @ 8160DDF
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_MACHOKE, 0
+ loadword 0, gUnknown_8174444
+ callstd 4
+ waitmoncry
+ release
+ end
diff --git a/data/maps/SSAnne_CaptainsOffice/map.json b/data/maps/SSAnne_CaptainsOffice/map.json
new file mode 100644
index 000000000..204ab5a18
--- /dev/null
+++ b/data/maps/SSAnne_CaptainsOffice/map.json
@@ -0,0 +1,63 @@
+{
+ "id": "MAP_SSANNE_CAPTAINS_OFFICE",
+ "name": "SSAnne_CaptainsOffice",
+ "layout": "LAYOUT_SSANNE_CAPTAINS_OFFICE",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "63",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_CaptainsOffice_EventScript_160B3A",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_2F_CORRIDOR",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 4,
+ "elevation": 0,
+ "script": "SSAnne_CaptainsOffice_EventScript_160BD2"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 3,
+ "elevation": 0,
+ "script": "SSAnne_CaptainsOffice_EventScript_160BC9"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "script": "SSAnne_CaptainsOffice_EventScript_160BD2"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_CaptainsOffice/scripts.inc b/data/maps/SSAnne_CaptainsOffice/scripts.inc
new file mode 100644
index 000000000..98b9c8b42
--- /dev/null
+++ b/data/maps/SSAnne_CaptainsOffice/scripts.inc
@@ -0,0 +1,59 @@
+SSAnne_CaptainsOffice_MapScripts:: @ 8160B39
+ .byte 0
+
+SSAnne_CaptainsOffice_EventScript_160B3A:: @ 8160B3A
+ lock
+ checkflag FLAG_0x237
+ goto_if 1, EventScript_160BB5
+ loadword 0, gUnknown_8173646
+ callstd 4
+ textcolor 3
+ message Text_173676
+ waitmessage
+ playfanfare MUS_ME_ASA
+ waitfanfare
+ call EventScript_1A6675
+ delay 50
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_81736A6
+ callstd 4
+ additem ITEM_HM01, 1
+ loadword 0, gUnknown_81737AF
+ setorcopyvar VAR_0x8000, 339
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ loadword 0, gUnknown_81737D2
+ callstd 4
+ setflag FLAG_0x237
+ setvar VAR_0x407E, 1
+ release
+ end
+
+EventScript_160BA0:: @ 8160BA0
+ loadword 0, gUnknown_81738C3
+ callstd 4
+ closemessage
+ applymovement 1, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+EventScript_160BB5:: @ 8160BB5
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_8173831
+ callstd 4
+ release
+ end
+
+SSAnne_CaptainsOffice_EventScript_160BC9:: @ 8160BC9
+ loadword 0, gUnknown_81738E6
+ callstd 3
+ end
+
+SSAnne_CaptainsOffice_EventScript_160BD2:: @ 8160BD2
+ loadword 0, gUnknown_8173903
+ callstd 3
+ end
diff --git a/data/maps/SSAnne_Deck/map.json b/data/maps/SSAnne_Deck/map.json
new file mode 100644
index 000000000..1ed41546e
--- /dev/null
+++ b/data/maps/SSAnne_Deck/map.json
@@ -0,0 +1,100 @@
+{
+ "id": "MAP_SSANNE_DECK",
+ "name": "SSAnne_Deck",
+ "layout": "LAYOUT_SSANNE_DECK",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "62",
+ "x": 12,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SSAnne_Deck_EventScript_160A9B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 14,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Deck_EventScript_160A72",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 13,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "27",
+ "movement_range_x": 4,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Deck_EventScript_160A7B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 6,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SSAnne_Deck_EventScript_160A84",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 11,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Deck_EventScript_160A69",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 16,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_3F_CORRIDOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 16,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_3F_CORRIDOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_Deck/scripts.inc b/data/maps/SSAnne_Deck/scripts.inc
new file mode 100644
index 000000000..204f994e9
--- /dev/null
+++ b/data/maps/SSAnne_Deck/scripts.inc
@@ -0,0 +1,29 @@
+SSAnne_Deck_MapScripts:: @ 8160A68
+ .byte 0
+
+SSAnne_Deck_EventScript_160A69:: @ 8160A69
+ loadword 0, gUnknown_817326F
+ callstd 2
+ end
+
+SSAnne_Deck_EventScript_160A72:: @ 8160A72
+ loadword 0, gUnknown_81732C6
+ callstd 2
+ end
+
+SSAnne_Deck_EventScript_160A7B:: @ 8160A7B
+ loadword 0, gUnknown_81732A2
+ callstd 2
+ end
+
+SSAnne_Deck_EventScript_160A84:: @ 8160A84
+ trainerbattle 0, 134, 0, Text_173308, Text_17332B
+ loadword 0, gUnknown_817333E
+ callstd 6
+ end
+
+SSAnne_Deck_EventScript_160A9B:: @ 8160A9B
+ trainerbattle 0, 135, 0, Text_173382, Text_1733A0
+ loadword 0, gUnknown_81733B5
+ callstd 6
+ end
diff --git a/data/maps/SSAnne_Exterior/map.json b/data/maps/SSAnne_Exterior/map.json
new file mode 100644
index 000000000..8ef5cbc5a
--- /dev/null
+++ b/data/maps/SSAnne_Exterior/map.json
@@ -0,0 +1,79 @@
+{
+ "id": "MAP_SSANNE_EXTERIOR",
+ "name": "SSAnne_Exterior",
+ "layout": "LAYOUT_SSANNE_EXTERIOR",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "151",
+ "x": 30,
+ "y": 16,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "135"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 31,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 32,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 32,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 33,
+ "y": 15,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 33,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 58,
+ "y": 28,
+ "elevation": 3,
+ "item": "ITEM_LAVA_COOKIE",
+ "flag": "190",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_Exterior/scripts.inc b/data/maps/SSAnne_Exterior/scripts.inc
new file mode 100644
index 000000000..6a4e14a50
--- /dev/null
+++ b/data/maps/SSAnne_Exterior/scripts.inc
@@ -0,0 +1,67 @@
+SSAnne_Exterior_MapScripts:: @ 8160840
+ map_script 3, SSAnne_Exterior_MapScript1_16084B
+ map_script 2, SSAnne_Exterior_MapScript2_16084F
+ .byte 0
+
+SSAnne_Exterior_MapScript1_16084B:: @ 816084B
+ setworldmapflag 2214
+ end
+
+SSAnne_Exterior_MapScript2_16084F:: @ 816084F
+ map_script_2 VAR_0x407E, 1, SSAnne_Exterior_160859
+ .2byte 0
+
+SSAnne_Exterior_160859:: @ 8160859
+ lockall
+ getplayerxy VAR_0x8004, VAR_0x8005
+ compare_var_to_value VAR_0x8005, 6
+ call_if 3, EventScript_1608A1
+ compare_var_to_value VAR_0x8005, 7
+ call_if 4, EventScript_1608AC
+ fadenewbgm BGM_FRLG_SURF
+ delay 50
+ special sub_815D334
+ waitstate
+ removeobject 1
+ applymovement 255, Movement_1608B7
+ waitmovement 0
+ setvar VAR_0x407E, 2
+ setvar VAR_0x4053, 0
+ warp MAP_VERMILION_CITY, 255, 23, 34
+ waitstate
+ releaseall
+ end
+
+EventScript_1608A1:: @ 81608A1
+ applymovement 255, Movement_1608C1
+ waitmovement 0
+ return
+
+EventScript_1608AC:: @ 81608AC
+ applymovement 255, Movement_1A75ED
+ waitmovement 0
+ return
+
+Movement_1608B7:: @ 81608B7
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_11
+ step_end
+
+Movement_1608C1:: @ 81608C1
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_10
+ step_end
diff --git a/data/maps/SSAnne_Kitchen/map.json b/data/maps/SSAnne_Kitchen/map.json
new file mode 100644
index 000000000..bb094e87c
--- /dev/null
+++ b/data/maps/SSAnne_Kitchen/map.json
@@ -0,0 +1,160 @@
+{
+ "id": "MAP_SSANNE_KITCHEN",
+ "name": "SSAnne_Kitchen",
+ "layout": "LAYOUT_SSANNE_KITCHEN",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "59",
+ "x": 1,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160AB3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 6,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160ABC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 10,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "18",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160AC5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 8,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160ACE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 14,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160B1E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 14,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160B27",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 14,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160B30",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 1,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_1BE6AC",
+ "flag": "362"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 14,
+ "y": 8,
+ "elevation": 0,
+ "item": "ITEM_CHESTO_BERRY",
+ "flag": "122",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 14,
+ "y": 4,
+ "elevation": 0,
+ "item": "ITEM_PECHA_BERRY",
+ "flag": "120",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 14,
+ "y": 6,
+ "elevation": 0,
+ "item": "ITEM_CHERI_BERRY",
+ "flag": "121",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_Kitchen/scripts.inc b/data/maps/SSAnne_Kitchen/scripts.inc
new file mode 100644
index 000000000..79aa88852
--- /dev/null
+++ b/data/maps/SSAnne_Kitchen/scripts.inc
@@ -0,0 +1,63 @@
+SSAnne_Kitchen_MapScripts:: @ 8160AB2
+ .byte 0
+
+SSAnne_Kitchen_EventScript_160AB3:: @ 8160AB3
+ loadword 0, gUnknown_81733F8
+ callstd 2
+ end
+
+SSAnne_Kitchen_EventScript_160ABC:: @ 8160ABC
+ loadword 0, gUnknown_8173429
+ callstd 2
+ end
+
+SSAnne_Kitchen_EventScript_160AC5:: @ 8160AC5
+ loadword 0, gUnknown_8173462
+ callstd 2
+ end
+
+SSAnne_Kitchen_EventScript_160ACE:: @ 8160ACE
+ lock
+ faceplayer
+ loadword 0, gUnknown_8173570
+ callstd 4
+ random 3
+ copyvar VAR_0x8008, VAR_RESULT
+ compare_var_to_value VAR_0x8008, 0
+ call_if 1, EventScript_160B03
+ compare_var_to_value VAR_0x8008, 1
+ call_if 1, EventScript_160B0C
+ compare_var_to_value VAR_0x8008, 2
+ call_if 1, EventScript_160B15
+ release
+ end
+
+EventScript_160B03:: @ 8160B03
+ loadword 0, gUnknown_817359F
+ callstd 4
+ return
+
+EventScript_160B0C:: @ 8160B0C
+ loadword 0, gUnknown_81735DF
+ callstd 4
+ return
+
+EventScript_160B15:: @ 8160B15
+ loadword 0, gUnknown_8173611
+ callstd 4
+ return
+
+SSAnne_Kitchen_EventScript_160B1E:: @ 8160B1E
+ loadword 0, gUnknown_81734A0
+ callstd 2
+ end
+
+SSAnne_Kitchen_EventScript_160B27:: @ 8160B27
+ loadword 0, gUnknown_81734D3
+ callstd 2
+ end
+
+SSAnne_Kitchen_EventScript_160B30:: @ 8160B30
+ loadword 0, gUnknown_817353E
+ callstd 2
+ end
diff --git a/data/maps/SafariZone_Building1/map.json b/data/maps/SafariZone_Building1/map.json
new file mode 100644
index 000000000..09b84bb5b
--- /dev/null
+++ b/data/maps/SafariZone_Building1/map.json
@@ -0,0 +1,68 @@
+{
+ "id": "MAP_SAFARI_ZONE_BUILDING1",
+ "name": "SafariZone_Building1",
+ "layout": "LAYOUT_SAFARI_ZONE_BUILDING",
+ "music": "BGM_FRLG_SAFARI_ZONE",
+ "region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
+ "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": "55",
+ "x": 3,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building1_EventScript_1623F5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "23",
+ "x": 7,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building1_EventScript_1623EC",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 12
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 12
+ },
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 12
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SafariZone_Building1/scripts.inc b/data/maps/SafariZone_Building1/scripts.inc
new file mode 100644
index 000000000..03f5b8b68
--- /dev/null
+++ b/data/maps/SafariZone_Building1/scripts.inc
@@ -0,0 +1,12 @@
+SafariZone_Building1_MapScripts:: @ 81623EB
+ .byte 0
+
+SafariZone_Building1_EventScript_1623EC:: @ 81623EC
+ loadword 0, gUnknown_8177A5A
+ callstd 2
+ end
+
+SafariZone_Building1_EventScript_1623F5:: @ 81623F5
+ loadword 0, gUnknown_8177A82
+ callstd 2
+ end
diff --git a/data/maps/SafariZone_Building2/map.json b/data/maps/SafariZone_Building2/map.json
new file mode 100644
index 000000000..96282855f
--- /dev/null
+++ b/data/maps/SafariZone_Building2/map.json
@@ -0,0 +1,81 @@
+{
+ "id": "MAP_SAFARI_ZONE_BUILDING2",
+ "name": "SafariZone_Building2",
+ "layout": "LAYOUT_SAFARI_ZONE_BUILDING",
+ "music": "BGM_FRLG_SAFARI_ZONE",
+ "region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
+ "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": "55",
+ "x": 3,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building2_EventScript_162408",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 6,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building2_EventScript_1623FF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 7,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building2_EventScript_162411",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_EAST",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_EAST",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_EAST",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SafariZone_Building2/scripts.inc b/data/maps/SafariZone_Building2/scripts.inc
new file mode 100644
index 000000000..55e12e864
--- /dev/null
+++ b/data/maps/SafariZone_Building2/scripts.inc
@@ -0,0 +1,17 @@
+SafariZone_Building2_MapScripts:: @ 81623FE
+ .byte 0
+
+SafariZone_Building2_EventScript_1623FF:: @ 81623FF
+ loadword 0, gUnknown_8177AE2
+ callstd 2
+ end
+
+SafariZone_Building2_EventScript_162408:: @ 8162408
+ loadword 0, gUnknown_8177AAE
+ callstd 2
+ end
+
+SafariZone_Building2_EventScript_162411:: @ 8162411
+ loadword 0, gUnknown_8177B16
+ callstd 2
+ end
diff --git a/data/maps/SafariZone_Building3/map.json b/data/maps/SafariZone_Building3/map.json
new file mode 100644
index 000000000..47480065a
--- /dev/null
+++ b/data/maps/SafariZone_Building3/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_SAFARI_ZONE_BUILDING3",
+ "name": "SafariZone_Building3",
+ "layout": "LAYOUT_SAFARI_ZONE_BUILDING",
+ "music": "BGM_FRLG_SAFARI_ZONE",
+ "region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
+ "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": "61",
+ "x": 3,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building3_EventScript_16242D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 7,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building3_EventScript_162424",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "57",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building3_EventScript_16241B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 11,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building3_EventScript_1ACED3",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 12
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 12
+ },
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 12
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SafariZone_Building3/scripts.inc b/data/maps/SafariZone_Building3/scripts.inc
new file mode 100644
index 000000000..1a3832fd4
--- /dev/null
+++ b/data/maps/SafariZone_Building3/scripts.inc
@@ -0,0 +1,17 @@
+SafariZone_Building3_MapScripts:: @ 816241A
+ .byte 0
+
+SafariZone_Building3_EventScript_16241B:: @ 816241B
+ loadword 0, gUnknown_8177BAB
+ callstd 2
+ end
+
+SafariZone_Building3_EventScript_162424:: @ 8162424
+ loadword 0, gUnknown_8177B38
+ callstd 2
+ end
+
+SafariZone_Building3_EventScript_16242D:: @ 816242D
+ loadword 0, gUnknown_8177BEC
+ callstd 2
+ end
diff --git a/data/maps/SafariZone_Building4/map.json b/data/maps/SafariZone_Building4/map.json
new file mode 100644
index 000000000..2cfc647cd
--- /dev/null
+++ b/data/maps/SafariZone_Building4/map.json
@@ -0,0 +1,81 @@
+{
+ "id": "MAP_SAFARI_ZONE_BUILDING4",
+ "name": "SafariZone_Building4",
+ "layout": "LAYOUT_SAFARI_ZONE_BUILDING",
+ "music": "BGM_FRLG_SAFARI_ZONE",
+ "region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
+ "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": "55",
+ "x": 3,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building4_EventScript_162440",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 2,
+ "y": 2,
+ "elevation": 0,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building4_EventScript_162437",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 7,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building4_EventScript_162449",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 10
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 10
+ },
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 10
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SafariZone_Building4/scripts.inc b/data/maps/SafariZone_Building4/scripts.inc
new file mode 100644
index 000000000..2b6aec4b6
--- /dev/null
+++ b/data/maps/SafariZone_Building4/scripts.inc
@@ -0,0 +1,17 @@
+SafariZone_Building4_MapScripts:: @ 8162436
+ .byte 0
+
+SafariZone_Building4_EventScript_162437:: @ 8162437
+ loadword 0, gUnknown_8177D39
+ callstd 2
+ end
+
+SafariZone_Building4_EventScript_162440:: @ 8162440
+ loadword 0, gUnknown_8177CEB
+ callstd 2
+ end
+
+SafariZone_Building4_EventScript_162449:: @ 8162449
+ loadword 0, gUnknown_8177D8B
+ callstd 2
+ end
diff --git a/data/maps/SafariZone_Center/map.json b/data/maps/SafariZone_Center/map.json
new file mode 100644
index 000000000..0ef1fd180
--- /dev/null
+++ b/data/maps/SafariZone_Center/map.json
@@ -0,0 +1,156 @@
+{
+ "id": "MAP_SAFARI_ZONE_CENTER",
+ "name": "SafariZone_Center",
+ "layout": "LAYOUT_SAFARI_ZONE_CENTER",
+ "music": "BGM_FRLG_SAFARI_ZONE",
+ "region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 24,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Center_EventScript_1BE7D7",
+ "flag": "385"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 25,
+ "y": 30,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 26,
+ "y": 30,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 27,
+ "y": 30,
+ "elevation": 3,
+ "dest_map": "MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 25,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 9
+ },
+ {
+ "x": 26,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 10
+ },
+ {
+ "x": 27,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 11
+ },
+ {
+ "x": 8,
+ "y": 17,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 8,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 8,
+ "y": 19,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 43,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_EAST",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 43,
+ "y": 16,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_EAST",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 43,
+ "y": 17,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_EAST",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 29,
+ "y": 25,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_BUILDING1",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 30,
+ "y": 26,
+ "elevation": 0,
+ "script": "SafariZone_Center_EventScript_162361"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 25,
+ "y": 27,
+ "elevation": 0,
+ "script": "SafariZone_Center_EventScript_16236A"
+ },
+ {
+ "type": "hidden_item",
+ "x": 27,
+ "y": 15,
+ "elevation": 3,
+ "item": "ITEM_LEAF_STONE",
+ "flag": "22",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 33,
+ "y": 20,
+ "elevation": 0,
+ "script": "SafariZone_Center_EventScript_162373"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SafariZone_Center/scripts.inc b/data/maps/SafariZone_Center/scripts.inc
new file mode 100644
index 000000000..9a869247c
--- /dev/null
+++ b/data/maps/SafariZone_Center/scripts.inc
@@ -0,0 +1,22 @@
+SafariZone_Center_MapScripts:: @ 8162357
+ map_script 3, SafariZone_Center_MapScript1_16235D
+ .byte 0
+
+SafariZone_Center_MapScript1_16235D:: @ 816235D
+ setworldmapflag 2222
+ end
+
+SafariZone_Center_EventScript_162361:: @ 8162361
+ loadword 0, gUnknown_81777F2
+ callstd 3
+ end
+
+SafariZone_Center_EventScript_16236A:: @ 816236A
+ loadword 0, gUnknown_81777FD
+ callstd 3
+ end
+
+SafariZone_Center_EventScript_162373:: @ 8162373
+ loadword 0, gUnknown_817782F
+ callstd 3
+ end
diff --git a/data/maps/SafariZone_East/map.json b/data/maps/SafariZone_East/map.json
new file mode 100644
index 000000000..6f7c8eeb7
--- /dev/null
+++ b/data/maps/SafariZone_East/map.json
@@ -0,0 +1,144 @@
+{
+ "id": "MAP_SAFARI_ZONE_EAST",
+ "name": "SafariZone_East",
+ "layout": "LAYOUT_SAFARI_ZONE_EAST",
+ "music": "BGM_FRLG_SAFARI_ZONE",
+ "region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 13,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_East_EventScript_1BE7E4",
+ "flag": "386"
+ },
+ {
+ "graphics_id": "92",
+ "x": 37,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_East_EventScript_1BE7F1",
+ "flag": "387"
+ },
+ {
+ "graphics_id": "92",
+ "x": 31,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_East_EventScript_1BE7FE",
+ "flag": "388"
+ },
+ {
+ "graphics_id": "92",
+ "x": 36,
+ "y": 17,
+ "elevation": 4,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_East_EventScript_1BE80B",
+ "flag": "389"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 8,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 8,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 8,
+ "y": 26,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 9
+ },
+ {
+ "x": 8,
+ "y": 27,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 10
+ },
+ {
+ "x": 8,
+ "y": 28,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 11
+ },
+ {
+ "x": 40,
+ "y": 14,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_BUILDING2",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 18,
+ "y": 27,
+ "elevation": 0,
+ "script": "SafariZone_East_EventScript_16238F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 43,
+ "y": 15,
+ "elevation": 0,
+ "script": "SafariZone_East_EventScript_16237D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 17,
+ "y": 8,
+ "elevation": 0,
+ "script": "SafariZone_East_EventScript_162386"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SafariZone_East/scripts.inc b/data/maps/SafariZone_East/scripts.inc
new file mode 100644
index 000000000..8c4edfe07
--- /dev/null
+++ b/data/maps/SafariZone_East/scripts.inc
@@ -0,0 +1,17 @@
+SafariZone_East_MapScripts:: @ 816237C
+ .byte 0
+
+SafariZone_East_EventScript_16237D:: @ 816237D
+ loadword 0, gUnknown_817783B
+ callstd 3
+ end
+
+SafariZone_East_EventScript_162386:: @ 8162386
+ loadword 0, gUnknown_8177846
+ callstd 3
+ end
+
+SafariZone_East_EventScript_16238F:: @ 816238F
+ loadword 0, gUnknown_8177884
+ callstd 3
+ end
diff --git a/data/maps/SafariZone_North/map.json b/data/maps/SafariZone_North/map.json
new file mode 100644
index 000000000..4462b8485
--- /dev/null
+++ b/data/maps/SafariZone_North/map.json
@@ -0,0 +1,187 @@
+{
+ "id": "MAP_SAFARI_ZONE_NORTH",
+ "name": "SafariZone_North",
+ "layout": "LAYOUT_SAFARI_ZONE_NORTH",
+ "music": "BGM_FRLG_SAFARI_ZONE",
+ "region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 33,
+ "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": "SafariZone_North_EventScript_1BE818",
+ "flag": "390"
+ },
+ {
+ "graphics_id": "92",
+ "x": 28,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_North_EventScript_1BE825",
+ "flag": "391"
+ },
+ {
+ "graphics_id": "92",
+ "x": 29,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_North_EventScript_1BEBDA",
+ "flag": "467"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 34,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 34,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 12,
+ "y": 34,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 20,
+ "y": 34,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 21,
+ "y": 34,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 22,
+ "y": 34,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 48,
+ "y": 31,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_EAST",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 48,
+ "y": 32,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_EAST",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 48,
+ "y": 33,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_EAST",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 30,
+ "y": 34,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 31,
+ "y": 34,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 32,
+ "y": 34,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 43,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_BUILDING3",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 13,
+ "y": 27,
+ "elevation": 0,
+ "script": "SafariZone_North_EventScript_1623A2"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 23,
+ "y": 31,
+ "elevation": 0,
+ "script": "SafariZone_North_EventScript_1623AB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 29,
+ "y": 32,
+ "elevation": 0,
+ "script": "SafariZone_North_EventScript_1623B4"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 34,
+ "y": 28,
+ "elevation": 0,
+ "script": "SafariZone_North_EventScript_1623BD"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 44,
+ "y": 9,
+ "elevation": 0,
+ "script": "SafariZone_North_EventScript_162399"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SafariZone_North/scripts.inc b/data/maps/SafariZone_North/scripts.inc
new file mode 100644
index 000000000..d507c330b
--- /dev/null
+++ b/data/maps/SafariZone_North/scripts.inc
@@ -0,0 +1,27 @@
+SafariZone_North_MapScripts:: @ 8162398
+ .byte 0
+
+SafariZone_North_EventScript_162399:: @ 8162399
+ loadword 0, gUnknown_817789D
+ callstd 3
+ end
+
+SafariZone_North_EventScript_1623A2:: @ 81623A2
+ loadword 0, gUnknown_81778A8
+ callstd 3
+ end
+
+SafariZone_North_EventScript_1623AB:: @ 81623AB
+ loadword 0, gUnknown_81778D6
+ callstd 3
+ end
+
+SafariZone_North_EventScript_1623B4:: @ 81623B4
+ loadword 0, gUnknown_81778DD
+ callstd 3
+ end
+
+SafariZone_North_EventScript_1623BD:: @ 81623BD
+ loadword 0, gUnknown_8177935
+ callstd 3
+ end
diff --git a/data/maps/SafariZone_SecretHouse/map.json b/data/maps/SafariZone_SecretHouse/map.json
new file mode 100644
index 000000000..83c1c7c34
--- /dev/null
+++ b/data/maps/SafariZone_SecretHouse/map.json
@@ -0,0 +1,55 @@
+{
+ "id": "MAP_SAFARI_ZONE_SECRET_HOUSE",
+ "name": "SafariZone_SecretHouse",
+ "layout": "LAYOUT_SAFARI_ZONE_SECRET_HOUSE",
+ "music": "BGM_FRLG_SAFARI_ZONE",
+ "region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
+ "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": "47",
+ "x": 6,
+ "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": "SafariZone_SecretHouse_EventScript_162453",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 9
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 9
+ },
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_WEST",
+ "dest_warp_id": 9
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SafariZone_SecretHouse/scripts.inc b/data/maps/SafariZone_SecretHouse/scripts.inc
new file mode 100644
index 000000000..3be84b145
--- /dev/null
+++ b/data/maps/SafariZone_SecretHouse/scripts.inc
@@ -0,0 +1,36 @@
+SafariZone_SecretHouse_MapScripts:: @ 8162452
+ .byte 0
+
+SafariZone_SecretHouse_EventScript_162453:: @ 8162453
+ lock
+ faceplayer
+ checkflag FLAG_0x239
+ goto_if 1, EventScript_1624A9
+ loadword 0, gUnknown_8177DC1
+ callstd 4
+ checkitemspace ITEM_HM03, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16249F
+ additem ITEM_HM03, 1
+ loadword 0, gUnknown_8177E92
+ setorcopyvar VAR_0x8000, 341
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ loadword 0, gUnknown_8177EB7
+ callstd 4
+ setflag FLAG_0x239
+ release
+ end
+
+EventScript_16249F:: @ 816249F
+ loadword 0, gUnknown_8177F72
+ callstd 4
+ release
+ end
+
+EventScript_1624A9:: @ 81624A9
+ loadword 0, gUnknown_8177EB7
+ callstd 4
+ release
+ end
diff --git a/data/maps/SafariZone_West/map.json b/data/maps/SafariZone_West/map.json
new file mode 100644
index 000000000..9945f2516
--- /dev/null
+++ b/data/maps/SafariZone_West/map.json
@@ -0,0 +1,188 @@
+{
+ "id": "MAP_SAFARI_ZONE_WEST",
+ "name": "SafariZone_West",
+ "layout": "LAYOUT_SAFARI_ZONE_WEST",
+ "music": "BGM_FRLG_SAFARI_ZONE",
+ "region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "92",
+ "x": 28,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_West_EventScript_1BE83F",
+ "flag": "393"
+ },
+ {
+ "graphics_id": "92",
+ "x": 17,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_West_EventScript_1BE832",
+ "flag": "392"
+ },
+ {
+ "graphics_id": "92",
+ "x": 16,
+ "y": 27,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_West_EventScript_1BE84C",
+ "flag": "394"
+ },
+ {
+ "graphics_id": "92",
+ "x": 27,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_West_EventScript_1BE859",
+ "flag": "395"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 30,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 31,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 32,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 37,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 38,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 39,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 40,
+ "y": 26,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 40,
+ "y": 27,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 40,
+ "y": 28,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_CENTER",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 12,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_SECRET_HOUSE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 19,
+ "y": 18,
+ "elevation": 0,
+ "dest_map": "MAP_SAFARI_ZONE_BUILDING4",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 27,
+ "y": 9,
+ "elevation": 0,
+ "script": "SafariZone_West_EventScript_1623D0"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 36,
+ "y": 10,
+ "elevation": 0,
+ "script": "SafariZone_West_EventScript_1623D9"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 35,
+ "y": 26,
+ "elevation": 0,
+ "script": "SafariZone_West_EventScript_1623E2"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 22,
+ "y": 19,
+ "elevation": 0,
+ "script": "SafariZone_West_EventScript_1623C7"
+ },
+ {
+ "type": "hidden_item",
+ "x": 13,
+ "y": 11,
+ "elevation": 3,
+ "item": "ITEM_REVIVE",
+ "flag": "23",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SafariZone_West/scripts.inc b/data/maps/SafariZone_West/scripts.inc
new file mode 100644
index 000000000..c4a42268c
--- /dev/null
+++ b/data/maps/SafariZone_West/scripts.inc
@@ -0,0 +1,22 @@
+SafariZone_West_MapScripts:: @ 81623C6
+ .byte 0
+
+SafariZone_West_EventScript_1623C7:: @ 81623C7
+ loadword 0, gUnknown_817796E
+ callstd 3
+ end
+
+SafariZone_West_EventScript_1623D0:: @ 81623D0
+ loadword 0, gUnknown_8177979
+ callstd 3
+ end
+
+SafariZone_West_EventScript_1623D9:: @ 81623D9
+ loadword 0, gUnknown_81779F8
+ callstd 3
+ end
+
+SafariZone_West_EventScript_1623E2:: @ 81623E2
+ loadword 0, gUnknown_8177A41
+ callstd 3
+ end
diff --git a/data/maps/SaffronCity/map.json b/data/maps/SaffronCity/map.json
new file mode 100644
index 000000000..b705126ff
--- /dev/null
+++ b/data/maps/SaffronCity/map.json
@@ -0,0 +1,40 @@
+{
+ "id": "MAP_SAFFRON_CITY",
+ "name": "SaffronCity",
+ "layout": "LAYOUT_SAFFRON_CITY",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_SAFFRON_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE5",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE6",
+ "offset": 12,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_ROUTE7",
+ "offset": 10,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_ROUTE8",
+ "offset": 10,
+ "direction": "right"
+ }
+ ],
+ "object_events": [],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SaffronCity/scripts.inc b/data/maps/SaffronCity/scripts.inc
new file mode 100644
index 000000000..4b90fa5b3
--- /dev/null
+++ b/data/maps/SaffronCity/scripts.inc
@@ -0,0 +1,2 @@
+SaffronCity_MapScripts:: @ 8167483
+ .byte 0
diff --git a/data/maps/SaffronCity_Dojo/map.json b/data/maps/SaffronCity_Dojo/map.json
new file mode 100644
index 000000000..bbbbcaa96
--- /dev/null
+++ b/data/maps/SaffronCity_Dojo/map.json
@@ -0,0 +1,181 @@
+{
+ "id": "MAP_SAFFRON_CITY_DOJO",
+ "name": "SaffronCity_Dojo",
+ "layout": "LAYOUT_SAFFRON_CITY_DOJO",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_SAFFRON_CITY",
+ "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": "54",
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 7,
+ "script": "SaffronCity_Dojo_EventScript_16ED46",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 1,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 7,
+ "script": "SaffronCity_Dojo_EventScript_16ED5D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 11,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 7,
+ "script": "SaffronCity_Dojo_EventScript_16ED74",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 1,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 7,
+ "script": "SaffronCity_Dojo_EventScript_16ED8B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 6,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SaffronCity_Dojo_EventScript_16EDA2",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Dojo_EventScript_16EC00",
+ "flag": "96"
+ },
+ {
+ "graphics_id": "92",
+ "x": 7,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Dojo_EventScript_16EC46",
+ "flag": "97"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 6,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 7,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4081",
+ "var_value": 0,
+ "script": "SaffronCity_Dojo_EventScript_16EBDC"
+ },
+ {
+ "type": "trigger",
+ "x": 7,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4081",
+ "var_value": 0,
+ "script": "SaffronCity_Dojo_EventScript_16EBEE"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 13,
+ "elevation": 0,
+ "script": "SaffronCity_Dojo_EventScript_16ED2B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 13,
+ "elevation": 0,
+ "script": "SaffronCity_Dojo_EventScript_16ED2B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 2,
+ "elevation": 0,
+ "script": "SaffronCity_Dojo_EventScript_16ED34"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 2,
+ "elevation": 0,
+ "script": "SaffronCity_Dojo_EventScript_16ED3D"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SaffronCity_Dojo/scripts.inc b/data/maps/SaffronCity_Dojo/scripts.inc
new file mode 100644
index 000000000..f9a91069d
--- /dev/null
+++ b/data/maps/SaffronCity_Dojo/scripts.inc
@@ -0,0 +1,174 @@
+SaffronCity_Dojo_MapScripts:: @ 816EBDB
+ .byte 0
+
+SaffronCity_Dojo_EventScript_16EBDC:: @ 816EBDC
+ lockall
+ setvar VAR_0x4081, 1
+ applymovement 5, Movement_1A75E7
+ waitmovement 0
+ releaseall
+ end
+
+SaffronCity_Dojo_EventScript_16EBEE:: @ 816EBEE
+ lockall
+ setvar VAR_0x4081, 1
+ applymovement 5, Movement_1A75EB
+ waitmovement 0
+ releaseall
+ end
+
+SaffronCity_Dojo_EventScript_16EC00:: @ 816EC00
+ lock
+ faceplayer
+ checkflag FLAG_0x278
+ goto_if 1, EventScript_16EC3C
+ drawmonpic SPECIES_HITMONLEE, 10, 3
+ setvar VAR_0x4001, 106
+ applymovement 5, Movement_1A75E9
+ waitmovement 0
+ textcolor 0
+ loadword 0, gUnknown_819B44E
+ callstd 5
+ call EventScript_1A6675
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16EC82
+ erasemonpic
+ release
+ end
+
+EventScript_16EC3C:: @ 816EC3C
+ loadword 0, gUnknown_819B4E1
+ callstd 4
+ release
+ end
+
+SaffronCity_Dojo_EventScript_16EC46:: @ 816EC46
+ lock
+ faceplayer
+ checkflag FLAG_0x278
+ goto_if 1, EventScript_16EC3C
+ drawmonpic SPECIES_HITMONCHAN, 10, 3
+ setvar VAR_0x4001, 107
+ applymovement 5, Movement_1A75E9
+ waitmovement 0
+ textcolor 0
+ loadword 0, gUnknown_819B49E
+ callstd 5
+ call EventScript_1A6675
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16EC82
+ erasemonpic
+ release
+ end
+
+EventScript_16EC82:: @ 816EC82
+ erasemonpic
+ givemon 16385, 25, ITEM_NONE, 0, 0, 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16ECB5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16ECEC
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A927C
+ release
+ end
+
+EventScript_16ECB5:: @ 816ECB5
+ removeobject VAR_LAST_TALKED
+ getspeciesname 0, 16385
+ playfanfare MUS_FANFA1
+ message Text_19B473
+ waitmessage
+ waitfanfare
+ setflag FLAG_0x278
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16ED29
+ call EventScript_1A8C27
+ call EventScript_1A74EB
+ goto EventScript_16ED29
+ end
+
+EventScript_16ECEC:: @ 816ECEC
+ removeobject VAR_LAST_TALKED
+ getspeciesname 0, 16385
+ playfanfare MUS_FANFA1
+ message Text_19B473
+ waitmessage
+ waitfanfare
+ setflag FLAG_0x278
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16ED1E
+ call EventScript_1A8C33
+ goto EventScript_16ED1E
+ end
+
+EventScript_16ED1E:: @ 816ED1E
+ call EventScript_1A8C3C
+ goto EventScript_16ED29
+ end
+
+EventScript_16ED29:: @ 816ED29
+ release
+ end
+
+SaffronCity_Dojo_EventScript_16ED2B:: @ 816ED2B
+ loadword 0, gUnknown_819B52E
+ callstd 3
+ end
+
+SaffronCity_Dojo_EventScript_16ED34:: @ 816ED34
+ loadword 0, gUnknown_819B4F8
+ callstd 3
+ end
+
+SaffronCity_Dojo_EventScript_16ED3D:: @ 816ED3D
+ loadword 0, gUnknown_819B50F
+ callstd 3
+ end
+
+SaffronCity_Dojo_EventScript_16ED46:: @ 816ED46
+ trainerbattle 0, 321, 0, Text_19B3DF, Text_19B40F
+ loadword 0, gUnknown_819B41F
+ callstd 6
+ end
+
+SaffronCity_Dojo_EventScript_16ED5D:: @ 816ED5D
+ trainerbattle 0, 319, 0, Text_19B2E0, Text_19B2FD
+ loadword 0, gUnknown_819B30F
+ callstd 6
+ end
+
+SaffronCity_Dojo_EventScript_16ED74:: @ 816ED74
+ trainerbattle 0, 320, 0, Text_19B341, Text_19B396
+ loadword 0, gUnknown_819B3AC
+ callstd 6
+ end
+
+SaffronCity_Dojo_EventScript_16ED8B:: @ 816ED8B
+ trainerbattle 0, 318, 0, Text_19B275, Text_19B292
+ loadword 0, gUnknown_819B29D
+ callstd 6
+ end
+
+SaffronCity_Dojo_EventScript_16EDA2:: @ 816EDA2
+ trainerbattle 2, 317, 0, Text_19B12C, Text_19B193, EventScript_16EDD0
+ checkflag FLAG_0x278
+ goto_if 1, EventScript_16EDC6
+ loadword 0, gUnknown_819B1A7
+ callstd 6
+ end
+
+EventScript_16EDC6:: @ 816EDC6
+ loadword 0, gUnknown_819B24C
+ callstd 4
+ release
+ end
+
+EventScript_16EDD0:: @ 816EDD0
+ setvar VAR_0x4081, 1
+ release
+ end
diff --git a/data/maps/SaffronCity_Duplicate/map.json b/data/maps/SaffronCity_Duplicate/map.json
new file mode 100644
index 000000000..0dc64583f
--- /dev/null
+++ b/data/maps/SaffronCity_Duplicate/map.json
@@ -0,0 +1,407 @@
+{
+ "id": "MAP_SAFFRON_CITY_DUPLICATE",
+ "name": "SaffronCity_Duplicate",
+ "layout": "LAYOUT_SAFFRON_CITY_DUPLICATE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_SAFFRON_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE5",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE6",
+ "offset": 12,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_ROUTE7",
+ "offset": 10,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_ROUTE8",
+ "offset": 10,
+ "direction": "right"
+ }
+ ],
+ "connections_no_include": true,
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 22,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_16737A",
+ "flag": "62"
+ },
+ {
+ "graphics_id": "49",
+ "x": 26,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 4,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_167383",
+ "flag": "62"
+ },
+ {
+ "graphics_id": "49",
+ "x": 46,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_16738C",
+ "flag": "62"
+ },
+ {
+ "graphics_id": "49",
+ "x": 27,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_167395",
+ "flag": "62"
+ },
+ {
+ "graphics_id": "49",
+ "x": 25,
+ "y": 33,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 7,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_16739E",
+ "flag": "62"
+ },
+ {
+ "graphics_id": "49",
+ "x": 34,
+ "y": 31,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_1673B9",
+ "flag": "62"
+ },
+ {
+ "graphics_id": "49",
+ "x": 30,
+ "y": 39,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 5,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_1673B0",
+ "flag": "62"
+ },
+ {
+ "graphics_id": "49",
+ "x": 48,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 4,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_1673A7",
+ "flag": "62"
+ },
+ {
+ "graphics_id": "18",
+ "x": 37,
+ "y": 32,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_1673EC",
+ "flag": "63"
+ },
+ {
+ "graphics_id": "47",
+ "x": 21,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_1673E3",
+ "flag": "63"
+ },
+ {
+ "graphics_id": "25",
+ "x": 39,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_16741A",
+ "flag": "63"
+ },
+ {
+ "graphics_id": "19",
+ "x": 44,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_1673FE",
+ "flag": "63"
+ },
+ {
+ "graphics_id": "114",
+ "x": 45,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_167407",
+ "flag": "63"
+ },
+ {
+ "graphics_id": "22",
+ "x": 32,
+ "y": 39,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 5,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_1673F5",
+ "flag": "63"
+ },
+ {
+ "graphics_id": "24",
+ "x": 47,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Duplicate_EventScript_1AD03A",
+ "flag": "157"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 33,
+ "y": 30,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 22,
+ "y": 14,
+ "elevation": 0,
+ "dest_map": "MAP_SAFFRON_CITY_HOUSE1_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 40,
+ "y": 12,
+ "elevation": 0,
+ "dest_map": "MAP_SAFFRON_CITY_DOJO",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 46,
+ "y": 12,
+ "elevation": 0,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 27,
+ "y": 21,
+ "elevation": 0,
+ "dest_map": "MAP_SAFFRON_CITY_HOUSE2",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 40,
+ "y": 21,
+ "elevation": 0,
+ "dest_map": "MAP_SAFFRON_CITY_MART",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 24,
+ "y": 38,
+ "elevation": 0,
+ "dest_map": "MAP_SAFFRON_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 43,
+ "y": 38,
+ "elevation": 0,
+ "dest_map": "MAP_SAFFRON_CITY_HOUSE3",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 8,
+ "y": 27,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE7_EAST_ENTRANCE",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 34,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE5_SOUTH_ENTRANCE",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 58,
+ "y": 27,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE8_WEST_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 34,
+ "y": 46,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE6_NORTH_ENTRANCE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 35,
+ "y": 46,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE6_NORTH_ENTRANCE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 35,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE5_SOUTH_ENTRANCE",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 47,
+ "y": 21,
+ "elevation": 0,
+ "dest_map": "MAP_SAFFRON_CITY_POKEMON_TRAINER_FAN_CLUB",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 29,
+ "y": 14,
+ "elevation": 0,
+ "script": "SaffronCity_Duplicate_EventScript_167423"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 42,
+ "y": 14,
+ "elevation": 0,
+ "script": "SaffronCity_Duplicate_EventScript_16742C"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 13,
+ "y": 25,
+ "elevation": 0,
+ "script": "SaffronCity_Duplicate_EventScript_167471"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 18,
+ "y": 30,
+ "elevation": 0,
+ "script": "SaffronCity_Duplicate_EventScript_167456"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 29,
+ "y": 31,
+ "elevation": 0,
+ "script": "SaffronCity_Duplicate_EventScript_16745F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 54,
+ "y": 25,
+ "elevation": 0,
+ "script": "SaffronCity_Duplicate_EventScript_16744D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 50,
+ "y": 14,
+ "elevation": 0,
+ "script": "SaffronCity_Duplicate_EventScript_167435"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 40,
+ "y": 38,
+ "elevation": 0,
+ "script": "SaffronCity_Duplicate_EventScript_167468"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 49,
+ "y": 22,
+ "elevation": 0,
+ "script": "SaffronCity_Duplicate_EventScript_16747A"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SaffronCity_Duplicate/scripts.inc b/data/maps/SaffronCity_Duplicate/scripts.inc
new file mode 100644
index 000000000..70dface9b
--- /dev/null
+++ b/data/maps/SaffronCity_Duplicate/scripts.inc
@@ -0,0 +1,152 @@
+SaffronCity_Duplicate_MapScripts:: @ 816735F
+ map_script 3, SaffronCity_Duplicate_MapScript1_167365
+ .byte 0
+
+SaffronCity_Duplicate_MapScript1_167365:: @ 8167365
+ setworldmapflag 2202
+ checkflag FLAG_0x23C
+ call_if 0, EventScript_167372
+ end
+
+EventScript_167372:: @ 8167372
+ setobjectxyperm 6, 33, 31
+ return
+
+SaffronCity_Duplicate_EventScript_16737A:: @ 816737A
+ loadword 0, gUnknown_8181003
+ callstd 2
+ end
+
+SaffronCity_Duplicate_EventScript_167383:: @ 8167383
+ loadword 0, gUnknown_818101F
+ callstd 2
+ end
+
+SaffronCity_Duplicate_EventScript_16738C:: @ 816738C
+ loadword 0, gUnknown_818105A
+ callstd 2
+ end
+
+SaffronCity_Duplicate_EventScript_167395:: @ 8167395
+ loadword 0, gUnknown_8181087
+ callstd 2
+ end
+
+SaffronCity_Duplicate_EventScript_16739E:: @ 816739E
+ loadword 0, gUnknown_81810A7
+ callstd 2
+ end
+
+SaffronCity_Duplicate_EventScript_1673A7:: @ 81673A7
+ loadword 0, gUnknown_81810D5
+ callstd 2
+ end
+
+SaffronCity_Duplicate_EventScript_1673B0:: @ 81673B0
+ loadword 0, gUnknown_81810F5
+ callstd 2
+ end
+
+SaffronCity_Duplicate_EventScript_1673B9:: @ 81673B9
+ lock
+ checkflag FLAG_0x23C
+ goto_if 1, EventScript_1673D7
+ applymovement 6, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_81812CA
+ callstd 4
+ release
+ end
+
+EventScript_1673D7:: @ 81673D7
+ textcolor 3
+ loadword 0, gUnknown_8181302
+ callstd 4
+ release
+ end
+
+SaffronCity_Duplicate_EventScript_1673E3:: @ 81673E3
+ loadword 0, gUnknown_8181159
+ callstd 2
+ end
+
+SaffronCity_Duplicate_EventScript_1673EC:: @ 81673EC
+ loadword 0, gUnknown_8181189
+ callstd 2
+ end
+
+SaffronCity_Duplicate_EventScript_1673F5:: @ 81673F5
+ loadword 0, gUnknown_81811BF
+ callstd 2
+ end
+
+SaffronCity_Duplicate_EventScript_1673FE:: @ 81673FE
+ loadword 0, gUnknown_8181225
+ callstd 2
+ end
+
+SaffronCity_Duplicate_EventScript_167407:: @ 8167407
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_PIDGEOT, 0
+ loadword 0, gUnknown_8181286
+ callstd 4
+ waitmoncry
+ release
+ end
+
+SaffronCity_Duplicate_EventScript_16741A:: @ 816741A
+ loadword 0, gUnknown_8181299
+ callstd 2
+ end
+
+SaffronCity_Duplicate_EventScript_167423:: @ 8167423
+ loadword 0, gUnknown_8181326
+ callstd 3
+ end
+
+SaffronCity_Duplicate_EventScript_16742C:: @ 816742C
+ loadword 0, gUnknown_8181354
+ callstd 3
+ end
+
+SaffronCity_Duplicate_EventScript_167435:: @ 8167435
+ lockall
+ setvar VAR_0x8004, 7
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8181362
+ callstd 4
+ releaseall
+ end
+
+SaffronCity_Duplicate_EventScript_16744D:: @ 816744D
+ loadword 0, gUnknown_81813AA
+ callstd 3
+ end
+
+SaffronCity_Duplicate_EventScript_167456:: @ 8167456
+ loadword 0, gUnknown_8181452
+ callstd 3
+ end
+
+SaffronCity_Duplicate_EventScript_16745F:: @ 816745F
+ loadword 0, gUnknown_81814B9
+ callstd 3
+ end
+
+SaffronCity_Duplicate_EventScript_167468:: @ 8167468
+ loadword 0, gUnknown_81814D3
+ callstd 3
+ end
+
+SaffronCity_Duplicate_EventScript_167471:: @ 8167471
+ loadword 0, gUnknown_81814E7
+ callstd 3
+ end
+
+SaffronCity_Duplicate_EventScript_16747A:: @ 816747A
+ loadword 0, gUnknown_8181519
+ callstd 3
+ end
diff --git a/data/maps/SaffronCity_Gym/map.json b/data/maps/SaffronCity_Gym/map.json
new file mode 100644
index 000000000..96f9f5ee3
--- /dev/null
+++ b/data/maps/SaffronCity_Gym/map.json
@@ -0,0 +1,384 @@
+{
+ "id": "MAP_SAFFRON_CITY_GYM",
+ "name": "SaffronCity_Gym",
+ "layout": "LAYOUT_SAFFRON_CITY_GYM",
+ "music": "BGM_FRLG_GYM",
+ "region_map_section": "MAPSEC_SAFFRON_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 1,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "41",
+ "x": 24,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SaffronCity_Gym_EventScript_16EEC3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "41",
+ "x": 24,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SaffronCity_Gym_EventScript_16EE88",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "41",
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SaffronCity_Gym_EventScript_16EEDA",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 14,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SaffronCity_Gym_EventScript_16EEF1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 4,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SaffronCity_Gym_EventScript_16EF08",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "58",
+ "x": 4,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SaffronCity_Gym_EventScript_16EF1F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "85",
+ "x": 14,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Gym_EventScript_16EDD8",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "41",
+ "x": 24,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SaffronCity_Gym_EventScript_16EE9F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "91",
+ "x": 15,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Gym_EventScript_16EF36",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 13,
+ "y": 23,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 14,
+ "y": 23,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 15,
+ "y": 23,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 18,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 32
+ },
+ {
+ "x": 0,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 22
+ },
+ {
+ "x": 0,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 20
+ },
+ {
+ "x": 0,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 30
+ },
+ {
+ "x": 0,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 11
+ },
+ {
+ "x": 0,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 28
+ },
+ {
+ "x": 0,
+ "y": 23,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 19
+ },
+ {
+ "x": 8,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 18
+ },
+ {
+ "x": 8,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 8,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 17
+ },
+ {
+ "x": 8,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 15
+ },
+ {
+ "x": 8,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 26
+ },
+ {
+ "x": 8,
+ "y": 23,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 13
+ },
+ {
+ "x": 12,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 24
+ },
+ {
+ "x": 12,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 12
+ },
+ {
+ "x": 16,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 10
+ },
+ {
+ "x": 16,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 9
+ },
+ {
+ "x": 18,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 20,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 23
+ },
+ {
+ "x": 20,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 20,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 21
+ },
+ {
+ "x": 20,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 16
+ },
+ {
+ "x": 20,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 27
+ },
+ {
+ "x": 20,
+ "y": 23,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 14
+ },
+ {
+ "x": 28,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 25
+ },
+ {
+ "x": 28,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 28,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 31
+ },
+ {
+ "x": 28,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 28,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 29
+ },
+ {
+ "x": 28,
+ "y": 23,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_GYM",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 20,
+ "elevation": 0,
+ "script": "SaffronCity_Gym_EventScript_16EF55"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 16,
+ "y": 20,
+ "elevation": 0,
+ "script": "SaffronCity_Gym_EventScript_16EF55"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SaffronCity_Gym/scripts.inc b/data/maps/SaffronCity_Gym/scripts.inc
new file mode 100644
index 000000000..bb101e266
--- /dev/null
+++ b/data/maps/SaffronCity_Gym/scripts.inc
@@ -0,0 +1,129 @@
+SaffronCity_Gym_MapScripts:: @ 816EDD7
+ .byte 0
+
+SaffronCity_Gym_EventScript_16EDD8:: @ 816EDD8
+ setvar VAR_0x8004, 7
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ trainerbattle 1, 420, 0, Text_19B53C, Text_19B602, EventScript_16EE0A
+ checkflag FLAG_0x29A
+ goto_if 0, EventScript_16EE3D
+ loadword 0, gUnknown_819B7F2
+ callstd 4
+ release
+ end
+
+EventScript_16EE0A:: @ 816EE0A
+ setvar VAR_0x8004, 7
+ setvar VAR_0x8005, 2
+ special SetFlavorTextFlagFromSpecialVars
+ setvar VAR_0x8004, 7
+ setvar VAR_0x8005, 3
+ special SetFlavorTextFlagFromSpecialVars
+ clearflag FLAG_0x0AE
+ setflag FLAG_0x4B5
+ setflag 2085
+ setvar VAR_0x8008, 6
+ call EventScript_1A6B18
+ goto EventScript_16EE3D
+ end
+
+EventScript_16EE3D:: @ 816EE3D
+ loadword 0, gUnknown_819B6FA
+ callstd 4
+ checkitemspace ITEM_TM04, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16EE7E
+ additem ITEM_TM04, 1
+ loadword 0, gUnknown_819B7D3
+ setorcopyvar VAR_0x8000, 292
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x29A
+ loadword 0, gUnknown_819B685
+ callstd 4
+ release
+ end
+
+EventScript_16EE7E:: @ 816EE7E
+ loadword 0, gUnknown_819B849
+ callstd 4
+ release
+ end
+
+SaffronCity_Gym_EventScript_16EE88:: @ 816EE88
+ trainerbattle 0, 280, 0, Text_19B936, Text_19B957
+ loadword 0, gUnknown_819B96D
+ callstd 6
+ end
+
+SaffronCity_Gym_EventScript_16EE9F:: @ 816EE9F
+ trainerbattle 0, 281, 0, Text_19BA45, Text_19BA9E
+ setvar VAR_0x8004, 7
+ setvar VAR_0x8005, 5
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_819BAB4
+ callstd 6
+ end
+
+SaffronCity_Gym_EventScript_16EEC3:: @ 816EEC3
+ trainerbattle 0, 282, 0, Text_19BB49, Text_19BBA1
+ loadword 0, gUnknown_819BBB3
+ callstd 6
+ end
+
+SaffronCity_Gym_EventScript_16EEDA:: @ 816EEDA
+ trainerbattle 0, 283, 0, Text_19BC57, Text_19BCBC
+ loadword 0, gUnknown_819BCC4
+ callstd 6
+ end
+
+SaffronCity_Gym_EventScript_16EEF1:: @ 816EEF1
+ trainerbattle 0, 462, 0, Text_19B86A, Text_19B8A8
+ loadword 0, gUnknown_819B8B9
+ callstd 6
+ end
+
+SaffronCity_Gym_EventScript_16EF08:: @ 816EF08
+ trainerbattle 0, 463, 0, Text_19B998, Text_19B9EC
+ loadword 0, gUnknown_819B9F7
+ callstd 6
+ end
+
+SaffronCity_Gym_EventScript_16EF1F:: @ 816EF1F
+ trainerbattle 0, 464, 0, Text_19BAE8, Text_19BB0D
+ loadword 0, gUnknown_819BB1F
+ callstd 6
+ end
+
+SaffronCity_Gym_EventScript_16EF36:: @ 816EF36
+ lock
+ faceplayer
+ checkflag FLAG_0x4B5
+ goto_if 1, EventScript_16EF4B
+ loadword 0, gUnknown_819BCF6
+ callstd 4
+ release
+ end
+
+EventScript_16EF4B:: @ 816EF4B
+ loadword 0, gUnknown_819BDBB
+ callstd 4
+ release
+ end
+
+SaffronCity_Gym_EventScript_16EF55:: @ 816EF55
+ lockall
+ checkflag 2085
+ goto_if 1, EventScript_16EF69
+ loadword 0, gUnknown_819BDFE
+ callstd 4
+ releaseall
+ end
+
+EventScript_16EF69:: @ 816EF69
+ loadword 0, gUnknown_819BE37
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/SaffronCity_House1_1F/map.json b/data/maps/SaffronCity_House1_1F/map.json
new file mode 100644
index 000000000..b48e123b6
--- /dev/null
+++ b/data/maps/SaffronCity_House1_1F/map.json
@@ -0,0 +1,88 @@
+{
+ "id": "MAP_SAFFRON_CITY_HOUSE1_1F",
+ "name": "SaffronCity_House1_1F",
+ "layout": "LAYOUT_SAFFRON_CITY_HOUSE1_1F",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_SAFFRON_CITY",
+ "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": "30",
+ "x": 8,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_House1_1F_EventScript_16EB40",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "31",
+ "x": 3,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_House1_1F_EventScript_16EB37",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "117",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_House1_1F_EventScript_16EB49",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_HOUSE1_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SaffronCity_House1_1F/scripts.inc b/data/maps/SaffronCity_House1_1F/scripts.inc
new file mode 100644
index 000000000..2f788d241
--- /dev/null
+++ b/data/maps/SaffronCity_House1_1F/scripts.inc
@@ -0,0 +1,23 @@
+SaffronCity_House1_1F_MapScripts:: @ 816EB36
+ .byte 0
+
+SaffronCity_House1_1F_EventScript_16EB37:: @ 816EB37
+ loadword 0, gUnknown_819AB9B
+ callstd 2
+ end
+
+SaffronCity_House1_1F_EventScript_16EB40:: @ 816EB40
+ loadword 0, gUnknown_819ABD7
+ callstd 2
+ end
+
+SaffronCity_House1_1F_EventScript_16EB49:: @ 816EB49
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_CHANSEY, 0
+ loadword 0, gUnknown_819AC4B
+ callstd 4
+ waitmoncry
+ release
+ end
diff --git a/data/maps/SaffronCity_House1_2F/map.json b/data/maps/SaffronCity_House1_2F/map.json
new file mode 100644
index 000000000..ab0e164f9
--- /dev/null
+++ b/data/maps/SaffronCity_House1_2F/map.json
@@ -0,0 +1,104 @@
+{
+ "id": "MAP_SAFFRON_CITY_HOUSE1_2F",
+ "name": "SaffronCity_House1_2F",
+ "layout": "LAYOUT_SAFFRON_CITY_HOUSE1_2F",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_SAFFRON_CITY",
+ "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": "132",
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_House1_2F_EventScript_16EB5D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "120",
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_House1_2F_EventScript_16EB70",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "115",
+ "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": "SaffronCity_House1_2F_EventScript_16EB70",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 9,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_House1_2F_EventScript_16EB7B",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_HOUSE1_1F",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 1,
+ "y": 1,
+ "elevation": 0,
+ "script": "SaffronCity_House1_2F_EventScript_16EBC9"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 5,
+ "elevation": 0,
+ "script": "SaffronCity_House1_2F_EventScript_16EBD2"
+ },
+ {
+ "type": "hidden_item",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "item": "ITEM_NUGGET",
+ "flag": "26",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SaffronCity_House1_2F/scripts.inc b/data/maps/SaffronCity_House1_2F/scripts.inc
new file mode 100644
index 000000000..5923bd693
--- /dev/null
+++ b/data/maps/SaffronCity_House1_2F/scripts.inc
@@ -0,0 +1,58 @@
+SaffronCity_House1_2F_MapScripts:: @ 816EB5C
+ .byte 0
+
+SaffronCity_House1_2F_EventScript_16EB5D:: @ 816EB5D
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_DODUO, 0
+ loadword 0, gUnknown_819B030
+ callstd 4
+ waitmoncry
+ release
+ end
+
+SaffronCity_House1_2F_EventScript_16EB70:: @ 816EB70
+ lock
+ loadword 0, gUnknown_819B071
+ callstd 4
+ release
+ end
+
+SaffronCity_House1_2F_EventScript_16EB7B:: @ 816EB7B
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ faceplayer
+ checkitem ITEM_POKE_DOLL, 1
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_1C4CF6
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_16EBB7
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_16EBC0
+ release
+ end
+
+EventScript_16EBB7:: @ 816EBB7
+ loadword 0, gUnknown_819AC60
+ callstd 4
+ return
+
+EventScript_16EBC0:: @ 816EBC0
+ loadword 0, gUnknown_819ACF1
+ callstd 4
+ return
+
+SaffronCity_House1_2F_EventScript_16EBC9:: @ 816EBC9
+ loadword 0, gUnknown_819B0D0
+ callstd 3
+ end
+
+SaffronCity_House1_2F_EventScript_16EBD2:: @ 816EBD2
+ loadword 0, gUnknown_819B0A0
+ callstd 3
+ end
diff --git a/data/maps/SaffronCity_House2/map.json b/data/maps/SaffronCity_House2/map.json
new file mode 100644
index 000000000..de11d7982
--- /dev/null
+++ b/data/maps/SaffronCity_House2/map.json
@@ -0,0 +1,102 @@
+{
+ "id": "MAP_SAFFRON_CITY_HOUSE2",
+ "name": "SaffronCity_House2",
+ "layout": "LAYOUT_HOUSE5",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_SAFFRON_CITY",
+ "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": "116",
+ "x": 0,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 4,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_House2_EventScript_16EF86",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_House2_EventScript_16EF74",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 6,
+ "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": "SaffronCity_House2_EventScript_16EF7D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "105",
+ "x": 5,
+ "y": 4,
+ "elevation": 0,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "script": "SaffronCity_House2_EventScript_16EF99"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SaffronCity_House2/scripts.inc b/data/maps/SaffronCity_House2/scripts.inc
new file mode 100644
index 000000000..ed38659ee
--- /dev/null
+++ b/data/maps/SaffronCity_House2/scripts.inc
@@ -0,0 +1,28 @@
+SaffronCity_House2_MapScripts:: @ 816EF73
+ .byte 0
+
+SaffronCity_House2_EventScript_16EF74:: @ 816EF74
+ loadword 0, gUnknown_819BE74
+ callstd 2
+ end
+
+SaffronCity_House2_EventScript_16EF7D:: @ 816EF7D
+ loadword 0, gUnknown_819BED5
+ callstd 2
+ end
+
+SaffronCity_House2_EventScript_16EF86:: @ 816EF86
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_PIDGEY, 0
+ loadword 0, gUnknown_819BEC3
+ callstd 4
+ waitmoncry
+ release
+ end
+
+SaffronCity_House2_EventScript_16EF99:: @ 816EF99
+ loadword 0, gUnknown_819BF07
+ callstd 3
+ end
diff --git a/data/maps/SaffronCity_House3/map.json b/data/maps/SaffronCity_House3/map.json
new file mode 100644
index 000000000..eda6fe9fc
--- /dev/null
+++ b/data/maps/SaffronCity_House3/map.json
@@ -0,0 +1,55 @@
+{
+ "id": "MAP_SAFFRON_CITY_HOUSE3",
+ "name": "SaffronCity_House3",
+ "layout": "LAYOUT_HOUSE5",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_SAFFRON_CITY",
+ "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": "30",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_House3_EventScript_16F05F",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 7
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SaffronCity_House3/scripts.inc b/data/maps/SaffronCity_House3/scripts.inc
new file mode 100644
index 000000000..2ce0781fc
--- /dev/null
+++ b/data/maps/SaffronCity_House3/scripts.inc
@@ -0,0 +1,36 @@
+SaffronCity_House3_MapScripts:: @ 816F05E
+ .byte 0
+
+SaffronCity_House3_EventScript_16F05F:: @ 816F05F
+ lock
+ faceplayer
+ checkflag FLAG_0x245
+ goto_if 1, EventScript_16F0B5
+ loadword 0, gUnknown_819C142
+ callstd 4
+ checkitemspace ITEM_TM29, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16F0AB
+ additem ITEM_TM29, 1
+ loadword 0, gUnknown_819C16C
+ setorcopyvar VAR_0x8000, 317
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ loadword 0, gUnknown_819C18F
+ callstd 4
+ setflag FLAG_0x245
+ release
+ end
+
+EventScript_16F0AB:: @ 816F0AB
+ loadword 0, gUnknown_819C1FC
+ callstd 4
+ release
+ end
+
+EventScript_16F0B5:: @ 816F0B5
+ loadword 0, gUnknown_819C18F
+ callstd 4
+ release
+ end
diff --git a/data/maps/SaffronCity_Mart/map.json b/data/maps/SaffronCity_Mart/map.json
new file mode 100644
index 000000000..00e191a94
--- /dev/null
+++ b/data/maps/SaffronCity_Mart/map.json
@@ -0,0 +1,81 @@
+{
+ "id": "MAP_SAFFRON_CITY_MART",
+ "name": "SaffronCity_Mart",
+ "layout": "LAYOUT_MART",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SAFFRON_CITY",
+ "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": "68",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Mart_EventScript_16EFB5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 1,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Mart_EventScript_16EFAC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 9,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_Mart_EventScript_16EFA3",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SaffronCity_Mart/scripts.inc b/data/maps/SaffronCity_Mart/scripts.inc
new file mode 100644
index 000000000..c72f5237b
--- /dev/null
+++ b/data/maps/SaffronCity_Mart/scripts.inc
@@ -0,0 +1,38 @@
+SaffronCity_Mart_MapScripts:: @ 816EFA2
+ .byte 0
+
+SaffronCity_Mart_EventScript_16EFA3:: @ 816EFA3
+ loadword 0, gUnknown_819BFF1
+ callstd 2
+ end
+
+SaffronCity_Mart_EventScript_16EFAC:: @ 816EFAC
+ loadword 0, gUnknown_819BF8F
+ callstd 2
+ end
+
+SaffronCity_Mart_EventScript_16EFB5:: @ 816EFB5
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16EFDC
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16EFDC:: @ 816EFDC
+ .2byte ITEM_GREAT_BALL
+ .2byte ITEM_HYPER_POTION
+ .2byte ITEM_REVIVE
+ .2byte ITEM_FULL_HEAL
+ .2byte ITEM_ESCAPE_ROPE
+ .2byte ITEM_MAX_REPEL
+ .2byte ITEM_NONE
+ release
+ end
diff --git a/data/maps/SaffronCity_PokemonCenter_1F/map.json b/data/maps/SaffronCity_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..46de82e0c
--- /dev/null
+++ b/data/maps/SaffronCity_PokemonCenter_1F/map.json
@@ -0,0 +1,127 @@
+{
+ "id": "MAP_SAFFRON_CITY_POKEMON_CENTER_1F",
+ "name": "SaffronCity_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SAFFRON_CITY",
+ "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": "SaffronCity_PokemonCenter_1F_EventScript_16EFFB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 14,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonCenter_1F_EventScript_16F004",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "31",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonCenter_1F_EventScript_16F00D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 9,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonCenter_1F_EventScript_16F016",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "0",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonCenter_1F_EventScript_1ACEEC",
+ "flag": "174"
+ },
+ {
+ "graphics_id": "0",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonCenter_1F_EventScript_1ACEEC",
+ "flag": "174"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_SAFFRON_CITY_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SaffronCity_PokemonCenter_1F/scripts.inc b/data/maps/SaffronCity_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..6eb760d16
--- /dev/null
+++ b/data/maps/SaffronCity_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,41 @@
+SaffronCity_PokemonCenter_1F_MapScripts:: @ 816EFEC
+ map_script 3, SaffronCity_PokemonCenter_1F_MapScript1_16EFF7
+ map_script 5, SaffronCity_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+SaffronCity_PokemonCenter_1F_MapScript1_16EFF7:: @ 816EFF7
+ setrespawn 11
+ end
+
+SaffronCity_PokemonCenter_1F_EventScript_16EFFB:: @ 816EFFB
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+SaffronCity_PokemonCenter_1F_EventScript_16F004:: @ 816F004
+ loadword 0, gUnknown_819C058
+ callstd 2
+ end
+
+SaffronCity_PokemonCenter_1F_EventScript_16F00D:: @ 816F00D
+ loadword 0, gUnknown_819C023
+ callstd 2
+ end
+
+SaffronCity_PokemonCenter_1F_EventScript_16F016:: @ 816F016
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 1, EventScript_16F02D
+ loadword 0, gUnknown_819C0B4
+ callstd 4
+ release
+ end
+
+EventScript_16F02D:: @ 816F02D
+ loadword 0, gUnknown_819C102
+ callstd 4
+ release
+ end
diff --git a/data/maps/SaffronCity_PokemonCenter_2F/map.json b/data/maps/SaffronCity_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..a79fb8efd
--- /dev/null
+++ b/data/maps/SaffronCity_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_SAFFRON_CITY_POKEMON_CENTER_2F",
+ "name": "SaffronCity_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SAFFRON_CITY",
+ "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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "SaffronCity_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_SAFFRON_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SaffronCity_PokemonCenter_2F/scripts.inc b/data/maps/SaffronCity_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..c6f69cc82
--- /dev/null
+++ b/data/maps/SaffronCity_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+SaffronCity_PokemonCenter_2F_MapScripts:: @ 816F037
+ map_script 2, SaffronCity_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, SaffronCity_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, SaffronCity_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, SaffronCity_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+SaffronCity_PokemonCenter_2F_EventScript_16F04C:: @ 816F04C
+ call EventScript_1BB4A3
+ end
+
+EventScript_16F052:: @ 816F052
+ call EventScript_1BB6AB
+ end
+
+EventScript_16F058:: @ 816F058
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/SaffronCity_PokemonTrainerFanClub/map.json b/data/maps/SaffronCity_PokemonTrainerFanClub/map.json
new file mode 100644
index 000000000..0403a7806
--- /dev/null
+++ b/data/maps/SaffronCity_PokemonTrainerFanClub/map.json
@@ -0,0 +1,158 @@
+{
+ "id": "MAP_SAFFRON_CITY_POKEMON_TRAINER_FAN_CLUB",
+ "name": "SaffronCity_PokemonTrainerFanClub",
+ "layout": "LAYOUT_SAFFRON_CITY_POKEMON_TRAINER_FAN_CLUB",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_SAFFRON_CITY",
+ "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": "24",
+ "x": 7,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonTrainerFanClub_EventScript_16F281",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 6,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonTrainerFanClub_EventScript_16F2F8",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 3,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonTrainerFanClub_EventScript_16F36F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 3,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonTrainerFanClub_EventScript_16F3E6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "31",
+ "x": 9,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonTrainerFanClub_EventScript_16F45D",
+ "flag": "110"
+ },
+ {
+ "graphics_id": "26",
+ "x": 7,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonTrainerFanClub_EventScript_16F4BF",
+ "flag": "109"
+ },
+ {
+ "graphics_id": "29",
+ "x": 9,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonTrainerFanClub_EventScript_16F521",
+ "flag": "111"
+ },
+ {
+ "graphics_id": "54",
+ "x": 5,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonTrainerFanClub_EventScript_16F583",
+ "flag": "108"
+ },
+ {
+ "graphics_id": "0",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonTrainerFanClub_EventScript_1ACF7A",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "0",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SaffronCity_PokemonTrainerFanClub_EventScript_1ACF7A",
+ "flag": "157"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 14
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SaffronCity_PokemonTrainerFanClub/scripts.inc b/data/maps/SaffronCity_PokemonTrainerFanClub/scripts.inc
new file mode 100644
index 000000000..debc83be8
--- /dev/null
+++ b/data/maps/SaffronCity_PokemonTrainerFanClub/scripts.inc
@@ -0,0 +1,492 @@
+SaffronCity_PokemonTrainerFanClub_MapScripts:: @ 816F0BF
+ map_script 2, SaffronCity_PokemonTrainerFanClub_MapScript1_16F0CA
+ map_script 3, SaffronCity_PokemonTrainerFanClub_MapScript2_16F144
+ .byte 0
+
+SaffronCity_PokemonTrainerFanClub_MapScript1_16F0CA:: @ 816F0CA
+ map_script_2 VAR_0x4073, 1, EventScript_16F0D4
+ .2byte 0
+
+EventScript_16F0D4:: @ 816F0D4
+ lockall
+ textcolor 1
+ applymovement 1, Movement_1A75ED
+ waitmovement 0
+ playse SE_PIN
+ applymovement 1, Movement_1A75DB
+ waitmovement 0
+ applymovement 1, Movement_1A75DD
+ waitmovement 0
+ loadword 0, gUnknown_819C22B
+ callstd 4
+ closemessage
+ applymovement 1, Movement_16F124
+ waitmovement 0
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ loadword 0, gUnknown_819C235
+ callstd 4
+ setvar VAR_0x4073, 2
+ releaseall
+ end
+
+Movement_16F124:: @ 816F124
+ step_1c
+ step_1b
+ step_10
+ step_1c
+ step_10
+ step_1b
+ step_12
+ step_end
+
+Movement_16F12C:: @ 816F12C
+ step_1b
+ step_2d
+ step_10
+ step_10
+ step_10
+ step_12
+ step_12
+ step_end
+
+Movement_16F134:: @ 816F134
+ step_1f
+ step_1f
+ step_1d
+ step_1d
+ step_1f
+ step_1d
+ step_end
+
+Movement_16F13B:: @ 816F13B
+ step_10
+ step_30
+ step_end
+
+Movement_16F13E:: @ 816F13E
+ step_55
+ step_1e
+ step_1e
+ step_20
+ step_2d
+ step_end
+
+SaffronCity_PokemonTrainerFanClub_MapScript2_16F144:: @ 816F144
+ compare_var_to_value VAR_0x4073, 1
+ goto_if 1, EventScript_16F267
+ compare_var_to_value VAR_0x4073, 2
+ goto_if 1, EventScript_16F15B
+ end
+
+EventScript_16F15B:: @ 816F15B
+ special sub_81132CC
+ setvar VAR_0x8004, 0
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_16F207
+ setvar VAR_0x8004, 1
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_16F213
+ setvar VAR_0x8004, 2
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_16F21F
+ setvar VAR_0x8004, 3
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_16F22B
+ setvar VAR_0x8004, 4
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_16F237
+ setvar VAR_0x8004, 5
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_16F243
+ setvar VAR_0x8004, 6
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_16F24F
+ setvar VAR_0x8004, 7
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_16F25B
+ end
+
+EventScript_16F207:: @ 816F207
+ setobjectxyperm 1, 5, 2
+ setobjectmovementtype 1, 7
+ return
+
+EventScript_16F213:: @ 816F213
+ setobjectxyperm 3, 7, 4
+ setobjectmovementtype 3, 9
+ return
+
+EventScript_16F21F:: @ 816F21F
+ setobjectxyperm 4, 2, 2
+ setobjectmovementtype 4, 7
+ return
+
+EventScript_16F22B:: @ 816F22B
+ setobjectxyperm 2, 3, 4
+ setobjectmovementtype 2, 10
+ return
+
+EventScript_16F237:: @ 816F237
+ setobjectxyperm 6, 4, 6
+ setobjectmovementtype 6, 7
+ return
+
+EventScript_16F243:: @ 816F243
+ setobjectxyperm 5, 10, 3
+ setobjectmovementtype 5, 7
+ return
+
+EventScript_16F24F:: @ 816F24F
+ setobjectxyperm 7, 7, 5
+ setobjectmovementtype 7, 9
+ return
+
+EventScript_16F25B:: @ 816F25B
+ setobjectxyperm 8, 9, 6
+ setobjectmovementtype 8, 9
+ return
+
+EventScript_16F267:: @ 816F267
+ call EventScript_16F22B
+ call EventScript_16F237
+ call EventScript_16F243
+ call EventScript_16F24F
+ call EventScript_16F25B
+ end
+
+SaffronCity_PokemonTrainerFanClub_EventScript_16F281:: @ 816F281
+ lock
+ faceplayer
+ setvar VAR_0x8004, 0
+ special sub_81133A4
+ compare_var_to_value VAR_0x4073, 0
+ goto_if 1, EventScript_16F2EE
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F2C0
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 1, EventScript_16F2E4
+ loadword 0, gUnknown_819C420
+ callstd 4
+ release
+ end
+
+EventScript_16F2C0:: @ 816F2C0
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F2DA
+ loadword 0, gUnknown_819C390
+ callstd 4
+ release
+ end
+
+EventScript_16F2DA:: @ 816F2DA
+ loadword 0, gUnknown_819C3BD
+ callstd 4
+ release
+ end
+
+EventScript_16F2E4:: @ 816F2E4
+ loadword 0, gUnknown_819C4A5
+ callstd 4
+ release
+ end
+
+EventScript_16F2EE:: @ 816F2EE
+ loadword 0, gUnknown_819C55C
+ callstd 4
+ release
+ end
+
+SaffronCity_PokemonTrainerFanClub_EventScript_16F2F8:: @ 816F2F8
+ lock
+ faceplayer
+ setvar VAR_0x8004, 3
+ special sub_81133A4
+ compare_var_to_value VAR_0x4073, 0
+ goto_if 1, EventScript_16F365
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F337
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 1, EventScript_16F35B
+ loadword 0, gUnknown_819CBD3
+ callstd 4
+ release
+ end
+
+EventScript_16F337:: @ 816F337
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F351
+ loadword 0, gUnknown_819CB32
+ callstd 4
+ release
+ end
+
+EventScript_16F351:: @ 816F351
+ loadword 0, gUnknown_819CB62
+ callstd 4
+ release
+ end
+
+EventScript_16F35B:: @ 816F35B
+ loadword 0, gUnknown_819CC2B
+ callstd 4
+ release
+ end
+
+EventScript_16F365:: @ 816F365
+ loadword 0, gUnknown_819CCC2
+ callstd 4
+ release
+ end
+
+SaffronCity_PokemonTrainerFanClub_EventScript_16F36F:: @ 816F36F
+ lock
+ faceplayer
+ setvar VAR_0x8004, 1
+ special sub_81133A4
+ compare_var_to_value VAR_0x4073, 0
+ goto_if 1, EventScript_16F3DC
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F3AE
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 1, EventScript_16F3D2
+ loadword 0, gUnknown_819C6BA
+ callstd 4
+ release
+ end
+
+EventScript_16F3AE:: @ 816F3AE
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F3C8
+ loadword 0, gUnknown_819C5A9
+ callstd 4
+ release
+ end
+
+EventScript_16F3C8:: @ 816F3C8
+ loadword 0, gUnknown_819C600
+ callstd 4
+ release
+ end
+
+EventScript_16F3D2:: @ 816F3D2
+ loadword 0, gUnknown_819C73A
+ callstd 4
+ release
+ end
+
+EventScript_16F3DC:: @ 816F3DC
+ loadword 0, gUnknown_819C7C8
+ callstd 4
+ release
+ end
+
+SaffronCity_PokemonTrainerFanClub_EventScript_16F3E6:: @ 816F3E6
+ lock
+ faceplayer
+ setvar VAR_0x8004, 2
+ special sub_81133A4
+ compare_var_to_value VAR_0x4073, 0
+ goto_if 1, EventScript_16F453
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F425
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 1, EventScript_16F449
+ loadword 0, gUnknown_819C986
+ callstd 4
+ release
+ end
+
+EventScript_16F425:: @ 816F425
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F43F
+ loadword 0, gUnknown_819C81E
+ callstd 4
+ release
+ end
+
+EventScript_16F43F:: @ 816F43F
+ loadword 0, gUnknown_819C8C1
+ callstd 4
+ release
+ end
+
+EventScript_16F449:: @ 816F449
+ loadword 0, gUnknown_819C9D5
+ callstd 4
+ release
+ end
+
+EventScript_16F453:: @ 816F453
+ loadword 0, gUnknown_819CA7C
+ callstd 4
+ release
+ end
+
+SaffronCity_PokemonTrainerFanClub_EventScript_16F45D:: @ 816F45D
+ lock
+ faceplayer
+ setvar VAR_0x8004, 5
+ special sub_81133A4
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F491
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 1, EventScript_16F4B5
+ loadword 0, gUnknown_819D01F
+ callstd 4
+ release
+ end
+
+EventScript_16F491:: @ 816F491
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F4AB
+ loadword 0, gUnknown_819CEDF
+ callstd 4
+ release
+ end
+
+EventScript_16F4AB:: @ 816F4AB
+ loadword 0, gUnknown_819CF6D
+ callstd 4
+ release
+ end
+
+EventScript_16F4B5:: @ 816F4B5
+ loadword 0, gUnknown_819D075
+ callstd 4
+ release
+ end
+
+SaffronCity_PokemonTrainerFanClub_EventScript_16F4BF:: @ 816F4BF
+ lock
+ faceplayer
+ setvar VAR_0x8004, 4
+ special sub_81133A4
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F4F3
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 1, EventScript_16F517
+ loadword 0, gUnknown_819CDDA
+ callstd 4
+ release
+ end
+
+EventScript_16F4F3:: @ 816F4F3
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F50D
+ loadword 0, gUnknown_819CCF3
+ callstd 4
+ release
+ end
+
+EventScript_16F50D:: @ 816F50D
+ loadword 0, gUnknown_819CD4E
+ callstd 4
+ release
+ end
+
+EventScript_16F517:: @ 816F517
+ loadword 0, gUnknown_819CE3A
+ callstd 4
+ release
+ end
+
+SaffronCity_PokemonTrainerFanClub_EventScript_16F521:: @ 816F521
+ lock
+ faceplayer
+ setvar VAR_0x8004, 6
+ special sub_81133A4
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F555
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 1, EventScript_16F579
+ loadword 0, gUnknown_819D1AE
+ callstd 4
+ release
+ end
+
+EventScript_16F555:: @ 816F555
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F56F
+ loadword 0, gUnknown_819D0E3
+ callstd 4
+ release
+ end
+
+EventScript_16F56F:: @ 816F56F
+ loadword 0, gUnknown_819D148
+ callstd 4
+ release
+ end
+
+EventScript_16F579:: @ 816F579
+ loadword 0, gUnknown_819D211
+ callstd 4
+ release
+ end
+
+SaffronCity_PokemonTrainerFanClub_EventScript_16F583:: @ 816F583
+ lock
+ faceplayer
+ setvar VAR_0x8004, 7
+ special sub_81133A4
+ specialvar VAR_RESULT, sub_8113364
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F5B7
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 1, EventScript_16F5DB
+ loadword 0, gUnknown_819D3D2
+ callstd 4
+ release
+ end
+
+EventScript_16F5B7:: @ 816F5B7
+ specialvar VAR_RESULT, sub_8113288
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16F5D1
+ loadword 0, gUnknown_819D2B4
+ callstd 4
+ release
+ end
+
+EventScript_16F5D1:: @ 816F5D1
+ loadword 0, gUnknown_819D31F
+ callstd 4
+ release
+ end
+
+EventScript_16F5DB:: @ 816F5DB
+ loadword 0, gUnknown_819D477
+ callstd 4
+ release
+ end
diff --git a/data/maps/SeafoamIslands_1F/map.json b/data/maps/SeafoamIslands_1F/map.json
new file mode 100644
index 000000000..cdf4bcd0a
--- /dev/null
+++ b/data/maps/SeafoamIslands_1F/map.json
@@ -0,0 +1,109 @@
+{
+ "id": "MAP_SEAFOAM_ISLANDS_1F",
+ "name": "SeafoamIslands_1F",
+ "layout": "LAYOUT_SEAFOAM_ISLANDS_1F",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_SEAFOAM_ISLANDS",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "97",
+ "x": 22,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 66,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_1F_EventScript_1BE11D",
+ "flag": "64"
+ },
+ {
+ "graphics_id": "97",
+ "x": 32,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 67,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_1F_EventScript_1BE11D",
+ "flag": "65"
+ },
+ {
+ "graphics_id": "92",
+ "x": 11,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_1F_EventScript_1BEBE7",
+ "flag": "468"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 31,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 28,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 6,
+ "y": 21,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE20",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 32,
+ "y": 21,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE20",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 21,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
+ "dest_warp_id": 9
+ },
+ {
+ "x": 30,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
+ "dest_warp_id": 10
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SeafoamIslands_1F/scripts.inc b/data/maps/SeafoamIslands_1F/scripts.inc
new file mode 100644
index 000000000..8306f6f4c
--- /dev/null
+++ b/data/maps/SeafoamIslands_1F/scripts.inc
@@ -0,0 +1,7 @@
+SeafoamIslands_1F_MapScripts:: @ 8162F43
+ map_script 3, SeafoamIslands_1F_MapScript1_162F49
+ .byte 0
+
+SeafoamIslands_1F_MapScript1_162F49:: @ 8162F49
+ setworldmapflag 2225
+ end
diff --git a/data/maps/SeafoamIslands_B1F/map.json b/data/maps/SeafoamIslands_B1F/map.json
new file mode 100644
index 000000000..94c850eb0
--- /dev/null
+++ b/data/maps/SeafoamIslands_B1F/map.json
@@ -0,0 +1,150 @@
+{
+ "id": "MAP_SEAFOAM_ISLANDS_B1F",
+ "name": "SeafoamIslands_B1F",
+ "layout": "LAYOUT_SEAFOAM_ISLANDS_B1F",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_SEAFOAM_ISLANDS",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "97",
+ "x": 22,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 68,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B1F_EventScript_1BE11D",
+ "flag": "66"
+ },
+ {
+ "graphics_id": "97",
+ "x": 30,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 69,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B1F_EventScript_1BE11D",
+ "flag": "67"
+ },
+ {
+ "graphics_id": "92",
+ "x": 19,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B1F_EventScript_1BEBF4",
+ "flag": "469"
+ },
+ {
+ "graphics_id": "92",
+ "x": 24,
+ "y": 14,
+ "elevation": 4,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B1F_EventScript_1BEC01",
+ "flag": "470"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 10,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 31,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 28,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_1F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 7,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 17,
+ "y": 9,
+ "elevation": 4,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 25,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 32,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 23,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 28,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 21,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_1F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 29,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_1F",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SeafoamIslands_B1F/scripts.inc b/data/maps/SeafoamIslands_B1F/scripts.inc
new file mode 100644
index 000000000..a3cb050ee
--- /dev/null
+++ b/data/maps/SeafoamIslands_B1F/scripts.inc
@@ -0,0 +1,2 @@
+SeafoamIslands_B1F_MapScripts:: @ 8162F4D
+ .byte 0
diff --git a/data/maps/SeafoamIslands_B2F/map.json b/data/maps/SeafoamIslands_B2F/map.json
new file mode 100644
index 000000000..bb614f803
--- /dev/null
+++ b/data/maps/SeafoamIslands_B2F/map.json
@@ -0,0 +1,137 @@
+{
+ "id": "MAP_SEAFOAM_ISLANDS_B2F",
+ "name": "SeafoamIslands_B2F",
+ "layout": "LAYOUT_SEAFOAM_ISLANDS_B2F",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_SEAFOAM_ISLANDS",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "97",
+ "x": 22,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 70,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B2F_EventScript_1BE11D",
+ "flag": "68"
+ },
+ {
+ "graphics_id": "97",
+ "x": 30,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 71,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B2F_EventScript_1BE11D",
+ "flag": "69"
+ },
+ {
+ "graphics_id": "92",
+ "x": 18,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B2F_EventScript_1BEC0E",
+ "flag": "471"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 17,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 32,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 31,
+ "y": 17,
+ "elevation": 4,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 17,
+ "y": 9,
+ "elevation": 4,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 25,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 32,
+ "y": 14,
+ "elevation": 4,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 22,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 29,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 24,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 27,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SeafoamIslands_B2F/scripts.inc b/data/maps/SeafoamIslands_B2F/scripts.inc
new file mode 100644
index 000000000..21a4cd8fb
--- /dev/null
+++ b/data/maps/SeafoamIslands_B2F/scripts.inc
@@ -0,0 +1,2 @@
+SeafoamIslands_B2F_MapScripts:: @ 8162F4E
+ .byte 0
diff --git a/data/maps/SeafoamIslands_B3F/map.json b/data/maps/SeafoamIslands_B3F/map.json
new file mode 100644
index 000000000..b9e12e16b
--- /dev/null
+++ b/data/maps/SeafoamIslands_B3F/map.json
@@ -0,0 +1,172 @@
+{
+ "id": "MAP_SEAFOAM_ISLANDS_B3F",
+ "name": "SeafoamIslands_B3F",
+ "layout": "LAYOUT_SEAFOAM_ISLANDS_B3F",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_SEAFOAM_ISLANDS",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "97",
+ "x": 23,
+ "y": 8,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "70"
+ },
+ {
+ "graphics_id": "97",
+ "x": 24,
+ "y": 8,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "71"
+ },
+ {
+ "graphics_id": "97",
+ "x": 12,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 77,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B3F_EventScript_1BE11D",
+ "flag": "74"
+ },
+ {
+ "graphics_id": "97",
+ "x": 13,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B3F_EventScript_1BE11D",
+ "flag": "75"
+ },
+ {
+ "graphics_id": "97",
+ "x": 9,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B3F_EventScript_1BE11D",
+ "flag": "73"
+ },
+ {
+ "graphics_id": "97",
+ "x": 6,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 76,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B3F_EventScript_1BE11D",
+ "flag": "72"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 14,
+ "elevation": 4,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 31,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 31,
+ "y": 16,
+ "elevation": 4,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 12,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B4F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 29,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B4F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 23,
+ "y": 9,
+ "elevation": 1,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 24,
+ "y": 9,
+ "elevation": 1,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 6,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B4F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 9,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B4F",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 5,
+ "y": 12,
+ "elevation": 0,
+ "item": "ITEM_NUGGET",
+ "flag": "29",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SeafoamIslands_B3F/scripts.inc b/data/maps/SeafoamIslands_B3F/scripts.inc
new file mode 100644
index 000000000..ee619cb70
--- /dev/null
+++ b/data/maps/SeafoamIslands_B3F/scripts.inc
@@ -0,0 +1,103 @@
+SeafoamIslands_B3F_MapScripts:: @ 8162F4F
+ map_script 3, SeafoamIslands_B3F_MapScript1_162F5A
+ map_script 2, SeafoamIslands_B3F_MapScript2_162F98
+ .byte 0
+
+SeafoamIslands_B3F_MapScript1_162F5A:: @ 8162F5A
+ checkflag FLAG_0x2D2
+ call_if 0, EventScript_162F6D
+ checkflag FLAG_0x2D2
+ call_if 1, EventScript_162F94
+ end
+
+EventScript_162F6D:: @ 8162F6D
+ setvar VAR_0x4002, 0
+ checkflag FLAG_0x046
+ call_if 0, EventScript_162FF0
+ checkflag FLAG_0x047
+ call_if 0, EventScript_162FF0
+ compare_var_to_value VAR_0x4002, 2
+ call_if 1, EventScript_162F90
+ return
+
+EventScript_162F90:: @ 8162F90
+ setflag FLAG_0x2D2
+ return
+
+EventScript_162F94:: @ 8162F94
+ setmaplayoutindex LAYOUT_UNUSED_LAYOUT_833B6EC
+ return
+
+SeafoamIslands_B3F_MapScript2_162F98:: @ 8162F98
+ map_script_2 VAR_0x4001, 1, EventScript_162FA2
+ .2byte 0
+
+EventScript_162FA2:: @ 8162FA2
+ lockall
+ setvar VAR_0x4002, 0
+ checkflag FLAG_0x046
+ call_if 0, EventScript_162FF0
+ checkflag FLAG_0x047
+ call_if 0, EventScript_162FF0
+ compare_var_to_value VAR_0x4002, 2
+ goto_if 1, EventScript_16300C
+ getplayerxy VAR_0x8008, VAR_0x8009
+ compare_var_to_value VAR_0x8008, 24
+ call_if 0, EventScript_162FF6
+ compare_var_to_value VAR_0x8008, 24
+ call_if 4, EventScript_163001
+ setvar VAR_0x4063, 1
+ warp MAP_SEAFOAM_ISLANDS_B4F, 255, 27, 21
+ waitstate
+ releaseall
+ end
+
+EventScript_162FF0:: @ 8162FF0
+ addvar VAR_0x4002, 1
+ return
+
+EventScript_162FF6:: @ 8162FF6
+ applymovement 255, Movement_163013
+ waitmovement 0
+ return
+
+EventScript_163001:: @ 8163001
+ applymovement 255, Movement_163021
+ waitmovement 0
+ return
+
+EventScript_16300C:: @ 816300C
+ setvar VAR_0x4001, 0
+ releaseall
+ end
+
+Movement_163013:: @ 8163013
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_20
+ step_20
+ step_20
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_end
+
+Movement_163021:: @ 8163021
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_20
+ step_20
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_1d
+ step_end
diff --git a/data/maps/SeafoamIslands_B4F/map.json b/data/maps/SeafoamIslands_B4F/map.json
new file mode 100644
index 000000000..283120f81
--- /dev/null
+++ b/data/maps/SeafoamIslands_B4F/map.json
@@ -0,0 +1,153 @@
+{
+ "id": "MAP_SEAFOAM_ISLANDS_B4F",
+ "name": "SeafoamIslands_B4F",
+ "layout": "LAYOUT_SEAFOAM_ISLANDS_B4F",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_SEAFOAM_ISLANDS",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "97",
+ "x": 8,
+ "y": 18,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "76"
+ },
+ {
+ "graphics_id": "97",
+ "x": 9,
+ "y": 18,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "77"
+ },
+ {
+ "graphics_id": "138",
+ "x": 9,
+ "y": 2,
+ "elevation": 4,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B4F_EventScript_1631AC",
+ "flag": "130"
+ },
+ {
+ "graphics_id": "92",
+ "x": 22,
+ "y": 19,
+ "elevation": 4,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SeafoamIslands_B4F_EventScript_1BEC1B",
+ "flag": "472"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 15,
+ "y": 9,
+ "elevation": 4,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 32,
+ "y": 5,
+ "elevation": 4,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 8,
+ "y": 17,
+ "elevation": 1,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 9,
+ "y": 17,
+ "elevation": 1,
+ "dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
+ "dest_warp_id": 8
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 26,
+ "y": 19,
+ "elevation": 1,
+ "var": "VAR_0x4063",
+ "var_value": 0,
+ "script": "SeafoamIslands_B4F_EventScript_16319D"
+ },
+ {
+ "type": "trigger",
+ "x": 27,
+ "y": 19,
+ "elevation": 1,
+ "var": "VAR_0x4063",
+ "var_value": 0,
+ "script": "SeafoamIslands_B4F_EventScript_16319D"
+ },
+ {
+ "type": "trigger",
+ "x": 28,
+ "y": 19,
+ "elevation": 1,
+ "var": "VAR_0x4063",
+ "var_value": 0,
+ "script": "SeafoamIslands_B4F_EventScript_16319D"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 13,
+ "y": 8,
+ "elevation": 0,
+ "item": "ITEM_WATER_STONE",
+ "flag": "30",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 30,
+ "y": 2,
+ "elevation": 0,
+ "script": "SeafoamIslands_B4F_EventScript_16322C"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 14,
+ "y": 18,
+ "elevation": 0,
+ "script": "SeafoamIslands_B4F_EventScript_163223"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SeafoamIslands_B4F/scripts.inc b/data/maps/SeafoamIslands_B4F/scripts.inc
new file mode 100644
index 000000000..47d6deec2
--- /dev/null
+++ b/data/maps/SeafoamIslands_B4F/scripts.inc
@@ -0,0 +1,218 @@
+SeafoamIslands_B4F_MapScripts:: @ 816302E
+ map_script 3, SeafoamIslands_B4F_MapScript1_163066
+ map_script 5, SeafoamIslands_B4F_MapScript2_163048
+ map_script 1, SeafoamIslands_B4F_MapScript3_1630B1
+ map_script 4, SeafoamIslands_B4F_MapScript4_1630E7
+ map_script 2, SeafoamIslands_B4F_MapScript5_1630F9
+ .byte 0
+
+SeafoamIslands_B4F_MapScript2_163048:: @ 8163048
+ checkflag 2055
+ call_if 1, EventScript_163052
+ end
+
+EventScript_163052:: @ 8163052
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 7
+ goto_if 5, EventScript_1A77A9
+ removeobject VAR_LAST_TALKED
+ return
+
+SeafoamIslands_B4F_MapScript1_163066:: @ 8163066
+ checkflag FLAG_0x2BE
+ call_if 0, EventScript_1630AD
+ checkflag FLAG_0x2D3
+ call_if 0, EventScript_163082
+ checkflag FLAG_0x2D3
+ call_if 1, EventScript_1630A9
+ end
+
+EventScript_163082:: @ 8163082
+ setvar VAR_0x4002, 0
+ checkflag FLAG_0x04C
+ call_if 0, EventScript_163169
+ checkflag FLAG_0x04D
+ call_if 0, EventScript_163169
+ compare_var_to_value VAR_0x4002, 2
+ call_if 1, EventScript_1630A5
+ return
+
+EventScript_1630A5:: @ 81630A5
+ setflag FLAG_0x2D3
+ return
+
+EventScript_1630A9:: @ 81630A9
+ setmaplayoutindex LAYOUT_UNUSED_LAYOUT_833BE30
+ return
+
+EventScript_1630AD:: @ 81630AD
+ clearflag FLAG_0x082
+ return
+
+SeafoamIslands_B4F_MapScript3_1630B1:: @ 81630B1
+ setvar VAR_0x4002, 0
+ checkflag FLAG_0x04C
+ call_if 0, EventScript_163169
+ checkflag FLAG_0x04D
+ call_if 0, EventScript_163169
+ compare_var_to_value VAR_0x4002, 2
+ goto_if 1, EventScript_1630D4
+ end
+
+EventScript_1630D4:: @ 81630D4
+ setmetatile 12, 14, 299, 0
+ setmetatile 13, 14, 299, 0
+ end
+
+SeafoamIslands_B4F_MapScript4_1630E7:: @ 81630E7
+ map_script_2 VAR_0x4063, 1, EventScript_1630F1
+ .2byte 0
+
+EventScript_1630F1:: @ 81630F1
+ turnobject 255, 2
+ special sub_80CBD80
+ end
+
+SeafoamIslands_B4F_MapScript5_1630F9:: @ 81630F9
+ map_script_2 VAR_0x4063, 1, EventScript_16310B
+ map_script_2 VAR_0x4001, 1, EventScript_163121
+ .2byte 0
+
+EventScript_16310B:: @ 816310B
+ lockall
+ applymovement 255, Movement_16311D
+ waitmovement 0
+ setvar VAR_0x4063, 0
+ releaseall
+ end
+
+Movement_16311D:: @ 816311D
+ step_1e
+ step_1e
+ step_1e
+ step_end
+
+EventScript_163121:: @ 8163121
+ lockall
+ setvar VAR_0x4002, 0
+ checkflag FLAG_0x04C
+ call_if 0, EventScript_163169
+ checkflag FLAG_0x04D
+ call_if 0, EventScript_163169
+ compare_var_to_value VAR_0x4002, 2
+ goto_if 1, EventScript_163185
+ getplayerxy VAR_0x8008, VAR_0x8009
+ compare_var_to_value VAR_0x8008, 9
+ call_if 0, EventScript_16316F
+ compare_var_to_value VAR_0x8008, 9
+ call_if 4, EventScript_16317A
+ special sub_805D1A8
+ setvar VAR_0x4001, 0
+ releaseall
+ end
+
+EventScript_163169:: @ 8163169
+ addvar VAR_0x4002, 1
+ return
+
+EventScript_16316F:: @ 816316F
+ applymovement 255, Movement_16318C
+ waitmovement 0
+ return
+
+EventScript_16317A:: @ 816317A
+ applymovement 255, Movement_163195
+ waitmovement 0
+ return
+
+EventScript_163185:: @ 8163185
+ setvar VAR_0x4001, 0
+ releaseall
+ end
+
+Movement_16318C:: @ 816318C
+ step_11
+ step_11
+ step_11
+ step_13
+ step_13
+ step_13
+ step_13
+ step_11
+ step_end
+
+Movement_163195:: @ 8163195
+ step_11
+ step_11
+ step_11
+ step_13
+ step_13
+ step_13
+ step_11
+ step_end
+
+SeafoamIslands_B4F_EventScript_16319D:: @ 816319D
+ lockall
+ applymovement 255, Movement_1631AA
+ waitmovement 0
+ releaseall
+ end
+
+Movement_1631AA:: @ 81631AA
+ step_11
+ step_end
+
+SeafoamIslands_B4F_EventScript_1631AC:: @ 81631AC
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ faceplayer
+ setwildbattle SPECIES_ARTICUNO, 50, ITEM_NONE
+ waitse
+ playmoncry SPECIES_ARTICUNO, 2
+ message Text_1A6448
+ waitmessage
+ waitmoncry
+ delay 10
+ playbgm BGM_FRLG_LEADER_EYE, 0
+ waitbuttonpress
+ setflag 2055
+ special sub_807F9D8
+ waitstate
+ clearflag 2055
+ specialvar VAR_RESULT, sub_80CA74C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16320F
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_163218
+ compare_var_to_value VAR_RESULT, 5
+ goto_if 1, EventScript_163218
+ setflag FLAG_0x2BE
+ release
+ end
+
+EventScript_16320F:: @ 816320F
+ setflag FLAG_0x2BE
+ goto EventScript_1A922D
+
+EventScript_163217:: @ 8163217
+ end
+
+EventScript_163218:: @ 8163218
+ setvar VAR_0x8004, 144
+ goto EventScript_1A9236
+
+EventScript_163222:: @ 8163222
+ end
+
+SeafoamIslands_B4F_EventScript_163223:: @ 8163223
+ loadword 0, gUnknown_8179B36
+ callstd 3
+ end
+
+SeafoamIslands_B4F_EventScript_16322C:: @ 816322C
+ loadword 0, gUnknown_8179B65
+ callstd 3
+ end
diff --git a/data/maps/SevenIsland/map.json b/data/maps/SevenIsland/map.json
new file mode 100644
index 000000000..dd9a59fa6
--- /dev/null
+++ b/data/maps/SevenIsland/map.json
@@ -0,0 +1,107 @@
+{
+ "id": "MAP_SEVEN_ISLAND",
+ "name": "SevenIsland",
+ "layout": "LAYOUT_SEVEN_ISLAND",
+ "music": "BGM_FRLG_ISLAND_SIX",
+ "region_map_section": "MAPSEC_SEVEN_ISLAND",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_SEVEN_ISLAND_TRAINER_TOWER",
+ "offset": -48,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_SEVEN_ISLAND_SEVAULT_CANYON_ENTRANCE",
+ "offset": 0,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "41",
+ "x": 7,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_EventScript_1C4B56",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "35",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "13",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_EventScript_167EC6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 15,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_EventScript_167ECF",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_HOUSE_ROOM1",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_MART",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 12,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 16,
+ "y": 13,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_HARBOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 17,
+ "y": 9,
+ "elevation": 0,
+ "script": "SevenIsland_EventScript_167EBD"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland/scripts.inc b/data/maps/SevenIsland/scripts.inc
new file mode 100644
index 000000000..5b932458c
--- /dev/null
+++ b/data/maps/SevenIsland/scripts.inc
@@ -0,0 +1,22 @@
+SevenIsland_MapScripts:: @ 8167EB3
+ map_script 3, SevenIsland_MapScript1_167EB9
+ .byte 0
+
+SevenIsland_MapScript1_167EB9:: @ 8167EB9
+ setworldmapflag 2208
+ end
+
+SevenIsland_EventScript_167EBD:: @ 8167EBD
+ loadword 0, gUnknown_8183046
+ callstd 3
+ end
+
+SevenIsland_EventScript_167EC6:: @ 8167EC6
+ loadword 0, gUnknown_818306C
+ callstd 2
+ end
+
+SevenIsland_EventScript_167ECF:: @ 8167ECF
+ loadword 0, gUnknown_8183143
+ callstd 2
+ end
diff --git a/data/maps/SevenIsland_Harbor/map.json b/data/maps/SevenIsland_Harbor/map.json
new file mode 100644
index 000000000..af0fce3fb
--- /dev/null
+++ b/data/maps/SevenIsland_Harbor/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_SEVEN_ISLAND_HARBOR",
+ "name": "SevenIsland_Harbor",
+ "layout": "LAYOUT_ISLAND_HARBOR",
+ "music": "BGM_FRLG_ISLAND_SIX",
+ "region_map_section": "MAPSEC_SEVEN_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": "108",
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_Harbor_EventScript_170BE5",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_Harbor/scripts.inc b/data/maps/SevenIsland_Harbor/scripts.inc
new file mode 100644
index 000000000..565aa55ee
--- /dev/null
+++ b/data/maps/SevenIsland_Harbor/scripts.inc
@@ -0,0 +1,11 @@
+SevenIsland_Harbor_MapScripts:: @ 8170BE4
+ .byte 0
+
+SevenIsland_Harbor_EventScript_170BE5:: @ 8170BE5
+ lock
+ faceplayer
+ message Text_181726
+ waitmessage
+ setvar VAR_0x8004, 7
+ goto EventScript_1A900F
+ end
diff --git a/data/maps/SevenIsland_House_Room1/map.json b/data/maps/SevenIsland_House_Room1/map.json
new file mode 100644
index 000000000..50b67816d
--- /dev/null
+++ b/data/maps/SevenIsland_House_Room1/map.json
@@ -0,0 +1,56 @@
+{
+ "id": "MAP_SEVEN_ISLAND_HOUSE_ROOM1",
+ "name": "SevenIsland_House_Room1",
+ "layout": "LAYOUT_SEVEN_ISLAND_HOUSE_ROOM1",
+ "music": "BGM_FRLG_ISLAND_SIX",
+ "region_map_section": "MAPSEC_SEVEN_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_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "35",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_House_Room1_EventScript_170958",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_HOUSE_ROOM2",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "SevenIsland_House_Room1_EventScript_170A75"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_House_Room1/scripts.inc b/data/maps/SevenIsland_House_Room1/scripts.inc
new file mode 100644
index 000000000..6b7b8acd4
--- /dev/null
+++ b/data/maps/SevenIsland_House_Room1/scripts.inc
@@ -0,0 +1,194 @@
+SevenIsland_House_Room1_MapScripts:: @ 817088A
+ map_script 3, SevenIsland_House_Room1_MapScript1_170895
+ map_script 2, SevenIsland_House_Room1_MapScript2_1708CF
+ .byte 0
+
+SevenIsland_House_Room1_MapScript1_170895:: @ 8170895
+ special ValidateEReaderTrainer
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_1708AF
+ compare_var_to_value VAR_0x4074, 0
+ call_if 5, EventScript_1708C3
+ end
+
+EventScript_1708AF:: @ 81708AF
+ setvar VAR_0x4001, 1
+ setobjectxyperm 1, 4, 2
+ setobjectmovementtype 1, 8
+ setmaplayoutindex LAYOUT_UNUSED_LAYOUT_8338B4C
+ return
+
+EventScript_1708C3:: @ 81708C3
+ setobjectxyperm 1, 3, 2
+ setobjectmovementtype 1, 10
+ return
+
+SevenIsland_House_Room1_MapScript2_1708CF:: @ 81708CF
+ map_script_2 VAR_0x4074, 1, EventScript_1708E9
+ map_script_2 VAR_0x4074, 2, EventScript_1708E9
+ map_script_2 VAR_0x4074, 3, EventScript_1708E9
+ .2byte 0
+
+EventScript_1708E9:: @ 1708E9
+ lockall
+ textcolor 1
+ applymovement 255, Movement_170953
+ waitmovement 0
+ applymovement 1, Movement_170955
+ waitmovement 0
+ moveobjectoffscreen 1
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ compare_var_to_value VAR_0x4074, 1
+ call_if 1, EventScript_170938
+ compare_var_to_value VAR_0x4074, 2
+ call_if 1, EventScript_170941
+ compare_var_to_value VAR_0x4074, 3
+ call_if 1, EventScript_17094A
+ special LoadPlayerParty
+ setvar VAR_0x4074, 0
+ releaseall
+ end
+
+EventScript_170938:: @ 8170938
+ loadword 0, gUnknown_81A088C
+ callstd 4
+ return
+
+EventScript_170941:: @ 8170941
+ loadword 0, gUnknown_81A0971
+ callstd 4
+ return
+
+EventScript_17094A:: @ 817094A
+ loadword 0, gUnknown_81A0807
+ callstd 4
+ return
+
+Movement_170953:: @ 8170953
+ step_10
+ step_end
+
+Movement_170955:: @ 8170955
+ step_13
+ step_2d
+ step_end
+
+SevenIsland_House_Room1_EventScript_170958:: @ 8170958
+ lock
+ faceplayer
+ special ValidateEReaderTrainer
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_17097D
+ compare_var_to_value VAR_0x4001, 1
+ goto_if 1, EventScript_170987
+ loadword 0, gUnknown_81A049B
+ callstd 4
+ release
+ end
+
+EventScript_17097D:: @ 817097D
+ loadword 0, gUnknown_81A049B
+ callstd 4
+ release
+ end
+
+EventScript_170987:: @ 8170987
+ special SavePlayerParty
+ special sub_80CAAAC
+ loadword 0, gUnknown_81A0598
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_170A11
+ call EventScript_170A1E
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_170A11
+ loadword 0, gUnknown_81A0788
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_170A11
+ special LoadPlayerParty
+ call EventScript_1A4EAF
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_170A11
+ special SavePlayerParty
+ special sub_80A03D8
+ loadword 0, gUnknown_81A07C4
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_170A2D
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_170A3F
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_170A51
+ warp MAP_SEVEN_ISLAND_HOUSE_ROOM2, 255, 3, 1
+ waitstate
+ release
+ end
+
+EventScript_170A11:: @ 8170A11
+ special LoadPlayerParty
+ loadword 0, gUnknown_81A064E
+ callstd 4
+ release
+ end
+
+EventScript_170A1E:: @ 8170A1E
+ loadword 0, gUnknown_81A06AB
+ callstd 4
+ fadescreen 1
+ special sub_80A0334
+ waitstate
+ return
+
+EventScript_170A2D:: @ 8170A2D
+ applymovement VAR_LAST_TALKED, Movement_170A6F
+ applymovement 255, Movement_170A63
+ waitmovement 0
+ return
+
+EventScript_170A3F:: @ 8170A3F
+ applymovement VAR_LAST_TALKED, Movement_170A72
+ applymovement 255, Movement_170A67
+ waitmovement 0
+ return
+
+EventScript_170A51:: @ 8170A51
+ applymovement VAR_LAST_TALKED, Movement_170A6F
+ applymovement 255, Movement_170A6B
+ waitmovement 0
+ return
+
+Movement_170A63:: @ 8170A63
+ step_1c
+ step_11
+ step_11
+ step_end
+
+Movement_170A67:: @ 8170A67
+ step_1c
+ step_13
+ step_11
+ step_end
+
+Movement_170A6B:: @ 8170A6B
+ step_1c
+ step_12
+ step_11
+ step_end
+
+Movement_170A6F:: @ 8170A6F
+ step_12
+ step_30
+ step_end
+
+Movement_170A72:: @ 8170A72
+ step_13
+ step_2f
+ step_end
+
+SevenIsland_House_Room1_EventScript_170A75:: @ 8170A75
+ loadword 0, gUnknown_81A0567
+ callstd 3
+ end
diff --git a/data/maps/SevenIsland_House_Room2/map.json b/data/maps/SevenIsland_House_Room2/map.json
new file mode 100644
index 000000000..890afc5e4
--- /dev/null
+++ b/data/maps/SevenIsland_House_Room2/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_SEVEN_ISLAND_HOUSE_ROOM2",
+ "name": "SevenIsland_House_Room2",
+ "layout": "LAYOUT_SEVEN_ISLAND_HOUSE_ROOM2",
+ "music": "BGM_FRLG_ISLAND_SIX",
+ "region_map_section": "MAPSEC_SEVEN_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_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "240",
+ "x": 6,
+ "y": 5,
+ "elevation": 0,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_HOUSE_ROOM1",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_House_Room2/scripts.inc b/data/maps/SevenIsland_House_Room2/scripts.inc
new file mode 100644
index 000000000..0d10a3bec
--- /dev/null
+++ b/data/maps/SevenIsland_House_Room2/scripts.inc
@@ -0,0 +1,79 @@
+SevenIsland_House_Room2_MapScripts:: @ 8170A7E
+ map_script 3, SevenIsland_House_Room2_MapScript1_170A89
+ map_script 2, SevenIsland_House_Room2_MapScript2_170A8D
+ .byte 0
+
+SevenIsland_House_Room2_MapScript1_170A89:: @ 8170A89
+ special sub_80E5E70
+ end
+
+SevenIsland_House_Room2_MapScript2_170A8D:: @ 8170A8D
+ map_script_2 VAR_0x4001, 0, EventScript_170A97
+ .2byte 0
+
+EventScript_170A97:: @ 8170A97
+ lockall
+ applymovement 255, Movement_170B22
+ waitmovement 0
+ special sub_80E7538
+ loadword 0, gStringVar4 @ 2021D18
+ callstd 4
+ closemessage
+ setvar VAR_0x8004, 2
+ setvar VAR_0x8005, 0
+ special sub_80E6900
+ waitstate
+ compare_var_to_value VAR_RESULT, 3
+ call_if 1, EventScript_170AFE
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_170B0C
+ compare_var_to_value VAR_RESULT, 2
+ call_if 1, EventScript_170B17
+ closemessage
+ special sp000_heal_pokemon
+ applymovement 255, Movement_170B28
+ waitmovement 0
+ special LoadPlayerParty
+ setvar VAR_0x4001, 1
+ warp MAP_SEVEN_ISLAND_HOUSE_ROOM1, 255, 4, 1
+ waitstate
+ releaseall
+ end
+
+EventScript_170AFE:: @ 8170AFE
+ setvar VAR_0x4074, 3
+ loadword 0, gUnknown_81A07EC
+ callstd 4
+ return
+
+EventScript_170B0C:: @ 8170B0C
+ setvar VAR_0x4074, 1
+ special sub_80CA68C
+ waitmessage
+ waitbuttonpress
+ return
+
+EventScript_170B17:: @ 8170B17
+ setvar VAR_0x4074, 2
+ special sub_80CA68C
+ waitmessage
+ waitbuttonpress
+ return
+
+Movement_170B22:: @ 8170B22
+ step_10
+ step_10
+ step_10
+ step_13
+ step_13
+ step_end
+
+Movement_170B28:: @ 8170B28
+ step_12
+ step_12
+ step_11
+ step_11
+ step_11
+ step_11
+ step_1b
+ step_end
diff --git a/data/maps/SevenIsland_Mart/map.json b/data/maps/SevenIsland_Mart/map.json
new file mode 100644
index 000000000..452e6e8b4
--- /dev/null
+++ b/data/maps/SevenIsland_Mart/map.json
@@ -0,0 +1,80 @@
+{
+ "id": "MAP_SEVEN_ISLAND_MART",
+ "name": "SevenIsland_Mart",
+ "layout": "LAYOUT_MART",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SEVEN_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": "68",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_Mart_EventScript_170B31",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "16",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_Mart_EventScript_170B6E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "57",
+ "x": 9,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_Mart_EventScript_170B80",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_Mart_EventScript_170B77",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_Mart/scripts.inc b/data/maps/SevenIsland_Mart/scripts.inc
new file mode 100644
index 000000000..c93fb13cb
--- /dev/null
+++ b/data/maps/SevenIsland_Mart/scripts.inc
@@ -0,0 +1,46 @@
+SevenIsland_Mart_MapScripts:: @ 8170B30
+ .byte 0
+
+SevenIsland_Mart_EventScript_170B31:: @ 8170B31
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_170B58
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_170B58:: @ 8170B58
+ .2byte ITEM_ULTRA_BALL
+ .2byte ITEM_GREAT_BALL
+ .2byte ITEM_FULL_RESTORE
+ .2byte ITEM_MAX_POTION
+ .2byte ITEM_HYPER_POTION
+ .2byte ITEM_REVIVE
+ .2byte ITEM_FULL_HEAL
+ .2byte ITEM_ESCAPE_ROPE
+ .2byte ITEM_MAX_REPEL
+ .2byte ITEM_NONE
+ release
+ end
+
+SevenIsland_Mart_EventScript_170B6E:: @ 8170B6E
+ loadword 0, gUnknown_81A0A4F
+ callstd 2
+ end
+
+SevenIsland_Mart_EventScript_170B77:: @ 8170B77
+ loadword 0, gUnknown_81A0ACC
+ callstd 2
+ end
+
+SevenIsland_Mart_EventScript_170B80:: @ 8170B80
+ loadword 0, gUnknown_81A0B09
+ callstd 2
+ end
diff --git a/data/maps/SevenIsland_PokemonCenter_1F/map.json b/data/maps/SevenIsland_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..4dfee823f
--- /dev/null
+++ b/data/maps/SevenIsland_PokemonCenter_1F/map.json
@@ -0,0 +1,113 @@
+{
+ "id": "MAP_SEVEN_ISLAND_POKEMON_CENTER_1F",
+ "name": "SevenIsland_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SEVEN_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": "SevenIsland_PokemonCenter_1F_EventScript_170B98",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "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": "SevenIsland_PokemonCenter_1F_EventScript_170BA1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 14,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_PokemonCenter_1F_EventScript_170BAA",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "29",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_PokemonCenter_1F_EventScript_170BB3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "0",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_PokemonCenter_1F_EventScript_1ACFD4",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "0",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_PokemonCenter_1F_EventScript_1ACFD4",
+ "flag": "157"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_SEVEN_ISLAND_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_PokemonCenter_1F/scripts.inc b/data/maps/SevenIsland_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..41a994d4e
--- /dev/null
+++ b/data/maps/SevenIsland_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,30 @@
+SevenIsland_PokemonCenter_1F_MapScripts:: @ 8170B89
+ map_script 3, SevenIsland_PokemonCenter_1F_MapScript1_170B94
+ map_script 5, SevenIsland_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+SevenIsland_PokemonCenter_1F_MapScript1_170B94:: @ 8170B94
+ setrespawn 19
+ end
+
+SevenIsland_PokemonCenter_1F_EventScript_170B98:: @ 8170B98
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+SevenIsland_PokemonCenter_1F_EventScript_170BA1:: @ 8170BA1
+ loadword 0, gUnknown_81A0B98
+ callstd 2
+ end
+
+SevenIsland_PokemonCenter_1F_EventScript_170BAA:: @ 8170BAA
+ loadword 0, gUnknown_81A0C1F
+ callstd 2
+ end
+
+SevenIsland_PokemonCenter_1F_EventScript_170BB3:: @ 8170BB3
+ loadword 0, gUnknown_81A0CA5
+ callstd 2
+ end
diff --git a/data/maps/SevenIsland_PokemonCenter_2F/map.json b/data/maps/SevenIsland_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..baca4a4c0
--- /dev/null
+++ b/data/maps/SevenIsland_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_SEVEN_ISLAND_POKEMON_CENTER_2F",
+ "name": "SevenIsland_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SEVEN_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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "SevenIsland_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_SEVEN_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_PokemonCenter_2F/scripts.inc b/data/maps/SevenIsland_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..31cc13d6c
--- /dev/null
+++ b/data/maps/SevenIsland_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+SevenIsland_PokemonCenter_2F_MapScripts:: @ 8170BBC
+ map_script 2, SevenIsland_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, SevenIsland_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, SevenIsland_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, SevenIsland_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+SevenIsland_PokemonCenter_2F_EventScript_170BD1:: @ 8170BD1
+ call EventScript_1BB4A3
+ end
+
+EventScript_170BD7:: @ 8170BD7
+ call EventScript_1BB6AB
+ end
+
+EventScript_170BDD:: @ 8170BDD
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/SevenIsland_SeavaultCanyon_TanobyKey/map.json b/data/maps/SevenIsland_SeavaultCanyon_TanobyKey/map.json
new file mode 100644
index 000000000..ba4e6386b
--- /dev/null
+++ b/data/maps/SevenIsland_SeavaultCanyon_TanobyKey/map.json
@@ -0,0 +1,183 @@
+{
+ "id": "MAP_SEVEN_ISLAND_SEAVAULT_CANYON_TANOBY_KEY",
+ "name": "SevenIsland_SeavaultCanyon_TanobyKey",
+ "layout": "LAYOUT_SEVEN_ISLAND_SEAVAULT_CANYON_TANOBY_KEY",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_TANOBY_KEY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "97",
+ "x": 7,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 8,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 6,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 8,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 6,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 6,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_1BE11D",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 13,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_SEVAULT_CANYON",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 7,
+ "y": 2,
+ "elevation": 3,
+ "var": "VAR_0x4001",
+ "var_value": 99,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164E39"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4007",
+ "var_value": 99,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164F0B"
+ },
+ {
+ "type": "trigger",
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4006",
+ "var_value": 99,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164EE8"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4005",
+ "var_value": 99,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164EC5"
+ },
+ {
+ "type": "trigger",
+ "x": 5,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4004",
+ "var_value": 99,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164EA2"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 4,
+ "elevation": 3,
+ "var": "VAR_0x4003",
+ "var_value": 99,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164E7F"
+ },
+ {
+ "type": "trigger",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "var": "VAR_0x4002",
+ "var_value": 99,
+ "script": "SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164E5C"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_SeavaultCanyon_TanobyKey/scripts.inc b/data/maps/SevenIsland_SeavaultCanyon_TanobyKey/scripts.inc
new file mode 100644
index 000000000..2ed7255f0
--- /dev/null
+++ b/data/maps/SevenIsland_SeavaultCanyon_TanobyKey/scripts.inc
@@ -0,0 +1,144 @@
+SevenIsland_SeavaultCanyon_TanobyKey_MapScripts:: @ 8164DCC
+ map_script 3, SevenIsland_SeavaultCanyon_TanobyKey_MapScript1_164DD2
+ .byte 0
+
+SevenIsland_SeavaultCanyon_TanobyKey_MapScript1_164DD2:: @ 8164DD2
+ setworldmapflag 2241
+ checkflag 2121
+ call_if 1, EventScript_164E07
+ setvar VAR_0x4001, 0
+ setvar VAR_0x4002, 0
+ setvar VAR_0x4003, 0
+ setvar VAR_0x4004, 0
+ setvar VAR_0x4005, 0
+ setvar VAR_0x4006, 0
+ setvar VAR_0x4007, 0
+ setvar VAR_0x4008, 0
+ end
+
+EventScript_164E07:: @ 8164E07
+ setobjectxyperm 1, 7, 2
+ setobjectxyperm 2, 4, 4
+ setobjectxyperm 3, 10, 4
+ setobjectxyperm 4, 5, 6
+ setobjectxyperm 5, 9, 6
+ setobjectxyperm 6, 5, 8
+ setobjectxyperm 7, 9, 8
+ return
+
+SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164E39:: @ 8164E39
+ lockall
+ compare_var_to_value VAR_0x4001, 100
+ goto_if 1, EventScript_164F8A
+ call EventScript_164F2E
+ setvar VAR_0x4001, 100
+ compare_var_to_value VAR_0x4008, 7
+ goto_if 1, EventScript_164F8C
+ releaseall
+ end
+
+SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164E5C:: @ 8164E5C
+ lockall
+ compare_var_to_value VAR_0x4002, 100
+ goto_if 1, EventScript_164F8A
+ call EventScript_164F2E
+ setvar VAR_0x4002, 100
+ compare_var_to_value VAR_0x4008, 7
+ goto_if 1, EventScript_164F8C
+ releaseall
+ end
+
+SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164E7F:: @ 8164E7F
+ lockall
+ compare_var_to_value VAR_0x4003, 100
+ goto_if 1, EventScript_164F8A
+ call EventScript_164F2E
+ setvar VAR_0x4003, 100
+ compare_var_to_value VAR_0x4008, 7
+ goto_if 1, EventScript_164F8C
+ releaseall
+ end
+
+SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164EA2:: @ 8164EA2
+ lockall
+ compare_var_to_value VAR_0x4004, 100
+ goto_if 1, EventScript_164F8A
+ call EventScript_164F2E
+ setvar VAR_0x4004, 100
+ compare_var_to_value VAR_0x4008, 7
+ goto_if 1, EventScript_164F8C
+ releaseall
+ end
+
+SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164EC5:: @ 8164EC5
+ lockall
+ compare_var_to_value VAR_0x4005, 100
+ goto_if 1, EventScript_164F8A
+ call EventScript_164F2E
+ setvar VAR_0x4005, 100
+ compare_var_to_value VAR_0x4008, 7
+ goto_if 1, EventScript_164F8C
+ releaseall
+ end
+
+SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164EE8:: @ 8164EE8
+ lockall
+ compare_var_to_value VAR_0x4006, 100
+ goto_if 1, EventScript_164F8A
+ call EventScript_164F2E
+ setvar VAR_0x4006, 100
+ compare_var_to_value VAR_0x4008, 7
+ goto_if 1, EventScript_164F8C
+ releaseall
+ end
+
+SevenIsland_SeavaultCanyon_TanobyKey_EventScript_164F0B:: @ 8164F0B
+ lockall
+ compare_var_to_value VAR_0x4007, 100
+ goto_if 1, EventScript_164F8A
+ call EventScript_164F2E
+ setvar VAR_0x4007, 100
+ compare_var_to_value VAR_0x4008, 7
+ goto_if 1, EventScript_164F8C
+ releaseall
+ end
+
+EventScript_164F2E:: @ 8164F2E
+ addvar VAR_0x4008, 1
+ playse SE_RU_HYUU
+ setvar VAR_0x8004, 1
+ setvar VAR_0x8005, 1
+ setvar VAR_0x8006, 8
+ setvar VAR_0x8007, 3
+ special sub_80CAC28
+ delay 60
+ return
+
+EventScript_164F51:: @ 8164F51
+ setvar VAR_0x8004, 2
+ setvar VAR_0x8005, 2
+ setvar VAR_0x8006, 10
+ setvar VAR_0x8007, 3
+ special sub_80CAC28
+ delay 60
+ setvar VAR_0x8004, 3
+ setvar VAR_0x8005, 3
+ setvar VAR_0x8006, 12
+ setvar VAR_0x8007, 2
+ special sub_80CAC28
+ delay 60
+ playse SE_EXP
+ waitse
+ return
+
+EventScript_164F8A:: @ 8164F8A
+ releaseall
+ end
+
+EventScript_164F8C:: @ 8164F8C
+ call EventScript_164F51
+ loadword 0, gUnknown_817D31B
+ callstd 4
+ setflag 2121
+ releaseall
+ end
diff --git a/data/maps/SevenIsland_SevaultCanyon/map.json b/data/maps/SevenIsland_SevaultCanyon/map.json
new file mode 100644
index 000000000..a896d334d
--- /dev/null
+++ b/data/maps/SevenIsland_SevaultCanyon/map.json
@@ -0,0 +1,323 @@
+{
+ "id": "MAP_SEVEN_ISLAND_SEVAULT_CANYON",
+ "name": "SevenIsland_SevaultCanyon",
+ "layout": "LAYOUT_SEVEN_ISLAND_SEVAULT_CANYON",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_SEVAULT_CANYON",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_SEVEN_ISLAND_TANOBY_RUINS",
+ "offset": -48,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_SEVEN_ISLAND_SEVAULT_CANYON_ENTRANCE",
+ "offset": -20,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "24",
+ "x": 13,
+ "y": 43,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1ACA4D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 13,
+ "y": 36,
+ "elevation": 3,
+ "movement_type": "18",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1ACA8B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 3,
+ "y": 35,
+ "elevation": 3,
+ "movement_type": "21",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1ACAC9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 3,
+ "y": 36,
+ "elevation": 3,
+ "movement_type": "22",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1ACB07",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "41",
+ "x": 7,
+ "y": 56,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1ACB45",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 11,
+ "y": 63,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1ACB83",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "41",
+ "x": 14,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1ACBC1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 14,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1ACC07",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "96",
+ "x": 3,
+ "y": 41,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "97",
+ "x": 13,
+ "y": 47,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "96",
+ "x": 7,
+ "y": 44,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "96",
+ "x": 12,
+ "y": 47,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1BE00C",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "96",
+ "x": 15,
+ "y": 46,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1BE00C",
+ "flag": "22"
+ },
+ {
+ "graphics_id": "96",
+ "x": 16,
+ "y": 47,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1BE00C",
+ "flag": "23"
+ },
+ {
+ "graphics_id": "97",
+ "x": 17,
+ "y": 47,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "96",
+ "x": 11,
+ "y": 31,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1BE00C",
+ "flag": "27"
+ },
+ {
+ "graphics_id": "92",
+ "x": 18,
+ "y": 45,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1BECDE",
+ "flag": "487"
+ },
+ {
+ "graphics_id": "92",
+ "x": 7,
+ "y": 38,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1BECEB",
+ "flag": "488"
+ },
+ {
+ "graphics_id": "92",
+ "x": 17,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1BECF8",
+ "flag": "489"
+ },
+ {
+ "graphics_id": "54",
+ "x": 8,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_1ACF95",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 17,
+ "elevation": 5,
+ "dest_map": "MAP_SEVEN_ISLAND_SEAVAULT_CANYON_TANOBY_KEY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 14,
+ "y": 61,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_SEVAULT_CANYON_HOUSE",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 15,
+ "y": 66,
+ "elevation": 3,
+ "item": "ITEM_CHERI_BERRY",
+ "flag": "63",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 16,
+ "y": 71,
+ "elevation": 0,
+ "script": "SevenIsland_SevaultCanyon_EventScript_168BFE"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_SevaultCanyon/scripts.inc b/data/maps/SevenIsland_SevaultCanyon/scripts.inc
new file mode 100644
index 000000000..862439936
--- /dev/null
+++ b/data/maps/SevenIsland_SevaultCanyon/scripts.inc
@@ -0,0 +1,7 @@
+SevenIsland_SevaultCanyon_MapScripts:: @ 8168BFD
+ .byte 0
+
+SevenIsland_SevaultCanyon_EventScript_168BFE:: @ 8168BFE
+ loadword 0, gUnknown_818CF2B
+ callstd 3
+ end
diff --git a/data/maps/SevenIsland_SevaultCanyon_Entrance/map.json b/data/maps/SevenIsland_SevaultCanyon_Entrance/map.json
new file mode 100644
index 000000000..4975264fe
--- /dev/null
+++ b/data/maps/SevenIsland_SevaultCanyon_Entrance/map.json
@@ -0,0 +1,139 @@
+{
+ "id": "MAP_SEVEN_ISLAND_SEVAULT_CANYON_ENTRANCE",
+ "name": "SevenIsland_SevaultCanyon_Entrance",
+ "layout": "LAYOUT_SEVEN_ISLAND_SEVAULT_CANYON_ENTRANCE",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_CANYON_ENTRANCE",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_SEVEN_ISLAND",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_SEVEN_ISLAND_SEVAULT_CANYON",
+ "offset": 20,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "28",
+ "x": 12,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "SevenIsland_SevaultCanyon_Entrance_EventScript_1AC8C9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "29",
+ "x": 3,
+ "y": 34,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_SevaultCanyon_Entrance_EventScript_1AC907",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 4,
+ "y": 34,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_SevaultCanyon_Entrance_EventScript_1AC94D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 11,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "20",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SevenIsland_SevaultCanyon_Entrance_EventScript_1AC9D1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 10,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "19",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SevenIsland_SevaultCanyon_Entrance_EventScript_1ACA0F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 11,
+ "y": 17,
+ "elevation": 5,
+ "movement_type": "23",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_SevaultCanyon_Entrance_EventScript_1AC993",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65321",
+ "x": 7,
+ "y": 65534,
+ "elevation": 1,
+ "movement_type": "0",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 17,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "0x0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 8,
+ "y": 29,
+ "elevation": 5,
+ "item": "ITEM_RAWST_BERRY",
+ "flag": "188",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 14,
+ "y": 26,
+ "elevation": 0,
+ "script": "SevenIsland_SevaultCanyon_Entrance_EventScript_168BF4"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_SevaultCanyon_Entrance/scripts.inc b/data/maps/SevenIsland_SevaultCanyon_Entrance/scripts.inc
new file mode 100644
index 000000000..696ed9483
--- /dev/null
+++ b/data/maps/SevenIsland_SevaultCanyon_Entrance/scripts.inc
@@ -0,0 +1,7 @@
+SevenIsland_SevaultCanyon_Entrance_MapScripts:: @ 8168BF3
+ .byte 0
+
+SevenIsland_SevaultCanyon_Entrance_EventScript_168BF4:: @ 8168BF4
+ loadword 0, gUnknown_818C82D
+ callstd 3
+ end
diff --git a/data/maps/SevenIsland_SevaultCanyon_House/map.json b/data/maps/SevenIsland_SevaultCanyon_House/map.json
new file mode 100644
index 000000000..21f0ae7fe
--- /dev/null
+++ b/data/maps/SevenIsland_SevaultCanyon_House/map.json
@@ -0,0 +1,67 @@
+{
+ "id": "MAP_SEVEN_ISLAND_SEVAULT_CANYON_HOUSE",
+ "name": "SevenIsland_SevaultCanyon_House",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_SIX",
+ "region_map_section": "MAPSEC_SEVAULT_CANYON",
+ "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": "30",
+ "x": 2,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_House_EventScript_172183",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "117",
+ "x": 4,
+ "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": "SevenIsland_SevaultCanyon_House_EventScript_172242",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 6,
+ "y": 4,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_SevaultCanyon_House_EventScript_1BEDFC",
+ "flag": "509"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_SEVAULT_CANYON",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_SevaultCanyon_House/scripts.inc b/data/maps/SevenIsland_SevaultCanyon_House/scripts.inc
new file mode 100644
index 000000000..31df02ba3
--- /dev/null
+++ b/data/maps/SevenIsland_SevaultCanyon_House/scripts.inc
@@ -0,0 +1,89 @@
+SevenIsland_SevaultCanyon_House_MapScripts:: @ 8172182
+ .byte 0
+
+SevenIsland_SevaultCanyon_House_EventScript_172183:: @ 8172183
+ lock
+ checkflag FLAG_0x002
+ goto_if 1, EventScript_172211
+ playbgm 267, 0
+ applymovement 1, Movement_172231
+ waitmovement 0
+ fadedefaultbgm
+ delay 30
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_81A4D72
+ callstd 4
+ textcolor 3
+ loadword 0, gUnknown_81A4DAF
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_172225
+ loadword 0, gUnknown_81A4DD8
+ callstd 4
+ closemessage
+ call EventScript_1A6675
+ compare_var_to_value VAR_FACING, 1
+ call_if 5, EventScript_172206
+ delay 30
+ playbgm 267, 0
+ applymovement 255, Movement_172231
+ waitmovement 0
+ fadedefaultbgm
+ delay 30
+ call EventScript_1A6C26
+ loadword 0, gUnknown_81A4DF5
+ callstd 4
+ setflag FLAG_0x002
+ release
+ end
+
+EventScript_172206:: @ 8172206
+ applymovement 255, Movement_1A75ED
+ waitmovement 0
+ return
+
+EventScript_172211:: @ 8172211
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_81A4D72
+ callstd 4
+ release
+ end
+
+EventScript_172225:: @ 8172225
+ textcolor 0
+ loadword 0, gUnknown_81A4DC8
+ callstd 4
+ release
+ end
+
+Movement_172231:: @ 8172231
+ step_25
+ step_1c
+ step_25
+ step_1c
+ step_25
+ step_1c
+ step_25
+ step_1c
+ step_30
+ step_1a
+ step_2e
+ step_1a
+ step_2f
+ step_1a
+ step_2d
+ step_1a
+ step_end
+
+SevenIsland_SevaultCanyon_House_EventScript_172242:: @ 8172242
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_CHANSEY, 0
+ loadword 0, gUnknown_81A4E26
+ callstd 4
+ waitmoncry
+ release
+ end
diff --git a/data/maps/SevenIsland_TanobyRuins/map.json b/data/maps/SevenIsland_TanobyRuins/map.json
new file mode 100644
index 000000000..33c2fb842
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins/map.json
@@ -0,0 +1,165 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TANOBY_RUINS",
+ "name": "SevenIsland_TanobyRuins",
+ "layout": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_TANOBY_RUINS",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_SEVEN_ISLAND_SEVAULT_CANYON",
+ "offset": 48,
+ "direction": "up"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "56",
+ "x": 35,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_TanobyRuins_EventScript_1ACC4D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 121,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_TanobyRuins_EventScript_1ACC8B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 85,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_TanobyRuins_EventScript_1ACCC9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 85,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_TanobyRuins_EventScript_1ACD07",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 120,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS_MONEAN_CHAMBER",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 103,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS_LIPTOO_CHAMBER",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 88,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS_WEEPTH_CHAMBER",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 44,
+ "y": 11,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS_DILFORD_CHAMBER",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 32,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS_SCUFIB_CHAMBER",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 12,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS_RIXY_CHAMBER",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS_VIAPOIS_CHAMBER",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 33,
+ "y": 10,
+ "elevation": 3,
+ "item": "ITEM_HEART_SCALE",
+ "flag": "65",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 86,
+ "y": 9,
+ "elevation": 3,
+ "item": "ITEM_HEART_SCALE",
+ "flag": "66",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 125,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_HEART_SCALE",
+ "flag": "67",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "item": "ITEM_HEART_SCALE",
+ "flag": "64",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TanobyRuins/scripts.inc b/data/maps/SevenIsland_TanobyRuins/scripts.inc
new file mode 100644
index 000000000..57a3462f1
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins/scripts.inc
@@ -0,0 +1,2 @@
+SevenIsland_TanobyRuins_MapScripts:: @ 8168C07
+ .byte 0
diff --git a/data/maps/SevenIsland_TanobyRuins_DilfordChamber/map.json b/data/maps/SevenIsland_TanobyRuins_DilfordChamber/map.json
new file mode 100644
index 000000000..3b00c0be4
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_DilfordChamber/map.json
@@ -0,0 +1,27 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TANOBY_RUINS_DILFORD_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_DilfordChamber",
+ "layout": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_DILFORD_CHAMBER",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_DILFORD_CHAMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TanobyRuins_DilfordChamber/scripts.inc b/data/maps/SevenIsland_TanobyRuins_DilfordChamber/scripts.inc
new file mode 100644
index 000000000..421d3c72b
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_DilfordChamber/scripts.inc
@@ -0,0 +1,7 @@
+SevenIsland_TanobyRuins_DilfordChamber_MapScripts:: @ 8164CF6
+ map_script 3, SevenIsland_TanobyRuins_DilfordChamber_MapScript1_164CFC
+ .byte 0
+
+SevenIsland_TanobyRuins_DilfordChamber_MapScript1_164CFC:: @ 8164CFC
+ call EventScript_1A925E
+ end
diff --git a/data/maps/SevenIsland_TanobyRuins_LiptooChamber/map.json b/data/maps/SevenIsland_TanobyRuins_LiptooChamber/map.json
new file mode 100644
index 000000000..9bb534692
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_LiptooChamber/map.json
@@ -0,0 +1,27 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TANOBY_RUINS_LIPTOO_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_LiptooChamber",
+ "layout": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_LIPTOO_CHAMBER",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_LIPTOO_CHAMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TanobyRuins_LiptooChamber/scripts.inc b/data/maps/SevenIsland_TanobyRuins_LiptooChamber/scripts.inc
new file mode 100644
index 000000000..084d58658
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_LiptooChamber/scripts.inc
@@ -0,0 +1,7 @@
+SevenIsland_TanobyRuins_LiptooChamber_MapScripts:: @ 8164CDE
+ map_script 3, SevenIsland_TanobyRuins_LiptooChamber_MapScript1_164CE4
+ .byte 0
+
+SevenIsland_TanobyRuins_LiptooChamber_MapScript1_164CE4:: @ 8164CE4
+ call EventScript_1A925E
+ end
diff --git a/data/maps/SevenIsland_TanobyRuins_MoneanChamber/map.json b/data/maps/SevenIsland_TanobyRuins_MoneanChamber/map.json
new file mode 100644
index 000000000..706cf4907
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_MoneanChamber/map.json
@@ -0,0 +1,27 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TANOBY_RUINS_MONEAN_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_MoneanChamber",
+ "layout": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_MONEAN_CHAMBER",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_MONEAN_CHAMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TanobyRuins_MoneanChamber/scripts.inc b/data/maps/SevenIsland_TanobyRuins_MoneanChamber/scripts.inc
new file mode 100644
index 000000000..776299736
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_MoneanChamber/scripts.inc
@@ -0,0 +1,8 @@
+SevenIsland_TanobyRuins_MoneanChamber_MapScripts:: @ 8164CCF
+ map_script 3, SevenIsland_TanobyRuins_MoneanChamber_MapScript1_164CD5
+ .byte 0
+
+SevenIsland_TanobyRuins_MoneanChamber_MapScript1_164CD5:: @ 8164CD5
+ setworldmapflag 2239
+ call EventScript_1A925E
+ end
diff --git a/data/maps/SevenIsland_TanobyRuins_RixyChamber/map.json b/data/maps/SevenIsland_TanobyRuins_RixyChamber/map.json
new file mode 100644
index 000000000..e92f18cba
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_RixyChamber/map.json
@@ -0,0 +1,27 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TANOBY_RUINS_RIXY_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_RixyChamber",
+ "layout": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_RIXY_CHAMBER",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_RIXY_CHAMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TanobyRuins_RixyChamber/scripts.inc b/data/maps/SevenIsland_TanobyRuins_RixyChamber/scripts.inc
new file mode 100644
index 000000000..cb97039f3
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_RixyChamber/scripts.inc
@@ -0,0 +1,7 @@
+SevenIsland_TanobyRuins_RixyChamber_MapScripts:: @ 8164D0E
+ map_script 3, SevenIsland_TanobyRuins_RixyChamber_MapScript1_164D14
+ .byte 0
+
+SevenIsland_TanobyRuins_RixyChamber_MapScript1_164D14:: @ 8164D14
+ call EventScript_1A925E
+ end
diff --git a/data/maps/SevenIsland_TanobyRuins_ScufibChamber/map.json b/data/maps/SevenIsland_TanobyRuins_ScufibChamber/map.json
new file mode 100644
index 000000000..03ca8f69a
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_ScufibChamber/map.json
@@ -0,0 +1,27 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TANOBY_RUINS_SCUFIB_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_ScufibChamber",
+ "layout": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_SCUFIB_CHAMBER",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_SCUFIB_CHAMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TanobyRuins_ScufibChamber/scripts.inc b/data/maps/SevenIsland_TanobyRuins_ScufibChamber/scripts.inc
new file mode 100644
index 000000000..4c825e5c3
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_ScufibChamber/scripts.inc
@@ -0,0 +1,7 @@
+SevenIsland_TanobyRuins_ScufibChamber_MapScripts:: @ 8164D02
+ map_script 3, SevenIsland_TanobyRuins_ScufibChamber_MapScript1_164D08
+ .byte 0
+
+SevenIsland_TanobyRuins_ScufibChamber_MapScript1_164D08:: @ 8164D08
+ call EventScript_1A925E
+ end
diff --git a/data/maps/SevenIsland_TanobyRuins_ViapoisChamber/map.json b/data/maps/SevenIsland_TanobyRuins_ViapoisChamber/map.json
new file mode 100644
index 000000000..9f99b7b99
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_ViapoisChamber/map.json
@@ -0,0 +1,27 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TANOBY_RUINS_VIAPOIS_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_ViapoisChamber",
+ "layout": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_VIAPOIS_CHAMBER",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_VIAPOIS_CHAMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TanobyRuins_ViapoisChamber/scripts.inc b/data/maps/SevenIsland_TanobyRuins_ViapoisChamber/scripts.inc
new file mode 100644
index 000000000..8a6d8d90d
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_ViapoisChamber/scripts.inc
@@ -0,0 +1,7 @@
+SevenIsland_TanobyRuins_ViapoisChamber_MapScripts:: @ 8164D1A
+ map_script 3, SevenIsland_TanobyRuins_ViapoisChamber_MapScript1_164D20
+ .byte 0
+
+SevenIsland_TanobyRuins_ViapoisChamber_MapScript1_164D20:: @ 8164D20
+ call EventScript_1A925E
+ end
diff --git a/data/maps/SevenIsland_TanobyRuins_WeepthChamber/map.json b/data/maps/SevenIsland_TanobyRuins_WeepthChamber/map.json
new file mode 100644
index 000000000..85294ca41
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_WeepthChamber/map.json
@@ -0,0 +1,27 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TANOBY_RUINS_WEEPTH_CHAMBER",
+ "name": "SevenIsland_TanobyRuins_WeepthChamber",
+ "layout": "LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_WEEPTH_CHAMBER",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_WEEPTH_CHAMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_2",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TANOBY_RUINS",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TanobyRuins_WeepthChamber/scripts.inc b/data/maps/SevenIsland_TanobyRuins_WeepthChamber/scripts.inc
new file mode 100644
index 000000000..facb265c2
--- /dev/null
+++ b/data/maps/SevenIsland_TanobyRuins_WeepthChamber/scripts.inc
@@ -0,0 +1,7 @@
+SevenIsland_TanobyRuins_WeepthChamber_MapScripts:: @ 8164CEA
+ map_script 3, SevenIsland_TanobyRuins_WeepthChamber_MapScript1_164CF0
+ .byte 0
+
+SevenIsland_TanobyRuins_WeepthChamber_MapScript1_164CF0:: @ 8164CF0
+ call EventScript_1A925E
+ end
diff --git a/data/maps/SevenIsland_TrainerTower/map.json b/data/maps/SevenIsland_TrainerTower/map.json
new file mode 100644
index 000000000..3b7aa0b8a
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower/map.json
@@ -0,0 +1,102 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TRAINER_TOWER",
+ "name": "SevenIsland_TrainerTower",
+ "layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_TRAINER_TOWER",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_SEVEN_ISLAND",
+ "offset": 48,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "19",
+ "x": 56,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_TrainerTower_EventScript_1AC84D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "23",
+ "x": 56,
+ "y": 29,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SevenIsland_TrainerTower_EventScript_1AC88B",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 58,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 49,
+ "y": 27,
+ "elevation": 3,
+ "item": "ITEM_BIG_PEARL",
+ "flag": "185",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 47,
+ "y": 30,
+ "elevation": 3,
+ "item": "ITEM_PEARL",
+ "flag": "186",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 59,
+ "y": 32,
+ "elevation": 3,
+ "item": "ITEM_NANAB_BERRY",
+ "flag": "187",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 56,
+ "y": 8,
+ "elevation": 0,
+ "script": "SevenIsland_TrainerTower_EventScript_168BE1"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 50,
+ "y": 30,
+ "elevation": 0,
+ "script": "SevenIsland_TrainerTower_EventScript_168BEA"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TrainerTower/scripts.inc b/data/maps/SevenIsland_TrainerTower/scripts.inc
new file mode 100644
index 000000000..db1321f48
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower/scripts.inc
@@ -0,0 +1,17 @@
+SevenIsland_TrainerTower_MapScripts:: @ 8168BD5
+ map_script 3, SevenIsland_TrainerTower_MapScript1_168BDB
+ .byte 0
+
+SevenIsland_TrainerTower_MapScript1_168BDB:: @ 8168BDB
+ setvar VAR_0x4082, 0
+ end
+
+SevenIsland_TrainerTower_EventScript_168BE1:: @ 8168BE1
+ loadword 0, gUnknown_818C338
+ callstd 3
+ end
+
+SevenIsland_TrainerTower_EventScript_168BEA:: @ 8168BEA
+ loadword 0, gUnknown_818C370
+ callstd 3
+ end
diff --git a/data/maps/SevenIsland_TrainerTower_1F/map.json b/data/maps/SevenIsland_TrainerTower_1F/map.json
new file mode 100644
index 000000000..85be6d070
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_1F/map.json
@@ -0,0 +1,128 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_1F",
+ "name": "SevenIsland_TrainerTower_1F",
+ "layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_1F",
+ "music": "BGM_FRLG_TRAINER_TOWER",
+ "region_map_section": "MAPSEC_TRAINER_TOWER_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "70",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "6"
+ },
+ {
+ "graphics_id": "240",
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_1F_EventScript_1646C8",
+ "flag": "2"
+ },
+ {
+ "graphics_id": "241",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_1F_EventScript_1646CE",
+ "flag": "3"
+ },
+ {
+ "graphics_id": "242",
+ "x": 10,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_1F_EventScript_1646D4",
+ "flag": "4"
+ },
+ {
+ "graphics_id": "243",
+ "x": 10,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_1F_EventScript_1646DA",
+ "flag": "5"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400E",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_1F_EventScript_1C54AF"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 12,
+ "elevation": 0,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_1F_EventScript_1C54B4"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_1F_EventScript_1C54EA"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TrainerTower_1F/scripts.inc b/data/maps/SevenIsland_TrainerTower_1F/scripts.inc
new file mode 100644
index 000000000..8ff1c438f
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_1F/scripts.inc
@@ -0,0 +1,60 @@
+SevenIsland_TrainerTower_1F_MapScripts:: @ 81646B8
+ map_script 5, SevenIsland_TrainerTower_1F_MapScript1_1C4F54
+ map_script 3, SevenIsland_TrainerTower_1F_MapScript2_1C4F62
+ map_script 2, SevenIsland_TrainerTower_1F_MapScript3_1C5046
+ .byte 0
+
+SevenIsland_TrainerTower_2F_EventScript_1646C8:: @ 81646C8
+SevenIsland_TrainerTower_4F_EventScript_1646C8:: @ 81646C8
+SevenIsland_TrainerTower_6F_EventScript_1646C8:: @ 81646C8
+SevenIsland_TrainerTower_8F_EventScript_1646C8:: @ 81646C8
+SevenIsland_TrainerTower_5F_EventScript_1646C8:: @ 81646C8
+SevenIsland_TrainerTower_7F_EventScript_1646C8:: @ 81646C8
+SevenIsland_TrainerTower_3F_EventScript_1646C8:: @ 81646C8
+SevenIsland_TrainerTower_1F_EventScript_1646C8:: @ 81646C8
+ call EventScript_1C52F4
+ end
+
+SevenIsland_TrainerTower_2F_EventScript_1646CE:: @ 81646CE
+SevenIsland_TrainerTower_4F_EventScript_1646CE:: @ 81646CE
+SevenIsland_TrainerTower_6F_EventScript_1646CE:: @ 81646CE
+SevenIsland_TrainerTower_8F_EventScript_1646CE:: @ 81646CE
+SevenIsland_TrainerTower_5F_EventScript_1646CE:: @ 81646CE
+SevenIsland_TrainerTower_7F_EventScript_1646CE:: @ 81646CE
+SevenIsland_TrainerTower_3F_EventScript_1646CE:: @ 81646CE
+SevenIsland_TrainerTower_1F_EventScript_1646CE:: @ 81646CE
+ call EventScript_1C533B
+ end
+
+SevenIsland_TrainerTower_2F_EventScript_1646D4:: @ 81646D4
+SevenIsland_TrainerTower_4F_EventScript_1646D4:: @ 81646D4
+SevenIsland_TrainerTower_6F_EventScript_1646D4:: @ 81646D4
+SevenIsland_TrainerTower_8F_EventScript_1646D4:: @ 81646D4
+SevenIsland_TrainerTower_5F_EventScript_1646D4:: @ 81646D4
+SevenIsland_TrainerTower_7F_EventScript_1646D4:: @ 81646D4
+SevenIsland_TrainerTower_3F_EventScript_1646D4:: @ 81646D4
+SevenIsland_TrainerTower_1F_EventScript_1646D4:: @ 81646D4
+ call EventScript_1C5382
+ end
+
+SevenIsland_TrainerTower_2F_EventScript_1646DA:: @ 81646DA
+SevenIsland_TrainerTower_4F_EventScript_1646DA:: @ 81646DA
+SevenIsland_TrainerTower_6F_EventScript_1646DA:: @ 81646DA
+SevenIsland_TrainerTower_8F_EventScript_1646DA:: @ 81646DA
+SevenIsland_TrainerTower_5F_EventScript_1646DA:: @ 81646DA
+SevenIsland_TrainerTower_7F_EventScript_1646DA:: @ 81646DA
+SevenIsland_TrainerTower_3F_EventScript_1646DA:: @ 81646DA
+SevenIsland_TrainerTower_1F_EventScript_1646DA:: @ 81646DA
+ call EventScript_1C538C
+ end
+
+SevenIsland_TrainerTower_2F_EventScript_1646E0:: @ 81646E0
+SevenIsland_TrainerTower_4F_EventScript_1646E0:: @ 81646E0
+SevenIsland_TrainerTower_6F_EventScript_1646E0:: @ 81646E0
+SevenIsland_TrainerTower_8F_EventScript_1646E0:: @ 81646E0
+SevenIsland_TrainerTower_7F_EventScript_1646E0:: @ 81646E0
+SevenIsland_TrainerTower_Roof_EventScript_1646E0:: @ 81646E0
+SevenIsland_TrainerTower_5F_EventScript_1646E0:: @ 81646E0
+SevenIsland_TrainerTower_3F_EventScript_1646E0:: @ 81646E0
+ call EventScript_1C53AA
+ end
diff --git a/data/maps/SevenIsland_TrainerTower_2F/map.json b/data/maps/SevenIsland_TrainerTower_2F/map.json
new file mode 100644
index 000000000..8df192771
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_2F/map.json
@@ -0,0 +1,135 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_2F",
+ "name": "SevenIsland_TrainerTower_2F",
+ "layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_2F",
+ "music": "BGM_FRLG_TRAINER_TOWER",
+ "region_map_section": "MAPSEC_TRAINER_TOWER_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "70",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_2F_EventScript_1646E0",
+ "flag": "6"
+ },
+ {
+ "graphics_id": "240",
+ "x": 10,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_2F_EventScript_1646C8",
+ "flag": "2"
+ },
+ {
+ "graphics_id": "241",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_2F_EventScript_1646CE",
+ "flag": "3"
+ },
+ {
+ "graphics_id": "242",
+ "x": 10,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_2F_EventScript_1646D4",
+ "flag": "4"
+ },
+ {
+ "graphics_id": "243",
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_2F_EventScript_1646DA",
+ "flag": "5"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_3F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 13,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400E",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_2F_EventScript_1C54AF"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 12,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_2F_EventScript_1C54B4"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_2F_EventScript_1C54EA"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TrainerTower_2F/scripts.inc b/data/maps/SevenIsland_TrainerTower_2F/scripts.inc
new file mode 100644
index 000000000..c62250bb9
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_2F/scripts.inc
@@ -0,0 +1,25 @@
+SevenIsland_TrainerTower_2F_MapScripts:: @ 81646E6
+ map_script 5, SevenIsland_TrainerTower_2F_MapScript1_1C4F54
+ map_script 3, SevenIsland_TrainerTower_2F_MapScript2_1C4F62
+ map_script 2, SevenIsland_TrainerTower_2F_MapScript3_1C5046
+ .byte 0
+
+SevenIsland_TrainerTower_2F_EventScript_1646F6:: @ 81646F6
+ call EventScript_1C52F4
+ end
+
+EventScript_1646FC:: @ 81646FC
+ call EventScript_1C533B
+ end
+
+EventScript_164702:: @ 8164702
+ call EventScript_1C5382
+ end
+
+EventScript_164708:: @ 8164708
+ call EventScript_1C538C
+ end
+
+EventScript_16470E:: @ 816470E
+ call EventScript_1C53AA
+ end
diff --git a/data/maps/SevenIsland_TrainerTower_3F/map.json b/data/maps/SevenIsland_TrainerTower_3F/map.json
new file mode 100644
index 000000000..4e4b1c06b
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_3F/map.json
@@ -0,0 +1,135 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_3F",
+ "name": "SevenIsland_TrainerTower_3F",
+ "layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_3F",
+ "music": "BGM_FRLG_TRAINER_TOWER",
+ "region_map_section": "MAPSEC_TRAINER_TOWER_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "70",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_3F_EventScript_1646E0",
+ "flag": "6"
+ },
+ {
+ "graphics_id": "240",
+ "x": 10,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_3F_EventScript_1646C8",
+ "flag": "2"
+ },
+ {
+ "graphics_id": "241",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_3F_EventScript_1646CE",
+ "flag": "3"
+ },
+ {
+ "graphics_id": "242",
+ "x": 10,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_3F_EventScript_1646D4",
+ "flag": "4"
+ },
+ {
+ "graphics_id": "243",
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_3F_EventScript_1646DA",
+ "flag": "5"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_4F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 13,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400E",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_3F_EventScript_1C54AF"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 12,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_3F_EventScript_1C54B4"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_3F_EventScript_1C54EA"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TrainerTower_3F/scripts.inc b/data/maps/SevenIsland_TrainerTower_3F/scripts.inc
new file mode 100644
index 000000000..c2dcd426f
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_3F/scripts.inc
@@ -0,0 +1,25 @@
+SevenIsland_TrainerTower_3F_MapScripts:: @ 8164714
+ map_script 5, SevenIsland_TrainerTower_3F_MapScript1_1C4F54
+ map_script 3, SevenIsland_TrainerTower_3F_MapScript2_1C4F62
+ map_script 2, SevenIsland_TrainerTower_3F_MapScript3_1C5046
+ .byte 0
+
+SevenIsland_TrainerTower_3F_EventScript_164724:: @ 8164724
+ call EventScript_1C52F4
+ end
+
+EventScript_16472A:: @ 816472A
+ call EventScript_1C533B
+ end
+
+EventScript_164730:: @ 8164730
+ call EventScript_1C5382
+ end
+
+EventScript_164736:: @ 8164736
+ call EventScript_1C538C
+ end
+
+EventScript_16473C:: @ 816473C
+ call EventScript_1C53AA
+ end
diff --git a/data/maps/SevenIsland_TrainerTower_4F/map.json b/data/maps/SevenIsland_TrainerTower_4F/map.json
new file mode 100644
index 000000000..59aca5b37
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_4F/map.json
@@ -0,0 +1,135 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_4F",
+ "name": "SevenIsland_TrainerTower_4F",
+ "layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_4F",
+ "music": "BGM_FRLG_TRAINER_TOWER",
+ "region_map_section": "MAPSEC_TRAINER_TOWER_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "70",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_4F_EventScript_1646E0",
+ "flag": "6"
+ },
+ {
+ "graphics_id": "240",
+ "x": 10,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_4F_EventScript_1646C8",
+ "flag": "2"
+ },
+ {
+ "graphics_id": "241",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_4F_EventScript_1646CE",
+ "flag": "3"
+ },
+ {
+ "graphics_id": "242",
+ "x": 10,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_4F_EventScript_1646D4",
+ "flag": "4"
+ },
+ {
+ "graphics_id": "243",
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_4F_EventScript_1646DA",
+ "flag": "5"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_5F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_3F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 13,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400E",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_4F_EventScript_1C54AF"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 12,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_4F_EventScript_1C54B4"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_4F_EventScript_1C54EA"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TrainerTower_4F/scripts.inc b/data/maps/SevenIsland_TrainerTower_4F/scripts.inc
new file mode 100644
index 000000000..d1cf8a2fc
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_4F/scripts.inc
@@ -0,0 +1,25 @@
+SevenIsland_TrainerTower_4F_MapScripts:: @ 8164742
+ map_script 5, SevenIsland_TrainerTower_4F_MapScript1_1C4F54
+ map_script 3, SevenIsland_TrainerTower_4F_MapScript2_1C4F62
+ map_script 2, SevenIsland_TrainerTower_4F_MapScript3_1C5046
+ .byte 0
+
+SevenIsland_TrainerTower_4F_EventScript_164752:: @ 8164752
+ call EventScript_1C52F4
+ end
+
+EventScript_164758:: @ 8164758
+ call EventScript_1C533B
+ end
+
+EventScript_16475E:: @ 816475E
+ call EventScript_1C5382
+ end
+
+EventScript_164764:: @ 8164764
+ call EventScript_1C538C
+ end
+
+EventScript_16476A:: @ 816476A
+ call EventScript_1C53AA
+ end
diff --git a/data/maps/SevenIsland_TrainerTower_5F/map.json b/data/maps/SevenIsland_TrainerTower_5F/map.json
new file mode 100644
index 000000000..4e08a33b4
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_5F/map.json
@@ -0,0 +1,135 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_5F",
+ "name": "SevenIsland_TrainerTower_5F",
+ "layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_5F",
+ "music": "BGM_FRLG_TRAINER_TOWER",
+ "region_map_section": "MAPSEC_TRAINER_TOWER_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "70",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_5F_EventScript_1646E0",
+ "flag": "6"
+ },
+ {
+ "graphics_id": "240",
+ "x": 10,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_5F_EventScript_1646C8",
+ "flag": "2"
+ },
+ {
+ "graphics_id": "241",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_5F_EventScript_1646CE",
+ "flag": "3"
+ },
+ {
+ "graphics_id": "242",
+ "x": 10,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_5F_EventScript_1646D4",
+ "flag": "4"
+ },
+ {
+ "graphics_id": "243",
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_5F_EventScript_1646DA",
+ "flag": "5"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_6F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_4F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 13,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400E",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_5F_EventScript_1C54AF"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 12,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_5F_EventScript_1C54B4"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_5F_EventScript_1C54EA"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TrainerTower_5F/scripts.inc b/data/maps/SevenIsland_TrainerTower_5F/scripts.inc
new file mode 100644
index 000000000..de118c6ca
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_5F/scripts.inc
@@ -0,0 +1,25 @@
+SevenIsland_TrainerTower_5F_MapScripts:: @ 8164770
+ map_script 5, SevenIsland_TrainerTower_5F_MapScript1_1C4F54
+ map_script 3, SevenIsland_TrainerTower_5F_MapScript2_1C4F62
+ map_script 2, SevenIsland_TrainerTower_5F_MapScript3_1C5046
+ .byte 0
+
+SevenIsland_TrainerTower_5F_EventScript_164780:: @ 8164780
+ call EventScript_1C52F4
+ end
+
+EventScript_164786:: @ 8164786
+ call EventScript_1C533B
+ end
+
+EventScript_16478C:: @ 816478C
+ call EventScript_1C5382
+ end
+
+EventScript_164792:: @ 8164792
+ call EventScript_1C538C
+ end
+
+EventScript_164798:: @ 8164798
+ call EventScript_1C53AA
+ end
diff --git a/data/maps/SevenIsland_TrainerTower_6F/map.json b/data/maps/SevenIsland_TrainerTower_6F/map.json
new file mode 100644
index 000000000..c548fa61a
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_6F/map.json
@@ -0,0 +1,135 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_6F",
+ "name": "SevenIsland_TrainerTower_6F",
+ "layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_6F",
+ "music": "BGM_FRLG_TRAINER_TOWER",
+ "region_map_section": "MAPSEC_TRAINER_TOWER_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "70",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_6F_EventScript_1646E0",
+ "flag": "6"
+ },
+ {
+ "graphics_id": "240",
+ "x": 10,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_6F_EventScript_1646C8",
+ "flag": "2"
+ },
+ {
+ "graphics_id": "241",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_6F_EventScript_1646CE",
+ "flag": "3"
+ },
+ {
+ "graphics_id": "242",
+ "x": 10,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_6F_EventScript_1646D4",
+ "flag": "4"
+ },
+ {
+ "graphics_id": "243",
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_6F_EventScript_1646DA",
+ "flag": "5"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_7F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_5F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 13,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400E",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_6F_EventScript_1C54AF"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 12,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_6F_EventScript_1C54B4"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_6F_EventScript_1C54EA"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TrainerTower_6F/scripts.inc b/data/maps/SevenIsland_TrainerTower_6F/scripts.inc
new file mode 100644
index 000000000..d3b558300
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_6F/scripts.inc
@@ -0,0 +1,25 @@
+SevenIsland_TrainerTower_6F_MapScripts:: @ 816479E
+ map_script 5, SevenIsland_TrainerTower_6F_MapScript1_1C4F54
+ map_script 3, SevenIsland_TrainerTower_6F_MapScript2_1C4F62
+ map_script 2, SevenIsland_TrainerTower_6F_MapScript3_1C5046
+ .byte 0
+
+SevenIsland_TrainerTower_6F_EventScript_1647AE:: @ 81647AE
+ call EventScript_1C52F4
+ end
+
+EventScript_1647B4:: @ 81647B4
+ call EventScript_1C533B
+ end
+
+EventScript_1647BA:: @ 81647BA
+ call EventScript_1C5382
+ end
+
+EventScript_1647C0:: @ 81647C0
+ call EventScript_1C538C
+ end
+
+EventScript_1647C6:: @ 81647C6
+ call EventScript_1C53AA
+ end
diff --git a/data/maps/SevenIsland_TrainerTower_7F/map.json b/data/maps/SevenIsland_TrainerTower_7F/map.json
new file mode 100644
index 000000000..90eb22605
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_7F/map.json
@@ -0,0 +1,135 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_7F",
+ "name": "SevenIsland_TrainerTower_7F",
+ "layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_7F",
+ "music": "BGM_FRLG_TRAINER_TOWER",
+ "region_map_section": "MAPSEC_TRAINER_TOWER_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "70",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_7F_EventScript_1646E0",
+ "flag": "6"
+ },
+ {
+ "graphics_id": "240",
+ "x": 10,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_7F_EventScript_1646C8",
+ "flag": "2"
+ },
+ {
+ "graphics_id": "241",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_7F_EventScript_1646CE",
+ "flag": "3"
+ },
+ {
+ "graphics_id": "242",
+ "x": 10,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_7F_EventScript_1646D4",
+ "flag": "4"
+ },
+ {
+ "graphics_id": "243",
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_7F_EventScript_1646DA",
+ "flag": "5"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_8F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_6F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 13,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400E",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_7F_EventScript_1C54AF"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 12,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_7F_EventScript_1C54B4"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_7F_EventScript_1C54EA"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TrainerTower_7F/scripts.inc b/data/maps/SevenIsland_TrainerTower_7F/scripts.inc
new file mode 100644
index 000000000..e59cc0166
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_7F/scripts.inc
@@ -0,0 +1,25 @@
+SevenIsland_TrainerTower_7F_MapScripts:: @ 81647CC
+ map_script 5, SevenIsland_TrainerTower_7F_MapScript1_1C4F54
+ map_script 3, SevenIsland_TrainerTower_7F_MapScript2_1C4F62
+ map_script 2, SevenIsland_TrainerTower_7F_MapScript3_1C5046
+ .byte 0
+
+SevenIsland_TrainerTower_7F_EventScript_1647DC:: @ 81647DC
+ call EventScript_1C52F4
+ end
+
+EventScript_1647E2:: @ 81647E2
+ call EventScript_1C533B
+ end
+
+EventScript_1647E8:: @ 81647E8
+ call EventScript_1C5382
+ end
+
+EventScript_1647EE:: @ 81647EE
+ call EventScript_1C538C
+ end
+
+EventScript_1647F4:: @ 81647F4
+ call EventScript_1C53AA
+ end
diff --git a/data/maps/SevenIsland_TrainerTower_8F/map.json b/data/maps/SevenIsland_TrainerTower_8F/map.json
new file mode 100644
index 000000000..cac6bbb6c
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_8F/map.json
@@ -0,0 +1,135 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_8F",
+ "name": "SevenIsland_TrainerTower_8F",
+ "layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_8F",
+ "music": "BGM_FRLG_TRAINER_TOWER",
+ "region_map_section": "MAPSEC_TRAINER_TOWER_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "70",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_8F_EventScript_1646E0",
+ "flag": "6"
+ },
+ {
+ "graphics_id": "240",
+ "x": 10,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_8F_EventScript_1646C8",
+ "flag": "2"
+ },
+ {
+ "graphics_id": "241",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_8F_EventScript_1646CE",
+ "flag": "3"
+ },
+ {
+ "graphics_id": "242",
+ "x": 10,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_8F_EventScript_1646D4",
+ "flag": "4"
+ },
+ {
+ "graphics_id": "243",
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_8F_EventScript_1646DA",
+ "flag": "5"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ROOF",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_7F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 13,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400E",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_8F_EventScript_1C54AF"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 12,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_8F_EventScript_1C54B4"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 13,
+ "elevation": 3,
+ "var": "VAR_0x400F",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_8F_EventScript_1C54EA"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TrainerTower_8F/scripts.inc b/data/maps/SevenIsland_TrainerTower_8F/scripts.inc
new file mode 100644
index 000000000..1907ddebc
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_8F/scripts.inc
@@ -0,0 +1,25 @@
+SevenIsland_TrainerTower_8F_MapScripts:: @ 81647FA
+ map_script 5, SevenIsland_TrainerTower_8F_MapScript1_1C4F54
+ map_script 3, SevenIsland_TrainerTower_8F_MapScript2_1C4F62
+ map_script 2, SevenIsland_TrainerTower_8F_MapScript3_1C5046
+ .byte 0
+
+SevenIsland_TrainerTower_8F_EventScript_16480A:: @ 816480A
+ call EventScript_1C52F4
+ end
+
+EventScript_164810:: @ 8164810
+ call EventScript_1C533B
+ end
+
+EventScript_164816:: @ 8164816
+ call EventScript_1C5382
+ end
+
+EventScript_16481C:: @ 816481C
+ call EventScript_1C538C
+ end
+
+EventScript_164822:: @ 8164822
+ call EventScript_1C53AA
+ end
diff --git a/data/maps/SevenIsland_TrainerTower_Elevator/map.json b/data/maps/SevenIsland_TrainerTower_Elevator/map.json
new file mode 100644
index 000000000..0525e1da2
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_Elevator/map.json
@@ -0,0 +1,35 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
+ "name": "SevenIsland_TrainerTower_Elevator",
+ "layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
+ "music": "BGM_FRLG_TRAINER_TOWER",
+ "region_map_section": "MAPSEC_TRAINER_TOWER_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 0,
+ "y": 2,
+ "elevation": 0,
+ "script": "SevenIsland_TrainerTower_Elevator_EventScript_164B03"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc b/data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc
new file mode 100644
index 000000000..b956d3aca
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc
@@ -0,0 +1,87 @@
+SevenIsland_TrainerTower_Elevator_MapScripts:: @ 8164AF8
+ map_script 5, SevenIsland_TrainerTower_Elevator_MapScript1_1C4F54
+ map_script 2, SevenIsland_TrainerTower_Elevator_MapScript2_1C5046
+ .byte 0
+
+SevenIsland_TrainerTower_Elevator_EventScript_164B03:: @ 8164B03
+ lockall
+ setvar VAR_0x8004, 6
+ checkflag FLAG_0x002
+ call_if 0, EventScript_1A7AB9
+ copyvar VAR_0x8005, VAR_0x403A
+ special sub_80CB580
+ message Text_1A535C
+ waitmessage
+ setvar VAR_0x8004, 6
+ specialvar VAR_RESULT, sub_80CB328
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_164B46
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_164B52
+ end
+
+EventScript_164B46:: @ 8164B46
+ multichoicedefault 0, 0, 20, 0, 0
+ goto EventScript_164B5E
+ end
+
+EventScript_164B52:: @ 8164B52
+ multichoicedefault 0, 0, 20, 1, 0
+ goto EventScript_164B5E
+ end
+
+EventScript_164B5E:: @ 8164B5E
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_164BCD
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_164B90
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_164BD3
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_164BD3
+ end
+
+EventScript_164B90:: @ 8164B90
+ setvar VAR_0x8006, 3
+ setdynamicwarp MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY, 255, 17, 8
+ compare_var_to_value VAR_0x403A, 3
+ goto_if 1, EventScript_164BD3
+ call EventScript_164BD8
+ setvar VAR_0x403A, 3
+ special sub_80CB63C
+ delay 25
+ applymovement 255, Movement_164BE5
+ waitmovement 0
+ warp MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY, 255, 17, 8
+ waitstate
+ releaseall
+ end
+
+EventScript_164BCD:: @ 8164BCD
+ goto EventScript_164BD3
+ end
+
+EventScript_164BD3:: @ 8164BD3
+ special sub_80CB63C
+ releaseall
+ end
+
+EventScript_164BD8:: @ 8164BD8
+ special sub_80CB63C
+ closemessage
+ waitse
+ special sub_80CB498
+ waitstate
+ setflag FLAG_0x002
+ return
+
+Movement_164BE5:: @ 8164BE5
+ step_2d
+ step_1c
+ step_10
+ step_13
+ step_13
+ step_10
+ step_end
diff --git a/data/maps/SevenIsland_TrainerTower_Lobby/map.json b/data/maps/SevenIsland_TrainerTower_Lobby/map.json
new file mode 100644
index 000000000..fcda1fb2e
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_Lobby/map.json
@@ -0,0 +1,125 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY",
+ "name": "SevenIsland_TrainerTower_Lobby",
+ "layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_LOBBY",
+ "music": "BGM_FRLG_TRAINER_TOWER",
+ "region_map_section": "MAPSEC_TRAINER_TOWER_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "64",
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_Lobby_EventScript_16495D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "66",
+ "x": 14,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_Lobby_EventScript_164992",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "66",
+ "x": 11,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_Lobby_EventScript_164966",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 12,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_Lobby_EventScript_164AE6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 2,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_Lobby_EventScript_164AEF",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 9,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 9,
+ "y": 15,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 17,
+ "y": 8,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "var": "VAR_0x4082",
+ "var_value": 0,
+ "script": "SevenIsland_TrainerTower_Lobby_EventScript_1649CE"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 8,
+ "y": 10,
+ "elevation": 0,
+ "script": "SevenIsland_TrainerTower_Lobby_EventScript_164AD8"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TrainerTower_Lobby/scripts.inc b/data/maps/SevenIsland_TrainerTower_Lobby/scripts.inc
new file mode 100644
index 000000000..060847ef0
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_Lobby/scripts.inc
@@ -0,0 +1,263 @@
+SevenIsland_TrainerTower_Lobby_MapScripts:: @ 8164839
+ map_script 5, SevenIsland_TrainerTower_Lobby_MapScript1_164853
+ map_script 7, SevenIsland_TrainerTower_Lobby_MapScript2_164887
+ map_script 3, SevenIsland_TrainerTower_Lobby_MapScript3_1648AD
+ map_script 1, SevenIsland_TrainerTower_Lobby_MapScript4_164897
+ map_script 2, SevenIsland_TrainerTower_Lobby_MapScript5_1648B6
+ .byte 0
+
+SevenIsland_TrainerTower_Lobby_MapScript1_164853:: @ 8164853
+ setvar VAR_0x4002, 0
+ setvar VAR_0x8004, 10
+ special sub_815D9E8
+ setvar VAR_0x8004, 18
+ special sub_815D9E8
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_164886
+ setvar VAR_0x4000, 0
+ setobjectxy 255, 9, 7
+ applymovement 255, Movement_164AD4
+
+EventScript_164886:: @ 8164886
+ end
+
+SevenIsland_TrainerTower_Lobby_MapScript2_164887:: @ 8164887
+ addobject 1
+ addobject 2
+ addobject 3
+ addobject 4
+ addobject 5
+ end
+
+SevenIsland_TrainerTower_Lobby_MapScript4_164897:: @ 8164897
+ compare_var_to_value VAR_0x400D, 17
+ call_if 1, EventScript_1648A3
+ end
+
+EventScript_1648A3:: @ 81648A3
+ setmetatile 17, 10, 647, 0
+ return
+
+SevenIsland_TrainerTower_Lobby_MapScript3_1648AD:: @ 81648AD
+ setworldmapflag 2234
+ getplayerxy VAR_0x400D, VAR_RESULT
+ end
+
+SevenIsland_TrainerTower_Lobby_MapScript5_1648B6:: @ 81648B6
+ map_script_2 VAR_0x4000, 0, EventScript_1648ED
+ map_script_2 VAR_0x400D, 0x11, EventScript_1648C8
+ .2byte 0
+
+EventScript_1648C8:: @ 81648C8
+ lockall
+ applymovement 255, Movement_1648EA
+ waitmovement 0
+ setmetatile 17, 10, 692, 1
+ special DrawWholeMapView
+ playse SE_N
+ waitse
+ setvar VAR_0x400D, 0
+ releaseall
+ end
+
+Movement_1648EA:: @ 81648EA
+ step_10
+ step_10
+ step_end
+
+EventScript_1648ED:: @ 81648ED
+ setvar VAR_0x4000, 1
+ setvar VAR_0x8004, 12
+ special sub_815D9E8
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_164920
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_164938
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16495C
+
+EventScript_164920:: @ 8164920
+ lock
+ faceplayer
+ applymovement 255, Movement_164AD4
+ textcolor 1
+ loadword 0, gUnknown_817C937
+ callstd 4
+ goto EventScript_16494B
+
+EventScript_164938:: @ 8164938
+ lock
+ faceplayer
+ applymovement 255, Movement_164AD4
+ textcolor 1
+ loadword 0, gUnknown_817C9C0
+ callstd 4
+
+EventScript_16494B:: @ 816494B
+ closemessage
+ applymovement 255, Movement_164AD6
+ waitmovement 0
+ setvar VAR_0x4082, 0
+ release
+
+EventScript_16495C:: @ 816495C
+ end
+
+SevenIsland_TrainerTower_Lobby_EventScript_16495D:: @ 816495D
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+SevenIsland_TrainerTower_Lobby_EventScript_164966:: @ 8164966
+ lock
+ faceplayer
+ setvar VAR_0x8004, 20
+ special sub_815D9E8
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_164988
+ loadword 0, gUnknown_817C9A2
+ callstd 4
+ goto EventScript_164990
+
+EventScript_164988:: @ 8164988
+ loadword 0, gUnknown_817CE1F
+ callstd 4
+
+EventScript_164990:: @ 8164990
+ release
+ end
+
+SevenIsland_TrainerTower_Lobby_EventScript_164992:: @ 8164992
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_1649B8
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_1649B8:: @ 81649B8
+ .2byte ITEM_ULTRA_BALL
+ .2byte ITEM_GREAT_BALL
+ .2byte ITEM_FULL_RESTORE
+ .2byte ITEM_MAX_POTION
+ .2byte ITEM_HYPER_POTION
+ .2byte ITEM_REVIVE
+ .2byte ITEM_FULL_HEAL
+ .2byte ITEM_ESCAPE_ROPE
+ .2byte ITEM_MAX_REPEL
+ .2byte ITEM_NONE
+ release
+ end
+
+SevenIsland_TrainerTower_Lobby_EventScript_1649CE:: @ 81649CE
+ lockall
+ applymovement 255, Movement_164AD4
+ textcolor 1
+ loadword 0, gUnknown_817C794
+ callstd 4
+ setvar VAR_0x8004, 17
+ special sub_815D9E8
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_164A00
+ loadword 0, gUnknown_817C7D9
+ callstd 4
+ goto EventScript_164A08
+
+EventScript_164A00:: @ 8164A00
+ loadword 0, gUnknown_817C850
+ callstd 4
+
+EventScript_164A08:: @ 8164A08
+ message Text_17C88D
+ waitmessage
+ multichoice 18, 6, 16, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_164A53
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_164ABF
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_164A45
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_164ABF
+ end
+
+EventScript_164A45:: @ 8164A45
+ loadword 0, gUnknown_817CCC9
+ callstd 4
+ goto EventScript_164A08
+ end
+
+EventScript_164A53:: @ 8164A53
+ multichoice 13, 3, 64, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_164AA0
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_164AA0
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_164AA0
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_164AA0
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_164ABF
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_164ABF
+ end
+
+EventScript_164AA0:: @ 8164AA0
+ copyvar VAR_0x8005, VAR_RESULT
+ setvar VAR_0x4082, 1
+ special sp000_heal_pokemon
+ loadword 0, gUnknown_817C8BF
+ callstd 4
+ setvar VAR_0x8004, 6
+ special sub_815D9E8
+ releaseall
+ end
+
+EventScript_164ABF:: @ 8164ABF
+ loadword 0, gUnknown_817C91D
+ callstd 4
+ closemessage
+ applymovement 255, Movement_164AD6
+ waitmovement 0
+ releaseall
+ end
+
+Movement_164AD4:: @ 8164AD4
+ step_03
+ step_end
+
+Movement_164AD6:: @ 8164AD6
+ step_10
+ step_end
+
+SevenIsland_TrainerTower_Lobby_EventScript_164AD8:: @ 8164AD8
+ lockall
+ fadescreen 1
+ setvar VAR_0x8004, 1
+ special sub_80CD228
+ waitstate
+ releaseall
+ end
+
+SevenIsland_TrainerTower_Lobby_EventScript_164AE6:: @ 8164AE6
+ loadword 0, gUnknown_817CE38
+ callstd 2
+ end
+
+SevenIsland_TrainerTower_Lobby_EventScript_164AEF:: @ 8164AEF
+ loadword 0, gUnknown_817CE9F
+ callstd 2
+ end
diff --git a/data/maps/SevenIsland_TrainerTower_Roof/map.json b/data/maps/SevenIsland_TrainerTower_Roof/map.json
new file mode 100644
index 000000000..23e94c0be
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_Roof/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ROOF",
+ "name": "SevenIsland_TrainerTower_Roof",
+ "layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_ROOF",
+ "music": "BGM_FRLG_TRAINER_TOWER",
+ "region_map_section": "MAPSEC_TRAINER_TOWER_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 2,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "70",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SevenIsland_TrainerTower_Roof_EventScript_1646E0",
+ "flag": "6"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 13,
+ "y": 5,
+ "elevation": 0,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_8F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SevenIsland_TrainerTower_Roof/scripts.inc b/data/maps/SevenIsland_TrainerTower_Roof/scripts.inc
new file mode 100644
index 000000000..731f6ab97
--- /dev/null
+++ b/data/maps/SevenIsland_TrainerTower_Roof/scripts.inc
@@ -0,0 +1,8 @@
+SevenIsland_TrainerTower_Roof_MapScripts:: @ 8164828
+ map_script 5, SevenIsland_TrainerTower_Roof_MapScript1_1C4F54
+ map_script 2, SevenIsland_TrainerTower_Roof_MapScript2_1C5046
+ .byte 0
+
+SevenIsland_TrainerTower_Roof_EventScript_164833:: @ 8164833
+ call EventScript_1C53AA
+ end
diff --git a/data/maps/SilphCo_10F/map.json b/data/maps/SilphCo_10F/map.json
new file mode 100644
index 000000000..d921ece8a
--- /dev/null
+++ b/data/maps/SilphCo_10F/map.json
@@ -0,0 +1,186 @@
+{
+ "id": "MAP_SILPH_CO_10F",
+ "name": "SilphCo_10F",
+ "layout": "LAYOUT_SILPH_CO_10F",
+ "music": "BGM_FRLG_SILPH",
+ "region_map_section": "MAPSEC_SILPH_CO",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 10,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "55",
+ "x": 2,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SilphCo_10F_EventScript_161DC0",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "48",
+ "x": 10,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_10F_EventScript_161D96",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "49",
+ "x": 0,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "SilphCo_10F_EventScript_161DD7",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_10F_EventScript_1BE8F5",
+ "flag": "407"
+ },
+ {
+ "graphics_id": "92",
+ "x": 2,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_10F_EventScript_1BE902",
+ "flag": "408"
+ },
+ {
+ "graphics_id": "92",
+ "x": 3,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_10F_EventScript_1BE90F",
+ "flag": "409"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_11F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 10,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_4F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 14,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_4F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_9F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 14,
+ "y": 17,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_4F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 13,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 11,
+ "elevation": 0,
+ "script": "SilphCo_10F_EventScript_1A8AEF"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 13,
+ "y": 11,
+ "elevation": 0,
+ "script": "SilphCo_10F_EventScript_1A8AEF"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 12,
+ "elevation": 0,
+ "script": "SilphCo_10F_EventScript_1A8AEF"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 13,
+ "y": 12,
+ "elevation": 0,
+ "script": "SilphCo_10F_EventScript_1A8AEF"
+ },
+ {
+ "type": "hidden_item",
+ "x": 9,
+ "y": 9,
+ "elevation": 0,
+ "item": "ITEM_HP_UP",
+ "flag": "143",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 1,
+ "elevation": 0,
+ "script": "SilphCo_10F_EventScript_161DB7"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SilphCo_10F/scripts.inc b/data/maps/SilphCo_10F/scripts.inc
new file mode 100644
index 000000000..01ad0175d
--- /dev/null
+++ b/data/maps/SilphCo_10F/scripts.inc
@@ -0,0 +1,41 @@
+SilphCo_10F_MapScripts:: @ 8161D86
+ map_script 1, SilphCo_10F_MapScript1_161D8C
+ .byte 0
+
+SilphCo_10F_MapScript1_161D8C:: @ 8161D8C
+ checkflag FLAG_0x28C
+ call_if 0, EventScript_1A84D6
+ end
+
+SilphCo_10F_EventScript_161D96:: @ 8161D96
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_161DAD
+ loadword 0, gUnknown_8176DBA
+ callstd 4
+ release
+ end
+
+EventScript_161DAD:: @ 8161DAD
+ loadword 0, gUnknown_8176DCE
+ callstd 4
+ release
+ end
+
+SilphCo_10F_EventScript_161DB7:: @ 8161DB7
+ loadword 0, gUnknown_8176DF8
+ callstd 3
+ end
+
+SilphCo_10F_EventScript_161DC0:: @ 8161DC0
+ trainerbattle 0, 345, 0, Text_176D57, Text_176D73
+ loadword 0, gUnknown_8176D86
+ callstd 6
+ end
+
+SilphCo_10F_EventScript_161DD7:: @ 8161DD7
+ trainerbattle 0, 389, 0, Text_176CED, Text_176D18
+ loadword 0, gUnknown_8176D25
+ callstd 6
+ end
diff --git a/data/maps/SilphCo_11F/map.json b/data/maps/SilphCo_11F/map.json
new file mode 100644
index 000000000..5f9090f8b
--- /dev/null
+++ b/data/maps/SilphCo_11F/map.json
@@ -0,0 +1,184 @@
+{
+ "id": "MAP_SILPH_CO_11F",
+ "name": "SilphCo_11F",
+ "layout": "LAYOUT_SILPH_CO_11F",
+ "music": "BGM_FRLG_SILPH",
+ "region_map_section": "MAPSEC_SILPH_CO",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 11,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "33",
+ "x": 9,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_11F_EventScript_161DFE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "48",
+ "x": 11,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_11F_EventScript_161E7F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "87",
+ "x": 6,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "49",
+ "x": 16,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "SilphCo_11F_EventScript_161F40",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "92",
+ "x": 16,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_11F_EventScript_1BEB58",
+ "flag": "457"
+ },
+ {
+ "graphics_id": "49",
+ "x": 2,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "SilphCo_11F_EventScript_161F57",
+ "flag": "83"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_10F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_7F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 13,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 5,
+ "y": 15,
+ "elevation": 3,
+ "var": "VAR_0x4060",
+ "var_value": 0,
+ "script": "SilphCo_11F_EventScript_161E88"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 15,
+ "elevation": 3,
+ "var": "VAR_0x4060",
+ "var_value": 0,
+ "script": "SilphCo_11F_EventScript_161E94"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 16,
+ "elevation": 3,
+ "script": "SilphCo_11F_EventScript_1A8B09"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 17,
+ "elevation": 3,
+ "script": "SilphCo_11F_EventScript_1A8B09"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 16,
+ "elevation": 3,
+ "script": "SilphCo_11F_EventScript_1A8B09"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 17,
+ "elevation": 3,
+ "script": "SilphCo_11F_EventScript_1A8B09"
+ },
+ {
+ "type": "hidden_item",
+ "x": 10,
+ "y": 18,
+ "elevation": 0,
+ "item": "ITEM_REVIVE",
+ "flag": "144",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 1,
+ "elevation": 0,
+ "script": "SilphCo_11F_EventScript_161F37"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SilphCo_11F/scripts.inc b/data/maps/SilphCo_11F/scripts.inc
new file mode 100644
index 000000000..0167964bb
--- /dev/null
+++ b/data/maps/SilphCo_11F/scripts.inc
@@ -0,0 +1,160 @@
+SilphCo_11F_MapScripts:: @ 8161DEE
+ map_script 1, SilphCo_11F_MapScript1_161DF4
+ .byte 0
+
+SilphCo_11F_MapScript1_161DF4:: @ 8161DF4
+ checkflag FLAG_0x28D
+ call_if 0, EventScript_1A8504
+ end
+
+SilphCo_11F_EventScript_161DFE:: @ 8161DFE
+ lock
+ faceplayer
+ checkflag FLAG_0x250
+ goto_if 1, EventScript_161E75
+ checkplayergender
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_161E59
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_161E62
+ checkitemspace ITEM_MASTER_BALL, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_161E6B
+ additem ITEM_MASTER_BALL, 1
+ loadword 0, gUnknown_8176FBD
+ setorcopyvar VAR_0x8000, 1
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ loadword 0, gUnknown_8176FEB
+ callstd 4
+ setflag FLAG_0x250
+ release
+ end
+
+EventScript_161E59:: @ 8161E59
+ loadword 0, gUnknown_8176E12
+ callstd 4
+ return
+
+EventScript_161E62:: @ 8161E62
+ loadword 0, gUnknown_8176EE7
+ callstd 4
+ return
+
+EventScript_161E6B:: @ 8161E6B
+ loadword 0, gUnknown_817708E
+ callstd 4
+ release
+ end
+
+EventScript_161E75:: @ 8161E75
+ loadword 0, gUnknown_8176FEB
+ callstd 4
+ release
+ end
+
+SilphCo_11F_EventScript_161E7F:: @ 8161E7F
+ loadword 0, gUnknown_81770A9
+ callstd 2
+ end
+
+SilphCo_11F_EventScript_161E88:: @ 8161E88
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_161EA0
+
+EventScript_161E93:: @ 8161E93
+ end
+
+SilphCo_11F_EventScript_161E94:: @ 8161E94
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_161EA0
+
+EventScript_161E9F:: @ 8161E9F
+ end
+
+EventScript_161EA0:: @ 8161EA0
+ textcolor 0
+ applymovement 3, Movement_1A75ED
+ waitmovement 0
+ delay 25
+ loadword 0, gUnknown_8177108
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_161F00
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_161F12
+ setvar VAR_LAST_TALKED, 3
+ trainerbattle 3, 349, 0, Text_1771AB
+ loadword 0, gUnknown_81771C2
+ callstd 4
+ closemessage
+ fadescreen 1
+ removeobject 3
+ removeobject 4
+ removeobject 6
+ fadescreen 0
+ setvar VAR_0x4060, 1
+ setflag FLAG_0x03E
+ clearflag FLAG_0x03F
+ releaseall
+ end
+
+EventScript_161F00:: @ 8161F00
+ applymovement 3, Movement_161F1D
+ applymovement 255, Movement_161F27
+ waitmovement 0
+ return
+
+EventScript_161F12:: @ 8161F12
+ applymovement 3, Movement_161F23
+ waitmovement 0
+ return
+
+Movement_161F1D:: @ 8161F1D
+ step_10
+ step_10
+ step_10
+ step_10
+ step_2f
+ step_end
+
+Movement_161F23:: @ 8161F23
+ step_10
+ step_10
+ step_10
+ step_end
+
+Movement_161F27:: @ 8161F27
+ step_1c
+ step_1c
+ step_1c
+ step_1b
+ step_1a
+ step_30
+ step_end
+
+EventScript_161F2E:: @ 8161F2E
+ loadword 0, gUnknown_817732B
+ callstd 3
+ end
+
+SilphCo_11F_EventScript_161F37:: @ 8161F37
+ loadword 0, gUnknown_817734A
+ callstd 3
+ end
+
+SilphCo_11F_EventScript_161F40:: @ 8161F40
+ trainerbattle 0, 390, 0, Text_1772B8, Text_1772E7
+ loadword 0, gUnknown_81772F9
+ callstd 6
+ end
+
+SilphCo_11F_EventScript_161F57:: @ 8161F57
+ trainerbattle 0, 391, 0, Text_17726A, Text_17728C
+ loadword 0, gUnknown_817729B
+ callstd 6
+ end
diff --git a/data/maps/SilphCo_1F/map.json b/data/maps/SilphCo_1F/map.json
new file mode 100644
index 000000000..5cf3e4082
--- /dev/null
+++ b/data/maps/SilphCo_1F/map.json
@@ -0,0 +1,77 @@
+{
+ "id": "MAP_SILPH_CO_1F",
+ "name": "SilphCo_1F",
+ "layout": "LAYOUT_SILPH_CO_1F",
+ "music": "BGM_FRLG_SILPH",
+ "region_map_section": "MAPSEC_SILPH_CO",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 1,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "48",
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_1F_EventScript_16162F",
+ "flag": "63"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 21,
+ "elevation": 0,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 8,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 31,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_2F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 22,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 30,
+ "y": 1,
+ "elevation": 0,
+ "script": "SilphCo_1F_EventScript_161638"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SilphCo_1F/scripts.inc b/data/maps/SilphCo_1F/scripts.inc
new file mode 100644
index 000000000..2fffdc782
--- /dev/null
+++ b/data/maps/SilphCo_1F/scripts.inc
@@ -0,0 +1,17 @@
+SilphCo_1F_MapScripts:: @ 8161625
+ map_script 3, SilphCo_1F_MapScript1_16162B
+ .byte 0
+
+SilphCo_1F_MapScript1_16162B:: @ 816162B
+ setworldmapflag 2220
+ end
+
+SilphCo_1F_EventScript_16162F:: @ 816162F
+ loadword 0, gUnknown_81754F7
+ callstd 2
+ end
+
+SilphCo_1F_EventScript_161638:: @ 8161638
+ loadword 0, gUnknown_8175549
+ callstd 3
+ end
diff --git a/data/maps/SilphCo_2F/map.json b/data/maps/SilphCo_2F/map.json
new file mode 100644
index 000000000..5e1d73414
--- /dev/null
+++ b/data/maps/SilphCo_2F/map.json
@@ -0,0 +1,208 @@
+{
+ "id": "MAP_SILPH_CO_2F",
+ "name": "SilphCo_2F",
+ "layout": "LAYOUT_SILPH_CO_2F",
+ "music": "BGM_FRLG_SILPH",
+ "region_map_section": "MAPSEC_SILPH_CO",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 2,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 29,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "SilphCo_2F_EventScript_1616AE",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "55",
+ "x": 28,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "15",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "SilphCo_2F_EventScript_161680",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "49",
+ "x": 20,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "13",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SilphCo_2F_EventScript_161697",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "55",
+ "x": 5,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_2F_EventScript_161669",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "28",
+ "x": 10,
+ "y": 4,
+ "elevation": 0,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_2F_EventScript_16165A",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 28,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_3F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 2,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_3F",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_8F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 30,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 7,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_6F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 33,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_8F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 22,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 8,
+ "elevation": 0,
+ "script": "SilphCo_2F_EventScript_1A891B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 8,
+ "elevation": 0,
+ "script": "SilphCo_2F_EventScript_1A891B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 9,
+ "elevation": 0,
+ "script": "SilphCo_2F_EventScript_1A891B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 9,
+ "elevation": 0,
+ "script": "SilphCo_2F_EventScript_1A891B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 15,
+ "elevation": 0,
+ "script": "SilphCo_2F_EventScript_1A8935"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 15,
+ "elevation": 0,
+ "script": "SilphCo_2F_EventScript_1A8935"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 16,
+ "elevation": 0,
+ "script": "SilphCo_2F_EventScript_1A8935"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 16,
+ "elevation": 0,
+ "script": "SilphCo_2F_EventScript_1A8935"
+ },
+ {
+ "type": "hidden_item",
+ "x": 11,
+ "y": 21,
+ "elevation": 0,
+ "item": "POCKET_KEY_ITEMS",
+ "flag": "135",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 29,
+ "y": 1,
+ "elevation": 0,
+ "script": "SilphCo_2F_EventScript_161660"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SilphCo_2F/scripts.inc b/data/maps/SilphCo_2F/scripts.inc
new file mode 100644
index 000000000..1c9046768
--- /dev/null
+++ b/data/maps/SilphCo_2F/scripts.inc
@@ -0,0 +1,45 @@
+SilphCo_2F_MapScripts:: @ 8161641
+ map_script 1, SilphCo_2F_MapScript1_161647
+ .byte 0
+
+SilphCo_2F_MapScript1_161647:: @ 8161647
+ checkflag FLAG_0x27A
+ call_if 0, EventScript_1A8149
+ checkflag FLAG_0x27B
+ call_if 0, EventScript_1A8177
+ end
+
+SilphCo_2F_EventScript_16165A:: @ 816165A
+ goto EventScript_1C4816
+
+EventScript_16165F:: @ 816165F
+ end
+
+SilphCo_2F_EventScript_161660:: @ 8161660
+ loadword 0, gUnknown_8175894
+ callstd 3
+ end
+
+SilphCo_2F_EventScript_161669:: @ 8161669
+ trainerbattle 0, 336, 0, Text_175562, Text_17557E
+ loadword 0, gUnknown_817559F
+ callstd 6
+ end
+
+SilphCo_2F_EventScript_161680:: @ 8161680
+ trainerbattle 0, 337, 0, Text_1755C6, Text_1755E5
+ loadword 0, gUnknown_81755F2
+ callstd 6
+ end
+
+SilphCo_2F_EventScript_161697:: @ 8161697
+ trainerbattle 0, 373, 0, Text_17562D, Text_17564A
+ loadword 0, gUnknown_8175651
+ callstd 6
+ end
+
+SilphCo_2F_EventScript_1616AE:: @ 81616AE
+ trainerbattle 0, 374, 0, Text_1756AD, Text_1756D8
+ loadword 0, gUnknown_81756E2
+ callstd 6
+ end
diff --git a/data/maps/SilphCo_3F/map.json b/data/maps/SilphCo_3F/map.json
new file mode 100644
index 000000000..e1466fec7
--- /dev/null
+++ b/data/maps/SilphCo_3F/map.json
@@ -0,0 +1,216 @@
+{
+ "id": "MAP_SILPH_CO_3F",
+ "name": "SilphCo_3F",
+ "layout": "LAYOUT_SILPH_CO_3F",
+ "music": "BGM_FRLG_SILPH",
+ "region_map_section": "MAPSEC_SILPH_CO",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 3,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 25,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SilphCo_3F_EventScript_16171F",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "47",
+ "x": 31,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_3F_EventScript_1616DE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 4,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_3F_EventScript_161708",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "92",
+ "x": 8,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_3F_EventScript_1BE866",
+ "flag": "396"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 28,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_5F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 13,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_7F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 30,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_4F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 2,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_9F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 3,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_5F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 29,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_3F",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 32,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_3F",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 33,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 22,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 10,
+ "y": 12,
+ "elevation": 3,
+ "script": "SilphCo_3F_EventScript_1A894F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 10,
+ "y": 13,
+ "elevation": 3,
+ "script": "SilphCo_3F_EventScript_1A894F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 21,
+ "y": 12,
+ "elevation": 3,
+ "script": "SilphCo_3F_EventScript_1A8969"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 21,
+ "y": 13,
+ "elevation": 3,
+ "script": "SilphCo_3F_EventScript_1A8969"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 12,
+ "elevation": 3,
+ "script": "SilphCo_3F_EventScript_1A894F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 13,
+ "elevation": 3,
+ "script": "SilphCo_3F_EventScript_1A894F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 20,
+ "y": 12,
+ "elevation": 3,
+ "script": "SilphCo_3F_EventScript_1A8969"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 20,
+ "y": 13,
+ "elevation": 3,
+ "script": "SilphCo_3F_EventScript_1A8969"
+ },
+ {
+ "type": "hidden_item",
+ "x": 34,
+ "y": 18,
+ "elevation": 0,
+ "item": "ITEM_PROTEIN",
+ "flag": "136",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 29,
+ "y": 1,
+ "elevation": 0,
+ "script": "SilphCo_3F_EventScript_1616FF"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SilphCo_3F/scripts.inc b/data/maps/SilphCo_3F/scripts.inc
new file mode 100644
index 000000000..3575a73f9
--- /dev/null
+++ b/data/maps/SilphCo_3F/scripts.inc
@@ -0,0 +1,43 @@
+SilphCo_3F_MapScripts:: @ 81616C5
+ map_script 1, SilphCo_3F_MapScript1_1616CB
+ .byte 0
+
+SilphCo_3F_MapScript1_1616CB:: @ 81616CB
+ checkflag FLAG_0x27C
+ call_if 0, EventScript_1A81A5
+ checkflag FLAG_0x27D
+ call_if 0, EventScript_1A81DC
+ end
+
+SilphCo_3F_EventScript_1616DE:: @ 81616DE
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_1616F5
+ loadword 0, gUnknown_81758AD
+ callstd 4
+ release
+ end
+
+EventScript_1616F5:: @ 81616F5
+ loadword 0, gUnknown_81758D3
+ callstd 4
+ release
+ end
+
+SilphCo_3F_EventScript_1616FF:: @ 81616FF
+ loadword 0, gUnknown_81759DC
+ callstd 3
+ end
+
+SilphCo_3F_EventScript_161708:: @ 8161708
+ trainerbattle 0, 338, 0, Text_175948, Text_17597D
+ loadword 0, gUnknown_8175990
+ callstd 6
+ end
+
+SilphCo_3F_EventScript_16171F:: @ 816171F
+ trainerbattle 0, 375, 0, Text_1758F6, Text_175911
+ loadword 0, gUnknown_817591C
+ callstd 6
+ end
diff --git a/data/maps/SilphCo_4F/map.json b/data/maps/SilphCo_4F/map.json
new file mode 100644
index 000000000..080c7162a
--- /dev/null
+++ b/data/maps/SilphCo_4F/map.json
@@ -0,0 +1,247 @@
+{
+ "id": "MAP_SILPH_CO_4F",
+ "name": "SilphCo_4F",
+ "layout": "LAYOUT_SILPH_CO_4F",
+ "music": "BGM_FRLG_SILPH",
+ "region_map_section": "MAPSEC_SILPH_CO",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 4,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 33,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SilphCo_4F_EventScript_1617A7",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "49",
+ "x": 10,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "SilphCo_4F_EventScript_161790",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "55",
+ "x": 14,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SilphCo_4F_EventScript_161779",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "47",
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_4F_EventScript_16174F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 3,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_4F_EventScript_1BE873",
+ "flag": "397"
+ },
+ {
+ "graphics_id": "92",
+ "x": 4,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_4F_EventScript_1BE880",
+ "flag": "398"
+ },
+ {
+ "graphics_id": "92",
+ "x": 2,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_4F_EventScript_1BE88D",
+ "flag": "399"
+ },
+ {
+ "graphics_id": "92",
+ "x": 30,
+ "y": 18,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_4F_EventScript_1BEE09",
+ "flag": "510"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 28,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_5F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 18,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_6F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 30,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_3F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 12,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_10F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_10F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 18,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_10F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 22,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 16,
+ "elevation": 0,
+ "script": "SilphCo_4F_EventScript_1A8983"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 16,
+ "elevation": 0,
+ "script": "SilphCo_4F_EventScript_1A8983"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 17,
+ "elevation": 0,
+ "script": "SilphCo_4F_EventScript_1A8983"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 17,
+ "elevation": 0,
+ "script": "SilphCo_4F_EventScript_1A8983"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 15,
+ "y": 11,
+ "elevation": 0,
+ "script": "SilphCo_4F_EventScript_1A899D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 14,
+ "y": 11,
+ "elevation": 0,
+ "script": "SilphCo_4F_EventScript_1A899D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 14,
+ "y": 12,
+ "elevation": 0,
+ "script": "SilphCo_4F_EventScript_1A899D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 15,
+ "y": 12,
+ "elevation": 0,
+ "script": "SilphCo_4F_EventScript_1A899D"
+ },
+ {
+ "type": "hidden_item",
+ "x": 35,
+ "y": 20,
+ "elevation": 0,
+ "item": "ITEM_IRON",
+ "flag": "137",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 29,
+ "y": 1,
+ "elevation": 0,
+ "script": "SilphCo_4F_EventScript_161770"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SilphCo_4F/scripts.inc b/data/maps/SilphCo_4F/scripts.inc
new file mode 100644
index 000000000..ce3ecaa70
--- /dev/null
+++ b/data/maps/SilphCo_4F/scripts.inc
@@ -0,0 +1,49 @@
+SilphCo_4F_MapScripts:: @ 8161736
+ map_script 1, SilphCo_4F_MapScript1_16173C
+ .byte 0
+
+SilphCo_4F_MapScript1_16173C:: @ 816173C
+ checkflag FLAG_0x27E
+ call_if 0, EventScript_1A8213
+ checkflag FLAG_0x27F
+ call_if 0, EventScript_1A8241
+ end
+
+SilphCo_4F_EventScript_16174F:: @ 816174F
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_161766
+ loadword 0, gUnknown_81759F5
+ callstd 4
+ release
+ end
+
+EventScript_161766:: @ 8161766
+ loadword 0, gUnknown_8175A15
+ callstd 4
+ release
+ end
+
+SilphCo_4F_EventScript_161770:: @ 8161770
+ loadword 0, gUnknown_8175B57
+ callstd 3
+ end
+
+SilphCo_4F_EventScript_161779:: @ 8161779
+ trainerbattle 0, 339, 0, Text_175A90, Text_175AB0
+ loadword 0, gUnknown_8175AC8
+ callstd 6
+ end
+
+SilphCo_4F_EventScript_161790:: @ 8161790
+ trainerbattle 0, 376, 0, Text_175A2F, Text_175A5B
+ loadword 0, gUnknown_8175A62
+ callstd 6
+ end
+
+SilphCo_4F_EventScript_1617A7:: @ 81617A7
+ trainerbattle 0, 377, 0, Text_175B19, Text_175B2B
+ loadword 0, gUnknown_8175B38
+ callstd 6
+ end
diff --git a/data/maps/SilphCo_5F/map.json b/data/maps/SilphCo_5F/map.json
new file mode 100644
index 000000000..3ad8ee8df
--- /dev/null
+++ b/data/maps/SilphCo_5F/map.json
@@ -0,0 +1,318 @@
+{
+ "id": "MAP_SILPH_CO_5F",
+ "name": "SilphCo_5F",
+ "layout": "LAYOUT_SILPH_CO_5F",
+ "music": "BGM_FRLG_SILPH",
+ "region_map_section": "MAPSEC_SILPH_CO",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 5,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 35,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SilphCo_5F_EventScript_161853",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "26",
+ "x": 23,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "13",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "SilphCo_5F_EventScript_16186A",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "47",
+ "x": 16,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_5F_EventScript_1617E0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 11,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SilphCo_5F_EventScript_161825",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "49",
+ "x": 9,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "16",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SilphCo_5F_EventScript_16183C",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "92",
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_5F_EventScript_1BE89A",
+ "flag": "400"
+ },
+ {
+ "graphics_id": "92",
+ "x": 1,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_5F_EventScript_1BE8A7",
+ "flag": "401"
+ },
+ {
+ "graphics_id": "92",
+ "x": 22,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_5F_EventScript_1BE8B4",
+ "flag": "402"
+ },
+ {
+ "graphics_id": "55",
+ "x": 2,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "28",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_5F_EventScript_1AD0D4",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 28,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_4F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 15,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_3F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 30,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_6F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 10,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_9F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_3F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 33,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_7F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 22,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 13,
+ "y": 16,
+ "elevation": 0,
+ "item": "ITEM_ELIXIR",
+ "flag": "24",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_1A89B7"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 10,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_1A89B7"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 18,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_1A89D1"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 19,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_1A89D1"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 19,
+ "y": 13,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_1A89EB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 19,
+ "y": 14,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_1A89EB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 9,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_1A89B7"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 10,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_1A89B7"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 19,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_1A89D1"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 18,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_1A89D1"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 18,
+ "y": 13,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_1A89EB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 18,
+ "y": 14,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_1A89EB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 28,
+ "y": 11,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_161813"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 30,
+ "y": 13,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_16180A"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 25,
+ "y": 15,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_161801"
+ },
+ {
+ "type": "hidden_item",
+ "x": 32,
+ "y": 9,
+ "elevation": 0,
+ "item": "ITEM_PP_UP",
+ "flag": "138",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 29,
+ "y": 1,
+ "elevation": 0,
+ "script": "SilphCo_5F_EventScript_16181C"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SilphCo_5F/scripts.inc b/data/maps/SilphCo_5F/scripts.inc
new file mode 100644
index 000000000..df816db5e
--- /dev/null
+++ b/data/maps/SilphCo_5F/scripts.inc
@@ -0,0 +1,72 @@
+SilphCo_5F_MapScripts:: @ 81617BE
+ map_script 1, SilphCo_5F_MapScript1_1617C4
+ .byte 0
+
+SilphCo_5F_MapScript1_1617C4:: @ 81617C4
+ checkflag FLAG_0x280
+ call_if 0, EventScript_1A826F
+ checkflag FLAG_0x281
+ call_if 0, EventScript_1A82A6
+ checkflag FLAG_0x282
+ call_if 0, EventScript_1A82DD
+ end
+
+SilphCo_5F_EventScript_1617E0:: @ 81617E0
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_1617F7
+ loadword 0, gUnknown_8175B70
+ callstd 4
+ release
+ end
+
+EventScript_1617F7:: @ 81617F7
+ loadword 0, gUnknown_8175BB3
+ callstd 4
+ release
+ end
+
+SilphCo_5F_EventScript_161801:: @ 8161801
+ loadword 0, gUnknown_8175D89
+ callstd 3
+ end
+
+SilphCo_5F_EventScript_16180A:: @ 816180A
+ loadword 0, gUnknown_8175DE0
+ callstd 3
+ end
+
+SilphCo_5F_EventScript_161813:: @ 8161813
+ loadword 0, gUnknown_8175E28
+ callstd 3
+ end
+
+SilphCo_5F_EventScript_16181C:: @ 816181C
+ loadword 0, gUnknown_8175E80
+ callstd 3
+ end
+
+SilphCo_5F_EventScript_161825:: @ 8161825
+ trainerbattle 0, 340, 0, Text_175C40, Text_175C6D
+ loadword 0, gUnknown_8175C7D
+ callstd 6
+ end
+
+SilphCo_5F_EventScript_16183C:: @ 816183C
+ trainerbattle 0, 378, 0, Text_175BE5, Text_175C09
+ loadword 0, gUnknown_8175C0F
+ callstd 6
+ end
+
+SilphCo_5F_EventScript_161853:: @ 8161853
+ trainerbattle 0, 379, 0, Text_175D28, Text_175D4B
+ loadword 0, gUnknown_8175D59
+ callstd 6
+ end
+
+SilphCo_5F_EventScript_16186A:: @ 816186A
+ trainerbattle 0, 286, 0, Text_175CBD, Text_175CEB
+ loadword 0, gUnknown_8175CF9
+ callstd 6
+ end
diff --git a/data/maps/SilphCo_6F/map.json b/data/maps/SilphCo_6F/map.json
new file mode 100644
index 000000000..c1db9b3c1
--- /dev/null
+++ b/data/maps/SilphCo_6F/map.json
@@ -0,0 +1,231 @@
+{
+ "id": "MAP_SILPH_CO_6F",
+ "name": "SilphCo_6F",
+ "layout": "LAYOUT_SILPH_CO_6F",
+ "music": "BGM_FRLG_SILPH",
+ "region_map_section": "MAPSEC_SILPH_CO",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 6,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 21,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SilphCo_6F_EventScript_161956",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "47",
+ "x": 23,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_6F_EventScript_1618D3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "48",
+ "x": 24,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_6F_EventScript_1618F4",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 22,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_6F_EventScript_161891",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 14,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_6F_EventScript_1618B2",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "48",
+ "x": 16,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_6F_EventScript_161915",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 9,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "SilphCo_6F_EventScript_16193F",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "92",
+ "x": 2,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_6F_EventScript_1BE8C1",
+ "flag": "403"
+ },
+ {
+ "graphics_id": "92",
+ "x": 1,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_6F_EventScript_1BE8CE",
+ "flag": "404"
+ },
+ {
+ "graphics_id": "49",
+ "x": 18,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SilphCo_6F_EventScript_16196D",
+ "flag": "83"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 14,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_7F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 29,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_2F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 26,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_5F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 2,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_4F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 20,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 15,
+ "elevation": 0,
+ "script": "SilphCo_6F_EventScript_1A8A05"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 16,
+ "elevation": 0,
+ "script": "SilphCo_6F_EventScript_1A8A05"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 15,
+ "elevation": 0,
+ "script": "SilphCo_6F_EventScript_1A8A05"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 16,
+ "elevation": 0,
+ "script": "SilphCo_6F_EventScript_1A8A05"
+ },
+ {
+ "type": "hidden_item",
+ "x": 1,
+ "y": 8,
+ "elevation": 0,
+ "item": "ITEM_CARBOS",
+ "flag": "139",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 25,
+ "y": 1,
+ "elevation": 0,
+ "script": "SilphCo_6F_EventScript_161936"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SilphCo_6F/scripts.inc b/data/maps/SilphCo_6F/scripts.inc
new file mode 100644
index 000000000..013d2e129
--- /dev/null
+++ b/data/maps/SilphCo_6F/scripts.inc
@@ -0,0 +1,111 @@
+SilphCo_6F_MapScripts:: @ 8161881
+ map_script 1, SilphCo_6F_MapScript1_161887
+ .byte 0
+
+SilphCo_6F_MapScript1_161887:: @ 8161887
+ checkflag FLAG_0x283
+ call_if 0, EventScript_1A8314
+ end
+
+SilphCo_6F_EventScript_161891:: @ 8161891
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_1618A8
+ loadword 0, gUnknown_817607E
+ callstd 4
+ release
+ end
+
+EventScript_1618A8:: @ 81618A8
+ loadword 0, gUnknown_81760B6
+ callstd 4
+ release
+ end
+
+SilphCo_6F_EventScript_1618B2:: @ 81618B2
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_1618C9
+ loadword 0, gUnknown_8175F24
+ callstd 4
+ release
+ end
+
+EventScript_1618C9:: @ 81618C9
+ loadword 0, gUnknown_8175F51
+ callstd 4
+ release
+ end
+
+SilphCo_6F_EventScript_1618D3:: @ 81618D3
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_1618EA
+ loadword 0, gUnknown_8175F70
+ callstd 4
+ release
+ end
+
+EventScript_1618EA:: @ 81618EA
+ loadword 0, gUnknown_8175F93
+ callstd 4
+ release
+ end
+
+SilphCo_6F_EventScript_1618F4:: @ 81618F4
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_16190B
+ loadword 0, gUnknown_8175FAA
+ callstd 4
+ release
+ end
+
+EventScript_16190B:: @ 816190B
+ loadword 0, gUnknown_8175FD3
+ callstd 4
+ release
+ end
+
+SilphCo_6F_EventScript_161915:: @ 8161915
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_16192C
+ loadword 0, gUnknown_8176012
+ callstd 4
+ release
+ end
+
+EventScript_16192C:: @ 816192C
+ loadword 0, gUnknown_817604B
+ callstd 4
+ release
+ end
+
+SilphCo_6F_EventScript_161936:: @ 8161936
+ loadword 0, gUnknown_817624D
+ callstd 3
+ end
+
+SilphCo_6F_EventScript_16193F:: @ 816193F
+ trainerbattle 0, 341, 0, Text_176136, Text_1761BD
+ loadword 0, gUnknown_81761C4
+ callstd 6
+ end
+
+SilphCo_6F_EventScript_161956:: @ 8161956
+ trainerbattle 0, 380, 0, Text_1760DE, Text_176104
+ loadword 0, gUnknown_817610F
+ callstd 6
+ end
+
+SilphCo_6F_EventScript_16196D:: @ 816196D
+ trainerbattle 0, 381, 0, Text_1761F1, Text_17620E
+ loadword 0, gUnknown_817621B
+ callstd 6
+ end
diff --git a/data/maps/SilphCo_7F/map.json b/data/maps/SilphCo_7F/map.json
new file mode 100644
index 000000000..575558327
--- /dev/null
+++ b/data/maps/SilphCo_7F/map.json
@@ -0,0 +1,326 @@
+{
+ "id": "MAP_SILPH_CO_7F",
+ "name": "SilphCo_7F",
+ "layout": "LAYOUT_SILPH_CO_7F",
+ "music": "BGM_FRLG_SILPH",
+ "region_map_section": "MAPSEC_SILPH_CO",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 7,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "72",
+ "x": 2,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "78"
+ },
+ {
+ "graphics_id": "47",
+ "x": 0,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_7F_EventScript_161AC8",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "49",
+ "x": 24,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "SilphCo_7F_EventScript_161C1A",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "49",
+ "x": 24,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SilphCo_7F_EventScript_161C31",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "49",
+ "x": 13,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SilphCo_7F_EventScript_161C48",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "48",
+ "x": 10,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_7F_EventScript_161BD9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 13,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_7F_EventScript_161B97",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "47",
+ "x": 9,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "27",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_7F_EventScript_161BB8",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 3,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SilphCo_7F_EventScript_161C03",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "92",
+ "x": 0,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_7F_EventScript_1BE8DB",
+ "flag": "405"
+ },
+ {
+ "graphics_id": "92",
+ "x": 30,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_7F_EventScript_1BE8E8",
+ "flag": "406"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 19,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_6F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_11F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 25,
+ "y": 17,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_5F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 27,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_8F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_3F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 23,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 2,
+ "y": 4,
+ "elevation": 3,
+ "var": "VAR_0x405C",
+ "var_value": 0,
+ "script": "SilphCo_7F_EventScript_1619BC"
+ },
+ {
+ "type": "trigger",
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x405C",
+ "var_value": 0,
+ "script": "SilphCo_7F_EventScript_1619C8"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 8,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_1A8A1F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 8,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_1A8A1F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 11,
+ "y": 9,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_1A8A1F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 9,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_1A8A1F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 24,
+ "y": 7,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_1A8A39"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 25,
+ "y": 7,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_1A8A39"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 25,
+ "y": 8,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_1A8A39"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 24,
+ "y": 8,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_1A8A39"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 25,
+ "y": 13,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_1A8A53"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 26,
+ "y": 13,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_1A8A53"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 25,
+ "y": 14,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_1A8A53"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 26,
+ "y": 14,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_1A8A53"
+ },
+ {
+ "type": "hidden_item",
+ "x": 22,
+ "y": 11,
+ "elevation": 0,
+ "item": "ITEM_ZINC",
+ "flag": "140",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 20,
+ "y": 1,
+ "elevation": 0,
+ "script": "SilphCo_7F_EventScript_161BFA"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SilphCo_7F/scripts.inc b/data/maps/SilphCo_7F/scripts.inc
new file mode 100644
index 000000000..b1ec6b6b6
--- /dev/null
+++ b/data/maps/SilphCo_7F/scripts.inc
@@ -0,0 +1,282 @@
+SilphCo_7F_MapScripts:: @ 8161984
+ map_script 1, SilphCo_7F_MapScript1_16198F
+ map_script 3, SilphCo_7F_MapScript2_1619AB
+ .byte 0
+
+SilphCo_7F_MapScript1_16198F:: @ 816198F
+ checkflag FLAG_0x284
+ call_if 0, EventScript_1A834B
+ checkflag FLAG_0x285
+ call_if 0, EventScript_1A8379
+ checkflag FLAG_0x286
+ call_if 0, EventScript_1A83A7
+ end
+
+SilphCo_7F_MapScript2_1619AB:: @ 81619AB
+ compare_var_to_value VAR_0x4060, 1
+ call_if 4, EventScript_1619B7
+ end
+
+EventScript_1619B7:: @ 81619B7
+ setobjectmovementtype 8, 7
+ return
+
+SilphCo_7F_EventScript_1619BC:: @ 81619BC
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_1619D4
+
+EventScript_1619C7:: @ 81619C7
+ end
+
+SilphCo_7F_EventScript_1619C8:: @ 81619C8
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_1619D4
+
+EventScript_1619D3:: @ 81619D3
+ end
+
+EventScript_1619D4:: @ 81619D4
+ textcolor 0
+ playbgm BGM_FRLG_RIVAL, 0
+ applymovement 1, Movement_1A75DB
+ waitmovement 0
+ applymovement 255, Movement_1A75ED
+ applymovement 1, Movement_1A75DD
+ waitmovement 0
+ loadword 0, gUnknown_8176710
+ callstd 4
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_161A73
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_161A7F
+ loadword 0, gUnknown_8176727
+ callstd 4
+ setvar VAR_LAST_TALKED, 1
+ compare_var_to_value VAR_STARTER_MON, 2
+ call_if 1, EventScript_161A80
+ compare_var_to_value VAR_STARTER_MON, 1
+ call_if 1, EventScript_161A8B
+ compare_var_to_value VAR_STARTER_MON, 0
+ call_if 1, EventScript_161A96
+ loadword 0, gUnknown_8176827
+ callstd 4
+ closemessage
+ playbgm BGM_FRLG_RIVAL_POSTBATTLE, 0
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_161AA1
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_161AAC
+ playse SE_FU_ZUZUZU
+ fadedefaultbgm
+ removeobject 1
+ waitse
+ setvar VAR_0x405C, 1
+ releaseall
+ end
+
+EventScript_161A73:: @ 8161A73
+ closemessage
+ applymovement 1, Movement_161AB7
+ waitmovement 0
+ return
+
+EventScript_161A7F:: @ 8161A7F
+ return
+
+EventScript_161A80:: @ 8161A80
+ trainerbattle 3, 432, 0, Text_1767D0
+ return
+
+EventScript_161A8B:: @ 8161A8B
+ trainerbattle 3, 433, 0, Text_1767D0
+ return
+
+EventScript_161A96:: @ 8161A96
+ trainerbattle 3, 434, 0, Text_1767D0
+ return
+
+EventScript_161AA1:: @ 8161AA1
+ applymovement 1, Movement_161AB9
+ waitmovement 0
+ return
+
+EventScript_161AAC:: @ 8161AAC
+ applymovement 1, Movement_161ABF
+ waitmovement 0
+ return
+
+Movement_161AB7:: @ 8161AB7
+ step_11
+ step_end
+
+Movement_161AB9:: @ 8161AB9
+ step_13
+ step_13
+ step_13
+ step_11
+ step_1c
+ step_end
+
+Movement_161ABF:: @ 8161ABF
+ step_12
+ step_11
+ step_11
+ step_13
+ step_13
+ step_13
+ step_13
+ step_1c
+ step_end
+
+SilphCo_7F_EventScript_161AC8:: @ 8161AC8
+ lock
+ faceplayer
+ checkflag FLAG_0x246
+ goto_if 1, EventScript_161B8D
+ loadword 0, gUnknown_8176266
+ callstd 4
+ setvar VAR_0x4001, 131
+ givemon SPECIES_LAPRAS, 25, ITEM_NONE, 0, 0, 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_161B12
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_161B45
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A927C
+ release
+ end
+
+EventScript_161B12:: @ 8161B12
+ textcolor 3
+ playfanfare MUS_FANFA1
+ message Text_1762D7
+ waitmessage
+ waitfanfare
+ getspeciesname 0, SPECIES_LAPRAS
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_161B7E
+ call EventScript_1A8C27
+ call EventScript_1A74EB
+ goto EventScript_161B7E
+
+EventScript_161B44:: @ 8161B44
+ end
+
+EventScript_161B45:: @ 8161B45
+ textcolor 3
+ playfanfare MUS_FANFA1
+ message Text_1762D7
+ waitmessage
+ waitfanfare
+ getspeciesname 0, SPECIES_LAPRAS
+ loadword 0, gUnknown_81A56A7
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_161B73
+ call EventScript_1A8C33
+ goto EventScript_161B73
+
+EventScript_161B72:: @ 8161B72
+ end
+
+EventScript_161B73:: @ 8161B73
+ call EventScript_1A8C3C
+ goto EventScript_161B7E
+
+EventScript_161B7D:: @ 8161B7D
+ end
+
+EventScript_161B7E:: @ 8161B7E
+ textcolor 0
+ loadword 0, gUnknown_8176305
+ callstd 4
+ setflag FLAG_0x246
+ release
+ end
+
+EventScript_161B8D:: @ 8161B8D
+ loadword 0, gUnknown_81763DD
+ callstd 4
+ release
+ end
+
+SilphCo_7F_EventScript_161B97:: @ 8161B97
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_161BAE
+ loadword 0, gUnknown_8176444
+ callstd 4
+ release
+ end
+
+EventScript_161BAE:: @ 8161BAE
+ loadword 0, gUnknown_8176486
+ callstd 4
+ release
+ end
+
+SilphCo_7F_EventScript_161BB8:: @ 8161BB8
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_161BCF
+ loadword 0, gUnknown_81764C2
+ callstd 4
+ release
+ end
+
+EventScript_161BCF:: @ 8161BCF
+ loadword 0, gUnknown_8176501
+ callstd 4
+ release
+ end
+
+SilphCo_7F_EventScript_161BD9:: @ 8161BD9
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_161BF0
+ loadword 0, gUnknown_8176532
+ callstd 4
+ release
+ end
+
+EventScript_161BF0:: @ 8161BF0
+ loadword 0, gUnknown_8176573
+ callstd 4
+ release
+ end
+
+SilphCo_7F_EventScript_161BFA:: @ 8161BFA
+ loadword 0, gUnknown_8176954
+ callstd 3
+ end
+
+SilphCo_7F_EventScript_161C03:: @ 8161C03
+ trainerbattle 0, 342, 0, Text_1765E2, Text_17660C
+ loadword 0, gUnknown_8176616
+ callstd 6
+ end
+
+SilphCo_7F_EventScript_161C1A:: @ 8161C1A
+ trainerbattle 0, 383, 0, Text_176643, Text_176669
+ loadword 0, gUnknown_8176681
+ callstd 6
+ end
+
+SilphCo_7F_EventScript_161C31:: @ 8161C31
+ trainerbattle 0, 384, 0, Text_1766B3, Text_1766D7
+ loadword 0, gUnknown_81766E5
+ callstd 6
+ end
+
+SilphCo_7F_EventScript_161C48:: @ 8161C48
+ trainerbattle 0, 385, 0, Text_176586, Text_1765A5
+ loadword 0, gUnknown_81765B1
+ callstd 6
+ end
diff --git a/data/maps/SilphCo_8F/map.json b/data/maps/SilphCo_8F/map.json
new file mode 100644
index 000000000..763c9284b
--- /dev/null
+++ b/data/maps/SilphCo_8F/map.json
@@ -0,0 +1,193 @@
+{
+ "id": "MAP_SILPH_CO_8F",
+ "name": "SilphCo_8F",
+ "layout": "LAYOUT_SILPH_CO_8F",
+ "music": "BGM_FRLG_SILPH",
+ "region_map_section": "MAPSEC_SILPH_CO",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 8,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 28,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "SilphCo_8F_EventScript_161CB0",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "49",
+ "x": 10,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "SilphCo_8F_EventScript_161CC7",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "55",
+ "x": 9,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SilphCo_8F_EventScript_161C99",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "47",
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_8F_EventScript_161C6F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 24,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_8F_EventScript_1BEB4B",
+ "flag": "456"
+ },
+ {
+ "graphics_id": "55",
+ "x": 29,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_8F_EventScript_1AD0ED",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 16,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_9F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_8F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 10,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_2F",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 28,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_7F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 2,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_8F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 2,
+ "y": 17,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_2F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 22,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 10,
+ "elevation": 0,
+ "script": "SilphCo_8F_EventScript_1A8A6D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 11,
+ "elevation": 0,
+ "script": "SilphCo_8F_EventScript_1A8A6D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 11,
+ "elevation": 0,
+ "script": "SilphCo_8F_EventScript_1A8A6D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 10,
+ "elevation": 0,
+ "script": "SilphCo_8F_EventScript_1A8A6D"
+ },
+ {
+ "type": "hidden_item",
+ "x": 29,
+ "y": 10,
+ "elevation": 0,
+ "item": "ITEM_NUGGET",
+ "flag": "141",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 27,
+ "y": 1,
+ "elevation": 0,
+ "script": "SilphCo_8F_EventScript_161C90"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SilphCo_8F/scripts.inc b/data/maps/SilphCo_8F/scripts.inc
new file mode 100644
index 000000000..d8e3f18b6
--- /dev/null
+++ b/data/maps/SilphCo_8F/scripts.inc
@@ -0,0 +1,47 @@
+SilphCo_8F_MapScripts:: @ 8161C5F
+ map_script 1, SilphCo_8F_MapScript1_161C65
+ .byte 0
+
+SilphCo_8F_MapScript1_161C65:: @ 8161C65
+ checkflag FLAG_0x287
+ call_if 0, EventScript_1A83D5
+ end
+
+SilphCo_8F_EventScript_161C6F:: @ 8161C6F
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_161C86
+ loadword 0, gUnknown_817696D
+ callstd 4
+ release
+ end
+
+EventScript_161C86:: @ 8161C86
+ loadword 0, gUnknown_817698C
+ callstd 4
+ release
+ end
+
+SilphCo_8F_EventScript_161C90:: @ 8161C90
+ loadword 0, gUnknown_8176AB2
+ callstd 3
+ end
+
+SilphCo_8F_EventScript_161C99:: @ 8161C99
+ trainerbattle 0, 343, 0, Text_1769FD, Text_176A19
+ loadword 0, gUnknown_8176A26
+ callstd 6
+ end
+
+SilphCo_8F_EventScript_161CB0:: @ 8161CB0
+ trainerbattle 0, 382, 0, Text_1769A2, Text_1769BE
+ loadword 0, gUnknown_81769CF
+ callstd 6
+ end
+
+SilphCo_8F_EventScript_161CC7:: @ 8161CC7
+ trainerbattle 0, 386, 0, Text_176A56, Text_176A7C
+ loadword 0, gUnknown_8176A90
+ callstd 6
+ end
diff --git a/data/maps/SilphCo_9F/map.json b/data/maps/SilphCo_9F/map.json
new file mode 100644
index 000000000..5e50d24ca
--- /dev/null
+++ b/data/maps/SilphCo_9F/map.json
@@ -0,0 +1,246 @@
+{
+ "id": "MAP_SILPH_CO_9F",
+ "name": "SilphCo_9F",
+ "layout": "LAYOUT_SILPH_CO_9F",
+ "music": "BGM_FRLG_SILPH",
+ "region_map_section": "MAPSEC_SILPH_CO",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 7,
+ "elevator_flag": 9,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "55",
+ "x": 26,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SilphCo_9F_EventScript_161D41",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "49",
+ "x": 15,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SilphCo_9F_EventScript_161D6F",
+ "flag": "83"
+ },
+ {
+ "graphics_id": "28",
+ "x": 2,
+ "y": 16,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SilphCo_9F_EventScript_161D09",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "49",
+ "x": 1,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "SilphCo_9F_EventScript_161D58",
+ "flag": "83"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 16,
+ "y": 2,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_8F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 22,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_5F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 9,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_3F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 18,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SILPH_CO_10F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 24,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_SILPH_CO_ELEVATOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 11,
+ "y": 14,
+ "elevation": 3,
+ "item": "ITEM_MAX_POTION",
+ "flag": "25",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 10,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8A87"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 11,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8A87"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 13,
+ "y": 16,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8AA1"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 13,
+ "y": 17,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8AA1"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 21,
+ "y": 6,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8ABB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 22,
+ "y": 6,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8ABB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 22,
+ "y": 7,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8ABB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 21,
+ "y": 7,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8ABB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 21,
+ "y": 13,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8AD5"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 21,
+ "y": 12,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8AD5"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 22,
+ "y": 12,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8AD5"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 22,
+ "y": 13,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8AD5"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 11,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8A87"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 10,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8A87"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 16,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8AA1"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 17,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_1A8AA1"
+ },
+ {
+ "type": "hidden_item",
+ "x": 5,
+ "y": 8,
+ "elevation": 0,
+ "item": "ITEM_CALCIUM",
+ "flag": "142",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 17,
+ "y": 1,
+ "elevation": 0,
+ "script": "SilphCo_9F_EventScript_161D38"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SilphCo_9F/scripts.inc b/data/maps/SilphCo_9F/scripts.inc
new file mode 100644
index 000000000..cf234a1b0
--- /dev/null
+++ b/data/maps/SilphCo_9F/scripts.inc
@@ -0,0 +1,57 @@
+SilphCo_9F_MapScripts:: @ 8161CDE
+ map_script 1, SilphCo_9F_MapScript1_161CE4
+ .byte 0
+
+SilphCo_9F_MapScript1_161CE4:: @ 8161CE4
+ checkflag FLAG_0x288
+ call_if 0, EventScript_1A840C
+ checkflag FLAG_0x289
+ call_if 0, EventScript_1A8443
+ checkflag FLAG_0x28A
+ call_if 0, EventScript_1A847A
+ checkflag FLAG_0x28B
+ call_if 0, EventScript_1A84A8
+ end
+
+SilphCo_9F_EventScript_161D09:: @ 8161D09
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4060, 1
+ goto_if 4, EventScript_161D2E
+ loadword 0, gUnknown_8176B54
+ callstd 4
+ closemessage
+ call EventScript_1A6C26
+ loadword 0, gUnknown_8176B81
+ callstd 4
+ release
+ end
+
+EventScript_161D2E:: @ 8161D2E
+ loadword 0, gUnknown_8176B90
+ callstd 4
+ release
+ end
+
+SilphCo_9F_EventScript_161D38:: @ 8161D38
+ loadword 0, gUnknown_8176CD4
+ callstd 3
+ end
+
+SilphCo_9F_EventScript_161D41:: @ 8161D41
+ trainerbattle 0, 344, 0, Text_176BFB, Text_176C2B
+ loadword 0, gUnknown_8176C3C
+ callstd 6
+ end
+
+SilphCo_9F_EventScript_161D58:: @ 8161D58
+ trainerbattle 0, 387, 0, Text_176BA3, Text_176BC8
+ loadword 0, gUnknown_8176BD0
+ callstd 6
+ end
+
+SilphCo_9F_EventScript_161D6F:: @ 8161D6F
+ trainerbattle 0, 388, 0, Text_176C7A, Text_176CA0
+ loadword 0, gUnknown_8176CB8
+ callstd 6
+ end
diff --git a/data/maps/SilphCo_Elevator/map.json b/data/maps/SilphCo_Elevator/map.json
new file mode 100644
index 000000000..a1208a5d8
--- /dev/null
+++ b/data/maps/SilphCo_Elevator/map.json
@@ -0,0 +1,35 @@
+{
+ "id": "MAP_SILPH_CO_ELEVATOR",
+ "name": "SilphCo_Elevator",
+ "layout": "LAYOUT_SILPH_CO_ELEVATOR",
+ "music": "BGM_FRLG_SILPH",
+ "region_map_section": "MAPSEC_SILPH_CO",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 0,
+ "y": 2,
+ "elevation": 3,
+ "script": "SilphCo_Elevator_EventScript_161F6F"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SilphCo_Elevator/scripts.inc b/data/maps/SilphCo_Elevator/scripts.inc
new file mode 100644
index 000000000..118d5efd4
--- /dev/null
+++ b/data/maps/SilphCo_Elevator/scripts.inc
@@ -0,0 +1,190 @@
+SilphCo_Elevator_MapScripts:: @ 8161F6E
+ .byte 0
+
+SilphCo_Elevator_EventScript_161F6F:: @ 8161F6F
+ lockall
+ setvar VAR_0x8004, 1
+ checkflag FLAG_0x002
+ call_if 0, EventScript_1A7AB9
+ copyvar VAR_0x8005, VAR_0x403A
+ special sub_80CB580
+ message Text_1A535C
+ waitmessage
+ setvar VAR_0x8004, 1
+ specialvar VAR_RESULT, sub_80CB328
+ special sub_80CB7C4
+ waitstate
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_1621BF
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_162197
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16216F
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_162147
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_16211F
+ compare_var_to_value VAR_0x8000, 5
+ goto_if 1, EventScript_1620F7
+ compare_var_to_value VAR_0x8000, 6
+ goto_if 1, EventScript_1620CF
+ compare_var_to_value VAR_0x8000, 7
+ goto_if 1, EventScript_1620A7
+ compare_var_to_value VAR_0x8000, 8
+ goto_if 1, EventScript_16207F
+ compare_var_to_value VAR_0x8000, 9
+ goto_if 1, EventScript_162057
+ compare_var_to_value VAR_0x8000, 10
+ goto_if 1, EventScript_16202F
+ compare_var_to_value VAR_0x8000, 11
+ goto_if 1, EventScript_1621E7
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_1621E7
+ end
+
+EventScript_16202F:: @ 816202F
+ setvar VAR_0x8006, 4
+ setdynamicwarp MAP_SILPH_CO_1F, 255, 22, 3
+ compare_var_to_value VAR_0x403A, 4
+ goto_if 1, EventScript_1621E7
+ call EventScript_1621EC
+ setvar VAR_0x403A, 4
+ goto EventScript_1621E7
+
+EventScript_162056:: @ 8162056
+ end
+
+EventScript_162057:: @ 8162057
+ setvar VAR_0x8006, 5
+ setdynamicwarp MAP_SILPH_CO_2F, 255, 22, 3
+ compare_var_to_value VAR_0x403A, 5
+ goto_if 1, EventScript_1621E7
+ call EventScript_1621EC
+ setvar VAR_0x403A, 5
+ goto EventScript_1621E7
+
+EventScript_16207E:: @ 816207E
+ end
+
+EventScript_16207F:: @ 816207F
+ setvar VAR_0x8006, 6
+ setdynamicwarp MAP_SILPH_CO_3F, 255, 22, 3
+ compare_var_to_value VAR_0x403A, 6
+ goto_if 1, EventScript_1621E7
+ call EventScript_1621EC
+ setvar VAR_0x403A, 6
+ goto EventScript_1621E7
+
+EventScript_1620A6:: @ 81620A6
+ end
+
+EventScript_1620A7:: @ 81620A7
+ setvar VAR_0x8006, 7
+ setdynamicwarp MAP_SILPH_CO_4F, 255, 22, 3
+ compare_var_to_value VAR_0x403A, 7
+ goto_if 1, EventScript_1621E7
+ call EventScript_1621EC
+ setvar VAR_0x403A, 7
+ goto EventScript_1621E7
+
+EventScript_1620CE:: @ 81620CE
+ end
+
+EventScript_1620CF:: @ 81620CF
+ setvar VAR_0x8006, 8
+ setdynamicwarp MAP_SILPH_CO_5F, 255, 22, 3
+ compare_var_to_value VAR_0x403A, 8
+ goto_if 1, EventScript_1621E7
+ call EventScript_1621EC
+ setvar VAR_0x403A, 8
+ goto EventScript_1621E7
+
+EventScript_1620F6:: @ 81620F6
+ end
+
+EventScript_1620F7:: @ 81620F7
+ setvar VAR_0x8006, 9
+ setdynamicwarp MAP_SILPH_CO_6F, 255, 20, 3
+ compare_var_to_value VAR_0x403A, 9
+ goto_if 1, EventScript_1621E7
+ call EventScript_1621EC
+ setvar VAR_0x403A, 9
+ goto EventScript_1621E7
+
+EventScript_16211E:: @ 816211E
+ end
+
+EventScript_16211F:: @ 816211F
+ setvar VAR_0x8006, 10
+ setdynamicwarp MAP_SILPH_CO_7F, 255, 23, 3
+ compare_var_to_value VAR_0x403A, 10
+ goto_if 1, EventScript_1621E7
+ call EventScript_1621EC
+ setvar VAR_0x403A, 10
+ goto EventScript_1621E7
+
+EventScript_162146:: @ 8162146
+ end
+
+EventScript_162147:: @ 8162147
+ setvar VAR_0x8006, 11
+ setdynamicwarp MAP_SILPH_CO_8F, 255, 22, 3
+ compare_var_to_value VAR_0x403A, 11
+ goto_if 1, EventScript_1621E7
+ call EventScript_1621EC
+ setvar VAR_0x403A, 11
+ goto EventScript_1621E7
+
+EventScript_16216E:: @ 816216E
+ end
+
+EventScript_16216F:: @ 816216F
+ setvar VAR_0x8006, 12
+ setdynamicwarp MAP_SILPH_CO_9F, 255, 24, 3
+ compare_var_to_value VAR_0x403A, 12
+ goto_if 1, EventScript_1621E7
+ call EventScript_1621EC
+ setvar VAR_0x403A, 12
+ goto EventScript_1621E7
+
+EventScript_162196:: @ 8162196
+ end
+
+EventScript_162197:: @ 8162197
+ setvar VAR_0x8006, 13
+ setdynamicwarp MAP_SILPH_CO_10F, 255, 13, 3
+ compare_var_to_value VAR_0x403A, 13
+ goto_if 1, EventScript_1621E7
+ call EventScript_1621EC
+ setvar VAR_0x403A, 13
+ goto EventScript_1621E7
+
+EventScript_1621BE:: @ 81621BE
+ end
+
+EventScript_1621BF:: @ 81621BF
+ setvar VAR_0x8006, 14
+ setdynamicwarp MAP_SILPH_CO_11F, 255, 13, 3
+ compare_var_to_value VAR_0x403A, 14
+ goto_if 1, EventScript_1621E7
+ call EventScript_1621EC
+ setvar VAR_0x403A, 14
+ goto EventScript_1621E7
+
+EventScript_1621E6:: @ 81621E6
+ end
+
+EventScript_1621E7:: @ 81621E7
+ special sub_80CB63C
+ releaseall
+ end
+
+EventScript_1621EC:: @ 81621EC
+ special sub_80CB63C
+ closemessage
+ waitse
+ special sub_80CB498
+ waitstate
+ setflag FLAG_0x002
+ return
diff --git a/data/maps/SixIsland/map.json b/data/maps/SixIsland/map.json
new file mode 100644
index 000000000..0f5344713
--- /dev/null
+++ b/data/maps/SixIsland/map.json
@@ -0,0 +1,98 @@
+{
+ "id": "MAP_SIX_ISLAND",
+ "name": "SixIsland",
+ "layout": "LAYOUT_SIX_ISLAND",
+ "music": "BGM_FRLG_ISLAND_SIX",
+ "region_map_section": "MAPSEC_SIX_ISLAND",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_SIX_ISLAND_WATER_PATH",
+ "offset": -40,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "19",
+ "x": 10,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_EventScript_167EEB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "18",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_EventScript_167EE2",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 23,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_HARBOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_SIX_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 16,
+ "y": 17,
+ "elevation": 0,
+ "dest_map": "MAP_SIX_ISLAND_HOUSE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 20,
+ "y": 11,
+ "elevation": 0,
+ "dest_map": "MAP_SIX_ISLAND_MART",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 17,
+ "elevation": 0,
+ "script": "SixIsland_EventScript_167EF4"
+ },
+ {
+ "type": "hidden_item",
+ "x": 9,
+ "y": 7,
+ "elevation": 3,
+ "item": "ITEM_LEPPA_BERRY",
+ "flag": "184",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SixIsland/scripts.inc b/data/maps/SixIsland/scripts.inc
new file mode 100644
index 000000000..17e350a3d
--- /dev/null
+++ b/data/maps/SixIsland/scripts.inc
@@ -0,0 +1,22 @@
+SixIsland_MapScripts:: @ 8167ED8
+ map_script 3, SixIsland_MapScript1_167EDE
+ .byte 0
+
+SixIsland_MapScript1_167EDE:: @ 8167EDE
+ setworldmapflag 2209
+ end
+
+SixIsland_EventScript_167EE2:: @ 8167EE2
+ loadword 0, gUnknown_81831EF
+ callstd 2
+ end
+
+SixIsland_EventScript_167EEB:: @ 8167EEB
+ loadword 0, gUnknown_8183255
+ callstd 2
+ end
+
+SixIsland_EventScript_167EF4:: @ 8167EF4
+ loadword 0, gUnknown_81831C6
+ callstd 3
+ end
diff --git a/data/maps/SixIsland_AlteringCave/map.json b/data/maps/SixIsland_AlteringCave/map.json
new file mode 100644
index 000000000..123c8e6bb
--- /dev/null
+++ b/data/maps/SixIsland_AlteringCave/map.json
@@ -0,0 +1,27 @@
+{
+ "id": "MAP_SIX_ISLAND_ALTERING_CAVE",
+ "name": "SixIsland_AlteringCave",
+ "layout": "LAYOUT_SIX_ISLAND_ALTERING_CAVE",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_ALTERING_CAVE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 18,
+ "y": 22,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_OUTCAST_ISLAND",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_AlteringCave/scripts.inc b/data/maps/SixIsland_AlteringCave/scripts.inc
new file mode 100644
index 000000000..7fd338642
--- /dev/null
+++ b/data/maps/SixIsland_AlteringCave/scripts.inc
@@ -0,0 +1,7 @@
+SixIsland_AlteringCave_MapScripts:: @ 81646A4
+ map_script 3, SixIsland_AlteringCave_MapScript1_1646AA
+ .byte 0
+
+SixIsland_AlteringCave_MapScript1_1646AA:: @ 81646AA
+ setworldmapflag 2238
+ end
diff --git a/data/maps/SixIsland_DottedHole_1F/map.json b/data/maps/SixIsland_DottedHole_1F/map.json
new file mode 100644
index 000000000..3edfe625f
--- /dev/null
+++ b/data/maps/SixIsland_DottedHole_1F/map.json
@@ -0,0 +1,48 @@
+{
+ "id": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "name": "SixIsland_DottedHole_1F",
+ "layout": "LAYOUT_SIX_ISLAND_DOTTED_HOLE_1F",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_DOTTED_HOLE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_RUIN_VALLEY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 6,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_B1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 13,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_SAPPHIRE_ROOM",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 6,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_B1F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_DottedHole_1F/scripts.inc b/data/maps/SixIsland_DottedHole_1F/scripts.inc
new file mode 100644
index 000000000..6ac2bab50
--- /dev/null
+++ b/data/maps/SixIsland_DottedHole_1F/scripts.inc
@@ -0,0 +1,35 @@
+SixIsland_DottedHole_1F_MapScripts:: @ 8164182
+ map_script 3, SixIsland_DottedHole_1F_MapScript1_164188
+ .byte 0
+
+SixIsland_DottedHole_1F_MapScript1_164188:: @ 8164188
+ setworldmapflag 2235
+ end
+
+SixIsland_DottedHole_B1F_EventScript_16418C:: @ 816418C
+ lockall
+ braillemessage gUnknown_81A9288
+ waitbuttonpress
+ releaseall
+ end
+
+SixIsland_DottedHole_B4F_EventScript_164195:: @ 8164195
+ lockall
+ braillemessage gUnknown_81A928B
+ waitbuttonpress
+ releaseall
+ end
+
+SixIsland_DottedHole_B3F_EventScript_16419E:: @ 816419E
+ lockall
+ braillemessage gUnknown_81A9290
+ waitbuttonpress
+ releaseall
+ end
+
+SixIsland_DottedHole_B2F_EventScript_1641A7:: @ 81641A7
+ lockall
+ braillemessage gUnknown_81A9296
+ waitbuttonpress
+ releaseall
+ end
diff --git a/data/maps/SixIsland_DottedHole_B1F/map.json b/data/maps/SixIsland_DottedHole_B1F/map.json
new file mode 100644
index 000000000..221b7f31a
--- /dev/null
+++ b/data/maps/SixIsland_DottedHole_B1F/map.json
@@ -0,0 +1,63 @@
+{
+ "id": "MAP_SIX_ISLAND_DOTTED_HOLE_B1F",
+ "name": "SixIsland_DottedHole_B1F",
+ "layout": "LAYOUT_SIX_ISLAND_DOTTED_HOLE_B1F",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_DOTTED_HOLE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_B2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 6,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 1,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 6,
+ "y": 5,
+ "elevation": 0,
+ "script": "SixIsland_DottedHole_B1F_EventScript_16418C"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_DottedHole_B1F/scripts.inc b/data/maps/SixIsland_DottedHole_B1F/scripts.inc
new file mode 100644
index 000000000..09fe57766
--- /dev/null
+++ b/data/maps/SixIsland_DottedHole_B1F/scripts.inc
@@ -0,0 +1,2 @@
+SixIsland_DottedHole_B1F_MapScripts:: @ 81641B0
+ .byte 0
diff --git a/data/maps/SixIsland_DottedHole_B2F/map.json b/data/maps/SixIsland_DottedHole_B2F/map.json
new file mode 100644
index 000000000..7c43b1177
--- /dev/null
+++ b/data/maps/SixIsland_DottedHole_B2F/map.json
@@ -0,0 +1,63 @@
+{
+ "id": "MAP_SIX_ISLAND_DOTTED_HOLE_B2F",
+ "name": "SixIsland_DottedHole_B2F",
+ "layout": "LAYOUT_SIX_ISLAND_DOTTED_HOLE_B2F",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_DOTTED_HOLE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_B1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 11,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 6,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 1,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_B3F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 6,
+ "y": 5,
+ "elevation": 0,
+ "script": "SixIsland_DottedHole_B2F_EventScript_1641A7"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_DottedHole_B2F/scripts.inc b/data/maps/SixIsland_DottedHole_B2F/scripts.inc
new file mode 100644
index 000000000..2647365cc
--- /dev/null
+++ b/data/maps/SixIsland_DottedHole_B2F/scripts.inc
@@ -0,0 +1,2 @@
+SixIsland_DottedHole_B2F_MapScripts:: @ 81641B1
+ .byte 0
diff --git a/data/maps/SixIsland_DottedHole_B3F/map.json b/data/maps/SixIsland_DottedHole_B3F/map.json
new file mode 100644
index 000000000..dddb7b32c
--- /dev/null
+++ b/data/maps/SixIsland_DottedHole_B3F/map.json
@@ -0,0 +1,63 @@
+{
+ "id": "MAP_SIX_ISLAND_DOTTED_HOLE_B3F",
+ "name": "SixIsland_DottedHole_B3F",
+ "layout": "LAYOUT_SIX_ISLAND_DOTTED_HOLE_B3F",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_DOTTED_HOLE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_B2F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 6,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 11,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_B4F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 6,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 1,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 6,
+ "y": 5,
+ "elevation": 0,
+ "script": "SixIsland_DottedHole_B3F_EventScript_16419E"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_DottedHole_B3F/scripts.inc b/data/maps/SixIsland_DottedHole_B3F/scripts.inc
new file mode 100644
index 000000000..68690d897
--- /dev/null
+++ b/data/maps/SixIsland_DottedHole_B3F/scripts.inc
@@ -0,0 +1,2 @@
+SixIsland_DottedHole_B3F_MapScripts:: @ 81641B2
+ .byte 0
diff --git a/data/maps/SixIsland_DottedHole_B4F/map.json b/data/maps/SixIsland_DottedHole_B4F/map.json
new file mode 100644
index 000000000..5d187df80
--- /dev/null
+++ b/data/maps/SixIsland_DottedHole_B4F/map.json
@@ -0,0 +1,63 @@
+{
+ "id": "MAP_SIX_ISLAND_DOTTED_HOLE_B4F",
+ "name": "SixIsland_DottedHole_B4F",
+ "layout": "LAYOUT_SIX_ISLAND_DOTTED_HOLE_B4F",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_DOTTED_HOLE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_B3F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 6,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 11,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 6,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_SAPPHIRE_ROOM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 1,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 6,
+ "y": 5,
+ "elevation": 0,
+ "script": "SixIsland_DottedHole_B4F_EventScript_164195"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_DottedHole_B4F/scripts.inc b/data/maps/SixIsland_DottedHole_B4F/scripts.inc
new file mode 100644
index 000000000..d265594c7
--- /dev/null
+++ b/data/maps/SixIsland_DottedHole_B4F/scripts.inc
@@ -0,0 +1,2 @@
+SixIsland_DottedHole_B4F_MapScripts:: @ 81641B3
+ .byte 0
diff --git a/data/maps/SixIsland_DottedHole_SapphireRoom/map.json b/data/maps/SixIsland_DottedHole_SapphireRoom/map.json
new file mode 100644
index 000000000..08894ae8c
--- /dev/null
+++ b/data/maps/SixIsland_DottedHole_SapphireRoom/map.json
@@ -0,0 +1,69 @@
+{
+ "id": "MAP_SIX_ISLAND_DOTTED_HOLE_SAPPHIRE_ROOM",
+ "name": "SixIsland_DottedHole_SapphireRoom",
+ "layout": "LAYOUT_SIX_ISLAND_DOTTED_HOLE_SAPPHIRE_ROOM",
+ "music": "BGM_FRLG_TANOBY_RUINS",
+ "region_map_section": "MAPSEC_DOTTED_HOLE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "100",
+ "x": 7,
+ "y": 7,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_DottedHole_SapphireRoom_EventScript_1641B5",
+ "flag": "143"
+ },
+ {
+ "graphics_id": "55",
+ "x": 5,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "144"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_B4F",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 7,
+ "y": 2,
+ "elevation": 0,
+ "script": "SixIsland_DottedHole_SapphireRoom_EventScript_16441F"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_DottedHole_SapphireRoom/scripts.inc b/data/maps/SixIsland_DottedHole_SapphireRoom/scripts.inc
new file mode 100644
index 000000000..f4143ca78
--- /dev/null
+++ b/data/maps/SixIsland_DottedHole_SapphireRoom/scripts.inc
@@ -0,0 +1,306 @@
+SixIsland_DottedHole_SapphireRoom_MapScripts:: @ 81641B4
+ .byte 0
+
+SixIsland_DottedHole_SapphireRoom_EventScript_1641B5:: @ 81641B5
+ lock
+ faceplayer
+ textcolor 3
+ playfanfare BGM_FRLG_ME_KEYITEM
+ message Text_17BD82
+ waitmessage
+ waitfanfare
+ closemessage
+ setobjectxyperm 2, 5, 0
+ addobject 2
+ playse SE_FU_ZAKU
+ applymovement 2, Movement_16440F
+ waitmovement 0
+ playse SE_W115
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_16430F
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_16430F
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_16431A
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_16431A
+ setvar VAR_0x8004, 3
+ setvar VAR_0x8005, 0
+ setvar VAR_0x8006, 12
+ setvar VAR_0x8007, 3
+ special sub_80CAC28
+ delay 60
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_164325
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_164330
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_16433B
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_164346
+ textcolor 0
+ loadword 0, gUnknown_817BD97
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_164351
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_164366
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_16437B
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_164390
+ removeobject 1
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_1642F9
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_1642F9
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_164304
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_164304
+ loadword 0, gUnknown_817BDD4
+ callstd 4
+ closemessage
+ compare_var_to_value VAR_FACING, 2
+ call_if 1, EventScript_1643A5
+ compare_var_to_value VAR_FACING, 1
+ call_if 1, EventScript_1643B7
+ compare_var_to_value VAR_FACING, 4
+ call_if 1, EventScript_1643C9
+ compare_var_to_value VAR_FACING, 3
+ call_if 1, EventScript_1643DB
+ playse SE_KAIDAN
+ delay 35
+ removeobject 2
+ setflag FLAG_0x2D8
+ release
+ end
+
+EventScript_1642F9:: @ 81642F9
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ return
+
+EventScript_164304:: @ 8164304
+ applymovement 255, Movement_1A75ED
+ waitmovement 0
+ return
+
+EventScript_16430F:: @ 816430F
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ return
+
+EventScript_16431A:: @ 816431A
+ applymovement 255, Movement_1A75ED
+ waitmovement 0
+ return
+
+EventScript_164325:: @ 8164325
+ applymovement 2, Movement_1643ED
+ waitmovement 0
+ return
+
+EventScript_164330:: @ 8164330
+ applymovement 2, Movement_1643ED
+ waitmovement 0
+ return
+
+EventScript_16433B:: @ 816433B
+ applymovement 2, Movement_1643F1
+ waitmovement 0
+ return
+
+EventScript_164346:: @ 8164346
+ applymovement 2, Movement_1643F1
+ waitmovement 0
+ return
+
+EventScript_164351:: @ 8164351
+ applymovement 2, Movement_1643F5
+ waitmovement 0
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ return
+
+EventScript_164366:: @ 8164366
+ applymovement 2, Movement_1643F5
+ waitmovement 0
+ applymovement 255, Movement_1A75ED
+ waitmovement 0
+ return
+
+EventScript_16437B:: @ 816437B
+ applymovement 2, Movement_1643F7
+ waitmovement 0
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ return
+
+EventScript_164390:: @ 8164390
+ applymovement 2, Movement_1643F7
+ waitmovement 0
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ return
+
+EventScript_1643A5:: @ 81643A5
+ applymovement 255, Movement_16441C
+ applymovement 2, Movement_1643F9
+ waitmovement 0
+ return
+
+EventScript_1643B7:: @ 81643B7
+ applymovement 255, Movement_16441C
+ applymovement 2, Movement_164401
+ waitmovement 0
+ return
+
+EventScript_1643C9:: @ 81643C9
+ applymovement 255, Movement_16441C
+ applymovement 2, Movement_164409
+ waitmovement 0
+ return
+
+EventScript_1643DB:: @ 81643DB
+ applymovement 255, Movement_16441C
+ applymovement 2, Movement_164409
+ waitmovement 0
+ return
+
+Movement_1643ED:: @ 81643ED
+ step_11
+ step_11
+ step_30
+ step_end
+
+Movement_1643F1:: @ 81643F1
+ step_13
+ step_13
+ step_2e
+ step_end
+
+Movement_1643F5:: @ 81643F5
+ step_13
+ step_end
+
+Movement_1643F7:: @ 81643F7
+ step_11
+ step_end
+
+Movement_1643F9:: @ 81643F9
+ step_1e
+ step_20
+ step_20
+ step_20
+ step_1d
+ step_20
+ step_20
+ step_end
+
+Movement_164401:: @ 8164401
+ step_1d
+ step_20
+ step_20
+ step_20
+ step_1e
+ step_20
+ step_20
+ step_end
+
+Movement_164409:: @ 8164409
+ step_20
+ step_20
+ step_20
+ step_20
+ step_1e
+ step_end
+
+Movement_16440F:: @ 816440F
+ step_00
+ step_5e
+ step_39
+ step_39
+ step_39
+ step_39
+ step_39
+ step_39
+ step_39
+ step_39
+ step_39
+ step_5f
+ step_end
+
+Movement_16441C:: @ 816441C
+ step_1c
+ step_30
+ step_end
+
+SixIsland_DottedHole_SapphireRoom_EventScript_16441F:: @ 816441F
+ lockall
+ setvar VAR_0x8005, 130
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A9321
+ getbraillestringwidth gUnknown_81A9321
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A932D
+ getbraillestringwidth gUnknown_81A932D
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A9338
+ getbraillestringwidth gUnknown_81A9338
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A933F
+ getbraillestringwidth gUnknown_81A933F
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A934A
+ getbraillestringwidth gUnknown_81A934A
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A9356
+ getbraillestringwidth gUnknown_81A9356
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A9362
+ getbraillestringwidth gUnknown_81A9362
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A9368
+ getbraillestringwidth gUnknown_81A9368
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A9374
+ getbraillestringwidth gUnknown_81A9374
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A937C
+ getbraillestringwidth gUnknown_81A937C
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A9387
+ getbraillestringwidth gUnknown_81A9387
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A9393
+ getbraillestringwidth gUnknown_81A9393
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A939F
+ getbraillestringwidth gUnknown_81A939F
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A93AB
+ getbraillestringwidth gUnknown_81A93AB
+ call EventScript_1A926C
+ setvar VAR_0x8006, 0
+ braillemessage gUnknown_81A93B4
+ getbraillestringwidth gUnknown_81A93B4
+ call EventScript_1A926C
+ braillemessage gUnknown_81A93C0
+ waitbuttonpress
+ releaseall
+ end
diff --git a/data/maps/SixIsland_GreenPath/map.json b/data/maps/SixIsland_GreenPath/map.json
new file mode 100644
index 000000000..cbc6b6784
--- /dev/null
+++ b/data/maps/SixIsland_GreenPath/map.json
@@ -0,0 +1,97 @@
+{
+ "id": "MAP_SIX_ISLAND_GREEN_PATH",
+ "name": "SixIsland_GreenPath",
+ "layout": "LAYOUT_SIX_ISLAND_GREEN_PATH",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_GREEN_PATH",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_SIX_ISLAND_OUTCAST_ISLAND",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_SIX_ISLAND_WATER_PATH",
+ "offset": 0,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "23",
+ "x": 11,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "20",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SixIsland_GreenPath_EventScript_1AC517",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 63,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_PATTERN_BUSH",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 64,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_PATTERN_BUSH",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 45,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_PATTERN_BUSH",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 46,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_PATTERN_BUSH",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 40,
+ "y": 10,
+ "elevation": 0,
+ "script": "SixIsland_GreenPath_EventScript_168B37"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 69,
+ "y": 10,
+ "elevation": 0,
+ "script": "SixIsland_GreenPath_EventScript_168B2E"
+ },
+ {
+ "type": "hidden_item",
+ "x": 12,
+ "y": 9,
+ "elevation": 3,
+ "item": "POCKET_KEY_ITEMS",
+ "flag": "180",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_GreenPath/scripts.inc b/data/maps/SixIsland_GreenPath/scripts.inc
new file mode 100644
index 000000000..860d1a964
--- /dev/null
+++ b/data/maps/SixIsland_GreenPath/scripts.inc
@@ -0,0 +1,12 @@
+SixIsland_GreenPath_MapScripts:: @ 8168B2D
+ .byte 0
+
+SixIsland_GreenPath_EventScript_168B2E:: @ 8168B2E
+ loadword 0, gUnknown_818B84D
+ callstd 3
+ end
+
+SixIsland_GreenPath_EventScript_168B37:: @ 8168B37
+ loadword 0, gUnknown_818B86B
+ callstd 3
+ end
diff --git a/data/maps/SixIsland_Harbor/map.json b/data/maps/SixIsland_Harbor/map.json
new file mode 100644
index 000000000..3e5254f71
--- /dev/null
+++ b/data/maps/SixIsland_Harbor/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_SIX_ISLAND_HARBOR",
+ "name": "SixIsland_Harbor",
+ "layout": "LAYOUT_ISLAND_HARBOR",
+ "music": "BGM_FRLG_ISLAND_SIX",
+ "region_map_section": "MAPSEC_SIX_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": "108",
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_Harbor_EventScript_171E48",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_Harbor/scripts.inc b/data/maps/SixIsland_Harbor/scripts.inc
new file mode 100644
index 000000000..575746338
--- /dev/null
+++ b/data/maps/SixIsland_Harbor/scripts.inc
@@ -0,0 +1,11 @@
+SixIsland_Harbor_MapScripts:: @ 8171E47
+ .byte 0
+
+SixIsland_Harbor_EventScript_171E48:: @ 8171E48
+ lock
+ faceplayer
+ message Text_181726
+ waitmessage
+ setvar VAR_0x8004, 6
+ goto EventScript_1A900F
+ end
diff --git a/data/maps/SixIsland_House/map.json b/data/maps/SixIsland_House/map.json
new file mode 100644
index 000000000..3f50160d3
--- /dev/null
+++ b/data/maps/SixIsland_House/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_SIX_ISLAND_HOUSE",
+ "name": "SixIsland_House",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_SIX",
+ "region_map_section": "MAPSEC_SIX_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": "32",
+ "x": 7,
+ "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": "SixIsland_House_EventScript_171E5C",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_House/scripts.inc b/data/maps/SixIsland_House/scripts.inc
new file mode 100644
index 000000000..d1f6d2c78
--- /dev/null
+++ b/data/maps/SixIsland_House/scripts.inc
@@ -0,0 +1,7 @@
+SixIsland_House_MapScripts:: @ 8171E5B
+ .byte 0
+
+SixIsland_House_EventScript_171E5C:: @ 8171E5C
+ loadword 0, gUnknown_81A412E
+ callstd 2
+ end
diff --git a/data/maps/SixIsland_Mart/map.json b/data/maps/SixIsland_Mart/map.json
new file mode 100644
index 000000000..a30466efb
--- /dev/null
+++ b/data/maps/SixIsland_Mart/map.json
@@ -0,0 +1,67 @@
+{
+ "id": "MAP_SIX_ISLAND_MART",
+ "name": "SixIsland_Mart",
+ "layout": "LAYOUT_MART",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SIX_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": "68",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_Mart_EventScript_171E66",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "35",
+ "x": 8,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_Mart_EventScript_1ACFEF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 7,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_Mart_EventScript_171EA0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_Mart/scripts.inc b/data/maps/SixIsland_Mart/scripts.inc
new file mode 100644
index 000000000..ea29b5359
--- /dev/null
+++ b/data/maps/SixIsland_Mart/scripts.inc
@@ -0,0 +1,35 @@
+SixIsland_Mart_MapScripts:: @ 8171E65
+ .byte 0
+
+SixIsland_Mart_EventScript_171E66:: @ 8171E66
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_171E8C
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_171E8C:: @ 8171E8C
+ .2byte ITEM_ULTRA_BALL
+ .2byte ITEM_FULL_RESTORE
+ .2byte ITEM_MAX_POTION
+ .2byte ITEM_REVIVE
+ .2byte ITEM_FULL_HEAL
+ .2byte ITEM_ESCAPE_ROPE
+ .2byte ITEM_MAX_REPEL
+ .2byte ITEM_DREAM_MAIL
+ .2byte ITEM_NONE
+ release
+ end
+
+SixIsland_Mart_EventScript_171EA0:: @ 8171EA0
+ loadword 0, gUnknown_81A4271
+ callstd 2
+ end
diff --git a/data/maps/SixIsland_OutcastIsland/map.json b/data/maps/SixIsland_OutcastIsland/map.json
new file mode 100644
index 000000000..dd19cb543
--- /dev/null
+++ b/data/maps/SixIsland_OutcastIsland/map.json
@@ -0,0 +1,144 @@
+{
+ "id": "MAP_SIX_ISLAND_OUTCAST_ISLAND",
+ "name": "SixIsland_OutcastIsland",
+ "layout": "LAYOUT_SIX_ISLAND_OUTCAST_ISLAND",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_OUTCAST_ISLAND",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_SIX_ISLAND_GREEN_PATH",
+ "offset": 0,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "49",
+ "x": 9,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_OutcastIsland_EventScript_168B16",
+ "flag": "136"
+ },
+ {
+ "graphics_id": "57",
+ "x": 12,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_OutcastIsland_EventScript_1AC3D1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 13,
+ "y": 34,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_OutcastIsland_EventScript_1AC40F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 14,
+ "y": 61,
+ "elevation": 1,
+ "movement_type": "50",
+ "movement_range_x": 2,
+ "movement_range_y": 4,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_OutcastIsland_EventScript_1AC44D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 10,
+ "y": 44,
+ "elevation": 1,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_OutcastIsland_EventScript_1AC48B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "36",
+ "x": 11,
+ "y": 44,
+ "elevation": 1,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_OutcastIsland_EventScript_1AC4D1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 11,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_OutcastIsland_EventScript_1BEC90",
+ "flag": "481"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 21,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_ALTERING_CAVE",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 16,
+ "y": 23,
+ "elevation": 3,
+ "item": "ITEM_STAR_PIECE",
+ "flag": "178",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 6,
+ "y": 24,
+ "elevation": 3,
+ "item": "ITEM_NET_BALL",
+ "flag": "179",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_OutcastIsland/scripts.inc b/data/maps/SixIsland_OutcastIsland/scripts.inc
new file mode 100644
index 000000000..68a9dd535
--- /dev/null
+++ b/data/maps/SixIsland_OutcastIsland/scripts.inc
@@ -0,0 +1,8 @@
+SixIsland_OutcastIsland_MapScripts:: @ 8168B15
+ .byte 0
+
+SixIsland_OutcastIsland_EventScript_168B16:: @ 8168B16
+ trainerbattle 0, 540, 0, Text_18B35A, Text_18B3C2
+ loadword 0, gUnknown_818B3C8
+ callstd 6
+ end
diff --git a/data/maps/SixIsland_PatternBush/map.json b/data/maps/SixIsland_PatternBush/map.json
new file mode 100644
index 000000000..a72372cc5
--- /dev/null
+++ b/data/maps/SixIsland_PatternBush/map.json
@@ -0,0 +1,219 @@
+{
+ "id": "MAP_SIX_ISLAND_PATTERN_BUSH",
+ "name": "SixIsland_PatternBush",
+ "layout": "LAYOUT_SIX_ISLAND_PATTERN_BUSH",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_PATTERN_BUSH",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "28",
+ "x": 48,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "20",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SixIsland_PatternBush_EventScript_164590",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 10,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "18",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SixIsland_PatternBush_EventScript_1645A7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 51,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SixIsland_PatternBush_EventScript_1645BE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 12,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SixIsland_PatternBush_EventScript_1645D5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 37,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "51",
+ "movement_range_x": 2,
+ "movement_range_y": 5,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_PatternBush_EventScript_1645EC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 32,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SixIsland_PatternBush_EventScript_164603",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 52,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "SixIsland_PatternBush_EventScript_16461A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 8,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "SixIsland_PatternBush_EventScript_164631",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 39,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SixIsland_PatternBush_EventScript_164648",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "39",
+ "x": 3,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SixIsland_PatternBush_EventScript_16465F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 19,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "28",
+ "movement_range_x": 5,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_PatternBush_EventScript_164676",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 30,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SixIsland_PatternBush_EventScript_16468D",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 54,
+ "y": 26,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_GREEN_PATH",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 55,
+ "y": 26,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_GREEN_PATH",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 56,
+ "y": 26,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_GREEN_PATH",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 3,
+ "y": 26,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_GREEN_PATH",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 4,
+ "y": 26,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_GREEN_PATH",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 5,
+ "y": 26,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_GREEN_PATH",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_PatternBush/scripts.inc b/data/maps/SixIsland_PatternBush/scripts.inc
new file mode 100644
index 000000000..69a35163d
--- /dev/null
+++ b/data/maps/SixIsland_PatternBush/scripts.inc
@@ -0,0 +1,92 @@
+SixIsland_PatternBush_MapScripts:: @ 8164559
+ map_script 3, SixIsland_PatternBush_MapScript1_16455F
+ .byte 0
+
+SixIsland_PatternBush_MapScript1_16455F:: @ 816455F
+ setworldmapflag 2237
+ getplayerxy VAR_0x4001, VAR_0x4002
+ compare_var_to_value VAR_0x4001, 50
+ call_if 4, EventScript_16457E
+ compare_var_to_value VAR_0x4001, 49
+ call_if 3, EventScript_164587
+ end
+
+EventScript_16457E:: @ 816457E
+ setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 64, 10
+ return
+
+EventScript_164587:: @ 8164587
+ setescapewarp MAP_SIX_ISLAND_GREEN_PATH, 255, 45, 10
+ return
+
+SixIsland_PatternBush_EventScript_164590:: @ 8164590
+ trainerbattle 0, 609, 0, Text_17BF3A, Text_17BF66
+ loadword 0, gUnknown_817BF97
+ callstd 6
+ end
+
+SixIsland_PatternBush_EventScript_1645A7:: @ 81645A7
+ trainerbattle 0, 610, 0, Text_17BFEB, Text_17C028
+ loadword 0, gUnknown_817C056
+ callstd 6
+ end
+
+SixIsland_PatternBush_EventScript_1645BE:: @ 81645BE
+ trainerbattle 0, 611, 0, Text_17C0BE, Text_17C0F2
+ loadword 0, gUnknown_817C113
+ callstd 6
+ end
+
+SixIsland_PatternBush_EventScript_1645D5:: @ 81645D5
+ trainerbattle 0, 612, 0, Text_17C155, Text_17C196
+ loadword 0, gUnknown_817C1D0
+ callstd 6
+ end
+
+SixIsland_PatternBush_EventScript_1645EC:: @ 81645EC
+ trainerbattle 0, 613, 0, Text_17C246, Text_17C275
+ loadword 0, gUnknown_817C2A4
+ callstd 6
+ end
+
+SixIsland_PatternBush_EventScript_164603:: @ 8164603
+ trainerbattle 0, 614, 0, Text_17C2D9, Text_17C30D
+ loadword 0, gUnknown_817C31C
+ callstd 6
+ end
+
+SixIsland_PatternBush_EventScript_16461A:: @ 816461A
+ trainerbattle 0, 615, 0, Text_17C373, Text_17C3A5
+ loadword 0, gUnknown_817C3CE
+ callstd 6
+ end
+
+SixIsland_PatternBush_EventScript_164631:: @ 8164631
+ trainerbattle 0, 616, 0, Text_17C42B, Text_17C458
+ loadword 0, gUnknown_817C490
+ callstd 6
+ end
+
+SixIsland_PatternBush_EventScript_164648:: @ 8164648
+ trainerbattle 0, 617, 0, Text_17C4FE, Text_17C552
+ loadword 0, gUnknown_817C590
+ callstd 6
+ end
+
+SixIsland_PatternBush_EventScript_16465F:: @ 816465F
+ trainerbattle 0, 618, 0, Text_17C5DB, Text_17C609
+ loadword 0, gUnknown_817C615
+ callstd 6
+ end
+
+SixIsland_PatternBush_EventScript_164676:: @ 8164676
+ trainerbattle 0, 619, 0, Text_17C63E, Text_17C660
+ loadword 0, gUnknown_817C68E
+ callstd 6
+ end
+
+SixIsland_PatternBush_EventScript_16468D:: @ 816468D
+ trainerbattle 0, 620, 0, Text_17C6C9, Text_17C6FB
+ loadword 0, gUnknown_817C728
+ callstd 6
+ end
diff --git a/data/maps/SixIsland_PokemonCenter_1F/map.json b/data/maps/SixIsland_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..d58082f97
--- /dev/null
+++ b/data/maps/SixIsland_PokemonCenter_1F/map.json
@@ -0,0 +1,87 @@
+{
+ "id": "MAP_SIX_ISLAND_POKEMON_CENTER_1F",
+ "name": "SixIsland_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SIX_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": "SixIsland_PokemonCenter_1F_EventScript_171E05",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "72",
+ "x": 5,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "152"
+ },
+ {
+ "graphics_id": "56",
+ "x": 13,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_PokemonCenter_1F_EventScript_171E0E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "33",
+ "x": 12,
+ "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": "SixIsland_PokemonCenter_1F_EventScript_171E17",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_SIX_ISLAND_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_PokemonCenter_1F/scripts.inc b/data/maps/SixIsland_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..e578c36b7
--- /dev/null
+++ b/data/maps/SixIsland_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,82 @@
+SixIsland_PokemonCenter_1F_MapScripts:: @ 8171D6A
+ map_script 3, SixIsland_PokemonCenter_1F_MapScript1_171D7A
+ map_script 5, SixIsland_PokemonCenter_1F_MapScript2_1BC05C
+ map_script 2, SixIsland_PokemonCenter_1F_MapScript3_171D8D
+ .byte 0
+
+SixIsland_PokemonCenter_1F_MapScript1_171D7A:: @ 8171D7A
+ setrespawn 20
+ compare_var_to_value VAR_0x4089, 0
+ call_if 1, EventScript_171D89
+ end
+
+EventScript_171D89:: @ 8171D89
+ clearflag FLAG_0x098
+ return
+
+SixIsland_PokemonCenter_1F_MapScript3_171D8D:: @ 8171D8D
+ map_script_2 VAR_0x4089, 0, EventScript_171D97
+ .2byte 0
+
+EventScript_171D97:: @ 8171D97
+ lockall
+ textcolor 0
+ applymovement 2, Movement_1A75ED
+ waitmovement 0
+ playbgm BGM_FRLG_RIVAL, 0
+ applymovement 2, Movement_1A75DB
+ waitmovement 0
+ applymovement 2, Movement_1A75DD
+ waitmovement 0
+ delay 25
+ applymovement 2, Movement_171DF9
+ waitmovement 0
+ loadword 0, gUnknown_81A3F30
+ callstd 4
+ closemessage
+ applymovement 255, Movement_171E02
+ applymovement 2, Movement_171DFE
+ waitmovement 0
+ fadedefaultbgm
+ playse SE_KAIDAN
+ delay 35
+ removeobject 2
+ setvar VAR_0x4089, 1
+ setvar VAR_0x4086, 1
+ releaseall
+ end
+
+Movement_171DF9:: @ 8171DF9
+ step_13
+ step_13
+ step_10
+ step_10
+ step_end
+
+Movement_171DFE:: @ 8171DFE
+ step_1c
+ step_1a
+ step_10
+ step_end
+
+Movement_171E02:: @ 8171E02
+ step_12
+ step_30
+ step_end
+
+SixIsland_PokemonCenter_1F_EventScript_171E05:: @ 8171E05
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+SixIsland_PokemonCenter_1F_EventScript_171E0E:: @ 8171E0E
+ loadword 0, gUnknown_81A3E02
+ callstd 2
+ end
+
+SixIsland_PokemonCenter_1F_EventScript_171E17:: @ 8171E17
+ loadword 0, gUnknown_81A3E87
+ callstd 2
+ end
diff --git a/data/maps/SixIsland_PokemonCenter_2F/map.json b/data/maps/SixIsland_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..3ba0ff43a
--- /dev/null
+++ b/data/maps/SixIsland_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_SIX_ISLAND_POKEMON_CENTER_2F",
+ "name": "SixIsland_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SIX_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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "SixIsland_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_SIX_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_PokemonCenter_2F/scripts.inc b/data/maps/SixIsland_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..652c22240
--- /dev/null
+++ b/data/maps/SixIsland_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+SixIsland_PokemonCenter_2F_MapScripts:: @ 8171E20
+ map_script 2, SixIsland_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, SixIsland_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, SixIsland_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, SixIsland_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+SixIsland_PokemonCenter_2F_EventScript_171E35:: @ 8171E35
+ call EventScript_1BB4A3
+ end
+
+EventScript_171E3B:: @ 8171E3B
+ call EventScript_1BB6AB
+ end
+
+EventScript_171E41:: @ 8171E41
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/SixIsland_RuinValley/map.json b/data/maps/SixIsland_RuinValley/map.json
new file mode 100644
index 000000000..1262705c6
--- /dev/null
+++ b/data/maps/SixIsland_RuinValley/map.json
@@ -0,0 +1,263 @@
+{
+ "id": "MAP_SIX_ISLAND_RUIN_VALLEY",
+ "name": "SixIsland_RuinValley",
+ "layout": "LAYOUT_SIX_ISLAND_RUIN_VALLEY",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_RUIN_VALLEY",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_SIX_ISLAND_WATER_PATH",
+ "offset": -80,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "55",
+ "x": 24,
+ "y": 25,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_RuinValley_EventScript_168B6D",
+ "flag": "142"
+ },
+ {
+ "graphics_id": "56",
+ "x": 32,
+ "y": 11,
+ "elevation": 5,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "SixIsland_RuinValley_EventScript_1AC717",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 33,
+ "y": 16,
+ "elevation": 5,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SixIsland_RuinValley_EventScript_1AC755",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 31,
+ "y": 24,
+ "elevation": 5,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_RuinValley_EventScript_1AC793",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 14,
+ "y": 10,
+ "elevation": 5,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SixIsland_RuinValley_EventScript_1AC7D1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "52",
+ "x": 21,
+ "y": 29,
+ "elevation": 5,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 3,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_RuinValley_EventScript_1AC80F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 17,
+ "y": 10,
+ "elevation": 5,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_RuinValley_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 17,
+ "y": 12,
+ "elevation": 5,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_RuinValley_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 18,
+ "y": 11,
+ "elevation": 5,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_RuinValley_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 6,
+ "y": 33,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_RuinValley_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 6,
+ "y": 34,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_RuinValley_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 41,
+ "y": 32,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_RuinValley_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 41,
+ "y": 33,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_RuinValley_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 42,
+ "y": 33,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_RuinValley_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "y": 33,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_RuinValley_EventScript_1BECC4",
+ "flag": "485"
+ },
+ {
+ "graphics_id": "92",
+ "x": 19,
+ "y": 11,
+ "elevation": 5,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_RuinValley_EventScript_1BECB7",
+ "flag": "484"
+ },
+ {
+ "graphics_id": "92",
+ "x": 43,
+ "y": 32,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_RuinValley_EventScript_1BECD1",
+ "flag": "486"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 24,
+ "y": 24,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 24,
+ "y": 24,
+ "elevation": 3,
+ "script": "SixIsland_RuinValley_EventScript_168B94"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_RuinValley/scripts.inc b/data/maps/SixIsland_RuinValley/scripts.inc
new file mode 100644
index 000000000..825822e1a
--- /dev/null
+++ b/data/maps/SixIsland_RuinValley/scripts.inc
@@ -0,0 +1,52 @@
+SixIsland_RuinValley_MapScripts:: @ 8168B53
+ map_script 1, SixIsland_RuinValley_MapScript1_168B59
+ .byte 0
+
+SixIsland_RuinValley_MapScript1_168B59:: @ 8168B59
+ checkflag FLAG_0x2E3
+ call_if 1, EventScript_168B63
+ end
+
+EventScript_168B63:: @ 8168B63
+ setmetatile 24, 24, 856, 0
+ return
+
+SixIsland_RuinValley_EventScript_168B6D:: @ 8168B6D
+ lock
+ loadword 0, gUnknown_818BD47
+ callstd 4
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_818BD7A
+ callstd 4
+ applymovement 1, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+SixIsland_RuinValley_EventScript_168B94:: @ 8168B94
+ lockall
+ checkflag FLAG_0x2E3
+ goto_if 1, EventScript_168BC1
+ loadword 0, gUnknown_818BDC0
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_168BCB
+ loadword 0, gUnknown_818BE11
+ callstd 4
+ braillemessage gUnknown_81A929B
+ waitbuttonpress
+ releaseall
+ end
+
+EventScript_168BC1:: @ 8168BC1
+ loadword 0, gUnknown_818BE4B
+ callstd 4
+ releaseall
+ end
+
+EventScript_168BCB:: @ 8168BCB
+ loadword 0, gUnknown_818BDF9
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/SixIsland_WaterPath/map.json b/data/maps/SixIsland_WaterPath/map.json
new file mode 100644
index 000000000..86bbb290b
--- /dev/null
+++ b/data/maps/SixIsland_WaterPath/map.json
@@ -0,0 +1,210 @@
+{
+ "id": "MAP_SIX_ISLAND_WATER_PATH",
+ "name": "SixIsland_WaterPath",
+ "layout": "LAYOUT_SIX_ISLAND_WATER_PATH",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_WATER_PATH",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_SIX_ISLAND_GREEN_PATH",
+ "offset": 0,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_SIX_ISLAND",
+ "offset": 40,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_SIX_ISLAND_RUIN_VALLEY",
+ "offset": 80,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "28",
+ "x": 12,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "19",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SixIsland_WaterPath_EventScript_1AC555",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 11,
+ "y": 52,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "SixIsland_WaterPath_EventScript_1AC593",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 13,
+ "y": 35,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "SixIsland_WaterPath_EventScript_1AC5D1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 15,
+ "y": 45,
+ "elevation": 1,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_WaterPath_EventScript_1AC60F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 6,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_WaterPath_EventScript_1AC64D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 7,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SixIsland_WaterPath_EventScript_1AC693",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 11,
+ "y": 76,
+ "elevation": 3,
+ "movement_type": "15",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "SixIsland_WaterPath_EventScript_1AC6D9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 17,
+ "y": 19,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_WaterPath_EventScript_1BEC9D",
+ "flag": "482"
+ },
+ {
+ "graphics_id": "92",
+ "x": 17,
+ "y": 87,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_WaterPath_EventScript_1BECAA",
+ "flag": "483"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 13,
+ "elevation": 0,
+ "dest_map": "MAP_SIX_ISLAND_WATER_PATH_HOUSE1",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 19,
+ "elevation": 0,
+ "dest_map": "MAP_SIX_ISLAND_WATER_PATH_HOUSE2",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 14,
+ "elevation": 0,
+ "script": "SixIsland_WaterPath_EventScript_168B41"
+ },
+ {
+ "type": "hidden_item",
+ "x": 15,
+ "y": 76,
+ "elevation": 3,
+ "item": "ITEM_ASPEAR_BERRY",
+ "flag": "181",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 3,
+ "y": 8,
+ "elevation": 3,
+ "item": "ITEM_ORAN_BERRY",
+ "flag": "182",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 13,
+ "y": 63,
+ "elevation": 3,
+ "item": "ITEM_PINAP_BERRY",
+ "flag": "183",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 54,
+ "elevation": 0,
+ "script": "SixIsland_WaterPath_EventScript_168B4A"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_WaterPath/scripts.inc b/data/maps/SixIsland_WaterPath/scripts.inc
new file mode 100644
index 000000000..5d8c10058
--- /dev/null
+++ b/data/maps/SixIsland_WaterPath/scripts.inc
@@ -0,0 +1,12 @@
+SixIsland_WaterPath_MapScripts:: @ 8168B40
+ .byte 0
+
+SixIsland_WaterPath_EventScript_168B41:: @ 8168B41
+ loadword 0, gUnknown_818BD0C
+ callstd 3
+ end
+
+SixIsland_WaterPath_EventScript_168B4A:: @ 8168B4A
+ loadword 0, gUnknown_818BD27
+ callstd 3
+ end
diff --git a/data/maps/SixIsland_WaterPath_House1/map.json b/data/maps/SixIsland_WaterPath_House1/map.json
new file mode 100644
index 000000000..84b136633
--- /dev/null
+++ b/data/maps/SixIsland_WaterPath_House1/map.json
@@ -0,0 +1,49 @@
+{
+ "id": "MAP_SIX_ISLAND_WATER_PATH_HOUSE1",
+ "name": "SixIsland_WaterPath_House1",
+ "layout": "LAYOUT_HOUSE4",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_WATER_PATH",
+ "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": "29",
+ "x": 3,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_WaterPath_House1_EventScript_17206D",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_WATER_PATH",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "script": "SixIsland_WaterPath_House1_EventScript_172157"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_WaterPath_House1/scripts.inc b/data/maps/SixIsland_WaterPath_House1/scripts.inc
new file mode 100644
index 000000000..d93d01435
--- /dev/null
+++ b/data/maps/SixIsland_WaterPath_House1/scripts.inc
@@ -0,0 +1,101 @@
+SixIsland_WaterPath_House1_MapScripts:: @ 817206C
+ .byte 0
+
+SixIsland_WaterPath_House1_EventScript_17206D:: @ 817206D
+ lock
+ faceplayer
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ setvar VAR_0x8004, 214
+ specialvar VAR_RESULT, sub_80CC48C
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1720E5
+ special sub_80A0918
+ loadword 0, gUnknown_81A4A3F
+ callstd 4
+ special sub_80BF8FC
+ waitstate
+ copyvar VAR_RESULT, VAR_0x8004
+ compare_var_to_value VAR_RESULT, 6
+ goto_if 4, EventScript_1720EF
+ special sub_80A0930
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_1720F1
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1720FB
+ compare_var_to_value VAR_RESULT, 3
+ goto_if 1, EventScript_172121
+ compare_var_to_value VAR_RESULT, 4
+ goto_if 1, EventScript_17210E
+ release
+ end
+
+EventScript_1720E5:: @ 81720E5
+ loadword 0, gUnknown_81A49E9
+ callstd 4
+ release
+ end
+
+EventScript_1720EF:: @ 81720EF
+ release
+ end
+
+EventScript_1720F1:: @ 81720F1
+ loadword 0, gUnknown_81A4BEF
+ callstd 4
+ release
+ end
+
+EventScript_1720FB:: @ 81720FB
+ checkflag FLAG_0x2D9
+ goto_if 0, EventScript_172121
+ loadword 0, gUnknown_81A4B7A
+ callstd 4
+ release
+ end
+
+EventScript_17210E:: @ 817210E
+ checkflag FLAG_0x2D9
+ goto_if 0, EventScript_172121
+ loadword 0, gUnknown_81A4B39
+ callstd 4
+ release
+ end
+
+EventScript_172121:: @ 8172121
+ setflag FLAG_0x2D9
+ loadword 0, gUnknown_81A4A88
+ callstd 4
+ setorcopyvar VAR_0x8000, 8
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_17214D
+ loadword 0, gUnknown_81A4AD9
+ callstd 4
+ release
+ end
+
+EventScript_17214D:: @ 817214D
+ loadword 0, gUnknown_81A4C47
+ callstd 4
+ release
+ end
+
+SixIsland_WaterPath_House1_EventScript_172157:: @ 8172157
+ lockall
+ checkflag FLAG_0x2D9
+ goto_if 1, EventScript_17216B
+ loadword 0, gUnknown_81A4CB9
+ callstd 4
+ releaseall
+ end
+
+EventScript_17216B:: @ 817216B
+ special sub_80A0918
+ loadword 0, gUnknown_81A4C6E
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/SixIsland_WaterPath_House2/map.json b/data/maps/SixIsland_WaterPath_House2/map.json
new file mode 100644
index 000000000..c671d9f29
--- /dev/null
+++ b/data/maps/SixIsland_WaterPath_House2/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_SIX_ISLAND_WATER_PATH_HOUSE2",
+ "name": "SixIsland_WaterPath_House2",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_WATER_PATH",
+ "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": "25",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "15",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SixIsland_WaterPath_House2_EventScript_172179",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_WATER_PATH",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/SixIsland_WaterPath_House2/scripts.inc b/data/maps/SixIsland_WaterPath_House2/scripts.inc
new file mode 100644
index 000000000..916bf5fbd
--- /dev/null
+++ b/data/maps/SixIsland_WaterPath_House2/scripts.inc
@@ -0,0 +1,7 @@
+SixIsland_WaterPath_House2_MapScripts:: @ 8172178
+ .byte 0
+
+SixIsland_WaterPath_House2_EventScript_172179:: @ 8172179
+ loadword 0, gUnknown_81A4D0D
+ callstd 2
+ end
diff --git a/data/maps/ThreeIsland/map.json b/data/maps/ThreeIsland/map.json
new file mode 100644
index 000000000..0b11d5bf2
--- /dev/null
+++ b/data/maps/ThreeIsland/map.json
@@ -0,0 +1,371 @@
+{
+ "id": "MAP_THREE_ISLAND",
+ "name": "ThreeIsland",
+ "layout": "LAYOUT_THREE_ISLAND",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_THREE_ISLAND",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_THREE_ISLAND_PORT",
+ "offset": 0,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_THREE_ISLAND_BOND_BRIDGE",
+ "offset": 0,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "25",
+ "x": 7,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_1677E5",
+ "flag": "126"
+ },
+ {
+ "graphics_id": "25",
+ "x": 8,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_167989",
+ "flag": "126"
+ },
+ {
+ "graphics_id": "53",
+ "x": 8,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_1677D8",
+ "flag": "145"
+ },
+ {
+ "graphics_id": "53",
+ "x": 9,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_1677D8",
+ "flag": "121"
+ },
+ {
+ "graphics_id": "53",
+ "x": 9,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_1677D8",
+ "flag": "121"
+ },
+ {
+ "graphics_id": "53",
+ "x": 10,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_1677D8",
+ "flag": "121"
+ },
+ {
+ "graphics_id": "53",
+ "x": 10,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_1677D8",
+ "flag": "121"
+ },
+ {
+ "graphics_id": "53",
+ "x": 11,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_1677D8",
+ "flag": "121"
+ },
+ {
+ "graphics_id": "95",
+ "x": 20,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "92",
+ "x": 18,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_1BEABC",
+ "flag": "443"
+ },
+ {
+ "graphics_id": "23",
+ "x": 15,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_167C77",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "16",
+ "x": 14,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_167C80",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "132",
+ "x": 15,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_167C89",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 15,
+ "y": 31,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_EventScript_167CA5",
+ "flag": "121"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 31,
+ "elevation": 0,
+ "dest_map": "MAP_THREE_ISLAND_HOUSE1",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 14,
+ "y": 27,
+ "elevation": 0,
+ "dest_map": "MAP_THREE_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 18,
+ "y": 12,
+ "elevation": 0,
+ "dest_map": "MAP_THREE_ISLAND_MART",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 6,
+ "elevation": 0,
+ "dest_map": "MAP_THREE_ISLAND_HOUSE2",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 12,
+ "y": 6,
+ "elevation": 0,
+ "dest_map": "MAP_THREE_ISLAND_HOUSE3",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 12,
+ "y": 12,
+ "elevation": 0,
+ "dest_map": "MAP_THREE_ISLAND_HOUSE4",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 13,
+ "y": 19,
+ "elevation": 0,
+ "dest_map": "MAP_THREE_ISLAND_HOUSE5",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 7,
+ "y": 27,
+ "elevation": 3,
+ "var": "VAR_0x407B",
+ "var_value": 2,
+ "script": "ThreeIsland_EventScript_1679B5"
+ },
+ {
+ "type": "trigger",
+ "x": 8,
+ "y": 27,
+ "elevation": 3,
+ "var": "VAR_0x407B",
+ "var_value": 2,
+ "script": "ThreeIsland_EventScript_1679B5"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 27,
+ "elevation": 3,
+ "var": "VAR_0x407B",
+ "var_value": 2,
+ "script": "ThreeIsland_EventScript_1679B5"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 27,
+ "elevation": 3,
+ "var": "VAR_0x407B",
+ "var_value": 2,
+ "script": "ThreeIsland_EventScript_1679B5"
+ },
+ {
+ "type": "trigger",
+ "x": 7,
+ "y": 26,
+ "elevation": 3,
+ "var": "VAR_0x407B",
+ "var_value": 3,
+ "script": "ThreeIsland_EventScript_167A1D"
+ },
+ {
+ "type": "trigger",
+ "x": 8,
+ "y": 26,
+ "elevation": 3,
+ "var": "VAR_0x407B",
+ "var_value": 3,
+ "script": "ThreeIsland_EventScript_167A29"
+ },
+ {
+ "type": "trigger",
+ "x": 9,
+ "y": 26,
+ "elevation": 3,
+ "var": "VAR_0x407B",
+ "var_value": 3,
+ "script": "ThreeIsland_EventScript_167A35"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 27,
+ "elevation": 3,
+ "var": "VAR_0x407B",
+ "var_value": 2,
+ "script": "ThreeIsland_EventScript_1679B5"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 26,
+ "elevation": 3,
+ "var": "VAR_0x407B",
+ "var_value": 3,
+ "script": "ThreeIsland_EventScript_167A41"
+ },
+ {
+ "type": "trigger",
+ "x": 11,
+ "y": 26,
+ "elevation": 3,
+ "var": "VAR_0x407B",
+ "var_value": 3,
+ "script": "ThreeIsland_EventScript_167A4D"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 12,
+ "y": 31,
+ "elevation": 0,
+ "script": "ThreeIsland_EventScript_167C9C"
+ },
+ {
+ "type": "hidden_item",
+ "x": 5,
+ "y": 13,
+ "elevation": 3,
+ "item": "ITEM_PP_UP",
+ "flag": "164",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland/scripts.inc b/data/maps/ThreeIsland/scripts.inc
new file mode 100644
index 000000000..76813e4ad
--- /dev/null
+++ b/data/maps/ThreeIsland/scripts.inc
@@ -0,0 +1,443 @@
+ThreeIsland_MapScripts:: @ 81677AD
+ map_script 3, ThreeIsland_MapScript1_1677B3
+ .byte 0
+
+ThreeIsland_MapScript1_1677B3:: @ 81677B3
+ setworldmapflag 2205
+ checkflag FLAG_0x2A3
+ call_if 1, EventScript_1677CB
+ compare_var_to_value VAR_0x407B, 4
+ call_if 1, EventScript_1677CF
+ end
+
+EventScript_1677CB:: @ 81677CB
+ setflag FLAG_0x07E
+ return
+
+EventScript_1677CF:: @ 81677CF
+ setobjectmovementtype 1, 1
+ setobjectmovementtype 2, 1
+ return
+
+ThreeIsland_EventScript_1677D8:: @ 81677D8
+ lock
+ setvar VAR_0x4001, 2
+ call EventScript_16786F
+ release
+ end
+
+ThreeIsland_EventScript_1677E5:: @ 81677E5
+ lock
+ checkflag FLAG_0x2FC
+ goto_if 1, EventScript_167806
+ compare_var_to_value VAR_0x407B, 4
+ goto_if 1, EventScript_16781A
+ setvar VAR_0x4001, 0
+ call EventScript_16786F
+ release
+ end
+
+EventScript_167806:: @ 8167806
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_81827F1
+ callstd 4
+ release
+ end
+
+EventScript_16781A:: @ 816781A
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_818275A
+ callstd 4
+ checkitemspace ITEM_FULL_RESTORE, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_167865
+ loadword 0, gUnknown_81827BE
+ setorcopyvar VAR_0x8000, 19
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ additem ITEM_FULL_RESTORE, 1
+ setflag FLAG_0x2FC
+ loadword 0, gUnknown_81827F1
+ callstd 4
+ release
+ end
+
+EventScript_167865:: @ 8167865
+ loadword 0, gUnknown_81827DB
+ callstd 4
+ release
+ end
+
+EventScript_16786F:: @ 816786F
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_167947
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_167947
+ applymovement 1, Movement_167A1B
+ waitmovement 0
+ loadword 0, gUnknown_81820C0
+ callstd 4
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_167952
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_167952
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_16795D
+ applymovement 5, Movement_167A19
+ waitmovement 0
+ loadword 0, gUnknown_8182125
+ callstd 4
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_167931
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_167931
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_167973
+ applymovement 2, Movement_167A1B
+ waitmovement 0
+ loadword 0, gUnknown_81821A9
+ callstd 4
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_167952
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_167952
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_16795D
+ applymovement 4, Movement_167A19
+ waitmovement 0
+ loadword 0, gUnknown_81821DC
+ callstd 4
+ return
+
+EventScript_167931:: @ 8167931
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ return
+
+EventScript_16793C:: @ 816793C
+ applymovement 255, Movement_1A75ED
+ waitmovement 0
+ return
+
+EventScript_167947:: @ 8167947
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ return
+
+EventScript_167952:: @ 8167952
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ return
+
+EventScript_16795D:: @ 816795D
+ getplayerxy VAR_0x8004, VAR_0x8005
+ compare_var_to_value VAR_0x8004, 9
+ goto_if 4, EventScript_167931
+ goto EventScript_167952
+ end
+
+EventScript_167973:: @ 8167973
+ getplayerxy VAR_0x8004, VAR_0x8005
+ compare_var_to_value VAR_0x8004, 9
+ goto_if 4, EventScript_167947
+ goto EventScript_167931
+ end
+
+ThreeIsland_EventScript_167989:: @ 8167989
+ lock
+ compare_var_to_value VAR_0x407B, 4
+ goto_if 1, EventScript_1679A1
+ setvar VAR_0x4001, 1
+ call EventScript_16786F
+ release
+ end
+
+EventScript_1679A1:: @ 81679A1
+ applymovement 2, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_8182823
+ callstd 4
+ release
+ end
+
+ThreeIsland_EventScript_1679B5:: @ 81679B5
+ lockall
+ textcolor 0
+ applymovement 1, Movement_167A1B
+ waitmovement 0
+ loadword 0, gUnknown_81821F1
+ callstd 4
+ applymovement 3, Movement_167A19
+ waitmovement 0
+ loadword 0, gUnknown_818221F
+ callstd 4
+ applymovement 1, Movement_167A1B
+ waitmovement 0
+ loadword 0, gUnknown_8182275
+ callstd 4
+ applymovement 3, Movement_167A19
+ waitmovement 0
+ loadword 0, gUnknown_81822FB
+ callstd 4
+ applymovement 1, Movement_167A1B
+ waitmovement 0
+ loadword 0, gUnknown_81823C7
+ callstd 4
+ setvar VAR_0x407B, 3
+ releaseall
+ end
+
+Movement_167A19:: @ 8167A19
+ step_27
+ step_end
+
+Movement_167A1B:: @ 8167A1B
+ step_28
+ step_end
+
+ThreeIsland_EventScript_167A1D:: @ 8167A1D
+ lockall
+ setvar VAR_0x4001, 0
+ goto EventScript_167A59
+ end
+
+ThreeIsland_EventScript_167A29:: @ 8167A29
+ lockall
+ setvar VAR_0x4001, 1
+ goto EventScript_167A59
+ end
+
+ThreeIsland_EventScript_167A35:: @ 8167A35
+ lockall
+ setvar VAR_0x4001, 2
+ goto EventScript_167A59
+ end
+
+ThreeIsland_EventScript_167A41:: @ 8167A41
+ lockall
+ setvar VAR_0x4001, 3
+ goto EventScript_167A59
+ end
+
+ThreeIsland_EventScript_167A4D:: @ 8167A4D
+ lockall
+ setvar VAR_0x4001, 4
+ goto EventScript_167A59
+ end
+
+EventScript_167A59:: @ 8167A59
+ textcolor 0
+ applymovement 5, Movement_1A75ED
+ waitmovement 0
+ playse SE_PIN
+ applymovement 5, Movement_1A75DB
+ waitmovement 0
+ applymovement 5, Movement_1A75DD
+ waitmovement 0
+ applymovement 5, Movement_167C57
+ waitmovement 0
+ playbgm BGM_FRLG_BOY_EYE, 0
+ loadword 0, gUnknown_81823ED
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_167C35
+ loadword 0, gUnknown_818247D
+ callstd 4
+ setvar VAR_LAST_TALKED, 5
+ trainerbattle 3, 527, 0, Text_1824B7
+ applymovement 5, Movement_167C5C
+ waitmovement 0
+ loadword 0, gUnknown_81824CF
+ callstd 4
+ closemessage
+ applymovement 7, Movement_167C57
+ waitmovement 0
+ playbgm BGM_FRLG_BOY_EYE, 0
+ loadword 0, gUnknown_81824EF
+ callstd 4
+ setvar VAR_LAST_TALKED, 7
+ trainerbattle 3, 528, 0, Text_182521
+ applymovement 7, Movement_167C5C
+ waitmovement 0
+ loadword 0, gUnknown_8182536
+ callstd 4
+ closemessage
+ applymovement 4, Movement_167C57
+ waitmovement 0
+ playbgm BGM_FRLG_BOY_EYE, 0
+ loadword 0, gUnknown_8182582
+ callstd 4
+ setvar VAR_LAST_TALKED, 4
+ trainerbattle 3, 529, 0, Text_1825D4
+ applymovement 4, Movement_1A75E7
+ waitmovement 0
+ applymovement 6, Movement_1A75ED
+ applymovement 8, Movement_1A75ED
+ waitmovement 0
+ loadword 0, gUnknown_81825E2
+ callstd 4
+ closemessage
+ delay 45
+ compare_var_to_value VAR_0x4001, 0
+ call_if 1, EventScript_167BC6
+ compare_var_to_value VAR_0x4001, 1
+ call_if 1, EventScript_167BD8
+ compare_var_to_value VAR_0x4001, 2
+ call_if 1, EventScript_167BEA
+ compare_var_to_value VAR_0x4001, 3
+ call_if 1, EventScript_167C03
+ compare_var_to_value VAR_0x4001, 4
+ call_if 1, EventScript_167C1C
+ playbgm BGM_FRLG_BOY_EYE, 0
+ loadword 0, gUnknown_8182623
+ callstd 4
+ setvar VAR_LAST_TALKED, 3
+ trainerbattle 3, 742, 0, Text_1826B7
+ loadword 0, gUnknown_818271D
+ callstd 4
+ closemessage
+ fadescreen 1
+ removeobject 3
+ removeobject 5
+ removeobject 7
+ removeobject 4
+ removeobject 6
+ removeobject 8
+ removeobject 14
+ fadescreen 0
+ setvar VAR_0x407B, 4
+ releaseall
+ end
+
+EventScript_167BC6:: @ 8167BC6
+ applymovement 4, Movement_1A75ED
+ applymovement 3, Movement_167C5E
+ waitmovement 0
+ return
+
+EventScript_167BD8:: @ 8167BD8
+ applymovement 4, Movement_1A75ED
+ applymovement 3, Movement_167C62
+ waitmovement 0
+ return
+
+EventScript_167BEA:: @ 8167BEA
+ applymovement 4, Movement_1A75ED
+ applymovement 3, Movement_167C64
+ applymovement 255, Movement_167C68
+ waitmovement 0
+ return
+
+EventScript_167C03:: @ 8167C03
+ applymovement 4, Movement_1A75ED
+ applymovement 255, Movement_167C68
+ applymovement 3, Movement_167C6C
+ waitmovement 0
+ return
+
+EventScript_167C1C:: @ 8167C1C
+ applymovement 4, Movement_1A75ED
+ applymovement 255, Movement_167C68
+ applymovement 3, Movement_167C71
+ waitmovement 0
+ return
+
+EventScript_167C35:: @ 8167C35
+ loadword 0, gUnknown_8182453
+ callstd 4
+ closemessage
+ applymovement 255, Movement_167C55
+ waitmovement 0
+ applymovement 5, Movement_167C59
+ waitmovement 0
+ fadedefaultbgm
+ releaseall
+ end
+
+Movement_167C55:: @ 8167C55
+ step_10
+ step_end
+
+Movement_167C57:: @ 8167C57
+ step_10
+ step_end
+
+Movement_167C59:: @ 8167C59
+ step_11
+ step_2f
+ step_end
+
+Movement_167C5C:: @ 8167C5C
+ step_25
+ step_end
+
+Movement_167C5E:: @ 8167C5E
+ step_10
+ step_12
+ step_2d
+ step_end
+
+Movement_167C62:: @ 8167C62
+ step_10
+ step_end
+
+Movement_167C64:: @ 8167C64
+ step_10
+ step_10
+ step_30
+ step_end
+
+Movement_167C68:: @ 8167C68
+ step_1c
+ step_1c
+ step_2f
+ step_end
+
+Movement_167C6C:: @ 8167C6C
+ step_10
+ step_10
+ step_13
+ step_30
+ step_end
+
+Movement_167C71:: @ 8167C71
+ step_10
+ step_10
+ step_13
+ step_13
+ step_30
+ step_end
+
+ThreeIsland_EventScript_167C77:: @ 8167C77
+ loadword 0, gUnknown_81828EB
+ callstd 2
+ end
+
+ThreeIsland_EventScript_167C80:: @ 8167C80
+ loadword 0, gUnknown_818298A
+ callstd 2
+ end
+
+ThreeIsland_EventScript_167C89:: @ 8167C89
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_DODUO, 0
+ loadword 0, gUnknown_81829F4
+ callstd 4
+ waitmoncry
+ release
+ end
+
+ThreeIsland_EventScript_167C9C:: @ 8167C9C
+ loadword 0, gUnknown_8182061
+ callstd 3
+ end
+
+ThreeIsland_EventScript_167CA5:: @ 8167CA5
+ loadword 0, gUnknown_818208B
+ callstd 2
+ end
diff --git a/data/maps/ThreeIsland_BerryForest/map.json b/data/maps/ThreeIsland_BerryForest/map.json
new file mode 100644
index 000000000..542a70dc9
--- /dev/null
+++ b/data/maps/ThreeIsland_BerryForest/map.json
@@ -0,0 +1,356 @@
+{
+ "id": "MAP_THREE_ISLAND_BERRY_FOREST",
+ "name": "ThreeIsland_BerryForest",
+ "layout": "LAYOUT_THREE_ISLAND_BERRY_FOREST",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_BERRY_FOREST",
+ "requires_flash": false,
+ "weather": "WEATHER_11",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "17",
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_163C83",
+ "flag": "122"
+ },
+ {
+ "graphics_id": "95",
+ "x": 12,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "95",
+ "x": 19,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_1BDF13",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "95",
+ "x": 23,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_1BDF13",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "95",
+ "x": 38,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_1BDF13",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "95",
+ "x": 44,
+ "y": 23,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_1BDF13",
+ "flag": "22"
+ },
+ {
+ "graphics_id": "95",
+ "x": 44,
+ "y": 29,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_1BDF13",
+ "flag": "23"
+ },
+ {
+ "graphics_id": "95",
+ "x": 16,
+ "y": 43,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_1BDF13",
+ "flag": "24"
+ },
+ {
+ "graphics_id": "95",
+ "x": 17,
+ "y": 39,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_1BDF13",
+ "flag": "25"
+ },
+ {
+ "graphics_id": "95",
+ "x": 14,
+ "y": 39,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_1BDF13",
+ "flag": "26"
+ },
+ {
+ "graphics_id": "95",
+ "x": 11,
+ "y": 39,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_1BDF13",
+ "flag": "27"
+ },
+ {
+ "graphics_id": "92",
+ "x": 12,
+ "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": "ThreeIsland_BerryForest_EventScript_1BED05",
+ "flag": "490"
+ },
+ {
+ "graphics_id": "92",
+ "x": 27,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_1BED12",
+ "flag": "491"
+ },
+ {
+ "graphics_id": "92",
+ "x": 12,
+ "y": 43,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_1BED1F",
+ "flag": "492"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 43,
+ "y": 41,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND_BOND_BRIDGE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 42,
+ "y": 41,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND_BOND_BRIDGE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 44,
+ "y": 41,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND_BOND_BRIDGE",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 27,
+ "elevation": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_163D31"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 39,
+ "y": 35,
+ "elevation": 0,
+ "script": "ThreeIsland_BerryForest_EventScript_163D28"
+ },
+ {
+ "type": "hidden_item",
+ "x": 31,
+ "y": 25,
+ "elevation": 3,
+ "item": "ITEM_RAZZ_BERRY",
+ "flag": "90",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 15,
+ "y": 15,
+ "elevation": 3,
+ "item": "ITEM_BLUK_BERRY",
+ "flag": "91",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 25,
+ "y": 24,
+ "elevation": 3,
+ "item": "ITEM_NANAB_BERRY",
+ "flag": "92",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 11,
+ "y": 24,
+ "elevation": 3,
+ "item": "ITEM_WEPEAR_BERRY",
+ "flag": "93",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 37,
+ "y": 18,
+ "elevation": 3,
+ "item": "ITEM_ORAN_BERRY",
+ "flag": "94",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 14,
+ "y": 23,
+ "elevation": 3,
+ "item": "ITEM_CHERI_BERRY",
+ "flag": "95",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 47,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_CHESTO_BERRY",
+ "flag": "96",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 7,
+ "y": 30,
+ "elevation": 3,
+ "item": "ITEM_PECHA_BERRY",
+ "flag": "97",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 16,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_RAWST_BERRY",
+ "flag": "98",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 25,
+ "y": 6,
+ "elevation": 3,
+ "item": "ITEM_ASPEAR_BERRY",
+ "flag": "99",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 46,
+ "y": 32,
+ "elevation": 3,
+ "item": "ITEM_PERSIM_BERRY",
+ "flag": "100",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 43,
+ "y": 16,
+ "elevation": 3,
+ "item": "ITEM_PINAP_BERRY",
+ "flag": "101",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 8,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_LUM_BERRY",
+ "flag": "102",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_BerryForest/scripts.inc b/data/maps/ThreeIsland_BerryForest/scripts.inc
new file mode 100644
index 000000000..42446a6d7
--- /dev/null
+++ b/data/maps/ThreeIsland_BerryForest/scripts.inc
@@ -0,0 +1,74 @@
+ThreeIsland_BerryForest_MapScripts:: @ 8163C71
+ map_script 3, ThreeIsland_BerryForest_MapScript1_163C77
+ .byte 0
+
+ThreeIsland_BerryForest_MapScript1_163C77:: @ 8163C77
+ setworldmapflag 2231
+ setescapewarp MAP_THREE_ISLAND_BOND_BRIDGE, 255, 12, 6
+ end
+
+ThreeIsland_BerryForest_EventScript_163C83:: @ 8163C83
+ lock
+ faceplayer
+ loadword 0, gUnknown_817ADD6
+ callstd 4
+ playse SE_PIN
+ applymovement 1, Movement_1A75DB
+ waitmovement 0
+ applymovement 1, Movement_163D22
+ waitmovement 0
+ loadword 0, gUnknown_817AE8E
+ callstd 4
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ waitse
+ playmoncry SPECIES_HYPNO, 2
+ waitmoncry
+ setwildbattle SPECIES_HYPNO, 30, ITEM_NONE
+ dowildbattle
+ special sub_8112364
+ applymovement 1, Movement_1A75E1
+ waitmovement 0
+ loadword 0, gUnknown_817AEE1
+ callstd 4
+ setorcopyvar VAR_0x8000, 147
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ call_if 1, EventScript_163D19
+ special sub_80CA6DC
+ loadword 0, gUnknown_817AF3B
+ callstd 4
+ closemessage
+ setflag FLAG_0x2A3
+ setflag FLAG_0x07A
+ setvar VAR_0x4079, 2
+ clearflag FLAG_0x075
+ warp MAP_TWO_ISLAND_JOYFUL_GAME_CORNER, 255, 6, 6
+ waitstate
+ release
+ end
+
+EventScript_163D19:: @ 8163D19
+ loadword 0, gUnknown_817AF9F
+ callstd 4
+ return
+
+Movement_163D22:: @ 8163D22
+ step_2f
+ step_1c
+ step_30
+ step_1b
+ step_2f
+ step_end
+
+ThreeIsland_BerryForest_EventScript_163D28:: @ 8163D28
+ loadword 0, gUnknown_817AFD6
+ callstd 3
+ end
+
+ThreeIsland_BerryForest_EventScript_163D31:: @ 8163D31
+ loadword 0, gUnknown_817B029
+ callstd 3
+ end
diff --git a/data/maps/ThreeIsland_BondBridge/map.json b/data/maps/ThreeIsland_BondBridge/map.json
new file mode 100644
index 000000000..2afa51258
--- /dev/null
+++ b/data/maps/ThreeIsland_BondBridge/map.json
@@ -0,0 +1,200 @@
+{
+ "id": "MAP_THREE_ISLAND_BOND_BRIDGE",
+ "name": "ThreeIsland_BondBridge",
+ "layout": "LAYOUT_THREE_ISLAND_BOND_BRIDGE",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_BOND_BRIDGE",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_THREE_ISLAND",
+ "offset": 0,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "28",
+ "x": 27,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "ThreeIsland_BondBridge_EventScript_1ABF65",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "28",
+ "x": 68,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "ThreeIsland_BondBridge_EventScript_1ABFA3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "37",
+ "x": 33,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "ThreeIsland_BondBridge_EventScript_1ABFE1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "37",
+ "x": 50,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "27",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "ThreeIsland_BondBridge_EventScript_1AC01F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 36,
+ "y": 4,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "ThreeIsland_BondBridge_EventScript_1AC05D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 77,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "ThreeIsland_BondBridge_EventScript_1AC09B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 78,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "ThreeIsland_BondBridge_EventScript_1AC0E1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 72,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BondBridge_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "95",
+ "x": 86,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_BondBridge_EventScript_1BDF13",
+ "flag": "19"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 12,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND_BERRY_FOREST",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 13,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND_BERRY_FOREST",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 14,
+ "y": 7,
+ "elevation": 0,
+ "script": "ThreeIsland_BondBridge_EventScript_168777"
+ },
+ {
+ "type": "hidden_item",
+ "x": 61,
+ "y": 5,
+ "elevation": 0,
+ "item": "ITEM_MAX_REPEL",
+ "flag": "165",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 44,
+ "y": 12,
+ "elevation": 3,
+ "item": "ITEM_PEARL",
+ "flag": "166",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 33,
+ "y": 7,
+ "elevation": 3,
+ "item": "ITEM_STARDUST",
+ "flag": "167",
+ "unknown": 1
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 91,
+ "y": 9,
+ "elevation": 0,
+ "script": "ThreeIsland_BondBridge_EventScript_168780"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_BondBridge/scripts.inc b/data/maps/ThreeIsland_BondBridge/scripts.inc
new file mode 100644
index 000000000..567cbfcb8
--- /dev/null
+++ b/data/maps/ThreeIsland_BondBridge/scripts.inc
@@ -0,0 +1,12 @@
+ThreeIsland_BondBridge_MapScripts:: @ 8168776
+ .byte 0
+
+ThreeIsland_BondBridge_EventScript_168777:: @ 8168777
+ loadword 0, gUnknown_818A210
+ callstd 3
+ end
+
+ThreeIsland_BondBridge_EventScript_168780:: @ 8168780
+ loadword 0, gUnknown_818A223
+ callstd 3
+ end
diff --git a/data/maps/ThreeIsland_DunsparceTunnel/map.json b/data/maps/ThreeIsland_DunsparceTunnel/map.json
new file mode 100644
index 000000000..624dd99f2
--- /dev/null
+++ b/data/maps/ThreeIsland_DunsparceTunnel/map.json
@@ -0,0 +1,58 @@
+{
+ "id": "MAP_THREE_ISLAND_DUNSPARCE_TUNNEL",
+ "name": "ThreeIsland_DunsparceTunnel",
+ "layout": "LAYOUT_THREE_ISLAND_DUNSPARCE_TUNNEL",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_THREE_ISLE_PATH",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "27",
+ "x": 23,
+ "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": "ThreeIsland_DunsparceTunnel_EventScript_164D60",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND_PORT",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 25,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND_PORT",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 21,
+ "y": 3,
+ "elevation": 0,
+ "item": "ITEM_NUGGET",
+ "flag": "163",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_DunsparceTunnel/scripts.inc b/data/maps/ThreeIsland_DunsparceTunnel/scripts.inc
new file mode 100644
index 000000000..dcc142a8d
--- /dev/null
+++ b/data/maps/ThreeIsland_DunsparceTunnel/scripts.inc
@@ -0,0 +1,62 @@
+ThreeIsland_DunsparceTunnel_MapScripts:: @ 8164D26
+ map_script 3, ThreeIsland_DunsparceTunnel_MapScript1_164D2C
+ .byte 0
+
+ThreeIsland_DunsparceTunnel_MapScript1_164D2C:: @ 8164D2C
+ setworldmapflag 2240
+ specialvar VAR_RESULT, sub_806E25C
+ copyvar VAR_0x8008, VAR_RESULT
+ compare_var_to_value VAR_0x8008, 1
+ call_if 1, EventScript_164D50
+ compare_var_to_value VAR_0x8008, 0
+ call_if 1, EventScript_164D54
+ end
+
+EventScript_164D50:: @ 8164D50
+ setmaplayoutindex LAYOUT_UNUSED_LAYOUT_83453C0
+ return
+
+EventScript_164D54:: @ 8164D54
+ setobjectxyperm 1, 6, 3
+ setobjectmovementtype 1, 10
+ return
+
+ThreeIsland_DunsparceTunnel_EventScript_164D60:: @ 8164D60
+ lock
+ faceplayer
+ checkflag FLAG_0x2E2
+ goto_if 1, EventScript_164DC2
+ specialvar VAR_RESULT, sub_806E25C
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_164D90
+ loadword 0, gUnknown_817D13B
+ callstd 4
+ closemessage
+ applymovement 1, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+EventScript_164D90:: @ 8164D90
+ loadword 0, gUnknown_817D1C9
+ callstd 4
+ setorcopyvar VAR_0x8000, 110
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_164DB8
+ setflag FLAG_0x2E2
+ goto EventScript_164DC2
+ end
+
+EventScript_164DB8:: @ 8164DB8
+ loadword 0, gUnknown_817D2DC
+ callstd 4
+ release
+ end
+
+EventScript_164DC2:: @ 8164DC2
+ loadword 0, gUnknown_817D28C
+ callstd 4
+ release
+ end
diff --git a/data/maps/ThreeIsland_Harbor/map.json b/data/maps/ThreeIsland_Harbor/map.json
new file mode 100644
index 000000000..4348bde2f
--- /dev/null
+++ b/data/maps/ThreeIsland_Harbor/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_THREE_ISLAND_HARBOR",
+ "name": "ThreeIsland_Harbor",
+ "layout": "LAYOUT_ISLAND_HARBOR",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_THREE_ISLE_PORT",
+ "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": "108",
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_Harbor_EventScript_171EAA",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND_PORT",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_Harbor/scripts.inc b/data/maps/ThreeIsland_Harbor/scripts.inc
new file mode 100644
index 000000000..da8f083b2
--- /dev/null
+++ b/data/maps/ThreeIsland_Harbor/scripts.inc
@@ -0,0 +1,11 @@
+ThreeIsland_Harbor_MapScripts:: @ 8171EA9
+ .byte 0
+
+ThreeIsland_Harbor_EventScript_171EAA:: @ 8171EAA
+ lock
+ faceplayer
+ message Text_181726
+ waitmessage
+ setvar VAR_0x8004, 3
+ goto EventScript_1A900F
+ end
diff --git a/data/maps/ThreeIsland_House1/map.json b/data/maps/ThreeIsland_House1/map.json
new file mode 100644
index 000000000..b7d96db3c
--- /dev/null
+++ b/data/maps/ThreeIsland_House1/map.json
@@ -0,0 +1,49 @@
+{
+ "id": "MAP_THREE_ISLAND_HOUSE1",
+ "name": "ThreeIsland_House1",
+ "layout": "LAYOUT_THREE_ISLAND_HOUSE1",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_THREE_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": "17",
+ "x": 3,
+ "y": 4,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_House1_EventScript_17181A",
+ "flag": "118"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "script": "ThreeIsland_House1_EventScript_171829"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_House1/scripts.inc b/data/maps/ThreeIsland_House1/scripts.inc
new file mode 100644
index 000000000..62eb26709
--- /dev/null
+++ b/data/maps/ThreeIsland_House1/scripts.inc
@@ -0,0 +1,16 @@
+ThreeIsland_House1_MapScripts:: @ 8171819
+ .byte 0
+
+ThreeIsland_House1_EventScript_17181A:: @ 817181A
+ lock
+ faceplayer
+ special sub_80CA6DC
+ loadword 0, gUnknown_81A2F3E
+ callstd 4
+ release
+ end
+
+ThreeIsland_House1_EventScript_171829:: @ 8171829
+ loadword 0, gUnknown_81A2F92
+ callstd 3
+ end
diff --git a/data/maps/ThreeIsland_House2/map.json b/data/maps/ThreeIsland_House2/map.json
new file mode 100644
index 000000000..ca21bcb96
--- /dev/null
+++ b/data/maps/ThreeIsland_House2/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_THREE_ISLAND_HOUSE2",
+ "name": "ThreeIsland_House2",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_THREE_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": "26",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_House2_EventScript_1718F9",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_House2_EventScript_1718E0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_House2/scripts.inc b/data/maps/ThreeIsland_House2/scripts.inc
new file mode 100644
index 000000000..21e85b131
--- /dev/null
+++ b/data/maps/ThreeIsland_House2/scripts.inc
@@ -0,0 +1,18 @@
+ThreeIsland_House2_MapScripts:: @ 81718DF
+ .byte 0
+
+ThreeIsland_House2_EventScript_1718E0:: @ 81718E0
+ lock
+ faceplayer
+ setvar VAR_0x8004, 7
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_81A32CA
+ callstd 4
+ release
+ end
+
+ThreeIsland_House2_EventScript_1718F9:: @ 81718F9
+ loadword 0, gUnknown_81A3245
+ callstd 2
+ end
diff --git a/data/maps/ThreeIsland_House3/map.json b/data/maps/ThreeIsland_House3/map.json
new file mode 100644
index 000000000..87b46b302
--- /dev/null
+++ b/data/maps/ThreeIsland_House3/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_THREE_ISLAND_HOUSE3",
+ "name": "ThreeIsland_House3",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_THREE_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": "29",
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_House3_EventScript_171903",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_House3/scripts.inc b/data/maps/ThreeIsland_House3/scripts.inc
new file mode 100644
index 000000000..370290b0d
--- /dev/null
+++ b/data/maps/ThreeIsland_House3/scripts.inc
@@ -0,0 +1,7 @@
+ThreeIsland_House3_MapScripts:: @ 8171902
+ .byte 0
+
+ThreeIsland_House3_EventScript_171903:: @ 8171903
+ loadword 0, gUnknown_81A3379
+ callstd 2
+ end
diff --git a/data/maps/ThreeIsland_House4/map.json b/data/maps/ThreeIsland_House4/map.json
new file mode 100644
index 000000000..42e328dbc
--- /dev/null
+++ b/data/maps/ThreeIsland_House4/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_THREE_ISLAND_HOUSE4",
+ "name": "ThreeIsland_House4",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_THREE_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": "30",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_House4_EventScript_17190D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "16",
+ "x": 6,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_House4_EventScript_171916",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_House4/scripts.inc b/data/maps/ThreeIsland_House4/scripts.inc
new file mode 100644
index 000000000..27ec90e70
--- /dev/null
+++ b/data/maps/ThreeIsland_House4/scripts.inc
@@ -0,0 +1,12 @@
+ThreeIsland_House4_MapScripts:: @ 817190C
+ .byte 0
+
+ThreeIsland_House4_EventScript_17190D:: @ 817190D
+ loadword 0, gUnknown_81A33DB
+ callstd 2
+ end
+
+ThreeIsland_House4_EventScript_171916:: @ 8171916
+ loadword 0, gUnknown_81A342F
+ callstd 2
+ end
diff --git a/data/maps/ThreeIsland_House5/map.json b/data/maps/ThreeIsland_House5/map.json
new file mode 100644
index 000000000..ccc509b37
--- /dev/null
+++ b/data/maps/ThreeIsland_House5/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_THREE_ISLAND_HOUSE5",
+ "name": "ThreeIsland_House5",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_THREE_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": "17",
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_House5_EventScript_171920",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_House5/scripts.inc b/data/maps/ThreeIsland_House5/scripts.inc
new file mode 100644
index 000000000..9559b9a23
--- /dev/null
+++ b/data/maps/ThreeIsland_House5/scripts.inc
@@ -0,0 +1,18 @@
+ThreeIsland_House5_MapScripts:: @ 817191F
+ .byte 0
+
+ThreeIsland_House5_EventScript_171920:: @ 8171920
+ lock
+ faceplayer
+ checkflag FLAG_0x2A3
+ goto_if 1, EventScript_171935
+ loadword 0, gUnknown_81A3469
+ callstd 4
+ release
+ end
+
+EventScript_171935:: @ 8171935
+ loadword 0, gUnknown_81A34DB
+ callstd 4
+ release
+ end
diff --git a/data/maps/ThreeIsland_Mart/map.json b/data/maps/ThreeIsland_Mart/map.json
new file mode 100644
index 000000000..ed3bb6395
--- /dev/null
+++ b/data/maps/ThreeIsland_Mart/map.json
@@ -0,0 +1,80 @@
+{
+ "id": "MAP_THREE_ISLAND_MART",
+ "name": "ThreeIsland_Mart",
+ "layout": "LAYOUT_MART",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_THREE_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": "68",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_Mart_EventScript_17188D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 2,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_Mart_EventScript_1718C4",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 7,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_Mart_EventScript_1718CD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 6,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_Mart_EventScript_1718D6",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_Mart/scripts.inc b/data/maps/ThreeIsland_Mart/scripts.inc
new file mode 100644
index 000000000..4060673a9
--- /dev/null
+++ b/data/maps/ThreeIsland_Mart/scripts.inc
@@ -0,0 +1,43 @@
+ThreeIsland_Mart_MapScripts:: @ 817188C
+ .byte 0
+
+ThreeIsland_Mart_EventScript_17188D:: @ 817188D
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_1718B4
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_1718B4:: @ 81718B4
+ .2byte ITEM_ULTRA_BALL
+ .2byte ITEM_HYPER_POTION
+ .2byte ITEM_REVIVE
+ .2byte ITEM_FULL_HEAL
+ .2byte ITEM_ESCAPE_ROPE
+ .2byte ITEM_MAX_REPEL
+ .2byte ITEM_NONE
+ release
+ end
+
+ThreeIsland_Mart_EventScript_1718C4:: @ 81718C4
+ loadword 0, gUnknown_81A3114
+ callstd 2
+ end
+
+ThreeIsland_Mart_EventScript_1718CD:: @ 81718CD
+ loadword 0, gUnknown_81A315C
+ callstd 2
+ end
+
+ThreeIsland_Mart_EventScript_1718D6:: @ 81718D6
+ loadword 0, gUnknown_81A31F0
+ callstd 2
+ end
diff --git a/data/maps/ThreeIsland_PokemonCenter_1F/map.json b/data/maps/ThreeIsland_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..3292e5409
--- /dev/null
+++ b/data/maps/ThreeIsland_PokemonCenter_1F/map.json
@@ -0,0 +1,87 @@
+{
+ "id": "MAP_THREE_ISLAND_POKEMON_CENTER_1F",
+ "name": "ThreeIsland_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_THREE_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": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_PokemonCenter_1F_EventScript_171841",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 12,
+ "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": "ThreeIsland_PokemonCenter_1F_EventScript_17185C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 3,
+ "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": "ThreeIsland_PokemonCenter_1F_EventScript_171853",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "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": "ThreeIsland_PokemonCenter_1F_EventScript_17184A",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_THREE_ISLAND_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_PokemonCenter_1F/scripts.inc b/data/maps/ThreeIsland_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..711e63498
--- /dev/null
+++ b/data/maps/ThreeIsland_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,30 @@
+ThreeIsland_PokemonCenter_1F_MapScripts:: @ 8171832
+ map_script 3, ThreeIsland_PokemonCenter_1F_MapScript1_17183D
+ map_script 5, ThreeIsland_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+ThreeIsland_PokemonCenter_1F_MapScript1_17183D:: @ 817183D
+ setrespawn 16
+ end
+
+ThreeIsland_PokemonCenter_1F_EventScript_171841:: @ 8171841
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+ThreeIsland_PokemonCenter_1F_EventScript_17184A:: @ 817184A
+ loadword 0, gUnknown_81A303B
+ callstd 2
+ end
+
+ThreeIsland_PokemonCenter_1F_EventScript_171853:: @ 8171853
+ loadword 0, gUnknown_81A30A3
+ callstd 2
+ end
+
+ThreeIsland_PokemonCenter_1F_EventScript_17185C:: @ 817185C
+ loadword 0, gUnknown_81A2FB5
+ callstd 2
+ end
diff --git a/data/maps/ThreeIsland_PokemonCenter_2F/map.json b/data/maps/ThreeIsland_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..b396f5897
--- /dev/null
+++ b/data/maps/ThreeIsland_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_THREE_ISLAND_POKEMON_CENTER_2F",
+ "name": "ThreeIsland_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_THREE_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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "ThreeIsland_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_THREE_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_PokemonCenter_2F/scripts.inc b/data/maps/ThreeIsland_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..a87ceda5a
--- /dev/null
+++ b/data/maps/ThreeIsland_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+ThreeIsland_PokemonCenter_2F_MapScripts:: @ 8171865
+ map_script 2, ThreeIsland_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, ThreeIsland_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, ThreeIsland_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, ThreeIsland_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+ThreeIsland_PokemonCenter_2F_EventScript_17187A:: @ 817187A
+ call EventScript_1BB4A3
+ end
+
+EventScript_171880:: @ 8171880
+ call EventScript_1BB6AB
+ end
+
+EventScript_171886:: @ 8171886
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/ThreeIsland_Port/map.json b/data/maps/ThreeIsland_Port/map.json
new file mode 100644
index 000000000..dcc447fbb
--- /dev/null
+++ b/data/maps/ThreeIsland_Port/map.json
@@ -0,0 +1,87 @@
+{
+ "id": "MAP_THREE_ISLAND_PORT",
+ "name": "ThreeIsland_Port",
+ "layout": "LAYOUT_THREE_ISLAND_PORT",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_THREE_ISLE_PORT",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_THREE_ISLAND",
+ "offset": 0,
+ "direction": "up"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "31",
+ "x": 14,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_Port_EventScript_168796",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 8,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "28",
+ "movement_range_x": 3,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_Port_EventScript_1687CC",
+ "flag": "121"
+ },
+ {
+ "graphics_id": "53",
+ "x": 13,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "49",
+ "movement_range_x": 2,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ThreeIsland_Port_EventScript_1687D5",
+ "flag": "121"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 16,
+ "y": 4,
+ "elevation": 0,
+ "dest_map": "MAP_THREE_ISLAND_DUNSPARCE_TUNNEL",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 38,
+ "y": 5,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND_DUNSPARCE_TUNNEL",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 12,
+ "y": 13,
+ "elevation": 3,
+ "dest_map": "MAP_THREE_ISLAND_HARBOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/ThreeIsland_Port/scripts.inc b/data/maps/ThreeIsland_Port/scripts.inc
new file mode 100644
index 000000000..876acaaac
--- /dev/null
+++ b/data/maps/ThreeIsland_Port/scripts.inc
@@ -0,0 +1,44 @@
+ThreeIsland_Port_MapScripts:: @ 8168789
+ map_script 3, ThreeIsland_Port_MapScript1_16878F
+ .byte 0
+
+ThreeIsland_Port_MapScript1_16878F:: @ 816878F
+ clearflag 2113
+ setflag FLAG_0x2A1
+ end
+
+ThreeIsland_Port_EventScript_168796:: @ 8168796
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4079, 2
+ goto_if 4, EventScript_1687B8
+ compare_var_to_value VAR_0x407B, 4
+ goto_if 4, EventScript_1687C2
+ loadword 0, gUnknown_818A307
+ callstd 4
+ release
+ end
+
+EventScript_1687B8:: @ 81687B8
+ loadword 0, gUnknown_818A38B
+ callstd 4
+ release
+ end
+
+EventScript_1687C2:: @ 81687C2
+ loadword 0, gUnknown_818A339
+ callstd 4
+ release
+ end
+
+ThreeIsland_Port_EventScript_1687CC:: @ 81687CC
+ loadword 0, gUnknown_818A261
+ callstd 2
+ end
+
+ThreeIsland_Port_EventScript_1687D5:: @ 81687D5
+ lock
+ loadword 0, gUnknown_818A2D8
+ callstd 4
+ release
+ end
diff --git a/data/maps/TwoIsland/map.json b/data/maps/TwoIsland/map.json
new file mode 100644
index 000000000..42e6a428e
--- /dev/null
+++ b/data/maps/TwoIsland/map.json
@@ -0,0 +1,194 @@
+{
+ "id": "MAP_TWO_ISLAND",
+ "name": "TwoIsland",
+ "layout": "LAYOUT_TWO_ISLAND",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_TWO_ISLAND",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_TWO_ISLAND_CAPE_BRINK",
+ "offset": 24,
+ "direction": "up"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "68",
+ "x": 28,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_EventScript_16760F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "23",
+ "x": 31,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_EventScript_167755",
+ "flag": "123"
+ },
+ {
+ "graphics_id": "29",
+ "x": 30,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_EventScript_16775E",
+ "flag": "124"
+ },
+ {
+ "graphics_id": "62",
+ "x": 26,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_EventScript_16774C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "52",
+ "x": 27,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_EventScript_167777",
+ "flag": "125"
+ },
+ {
+ "graphics_id": "95",
+ "x": 30,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "92",
+ "x": 39,
+ "y": 16,
+ "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_EventScript_1BEAAF",
+ "flag": "442"
+ },
+ {
+ "graphics_id": "16",
+ "x": 37,
+ "y": 12,
+ "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_EventScript_167789",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "19",
+ "x": 24,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_EventScript_167780",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 39,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_TWO_ISLAND_JOYFUL_GAME_CORNER",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 33,
+ "y": 9,
+ "elevation": 0,
+ "dest_map": "MAP_TWO_ISLAND_HOUSE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 21,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_TWO_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 10,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_TWO_ISLAND_HARBOR",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 29,
+ "y": 8,
+ "elevation": 0,
+ "script": "TwoIsland_EventScript_167792"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 40,
+ "y": 10,
+ "elevation": 0,
+ "script": "TwoIsland_EventScript_16779B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 8,
+ "y": 3,
+ "elevation": 0,
+ "script": "TwoIsland_EventScript_1677A4"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/TwoIsland/scripts.inc b/data/maps/TwoIsland/scripts.inc
new file mode 100644
index 000000000..3cec3aad1
--- /dev/null
+++ b/data/maps/TwoIsland/scripts.inc
@@ -0,0 +1,254 @@
+TwoIsland_MapScripts:: @ 8167564
+ map_script 3, TwoIsland_MapScript1_16756A
+ .byte 0
+
+TwoIsland_MapScript1_16756A:: @ 816756A
+ setworldmapflag 2204
+ setflag FLAG_0x2A2
+ call EventScript_167576
+ end
+
+EventScript_167576:: @ 8167576
+ checkflag 2116
+ goto_if 1, EventScript_167597
+ checkflag 2092
+ goto_if 1, EventScript_1675B8
+ checkflag FLAG_0x2A3
+ goto_if 1, EventScript_1675D9
+ goto EventScript_1675E8
+ end
+
+EventScript_167597:: @ 8167597
+ checkflag FLAG_0x29D
+ goto_if 0, EventScript_1675EE
+ checkflag FLAG_0x29E
+ goto_if 0, EventScript_1675F4
+ checkflag FLAG_0x29F
+ goto_if 0, EventScript_1675FD
+ goto EventScript_167606
+ end
+
+EventScript_1675B8:: @ 81675B8
+ checkflag FLAG_0x29D
+ goto_if 0, EventScript_1675EE
+ checkflag FLAG_0x2A3
+ goto_if 0, EventScript_1675EE
+ checkflag FLAG_0x29E
+ goto_if 0, EventScript_1675F4
+ goto EventScript_1675FD
+ end
+
+EventScript_1675D9:: @ 81675D9
+ checkflag FLAG_0x29D
+ goto_if 0, EventScript_1675EE
+ goto EventScript_1675F4
+ end
+
+EventScript_1675E8:: @ 81675E8
+ goto EventScript_1675EE
+ end
+
+EventScript_1675EE:: @ 81675EE
+ setvar VAR_0x4078, 1
+ return
+
+EventScript_1675F4:: @ 81675F4
+ setvar VAR_0x4078, 2
+ clearflag FLAG_0x07B
+ return
+
+EventScript_1675FD:: @ 81675FD
+ setvar VAR_0x4078, 3
+ clearflag FLAG_0x07C
+ return
+
+EventScript_167606:: @ 8167606
+ setvar VAR_0x4078, 4
+ clearflag FLAG_0x07D
+ return
+
+TwoIsland_EventScript_16760F:: @ 816760F
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4078, 4
+ goto_if 1, EventScript_167646
+ compare_var_to_value VAR_0x4078, 3
+ goto_if 1, EventScript_16765E
+ compare_var_to_value VAR_0x4078, 2
+ goto_if 1, EventScript_167676
+ goto EventScript_16768E
+ end
+
+EventScript_167646:: @ 8167646
+ checkflag FLAG_0x2A0
+ goto_if 1, EventScript_1676A6
+ setflag FLAG_0x2A0
+ message Text_181CAE
+ waitmessage
+ goto EventScript_167728
+ end
+
+EventScript_16765E:: @ 816765E
+ checkflag FLAG_0x29F
+ goto_if 1, EventScript_1676A6
+ setflag FLAG_0x29F
+ message Text_181C77
+ waitmessage
+ goto EventScript_167708
+ end
+
+EventScript_167676:: @ 8167676
+ checkflag FLAG_0x29E
+ goto_if 1, EventScript_1676A6
+ setflag FLAG_0x29E
+ message Text_181B7C
+ waitmessage
+ goto EventScript_1676EC
+ end
+
+EventScript_16768E:: @ 816768E
+ checkflag FLAG_0x29D
+ goto_if 1, EventScript_1676A6
+ setflag FLAG_0x29D
+ message Text_181AFE
+ waitmessage
+ goto EventScript_1676D3
+ end
+
+EventScript_1676A6:: @ 81676A6
+ message Text_1A6211
+ waitmessage
+ compare_var_to_value VAR_0x4078, 4
+ goto_if 1, EventScript_167728
+ compare_var_to_value VAR_0x4078, 3
+ goto_if 1, EventScript_167708
+ compare_var_to_value VAR_0x4078, 2
+ goto_if 1, EventScript_1676EC
+ goto EventScript_1676D3
+ end
+
+EventScript_1676D3:: @ 81676D3
+ pokemart Items_1676E4
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_1676E4:: @ 81676E4
+ .2byte ITEM_GREAT_BALL
+ .2byte ITEM_FRESH_WATER
+ .2byte ITEM_NONE
+ release
+ end
+
+EventScript_1676EC:: @ 81676EC
+ pokemart Items_1676FC
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_1676FC:: @ 81676FC
+ .2byte ITEM_ULTRA_BALL
+ .2byte ITEM_GREAT_BALL
+ .2byte ITEM_SODA_POP
+ .2byte ITEM_FRESH_WATER
+ .2byte ITEM_NONE
+ release
+ end
+
+EventScript_167708:: @ 8167708
+ pokemart Items_167718
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_167718:: @ 8167718
+ .2byte ITEM_ULTRA_BALL
+ .2byte ITEM_GREAT_BALL
+ .2byte ITEM_LEMONADE
+ .2byte ITEM_SODA_POP
+ .2byte ITEM_FRESH_WATER
+ .2byte ITEM_MOOMOO_MILK
+ .2byte ITEM_NONE
+ release
+ end
+
+EventScript_167728:: @ 8167728
+ pokemart Items_167738
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_167738:: @ 8167738
+ .2byte ITEM_ULTRA_BALL
+ .2byte ITEM_REPEAT_BALL
+ .2byte ITEM_TIMER_BALL
+ .2byte ITEM_LEMONADE
+ .2byte ITEM_SODA_POP
+ .2byte ITEM_FRESH_WATER
+ .2byte ITEM_MOOMOO_MILK
+ .2byte ITEM_LAVA_COOKIE
+ .2byte ITEM_NONE
+ release
+ end
+
+TwoIsland_EventScript_16774C:: @ 816774C
+ loadword 0, gUnknown_8181D2F
+ callstd 2
+ end
+
+TwoIsland_EventScript_167755:: @ 8167755
+ loadword 0, gUnknown_8181DCA
+ callstd 2
+ end
+
+TwoIsland_EventScript_16775E:: @ 816775E
+ lock
+ faceplayer
+ setvar VAR_0x8004, 10
+ setvar VAR_0x8005, 4
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8181E47
+ callstd 4
+ release
+ end
+
+TwoIsland_EventScript_167777:: @ 8167777
+ loadword 0, gUnknown_8181F28
+ callstd 2
+ end
+
+TwoIsland_EventScript_167780:: @ 8167780
+ loadword 0, gUnknown_8181F5D
+ callstd 2
+ end
+
+TwoIsland_EventScript_167789:: @ 8167789
+ loadword 0, gUnknown_8181FCE
+ callstd 2
+ end
+
+TwoIsland_EventScript_167792:: @ 8167792
+ loadword 0, gUnknown_8181A88
+ callstd 3
+ end
+
+TwoIsland_EventScript_16779B:: @ 816779B
+ loadword 0, gUnknown_8181AA7
+ callstd 3
+ end
+
+TwoIsland_EventScript_1677A4:: @ 81677A4
+ loadword 0, gUnknown_8181AC8
+ callstd 3
+ end
diff --git a/data/maps/TwoIsland_CapeBrink/map.json b/data/maps/TwoIsland_CapeBrink/map.json
new file mode 100644
index 000000000..b5981e934
--- /dev/null
+++ b/data/maps/TwoIsland_CapeBrink/map.json
@@ -0,0 +1,52 @@
+{
+ "id": "MAP_TWO_ISLAND_CAPE_BRINK",
+ "name": "TwoIsland_CapeBrink",
+ "layout": "LAYOUT_TWO_ISLAND_CAPE_BRINK",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_CAPE_BRINK",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_TWO_ISLAND",
+ "offset": -24,
+ "direction": "down"
+ }
+ ],
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 12,
+ "y": 16,
+ "elevation": 0,
+ "dest_map": "MAP_TWO_ISLAND_CAPE_BRINK_HOUSE",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 16,
+ "y": 28,
+ "elevation": 3,
+ "item": "ITEM_PP_MAX",
+ "flag": "161",
+ "unknown": 129
+ },
+ {
+ "type": "hidden_item",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "item": "ITEM_RARE_CANDY",
+ "flag": "111",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/TwoIsland_CapeBrink/scripts.inc b/data/maps/TwoIsland_CapeBrink/scripts.inc
new file mode 100644
index 000000000..f3bfb9df1
--- /dev/null
+++ b/data/maps/TwoIsland_CapeBrink/scripts.inc
@@ -0,0 +1,2 @@
+TwoIsland_CapeBrink_MapScripts:: @ 8168775
+ .byte 0
diff --git a/data/maps/TwoIsland_CapeBrink_House/map.json b/data/maps/TwoIsland_CapeBrink_House/map.json
new file mode 100644
index 000000000..e974ef1f0
--- /dev/null
+++ b/data/maps/TwoIsland_CapeBrink_House/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_TWO_ISLAND_CAPE_BRINK_HOUSE",
+ "name": "TwoIsland_CapeBrink_House",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_CAPE_BRINK",
+ "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": "58",
+ "x": 4,
+ "y": 4,
+ "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_CapeBrink_House_EventScript_1C4DEC",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_TWO_ISLAND_CAPE_BRINK",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/TwoIsland_CapeBrink_House/scripts.inc b/data/maps/TwoIsland_CapeBrink_House/scripts.inc
new file mode 100644
index 000000000..77b08f93d
--- /dev/null
+++ b/data/maps/TwoIsland_CapeBrink_House/scripts.inc
@@ -0,0 +1,2 @@
+TwoIsland_CapeBrink_House_MapScripts:: @ 817206B
+ .byte 0
diff --git a/data/maps/TwoIsland_Harbor/map.json b/data/maps/TwoIsland_Harbor/map.json
new file mode 100644
index 000000000..9a715d4b0
--- /dev/null
+++ b/data/maps/TwoIsland_Harbor/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_TWO_ISLAND_HARBOR",
+ "name": "TwoIsland_Harbor",
+ "layout": "LAYOUT_ISLAND_HARBOR",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "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": "108",
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_Harbor_EventScript_171806",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_TWO_ISLAND",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/TwoIsland_Harbor/scripts.inc b/data/maps/TwoIsland_Harbor/scripts.inc
new file mode 100644
index 000000000..0fdd3694d
--- /dev/null
+++ b/data/maps/TwoIsland_Harbor/scripts.inc
@@ -0,0 +1,11 @@
+TwoIsland_Harbor_MapScripts:: @ 8171805
+ .byte 0
+
+TwoIsland_Harbor_EventScript_171806:: @ 8171806
+ lock
+ faceplayer
+ message Text_181726
+ waitmessage
+ setvar VAR_0x8004, 2
+ goto EventScript_1A8F54
+ end
diff --git a/data/maps/TwoIsland_House/map.json b/data/maps/TwoIsland_House/map.json
new file mode 100644
index 000000000..04a3d1b43
--- /dev/null
+++ b/data/maps/TwoIsland_House/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_TWO_ISLAND_HOUSE",
+ "name": "TwoIsland_House",
+ "layout": "LAYOUT_HOUSE3",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "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": "27",
+ "x": 7,
+ "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_House_EventScript_171619",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_TWO_ISLAND",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/TwoIsland_House/scripts.inc b/data/maps/TwoIsland_House/scripts.inc
new file mode 100644
index 000000000..907c02348
--- /dev/null
+++ b/data/maps/TwoIsland_House/scripts.inc
@@ -0,0 +1,143 @@
+TwoIsland_House_MapScripts:: @ 8171618
+ .byte 0
+
+TwoIsland_House_EventScript_171619:: @ 8171619
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ lock
+ faceplayer
+ clearflag FLAG_0x002
+ clearflag FLAG_0x003
+ clearflag FLAG_0x004
+ checkflag FLAG_0x001
+ goto_if 1, EventScript_17164F
+ loadword 0, gUnknown_81A2B88
+ callstd 4
+ setflag FLAG_0x001
+ goto EventScript_17164F
+ end
+
+EventScript_17164F:: @ 817164F
+ checkitem ITEM_BIG_MUSHROOM, 1
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_1717A8
+ checkitem ITEM_TINY_MUSHROOM, 2
+ compare_var_to_value VAR_RESULT, 1
+ call_if 1, EventScript_1717AC
+ checkflag FLAG_0x002
+ goto_if 1, EventScript_171687
+ checkflag FLAG_0x003
+ goto_if 1, EventScript_171696
+ goto EventScript_17179E
+ end
+
+EventScript_171687:: @ 8171687
+ checkflag FLAG_0x003
+ call_if 1, EventScript_1717B0
+ goto EventScript_1716A5
+ end
+
+EventScript_171696:: @ 8171696
+ checkflag FLAG_0x002
+ call_if 1, EventScript_1717B0
+ goto EventScript_1716A5
+ end
+
+EventScript_1716A5:: @ 81716A5
+ loadword 0, gUnknown_81A2C63
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_17179E
+ goto EventScript_1716BE
+ end
+
+EventScript_1716BE:: @ 81716BE
+ loadword 0, gUnknown_81A2CC3
+ callstd 4
+ special sub_80BF93C
+ waitstate
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_17179E
+ special sub_80BFC14
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_171790
+ compare_var_to_value VAR_0x8005, 0
+ goto_if 1, EventScript_171782
+ goto EventScript_1716F4
+ end
+
+EventScript_1716F4:: @ 81716F4
+ loadword 0, gUnknown_81A2CE1
+ callstd 4
+ special sub_80E4634
+ waitstate
+ compare_var_to_value VAR_0x8004, 0
+ goto_if 1, EventScript_1716BE
+ checkflag FLAG_0x004
+ goto_if 1, EventScript_17175B
+ checkflag FLAG_0x002
+ goto_if 1, EventScript_171727
+ checkflag FLAG_0x003
+ goto_if 1, EventScript_171741
+ end
+
+EventScript_171727:: @ 8171727
+ removeitem ITEM_BIG_MUSHROOM, 1
+ textcolor 3
+ loadword 0, gUnknown_81A2DB3
+ callstd 4
+ call EventScript_1A6675
+ goto EventScript_17179E
+ end
+
+EventScript_171741:: @ 8171741
+ removeitem ITEM_TINY_MUSHROOM, 2
+ textcolor 3
+ loadword 0, gUnknown_81A2D85
+ callstd 4
+ call EventScript_1A6675
+ goto EventScript_17179E
+ end
+
+EventScript_17175B:: @ 817175B
+ message Text_1A2D43
+ waitmessage
+ multichoice 0, 0, 51, 1
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_171741
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_171727
+ end
+
+EventScript_171782:: @ 8171782
+ loadword 0, gUnknown_81A2CFC
+ callstd 4
+ goto EventScript_1716BE
+ end
+
+EventScript_171790:: @ 8171790
+ loadword 0, gUnknown_81A2E20
+ callstd 4
+ goto EventScript_1716BE
+ end
+
+EventScript_17179E:: @ 817179E
+ loadword 0, gUnknown_81A2DE0
+ callstd 4
+ release
+ end
+
+EventScript_1717A8:: @ 81717A8
+ setflag FLAG_0x002
+ return
+
+EventScript_1717AC:: @ 81717AC
+ setflag FLAG_0x003
+ return
+
+EventScript_1717B0:: @ 81717B0
+ setflag FLAG_0x004
+ return
diff --git a/data/maps/TwoIsland_JoyfulGameCorner/map.json b/data/maps/TwoIsland_JoyfulGameCorner/map.json
new file mode 100644
index 000000000..40015e536
--- /dev/null
+++ b/data/maps/TwoIsland_JoyfulGameCorner/map.json
@@ -0,0 +1,95 @@
+{
+ "id": "MAP_TWO_ISLAND_JOYFUL_GAME_CORNER",
+ "name": "TwoIsland_JoyfulGameCorner",
+ "layout": "LAYOUT_TWO_ISLAND_JOYFUL_GAME_CORNER",
+ "music": "BGM_FRLG_GAMECORNER",
+ "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": "30",
+ "x": 5,
+ "y": 5,
+ "elevation": 1,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_JoyfulGameCorner_EventScript_17155F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "116"
+ },
+ {
+ "graphics_id": "17",
+ "x": 6,
+ "y": 5,
+ "elevation": 1,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_JoyfulGameCorner_EventScript_17160C",
+ "flag": "117"
+ },
+ {
+ "graphics_id": "25",
+ "x": 4,
+ "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_JoyfulGameCorner_EventScript_171535",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_TWO_ISLAND",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 1,
+ "y": 1,
+ "elevation": 0,
+ "script": "TwoIsland_JoyfulGameCorner_EventScript_1BC2E7"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 0,
+ "y": 1,
+ "elevation": 0,
+ "script": "TwoIsland_JoyfulGameCorner_EventScript_1BC2FC"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/TwoIsland_JoyfulGameCorner/scripts.inc b/data/maps/TwoIsland_JoyfulGameCorner/scripts.inc
new file mode 100644
index 000000000..2d6b06c70
--- /dev/null
+++ b/data/maps/TwoIsland_JoyfulGameCorner/scripts.inc
@@ -0,0 +1,216 @@
+TwoIsland_JoyfulGameCorner_MapScripts:: @ 81713D0
+ map_script 3, TwoIsland_JoyfulGameCorner_MapScript1_1713E5
+ map_script 4, TwoIsland_JoyfulGameCorner_MapScript2_171404
+ map_script 2, TwoIsland_JoyfulGameCorner_MapScript3_17141B
+ map_script 1, TwoIsland_JoyfulGameCorner_MapScript4_1BB237
+ .byte 0
+
+TwoIsland_JoyfulGameCorner_MapScript1_1713E5:: @ 81713E5
+ checkflag FLAG_0x2FB
+ call_if 1, EventScript_1713EF
+ end
+
+EventScript_1713EF:: @ 81713EF
+ setobjectxyperm 1, 6, 2
+ setobjectmovementtype 1, 8
+ setobjectmovementtype 3, 1
+ setvar VAR_0x4079, 4
+ return
+
+TwoIsland_JoyfulGameCorner_MapScript2_171404:: @ 8171404
+ map_script_2 VAR_0x4079, 2, EventScript_171416
+ map_script_2 VAR_0x406F, 8, EventScript_1BB227
+ .2byte 0
+
+EventScript_171416:: @ 8171416
+ turnobject 255, 2
+ end
+
+TwoIsland_JoyfulGameCorner_MapScript3_17141B:: @ 817141B
+ map_script_2 VAR_0x4079, 0, EventScript_17145F
+ map_script_2 VAR_0x4079, 2, EventScript_171435
+ map_script_2 VAR_0x406F, 8, EventScript_1BB2FD
+ .2byte 0
+
+EventScript_171435:: @ 8171435
+ lockall
+ textcolor 0
+ loadword 0, gUnknown_81A28B2
+ callstd 4
+ textcolor 1
+ special sub_80CA6DC
+ loadword 0, gUnknown_81A2931
+ callstd 4
+ closemessage
+ applymovement 3, Movement_1A75ED
+ waitmovement 0
+ setvar VAR_0x4079, 3
+ releaseall
+ end
+
+EventScript_17145F:: @ 817145F
+ lockall
+ textcolor 0
+ applymovement 1, Movement_171520
+ waitmovement 0
+ loadword 0, gUnknown_81A2408
+ callstd 4
+ closemessage
+ applymovement 1, Movement_1A75ED
+ waitmovement 0
+ playse SE_PIN
+ applymovement 1, Movement_1A75DB
+ waitmovement 0
+ applymovement 1, Movement_1A75DD
+ waitmovement 0
+ applymovement 1, Movement_171527
+ waitmovement 0
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ loadword 0, gUnknown_81A2465
+ callstd 4
+ closemessage
+ playse SE_DOOR
+ waitse
+ applymovement 255, Movement_17152C
+ waitmovement 0
+ playbgm BGM_FRLG_BOY_EYE, 0
+ addobject 2
+ applymovement 2, Movement_17152F
+ waitmovement 0
+ loadword 0, gUnknown_81A259A
+ callstd 4
+ applymovement 2, Movement_1A75EB
+ waitmovement 0
+ loadword 0, gUnknown_81A2658
+ callstd 4
+ loadword 0, gUnknown_81A26D5
+ callstd 4
+ closemessage
+ applymovement 2, Movement_1A75ED
+ waitmovement 0
+ playse SE_KAIDAN
+ removeobject 2
+ fadedefaultbgm
+ delay 60
+ loadword 0, gUnknown_81A270C
+ callstd 4
+ clearflag FLAG_0x091
+ setvar VAR_0x407B, 2
+ setvar VAR_0x4079, 1
+ releaseall
+ end
+
+Movement_171520:: @ 8171520
+ step_12
+ step_13
+ step_13
+ step_1b
+ step_2e
+ step_1c
+ step_end
+
+Movement_171527:: @ 8171527
+ step_10
+ step_10
+ step_10
+ step_2f
+ step_end
+
+Movement_17152C:: @ 817152C
+ step_12
+ step_30
+ step_end
+
+Movement_17152F:: @ 817152F
+ step_2f
+ step_1b
+ step_30
+ step_1b
+ step_2e
+ step_end
+
+TwoIsland_JoyfulGameCorner_EventScript_171535:: @ 8171535
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4079, 4
+ goto_if 1, EventScript_1BC060
+ checkflag FLAG_0x2A3
+ goto_if 1, EventScript_171555
+ loadword 0, gUnknown_81A285C
+ callstd 4
+ release
+ end
+
+EventScript_171555:: @ 8171555
+ loadword 0, gUnknown_81A288A
+ callstd 4
+ release
+ end
+
+TwoIsland_JoyfulGameCorner_EventScript_17155F:: @ 817155F
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4079, 4
+ goto_if 1, EventScript_1BC0CE
+ checkflag FLAG_0x2FB
+ goto_if 1, EventScript_1715F5
+ compare_var_to_value VAR_0x4079, 3
+ goto_if 1, EventScript_17158A
+ loadword 0, gUnknown_81A2743
+ callstd 4
+ release
+ end
+
+EventScript_17158A:: @ 817158A
+ checkflag FLAG_0x2FE
+ goto_if 1, EventScript_1715C4
+ loadword 0, gUnknown_81A296A
+ callstd 4
+ setvar VAR_0x4076, 2
+ textcolor 3
+ playfanfare MUS_ME_WAZA
+ message Text_1A29F7
+ waitmessage
+ waitfanfare
+ call EventScript_1A6675
+ removeitem ITEM_METEORITE, 1
+ loadword 0, gUnknown_81A2A24
+ callstd 4
+ goto EventScript_1715C4
+ end
+
+EventScript_1715C4:: @ 81715C4
+ checkitemspace ITEM_MOON_STONE, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1715FF
+ additem ITEM_MOON_STONE, 1
+ setflag FLAG_0x2FB
+ loadword 0, gUnknown_81A2A9A
+ setorcopyvar VAR_0x8000, 94
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ release
+ end
+
+EventScript_1715F5:: @ 81715F5
+ loadword 0, gUnknown_81A2AF5
+ callstd 4
+ release
+ end
+
+EventScript_1715FF:: @ 81715FF
+ setflag FLAG_0x2FE
+ loadword 0, gUnknown_81A2ACA
+ callstd 4
+ release
+ end
+
+TwoIsland_JoyfulGameCorner_EventScript_17160C:: @ 817160C
+ lock
+ faceplayer
+ loadword 0, gUnknown_81A2B53
+ callstd 4
+ release
+ end
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
diff --git a/data/maps/TwoIsland_PokemonCenter_2F/map.json b/data/maps/TwoIsland_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..acb0edbd2
--- /dev/null
+++ b/data/maps/TwoIsland_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_TWO_ISLAND_POKEMON_CENTER_2F",
+ "name": "TwoIsland_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_TWO_ISLAND_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/TwoIsland_PokemonCenter_2F/scripts.inc b/data/maps/TwoIsland_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..b96339801
--- /dev/null
+++ b/data/maps/TwoIsland_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+TwoIsland_PokemonCenter_2F_MapScripts:: @ 81717DE
+ map_script 2, TwoIsland_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, TwoIsland_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, TwoIsland_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, TwoIsland_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+TwoIsland_PokemonCenter_2F_EventScript_1717F3:: @ 81717F3
+ call EventScript_1BB4A3
+ end
+
+EventScript_1717F9:: @ 81717F9
+ call EventScript_1BB6AB
+ end
+
+EventScript_1717FF:: @ 81717FF
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/UndergroundPath_EastEntrance/map.json b/data/maps/UndergroundPath_EastEntrance/map.json
new file mode 100644
index 000000000..f443b0f6f
--- /dev/null
+++ b/data/maps/UndergroundPath_EastEntrance/map.json
@@ -0,0 +1,62 @@
+{
+ "id": "MAP_UNDERGROUND_PATH_EAST_ENTRANCE",
+ "name": "UndergroundPath_EastEntrance",
+ "layout": "LAYOUT_UNDERGROUND_PATH_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_UNDERGROUND_PATH_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "28",
+ "x": 5,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UndergroundPath_EastEntrance_EventScript_160EDE",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE8",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE8",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE8",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_UNDERGROUND_PATH_EAST_WEST_TUNNEL",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UndergroundPath_EastEntrance/scripts.inc b/data/maps/UndergroundPath_EastEntrance/scripts.inc
new file mode 100644
index 000000000..bb7b47f87
--- /dev/null
+++ b/data/maps/UndergroundPath_EastEntrance/scripts.inc
@@ -0,0 +1,7 @@
+UndergroundPath_EastEntrance_MapScripts:: @ 8160EDD
+ .byte 0
+
+UndergroundPath_EastEntrance_EventScript_160EDE:: @ 8160EDE
+ loadword 0, gUnknown_81745D9
+ callstd 2
+ end
diff --git a/data/maps/UndergroundPath_EastWestTunnel/map.json b/data/maps/UndergroundPath_EastWestTunnel/map.json
new file mode 100644
index 000000000..1a015a69f
--- /dev/null
+++ b/data/maps/UndergroundPath_EastWestTunnel/map.json
@@ -0,0 +1,98 @@
+{
+ "id": "MAP_UNDERGROUND_PATH_EAST_WEST_TUNNEL",
+ "name": "UndergroundPath_EastWestTunnel",
+ "layout": "LAYOUT_UNDERGROUND_PATH_EAST_WEST_TUNNEL",
+ "music": "BGM_FRLG_ROUTE_1",
+ "region_map_section": "MAPSEC_UNDERGROUND_PATH_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 76,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_UNDERGROUND_PATH_EAST_ENTRANCE",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 3,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_UNDERGROUND_PATH_WEST_ENTRANCE",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 7,
+ "y": 3,
+ "elevation": 3,
+ "item": "ITEM_POTION",
+ "flag": "77",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 17,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_PARALYZE_HEAL",
+ "flag": "79",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 31,
+ "y": 4,
+ "elevation": 3,
+ "item": "ITEM_AWAKENING",
+ "flag": "80",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 45,
+ "y": 3,
+ "elevation": 3,
+ "item": "ITEM_BURN_HEAL",
+ "flag": "81",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 70,
+ "y": 3,
+ "elevation": 3,
+ "item": "ITEM_ICE_HEAL",
+ "flag": "82",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 55,
+ "y": 2,
+ "elevation": 3,
+ "item": "ITEM_ETHER",
+ "flag": "83",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 62,
+ "y": 5,
+ "elevation": 3,
+ "item": "ITEM_ANTIDOTE",
+ "flag": "78",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/UndergroundPath_EastWestTunnel/scripts.inc b/data/maps/UndergroundPath_EastWestTunnel/scripts.inc
new file mode 100644
index 000000000..14132bc0d
--- /dev/null
+++ b/data/maps/UndergroundPath_EastWestTunnel/scripts.inc
@@ -0,0 +1,7 @@
+UndergroundPath_EastWestTunnel_MapScripts:: @ 8160ED3
+ map_script 3, UndergroundPath_EastWestTunnel_MapScript1_160ED9
+ .byte 0
+
+UndergroundPath_EastWestTunnel_MapScript1_160ED9:: @ 8160ED9
+ setworldmapflag 2216
+ end
diff --git a/data/maps/UndergroundPath_NorthEntrance/map.json b/data/maps/UndergroundPath_NorthEntrance/map.json
new file mode 100644
index 000000000..7ef24dda9
--- /dev/null
+++ b/data/maps/UndergroundPath_NorthEntrance/map.json
@@ -0,0 +1,62 @@
+{
+ "id": "MAP_UNDERGROUND_PATH_NORTH_ENTRANCE",
+ "name": "UndergroundPath_NorthEntrance",
+ "layout": "LAYOUT_UNDERGROUND_PATH_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_UNDERGROUND_PATH",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "17",
+ "x": 5,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UndergroundPath_NorthEntrance_EventScript_160E39",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE5",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE5",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE5",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_UNDERGROUND_PATH_NORTH_SOUTH_TUNNEL",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UndergroundPath_NorthEntrance/scripts.inc b/data/maps/UndergroundPath_NorthEntrance/scripts.inc
new file mode 100644
index 000000000..38531be14
--- /dev/null
+++ b/data/maps/UndergroundPath_NorthEntrance/scripts.inc
@@ -0,0 +1,45 @@
+UndergroundPath_NorthEntrance_MapScripts:: @ 8160E38
+ .byte 0
+
+UndergroundPath_NorthEntrance_EventScript_160E39:: @ 8160E39
+ lock
+ faceplayer
+ setvar VAR_0x8008, 2
+ call EventScript_1A8CAD
+ checkflag FLAG_0x24B
+ goto_if 1, EventScript_160EAB
+ loadword 0, gUnknown_81A5AD6
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_160E93
+ call EventScript_1A8CBD
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_160E93
+ call EventScript_1A8CC9
+ compare_var_to_var VAR_RESULT, VAR_0x8009
+ goto_if 5, EventScript_160E9D
+ call EventScript_1A8CD9
+ loadword 0, gUnknown_81A5B4A
+ callstd 4
+ setflag FLAG_0x24B
+ release
+ end
+
+EventScript_160E93:: @ 8160E93
+ loadword 0, gUnknown_81A5B08
+ callstd 4
+ release
+ end
+
+EventScript_160E9D:: @ 8160E9D
+ getspeciesname 0, 32777
+ loadword 0, gUnknown_81A5B18
+ callstd 4
+ release
+ end
+
+EventScript_160EAB:: @ 8160EAB
+ loadword 0, gUnknown_81A5B60
+ callstd 4
+ release
+ end
diff --git a/data/maps/UndergroundPath_NorthSouthTunnel/map.json b/data/maps/UndergroundPath_NorthSouthTunnel/map.json
new file mode 100644
index 000000000..2d049212a
--- /dev/null
+++ b/data/maps/UndergroundPath_NorthSouthTunnel/map.json
@@ -0,0 +1,98 @@
+{
+ "id": "MAP_UNDERGROUND_PATH_NORTH_SOUTH_TUNNEL",
+ "name": "UndergroundPath_NorthSouthTunnel",
+ "layout": "LAYOUT_UNDERGROUND_PATH_NORTH_SOUTH_TUNNEL",
+ "music": "BGM_FRLG_ROUTE_1",
+ "region_map_section": "MAPSEC_UNDERGROUND_PATH",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_UNDERGROUND_PATH_NORTH_ENTRANCE",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 3,
+ "y": 60,
+ "elevation": 3,
+ "dest_map": "MAP_UNDERGROUND_PATH_SOUTH_ENTRANCE",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 5,
+ "y": 30,
+ "elevation": 3,
+ "item": "ITEM_POTION",
+ "flag": "70",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 5,
+ "y": 6,
+ "elevation": 3,
+ "item": "ITEM_ANTIDOTE",
+ "flag": "71",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 2,
+ "y": 57,
+ "elevation": 3,
+ "item": "ITEM_BURN_HEAL",
+ "flag": "74",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 1,
+ "y": 24,
+ "elevation": 3,
+ "item": "ITEM_AWAKENING",
+ "flag": "73",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 6,
+ "y": 53,
+ "elevation": 3,
+ "item": "ITEM_ICE_HEAL",
+ "flag": "75",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 3,
+ "y": 15,
+ "elevation": 3,
+ "item": "ITEM_PARALYZE_HEAL",
+ "flag": "72",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 3,
+ "y": 39,
+ "elevation": 3,
+ "item": "ITEM_ETHER",
+ "flag": "76",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/UndergroundPath_NorthSouthTunnel/scripts.inc b/data/maps/UndergroundPath_NorthSouthTunnel/scripts.inc
new file mode 100644
index 000000000..237373dc8
--- /dev/null
+++ b/data/maps/UndergroundPath_NorthSouthTunnel/scripts.inc
@@ -0,0 +1,7 @@
+UndergroundPath_NorthSouthTunnel_MapScripts:: @ 8160EB5
+ map_script 3, UndergroundPath_NorthSouthTunnel_MapScript1_160EBB
+ .byte 0
+
+UndergroundPath_NorthSouthTunnel_MapScript1_160EBB:: @ 8160EBB
+ setworldmapflag 2215
+ end
diff --git a/data/maps/UndergroundPath_SouthEntrance/map.json b/data/maps/UndergroundPath_SouthEntrance/map.json
new file mode 100644
index 000000000..e6e3ee5f3
--- /dev/null
+++ b/data/maps/UndergroundPath_SouthEntrance/map.json
@@ -0,0 +1,62 @@
+{
+ "id": "MAP_UNDERGROUND_PATH_SOUTH_ENTRANCE",
+ "name": "UndergroundPath_SouthEntrance",
+ "layout": "LAYOUT_UNDERGROUND_PATH_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_UNDERGROUND_PATH",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "28",
+ "x": 5,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UndergroundPath_SouthEntrance_EventScript_160EC0",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE6",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE6",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE6",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_UNDERGROUND_PATH_NORTH_SOUTH_TUNNEL",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UndergroundPath_SouthEntrance/scripts.inc b/data/maps/UndergroundPath_SouthEntrance/scripts.inc
new file mode 100644
index 000000000..c425e67d4
--- /dev/null
+++ b/data/maps/UndergroundPath_SouthEntrance/scripts.inc
@@ -0,0 +1,7 @@
+UndergroundPath_SouthEntrance_MapScripts:: @ 8160EBF
+ .byte 0
+
+UndergroundPath_SouthEntrance_EventScript_160EC0:: @ 8160EC0
+ loadword 0, gUnknown_8174559
+ callstd 2
+ end
diff --git a/data/maps/UndergroundPath_WestEntrance/map.json b/data/maps/UndergroundPath_WestEntrance/map.json
new file mode 100644
index 000000000..e824381d4
--- /dev/null
+++ b/data/maps/UndergroundPath_WestEntrance/map.json
@@ -0,0 +1,62 @@
+{
+ "id": "MAP_UNDERGROUND_PATH_WEST_ENTRANCE",
+ "name": "UndergroundPath_WestEntrance",
+ "layout": "LAYOUT_UNDERGROUND_PATH_ENTRANCE",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_UNDERGROUND_PATH_2",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "30",
+ "x": 5,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UndergroundPath_WestEntrance_EventScript_160ECA",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE7",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE7",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE7",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "dest_map": "MAP_UNDERGROUND_PATH_EAST_WEST_TUNNEL",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UndergroundPath_WestEntrance/scripts.inc b/data/maps/UndergroundPath_WestEntrance/scripts.inc
new file mode 100644
index 000000000..77a20cf4b
--- /dev/null
+++ b/data/maps/UndergroundPath_WestEntrance/scripts.inc
@@ -0,0 +1,7 @@
+UndergroundPath_WestEntrance_MapScripts:: @ 8160EC9
+ .byte 0
+
+UndergroundPath_WestEntrance_EventScript_160ECA:: @ 8160ECA
+ loadword 0, gUnknown_817459B
+ callstd 2
+ end
diff --git a/data/maps/UnknownMap_00_00/map.json b/data/maps/UnknownMap_00_00/map.json
new file mode 100644
index 000000000..74edf8a09
--- /dev/null
+++ b/data/maps/UnknownMap_00_00/map.json
@@ -0,0 +1,67 @@
+{
+ "id": "MAP_UNKNOWN_MAP_00_00",
+ "name": "UnknownMap_00_00",
+ "layout": "LAYOUT_UNKNOWN_MAP_00_00",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SPECIAL_AREA",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_8",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "66",
+ "x": 9,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UnknownMap_00_00_EventScript_1BB9AF",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 3,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4000",
+ "var_value": 0,
+ "script": "UnknownMap_00_00_EventScript_1BB8C3"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4000",
+ "var_value": 0,
+ "script": "UnknownMap_00_00_EventScript_1BB8CF"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnknownMap_00_00/scripts.inc b/data/maps/UnknownMap_00_00/scripts.inc
new file mode 100644
index 000000000..73507301f
--- /dev/null
+++ b/data/maps/UnknownMap_00_00/scripts.inc
@@ -0,0 +1,2 @@
+UnknownMap_00_00_MapScripts:: @ 8160478
+ .byte 0
diff --git a/data/maps/UnknownMap_00_01/map.json b/data/maps/UnknownMap_00_01/map.json
new file mode 100644
index 000000000..a8136a755
--- /dev/null
+++ b/data/maps/UnknownMap_00_01/map.json
@@ -0,0 +1,67 @@
+{
+ "id": "MAP_UNKNOWN_MAP_00_01",
+ "name": "UnknownMap_00_01",
+ "layout": "LAYOUT_UNKNOWN_MAP_00_01",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SPECIAL_AREA",
+ "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": "66",
+ "x": 9,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UnknownMap_00_01_EventScript_1BB9C1",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ },
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 4,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4000",
+ "var_value": 0,
+ "script": "UnknownMap_00_01_EventScript_1BB950"
+ },
+ {
+ "type": "trigger",
+ "x": 7,
+ "y": 5,
+ "elevation": 3,
+ "var": "VAR_0x4000",
+ "var_value": 0,
+ "script": "UnknownMap_00_01_EventScript_1BB95C"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnknownMap_00_01/scripts.inc b/data/maps/UnknownMap_00_01/scripts.inc
new file mode 100644
index 000000000..c419b60c7
--- /dev/null
+++ b/data/maps/UnknownMap_00_01/scripts.inc
@@ -0,0 +1,2 @@
+UnknownMap_00_01_MapScripts:: @ 8160479
+ .byte 0
diff --git a/data/maps/UnknownMap_00_02/map.json b/data/maps/UnknownMap_00_02/map.json
new file mode 100644
index 000000000..8a90d86ff
--- /dev/null
+++ b/data/maps/UnknownMap_00_02/map.json
@@ -0,0 +1,99 @@
+{
+ "id": "MAP_UNKNOWN_MAP_00_02",
+ "name": "UnknownMap_00_02",
+ "layout": "LAYOUT_UNKNOWN_MAP_00_02",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SPECIAL_AREA",
+ "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": "66",
+ "x": 10,
+ "y": 5,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UnknownMap_00_02_EventScript_1BB9D3",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ },
+ {
+ "x": 9,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ },
+ {
+ "x": 11,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ },
+ {
+ "x": 10,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "var": "VAR_0x4000",
+ "var_value": 0,
+ "script": "UnknownMap_00_02_EventScript_1BB980"
+ },
+ {
+ "type": "trigger",
+ "x": 6,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4000",
+ "var_value": 0,
+ "script": "UnknownMap_00_02_EventScript_1BB980"
+ },
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 4,
+ "elevation": 3,
+ "var": "VAR_0x4000",
+ "var_value": 0,
+ "script": "UnknownMap_00_02_EventScript_1BB980"
+ },
+ {
+ "type": "trigger",
+ "x": 13,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4000",
+ "var_value": 0,
+ "script": "UnknownMap_00_02_EventScript_1BB980"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnknownMap_00_02/scripts.inc b/data/maps/UnknownMap_00_02/scripts.inc
new file mode 100644
index 000000000..ab36a21eb
--- /dev/null
+++ b/data/maps/UnknownMap_00_02/scripts.inc
@@ -0,0 +1,2 @@
+UnknownMap_00_02_MapScripts:: @ 816047A
+ .byte 0
diff --git a/data/maps/UnknownMap_00_03/map.json b/data/maps/UnknownMap_00_03/map.json
new file mode 100644
index 000000000..6ef7c2d04
--- /dev/null
+++ b/data/maps/UnknownMap_00_03/map.json
@@ -0,0 +1,85 @@
+{
+ "id": "MAP_UNKNOWN_MAP_00_03",
+ "name": "UnknownMap_00_03",
+ "layout": "LAYOUT_UNKNOWN_MAP_00_03",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_SPECIAL_AREA",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_8",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ },
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 3,
+ "y": 4,
+ "elevation": 3,
+ "var": "VAR_0x4000",
+ "var_value": 0,
+ "script": "UnknownMap_00_03_EventScript_1BB8DB"
+ },
+ {
+ "type": "trigger",
+ "x": 3,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4000",
+ "var_value": 0,
+ "script": "UnknownMap_00_03_EventScript_1BB915"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 4,
+ "elevation": 3,
+ "var": "VAR_0x4000",
+ "var_value": 0,
+ "script": "UnknownMap_00_03_EventScript_1BB8F8"
+ },
+ {
+ "type": "trigger",
+ "x": 10,
+ "y": 6,
+ "elevation": 3,
+ "var": "VAR_0x4000",
+ "var_value": 0,
+ "script": "UnknownMap_00_03_EventScript_1BB932"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnknownMap_00_03/scripts.inc b/data/maps/UnknownMap_00_03/scripts.inc
new file mode 100644
index 000000000..feca41b0f
--- /dev/null
+++ b/data/maps/UnknownMap_00_03/scripts.inc
@@ -0,0 +1,2 @@
+UnknownMap_00_03_MapScripts:: @ 816047B
+ .byte 0
diff --git a/data/maps/UnknownMap_00_04/map.json b/data/maps/UnknownMap_00_04/map.json
new file mode 100644
index 000000000..10edd9838
--- /dev/null
+++ b/data/maps/UnknownMap_00_04/map.json
@@ -0,0 +1,145 @@
+{
+ "id": "MAP_UNKNOWN_MAP_00_04",
+ "name": "UnknownMap_00_04",
+ "layout": "LAYOUT_UNKNOWN_MAP_00_04",
+ "music": "BGM_FRLG_UNION_ROOM",
+ "region_map_section": "MAPSEC_SPECIAL_AREA",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_8",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "66",
+ "x": 3,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UnknownMap_00_04_EventScript_16050C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "243",
+ "x": 1,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UnknownMap_00_04_EventScript_1604DA",
+ "flag": "102"
+ },
+ {
+ "graphics_id": "247",
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UnknownMap_00_04_EventScript_160502",
+ "flag": "106"
+ },
+ {
+ "graphics_id": "246",
+ "x": 1,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UnknownMap_00_04_EventScript_1604F8",
+ "flag": "105"
+ },
+ {
+ "graphics_id": "245",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UnknownMap_00_04_EventScript_1604EE",
+ "flag": "104"
+ },
+ {
+ "graphics_id": "244",
+ "x": 13,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UnknownMap_00_04_EventScript_1604E4",
+ "flag": "103"
+ },
+ {
+ "graphics_id": "242",
+ "x": 10,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UnknownMap_00_04_EventScript_1604D0",
+ "flag": "101"
+ },
+ {
+ "graphics_id": "241",
+ "x": 13,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UnknownMap_00_04_EventScript_1604C6",
+ "flag": "100"
+ },
+ {
+ "graphics_id": "240",
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "UnknownMap_00_04_EventScript_1604BC",
+ "flag": "99"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 11,
+ "elevation": 3,
+ "dest_map": "MAP_NONE",
+ "dest_warp_id": 127
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnknownMap_00_04/scripts.inc b/data/maps/UnknownMap_00_04/scripts.inc
new file mode 100644
index 000000000..739bdee00
--- /dev/null
+++ b/data/maps/UnknownMap_00_04/scripts.inc
@@ -0,0 +1,106 @@
+UnknownMap_00_04_MapScripts:: @ 816047C
+ map_script 5, UnknownMap_00_04_MapScript1_160487
+ map_script 3, UnknownMap_00_04_MapScript2_1604BB
+ .byte 0
+
+UnknownMap_00_04_MapScript1_160487:: @ 8160487
+ setflag FLAG_0x063
+ setflag FLAG_0x064
+ setflag FLAG_0x065
+ setflag FLAG_0x066
+ setflag FLAG_0x067
+ setflag FLAG_0x068
+ setflag FLAG_0x069
+ setflag FLAG_0x06A
+ removeobject 9
+ removeobject 8
+ removeobject 7
+ removeobject 2
+ removeobject 6
+ removeobject 5
+ removeobject 4
+ removeobject 3
+ special UnionRoomSpecial
+ end
+
+UnknownMap_00_04_MapScript2_1604BB:: @ 81604BB
+ end
+
+UnknownMap_00_04_EventScript_1604BC:: @ 81604BC
+ lock
+ faceplayer
+ setvar VAR_RESULT, 1
+ waitstate
+ release
+ end
+
+UnknownMap_00_04_EventScript_1604C6:: @ 81604C6
+ lock
+ faceplayer
+ setvar VAR_RESULT, 2
+ waitstate
+ release
+ end
+
+UnknownMap_00_04_EventScript_1604D0:: @ 81604D0
+ lock
+ faceplayer
+ setvar VAR_RESULT, 3
+ waitstate
+ release
+ end
+
+UnknownMap_00_04_EventScript_1604DA:: @ 81604DA
+ lock
+ faceplayer
+ setvar VAR_RESULT, 4
+ waitstate
+ release
+ end
+
+UnknownMap_00_04_EventScript_1604E4:: @ 81604E4
+ lock
+ faceplayer
+ setvar VAR_RESULT, 5
+ waitstate
+ release
+ end
+
+UnknownMap_00_04_EventScript_1604EE:: @ 81604EE
+ lock
+ faceplayer
+ setvar VAR_RESULT, 6
+ waitstate
+ release
+ end
+
+UnknownMap_00_04_EventScript_1604F8:: @ 81604F8
+ lock
+ faceplayer
+ setvar VAR_RESULT, 7
+ waitstate
+ release
+ end
+
+UnknownMap_00_04_EventScript_160502:: @ 8160502
+ lock
+ faceplayer
+ setvar VAR_RESULT, 8
+ waitstate
+ release
+ end
+
+UnknownMap_00_04_EventScript_16050C:: @ 816050C
+ lock
+ faceplayer
+ setvar VAR_RESULT, 9
+ waitstate
+ release
+ end
+
+UnknownMap_00_04_EventScript_160516:: @ 8160516
+ lockall
+ setvar VAR_RESULT, 10
+ waitstate
+ releaseall
+ end
diff --git a/data/maps/UnknownMap_03_50/map.json b/data/maps/UnknownMap_03_50/map.json
new file mode 100644
index 000000000..1a166cfc8
--- /dev/null
+++ b/data/maps/UnknownMap_03_50/map.json
@@ -0,0 +1,25 @@
+{
+ "id": "MAP_UNKNOWN_MAP_03_50",
+ "name": "UnknownMap_03_50",
+ "layout": "LAYOUT_UNKNOWN_MAP_03_50",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_SEVII_ISLE_6",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_THREE_ISLAND",
+ "offset": 0,
+ "direction": "up"
+ }
+ ],
+ "object_events": [],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnknownMap_03_50/scripts.inc b/data/maps/UnknownMap_03_50/scripts.inc
new file mode 100644
index 000000000..c18211933
--- /dev/null
+++ b/data/maps/UnknownMap_03_50/scripts.inc
@@ -0,0 +1,2 @@
+UnknownMap_03_50_MapScripts:: @ 81687E0
+ .byte 0
diff --git a/data/maps/UnknownMap_03_51/map.json b/data/maps/UnknownMap_03_51/map.json
new file mode 100644
index 000000000..c96dcbb8a
--- /dev/null
+++ b/data/maps/UnknownMap_03_51/map.json
@@ -0,0 +1,25 @@
+{
+ "id": "MAP_UNKNOWN_MAP_03_51",
+ "name": "UnknownMap_03_51",
+ "layout": "LAYOUT_UNKNOWN_MAP_03_51",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_SEVII_ISLE_7",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_THREE_ISLAND",
+ "offset": 0,
+ "direction": "up"
+ }
+ ],
+ "object_events": [],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnknownMap_03_51/scripts.inc b/data/maps/UnknownMap_03_51/scripts.inc
new file mode 100644
index 000000000..09f9ef2d4
--- /dev/null
+++ b/data/maps/UnknownMap_03_51/scripts.inc
@@ -0,0 +1,2 @@
+UnknownMap_03_51_MapScripts:: @ 81687E1
+ .byte 0
diff --git a/data/maps/UnknownMap_03_52/map.json b/data/maps/UnknownMap_03_52/map.json
new file mode 100644
index 000000000..5141b16dc
--- /dev/null
+++ b/data/maps/UnknownMap_03_52/map.json
@@ -0,0 +1,19 @@
+{
+ "id": "MAP_UNKNOWN_MAP_03_52",
+ "name": "UnknownMap_03_52",
+ "layout": "LAYOUT_UNKNOWN_MAP_03_52",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_SEVII_ISLE_8",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnknownMap_03_52/scripts.inc b/data/maps/UnknownMap_03_52/scripts.inc
new file mode 100644
index 000000000..15fc8b160
--- /dev/null
+++ b/data/maps/UnknownMap_03_52/scripts.inc
@@ -0,0 +1,2 @@
+UnknownMap_03_52_MapScripts:: @ 81687E2
+ .byte 0
diff --git a/data/maps/UnknownMap_03_53/map.json b/data/maps/UnknownMap_03_53/map.json
new file mode 100644
index 000000000..6c57c230e
--- /dev/null
+++ b/data/maps/UnknownMap_03_53/map.json
@@ -0,0 +1,19 @@
+{
+ "id": "MAP_UNKNOWN_MAP_03_53",
+ "name": "UnknownMap_03_53",
+ "layout": "LAYOUT_UNKNOWN_MAP_03_53",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_SEVII_ISLE_9",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnknownMap_03_53/scripts.inc b/data/maps/UnknownMap_03_53/scripts.inc
new file mode 100644
index 000000000..2ef4453ea
--- /dev/null
+++ b/data/maps/UnknownMap_03_53/scripts.inc
@@ -0,0 +1,2 @@
+UnknownMap_03_53_MapScripts:: @ 81687E3
+ .byte 0
diff --git a/data/maps/UnknownMap_18_01/map.json b/data/maps/UnknownMap_18_01/map.json
new file mode 100644
index 000000000..5a592a7e0
--- /dev/null
+++ b/data/maps/UnknownMap_18_01/map.json
@@ -0,0 +1,19 @@
+{
+ "id": "MAP_UNKNOWN_MAP_18_01",
+ "name": "UnknownMap_18_01",
+ "layout": "LAYOUT_HOUSE2",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_6",
+ "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": [],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnknownMap_18_01/scripts.inc b/data/maps/UnknownMap_18_01/scripts.inc
new file mode 100644
index 000000000..461deaf9b
--- /dev/null
+++ b/data/maps/UnknownMap_18_01/scripts.inc
@@ -0,0 +1,2 @@
+UnknownMap_18_01_MapScripts:: @ 816FA8C
+ .byte 0
diff --git a/data/maps/UnusedHouse_27_00/map.json b/data/maps/UnusedHouse_27_00/map.json
new file mode 100644
index 000000000..a1b37a7f0
--- /dev/null
+++ b/data/maps/UnusedHouse_27_00/map.json
@@ -0,0 +1,19 @@
+{
+ "id": "MAP_UNUSED_HOUSE_27_00",
+ "name": "UnusedHouse_27_00",
+ "layout": "LAYOUT_HOUSE2",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_19",
+ "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": [],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnusedHouse_27_00/scripts.inc b/data/maps/UnusedHouse_27_00/scripts.inc
new file mode 100644
index 000000000..02c992573
--- /dev/null
+++ b/data/maps/UnusedHouse_27_00/scripts.inc
@@ -0,0 +1,2 @@
+UnusedHouse_27_00_MapScripts:: @ 81704FA
+ .byte 0
diff --git a/data/maps/UnusedHouse_29_00/map.json b/data/maps/UnusedHouse_29_00/map.json
new file mode 100644
index 000000000..685feaa61
--- /dev/null
+++ b/data/maps/UnusedHouse_29_00/map.json
@@ -0,0 +1,19 @@
+{
+ "id": "MAP_UNUSED_HOUSE_29_00",
+ "name": "UnusedHouse_29_00",
+ "layout": "LAYOUT_HOUSE2",
+ "music": "BGM_FRLG_INDIGO_PLATEAU",
+ "region_map_section": "MAPSEC_ROUTE_23",
+ "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": [],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnusedHouse_29_00/scripts.inc b/data/maps/UnusedHouse_29_00/scripts.inc
new file mode 100644
index 000000000..7e984394b
--- /dev/null
+++ b/data/maps/UnusedHouse_29_00/scripts.inc
@@ -0,0 +1,2 @@
+UnusedHouse_29_00_MapScripts:: @ 8170522
+ .byte 0
diff --git a/data/maps/UnusedHouse_31_05/map.json b/data/maps/UnusedHouse_31_05/map.json
new file mode 100644
index 000000000..97996c85d
--- /dev/null
+++ b/data/maps/UnusedHouse_31_05/map.json
@@ -0,0 +1,19 @@
+{
+ "id": "MAP_UNUSED_HOUSE_31_05",
+ "name": "UnusedHouse_31_05",
+ "layout": "LAYOUT_HOUSE4",
+ "music": "BGM_FRLG_ISLAND_SIX",
+ "region_map_section": "MAPSEC_SEVEN_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": [],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/UnusedHouse_31_05/scripts.inc b/data/maps/UnusedHouse_31_05/scripts.inc
new file mode 100644
index 000000000..11dae233d
--- /dev/null
+++ b/data/maps/UnusedHouse_31_05/scripts.inc
@@ -0,0 +1,2 @@
+UnusedHouse_31_05_MapScripts:: @ 8170BE3
+ .byte 0
diff --git a/data/maps/VermilionCity/map.json b/data/maps/VermilionCity/map.json
new file mode 100644
index 000000000..eb3112c5c
--- /dev/null
+++ b/data/maps/VermilionCity/map.json
@@ -0,0 +1,288 @@
+{
+ "id": "MAP_VERMILION_CITY",
+ "name": "VermilionCity",
+ "layout": "LAYOUT_VERMILION_CITY",
+ "music": "BGM_FRLG_VERMILION_CITY",
+ "region_map_section": "MAPSEC_VERMILION_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE6",
+ "offset": 12,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE11",
+ "offset": 10,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "23",
+ "x": 22,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 4,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_EventScript_166917",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 17,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_EventScript_166920",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "33",
+ "x": 36,
+ "y": 10,
+ "elevation": 0,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_EventScript_166C2F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "130",
+ "x": 35,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_EventScript_166C38",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 31,
+ "y": 30,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 4,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_EventScript_166C17",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 24,
+ "y": 33,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_EventScript_166941",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 19,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "55",
+ "x": 25,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 4,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_EventScript_166C20",
+ "flag": "161"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 22,
+ "y": 34,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_EXTERIOR",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 23,
+ "y": 34,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_EXTERIOR",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 24,
+ "y": 34,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_EXTERIOR",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 9,
+ "y": 6,
+ "elevation": 0,
+ "dest_map": "MAP_VERMILION_CITY_HOUSE1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 15,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 12,
+ "y": 17,
+ "elevation": 0,
+ "dest_map": "MAP_VERMILION_CITY_POKEMON_FAN_CLUB",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 19,
+ "y": 17,
+ "elevation": 0,
+ "dest_map": "MAP_VERMILION_CITY_HOUSE2",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 29,
+ "y": 17,
+ "elevation": 0,
+ "dest_map": "MAP_VERMILION_CITY_MART",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 28,
+ "y": 24,
+ "elevation": 0,
+ "dest_map": "MAP_VERMILION_CITY_HOUSE3",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 14,
+ "y": 25,
+ "elevation": 0,
+ "dest_map": "MAP_VERMILION_CITY_GYM",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 22,
+ "y": 33,
+ "elevation": 0,
+ "var": "VAR_0x4053",
+ "var_value": 0,
+ "script": "VermilionCity_EventScript_166B8A"
+ },
+ {
+ "type": "trigger",
+ "x": 23,
+ "y": 33,
+ "elevation": 0,
+ "var": "VAR_0x4053",
+ "var_value": 0,
+ "script": "VermilionCity_EventScript_166B91"
+ },
+ {
+ "type": "trigger",
+ "x": 22,
+ "y": 32,
+ "elevation": 0,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "VermilionCity_EventScript_166B98"
+ },
+ {
+ "type": "trigger",
+ "x": 23,
+ "y": 32,
+ "elevation": 0,
+ "var": "VAR_0x4001",
+ "var_value": 0,
+ "script": "VermilionCity_EventScript_166B98"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 33,
+ "y": 6,
+ "elevation": 0,
+ "script": "VermilionCity_EventScript_166C53"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 10,
+ "y": 17,
+ "elevation": 3,
+ "script": "VermilionCity_EventScript_166C65"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 10,
+ "y": 24,
+ "elevation": 0,
+ "script": "VermilionCity_EventScript_166C6E"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 34,
+ "y": 18,
+ "elevation": 0,
+ "script": "VermilionCity_EventScript_166C86"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 45,
+ "y": 17,
+ "elevation": 3,
+ "script": "VermilionCity_EventScript_166C5C"
+ },
+ {
+ "type": "hidden_item",
+ "x": 14,
+ "y": 11,
+ "elevation": 3,
+ "item": "ITEM_MAX_ETHER",
+ "flag": "48",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/VermilionCity/scripts.inc b/data/maps/VermilionCity/scripts.inc
new file mode 100644
index 000000000..b516e0939
--- /dev/null
+++ b/data/maps/VermilionCity/scripts.inc
@@ -0,0 +1,330 @@
+VermilionCity_MapScripts:: @ 81668DC
+ map_script 3, VermilionCity_MapScript1_166906
+ map_script 2, VermilionCity_MapScript2_1668E7
+ .byte 0
+
+VermilionCity_MapScript2_1668E7:: @ 81668E7
+ map_script_2 VAR_0x407E, 2, EventScript_1668F1
+ .2byte 0
+
+EventScript_1668F1:: @ 81668F1
+ lockall
+ applymovement 255, Movement_166903
+ waitmovement 0
+ setvar VAR_0x407E, 3
+ releaseall
+ end
+
+Movement_166903:: @ 8166903
+ step_11
+ step_11
+ step_end
+
+VermilionCity_MapScript1_166906:: @ 8166906
+ setworldmapflag 2197
+ checkflag FLAG_0x2F9
+ call_if 1, EventScript_166913
+ end
+
+EventScript_166913:: @ 8166913
+ setflag FLAG_0x0A1
+ return
+
+VermilionCity_EventScript_166917:: @ 8166917
+ loadword 0, gUnknown_817F723
+ callstd 2
+ end
+
+VermilionCity_EventScript_166920:: @ 8166920
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x407E, 3
+ goto_if 1, EventScript_166937
+ loadword 0, gUnknown_817F776
+ callstd 4
+ release
+ end
+
+EventScript_166937:: @ 8166937
+ loadword 0, gUnknown_817F7A6
+ callstd 4
+ release
+ end
+
+VermilionCity_EventScript_166941:: @ 8166941
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x407E, 3
+ goto_if 1, EventScript_166996
+ loadword 0, gUnknown_817FA22
+ callstd 4
+ release
+ end
+
+EventScript_166958:: @ 8166958
+ checkflag 2122
+ goto_if 0, EventScript_1A77B0
+ checkitem ITEM_MYSTIC_TICKET, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A77B0
+ goto EventScript_1A77AA
+ end
+
+EventScript_166977:: @ 8166977
+ checkflag 2123
+ goto_if 0, EventScript_1A77B0
+ checkitem ITEM_AURORA_TICKET, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_1A77B0
+ goto EventScript_1A77AA
+ end
+
+EventScript_166996:: @ 8166996
+ setvar VAR_0x8004, 0
+ compare_var_to_value VAR_0x4076, 5
+ goto_if 4, EventScript_1669BB
+ compare_var_to_value VAR_0x4076, 1
+ goto_if 4, EventScript_166B3B
+ loadword 0, gUnknown_817FB10
+ callstd 4
+ release
+ end
+
+EventScript_1669BB:: @ 81669BB
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ call EventScript_166958
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_1669FD
+ call EventScript_166977
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_166A5F
+ setvar VAR_0x8004, 0
+ message Text_17FBB8
+ waitmessage
+ goto EventScript_1A911E
+ end
+
+EventScript_1669FD:: @ 81669FD
+ call EventScript_166977
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_166AB1
+ checkflag FLAG_0x2F0
+ call_if 0, EventScript_166A53
+ message Text_17FCC1
+ waitmessage
+ multichoice 17, 6, 54, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_1A911E
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_166B0B
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_1A90F6
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_1A90F6
+ end
+
+EventScript_166A53:: @ 8166A53
+ setflag FLAG_0x2F0
+ loadword 0, gUnknown_817FC00
+ callstd 4
+ return
+
+EventScript_166A5F:: @ 8166A5F
+ checkflag FLAG_0x2F1
+ call_if 0, EventScript_166AA5
+ message Text_17FCC1
+ waitmessage
+ multichoice 13, 6, 55, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_1A911E
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_166B23
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_1A90F6
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_1A90F6
+ end
+
+EventScript_166AA5:: @ 8166AA5
+ setflag FLAG_0x2F1
+ loadword 0, gUnknown_817FC5F
+ callstd 4
+ return
+
+EventScript_166AB1:: @ 8166AB1
+ checkflag FLAG_0x2F0
+ call_if 0, EventScript_166A53
+ checkflag FLAG_0x2F1
+ call_if 0, EventScript_166AA5
+ message Text_17FCC1
+ waitmessage
+ multichoice 13, 5, 56, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_1A911E
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_166B0B
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_166B23
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_1A90F6
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_1A90F6
+ end
+
+EventScript_166B0B:: @ 8166B0B
+ loadword 0, gUnknown_817FCEC
+ callstd 4
+ setvar VAR_0x8004, 0
+ setvar VAR_0x8006, 9
+ goto EventScript_1A90DA
+ end
+
+EventScript_166B23:: @ 8166B23
+ loadword 0, gUnknown_817FD5F
+ callstd 4
+ setvar VAR_0x8004, 0
+ setvar VAR_0x8006, 10
+ goto EventScript_1A90DA
+ end
+
+EventScript_166B3B:: @ 8166B3B
+ message Text_17FB23
+ waitmessage
+ setvar VAR_0x8004, 0
+ multichoice 19, 5, 57, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_1A8FEE
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_1A8FF9
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_1A9004
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_1A90F6
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_1A90F6
+ end
+
+EventScript_166B88:: @ 8166B88
+ release
+ end
+
+VermilionCity_EventScript_166B8A:: @ 8166B8A
+ lockall
+ goto EventScript_166BA0
+ end
+
+VermilionCity_EventScript_166B91:: @ 8166B91
+ lockall
+ goto EventScript_166BA0
+ end
+
+VermilionCity_EventScript_166B98:: @ 8166B98
+ lockall
+ setvar VAR_0x4053, 0
+ releaseall
+ end
+
+EventScript_166BA0:: @ 8166BA0
+ textcolor 0
+ applymovement 6, Movement_1A75E7
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ compare_var_to_value VAR_0x407E, 3
+ goto_if 1, EventScript_166BED
+ loadword 0, gUnknown_817FA3C
+ callstd 4
+ checkflag FLAG_0x234
+ goto_if 0, EventScript_166BDE
+ loadword 0, gUnknown_817FA77
+ callstd 4
+ setvar VAR_0x4053, 1
+ releaseall
+ end
+
+EventScript_166BDE:: @ 8166BDE
+ loadword 0, gUnknown_817FABA
+ callstd 4
+ closemessage
+ goto EventScript_1A9108
+ end
+
+EventScript_166BED:: @ 8166BED
+ setvar VAR_0x8004, 0
+ compare_var_to_value VAR_0x4076, 5
+ goto_if 4, EventScript_1669BB
+ compare_var_to_value VAR_0x4076, 1
+ goto_if 4, EventScript_166B3B
+ loadword 0, gUnknown_817FB10
+ callstd 4
+ closemessage
+ goto EventScript_1A9108
+ end
+
+VermilionCity_EventScript_166C17:: @ 8166C17
+ loadword 0, gUnknown_817F8AC
+ callstd 2
+ end
+
+VermilionCity_EventScript_166C20:: @ 8166C20
+ lock
+ faceplayer
+ setflag FLAG_0x2F9
+ loadword 0, gUnknown_817FDD2
+ callstd 4
+ release
+ end
+
+VermilionCity_EventScript_166C2F:: @ 8166C2F
+ loadword 0, gUnknown_817F7FD
+ callstd 2
+ end
+
+VermilionCity_EventScript_166C38:: @ 8166C38
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_MACHOP, 0
+ loadword 0, gUnknown_817F871
+ callstd 4
+ waitmoncry
+ loadword 0, gUnknown_817F888
+ callstd 4
+ release
+ end
+
+VermilionCity_EventScript_166C53:: @ 8166C53
+ loadword 0, gUnknown_817F8FB
+ callstd 3
+ end
+
+VermilionCity_EventScript_166C5C:: @ 8166C5C
+ loadword 0, gUnknown_817F928
+ callstd 3
+ end
+
+VermilionCity_EventScript_166C65:: @ 8166C65
+ loadword 0, gUnknown_817F9A1
+ callstd 3
+ end
+
+VermilionCity_EventScript_166C6E:: @ 8166C6E
+ lockall
+ setvar VAR_0x8004, 4
+ setvar VAR_0x8005, 0
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_817F9CC
+ callstd 4
+ releaseall
+ end
+
+VermilionCity_EventScript_166C86:: @ 8166C86
+ loadword 0, gUnknown_817FA11
+ callstd 3
+ end
diff --git a/data/maps/VermilionCity_Gym/map.json b/data/maps/VermilionCity_Gym/map.json
new file mode 100644
index 000000000..cc98e944b
--- /dev/null
+++ b/data/maps/VermilionCity_Gym/map.json
@@ -0,0 +1,227 @@
+{
+ "id": "MAP_VERMILION_CITY_GYM",
+ "name": "VermilionCity_Gym",
+ "layout": "LAYOUT_VERMILION_CITY_GYM",
+ "music": "BGM_FRLG_GYM",
+ "region_map_section": "MAPSEC_VERMILION_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "82",
+ "x": 5,
+ "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": "VermilionCity_Gym_EventScript_16B94A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 2,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "VermilionCity_Gym_EventScript_16BA1E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 8,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "VermilionCity_Gym_EventScript_16B9FA",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "91",
+ "x": 4,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_Gym_EventScript_16BA6C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "VermilionCity_Gym_EventScript_16BA35",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 9
+ },
+ {
+ "x": 5,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 9
+ },
+ {
+ "x": 6,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 9
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 17,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16BA8B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 17,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16BA8B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 1,
+ "y": 10,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B78F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 10,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B79B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 10,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B7A7"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 10,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B7B3"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 10,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B7BF"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 1,
+ "y": 12,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B7CB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 12,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B7D7"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 12,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B7E3"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 12,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B7EF"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 12,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B7FB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 1,
+ "y": 14,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B807"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 14,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B813"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 14,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B81F"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 14,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B82B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 14,
+ "elevation": 0,
+ "script": "VermilionCity_Gym_EventScript_16B837"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/VermilionCity_Gym/scripts.inc b/data/maps/VermilionCity_Gym/scripts.inc
new file mode 100644
index 000000000..3d8cd6a52
--- /dev/null
+++ b/data/maps/VermilionCity_Gym/scripts.inc
@@ -0,0 +1,329 @@
+VermilionCity_Gym_MapScripts:: @ 816B69E
+ map_script 1, VermilionCity_Gym_MapScript1_16B6A9
+ map_script 3, VermilionCity_Gym_MapScript2_16B772
+ .byte 0
+
+VermilionCity_Gym_MapScript1_16B6A9:: @ 816B6A9
+ checkflag FLAG_0x001
+ call_if 1, EventScript_16B6BC
+ checkflag FLAG_0x264
+ call_if 1, EventScript_16B717
+ end
+
+EventScript_16B6BC:: @ 816B6BC
+ setmetatile 3, 6, 699, 1
+ setmetatile 4, 6, 700, 1
+ setmetatile 5, 6, 701, 1
+ setmetatile 6, 6, 702, 1
+ setmetatile 7, 6, 703, 1
+ setmetatile 3, 7, 707, 1
+ setmetatile 4, 7, 708, 1
+ setmetatile 5, 7, 709, 1
+ setmetatile 6, 7, 710, 1
+ setmetatile 7, 7, 711, 1
+ return
+
+EventScript_16B717:: @ 816B717
+ setmetatile 3, 6, 659, 1
+ setmetatile 4, 6, 660, 0
+ setmetatile 5, 6, 641, 0
+ setmetatile 6, 6, 661, 0
+ setmetatile 7, 6, 662, 1
+ setmetatile 3, 7, 667, 1
+ setmetatile 4, 7, 668, 0
+ setmetatile 5, 7, 641, 0
+ setmetatile 6, 7, 669, 0
+ setmetatile 7, 7, 670, 1
+ return
+
+VermilionCity_Gym_MapScript2_16B772:: @ 816B772
+ call EventScript_16B778
+ end
+
+EventScript_16B778:: @ 816B778
+ checkflag FLAG_0x264
+ goto_if 1, EventScript_1A77A9
+ special sub_80CADEC
+ copyvar VAR_0x4000, VAR_0x8004
+ copyvar VAR_0x4001, VAR_0x8005
+ return
+
+VermilionCity_Gym_EventScript_16B78F:: @ 816B78F
+ lockall
+ setvar VAR_0x8008, 1
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B79B:: @ 816B79B
+ lockall
+ setvar VAR_0x8008, 2
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B7A7:: @ 816B7A7
+ lockall
+ setvar VAR_0x8008, 3
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B7B3:: @ 816B7B3
+ lockall
+ setvar VAR_0x8008, 4
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B7BF:: @ 816B7BF
+ lockall
+ setvar VAR_0x8008, 5
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B7CB:: @ 816B7CB
+ lockall
+ setvar VAR_0x8008, 6
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B7D7:: @ 816B7D7
+ lockall
+ setvar VAR_0x8008, 7
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B7E3:: @ 816B7E3
+ lockall
+ setvar VAR_0x8008, 8
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B7EF:: @ 816B7EF
+ lockall
+ setvar VAR_0x8008, 9
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B7FB:: @ 816B7FB
+ lockall
+ setvar VAR_0x8008, 10
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B807:: @ 816B807
+ lockall
+ setvar VAR_0x8008, 11
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B813:: @ 816B813
+ lockall
+ setvar VAR_0x8008, 12
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B81F:: @ 816B81F
+ lockall
+ setvar VAR_0x8008, 13
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B82B:: @ 816B82B
+ lockall
+ setvar VAR_0x8008, 14
+ goto EventScript_16B843
+ end
+
+VermilionCity_Gym_EventScript_16B837:: @ 816B837
+ lockall
+ setvar VAR_0x8008, 15
+ goto EventScript_16B843
+ end
+
+EventScript_16B843:: @ 816B843
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ copyvar VAR_0x8004, VAR_0x4000
+ copyvar VAR_0x8005, VAR_0x4001
+ checkflag FLAG_0x264
+ goto_if 1, EventScript_16B8E5
+ checkflag FLAG_0x001
+ goto_if 1, EventScript_16B89E
+ compare_var_to_var VAR_0x8004, VAR_0x8008
+ goto_if 1, EventScript_16B885
+ loadword 0, gUnknown_8195289
+ callstd 4
+ releaseall
+ end
+
+EventScript_16B885:: @ 816B885
+ loadword 0, gUnknown_81952A8
+ callstd 4
+ playse SE_PIN
+ waitse
+ call EventScript_16B6BC
+ special DrawWholeMapView
+ setflag FLAG_0x001
+ releaseall
+ end
+
+EventScript_16B89E:: @ 816B89E
+ compare_var_to_var VAR_0x8005, VAR_0x8008
+ goto_if 1, EventScript_16B8CB
+ loadword 0, gUnknown_819536C
+ callstd 4
+ clearflag FLAG_0x001
+ special sub_80CADEC
+ copyvar VAR_0x4000, VAR_0x8004
+ copyvar VAR_0x4001, VAR_0x8005
+ call EventScript_16B8EF
+ special DrawWholeMapView
+ releaseall
+ end
+
+EventScript_16B8CB:: @ 816B8CB
+ loadword 0, gUnknown_8195330
+ callstd 4
+ closemessage
+ call EventScript_16B717
+ special DrawWholeMapView
+ playse SE_FU_ZAKU2
+ waitse
+ setflag FLAG_0x264
+ releaseall
+ end
+
+EventScript_16B8E5:: @ 816B8E5
+ loadword 0, gUnknown_8195289
+ callstd 4
+ releaseall
+ end
+
+EventScript_16B8EF:: @ 816B8EF
+ setmetatile 3, 6, 681, 1
+ setmetatile 4, 6, 682, 1
+ setmetatile 5, 6, 645, 1
+ setmetatile 6, 6, 683, 1
+ setmetatile 7, 6, 684, 1
+ setmetatile 3, 7, 689, 1
+ setmetatile 4, 7, 690, 1
+ setmetatile 5, 7, 653, 1
+ setmetatile 6, 7, 691, 1
+ setmetatile 7, 7, 692, 1
+ return
+
+VermilionCity_Gym_EventScript_16B94A:: @ 816B94A
+ setvar VAR_0x8004, 4
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ trainerbattle 1, 416, 0, Text_194BA4, Text_194E03, EventScript_16B97C
+ checkflag FLAG_0x231
+ goto_if 0, EventScript_16B9AF
+ loadword 0, gUnknown_8194C8E
+ callstd 4
+ release
+ end
+
+EventScript_16B97C:: @ 816B97C
+ setvar VAR_0x8004, 4
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ checkflag FLAG_0x23B
+ call_if 0, EventScript_16B9AB
+ clearflag FLAG_0x0A0
+ setflag FLAG_0x4B2
+ setflag 2082
+ setvar VAR_0x8008, 3
+ call EventScript_1A6B18
+ goto EventScript_16B9AF
+ end
+
+EventScript_16B9AB:: @ 816B9AB
+ clearflag FLAG_0x0A1
+ return
+
+EventScript_16B9AF:: @ 816B9AF
+ loadword 0, gUnknown_8194CFA
+ callstd 4
+ checkitemspace ITEM_TM34, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16B9F0
+ additem ITEM_TM34, 1
+ loadword 0, gUnknown_8194D87
+ setorcopyvar VAR_0x8000, 322
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x231
+ loadword 0, gUnknown_8194DA8
+ callstd 4
+ release
+ end
+
+EventScript_16B9F0:: @ 816B9F0
+ loadword 0, gUnknown_8194DE3
+ callstd 4
+ release
+ end
+
+VermilionCity_Gym_EventScript_16B9FA:: @ 816B9FA
+ trainerbattle 0, 141, 0, Text_194FBD, Text_194FF1
+ setvar VAR_0x8004, 4
+ setvar VAR_0x8005, 4
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8195004
+ callstd 6
+ end
+
+VermilionCity_Gym_EventScript_16BA1E:: @ 816BA1E
+ trainerbattle 0, 220, 0, Text_194F1F, Text_194F6F
+ loadword 0, gUnknown_8194F76
+ callstd 6
+ end
+
+VermilionCity_Gym_EventScript_16BA35:: @ 816BA35
+ trainerbattle 2, 423, 0, Text_194E57, Text_194EA5, EventScript_16BA5D
+ setvar VAR_0x8004, 4
+ setvar VAR_0x8005, 3
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8194EBD
+ callstd 6
+ end
+
+EventScript_16BA5D:: @ 816BA5D
+ setvar VAR_0x8004, 4
+ setvar VAR_0x8005, 2
+ special SetFlavorTextFlagFromSpecialVars
+ release
+ end
+
+VermilionCity_Gym_EventScript_16BA6C:: @ 816BA6C
+ lock
+ faceplayer
+ checkflag FLAG_0x4B2
+ goto_if 1, EventScript_16BA81
+ loadword 0, gUnknown_81950B4
+ callstd 4
+ release
+ end
+
+EventScript_16BA81:: @ 816BA81
+ loadword 0, gUnknown_81951EC
+ callstd 4
+ release
+ end
+
+VermilionCity_Gym_EventScript_16BA8B:: @ 816BA8B
+ lockall
+ checkflag 2082
+ goto_if 1, EventScript_16BA9F
+ loadword 0, gUnknown_819520B
+ callstd 4
+ releaseall
+ end
+
+EventScript_16BA9F:: @ 816BA9F
+ loadword 0, gUnknown_8195248
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/VermilionCity_House1/map.json b/data/maps/VermilionCity_House1/map.json
new file mode 100644
index 000000000..8195bf6ac
--- /dev/null
+++ b/data/maps/VermilionCity_House1/map.json
@@ -0,0 +1,55 @@
+{
+ "id": "MAP_VERMILION_CITY_HOUSE1",
+ "name": "VermilionCity_House1",
+ "layout": "LAYOUT_HOUSE1",
+ "music": "BGM_FRLG_CERULEAN_CITY",
+ "region_map_section": "MAPSEC_VERMILION_CITY",
+ "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": "57",
+ "x": 4,
+ "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": "VermilionCity_House1_EventScript_16B3A7",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/VermilionCity_House1/scripts.inc b/data/maps/VermilionCity_House1/scripts.inc
new file mode 100644
index 000000000..984961c29
--- /dev/null
+++ b/data/maps/VermilionCity_House1/scripts.inc
@@ -0,0 +1,46 @@
+VermilionCity_House1_MapScripts:: @ 816B3A6
+ .byte 0
+
+VermilionCity_House1_EventScript_16B3A7:: @ 816B3A7
+ lock
+ faceplayer
+ checkflag FLAG_0x240
+ goto_if 1, EventScript_16B3CF
+ loadword 0, gUnknown_8193EC1
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16B3D9
+ loadword 0, gUnknown_8194028
+ callstd 4
+ release
+ end
+
+EventScript_16B3CF:: @ 816B3CF
+ loadword 0, gUnknown_8194045
+ callstd 4
+ release
+ end
+
+EventScript_16B3D9:: @ 816B3D9
+ checkitemspace ITEM_OLD_ROD, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16B41A
+ additem ITEM_OLD_ROD, 1
+ loadword 0, gUnknown_8193F2A
+ callstd 4
+ loadword 0, gUnknown_8193F81
+ setorcopyvar VAR_0x8000, 262
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x240
+ loadword 0, gUnknown_8193FAF
+ callstd 4
+ release
+ end
+
+EventScript_16B41A:: @ 816B41A
+ loadword 0, gUnknown_819406F
+ callstd 4
+ release
+ end
diff --git a/data/maps/VermilionCity_House2/map.json b/data/maps/VermilionCity_House2/map.json
new file mode 100644
index 000000000..0e218b3d1
--- /dev/null
+++ b/data/maps/VermilionCity_House2/map.json
@@ -0,0 +1,55 @@
+{
+ "id": "MAP_VERMILION_CITY_HOUSE2",
+ "name": "VermilionCity_House2",
+ "layout": "LAYOUT_HOUSE1",
+ "music": "BGM_FRLG_VERMILION_CITY",
+ "region_map_section": "MAPSEC_VERMILION_CITY",
+ "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": "17",
+ "x": 4,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_House2_EventScript_16B5D7",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 6
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 6
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/VermilionCity_House2/scripts.inc b/data/maps/VermilionCity_House2/scripts.inc
new file mode 100644
index 000000000..9179fa716
--- /dev/null
+++ b/data/maps/VermilionCity_House2/scripts.inc
@@ -0,0 +1 @@
+@ .include "data/maps/VermilionCity_House2/scripts.inc"
diff --git a/data/maps/VermilionCity_House3/map.json b/data/maps/VermilionCity_House3/map.json
new file mode 100644
index 000000000..2108ec768
--- /dev/null
+++ b/data/maps/VermilionCity_House3/map.json
@@ -0,0 +1,102 @@
+{
+ "id": "MAP_VERMILION_CITY_HOUSE3",
+ "name": "VermilionCity_House3",
+ "layout": "LAYOUT_HOUSE1",
+ "music": "BGM_FRLG_VERMILION_CITY",
+ "region_map_section": "MAPSEC_VERMILION_CITY",
+ "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": "19",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_House3_EventScript_16BAAA",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "116",
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 2,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_House3_EventScript_16BABC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "105",
+ "x": 6,
+ "y": 4,
+ "elevation": 0,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 2,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_House3_EventScript_16BAB3",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 8
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 8
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "script": "VermilionCity_House3_EventScript_16BACF"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/VermilionCity_House3/scripts.inc b/data/maps/VermilionCity_House3/scripts.inc
new file mode 100644
index 000000000..0624992be
--- /dev/null
+++ b/data/maps/VermilionCity_House3/scripts.inc
@@ -0,0 +1,28 @@
+VermilionCity_House3_MapScripts:: @ 816BAA9
+ .byte 0
+
+VermilionCity_House3_EventScript_16BAAA:: @ 816BAAA
+ loadword 0, gUnknown_81953AF
+ callstd 2
+ end
+
+VermilionCity_House3_EventScript_16BAB3:: @ 816BAB3
+ loadword 0, gUnknown_8195471
+ callstd 2
+ end
+
+VermilionCity_House3_EventScript_16BABC:: @ 816BABC
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_PIDGEY, 0
+ loadword 0, gUnknown_81953EE
+ callstd 4
+ waitmoncry
+ release
+ end
+
+VermilionCity_House3_EventScript_16BACF:: @ 816BACF
+ loadword 0, gUnknown_8195400
+ callstd 3
+ end
diff --git a/data/maps/VermilionCity_Mart/map.json b/data/maps/VermilionCity_Mart/map.json
new file mode 100644
index 000000000..9b014e0de
--- /dev/null
+++ b/data/maps/VermilionCity_Mart/map.json
@@ -0,0 +1,81 @@
+{
+ "id": "MAP_VERMILION_CITY_MART",
+ "name": "VermilionCity_Mart",
+ "layout": "LAYOUT_MART",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_VERMILION_CITY",
+ "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": "68",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_Mart_EventScript_16B666",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 4,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_Mart_EventScript_16B654",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 9,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_Mart_EventScript_16B65D",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 7
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 7
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/VermilionCity_Mart/scripts.inc b/data/maps/VermilionCity_Mart/scripts.inc
new file mode 100644
index 000000000..712e0c6df
--- /dev/null
+++ b/data/maps/VermilionCity_Mart/scripts.inc
@@ -0,0 +1,39 @@
+VermilionCity_Mart_MapScripts:: @ 816B653
+ .byte 0
+
+VermilionCity_Mart_EventScript_16B654:: @ 816B654
+ loadword 0, gUnknown_8194B65
+ callstd 2
+ end
+
+VermilionCity_Mart_EventScript_16B65D:: @ 816B65D
+ loadword 0, gUnknown_8194A77
+ callstd 2
+ end
+
+VermilionCity_Mart_EventScript_16B666:: @ 816B666
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ lock
+ faceplayer
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16B68C
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16B68C:: @ 816B68C
+ .2byte ITEM_POKE_BALL
+ .2byte ITEM_SUPER_POTION
+ .2byte ITEM_ANTIDOTE
+ .2byte ITEM_PARALYZE_HEAL
+ .2byte ITEM_AWAKENING
+ .2byte ITEM_ICE_HEAL
+ .2byte ITEM_REPEL
+ .2byte ITEM_NONE
+ release
+ end
diff --git a/data/maps/VermilionCity_PokemonCenter_1F/map.json b/data/maps/VermilionCity_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..c1f76237e
--- /dev/null
+++ b/data/maps/VermilionCity_PokemonCenter_1F/map.json
@@ -0,0 +1,140 @@
+{
+ "id": "MAP_VERMILION_CITY_POKEMON_CENTER_1F",
+ "name": "VermilionCity_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_VERMILION_CITY",
+ "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": "VermilionCity_PokemonCenter_1F_EventScript_16B433",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonCenter_1F_EventScript_16B43C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "56",
+ "x": 12,
+ "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": "VermilionCity_PokemonCenter_1F_EventScript_16B445",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 14,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonCenter_1F_EventScript_16B44E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 6,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonCenter_1F_EventScript_1A8D08",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "0",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonCenter_1F_EventScript_1ACE83",
+ "flag": "160"
+ },
+ {
+ "graphics_id": "0",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonCenter_1F_EventScript_1ACE83",
+ "flag": "160"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_VERMILION_CITY_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/VermilionCity_PokemonCenter_1F/scripts.inc b/data/maps/VermilionCity_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..d6a5c01f2
--- /dev/null
+++ b/data/maps/VermilionCity_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,30 @@
+VermilionCity_PokemonCenter_1F_MapScripts:: @ 816B424
+ map_script 3, VermilionCity_PokemonCenter_1F_MapScript1_16B42F
+ map_script 5, VermilionCity_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+VermilionCity_PokemonCenter_1F_MapScript1_16B42F:: @ 816B42F
+ setrespawn 6
+ end
+
+VermilionCity_PokemonCenter_1F_EventScript_16B433:: @ 816B433
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+VermilionCity_PokemonCenter_1F_EventScript_16B43C:: @ 816B43C
+ loadword 0, gUnknown_8194145
+ callstd 2
+ end
+
+VermilionCity_PokemonCenter_1F_EventScript_16B445:: @ 816B445
+ loadword 0, gUnknown_81940AF
+ callstd 2
+ end
+
+VermilionCity_PokemonCenter_1F_EventScript_16B44E:: @ 816B44E
+ loadword 0, gUnknown_8194180
+ callstd 2
+ end
diff --git a/data/maps/VermilionCity_PokemonCenter_2F/map.json b/data/maps/VermilionCity_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..942ef3885
--- /dev/null
+++ b/data/maps/VermilionCity_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_VERMILION_CITY_POKEMON_CENTER_2F",
+ "name": "VermilionCity_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_VERMILION_CITY",
+ "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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "VermilionCity_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_VERMILION_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/VermilionCity_PokemonCenter_2F/scripts.inc b/data/maps/VermilionCity_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..d6ddecd4a
--- /dev/null
+++ b/data/maps/VermilionCity_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+VermilionCity_PokemonCenter_2F_MapScripts:: @ 816B457
+ map_script 2, VermilionCity_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, VermilionCity_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, VermilionCity_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, VermilionCity_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+VermilionCity_PokemonCenter_2F_EventScript_16B46C:: @ 816B46C
+ call EventScript_1BB4A3
+ end
+
+EventScript_16B472:: @ 816B472
+ call EventScript_1BB6AB
+ end
+
+EventScript_16B478:: @ 816B478
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/VermilionCity_PokemonFanClub/map.json b/data/maps/VermilionCity_PokemonFanClub/map.json
new file mode 100644
index 000000000..4be1c66f0
--- /dev/null
+++ b/data/maps/VermilionCity_PokemonFanClub/map.json
@@ -0,0 +1,135 @@
+{
+ "id": "MAP_VERMILION_CITY_POKEMON_FAN_CLUB",
+ "name": "VermilionCity_PokemonFanClub",
+ "layout": "LAYOUT_VERMILION_CITY_POKEMON_FAN_CLUB",
+ "music": "BGM_FRLG_VERMILION_CITY",
+ "region_map_section": "MAPSEC_VERMILION_CITY",
+ "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": "61",
+ "x": 5,
+ "y": 4,
+ "elevation": 4,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonFanClub_EventScript_16B47F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "48",
+ "x": 6,
+ "y": 4,
+ "elevation": 4,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonFanClub_EventScript_16B4FC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "120",
+ "x": 7,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonFanClub_EventScript_16B59E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "126",
+ "x": 4,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonFanClub_EventScript_16B5B1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "23",
+ "x": 4,
+ "y": 5,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonFanClub_EventScript_16B528",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "27",
+ "x": 7,
+ "y": 5,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VermilionCity_PokemonFanClub_EventScript_16B563",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 5,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 5
+ },
+ {
+ "x": 6,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_VERMILION_CITY",
+ "dest_warp_id": 5
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "script": "VermilionCity_PokemonFanClub_EventScript_16B5C4"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "script": "VermilionCity_PokemonFanClub_EventScript_16B5CD"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/VermilionCity_PokemonFanClub/scripts.inc b/data/maps/VermilionCity_PokemonFanClub/scripts.inc
new file mode 100644
index 000000000..d963b6ef3
--- /dev/null
+++ b/data/maps/VermilionCity_PokemonFanClub/scripts.inc
@@ -0,0 +1,191 @@
+VermilionCity_PokemonFanClub_MapScripts:: @ 816B47E
+ .byte 0
+
+VermilionCity_PokemonFanClub_EventScript_16B47F:: @ 816B47F
+ lock
+ faceplayer
+ checkflag FLAG_0x241
+ goto_if 1, EventScript_16B4A7
+ loadword 0, gUnknown_819457E
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_16B4B1
+ loadword 0, gUnknown_8194860
+ callstd 4
+ release
+ end
+
+EventScript_16B4A7:: @ 816B4A7
+ loadword 0, gUnknown_819488E
+ callstd 4
+ release
+ end
+
+EventScript_16B4B1:: @ 816B4B1
+ loadword 0, gUnknown_8194628
+ callstd 4
+ checkitemspace ITEM_BIKE_VOUCHER, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16B4F2
+ setflag FLAG_0x241
+ additem ITEM_BIKE_VOUCHER, 1
+ loadword 0, gUnknown_819474E
+ setorcopyvar VAR_0x8000, 352
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ loadword 0, gUnknown_819477C
+ callstd 4
+ release
+ end
+
+EventScript_16B4F2:: @ 816B4F2
+ loadword 0, gUnknown_81948D2
+ callstd 4
+ release
+ end
+
+VermilionCity_PokemonFanClub_EventScript_16B4FC:: @ 816B4FC
+ lock
+ faceplayer
+ checkflag 2092
+ goto_if 1, EventScript_16B511
+ loadword 0, gUnknown_81948E6
+ callstd 4
+ release
+ end
+
+EventScript_16B511:: @ 816B511
+ setvar VAR_0x8004, 1
+ setvar VAR_0x8005, 1
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_8194960
+ callstd 4
+ release
+ end
+
+VermilionCity_PokemonFanClub_EventScript_16B528:: @ 816B528
+ lock
+ faceplayer
+ checkflag FLAG_0x003
+ goto_if 1, EventScript_16B54B
+ loadword 0, gUnknown_81944CC
+ callstd 4
+ closemessage
+ applymovement 5, Movement_1A75E5
+ waitmovement 0
+ setflag FLAG_0x002
+ release
+ end
+
+EventScript_16B54B:: @ 816B54B
+ loadword 0, gUnknown_8194518
+ callstd 4
+ closemessage
+ applymovement 5, Movement_1A75E5
+ waitmovement 0
+ clearflag FLAG_0x003
+ release
+ end
+
+VermilionCity_PokemonFanClub_EventScript_16B563:: @ 816B563
+ lock
+ faceplayer
+ checkflag FLAG_0x002
+ goto_if 1, EventScript_16B586
+ loadword 0, gUnknown_819446F
+ callstd 4
+ closemessage
+ applymovement 6, Movement_1A75E5
+ waitmovement 0
+ setflag FLAG_0x003
+ release
+ end
+
+EventScript_16B586:: @ 816B586
+ loadword 0, gUnknown_819449C
+ callstd 4
+ closemessage
+ applymovement 6, Movement_1A75E5
+ waitmovement 0
+ clearflag FLAG_0x002
+ release
+ end
+
+VermilionCity_PokemonFanClub_EventScript_16B59E:: @ 816B59E
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_PIKACHU, 0
+ loadword 0, gUnknown_819455A
+ callstd 4
+ waitmoncry
+ release
+ end
+
+VermilionCity_PokemonFanClub_EventScript_16B5B1:: @ 816B5B1
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_SEEL, 0
+ loadword 0, gUnknown_8194571
+ callstd 4
+ waitmoncry
+ release
+ end
+
+VermilionCity_PokemonFanClub_EventScript_16B5C4:: @ 816B5C4
+ loadword 0, gUnknown_8194910
+ callstd 3
+ end
+
+VermilionCity_PokemonFanClub_EventScript_16B5CD:: @ 816B5CD
+ loadword 0, gUnknown_819493D
+ callstd 3
+ end
+
+VermilionCity_House2_MapScripts:: @ 816B5D6
+ .byte 0
+
+VermilionCity_House2_EventScript_16B5D7:: @ 816B5D7
+ lock
+ faceplayer
+ setvar VAR_0x8008, 3
+ call EventScript_1A8CAD
+ checkflag FLAG_0x24D
+ goto_if 1, EventScript_16B649
+ loadword 0, gUnknown_81949CB
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16B631
+ call EventScript_1A8CBD
+ compare_var_to_value VAR_0x8004, 6
+ goto_if 4, EventScript_16B631
+ call EventScript_1A8CC9
+ compare_var_to_var VAR_RESULT, VAR_0x8009
+ goto_if 5, EventScript_16B63B
+ call EventScript_1A8CD9
+ loadword 0, gUnknown_8194A44
+ callstd 4
+ setflag FLAG_0x24D
+ release
+ end
+
+EventScript_16B631:: @ 816B631
+ loadword 0, gUnknown_81949FD
+ callstd 4
+ release
+ end
+
+EventScript_16B63B:: @ 816B63B
+ getspeciesname 0, 32777
+ loadword 0, gUnknown_8194A0D
+ callstd 4
+ release
+ end
+
+EventScript_16B649:: @ 816B649
+ loadword 0, gUnknown_8194A4F
+ callstd 4
+ release
+ end
diff --git a/data/maps/VictoryRoad_1F/map.json b/data/maps/VictoryRoad_1F/map.json
new file mode 100644
index 000000000..fae861a3e
--- /dev/null
+++ b/data/maps/VictoryRoad_1F/map.json
@@ -0,0 +1,155 @@
+{
+ "id": "MAP_VICTORY_ROAD_1F",
+ "name": "VictoryRoad_1F",
+ "layout": "LAYOUT_VICTORY_ROAD_1F",
+ "music": "BGM_FRLG_MT_MOON",
+ "region_map_section": "MAPSEC_KANTO_VICTORY_ROAD",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "41",
+ "x": 5,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "VictoryRoad_1F_EventScript_160F7B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 14,
+ "y": 6,
+ "elevation": 4,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "VictoryRoad_1F_EventScript_160F64",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 12,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_1F_EventScript_1BE9D2",
+ "flag": "425"
+ },
+ {
+ "graphics_id": "92",
+ "x": 14,
+ "y": 1,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_1F_EventScript_1BE9DF",
+ "flag": "426"
+ },
+ {
+ "graphics_id": "97",
+ "x": 7,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_1F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 4,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_1F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 16,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_1F_EventScript_1BE11D",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_2F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 11,
+ "y": 20,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE23",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 20,
+ "y": 16,
+ "elevation": 3,
+ "var": "VAR_0x4064",
+ "var_value": 99,
+ "script": "VictoryRoad_1F_EventScript_160F33"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 12,
+ "y": 12,
+ "elevation": 0,
+ "item": "POCKET_KEY_ITEMS",
+ "flag": "37",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 16,
+ "y": 1,
+ "elevation": 0,
+ "item": "ITEM_FULL_RESTORE",
+ "flag": "38",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/VictoryRoad_1F/scripts.inc b/data/maps/VictoryRoad_1F/scripts.inc
new file mode 100644
index 000000000..fbd89857b
--- /dev/null
+++ b/data/maps/VictoryRoad_1F/scripts.inc
@@ -0,0 +1,48 @@
+VictoryRoad_1F_MapScripts:: @ 8160F05
+ map_script 1, VictoryRoad_1F_MapScript1_160F10
+ map_script 3, VictoryRoad_1F_MapScript2_160F2F
+ .byte 0
+
+VictoryRoad_1F_MapScript1_160F10:: @ 8160F10
+ compare_var_to_value VAR_0x4064, 100
+ call_if 5, EventScript_160F1C
+ end
+
+EventScript_160F1C:: @ 8160F1C
+ setmetatile 12, 14, 775, 1
+ setmetatile 12, 15, 791, 1
+ return
+
+VictoryRoad_1F_MapScript2_160F2F:: @ 8160F2F
+ setworldmapflag 2218
+ end
+
+VictoryRoad_1F_EventScript_160F33:: @ 8160F33
+ lockall
+ compare_var_to_value VAR_0x4064, 100
+ goto_if 1, EventScript_160F62
+ setmetatile 12, 14, 721, 0
+ setmetatile 12, 15, 737, 0
+ playse SE_MU_PACHI
+ special DrawWholeMapView
+ waitse
+ moveobjectoffscreen 5
+ setvar VAR_0x4064, 100
+ releaseall
+ end
+
+EventScript_160F62:: @ 8160F62
+ releaseall
+ end
+
+VictoryRoad_1F_EventScript_160F64:: @ 8160F64
+ trainerbattle 0, 406, 0, Text_174710, Text_174738
+ loadword 0, gUnknown_8174744
+ callstd 6
+ end
+
+VictoryRoad_1F_EventScript_160F7B:: @ 8160F7B
+ trainerbattle 0, 396, 0, Text_174784, Text_1747B8
+ loadword 0, gUnknown_81747C8
+ callstd 6
+ end
diff --git a/data/maps/VictoryRoad_2F/map.json b/data/maps/VictoryRoad_2F/map.json
new file mode 100644
index 000000000..6a0ba1819
--- /dev/null
+++ b/data/maps/VictoryRoad_2F/map.json
@@ -0,0 +1,272 @@
+{
+ "id": "MAP_VICTORY_ROAD_2F",
+ "name": "VictoryRoad_2F",
+ "layout": "LAYOUT_VICTORY_ROAD_2F",
+ "music": "BGM_FRLG_MT_MOON",
+ "region_map_section": "MAPSEC_KANTO_VICTORY_ROAD",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "52",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "VictoryRoad_2F_EventScript_161037",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 20,
+ "y": 11,
+ "elevation": 4,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "VictoryRoad_2F_EventScript_16104E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 31,
+ "y": 16,
+ "elevation": 4,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "VictoryRoad_2F_EventScript_161065",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 26,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "40",
+ "movement_range_x": 4,
+ "movement_range_y": 4,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "VictoryRoad_2F_EventScript_161093",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 36,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "VictoryRoad_2F_EventScript_16107C",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 17,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_2F_EventScript_1BE9EC",
+ "flag": "427"
+ },
+ {
+ "graphics_id": "92",
+ "x": 40,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_2F_EventScript_1BE9F9",
+ "flag": "428"
+ },
+ {
+ "graphics_id": "92",
+ "x": 25,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_2F_EventScript_1BEA06",
+ "flag": "429"
+ },
+ {
+ "graphics_id": "92",
+ "x": 14,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_2F_EventScript_1BEA13",
+ "flag": "430"
+ },
+ {
+ "graphics_id": "97",
+ "x": 8,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_2F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 6,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_2F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 33,
+ "y": 19,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_2F_EventScript_1BE11D",
+ "flag": "88"
+ },
+ {
+ "graphics_id": "41",
+ "x": 40,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_2F_EventScript_1C47AE",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 3,
+ "y": 3,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_3F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 34,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_3F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 38,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_3F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 36,
+ "y": 17,
+ "elevation": 4,
+ "dest_map": "MAP_VICTORY_ROAD_3F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 49,
+ "y": 13,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE23",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 48,
+ "y": 12,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE23",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 47,
+ "y": 13,
+ "elevation": 0,
+ "dest_map": "MAP_ROUTE23",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 34,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_3F",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 2,
+ "y": 19,
+ "elevation": 3,
+ "var": "VAR_0x4065",
+ "var_value": 99,
+ "script": "VictoryRoad_2F_EventScript_160FD5"
+ },
+ {
+ "type": "trigger",
+ "x": 14,
+ "y": 19,
+ "elevation": 3,
+ "var": "VAR_0x4066",
+ "var_value": 99,
+ "script": "VictoryRoad_2F_EventScript_161006"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/VictoryRoad_2F/scripts.inc b/data/maps/VictoryRoad_2F/scripts.inc
new file mode 100644
index 000000000..20476dac4
--- /dev/null
+++ b/data/maps/VictoryRoad_2F/scripts.inc
@@ -0,0 +1,86 @@
+VictoryRoad_2F_MapScripts:: @ 8160F92
+ map_script 1, VictoryRoad_2F_MapScript1_160F98
+ .byte 0
+
+VictoryRoad_2F_MapScript1_160F98:: @ 8160F98
+ compare_var_to_value VAR_0x4065, 100
+ call_if 5, EventScript_160FAF
+ compare_var_to_value VAR_0x4066, 100
+ call_if 5, EventScript_160FC2
+ end
+
+EventScript_160FAF:: @ 8160FAF
+ setmetatile 13, 10, 775, 1
+ setmetatile 13, 11, 791, 1
+ return
+
+EventScript_160FC2:: @ 8160FC2
+ setmetatile 33, 16, 775, 1
+ setmetatile 33, 17, 791, 1
+ return
+
+VictoryRoad_2F_EventScript_160FD5:: @ 8160FD5
+ lockall
+ compare_var_to_value VAR_0x4065, 100
+ goto_if 1, EventScript_161004
+ setmetatile 13, 10, 721, 0
+ setmetatile 13, 11, 737, 0
+ playse SE_MU_PACHI
+ special DrawWholeMapView
+ waitse
+ moveobjectoffscreen 11
+ setvar VAR_0x4065, 100
+ releaseall
+ end
+
+EventScript_161004:: @ 8161004
+ releaseall
+ end
+
+VictoryRoad_2F_EventScript_161006:: @ 8161006
+ lockall
+ compare_var_to_value VAR_0x4066, 100
+ goto_if 1, EventScript_161035
+ setmetatile 33, 16, 721, 0
+ setmetatile 33, 17, 737, 0
+ playse SE_MU_PACHI
+ special DrawWholeMapView
+ waitse
+ moveobjectoffscreen 12
+ setvar VAR_0x4066, 100
+ releaseall
+ end
+
+EventScript_161035:: @ 8161035
+ releaseall
+ end
+
+VictoryRoad_2F_EventScript_161037:: @ 8161037
+ trainerbattle 0, 167, 0, Text_1747EF, Text_17482C
+ loadword 0, gUnknown_817483E
+ callstd 6
+ end
+
+VictoryRoad_2F_EventScript_16104E:: @ 816104E
+ trainerbattle 0, 325, 0, Text_174877, Text_1748B4
+ loadword 0, gUnknown_81748BB
+ callstd 6
+ end
+
+VictoryRoad_2F_EventScript_161065:: @ 8161065
+ trainerbattle 0, 287, 0, Text_1748EE, Text_17491B
+ loadword 0, gUnknown_8174927
+ callstd 6
+ end
+
+VictoryRoad_2F_EventScript_16107C:: @ 816107C
+ trainerbattle 0, 290, 0, Text_174995, Text_1749B0
+ loadword 0, gUnknown_81749BB
+ callstd 6
+ end
+
+VictoryRoad_2F_EventScript_161093:: @ 8161093
+ trainerbattle 0, 298, 0, Text_174942, Text_17495A
+ loadword 0, gUnknown_8174969
+ callstd 6
+ end
diff --git a/data/maps/VictoryRoad_3F/map.json b/data/maps/VictoryRoad_3F/map.json
new file mode 100644
index 000000000..78a5c1b4e
--- /dev/null
+++ b/data/maps/VictoryRoad_3F/map.json
@@ -0,0 +1,222 @@
+{
+ "id": "MAP_VICTORY_ROAD_3F",
+ "name": "VictoryRoad_3F",
+ "layout": "LAYOUT_VICTORY_ROAD_3F",
+ "music": "BGM_FRLG_MT_MOON",
+ "region_map_section": "MAPSEC_KANTO_VICTORY_ROAD",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "41",
+ "x": 40,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "VictoryRoad_3F_EventScript_161103",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 21,
+ "y": 5,
+ "elevation": 4,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "VictoryRoad_3F_EventScript_161148",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "41",
+ "x": 10,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "VictoryRoad_3F_EventScript_16111A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 11,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "VictoryRoad_3F_EventScript_161131",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 38,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_3F_EventScript_1BEA20",
+ "flag": "431"
+ },
+ {
+ "graphics_id": "92",
+ "x": 12,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_3F_EventScript_1BEA2D",
+ "flag": "432"
+ },
+ {
+ "graphics_id": "97",
+ "x": 19,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_3F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 33,
+ "y": 18,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 88,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_3F_EventScript_1BE11D",
+ "flag": "89"
+ },
+ {
+ "graphics_id": "97",
+ "x": 35,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_3F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 32,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "VictoryRoad_3F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "41",
+ "x": 38,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "VictoryRoad_3F_EventScript_16115F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 39,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "VictoryRoad_3F_EventScript_16117A",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 5,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 34,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_2F",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 37,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_2F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 39,
+ "y": 17,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_2F",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 34,
+ "y": 18,
+ "elevation": 3,
+ "dest_map": "MAP_VICTORY_ROAD_2F",
+ "dest_warp_id": 8
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 7,
+ "y": 7,
+ "elevation": 3,
+ "var": "VAR_0x4067",
+ "var_value": 99,
+ "script": "VictoryRoad_3F_EventScript_1610CF"
+ }
+ ],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/VictoryRoad_3F/scripts.inc b/data/maps/VictoryRoad_3F/scripts.inc
new file mode 100644
index 000000000..5172cbba9
--- /dev/null
+++ b/data/maps/VictoryRoad_3F/scripts.inc
@@ -0,0 +1,68 @@
+VictoryRoad_3F_MapScripts:: @ 81610AA
+ map_script 1, VictoryRoad_3F_MapScript1_1610B0
+ .byte 0
+
+VictoryRoad_3F_MapScript1_1610B0:: @ 81610B0
+ compare_var_to_value VAR_0x4067, 100
+ call_if 5, EventScript_1610BC
+ end
+
+EventScript_1610BC:: @ 81610BC
+ setmetatile 12, 12, 775, 1
+ setmetatile 12, 13, 791, 1
+ return
+
+VictoryRoad_3F_EventScript_1610CF:: @ 81610CF
+ lockall
+ compare_var_to_value VAR_0x4067, 100
+ goto_if 1, EventScript_161101
+ setmetatile 12, 12, 721, 0
+ setmetatile 12, 13, 737, 0
+ playse SE_MU_PACHI
+ special DrawWholeMapView
+ waitse
+ moveobjectoffscreen 7
+ moveobjectoffscreen 10
+ setvar VAR_0x4067, 100
+ releaseall
+ end
+
+EventScript_161101:: @ 8161101
+ releaseall
+ end
+
+VictoryRoad_3F_EventScript_161103:: @ 8161103
+ trainerbattle 0, 393, 0, Text_174B60, Text_174B83
+ loadword 0, gUnknown_8174B99
+ callstd 6
+ end
+
+VictoryRoad_3F_EventScript_16111A:: @ 816111A
+ trainerbattle 0, 394, 0, Text_174C8A, Text_174CA9
+ loadword 0, gUnknown_8174CBD
+ callstd 6
+ end
+
+VictoryRoad_3F_EventScript_161131:: @ 8161131
+ trainerbattle 0, 403, 0, Text_174C30, Text_174C5A
+ loadword 0, gUnknown_8174C67
+ callstd 6
+ end
+
+VictoryRoad_3F_EventScript_161148:: @ 8161148
+ trainerbattle 0, 404, 0, Text_174BCA, Text_174BF4
+ loadword 0, gUnknown_8174C03
+ callstd 6
+ end
+
+VictoryRoad_3F_EventScript_16115F:: @ 816115F
+ trainerbattle 4, 485, 0, Text_174D0C, Text_174D45, Text_174D96
+ loadword 0, gUnknown_8174D64
+ callstd 6
+ end
+
+VictoryRoad_3F_EventScript_16117A:: @ 816117A
+ trainerbattle 4, 485, 0, Text_174E08, Text_174E39, Text_174E8D
+ loadword 0, gUnknown_8174E48
+ callstd 6
+ end
diff --git a/data/maps/ViridianCity/map.json b/data/maps/ViridianCity/map.json
new file mode 100644
index 000000000..5c15a8364
--- /dev/null
+++ b/data/maps/ViridianCity/map.json
@@ -0,0 +1,262 @@
+{
+ "id": "MAP_VIRIDIAN_CITY",
+ "name": "ViridianCity",
+ "layout": "LAYOUT_VIRIDIAN_CITY",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_VIRIDIAN_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_2",
+ "map_type": "MAP_TYPE_1",
+ "unknown_18": 1,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": [
+ {
+ "map": "MAP_ROUTE2",
+ "offset": 12,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE1",
+ "offset": 12,
+ "direction": "down"
+ },
+ {
+ "map": "MAP_ROUTE22",
+ "offset": 10,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "27",
+ "x": 8,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_EventScript_165AF0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 11,
+ "y": 24,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_EventScript_1BDF13",
+ "flag": "17"
+ },
+ {
+ "graphics_id": "32",
+ "x": 34,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_EventScript_1659CA",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "240",
+ "x": 21,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 2,
+ "movement_range_y": 3,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_EventScript_1659F6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "31",
+ "x": 20,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 3,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_EventScript_165AC4",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 33,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 0,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_EventScript_165A8F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "19",
+ "x": 16,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_EventScript_1659C1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 18,
+ "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": "ViridianCity_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "92",
+ "x": 17,
+ "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": "ViridianCity_EventScript_1BEB8C",
+ "flag": "461"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 26,
+ "y": 26,
+ "elevation": 0,
+ "dest_map": "MAP_VIRIDIAN_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 25,
+ "y": 11,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_CITY_HOUSE1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 36,
+ "y": 10,
+ "elevation": 0,
+ "dest_map": "MAP_VIRIDIAN_CITY_GYM",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 25,
+ "y": 18,
+ "elevation": 0,
+ "dest_map": "MAP_VIRIDIAN_CITY_HOUSE2",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 36,
+ "y": 19,
+ "elevation": 0,
+ "dest_map": "MAP_VIRIDIAN_CITY_MART",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [
+ {
+ "type": "trigger",
+ "x": 22,
+ "y": 11,
+ "elevation": 3,
+ "var": "VAR_0x4051",
+ "var_value": 0,
+ "script": "ViridianCity_EventScript_165AF6"
+ },
+ {
+ "type": "trigger",
+ "x": 36,
+ "y": 11,
+ "elevation": 3,
+ "var": "VAR_0x405A",
+ "var_value": 0,
+ "script": "ViridianCity_EventScript_16596D"
+ },
+ {
+ "type": "trigger",
+ "x": 20,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4051",
+ "var_value": 1,
+ "script": "ViridianCity_EventScript_165B10"
+ },
+ {
+ "type": "trigger",
+ "x": 22,
+ "y": 8,
+ "elevation": 3,
+ "var": "VAR_0x4051",
+ "var_value": 1,
+ "script": "ViridianCity_EventScript_165B2E"
+ }
+ ],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 23,
+ "y": 1,
+ "elevation": 3,
+ "script": "ViridianCity_EventScript_16599D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 32,
+ "y": 10,
+ "elevation": 0,
+ "script": "ViridianCity_EventScript_1659AF"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 20,
+ "y": 31,
+ "elevation": 0,
+ "script": "ViridianCity_EventScript_1659A6"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 20,
+ "y": 16,
+ "elevation": 0,
+ "script": "ViridianCity_EventScript_165994"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 36,
+ "y": 10,
+ "elevation": 0,
+ "script": "ViridianCity_EventScript_1659B8"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/ViridianCity/scripts.inc b/data/maps/ViridianCity/scripts.inc
new file mode 100644
index 000000000..2f8f28b74
--- /dev/null
+++ b/data/maps/ViridianCity/scripts.inc
@@ -0,0 +1,284 @@
+ViridianCity_MapScripts:: @ 81658D3
+ map_script 3, ViridianCity_MapScript1_1658D9
+ .byte 0
+
+ViridianCity_MapScript1_1658D9:: @ 81658D9
+ setworldmapflag 2193
+ compare_var_to_value VAR_0x4051, 0
+ call_if 1, EventScript_165920
+ compare_var_to_value VAR_0x4051, 1
+ call_if 1, EventScript_16590F
+ compare_var_to_value VAR_0x4051, 2
+ call_if 4, EventScript_165909
+ compare_var_to_value VAR_0x405A, 0
+ call_if 1, EventScript_165931
+ end
+
+EventScript_165909:: @ 8165909
+ setvar VAR_0x4010, 32
+ return
+
+EventScript_16590F:: @ 816590F
+ setvar VAR_0x4010, 32
+ setobjectxyperm 4, 21, 8
+ setobjectmovementtype 4, 1
+ return
+
+EventScript_165920:: @ 8165920
+ setvar VAR_0x4010, 34
+ setobjectxyperm 4, 21, 11
+ setobjectmovementtype 4, 8
+ return
+
+EventScript_165931:: @ 8165931
+ checkflag 2081
+ goto_if 0, EventScript_1A77A9
+ checkflag 2082
+ goto_if 0, EventScript_1A77A9
+ checkflag 2083
+ goto_if 0, EventScript_1A77A9
+ checkflag FLAG_UNK824
+ goto_if 0, EventScript_1A77A9
+ checkflag 2085
+ goto_if 0, EventScript_1A77A9
+ checkflag FLAG_UNK826
+ goto_if 0, EventScript_1A77A9
+ setvar VAR_0x405A, 1
+ return
+
+ViridianCity_EventScript_16596D:: @ 816596D
+ lockall
+ textcolor 3
+ applymovement 255, Movement_1A75E9
+ waitmovement 0
+ delay 20
+ loadword 0, gUnknown_817E2F5
+ callstd 4
+ closemessage
+ applymovement 255, Movement_165992
+ waitmovement 0
+ releaseall
+ end
+
+Movement_165992:: @ 8165992
+ step_14
+ step_end
+
+ViridianCity_EventScript_165994:: @ 8165994
+ loadword 0, gUnknown_817E1BB
+ callstd 3
+ end
+
+ViridianCity_EventScript_16599D:: @ 816599D
+ loadword 0, gUnknown_817E1E7
+ callstd 3
+ end
+
+ViridianCity_EventScript_1659A6:: @ 81659A6
+ loadword 0, gUnknown_817E24D
+ callstd 3
+ end
+
+ViridianCity_EventScript_1659AF:: @ 81659AF
+ loadword 0, gUnknown_817E2DB
+ callstd 3
+ end
+
+ViridianCity_EventScript_1659B8:: @ 81659B8
+ loadword 0, gUnknown_817E2F5
+ callstd 3
+ end
+
+ViridianCity_EventScript_1659C1:: @ 81659C1
+ loadword 0, gUnknown_817DABB
+ callstd 2
+ end
+
+ViridianCity_EventScript_1659CA:: @ 81659CA
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x405A, 1
+ goto_if 1, EventScript_1659EC
+ loadword 0, gUnknown_817DB39
+ callstd 4
+ closemessage
+ applymovement 3, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+EventScript_1659EC:: @ 81659EC
+ loadword 0, gUnknown_817DB78
+ callstd 4
+ release
+ end
+
+ViridianCity_EventScript_1659F6:: @ 81659F6
+ lock
+ faceplayer
+ checkflag FLAG_UNK820
+ goto_if 1, EventScript_165A23
+ compare_var_to_value VAR_0x4051, 2
+ goto_if 4, EventScript_165A4A
+ compare_var_to_value VAR_0x4051, 1
+ goto_if 1, EventScript_165A54
+ compare_var_to_value VAR_0x4051, 0
+ goto_if 1, EventScript_165A84
+ end
+
+EventScript_165A23:: @ 8165A23
+ loadword 0, gUnknown_817E046
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_165A40
+ loadword 0, gUnknown_817E0EA
+ callstd 4
+ release
+ end
+
+EventScript_165A40:: @ 8165A40
+ loadword 0, gUnknown_817E14E
+ callstd 4
+ release
+ end
+
+EventScript_165A4A:: @ 8165A4A
+ loadword 0, gUnknown_817DF61
+ callstd 4
+ release
+ end
+
+EventScript_165A54:: @ 8165A54
+ call EventScript_165B4C
+ release
+ end
+
+EventScript_165A5B:: @ 8165A5B
+ loadword 0, gUnknown_817DEEB
+ callstd 4
+ release
+ end
+
+EventScript_165A65:: @ 8165A65
+ loadword 0, gUnknown_817DE9B
+ callstd 4
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ special sub_807F888
+ waitstate
+ release
+ end
+
+EventScript_165A84:: @ 8165A84
+ loadword 0, gUnknown_817DD03
+ callstd 4
+ closemessage
+ release
+ end
+
+ViridianCity_EventScript_165A8F:: @ 8165A8F
+ lock
+ faceplayer
+ loadword 0, gUnknown_817DB98
+ callstd 5
+ compare_var_to_value VAR_RESULT, 1
+ goto_if 1, EventScript_165AB0
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_165ABA
+ end
+
+EventScript_165AB0:: @ 8165AB0
+ loadword 0, gUnknown_817DBE4
+ callstd 4
+ release
+ end
+
+EventScript_165ABA:: @ 8165ABA
+ loadword 0, gUnknown_817DBD5
+ callstd 4
+ release
+ end
+
+ViridianCity_EventScript_165AC4:: @ 8165AC4
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4051, 0
+ goto_if 1, EventScript_165ADB
+ loadword 0, gUnknown_817DC99
+ callstd 4
+ release
+ end
+
+EventScript_165ADB:: @ 8165ADB
+ loadword 0, gUnknown_817DC4E
+ callstd 4
+ closemessage
+ applymovement 5, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+ViridianCity_EventScript_165AF0:: @ 8165AF0
+ goto EventScript_1C4A1E
+ end
+
+ViridianCity_EventScript_165AF6:: @ 8165AF6
+ lockall
+ textcolor 0
+ loadword 0, gUnknown_817DD03
+ callstd 4
+ closemessage
+ applymovement 255, Movement_165B0E
+ waitmovement 0
+ releaseall
+ end
+
+Movement_165B0E:: @ 8165B0E
+ step_10
+ step_end
+
+ViridianCity_EventScript_165B10:: @ 8165B10
+ lockall
+ textcolor 0
+ applymovement 4, Movement_1A75E7
+ waitmovement 0
+ applymovement 255, Movement_1A75EB
+ waitmovement 0
+ call EventScript_165B4C
+ release
+ end
+
+ViridianCity_EventScript_165B2E:: @ 8165B2E
+ lockall
+ textcolor 0
+ applymovement 4, Movement_1A75EB
+ waitmovement 0
+ applymovement 255, Movement_1A75E7
+ waitmovement 0
+ call EventScript_165B4C
+ release
+ end
+
+EventScript_165B4C:: @ 8165B4C
+ loadword 0, gUnknown_817DD4E
+ callstd 4
+ closemessage
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ special sub_8112364
+ special sub_807F888
+ waitstate
+ lock
+ faceplayer
+ loadword 0, gUnknown_817DE9B
+ callstd 4
+ setvar VAR_0x4051, 2
+ setorcopyvar VAR_0x8000, 366
+ setorcopyvar VAR_0x8001, 1
+ callstd 0
+ loadword 0, gUnknown_817DEEB
+ callstd 4
+ return
diff --git a/data/maps/ViridianCity_Gym/map.json b/data/maps/ViridianCity_Gym/map.json
new file mode 100644
index 000000000..accf4290d
--- /dev/null
+++ b/data/maps/ViridianCity_Gym/map.json
@@ -0,0 +1,196 @@
+{
+ "id": "MAP_VIRIDIAN_CITY_GYM",
+ "name": "ViridianCity_Gym",
+ "layout": "LAYOUT_VIRIDIAN_CITY_GYM",
+ "music": "BGM_FRLG_GYM",
+ "region_map_section": "MAPSEC_VIRIDIAN_CITY",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "54",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "ViridianCity_Gym_EventScript_169FD6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "41",
+ "x": 12,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "ViridianCity_Gym_EventScript_16A004",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 11,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "ViridianCity_Gym_EventScript_169FA8",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 10,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "ViridianCity_Gym_EventScript_169F7A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "25",
+ "x": 2,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "ViridianCity_Gym_EventScript_169F91",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 3,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "ViridianCity_Gym_EventScript_169FBF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "41",
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "ViridianCity_Gym_EventScript_169FED",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "87",
+ "x": 2,
+ "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": "ViridianCity_Gym_EventScript_169ECA",
+ "flag": "85"
+ },
+ {
+ "graphics_id": "41",
+ "x": 13,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "ViridianCity_Gym_EventScript_16A01B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "91",
+ "x": 16,
+ "y": 20,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_Gym_EventScript_16A032",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 16,
+ "y": 22,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 17,
+ "y": 22,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 2
+ },
+ {
+ "x": 18,
+ "y": 22,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 15,
+ "y": 20,
+ "elevation": 0,
+ "script": "ViridianCity_Gym_EventScript_16A05E"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 19,
+ "y": 20,
+ "elevation": 0,
+ "script": "ViridianCity_Gym_EventScript_16A05E"
+ },
+ {
+ "type": "hidden_item",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "item": "ITEM_MACHO_BRACE",
+ "flag": "189",
+ "unknown": 129
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/ViridianCity_Gym/scripts.inc b/data/maps/ViridianCity_Gym/scripts.inc
new file mode 100644
index 000000000..bd65c80e5
--- /dev/null
+++ b/data/maps/ViridianCity_Gym/scripts.inc
@@ -0,0 +1,137 @@
+ViridianCity_Gym_MapScripts:: @ 8169EC9
+ .byte 0
+
+ViridianCity_Gym_EventScript_169ECA:: @ 8169ECA
+ setvar VAR_0x8004, 15
+ setvar VAR_0x8005, 2
+ special UpdatePickStateFromSpecialVar8005
+ trainerbattle 1, 350, 0, Text_18F352, Text_18F43F, EventScript_169F04
+ checkflag FLAG_0x298
+ goto_if 0, EventScript_169F2F
+ loadword 0, gUnknown_818F4A2
+ callstd 4
+ closemessage
+ fadescreen 1
+ removeobject 8
+ fadescreen 0
+ release
+ end
+
+EventScript_169F04:: @ 8169F04
+ setvar VAR_0x8004, 15
+ setvar VAR_0x8005, 3
+ special SetFlavorTextFlagFromSpecialVars
+ setflag FLAG_0x0AD
+ setflag FLAG_0x4B7
+ setflag 2087
+ setvar VAR_0x4054, 3
+ setvar VAR_0x8008, 8
+ call EventScript_1A6B18
+ goto EventScript_169F2F
+ end
+
+EventScript_169F2F:: @ 8169F2F
+ loadword 0, gUnknown_818F586
+ callstd 4
+ checkitemspace ITEM_TM26, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_169F70
+ additem ITEM_TM26, 1
+ loadword 0, gUnknown_818F675
+ setorcopyvar VAR_0x8000, 314
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 257
+ callstd 9
+ setflag FLAG_0x298
+ loadword 0, gUnknown_818F695
+ callstd 4
+ release
+ end
+
+EventScript_169F70:: @ 8169F70
+ loadword 0, gUnknown_818F71B
+ callstd 4
+ release
+ end
+
+ViridianCity_Gym_EventScript_169F7A:: @ 8169F7A
+ trainerbattle 0, 296, 0, Text_18F7F3, Text_18F824
+ loadword 0, gUnknown_818F840
+ callstd 6
+ end
+
+ViridianCity_Gym_EventScript_169F91:: @ 8169F91
+ trainerbattle 0, 297, 0, Text_18F98A, Text_18F9BB
+ loadword 0, gUnknown_818F9CC
+ callstd 6
+ end
+
+ViridianCity_Gym_EventScript_169FA8:: @ 8169FA8
+ trainerbattle 0, 322, 0, Text_18F7AD, Text_18F7D6
+ loadword 0, gUnknown_818F7DD
+ callstd 6
+ end
+
+ViridianCity_Gym_EventScript_169FBF:: @ 8169FBF
+ trainerbattle 0, 323, 0, Text_18F86C, Text_18F899
+ loadword 0, gUnknown_818F8A0
+ callstd 6
+ end
+
+ViridianCity_Gym_EventScript_169FD6:: @ 8169FD6
+ trainerbattle 0, 324, 0, Text_18F92C, Text_18F95A
+ loadword 0, gUnknown_818F960
+ callstd 6
+ end
+
+ViridianCity_Gym_EventScript_169FED:: @ 8169FED
+ trainerbattle 0, 392, 0, Text_18F9E7, Text_18FA2D
+ loadword 0, gUnknown_818FA3B
+ callstd 6
+ end
+
+ViridianCity_Gym_EventScript_16A004:: @ 816A004
+ trainerbattle 0, 400, 0, Text_18F73B, Text_18F769
+ loadword 0, gUnknown_818F77B
+ callstd 6
+ end
+
+ViridianCity_Gym_EventScript_16A01B:: @ 816A01B
+ trainerbattle 0, 401, 0, Text_18F8CB, Text_18F8EE
+ loadword 0, gUnknown_818F8FE
+ callstd 6
+ end
+
+ViridianCity_Gym_EventScript_16A032:: @ 816A032
+ lock
+ faceplayer
+ checkflag FLAG_0x4B7
+ goto_if 1, EventScript_16A047
+ loadword 0, gUnknown_818FA81
+ callstd 4
+ release
+ end
+
+EventScript_16A047:: @ 816A047
+ setvar VAR_0x8004, 15
+ setvar VAR_0x8005, 4
+ special SetFlavorTextFlagFromSpecialVars
+ loadword 0, gUnknown_818FB56
+ callstd 4
+ release
+ end
+
+ViridianCity_Gym_EventScript_16A05E:: @ 816A05E
+ lockall
+ checkflag 2087
+ goto_if 1, EventScript_16A072
+ loadword 0, gUnknown_818FB8D
+ callstd 4
+ releaseall
+ end
+
+EventScript_16A072:: @ 816A072
+ loadword 0, gUnknown_818FBC1
+ callstd 4
+ releaseall
+ end
diff --git a/data/maps/ViridianCity_House1/map.json b/data/maps/ViridianCity_House1/map.json
new file mode 100644
index 000000000..bbb006933
--- /dev/null
+++ b/data/maps/ViridianCity_House1/map.json
@@ -0,0 +1,89 @@
+{
+ "id": "MAP_VIRIDIAN_CITY_HOUSE1",
+ "name": "ViridianCity_House1",
+ "layout": "LAYOUT_VIRIDIAN_CITY_HOUSE1",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_VIRIDIAN_CITY",
+ "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": "30",
+ "x": 7,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_House1_EventScript_169E9B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 2,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_House1_EventScript_169EA4",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "110",
+ "x": 6,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 4,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_House1_EventScript_169EAD",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 7,
+ "y": 1,
+ "elevation": 0,
+ "script": "ViridianCity_House1_EventScript_169EC0"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/ViridianCity_House1/scripts.inc b/data/maps/ViridianCity_House1/scripts.inc
new file mode 100644
index 000000000..3ea1f8cd0
--- /dev/null
+++ b/data/maps/ViridianCity_House1/scripts.inc
@@ -0,0 +1,28 @@
+ViridianCity_House1_MapScripts:: @ 8169E9A
+ .byte 0
+
+ViridianCity_House1_EventScript_169E9B:: @ 8169E9B
+ loadword 0, gUnknown_818F292
+ callstd 2
+ end
+
+ViridianCity_House1_EventScript_169EA4:: @ 8169EA4
+ loadword 0, gUnknown_818F30F
+ callstd 2
+ end
+
+ViridianCity_House1_EventScript_169EAD:: @ 8169EAD
+ lock
+ faceplayer
+ waitse
+ playmoncry SPECIES_SPEAROW, 0
+ loadword 0, gUnknown_818F32C
+ callstd 4
+ waitmoncry
+ release
+ end
+
+ViridianCity_House1_EventScript_169EC0:: @ 8169EC0
+ loadword 0, gUnknown_818F33D
+ callstd 3
+ end
diff --git a/data/maps/ViridianCity_House2/map.json b/data/maps/ViridianCity_House2/map.json
new file mode 100644
index 000000000..021a26f6a
--- /dev/null
+++ b/data/maps/ViridianCity_House2/map.json
@@ -0,0 +1,104 @@
+{
+ "id": "MAP_VIRIDIAN_CITY_HOUSE2",
+ "name": "ViridianCity_House2",
+ "layout": "LAYOUT_VIRIDIAN_CITY_HOUSE2",
+ "music": "BGM_FRLG_VIRIDIAN_CITY",
+ "region_map_section": "MAPSEC_VIRIDIAN_CITY",
+ "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": "28",
+ "x": 6,
+ "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": "ViridianCity_House2_EventScript_16A094",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 4,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_House2_EventScript_16A07D",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 4,
+ "elevation": 0,
+ "script": "ViridianCity_House2_EventScript_16A0AB"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "script": "ViridianCity_House2_EventScript_16A11D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 4,
+ "y": 1,
+ "elevation": 0,
+ "script": "ViridianCity_House2_EventScript_16A11D"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 9,
+ "y": 2,
+ "elevation": 0,
+ "script": "ViridianCity_House2_EventScript_1ACD65"
+ },
+ {
+ "type": "bg_event_type_1",
+ "x": 8,
+ "y": 2,
+ "elevation": 0,
+ "script": "ViridianCity_House2_EventScript_1ACD65"
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/ViridianCity_House2/scripts.inc b/data/maps/ViridianCity_House2/scripts.inc
new file mode 100644
index 000000000..da2dec8d2
--- /dev/null
+++ b/data/maps/ViridianCity_House2/scripts.inc
@@ -0,0 +1,120 @@
+ViridianCity_House2_MapScripts:: @ 816A07C
+ .byte 0
+
+ViridianCity_House2_EventScript_16A07D:: @ 816A07D
+ lock
+ faceplayer
+ loadword 0, gUnknown_818FC00
+ callstd 4
+ closemessage
+ applymovement 2, Movement_1A75E9
+ waitmovement 0
+ release
+ end
+
+ViridianCity_House2_EventScript_16A094:: @ 816A094
+ lock
+ faceplayer
+ loadword 0, gUnknown_818FC2B
+ callstd 4
+ closemessage
+ applymovement 1, Movement_1A75E5
+ waitmovement 0
+ release
+ end
+
+ViridianCity_House2_EventScript_16A0AB:: @ 816A0AB
+ lockall
+ loadword 0, gUnknown_818FC65
+ callstd 4
+ loadword 0, gUnknown_818FF19
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16A11B
+ loadword 0, gUnknown_818FD23
+ callstd 4
+ loadword 0, gUnknown_818FF19
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16A11B
+ loadword 0, gUnknown_818FDA8
+ callstd 4
+ loadword 0, gUnknown_818FF19
+ callstd 5
+ compare_var_to_value VAR_RESULT, 0
+ goto_if 1, EventScript_16A11B
+ loadword 0, gUnknown_818FE5C
+ callstd 4
+ applymovement 2, Movement_1A75E9
+ waitmovement 0
+ textcolor 1
+ loadword 0, gUnknown_818FF28
+ callstd 4
+ releaseall
+ end
+
+EventScript_16A11B:: @ 816A11B
+ releaseall
+ end
+
+ViridianCity_House2_EventScript_16A11D:: @ 816A11D
+ lockall
+ loadword 0, gUnknown_818FF4B
+ callstd 4
+ goto EventScript_16A12C
+ end
+
+EventScript_16A12C:: @ 816A12C
+ message Text_18FF88
+ waitmessage
+ multichoicegrid 7, 1, 15, 3, 0
+ copyvar VAR_0x8000, VAR_RESULT
+ compare_var_to_value VAR_0x8000, 0
+ goto_if 1, EventScript_16A18B
+ compare_var_to_value VAR_0x8000, 1
+ goto_if 1, EventScript_16A1A7
+ compare_var_to_value VAR_0x8000, 2
+ goto_if 1, EventScript_16A1C3
+ compare_var_to_value VAR_0x8000, 3
+ goto_if 1, EventScript_16A199
+ compare_var_to_value VAR_0x8000, 4
+ goto_if 1, EventScript_16A1B5
+ compare_var_to_value VAR_0x8000, 5
+ goto_if 1, EventScript_16A1D1
+ compare_var_to_value VAR_0x8000, 127
+ goto_if 1, EventScript_16A1D1
+ end
+
+EventScript_16A18B:: @ 816A18B
+ loadword 0, gUnknown_818FFA9
+ callstd 4
+ goto EventScript_16A12C
+ end
+
+EventScript_16A199:: @ 816A199
+ loadword 0, gUnknown_8190025
+ callstd 4
+ goto EventScript_16A12C
+ end
+
+EventScript_16A1A7:: @ 816A1A7
+ loadword 0, gUnknown_819009F
+ callstd 4
+ goto EventScript_16A12C
+ end
+
+EventScript_16A1B5:: @ 816A1B5
+ loadword 0, gUnknown_819010F
+ callstd 4
+ goto EventScript_16A12C
+ end
+
+EventScript_16A1C3:: @ 816A1C3
+ loadword 0, gUnknown_8190199
+ callstd 4
+ goto EventScript_16A12C
+ end
+
+EventScript_16A1D1:: @ 816A1D1
+ releaseall
+ end
diff --git a/data/maps/ViridianCity_Mart/map.json b/data/maps/ViridianCity_Mart/map.json
new file mode 100644
index 000000000..3b0216fde
--- /dev/null
+++ b/data/maps/ViridianCity_Mart/map.json
@@ -0,0 +1,81 @@
+{
+ "id": "MAP_VIRIDIAN_CITY_MART",
+ "name": "ViridianCity_Mart",
+ "layout": "LAYOUT_MART",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_VIRIDIAN_CITY",
+ "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": "68",
+ "x": 2,
+ "y": 3,
+ "elevation": 0,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_Mart_EventScript_16A268",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_Mart_EventScript_16A2B7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "23",
+ "x": 9,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_Mart_EventScript_16A2AE",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 5,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/ViridianCity_Mart/scripts.inc b/data/maps/ViridianCity_Mart/scripts.inc
new file mode 100644
index 000000000..9d36cb183
--- /dev/null
+++ b/data/maps/ViridianCity_Mart/scripts.inc
@@ -0,0 +1,100 @@
+ViridianCity_Mart_MapScripts:: @ 816A1D3
+ map_script 1, ViridianCity_Mart_MapScript1_16A1DE
+ map_script 2, ViridianCity_Mart_MapScript2_16A1FB
+ .byte 0
+
+ViridianCity_Mart_MapScript1_16A1DE:: @ 816A1DE
+ checkflag 2089
+ goto_if 0, EventScript_16A1E8
+ end
+
+EventScript_16A1E8:: @ 816A1E8
+ setmetatile 1, 3, 703, 1
+ setmetatile 1, 4, 704, 1
+ end
+
+ViridianCity_Mart_MapScript2_16A1FB:: @ 816A1FB
+ map_script_2 VAR_0x4057, 0, EventScript_16A205
+ .2byte 0
+
+EventScript_16A205:: @ 816A205
+ lockall
+ textcolor 0
+ applymovement 1, Movement_1A75ED
+ waitmovement 0
+ loadword 0, gUnknown_819021A
+ callstd 4
+ closemessage
+ applymovement 1, Movement_16A262
+ applymovement 255, Movement_16A25C
+ waitmovement 0
+ loadword 0, gUnknown_819023A
+ callstd 4
+ setvar VAR_0x4057, 1
+ additem ITEM_OAKS_PARCEL, 1
+ loadword 0, gUnknown_8190289
+ setorcopyvar VAR_0x8000, 349
+ setorcopyvar VAR_0x8001, 1
+ setorcopyvar VAR_0x8002, 318
+ callstd 9
+ setvar VAR_0x4055, 5
+ releaseall
+ end
+
+Movement_16A25C:: @ 816A25C
+ step_11
+ step_11
+ step_11
+ step_11
+ step_2f
+ step_end
+
+Movement_16A262:: @ 816A262
+ step_1c
+ step_1c
+ step_1c
+ step_1c
+ step_30
+ step_end
+
+ViridianCity_Mart_EventScript_16A268:: @ 816A268
+ lock
+ faceplayer
+ compare_var_to_value VAR_0x4057, 1
+ goto_if 1, EventScript_16A2A4
+ special sub_8110AB4
+ compare_var_to_value VAR_RESULT, 2
+ goto_if 1, EventScript_1A7AE0
+ message Text_1A6211
+ waitmessage
+ pokemart Items_16A298
+ loadword 0, gUnknown_81A5190
+ callstd 4
+ release
+ end
+
+ .align 2
+Items_16A298:: @ 816A298
+ .2byte ITEM_POKE_BALL
+ .2byte ITEM_POTION
+ .2byte ITEM_ANTIDOTE
+ .2byte ITEM_PARALYZE_HEAL
+ .2byte ITEM_NONE
+ release
+ end
+
+EventScript_16A2A4:: @ 816A2A4
+ loadword 0, Text_1902BF
+ callstd 4
+ release
+ end
+
+ViridianCity_Mart_EventScript_16A2AE:: @ 816A2AE
+ loadword 0, gUnknown_81902F5
+ callstd 2
+ end
+
+ViridianCity_Mart_EventScript_16A2B7:: @ 816A2B7
+ loadword 0, gUnknown_819032C
+ callstd 2
+ end
diff --git a/data/maps/ViridianCity_PokemonCenter_1F/map.json b/data/maps/ViridianCity_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..bed78482f
--- /dev/null
+++ b/data/maps/ViridianCity_PokemonCenter_1F/map.json
@@ -0,0 +1,101 @@
+{
+ "id": "MAP_VIRIDIAN_CITY_POKEMON_CENTER_1F",
+ "name": "ViridianCity_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_VIRIDIAN_CITY",
+ "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": "ViridianCity_PokemonCenter_1F_EventScript_16A2CF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "61",
+ "x": 12,
+ "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": "ViridianCity_PokemonCenter_1F_EventScript_16A2E1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "19",
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_PokemonCenter_1F_EventScript_16A2D8",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 2,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_PokemonCenter_1F_EventScript_16A2EA",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 8,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_VIRIDIAN_CITY",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_VIRIDIAN_CITY_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/ViridianCity_PokemonCenter_1F/scripts.inc b/data/maps/ViridianCity_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..da39670a3
--- /dev/null
+++ b/data/maps/ViridianCity_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,30 @@
+ViridianCity_PokemonCenter_1F_MapScripts:: @ 816A2C0
+ map_script 3, ViridianCity_PokemonCenter_1F_MapScript1_16A2CB
+ map_script 5, ViridianCity_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+ViridianCity_PokemonCenter_1F_MapScript1_16A2CB:: @ 816A2CB
+ setrespawn 2
+ end
+
+ViridianCity_PokemonCenter_1F_EventScript_16A2CF:: @ 816A2CF
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+ViridianCity_PokemonCenter_1F_EventScript_16A2D8:: @ 816A2D8
+ loadword 0, gUnknown_81903E5
+ callstd 2
+ end
+
+ViridianCity_PokemonCenter_1F_EventScript_16A2E1:: @ 816A2E1
+ loadword 0, gUnknown_8190384
+ callstd 2
+ end
+
+ViridianCity_PokemonCenter_1F_EventScript_16A2EA:: @ 816A2EA
+ loadword 0, gUnknown_8190450
+ callstd 2
+ end
diff --git a/data/maps/ViridianCity_PokemonCenter_2F/map.json b/data/maps/ViridianCity_PokemonCenter_2F/map.json
new file mode 100644
index 000000000..20f2abea7
--- /dev/null
+++ b/data/maps/ViridianCity_PokemonCenter_2F/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_VIRIDIAN_CITY_POKEMON_CENTER_2F",
+ "name": "ViridianCity_PokemonCenter_2F",
+ "layout": "LAYOUT_POKEMON_CENTER_2F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_VIRIDIAN_CITY",
+ "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": "65",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_PokemonCenter_2F_EventScript_1A8CF6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 2,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_PokemonCenter_2F_EventScript_1A8CFC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "65",
+ "x": 10,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianCity_PokemonCenter_2F_EventScript_1A8D02",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "69",
+ "x": 1,
+ "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": "ViridianCity_PokemonCenter_2F_EventScript_1BB1D2",
+ "flag": "112"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_VIRIDIAN_CITY_POKEMON_CENTER_1F",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_04",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 9,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_UNKNOWN_MAP_00_01",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file
diff --git a/data/maps/ViridianCity_PokemonCenter_2F/scripts.inc b/data/maps/ViridianCity_PokemonCenter_2F/scripts.inc
new file mode 100644
index 000000000..79df14869
--- /dev/null
+++ b/data/maps/ViridianCity_PokemonCenter_2F/scripts.inc
@@ -0,0 +1,18 @@
+ViridianCity_PokemonCenter_2F_MapScripts:: @ 816A2F3
+ map_script 2, ViridianCity_PokemonCenter_2F_MapScript1_1BB2A3
+ map_script 4, ViridianCity_PokemonCenter_2F_MapScript2_1BB1ED
+ map_script 1, ViridianCity_PokemonCenter_2F_MapScript3_1BB237
+ map_script 3, ViridianCity_PokemonCenter_2F_MapScript4_1BB1B4
+ .byte 0
+
+ViridianCity_PokemonCenter_2F_EventScript_16A308:: @ 816A308
+ call EventScript_1BB4A3
+ end
+
+EventScript_16A30E:: @ 816A30E
+ call EventScript_1BB6AB
+ end
+
+EventScript_16A314:: @ 816A314
+ call EventScript_1BB7DE
+ end
diff --git a/data/maps/ViridianForest/map.json b/data/maps/ViridianForest/map.json
new file mode 100644
index 000000000..5034e3afa
--- /dev/null
+++ b/data/maps/ViridianForest/map.json
@@ -0,0 +1,267 @@
+{
+ "id": "MAP_VIRIDIAN_FOREST",
+ "name": "ViridianForest",
+ "layout": "LAYOUT_VIRIDIAN_FOREST",
+ "music": "BGM_FRLG_VIRIDIAN_FOREST",
+ "region_map_section": "MAPSEC_VIRIDIAN_FOREST",
+ "requires_flash": false,
+ "weather": "WEATHER_11",
+ "map_type": "MAP_TYPE_3",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "18",
+ "x": 29,
+ "y": 58,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianForest_EventScript_160529",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "19",
+ "x": 45,
+ "y": 58,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianForest_EventScript_160532",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 47,
+ "y": 45,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "ViridianForest_EventScript_160571",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 47,
+ "y": 29,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "ViridianForest_EventScript_160588",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 7,
+ "y": 22,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "ViridianForest_EventScript_16059F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 5,
+ "y": 41,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianForest_EventScript_1BE5A8",
+ "flag": "342"
+ },
+ {
+ "graphics_id": "92",
+ "x": 40,
+ "y": 21,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianForest_EventScript_1BE5B5",
+ "flag": "343"
+ },
+ {
+ "graphics_id": "92",
+ "x": 21,
+ "y": 34,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianForest_EventScript_1BE5C2",
+ "flag": "344"
+ },
+ {
+ "graphics_id": "20",
+ "x": 43,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "13",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "ViridianForest_EventScript_1605B6",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 16,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "ViridianForest_EventScript_1605CD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 49,
+ "y": 60,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "ViridianForest_EventScript_1BEAC9",
+ "flag": "446"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 29,
+ "y": 62,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_SOUTH_ENTRANCE",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 28,
+ "y": 62,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_SOUTH_ENTRANCE",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_NORTH_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 6,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_NORTH_ENTRANCE",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 30,
+ "y": 62,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_SOUTH_ENTRANCE",
+ "dest_warp_id": 3
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_NORTH_ENTRANCE",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 39,
+ "y": 59,
+ "elevation": 3,
+ "script": "ViridianForest_EventScript_16053B"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 43,
+ "y": 26,
+ "elevation": 0,
+ "script": "ViridianForest_EventScript_16054D"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 29,
+ "elevation": 0,
+ "script": "ViridianForest_EventScript_160556"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 6,
+ "y": 12,
+ "elevation": 0,
+ "script": "ViridianForest_EventScript_160568"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 28,
+ "y": 44,
+ "elevation": 0,
+ "script": "ViridianForest_EventScript_160544"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 31,
+ "y": 60,
+ "elevation": 0,
+ "script": "ViridianForest_EventScript_16055F"
+ },
+ {
+ "type": "hidden_item",
+ "x": 3,
+ "y": 22,
+ "elevation": 3,
+ "item": "ITEM_POTION",
+ "flag": "0",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 28,
+ "y": 57,
+ "elevation": 0,
+ "item": "ITEM_ANTIDOTE",
+ "flag": "1",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/ViridianForest/scripts.inc b/data/maps/ViridianForest/scripts.inc
new file mode 100644
index 000000000..f5d7b956f
--- /dev/null
+++ b/data/maps/ViridianForest/scripts.inc
@@ -0,0 +1,77 @@
+ViridianForest_MapScripts:: @ 816051F
+ map_script 3, ViridianForest_MapScript1_160525
+ .byte 0
+
+ViridianForest_MapScript1_160525:: @ 8160525
+ setworldmapflag 2212
+ end
+
+ViridianForest_EventScript_160529:: @ 8160529
+ loadword 0, gUnknown_8172255
+ callstd 2
+ end
+
+ViridianForest_EventScript_160532:: @ 8160532
+ loadword 0, gUnknown_8172559
+ callstd 2
+ end
+
+ViridianForest_EventScript_16053B:: @ 816053B
+ loadword 0, gUnknown_81725C7
+ callstd 3
+ end
+
+ViridianForest_EventScript_160544:: @ 8160544
+ loadword 0, gUnknown_8172629
+ callstd 3
+ end
+
+ViridianForest_EventScript_16054D:: @ 816054D
+ loadword 0, gUnknown_817265C
+ callstd 3
+ end
+
+ViridianForest_EventScript_160556:: @ 8160556
+ loadword 0, gUnknown_81726A3
+ callstd 3
+ end
+
+ViridianForest_EventScript_16055F:: @ 816055F
+ loadword 0, gUnknown_817271D
+ callstd 3
+ end
+
+ViridianForest_EventScript_160568:: @ 8160568
+ loadword 0, gUnknown_8172773
+ callstd 3
+ end
+
+ViridianForest_EventScript_160571:: @ 8160571
+ trainerbattle 0, 102, 0, Text_1722C7, Text_1722F9
+ loadword 0, gUnknown_8172315
+ callstd 6
+ end
+
+ViridianForest_EventScript_160588:: @ 8160588
+ trainerbattle 0, 103, 0, Text_17234A, Text_17237D
+ loadword 0, gUnknown_8172398
+ callstd 6
+ end
+
+ViridianForest_EventScript_16059F:: @ 816059F
+ trainerbattle 0, 104, 0, Text_1723D4, Text_172402
+ loadword 0, gUnknown_817241F
+ callstd 6
+ end
+
+ViridianForest_EventScript_1605B6:: @ 81605B6
+ trainerbattle 0, 531, 0, Text_172482, Text_1724BF
+ loadword 0, gUnknown_81724DC
+ callstd 6
+ end
+
+ViridianForest_EventScript_1605CD:: @ 81605CD
+ trainerbattle 0, 532, 0, Text_1724F9, Text_17251B
+ loadword 0, gUnknown_8172527
+ callstd 6
+ end
diff --git a/data/maps/groups.inc b/data/maps/groups.inc
deleted file mode 100644
index d96d28329..000000000
--- a/data/maps/groups.inc
+++ /dev/null
@@ -1,4380 +0,0 @@
-UnknownMap_00_00:: @ 834F188
- .4byte gMapData_UnknownMap_00_00 @ 0x82D89E8
- .4byte gMapEvents_UnknownMap_00_00 @ 0x83AE0DC
- .4byte gMapScripts_UnknownMap_00_00 @ 0x8160478
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 47
- .byte 0xc4, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x08
-
-UnknownMap_00_01:: @ 834F1A4
- .4byte gMapData_UnknownMap_00_01 @ 0x82D8AE4
- .4byte gMapEvents_UnknownMap_00_01 @ 0x83AE138
- .4byte gMapScripts_UnknownMap_00_01 @ 0x8160479
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 48
- .byte 0xc4, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-UnknownMap_00_02:: @ 834F1C0
- .4byte gMapData_UnknownMap_00_02 @ 0x82D8C98
- .4byte gMapEvents_UnknownMap_00_02 @ 0x83AE1C4
- .4byte gMapScripts_UnknownMap_00_02 @ 0x816047A
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 49
- .byte 0xc4, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-UnknownMap_00_03:: @ 834F1DC
- .4byte gMapData_UnknownMap_00_03 @ 0x82D8DB8
- .4byte gMapEvents_UnknownMap_00_03 @ 0x83AE238
- .4byte gMapScripts_UnknownMap_00_03 @ 0x816047B
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 50
- .byte 0xc4, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x08
-
-UnknownMap_00_04:: @ 834F1F8
- .4byte gMapData_UnknownMap_00_04 @ 0x83388C4
- .4byte gMapEvents_UnknownMap_00_04 @ 0x83AE32C
- .4byte gMapScripts_UnknownMap_00_04 @ 0x816047C
- .4byte NULL
- .2byte BGM_FRLG_UNION_ROOM
- .2byte 262
- .byte 0xc4, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x08
-
-ViridianForest:: @ 834F214
- .4byte gMapData_ViridianForest @ 0x82FE46C
- .4byte gMapEvents_ViridianForest @ 0x83AE4D8
- .4byte gMapScripts_ViridianForest @ 0x816051F
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 117
- .byte 0x7e, 0x00, 0x0b, 0x03, 0x01, 0x07, 0x00, 0x00
-
-MtMoon_1F:: @ 834F230
- .4byte gMapData_MtMoon_1F @ 0x82FA890
- .4byte gMapEvents_MtMoon_1F @ 0x83AE668
- .4byte gMapScripts_MtMoon_1F @ 0x81605E4
- .4byte NULL
- .2byte BGM_FRLG_MT_MOON
- .2byte 114
- .byte 0x7f, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-MtMoon_B1F:: @ 834F24C
- .4byte gMapData_MtMoon_B1F @ 0x82FB804
- .4byte gMapEvents_MtMoon_B1F @ 0x83AE704
- .4byte gMapScripts_MtMoon_B1F @ 0x8160698
- .4byte NULL
- .2byte BGM_FRLG_MT_MOON
- .2byte 115
- .byte 0x7f, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-MtMoon_B2F:: @ 834F268
- .4byte gMapData_MtMoon_B2F @ 0x82FC728
- .4byte gMapEvents_MtMoon_B2F @ 0x83AE868
- .4byte gMapScripts_MtMoon_B2F @ 0x8160699
- .4byte NULL
- .2byte BGM_FRLG_MT_MOON
- .2byte 116
- .byte 0x7f, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SSAnne_Exterior:: @ 834F284
- .4byte gMapData_SSAnne_Exterior @ 0x82FF610
- .4byte gMapEvents_SSAnne_Exterior @ 0x83AE8C8
- .4byte gMapScripts_SSAnne_Exterior @ 0x8160840
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 118
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_1F_Corridor:: @ 834F2A0
- .4byte gMapData_SSAnne_1F_Corridor @ 0x82FFB4C
- .4byte gMapEvents_SSAnne_1F_Corridor @ 0x83AE974
- .4byte gMapScripts_SSAnne_1F_Corridor @ 0x81608CB
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 119
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_2F_Corridor:: @ 834F2BC
- .4byte gMapData_SSAnne_2F_Corridor @ 0x82FFFB0
- .4byte gMapEvents_SSAnne_2F_Corridor @ 0x83AEA30
- .4byte gMapScripts_SSAnne_2F_Corridor @ 0x81608DE
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 120
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_3F_Corridor:: @ 834F2D8
- .4byte gMapData_SSAnne_3F_Corridor @ 0x8300108
- .4byte gMapEvents_SSAnne_3F_Corridor @ 0x83AEA74
- .4byte gMapScripts_SSAnne_3F_Corridor @ 0x8160A5D
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 121
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_B1F_Corridor:: @ 834F2F4
- .4byte gMapData_SSAnne_B1F_Corridor @ 0x8300270
- .4byte gMapEvents_SSAnne_B1F_Corridor @ 0x83AEAC4
- .4byte gMapScripts_SSAnne_B1F_Corridor @ 0x8160A67
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 122
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_Deck:: @ 834F310
- .4byte gMapData_SSAnne_Deck @ 0x8300624
- .4byte gMapEvents_SSAnne_Deck @ 0x83AEB60
- .4byte gMapScripts_SSAnne_Deck @ 0x8160A68
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 123
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_Kitchen:: @ 834F32C
- .4byte gMapData_SSAnne_Kitchen @ 0x8319214
- .4byte gMapEvents_SSAnne_Kitchen @ 0x83AEC60
- .4byte gMapScripts_SSAnne_Kitchen @ 0x8160AB2
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 170
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_CaptainsOffice:: @ 834F348
- .4byte gMapData_SSAnne_CaptainsOffice @ 0x83192EC
- .4byte gMapEvents_SSAnne_CaptainsOffice @ 0x83AECB8
- .4byte gMapScripts_SSAnne_CaptainsOffice @ 0x8160B39
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 171
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_1F_Room1:: @ 834F364
- .4byte gMapData_SSAnne_1F_Room1 @ 0x8319E74
- .4byte gMapEvents_SSAnne_1F_Room1 @ 0x83AECEC
- .4byte gMapScripts_SSAnne_1F_Room1 @ 0x8160BDB
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 177
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_1F_Room2:: @ 834F380
- .4byte gMapData_SSAnne_1F_Room2 @ 0x8319E74
- .4byte gMapEvents_SSAnne_1F_Room2 @ 0x83AED68
- .4byte gMapScripts_SSAnne_1F_Room2 @ 0x8160BE5
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 177
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_1F_Room3:: @ 834F39C
- .4byte gMapData_SSAnne_1F_Room3 @ 0x8319E74
- .4byte gMapEvents_SSAnne_1F_Room3 @ 0x83AEDCC
- .4byte gMapScripts_SSAnne_1F_Room3 @ 0x8160C1D
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 177
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_1F_Room4:: @ 834F3B8
- .4byte gMapData_SSAnne_1F_Room4 @ 0x8319E74
- .4byte gMapEvents_SSAnne_1F_Room4 @ 0x83AEE00
- .4byte gMapScripts_SSAnne_1F_Room4 @ 0x8160C43
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 177
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_1F_Room5:: @ 834F3D4
- .4byte gMapData_SSAnne_1F_Room5 @ 0x8319E74
- .4byte gMapEvents_SSAnne_1F_Room5 @ 0x83AEE34
- .4byte gMapScripts_SSAnne_1F_Room5 @ 0x8160C66
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 177
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_1F_Room7:: @ 834F3F0
- .4byte gMapData_SSAnne_1F_Room7 @ 0x8319E74
- .4byte gMapEvents_SSAnne_1F_Room7 @ 0x83AEE68
- .4byte gMapScripts_SSAnne_1F_Room7 @ 0x8160C7E
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 177
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_2F_Room1:: @ 834F40C
- .4byte gMapData_SSAnne_2F_Room1 @ 0x8319F04
- .4byte gMapEvents_SSAnne_2F_Room1 @ 0x83AEE9C
- .4byte gMapScripts_SSAnne_2F_Room1 @ 0x8160C96
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 178
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_2F_Room2:: @ 834F428
- .4byte gMapData_SSAnne_2F_Room2 @ 0x8319F04
- .4byte gMapEvents_SSAnne_2F_Room2 @ 0x83AEF00
- .4byte gMapScripts_SSAnne_2F_Room2 @ 0x8160CB0
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 178
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_2F_Room3:: @ 834F444
- .4byte gMapData_SSAnne_2F_Room3 @ 0x8319F04
- .4byte gMapEvents_SSAnne_2F_Room3 @ 0x83AEF4C
- .4byte gMapScripts_SSAnne_2F_Room3 @ 0x8160CDF
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 178
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_2F_Room4:: @ 834F460
- .4byte gMapData_SSAnne_2F_Room4 @ 0x8319F04
- .4byte gMapEvents_SSAnne_2F_Room4 @ 0x83AEFB0
- .4byte gMapScripts_SSAnne_2F_Room4 @ 0x8160CF2
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 178
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_2F_Room5:: @ 834F47C
- .4byte gMapData_SSAnne_2F_Room5 @ 0x8319F04
- .4byte gMapEvents_SSAnne_2F_Room5 @ 0x83AEFFC
- .4byte gMapScripts_SSAnne_2F_Room5 @ 0x8160D21
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 178
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_2F_Room6:: @ 834F498
- .4byte gMapData_SSAnne_2F_Room6 @ 0x8319F04
- .4byte gMapEvents_SSAnne_2F_Room6 @ 0x83AF048
- .4byte gMapScripts_SSAnne_2F_Room6 @ 0x8160D34
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 178
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_B1F_Room1:: @ 834F4B4
- .4byte gMapData_SSAnne_B1F_Room1 @ 0x8319F04
- .4byte gMapEvents_SSAnne_B1F_Room1 @ 0x83AF094
- .4byte gMapScripts_SSAnne_B1F_Room1 @ 0x8160D47
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 178
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_B1F_Room2:: @ 834F4D0
- .4byte gMapData_SSAnne_B1F_Room2 @ 0x8319F04
- .4byte gMapEvents_SSAnne_B1F_Room2 @ 0x83AF0E0
- .4byte gMapScripts_SSAnne_B1F_Room2 @ 0x8160D76
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 178
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_B1F_Room3:: @ 834F4EC
- .4byte gMapData_SSAnne_B1F_Room3 @ 0x8319F04
- .4byte gMapEvents_SSAnne_B1F_Room3 @ 0x83AF12C
- .4byte gMapScripts_SSAnne_B1F_Room3 @ 0x8160D8E
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 178
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_B1F_Room4:: @ 834F508
- .4byte gMapData_SSAnne_B1F_Room4 @ 0x8319F04
- .4byte gMapEvents_SSAnne_B1F_Room4 @ 0x83AF178
- .4byte gMapScripts_SSAnne_B1F_Room4 @ 0x8160DA6
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 178
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_B1F_Room5:: @ 834F524
- .4byte gMapData_SSAnne_B1F_Room5 @ 0x8319F04
- .4byte gMapEvents_SSAnne_B1F_Room5 @ 0x83AF1DC
- .4byte gMapScripts_SSAnne_B1F_Room5 @ 0x8160DD5
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 178
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-SSAnne_1F_Room6:: @ 834F540
- .4byte gMapData_SSAnne_1F_Room6 @ 0x8319E74
- .4byte gMapEvents_SSAnne_1F_Room6 @ 0x83AF210
- .4byte gMapScripts_SSAnne_1F_Room6 @ 0x8160DF2
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 177
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-UndergroundPath_NorthEntrance:: @ 834F55C
- .4byte gMapData_UndergroundPath_NorthEntrance @ 0x8319414
- .4byte gMapEvents_UndergroundPath_NorthEntrance @ 0x83AF25C
- .4byte gMapScripts_UndergroundPath_NorthEntrance @ 0x8160E38
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 172
- .byte 0x81, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-UndergroundPath_NorthSouthTunnel:: @ 834F578
- .4byte gMapData_UndergroundPath_NorthSouthTunnel @ 0x8319CAC
- .4byte gMapEvents_UndergroundPath_NorthSouthTunnel @ 0x83AF2D4
- .4byte gMapScripts_UndergroundPath_NorthSouthTunnel @ 0x8160EB5
- .4byte NULL
- .2byte BGM_FRLG_ROUTE_1
- .2byte 174
- .byte 0x81, 0x00, 0x00, 0x08, 0x01, 0x06, 0x00, 0x00
-
-UndergroundPath_SouthEntrance:: @ 834F594
- .4byte gMapData_UndergroundPath_SouthEntrance @ 0x8319414
- .4byte gMapEvents_UndergroundPath_SouthEntrance @ 0x83AF320
- .4byte gMapScripts_UndergroundPath_SouthEntrance @ 0x8160EBF
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 172
- .byte 0x81, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-UndergroundPath_WestEntrance:: @ 834F5B0
- .4byte gMapData_UndergroundPath_WestEntrance @ 0x8319414
- .4byte gMapEvents_UndergroundPath_WestEntrance @ 0x83AF36C
- .4byte gMapScripts_UndergroundPath_WestEntrance @ 0x8160EC9
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 172
- .byte 0x82, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-UndergroundPath_EastWestTunnel:: @ 834F5CC
- .4byte gMapData_UndergroundPath_EastWestTunnel @ 0x8319898
- .4byte gMapEvents_UndergroundPath_EastWestTunnel @ 0x83AF3E4
- .4byte gMapScripts_UndergroundPath_EastWestTunnel @ 0x8160ED3
- .4byte NULL
- .2byte BGM_FRLG_ROUTE_1
- .2byte 173
- .byte 0x82, 0x00, 0x00, 0x08, 0x01, 0x06, 0x00, 0x00
-
-UndergroundPath_EastEntrance:: @ 834F5E8
- .4byte gMapData_UndergroundPath_EastEntrance @ 0x8319414
- .4byte gMapEvents_UndergroundPath_EastEntrance @ 0x83AF430
- .4byte gMapScripts_UndergroundPath_EastEntrance @ 0x8160EDD
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 172
- .byte 0x82, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-DiglettsCave_NorthEntrance:: @ 834F604
- .4byte gMapData_DiglettsCave_NorthEntrance @ 0x831EB94
- .4byte gMapEvents_DiglettsCave_NorthEntrance @ 0x83AF46C
- .4byte gMapScripts_DiglettsCave_NorthEntrance @ 0x8160EE7
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 210
- .byte 0x83, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-DiglettsCave_B1F:: @ 834F620
- .4byte gMapData_DiglettsCave_B1F @ 0x8303B68
- .4byte gMapEvents_DiglettsCave_B1F @ 0x83AF490
- .4byte gMapScripts_DiglettsCave_B1F @ 0x8160EF1
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 124
- .byte 0x83, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-DiglettsCave_SouthEntrance:: @ 834F63C
- .4byte gMapData_DiglettsCave_SouthEntrance @ 0x831EC58
- .4byte gMapEvents_DiglettsCave_SouthEntrance @ 0x83AF4CC
- .4byte gMapScripts_DiglettsCave_SouthEntrance @ 0x8160EFB
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 211
- .byte 0x83, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-VictoryRoad_1F:: @ 834F658
- .4byte gMapData_VictoryRoad_1F @ 0x83043CC
- .4byte gMapEvents_VictoryRoad_1F @ 0x83AF5C0
- .4byte gMapScripts_VictoryRoad_1F @ 0x8160F05
- .4byte NULL
- .2byte BGM_FRLG_MT_MOON
- .2byte 125
- .byte 0x84, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-VictoryRoad_2F:: @ 834F674
- .4byte gMapData_VictoryRoad_2F @ 0x8304CB4
- .4byte gMapEvents_VictoryRoad_2F @ 0x83AF774
- .4byte gMapScripts_VictoryRoad_2F @ 0x8160F92
- .4byte NULL
- .2byte BGM_FRLG_MT_MOON
- .2byte 126
- .byte 0x84, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-VictoryRoad_3F:: @ 834F690
- .4byte gMapData_VictoryRoad_3F @ 0x8305494
- .4byte gMapEvents_VictoryRoad_3F @ 0x83AF8E0
- .4byte gMapScripts_VictoryRoad_3F @ 0x81610AA
- .4byte NULL
- .2byte BGM_FRLG_MT_MOON
- .2byte 127
- .byte 0x84, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-RocketHideout_B1F:: @ 834F6AC
- .4byte gMapData_RocketHideout_B1F @ 0x8305C28
- .4byte gMapEvents_RocketHideout_B1F @ 0x83AF9D8
- .4byte gMapScripts_RocketHideout_B1F @ 0x8161195
- .4byte NULL
- .2byte BGM_FRLG_ROCKET_HIDEOUT
- .2byte 128
- .byte 0x85, 0x00, 0x00, 0x08, 0x00, 0x07, 0xff, 0x03
-
-RocketHideout_B2F:: @ 834F6C8
- .4byte gMapData_RocketHideout_B2F @ 0x83061CC
- .4byte gMapEvents_RocketHideout_B2F @ 0x83AFA8C
- .4byte gMapScripts_RocketHideout_B2F @ 0x81612A1
- .4byte NULL
- .2byte BGM_FRLG_ROCKET_HIDEOUT
- .2byte 129
- .byte 0x85, 0x00, 0x00, 0x08, 0x00, 0x07, 0xfe, 0x03
-
-RocketHideout_B3F:: @ 834F6E4
- .4byte gMapData_RocketHideout_B3F @ 0x8306694
- .4byte gMapEvents_RocketHideout_B3F @ 0x83AFB34
- .4byte gMapScripts_RocketHideout_B3F @ 0x81612B9
- .4byte NULL
- .2byte BGM_FRLG_ROCKET_HIDEOUT
- .2byte 130
- .byte 0x85, 0x00, 0x00, 0x08, 0x00, 0x07, 0xfd, 0x03
-
-RocketHideout_B4F:: @ 834F700
- .4byte gMapData_RocketHideout_B4F @ 0x8306B98
- .4byte gMapEvents_RocketHideout_B4F @ 0x83AFC50
- .4byte gMapScripts_RocketHideout_B4F @ 0x81612E8
- .4byte NULL
- .2byte BGM_FRLG_ROCKET_HIDEOUT
- .2byte 131
- .byte 0x85, 0x00, 0x00, 0x08, 0x00, 0x07, 0xfc, 0x03
-
-RocketHideout_Elevator:: @ 834F71C
- .4byte gMapData_RocketHideout_Elevator @ 0x8320EDC
- .4byte gMapEvents_RocketHideout_Elevator @ 0x83AFC80
- .4byte gMapScripts_RocketHideout_Elevator @ 0x81614D8
- .4byte NULL
- .2byte BGM_FRLG_ROCKET_HIDEOUT
- .2byte 225
- .byte 0x85, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x03
-
-SilphCo_1F:: @ 834F738
- .4byte gMapData_SilphCo_1F @ 0x83071EC
- .4byte gMapEvents_SilphCo_1F @ 0x83AFCE0
- .4byte gMapScripts_SilphCo_1F @ 0x8161625
- .4byte NULL
- .2byte BGM_FRLG_SILPH
- .2byte 132
- .byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x01, 0x00
-
-SilphCo_2F:: @ 834F754
- .4byte gMapData_SilphCo_2F @ 0x8307840
- .4byte gMapEvents_SilphCo_2F @ 0x83AFE1C
- .4byte gMapScripts_SilphCo_2F @ 0x8161641
- .4byte NULL
- .2byte BGM_FRLG_SILPH
- .2byte 133
- .byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x02, 0x00
-
-SilphCo_3F:: @ 834F770
- .4byte gMapData_SilphCo_3F @ 0x8307E94
- .4byte gMapEvents_SilphCo_3F @ 0x83AFF58
- .4byte gMapScripts_SilphCo_3F @ 0x81616C5
- .4byte NULL
- .2byte BGM_FRLG_SILPH
- .2byte 134
- .byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x03, 0x00
-
-SilphCo_4F:: @ 834F78C
- .4byte gMapData_SilphCo_4F @ 0x83084E8
- .4byte gMapEvents_SilphCo_4F @ 0x83B00DC
- .4byte gMapScripts_SilphCo_4F @ 0x8161736
- .4byte NULL
- .2byte BGM_FRLG_SILPH
- .2byte 135
- .byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x04, 0x00
-
-SilphCo_5F:: @ 834F7A8
- .4byte gMapData_SilphCo_5F @ 0x8308B3C
- .4byte gMapEvents_SilphCo_5F @ 0x83B02D8
- .4byte gMapScripts_SilphCo_5F @ 0x81617BE
- .4byte NULL
- .2byte BGM_FRLG_SILPH
- .2byte 136
- .byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x05, 0x00
-
-SilphCo_6F:: @ 834F7C4
- .4byte gMapData_SilphCo_6F @ 0x8308FFC
- .4byte gMapEvents_SilphCo_6F @ 0x83B044C
- .4byte gMapScripts_SilphCo_6F @ 0x8161881
- .4byte NULL
- .2byte BGM_FRLG_SILPH
- .2byte 137
- .byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x06, 0x00
-
-SilphCo_7F:: @ 834F7E0
- .4byte gMapData_SilphCo_7F @ 0x83094BC
- .4byte gMapEvents_SilphCo_7F @ 0x83B0660
- .4byte gMapScripts_SilphCo_7F @ 0x8161984
- .4byte NULL
- .2byte BGM_FRLG_SILPH
- .2byte 138
- .byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x07, 0x00
-
-SilphCo_8F:: @ 834F7FC
- .4byte gMapData_SilphCo_8F @ 0x830997C
- .4byte gMapEvents_SilphCo_8F @ 0x83B0784
- .4byte gMapScripts_SilphCo_8F @ 0x8161C5F
- .4byte NULL
- .2byte BGM_FRLG_SILPH
- .2byte 139
- .byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x08, 0x00
-
-SilphCo_9F:: @ 834F818
- .4byte gMapData_SilphCo_9F @ 0x8309E3C
- .4byte gMapEvents_SilphCo_9F @ 0x83B0904
- .4byte gMapScripts_SilphCo_9F @ 0x8161CDE
- .4byte NULL
- .2byte BGM_FRLG_SILPH
- .2byte 140
- .byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x09, 0x00
-
-SilphCo_10F:: @ 834F834
- .4byte gMapData_SilphCo_10F @ 0x830A0E8
- .4byte gMapEvents_SilphCo_10F @ 0x83B0A20
- .4byte gMapScripts_SilphCo_10F @ 0x8161D86
- .4byte NULL
- .2byte BGM_FRLG_SILPH
- .2byte 141
- .byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x0a, 0x00
-
-SilphCo_11F:: @ 834F850
- .4byte gMapData_SilphCo_11F @ 0x830A3B4
- .4byte gMapEvents_SilphCo_11F @ 0x83B0B44
- .4byte gMapScripts_SilphCo_11F @ 0x8161DEE
- .4byte NULL
- .2byte BGM_FRLG_SILPH
- .2byte 142
- .byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x0b, 0x00
-
-SilphCo_Elevator:: @ 834F86C
- .4byte gMapData_SilphCo_Elevator @ 0x8321330
- .4byte gMapEvents_SilphCo_Elevator @ 0x83B0B6C
- .4byte gMapScripts_SilphCo_Elevator @ 0x8161F6E
- .4byte NULL
- .2byte BGM_FRLG_SILPH
- .2byte 229
- .byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
-
-PokemonMansion_1F:: @ 834F888
- .4byte gMapData_PokemonMansion_1F @ 0x830AE3C
- .4byte gMapEvents_PokemonMansion_1F @ 0x83B0C60
- .4byte gMapScripts_PokemonMansion_1F @ 0x81621F9
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_MANSION
- .2byte 143
- .byte 0x87, 0x00, 0x0b, 0x08, 0x00, 0x07, 0x00, 0x03
-
-PokemonMansion_2F:: @ 834F8A4
- .4byte gMapData_PokemonMansion_2F @ 0x830B9A8
- .4byte gMapEvents_PokemonMansion_2F @ 0x83B0D20
- .4byte gMapScripts_PokemonMansion_2F @ 0x8162254
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_MANSION
- .2byte 144
- .byte 0x87, 0x00, 0x0b, 0x08, 0x00, 0x07, 0x00, 0x03
-
-PokemonMansion_3F:: @ 834F8C0
- .4byte gMapData_PokemonMansion_3F @ 0x830C430
- .4byte gMapEvents_PokemonMansion_3F @ 0x83B0DF8
- .4byte gMapScripts_PokemonMansion_3F @ 0x81622A1
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_MANSION
- .2byte 145
- .byte 0x87, 0x00, 0x0b, 0x08, 0x00, 0x07, 0x00, 0x03
-
-PokemonMansion_B1F:: @ 834F8DC
- .4byte gMapData_PokemonMansion_B1F @ 0x830CEB8
- .4byte gMapEvents_PokemonMansion_B1F @ 0x83B0ED4
- .4byte gMapScripts_PokemonMansion_B1F @ 0x81622FC
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_MANSION
- .2byte 146
- .byte 0x87, 0x00, 0x0b, 0x08, 0x00, 0x07, 0x00, 0x03
-
-SafariZone_Center:: @ 834F8F8
- .4byte gMapData_SafariZone_Center @ 0x830DD38
- .4byte gMapEvents_SafariZone_Center @ 0x83B0F98
- .4byte gMapScripts_SafariZone_Center @ 0x8162357
- .4byte NULL
- .2byte BGM_FRLG_SAFARI_ZONE
- .2byte 147
- .byte 0x88, 0x00, 0x00, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SafariZone_East:: @ 834F914
- .4byte gMapData_SafariZone_East @ 0x830EC24
- .4byte gMapEvents_SafariZone_East @ 0x83B1068
- .4byte gMapScripts_SafariZone_East @ 0x816237C
- .4byte NULL
- .2byte BGM_FRLG_SAFARI_ZONE
- .2byte 148
- .byte 0x88, 0x00, 0x00, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SafariZone_North:: @ 834F930
- .4byte gMapData_SafariZone_North @ 0x830FE1C
- .4byte gMapEvents_SafariZone_North @ 0x83B1168
- .4byte gMapScripts_SafariZone_North @ 0x8162398
- .4byte NULL
- .2byte BGM_FRLG_SAFARI_ZONE
- .2byte 149
- .byte 0x88, 0x00, 0x00, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SafariZone_West:: @ 834F94C
- .4byte gMapData_SafariZone_West @ 0x8310BC4
- .4byte gMapEvents_SafariZone_West @ 0x83B1270
- .4byte gMapScripts_SafariZone_West @ 0x81623C6
- .4byte NULL
- .2byte BGM_FRLG_SAFARI_ZONE
- .2byte 150
- .byte 0x88, 0x00, 0x00, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SafariZone_Building1:: @ 834F968
- .4byte gMapData_SafariZone_Building1 @ 0x831C028
- .4byte gMapEvents_SafariZone_Building1 @ 0x83B12CC
- .4byte gMapScripts_SafariZone_Building1 @ 0x81623EB
- .4byte NULL
- .2byte BGM_FRLG_SAFARI_ZONE
- .2byte 198
- .byte 0x88, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SafariZone_Building2:: @ 834F984
- .4byte gMapData_SafariZone_Building2 @ 0x831C028
- .4byte gMapEvents_SafariZone_Building2 @ 0x83B1340
- .4byte gMapScripts_SafariZone_Building2 @ 0x81623FE
- .4byte NULL
- .2byte BGM_FRLG_SAFARI_ZONE
- .2byte 198
- .byte 0x88, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SafariZone_Building3:: @ 834F9A0
- .4byte gMapData_SafariZone_Building3 @ 0x831C028
- .4byte gMapEvents_SafariZone_Building3 @ 0x83B13CC
- .4byte gMapScripts_SafariZone_Building3 @ 0x816241A
- .4byte NULL
- .2byte BGM_FRLG_SAFARI_ZONE
- .2byte 198
- .byte 0x88, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SafariZone_Building4:: @ 834F9BC
- .4byte gMapData_SafariZone_Building4 @ 0x831C028
- .4byte gMapEvents_SafariZone_Building4 @ 0x83B1440
- .4byte gMapScripts_SafariZone_Building4 @ 0x8162436
- .4byte NULL
- .2byte BGM_FRLG_SAFARI_ZONE
- .2byte 198
- .byte 0x88, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SafariZone_SecretHouse:: @ 834F9D8
- .4byte gMapData_SafariZone_SecretHouse @ 0x831C16C
- .4byte gMapEvents_SafariZone_SecretHouse @ 0x83B1484
- .4byte gMapScripts_SafariZone_SecretHouse @ 0x8162452
- .4byte NULL
- .2byte BGM_FRLG_SAFARI_ZONE
- .2byte 199
- .byte 0x88, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeruleanCave_1F:: @ 834F9F4
- .4byte gMapData_CeruleanCave_1F @ 0x8311318
- .4byte gMapEvents_CeruleanCave_1F @ 0x83B15BC
- .4byte gMapScripts_CeruleanCave_1F @ 0x81624B3
- .4byte NULL
- .2byte BGM_FRLG_ROCKET_HIDEOUT
- .2byte 151
- .byte 0x8d, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-CeruleanCave_2F:: @ 834FA10
- .4byte gMapData_CeruleanCave_2F @ 0x8311A6C
- .4byte gMapEvents_CeruleanCave_2F @ 0x83B1738
- .4byte gMapScripts_CeruleanCave_2F @ 0x81624BD
- .4byte NULL
- .2byte BGM_FRLG_ROCKET_HIDEOUT
- .2byte 152
- .byte 0x8d, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-CeruleanCave_B1F:: @ 834FA2C
- .4byte gMapData_CeruleanCave_B1F @ 0x83121C0
- .4byte gMapEvents_CeruleanCave_B1F @ 0x83B1874
- .4byte gMapScripts_CeruleanCave_B1F @ 0x81624BE
- .4byte NULL
- .2byte BGM_FRLG_ROCKET_HIDEOUT
- .2byte 153
- .byte 0x8d, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-PokemonLeague_LoreleisRoom:: @ 834FA48
- .4byte gMapData_PokemonLeague_LoreleisRoom @ 0x831F178
- .4byte gMapEvents_PokemonLeague_LoreleisRoom @ 0x83B18B0
- .4byte gMapScripts_PokemonLeague_LoreleisRoom @ 0x816256C
- .4byte NULL
- .2byte BGM_FRLG_GYM
- .2byte 213
- .byte 0x89, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x04
-
-PokemonLeague_BrunosRoom:: @ 834FA64
- .4byte gMapData_PokemonLeague_BrunosRoom @ 0x831F2F0
- .4byte gMapEvents_PokemonLeague_BrunosRoom @ 0x83B18EC
- .4byte gMapScripts_PokemonLeague_BrunosRoom @ 0x8162685
- .4byte NULL
- .2byte BGM_FRLG_ROCKET_HIDEOUT
- .2byte 214
- .byte 0x89, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x05
-
-PokemonLeague_AgathasRoom:: @ 834FA80
- .4byte gMapData_PokemonLeague_AgathasRoom @ 0x831F468
- .4byte gMapEvents_PokemonLeague_AgathasRoom @ 0x83B1928
- .4byte gMapScripts_PokemonLeague_AgathasRoom @ 0x8162810
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_TOWER
- .2byte 215
- .byte 0x89, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x06
-
-PokemonLeague_LancesRoom:: @ 834FA9C
- .4byte gMapData_PokemonLeague_LancesRoom @ 0x831F9CC
- .4byte gMapEvents_PokemonLeague_LancesRoom @ 0x83B1964
- .4byte gMapScripts_PokemonLeague_LancesRoom @ 0x816292D
- .4byte NULL
- .2byte BGM_FRLG_INDIGO_PLATEAU
- .2byte 216
- .byte 0x89, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x07
-
-PokemonLeague_ChampionsRoom:: @ 834FAB8
- .4byte gMapData_PokemonLeague_ChampionsRoom @ 0x831FBF8
- .4byte gMapEvents_PokemonLeague_ChampionsRoom @ 0x83B19B8
- .4byte gMapScripts_PokemonLeague_ChampionsRoom @ 0x8162AE2
- .4byte NULL
- .2byte BGM_FRLG_INDIGO_PLATEAU
- .2byte 217
- .byte 0x89, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-PokemonLeague_HallOfFame:: @ 834FAD4
- .4byte gMapData_PokemonLeague_HallOfFame @ 0x831FD3C
- .4byte gMapEvents_PokemonLeague_HallOfFame @ 0x83B19EC
- .4byte gMapScripts_PokemonLeague_HallOfFame @ 0x8162D4C
- .4byte NULL
- .2byte BGM_FRLG_HALL_OF_FAME_PALLET_TOWN
- .2byte 218
- .byte 0x89, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-RockTunnel_1F:: @ 834FAF0
- .4byte gMapData_RockTunnel_1F @ 0x83130E4
- .4byte gMapEvents_RockTunnel_1F @ 0x83B1B2C
- .4byte gMapScripts_RockTunnel_1F @ 0x8162DD6
- .4byte NULL
- .2byte BGM_FRLG_MT_MOON
- .2byte 154
- .byte 0x8a, 0x01, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-RockTunnel_B1F:: @ 834FB0C
- .4byte gMapData_RockTunnel_B1F @ 0x8314008
- .4byte gMapEvents_RockTunnel_B1F @ 0x83B1DD0
- .4byte gMapScripts_RockTunnel_B1F @ 0x8162E8A
- .4byte NULL
- .2byte BGM_FRLG_MT_MOON
- .2byte 155
- .byte 0x8a, 0x01, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SeafoamIslands_1F:: @ 834FB28
- .4byte gMapData_SeafoamIslands_1F @ 0x831474C
- .4byte gMapEvents_SeafoamIslands_1F @ 0x83B1E64
- .4byte gMapScripts_SeafoamIslands_1F @ 0x8162F43
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 156
- .byte 0x8b, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SeafoamIslands_B1F:: @ 834FB44
- .4byte gMapData_SeafoamIslands_B1F @ 0x8314E44
- .4byte gMapEvents_SeafoamIslands_B1F @ 0x83B1F30
- .4byte gMapScripts_SeafoamIslands_B1F @ 0x8162F4D
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 157
- .byte 0x8b, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SeafoamIslands_B2F:: @ 834FB60
- .4byte gMapData_SeafoamIslands_B2F @ 0x8315588
- .4byte gMapEvents_SeafoamIslands_B2F @ 0x83B1FE4
- .4byte gMapScripts_SeafoamIslands_B2F @ 0x8162F4E
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 158
- .byte 0x8b, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SeafoamIslands_B3F:: @ 834FB7C
- .4byte gMapData_SeafoamIslands_B3F @ 0x8315CCC
- .4byte gMapEvents_SeafoamIslands_B3F @ 0x83B20DC
- .4byte gMapScripts_SeafoamIslands_B3F @ 0x8162F4F
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 159
- .byte 0x8b, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SeafoamIslands_B4F:: @ 834FB98
- .4byte gMapData_SeafoamIslands_B4F @ 0x8316410
- .4byte gMapEvents_SeafoamIslands_B4F @ 0x83B21C4
- .4byte gMapScripts_SeafoamIslands_B4F @ 0x816302E
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 160
- .byte 0x8b, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-PokemonTower_1F:: @ 834FBB4
- .4byte gMapData_PokemonTower_1F @ 0x83167F4
- .4byte gMapEvents_PokemonTower_1F @ 0x83B2270
- .4byte gMapScripts_PokemonTower_1F @ 0x8163235
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_TOWER
- .2byte 161
- .byte 0x8c, 0x00, 0x00, 0x08, 0x00, 0x05, 0x00, 0x02
-
-PokemonTower_2F:: @ 834FBD0
- .4byte gMapData_PokemonTower_2F @ 0x8316BD8
- .4byte gMapEvents_PokemonTower_2F @ 0x83B22E4
- .4byte gMapScripts_PokemonTower_2F @ 0x8163285
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_TOWER
- .2byte 162
- .byte 0x8c, 0x00, 0x00, 0x08, 0x00, 0x05, 0x00, 0x02
-
-PokemonTower_3F:: @ 834FBEC
- .4byte gMapData_PokemonTower_3F @ 0x8316FBC
- .4byte gMapEvents_PokemonTower_3F @ 0x83B2368
- .4byte gMapScripts_PokemonTower_3F @ 0x81633A6
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_TOWER
- .2byte 163
- .byte 0x8c, 0x00, 0x06, 0x08, 0x00, 0x05, 0x00, 0x02
-
-PokemonTower_4F:: @ 834FC08
- .4byte gMapData_PokemonTower_4F @ 0x83173A0
- .4byte gMapEvents_PokemonTower_4F @ 0x83B241C
- .4byte gMapScripts_PokemonTower_4F @ 0x81633EC
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_TOWER
- .2byte 164
- .byte 0x8c, 0x00, 0x06, 0x08, 0x00, 0x05, 0x00, 0x02
-
-PokemonTower_5F:: @ 834FC24
- .4byte gMapData_PokemonTower_5F @ 0x8317784
- .4byte gMapEvents_PokemonTower_5F @ 0x83B2604
- .4byte gMapScripts_PokemonTower_5F @ 0x8163432
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_TOWER
- .2byte 165
- .byte 0x8c, 0x00, 0x06, 0x08, 0x00, 0x05, 0x00, 0x02
-
-PokemonTower_6F:: @ 834FC40
- .4byte gMapData_PokemonTower_6F @ 0x8317B68
- .4byte gMapEvents_PokemonTower_6F @ 0x83B26C0
- .4byte gMapScripts_PokemonTower_6F @ 0x81634B7
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_TOWER
- .2byte 166
- .byte 0x8c, 0x00, 0x06, 0x08, 0x00, 0x05, 0x00, 0x02
-
-PokemonTower_7F:: @ 834FC5C
- .4byte gMapData_PokemonTower_7F @ 0x8317F4C
- .4byte gMapEvents_PokemonTower_7F @ 0x83B2748
- .4byte gMapScripts_PokemonTower_7F @ 0x8163559
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_TOWER
- .2byte 167
- .byte 0x8c, 0x00, 0x06, 0x08, 0x00, 0x05, 0x00, 0x02
-
-PowerPlant:: @ 834FC78
- .4byte gMapData_PowerPlant @ 0x8318EC0
- .4byte gMapEvents_PowerPlant @ 0x83B285C
- .4byte gMapScripts_PowerPlant @ 0x8163764
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_MANSION
- .2byte 168
- .byte 0x8e, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00, 0x03
-
-MtEmber_RubyPath_B4F:: @ 834FC94
- .4byte gMapData_MtEmber_RubyPath_B4F @ 0x8339290
- .4byte gMapEvents_MtEmber_RubyPath_B4F @ 0x83B29B8
- .4byte gMapScripts_MtEmber_RubyPath_B4F @ 0x81638EB
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 269
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-MtEmber_Exterior:: @ 834FCB0
- .4byte gMapData_MtEmber_Exterior @ 0x833D660
- .4byte gMapEvents_MtEmber_Exterior @ 0x83B2C24
- .4byte gMapScripts_MtEmber_Exterior @ 0x8163946
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 280
- .byte 0xaf, 0x00, 0x00, 0x03, 0x01, 0x06, 0x00, 0x00
-
-MtEmber_SummitPath_1F:: @ 834FCCC
- .4byte gMapData_MtEmber_SummitPath_1F @ 0x833DC08
- .4byte gMapEvents_MtEmber_SummitPath_1F @ 0x83B2C48
- .4byte gMapScripts_MtEmber_SummitPath_1F @ 0x8163AF9
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 282
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-MtEmber_SummitPath_2F:: @ 834FCE8
- .4byte gMapData_MtEmber_SummitPath_2F @ 0x833ED6C
- .4byte gMapEvents_MtEmber_SummitPath_2F @ 0x83B2D44
- .4byte gMapScripts_MtEmber_SummitPath_2F @ 0x8163AFA
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 283
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-MtEmber_SummitPath_3F:: @ 834FD04
- .4byte gMapData_MtEmber_SummitPath_3F @ 0x833EEDC
- .4byte gMapEvents_MtEmber_SummitPath_3F @ 0x83B2D68
- .4byte gMapScripts_MtEmber_SummitPath_3F @ 0x8163AFB
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 284
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-MtEmber_Summit:: @ 834FD20
- .4byte gMapData_MtEmber_Summit @ 0x833D9C8
- .4byte gMapEvents_MtEmber_Summit @ 0x83B2DFC
- .4byte gMapScripts_MtEmber_Summit @ 0x8163AFC
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 281
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-MtEmber_RubyPath_B5F:: @ 834FD3C
- .4byte gMapData_MtEmber_RubyPath_B5F @ 0x833FF60
- .4byte gMapEvents_MtEmber_RubyPath_B5F @ 0x83B2E3C
- .4byte gMapScripts_MtEmber_RubyPath_B5F @ 0x8163BAA
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 291
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SSAnne_Kitchen3:: @ 834FD58
- .4byte gMapData_SSAnne_Kitchen3 @ 0x833F304
- .4byte gMapEvents_SSAnne_Kitchen3 @ 0x83B2EE0
- .4byte gMapScripts_SSAnne_Kitchen3 @ 0x8163C45
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 285
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-MtEmber_RubyPath_B1F:: @ 834FD74
- .4byte gMapData_MtEmber_RubyPath_B1F @ 0x833F524
- .4byte gMapEvents_MtEmber_RubyPath_B1F @ 0x83B2F64
- .4byte gMapScripts_MtEmber_RubyPath_B1F @ 0x8163C46
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 286
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-MtEmber_RubyPath_B2F:: @ 834FD90
- .4byte gMapData_MtEmber_RubyPath_B2F @ 0x833F6A8
- .4byte gMapEvents_MtEmber_RubyPath_B2F @ 0x83B3030
- .4byte gMapScripts_MtEmber_RubyPath_B2F @ 0x8163C47
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 287
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-MtEmber_RubyPath_B3F:: @ 834FDAC
- .4byte gMapData_MtEmber_RubyPath_B3F @ 0x833FC60
- .4byte gMapEvents_MtEmber_RubyPath_B3F @ 0x83B314C
- .4byte gMapScripts_MtEmber_RubyPath_B3F @ 0x8163C48
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 288
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-MtEmber_RubyPath_B1F_Stairs:: @ 834FDC8
- .4byte gMapData_MtEmber_RubyPath_B1F_Stairs @ 0x833FCD8
- .4byte gMapEvents_MtEmber_RubyPath_B1F_Stairs @ 0x83B3188
- .4byte gMapScripts_MtEmber_RubyPath_B1F_Stairs @ 0x8163C6F
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 289
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-MtEmber_RubyPath_B2F_Stairs:: @ 834FDE4
- .4byte gMapData_MtEmber_RubyPath_B2F_Stairs @ 0x833FD5C
- .4byte gMapEvents_MtEmber_RubyPath_B2F_Stairs @ 0x83B31DC
- .4byte gMapScripts_MtEmber_RubyPath_B2F_Stairs @ 0x8163C70
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 290
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-ThreeIsland_BerryForest:: @ 834FE00
- .4byte gMapData_ThreeIsland_BerryForest @ 0x833A7A8
- .4byte gMapEvents_ThreeIsland_BerryForest @ 0x83B340C
- .4byte gMapScripts_ThreeIsland_BerryForest @ 0x8163C71
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 270
- .byte 0xb0, 0x00, 0x0b, 0x03, 0x01, 0x07, 0x00, 0x00
-
-FourIsland_IcefallCave_Entrance:: @ 834FE1C
- .4byte gMapData_FourIsland_IcefallCave_Entrance @ 0x8340E38
- .4byte gMapEvents_FourIsland_IcefallCave_Entrance @ 0x83B3438
- .4byte gMapScripts_FourIsland_IcefallCave_Entrance @ 0x8163D3A
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 293
- .byte 0xb1, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FourIsland_IcefallCave_1F:: @ 834FE38
- .4byte gMapData_FourIsland_IcefallCave_1F @ 0x834117C
- .4byte gMapEvents_FourIsland_IcefallCave_1F @ 0x83B34AC
- .4byte gMapScripts_FourIsland_IcefallCave_1F @ 0x8163D44
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 294
- .byte 0xb1, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SSAnne_CaptainsOffice2:: @ 834FE54
- .4byte gMapData_SSAnne_CaptainsOffice2 @ 0x8341560
- .4byte gMapEvents_SSAnne_CaptainsOffice2 @ 0x83B3508
- .4byte gMapScripts_SSAnne_CaptainsOffice2 @ 0x8163D81
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 295
- .byte 0xb1, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SSAnne_CaptainsOffice3:: @ 834FE70
- .4byte gMapData_SSAnne_CaptainsOffice3 @ 0x8341A98
- .4byte gMapEvents_SSAnne_CaptainsOffice3 @ 0x83B35B4
- .4byte gMapScripts_SSAnne_CaptainsOffice3 @ 0x8163D82
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 296
- .byte 0xb1, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SSAnne_CaptainsOffice4:: @ 834FE8C
- .4byte gMapData_SSAnne_CaptainsOffice4 @ 0x83405A4
- .4byte gMapEvents_SSAnne_CaptainsOffice4 @ 0x83B381C
- .4byte gMapScripts_SSAnne_CaptainsOffice4 @ 0x8163F2E
- .4byte NULL
- .2byte BGM_FRLG_ROCKET_HIDEOUT
- .2byte 292
- .byte 0xb2, 0x00, 0x00, 0x08, 0x00, 0x05, 0x00, 0x03
-
-SSAnne_CaptainsOffice5:: @ 834FEA8
- .4byte gMapData_SSAnne_CaptainsOffice5 @ 0x83436C4
- .4byte gMapEvents_SSAnne_CaptainsOffice5 @ 0x83B3850
- .4byte gMapScripts_SSAnne_CaptainsOffice5 @ 0x8164182
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 309
- .byte 0xb4, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SixIsland_DottedHole_B1F:: @ 834FEC4
- .4byte gMapData_SixIsland_DottedHole_B1F @ 0x8343808
- .4byte gMapEvents_SixIsland_DottedHole_B1F @ 0x83B3898
- .4byte gMapScripts_SixIsland_DottedHole_B1F @ 0x81641B0
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 310
- .byte 0xb4, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SixIsland_DottedHole_B2F:: @ 834FEE0
- .4byte gMapData_SixIsland_DottedHole_B2F @ 0x834394C
- .4byte gMapEvents_SixIsland_DottedHole_B2F @ 0x83B38E0
- .4byte gMapScripts_SixIsland_DottedHole_B2F @ 0x81641B1
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 311
- .byte 0xb4, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SixIsland_DottedHole_B3F:: @ 834FEFC
- .4byte gMapData_SixIsland_DottedHole_B3F @ 0x8343A90
- .4byte gMapEvents_SixIsland_DottedHole_B3F @ 0x83B3928
- .4byte gMapScripts_SixIsland_DottedHole_B3F @ 0x81641B2
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 312
- .byte 0xb4, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SSAnne_CaptainsOffice9:: @ 834FF18
- .4byte gMapData_SSAnne_CaptainsOffice9 @ 0x8343BD4
- .4byte gMapEvents_SSAnne_CaptainsOffice9 @ 0x83B3970
- .4byte gMapScripts_SSAnne_CaptainsOffice9 @ 0x81641B3
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 313
- .byte 0xb4, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SixIsland_DottedHole_SapphireRoom:: @ 834FF34
- .4byte gMapData_SixIsland_DottedHole_SapphireRoom @ 0x8343DD8
- .4byte gMapEvents_SixIsland_DottedHole_SapphireRoom @ 0x83B39D0
- .4byte gMapScripts_SixIsland_DottedHole_SapphireRoom @ 0x81641B4
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 314
- .byte 0xb4, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SSAnne_1F_Room11:: @ 834FF50
- .4byte gMapData_SSAnne_1F_Room11 @ 0x8345030
- .4byte gMapEvents_SSAnne_1F_Room11 @ 0x83B3B34
- .4byte gMapScripts_SSAnne_1F_Room11 @ 0x8164559
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 317
- .byte 0xb6, 0x00, 0x00, 0x03, 0x01, 0x07, 0x00, 0x00
-
-SSAnne_1F_Room12:: @ 834FF6C
- .4byte gMapData_SSAnne_1F_Room12 @ 0x8347A50
- .4byte gMapEvents_SSAnne_1F_Room12 @ 0x83B3B50
- .4byte gMapScripts_SSAnne_1F_Room12 @ 0x81646A4
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 340
- .byte 0xb7, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-NavelRock_Exterior:: @ 834FF88
- .4byte gMapData_NavelRock_Exterior @ 0x834873C
- .4byte gMapEvents_NavelRock_Exterior @ 0x83B3B74
- .4byte gMapScripts_NavelRock_Exterior @ 0x81646AE
- .4byte NULL
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 343
- .byte 0xae, 0x00, 0x00, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SevenIsland_TrainerTower_1F:: @ 834FFA4
- .4byte gMapData_SevenIsland_TrainerTower_1F @ 0x8341FCC
- .4byte gMapEvents_SevenIsland_TrainerTower_1F @ 0x83B3C40
- .4byte gMapScripts_SevenIsland_TrainerTower_1F @ 0x81646B8
- .4byte NULL
- .2byte BGM_FRLG_TRAINER_TOWER
- .2byte 298
- .byte 0xb3, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00
-
-SevenIsland_TrainerTower_2F:: @ 834FFC0
- .4byte gMapData_SevenIsland_TrainerTower_2F @ 0x8342254
- .4byte gMapEvents_SevenIsland_TrainerTower_2F @ 0x83B3D14
- .4byte gMapScripts_SevenIsland_TrainerTower_2F @ 0x81646E6
- .4byte NULL
- .2byte BGM_FRLG_TRAINER_TOWER
- .2byte 299
- .byte 0xb3, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00
-
-SevenIsland_TrainerTower_3F:: @ 834FFDC
- .4byte gMapData_SevenIsland_TrainerTower_3F @ 0x83424DC
- .4byte gMapEvents_SevenIsland_TrainerTower_3F @ 0x83B3DE8
- .4byte gMapScripts_SevenIsland_TrainerTower_3F @ 0x8164714
- .4byte NULL
- .2byte BGM_FRLG_TRAINER_TOWER
- .2byte 300
- .byte 0xb3, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00
-
-SevenIsland_TrainerTower_4F:: @ 834FFF8
- .4byte gMapData_SevenIsland_TrainerTower_4F @ 0x8342764
- .4byte gMapEvents_SevenIsland_TrainerTower_4F @ 0x83B3EBC
- .4byte gMapScripts_SevenIsland_TrainerTower_4F @ 0x8164742
- .4byte NULL
- .2byte BGM_FRLG_TRAINER_TOWER
- .2byte 301
- .byte 0xb3, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00
-
-SevenIsland_TrainerTower_5F:: @ 8350014
- .4byte gMapData_SevenIsland_TrainerTower_5F @ 0x83429EC
- .4byte gMapEvents_SevenIsland_TrainerTower_5F @ 0x83B3F90
- .4byte gMapScripts_SevenIsland_TrainerTower_5F @ 0x8164770
- .4byte NULL
- .2byte BGM_FRLG_TRAINER_TOWER
- .2byte 302
- .byte 0xb3, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00
-
-SevenIsland_TrainerTower_6F:: @ 8350030
- .4byte gMapData_SevenIsland_TrainerTower_6F @ 0x8342C74
- .4byte gMapEvents_SevenIsland_TrainerTower_6F @ 0x83B4064
- .4byte gMapScripts_SevenIsland_TrainerTower_6F @ 0x816479E
- .4byte NULL
- .2byte BGM_FRLG_TRAINER_TOWER
- .2byte 303
- .byte 0xb3, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00
-
-SevenIsland_TrainerTower_7F:: @ 835004C
- .4byte gMapData_SevenIsland_TrainerTower_7F @ 0x8342EFC
- .4byte gMapEvents_SevenIsland_TrainerTower_7F @ 0x83B4138
- .4byte gMapScripts_SevenIsland_TrainerTower_7F @ 0x81647CC
- .4byte NULL
- .2byte BGM_FRLG_TRAINER_TOWER
- .2byte 304
- .byte 0xb3, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00
-
-SevenIsland_TrainerTower_8F:: @ 8350068
- .4byte gMapData_SevenIsland_TrainerTower_8F @ 0x8343184
- .4byte gMapEvents_SevenIsland_TrainerTower_8F @ 0x83B420C
- .4byte gMapScripts_SevenIsland_TrainerTower_8F @ 0x81647FA
- .4byte NULL
- .2byte BGM_FRLG_TRAINER_TOWER
- .2byte 305
- .byte 0xb3, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00
-
-SevenIsland_TrainerTower_Roof:: @ 8350084
- .4byte gMapData_SevenIsland_TrainerTower_Roof @ 0x83433E8
- .4byte gMapEvents_SevenIsland_TrainerTower_Roof @ 0x83B4248
- .4byte gMapScripts_SevenIsland_TrainerTower_Roof @ 0x8164828
- .4byte NULL
- .2byte BGM_FRLG_TRAINER_TOWER
- .2byte 306
- .byte 0xb3, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00
-
-SevenIsland_TrainerTower_Lobby:: @ 83500A0
- .4byte gMapData_SevenIsland_TrainerTower_Lobby @ 0x8341D44
- .4byte gMapEvents_SevenIsland_TrainerTower_Lobby @ 0x83B4308
- .4byte gMapScripts_SevenIsland_TrainerTower_Lobby @ 0x8164839
- .4byte NULL
- .2byte BGM_FRLG_TRAINER_TOWER
- .2byte 297
- .byte 0xb3, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00
-
-SevenIsland_TrainerTower_Elevator:: @ 83500BC
- .4byte gMapData_SevenIsland_TrainerTower_Elevator @ 0x8343454
- .4byte gMapEvents_SevenIsland_TrainerTower_Elevator @ 0x83B4330
- .4byte gMapScripts_SevenIsland_TrainerTower_Elevator @ 0x8164AF8
- .4byte NULL
- .2byte BGM_FRLG_TRAINER_TOWER
- .2byte 307
- .byte 0xb3, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00, 0x00
-
-FiveIsland_LostCave_Entrance:: @ 83500D8
- .4byte gMapData_FiveIsland_LostCave_Entrance @ 0x83454D8
- .4byte gMapEvents_FiveIsland_LostCave_Entrance @ 0x83B4354
- .4byte gMapScripts_FiveIsland_LostCave_Entrance @ 0x8164BEC
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 320
- .byte 0xb5, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room1:: @ 83500F4
- .4byte gMapData_FiveIsland_LostCave_Room1 @ 0x83455F0
- .4byte gMapEvents_FiveIsland_LostCave_Room1 @ 0x83B43A8
- .4byte gMapScripts_FiveIsland_LostCave_Room1 @ 0x8164BF6
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 321
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room2:: @ 8350110
- .4byte gMapData_FiveIsland_LostCave_Room2 @ 0x8345708
- .4byte gMapEvents_FiveIsland_LostCave_Room2 @ 0x83B43DC
- .4byte gMapScripts_FiveIsland_LostCave_Room2 @ 0x8164C0E
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 322
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room3:: @ 835012C
- .4byte gMapData_FiveIsland_LostCave_Room3 @ 0x8345820
- .4byte gMapEvents_FiveIsland_LostCave_Room3 @ 0x83B4410
- .4byte gMapScripts_FiveIsland_LostCave_Room3 @ 0x8164C0F
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 323
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room4:: @ 8350148
- .4byte gMapData_FiveIsland_LostCave_Room4 @ 0x8345938
- .4byte gMapEvents_FiveIsland_LostCave_Room4 @ 0x83B445C
- .4byte gMapScripts_FiveIsland_LostCave_Room4 @ 0x8164C10
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 324
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room5:: @ 8350164
- .4byte gMapData_FiveIsland_LostCave_Room5 @ 0x8345A50
- .4byte gMapEvents_FiveIsland_LostCave_Room5 @ 0x83B4490
- .4byte gMapScripts_FiveIsland_LostCave_Room5 @ 0x8164C28
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 325
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room6:: @ 8350180
- .4byte gMapData_FiveIsland_LostCave_Room6 @ 0x8345B68
- .4byte gMapEvents_FiveIsland_LostCave_Room6 @ 0x83B44C4
- .4byte gMapScripts_FiveIsland_LostCave_Room6 @ 0x8164C29
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 326
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room7:: @ 835019C
- .4byte gMapData_FiveIsland_LostCave_Room7 @ 0x8345C80
- .4byte gMapEvents_FiveIsland_LostCave_Room7 @ 0x83B44F8
- .4byte gMapScripts_FiveIsland_LostCave_Room7 @ 0x8164C2A
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 327
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room8:: @ 83501B8
- .4byte gMapData_FiveIsland_LostCave_Room8 @ 0x8345D98
- .4byte gMapEvents_FiveIsland_LostCave_Room8 @ 0x83B452C
- .4byte gMapScripts_FiveIsland_LostCave_Room8 @ 0x8164C2B
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 328
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room9:: @ 83501D4
- .4byte gMapData_FiveIsland_LostCave_Room9 @ 0x8345EB0
- .4byte gMapEvents_FiveIsland_LostCave_Room9 @ 0x83B4560
- .4byte gMapScripts_FiveIsland_LostCave_Room9 @ 0x8164C2C
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 329
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room10:: @ 83501F0
- .4byte gMapData_FiveIsland_LostCave_Room10 @ 0x8345FC8
- .4byte gMapEvents_FiveIsland_LostCave_Room10 @ 0x83B45AC
- .4byte gMapScripts_FiveIsland_LostCave_Room10 @ 0x8164C2D
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 330
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room11:: @ 835020C
- .4byte gMapData_FiveIsland_LostCave_Room11 @ 0x83460E0
- .4byte gMapEvents_FiveIsland_LostCave_Room11 @ 0x83B45E0
- .4byte gMapScripts_FiveIsland_LostCave_Room11 @ 0x8164CCB
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 331
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room12:: @ 8350228
- .4byte gMapData_FiveIsland_LostCave_Room12 @ 0x83461F8
- .4byte gMapEvents_FiveIsland_LostCave_Room12 @ 0x83B4614
- .4byte gMapScripts_FiveIsland_LostCave_Room12 @ 0x8164CCC
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 332
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room13:: @ 8350244
- .4byte gMapData_FiveIsland_LostCave_Room13 @ 0x8346310
- .4byte gMapEvents_FiveIsland_LostCave_Room13 @ 0x83B4648
- .4byte gMapScripts_FiveIsland_LostCave_Room13 @ 0x8164CCD
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 333
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-FiveIsland_LostCave_Room14:: @ 8350260
- .4byte gMapData_FiveIsland_LostCave_Room14 @ 0x8346428
- .4byte gMapEvents_FiveIsland_LostCave_Room14 @ 0x83B467C
- .4byte gMapScripts_FiveIsland_LostCave_Room14 @ 0x8164CCE
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 334
- .byte 0xb5, 0x00, 0x06, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SevenIsland_TanobyRuins_MoneanChamber:: @ 835027C
- .4byte gMapData_SevenIsland_TanobyRuins_MoneanChamber @ 0x834675C
- .4byte gMapEvents_SevenIsland_TanobyRuins_MoneanChamber @ 0x83B4698
- .4byte gMapScripts_SevenIsland_TanobyRuins_MoneanChamber @ 0x8164CCF
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 335
- .byte 0xbc, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x02
-
-SevenIsland_TanobyRuins_LiptooChamber:: @ 8350298
- .4byte gMapData_SevenIsland_TanobyRuins_LiptooChamber @ 0x8346A90
- .4byte gMapEvents_SevenIsland_TanobyRuins_LiptooChamber @ 0x83B46B4
- .4byte gMapScripts_SevenIsland_TanobyRuins_LiptooChamber @ 0x8164CDE
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 336
- .byte 0xbd, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x02
-
-SevenIsland_TanobyRuins_WeepthChamber:: @ 83502B4
- .4byte gMapData_SevenIsland_TanobyRuins_WeepthChamber @ 0x8346DC4
- .4byte gMapEvents_SevenIsland_TanobyRuins_WeepthChamber @ 0x83B46D0
- .4byte gMapScripts_SevenIsland_TanobyRuins_WeepthChamber @ 0x8164CEA
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 337
- .byte 0xbe, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x02
-
-SevenIsland_TanobyRuins_DilfordChamber:: @ 83502D0
- .4byte gMapData_SevenIsland_TanobyRuins_DilfordChamber @ 0x83470F8
- .4byte gMapEvents_SevenIsland_TanobyRuins_DilfordChamber @ 0x83B46EC
- .4byte gMapScripts_SevenIsland_TanobyRuins_DilfordChamber @ 0x8164CF6
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 338
- .byte 0xbf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x02
-
-SevenIsland_TanobyRuins_ScufibChamber:: @ 83502EC
- .4byte gMapData_SevenIsland_TanobyRuins_ScufibChamber @ 0x834742C
- .4byte gMapEvents_SevenIsland_TanobyRuins_ScufibChamber @ 0x83B4708
- .4byte gMapScripts_SevenIsland_TanobyRuins_ScufibChamber @ 0x8164D02
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 339
- .byte 0xc0, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x02
-
-SevenIsland_TanobyRuins_RixyChamber:: @ 8350308
- .4byte gMapData_SevenIsland_TanobyRuins_RixyChamber @ 0x8349DC8
- .4byte gMapEvents_SevenIsland_TanobyRuins_RixyChamber @ 0x83B4724
- .4byte gMapScripts_SevenIsland_TanobyRuins_RixyChamber @ 0x8164D0E
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 362
- .byte 0xc1, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x02
-
-SevenIsland_TanobyRuins_ViapoisChamber:: @ 8350324
- .4byte gMapData_SevenIsland_TanobyRuins_ViapoisChamber @ 0x834A0FC
- .4byte gMapEvents_SevenIsland_TanobyRuins_ViapoisChamber @ 0x83B4740
- .4byte gMapScripts_SevenIsland_TanobyRuins_ViapoisChamber @ 0x8164D1A
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 363
- .byte 0xc2, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x02
-
-ThreeIsland_DunsparceTunnel:: @ 8350340
- .4byte gMapData_ThreeIsland_DunsparceTunnel @ 0x83451F8
- .4byte gMapEvents_ThreeIsland_DunsparceTunnel @ 0x83B4788
- .4byte gMapScripts_ThreeIsland_DunsparceTunnel @ 0x8164D26
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 318
- .byte 0xb9, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
-
-SevenIsland_SeavaultCanyon_TanobyKey:: @ 835035C
- .4byte gMapData_SevenIsland_SeavaultCanyon_TanobyKey @ 0x8347C54
- .4byte gMapEvents_SevenIsland_SeavaultCanyon_TanobyKey @ 0x83B48BC
- .4byte gMapScripts_SevenIsland_SeavaultCanyon_TanobyKey @ 0x8164DCC
- .4byte NULL
- .2byte BGM_FRLG_TANOBY_RUINS
- .2byte 341
- .byte 0xba, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x02
-
-NavelRock_1F:: @ 8350378
- .4byte gMapData_NavelRock_1F @ 0x8348AD4
- .4byte gMapEvents_NavelRock_1F @ 0x83B48E0
- .4byte gMapScripts_NavelRock_1F @ 0x8164F9E
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 344
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_Summit:: @ 8350394
- .4byte gMapData_NavelRock_Summit @ 0x8348EB0
- .4byte gMapEvents_NavelRock_Summit @ 0x83B4930
- .4byte gMapScripts_NavelRock_Summit @ 0x8164F9F
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 345
- .byte 0xae, 0x00, 0x0b, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_Base:: @ 83503B0
- .4byte gMapData_NavelRock_Base @ 0x834929C
- .4byte gMapEvents_NavelRock_Base @ 0x83B4964
- .4byte gMapScripts_NavelRock_Base @ 0x81650E7
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 346
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_SummitPath_2F:: @ 83503CC
- .4byte gMapData_NavelRock_SummitPath_2F @ 0x8349324
- .4byte gMapEvents_NavelRock_SummitPath_2F @ 0x83B4988
- .4byte gMapScripts_NavelRock_SummitPath_2F @ 0x81651F2
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 347
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_SummitPath_3F:: @ 83503E8
- .4byte gMapData_NavelRock_SummitPath_3F @ 0x83493AC
- .4byte gMapEvents_NavelRock_SummitPath_3F @ 0x83B49AC
- .4byte gMapScripts_NavelRock_SummitPath_3F @ 0x81651F3
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 348
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_SummitPath_4F:: @ 8350404
- .4byte gMapData_NavelRock_SummitPath_4F @ 0x8349434
- .4byte gMapEvents_NavelRock_SummitPath_4F @ 0x83B49D0
- .4byte gMapScripts_NavelRock_SummitPath_4F @ 0x81651F4
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 349
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_SummitPath_5F:: @ 8350420
- .4byte gMapData_NavelRock_SummitPath_5F @ 0x83494BC
- .4byte gMapEvents_NavelRock_SummitPath_5F @ 0x83B49F4
- .4byte gMapScripts_NavelRock_SummitPath_5F @ 0x81651F5
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 350
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_BasePath_B1F:: @ 835043C
- .4byte gMapData_NavelRock_BasePath_B1F @ 0x8349544
- .4byte gMapEvents_NavelRock_BasePath_B1F @ 0x83B4A18
- .4byte gMapScripts_NavelRock_BasePath_B1F @ 0x81651F6
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 351
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_BasePath_B2F:: @ 8350458
- .4byte gMapData_NavelRock_BasePath_B2F @ 0x83495CC
- .4byte gMapEvents_NavelRock_BasePath_B2F @ 0x83B4A3C
- .4byte gMapScripts_NavelRock_BasePath_B2F @ 0x81651F7
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 352
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_BasePath_B3F:: @ 8350474
- .4byte gMapData_NavelRock_BasePath_B3F @ 0x8349654
- .4byte gMapEvents_NavelRock_BasePath_B3F @ 0x83B4A60
- .4byte gMapScripts_NavelRock_BasePath_B3F @ 0x81651F8
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 353
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_BasePath_B4F:: @ 8350490
- .4byte gMapData_NavelRock_BasePath_B4F @ 0x83496DC
- .4byte gMapEvents_NavelRock_BasePath_B4F @ 0x83B4A84
- .4byte gMapScripts_NavelRock_BasePath_B4F @ 0x81651F9
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 354
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_BasePath_B5F:: @ 83504AC
- .4byte gMapData_NavelRock_BasePath_B5F @ 0x8349764
- .4byte gMapEvents_NavelRock_BasePath_B5F @ 0x83B4AA8
- .4byte gMapScripts_NavelRock_BasePath_B5F @ 0x81651FA
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 355
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_BasePath_B6F:: @ 83504C8
- .4byte gMapData_NavelRock_BasePath_B6F @ 0x83497EC
- .4byte gMapEvents_NavelRock_BasePath_B6F @ 0x83B4ACC
- .4byte gMapScripts_NavelRock_BasePath_B6F @ 0x81651FB
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 356
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_BasePath_B7F:: @ 83504E4
- .4byte gMapData_NavelRock_BasePath_B7F @ 0x8349874
- .4byte gMapEvents_NavelRock_BasePath_B7F @ 0x83B4AF0
- .4byte gMapScripts_NavelRock_BasePath_B7F @ 0x81651FC
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 357
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_BasePath_B8F:: @ 8350500
- .4byte gMapData_NavelRock_BasePath_B8F @ 0x83498FC
- .4byte gMapEvents_NavelRock_BasePath_B8F @ 0x83B4B14
- .4byte gMapScripts_NavelRock_BasePath_B8F @ 0x81651FD
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 358
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_BasePath_B9F:: @ 835051C
- .4byte gMapData_NavelRock_BasePath_B9F @ 0x8349984
- .4byte gMapEvents_NavelRock_BasePath_B9F @ 0x83B4B38
- .4byte gMapScripts_NavelRock_BasePath_B9F @ 0x81651FE
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 359
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_BasePath_B10F:: @ 8350538
- .4byte gMapData_NavelRock_BasePath_B10F @ 0x8349A0C
- .4byte gMapEvents_NavelRock_BasePath_B10F @ 0x83B4B5C
- .4byte gMapScripts_NavelRock_BasePath_B10F @ 0x81651FF
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 360
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_BasePath_B11F:: @ 8350554
- .4byte gMapData_NavelRock_BasePath_B11F @ 0x8349A94
- .4byte gMapEvents_NavelRock_BasePath_B11F @ 0x83B4B80
- .4byte gMapScripts_NavelRock_BasePath_B11F @ 0x8165200
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 361
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_B1F:: @ 8350570
- .4byte gMapData_NavelRock_B1F @ 0x834A210
- .4byte gMapEvents_NavelRock_B1F @ 0x83B4BA4
- .4byte gMapScripts_NavelRock_B1F @ 0x8165201
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 364
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-NavelRock_Fork:: @ 835058C
- .4byte gMapData_NavelRock_Fork @ 0x834B9A4
- .4byte gMapEvents_NavelRock_Fork @ 0x83B4BD0
- .4byte gMapScripts_NavelRock_Fork @ 0x8165202
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 365
- .byte 0xae, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-BirthIsland_Exterior:: @ 83505A8
- .4byte gMapData_BirthIsland_Exterior @ 0x8348380
- .4byte gMapEvents_BirthIsland_Exterior @ 0x83B4C1C
- .4byte gMapScripts_BirthIsland_Exterior @ 0x8165203
- .4byte NULL
- .2byte 0xFFFF
- .2byte 342
- .byte 0xbb, 0x00, 0x00, 0x03, 0x00, 0x06, 0x00, 0x00
-
-OneIsland_KindleRoad_EmberSpa:: @ 83505C4
- .4byte gMapData_OneIsland_KindleRoad_EmberSpa @ 0x834EB70
- .4byte gMapEvents_OneIsland_KindleRoad_EmberSpa @ 0x83B4CD8
- .4byte gMapScripts_OneIsland_KindleRoad_EmberSpa @ 0x816535B
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 383
- .byte 0xc3, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x00
-
-BirthIsland_Harbor:: @ 83505E0
- .4byte gMapData_BirthIsland_Harbor @ 0x8343FB8
- .4byte gMapEvents_BirthIsland_Harbor @ 0x83B4D24
- .4byte gMapScripts_BirthIsland_Harbor @ 0x81653E6
- .4byte NULL
- .2byte 0xFFFF
- .2byte 315
- .byte 0xbb, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-NavelRock_Harbor:: @ 83505FC
- .4byte gMapData_NavelRock_Harbor @ 0x8343FB8
- .4byte gMapEvents_NavelRock_Harbor @ 0x83B4D70
- .4byte gMapScripts_NavelRock_Harbor @ 0x8165420
- .4byte NULL
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 315
- .byte 0xae, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-PalletTown:: @ 8350618
- .4byte gMapData_PalletTown @ 0x82DD4C0
- .4byte gMapEvents_PalletTown @ 0x83B4E50
- .4byte gMapScripts_PalletTown @ 0x816545A
- .4byte gMapConnections_PalletTown @ 0x835276C
- .2byte BGM_FRLG_PALLET_TOWN
- .2byte 78
- .byte 0x58, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-ViridianCity:: @ 8350634
- .4byte gMapData_ViridianCity @ 0x82DE3E4
- .4byte gMapEvents_ViridianCity @ 0x83B4FE0
- .4byte gMapScripts_ViridianCity @ 0x81658D3
- .4byte gMapConnections_ViridianCity @ 0x8352798
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 79
- .byte 0x59, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-PewterCity:: @ 8350650
- .4byte gMapData_PewterCity @ 0x82DF308
- .4byte gMapEvents_PewterCity @ 0x83B518C
- .4byte gMapScripts_PewterCity @ 0x8165B8E
- .4byte gMapConnections_PewterCity @ 0x83527B8
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 80
- .byte 0x5a, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-CeruleanCity:: @ 835066C
- .4byte gMapData_CeruleanCity @ 0x82E022C
- .4byte gMapEvents_CeruleanCity @ 0x83B53E0
- .4byte gMapScripts_CeruleanCity @ 0x8166471
- .4byte gMapConnections_CeruleanCity @ 0x83527F0
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 81
- .byte 0x5b, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-LavenderTown:: @ 8350688
- .4byte gMapData_LavenderTown @ 0x82E0610
- .4byte gMapEvents_LavenderTown @ 0x83B549C
- .4byte gMapScripts_LavenderTown @ 0x816686B
- .4byte gMapConnections_LavenderTown @ 0x835281C
- .2byte BGM_FRLG_LAVENDER_TOWN
- .2byte 82
- .byte 0x5c, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-VermilionCity:: @ 83506A4
- .4byte gMapData_VermilionCity @ 0x82E1534
- .4byte gMapEvents_VermilionCity @ 0x83B5648
- .4byte gMapScripts_VermilionCity @ 0x81668DC
- .4byte gMapConnections_VermilionCity @ 0x835283C
- .2byte BGM_FRLG_VERMILION_CITY
- .2byte 83
- .byte 0x5d, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-CeladonCity:: @ 83506C0
- .4byte gMapData_CeladonCity @ 0x82E2818
- .4byte gMapEvents_CeladonCity @ 0x83B5898
- .4byte gMapScripts_CeladonCity @ 0x8166C8F
- .4byte gMapConnections_CeladonCity @ 0x835285C
- .2byte BGM_FRLG_CELADON_CITY
- .2byte 84
- .byte 0x5e, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-FuchsiaCity:: @ 83506DC
- .4byte gMapData_FuchsiaCity @ 0x82E373C
- .4byte gMapEvents_FuchsiaCity @ 0x83B5B14
- .4byte gMapScripts_FuchsiaCity @ 0x8166D75
- .4byte gMapConnections_FuchsiaCity @ 0x8352888
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 85
- .byte 0x5f, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-CinnabarIsland:: @ 83506F8
- .4byte gMapData_CinnabarIsland @ 0x82E3B20
- .4byte gMapEvents_CinnabarIsland @ 0x83B5BF0
- .4byte gMapScripts_CinnabarIsland @ 0x8166ED6
- .4byte gMapConnections_CinnabarIsland @ 0x83528A8
- .2byte BGM_FRLG_CINNABAR_ISLAND
- .2byte 86
- .byte 0x60, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-IndigoPlateau_Exterior:: @ 8350714
- .4byte gMapData_IndigoPlateau_Exterior @ 0x82E3F04
- .4byte gMapEvents_IndigoPlateau_Exterior @ 0x83B5C3C
- .4byte gMapScripts_IndigoPlateau_Exterior @ 0x816723B
- .4byte gMapConnections_IndigoPlateau_Exterior @ 0x83528BC
- .2byte BGM_FRLG_INDIGO_PLATEAU
- .2byte 87
- .byte 0x61, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-SaffronCity_Duplicate:: @ 8350730
- .4byte gMapData_SaffronCity_Duplicate @ 0x831E8D4
- .4byte gMapEvents_SaffronCity_Duplicate @ 0x83B5E9C
- .4byte gMapScripts_SaffronCity_Duplicate @ 0x816735F
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 207
- .byte 0x62, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-SaffronCity:: @ 835074C
- .4byte gMapData_SaffronCity @ 0x82E4E28
- .4byte gMapEvents_SaffronCity @ 0x83B5EB0
- .4byte gMapScripts_SaffronCity @ 0x8167483
- .4byte gMapConnections_SaffronCity @ 0x835292C
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 88
- .byte 0x62, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-OneIsland:: @ 8350768
- .4byte gMapData_OneIsland @ 0x8321714
- .4byte gMapEvents_OneIsland @ 0x83B5F44
- .4byte gMapScripts_OneIsland @ 0x8167484
- .4byte gMapConnections_OneIsland @ 0x835294C
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 230
- .byte 0x8f, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-TwoIsland:: @ 8350784
- .4byte gMapData_TwoIsland @ 0x8321EB8
- .4byte gMapEvents_TwoIsland @ 0x83B6074
- .4byte gMapScripts_TwoIsland @ 0x8167564
- .4byte gMapConnections_TwoIsland @ 0x8352960
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 231
- .byte 0x90, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-ThreeIsland:: @ 83507A0
- .4byte gMapData_ThreeIsland @ 0x832265C
- .4byte gMapEvents_ThreeIsland @ 0x83B62C8
- .4byte gMapScripts_ThreeIsland @ 0x81677AD
- .4byte gMapConnections_ThreeIsland @ 0x8352980
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 232
- .byte 0x91, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-FourIsland:: @ 83507BC
- .4byte gMapData_FourIsland @ 0x8323580
- .4byte gMapEvents_FourIsland @ 0x83B646C
- .4byte gMapScripts_FourIsland @ 0x8167CAE
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_FOUR
- .2byte 233
- .byte 0x92, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-FiveIsland:: @ 83507D8
- .4byte gMapData_FiveIsland @ 0x8323964
- .4byte gMapEvents_FiveIsland @ 0x83B64F4
- .4byte gMapScripts_FiveIsland @ 0x8167E8E
- .4byte gMapConnections_FiveIsland @ 0x83529A0
- .2byte BGM_FRLG_ISLAND_FOUR
- .2byte 234
- .byte 0x93, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-SevenIsland:: @ 83507F4
- .4byte gMapData_SevenIsland @ 0x8323D48
- .4byte gMapEvents_SevenIsland @ 0x83B657C
- .4byte gMapScripts_SevenIsland @ 0x8167EB3
- .4byte gMapConnections_SevenIsland @ 0x83529C0
- .2byte BGM_FRLG_ISLAND_SIX
- .2byte 235
- .byte 0x94, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-SixIsland:: @ 8350810
- .4byte gMapData_SixIsland @ 0x832430C
- .4byte gMapEvents_SixIsland @ 0x83B65F8
- .4byte gMapScripts_SixIsland @ 0x8167ED8
- .4byte gMapConnections_SixIsland @ 0x83529D4
- .2byte BGM_FRLG_ISLAND_SIX
- .2byte 236
- .byte 0x95, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
-
-Route1:: @ 835082C
- .4byte gMapData_Route1 @ 0x82E55CC
- .4byte gMapEvents_Route1 @ 0x83B6648
- .4byte gMapScripts_Route1 @ 0x8167EFD
- .4byte gMapConnections_Route1 @ 0x83529F4
- .2byte BGM_FRLG_ROUTE_1
- .2byte 89
- .byte 0x65, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route2:: @ 8350848
- .4byte gMapData_Route2 @ 0x82E64F0
- .4byte gMapEvents_Route2 @ 0x83B676C
- .4byte gMapScripts_Route2 @ 0x8167F64
- .4byte gMapConnections_Route2 @ 0x8352A14
- .2byte BGM_FRLG_ROUTE_1
- .2byte 90
- .byte 0x66, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route3:: @ 8350864
- .4byte gMapData_Route3 @ 0x82E7234
- .4byte gMapEvents_Route3 @ 0x83B6870
- .4byte gMapScripts_Route3 @ 0x8167F77
- .4byte gMapConnections_Route3 @ 0x8352A34
- .2byte BGM_FRLG_ROUTE_3
- .2byte 91
- .byte 0x67, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route4:: @ 8350880
- .4byte gMapData_Route4 @ 0x82E8338
- .4byte gMapEvents_Route4 @ 0x83B6980
- .4byte gMapScripts_Route4 @ 0x8167F8A
- .4byte gMapConnections_Route4 @ 0x8352A54
- .2byte BGM_FRLG_ROUTE_3
- .2byte 92
- .byte 0x68, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route5:: @ 835089C
- .4byte gMapData_Route5 @ 0x82E925C
- .4byte gMapEvents_Route5 @ 0x83B69C0
- .4byte gMapScripts_Route5 @ 0x8167FA7
- .4byte gMapConnections_Route5 @ 0x8352A74
- .2byte BGM_FRLG_ROUTE_3
- .2byte 93
- .byte 0x69, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route6:: @ 83508B8
- .4byte gMapData_Route6 @ 0x82E9A00
- .4byte gMapEvents_Route6 @ 0x83B6AA0
- .4byte gMapScripts_Route6 @ 0x8167FB1
- .4byte gMapConnections_Route6 @ 0x8352A94
- .2byte BGM_FRLG_ROUTE_3
- .2byte 94
- .byte 0x6a, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route7:: @ 83508D4
- .4byte gMapData_Route7 @ 0x82E9DE4
- .4byte gMapEvents_Route7 @ 0x83B6AF4
- .4byte gMapScripts_Route7 @ 0x8167FBB
- .4byte gMapConnections_Route7 @ 0x8352AB4
- .2byte BGM_FRLG_ROUTE_3
- .2byte 95
- .byte 0x6b, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route8:: @ 83508F0
- .4byte gMapData_Route8 @ 0x82EA948
- .4byte gMapEvents_Route8 @ 0x83B6CB0
- .4byte gMapScripts_Route8 @ 0x8167FC5
- .4byte gMapConnections_Route8 @ 0x8352AD4
- .2byte BGM_FRLG_ROUTE_3
- .2byte 96
- .byte 0x6c, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route9:: @ 835090C
- .4byte gMapData_Route9 @ 0x82EB4AC
- .4byte gMapEvents_Route9 @ 0x83B6E14
- .4byte gMapScripts_Route9 @ 0x8167FCF
- .4byte gMapConnections_Route9 @ 0x8352AF4
- .2byte BGM_FRLG_ROUTE_3
- .2byte 97
- .byte 0x6d, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route10:: @ 8350928
- .4byte gMapData_Route10 @ 0x82EC3D0
- .4byte gMapEvents_Route10 @ 0x83B6FA0
- .4byte gMapScripts_Route10 @ 0x8167FD9
- .4byte gMapConnections_Route10 @ 0x8352B14
- .2byte BGM_FRLG_ROUTE_3
- .2byte 98
- .byte 0x6e, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route11:: @ 8350944
- .4byte gMapData_Route11 @ 0x82ECF34
- .4byte gMapEvents_Route11 @ 0x83B711C
- .4byte gMapScripts_Route11 @ 0x8167FF6
- .4byte gMapConnections_Route11 @ 0x8352B34
- .2byte BGM_FRLG_ROUTE_11
- .2byte 99
- .byte 0x6f, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route12:: @ 8350960
- .4byte gMapData_Route12 @ 0x82EE5D8
- .4byte gMapEvents_Route12 @ 0x83B72DC
- .4byte gMapScripts_Route12 @ 0x8168000
- .4byte gMapConnections_Route12 @ 0x8352B60
- .2byte BGM_FRLG_ROUTE_11
- .2byte 100
- .byte 0x70, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route13:: @ 835097C
- .4byte gMapData_Route13 @ 0x82EF13C
- .4byte gMapEvents_Route13 @ 0x83B7428
- .4byte gMapScripts_Route13 @ 0x81680B5
- .4byte gMapConnections_Route13 @ 0x8352B80
- .2byte BGM_FRLG_ROUTE_11
- .2byte 101
- .byte 0x71, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route14:: @ 8350998
- .4byte gMapData_Route14 @ 0x82EFCA0
- .4byte gMapEvents_Route14 @ 0x83B75C8
- .4byte gMapScripts_Route14 @ 0x81680D1
- .4byte gMapConnections_Route14 @ 0x8352BA0
- .2byte BGM_FRLG_ROUTE_11
- .2byte 102
- .byte 0x72, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route15:: @ 83509B4
- .4byte gMapData_Route15 @ 0x82F0804
- .4byte gMapEvents_Route15 @ 0x83B7748
- .4byte gMapScripts_Route15 @ 0x81680DB
- .4byte gMapConnections_Route15 @ 0x8352BC0
- .2byte BGM_FRLG_ROUTE_11
- .2byte 103
- .byte 0x73, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route16:: @ 83509D0
- .4byte gMapData_Route16 @ 0x82F0FA8
- .4byte gMapEvents_Route16 @ 0x83B7898
- .4byte gMapScripts_Route16 @ 0x81680E5
- .4byte gMapConnections_Route16 @ 0x8352BE0
- .2byte BGM_FRLG_ROUTE_3
- .2byte 104
- .byte 0x74, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route17:: @ 83509EC
- .4byte gMapData_Route17 @ 0x82F2DCC
- .4byte gMapEvents_Route17 @ 0x83B7A20
- .4byte gMapScripts_Route17 @ 0x81681BF
- .4byte gMapConnections_Route17 @ 0x8352C00
- .2byte BGM_FRLG_ROUTE_3
- .2byte 105
- .byte 0x75, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route18:: @ 8350A08
- .4byte gMapData_Route18 @ 0x82F3750
- .4byte gMapEvents_Route18 @ 0x83B7AA4
- .4byte gMapScripts_Route18 @ 0x81681F6
- .4byte gMapConnections_Route18 @ 0x8352C20
- .2byte BGM_FRLG_ROUTE_3
- .2byte 106
- .byte 0x76, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route19:: @ 8350A24
- .4byte gMapData_Route19 @ 0x82F42B4
- .4byte gMapEvents_Route19 @ 0x83B7BE4
- .4byte gMapScripts_Route19 @ 0x8168231
- .4byte gMapConnections_Route19 @ 0x8352C40
- .2byte BGM_FRLG_ROUTE_3
- .2byte 107
- .byte 0x77, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route20:: @ 8350A40
- .4byte gMapData_Route20 @ 0x82F5598
- .4byte gMapEvents_Route20 @ 0x83B7D34
- .4byte gMapScripts_Route20 @ 0x816823B
- .4byte gMapConnections_Route20 @ 0x8352C60
- .2byte BGM_FRLG_ROUTE_3
- .2byte 108
- .byte 0x78, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route21_North:: @ 8350A5C
- .4byte gMapData_Route21_North @ 0x82F5F1C
- .4byte gMapEvents_Route21_North @ 0x83B7DE4
- .4byte gMapScripts_Route21_North @ 0x8168289
- .4byte gMapConnections_Route21_North @ 0x8352C80
- .2byte BGM_FRLG_ROUTE_3
- .2byte 109
- .byte 0x79, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route21_South:: @ 8350A78
- .4byte gMapData_Route21_South @ 0x83206C0
- .4byte gMapEvents_Route21_South @ 0x83B7E70
- .4byte gMapScripts_Route21_South @ 0x816828A
- .4byte gMapConnections_Route21_South @ 0x8352CA0
- .2byte BGM_FRLG_ROUTE_3
- .2byte 219
- .byte 0x79, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route22:: @ 8350A94
- .4byte gMapData_Route22 @ 0x82F6840
- .4byte gMapEvents_Route22 @ 0x83B7F18
- .4byte gMapScripts_Route22 @ 0x816828B
- .4byte gMapConnections_Route22 @ 0x8352CC0
- .2byte BGM_FRLG_ROUTE_3
- .2byte 110
- .byte 0x7a, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route23:: @ 8350AB0
- .4byte gMapData_Route23 @ 0x82F8664
- .4byte gMapEvents_Route23 @ 0x83B8300
- .4byte gMapScripts_Route23 @ 0x81684EB
- .4byte gMapConnections_Route23 @ 0x8352CE0
- .2byte BGM_FRLG_INDIGO_PLATEAU
- .2byte 111
- .byte 0x7b, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route24:: @ 8350ACC
- .4byte gMapData_Route24 @ 0x82F8E08
- .4byte gMapEvents_Route24 @ 0x83B8400
- .4byte gMapScripts_Route24 @ 0x816861F
- .4byte gMapConnections_Route24 @ 0x8352D00
- .2byte BGM_FRLG_ROUTE_24
- .2byte 112
- .byte 0x7c, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-Route25:: @ 8350AE8
- .4byte gMapData_Route25 @ 0x82F996C
- .4byte gMapEvents_Route25 @ 0x83B8590
- .4byte gMapScripts_Route25 @ 0x8168745
- .4byte gMapConnections_Route25 @ 0x8352D14
- .2byte BGM_FRLG_ROUTE_24
- .2byte 113
- .byte 0x7d, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-OneIsland_KindleRoad:: @ 8350B04
- .4byte gMapData_OneIsland_KindleRoad @ 0x8325D70
- .4byte gMapEvents_OneIsland_KindleRoad @ 0x83B888C
- .4byte gMapScripts_OneIsland_KindleRoad @ 0x8168758
- .4byte gMapConnections_OneIsland_KindleRoad @ 0x8352D28
- .2byte BGM_FRLG_ROUTE_3
- .2byte 237
- .byte 0x96, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-OneIsland_TreasureBeach:: @ 8350B20
- .4byte gMapData_OneIsland_TreasureBeach @ 0x8326514
- .4byte gMapEvents_OneIsland_TreasureBeach @ 0x83B8930
- .4byte gMapScripts_OneIsland_TreasureBeach @ 0x816876B
- .4byte gMapConnections_OneIsland_TreasureBeach @ 0x8352D3C
- .2byte BGM_FRLG_ROUTE_3
- .2byte 238
- .byte 0x97, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-TwoIsland_CapeBrink:: @ 8350B3C
- .4byte gMapData_TwoIsland_CapeBrink @ 0x8326CB8
- .4byte gMapEvents_TwoIsland_CapeBrink @ 0x83B8964
- .4byte gMapScripts_TwoIsland_CapeBrink @ 0x8168775
- .4byte gMapConnections_TwoIsland_CapeBrink @ 0x8352D50
- .2byte BGM_FRLG_ROUTE_3
- .2byte 239
- .byte 0x98, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-ThreeIsland_BondBridge:: @ 8350B58
- .4byte gMapData_ThreeIsland_BondBridge @ 0x8327BDC
- .4byte gMapEvents_ThreeIsland_BondBridge @ 0x83B8A9C
- .4byte gMapScripts_ThreeIsland_BondBridge @ 0x8168776
- .4byte gMapConnections_ThreeIsland_BondBridge @ 0x8352D64
- .2byte BGM_FRLG_ROUTE_3
- .2byte 240
- .byte 0x99, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-ThreeIsland_Port:: @ 8350B74
- .4byte gMapData_ThreeIsland_Port @ 0x8328380
- .4byte gMapEvents_ThreeIsland_Port @ 0x83B8B10
- .4byte gMapScripts_ThreeIsland_Port @ 0x8168789
- .4byte gMapConnections_ThreeIsland_Port @ 0x8352D78
- .2byte BGM_FRLG_ROUTE_3
- .2byte 241
- .byte 0x9a, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-UnknownMap_03_50:: @ 8350B90
- .4byte gMapData_UnknownMap_03_50 @ 0x83283A8
- .4byte gMapEvents_UnknownMap_03_50 @ 0x83B8B24
- .4byte gMapScripts_UnknownMap_03_50 @ 0x81687E0
- .4byte gMapConnections_UnknownMap_03_50 @ 0x8352D8C
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 242
- .byte 0x9b, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-UnknownMap_03_51:: @ 8350BAC
- .4byte gMapData_UnknownMap_03_51 @ 0x83283D0
- .4byte gMapEvents_UnknownMap_03_51 @ 0x83B8B38
- .4byte gMapScripts_UnknownMap_03_51 @ 0x81687E1
- .4byte gMapConnections_UnknownMap_03_51 @ 0x8352DA0
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 243
- .byte 0x9c, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-UnknownMap_03_52:: @ 8350BC8
- .4byte gMapData_UnknownMap_03_52 @ 0x8329114
- .4byte gMapEvents_UnknownMap_03_52 @ 0x83B8B4C
- .4byte gMapScripts_UnknownMap_03_52 @ 0x81687E2
- .4byte NULL
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 244
- .byte 0x9d, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-UnknownMap_03_53:: @ 8350BE4
- .4byte gMapData_UnknownMap_03_53 @ 0x8329C78
- .4byte gMapEvents_UnknownMap_03_53 @ 0x83B8B60
- .4byte gMapScripts_UnknownMap_03_53 @ 0x81687E3
- .4byte NULL
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 245
- .byte 0x9e, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-FiveIsland_ResortGorgeous:: @ 8350C00
- .4byte gMapData_FiveIsland_ResortGorgeous @ 0x832A7DC
- .4byte gMapEvents_FiveIsland_ResortGorgeous @ 0x83B8C80
- .4byte gMapScripts_FiveIsland_ResortGorgeous @ 0x81687E4
- .4byte gMapConnections_FiveIsland_ResortGorgeous @ 0x8352DB4
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 246
- .byte 0x9f, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-FiveIsland_WaterLabyrinth:: @ 8350C1C
- .4byte gMapData_FiveIsland_WaterLabyrinth @ 0x832B340
- .4byte gMapEvents_FiveIsland_WaterLabyrinth @ 0x83B8CC4
- .4byte gMapScripts_FiveIsland_WaterLabyrinth @ 0x816884D
- .4byte gMapConnections_FiveIsland_WaterLabyrinth @ 0x8352DD4
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 247
- .byte 0xa0, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-FiveIsland_Meadow:: @ 8350C38
- .4byte gMapData_FiveIsland_Meadow @ 0x832BAE4
- .4byte gMapEvents_FiveIsland_Meadow @ 0x83B8D94
- .4byte gMapScripts_FiveIsland_Meadow @ 0x8168932
- .4byte gMapConnections_FiveIsland_Meadow @ 0x8352DF4
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 248
- .byte 0xa1, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-FiveIsland_MemorialPillar:: @ 8350C54
- .4byte gMapData_FiveIsland_MemorialPillar @ 0x832C648
- .4byte gMapEvents_FiveIsland_MemorialPillar @ 0x83B8E5C
- .4byte gMapScripts_FiveIsland_MemorialPillar @ 0x81689D2
- .4byte gMapConnections_FiveIsland_MemorialPillar @ 0x8352E08
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 249
- .byte 0xa2, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SixIsland_OutcastIsland:: @ 8350C70
- .4byte gMapData_SixIsland_OutcastIsland @ 0x832D56C
- .4byte gMapEvents_SixIsland_OutcastIsland @ 0x83B8F38
- .4byte gMapScripts_SixIsland_OutcastIsland @ 0x8168B15
- .4byte gMapConnections_SixIsland_OutcastIsland @ 0x8352E1C
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 250
- .byte 0xa3, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SixIsland_GreenPath:: @ 8350C8C
- .4byte gMapData_SixIsland_GreenPath @ 0x832E0D0
- .4byte gMapEvents_SixIsland_GreenPath @ 0x83B8FA8
- .4byte gMapScripts_SixIsland_GreenPath @ 0x8168B2D
- .4byte gMapConnections_SixIsland_GreenPath @ 0x8352E3C
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 251
- .byte 0xa4, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SixIsland_WaterPath:: @ 8350CA8
- .4byte gMapData_SixIsland_WaterPath @ 0x832F3B4
- .4byte gMapEvents_SixIsland_WaterPath @ 0x83B90E0
- .4byte gMapScripts_SixIsland_WaterPath @ 0x8168B40
- .4byte gMapConnections_SixIsland_WaterPath @ 0x8352E68
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 252
- .byte 0xa5, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SixIsland_RuinValley:: @ 8350CC4
- .4byte gMapData_SixIsland_RuinValley @ 0x83302D8
- .4byte gMapEvents_SixIsland_RuinValley @ 0x83B92A0
- .4byte gMapScripts_SixIsland_RuinValley @ 0x8168B53
- .4byte gMapConnections_SixIsland_RuinValley @ 0x8352E7C
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 253
- .byte 0xa6, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SevenIsland_TrainerTower:: @ 8350CE0
- .4byte gMapData_SevenIsland_TrainerTower @ 0x833287C
- .4byte gMapEvents_SevenIsland_TrainerTower @ 0x83B9328
- .4byte gMapScripts_SevenIsland_TrainerTower @ 0x8168BD5
- .4byte gMapConnections_SevenIsland_TrainerTower @ 0x8352E90
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 254
- .byte 0xa7, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SevenIsland_SevaultCanyon_Entrance:: @ 8350CFC
- .4byte gMapData_SevenIsland_SevaultCanyon_Entrance @ 0x8333020
- .4byte gMapEvents_SevenIsland_SevaultCanyon_Entrance @ 0x83B93FC
- .4byte gMapScripts_SevenIsland_SevaultCanyon_Entrance @ 0x8168BF3
- .4byte gMapConnections_SevenIsland_SevaultCanyon_Entrance @ 0x8352EB0
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 255
- .byte 0xa8, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SevenIsland_SevaultCanyon:: @ 8350D18
- .4byte gMapData_SevenIsland_SevaultCanyon @ 0x8333F44
- .4byte gMapEvents_SevenIsland_SevaultCanyon @ 0x83B9618
- .4byte gMapScripts_SevenIsland_SevaultCanyon @ 0x8168BFD
- .4byte gMapConnections_SevenIsland_SevaultCanyon @ 0x8352ED0
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 256
- .byte 0xa9, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-SevenIsland_TanobyRuins:: @ 8350D34
- .4byte gMapData_SevenIsland_TanobyRuins @ 0x83355E8
- .4byte gMapEvents_SevenIsland_TanobyRuins @ 0x83B96F4
- .4byte gMapScripts_SevenIsland_TanobyRuins @ 0x8168C07
- .4byte gMapConnections_SevenIsland_TanobyRuins @ 0x8352EE4
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 257
- .byte 0xaa, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
-
-PalletTown_PlayersHouse_1F:: @ 8350D50
- .4byte gMapData_PalletTown_PlayersHouse_1F @ 0x82D5200
- .4byte gMapEvents_PalletTown_PlayersHouse_1F @ 0x83B974C
- .4byte gMapScripts_PalletTown_PlayersHouse_1F @ 0x8168C08
- .4byte NULL
- .2byte BGM_FRLG_PALLET_TOWN
- .2byte 1
- .byte 0x58, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-PalletTown_PlayersHouse_2F:: @ 8350D6C
- .4byte gMapData_PalletTown_PlayersHouse_2F @ 0x82D52FC
- .4byte gMapEvents_PalletTown_PlayersHouse_2F @ 0x83B978C
- .4byte gMapScripts_PalletTown_PlayersHouse_2F @ 0x8168CA3
- .4byte NULL
- .2byte BGM_FRLG_PALLET_TOWN
- .2byte 2
- .byte 0x58, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-PalletTown_GarysHouse:: @ 8350D88
- .4byte gMapData_PalletTown_GarysHouse @ 0x82D5424
- .4byte gMapEvents_PalletTown_GarysHouse @ 0x83B980C
- .4byte gMapScripts_PalletTown_GarysHouse @ 0x8168D27
- .4byte NULL
- .2byte BGM_FRLG_PALLET_TOWN
- .2byte 3
- .byte 0x58, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-PalletTown_ProfessorOaksLab:: @ 8350DA4
- .4byte gMapData_PalletTown_ProfessorOaksLab @ 0x82D5668
- .4byte gMapEvents_PalletTown_ProfessorOaksLab @ 0x83B99B8
- .4byte gMapScripts_PalletTown_ProfessorOaksLab @ 0x8168F7E
- .4byte NULL
- .2byte BGM_FRLG_OAK_LAB
- .2byte 5
- .byte 0x58, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ViridianCity_House1:: @ 8350DC0
- .4byte gMapData_ViridianCity_House1 @ 0x833AEAC
- .4byte gMapEvents_ViridianCity_House1 @ 0x83B9A38
- .4byte gMapScripts_ViridianCity_House1 @ 0x8169E9A
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 276
- .byte 0x59, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ViridianCity_Gym:: @ 8350DDC
- .4byte gMapData_ViridianCity_Gym @ 0x82D86AC
- .4byte gMapEvents_ViridianCity_Gym @ 0x83B9B78
- .4byte gMapScripts_ViridianCity_Gym @ 0x8169EC9
- .4byte NULL
- .2byte BGM_FRLG_GYM
- .2byte 37
- .byte 0x59, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
-
-ViridianCity_House2:: @ 8350DF8
- .4byte gMapData_ViridianCity_House2 @ 0x8338D20
- .4byte gMapEvents_ViridianCity_House2 @ 0x83B9C10
- .4byte gMapScripts_ViridianCity_House2 @ 0x816A07C
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 266
- .byte 0x59, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ViridianCity_Mart:: @ 8350E14
- .4byte gMapData_ViridianCity_Mart @ 0x82D5BCC
- .4byte gMapEvents_ViridianCity_Mart @ 0x83B9C84
- .4byte gMapScripts_ViridianCity_Mart @ 0x816A1D3
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 10
- .byte 0x59, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ViridianCity_PokemonCenter_1F:: @ 8350E30
- .4byte gMapData_ViridianCity_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_ViridianCity_PokemonCenter_1F @ 0x83B9D18
- .4byte gMapScripts_ViridianCity_PokemonCenter_1F @ 0x816A2C0
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x59, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ViridianCity_PokemonCenter_2F:: @ 8350E4C
- .4byte gMapData_ViridianCity_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_ViridianCity_PokemonCenter_2F @ 0x83B9DA4
- .4byte gMapScripts_ViridianCity_PokemonCenter_2F @ 0x816A2F3
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x59, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-PewterCity_Museum_1F:: @ 8350E68
- .4byte gMapData_PewterCity_Museum_1F @ 0x831A1FC
- .4byte gMapEvents_PewterCity_Museum_1F @ 0x83B9ED8
- .4byte gMapScripts_PewterCity_Museum_1F @ 0x816A31A
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 180
- .byte 0x5a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-PewterCity_Museum_2F:: @ 8350E84
- .4byte gMapData_PewterCity_Museum_2F @ 0x831A39C
- .4byte gMapEvents_PewterCity_Museum_2F @ 0x83B9FCC
- .4byte gMapScripts_PewterCity_Museum_2F @ 0x816A552
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 181
- .byte 0x5a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-PewterCity_Gym:: @ 8350EA0
- .4byte gMapData_PewterCity_Gym @ 0x82D732C
- .4byte gMapEvents_PewterCity_Gym @ 0x83BA058
- .4byte gMapScripts_PewterCity_Gym @ 0x816A592
- .4byte NULL
- .2byte BGM_FRLG_GYM
- .2byte 28
- .byte 0x5a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
-
-PewterCity_Mart:: @ 8350EBC
- .4byte gMapData_PewterCity_Mart @ 0x82D5BCC
- .4byte gMapEvents_PewterCity_Mart @ 0x83BA0CC
- .4byte gMapScripts_PewterCity_Mart @ 0x816A6CD
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 10
- .byte 0x5a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-PewterCity_House1:: @ 8350ED8
- .4byte gMapData_PewterCity_House1 @ 0x82D5840
- .4byte gMapEvents_PewterCity_House1 @ 0x83BA140
- .4byte gMapScripts_PewterCity_House1 @ 0x816A71C
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 7
- .byte 0x5a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-PewterCity_PokemonCenter_1F:: @ 8350EF4
- .4byte gMapData_PewterCity_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_PewterCity_PokemonCenter_1F @ 0x83BA21C
- .4byte gMapScripts_PewterCity_PokemonCenter_1F @ 0x816A760
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x5a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-PewterCity_PokemonCenter_2F:: @ 8350F10
- .4byte gMapData_PewterCity_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_PewterCity_PokemonCenter_2F @ 0x83BA2A8
- .4byte gMapScripts_PewterCity_PokemonCenter_2F @ 0x816A7B5
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x5a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-PewterCity_House2:: @ 8350F2C
- .4byte gMapData_PewterCity_House2 @ 0x82D5840
- .4byte gMapEvents_PewterCity_House2 @ 0x83BA304
- .4byte gMapScripts_PewterCity_House2 @ 0x816A7DC
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 7
- .byte 0x5a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeruleanCity_House1:: @ 8350F48
- .4byte gMapData_CeruleanCity_House1 @ 0x831A560
- .4byte gMapEvents_CeruleanCity_House1 @ 0x83BA350
- .4byte gMapScripts_CeruleanCity_House1 @ 0x816A7EF
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 183
- .byte 0x5b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeruleanCity_House2:: @ 8350F64
- .4byte gMapData_CeruleanCity_House2 @ 0x831A474
- .4byte gMapEvents_CeruleanCity_House2 @ 0x83BA3C0
- .4byte gMapScripts_CeruleanCity_House2 @ 0x816A975
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 182
- .byte 0x5b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeruleanCity_House3:: @ 8350F80
- .4byte gMapData_CeruleanCity_House3 @ 0x82D5754
- .4byte gMapEvents_CeruleanCity_House3 @ 0x83BA41C
- .4byte gMapScripts_CeruleanCity_House3 @ 0x816A9A7
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 6
- .byte 0x5b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeruleanCity_PokemonCenter_1F:: @ 8350F9C
- .4byte gMapData_CeruleanCity_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_CeruleanCity_PokemonCenter_1F @ 0x83BA4F8
- .4byte gMapScripts_CeruleanCity_PokemonCenter_1F @ 0x816AA2D
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x5b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeruleanCity_PokemonCenter_2F:: @ 8350FB8
- .4byte gMapData_CeruleanCity_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_CeruleanCity_PokemonCenter_2F @ 0x83BA584
- .4byte gMapScripts_CeruleanCity_PokemonCenter_2F @ 0x816AA79
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x5b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeruleanCity_Gym:: @ 8350FD4
- .4byte gMapData_CeruleanCity_Gym @ 0x82D5F84
- .4byte gMapEvents_CeruleanCity_Gym @ 0x83BA628
- .4byte gMapScripts_CeruleanCity_Gym @ 0x816AAA0
- .4byte NULL
- .2byte BGM_FRLG_GYM
- .2byte 12
- .byte 0x5b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
-
-CeruleanCity_BikeShop:: @ 8350FF0
- .4byte gMapData_CeruleanCity_BikeShop @ 0x82D6F28
- .4byte gMapEvents_CeruleanCity_BikeShop @ 0x83BA6FC
- .4byte gMapScripts_CeruleanCity_BikeShop @ 0x816ABBC
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 26
- .byte 0x5b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeruleanCity_Mart:: @ 835100C
- .4byte gMapData_CeruleanCity_Mart @ 0x82D5BCC
- .4byte gMapEvents_CeruleanCity_Mart @ 0x83BA770
- .4byte gMapScripts_CeruleanCity_Mart @ 0x816AC9D
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 10
- .byte 0x5b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeruleanCity_House4:: @ 8351028
- .4byte gMapData_CeruleanCity_House4 @ 0x82D5754
- .4byte gMapEvents_CeruleanCity_House4 @ 0x83BA7A4
- .4byte gMapScripts_CeruleanCity_House4 @ 0x816ACEE
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 6
- .byte 0x5b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeruleanCity_House5:: @ 8351044
- .4byte gMapData_CeruleanCity_House5 @ 0x8343540
- .4byte gMapEvents_CeruleanCity_House5 @ 0x83BA7E4
- .4byte gMapScripts_CeruleanCity_House5 @ 0x816AE4F
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 308
- .byte 0x5b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-LavenderTown_PokemonCenter_1F:: @ 8351060
- .4byte gMapData_LavenderTown_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_LavenderTown_PokemonCenter_1F @ 0x83BA890
- .4byte gMapScripts_LavenderTown_PokemonCenter_1F @ 0x816B0EF
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x5c, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-LavenderTown_PokemonCenter_2F:: @ 835107C
- .4byte gMapData_LavenderTown_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_LavenderTown_PokemonCenter_2F @ 0x83BA91C
- .4byte gMapScripts_LavenderTown_PokemonCenter_2F @ 0x816B122
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x5c, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-LavenderTown_VolunteerPokemonHouse:: @ 8351098
- .4byte gMapData_LavenderTown_VolunteerPokemonHouse @ 0x833ACC4
- .4byte gMapEvents_LavenderTown_VolunteerPokemonHouse @ 0x83BA9FC
- .4byte gMapScripts_LavenderTown_VolunteerPokemonHouse @ 0x816B149
- .4byte NULL
- .2byte BGM_FRLG_LAVENDER_TOWN
- .2byte 274
- .byte 0x5c, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-LavenderTown_House1:: @ 83510B4
- .4byte gMapData_LavenderTown_House1 @ 0x82D6AF0
- .4byte gMapEvents_LavenderTown_House1 @ 0x83BAA58
- .4byte gMapScripts_LavenderTown_House1 @ 0x816B232
- .4byte NULL
- .2byte BGM_FRLG_LAVENDER_TOWN
- .2byte 21
- .byte 0x5c, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-LavenderTown_House2:: @ 83510D0
- .4byte gMapData_LavenderTown_House2 @ 0x82D6AF0
- .4byte gMapEvents_LavenderTown_House2 @ 0x83BAA9C
- .4byte gMapScripts_LavenderTown_House2 @ 0x816B265
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 21
- .byte 0x5c, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-LavenderTown_Mart:: @ 83510EC
- .4byte gMapData_LavenderTown_Mart @ 0x82D5BCC
- .4byte gMapEvents_LavenderTown_Mart @ 0x83BAB28
- .4byte gMapScripts_LavenderTown_Mart @ 0x816B34F
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 10
- .byte 0x5c, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-VermilionCity_House1:: @ 8351108
- .4byte gMapData_VermilionCity_House1 @ 0x82D5754
- .4byte gMapEvents_VermilionCity_House1 @ 0x83BAB6C
- .4byte gMapScripts_VermilionCity_House1 @ 0x816B3A6
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 6
- .byte 0x5d, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-VermilionCity_PokemonCenter_1F:: @ 8351124
- .4byte gMapData_VermilionCity_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_VermilionCity_PokemonCenter_1F @ 0x83BAC48
- .4byte gMapScripts_VermilionCity_PokemonCenter_1F @ 0x816B424
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x5d, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-VermilionCity_PokemonCenter_2F:: @ 8351140
- .4byte gMapData_VermilionCity_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_VermilionCity_PokemonCenter_2F @ 0x83BACD4
- .4byte gMapScripts_VermilionCity_PokemonCenter_2F @ 0x816B457
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x5d, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-VermilionCity_PokemonFanClub:: @ 835115C
- .4byte gMapData_VermilionCity_PokemonFanClub @ 0x833ABC8
- .4byte gMapEvents_VermilionCity_PokemonFanClub @ 0x83BADA8
- .4byte gMapScripts_VermilionCity_PokemonFanClub @ 0x816B47E
- .4byte NULL
- .2byte BGM_FRLG_VERMILION_CITY
- .2byte 273
- .byte 0x5d, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-VermilionCity_House2:: @ 8351178
- .4byte gMapData_VermilionCity_House2 @ 0x82D5754
- .4byte gMapEvents_VermilionCity_House2 @ 0x83BADEC
- .4byte gMapScripts_VermilionCity_House2 @ 0x816B5D6
- .4byte NULL
- .2byte BGM_FRLG_VERMILION_CITY
- .2byte 6
- .byte 0x5d, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-VermilionCity_Mart:: @ 8351194
- .4byte gMapData_VermilionCity_Mart @ 0x82D5BCC
- .4byte gMapEvents_VermilionCity_Mart @ 0x83BAE60
- .4byte gMapScripts_VermilionCity_Mart @ 0x816B653
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 10
- .byte 0x5d, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-VermilionCity_Gym:: @ 83511B0
- .4byte gMapData_VermilionCity_Gym @ 0x82D6E28
- .4byte gMapEvents_VermilionCity_Gym @ 0x83BAFD0
- .4byte gMapScripts_VermilionCity_Gym @ 0x816B69E
- .4byte NULL
- .2byte BGM_FRLG_GYM
- .2byte 25
- .byte 0x5d, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
-
-VermilionCity_House3:: @ 83511CC
- .4byte gMapData_VermilionCity_House3 @ 0x82D5754
- .4byte gMapEvents_VermilionCity_House3 @ 0x83BB068
- .4byte gMapScripts_VermilionCity_House3 @ 0x816BAA9
- .4byte NULL
- .2byte BGM_FRLG_VERMILION_CITY
- .2byte 6
- .byte 0x5d, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_DepartmentStore_1F:: @ 83511E8
- .4byte gMapData_CeladonCity_DepartmentStore_1F @ 0x831B5FC
- .4byte gMapEvents_CeladonCity_DepartmentStore_1F @ 0x83BB0EC
- .4byte gMapScripts_CeladonCity_DepartmentStore_1F @ 0x816BAD8
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 192
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x04, 0x01, 0x00
-
-CeladonCity_DepartmentStore_2F:: @ 8351204
- .4byte gMapData_CeladonCity_DepartmentStore_2F @ 0x831B7A8
- .4byte gMapEvents_CeladonCity_DepartmentStore_2F @ 0x83BB184
- .4byte gMapScripts_CeladonCity_DepartmentStore_2F @ 0x816BAF4
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 193
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x04, 0x02, 0x00
-
-CeladonCity_DepartmentStore_3F:: @ 8351220
- .4byte gMapData_CeladonCity_DepartmentStore_3F @ 0x831B954
- .4byte gMapEvents_CeladonCity_DepartmentStore_3F @ 0x83BB2AC
- .4byte gMapScripts_CeladonCity_DepartmentStore_3F @ 0x816BB84
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 194
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x04, 0x03, 0x00
-
-CeladonCity_DepartmentStore_4F:: @ 835123C
- .4byte gMapData_CeladonCity_DepartmentStore_4F @ 0x831BB00
- .4byte gMapEvents_CeladonCity_DepartmentStore_4F @ 0x83BB32C
- .4byte gMapScripts_CeladonCity_DepartmentStore_4F @ 0x816BBEE
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 195
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x04, 0x04, 0x00
-
-CeladonCity_DepartmentStore_5F:: @ 8351258
- .4byte gMapData_CeladonCity_DepartmentStore_5F @ 0x831BCAC
- .4byte gMapEvents_CeladonCity_DepartmentStore_5F @ 0x83BB3C4
- .4byte gMapScripts_CeladonCity_DepartmentStore_5F @ 0x816BC40
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 196
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x04, 0x05, 0x00
-
-CeladonCity_DepartmentStore_Roof:: @ 8351274
- .4byte gMapData_CeladonCity_DepartmentStore_Roof @ 0x831BEE4
- .4byte gMapEvents_CeladonCity_DepartmentStore_Roof @ 0x83BB440
- .4byte gMapScripts_CeladonCity_DepartmentStore_Roof @ 0x816BCCC
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 197
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x04, 0x7f, 0x00
-
-CeladonCity_DepartmentStore_Elevator:: @ 8351290
- .4byte gMapData_CeladonCity_DepartmentStore_Elevator @ 0x8319F70
- .4byte gMapEvents_CeladonCity_DepartmentStore_Elevator @ 0x83BB47C
- .4byte gMapScripts_CeladonCity_DepartmentStore_Elevator @ 0x816C152
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 179
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_Condominiums_1F:: @ 83512AC
- .4byte gMapData_CeladonCity_Condominiums_1F @ 0x831A7DC
- .4byte gMapEvents_CeladonCity_Condominiums_1F @ 0x83BB538
- .4byte gMapScripts_CeladonCity_Condominiums_1F @ 0x816C320
- .4byte NULL
- .2byte BGM_FRLG_CELADON_CITY
- .2byte 184
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_Condominiums_2F:: @ 83512C8
- .4byte gMapData_CeladonCity_Condominiums_2F @ 0x831AA58
- .4byte gMapEvents_CeladonCity_Condominiums_2F @ 0x83BB5B4
- .4byte gMapScripts_CeladonCity_Condominiums_2F @ 0x816C3D0
- .4byte NULL
- .2byte BGM_FRLG_CELADON_CITY
- .2byte 185
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_Condominiums_3F:: @ 83512E4
- .4byte gMapData_CeladonCity_Condominiums_3F @ 0x831ACD4
- .4byte gMapEvents_CeladonCity_Condominiums_3F @ 0x83BB6A8
- .4byte gMapScripts_CeladonCity_Condominiums_3F @ 0x816C3DA
- .4byte NULL
- .2byte BGM_FRLG_CELADON_CITY
- .2byte 186
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_Condominiums_Roof:: @ 8351300
- .4byte gMapData_CeladonCity_Condominiums_Roof @ 0x831AF7C
- .4byte gMapEvents_CeladonCity_Condominiums_Roof @ 0x83BB6EC
- .4byte gMapScripts_CeladonCity_Condominiums_Roof @ 0x816C459
- .4byte NULL
- .2byte BGM_FRLG_CELADON_CITY
- .2byte 187
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_Condominiums_RoofRoom:: @ 835131C
- .4byte gMapData_CeladonCity_Condominiums_RoofRoom @ 0x831B054
- .4byte gMapEvents_CeladonCity_Condominiums_RoofRoom @ 0x83BB76C
- .4byte gMapScripts_CeladonCity_Condominiums_RoofRoom @ 0x816C463
- .4byte NULL
- .2byte BGM_FRLG_CELADON_CITY
- .2byte 188
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_PokemonCenter_1F:: @ 8351338
- .4byte gMapData_CeladonCity_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_CeladonCity_PokemonCenter_1F @ 0x83BB800
- .4byte gMapScripts_CeladonCity_PokemonCenter_1F @ 0x816C5EC
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_PokemonCenter_2F:: @ 8351354
- .4byte gMapData_CeladonCity_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_CeladonCity_PokemonCenter_2F @ 0x83BB88C
- .4byte gMapScripts_CeladonCity_PokemonCenter_2F @ 0x816C61F
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_GameCorner:: @ 8351370
- .4byte gMapData_CeladonCity_GameCorner @ 0x82D7168
- .4byte gMapEvents_CeladonCity_GameCorner @ 0x83BBB78
- .4byte gMapScripts_CeladonCity_GameCorner @ 0x816C646
- .4byte NULL
- .2byte BGM_FRLG_GAMECORNER
- .2byte 27
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_GameCorner_PrizeRoom:: @ 835138C
- .4byte gMapData_CeladonCity_GameCorner_PrizeRoom @ 0x831B12C
- .4byte gMapEvents_CeladonCity_GameCorner_PrizeRoom @ 0x83BBC1C
- .4byte gMapScripts_CeladonCity_GameCorner_PrizeRoom @ 0x816CB75
- .4byte NULL
- .2byte BGM_FRLG_CELADON_CITY
- .2byte 189
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_Gym:: @ 83513A8
- .4byte gMapData_CeladonCity_Gym @ 0x82D6370
- .4byte gMapEvents_CeladonCity_Gym @ 0x83BBD68
- .4byte gMapScripts_CeladonCity_Gym @ 0x816D060
- .4byte NULL
- .2byte BGM_FRLG_GYM
- .2byte 15
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
-
-CeladonCity_Restaurant:: @ 83513C4
- .4byte gMapData_CeladonCity_Restaurant @ 0x831B29C
- .4byte gMapEvents_CeladonCity_Restaurant @ 0x83BBE0C
- .4byte gMapScripts_CeladonCity_Restaurant @ 0x816D1EA
- .4byte NULL
- .2byte BGM_FRLG_CELADON_CITY
- .2byte 190
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_House1:: @ 83513E0
- .4byte gMapData_CeladonCity_House1 @ 0x82D6AF0
- .4byte gMapEvents_CeladonCity_House1 @ 0x83BBE80
- .4byte gMapScripts_CeladonCity_House1 @ 0x816D267
- .4byte NULL
- .2byte BGM_FRLG_CELADON_CITY
- .2byte 21
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CeladonCity_Hotel:: @ 83513FC
- .4byte gMapData_CeladonCity_Hotel @ 0x831B438
- .4byte gMapEvents_CeladonCity_Hotel @ 0x83BBF0C
- .4byte gMapScripts_CeladonCity_Hotel @ 0x816D283
- .4byte NULL
- .2byte BGM_FRLG_CELADON_CITY
- .2byte 191
- .byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FuchsiaCity_SafariZone_Entrance:: @ 8351418
- .4byte gMapData_FuchsiaCity_SafariZone_Entrance @ 0x82D8E80
- .4byte gMapEvents_FuchsiaCity_SafariZone_Entrance @ 0x83BBFA0
- .4byte gMapScripts_FuchsiaCity_SafariZone_Entrance @ 0x816D2A8
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 51
- .byte 0x5f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FuchsiaCity_Mart:: @ 8351434
- .4byte gMapData_FuchsiaCity_Mart @ 0x82D5BCC
- .4byte gMapEvents_FuchsiaCity_Mart @ 0x83BC014
- .4byte gMapScripts_FuchsiaCity_Mart @ 0x816D4E0
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 10
- .byte 0x5f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FuchsiaCity_ZooBuilding:: @ 8351450
- .4byte gMapData_FuchsiaCity_ZooBuilding @ 0x831C348
- .4byte gMapEvents_FuchsiaCity_ZooBuilding @ 0x83BC0A0
- .4byte gMapScripts_FuchsiaCity_ZooBuilding @ 0x816D528
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 200
- .byte 0x5f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FuchsiaCity_Gym:: @ 835146C
- .4byte gMapData_FuchsiaCity_Gym @ 0x82D6A04
- .4byte gMapEvents_FuchsiaCity_Gym @ 0x83BC1A4
- .4byte gMapScripts_FuchsiaCity_Gym @ 0x816D54D
- .4byte NULL
- .2byte BGM_FRLG_GYM
- .2byte 20
- .byte 0x5f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
-
-FuchsiaCity_House1:: @ 8351488
- .4byte gMapData_FuchsiaCity_House1 @ 0x82D5754
- .4byte gMapEvents_FuchsiaCity_House1 @ 0x83BC218
- .4byte gMapScripts_FuchsiaCity_House1 @ 0x816D6C5
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 6
- .byte 0x5f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FuchsiaCity_PokemonCenter_1F:: @ 83514A4
- .4byte gMapData_FuchsiaCity_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_FuchsiaCity_PokemonCenter_1F @ 0x83BC2AC
- .4byte gMapScripts_FuchsiaCity_PokemonCenter_1F @ 0x816D6F1
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x5f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FuchsiaCity_PokemonCenter_2F:: @ 83514C0
- .4byte gMapData_FuchsiaCity_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_FuchsiaCity_PokemonCenter_2F @ 0x83BC338
- .4byte gMapScripts_FuchsiaCity_PokemonCenter_2F @ 0x816D724
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x5f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FuchsiaCity_Building1:: @ 83514DC
- .4byte gMapData_FuchsiaCity_Building1 @ 0x831C48C
- .4byte gMapEvents_FuchsiaCity_Building1 @ 0x83BC3F4
- .4byte gMapScripts_FuchsiaCity_Building1 @ 0x816D74B
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 201
- .byte 0x5f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FuchsiaCity_House2:: @ 83514F8
- .4byte gMapData_FuchsiaCity_House2 @ 0x831C578
- .4byte gMapEvents_FuchsiaCity_House2 @ 0x83BC440
- .4byte gMapScripts_FuchsiaCity_House2 @ 0x816D816
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 202
- .byte 0x5f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FuchsiaCity_House3:: @ 8351514
- .4byte gMapData_FuchsiaCity_House3 @ 0x82D5754
- .4byte gMapEvents_FuchsiaCity_House3 @ 0x83BC474
- .4byte gMapScripts_FuchsiaCity_House3 @ 0x816D894
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 6
- .byte 0x5f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CinnabarIsland_Gym:: @ 8351530
- .4byte gMapData_CinnabarIsland_Gym @ 0x82D82C8
- .4byte gMapEvents_CinnabarIsland_Gym @ 0x83BC62C
- .4byte gMapScripts_CinnabarIsland_Gym @ 0x816D94B
- .4byte NULL
- .2byte BGM_FRLG_GYM
- .2byte 36
- .byte 0x60, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
-
-CinnabarIsland_PokemonLab_Entrance:: @ 835154C
- .4byte gMapData_CinnabarIsland_PokemonLab_Entrance @ 0x831C804
- .4byte gMapEvents_CinnabarIsland_PokemonLab_Entrance @ 0x83BC6B8
- .4byte gMapScripts_CinnabarIsland_PokemonLab_Entrance @ 0x816E273
- .4byte NULL
- .2byte BGM_FRLG_CINNABAR_ISLAND
- .2byte 203
- .byte 0x60, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CinnabarIsland_PokemonLab_Lounge:: @ 8351568
- .4byte gMapData_CinnabarIsland_PokemonLab_Lounge @ 0x831C974
- .4byte gMapEvents_CinnabarIsland_PokemonLab_Lounge @ 0x83BC71C
- .4byte gMapScripts_CinnabarIsland_PokemonLab_Lounge @ 0x816E2B8
- .4byte NULL
- .2byte BGM_FRLG_CINNABAR_ISLAND
- .2byte 204
- .byte 0x60, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CinnabarIsland_PokemonLab_ResearchRoom:: @ 8351584
- .4byte gMapData_CinnabarIsland_PokemonLab_ResearchRoom @ 0x831CAE4
- .4byte gMapEvents_CinnabarIsland_PokemonLab_ResearchRoom @ 0x83BC780
- .4byte gMapScripts_CinnabarIsland_PokemonLab_ResearchRoom @ 0x816E3DE
- .4byte NULL
- .2byte BGM_FRLG_CINNABAR_ISLAND
- .2byte 205
- .byte 0x60, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CinnabarIsland_PokemonLab_ExperimentRoom:: @ 83515A0
- .4byte gMapData_CinnabarIsland_PokemonLab_ExperimentRoom @ 0x831CC54
- .4byte gMapEvents_CinnabarIsland_PokemonLab_ExperimentRoom @ 0x83BC7CC
- .4byte gMapScripts_CinnabarIsland_PokemonLab_ExperimentRoom @ 0x816E400
- .4byte NULL
- .2byte BGM_FRLG_CINNABAR_ISLAND
- .2byte 206
- .byte 0x60, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CinnabarIsland_PokemonCenter_1F:: @ 83515BC
- .4byte gMapData_CinnabarIsland_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_CinnabarIsland_PokemonCenter_1F @ 0x83BC8A8
- .4byte gMapScripts_CinnabarIsland_PokemonCenter_1F @ 0x816E8D7
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x60, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CinnabarIsland_PokemonCenter_2F:: @ 83515D8
- .4byte gMapData_CinnabarIsland_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_CinnabarIsland_PokemonCenter_2F @ 0x83BC934
- .4byte gMapScripts_CinnabarIsland_PokemonCenter_2F @ 0x816E9E8
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x60, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-CinnabarIsland_Mart:: @ 83515F4
- .4byte gMapData_CinnabarIsland_Mart @ 0x82D5BCC
- .4byte gMapEvents_CinnabarIsland_Mart @ 0x83BC9A8
- .4byte gMapScripts_CinnabarIsland_Mart @ 0x816EA0F
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 10
- .byte 0x60, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-IndigoPlateau_PokemonCenter_1F:: @ 8351610
- .4byte gMapData_IndigoPlateau_PokemonCenter_1F @ 0x831F000
- .4byte gMapEvents_IndigoPlateau_PokemonCenter_1F @ 0x83BCA94
- .4byte gMapScripts_IndigoPlateau_PokemonCenter_1F @ 0x816EA5A
- .4byte NULL
- .2byte BGM_FRLG_GYM
- .2byte 212
- .byte 0x61, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
-
-IndigoPlateau_PokemonCenter_2F:: @ 835162C
- .4byte gMapData_IndigoPlateau_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_IndigoPlateau_PokemonCenter_2F @ 0x83BCB20
- .4byte gMapScripts_IndigoPlateau_PokemonCenter_2F @ 0x816EB0F
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x61, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
-
-SaffronCity_House1_1F:: @ 8351648
- .4byte gMapData_SaffronCity_House1_1F @ 0x8321004
- .4byte gMapEvents_SaffronCity_House1_1F @ 0x83BCB9C
- .4byte gMapScripts_SaffronCity_House1_1F @ 0x816EB36
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 226
- .byte 0x62, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SaffronCity_House1_2F:: @ 8351664
- .4byte gMapData_SaffronCity_House1_2F @ 0x8321100
- .4byte gMapEvents_SaffronCity_House1_2F @ 0x83BCC3C
- .4byte gMapScripts_SaffronCity_House1_2F @ 0x816EB5C
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 227
- .byte 0x62, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SaffronCity_Dojo:: @ 8351680
- .4byte gMapData_SaffronCity_Dojo @ 0x83212C4
- .4byte gMapEvents_SaffronCity_Dojo @ 0x83BCD60
- .4byte gMapScripts_SaffronCity_Dojo @ 0x816EBDB
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 228
- .byte 0x62, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SaffronCity_Gym:: @ 835169C
- .4byte gMapData_SaffronCity_Gym @ 0x82D7C44
- .4byte gMapEvents_SaffronCity_Gym @ 0x83BCF6C
- .4byte gMapScripts_SaffronCity_Gym @ 0x816EDD7
- .4byte NULL
- .2byte BGM_FRLG_GYM
- .2byte 34
- .byte 0x62, 0x00, 0x00, 0x08, 0x00, 0x01, 0x00, 0x01
-
-SaffronCity_House2:: @ 83516B8
- .4byte gMapData_SaffronCity_House2 @ 0x82D6AF0
- .4byte gMapEvents_SaffronCity_House2 @ 0x83BD004
- .4byte gMapScripts_SaffronCity_House2 @ 0x816EF73
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 21
- .byte 0x62, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SaffronCity_Mart:: @ 83516D4
- .4byte gMapData_SaffronCity_Mart @ 0x82D5BCC
- .4byte gMapEvents_SaffronCity_Mart @ 0x83BD078
- .4byte gMapScripts_SaffronCity_Mart @ 0x816EFA2
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 10
- .byte 0x62, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SaffronCity_PokemonCenter_1F:: @ 83516F0
- .4byte gMapData_SaffronCity_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_SaffronCity_PokemonCenter_1F @ 0x83BD13C
- .4byte gMapScripts_SaffronCity_PokemonCenter_1F @ 0x816EFEC
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x62, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SaffronCity_PokemonCenter_2F:: @ 835170C
- .4byte gMapData_SaffronCity_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_SaffronCity_PokemonCenter_2F @ 0x83BD1C8
- .4byte gMapScripts_SaffronCity_PokemonCenter_2F @ 0x816F037
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x62, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SaffronCity_House3:: @ 8351728
- .4byte gMapData_SaffronCity_House3 @ 0x82D6AF0
- .4byte gMapEvents_SaffronCity_House3 @ 0x83BD20C
- .4byte gMapScripts_SaffronCity_House3 @ 0x816F05E
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 21
- .byte 0x62, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SaffronCity_PokemonTrainerFanClub:: @ 8351744
- .4byte gMapData_SaffronCity_PokemonTrainerFanClub @ 0x8338A60
- .4byte gMapEvents_SaffronCity_PokemonTrainerFanClub @ 0x83BD318
- .4byte gMapScripts_SaffronCity_PokemonTrainerFanClub @ 0x816F0BF
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 263
- .byte 0x62, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route2_ViridianForest_SouthEntrance:: @ 8351760
- .4byte gMapData_Route2_ViridianForest_SouthEntrance @ 0x8320990
- .4byte gMapEvents_Route2_ViridianForest_SouthEntrance @ 0x83BD37C
- .4byte gMapScripts_Route2_ViridianForest_SouthEntrance @ 0x816F5E5
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 221
- .byte 0x66, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
-
-Route2_House:: @ 835177C
- .4byte gMapData_Route2_House @ 0x82D5840
- .4byte gMapEvents_Route2_House @ 0x83BD3D8
- .4byte gMapScripts_Route2_House @ 0x816F5F8
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 7
- .byte 0x66, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route2_EastBuilding:: @ 8351798
- .4byte gMapData_Route2_EastBuilding @ 0x8320990
- .4byte gMapEvents_Route2_EastBuilding @ 0x83BD43C
- .4byte gMapScripts_Route2_EastBuilding @ 0x816F67E
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 221
- .byte 0x66, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
-
-Route2_ViridianForest_NorthEntrance:: @ 83517B4
- .4byte gMapData_Route2_ViridianForest_NorthEntrance @ 0x8320990
- .4byte gMapEvents_Route2_ViridianForest_NorthEntrance @ 0x83BD4B8
- .4byte gMapScripts_Route2_ViridianForest_NorthEntrance @ 0x816F71D
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 221
- .byte 0x66, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
-
-Route4_PokemonCenter_1F:: @ 83517D0
- .4byte gMapData_Route4_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_Route4_PokemonCenter_1F @ 0x83BD57C
- .4byte gMapScripts_Route4_PokemonCenter_1F @ 0x816F739
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x68, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route4_PokemonCenter_2F:: @ 83517EC
- .4byte gMapData_Route4_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_Route4_PokemonCenter_2F @ 0x83BD608
- .4byte gMapScripts_Route4_PokemonCenter_2F @ 0x816F8D8
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x68, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route5_PokemonDayCare:: @ 8351808
- .4byte gMapData_Route5_PokemonDayCare @ 0x833ADC0
- .4byte gMapEvents_Route5_PokemonDayCare @ 0x83BD64C
- .4byte gMapScripts_Route5_PokemonDayCare @ 0x816F8FF
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 275
- .byte 0x69, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route5_SouthEntrance:: @ 8351824
- .4byte gMapData_Route5_SouthEntrance @ 0x831E9C0
- .4byte gMapEvents_Route5_SouthEntrance @ 0x83BD6C8
- .4byte gMapScripts_Route5_SouthEntrance @ 0x816F900
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 208
- .byte 0x69, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
-
-Route6_NorthEntrance:: @ 8351840
- .4byte gMapData_Route6_NorthEntrance @ 0x831E9C0
- .4byte gMapEvents_Route6_NorthEntrance @ 0x83BD744
- .4byte gMapScripts_Route6_NorthEntrance @ 0x816F9C6
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 208
- .byte 0x6a, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
-
-UnknownMap_18_01:: @ 835185C
- .4byte gMapData_UnknownMap_18_01 @ 0x82D5840
- .4byte gMapEvents_UnknownMap_18_01 @ 0x83BD758
- .4byte gMapScripts_UnknownMap_18_01 @ 0x816FA8C
- .4byte NULL
- .2byte BGM_FRLG_ROUTE_3
- .2byte 7
- .byte 0x6a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route7_EastEntrance:: @ 8351878
- .4byte gMapData_Route7_EastEntrance @ 0x831EAD0
- .4byte gMapEvents_Route7_EastEntrance @ 0x83BD7D4
- .4byte gMapScripts_Route7_EastEntrance @ 0x816FA8D
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 209
- .byte 0x6b, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
-
-Route8_WestEntrance:: @ 8351894
- .4byte gMapData_Route8_WestEntrance @ 0x831EAD0
- .4byte gMapEvents_Route8_WestEntrance @ 0x83BD850
- .4byte gMapScripts_Route8_WestEntrance @ 0x816FB53
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 209
- .byte 0x6c, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
-
-Route10_PokemonCenter_1F:: @ 83518B0
- .4byte gMapData_Route10_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_Route10_PokemonCenter_1F @ 0x83BD8FC
- .4byte gMapScripts_Route10_PokemonCenter_1F @ 0x816FC2F
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x6e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route10_PokemonCenter_2F:: @ 83518CC
- .4byte gMapData_Route10_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_Route10_PokemonCenter_2F @ 0x83BD988
- .4byte gMapScripts_Route10_PokemonCenter_2F @ 0x816FCFA
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x6e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route11_EastEntrance_1F:: @ 83518E8
- .4byte gMapData_Route11_EastEntrance_1F @ 0x8320E70
- .4byte gMapEvents_Route11_EastEntrance_1F @ 0x83BD9F4
- .4byte gMapScripts_Route11_EastEntrance_1F @ 0x816FD21
- .4byte NULL
- .2byte BGM_FRLG_VERMILION_CITY
- .2byte 224
- .byte 0x6f, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
-
-Route11_EastEntrance_2F:: @ 8351904
- .4byte gMapData_Route11_EastEntrance_2F @ 0x8320804
- .4byte gMapEvents_Route11_EastEntrance_2F @ 0x83BDA58
- .4byte gMapScripts_Route11_EastEntrance_2F @ 0x816FD34
- .4byte NULL
- .2byte BGM_FRLG_VERMILION_CITY
- .2byte 220
- .byte 0x6f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route12_NorthEntrance_1F:: @ 8351920
- .4byte gMapData_Route12_NorthEntrance_1F @ 0x8319DF0
- .4byte gMapEvents_Route12_NorthEntrance_1F @ 0x83BDAAC
- .4byte gMapScripts_Route12_NorthEntrance_1F @ 0x816FE6D
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 176
- .byte 0x70, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
-
-Route12_NorthEntrance_2F:: @ 835193C
- .4byte gMapData_Route12_NorthEntrance_2F @ 0x8320804
- .4byte gMapEvents_Route12_NorthEntrance_2F @ 0x83BDAF8
- .4byte gMapScripts_Route12_NorthEntrance_2F @ 0x816FE77
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 220
- .byte 0x70, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route12_FishingHouse:: @ 8351958
- .4byte gMapData_Route12_FishingHouse @ 0x82D6070
- .4byte gMapEvents_Route12_FishingHouse @ 0x83BDB48
- .4byte gMapScripts_Route12_FishingHouse @ 0x816FF0B
- .4byte NULL
- .2byte BGM_FRLG_CELADON_CITY
- .2byte 13
- .byte 0x70, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route15_WestEntrance_1F:: @ 8351974
- .4byte gMapData_Route15_WestEntrance_1F @ 0x8320E70
- .4byte gMapEvents_Route15_WestEntrance_1F @ 0x83BDB9C
- .4byte gMapScripts_Route15_WestEntrance_1F @ 0x8170088
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 224
- .byte 0x73, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
-
-Route15_WestEntrance_2F:: @ 8351990
- .4byte gMapData_Route15_WestEntrance_2F @ 0x8320804
- .4byte gMapEvents_Route15_WestEntrance_2F @ 0x83BDBE8
- .4byte gMapScripts_Route15_WestEntrance_2F @ 0x8170092
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 220
- .byte 0x73, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route16_House:: @ 83519AC
- .4byte gMapData_Route16_House @ 0x82D5754
- .4byte gMapEvents_Route16_House @ 0x83BDC44
- .4byte gMapScripts_Route16_House @ 0x817014E
- .4byte NULL
- .2byte BGM_FRLG_CELADON_CITY
- .2byte 6
- .byte 0x74, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route16_NorthEntrance_1F:: @ 83519C8
- .4byte gMapData_Route16_NorthEntrance_1F @ 0x8320D14
- .4byte gMapEvents_Route16_NorthEntrance_1F @ 0x83BDD60
- .4byte gMapScripts_Route16_NorthEntrance_1F @ 0x81701C2
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 223
- .byte 0x74, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
-
-Route16_NorthEntrance_2F:: @ 83519E4
- .4byte gMapData_Route16_NorthEntrance_2F @ 0x8320804
- .4byte gMapEvents_Route16_NorthEntrance_2F @ 0x83BDDDC
- .4byte gMapScripts_Route16_NorthEntrance_2F @ 0x81702BE
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 220
- .byte 0x74, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route18_EastEntrance_1F:: @ 8351A00
- .4byte gMapData_Route18_EastEntrance_1F @ 0x8320E70
- .4byte gMapEvents_Route18_EastEntrance_1F @ 0x83BDED0
- .4byte gMapScripts_Route18_EastEntrance_1F @ 0x8170378
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 224
- .byte 0x76, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
-
-Route18_EastEntrance_2F:: @ 8351A1C
- .4byte gMapData_Route18_EastEntrance_2F @ 0x8320804
- .4byte gMapEvents_Route18_EastEntrance_2F @ 0x83BDF1C
- .4byte gMapScripts_Route18_EastEntrance_2F @ 0x817046B
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_CITY
- .2byte 220
- .byte 0x76, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-UnusedHouse_27_00:: @ 8351A38
- .4byte gMapData_UnusedHouse_27_00 @ 0x82D5840
- .4byte gMapEvents_UnusedHouse_27_00 @ 0x83BDF30
- .4byte gMapScripts_UnusedHouse_27_00 @ 0x81704FA
- .4byte NULL
- .2byte BGM_FRLG_ROUTE_3
- .2byte 7
- .byte 0x77, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route22_NorthEntrance:: @ 8351A54
- .4byte gMapData_Route22_NorthEntrance @ 0x8320B1C
- .4byte gMapEvents_Route22_NorthEntrance @ 0x83BDF8C
- .4byte gMapScripts_Route22_NorthEntrance @ 0x81704FB
- .4byte NULL
- .2byte BGM_FRLG_VIRIDIAN_FOREST
- .2byte 222
- .byte 0x7a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-UnusedHouse_29_00:: @ 8351A70
- .4byte gMapData_UnusedHouse_29_00 @ 0x82D5840
- .4byte gMapEvents_UnusedHouse_29_00 @ 0x83BDFA0
- .4byte gMapScripts_UnusedHouse_29_00 @ 0x8170522
- .4byte NULL
- .2byte BGM_FRLG_INDIGO_PLATEAU
- .2byte 7
- .byte 0x7b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-Route25_SeaCottage:: @ 8351A8C
- .4byte gMapData_Route25_SeaCottage @ 0x8319030
- .4byte gMapEvents_Route25_SeaCottage @ 0x83BE008
- .4byte gMapScripts_Route25_SeaCottage @ 0x8170523
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 169
- .byte 0x7d, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SevenIsland_House_Room1:: @ 8351AA8
- .4byte gMapData_SevenIsland_House_Room1 @ 0x834E310
- .4byte gMapEvents_SevenIsland_House_Room1 @ 0x83BE050
- .4byte gMapScripts_SevenIsland_House_Room1 @ 0x817088A
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_SIX
- .2byte 382
- .byte 0x94, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
-
-SevenIsland_House_Room2:: @ 8351AC4
- .4byte gMapData_SevenIsland_House_Room2 @ 0x8338C48
- .4byte gMapEvents_SevenIsland_House_Room2 @ 0x83BE084
- .4byte gMapScripts_SevenIsland_House_Room2 @ 0x8170A7E
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_SIX
- .2byte 265
- .byte 0x94, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
-
-SevenIsland_Mart:: @ 8351AE0
- .4byte gMapData_SevenIsland_Mart @ 0x82D5BCC
- .4byte gMapEvents_SevenIsland_Mart @ 0x83BE100
- .4byte gMapScripts_SevenIsland_Mart @ 0x8170B30
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 10
- .byte 0x94, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SevenIsland_PokemonCenter_1F:: @ 8351AFC
- .4byte gMapData_SevenIsland_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_SevenIsland_PokemonCenter_1F @ 0x83BE1B4
- .4byte gMapScripts_SevenIsland_PokemonCenter_1F @ 0x8170B89
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x94, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SevenIsland_PokemonCenter_2F:: @ 8351B18
- .4byte gMapData_SevenIsland_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_SevenIsland_PokemonCenter_2F @ 0x83BE240
- .4byte gMapScripts_SevenIsland_PokemonCenter_2F @ 0x8170BBC
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x94, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-UnusedHouse_31_05:: @ 8351B34
- .4byte gMapData_UnusedHouse_31_05 @ 0x82D6070
- .4byte gMapEvents_UnusedHouse_31_05 @ 0x83BE254
- .4byte gMapScripts_UnusedHouse_31_05 @ 0x8170BE3
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_SIX
- .2byte 13
- .byte 0x94, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SevenIsland_Harbor:: @ 8351B50
- .4byte gMapData_SevenIsland_Harbor @ 0x8343FB8
- .4byte gMapEvents_SevenIsland_Harbor @ 0x83BE2A0
- .4byte gMapScripts_SevenIsland_Harbor @ 0x8170BE4
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_SIX
- .2byte 315
- .byte 0x94, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-OneIsland_PokemonCenter_1F:: @ 8351B6C
- .4byte gMapData_OneIsland_PokemonCenter_1F @ 0x833A970
- .4byte gMapEvents_OneIsland_PokemonCenter_1F @ 0x83BE400
- .4byte gMapScripts_OneIsland_PokemonCenter_1F @ 0x8170BF8
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_NETWORK_CENTER
- .2byte 271
- .byte 0x8f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-OneIsland_PokemonCenter_2F:: @ 8351B88
- .4byte gMapData_OneIsland_PokemonCenter_2F @ 0x8344108
- .4byte gMapEvents_OneIsland_PokemonCenter_2F @ 0x83BE48C
- .4byte gMapScripts_OneIsland_PokemonCenter_2F @ 0x8171334
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_NETWORK_CENTER
- .2byte 316
- .byte 0x8f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-OneIsland_House1:: @ 8351BA4
- .4byte gMapData_OneIsland_House1 @ 0x82D5CB8
- .4byte gMapEvents_OneIsland_House1 @ 0x83BE4D8
- .4byte gMapScripts_OneIsland_House1 @ 0x817135B
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 11
- .byte 0x8f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-OneIsland_House2:: @ 8351BC0
- .4byte gMapData_OneIsland_House2 @ 0x82D5CB8
- .4byte gMapEvents_OneIsland_House2 @ 0x83BE50C
- .4byte gMapScripts_OneIsland_House2 @ 0x817136E
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 11
- .byte 0x8f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-OneIsland_Harbor:: @ 8351BDC
- .4byte gMapData_OneIsland_Harbor @ 0x8343FB8
- .4byte gMapEvents_OneIsland_Harbor @ 0x83BE558
- .4byte gMapScripts_OneIsland_Harbor @ 0x8171378
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 315
- .byte 0x8f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-TwoIsland_JoyfulGameCorner:: @ 8351BF8
- .4byte gMapData_TwoIsland_JoyfulGameCorner @ 0x833AA84
- .4byte gMapEvents_TwoIsland_JoyfulGameCorner @ 0x83BE5EC
- .4byte gMapScripts_TwoIsland_JoyfulGameCorner @ 0x81713D0
- .4byte NULL
- .2byte BGM_FRLG_GAMECORNER
- .2byte 272
- .byte 0x90, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-TwoIsland_House:: @ 8351C14
- .4byte gMapData_TwoIsland_House @ 0x82D5CB8
- .4byte gMapEvents_TwoIsland_House @ 0x83BE620
- .4byte gMapScripts_TwoIsland_House @ 0x8171618
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 11
- .byte 0x90, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-TwoIsland_PokemonCenter_1F:: @ 8351C30
- .4byte gMapData_TwoIsland_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_TwoIsland_PokemonCenter_1F @ 0x83BE68C
- .4byte gMapScripts_TwoIsland_PokemonCenter_1F @ 0x81717B4
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x90, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-TwoIsland_PokemonCenter_2F:: @ 8351C4C
- .4byte gMapData_TwoIsland_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_TwoIsland_PokemonCenter_2F @ 0x83BE718
- .4byte gMapScripts_TwoIsland_PokemonCenter_2F @ 0x81717DE
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x90, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-TwoIsland_Harbor:: @ 8351C68
- .4byte gMapData_TwoIsland_Harbor @ 0x8343FB8
- .4byte gMapEvents_TwoIsland_Harbor @ 0x83BE764
- .4byte gMapScripts_TwoIsland_Harbor @ 0x8171805
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 315
- .byte 0x90, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ThreeIsland_House1:: @ 8351C84
- .4byte gMapData_ThreeIsland_House1 @ 0x82D7504
- .4byte gMapEvents_ThreeIsland_House1 @ 0x83BE7A4
- .4byte gMapScripts_ThreeIsland_House1 @ 0x8171819
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 31
- .byte 0x91, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ThreeIsland_PokemonCenter_1F:: @ 8351CA0
- .4byte gMapData_ThreeIsland_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_ThreeIsland_PokemonCenter_1F @ 0x83BE828
- .4byte gMapScripts_ThreeIsland_PokemonCenter_1F @ 0x8171832
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x91, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ThreeIsland_PokemonCenter_2F:: @ 8351CBC
- .4byte gMapData_ThreeIsland_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_ThreeIsland_PokemonCenter_2F @ 0x83BE8B4
- .4byte gMapScripts_ThreeIsland_PokemonCenter_2F @ 0x8171865
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x91, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ThreeIsland_Mart:: @ 8351CD8
- .4byte gMapData_ThreeIsland_Mart @ 0x82D5BCC
- .4byte gMapEvents_ThreeIsland_Mart @ 0x83BE930
- .4byte gMapScripts_ThreeIsland_Mart @ 0x817188C
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 10
- .byte 0x91, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ThreeIsland_House2:: @ 8351CF4
- .4byte gMapData_ThreeIsland_House2 @ 0x82D5CB8
- .4byte gMapEvents_ThreeIsland_House2 @ 0x83BE97C
- .4byte gMapScripts_ThreeIsland_House2 @ 0x81718DF
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 11
- .byte 0x91, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ThreeIsland_House3:: @ 8351D10
- .4byte gMapData_ThreeIsland_House3 @ 0x82D5CB8
- .4byte gMapEvents_ThreeIsland_House3 @ 0x83BE9B0
- .4byte gMapScripts_ThreeIsland_House3 @ 0x8171902
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 11
- .byte 0x91, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ThreeIsland_House4:: @ 8351D2C
- .4byte gMapData_ThreeIsland_House4 @ 0x82D5CB8
- .4byte gMapEvents_ThreeIsland_House4 @ 0x83BE9FC
- .4byte gMapScripts_ThreeIsland_House4 @ 0x817190C
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 11
- .byte 0x91, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ThreeIsland_House5:: @ 8351D48
- .4byte gMapData_ThreeIsland_House5 @ 0x82D5CB8
- .4byte gMapEvents_ThreeIsland_House5 @ 0x83BEA30
- .4byte gMapScripts_ThreeIsland_House5 @ 0x817191F
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 11
- .byte 0x91, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FourIsland_PokemonDayCare:: @ 8351D64
- .4byte gMapData_FourIsland_PokemonDayCare @ 0x833AFA8
- .4byte gMapEvents_FourIsland_PokemonDayCare @ 0x83BEA64
- .4byte gMapScripts_FourIsland_PokemonDayCare @ 0x817193F
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_FOUR
- .2byte 277
- .byte 0x92, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FourIsland_PokemonCenter_1F:: @ 8351D80
- .4byte gMapData_FourIsland_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_FourIsland_PokemonCenter_1F @ 0x83BEB00
- .4byte gMapScripts_FourIsland_PokemonCenter_1F @ 0x8171BEA
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x92, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FourIsland_PokemonCenter_2F:: @ 8351D9C
- .4byte gMapData_FourIsland_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_FourIsland_PokemonCenter_2F @ 0x83BEB8C
- .4byte gMapScripts_FourIsland_PokemonCenter_2F @ 0x8171C1D
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x92, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FourIsland_House1:: @ 8351DB8
- .4byte gMapData_FourIsland_House1 @ 0x82D5CB8
- .4byte gMapEvents_FourIsland_House1 @ 0x83BEBD8
- .4byte gMapScripts_FourIsland_House1 @ 0x8171C44
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_FOUR
- .2byte 11
- .byte 0x92, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FourIsland_LoreleisHouse:: @ 8351DD4
- .4byte gMapData_FourIsland_LoreleisHouse @ 0x82D7418
- .4byte gMapEvents_FourIsland_LoreleisHouse @ 0x83BED5C
- .4byte gMapScripts_FourIsland_LoreleisHouse @ 0x8171C4E
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_FOUR
- .2byte 30
- .byte 0x92, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FourIsland_Harbor:: @ 8351DF0
- .4byte gMapData_FourIsland_Harbor @ 0x8343FB8
- .4byte gMapEvents_FourIsland_Harbor @ 0x83BEDA8
- .4byte gMapScripts_FourIsland_Harbor @ 0x8171C98
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_FOUR
- .2byte 315
- .byte 0x92, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FourIsland_House2:: @ 8351E0C
- .4byte gMapData_FourIsland_House2 @ 0x82D5CB8
- .4byte gMapEvents_FourIsland_House2 @ 0x83BEDDC
- .4byte gMapScripts_FourIsland_House2 @ 0x8171CAC
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_FOUR
- .2byte 11
- .byte 0x92, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FourIsland_Mart:: @ 8351E28
- .4byte gMapData_FourIsland_Mart @ 0x82D5BCC
- .4byte gMapEvents_FourIsland_Mart @ 0x83BEE40
- .4byte gMapScripts_FourIsland_Mart @ 0x8171CAD
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 10
- .byte 0x92, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FiveIsland_PokemonCenter_1F:: @ 8351E44
- .4byte gMapData_FiveIsland_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_FiveIsland_PokemonCenter_1F @ 0x83BEEDC
- .4byte gMapScripts_FiveIsland_PokemonCenter_1F @ 0x8171CF1
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x93, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FiveIsland_PokemonCenter_2F:: @ 8351E60
- .4byte gMapData_FiveIsland_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_FiveIsland_PokemonCenter_2F @ 0x83BEF68
- .4byte gMapScripts_FiveIsland_PokemonCenter_2F @ 0x8171D1B
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x93, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FiveIsland_Harbor:: @ 8351E7C
- .4byte gMapData_FiveIsland_Harbor @ 0x8343FB8
- .4byte gMapEvents_FiveIsland_Harbor @ 0x83BEFB4
- .4byte gMapScripts_FiveIsland_Harbor @ 0x8171D42
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_FOUR
- .2byte 315
- .byte 0x93, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FiveIsland_House1:: @ 8351E98
- .4byte gMapData_FiveIsland_House1 @ 0x82D5CB8
- .4byte gMapEvents_FiveIsland_House1 @ 0x83BEFE8
- .4byte gMapScripts_FiveIsland_House1 @ 0x8171D56
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_FOUR
- .2byte 11
- .byte 0x93, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FiveIsland_House2:: @ 8351EB4
- .4byte gMapData_FiveIsland_House2 @ 0x82D5CB8
- .4byte gMapEvents_FiveIsland_House2 @ 0x83BF01C
- .4byte gMapScripts_FiveIsland_House2 @ 0x8171D60
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_FOUR
- .2byte 11
- .byte 0x93, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SixIsland_PokemonCenter_1F:: @ 8351ED0
- .4byte gMapData_SixIsland_PokemonCenter_1F @ 0x82D5990
- .4byte gMapEvents_SixIsland_PokemonCenter_1F @ 0x83BF0A0
- .4byte gMapScripts_SixIsland_PokemonCenter_1F @ 0x8171D6A
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x95, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SixIsland_PokemonCenter_2F:: @ 8351EEC
- .4byte gMapData_SixIsland_PokemonCenter_2F @ 0x82D5AE0
- .4byte gMapEvents_SixIsland_PokemonCenter_2F @ 0x83BF12C
- .4byte gMapScripts_SixIsland_PokemonCenter_2F @ 0x8171E20
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 9
- .byte 0x95, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SixIsland_Harbor:: @ 8351F08
- .4byte gMapData_SixIsland_Harbor @ 0x8343FB8
- .4byte gMapEvents_SixIsland_Harbor @ 0x83BF178
- .4byte gMapScripts_SixIsland_Harbor @ 0x8171E47
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_SIX
- .2byte 315
- .byte 0x95, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SixIsland_House:: @ 8351F24
- .4byte gMapData_SixIsland_House @ 0x82D5CB8
- .4byte gMapEvents_SixIsland_House @ 0x83BF1AC
- .4byte gMapScripts_SixIsland_House @ 0x8171E5B
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_SIX
- .2byte 11
- .byte 0x95, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SixIsland_Mart:: @ 8351F40
- .4byte gMapData_SixIsland_Mart @ 0x82D5BCC
- .4byte gMapEvents_SixIsland_Mart @ 0x83BF210
- .4byte gMapScripts_SixIsland_Mart @ 0x8171E65
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 10
- .byte 0x95, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-ThreeIsland_Harbor:: @ 8351F5C
- .4byte gMapData_ThreeIsland_Harbor @ 0x8343FB8
- .4byte gMapEvents_ThreeIsland_Harbor @ 0x83BF25C
- .4byte gMapScripts_ThreeIsland_Harbor @ 0x8171EA9
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 315
- .byte 0x9a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-FiveIsland_ResortGorgeous_House:: @ 8351F78
- .4byte gMapData_FiveIsland_ResortGorgeous_House @ 0x82D657C
- .4byte gMapEvents_FiveIsland_ResortGorgeous_House @ 0x83BF2C0
- .4byte gMapScripts_FiveIsland_ResortGorgeous_House @ 0x8171EBD
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_FOUR
- .2byte 17
- .byte 0x9f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-TwoIsland_CapeBrink_House:: @ 8351F94
- .4byte gMapData_TwoIsland_CapeBrink_House @ 0x82D5CB8
- .4byte gMapEvents_TwoIsland_CapeBrink_House @ 0x83BF2F4
- .4byte gMapScripts_TwoIsland_CapeBrink_House @ 0x817206B
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 11
- .byte 0x98, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SixIsland_WaterPath_House1:: @ 8351FB0
- .4byte gMapData_SixIsland_WaterPath_House1 @ 0x82D6070
- .4byte gMapEvents_SixIsland_WaterPath_House1 @ 0x83BF334
- .4byte gMapScripts_SixIsland_WaterPath_House1 @ 0x817206C
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 13
- .byte 0xa5, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SixIsland_WaterPath_House2:: @ 8351FCC
- .4byte gMapData_SixIsland_WaterPath_House2 @ 0x82D5CB8
- .4byte gMapEvents_SixIsland_WaterPath_House2 @ 0x83BF368
- .4byte gMapScripts_SixIsland_WaterPath_House2 @ 0x8172178
- .4byte NULL
- .2byte BGM_FRLG_CERULEAN_CITY
- .2byte 11
- .byte 0xa5, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-SevenIsland_SevaultCanyon_House:: @ 8351FE8
- .4byte gMapData_SevenIsland_SevaultCanyon_House @ 0x82D5CB8
- .4byte gMapEvents_SevenIsland_SevaultCanyon_House @ 0x83BF3CC
- .4byte gMapScripts_SevenIsland_SevaultCanyon_House @ 0x8172182
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_SIX
- .2byte 11
- .byte 0xa9, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
-
-gMapGroup_00:: @ 8352004
- .4byte UnknownMap_00_00
- .4byte UnknownMap_00_01
- .4byte UnknownMap_00_02
- .4byte UnknownMap_00_03
- .4byte UnknownMap_00_04
-
-gMapGroup_01:: @ 8352018
- .4byte ViridianForest
- .4byte MtMoon_1F
- .4byte MtMoon_B1F
- .4byte MtMoon_B2F
- .4byte SSAnne_Exterior
- .4byte SSAnne_1F_Corridor
- .4byte SSAnne_2F_Corridor
- .4byte SSAnne_3F_Corridor
- .4byte SSAnne_B1F_Corridor
- .4byte SSAnne_Deck
- .4byte SSAnne_Kitchen
- .4byte SSAnne_CaptainsOffice
- .4byte SSAnne_1F_Room1
- .4byte SSAnne_1F_Room2
- .4byte SSAnne_1F_Room3
- .4byte SSAnne_1F_Room4
- .4byte SSAnne_1F_Room5
- .4byte SSAnne_1F_Room7
- .4byte SSAnne_2F_Room1
- .4byte SSAnne_2F_Room2
- .4byte SSAnne_2F_Room3
- .4byte SSAnne_2F_Room4
- .4byte SSAnne_2F_Room5
- .4byte SSAnne_2F_Room6
- .4byte SSAnne_B1F_Room1
- .4byte SSAnne_B1F_Room2
- .4byte SSAnne_B1F_Room3
- .4byte SSAnne_B1F_Room4
- .4byte SSAnne_B1F_Room5
- .4byte SSAnne_1F_Room6
- .4byte UndergroundPath_NorthEntrance
- .4byte UndergroundPath_NorthSouthTunnel
- .4byte UndergroundPath_SouthEntrance
- .4byte UndergroundPath_WestEntrance
- .4byte UndergroundPath_EastWestTunnel
- .4byte UndergroundPath_EastEntrance
- .4byte DiglettsCave_NorthEntrance
- .4byte DiglettsCave_B1F
- .4byte DiglettsCave_SouthEntrance
- .4byte VictoryRoad_1F
- .4byte VictoryRoad_2F
- .4byte VictoryRoad_3F
- .4byte RocketHideout_B1F
- .4byte RocketHideout_B2F
- .4byte RocketHideout_B3F
- .4byte RocketHideout_B4F
- .4byte RocketHideout_Elevator
- .4byte SilphCo_1F
- .4byte SilphCo_2F
- .4byte SilphCo_3F
- .4byte SilphCo_4F
- .4byte SilphCo_5F
- .4byte SilphCo_6F
- .4byte SilphCo_7F
- .4byte SilphCo_8F
- .4byte SilphCo_9F
- .4byte SilphCo_10F
- .4byte SilphCo_11F
- .4byte SilphCo_Elevator
- .4byte PokemonMansion_1F
- .4byte PokemonMansion_2F
- .4byte PokemonMansion_3F
- .4byte PokemonMansion_B1F
- .4byte SafariZone_Center
- .4byte SafariZone_East
- .4byte SafariZone_North
- .4byte SafariZone_West
- .4byte SafariZone_Building1
- .4byte SafariZone_Building2
- .4byte SafariZone_Building3
- .4byte SafariZone_Building4
- .4byte SafariZone_SecretHouse
- .4byte CeruleanCave_1F
- .4byte CeruleanCave_2F
- .4byte CeruleanCave_B1F
- .4byte PokemonLeague_LoreleisRoom
- .4byte PokemonLeague_BrunosRoom
- .4byte PokemonLeague_AgathasRoom
- .4byte PokemonLeague_LancesRoom
- .4byte PokemonLeague_ChampionsRoom
- .4byte PokemonLeague_HallOfFame
- .4byte RockTunnel_1F
- .4byte RockTunnel_B1F
- .4byte SeafoamIslands_1F
- .4byte SeafoamIslands_B1F
- .4byte SeafoamIslands_B2F
- .4byte SeafoamIslands_B3F
- .4byte SeafoamIslands_B4F
- .4byte PokemonTower_1F
- .4byte PokemonTower_2F
- .4byte PokemonTower_3F
- .4byte PokemonTower_4F
- .4byte PokemonTower_5F
- .4byte PokemonTower_6F
- .4byte PokemonTower_7F
- .4byte PowerPlant
- .4byte MtEmber_RubyPath_B4F
- .4byte MtEmber_Exterior
- .4byte MtEmber_SummitPath_1F
- .4byte MtEmber_SummitPath_2F
- .4byte MtEmber_SummitPath_3F
- .4byte MtEmber_Summit
- .4byte MtEmber_RubyPath_B5F
- .4byte SSAnne_Kitchen3
- .4byte MtEmber_RubyPath_B1F
- .4byte MtEmber_RubyPath_B2F
- .4byte MtEmber_RubyPath_B3F
- .4byte MtEmber_RubyPath_B1F_Stairs
- .4byte MtEmber_RubyPath_B2F_Stairs
- .4byte ThreeIsland_BerryForest
- .4byte FourIsland_IcefallCave_Entrance
- .4byte FourIsland_IcefallCave_1F
- .4byte SSAnne_CaptainsOffice2
- .4byte SSAnne_CaptainsOffice3
- .4byte SSAnne_CaptainsOffice4
- .4byte SSAnne_CaptainsOffice5
- .4byte SixIsland_DottedHole_B1F
- .4byte SixIsland_DottedHole_B2F
- .4byte SixIsland_DottedHole_B3F
- .4byte SSAnne_CaptainsOffice9
- .4byte SixIsland_DottedHole_SapphireRoom
- .4byte SSAnne_1F_Room11
- .4byte SSAnne_1F_Room12
-
-gMapGroup_02:: @ 8352204
- .4byte NavelRock_Exterior
- .4byte SevenIsland_TrainerTower_1F
- .4byte SevenIsland_TrainerTower_2F
- .4byte SevenIsland_TrainerTower_3F
- .4byte SevenIsland_TrainerTower_4F
- .4byte SevenIsland_TrainerTower_5F
- .4byte SevenIsland_TrainerTower_6F
- .4byte SevenIsland_TrainerTower_7F
- .4byte SevenIsland_TrainerTower_8F
- .4byte SevenIsland_TrainerTower_Roof
- .4byte SevenIsland_TrainerTower_Lobby
- .4byte SevenIsland_TrainerTower_Elevator
- .4byte FiveIsland_LostCave_Entrance
- .4byte FiveIsland_LostCave_Room1
- .4byte FiveIsland_LostCave_Room2
- .4byte FiveIsland_LostCave_Room3
- .4byte FiveIsland_LostCave_Room4
- .4byte FiveIsland_LostCave_Room5
- .4byte FiveIsland_LostCave_Room6
- .4byte FiveIsland_LostCave_Room7
- .4byte FiveIsland_LostCave_Room8
- .4byte FiveIsland_LostCave_Room9
- .4byte FiveIsland_LostCave_Room10
- .4byte FiveIsland_LostCave_Room11
- .4byte FiveIsland_LostCave_Room12
- .4byte FiveIsland_LostCave_Room13
- .4byte FiveIsland_LostCave_Room14
- .4byte SevenIsland_TanobyRuins_MoneanChamber
- .4byte SevenIsland_TanobyRuins_LiptooChamber
- .4byte SevenIsland_TanobyRuins_WeepthChamber
- .4byte SevenIsland_TanobyRuins_DilfordChamber
- .4byte SevenIsland_TanobyRuins_ScufibChamber
- .4byte SevenIsland_TanobyRuins_RixyChamber
- .4byte SevenIsland_TanobyRuins_ViapoisChamber
- .4byte ThreeIsland_DunsparceTunnel
- .4byte SevenIsland_SeavaultCanyon_TanobyKey
- .4byte NavelRock_1F
- .4byte NavelRock_Summit
- .4byte NavelRock_Base
- .4byte NavelRock_SummitPath_2F
- .4byte NavelRock_SummitPath_3F
- .4byte NavelRock_SummitPath_4F
- .4byte NavelRock_SummitPath_5F
- .4byte NavelRock_BasePath_B1F
- .4byte NavelRock_BasePath_B2F
- .4byte NavelRock_BasePath_B3F
- .4byte NavelRock_BasePath_B4F
- .4byte NavelRock_BasePath_B5F
- .4byte NavelRock_BasePath_B6F
- .4byte NavelRock_BasePath_B7F
- .4byte NavelRock_BasePath_B8F
- .4byte NavelRock_BasePath_B9F
- .4byte NavelRock_BasePath_B10F
- .4byte NavelRock_BasePath_B11F
- .4byte NavelRock_B1F
- .4byte NavelRock_Fork
- .4byte BirthIsland_Exterior
- .4byte OneIsland_KindleRoad_EmberSpa
- .4byte BirthIsland_Harbor
- .4byte NavelRock_Harbor
-
-gMapGroup_03:: @ 83522F4
- .4byte PalletTown
- .4byte ViridianCity
- .4byte PewterCity
- .4byte CeruleanCity
- .4byte LavenderTown
- .4byte VermilionCity
- .4byte CeladonCity
- .4byte FuchsiaCity
- .4byte CinnabarIsland
- .4byte IndigoPlateau_Exterior
- .4byte SaffronCity_Duplicate
- .4byte SaffronCity
- .4byte OneIsland
- .4byte TwoIsland
- .4byte ThreeIsland
- .4byte FourIsland
- .4byte FiveIsland
- .4byte SevenIsland
- .4byte SixIsland
- .4byte Route1
- .4byte Route2
- .4byte Route3
- .4byte Route4
- .4byte Route5
- .4byte Route6
- .4byte Route7
- .4byte Route8
- .4byte Route9
- .4byte Route10
- .4byte Route11
- .4byte Route12
- .4byte Route13
- .4byte Route14
- .4byte Route15
- .4byte Route16
- .4byte Route17
- .4byte Route18
- .4byte Route19
- .4byte Route20
- .4byte Route21_North
- .4byte Route21_South
- .4byte Route22
- .4byte Route23
- .4byte Route24
- .4byte Route25
- .4byte OneIsland_KindleRoad
- .4byte OneIsland_TreasureBeach
- .4byte TwoIsland_CapeBrink
- .4byte ThreeIsland_BondBridge
- .4byte ThreeIsland_Port
- .4byte UnknownMap_03_50
- .4byte UnknownMap_03_51
- .4byte UnknownMap_03_52
- .4byte UnknownMap_03_53
- .4byte FiveIsland_ResortGorgeous
- .4byte FiveIsland_WaterLabyrinth
- .4byte FiveIsland_Meadow
- .4byte FiveIsland_MemorialPillar
- .4byte SixIsland_OutcastIsland
- .4byte SixIsland_GreenPath
- .4byte SixIsland_WaterPath
- .4byte SixIsland_RuinValley
- .4byte SevenIsland_TrainerTower
- .4byte SevenIsland_SevaultCanyon_Entrance
- .4byte SevenIsland_SevaultCanyon
- .4byte SevenIsland_TanobyRuins
-
-gMapGroup_04:: @ 83523FC
- .4byte PalletTown_PlayersHouse_1F
- .4byte PalletTown_PlayersHouse_2F
- .4byte PalletTown_GarysHouse
- .4byte PalletTown_ProfessorOaksLab
-
-gMapGroup_05:: @ 835240C
- .4byte ViridianCity_House1
- .4byte ViridianCity_Gym
- .4byte ViridianCity_House2
- .4byte ViridianCity_Mart
- .4byte ViridianCity_PokemonCenter_1F
- .4byte ViridianCity_PokemonCenter_2F
-
-gMapGroup_06:: @ 8352424
- .4byte PewterCity_Museum_1F
- .4byte PewterCity_Museum_2F
- .4byte PewterCity_Gym
- .4byte PewterCity_Mart
- .4byte PewterCity_House1
- .4byte PewterCity_PokemonCenter_1F
- .4byte PewterCity_PokemonCenter_2F
- .4byte PewterCity_House2
-
-gMapGroup_07:: @ 8352444
- .4byte CeruleanCity_House1
- .4byte CeruleanCity_House2
- .4byte CeruleanCity_House3
- .4byte CeruleanCity_PokemonCenter_1F
- .4byte CeruleanCity_PokemonCenter_2F
- .4byte CeruleanCity_Gym
- .4byte CeruleanCity_BikeShop
- .4byte CeruleanCity_Mart
- .4byte CeruleanCity_House4
- .4byte CeruleanCity_House5
-
-gMapGroup_08:: @ 835246C
- .4byte LavenderTown_PokemonCenter_1F
- .4byte LavenderTown_PokemonCenter_2F
- .4byte LavenderTown_VolunteerPokemonHouse
- .4byte LavenderTown_House1
- .4byte LavenderTown_House2
- .4byte LavenderTown_Mart
-
-gMapGroup_09:: @ 8352484
- .4byte VermilionCity_House1
- .4byte VermilionCity_PokemonCenter_1F
- .4byte VermilionCity_PokemonCenter_2F
- .4byte VermilionCity_PokemonFanClub
- .4byte VermilionCity_House2
- .4byte VermilionCity_Mart
- .4byte VermilionCity_Gym
- .4byte VermilionCity_House3
-
-gMapGroup_10:: @ 83524A4
- .4byte CeladonCity_DepartmentStore_1F
- .4byte CeladonCity_DepartmentStore_2F
- .4byte CeladonCity_DepartmentStore_3F
- .4byte CeladonCity_DepartmentStore_4F
- .4byte CeladonCity_DepartmentStore_5F
- .4byte CeladonCity_DepartmentStore_Roof
- .4byte CeladonCity_DepartmentStore_Elevator
- .4byte CeladonCity_Condominiums_1F
- .4byte CeladonCity_Condominiums_2F
- .4byte CeladonCity_Condominiums_3F
- .4byte CeladonCity_Condominiums_Roof
- .4byte CeladonCity_Condominiums_RoofRoom
- .4byte CeladonCity_PokemonCenter_1F
- .4byte CeladonCity_PokemonCenter_2F
- .4byte CeladonCity_GameCorner
- .4byte CeladonCity_GameCorner_PrizeRoom
- .4byte CeladonCity_Gym
- .4byte CeladonCity_Restaurant
- .4byte CeladonCity_House1
- .4byte CeladonCity_Hotel
-
-gMapGroup_11:: @ 83524F4
- .4byte FuchsiaCity_SafariZone_Entrance
- .4byte FuchsiaCity_Mart
- .4byte FuchsiaCity_ZooBuilding
- .4byte FuchsiaCity_Gym
- .4byte FuchsiaCity_House1
- .4byte FuchsiaCity_PokemonCenter_1F
- .4byte FuchsiaCity_PokemonCenter_2F
- .4byte FuchsiaCity_Building1
- .4byte FuchsiaCity_House2
- .4byte FuchsiaCity_House3
-
-gMapGroup_12:: @ 835251C
- .4byte CinnabarIsland_Gym
- .4byte CinnabarIsland_PokemonLab_Entrance
- .4byte CinnabarIsland_PokemonLab_Lounge
- .4byte CinnabarIsland_PokemonLab_ResearchRoom
- .4byte CinnabarIsland_PokemonLab_ExperimentRoom
- .4byte CinnabarIsland_PokemonCenter_1F
- .4byte CinnabarIsland_PokemonCenter_2F
- .4byte CinnabarIsland_Mart
-
-gMapGroup_13:: @ 835253C
- .4byte IndigoPlateau_PokemonCenter_1F
- .4byte IndigoPlateau_PokemonCenter_2F
-
-gMapGroup_14:: @ 8352544
- .4byte SaffronCity_House1_1F
- .4byte SaffronCity_House1_2F
- .4byte SaffronCity_Dojo
- .4byte SaffronCity_Gym
- .4byte SaffronCity_House2
- .4byte SaffronCity_Mart
- .4byte SaffronCity_PokemonCenter_1F
- .4byte SaffronCity_PokemonCenter_2F
- .4byte SaffronCity_House3
- .4byte SaffronCity_PokemonTrainerFanClub
-
-gMapGroup_15:: @ 835256C
- .4byte Route2_ViridianForest_SouthEntrance
- .4byte Route2_House
- .4byte Route2_EastBuilding
- .4byte Route2_ViridianForest_NorthEntrance
-
-gMapGroup_16:: @ 835257C
- .4byte Route4_PokemonCenter_1F
- .4byte Route4_PokemonCenter_2F
-
-gMapGroup_17:: @ 8352584
- .4byte Route5_PokemonDayCare
- .4byte Route5_SouthEntrance
-
-gMapGroup_18:: @ 835258C
- .4byte Route6_NorthEntrance
- .4byte UnknownMap_18_01
-
-gMapGroup_19:: @ 8352594
- .4byte Route7_EastEntrance
-
-gMapGroup_20:: @ 8352598
- .4byte Route8_WestEntrance
-
-gMapGroup_21:: @ 835259C
- .4byte Route10_PokemonCenter_1F
- .4byte Route10_PokemonCenter_2F
-
-gMapGroup_22:: @ 83525A4
- .4byte Route11_EastEntrance_1F
- .4byte Route11_EastEntrance_2F
-
-gMapGroup_23:: @ 83525AC
- .4byte Route12_NorthEntrance_1F
- .4byte Route12_NorthEntrance_2F
- .4byte Route12_FishingHouse
-
-gMapGroup_24:: @ 83525B8
- .4byte Route15_WestEntrance_1F
- .4byte Route15_WestEntrance_2F
-
-gMapGroup_25:: @ 83525C0
- .4byte Route16_House
- .4byte Route16_NorthEntrance_1F
- .4byte Route16_NorthEntrance_2F
-
-gMapGroup_26:: @ 83525CC
- .4byte Route18_EastEntrance_1F
- .4byte Route18_EastEntrance_2F
-
-gMapGroup_27:: @ 83525D4
- .4byte UnusedHouse_27_00
-
-gMapGroup_28:: @ 83525D8
- .4byte Route22_NorthEntrance
-
-gMapGroup_29:: @ 83525DC
- .4byte UnusedHouse_29_00
-
-gMapGroup_30:: @ 83525E0
- .4byte Route25_SeaCottage
-
-gMapGroup_31:: @ 83525E4
- .4byte SevenIsland_House_Room1
- .4byte SevenIsland_House_Room2
- .4byte SevenIsland_Mart
- .4byte SevenIsland_PokemonCenter_1F
- .4byte SevenIsland_PokemonCenter_2F
- .4byte UnusedHouse_31_05
- .4byte SevenIsland_Harbor
-
-gMapGroup_32:: @ 8352600
- .4byte OneIsland_PokemonCenter_1F
- .4byte OneIsland_PokemonCenter_2F
- .4byte OneIsland_House1
- .4byte OneIsland_House2
- .4byte OneIsland_Harbor
-
-gMapGroup_33:: @ 8352614
- .4byte TwoIsland_JoyfulGameCorner
- .4byte TwoIsland_House
- .4byte TwoIsland_PokemonCenter_1F
- .4byte TwoIsland_PokemonCenter_2F
- .4byte TwoIsland_Harbor
-
-gMapGroup_34:: @ 8352628
- .4byte ThreeIsland_House1
- .4byte ThreeIsland_PokemonCenter_1F
- .4byte ThreeIsland_PokemonCenter_2F
- .4byte ThreeIsland_Mart
- .4byte ThreeIsland_House2
- .4byte ThreeIsland_House3
- .4byte ThreeIsland_House4
- .4byte ThreeIsland_House5
-
-gMapGroup_35:: @ 8352648
- .4byte FourIsland_PokemonDayCare
- .4byte FourIsland_PokemonCenter_1F
- .4byte FourIsland_PokemonCenter_2F
- .4byte FourIsland_House1
- .4byte FourIsland_LoreleisHouse
- .4byte FourIsland_Harbor
- .4byte FourIsland_House2
- .4byte FourIsland_Mart
-
-gMapGroup_36:: @ 8352668
- .4byte FiveIsland_PokemonCenter_1F
- .4byte FiveIsland_PokemonCenter_2F
- .4byte FiveIsland_Harbor
- .4byte FiveIsland_House1
- .4byte FiveIsland_House2
-
-gMapGroup_37:: @ 835267C
- .4byte SixIsland_PokemonCenter_1F
- .4byte SixIsland_PokemonCenter_2F
- .4byte SixIsland_Harbor
- .4byte SixIsland_House
- .4byte SixIsland_Mart
-
-gMapGroup_38:: @ 8352690
- .4byte ThreeIsland_Harbor
-
-gMapGroup_39:: @ 8352694
- .4byte FiveIsland_ResortGorgeous_House
-
-gMapGroup_40:: @ 8352698
- .4byte TwoIsland_CapeBrink_House
-
-gMapGroup_41:: @ 835269C
- .4byte SixIsland_WaterPath_House1
- .4byte SixIsland_WaterPath_House2
-
-gMapGroup_42:: @ 83526A4
- .4byte SevenIsland_SevaultCanyon_House
-
-gMapGroups:: @ 0x83526A8
- .4byte gMapGroup_00
- .4byte gMapGroup_01
- .4byte gMapGroup_02
- .4byte gMapGroup_03
- .4byte gMapGroup_04
- .4byte gMapGroup_05
- .4byte gMapGroup_06
- .4byte gMapGroup_07
- .4byte gMapGroup_08
- .4byte gMapGroup_09
- .4byte gMapGroup_10
- .4byte gMapGroup_11
- .4byte gMapGroup_12
- .4byte gMapGroup_13
- .4byte gMapGroup_14
- .4byte gMapGroup_15
- .4byte gMapGroup_16
- .4byte gMapGroup_17
- .4byte gMapGroup_18
- .4byte gMapGroup_19
- .4byte gMapGroup_20
- .4byte gMapGroup_21
- .4byte gMapGroup_22
- .4byte gMapGroup_23
- .4byte gMapGroup_24
- .4byte gMapGroup_25
- .4byte gMapGroup_26
- .4byte gMapGroup_27
- .4byte gMapGroup_28
- .4byte gMapGroup_29
- .4byte gMapGroup_30
- .4byte gMapGroup_31
- .4byte gMapGroup_32
- .4byte gMapGroup_33
- .4byte gMapGroup_34
- .4byte gMapGroup_35
- .4byte gMapGroup_36
- .4byte gMapGroup_37
- .4byte gMapGroup_38
- .4byte gMapGroup_39
- .4byte gMapGroup_40
- .4byte gMapGroup_41
- .4byte gMapGroup_42
diff --git a/data/maps/map_groups.json b/data/maps/map_groups.json
new file mode 100644
index 000000000..3f4e458ca
--- /dev/null
+++ b/data/maps/map_groups.json
@@ -0,0 +1,623 @@
+{
+ "group_order": [
+ "gMapGroup0",
+ "gMapGroup1",
+ "gMapGroup2",
+ "gMapGroup3",
+ "gMapGroup4",
+ "gMapGroup5",
+ "gMapGroup6",
+ "gMapGroup7",
+ "gMapGroup8",
+ "gMapGroup9",
+ "gMapGroup10",
+ "gMapGroup11",
+ "gMapGroup12",
+ "gMapGroup13",
+ "gMapGroup14",
+ "gMapGroup15",
+ "gMapGroup16",
+ "gMapGroup17",
+ "gMapGroup18",
+ "gMapGroup19",
+ "gMapGroup20",
+ "gMapGroup21",
+ "gMapGroup22",
+ "gMapGroup23",
+ "gMapGroup24",
+ "gMapGroup25",
+ "gMapGroup26",
+ "gMapGroup27",
+ "gMapGroup28",
+ "gMapGroup29",
+ "gMapGroup30",
+ "gMapGroup31",
+ "gMapGroup32",
+ "gMapGroup33",
+ "gMapGroup34",
+ "gMapGroup35",
+ "gMapGroup36",
+ "gMapGroup37",
+ "gMapGroup38",
+ "gMapGroup39",
+ "gMapGroup40",
+ "gMapGroup41",
+ "gMapGroup42"
+ ],
+ "gMapGroup0": [
+ "UnknownMap_00_00",
+ "UnknownMap_00_01",
+ "UnknownMap_00_02",
+ "UnknownMap_00_03",
+ "UnknownMap_00_04"
+ ],
+ "gMapGroup1": [
+ "ViridianForest",
+ "MtMoon_1F",
+ "MtMoon_B1F",
+ "MtMoon_B2F",
+ "SSAnne_Exterior",
+ "SSAnne_1F_Corridor",
+ "SSAnne_2F_Corridor",
+ "SSAnne_3F_Corridor",
+ "SSAnne_B1F_Corridor",
+ "SSAnne_Deck",
+ "SSAnne_Kitchen",
+ "SSAnne_CaptainsOffice",
+ "SSAnne_1F_Room1",
+ "SSAnne_1F_Room2",
+ "SSAnne_1F_Room3",
+ "SSAnne_1F_Room4",
+ "SSAnne_1F_Room5",
+ "SSAnne_1F_Room7",
+ "SSAnne_2F_Room1",
+ "SSAnne_2F_Room2",
+ "SSAnne_2F_Room3",
+ "SSAnne_2F_Room4",
+ "SSAnne_2F_Room5",
+ "SSAnne_2F_Room6",
+ "SSAnne_B1F_Room1",
+ "SSAnne_B1F_Room2",
+ "SSAnne_B1F_Room3",
+ "SSAnne_B1F_Room4",
+ "SSAnne_B1F_Room5",
+ "SSAnne_1F_Room6",
+ "UndergroundPath_NorthEntrance",
+ "UndergroundPath_NorthSouthTunnel",
+ "UndergroundPath_SouthEntrance",
+ "UndergroundPath_WestEntrance",
+ "UndergroundPath_EastWestTunnel",
+ "UndergroundPath_EastEntrance",
+ "DiglettsCave_NorthEntrance",
+ "DiglettsCave_B1F",
+ "DiglettsCave_SouthEntrance",
+ "VictoryRoad_1F",
+ "VictoryRoad_2F",
+ "VictoryRoad_3F",
+ "RocketHideout_B1F",
+ "RocketHideout_B2F",
+ "RocketHideout_B3F",
+ "RocketHideout_B4F",
+ "RocketHideout_Elevator",
+ "SilphCo_1F",
+ "SilphCo_2F",
+ "SilphCo_3F",
+ "SilphCo_4F",
+ "SilphCo_5F",
+ "SilphCo_6F",
+ "SilphCo_7F",
+ "SilphCo_8F",
+ "SilphCo_9F",
+ "SilphCo_10F",
+ "SilphCo_11F",
+ "SilphCo_Elevator",
+ "PokemonMansion_1F",
+ "PokemonMansion_2F",
+ "PokemonMansion_3F",
+ "PokemonMansion_B1F",
+ "SafariZone_Center",
+ "SafariZone_East",
+ "SafariZone_North",
+ "SafariZone_West",
+ "SafariZone_Building1",
+ "SafariZone_Building2",
+ "SafariZone_Building3",
+ "SafariZone_Building4",
+ "SafariZone_SecretHouse",
+ "CeruleanCave_1F",
+ "CeruleanCave_2F",
+ "CeruleanCave_B1F",
+ "PokemonLeague_LoreleisRoom",
+ "PokemonLeague_BrunosRoom",
+ "PokemonLeague_AgathasRoom",
+ "PokemonLeague_LancesRoom",
+ "PokemonLeague_ChampionsRoom",
+ "PokemonLeague_HallOfFame",
+ "RockTunnel_1F",
+ "RockTunnel_B1F",
+ "SeafoamIslands_1F",
+ "SeafoamIslands_B1F",
+ "SeafoamIslands_B2F",
+ "SeafoamIslands_B3F",
+ "SeafoamIslands_B4F",
+ "PokemonTower_1F",
+ "PokemonTower_2F",
+ "PokemonTower_3F",
+ "PokemonTower_4F",
+ "PokemonTower_5F",
+ "PokemonTower_6F",
+ "PokemonTower_7F",
+ "PowerPlant",
+ "MtEmber_RubyPath_B4F",
+ "MtEmber_Exterior",
+ "MtEmber_SummitPath_1F",
+ "MtEmber_SummitPath_2F",
+ "MtEmber_SummitPath_3F",
+ "MtEmber_Summit",
+ "MtEmber_RubyPath_B5F",
+ "MtEmber_RubyPath_1F",
+ "MtEmber_RubyPath_B1F",
+ "MtEmber_RubyPath_B2F",
+ "MtEmber_RubyPath_B3F",
+ "MtEmber_RubyPath_B1F_Stairs",
+ "MtEmber_RubyPath_B2F_Stairs",
+ "ThreeIsland_BerryForest",
+ "FourIsland_IcefallCave_Entrance",
+ "FourIsland_IcefallCave_1F",
+ "FourIsland_IcefallCave_B1F",
+ "FourIsland_IcefallCave_Back",
+ "FiveIsland_RocketWarehouse",
+ "SixIsland_DottedHole_1F",
+ "SixIsland_DottedHole_B1F",
+ "SixIsland_DottedHole_B2F",
+ "SixIsland_DottedHole_B3F",
+ "SixIsland_DottedHole_B4F",
+ "SixIsland_DottedHole_SapphireRoom",
+ "SixIsland_PatternBush",
+ "SixIsland_AlteringCave"
+ ],
+ "gMapGroup2": [
+ "NavelRock_Exterior",
+ "SevenIsland_TrainerTower_1F",
+ "SevenIsland_TrainerTower_2F",
+ "SevenIsland_TrainerTower_3F",
+ "SevenIsland_TrainerTower_4F",
+ "SevenIsland_TrainerTower_5F",
+ "SevenIsland_TrainerTower_6F",
+ "SevenIsland_TrainerTower_7F",
+ "SevenIsland_TrainerTower_8F",
+ "SevenIsland_TrainerTower_Roof",
+ "SevenIsland_TrainerTower_Lobby",
+ "SevenIsland_TrainerTower_Elevator",
+ "FiveIsland_LostCave_Entrance",
+ "FiveIsland_LostCave_Room1",
+ "FiveIsland_LostCave_Room2",
+ "FiveIsland_LostCave_Room3",
+ "FiveIsland_LostCave_Room4",
+ "FiveIsland_LostCave_Room5",
+ "FiveIsland_LostCave_Room6",
+ "FiveIsland_LostCave_Room7",
+ "FiveIsland_LostCave_Room8",
+ "FiveIsland_LostCave_Room9",
+ "FiveIsland_LostCave_Room10",
+ "FiveIsland_LostCave_Room11",
+ "FiveIsland_LostCave_Room12",
+ "FiveIsland_LostCave_Room13",
+ "FiveIsland_LostCave_Room14",
+ "SevenIsland_TanobyRuins_MoneanChamber",
+ "SevenIsland_TanobyRuins_LiptooChamber",
+ "SevenIsland_TanobyRuins_WeepthChamber",
+ "SevenIsland_TanobyRuins_DilfordChamber",
+ "SevenIsland_TanobyRuins_ScufibChamber",
+ "SevenIsland_TanobyRuins_RixyChamber",
+ "SevenIsland_TanobyRuins_ViapoisChamber",
+ "ThreeIsland_DunsparceTunnel",
+ "SevenIsland_SeavaultCanyon_TanobyKey",
+ "NavelRock_1F",
+ "NavelRock_Summit",
+ "NavelRock_Base",
+ "NavelRock_SummitPath_2F",
+ "NavelRock_SummitPath_3F",
+ "NavelRock_SummitPath_4F",
+ "NavelRock_SummitPath_5F",
+ "NavelRock_BasePath_B1F",
+ "NavelRock_BasePath_B2F",
+ "NavelRock_BasePath_B3F",
+ "NavelRock_BasePath_B4F",
+ "NavelRock_BasePath_B5F",
+ "NavelRock_BasePath_B6F",
+ "NavelRock_BasePath_B7F",
+ "NavelRock_BasePath_B8F",
+ "NavelRock_BasePath_B9F",
+ "NavelRock_BasePath_B10F",
+ "NavelRock_BasePath_B11F",
+ "NavelRock_B1F",
+ "NavelRock_Fork",
+ "BirthIsland_Exterior",
+ "OneIsland_KindleRoad_EmberSpa",
+ "BirthIsland_Harbor",
+ "NavelRock_Harbor"
+ ],
+ "gMapGroup3": [
+ "PalletTown",
+ "ViridianCity",
+ "PewterCity",
+ "CeruleanCity",
+ "LavenderTown",
+ "VermilionCity",
+ "CeladonCity",
+ "FuchsiaCity",
+ "CinnabarIsland",
+ "IndigoPlateau_Exterior",
+ "SaffronCity_Duplicate",
+ "SaffronCity",
+ "OneIsland",
+ "TwoIsland",
+ "ThreeIsland",
+ "FourIsland",
+ "FiveIsland",
+ "SevenIsland",
+ "SixIsland",
+ "Route1",
+ "Route2",
+ "Route3",
+ "Route4",
+ "Route5",
+ "Route6",
+ "Route7",
+ "Route8",
+ "Route9",
+ "Route10",
+ "Route11",
+ "Route12",
+ "Route13",
+ "Route14",
+ "Route15",
+ "Route16",
+ "Route17",
+ "Route18",
+ "Route19",
+ "Route20",
+ "Route21_North",
+ "Route21_South",
+ "Route22",
+ "Route23",
+ "Route24",
+ "Route25",
+ "OneIsland_KindleRoad",
+ "OneIsland_TreasureBeach",
+ "TwoIsland_CapeBrink",
+ "ThreeIsland_BondBridge",
+ "ThreeIsland_Port",
+ "UnknownMap_03_50",
+ "UnknownMap_03_51",
+ "UnknownMap_03_52",
+ "UnknownMap_03_53",
+ "FiveIsland_ResortGorgeous",
+ "FiveIsland_WaterLabyrinth",
+ "FiveIsland_Meadow",
+ "FiveIsland_MemorialPillar",
+ "SixIsland_OutcastIsland",
+ "SixIsland_GreenPath",
+ "SixIsland_WaterPath",
+ "SixIsland_RuinValley",
+ "SevenIsland_TrainerTower",
+ "SevenIsland_SevaultCanyon_Entrance",
+ "SevenIsland_SevaultCanyon",
+ "SevenIsland_TanobyRuins"
+ ],
+ "gMapGroup4": [
+ "PalletTown_PlayersHouse_1F",
+ "PalletTown_PlayersHouse_2F",
+ "PalletTown_GarysHouse",
+ "PalletTown_ProfessorOaksLab"
+ ],
+ "gMapGroup5": [
+ "ViridianCity_House1",
+ "ViridianCity_Gym",
+ "ViridianCity_House2",
+ "ViridianCity_Mart",
+ "ViridianCity_PokemonCenter_1F",
+ "ViridianCity_PokemonCenter_2F"
+ ],
+ "gMapGroup6": [
+ "PewterCity_Museum_1F",
+ "PewterCity_Museum_2F",
+ "PewterCity_Gym",
+ "PewterCity_Mart",
+ "PewterCity_House1",
+ "PewterCity_PokemonCenter_1F",
+ "PewterCity_PokemonCenter_2F",
+ "PewterCity_House2"
+ ],
+ "gMapGroup7": [
+ "CeruleanCity_House1",
+ "CeruleanCity_House2",
+ "CeruleanCity_House3",
+ "CeruleanCity_PokemonCenter_1F",
+ "CeruleanCity_PokemonCenter_2F",
+ "CeruleanCity_Gym",
+ "CeruleanCity_BikeShop",
+ "CeruleanCity_Mart",
+ "CeruleanCity_House4",
+ "CeruleanCity_House5"
+ ],
+ "gMapGroup8": [
+ "LavenderTown_PokemonCenter_1F",
+ "LavenderTown_PokemonCenter_2F",
+ "LavenderTown_VolunteerPokemonHouse",
+ "LavenderTown_House1",
+ "LavenderTown_House2",
+ "LavenderTown_Mart"
+ ],
+ "gMapGroup9": [
+ "VermilionCity_House1",
+ "VermilionCity_PokemonCenter_1F",
+ "VermilionCity_PokemonCenter_2F",
+ "VermilionCity_PokemonFanClub",
+ "VermilionCity_House2",
+ "VermilionCity_Mart",
+ "VermilionCity_Gym",
+ "VermilionCity_House3"
+ ],
+ "gMapGroup10": [
+ "CeladonCity_DepartmentStore_1F",
+ "CeladonCity_DepartmentStore_2F",
+ "CeladonCity_DepartmentStore_3F",
+ "CeladonCity_DepartmentStore_4F",
+ "CeladonCity_DepartmentStore_5F",
+ "CeladonCity_DepartmentStore_Roof",
+ "CeladonCity_DepartmentStore_Elevator",
+ "CeladonCity_Condominiums_1F",
+ "CeladonCity_Condominiums_2F",
+ "CeladonCity_Condominiums_3F",
+ "CeladonCity_Condominiums_Roof",
+ "CeladonCity_Condominiums_RoofRoom",
+ "CeladonCity_PokemonCenter_1F",
+ "CeladonCity_PokemonCenter_2F",
+ "CeladonCity_GameCorner",
+ "CeladonCity_GameCorner_PrizeRoom",
+ "CeladonCity_Gym",
+ "CeladonCity_Restaurant",
+ "CeladonCity_House1",
+ "CeladonCity_Hotel"
+ ],
+ "gMapGroup11": [
+ "FuchsiaCity_SafariZone_Entrance",
+ "FuchsiaCity_Mart",
+ "FuchsiaCity_ZooBuilding",
+ "FuchsiaCity_Gym",
+ "FuchsiaCity_House1",
+ "FuchsiaCity_PokemonCenter_1F",
+ "FuchsiaCity_PokemonCenter_2F",
+ "FuchsiaCity_Building1",
+ "FuchsiaCity_House2",
+ "FuchsiaCity_House3"
+ ],
+ "gMapGroup12": [
+ "CinnabarIsland_Gym",
+ "CinnabarIsland_PokemonLab_Entrance",
+ "CinnabarIsland_PokemonLab_Lounge",
+ "CinnabarIsland_PokemonLab_ResearchRoom",
+ "CinnabarIsland_PokemonLab_ExperimentRoom",
+ "CinnabarIsland_PokemonCenter_1F",
+ "CinnabarIsland_PokemonCenter_2F",
+ "CinnabarIsland_Mart"
+ ],
+ "gMapGroup13": [
+ "IndigoPlateau_PokemonCenter_1F",
+ "IndigoPlateau_PokemonCenter_2F"
+ ],
+ "gMapGroup14": [
+ "SaffronCity_House1_1F",
+ "SaffronCity_House1_2F",
+ "SaffronCity_Dojo",
+ "SaffronCity_Gym",
+ "SaffronCity_House2",
+ "SaffronCity_Mart",
+ "SaffronCity_PokemonCenter_1F",
+ "SaffronCity_PokemonCenter_2F",
+ "SaffronCity_House3",
+ "SaffronCity_PokemonTrainerFanClub"
+ ],
+ "gMapGroup15": [
+ "Route2_ViridianForest_SouthEntrance",
+ "Route2_House",
+ "Route2_EastBuilding",
+ "Route2_ViridianForest_NorthEntrance"
+ ],
+ "gMapGroup16": [
+ "Route4_PokemonCenter_1F",
+ "Route4_PokemonCenter_2F"
+ ],
+ "gMapGroup17": [
+ "Route5_PokemonDayCare",
+ "Route5_SouthEntrance"
+ ],
+ "gMapGroup18": [
+ "Route6_NorthEntrance",
+ "UnknownMap_18_01"
+ ],
+ "gMapGroup19": [
+ "Route7_EastEntrance"
+ ],
+ "gMapGroup20": [
+ "Route8_WestEntrance"
+ ],
+ "gMapGroup21": [
+ "Route10_PokemonCenter_1F",
+ "Route10_PokemonCenter_2F"
+ ],
+ "gMapGroup22": [
+ "Route11_EastEntrance_1F",
+ "Route11_EastEntrance_2F"
+ ],
+ "gMapGroup23": [
+ "Route12_NorthEntrance_1F",
+ "Route12_NorthEntrance_2F",
+ "Route12_FishingHouse"
+ ],
+ "gMapGroup24": [
+ "Route15_WestEntrance_1F",
+ "Route15_WestEntrance_2F"
+ ],
+ "gMapGroup25": [
+ "Route16_House",
+ "Route16_NorthEntrance_1F",
+ "Route16_NorthEntrance_2F"
+ ],
+ "gMapGroup26": [
+ "Route18_EastEntrance_1F",
+ "Route18_EastEntrance_2F"
+ ],
+ "gMapGroup27": [
+ "UnusedHouse_27_00"
+ ],
+ "gMapGroup28": [
+ "Route22_NorthEntrance"
+ ],
+ "gMapGroup29": [
+ "UnusedHouse_29_00"
+ ],
+ "gMapGroup30": [
+ "Route25_SeaCottage"
+ ],
+ "gMapGroup31": [
+ "SevenIsland_House_Room1",
+ "SevenIsland_House_Room2",
+ "SevenIsland_Mart",
+ "SevenIsland_PokemonCenter_1F",
+ "SevenIsland_PokemonCenter_2F",
+ "UnusedHouse_31_05",
+ "SevenIsland_Harbor"
+ ],
+ "gMapGroup32": [
+ "OneIsland_PokemonCenter_1F",
+ "OneIsland_PokemonCenter_2F",
+ "OneIsland_House1",
+ "OneIsland_House2",
+ "OneIsland_Harbor"
+ ],
+ "gMapGroup33": [
+ "TwoIsland_JoyfulGameCorner",
+ "TwoIsland_House",
+ "TwoIsland_PokemonCenter_1F",
+ "TwoIsland_PokemonCenter_2F",
+ "TwoIsland_Harbor"
+ ],
+ "gMapGroup34": [
+ "ThreeIsland_House1",
+ "ThreeIsland_PokemonCenter_1F",
+ "ThreeIsland_PokemonCenter_2F",
+ "ThreeIsland_Mart",
+ "ThreeIsland_House2",
+ "ThreeIsland_House3",
+ "ThreeIsland_House4",
+ "ThreeIsland_House5"
+ ],
+ "gMapGroup35": [
+ "FourIsland_PokemonDayCare",
+ "FourIsland_PokemonCenter_1F",
+ "FourIsland_PokemonCenter_2F",
+ "FourIsland_House1",
+ "FourIsland_LoreleisHouse",
+ "FourIsland_Harbor",
+ "FourIsland_House2",
+ "FourIsland_Mart"
+ ],
+ "gMapGroup36": [
+ "FiveIsland_PokemonCenter_1F",
+ "FiveIsland_PokemonCenter_2F",
+ "FiveIsland_Harbor",
+ "FiveIsland_House1",
+ "FiveIsland_House2"
+ ],
+ "gMapGroup37": [
+ "SixIsland_PokemonCenter_1F",
+ "SixIsland_PokemonCenter_2F",
+ "SixIsland_Harbor",
+ "SixIsland_House",
+ "SixIsland_Mart"
+ ],
+ "gMapGroup38": [
+ "ThreeIsland_Harbor"
+ ],
+ "gMapGroup39": [
+ "FiveIsland_ResortGorgeous_House"
+ ],
+ "gMapGroup40": [
+ "TwoIsland_CapeBrink_House"
+ ],
+ "gMapGroup41": [
+ "SixIsland_WaterPath_House1",
+ "SixIsland_WaterPath_House2"
+ ],
+ "gMapGroup42": [
+ "SevenIsland_SevaultCanyon_House"
+ ],
+ "connections_include_order": [
+ "PalletTown",
+ "ViridianCity",
+ "PewterCity",
+ "CeruleanCity",
+ "LavenderTown",
+ "VermilionCity",
+ "CeladonCity",
+ "FuchsiaCity",
+ "CinnabarIsland",
+ "IndigoPlateau_Exterior",
+ "SaffronCity_Duplicate",
+ "SaffronCity",
+ "OneIsland",
+ "TwoIsland",
+ "ThreeIsland",
+ "FiveIsland",
+ "SevenIsland",
+ "SixIsland",
+ "Route1",
+ "Route2",
+ "Route3",
+ "Route4",
+ "Route5",
+ "Route6",
+ "Route7",
+ "Route8",
+ "Route9",
+ "Route10",
+ "Route11",
+ "Route12",
+ "Route13",
+ "Route14",
+ "Route15",
+ "Route16",
+ "Route17",
+ "Route18",
+ "Route19",
+ "Route20",
+ "Route21_North",
+ "Route21_South",
+ "Route22",
+ "Route23",
+ "Route24",
+ "Route25",
+ "OneIsland_KindleRoad",
+ "OneIsland_TreasureBeach",
+ "TwoIsland_CapeBrink",
+ "ThreeIsland_BondBridge",
+ "ThreeIsland_Port",
+ "UnknownMap_03_50",
+ "UnknownMap_03_51",
+ "FiveIsland_ResortGorgeous",
+ "FiveIsland_WaterLabyrinth",
+ "FiveIsland_Meadow",
+ "FiveIsland_MemorialPillar",
+ "SixIsland_OutcastIsland",
+ "SixIsland_GreenPath",
+ "SixIsland_WaterPath",
+ "SixIsland_RuinValley",
+ "SevenIsland_TrainerTower",
+ "SevenIsland_SevaultCanyon_Entrance",
+ "SevenIsland_SevaultCanyon",
+ "SevenIsland_TanobyRuins"
+ ]
+} \ No newline at end of file
diff --git a/data/text/fame_checker.inc b/data/text/fame_checker.inc
index d73c05dbd..26cdc7660 100644
--- a/data/text/fame_checker.inc
+++ b/data/text/fame_checker.inc
@@ -1680,21 +1680,3 @@ gUnknown_81B280F:: @ 81B280F
.string "Oh, no, no can do.\p"
.string "You’re practically a living legend.\n"
.string "I have no SITCKERS left to give.$"
-
-gUnknown_81B2867:: @ 81B2867
-
-gUnknown_81B2E1C:: @ 81B2E1C
- .incbin "baserom.gba", 0x001b2867, 0x5b5
- .string "How do I do this?$"
-
-gUnknown_81B2E2E:: @ 81B2E2E
- .string "What does this term mean?$"
-
-gUnknown_81B2E48:: @ 81B2E48
- .string "About this game$"
-
-gUnknown_81B2E58:: @ 81B2E58
- .string "Type Matchup List$"
-
-gUnknown_81B2E6A:: @ 81B2E6A
- .string "EXIT$"
diff --git a/data/tilesets.s b/data/tilesets.s
new file mode 100644
index 000000000..b8b50e652
--- /dev/null
+++ b/data/tilesets.s
@@ -0,0 +1,8 @@
+ .include "asm/macros.inc"
+ .include "constants/constants.inc"
+
+ .section .rodata
+
+ .include "data/tilesets/graphics.inc"
+ .include "data/tilesets/metatiles.inc"
+ .include "data/tilesets/headers.inc"
diff --git a/data/tilesets/graphics.inc b/data/tilesets/graphics.inc
new file mode 100644
index 000000000..5cf96d65d
--- /dev/null
+++ b/data/tilesets/graphics.inc
@@ -0,0 +1,1471 @@
+ .align 2
+gTilesetTiles_826D37C:: @ 826D37C
+ .incbin "data/tilesets/secondary/82D4AAC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_826D7C0:: @ 826D7C0
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4AAC/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_826D9C0:: @ 826D9C0
+ .incbin "data/tilesets/secondary/82D4AC4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_826DFC0:: @ 826DFC0
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4AC4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_826E1C0:: @ 826E1C0
+ .incbin "data/tilesets/secondary/82D4ADC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_826EAB8:: @ 826EAB8
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4ADC/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_826ECB8:: @ 826ECB8
+ .incbin "data/tilesets/secondary/82D4AF4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_826F4B8:: @ 826F4B8
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4AF4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_826F6B8:: @ 826F6B8
+ .incbin "data/tilesets/secondary/82D4B0C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8270438:: @ 8270438
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4B0C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8270638:: @ 8270638
+ .incbin "data/tilesets/secondary/82D4B24/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8270DA0:: @ 8270DA0
+ .incbin "data/tilesets/secondary/82D4B24/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4B24/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8270FA0:: @ 8270FA0
+ .incbin "data/tilesets/secondary/82D4B3C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8271C74:: @ 8271C74
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4B3C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8271E74:: @ 8271E74
+ .incbin "data/tilesets/secondary/82D4B54/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8272A5C:: @ 8272A5C
+ .incbin "data/tilesets/secondary/82D4B54/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4B54/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8272C5C:: @ 8272C5C
+ .incbin "data/tilesets/secondary/82D4B6C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8273358:: @ 8273358
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4B6C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8273558:: @ 8273558
+ .incbin "data/tilesets/secondary/82D4B84/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_82742D0:: @ 82742D0
+ .incbin "data/tilesets/secondary/82D4B84/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4B84/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_82744D0:: @ 82744D0
+ .incbin "data/tilesets/secondary/82D4B9C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8275094:: @ 8275094
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4B9C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8275294:: @ 8275294
+ .incbin "data/tilesets/primary/82D4BB4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8277694:: @ 8277694
+ .incbin "data/tilesets/primary/82D4BB4/palettes/0.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/1.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/2.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/3.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/4.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/5.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/6.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/7.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/8.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/9.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/10.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/11.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/12.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/13.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/14.gbapal"
+ .incbin "data/tilesets/primary/82D4BB4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8277894:: @ 8277894
+ .incbin "data/tilesets/secondary/82D4BCC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8277A5C:: @ 8277A5C
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4BCC/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8277C5C:: @ 8277C5C
+ .incbin "data/tilesets/secondary/82D4BE4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8278CC4:: @ 8278CC4
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4BE4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8278EC4:: @ 8278EC4
+ .incbin "data/tilesets/secondary/82D4BFC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_827A1A8:: @ 827A1A8
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4BFC/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_827A3A8:: @ 827A3A8
+ .incbin "data/tilesets/secondary/82D4C14/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_827A3B8:: @ 827A3B8
+ .incbin "data/tilesets/secondary/82D4C14/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4C14/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_827A5B8:: @ 827A5B8
+ .incbin "data/tilesets/secondary/82D4C2C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_827AE14:: @ 827AE14
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4C2C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_827B014:: @ 827B014
+ .incbin "data/tilesets/secondary/82D4C44/tiles.4bpp"
+
+ .align 2
+gTilesetPalettes_827FF14:: @ 827FF14
+ .incbin "data/tilesets/secondary/82D4C44/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4C44/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8280114:: @ 8280114
+ .incbin "data/tilesets/secondary/82D4C5C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_82804EC:: @ 82804EC
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4C5C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_82806EC:: @ 82806EC
+ .incbin "data/tilesets/secondary/82D4C8C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8280D00:: @ 8280D00
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4C8C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8280F00:: @ 8280F00
+ .incbin "data/tilesets/secondary/82D4CD4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_82823A4:: @ 82823A4
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4CD4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_82825A4:: @ 82825A4
+ .incbin "data/tilesets/secondary/82D4CEC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8282FBC:: @ 8282FBC
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4CEC/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_82831BC:: @ 82831BC
+ .incbin "data/tilesets/secondary/82D4D04/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_82839B0:: @ 82839B0
+ .incbin "data/tilesets/secondary/82D4D04/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4D04/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8283BB0:: @ 8283BB0
+ .incbin "data/tilesets/secondary/82D4D1C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8283FF8:: @ 8283FF8
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4D1C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_82841F8:: @ 82841F8
+ .incbin "data/tilesets/secondary/82D4D34/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_82849B8:: @ 82849B8
+ .incbin "data/tilesets/secondary/82D4D34/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4D34/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8284BB8:: @ 8284BB8
+ .incbin "data/tilesets/secondary/82D4D4C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8285150:: @ 8285150
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4D4C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8285350:: @ 8285350
+ .incbin "data/tilesets/secondary/82D4CA4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_82857A4:: @ 82857A4
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4CA4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_82859A4:: @ 82859A4
+ .incbin "data/tilesets/secondary/82D4D64/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8285D90:: @ 8285D90
+ .incbin "data/tilesets/secondary/82D4D64/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4D64/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8285F90:: @ 8285F90
+ .incbin "data/tilesets/secondary/82D4D7C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_82865D4:: @ 82865D4
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4D7C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_82867D4:: @ 82867D4
+ .incbin "data/tilesets/secondary/82D4CBC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8286BC8:: @ 8286BC8
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4CBC/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8286DC8:: @ 8286DC8
+ .incbin "data/tilesets/secondary/82D4D94/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8287B80:: @ 8287B80
+ .incbin "data/tilesets/secondary/82D4D94/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4D94/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8287D80:: @ 8287D80
+ .incbin "data/tilesets/secondary/82D4DAC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8287D94:: @ 8287D94
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4DAC/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8287F94:: @ 8287F94
+ .incbin "data/tilesets/secondary/82D4DC4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8288444:: @ 8288444
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4DC4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8288644:: @ 8288644
+ .incbin "data/tilesets/secondary/82D4DDC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8288C60:: @ 8288C60
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4DDC/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8288E60:: @ 8288E60
+ .incbin "data/tilesets/secondary/82D4DF4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8289FC8:: @ 8289FC8
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4DF4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_828A1C8:: @ 828A1C8
+ .incbin "data/tilesets/secondary/82D4E0C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_828B250:: @ 828B250
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4E0C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_828B450:: @ 828B450
+ .incbin "data/tilesets/secondary/82D4E24/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_828CAA0:: @ 828CAA0
+ .incbin "data/tilesets/secondary/82D4E24/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4E24/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_828CCA0:: @ 828CCA0
+ .incbin "data/tilesets/secondary/82D4E3C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_828D2BC:: @ 828D2BC
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4E3C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_828D4BC:: @ 828D4BC
+ .incbin "data/tilesets/secondary/82D4E54/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_828E3A4:: @ 828E3A4
+ .incbin "data/tilesets/secondary/82D4E54/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4E54/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_828E5A4:: @ 828E5A4
+ .incbin "data/tilesets/secondary/82D4E84/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_828EC70:: @ 828EC70
+ .incbin "data/tilesets/secondary/82D4E84/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4E84/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_828EE70:: @ 828EE70
+ .incbin "data/tilesets/secondary/82D4E9C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_828F378:: @ 828F378
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4E9C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_828F578:: @ 828F578
+ .incbin "data/tilesets/secondary/82D4EB4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_828F9D8:: @ 828F9D8
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4EB4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_828FBD8:: @ 828FBD8
+ .incbin "data/tilesets/secondary/82D4F8C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8290DD0:: @ 8290DD0
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4F8C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8290FD0:: @ 8290FD0
+ .incbin "data/tilesets/secondary/82D4EE4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8291274:: @ 8291274
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4EE4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8291474:: @ 8291474
+ .incbin "data/tilesets/secondary/82D4EFC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8291AFC:: @ 8291AFC
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4EFC/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8291CFC:: @ 8291CFC
+ .incbin "data/tilesets/secondary/82D4F14/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_82920F0:: @ 82920F0
+ .incbin "data/tilesets/secondary/82D4F14/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4F14/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_82922F0:: @ 82922F0
+ .incbin "data/tilesets/secondary/82D4F2C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8292FF0:: @ 8292FF0
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4F2C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_82931F0:: @ 82931F0
+ .incbin "data/tilesets/secondary/82D4F44/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8293660:: @ 8293660
+ .incbin "data/tilesets/secondary/82D4F44/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4F44/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8293860:: @ 8293860
+ .incbin "data/tilesets/secondary/82D4F5C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8293B0C:: @ 8293B0C
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4F5C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8293D0C:: @ 8293D0C
+ .incbin "data/tilesets/secondary/82D4F74/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8294144:: @ 8294144
+ .incbin "data/tilesets/secondary/82D4F74/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4F74/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8294344:: @ 8294344
+ .incbin "data/tilesets/secondary/82D4FA4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8294D08:: @ 8294D08
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4FA4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8294F08:: @ 8294F08
+ .incbin "data/tilesets/secondary/82D4FBC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8294F18:: @ 8294F18
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4FBC/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8295118:: @ 8295118
+ .incbin "data/tilesets/secondary/82D4FD4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_829512C:: @ 829512C
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4FD4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_829532C:: @ 829532C
+ .incbin "data/tilesets/secondary/82D4FEC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_82967D4:: @ 82967D4
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D4FEC/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_82969D4:: @ 82969D4
+ .incbin "data/tilesets/secondary/82D5004/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8296E90:: @ 8296E90
+ .incbin "data/tilesets/secondary/82D5004/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D5004/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8297090:: @ 8297090
+ .incbin "data/tilesets/secondary/82D501C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_82983BC:: @ 82983BC
+ .incbin "data/tilesets/secondary/82D501C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D501C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_82985BC:: @ 82985BC
+ .incbin "data/tilesets/secondary/82D5034/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8298970:: @ 8298970
+ .incbin "data/tilesets/secondary/82D5034/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D5034/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8298B70:: @ 8298B70
+ .incbin "data/tilesets/secondary/82D504C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_8299AA4:: @ 8299AA4
+ .incbin "data/tilesets/secondary/82D504C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D504C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_8299CA4:: @ 8299CA4
+ .incbin "data/tilesets/secondary/82D5064/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_829AB04:: @ 829AB04
+ .incbin "data/tilesets/secondary/82D5064/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D5064/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_829AD04:: @ 829AD04
+ .incbin "data/tilesets/secondary/82D507C/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_829BD64:: @ 829BD64
+ .incbin "data/tilesets/secondary/82D507C/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D507C/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_829BF64:: @ 829BF64
+ .incbin "data/tilesets/secondary/82D5094/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_829CEE4:: @ 829CEE4
+ .incbin "data/tilesets/secondary/82D5094/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D5094/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_829D0E4:: @ 829D0E4
+ .incbin "data/tilesets/secondary/82D50AC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_829D894:: @ 829D894
+ .incbin "data/tilesets/secondary/82D50AC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D50AC/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_829DA94:: @ 829DA94
+ .incbin "data/tilesets/secondary/82D50C4/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_829EA50:: @ 829EA50
+ .incbin "data/tilesets/secondary/82D50C4/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D50C4/palettes/15.gbapal"
+
+ .align 2
+gTilesetTiles_829EC50:: @ 829EC50
+ .incbin "data/tilesets/secondary/82D50DC/tiles.4bpp.lz"
+
+ .align 2
+gTilesetPalettes_829F4C8:: @ 829F4C8
+ .incbin "data/tilesets/secondary/82D50DC/palettes/0.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/1.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/2.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/3.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/4.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/5.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/6.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/7.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/8.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/9.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/10.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/11.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/12.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/13.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/14.gbapal"
+ .incbin "data/tilesets/secondary/82D50DC/palettes/15.gbapal"
diff --git a/data/tilesets/headers.inc b/data/tilesets/headers.inc
new file mode 100644
index 000000000..d40b3a5e6
--- /dev/null
+++ b/data/tilesets/headers.inc
@@ -0,0 +1,749 @@
+
+ .align 2
+gTileset_82D4A94::
+ .byte TRUE @ is compressed
+ .byte FALSE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8EA1D68
+ .4byte gTilesetPalettes_8EA1B68
+ .4byte gMetatiles_829F6C8
+ .4byte sub_8070154
+ .4byte gMetatileAttributes_82A1EC8
+
+ .align 2
+gTileset_82D4AAC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_826D37C
+ .4byte gTilesetPalettes_826D7C0
+ .4byte gMetatiles_82A28C8
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A2E58
+
+ .align 2
+gTileset_82D4AC4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_826D9C0
+ .4byte gTilesetPalettes_826DFC0
+ .4byte gMetatiles_82A2FBC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A35AC
+
+ .align 2
+gTileset_82D4ADC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_826E1C0
+ .4byte gTilesetPalettes_826EAB8
+ .4byte gMetatiles_82A3728
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A3C18
+
+ .align 2
+gTileset_82D4AF4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_826ECB8
+ .4byte gTilesetPalettes_826F4B8
+ .4byte gMetatiles_82A3D54
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A45B4
+
+ .align 2
+gTileset_82D4B0C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_826F6B8
+ .4byte gTilesetPalettes_8270438
+ .4byte gMetatiles_82A47CC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A556C
+
+ .align 2
+gTileset_82D4B24::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8270638
+ .4byte gTilesetPalettes_8270DA0
+ .4byte gMetatiles_82A58D4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A6354
+
+ .align 2
+gTileset_82D4B3C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8270FA0
+ .4byte gTilesetPalettes_8271C74
+ .4byte gMetatiles_82A65F4
+ .4byte sub_80701D8
+ .4byte gMetatileAttributes_82A74F4
+
+ .align 2
+gTileset_82D4B54::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8271E74
+ .4byte gTilesetPalettes_8272A5C
+ .4byte gMetatiles_82A78B4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A84B4
+
+ .align 2
+gTileset_82D4B6C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8272C5C
+ .4byte gTilesetPalettes_8273358
+ .4byte gMetatiles_82A87B4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A8BB4
+
+ .align 2
+gTileset_82D4B84::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8273558
+ .4byte gTilesetPalettes_82742D0
+ .4byte gMetatiles_82A8CB4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A97B4
+
+ .align 2
+gTileset_82D4B9C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82744D0
+ .4byte gTilesetPalettes_8275094
+ .4byte gMetatiles_82A9A74
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AA6F4
+
+ .align 2
+gTileset_82D4BB4::
+ .byte TRUE @ is compressed
+ .byte FALSE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8275294
+ .4byte gTilesetPalettes_8277694
+ .4byte gMetatiles_82AD7B4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AFFB4
+
+ .align 2
+gTileset_82D4BCC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8277894
+ .4byte gTilesetPalettes_8277A5C
+ .4byte gMetatiles_82B3524
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B3954
+
+ .align 2
+gTileset_82D4BE4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8277C5C
+ .4byte gTilesetPalettes_8278CC4
+ .4byte gMetatiles_82B3A60
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B4A50
+
+ .align 2
+gTileset_82D4BFC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8278EC4
+ .4byte gTilesetPalettes_827A1A8
+ .4byte gMetatiles_82B502C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B5A3C
+
+ .align 2
+gTileset_82D4C14::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_827A3A8
+ .4byte gTilesetPalettes_827A3B8
+ .4byte gMetatiles_82B09B4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B09D4
+
+ .align 2
+gTileset_82D4C2C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_827A5B8
+ .4byte gTilesetPalettes_827AE14
+ .4byte gMetatiles_82C5738
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C5FA8
+
+ .align 2
+gTileset_82D4C44::
+ .byte FALSE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_827B014
+ .4byte gTilesetPalettes_827FF14
+ .4byte gMetatiles_82C61C4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C71C4
+
+ .align 2
+gTileset_82D4C5C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8280114
+ .4byte gTilesetPalettes_82804EC
+ .4byte gMetatiles_82B31DC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B347C
+
+ .align 2
+gTileset_82D4C74::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8EA99F4
+ .4byte gTilesetPalettes_8EA97F4
+ .4byte gMetatiles_82B4E4C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B4FCC
+
+ .align 2
+gTileset_82D4C8C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82806EC
+ .4byte gTilesetPalettes_8280D00
+ .4byte gMetatiles_82B68A0
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B7390
+
+ .align 2
+gTileset_82D4CA4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8285350
+ .4byte gTilesetPalettes_82857A4
+ .4byte gMetatiles_82AC364
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AC584
+
+ .align 2
+gTileset_82D4CBC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82867D4
+ .4byte gTilesetPalettes_8286BC8
+ .4byte gMetatiles_82AD124
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AD664
+
+ .align 2
+gTileset_82D4CD4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8280F00
+ .4byte gTilesetPalettes_82823A4
+ .4byte gMetatiles_82B09DC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B29DC
+
+ .align 2
+gTileset_82D4CEC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82825A4
+ .4byte gTilesetPalettes_8282FBC
+ .4byte gMetatiles_82B5CC0
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B6640
+
+ .align 2
+gTileset_82D4D04::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82831BC
+ .4byte gTilesetPalettes_82839B0
+ .4byte gMetatiles_82AAA14
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AB064
+
+ .align 2
+gTileset_82D4D1C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8283BB0
+ .4byte gTilesetPalettes_8283FF8
+ .4byte gMetatiles_82AB1F8
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AB738
+
+ .align 2
+gTileset_82D4D34::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82841F8
+ .4byte gTilesetPalettes_82849B8
+ .4byte gMetatiles_82AB888
+ .4byte sub_807031C
+ .4byte gMetatileAttributes_82ABD38
+
+ .align 2
+gTileset_82D4D4C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8284BB8
+ .4byte gTilesetPalettes_8285150
+ .4byte gMetatiles_82ABE64
+ .4byte sub_8070380
+ .4byte gMetatileAttributes_82AC264
+
+ .align 2
+gTileset_82D4D64::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82859A4
+ .4byte gTilesetPalettes_8285D90
+ .4byte gMetatiles_82AC60C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AC8EC
+
+ .align 2
+gTileset_82D4D7C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8285F90
+ .4byte gTilesetPalettes_82865D4
+ .4byte gMetatiles_82AC9A4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82ACFA4
+
+ .align 2
+gTileset_82D4D94::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8286DC8
+ .4byte gTilesetPalettes_8287B80
+ .4byte gMetatiles_82B764C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B8B4C
+
+ .align 2
+gTileset_82D4DAC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8287D80
+ .4byte gTilesetPalettes_8287D94
+ .4byte gMetatiles_82B908C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B90AC
+
+ .align 2
+gTileset_82D4DC4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8287F94
+ .4byte gTilesetPalettes_8288444
+ .4byte gMetatiles_82B90B4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B9364
+
+ .align 2
+gTileset_82D4DDC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8288644
+ .4byte gTilesetPalettes_8288C60
+ .4byte gMetatiles_82B9410
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B9B30
+
+ .align 2
+gTileset_82D4DF4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8288E60
+ .4byte gTilesetPalettes_8289FC8
+ .4byte gMetatiles_82B9CF8
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BA678
+
+ .align 2
+gTileset_82D4E0C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828A1C8
+ .4byte gTilesetPalettes_828B250
+ .4byte gMetatiles_82BA8D8
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BB2A8
+
+ .align 2
+gTileset_82D4E24::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828B450
+ .4byte gTilesetPalettes_828CAA0
+ .4byte gMetatiles_82BB51C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BC49C
+
+ .align 2
+gTileset_82D4E3C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828CCA0
+ .4byte gTilesetPalettes_828D2BC
+ .4byte gMetatiles_82BC87C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BCF9C
+
+ .align 2
+gTileset_82D4E54::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828D4BC
+ .4byte gTilesetPalettes_828E3A4
+ .4byte gMetatiles_82BD164
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BD9C4
+
+ .align 2
+gTileset_82D4E6C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8EA9F88
+ .4byte gTilesetPalettes_8EA9D88
+ .4byte gMetatiles_82BDBDC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BEB3C
+
+ .align 2
+gTileset_82D4E84::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828E5A4
+ .4byte gTilesetPalettes_828EC70
+ .4byte gMetatiles_82BEF14
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BFA94
+
+ .align 2
+gTileset_82D4E9C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828EE70
+ .4byte gTilesetPalettes_828F378
+ .4byte gMetatiles_82BFD74
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C0704
+
+ .align 2
+gTileset_82D4EB4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828F578
+ .4byte gTilesetPalettes_828F9D8
+ .4byte gMetatiles_82C0968
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C0D18
+
+ .align 2
+gTileset_82D4ECC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828FBD8
+ .4byte gTilesetPalettes_8290DD0
+ .4byte gMetatiles_82C0E04
+ .4byte sub_8070250
+ .4byte gMetatileAttributes_82C25A4
+
+ .align 2
+gTileset_82D4EE4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8290FD0
+ .4byte gTilesetPalettes_8291274
+ .4byte gMetatiles_82C2B8C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C300C
+
+ .align 2
+gTileset_82D4EFC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8291474
+ .4byte gTilesetPalettes_8291AFC
+ .4byte gMetatiles_82C312C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C377C
+
+ .align 2
+gTileset_82D4F14::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8291CFC
+ .4byte gTilesetPalettes_82920F0
+ .4byte gMetatiles_82C3910
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C4110
+
+ .align 2
+gTileset_82D4F2C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82922F0
+ .4byte gTilesetPalettes_8292FF0
+ .4byte gMetatiles_82C4310
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C5330
+
+ .align 2
+gTileset_82D4F44::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82931F0
+ .4byte gTilesetPalettes_8293660
+ .4byte gMetatiles_82C75C4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C7C44
+
+ .align 2
+gTileset_82D4F5C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8293860
+ .4byte gTilesetPalettes_8293B0C
+ .4byte gMetatiles_82C7DE4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C80C4
+
+ .align 2
+gTileset_82D4F74::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8293D0C
+ .4byte gTilesetPalettes_8294144
+ .4byte gMetatiles_82C817C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C8C1C
+
+ .align 2
+gTileset_82D4F8C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828FBD8
+ .4byte gTilesetPalettes_8290DD0
+ .4byte gMetatiles_82C8EC4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C9C34
+
+ .align 2
+gTileset_82D4FA4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8294344
+ .4byte gTilesetPalettes_8294D08
+ .4byte gMetatiles_82C9F90
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CA320
+
+ .align 2
+gTileset_82D4FBC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8294F08
+ .4byte gTilesetPalettes_8294F18
+ .4byte gMetatiles_82CA404
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CA424
+
+ .align 2
+gTileset_82D4FD4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8295118
+ .4byte gTilesetPalettes_829512C
+ .4byte gMetatiles_82CA42C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CA44C
+
+ .align 2
+gTileset_82D4FEC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_829532C
+ .4byte gTilesetPalettes_82967D4
+ .4byte gMetatiles_82CA454
+ .4byte sub_80702B4
+ .4byte gMetatileAttributes_82CB274
+
+ .align 2
+gTileset_82D5004::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82969D4
+ .4byte gTilesetPalettes_8296E90
+ .4byte gMetatiles_82CB5FC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CB89C
+
+ .align 2
+gTileset_82D501C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8297090
+ .4byte gTilesetPalettes_82983BC
+ .4byte gMetatiles_82CB944
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CC704
+
+ .align 2
+gTileset_82D5034::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82985BC
+ .4byte gTilesetPalettes_8298970
+ .4byte gMetatiles_82CCA74
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CD054
+
+ .align 2
+gTileset_82D504C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8298B70
+ .4byte gTilesetPalettes_8299AA4
+ .4byte gMetatiles_82CD1CC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CE39C
+
+ .align 2
+gTileset_82D5064::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8299CA4
+ .4byte gTilesetPalettes_829AB04
+ .4byte gMetatiles_82CE810
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CF190
+
+ .align 2
+gTileset_82D507C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_829AD04
+ .4byte gTilesetPalettes_829BD64
+ .4byte gMetatiles_82CF3F0
+ .4byte 0x0
+ .4byte gMetatileAttributes_82D02F0
+
+ .align 2
+gTileset_82D5094::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_829BF64
+ .4byte gTilesetPalettes_829CEE4
+ .4byte gMetatiles_82D06B0
+ .4byte 0x0
+ .4byte gMetatileAttributes_82D18B0
+
+ .align 2
+gTileset_82D50AC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_829D0E4
+ .4byte gTilesetPalettes_829D894
+ .4byte gMetatiles_82D1D30
+ .4byte 0x0
+ .4byte gMetatileAttributes_82D2220
+
+ .align 2
+gTileset_82D50C4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_829DA94
+ .4byte gTilesetPalettes_829EA50
+ .4byte gMetatiles_82D235C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82D3B5C
+
+ .align 2
+gTileset_82D50DC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_829EC50
+ .4byte gTilesetPalettes_829F4C8
+ .4byte gMetatiles_82D415C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82D48BC
+
diff --git a/data/tilesets/metatiles.inc b/data/tilesets/metatiles.inc
new file mode 100644
index 000000000..45c49983f
--- /dev/null
+++ b/data/tilesets/metatiles.inc
@@ -0,0 +1,543 @@
+ .align 1
+gMetatiles_829F6C8:: @ 829F6C8
+ .incbin "data/tilesets/primary/82D4A94/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82A1EC8:: @ 82A1EC8
+ .incbin "data/tilesets/primary/82D4A94/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82A28C8:: @ 82A28C8
+ .incbin "data/tilesets/secondary/82D4AAC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82A2E58:: @ 82A2E58
+ .incbin "data/tilesets/secondary/82D4AAC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82A2FBC:: @ 82A2FBC
+ .incbin "data/tilesets/secondary/82D4AC4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82A35AC:: @ 82A35AC
+ .incbin "data/tilesets/secondary/82D4AC4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82A3728:: @ 82A3728
+ .incbin "data/tilesets/secondary/82D4ADC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82A3C18:: @ 82A3C18
+ .incbin "data/tilesets/secondary/82D4ADC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82A3D54:: @ 82A3D54
+ .incbin "data/tilesets/secondary/82D4AF4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82A45B4:: @ 82A45B4
+ .incbin "data/tilesets/secondary/82D4AF4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82A47CC:: @ 82A47CC
+ .incbin "data/tilesets/secondary/82D4B0C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82A556C:: @ 82A556C
+ .incbin "data/tilesets/secondary/82D4B0C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82A58D4:: @ 82A58D4
+ .incbin "data/tilesets/secondary/82D4B24/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82A6354:: @ 82A6354
+ .incbin "data/tilesets/secondary/82D4B24/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82A65F4:: @ 82A65F4
+ .incbin "data/tilesets/secondary/82D4B3C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82A74F4:: @ 82A74F4
+ .incbin "data/tilesets/secondary/82D4B3C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82A78B4:: @ 82A78B4
+ .incbin "data/tilesets/secondary/82D4B54/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82A84B4:: @ 82A84B4
+ .incbin "data/tilesets/secondary/82D4B54/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82A87B4:: @ 82A87B4
+ .incbin "data/tilesets/secondary/82D4B6C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82A8BB4:: @ 82A8BB4
+ .incbin "data/tilesets/secondary/82D4B6C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82A8CB4:: @ 82A8CB4
+ .incbin "data/tilesets/secondary/82D4B84/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82A97B4:: @ 82A97B4
+ .incbin "data/tilesets/secondary/82D4B84/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82A9A74:: @ 82A9A74
+ .incbin "data/tilesets/secondary/82D4B9C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82AA6F4:: @ 82AA6F4
+ .incbin "data/tilesets/secondary/82D4B9C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82AAA14:: @ 82AAA14
+ .incbin "data/tilesets/secondary/82D4D04/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82AB064:: @ 82AB064
+ .incbin "data/tilesets/secondary/82D4D04/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82AB1F8:: @ 82AB1F8
+ .incbin "data/tilesets/secondary/82D4D1C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82AB738:: @ 82AB738
+ .incbin "data/tilesets/secondary/82D4D1C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82AB888:: @ 82AB888
+ .incbin "data/tilesets/secondary/82D4D34/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82ABD38:: @ 82ABD38
+ .incbin "data/tilesets/secondary/82D4D34/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82ABE64:: @ 82ABE64
+ .incbin "data/tilesets/secondary/82D4D4C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82AC264:: @ 82AC264
+ .incbin "data/tilesets/secondary/82D4D4C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82AC364:: @ 82AC364
+ .incbin "data/tilesets/secondary/82D4CA4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82AC584:: @ 82AC584
+ .incbin "data/tilesets/secondary/82D4CA4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82AC60C:: @ 82AC60C
+ .incbin "data/tilesets/secondary/82D4D64/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82AC8EC:: @ 82AC8EC
+ .incbin "data/tilesets/secondary/82D4D64/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82AC9A4:: @ 82AC9A4
+ .incbin "data/tilesets/secondary/82D4D7C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82ACFA4:: @ 82ACFA4
+ .incbin "data/tilesets/secondary/82D4D7C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82AD124:: @ 82AD124
+ .incbin "data/tilesets/secondary/82D4CBC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82AD664:: @ 82AD664
+ .incbin "data/tilesets/secondary/82D4CBC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82AD7B4:: @ 82AD7B4
+ .incbin "data/tilesets/primary/82D4BB4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82AFFB4:: @ 82AFFB4
+ .incbin "data/tilesets/primary/82D4BB4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B09B4:: @ 82B09B4
+ .incbin "data/tilesets/secondary/82D4C14/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B09D4:: @ 82B09D4
+ .incbin "data/tilesets/secondary/82D4C14/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B09DC:: @ 82B09DC
+ .incbin "data/tilesets/secondary/82D4CD4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B29DC:: @ 82B29DC
+ .incbin "data/tilesets/secondary/82D4CD4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B31DC:: @ 82B31DC
+ .incbin "data/tilesets/secondary/82D4C5C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B347C:: @ 82B347C
+ .incbin "data/tilesets/secondary/82D4C5C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B3524:: @ 82B3524
+ .incbin "data/tilesets/secondary/82D4BCC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B3954:: @ 82B3954
+ .incbin "data/tilesets/secondary/82D4BCC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B3A60:: @ 82B3A60
+ .incbin "data/tilesets/secondary/82D4BE4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B4A50:: @ 82B4A50
+ .incbin "data/tilesets/secondary/82D4BE4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B4E4C:: @ 82B4E4C
+ .incbin "data/tilesets/secondary/82D4C74/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B4FCC:: @ 82B4FCC
+ .incbin "data/tilesets/secondary/82D4C74/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B502C:: @ 82B502C
+ .incbin "data/tilesets/secondary/82D4BFC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B5A3C:: @ 82B5A3C
+ .incbin "data/tilesets/secondary/82D4BFC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B5CC0:: @ 82B5CC0
+ .incbin "data/tilesets/secondary/82D4CEC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B6640:: @ 82B6640
+ .incbin "data/tilesets/secondary/82D4CEC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B68A0:: @ 82B68A0
+ .incbin "data/tilesets/secondary/82D4C8C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B7390:: @ 82B7390
+ .incbin "data/tilesets/secondary/82D4C8C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B764C:: @ 82B764C
+ .incbin "data/tilesets/secondary/82D4D94/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B8B4C:: @ 82B8B4C
+ .incbin "data/tilesets/secondary/82D4D94/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B908C:: @ 82B908C
+ .incbin "data/tilesets/secondary/82D4DAC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B90AC:: @ 82B90AC
+ .incbin "data/tilesets/secondary/82D4DAC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B90B4:: @ 82B90B4
+ .incbin "data/tilesets/secondary/82D4DC4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B9364:: @ 82B9364
+ .incbin "data/tilesets/secondary/82D4DC4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B9410:: @ 82B9410
+ .incbin "data/tilesets/secondary/82D4DDC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82B9B30:: @ 82B9B30
+ .incbin "data/tilesets/secondary/82D4DDC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82B9CF8:: @ 82B9CF8
+ .incbin "data/tilesets/secondary/82D4DF4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82BA678:: @ 82BA678
+ .incbin "data/tilesets/secondary/82D4DF4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82BA8D8:: @ 82BA8D8
+ .incbin "data/tilesets/secondary/82D4E0C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82BB2A8:: @ 82BB2A8
+ .incbin "data/tilesets/secondary/82D4E0C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82BB51C:: @ 82BB51C
+ .incbin "data/tilesets/secondary/82D4E24/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82BC49C:: @ 82BC49C
+ .incbin "data/tilesets/secondary/82D4E24/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82BC87C:: @ 82BC87C
+ .incbin "data/tilesets/secondary/82D4E3C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82BCF9C:: @ 82BCF9C
+ .incbin "data/tilesets/secondary/82D4E3C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82BD164:: @ 82BD164
+ .incbin "data/tilesets/secondary/82D4E54/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82BD9C4:: @ 82BD9C4
+ .incbin "data/tilesets/secondary/82D4E54/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82BDBDC:: @ 82BDBDC
+ .incbin "data/tilesets/secondary/82D4E6C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82BEB3C:: @ 82BEB3C
+ .incbin "data/tilesets/secondary/82D4E6C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82BEF14:: @ 82BEF14
+ .incbin "data/tilesets/secondary/82D4E84/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82BFA94:: @ 82BFA94
+ .incbin "data/tilesets/secondary/82D4E84/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82BFD74:: @ 82BFD74
+ .incbin "data/tilesets/secondary/82D4E9C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C0704:: @ 82C0704
+ .incbin "data/tilesets/secondary/82D4E9C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C0968:: @ 82C0968
+ .incbin "data/tilesets/secondary/82D4EB4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C0D18:: @ 82C0D18
+ .incbin "data/tilesets/secondary/82D4EB4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C0E04:: @ 82C0E04
+ .incbin "data/tilesets/secondary/82D4ECC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C25A4:: @ 82C25A4
+ .incbin "data/tilesets/secondary/82D4ECC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C2B8C:: @ 82C2B8C
+ .incbin "data/tilesets/secondary/82D4EE4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C300C:: @ 82C300C
+ .incbin "data/tilesets/secondary/82D4EE4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C312C:: @ 82C312C
+ .incbin "data/tilesets/secondary/82D4EFC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C377C:: @ 82C377C
+ .incbin "data/tilesets/secondary/82D4EFC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C3910:: @ 82C3910
+ .incbin "data/tilesets/secondary/82D4F14/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C4110:: @ 82C4110
+ .incbin "data/tilesets/secondary/82D4F14/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C4310:: @ 82C4310
+ .incbin "data/tilesets/secondary/82D4F2C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C5330:: @ 82C5330
+ .incbin "data/tilesets/secondary/82D4F2C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C5738:: @ 82C5738
+ .incbin "data/tilesets/secondary/82D4C2C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C5FA8:: @ 82C5FA8
+ .incbin "data/tilesets/secondary/82D4C2C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C61C4:: @ 82C61C4
+ .incbin "data/tilesets/secondary/82D4C44/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C71C4:: @ 82C71C4
+ .incbin "data/tilesets/secondary/82D4C44/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C75C4:: @ 82C75C4
+ .incbin "data/tilesets/secondary/82D4F44/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C7C44:: @ 82C7C44
+ .incbin "data/tilesets/secondary/82D4F44/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C7DE4:: @ 82C7DE4
+ .incbin "data/tilesets/secondary/82D4F5C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C80C4:: @ 82C80C4
+ .incbin "data/tilesets/secondary/82D4F5C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C817C:: @ 82C817C
+ .incbin "data/tilesets/secondary/82D4F74/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C8C1C:: @ 82C8C1C
+ .incbin "data/tilesets/secondary/82D4F74/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C8EC4:: @ 82C8EC4
+ .incbin "data/tilesets/secondary/82D4F8C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82C9C34:: @ 82C9C34
+ .incbin "data/tilesets/secondary/82D4F8C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82C9F90:: @ 82C9F90
+ .incbin "data/tilesets/secondary/82D4FA4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82CA320:: @ 82CA320
+ .incbin "data/tilesets/secondary/82D4FA4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82CA404:: @ 82CA404
+ .incbin "data/tilesets/secondary/82D4FBC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82CA424:: @ 82CA424
+ .incbin "data/tilesets/secondary/82D4FBC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82CA42C:: @ 82CA42C
+ .incbin "data/tilesets/secondary/82D4FD4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82CA44C:: @ 82CA44C
+ .incbin "data/tilesets/secondary/82D4FD4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82CA454:: @ 82CA454
+ .incbin "data/tilesets/secondary/82D4FEC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82CB274:: @ 82CB274
+ .incbin "data/tilesets/secondary/82D4FEC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82CB5FC:: @ 82CB5FC
+ .incbin "data/tilesets/secondary/82D5004/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82CB89C:: @ 82CB89C
+ .incbin "data/tilesets/secondary/82D5004/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82CB944:: @ 82CB944
+ .incbin "data/tilesets/secondary/82D501C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82CC704:: @ 82CC704
+ .incbin "data/tilesets/secondary/82D501C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82CCA74:: @ 82CCA74
+ .incbin "data/tilesets/secondary/82D5034/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82CD054:: @ 82CD054
+ .incbin "data/tilesets/secondary/82D5034/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82CD1CC:: @ 82CD1CC
+ .incbin "data/tilesets/secondary/82D504C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82CE39C:: @ 82CE39C
+ .incbin "data/tilesets/secondary/82D504C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82CE810:: @ 82CE810
+ .incbin "data/tilesets/secondary/82D5064/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82CF190:: @ 82CF190
+ .incbin "data/tilesets/secondary/82D5064/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82CF3F0:: @ 82CF3F0
+ .incbin "data/tilesets/secondary/82D507C/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82D02F0:: @ 82D02F0
+ .incbin "data/tilesets/secondary/82D507C/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82D06B0:: @ 82D06B0
+ .incbin "data/tilesets/secondary/82D5094/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82D18B0:: @ 82D18B0
+ .incbin "data/tilesets/secondary/82D5094/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82D1D30:: @ 82D1D30
+ .incbin "data/tilesets/secondary/82D50AC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82D2220:: @ 82D2220
+ .incbin "data/tilesets/secondary/82D50AC/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82D235C:: @ 82D235C
+ .incbin "data/tilesets/secondary/82D50C4/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82D3B5C:: @ 82D3B5C
+ .incbin "data/tilesets/secondary/82D50C4/metatile_attributes.bin"
+
+ .align 1
+gMetatiles_82D415C:: @ 82D415C
+ .incbin "data/tilesets/secondary/82D50DC/metatiles.bin"
+
+ .align 1
+gMetatileAttributes_82D48BC:: @ 82D48BC
+ .incbin "data/tilesets/secondary/82D50DC/metatile_attributes.bin"
diff --git a/data/tilesets/primary/82D4A94/metatile_attributes.bin b/data/tilesets/primary/82D4A94/metatile_attributes.bin
new file mode 100644
index 000000000..45f6f352e
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/primary/82D4A94/metatiles.bin b/data/tilesets/primary/82D4A94/metatiles.bin
new file mode 100644
index 000000000..7a228eeae
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/metatiles.bin
Binary files differ
diff --git a/data/tilesets/primary/82D4A94/palettes/0.pal b/data/tilesets/primary/82D4A94/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/primary/82D4A94/palettes/1.pal b/data/tilesets/primary/82D4A94/palettes/1.pal
new file mode 100644
index 000000000..09828f4f1
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+123 123 131
+32 49 57
+230 238 238
+90 189 139
+90 90 115
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+123 74 74
+90 57 65
+115 205 164
diff --git a/data/tilesets/primary/82D4A94/palettes/10.pal b/data/tilesets/primary/82D4A94/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4A94/palettes/11.pal b/data/tilesets/primary/82D4A94/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4A94/palettes/12.pal b/data/tilesets/primary/82D4A94/palettes/12.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4A94/palettes/13.pal b/data/tilesets/primary/82D4A94/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4A94/palettes/14.pal b/data/tilesets/primary/82D4A94/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4A94/palettes/15.pal b/data/tilesets/primary/82D4A94/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4A94/palettes/2.pal b/data/tilesets/primary/82D4A94/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/primary/82D4A94/palettes/3.pal b/data/tilesets/primary/82D4A94/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/primary/82D4A94/palettes/4.pal b/data/tilesets/primary/82D4A94/palettes/4.pal
new file mode 100644
index 000000000..9b094a6aa
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 0
+230 246 255
+189 222 255
+139 164 255
+106 164 230
+74 148 222
+74 123 222
+82 156 230
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 197
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/primary/82D4A94/palettes/5.pal b/data/tilesets/primary/82D4A94/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/primary/82D4A94/palettes/6.pal b/data/tilesets/primary/82D4A94/palettes/6.pal
new file mode 100644
index 000000000..cdf41b298
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 255 0
+205 230 246
+180 213 255
+123 156 238
+98 139 213
+65 123 189
+49 98 180
+82 123 205
+238 246 246
+205 222 238
+49 115 197
+139 189 255
+115 164 255
+65 139 222
+57 115 222
+82 148 230
diff --git a/data/tilesets/primary/82D4A94/palettes/7.pal b/data/tilesets/primary/82D4A94/palettes/7.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4A94/palettes/8.pal b/data/tilesets/primary/82D4A94/palettes/8.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4A94/palettes/9.pal b/data/tilesets/primary/82D4A94/palettes/9.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4A94/tiles.png b/data/tilesets/primary/82D4A94/tiles.png
new file mode 100644
index 000000000..84ba7b2f9
--- /dev/null
+++ b/data/tilesets/primary/82D4A94/tiles.png
Binary files differ
diff --git a/data/tilesets/primary/82D4BB4/metatile_attributes.bin b/data/tilesets/primary/82D4BB4/metatile_attributes.bin
new file mode 100644
index 000000000..3dbc31883
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/primary/82D4BB4/metatiles.bin b/data/tilesets/primary/82D4BB4/metatiles.bin
new file mode 100644
index 000000000..024797c8e
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/primary/82D4BB4/palettes/0.pal b/data/tilesets/primary/82D4BB4/palettes/0.pal
new file mode 100644
index 000000000..3b6416376
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+156 213 255
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/primary/82D4BB4/palettes/1.pal b/data/tilesets/primary/82D4BB4/palettes/1.pal
new file mode 100644
index 000000000..66561f6d3
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+139 180 222
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/primary/82D4BB4/palettes/10.pal b/data/tilesets/primary/82D4BB4/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4BB4/palettes/11.pal b/data/tilesets/primary/82D4BB4/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4BB4/palettes/12.pal b/data/tilesets/primary/82D4BB4/palettes/12.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4BB4/palettes/13.pal b/data/tilesets/primary/82D4BB4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4BB4/palettes/14.pal b/data/tilesets/primary/82D4BB4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4BB4/palettes/15.pal b/data/tilesets/primary/82D4BB4/palettes/15.pal
new file mode 100644
index 000000000..92e7ed309
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+0 0 0
diff --git a/data/tilesets/primary/82D4BB4/palettes/2.pal b/data/tilesets/primary/82D4BB4/palettes/2.pal
new file mode 100644
index 000000000..87a022102
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+90 90 115
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/primary/82D4BB4/palettes/3.pal b/data/tilesets/primary/82D4BB4/palettes/3.pal
new file mode 100644
index 000000000..783496dcd
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+65 98 156
+90 123 180
+115 156 197
+222 213 131
+164 164 172
+205 205 213
+238 238 246
+106 172 115
+156 205 139
diff --git a/data/tilesets/primary/82D4BB4/palettes/4.pal b/data/tilesets/primary/82D4BB4/palettes/4.pal
new file mode 100644
index 000000000..89eace605
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 238 246
+172 197 180
+197 222 205
+90 189 172
+246 238 156
+205 189 131
+189 164 123
+148 131 106
+106 106 106
+213 222 230
+238 180 115
diff --git a/data/tilesets/primary/82D4BB4/palettes/5.pal b/data/tilesets/primary/82D4BB4/palettes/5.pal
new file mode 100644
index 000000000..c7780e5c7
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+213 222 222
+164 180 189
+255 0 255
+131 115 74
+213 213 148
+197 189 139
+172 156 115
+148 131 90
+197 197 205
+205 82 65
+0 0 0
diff --git a/data/tilesets/primary/82D4BB4/palettes/6.pal b/data/tilesets/primary/82D4BB4/palettes/6.pal
new file mode 100644
index 000000000..1d08ce9a2
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4BB4/palettes/7.pal b/data/tilesets/primary/82D4BB4/palettes/7.pal
new file mode 100644
index 000000000..c1e7c3d5c
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
diff --git a/data/tilesets/primary/82D4BB4/palettes/8.pal b/data/tilesets/primary/82D4BB4/palettes/8.pal
new file mode 100644
index 000000000..c1e7c3d5c
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
diff --git a/data/tilesets/primary/82D4BB4/palettes/9.pal b/data/tilesets/primary/82D4BB4/palettes/9.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/primary/82D4BB4/tiles.png b/data/tilesets/primary/82D4BB4/tiles.png
new file mode 100644
index 000000000..8d864f27e
--- /dev/null
+++ b/data/tilesets/primary/82D4BB4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4AAC/metatile_attributes.bin b/data/tilesets/secondary/82D4AAC/metatile_attributes.bin
new file mode 100644
index 000000000..2ba2894bc
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4AAC/metatiles.bin b/data/tilesets/secondary/82D4AAC/metatiles.bin
new file mode 100644
index 000000000..41db27015
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4AAC/palettes/0.pal b/data/tilesets/secondary/82D4AAC/palettes/0.pal
new file mode 100644
index 000000000..42246e9ea
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 139 49
+57 82 0
+115 98 98
+65 57 49
+255 255 255
+139 213 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 189 139
+24 172 106
diff --git a/data/tilesets/secondary/82D4AAC/palettes/1.pal b/data/tilesets/secondary/82D4AAC/palettes/1.pal
new file mode 100644
index 000000000..28db536cb
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+238 238 238
+222 222 230
+172 189 205
+131 131 139
+65 49 65
+139 230 189
+74 205 131
+65 172 115
+238 213 197
+222 189 164
+189 148 139
+156 115 115
+123 82 82
+90 57 74
+115 205 164
diff --git a/data/tilesets/secondary/82D4AAC/palettes/10.pal b/data/tilesets/secondary/82D4AAC/palettes/10.pal
new file mode 100644
index 000000000..1958eff11
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 205 148
+246 246 255
+189 197 222
+156 172 189
+123 123 131
+90 90 115
+65 74 106
+156 205 246
+98 156 238
+98 156 238
+205 139 148
+189 123 131
+164 90 106
+139 65 82
+32 172 98
diff --git a/data/tilesets/secondary/82D4AAC/palettes/11.pal b/data/tilesets/secondary/82D4AAC/palettes/11.pal
new file mode 100644
index 000000000..896c79281
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+238 255 255
+156 230 197
+148 222 189
+139 213 189
+255 0 255
+255 0 255
+255 0 255
+189 238 213
+115 205 164
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4AAC/palettes/12.pal b/data/tilesets/secondary/82D4AAC/palettes/12.pal
new file mode 100644
index 000000000..2bfc45b6d
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+156 230 197
+148 222 189
+139 213 189
+238 213 197
+222 189 164
+189 148 139
+156 115 115
+123 82 82
+90 57 74
+189 238 213
diff --git a/data/tilesets/secondary/82D4AAC/palettes/13.pal b/data/tilesets/secondary/82D4AAC/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4AAC/palettes/14.pal b/data/tilesets/secondary/82D4AAC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4AAC/palettes/15.pal b/data/tilesets/secondary/82D4AAC/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4AAC/palettes/2.pal b/data/tilesets/secondary/82D4AAC/palettes/2.pal
new file mode 100644
index 000000000..937cec4da
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+24 41 82
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+115 82 74
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+197 172 139
diff --git a/data/tilesets/secondary/82D4AAC/palettes/3.pal b/data/tilesets/secondary/82D4AAC/palettes/3.pal
new file mode 100644
index 000000000..6d1dfb5af
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 238 246
+189 139 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+172 32 41
diff --git a/data/tilesets/secondary/82D4AAC/palettes/4.pal b/data/tilesets/secondary/82D4AAC/palettes/4.pal
new file mode 100644
index 000000000..cde020d4e
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+255 255 255
+222 230 238
+230 213 164
+205 197 148
+222 180 164
+156 164 189
+82 106 213
+65 90 189
+57 82 156
+41 65 139
+172 197 230
+139 164 222
+106 131 213
+82 106 213
+189 148 139
diff --git a/data/tilesets/secondary/82D4AAC/palettes/5.pal b/data/tilesets/secondary/82D4AAC/palettes/5.pal
new file mode 100644
index 000000000..bdcc7b8ed
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+238 222 164
+222 205 131
+205 180 106
+180 139 74
+238 230 172
+246 238 205
+222 205 131
+255 0 255
+65 189 139
+115 205 164
diff --git a/data/tilesets/secondary/82D4AAC/palettes/6.pal b/data/tilesets/secondary/82D4AAC/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4AAC/palettes/7.pal b/data/tilesets/secondary/82D4AAC/palettes/7.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4AAC/palettes/8.pal b/data/tilesets/secondary/82D4AAC/palettes/8.pal
new file mode 100644
index 000000000..dcecb9c40
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+246 246 255
+222 230 246
+189 197 222
+156 172 189
+123 123 131
+90 90 115
+65 74 106
+156 205 246
+98 156 238
+57 123 222
+255 205 180
+246 164 131
+222 139 106
+189 98 74
+123 205 164
diff --git a/data/tilesets/secondary/82D4AAC/palettes/9.pal b/data/tilesets/secondary/82D4AAC/palettes/9.pal
new file mode 100644
index 000000000..90bb77517
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+246 246 255
+222 230 246
+189 197 222
+156 172 189
+123 123 131
+90 90 115
+65 74 106
+156 205 246
+98 156 238
+57 123 222
+246 238 197
+230 222 148
+213 189 106
+197 148 74
+222 205 123
diff --git a/data/tilesets/secondary/82D4AAC/tiles.png b/data/tilesets/secondary/82D4AAC/tiles.png
new file mode 100644
index 000000000..771eed906
--- /dev/null
+++ b/data/tilesets/secondary/82D4AAC/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4AC4/metatile_attributes.bin b/data/tilesets/secondary/82D4AC4/metatile_attributes.bin
new file mode 100644
index 000000000..ee2d7d5b3
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4AC4/metatiles.bin b/data/tilesets/secondary/82D4AC4/metatiles.bin
new file mode 100644
index 000000000..297673a4b
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4AC4/palettes/0.pal b/data/tilesets/secondary/82D4AC4/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4AC4/palettes/1.pal b/data/tilesets/secondary/82D4AC4/palettes/1.pal
new file mode 100644
index 000000000..cf1123812
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4AC4/palettes/10.pal b/data/tilesets/secondary/82D4AC4/palettes/10.pal
new file mode 100644
index 000000000..4baf904ae
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+65 65 82
+74 74 90
+123 123 131
+106 139 205
+172 213 230
+115 98 65
+148 123 65
+238 172 65
+230 213 74
+65 123 123
+65 156 131
+65 205 156
+74 123 65
+90 172 74
+123 213 98
+172 238 106
diff --git a/data/tilesets/secondary/82D4AC4/palettes/11.pal b/data/tilesets/secondary/82D4AC4/palettes/11.pal
new file mode 100644
index 000000000..2e92b3cc3
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+246 246 205
+213 213 213
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+246 230 131
+222 205 65
+172 238 106
+123 213 98
+106 197 82
+90 172 74
+74 123 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4AC4/palettes/12.pal b/data/tilesets/secondary/82D4AC4/palettes/12.pal
new file mode 100644
index 000000000..70ed40322
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+213 230 197
+156 172 139
+123 123 131
+90 90 115
+65 74 106
+222 172 65
+180 98 0
+131 65 0
+205 205 123
+164 164 57
+115 189 246
+74 148 213
+49 115 180
+189 197 164
diff --git a/data/tilesets/secondary/82D4AC4/palettes/13.pal b/data/tilesets/secondary/82D4AC4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4AC4/palettes/14.pal b/data/tilesets/secondary/82D4AC4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4AC4/palettes/15.pal b/data/tilesets/secondary/82D4AC4/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4AC4/palettes/2.pal b/data/tilesets/secondary/82D4AC4/palettes/2.pal
new file mode 100644
index 000000000..372fb5d7c
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4AC4/palettes/3.pal b/data/tilesets/secondary/82D4AC4/palettes/3.pal
new file mode 100644
index 000000000..5a5e60211
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4AC4/palettes/4.pal b/data/tilesets/secondary/82D4AC4/palettes/4.pal
new file mode 100644
index 000000000..229f9132c
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+222 230 255
+197 213 255
+164 197 238
+123 172 230
+90 148 197
+65 123 180
+90 164 205
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+32 98 139
+238 230 139
+222 197 139
+205 180 106
diff --git a/data/tilesets/secondary/82D4AC4/palettes/5.pal b/data/tilesets/secondary/82D4AC4/palettes/5.pal
new file mode 100644
index 000000000..215dd1272
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4AC4/palettes/6.pal b/data/tilesets/secondary/82D4AC4/palettes/6.pal
new file mode 100644
index 000000000..7e7862a19
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+222 230 255
+197 213 255
+164 197 238
+123 172 230
+41 82 164
+41 57 131
+74 123 197
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+32 98 139
+238 230 139
+222 197 139
+205 180 106
diff --git a/data/tilesets/secondary/82D4AC4/palettes/7.pal b/data/tilesets/secondary/82D4AC4/palettes/7.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4AC4/palettes/8.pal b/data/tilesets/secondary/82D4AC4/palettes/8.pal
new file mode 100644
index 000000000..219129eba
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+65 65 82
+74 74 90
+123 123 131
+106 139 205
+115 197 238
+164 230 238
+131 115 57
+180 172 65
+222 205 65
+246 246 205
+213 205 205
+90 90 115
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4AC4/palettes/9.pal b/data/tilesets/secondary/82D4AC4/palettes/9.pal
new file mode 100644
index 000000000..0aa2b58dc
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 205 65
+222 172 65
+180 98 0
+213 213 139
+189 189 115
+148 148 82
+255 0 255
+115 205 164
diff --git a/data/tilesets/secondary/82D4AC4/tiles.png b/data/tilesets/secondary/82D4AC4/tiles.png
new file mode 100644
index 000000000..39b80d8f9
--- /dev/null
+++ b/data/tilesets/secondary/82D4AC4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4ADC/metatile_attributes.bin b/data/tilesets/secondary/82D4ADC/metatile_attributes.bin
new file mode 100644
index 000000000..4e19ca185
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4ADC/metatiles.bin b/data/tilesets/secondary/82D4ADC/metatiles.bin
new file mode 100644
index 000000000..a23224773
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4ADC/palettes/0.pal b/data/tilesets/secondary/82D4ADC/palettes/0.pal
new file mode 100644
index 000000000..620015e77
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 139 49
+57 82 0
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4ADC/palettes/1.pal b/data/tilesets/secondary/82D4ADC/palettes/1.pal
new file mode 100644
index 000000000..60de8c7ad
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+255 0 255
+255 0 255
+238 213 197
+222 189 164
+189 148 139
+156 115 115
+123 82 82
+90 57 74
+115 205 164
diff --git a/data/tilesets/secondary/82D4ADC/palettes/10.pal b/data/tilesets/secondary/82D4ADC/palettes/10.pal
new file mode 100644
index 000000000..76fda8006
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+230 238 255
+180 197 213
+131 148 164
+123 123 131
+90 90 115
+57 65 98
+255 246 238
+213 197 189
+172 156 148
+131 123 115
+246 213 246
+238 189 213
+197 115 180
+172 106 131
diff --git a/data/tilesets/secondary/82D4ADC/palettes/11.pal b/data/tilesets/secondary/82D4ADC/palettes/11.pal
new file mode 100644
index 000000000..3f8fdc519
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+123 123 131
+230 238 255
+197 205 222
+164 180 197
+156 205 246
+98 156 238
+57 65 98
+255 246 238
+213 197 189
+172 156 148
+131 123 115
+57 123 222
+238 238 246
+213 222 222
+197 197 213
diff --git a/data/tilesets/secondary/82D4ADC/palettes/12.pal b/data/tilesets/secondary/82D4ADC/palettes/12.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4ADC/palettes/13.pal b/data/tilesets/secondary/82D4ADC/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4ADC/palettes/14.pal b/data/tilesets/secondary/82D4ADC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4ADC/palettes/15.pal b/data/tilesets/secondary/82D4ADC/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4ADC/palettes/2.pal b/data/tilesets/secondary/82D4ADC/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4ADC/palettes/3.pal b/data/tilesets/secondary/82D4ADC/palettes/3.pal
new file mode 100644
index 000000000..9581f2cd8
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 131
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4ADC/palettes/4.pal b/data/tilesets/secondary/82D4ADC/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4ADC/palettes/5.pal b/data/tilesets/secondary/82D4ADC/palettes/5.pal
new file mode 100644
index 000000000..3a2db72a7
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+222 205 131
+205 180 106
+180 139 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4ADC/palettes/6.pal b/data/tilesets/secondary/82D4ADC/palettes/6.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4ADC/palettes/7.pal b/data/tilesets/secondary/82D4ADC/palettes/7.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4ADC/palettes/8.pal b/data/tilesets/secondary/82D4ADC/palettes/8.pal
new file mode 100644
index 000000000..d404706ab
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+24 41 82
+246 246 255
+230 238 255
+197 205 222
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 205 246
+98 156 238
+57 123 222
+222 106 98
+205 82 74
+222 230 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4ADC/palettes/9.pal b/data/tilesets/secondary/82D4ADC/palettes/9.pal
new file mode 100644
index 000000000..cacf892a6
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 205 246
+98 156 238
+57 123 222
+222 197 139
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4ADC/tiles.png b/data/tilesets/secondary/82D4ADC/tiles.png
new file mode 100644
index 000000000..d3148ba5a
--- /dev/null
+++ b/data/tilesets/secondary/82D4ADC/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4AF4/metatile_attributes.bin b/data/tilesets/secondary/82D4AF4/metatile_attributes.bin
new file mode 100644
index 000000000..7de4de077
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4AF4/metatiles.bin b/data/tilesets/secondary/82D4AF4/metatiles.bin
new file mode 100644
index 000000000..b810e7996
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4AF4/palettes/0.pal b/data/tilesets/secondary/82D4AF4/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4AF4/palettes/1.pal b/data/tilesets/secondary/82D4AF4/palettes/1.pal
new file mode 100644
index 000000000..31a636983
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4AF4/palettes/10.pal b/data/tilesets/secondary/82D4AF4/palettes/10.pal
new file mode 100644
index 000000000..536972f8f
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+255 238 197
+222 205 172
+180 164 123
+123 123 131
+90 90 115
+65 74 106
+123 180 222
+180 222 255
+255 213 164
+230 189 82
+213 164 57
+205 139 32
+172 90 16
+115 205 164
diff --git a/data/tilesets/secondary/82D4AF4/palettes/11.pal b/data/tilesets/secondary/82D4AF4/palettes/11.pal
new file mode 100644
index 000000000..986335b74
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+255 238 197
+222 205 172
+180 164 123
+123 123 131
+90 90 115
+65 74 106
+230 222 131
+189 180 82
+180 230 172
+139 213 131
+106 180 106
+90 164 90
+57 131 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4AF4/palettes/12.pal b/data/tilesets/secondary/82D4AF4/palettes/12.pal
new file mode 100644
index 000000000..c44bc32b5
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+238 222 180
+205 189 156
+180 164 123
+123 123 131
+90 90 115
+65 74 106
+139 197 98
+106 164 65
+172 222 238
+148 197 213
+115 164 189
+90 139 164
+74 123 148
+115 205 164
diff --git a/data/tilesets/secondary/82D4AF4/palettes/13.pal b/data/tilesets/secondary/82D4AF4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4AF4/palettes/14.pal b/data/tilesets/secondary/82D4AF4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4AF4/palettes/15.pal b/data/tilesets/secondary/82D4AF4/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4AF4/palettes/2.pal b/data/tilesets/secondary/82D4AF4/palettes/2.pal
new file mode 100644
index 000000000..372fb5d7c
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4AF4/palettes/3.pal b/data/tilesets/secondary/82D4AF4/palettes/3.pal
new file mode 100644
index 000000000..973765509
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4AF4/palettes/4.pal b/data/tilesets/secondary/82D4AF4/palettes/4.pal
new file mode 100644
index 000000000..91fdcabdf
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+213 238 255
+172 205 255
+139 180 238
+106 156 230
+74 139 189
+65 123 189
+82 139 205
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 172
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D4AF4/palettes/5.pal b/data/tilesets/secondary/82D4AF4/palettes/5.pal
new file mode 100644
index 000000000..0edb843f5
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4AF4/palettes/6.pal b/data/tilesets/secondary/82D4AF4/palettes/6.pal
new file mode 100644
index 000000000..f8ebbc6dc
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+213 238 255
+172 205 255
+139 180 238
+106 156 230
+65 123 172
+41 98 156
+74 115 197
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 172
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D4AF4/palettes/7.pal b/data/tilesets/secondary/82D4AF4/palettes/7.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4AF4/palettes/8.pal b/data/tilesets/secondary/82D4AF4/palettes/8.pal
new file mode 100644
index 000000000..ae3dd3f0d
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+90 139 164
+115 164 189
+139 189 213
+172 222 238
+139 197 98
+156 222 106
+189 230 139
+222 205 172
+246 230 189
+255 246 213
+164 164 180
+82 82 106
+123 123 139
+205 205 222
+255 255 255
diff --git a/data/tilesets/secondary/82D4AF4/palettes/9.pal b/data/tilesets/secondary/82D4AF4/palettes/9.pal
new file mode 100644
index 000000000..3ed18e08f
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+180 106 90
+222 180 65
+238 164 156
+246 238 131
+230 205 98
+205 131 123
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+164 164 180
+82 82 106
+123 123 139
+205 205 222
+255 255 255
diff --git a/data/tilesets/secondary/82D4AF4/tiles.png b/data/tilesets/secondary/82D4AF4/tiles.png
new file mode 100644
index 000000000..737d3dd7f
--- /dev/null
+++ b/data/tilesets/secondary/82D4AF4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4B0C/metatile_attributes.bin b/data/tilesets/secondary/82D4B0C/metatile_attributes.bin
new file mode 100644
index 000000000..d103d7155
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B0C/metatiles.bin b/data/tilesets/secondary/82D4B0C/metatiles.bin
new file mode 100644
index 000000000..f69885645
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B0C/palettes/0.pal b/data/tilesets/secondary/82D4B0C/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4B0C/palettes/1.pal b/data/tilesets/secondary/82D4B0C/palettes/1.pal
new file mode 100644
index 000000000..d8a4e7757
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4B0C/palettes/10.pal b/data/tilesets/secondary/82D4B0C/palettes/10.pal
new file mode 100644
index 000000000..b97e9df4b
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+255 255 255
+213 230 222
+148 164 180
+123 123 131
+90 90 115
+82 82 106
+213 238 255
+164 189 222
+123 148 180
+255 238 139
+222 180 65
+255 255 189
+164 98 98
+213 148 148
+197 123 131
diff --git a/data/tilesets/secondary/82D4B0C/palettes/11.pal b/data/tilesets/secondary/82D4B0C/palettes/11.pal
new file mode 100644
index 000000000..f71181976
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+255 255 255
+255 0 255
+255 0 255
+123 123 131
+255 0 255
+82 82 106
+213 238 255
+164 189 222
+123 148 180
+255 238 139
+222 180 65
+255 255 189
+156 213 255
+115 189 246
+98 164 222
diff --git a/data/tilesets/secondary/82D4B0C/palettes/12.pal b/data/tilesets/secondary/82D4B0C/palettes/12.pal
new file mode 100644
index 000000000..0cdcab8c2
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+246 246 255
+222 205 246
+205 172 255
+172 139 213
+123 123 131
+90 90 115
+65 74 106
+230 222 131
+213 189 98
+222 197 255
+172 139 213
+148 115 189
+139 106 180
+255 246 164
+172 148 82
diff --git a/data/tilesets/secondary/82D4B0C/palettes/13.pal b/data/tilesets/secondary/82D4B0C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B0C/palettes/14.pal b/data/tilesets/secondary/82D4B0C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B0C/palettes/15.pal b/data/tilesets/secondary/82D4B0C/palettes/15.pal
new file mode 100644
index 000000000..3973e491a
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+246 230 172
+246 213 180
+222 189 164
+180 148 123
+139 98 90
+90 57 74
+123 123 131
+65 74 106
+205 222 238
diff --git a/data/tilesets/secondary/82D4B0C/palettes/2.pal b/data/tilesets/secondary/82D4B0C/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4B0C/palettes/3.pal b/data/tilesets/secondary/82D4B0C/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B0C/palettes/4.pal b/data/tilesets/secondary/82D4B0C/palettes/4.pal
new file mode 100644
index 000000000..07dcd957c
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 255 255
+172 222 255
+148 189 238
+106 156 230
+57 148 197
+32 131 172
+82 148 213
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+230 213 148
+238 230 139
+222 197 139
+213 189 106
diff --git a/data/tilesets/secondary/82D4B0C/palettes/5.pal b/data/tilesets/secondary/82D4B0C/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B0C/palettes/6.pal b/data/tilesets/secondary/82D4B0C/palettes/6.pal
new file mode 100644
index 000000000..0dba59a72
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+222 255 255
+172 222 255
+148 189 238
+106 156 230
+41 90 172
+41 57 148
+74 123 197
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+230 213 148
+238 230 139
+222 197 139
+213 189 106
diff --git a/data/tilesets/secondary/82D4B0C/palettes/7.pal b/data/tilesets/secondary/82D4B0C/palettes/7.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4B0C/palettes/8.pal b/data/tilesets/secondary/82D4B0C/palettes/8.pal
new file mode 100644
index 000000000..376749664
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+115 205 164
+148 164 180
+123 123 131
+65 74 106
+205 82 74
+172 32 41
+255 246 189
+238 230 156
+222 205 131
+189 164 90
+148 131 49
+123 90 24
+123 123 131
+65 74 106
+205 222 238
diff --git a/data/tilesets/secondary/82D4B0C/palettes/9.pal b/data/tilesets/secondary/82D4B0C/palettes/9.pal
new file mode 100644
index 000000000..82b469a66
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+255 255 255
+230 246 238
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+172 172 106
+213 213 148
+180 205 180
+148 180 148
+131 164 131
+106 139 106
+197 222 197
+139 172 139
+90 115 90
diff --git a/data/tilesets/secondary/82D4B0C/tiles.png b/data/tilesets/secondary/82D4B0C/tiles.png
new file mode 100644
index 000000000..66bd81f8b
--- /dev/null
+++ b/data/tilesets/secondary/82D4B0C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4B24/metatile_attributes.bin b/data/tilesets/secondary/82D4B24/metatile_attributes.bin
new file mode 100644
index 000000000..1136f644a
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B24/metatiles.bin b/data/tilesets/secondary/82D4B24/metatiles.bin
new file mode 100644
index 000000000..c7978128e
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B24/palettes/0.pal b/data/tilesets/secondary/82D4B24/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4B24/palettes/1.pal b/data/tilesets/secondary/82D4B24/palettes/1.pal
new file mode 100644
index 000000000..09828f4f1
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+123 123 131
+32 49 57
+230 238 238
+90 189 139
+90 90 115
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+123 74 74
+90 57 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4B24/palettes/10.pal b/data/tilesets/secondary/82D4B24/palettes/10.pal
new file mode 100644
index 000000000..892aae6ed
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+115 82 41
+255 189 32
+222 156 0
+189 106 57
+123 123 131
+90 90 115
+65 74 106
+189 255 139
+131 213 98
+106 180 98
+255 230 131
+238 205 123
+197 164 90
+131 164 197
+255 0 255
diff --git a/data/tilesets/secondary/82D4B24/palettes/11.pal b/data/tilesets/secondary/82D4B24/palettes/11.pal
new file mode 100644
index 000000000..b2a405273
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4B24/palettes/12.pal b/data/tilesets/secondary/82D4B24/palettes/12.pal
new file mode 100644
index 000000000..f124929b4
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 238 189
+222 205 131
+205 180 106
+180 139 74
+246 246 255
+172 189 205
+222 106 98
+213 164 156
+213 148 49
+65 74 106
+123 123 131
+16 123 74
+49 148 106
+98 189 148
+164 230 197
diff --git a/data/tilesets/secondary/82D4B24/palettes/13.pal b/data/tilesets/secondary/82D4B24/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B24/palettes/14.pal b/data/tilesets/secondary/82D4B24/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B24/palettes/15.pal b/data/tilesets/secondary/82D4B24/palettes/15.pal
new file mode 100644
index 000000000..ac0d32eb0
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+246 222 90
+246 197 65
+238 164 57
+172 189 205
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B24/palettes/2.pal b/data/tilesets/secondary/82D4B24/palettes/2.pal
new file mode 100644
index 000000000..372fb5d7c
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4B24/palettes/3.pal b/data/tilesets/secondary/82D4B24/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B24/palettes/4.pal b/data/tilesets/secondary/82D4B24/palettes/4.pal
new file mode 100644
index 000000000..5871a448c
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+230 246 255
+189 222 255
+139 189 255
+115 164 255
+65 139 222
+57 115 222
+82 148 230
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 197
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D4B24/palettes/5.pal b/data/tilesets/secondary/82D4B24/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B24/palettes/6.pal b/data/tilesets/secondary/82D4B24/palettes/6.pal
new file mode 100644
index 000000000..9bad44649
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+205 230 246
+180 213 255
+123 180 246
+98 148 230
+65 123 189
+49 98 180
+82 131 222
+213 230 238
+172 189 205
+123 123 131
+90 90 115
+238 246 246
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D4B24/palettes/7.pal b/data/tilesets/secondary/82D4B24/palettes/7.pal
new file mode 100644
index 000000000..17b1a0ed2
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4B24/palettes/8.pal b/data/tilesets/secondary/82D4B24/palettes/8.pal
new file mode 100644
index 000000000..7179b91bd
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+255 246 172
+255 189 32
+222 156 0
+189 106 57
+123 123 131
+90 90 115
+65 74 106
+255 255 255
+205 205 222
+255 230 131
+238 205 123
+197 164 90
+131 164 197
+255 0 255
+180 156 49
diff --git a/data/tilesets/secondary/82D4B24/palettes/9.pal b/data/tilesets/secondary/82D4B24/palettes/9.pal
new file mode 100644
index 000000000..746dac7da
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+74 123 180
+90 164 213
+57 90 148
+213 148 49
+238 180 82
+205 205 222
+115 189 246
+74 131 197
diff --git a/data/tilesets/secondary/82D4B24/tiles.png b/data/tilesets/secondary/82D4B24/tiles.png
new file mode 100644
index 000000000..8cfa9b4dd
--- /dev/null
+++ b/data/tilesets/secondary/82D4B24/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4B3C/metatile_attributes.bin b/data/tilesets/secondary/82D4B3C/metatile_attributes.bin
new file mode 100644
index 000000000..5dd139155
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B3C/metatiles.bin b/data/tilesets/secondary/82D4B3C/metatiles.bin
new file mode 100644
index 000000000..3bfb9d239
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B3C/palettes/0.pal b/data/tilesets/secondary/82D4B3C/palettes/0.pal
new file mode 100644
index 000000000..7af5bb7d2
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 82 0
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4B3C/palettes/1.pal b/data/tilesets/secondary/82D4B3C/palettes/1.pal
new file mode 100644
index 000000000..391d1e3d1
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 189 164
+189 148 139
+156 115 115
+123 82 82
+90 57 74
+115 205 164
diff --git a/data/tilesets/secondary/82D4B3C/palettes/10.pal b/data/tilesets/secondary/82D4B3C/palettes/10.pal
new file mode 100644
index 000000000..361b133e6
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+255 255 255
+222 222 230
+123 123 131
+82 82 106
+238 230 255
+222 197 255
+180 148 222
+131 106 172
+255 0 255
+115 189 246
+74 148 205
+41 115 172
+148 164 180
+246 238 148
+213 172 74
diff --git a/data/tilesets/secondary/82D4B3C/palettes/11.pal b/data/tilesets/secondary/82D4B3C/palettes/11.pal
new file mode 100644
index 000000000..00caf8dfc
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+255 255 255
+180 205 213
+148 164 180
+123 123 131
+82 82 106
+205 222 238
+197 213 222
+164 180 197
+222 180 82
+230 238 238
+255 205 139
+222 106 98
+197 74 65
+98 189 148
+115 205 164
diff --git a/data/tilesets/secondary/82D4B3C/palettes/12.pal b/data/tilesets/secondary/82D4B3C/palettes/12.pal
new file mode 100644
index 000000000..4257575ae
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+213 222 164
+180 189 131
+139 148 90
+123 123 131
+90 90 115
+65 74 106
+180 148 222
+131 106 172
+189 230 222
+148 205 180
+115 172 148
+106 148 139
+74 115 106
+115 205 164
diff --git a/data/tilesets/secondary/82D4B3C/palettes/13.pal b/data/tilesets/secondary/82D4B3C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B3C/palettes/14.pal b/data/tilesets/secondary/82D4B3C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B3C/palettes/15.pal b/data/tilesets/secondary/82D4B3C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B3C/palettes/2.pal b/data/tilesets/secondary/82D4B3C/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4B3C/palettes/3.pal b/data/tilesets/secondary/82D4B3C/palettes/3.pal
new file mode 100644
index 000000000..973765509
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B3C/palettes/4.pal b/data/tilesets/secondary/82D4B3C/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4B3C/palettes/5.pal b/data/tilesets/secondary/82D4B3C/palettes/5.pal
new file mode 100644
index 000000000..3a2db72a7
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+222 205 131
+205 180 106
+180 139 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B3C/palettes/6.pal b/data/tilesets/secondary/82D4B3C/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B3C/palettes/7.pal b/data/tilesets/secondary/82D4B3C/palettes/7.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B3C/palettes/8.pal b/data/tilesets/secondary/82D4B3C/palettes/8.pal
new file mode 100644
index 000000000..86930c1d1
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+255 255 255
+222 222 230
+123 123 131
+82 82 106
+197 238 255
+172 213 255
+123 164 222
+98 139 189
+246 230 139
+197 180 115
+172 156 90
+123 164 189
+148 189 238
+255 205 139
+230 131 115
diff --git a/data/tilesets/secondary/82D4B3C/palettes/9.pal b/data/tilesets/secondary/82D4B3C/palettes/9.pal
new file mode 100644
index 000000000..5dc82505a
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+255 255 255
+222 222 230
+123 123 131
+82 82 106
+197 197 205
+255 213 164
+222 123 82
+189 90 57
+189 230 222
+131 189 164
+106 148 139
+246 238 189
+222 213 156
+213 189 123
+197 180 106
diff --git a/data/tilesets/secondary/82D4B3C/tiles.png b/data/tilesets/secondary/82D4B3C/tiles.png
new file mode 100644
index 000000000..db18cb938
--- /dev/null
+++ b/data/tilesets/secondary/82D4B3C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4B54/metatile_attributes.bin b/data/tilesets/secondary/82D4B54/metatile_attributes.bin
new file mode 100644
index 000000000..3e370a747
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B54/metatiles.bin b/data/tilesets/secondary/82D4B54/metatiles.bin
new file mode 100644
index 000000000..0e0e722da
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B54/palettes/0.pal b/data/tilesets/secondary/82D4B54/palettes/0.pal
new file mode 100644
index 000000000..5fb8bdb01
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+189 255 139
+131 213 98
+57 139 49
+57 82 0
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4B54/palettes/1.pal b/data/tilesets/secondary/82D4B54/palettes/1.pal
new file mode 100644
index 000000000..391d1e3d1
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 189 164
+189 148 139
+156 115 115
+123 82 82
+90 57 74
+115 205 164
diff --git a/data/tilesets/secondary/82D4B54/palettes/10.pal b/data/tilesets/secondary/82D4B54/palettes/10.pal
new file mode 100644
index 000000000..d82bb0391
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+65 74 106
+123 123 131
+180 164 90
+0 0 255
+255 238 197
+238 238 205
+189 180 172
+172 172 156
+205 205 172
+139 123 49
+164 148 74
+205 197 123
+230 213 139
+106 172 123
+123 197 139
diff --git a/data/tilesets/secondary/82D4B54/palettes/11.pal b/data/tilesets/secondary/82D4B54/palettes/11.pal
new file mode 100644
index 000000000..cc0cf52cf
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+197 197 197
+180 238 82
+139 213 82
+90 164 49
+57 90 90
+74 123 74
+90 98 49
+139 131 49
+65 57 49
+57 139 98
+123 197 49
+123 197 82
+57 139 49
+115 205 164
+57 172 156
+255 0 255
diff --git a/data/tilesets/secondary/82D4B54/palettes/12.pal b/data/tilesets/secondary/82D4B54/palettes/12.pal
new file mode 100644
index 000000000..ebcfeb596
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 131
+205 180 106
+238 180 139
+222 148 131
+189 123 115
+139 90 82
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B54/palettes/13.pal b/data/tilesets/secondary/82D4B54/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B54/palettes/14.pal b/data/tilesets/secondary/82D4B54/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B54/palettes/15.pal b/data/tilesets/secondary/82D4B54/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B54/palettes/2.pal b/data/tilesets/secondary/82D4B54/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4B54/palettes/3.pal b/data/tilesets/secondary/82D4B54/palettes/3.pal
new file mode 100644
index 000000000..9581f2cd8
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 131
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B54/palettes/4.pal b/data/tilesets/secondary/82D4B54/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4B54/palettes/5.pal b/data/tilesets/secondary/82D4B54/palettes/5.pal
new file mode 100644
index 000000000..3a2db72a7
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+222 205 131
+205 180 106
+180 139 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B54/palettes/6.pal b/data/tilesets/secondary/82D4B54/palettes/6.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4B54/palettes/7.pal b/data/tilesets/secondary/82D4B54/palettes/7.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4B54/palettes/8.pal b/data/tilesets/secondary/82D4B54/palettes/8.pal
new file mode 100644
index 000000000..8a0a9a1e0
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+65 74 106
+123 123 131
+98 90 82
+115 106 98
+148 131 131
+180 156 131
+189 172 98
+213 205 131
+238 222 139
+90 106 164
+98 139 230
+115 205 255
+255 0 255
+255 0 255
+98 106 115
diff --git a/data/tilesets/secondary/82D4B54/palettes/9.pal b/data/tilesets/secondary/82D4B54/palettes/9.pal
new file mode 100644
index 000000000..d39bbb454
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+65 74 106
+123 123 131
+139 90 82
+189 123 115
+222 148 131
+255 197 156
+156 156 172
+189 197 213
+230 238 238
+49 98 90
+74 148 131
+82 197 148
+106 230 172
+164 238 172
+98 106 115
diff --git a/data/tilesets/secondary/82D4B54/tiles.png b/data/tilesets/secondary/82D4B54/tiles.png
new file mode 100644
index 000000000..a9e9e13e8
--- /dev/null
+++ b/data/tilesets/secondary/82D4B54/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4B6C/metatile_attributes.bin b/data/tilesets/secondary/82D4B6C/metatile_attributes.bin
new file mode 100644
index 000000000..d2c655c41
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B6C/metatiles.bin b/data/tilesets/secondary/82D4B6C/metatiles.bin
new file mode 100644
index 000000000..0abe4b18d
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B6C/palettes/0.pal b/data/tilesets/secondary/82D4B6C/palettes/0.pal
new file mode 100644
index 000000000..9dcb673aa
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+189 255 139
+131 213 98
+57 148 49
+57 82 0
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4B6C/palettes/1.pal b/data/tilesets/secondary/82D4B6C/palettes/1.pal
new file mode 100644
index 000000000..391d1e3d1
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 189 164
+189 148 139
+156 115 115
+123 82 82
+90 57 74
+115 205 164
diff --git a/data/tilesets/secondary/82D4B6C/palettes/10.pal b/data/tilesets/secondary/82D4B6C/palettes/10.pal
new file mode 100644
index 000000000..608bbc2cf
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B6C/palettes/11.pal b/data/tilesets/secondary/82D4B6C/palettes/11.pal
new file mode 100644
index 000000000..608bbc2cf
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B6C/palettes/12.pal b/data/tilesets/secondary/82D4B6C/palettes/12.pal
new file mode 100644
index 000000000..608bbc2cf
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B6C/palettes/13.pal b/data/tilesets/secondary/82D4B6C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B6C/palettes/14.pal b/data/tilesets/secondary/82D4B6C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B6C/palettes/15.pal b/data/tilesets/secondary/82D4B6C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B6C/palettes/2.pal b/data/tilesets/secondary/82D4B6C/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4B6C/palettes/3.pal b/data/tilesets/secondary/82D4B6C/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B6C/palettes/4.pal b/data/tilesets/secondary/82D4B6C/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4B6C/palettes/5.pal b/data/tilesets/secondary/82D4B6C/palettes/5.pal
new file mode 100644
index 000000000..3a2db72a7
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+222 205 131
+205 180 106
+180 139 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B6C/palettes/6.pal b/data/tilesets/secondary/82D4B6C/palettes/6.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4B6C/palettes/7.pal b/data/tilesets/secondary/82D4B6C/palettes/7.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4B6C/palettes/8.pal b/data/tilesets/secondary/82D4B6C/palettes/8.pal
new file mode 100644
index 000000000..f734cd166
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+139 82 57
+164 106 82
+205 148 123
+222 164 139
+172 189 238
+213 222 246
+156 131 90
+189 164 115
+222 205 156
+255 238 189
+164 164 180
+82 82 106
+123 123 139
+205 205 222
+255 255 255
diff --git a/data/tilesets/secondary/82D4B6C/palettes/9.pal b/data/tilesets/secondary/82D4B6C/palettes/9.pal
new file mode 100644
index 000000000..ca26d1b08
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+255 255 246
+230 230 189
+197 197 156
+172 172 131
+123 123 82
+65 74 106
+123 123 131
+123 123 131
+98 164 222
+74 131 197
+139 222 189
+106 189 156
+106 189 156
+74 156 123
+90 90 115
diff --git a/data/tilesets/secondary/82D4B6C/tiles.png b/data/tilesets/secondary/82D4B6C/tiles.png
new file mode 100644
index 000000000..ddb9ad0cb
--- /dev/null
+++ b/data/tilesets/secondary/82D4B6C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4B84/metatile_attributes.bin b/data/tilesets/secondary/82D4B84/metatile_attributes.bin
new file mode 100644
index 000000000..f840f6486
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B84/metatiles.bin b/data/tilesets/secondary/82D4B84/metatiles.bin
new file mode 100644
index 000000000..bbb7ffbee
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B84/palettes/0.pal b/data/tilesets/secondary/82D4B84/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4B84/palettes/1.pal b/data/tilesets/secondary/82D4B84/palettes/1.pal
new file mode 100644
index 000000000..cf1123812
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4B84/palettes/10.pal b/data/tilesets/secondary/82D4B84/palettes/10.pal
new file mode 100644
index 000000000..70ed40322
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+213 230 197
+156 172 139
+123 123 131
+90 90 115
+65 74 106
+222 172 65
+180 98 0
+131 65 0
+205 205 123
+164 164 57
+115 189 246
+74 148 213
+49 115 180
+189 197 164
diff --git a/data/tilesets/secondary/82D4B84/palettes/11.pal b/data/tilesets/secondary/82D4B84/palettes/11.pal
new file mode 100644
index 000000000..7b47acf60
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+255 255 255
+213 213 222
+180 180 164
+148 148 139
+123 123 131
+82 82 106
+197 222 205
+148 172 156
+98 131 106
+230 139 24
+197 98 0
+172 65 0
+230 213 139
+205 180 106
+172 148 82
diff --git a/data/tilesets/secondary/82D4B84/palettes/12.pal b/data/tilesets/secondary/82D4B84/palettes/12.pal
new file mode 100644
index 000000000..f5ff3dddf
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+148 148 139
+222 222 230
+205 205 213
+180 180 164
+255 0 255
+222 222 205
+205 205 189
+172 172 164
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+230 213 139
+205 180 106
+115 205 164
diff --git a/data/tilesets/secondary/82D4B84/palettes/13.pal b/data/tilesets/secondary/82D4B84/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B84/palettes/14.pal b/data/tilesets/secondary/82D4B84/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B84/palettes/15.pal b/data/tilesets/secondary/82D4B84/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B84/palettes/2.pal b/data/tilesets/secondary/82D4B84/palettes/2.pal
new file mode 100644
index 000000000..372fb5d7c
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4B84/palettes/3.pal b/data/tilesets/secondary/82D4B84/palettes/3.pal
new file mode 100644
index 000000000..5a5e60211
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B84/palettes/4.pal b/data/tilesets/secondary/82D4B84/palettes/4.pal
new file mode 100644
index 000000000..229f9132c
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+222 230 255
+197 213 255
+164 197 238
+123 172 230
+90 148 197
+65 123 180
+90 164 205
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+32 98 139
+238 230 139
+222 197 139
+205 180 106
diff --git a/data/tilesets/secondary/82D4B84/palettes/5.pal b/data/tilesets/secondary/82D4B84/palettes/5.pal
new file mode 100644
index 000000000..215dd1272
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B84/palettes/6.pal b/data/tilesets/secondary/82D4B84/palettes/6.pal
new file mode 100644
index 000000000..7e7862a19
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+222 230 255
+197 213 255
+164 197 238
+123 172 230
+41 82 164
+41 57 131
+74 123 197
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+32 98 139
+238 230 139
+222 197 139
+205 180 106
diff --git a/data/tilesets/secondary/82D4B84/palettes/7.pal b/data/tilesets/secondary/82D4B84/palettes/7.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B84/palettes/8.pal b/data/tilesets/secondary/82D4B84/palettes/8.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B84/palettes/9.pal b/data/tilesets/secondary/82D4B84/palettes/9.pal
new file mode 100644
index 000000000..3ff6139ac
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 205 65
+222 172 65
+180 98 0
+213 213 139
+189 189 115
+148 148 82
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4B84/tiles.png b/data/tilesets/secondary/82D4B84/tiles.png
new file mode 100644
index 000000000..4a938b4c5
--- /dev/null
+++ b/data/tilesets/secondary/82D4B84/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4B9C/metatile_attributes.bin b/data/tilesets/secondary/82D4B9C/metatile_attributes.bin
new file mode 100644
index 000000000..c6f6551c0
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B9C/metatiles.bin b/data/tilesets/secondary/82D4B9C/metatiles.bin
new file mode 100644
index 000000000..dd43794df
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4B9C/palettes/0.pal b/data/tilesets/secondary/82D4B9C/palettes/0.pal
new file mode 100644
index 000000000..9dcb673aa
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+189 255 139
+131 213 98
+57 148 49
+57 82 0
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4B9C/palettes/1.pal b/data/tilesets/secondary/82D4B9C/palettes/1.pal
new file mode 100644
index 000000000..391d1e3d1
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 189 164
+189 148 139
+156 115 115
+123 82 82
+90 57 74
+115 205 164
diff --git a/data/tilesets/secondary/82D4B9C/palettes/10.pal b/data/tilesets/secondary/82D4B9C/palettes/10.pal
new file mode 100644
index 000000000..ce671fee4
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+24 255 82
+238 238 238
+222 222 230
+123 123 131
+172 189 205
+65 74 106
+222 222 205
+205 205 189
+180 180 164
+213 213 164
+189 189 139
+148 148 98
+32 82 164
+156 205 246
+82 164 205
+115 205 164
diff --git a/data/tilesets/secondary/82D4B9C/palettes/11.pal b/data/tilesets/secondary/82D4B9C/palettes/11.pal
new file mode 100644
index 000000000..d1ae629c8
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+197 197 205
+49 98 164
+172 222 180
+139 189 148
+106 156 115
+82 131 90
+65 115 74
+255 0 255
diff --git a/data/tilesets/secondary/82D4B9C/palettes/12.pal b/data/tilesets/secondary/82D4B9C/palettes/12.pal
new file mode 100644
index 000000000..b66bd774a
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+255 255 255
+222 222 230
+139 156 172
+123 123 131
+82 82 106
+213 205 32
+246 238 74
+164 131 205
+164 156 16
+205 197 106
+255 255 148
+139 189 148
+74 131 197
+197 197 205
+115 189 246
diff --git a/data/tilesets/secondary/82D4B9C/palettes/13.pal b/data/tilesets/secondary/82D4B9C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B9C/palettes/14.pal b/data/tilesets/secondary/82D4B9C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B9C/palettes/15.pal b/data/tilesets/secondary/82D4B9C/palettes/15.pal
new file mode 100644
index 000000000..3ffc684ac
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+230 222 164
+222 205 131
+205 180 106
+213 213 197
+197 197 180
+164 164 148
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4B9C/palettes/2.pal b/data/tilesets/secondary/82D4B9C/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4B9C/palettes/3.pal b/data/tilesets/secondary/82D4B9C/palettes/3.pal
new file mode 100644
index 000000000..973765509
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B9C/palettes/4.pal b/data/tilesets/secondary/82D4B9C/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4B9C/palettes/5.pal b/data/tilesets/secondary/82D4B9C/palettes/5.pal
new file mode 100644
index 000000000..3a2db72a7
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+222 205 131
+205 180 106
+180 139 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4B9C/palettes/6.pal b/data/tilesets/secondary/82D4B9C/palettes/6.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4B9C/palettes/7.pal b/data/tilesets/secondary/82D4B9C/palettes/7.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4B9C/palettes/8.pal b/data/tilesets/secondary/82D4B9C/palettes/8.pal
new file mode 100644
index 000000000..b1e168855
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+197 197 197
+222 222 230
+148 164 180
+123 123 131
+65 74 106
+246 246 255
+205 164 255
+164 131 205
+123 90 164
+255 0 255
+255 0 255
+255 0 255
+164 131 205
+205 164 255
+90 90 115
diff --git a/data/tilesets/secondary/82D4B9C/palettes/9.pal b/data/tilesets/secondary/82D4B9C/palettes/9.pal
new file mode 100644
index 000000000..7a88fdbbf
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+255 255 255
+205 205 213
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 238 246
+255 238 139
+230 189 82
+238 148 115
+222 246 255
+172 230 255
+123 205 213
+197 106 74
diff --git a/data/tilesets/secondary/82D4B9C/tiles.png b/data/tilesets/secondary/82D4B9C/tiles.png
new file mode 100644
index 000000000..ea835f8dd
--- /dev/null
+++ b/data/tilesets/secondary/82D4B9C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4BCC/metatile_attributes.bin b/data/tilesets/secondary/82D4BCC/metatile_attributes.bin
new file mode 100644
index 000000000..31fdb5cc0
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4BCC/metatiles.bin b/data/tilesets/secondary/82D4BCC/metatiles.bin
new file mode 100644
index 000000000..1c00836c1
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4BCC/palettes/0.pal b/data/tilesets/secondary/82D4BCC/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4BCC/palettes/1.pal b/data/tilesets/secondary/82D4BCC/palettes/1.pal
new file mode 100644
index 000000000..3a16a45c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+238 246 238
diff --git a/data/tilesets/secondary/82D4BCC/palettes/10.pal b/data/tilesets/secondary/82D4BCC/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BCC/palettes/11.pal b/data/tilesets/secondary/82D4BCC/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BCC/palettes/12.pal b/data/tilesets/secondary/82D4BCC/palettes/12.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BCC/palettes/13.pal b/data/tilesets/secondary/82D4BCC/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BCC/palettes/14.pal b/data/tilesets/secondary/82D4BCC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BCC/palettes/15.pal b/data/tilesets/secondary/82D4BCC/palettes/15.pal
new file mode 100644
index 000000000..92e7ed309
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4BCC/palettes/2.pal b/data/tilesets/secondary/82D4BCC/palettes/2.pal
new file mode 100644
index 000000000..cc3a9457d
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4BCC/palettes/3.pal b/data/tilesets/secondary/82D4BCC/palettes/3.pal
new file mode 100644
index 000000000..e1b56cd57
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+164 172 164
+180 189 189
+238 246 246
+238 246 238
+213 230 222
+197 205 197
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4BCC/palettes/4.pal b/data/tilesets/secondary/82D4BCC/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BCC/palettes/5.pal b/data/tilesets/secondary/82D4BCC/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BCC/palettes/6.pal b/data/tilesets/secondary/82D4BCC/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BCC/palettes/7.pal b/data/tilesets/secondary/82D4BCC/palettes/7.pal
new file mode 100644
index 000000000..0a07057ec
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4BCC/palettes/8.pal b/data/tilesets/secondary/82D4BCC/palettes/8.pal
new file mode 100644
index 000000000..06fcc911b
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+115 189 139
+172 230 172
+205 246 205
+0 0 0
diff --git a/data/tilesets/secondary/82D4BCC/palettes/9.pal b/data/tilesets/secondary/82D4BCC/palettes/9.pal
new file mode 100644
index 000000000..ea018609b
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+164 172 164
+180 189 189
+238 246 246
+238 246 238
+213 230 222
+197 205 197
+255 0 255
+255 0 255
+156 205 255
+106 164 238
+74 139 230
+57 131 205
+41 98 189
+255 0 255
diff --git a/data/tilesets/secondary/82D4BCC/tiles.png b/data/tilesets/secondary/82D4BCC/tiles.png
new file mode 100644
index 000000000..2bfeb4080
--- /dev/null
+++ b/data/tilesets/secondary/82D4BCC/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4BE4/metatile_attributes.bin b/data/tilesets/secondary/82D4BE4/metatile_attributes.bin
new file mode 100644
index 000000000..f9bd3d289
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4BE4/metatiles.bin b/data/tilesets/secondary/82D4BE4/metatiles.bin
new file mode 100644
index 000000000..2ec8817bc
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4BE4/palettes/0.pal b/data/tilesets/secondary/82D4BE4/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4BE4/palettes/1.pal b/data/tilesets/secondary/82D4BE4/palettes/1.pal
new file mode 100644
index 000000000..d99adafff
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4BE4/palettes/10.pal b/data/tilesets/secondary/82D4BE4/palettes/10.pal
new file mode 100644
index 000000000..62e3e6d6b
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+189 98 74
+255 131 115
+255 0 255
+255 0 255
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+189 230 255
+189 230 255
+156 189 213
+90 131 180
diff --git a/data/tilesets/secondary/82D4BE4/palettes/11.pal b/data/tilesets/secondary/82D4BE4/palettes/11.pal
new file mode 100644
index 000000000..7ba7bccca
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+230 222 156
+82 82 106
+123 123 123
+180 180 164
+222 230 230
+180 213 230
+131 180 205
+98 156 164
+57 115 139
+255 65 0
+205 49 0
+8 90 255
+0 57 197
+255 180 0
+0 230 115
+255 255 255
diff --git a/data/tilesets/secondary/82D4BE4/palettes/12.pal b/data/tilesets/secondary/82D4BE4/palettes/12.pal
new file mode 100644
index 000000000..0f1f36738
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+164 172 164
+180 189 189
+255 255 255
+115 115 123
+213 205 156
+238 238 172
+197 180 139
+230 222 156
+246 246 205
+0 82 123
+57 139 180
+115 197 238
+222 230 222
+131 131 139
diff --git a/data/tilesets/secondary/82D4BE4/palettes/13.pal b/data/tilesets/secondary/82D4BE4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BE4/palettes/14.pal b/data/tilesets/secondary/82D4BE4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BE4/palettes/15.pal b/data/tilesets/secondary/82D4BE4/palettes/15.pal
new file mode 100644
index 000000000..92e7ed309
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4BE4/palettes/2.pal b/data/tilesets/secondary/82D4BE4/palettes/2.pal
new file mode 100644
index 000000000..cc3a9457d
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4BE4/palettes/3.pal b/data/tilesets/secondary/82D4BE4/palettes/3.pal
new file mode 100644
index 000000000..7ec794ae5
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4BE4/palettes/4.pal b/data/tilesets/secondary/82D4BE4/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BE4/palettes/5.pal b/data/tilesets/secondary/82D4BE4/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BE4/palettes/6.pal b/data/tilesets/secondary/82D4BE4/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BE4/palettes/7.pal b/data/tilesets/secondary/82D4BE4/palettes/7.pal
new file mode 100644
index 000000000..27ca86ca3
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+197 222 205
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4BE4/palettes/8.pal b/data/tilesets/secondary/82D4BE4/palettes/8.pal
new file mode 100644
index 000000000..6b6a0f25f
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+131 205 139
+230 189 115
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4BE4/palettes/9.pal b/data/tilesets/secondary/82D4BE4/palettes/9.pal
new file mode 100644
index 000000000..4b279ecf9
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 255 0
+82 82 106
+148 148 164
+205 189 197
+255 255 255
+189 148 49
+156 115 90
+197 238 148
+156 197 74
+106 164 41
+197 222 205
+139 180 172
+172 205 180
+123 123 139
+255 98 49
+238 222 164
diff --git a/data/tilesets/secondary/82D4BE4/tiles.png b/data/tilesets/secondary/82D4BE4/tiles.png
new file mode 100644
index 000000000..92d0112f3
--- /dev/null
+++ b/data/tilesets/secondary/82D4BE4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4BFC/metatile_attributes.bin b/data/tilesets/secondary/82D4BFC/metatile_attributes.bin
new file mode 100644
index 000000000..510f0fdf1
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4BFC/metatiles.bin b/data/tilesets/secondary/82D4BFC/metatiles.bin
new file mode 100644
index 000000000..9f35adc11
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4BFC/palettes/0.pal b/data/tilesets/secondary/82D4BFC/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4BFC/palettes/1.pal b/data/tilesets/secondary/82D4BFC/palettes/1.pal
new file mode 100644
index 000000000..09828f4f1
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+123 123 131
+32 49 57
+230 238 238
+90 189 139
+90 90 115
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+123 74 74
+90 57 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4BFC/palettes/10.pal b/data/tilesets/secondary/82D4BFC/palettes/10.pal
new file mode 100644
index 000000000..937405d15
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+255 0 255
+255 0 255
+255 0 255
+0 0 0
+255 238 164
+230 197 139
+205 172 123
+172 139 106
+213 197 189
+205 180 156
+189 148 139
+148 115 106
+115 65 74
+82 49 65
+90 90 98
diff --git a/data/tilesets/secondary/82D4BFC/palettes/11.pal b/data/tilesets/secondary/82D4BFC/palettes/11.pal
new file mode 100644
index 000000000..bb4f4867c
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+189 189 156
+172 172 139
+148 139 115
+123 115 90
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+238 222 148
+222 205 115
+205 180 98
+189 172 98
diff --git a/data/tilesets/secondary/82D4BFC/palettes/12.pal b/data/tilesets/secondary/82D4BFC/palettes/12.pal
new file mode 100644
index 000000000..583384664
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4BFC/palettes/13.pal b/data/tilesets/secondary/82D4BFC/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BFC/palettes/14.pal b/data/tilesets/secondary/82D4BFC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BFC/palettes/15.pal b/data/tilesets/secondary/82D4BFC/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BFC/palettes/2.pal b/data/tilesets/secondary/82D4BFC/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4BFC/palettes/3.pal b/data/tilesets/secondary/82D4BFC/palettes/3.pal
new file mode 100644
index 000000000..ef7460f41
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+123 197 255
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4BFC/palettes/4.pal b/data/tilesets/secondary/82D4BFC/palettes/4.pal
new file mode 100644
index 000000000..e83c6b367
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+230 246 255
+189 222 255
+139 189 255
+115 164 255
+65 139 222
+57 115 205
+82 148 230
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 197
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D4BFC/palettes/5.pal b/data/tilesets/secondary/82D4BFC/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4BFC/palettes/6.pal b/data/tilesets/secondary/82D4BFC/palettes/6.pal
new file mode 100644
index 000000000..9bad44649
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+205 230 246
+180 213 255
+123 180 246
+98 148 230
+65 123 189
+49 98 180
+82 131 222
+213 230 238
+172 189 205
+123 123 131
+90 90 115
+238 246 246
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D4BFC/palettes/7.pal b/data/tilesets/secondary/82D4BFC/palettes/7.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4BFC/palettes/8.pal b/data/tilesets/secondary/82D4BFC/palettes/8.pal
new file mode 100644
index 000000000..1c8d33fac
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+189 189 156
+172 172 139
+148 139 115
+123 115 90
+32 49 57
+255 0 255
+255 0 255
+255 0 255
+222 197 189
+205 180 156
+189 148 139
+148 115 106
+115 65 74
+82 49 65
+90 90 98
diff --git a/data/tilesets/secondary/82D4BFC/palettes/9.pal b/data/tilesets/secondary/82D4BFC/palettes/9.pal
new file mode 100644
index 000000000..3795f6c6a
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 222 213
+189 189 156
+172 172 139
+148 139 115
+123 115 90
+255 238 164
+230 197 139
+205 172 123
+164 123 90
+148 115 74
+106 65 41
+74 74 57
+0 0 0
+98 139 197
+74 115 172
+57 98 156
diff --git a/data/tilesets/secondary/82D4BFC/tiles.png b/data/tilesets/secondary/82D4BFC/tiles.png
new file mode 100644
index 000000000..8e0f64a78
--- /dev/null
+++ b/data/tilesets/secondary/82D4BFC/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4C14/metatile_attributes.bin b/data/tilesets/secondary/82D4C14/metatile_attributes.bin
new file mode 100644
index 000000000..1b1cb4d44
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4C14/metatiles.bin b/data/tilesets/secondary/82D4C14/metatiles.bin
new file mode 100644
index 000000000..274da22a6
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4C14/palettes/0.pal b/data/tilesets/secondary/82D4C14/palettes/0.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/1.pal b/data/tilesets/secondary/82D4C14/palettes/1.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/10.pal b/data/tilesets/secondary/82D4C14/palettes/10.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/11.pal b/data/tilesets/secondary/82D4C14/palettes/11.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/12.pal b/data/tilesets/secondary/82D4C14/palettes/12.pal
new file mode 100644
index 000000000..97d3f20bd
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+156 156 139
+164 148 65
+213 164 106
+230 213 131
+246 238 205
+0 0 0
+197 189 123
+222 213 139
+246 238 180
+238 205 172
+205 205 213
+255 148 131
+255 255 115
+156 197 230
diff --git a/data/tilesets/secondary/82D4C14/palettes/13.pal b/data/tilesets/secondary/82D4C14/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/14.pal b/data/tilesets/secondary/82D4C14/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/15.pal b/data/tilesets/secondary/82D4C14/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/2.pal b/data/tilesets/secondary/82D4C14/palettes/2.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/3.pal b/data/tilesets/secondary/82D4C14/palettes/3.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/4.pal b/data/tilesets/secondary/82D4C14/palettes/4.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/5.pal b/data/tilesets/secondary/82D4C14/palettes/5.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/6.pal b/data/tilesets/secondary/82D4C14/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/7.pal b/data/tilesets/secondary/82D4C14/palettes/7.pal
new file mode 100644
index 000000000..4172436d0
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+246 246 255
+205 197 213
+156 156 164
+222 230 255
+172 205 213
+156 189 172
+189 230 148
+139 205 123
+106 131 98
+238 131 106
+205 106 106
+255 246 41
+255 205 148
+189 197 115
diff --git a/data/tilesets/secondary/82D4C14/palettes/8.pal b/data/tilesets/secondary/82D4C14/palettes/8.pal
new file mode 100644
index 000000000..7fd087b3b
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+172 172 189
+222 213 205
+238 238 238
+123 139 74
+148 205 98
+205 246 123
+255 238 230
+222 222 189
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/palettes/9.pal b/data/tilesets/secondary/82D4C14/palettes/9.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C14/tiles.png b/data/tilesets/secondary/82D4C14/tiles.png
new file mode 100644
index 000000000..d4b21f3e4
--- /dev/null
+++ b/data/tilesets/secondary/82D4C14/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4C2C/metatile_attributes.bin b/data/tilesets/secondary/82D4C2C/metatile_attributes.bin
new file mode 100644
index 000000000..097e93ce1
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4C2C/metatiles.bin b/data/tilesets/secondary/82D4C2C/metatiles.bin
new file mode 100644
index 000000000..993b73cbd
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4C2C/palettes/0.pal b/data/tilesets/secondary/82D4C2C/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4C2C/palettes/1.pal b/data/tilesets/secondary/82D4C2C/palettes/1.pal
new file mode 100644
index 000000000..69f3f0b9e
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+180 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+238 246 238
diff --git a/data/tilesets/secondary/82D4C2C/palettes/10.pal b/data/tilesets/secondary/82D4C2C/palettes/10.pal
new file mode 100644
index 000000000..fc8da5d40
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+98 98 74
+164 139 82
+222 205 74
+65 123 164
+82 139 197
+98 189 213
+148 213 213
+180 238 230
+189 197 205
+238 246 238
+222 222 172
+205 131 82
+246 172 106
diff --git a/data/tilesets/secondary/82D4C2C/palettes/11.pal b/data/tilesets/secondary/82D4C2C/palettes/11.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C2C/palettes/12.pal b/data/tilesets/secondary/82D4C2C/palettes/12.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C2C/palettes/13.pal b/data/tilesets/secondary/82D4C2C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C2C/palettes/14.pal b/data/tilesets/secondary/82D4C2C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C2C/palettes/15.pal b/data/tilesets/secondary/82D4C2C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C2C/palettes/2.pal b/data/tilesets/secondary/82D4C2C/palettes/2.pal
new file mode 100644
index 000000000..330e35b02
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+213 131 82
+156 205 246
+98 156 238
+57 123 222
+222 139 106
+189 98 74
diff --git a/data/tilesets/secondary/82D4C2C/palettes/3.pal b/data/tilesets/secondary/82D4C2C/palettes/3.pal
new file mode 100644
index 000000000..1520bed0b
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+148 148 148
+180 180 180
+255 255 255
+238 246 238
+222 238 222
+197 205 197
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+90 90 90
+115 106 98
+148 123 98
diff --git a/data/tilesets/secondary/82D4C2C/palettes/4.pal b/data/tilesets/secondary/82D4C2C/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C2C/palettes/5.pal b/data/tilesets/secondary/82D4C2C/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C2C/palettes/6.pal b/data/tilesets/secondary/82D4C2C/palettes/6.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C2C/palettes/7.pal b/data/tilesets/secondary/82D4C2C/palettes/7.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C2C/palettes/8.pal b/data/tilesets/secondary/82D4C2C/palettes/8.pal
new file mode 100644
index 000000000..223737ab6
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+106 98 74
+139 123 74
+164 139 74
+222 205 74
+123 123 123
+189 197 205
+238 246 238
+98 90 98
+156 131 106
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4C2C/palettes/9.pal b/data/tilesets/secondary/82D4C2C/palettes/9.pal
new file mode 100644
index 000000000..6de173f90
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+98 98 74
+164 139 82
+222 205 74
+255 0 255
+255 0 255
+213 213 156
+222 230 172
+246 246 238
+90 90 98
+115 115 106
+156 131 106
+205 131 82
+238 164 106
diff --git a/data/tilesets/secondary/82D4C2C/tiles.png b/data/tilesets/secondary/82D4C2C/tiles.png
new file mode 100644
index 000000000..9be5ebca9
--- /dev/null
+++ b/data/tilesets/secondary/82D4C2C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4C44/metatile_attributes.bin b/data/tilesets/secondary/82D4C44/metatile_attributes.bin
new file mode 100644
index 000000000..53505839d
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4C44/metatiles.bin b/data/tilesets/secondary/82D4C44/metatiles.bin
new file mode 100644
index 000000000..0e2f2a6c3
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4C44/palettes/0.pal b/data/tilesets/secondary/82D4C44/palettes/0.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C44/palettes/1.pal b/data/tilesets/secondary/82D4C44/palettes/1.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C44/palettes/10.pal b/data/tilesets/secondary/82D4C44/palettes/10.pal
new file mode 100644
index 000000000..ab8f75e5a
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+123 123 148
+246 255 255
+205 213 213
+0 0 0
+255 123 123
+172 123 115
+139 230 98
+115 189 57
+246 230 24
+189 180 49
+148 148 246
+123 123 180
+222 222 255
+180 172 213
diff --git a/data/tilesets/secondary/82D4C44/palettes/11.pal b/data/tilesets/secondary/82D4C44/palettes/11.pal
new file mode 100644
index 000000000..468d7212c
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+49 57 74
+172 164 255
+131 123 230
+106 98 172
+82 74 180
+82 74 98
+246 255 255
+115 172 65
+123 189 74
+148 205 90
+98 90 148
+139 156 213
+57 57 106
+148 205 90
+0 255 0
diff --git a/data/tilesets/secondary/82D4C44/palettes/12.pal b/data/tilesets/secondary/82D4C44/palettes/12.pal
new file mode 100644
index 000000000..05794ac82
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+197 238 255
+172 205 213
+131 164 180
+123 156 180
+98 139 148
+246 255 255
+164 123 115
+180 74 24
+213 98 49
+98 139 148
+172 205 213
+197 238 255
+156 222 115
+148 189 98
diff --git a/data/tilesets/secondary/82D4C44/palettes/13.pal b/data/tilesets/secondary/82D4C44/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C44/palettes/14.pal b/data/tilesets/secondary/82D4C44/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C44/palettes/15.pal b/data/tilesets/secondary/82D4C44/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C44/palettes/2.pal b/data/tilesets/secondary/82D4C44/palettes/2.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C44/palettes/3.pal b/data/tilesets/secondary/82D4C44/palettes/3.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C44/palettes/4.pal b/data/tilesets/secondary/82D4C44/palettes/4.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C44/palettes/5.pal b/data/tilesets/secondary/82D4C44/palettes/5.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C44/palettes/6.pal b/data/tilesets/secondary/82D4C44/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C44/palettes/7.pal b/data/tilesets/secondary/82D4C44/palettes/7.pal
new file mode 100644
index 000000000..00ca6903f
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+255 213 131
+246 180 82
+213 148 41
+180 172 148
+148 139 123
+255 255 222
+230 230 197
+180 74 24
+213 98 49
+90 156 139
+131 197 180
+172 230 205
+156 222 115
+148 189 106
diff --git a/data/tilesets/secondary/82D4C44/palettes/8.pal b/data/tilesets/secondary/82D4C44/palettes/8.pal
new file mode 100644
index 000000000..43d6db90d
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+230 238 255
+213 205 246
+164 164 180
+156 197 156
+106 156 139
+246 255 255
+0 0 0
+180 74 24
+213 98 49
+123 106 164
+156 156 197
+197 197 230
+156 222 115
+148 189 106
diff --git a/data/tilesets/secondary/82D4C44/palettes/9.pal b/data/tilesets/secondary/82D4C44/palettes/9.pal
new file mode 100644
index 000000000..87857607f
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+238 255 255
+213 222 238
+189 205 197
+156 164 172
+0 0 0
+189 139 90
+222 172 106
+246 189 115
+82 156 164
+115 197 222
+213 98 82
+246 148 131
+148 205 90
+49 131 24
diff --git a/data/tilesets/secondary/82D4C44/tiles.png b/data/tilesets/secondary/82D4C44/tiles.png
new file mode 100644
index 000000000..f71f29432
--- /dev/null
+++ b/data/tilesets/secondary/82D4C44/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4C5C/metatile_attributes.bin b/data/tilesets/secondary/82D4C5C/metatile_attributes.bin
new file mode 100644
index 000000000..d1a4900c5
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4C5C/metatiles.bin b/data/tilesets/secondary/82D4C5C/metatiles.bin
new file mode 100644
index 000000000..f1c0ab02d
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4C5C/palettes/0.pal b/data/tilesets/secondary/82D4C5C/palettes/0.pal
new file mode 100644
index 000000000..4b44e19f4
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+205 156 156
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4C5C/palettes/1.pal b/data/tilesets/secondary/82D4C5C/palettes/1.pal
new file mode 100644
index 000000000..a39ca6aa8
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+205 156 156
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4C5C/palettes/10.pal b/data/tilesets/secondary/82D4C5C/palettes/10.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C5C/palettes/11.pal b/data/tilesets/secondary/82D4C5C/palettes/11.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C5C/palettes/12.pal b/data/tilesets/secondary/82D4C5C/palettes/12.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C5C/palettes/13.pal b/data/tilesets/secondary/82D4C5C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C5C/palettes/14.pal b/data/tilesets/secondary/82D4C5C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C5C/palettes/15.pal b/data/tilesets/secondary/82D4C5C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C5C/palettes/2.pal b/data/tilesets/secondary/82D4C5C/palettes/2.pal
new file mode 100644
index 000000000..5a4f127be
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+205 156 156
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4C5C/palettes/3.pal b/data/tilesets/secondary/82D4C5C/palettes/3.pal
new file mode 100644
index 000000000..c84fa4a58
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+205 156 156
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4C5C/palettes/4.pal b/data/tilesets/secondary/82D4C5C/palettes/4.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C5C/palettes/5.pal b/data/tilesets/secondary/82D4C5C/palettes/5.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C5C/palettes/6.pal b/data/tilesets/secondary/82D4C5C/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C5C/palettes/7.pal b/data/tilesets/secondary/82D4C5C/palettes/7.pal
new file mode 100644
index 000000000..a71b8fee2
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+82 82 106
+131 131 139
+172 172 139
+205 205 180
+238 238 222
+131 148 139
+172 189 172
+205 205 205
+213 222 213
+255 255 255
+164 123 74
+189 148 98
+222 172 123
+172 180 106
+197 205 131
diff --git a/data/tilesets/secondary/82D4C5C/palettes/8.pal b/data/tilesets/secondary/82D4C5C/palettes/8.pal
new file mode 100644
index 000000000..0a666a9c9
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+65 74 106
+139 139 131
+197 197 197
+255 255 255
+0 0 0
+246 197 197
+74 74 213
+123 123 246
+180 180 0
+213 197 65
+246 246 32
+148 82 74
+205 49 41
+255 123 74
+0 0 0
diff --git a/data/tilesets/secondary/82D4C5C/palettes/9.pal b/data/tilesets/secondary/82D4C5C/palettes/9.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C5C/tiles.png b/data/tilesets/secondary/82D4C5C/tiles.png
new file mode 100644
index 000000000..90124ff4a
--- /dev/null
+++ b/data/tilesets/secondary/82D4C5C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4C74/metatile_attributes.bin b/data/tilesets/secondary/82D4C74/metatile_attributes.bin
new file mode 100644
index 000000000..be95e451c
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4C74/metatiles.bin b/data/tilesets/secondary/82D4C74/metatiles.bin
new file mode 100644
index 000000000..806d040ce
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4C74/palettes/0.pal b/data/tilesets/secondary/82D4C74/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4C74/palettes/1.pal b/data/tilesets/secondary/82D4C74/palettes/1.pal
new file mode 100644
index 000000000..69f3f0b9e
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+180 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+238 246 238
diff --git a/data/tilesets/secondary/82D4C74/palettes/10.pal b/data/tilesets/secondary/82D4C74/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C74/palettes/11.pal b/data/tilesets/secondary/82D4C74/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C74/palettes/12.pal b/data/tilesets/secondary/82D4C74/palettes/12.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C74/palettes/13.pal b/data/tilesets/secondary/82D4C74/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C74/palettes/14.pal b/data/tilesets/secondary/82D4C74/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C74/palettes/15.pal b/data/tilesets/secondary/82D4C74/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C74/palettes/2.pal b/data/tilesets/secondary/82D4C74/palettes/2.pal
new file mode 100644
index 000000000..c8ee236d7
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+255 0 255
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4C74/palettes/3.pal b/data/tilesets/secondary/82D4C74/palettes/3.pal
new file mode 100644
index 000000000..b17dbb054
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+164 164 164
+180 189 189
+255 255 255
+238 246 238
+213 230 222
+197 205 197
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C74/palettes/4.pal b/data/tilesets/secondary/82D4C74/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C74/palettes/5.pal b/data/tilesets/secondary/82D4C74/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C74/palettes/6.pal b/data/tilesets/secondary/82D4C74/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C74/palettes/7.pal b/data/tilesets/secondary/82D4C74/palettes/7.pal
new file mode 100644
index 000000000..c1e7c3d5c
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
diff --git a/data/tilesets/secondary/82D4C74/palettes/8.pal b/data/tilesets/secondary/82D4C74/palettes/8.pal
new file mode 100644
index 000000000..18480092b
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+139 222 156
+82 82 106
+115 123 131
+98 90 65
+139 123 82
+197 172 90
+230 230 238
+205 115 74
+238 172 82
+238 213 82
+131 189 57
+164 222 82
+156 139 172
+205 172 222
+213 205 230
+246 255 255
diff --git a/data/tilesets/secondary/82D4C74/palettes/9.pal b/data/tilesets/secondary/82D4C74/palettes/9.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C74/tiles.png b/data/tilesets/secondary/82D4C74/tiles.png
new file mode 100644
index 000000000..191287197
--- /dev/null
+++ b/data/tilesets/secondary/82D4C74/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4C8C/metatile_attributes.bin b/data/tilesets/secondary/82D4C8C/metatile_attributes.bin
new file mode 100644
index 000000000..0d685881c
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4C8C/metatiles.bin b/data/tilesets/secondary/82D4C8C/metatiles.bin
new file mode 100644
index 000000000..a7833446f
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4C8C/palettes/0.pal b/data/tilesets/secondary/82D4C8C/palettes/0.pal
new file mode 100644
index 000000000..9fc16da3b
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+238 238 246
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4C8C/palettes/1.pal b/data/tilesets/secondary/82D4C8C/palettes/1.pal
new file mode 100644
index 000000000..76403e6d6
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+139 180 222
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4C8C/palettes/10.pal b/data/tilesets/secondary/82D4C8C/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C8C/palettes/11.pal b/data/tilesets/secondary/82D4C8C/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C8C/palettes/12.pal b/data/tilesets/secondary/82D4C8C/palettes/12.pal
new file mode 100644
index 000000000..3c32c9fd4
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+238 238 246
+82 82 106
+139 131 148
+180 172 180
+189 197 213
+255 255 255
+139 197 139
+156 205 246
+98 156 238
+90 123 180
+222 205 106
+213 230 246
+255 189 180
+230 106 65
+255 131 115
+246 238 148
diff --git a/data/tilesets/secondary/82D4C8C/palettes/13.pal b/data/tilesets/secondary/82D4C8C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C8C/palettes/14.pal b/data/tilesets/secondary/82D4C8C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C8C/palettes/15.pal b/data/tilesets/secondary/82D4C8C/palettes/15.pal
new file mode 100644
index 000000000..92e7ed309
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4C8C/palettes/2.pal b/data/tilesets/secondary/82D4C8C/palettes/2.pal
new file mode 100644
index 000000000..b1ecd71dc
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+90 90 115
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4C8C/palettes/3.pal b/data/tilesets/secondary/82D4C8C/palettes/3.pal
new file mode 100644
index 000000000..43d9b60e3
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+65 98 156
+90 123 180
+115 156 197
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+106 172 115
+156 205 139
diff --git a/data/tilesets/secondary/82D4C8C/palettes/4.pal b/data/tilesets/secondary/82D4C8C/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C8C/palettes/5.pal b/data/tilesets/secondary/82D4C8C/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C8C/palettes/6.pal b/data/tilesets/secondary/82D4C8C/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C8C/palettes/7.pal b/data/tilesets/secondary/82D4C8C/palettes/7.pal
new file mode 100644
index 000000000..3d7f8bd89
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+139 131 148
+180 172 180
+189 197 213
+255 255 255
+255 205 139
+230 164 98
+197 131 65
+172 90 24
+82 148 197
+131 189 222
+189 230 255
+123 123 123
+197 180 74
+246 238 148
diff --git a/data/tilesets/secondary/82D4C8C/palettes/8.pal b/data/tilesets/secondary/82D4C8C/palettes/8.pal
new file mode 100644
index 000000000..7fce49d06
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+139 131 148
+180 172 180
+189 197 213
+255 255 255
+222 222 180
+197 197 148
+156 156 106
+230 164 98
+172 90 24
+172 164 65
+139 123 24
+246 238 148
+0 0 0
+246 238 148
diff --git a/data/tilesets/secondary/82D4C8C/palettes/9.pal b/data/tilesets/secondary/82D4C8C/palettes/9.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4C8C/tiles.png b/data/tilesets/secondary/82D4C8C/tiles.png
new file mode 100644
index 000000000..6caeac8a8
--- /dev/null
+++ b/data/tilesets/secondary/82D4C8C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4CA4/metatile_attributes.bin b/data/tilesets/secondary/82D4CA4/metatile_attributes.bin
new file mode 100644
index 000000000..1b7a02c1f
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4CA4/metatiles.bin b/data/tilesets/secondary/82D4CA4/metatiles.bin
new file mode 100644
index 000000000..25e3b6297
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4CA4/palettes/0.pal b/data/tilesets/secondary/82D4CA4/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4CA4/palettes/1.pal b/data/tilesets/secondary/82D4CA4/palettes/1.pal
new file mode 100644
index 000000000..d99adafff
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4CA4/palettes/10.pal b/data/tilesets/secondary/82D4CA4/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CA4/palettes/11.pal b/data/tilesets/secondary/82D4CA4/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CA4/palettes/12.pal b/data/tilesets/secondary/82D4CA4/palettes/12.pal
new file mode 100644
index 000000000..ebfedc7d5
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+131 131 131
+180 180 164
+255 255 255
+172 131 115
+197 156 148
+238 180 164
+255 222 197
+255 238 238
+230 164 98
+255 197 98
+205 164 156
+180 139 123
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4CA4/palettes/13.pal b/data/tilesets/secondary/82D4CA4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CA4/palettes/14.pal b/data/tilesets/secondary/82D4CA4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CA4/palettes/15.pal b/data/tilesets/secondary/82D4CA4/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CA4/palettes/2.pal b/data/tilesets/secondary/82D4CA4/palettes/2.pal
new file mode 100644
index 000000000..cc3a9457d
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4CA4/palettes/3.pal b/data/tilesets/secondary/82D4CA4/palettes/3.pal
new file mode 100644
index 000000000..7ec794ae5
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4CA4/palettes/4.pal b/data/tilesets/secondary/82D4CA4/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CA4/palettes/5.pal b/data/tilesets/secondary/82D4CA4/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CA4/palettes/6.pal b/data/tilesets/secondary/82D4CA4/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CA4/palettes/7.pal b/data/tilesets/secondary/82D4CA4/palettes/7.pal
new file mode 100644
index 000000000..9020b628f
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+156 131 57
+213 197 106
+246 238 148
+213 222 238
+222 230 255
+41 106 82
+57 131 115
+172 131 115
+197 156 148
+238 180 164
+180 139 123
diff --git a/data/tilesets/secondary/82D4CA4/palettes/8.pal b/data/tilesets/secondary/82D4CA4/palettes/8.pal
new file mode 100644
index 000000000..1873ad439
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+156 131 57
+213 197 106
+246 238 148
+156 205 246
+115 172 222
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4CA4/palettes/9.pal b/data/tilesets/secondary/82D4CA4/palettes/9.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CA4/tiles.png b/data/tilesets/secondary/82D4CA4/tiles.png
new file mode 100644
index 000000000..cf2fa4ff7
--- /dev/null
+++ b/data/tilesets/secondary/82D4CA4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4CBC/metatile_attributes.bin b/data/tilesets/secondary/82D4CBC/metatile_attributes.bin
new file mode 100644
index 000000000..a84364708
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4CBC/metatiles.bin b/data/tilesets/secondary/82D4CBC/metatiles.bin
new file mode 100644
index 000000000..2980877c1
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4CBC/palettes/0.pal b/data/tilesets/secondary/82D4CBC/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4CBC/palettes/1.pal b/data/tilesets/secondary/82D4CBC/palettes/1.pal
new file mode 100644
index 000000000..3a16a45c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+238 246 238
diff --git a/data/tilesets/secondary/82D4CBC/palettes/10.pal b/data/tilesets/secondary/82D4CBC/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CBC/palettes/11.pal b/data/tilesets/secondary/82D4CBC/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CBC/palettes/12.pal b/data/tilesets/secondary/82D4CBC/palettes/12.pal
new file mode 100644
index 000000000..d2c6cb089
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+230 230 230
+255 255 255
+180 115 82
+213 156 123
+123 123 123
+106 156 148
+139 189 180
+180 222 213
+255 0 255
+213 213 213
+230 189 123
+246 197 156
diff --git a/data/tilesets/secondary/82D4CBC/palettes/13.pal b/data/tilesets/secondary/82D4CBC/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CBC/palettes/14.pal b/data/tilesets/secondary/82D4CBC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CBC/palettes/15.pal b/data/tilesets/secondary/82D4CBC/palettes/15.pal
new file mode 100644
index 000000000..92e7ed309
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4CBC/palettes/2.pal b/data/tilesets/secondary/82D4CBC/palettes/2.pal
new file mode 100644
index 000000000..c8ee236d7
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+255 0 255
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4CBC/palettes/3.pal b/data/tilesets/secondary/82D4CBC/palettes/3.pal
new file mode 100644
index 000000000..b17dbb054
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+164 164 164
+180 189 189
+255 255 255
+238 246 238
+213 230 222
+197 205 197
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CBC/palettes/4.pal b/data/tilesets/secondary/82D4CBC/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CBC/palettes/5.pal b/data/tilesets/secondary/82D4CBC/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CBC/palettes/6.pal b/data/tilesets/secondary/82D4CBC/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CBC/palettes/7.pal b/data/tilesets/secondary/82D4CBC/palettes/7.pal
new file mode 100644
index 000000000..f55e52fe2
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+139 139 148
+197 189 213
+255 255 255
+205 197 106
+246 238 148
+255 255 222
+98 98 123
+238 238 238
+82 222 123
+131 255 164
+82 164 57
+255 0 255
+255 0 255
+172 106 74
diff --git a/data/tilesets/secondary/82D4CBC/palettes/8.pal b/data/tilesets/secondary/82D4CBC/palettes/8.pal
new file mode 100644
index 000000000..3a7dbc274
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+139 139 148
+197 189 213
+255 255 255
+222 222 238
+230 205 131
+189 197 82
+222 230 115
+238 230 148
+74 123 180
+131 131 139
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4CBC/palettes/9.pal b/data/tilesets/secondary/82D4CBC/palettes/9.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CBC/tiles.png b/data/tilesets/secondary/82D4CBC/tiles.png
new file mode 100644
index 000000000..b53b94b96
--- /dev/null
+++ b/data/tilesets/secondary/82D4CBC/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4CD4/metatile_attributes.bin b/data/tilesets/secondary/82D4CD4/metatile_attributes.bin
new file mode 100644
index 000000000..6c4ffed21
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4CD4/metatiles.bin b/data/tilesets/secondary/82D4CD4/metatiles.bin
new file mode 100644
index 000000000..af8effb11
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4CD4/palettes/0.pal b/data/tilesets/secondary/82D4CD4/palettes/0.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/1.pal b/data/tilesets/secondary/82D4CD4/palettes/1.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/10.pal b/data/tilesets/secondary/82D4CD4/palettes/10.pal
new file mode 100644
index 000000000..432f42149
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+123 123 131
+189 189 164
+255 255 255
+213 197 74
+213 180 131
+148 115 41
+172 139 57
+213 213 180
+106 139 49
+131 172 74
+164 205 106
+197 255 172
+115 90 57
+255 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/11.pal b/data/tilesets/secondary/82D4CD4/palettes/11.pal
new file mode 100644
index 000000000..8c2460403
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+139 139 139
+189 189 164
+255 255 255
+222 197 74
+230 230 106
+230 222 246
+148 98 123
+197 131 156
+197 164 189
+123 164 189
+131 197 98
+172 238 139
+90 156 57
+0 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/12.pal b/data/tilesets/secondary/82D4CD4/palettes/12.pal
new file mode 100644
index 000000000..920ad12c9
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+139 139 139
+180 180 164
+255 255 255
+189 180 49
+222 213 82
+123 115 49
+156 148 16
+213 213 180
+98 156 139
+123 180 189
+172 222 230
+255 205 139
+246 246 164
+222 131 90
diff --git a/data/tilesets/secondary/82D4CD4/palettes/13.pal b/data/tilesets/secondary/82D4CD4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/14.pal b/data/tilesets/secondary/82D4CD4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/15.pal b/data/tilesets/secondary/82D4CD4/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/2.pal b/data/tilesets/secondary/82D4CD4/palettes/2.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/3.pal b/data/tilesets/secondary/82D4CD4/palettes/3.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/4.pal b/data/tilesets/secondary/82D4CD4/palettes/4.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/5.pal b/data/tilesets/secondary/82D4CD4/palettes/5.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/6.pal b/data/tilesets/secondary/82D4CD4/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/7.pal b/data/tilesets/secondary/82D4CD4/palettes/7.pal
new file mode 100644
index 000000000..533778712
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+139 139 139
+189 189 164
+255 255 255
+230 222 246
+255 238 213
+255 0 0
+115 115 164
+131 139 230
+164 164 255
+156 106 16
+115 115 139
+213 213 172
+222 172 82
+189 139 49
diff --git a/data/tilesets/secondary/82D4CD4/palettes/8.pal b/data/tilesets/secondary/82D4CD4/palettes/8.pal
new file mode 100644
index 000000000..0b01f1a0f
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+139 139 148
+180 180 164
+255 255 255
+255 0 0
+255 0 0
+255 0 0
+255 0 0
+172 90 49
+205 98 57
+246 139 98
+255 205 139
+255 0 0
+255 0 0
+255 0 0
diff --git a/data/tilesets/secondary/82D4CD4/palettes/9.pal b/data/tilesets/secondary/82D4CD4/palettes/9.pal
new file mode 100644
index 000000000..371e5a211
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+65 74 106
+139 139 139
+189 189 164
+255 255 255
+230 222 246
+148 148 197
+189 189 246
+205 106 49
+246 180 49
+255 246 131
+255 0 0
+189 172 82
+213 205 98
+148 115 41
+172 139 57
diff --git a/data/tilesets/secondary/82D4CD4/tiles.png b/data/tilesets/secondary/82D4CD4/tiles.png
new file mode 100644
index 000000000..ef8a943fa
--- /dev/null
+++ b/data/tilesets/secondary/82D4CD4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4CEC/metatile_attributes.bin b/data/tilesets/secondary/82D4CEC/metatile_attributes.bin
new file mode 100644
index 000000000..a2bcd959e
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4CEC/metatiles.bin b/data/tilesets/secondary/82D4CEC/metatiles.bin
new file mode 100644
index 000000000..1529f8582
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4CEC/palettes/0.pal b/data/tilesets/secondary/82D4CEC/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4CEC/palettes/1.pal b/data/tilesets/secondary/82D4CEC/palettes/1.pal
new file mode 100644
index 000000000..d99adafff
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4CEC/palettes/10.pal b/data/tilesets/secondary/82D4CEC/palettes/10.pal
new file mode 100644
index 000000000..6d76050a9
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+230 230 230
+172 148 197
+205 164 230
+230 197 255
+238 230 123
+189 172 98
+255 255 148
+131 255 255
+74 131 197
+230 189 164
+255 0 255
diff --git a/data/tilesets/secondary/82D4CEC/palettes/11.pal b/data/tilesets/secondary/82D4CEC/palettes/11.pal
new file mode 100644
index 000000000..9359b8858
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+172 172 156
+230 230 205
+197 197 172
+172 172 164
+189 189 164
+255 0 255
+131 172 238
+106 197 106
+197 180 74
+255 0 255
+222 222 222
+213 139 57
+255 255 255
diff --git a/data/tilesets/secondary/82D4CEC/palettes/12.pal b/data/tilesets/secondary/82D4CEC/palettes/12.pal
new file mode 100644
index 000000000..61b3764be
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+222 238 255
+255 0 255
+255 0 255
+32 156 222
+139 197 255
+180 98 0
+197 123 0
+205 139 0
+213 164 0
+230 180 0
+230 197 65
diff --git a/data/tilesets/secondary/82D4CEC/palettes/13.pal b/data/tilesets/secondary/82D4CEC/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CEC/palettes/14.pal b/data/tilesets/secondary/82D4CEC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CEC/palettes/15.pal b/data/tilesets/secondary/82D4CEC/palettes/15.pal
new file mode 100644
index 000000000..3bb14e445
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+230 230 205
+205 205 180
+172 172 148
+222 222 222
+156 115 197
+131 172 238
+106 197 106
+197 180 74
+0 0 0
+213 139 57
+238 222 131
+255 255 255
diff --git a/data/tilesets/secondary/82D4CEC/palettes/2.pal b/data/tilesets/secondary/82D4CEC/palettes/2.pal
new file mode 100644
index 000000000..cc3a9457d
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4CEC/palettes/3.pal b/data/tilesets/secondary/82D4CEC/palettes/3.pal
new file mode 100644
index 000000000..7ec794ae5
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4CEC/palettes/4.pal b/data/tilesets/secondary/82D4CEC/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CEC/palettes/5.pal b/data/tilesets/secondary/82D4CEC/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CEC/palettes/6.pal b/data/tilesets/secondary/82D4CEC/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4CEC/palettes/7.pal b/data/tilesets/secondary/82D4CEC/palettes/7.pal
new file mode 100644
index 000000000..b3612e537
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+131 131 131
+180 180 164
+255 255 255
+255 164 115
+255 222 189
+123 164 238
+172 205 238
+213 230 238
+164 255 180
+238 164 0
+139 90 197
+213 156 255
+255 255 148
+255 0 255
diff --git a/data/tilesets/secondary/82D4CEC/palettes/8.pal b/data/tilesets/secondary/82D4CEC/palettes/8.pal
new file mode 100644
index 000000000..e58f94305
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 255 0
+82 82 106
+131 131 131
+180 180 164
+255 255 255
+255 255 123
+205 180 98
+246 230 172
+74 131 197
+139 197 255
+164 255 180
+238 246 246
+164 74 32
+213 115 57
+238 148 98
+255 189 98
diff --git a/data/tilesets/secondary/82D4CEC/palettes/9.pal b/data/tilesets/secondary/82D4CEC/palettes/9.pal
new file mode 100644
index 000000000..75f1d81b5
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+255 0 255
+255 0 255
+255 255 255
+255 0 255
+131 172 238
+246 230 172
+82 180 172
+32 115 123
+255 148 115
+230 106 90
+90 213 156
+255 189 82
+16 123 255
+131 189 246
diff --git a/data/tilesets/secondary/82D4CEC/tiles.png b/data/tilesets/secondary/82D4CEC/tiles.png
new file mode 100644
index 000000000..b5b249d0a
--- /dev/null
+++ b/data/tilesets/secondary/82D4CEC/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4D04/metatile_attributes.bin b/data/tilesets/secondary/82D4D04/metatile_attributes.bin
new file mode 100644
index 000000000..ead3610f0
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D04/metatiles.bin b/data/tilesets/secondary/82D4D04/metatiles.bin
new file mode 100644
index 000000000..7034bb6d6
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D04/palettes/0.pal b/data/tilesets/secondary/82D4D04/palettes/0.pal
new file mode 100644
index 000000000..8db07d418
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4D04/palettes/1.pal b/data/tilesets/secondary/82D4D04/palettes/1.pal
new file mode 100644
index 000000000..66561f6d3
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+139 180 222
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4D04/palettes/10.pal b/data/tilesets/secondary/82D4D04/palettes/10.pal
new file mode 100644
index 000000000..131aaa71c
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4D04/palettes/11.pal b/data/tilesets/secondary/82D4D04/palettes/11.pal
new file mode 100644
index 000000000..131aaa71c
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4D04/palettes/12.pal b/data/tilesets/secondary/82D4D04/palettes/12.pal
new file mode 100644
index 000000000..c8dfac7d2
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+131 131 131
+98 74 49
+131 106 82
+164 139 115
+197 189 139
+148 148 156
+172 172 172
+172 189 115
+205 222 148
+98 131 131
+131 164 164
+164 197 197
+82 82 106
+123 123 139
+205 205 197
+255 255 255
diff --git a/data/tilesets/secondary/82D4D04/palettes/13.pal b/data/tilesets/secondary/82D4D04/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D04/palettes/14.pal b/data/tilesets/secondary/82D4D04/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D04/palettes/15.pal b/data/tilesets/secondary/82D4D04/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D04/palettes/2.pal b/data/tilesets/secondary/82D4D04/palettes/2.pal
new file mode 100644
index 000000000..87a022102
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+90 90 115
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4D04/palettes/3.pal b/data/tilesets/secondary/82D4D04/palettes/3.pal
new file mode 100644
index 000000000..783496dcd
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+65 98 156
+90 123 180
+115 156 197
+222 213 131
+164 164 172
+205 205 213
+238 238 246
+106 172 115
+156 205 139
diff --git a/data/tilesets/secondary/82D4D04/palettes/4.pal b/data/tilesets/secondary/82D4D04/palettes/4.pal
new file mode 100644
index 000000000..89eace605
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 238 246
+172 197 180
+197 222 205
+90 189 172
+246 238 156
+205 189 131
+189 164 123
+148 131 106
+106 106 106
+213 222 230
+238 180 115
diff --git a/data/tilesets/secondary/82D4D04/palettes/5.pal b/data/tilesets/secondary/82D4D04/palettes/5.pal
new file mode 100644
index 000000000..0eef3df8e
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+213 222 222
+164 180 189
+255 0 255
+131 115 74
+213 213 148
+197 189 139
+172 156 115
+148 131 90
+255 0 255
+255 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4D04/palettes/6.pal b/data/tilesets/secondary/82D4D04/palettes/6.pal
new file mode 100644
index 000000000..1d08ce9a2
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D04/palettes/7.pal b/data/tilesets/secondary/82D4D04/palettes/7.pal
new file mode 100644
index 000000000..34c0ddd17
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+131 131 131
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+82 82 106
+123 123 139
+205 205 197
+255 255 255
diff --git a/data/tilesets/secondary/82D4D04/palettes/8.pal b/data/tilesets/secondary/82D4D04/palettes/8.pal
new file mode 100644
index 000000000..77e03a48c
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+82 82 106
+123 123 123
+172 172 164
+222 213 139
+180 172 98
+156 148 82
+213 255 197
+164 230 148
+123 172 148
+148 213 164
+156 74 41
+180 90 65
+213 131 106
+238 164 139
+246 238 205
diff --git a/data/tilesets/secondary/82D4D04/palettes/9.pal b/data/tilesets/secondary/82D4D04/palettes/9.pal
new file mode 100644
index 000000000..ef91ae987
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+82 82 106
+123 123 123
+172 172 164
+156 189 131
+222 205 115
+156 148 82
+123 106 57
+74 131 164
+98 172 205
+49 139 49
+106 205 164
+156 148 82
+115 164 106
+205 230 197
+238 255 238
diff --git a/data/tilesets/secondary/82D4D04/tiles.png b/data/tilesets/secondary/82D4D04/tiles.png
new file mode 100644
index 000000000..6e97a68a1
--- /dev/null
+++ b/data/tilesets/secondary/82D4D04/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4D1C/metatile_attributes.bin b/data/tilesets/secondary/82D4D1C/metatile_attributes.bin
new file mode 100644
index 000000000..84b5e2049
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D1C/metatiles.bin b/data/tilesets/secondary/82D4D1C/metatiles.bin
new file mode 100644
index 000000000..c026eb65a
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D1C/palettes/0.pal b/data/tilesets/secondary/82D4D1C/palettes/0.pal
new file mode 100644
index 000000000..4b44e19f4
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+205 156 156
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4D1C/palettes/1.pal b/data/tilesets/secondary/82D4D1C/palettes/1.pal
new file mode 100644
index 000000000..a39ca6aa8
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+205 156 156
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4D1C/palettes/10.pal b/data/tilesets/secondary/82D4D1C/palettes/10.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D1C/palettes/11.pal b/data/tilesets/secondary/82D4D1C/palettes/11.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D1C/palettes/12.pal b/data/tilesets/secondary/82D4D1C/palettes/12.pal
new file mode 100644
index 000000000..419c00911
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+123 164 172
+222 189 172
+246 213 189
+246 230 180
+255 246 213
+164 189 213
+189 205 230
+222 230 246
+98 123 148
+123 148 172
+148 172 197
+98 98 123
+148 139 131
+205 189 197
+255 255 255
diff --git a/data/tilesets/secondary/82D4D1C/palettes/13.pal b/data/tilesets/secondary/82D4D1C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D1C/palettes/14.pal b/data/tilesets/secondary/82D4D1C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D1C/palettes/15.pal b/data/tilesets/secondary/82D4D1C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D1C/palettes/2.pal b/data/tilesets/secondary/82D4D1C/palettes/2.pal
new file mode 100644
index 000000000..5a4f127be
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+205 156 156
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4D1C/palettes/3.pal b/data/tilesets/secondary/82D4D1C/palettes/3.pal
new file mode 100644
index 000000000..c84fa4a58
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+205 156 156
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4D1C/palettes/4.pal b/data/tilesets/secondary/82D4D1C/palettes/4.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D1C/palettes/5.pal b/data/tilesets/secondary/82D4D1C/palettes/5.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D1C/palettes/6.pal b/data/tilesets/secondary/82D4D1C/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D1C/palettes/7.pal b/data/tilesets/secondary/82D4D1C/palettes/7.pal
new file mode 100644
index 000000000..aac016a72
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+156 205 246
+98 156 238
+0 0 0
+0 0 0
+123 164 172
+148 189 197
+172 205 213
+205 222 230
+98 123 148
+123 148 172
+148 172 197
+98 98 123
+148 139 131
+222 205 213
+255 255 255
diff --git a/data/tilesets/secondary/82D4D1C/palettes/8.pal b/data/tilesets/secondary/82D4D1C/palettes/8.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D1C/palettes/9.pal b/data/tilesets/secondary/82D4D1C/palettes/9.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D1C/tiles.png b/data/tilesets/secondary/82D4D1C/tiles.png
new file mode 100644
index 000000000..44b7c0c34
--- /dev/null
+++ b/data/tilesets/secondary/82D4D1C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4D34/metatile_attributes.bin b/data/tilesets/secondary/82D4D34/metatile_attributes.bin
new file mode 100644
index 000000000..a5e733de0
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D34/metatiles.bin b/data/tilesets/secondary/82D4D34/metatiles.bin
new file mode 100644
index 000000000..25a46724b
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D34/palettes/0.pal b/data/tilesets/secondary/82D4D34/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4D34/palettes/1.pal b/data/tilesets/secondary/82D4D34/palettes/1.pal
new file mode 100644
index 000000000..d99adafff
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4D34/palettes/10.pal b/data/tilesets/secondary/82D4D34/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D34/palettes/11.pal b/data/tilesets/secondary/82D4D34/palettes/11.pal
new file mode 100644
index 000000000..9fa42f21f
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+65 74 106
+90 90 115
+123 123 131
+148 164 180
+172 189 205
+205 222 238
+246 246 255
+255 0 255
+255 0 255
+205 82 65
+255 131 115
+230 172 57
+222 213 0
+222 180 65
+255 222 98
diff --git a/data/tilesets/secondary/82D4D34/palettes/12.pal b/data/tilesets/secondary/82D4D34/palettes/12.pal
new file mode 100644
index 000000000..5e2756cc9
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+131 131 131
+180 180 164
+255 255 255
+222 180 65
+238 197 82
+189 148 49
+246 238 164
+213 213 222
+156 156 205
+180 180 246
+82 106 156
+123 148 197
+189 197 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4D34/palettes/13.pal b/data/tilesets/secondary/82D4D34/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D34/palettes/14.pal b/data/tilesets/secondary/82D4D34/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D34/palettes/15.pal b/data/tilesets/secondary/82D4D34/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D34/palettes/2.pal b/data/tilesets/secondary/82D4D34/palettes/2.pal
new file mode 100644
index 000000000..cc3a9457d
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4D34/palettes/3.pal b/data/tilesets/secondary/82D4D34/palettes/3.pal
new file mode 100644
index 000000000..7ec794ae5
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4D34/palettes/4.pal b/data/tilesets/secondary/82D4D34/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D34/palettes/5.pal b/data/tilesets/secondary/82D4D34/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D34/palettes/6.pal b/data/tilesets/secondary/82D4D34/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D34/palettes/7.pal b/data/tilesets/secondary/82D4D34/palettes/7.pal
new file mode 100644
index 000000000..efd64bcc5
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+32 180 230
+172 255 230
+189 189 115
+238 222 164
+255 255 180
+205 82 65
+255 131 115
+189 180 106
+205 197 123
+222 222 148
+164 164 98
diff --git a/data/tilesets/secondary/82D4D34/palettes/8.pal b/data/tilesets/secondary/82D4D34/palettes/8.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D34/palettes/9.pal b/data/tilesets/secondary/82D4D34/palettes/9.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D34/tiles.png b/data/tilesets/secondary/82D4D34/tiles.png
new file mode 100644
index 000000000..1baac0893
--- /dev/null
+++ b/data/tilesets/secondary/82D4D34/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4D4C/metatile_attributes.bin b/data/tilesets/secondary/82D4D4C/metatile_attributes.bin
new file mode 100644
index 000000000..def1ee695
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D4C/metatiles.bin b/data/tilesets/secondary/82D4D4C/metatiles.bin
new file mode 100644
index 000000000..f3f58a44d
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D4C/palettes/0.pal b/data/tilesets/secondary/82D4D4C/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4D4C/palettes/1.pal b/data/tilesets/secondary/82D4D4C/palettes/1.pal
new file mode 100644
index 000000000..69f3f0b9e
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+180 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+238 246 238
diff --git a/data/tilesets/secondary/82D4D4C/palettes/10.pal b/data/tilesets/secondary/82D4D4C/palettes/10.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D4C/palettes/11.pal b/data/tilesets/secondary/82D4D4C/palettes/11.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D4C/palettes/12.pal b/data/tilesets/secondary/82D4D4C/palettes/12.pal
new file mode 100644
index 000000000..041512724
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+41 123 123
+41 156 156
+49 189 172
+65 230 189
+65 246 230
+106 90 74
+131 106 74
+156 131 65
+172 156 74
+172 156 106
+205 180 106
+222 205 98
+230 222 106
diff --git a/data/tilesets/secondary/82D4D4C/palettes/13.pal b/data/tilesets/secondary/82D4D4C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D4C/palettes/14.pal b/data/tilesets/secondary/82D4D4C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D4C/palettes/15.pal b/data/tilesets/secondary/82D4D4C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D4C/palettes/2.pal b/data/tilesets/secondary/82D4D4C/palettes/2.pal
new file mode 100644
index 000000000..330e35b02
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+213 131 82
+156 205 246
+98 156 238
+57 123 222
+222 139 106
+189 98 74
diff --git a/data/tilesets/secondary/82D4D4C/palettes/3.pal b/data/tilesets/secondary/82D4D4C/palettes/3.pal
new file mode 100644
index 000000000..eac8236f1
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+148 148 148
+180 180 180
+255 255 255
+238 246 238
+222 238 222
+197 205 197
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D4C/palettes/4.pal b/data/tilesets/secondary/82D4D4C/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D4C/palettes/5.pal b/data/tilesets/secondary/82D4D4C/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D4C/palettes/6.pal b/data/tilesets/secondary/82D4D4C/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D4C/palettes/7.pal b/data/tilesets/secondary/82D4D4C/palettes/7.pal
new file mode 100644
index 000000000..9d84ecaba
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+139 139 148
+74 156 90
+65 139 139
+115 205 90
+148 238 74
+189 255 98
+156 131 82
+197 115 123
+255 164 123
+238 238 172
+82 115 82
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4D4C/palettes/8.pal b/data/tilesets/secondary/82D4D4C/palettes/8.pal
new file mode 100644
index 000000000..085c49344
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+139 139 148
+222 213 246
+238 238 255
+123 156 246
+106 197 255
+131 222 255
+156 230 255
+115 90 98
+189 115 131
+246 189 115
+222 189 246
+255 230 115
+90 98 213
+255 172 197
diff --git a/data/tilesets/secondary/82D4D4C/palettes/9.pal b/data/tilesets/secondary/82D4D4C/palettes/9.pal
new file mode 100644
index 000000000..9020b628f
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+156 131 57
+213 197 106
+246 238 148
+213 222 238
+222 230 255
+41 106 82
+57 131 115
+172 131 115
+197 156 148
+238 180 164
+180 139 123
diff --git a/data/tilesets/secondary/82D4D4C/tiles.png b/data/tilesets/secondary/82D4D4C/tiles.png
new file mode 100644
index 000000000..ef08ccc83
--- /dev/null
+++ b/data/tilesets/secondary/82D4D4C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4D64/metatile_attributes.bin b/data/tilesets/secondary/82D4D64/metatile_attributes.bin
new file mode 100644
index 000000000..ee895c35a
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D64/metatiles.bin b/data/tilesets/secondary/82D4D64/metatiles.bin
new file mode 100644
index 000000000..e0fdb79fb
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D64/palettes/0.pal b/data/tilesets/secondary/82D4D64/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4D64/palettes/1.pal b/data/tilesets/secondary/82D4D64/palettes/1.pal
new file mode 100644
index 000000000..3a16a45c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+238 246 238
diff --git a/data/tilesets/secondary/82D4D64/palettes/10.pal b/data/tilesets/secondary/82D4D64/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D64/palettes/11.pal b/data/tilesets/secondary/82D4D64/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D64/palettes/12.pal b/data/tilesets/secondary/82D4D64/palettes/12.pal
new file mode 100644
index 000000000..702c67ecb
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 131
+197 189 213
+255 255 255
+148 148 156
+180 139 222
+205 172 246
+222 205 255
+106 123 172
+131 148 197
+156 172 230
+65 205 82
+180 255 197
+246 164 115
+255 230 148
diff --git a/data/tilesets/secondary/82D4D64/palettes/13.pal b/data/tilesets/secondary/82D4D64/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D64/palettes/14.pal b/data/tilesets/secondary/82D4D64/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D64/palettes/15.pal b/data/tilesets/secondary/82D4D64/palettes/15.pal
new file mode 100644
index 000000000..92e7ed309
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4D64/palettes/2.pal b/data/tilesets/secondary/82D4D64/palettes/2.pal
new file mode 100644
index 000000000..c8ee236d7
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+255 0 255
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4D64/palettes/3.pal b/data/tilesets/secondary/82D4D64/palettes/3.pal
new file mode 100644
index 000000000..b17dbb054
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+164 164 164
+180 189 189
+255 255 255
+238 246 238
+213 230 222
+197 205 197
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D64/palettes/4.pal b/data/tilesets/secondary/82D4D64/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D64/palettes/5.pal b/data/tilesets/secondary/82D4D64/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D64/palettes/6.pal b/data/tilesets/secondary/82D4D64/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D64/palettes/7.pal b/data/tilesets/secondary/82D4D64/palettes/7.pal
new file mode 100644
index 000000000..c66eaedff
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 131
+197 189 213
+255 255 255
+180 123 148
+230 139 230
+255 222 255
+213 213 222
+213 98 65
+246 139 106
+255 0 255
+255 0 255
+255 0 255
+205 246 255
+98 197 238
diff --git a/data/tilesets/secondary/82D4D64/palettes/8.pal b/data/tilesets/secondary/82D4D64/palettes/8.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D64/palettes/9.pal b/data/tilesets/secondary/82D4D64/palettes/9.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D64/tiles.png b/data/tilesets/secondary/82D4D64/tiles.png
new file mode 100644
index 000000000..87641a309
--- /dev/null
+++ b/data/tilesets/secondary/82D4D64/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4D7C/metatile_attributes.bin b/data/tilesets/secondary/82D4D7C/metatile_attributes.bin
new file mode 100644
index 000000000..1d68a40a4
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D7C/metatiles.bin b/data/tilesets/secondary/82D4D7C/metatiles.bin
new file mode 100644
index 000000000..7a5532619
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D7C/palettes/0.pal b/data/tilesets/secondary/82D4D7C/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4D7C/palettes/1.pal b/data/tilesets/secondary/82D4D7C/palettes/1.pal
new file mode 100644
index 000000000..69f3f0b9e
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+180 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+238 246 238
diff --git a/data/tilesets/secondary/82D4D7C/palettes/10.pal b/data/tilesets/secondary/82D4D7C/palettes/10.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D7C/palettes/11.pal b/data/tilesets/secondary/82D4D7C/palettes/11.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D7C/palettes/12.pal b/data/tilesets/secondary/82D4D7C/palettes/12.pal
new file mode 100644
index 000000000..3f9aa94d6
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+106 90 82
+148 115 82
+172 131 90
+213 172 90
+230 180 90
+164 90 172
+197 115 205
+230 148 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4D7C/palettes/13.pal b/data/tilesets/secondary/82D4D7C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D7C/palettes/14.pal b/data/tilesets/secondary/82D4D7C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D7C/palettes/15.pal b/data/tilesets/secondary/82D4D7C/palettes/15.pal
new file mode 100644
index 000000000..92e7ed309
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4D7C/palettes/2.pal b/data/tilesets/secondary/82D4D7C/palettes/2.pal
new file mode 100644
index 000000000..330e35b02
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+213 131 82
+156 205 246
+98 156 238
+57 123 222
+222 139 106
+189 98 74
diff --git a/data/tilesets/secondary/82D4D7C/palettes/3.pal b/data/tilesets/secondary/82D4D7C/palettes/3.pal
new file mode 100644
index 000000000..eac8236f1
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+148 148 148
+180 180 180
+255 255 255
+238 246 238
+222 238 222
+197 205 197
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D7C/palettes/4.pal b/data/tilesets/secondary/82D4D7C/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D7C/palettes/5.pal b/data/tilesets/secondary/82D4D7C/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D7C/palettes/6.pal b/data/tilesets/secondary/82D4D7C/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D7C/palettes/7.pal b/data/tilesets/secondary/82D4D7C/palettes/7.pal
new file mode 100644
index 000000000..5b659ef1b
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+139 139 148
+180 156 172
+205 189 189
+230 222 189
+90 115 90
+131 197 115
+205 238 115
+123 82 74
+180 98 98
+255 139 74
+238 246 172
+255 230 74
+106 90 82
+255 0 255
diff --git a/data/tilesets/secondary/82D4D7C/palettes/8.pal b/data/tilesets/secondary/82D4D7C/palettes/8.pal
new file mode 100644
index 000000000..f5a4ee678
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+139 139 148
+205 189 189
+246 246 255
+148 131 180
+205 189 230
+123 98 255
+82 172 148
+255 98 98
+90 115 90
+131 197 115
+205 238 115
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4D7C/palettes/9.pal b/data/tilesets/secondary/82D4D7C/palettes/9.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D7C/tiles.png b/data/tilesets/secondary/82D4D7C/tiles.png
new file mode 100644
index 000000000..213799158
--- /dev/null
+++ b/data/tilesets/secondary/82D4D7C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4D94/metatile_attributes.bin b/data/tilesets/secondary/82D4D94/metatile_attributes.bin
new file mode 100644
index 000000000..949846f90
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D94/metatiles.bin b/data/tilesets/secondary/82D4D94/metatiles.bin
new file mode 100644
index 000000000..a976297b3
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4D94/palettes/0.pal b/data/tilesets/secondary/82D4D94/palettes/0.pal
new file mode 100644
index 000000000..28232d99e
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4D94/palettes/1.pal b/data/tilesets/secondary/82D4D94/palettes/1.pal
new file mode 100644
index 000000000..b43532470
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4D94/palettes/10.pal b/data/tilesets/secondary/82D4D94/palettes/10.pal
new file mode 100644
index 000000000..2a1743eaa
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+156 205 156
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4D94/palettes/11.pal b/data/tilesets/secondary/82D4D94/palettes/11.pal
new file mode 100644
index 000000000..307e0ea7e
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+156 205 156
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4D94/palettes/12.pal b/data/tilesets/secondary/82D4D94/palettes/12.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D94/palettes/13.pal b/data/tilesets/secondary/82D4D94/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D94/palettes/14.pal b/data/tilesets/secondary/82D4D94/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D94/palettes/15.pal b/data/tilesets/secondary/82D4D94/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4D94/palettes/2.pal b/data/tilesets/secondary/82D4D94/palettes/2.pal
new file mode 100644
index 000000000..e267ae90e
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4D94/palettes/3.pal b/data/tilesets/secondary/82D4D94/palettes/3.pal
new file mode 100644
index 000000000..503f22878
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4D94/palettes/4.pal b/data/tilesets/secondary/82D4D94/palettes/4.pal
new file mode 100644
index 000000000..cdf1b6190
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+222 255 255
+172 222 255
+148 189 238
+106 156 230
+57 148 197
+32 131 172
+82 148 213
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+230 213 148
+238 230 139
+222 197 139
+213 189 106
diff --git a/data/tilesets/secondary/82D4D94/palettes/5.pal b/data/tilesets/secondary/82D4D94/palettes/5.pal
new file mode 100644
index 000000000..09555ded5
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4D94/palettes/6.pal b/data/tilesets/secondary/82D4D94/palettes/6.pal
new file mode 100644
index 000000000..0dba59a72
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+222 255 255
+172 222 255
+148 189 238
+106 156 230
+41 90 172
+41 57 148
+74 123 197
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+230 213 148
+238 230 139
+222 197 139
+213 189 106
diff --git a/data/tilesets/secondary/82D4D94/palettes/7.pal b/data/tilesets/secondary/82D4D94/palettes/7.pal
new file mode 100644
index 000000000..e9848a1c0
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+156 205 156
+82 82 106
+115 115 139
+148 148 172
+189 189 205
+222 222 230
+255 255 255
+180 180 74
+205 205 98
+255 255 98
+98 98 172
+131 131 213
+164 164 255
+131 98 41
+164 139 82
+205 180 123
diff --git a/data/tilesets/secondary/82D4D94/palettes/8.pal b/data/tilesets/secondary/82D4D94/palettes/8.pal
new file mode 100644
index 000000000..b5c80c8f4
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+156 205 156
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+90 156 57
+131 180 49
+172 205 49
+197 230 98
+222 255 148
+222 172 98
+255 197 98
+255 222 156
+131 98 41
+164 139 82
+205 180 123
diff --git a/data/tilesets/secondary/82D4D94/palettes/9.pal b/data/tilesets/secondary/82D4D94/palettes/9.pal
new file mode 100644
index 000000000..b66b2399a
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+156 205 156
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+255 0 255
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+255 0 255
+255 0 255
+255 0 255
+131 98 41
+164 139 82
+205 180 123
diff --git a/data/tilesets/secondary/82D4D94/tiles.png b/data/tilesets/secondary/82D4D94/tiles.png
new file mode 100644
index 000000000..280f3e227
--- /dev/null
+++ b/data/tilesets/secondary/82D4D94/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4DAC/metatile_attributes.bin b/data/tilesets/secondary/82D4DAC/metatile_attributes.bin
new file mode 100644
index 000000000..1b1cb4d44
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4DAC/metatiles.bin b/data/tilesets/secondary/82D4DAC/metatiles.bin
new file mode 100644
index 000000000..c15edf653
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4DAC/palettes/0.pal b/data/tilesets/secondary/82D4DAC/palettes/0.pal
new file mode 100644
index 000000000..0fd74602e
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+24 41 82
+255 255 255
+222 230 238
+189 205 230
+156 180 222
+131 131 139
+98 98 123
+65 74 106
+189 189 131
+115 189 246
+98 172 238
+115 189 246
+98 164 222
+82 139 197
+74 115 172
+115 197 164
diff --git a/data/tilesets/secondary/82D4DAC/palettes/1.pal b/data/tilesets/secondary/82D4DAC/palettes/1.pal
new file mode 100644
index 000000000..3c6e40c2e
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+24 41 82
+255 255 255
+222 230 238
+189 205 230
+156 180 222
+131 131 139
+98 98 123
+65 74 106
+41 49 90
+115 189 246
+98 172 238
+255 189 131
+238 148 115
+222 106 98
+205 65 82
+115 197 164
diff --git a/data/tilesets/secondary/82D4DAC/palettes/10.pal b/data/tilesets/secondary/82D4DAC/palettes/10.pal
new file mode 100644
index 000000000..cd86ca4ae
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 197 164
+82 82 106
+148 148 164
+205 189 197
+255 255 255
+222 213 230
+189 172 180
+255 205 106
+230 189 106
+205 156 82
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+57 139 49
+106 106 123
diff --git a/data/tilesets/secondary/82D4DAC/palettes/11.pal b/data/tilesets/secondary/82D4DAC/palettes/11.pal
new file mode 100644
index 000000000..ec8e2f42d
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+74 74 98
+106 106 115
+0 0 0
+0 0 0
+148 106 57
+189 139 57
+213 189 131
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DAC/palettes/12.pal b/data/tilesets/secondary/82D4DAC/palettes/12.pal
new file mode 100644
index 000000000..5caa038ad
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 197 164
+255 255 255
+213 222 246
+164 172 222
+98 98 123
+65 74 106
+238 213 205
+222 172 164
+205 131 123
+189 98 82
+222 222 222
+172 180 189
+139 148 164
+106 123 123
+222 74 0
+213 213 57
diff --git a/data/tilesets/secondary/82D4DAC/palettes/13.pal b/data/tilesets/secondary/82D4DAC/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DAC/palettes/14.pal b/data/tilesets/secondary/82D4DAC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DAC/palettes/15.pal b/data/tilesets/secondary/82D4DAC/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DAC/palettes/2.pal b/data/tilesets/secondary/82D4DAC/palettes/2.pal
new file mode 100644
index 000000000..4c41030f6
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+24 41 82
+180 255 131
+131 197 98
+57 139 49
+57 82 0
+222 148 115
+106 90 90
+164 98 90
+65 57 49
+255 197 148
+222 106 98
+205 65 82
+164 213 197
+115 197 164
+65 180 131
+24 164 106
diff --git a/data/tilesets/secondary/82D4DAC/palettes/3.pal b/data/tilesets/secondary/82D4DAC/palettes/3.pal
new file mode 100644
index 000000000..5665ddc22
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+24 41 82
+255 255 255
+213 213 213
+189 189 189
+164 164 164
+131 131 139
+65 180 131
+164 213 197
+65 49 65
+238 213 205
+222 180 164
+189 148 139
+156 115 115
+131 90 90
+98 65 82
+115 197 164
diff --git a/data/tilesets/secondary/82D4DAC/palettes/4.pal b/data/tilesets/secondary/82D4DAC/palettes/4.pal
new file mode 100644
index 000000000..d8051b7ba
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+24 41 82
+255 255 255
+222 230 238
+255 0 255
+255 0 255
+255 0 255
+156 164 189
+82 106 213
+65 90 189
+57 82 156
+41 65 139
+172 197 230
+139 164 222
+106 131 213
+82 106 213
+115 197 164
diff --git a/data/tilesets/secondary/82D4DAC/palettes/5.pal b/data/tilesets/secondary/82D4DAC/palettes/5.pal
new file mode 100644
index 000000000..4e684594c
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+24 41 82
+255 255 255
+222 230 238
+189 205 230
+156 180 222
+131 131 139
+98 98 123
+65 74 106
+41 49 90
+131 197 246
+106 180 222
+238 230 164
+222 205 131
+213 180 106
+205 156 82
+115 197 164
diff --git a/data/tilesets/secondary/82D4DAC/palettes/6.pal b/data/tilesets/secondary/82D4DAC/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DAC/palettes/7.pal b/data/tilesets/secondary/82D4DAC/palettes/7.pal
new file mode 100644
index 000000000..2064b3bd2
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 197 164
+255 255 255
+238 222 172
+230 156 98
+197 90 65
+65 74 106
+106 106 123
+131 90 49
+90 65 49
+57 57 57
+222 222 197
+172 180 148
+131 148 115
+106 123 65
+156 205 230
+156 156 156
diff --git a/data/tilesets/secondary/82D4DAC/palettes/8.pal b/data/tilesets/secondary/82D4DAC/palettes/8.pal
new file mode 100644
index 000000000..42a3483c0
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 197 164
+255 255 255
+213 222 246
+131 131 139
+98 98 123
+65 74 106
+164 205 189
+139 180 172
+115 156 139
+98 139 131
+189 172 180
+156 139 148
+230 106 57
+205 49 24
+148 57 24
+0 0 0
diff --git a/data/tilesets/secondary/82D4DAC/palettes/9.pal b/data/tilesets/secondary/82D4DAC/palettes/9.pal
new file mode 100644
index 000000000..b06dfbda7
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 197 164
+255 255 255
+213 222 246
+164 172 222
+98 98 123
+65 74 106
+98 98 123
+65 74 106
+115 123 164
+49 49 74
+189 238 180
+106 222 115
+74 180 98
+57 131 82
+131 197 230
+98 156 172
diff --git a/data/tilesets/secondary/82D4DAC/tiles.png b/data/tilesets/secondary/82D4DAC/tiles.png
new file mode 100644
index 000000000..c00ba0d61
--- /dev/null
+++ b/data/tilesets/secondary/82D4DAC/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4DC4/metatile_attributes.bin b/data/tilesets/secondary/82D4DC4/metatile_attributes.bin
new file mode 100644
index 000000000..990d6861c
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4DC4/metatiles.bin b/data/tilesets/secondary/82D4DC4/metatiles.bin
new file mode 100644
index 000000000..cd0bd5f53
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4DC4/palettes/0.pal b/data/tilesets/secondary/82D4DC4/palettes/0.pal
new file mode 100644
index 000000000..7af5bb7d2
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 82 0
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4DC4/palettes/1.pal b/data/tilesets/secondary/82D4DC4/palettes/1.pal
new file mode 100644
index 000000000..391d1e3d1
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 189 164
+189 148 139
+156 115 115
+123 82 82
+90 57 74
+115 205 164
diff --git a/data/tilesets/secondary/82D4DC4/palettes/10.pal b/data/tilesets/secondary/82D4DC4/palettes/10.pal
new file mode 100644
index 000000000..746437492
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+222 230 246
+189 197 222
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+49 139 49
+57 82 0
+49 180 98
+238 230 164
+222 205 131
+213 180 106
+205 156 82
+106 205 164
diff --git a/data/tilesets/secondary/82D4DC4/palettes/11.pal b/data/tilesets/secondary/82D4DC4/palettes/11.pal
new file mode 100644
index 000000000..410d5193a
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4DC4/palettes/12.pal b/data/tilesets/secondary/82D4DC4/palettes/12.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DC4/palettes/13.pal b/data/tilesets/secondary/82D4DC4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DC4/palettes/14.pal b/data/tilesets/secondary/82D4DC4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DC4/palettes/15.pal b/data/tilesets/secondary/82D4DC4/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DC4/palettes/2.pal b/data/tilesets/secondary/82D4DC4/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4DC4/palettes/3.pal b/data/tilesets/secondary/82D4DC4/palettes/3.pal
new file mode 100644
index 000000000..9581f2cd8
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 131
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4DC4/palettes/4.pal b/data/tilesets/secondary/82D4DC4/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4DC4/palettes/5.pal b/data/tilesets/secondary/82D4DC4/palettes/5.pal
new file mode 100644
index 000000000..3a2db72a7
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+222 205 131
+205 180 106
+180 139 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4DC4/palettes/6.pal b/data/tilesets/secondary/82D4DC4/palettes/6.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4DC4/palettes/7.pal b/data/tilesets/secondary/82D4DC4/palettes/7.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DC4/palettes/8.pal b/data/tilesets/secondary/82D4DC4/palettes/8.pal
new file mode 100644
index 000000000..650a35cc8
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 82 0
+57 115 24
+98 65 74
+131 106 82
+65 57 49
+255 0 255
+255 0 255
+255 0 255
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4DC4/palettes/9.pal b/data/tilesets/secondary/82D4DC4/palettes/9.pal
new file mode 100644
index 000000000..df2d04037
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+213 230 189
+57 172 131
+222 230 246
+230 172 123
+106 205 164
diff --git a/data/tilesets/secondary/82D4DC4/tiles.png b/data/tilesets/secondary/82D4DC4/tiles.png
new file mode 100644
index 000000000..451eb8d5a
--- /dev/null
+++ b/data/tilesets/secondary/82D4DC4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4DDC/metatile_attributes.bin b/data/tilesets/secondary/82D4DDC/metatile_attributes.bin
new file mode 100644
index 000000000..3549eaa93
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4DDC/metatiles.bin b/data/tilesets/secondary/82D4DDC/metatiles.bin
new file mode 100644
index 000000000..ea1398be3
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4DDC/palettes/0.pal b/data/tilesets/secondary/82D4DDC/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4DDC/palettes/1.pal b/data/tilesets/secondary/82D4DDC/palettes/1.pal
new file mode 100644
index 000000000..d99adafff
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4DDC/palettes/10.pal b/data/tilesets/secondary/82D4DDC/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DDC/palettes/11.pal b/data/tilesets/secondary/82D4DDC/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DDC/palettes/12.pal b/data/tilesets/secondary/82D4DDC/palettes/12.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DDC/palettes/13.pal b/data/tilesets/secondary/82D4DDC/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DDC/palettes/14.pal b/data/tilesets/secondary/82D4DDC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DDC/palettes/15.pal b/data/tilesets/secondary/82D4DDC/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DDC/palettes/2.pal b/data/tilesets/secondary/82D4DDC/palettes/2.pal
new file mode 100644
index 000000000..cc3a9457d
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4DDC/palettes/3.pal b/data/tilesets/secondary/82D4DDC/palettes/3.pal
new file mode 100644
index 000000000..7ec794ae5
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4DDC/palettes/4.pal b/data/tilesets/secondary/82D4DDC/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DDC/palettes/5.pal b/data/tilesets/secondary/82D4DDC/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DDC/palettes/6.pal b/data/tilesets/secondary/82D4DDC/palettes/6.pal
new file mode 100644
index 000000000..2903bb074
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+131 131 131
+180 180 164
+255 255 255
+189 164 82
+222 197 106
+230 222 156
+123 197 189
+156 222 213
+213 255 246
+255 0 255
+255 0 255
+213 131 65
+222 230 222
+246 238 189
diff --git a/data/tilesets/secondary/82D4DDC/palettes/7.pal b/data/tilesets/secondary/82D4DDC/palettes/7.pal
new file mode 100644
index 000000000..c62a40b0d
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+148 172 139
+180 197 164
+213 222 197
+238 255 213
+115 156 180
+197 222 238
+123 197 189
+156 222 213
+213 255 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4DDC/palettes/8.pal b/data/tilesets/secondary/82D4DDC/palettes/8.pal
new file mode 100644
index 000000000..8c66b4998
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+230 222 156
+189 98 74
+230 156 98
+213 205 156
+115 156 180
+246 238 189
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4DDC/palettes/9.pal b/data/tilesets/secondary/82D4DDC/palettes/9.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DDC/tiles.png b/data/tilesets/secondary/82D4DDC/tiles.png
new file mode 100644
index 000000000..6d376f447
--- /dev/null
+++ b/data/tilesets/secondary/82D4DDC/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4DF4/metatile_attributes.bin b/data/tilesets/secondary/82D4DF4/metatile_attributes.bin
new file mode 100644
index 000000000..96ef6a853
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4DF4/metatiles.bin b/data/tilesets/secondary/82D4DF4/metatiles.bin
new file mode 100644
index 000000000..0ee478c87
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4DF4/palettes/0.pal b/data/tilesets/secondary/82D4DF4/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4DF4/palettes/1.pal b/data/tilesets/secondary/82D4DF4/palettes/1.pal
new file mode 100644
index 000000000..d8a4e7757
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4DF4/palettes/10.pal b/data/tilesets/secondary/82D4DF4/palettes/10.pal
new file mode 100644
index 000000000..4235579fc
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+255 0 255
+255 0 255
+255 0 255
+0 0 0
+238 238 180
+230 213 123
+205 180 98
+156 156 115
+197 230 230
+180 213 213
+172 189 197
+131 156 156
+90 115 115
+74 82 82
+49 57 57
diff --git a/data/tilesets/secondary/82D4DF4/palettes/11.pal b/data/tilesets/secondary/82D4DF4/palettes/11.pal
new file mode 100644
index 000000000..277172976
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+205 189 115
+172 172 115
+156 156 115
+131 131 115
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 156 98
+148 139 98
+115 123 98
diff --git a/data/tilesets/secondary/82D4DF4/palettes/12.pal b/data/tilesets/secondary/82D4DF4/palettes/12.pal
new file mode 100644
index 000000000..2fa21e9fb
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4DF4/palettes/13.pal b/data/tilesets/secondary/82D4DF4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DF4/palettes/14.pal b/data/tilesets/secondary/82D4DF4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DF4/palettes/15.pal b/data/tilesets/secondary/82D4DF4/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DF4/palettes/2.pal b/data/tilesets/secondary/82D4DF4/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4DF4/palettes/3.pal b/data/tilesets/secondary/82D4DF4/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4DF4/palettes/4.pal b/data/tilesets/secondary/82D4DF4/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4DF4/palettes/5.pal b/data/tilesets/secondary/82D4DF4/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4DF4/palettes/6.pal b/data/tilesets/secondary/82D4DF4/palettes/6.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DF4/palettes/7.pal b/data/tilesets/secondary/82D4DF4/palettes/7.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4DF4/palettes/8.pal b/data/tilesets/secondary/82D4DF4/palettes/8.pal
new file mode 100644
index 000000000..34a637b1a
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+205 189 115
+172 172 115
+156 156 115
+131 131 115
+98 106 90
+255 0 255
+255 0 255
+255 0 255
+197 230 230
+180 213 213
+172 189 197
+131 156 156
+90 115 115
+74 82 82
+49 57 57
diff --git a/data/tilesets/secondary/82D4DF4/palettes/9.pal b/data/tilesets/secondary/82D4DF4/palettes/9.pal
new file mode 100644
index 000000000..f10a94f7c
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+205 189 115
+172 172 115
+156 156 115
+131 131 115
+238 222 123
+255 0 255
+222 180 57
+189 148 57
+148 115 74
+106 106 82
+74 74 74
+0 0 0
+98 139 197
+74 115 172
+57 98 156
diff --git a/data/tilesets/secondary/82D4DF4/tiles.png b/data/tilesets/secondary/82D4DF4/tiles.png
new file mode 100644
index 000000000..cb4078fa9
--- /dev/null
+++ b/data/tilesets/secondary/82D4DF4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4E0C/metatile_attributes.bin b/data/tilesets/secondary/82D4E0C/metatile_attributes.bin
new file mode 100644
index 000000000..2b24a5266
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E0C/metatiles.bin b/data/tilesets/secondary/82D4E0C/metatiles.bin
new file mode 100644
index 000000000..37ef8fe34
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E0C/palettes/0.pal b/data/tilesets/secondary/82D4E0C/palettes/0.pal
new file mode 100644
index 000000000..a3fab1c2f
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4E0C/palettes/1.pal b/data/tilesets/secondary/82D4E0C/palettes/1.pal
new file mode 100644
index 000000000..d8a4e7757
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4E0C/palettes/10.pal b/data/tilesets/secondary/82D4E0C/palettes/10.pal
new file mode 100644
index 000000000..5ccabc5a0
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+255 0 255
+255 0 255
+255 0 255
+0 0 0
+255 238 180
+222 205 148
+197 172 123
+172 139 90
+222 222 156
+189 189 123
+148 148 106
+115 106 90
+82 74 65
+57 49 41
+65 65 74
diff --git a/data/tilesets/secondary/82D4E0C/palettes/11.pal b/data/tilesets/secondary/82D4E0C/palettes/11.pal
new file mode 100644
index 000000000..fa0038726
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+197 172 123
+172 139 90
+148 106 65
+123 74 41
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+230 222 164
+213 197 131
+197 172 106
+172 148 74
diff --git a/data/tilesets/secondary/82D4E0C/palettes/12.pal b/data/tilesets/secondary/82D4E0C/palettes/12.pal
new file mode 100644
index 000000000..c19d59bd0
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+180 180 98
+164 164 74
+139 139 49
+123 115 41
+255 238 180
+222 205 148
+197 172 123
+172 139 90
+222 222 156
+189 189 123
+148 148 82
+115 106 49
+90 82 41
+57 49 41
+65 65 74
diff --git a/data/tilesets/secondary/82D4E0C/palettes/13.pal b/data/tilesets/secondary/82D4E0C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E0C/palettes/14.pal b/data/tilesets/secondary/82D4E0C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E0C/palettes/15.pal b/data/tilesets/secondary/82D4E0C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E0C/palettes/2.pal b/data/tilesets/secondary/82D4E0C/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4E0C/palettes/3.pal b/data/tilesets/secondary/82D4E0C/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4E0C/palettes/4.pal b/data/tilesets/secondary/82D4E0C/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4E0C/palettes/5.pal b/data/tilesets/secondary/82D4E0C/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4E0C/palettes/6.pal b/data/tilesets/secondary/82D4E0C/palettes/6.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E0C/palettes/7.pal b/data/tilesets/secondary/82D4E0C/palettes/7.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E0C/palettes/8.pal b/data/tilesets/secondary/82D4E0C/palettes/8.pal
new file mode 100644
index 000000000..74cbc54c6
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+197 172 123
+172 139 90
+148 106 65
+123 74 41
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+222 222 156
+189 189 123
+148 148 106
+115 106 90
+82 74 65
+57 49 41
+65 65 74
diff --git a/data/tilesets/secondary/82D4E0C/palettes/9.pal b/data/tilesets/secondary/82D4E0C/palettes/9.pal
new file mode 100644
index 000000000..def7acffc
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+197 172 123
+172 139 90
+148 106 65
+123 74 41
+164 180 230
+139 156 222
+98 106 139
+65 65 57
+255 0 255
+255 0 255
+65 65 74
+0 0 0
+98 139 197
+74 115 172
+57 98 156
diff --git a/data/tilesets/secondary/82D4E0C/tiles.png b/data/tilesets/secondary/82D4E0C/tiles.png
new file mode 100644
index 000000000..77b767b79
--- /dev/null
+++ b/data/tilesets/secondary/82D4E0C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4E24/metatile_attributes.bin b/data/tilesets/secondary/82D4E24/metatile_attributes.bin
new file mode 100644
index 000000000..87564066c
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E24/metatiles.bin b/data/tilesets/secondary/82D4E24/metatiles.bin
new file mode 100644
index 000000000..8f8bd569b
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E24/palettes/0.pal b/data/tilesets/secondary/82D4E24/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4E24/palettes/1.pal b/data/tilesets/secondary/82D4E24/palettes/1.pal
new file mode 100644
index 000000000..d8a4e7757
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4E24/palettes/10.pal b/data/tilesets/secondary/82D4E24/palettes/10.pal
new file mode 100644
index 000000000..7116e91ff
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+255 0 255
+255 0 255
+255 0 255
+0 0 0
+238 238 180
+238 222 148
+189 222 156
+205 230 238
+238 238 246
+180 205 238
+123 180 230
+90 156 197
+98 123 172
+82 98 131
+65 74 82
diff --git a/data/tilesets/secondary/82D4E24/palettes/11.pal b/data/tilesets/secondary/82D4E24/palettes/11.pal
new file mode 100644
index 000000000..b237ef1c8
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+189 213 230
+189 197 230
+172 180 213
+148 156 172
+156 238 255
+164 246 255
+213 255 255
+106 230 255
+41 205 255
+32 131 255
+32 82 197
+32 74 131
+205 230 172
+189 213 172
+0 0 0
diff --git a/data/tilesets/secondary/82D4E24/palettes/12.pal b/data/tilesets/secondary/82D4E24/palettes/12.pal
new file mode 100644
index 000000000..ed56edee1
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4E24/palettes/13.pal b/data/tilesets/secondary/82D4E24/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E24/palettes/14.pal b/data/tilesets/secondary/82D4E24/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E24/palettes/15.pal b/data/tilesets/secondary/82D4E24/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E24/palettes/2.pal b/data/tilesets/secondary/82D4E24/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4E24/palettes/3.pal b/data/tilesets/secondary/82D4E24/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4E24/palettes/4.pal b/data/tilesets/secondary/82D4E24/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4E24/palettes/5.pal b/data/tilesets/secondary/82D4E24/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4E24/palettes/6.pal b/data/tilesets/secondary/82D4E24/palettes/6.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E24/palettes/7.pal b/data/tilesets/secondary/82D4E24/palettes/7.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E24/palettes/8.pal b/data/tilesets/secondary/82D4E24/palettes/8.pal
new file mode 100644
index 000000000..d96f3f0fc
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+189 213 230
+189 197 230
+172 180 213
+148 156 172
+156 238 255
+164 246 255
+213 255 255
+205 230 238
+238 238 246
+180 205 238
+123 180 230
+90 156 197
+98 123 172
+82 98 131
+65 74 82
diff --git a/data/tilesets/secondary/82D4E24/palettes/9.pal b/data/tilesets/secondary/82D4E24/palettes/9.pal
new file mode 100644
index 000000000..1a1dc881b
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+189 213 230
+189 197 230
+172 180 213
+148 156 172
+255 238 164
+238 230 139
+230 205 90
+197 172 74
+156 123 57
+106 82 115
+65 57 74
+0 0 0
+98 139 197
+74 115 172
+57 98 156
diff --git a/data/tilesets/secondary/82D4E24/tiles.png b/data/tilesets/secondary/82D4E24/tiles.png
new file mode 100644
index 000000000..e085d8e33
--- /dev/null
+++ b/data/tilesets/secondary/82D4E24/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4E3C/metatile_attributes.bin b/data/tilesets/secondary/82D4E3C/metatile_attributes.bin
new file mode 100644
index 000000000..3549eaa93
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E3C/metatiles.bin b/data/tilesets/secondary/82D4E3C/metatiles.bin
new file mode 100644
index 000000000..ea1398be3
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E3C/palettes/0.pal b/data/tilesets/secondary/82D4E3C/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4E3C/palettes/1.pal b/data/tilesets/secondary/82D4E3C/palettes/1.pal
new file mode 100644
index 000000000..d99adafff
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4E3C/palettes/10.pal b/data/tilesets/secondary/82D4E3C/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E3C/palettes/11.pal b/data/tilesets/secondary/82D4E3C/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E3C/palettes/12.pal b/data/tilesets/secondary/82D4E3C/palettes/12.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E3C/palettes/13.pal b/data/tilesets/secondary/82D4E3C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E3C/palettes/14.pal b/data/tilesets/secondary/82D4E3C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E3C/palettes/15.pal b/data/tilesets/secondary/82D4E3C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E3C/palettes/2.pal b/data/tilesets/secondary/82D4E3C/palettes/2.pal
new file mode 100644
index 000000000..cc3a9457d
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4E3C/palettes/3.pal b/data/tilesets/secondary/82D4E3C/palettes/3.pal
new file mode 100644
index 000000000..7ec794ae5
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4E3C/palettes/4.pal b/data/tilesets/secondary/82D4E3C/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E3C/palettes/5.pal b/data/tilesets/secondary/82D4E3C/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E3C/palettes/6.pal b/data/tilesets/secondary/82D4E3C/palettes/6.pal
new file mode 100644
index 000000000..2903bb074
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+131 131 131
+180 180 164
+255 255 255
+189 164 82
+222 197 106
+230 222 156
+123 197 189
+156 222 213
+213 255 246
+255 0 255
+255 0 255
+213 131 65
+222 230 222
+246 238 189
diff --git a/data/tilesets/secondary/82D4E3C/palettes/7.pal b/data/tilesets/secondary/82D4E3C/palettes/7.pal
new file mode 100644
index 000000000..c62a40b0d
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+148 172 139
+180 197 164
+213 222 197
+238 255 213
+115 156 180
+197 222 238
+123 197 189
+156 222 213
+213 255 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4E3C/palettes/8.pal b/data/tilesets/secondary/82D4E3C/palettes/8.pal
new file mode 100644
index 000000000..8c66b4998
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+230 222 156
+189 98 74
+230 156 98
+213 205 156
+115 156 180
+246 238 189
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4E3C/palettes/9.pal b/data/tilesets/secondary/82D4E3C/palettes/9.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E3C/tiles.png b/data/tilesets/secondary/82D4E3C/tiles.png
new file mode 100644
index 000000000..6d376f447
--- /dev/null
+++ b/data/tilesets/secondary/82D4E3C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4E54/metatile_attributes.bin b/data/tilesets/secondary/82D4E54/metatile_attributes.bin
new file mode 100644
index 000000000..45b5bef90
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E54/metatiles.bin b/data/tilesets/secondary/82D4E54/metatiles.bin
new file mode 100644
index 000000000..249addbc7
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E54/palettes/0.pal b/data/tilesets/secondary/82D4E54/palettes/0.pal
new file mode 100644
index 000000000..a3fab1c2f
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4E54/palettes/1.pal b/data/tilesets/secondary/82D4E54/palettes/1.pal
new file mode 100644
index 000000000..d8a4e7757
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4E54/palettes/10.pal b/data/tilesets/secondary/82D4E54/palettes/10.pal
new file mode 100644
index 000000000..eb9198b0a
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+255 0 255
+255 0 255
+255 0 255
+0 0 0
+255 238 180
+230 205 164
+189 180 164
+172 164 156
+205 246 172
+172 213 148
+139 180 131
+115 156 106
+82 123 90
+57 98 74
+65 65 74
diff --git a/data/tilesets/secondary/82D4E54/palettes/11.pal b/data/tilesets/secondary/82D4E54/palettes/11.pal
new file mode 100644
index 000000000..9afe8750d
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+197 205 222
+172 180 197
+156 164 180
+115 123 139
+148 156 164
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+123 189 156
+106 156 139
+98 123 123
+90 98 115
diff --git a/data/tilesets/secondary/82D4E54/palettes/12.pal b/data/tilesets/secondary/82D4E54/palettes/12.pal
new file mode 100644
index 000000000..aced117f7
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+197 205 222
+197 205 222
+172 180 197
+156 164 180
+115 123 139
+238 238 164
+205 205 106
+172 172 90
+123 131 74
+115 123 139
+82 90 32
+65 65 74
+16 16 24
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4E54/palettes/13.pal b/data/tilesets/secondary/82D4E54/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E54/palettes/14.pal b/data/tilesets/secondary/82D4E54/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E54/palettes/15.pal b/data/tilesets/secondary/82D4E54/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E54/palettes/2.pal b/data/tilesets/secondary/82D4E54/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4E54/palettes/3.pal b/data/tilesets/secondary/82D4E54/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4E54/palettes/4.pal b/data/tilesets/secondary/82D4E54/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4E54/palettes/5.pal b/data/tilesets/secondary/82D4E54/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4E54/palettes/6.pal b/data/tilesets/secondary/82D4E54/palettes/6.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E54/palettes/7.pal b/data/tilesets/secondary/82D4E54/palettes/7.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E54/palettes/8.pal b/data/tilesets/secondary/82D4E54/palettes/8.pal
new file mode 100644
index 000000000..db2216a05
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+197 205 222
+172 180 197
+156 164 180
+115 123 139
+148 156 164
+255 0 255
+255 0 255
+255 0 255
+205 246 172
+172 213 148
+139 180 131
+115 156 106
+82 123 90
+57 98 74
+65 65 74
diff --git a/data/tilesets/secondary/82D4E54/palettes/9.pal b/data/tilesets/secondary/82D4E54/palettes/9.pal
new file mode 100644
index 000000000..c1a5d4f29
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+197 205 222
+197 205 222
+172 180 197
+156 164 180
+115 123 139
+255 246 164
+205 189 106
+156 131 57
+82 74 32
+90 106 115
+255 0 255
+65 65 74
+16 16 24
+98 139 197
+74 115 172
+57 98 156
diff --git a/data/tilesets/secondary/82D4E54/tiles.png b/data/tilesets/secondary/82D4E54/tiles.png
new file mode 100644
index 000000000..d53a0cf17
--- /dev/null
+++ b/data/tilesets/secondary/82D4E54/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4E6C/metatile_attributes.bin b/data/tilesets/secondary/82D4E6C/metatile_attributes.bin
new file mode 100644
index 000000000..5eca0b5c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E6C/metatiles.bin b/data/tilesets/secondary/82D4E6C/metatiles.bin
new file mode 100644
index 000000000..053045190
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E6C/palettes/0.pal b/data/tilesets/secondary/82D4E6C/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4E6C/palettes/1.pal b/data/tilesets/secondary/82D4E6C/palettes/1.pal
new file mode 100644
index 000000000..30be2fbe3
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4E6C/palettes/10.pal b/data/tilesets/secondary/82D4E6C/palettes/10.pal
new file mode 100644
index 000000000..c6e769ccc
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+139 222 156
+82 82 106
+131 131 131
+57 106 82
+41 156 98
+90 205 115
+197 172 90
+156 131 82
+213 205 106
+230 197 238
+180 189 164
+213 222 189
+156 172 172
+205 180 213
+189 197 213
+230 246 238
diff --git a/data/tilesets/secondary/82D4E6C/palettes/11.pal b/data/tilesets/secondary/82D4E6C/palettes/11.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E6C/palettes/12.pal b/data/tilesets/secondary/82D4E6C/palettes/12.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E6C/palettes/13.pal b/data/tilesets/secondary/82D4E6C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E6C/palettes/14.pal b/data/tilesets/secondary/82D4E6C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E6C/palettes/15.pal b/data/tilesets/secondary/82D4E6C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E6C/palettes/2.pal b/data/tilesets/secondary/82D4E6C/palettes/2.pal
new file mode 100644
index 000000000..cc3a9457d
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4E6C/palettes/3.pal b/data/tilesets/secondary/82D4E6C/palettes/3.pal
new file mode 100644
index 000000000..7ec794ae5
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4E6C/palettes/4.pal b/data/tilesets/secondary/82D4E6C/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E6C/palettes/5.pal b/data/tilesets/secondary/82D4E6C/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E6C/palettes/6.pal b/data/tilesets/secondary/82D4E6C/palettes/6.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E6C/palettes/7.pal b/data/tilesets/secondary/82D4E6C/palettes/7.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E6C/palettes/8.pal b/data/tilesets/secondary/82D4E6C/palettes/8.pal
new file mode 100644
index 000000000..18480092b
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+139 222 156
+82 82 106
+115 123 131
+98 90 65
+139 123 82
+197 172 90
+230 230 238
+205 115 74
+238 172 82
+238 213 82
+131 189 57
+164 222 82
+156 139 172
+205 172 222
+213 205 230
+246 255 255
diff --git a/data/tilesets/secondary/82D4E6C/palettes/9.pal b/data/tilesets/secondary/82D4E6C/palettes/9.pal
new file mode 100644
index 000000000..dd18b9d07
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+139 222 156
+82 82 106
+131 131 131
+172 123 82
+205 131 65
+213 148 65
+205 148 82
+238 164 82
+238 180 82
+148 106 74
+189 197 213
+222 230 230
+156 172 172
+90 131 238
+106 164 255
+156 189 255
diff --git a/data/tilesets/secondary/82D4E6C/tiles.png b/data/tilesets/secondary/82D4E6C/tiles.png
new file mode 100644
index 000000000..421932118
--- /dev/null
+++ b/data/tilesets/secondary/82D4E6C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4E84/metatile_attributes.bin b/data/tilesets/secondary/82D4E84/metatile_attributes.bin
new file mode 100644
index 000000000..18d7517d9
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E84/metatiles.bin b/data/tilesets/secondary/82D4E84/metatiles.bin
new file mode 100644
index 000000000..0943dc7af
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E84/palettes/0.pal b/data/tilesets/secondary/82D4E84/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4E84/palettes/1.pal b/data/tilesets/secondary/82D4E84/palettes/1.pal
new file mode 100644
index 000000000..d99adafff
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+255 230 156
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4E84/palettes/10.pal b/data/tilesets/secondary/82D4E84/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E84/palettes/11.pal b/data/tilesets/secondary/82D4E84/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E84/palettes/12.pal b/data/tilesets/secondary/82D4E84/palettes/12.pal
new file mode 100644
index 000000000..2903bb074
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+131 131 131
+180 180 164
+255 255 255
+189 164 82
+222 197 106
+230 222 156
+123 197 189
+156 222 213
+213 255 246
+255 0 255
+255 0 255
+213 131 65
+222 230 222
+246 238 189
diff --git a/data/tilesets/secondary/82D4E84/palettes/13.pal b/data/tilesets/secondary/82D4E84/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E84/palettes/14.pal b/data/tilesets/secondary/82D4E84/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E84/palettes/15.pal b/data/tilesets/secondary/82D4E84/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E84/palettes/2.pal b/data/tilesets/secondary/82D4E84/palettes/2.pal
new file mode 100644
index 000000000..cc3a9457d
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+139 197 139
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4E84/palettes/3.pal b/data/tilesets/secondary/82D4E84/palettes/3.pal
new file mode 100644
index 000000000..7ec794ae5
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4E84/palettes/4.pal b/data/tilesets/secondary/82D4E84/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E84/palettes/5.pal b/data/tilesets/secondary/82D4E84/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E84/palettes/6.pal b/data/tilesets/secondary/82D4E84/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E84/palettes/7.pal b/data/tilesets/secondary/82D4E84/palettes/7.pal
new file mode 100644
index 000000000..c62a40b0d
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+148 172 139
+180 197 164
+213 222 197
+238 255 213
+115 156 180
+197 222 238
+123 197 189
+156 222 213
+213 255 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4E84/palettes/8.pal b/data/tilesets/secondary/82D4E84/palettes/8.pal
new file mode 100644
index 000000000..8c66b4998
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+230 222 156
+189 98 74
+230 156 98
+213 205 156
+115 156 180
+246 238 189
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4E84/palettes/9.pal b/data/tilesets/secondary/82D4E84/palettes/9.pal
new file mode 100644
index 000000000..25d5d7019
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+156 213 255
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+0 0 0
diff --git a/data/tilesets/secondary/82D4E84/tiles.png b/data/tilesets/secondary/82D4E84/tiles.png
new file mode 100644
index 000000000..ca6e21f03
--- /dev/null
+++ b/data/tilesets/secondary/82D4E84/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4E9C/metatile_attributes.bin b/data/tilesets/secondary/82D4E9C/metatile_attributes.bin
new file mode 100644
index 000000000..1105056c9
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E9C/metatiles.bin b/data/tilesets/secondary/82D4E9C/metatiles.bin
new file mode 100644
index 000000000..7d1e15676
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4E9C/palettes/0.pal b/data/tilesets/secondary/82D4E9C/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4E9C/palettes/1.pal b/data/tilesets/secondary/82D4E9C/palettes/1.pal
new file mode 100644
index 000000000..30be2fbe3
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4E9C/palettes/10.pal b/data/tilesets/secondary/82D4E9C/palettes/10.pal
new file mode 100644
index 000000000..2a1743eaa
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+156 205 156
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4E9C/palettes/11.pal b/data/tilesets/secondary/82D4E9C/palettes/11.pal
new file mode 100644
index 000000000..307e0ea7e
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+156 205 156
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4E9C/palettes/12.pal b/data/tilesets/secondary/82D4E9C/palettes/12.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E9C/palettes/13.pal b/data/tilesets/secondary/82D4E9C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E9C/palettes/14.pal b/data/tilesets/secondary/82D4E9C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E9C/palettes/15.pal b/data/tilesets/secondary/82D4E9C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E9C/palettes/2.pal b/data/tilesets/secondary/82D4E9C/palettes/2.pal
new file mode 100644
index 000000000..e7c4b911a
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4E9C/palettes/3.pal b/data/tilesets/secondary/82D4E9C/palettes/3.pal
new file mode 100644
index 000000000..54b77e0c8
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4E9C/palettes/4.pal b/data/tilesets/secondary/82D4E9C/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E9C/palettes/5.pal b/data/tilesets/secondary/82D4E9C/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E9C/palettes/6.pal b/data/tilesets/secondary/82D4E9C/palettes/6.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4E9C/palettes/7.pal b/data/tilesets/secondary/82D4E9C/palettes/7.pal
new file mode 100644
index 000000000..b69e6cfa4
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+156 205 156
+156 65 65
+57 106 16
+0 0 139
+98 123 156
+131 156 180
+164 189 213
+197 197 148
+213 205 172
+230 222 197
+164 156 164
+205 197 189
+82 82 106
+123 123 139
+246 238 222
+255 255 255
diff --git a/data/tilesets/secondary/82D4E9C/palettes/8.pal b/data/tilesets/secondary/82D4E9C/palettes/8.pal
new file mode 100644
index 000000000..3cada9fa1
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+156 205 156
+180 180 90
+222 222 148
+246 246 180
+156 65 65
+222 131 131
+189 98 98
+255 0 255
+255 0 255
+255 0 255
+164 156 164
+205 197 189
+82 82 106
+123 123 139
+246 238 222
+255 255 255
diff --git a/data/tilesets/secondary/82D4E9C/palettes/9.pal b/data/tilesets/secondary/82D4E9C/palettes/9.pal
new file mode 100644
index 000000000..2a1743eaa
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+156 205 156
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4E9C/tiles.png b/data/tilesets/secondary/82D4E9C/tiles.png
new file mode 100644
index 000000000..d252dbcd3
--- /dev/null
+++ b/data/tilesets/secondary/82D4E9C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4EB4/metatile_attributes.bin b/data/tilesets/secondary/82D4EB4/metatile_attributes.bin
new file mode 100644
index 000000000..05caeb58b
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4EB4/metatiles.bin b/data/tilesets/secondary/82D4EB4/metatiles.bin
new file mode 100644
index 000000000..6ac3cbf98
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4EB4/palettes/0.pal b/data/tilesets/secondary/82D4EB4/palettes/0.pal
new file mode 100644
index 000000000..ed708dd79
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 205 172
+189 255 139
+131 213 98
+57 148 49
+57 82 0
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4EB4/palettes/1.pal b/data/tilesets/secondary/82D4EB4/palettes/1.pal
new file mode 100644
index 000000000..4d2b48991
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 205 172
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 189 164
+189 148 139
+156 115 115
+123 82 82
+90 57 74
+115 205 164
diff --git a/data/tilesets/secondary/82D4EB4/palettes/10.pal b/data/tilesets/secondary/82D4EB4/palettes/10.pal
new file mode 100644
index 000000000..e8624e82f
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 205 172
+82 82 106
+131 131 131
+139 164 164
+164 189 189
+205 222 222
+205 238 238
+90 139 115
+0 0 0
+0 0 0
+82 180 106
+115 222 148
+205 197 57
+230 230 139
+238 131 74
+255 180 98
diff --git a/data/tilesets/secondary/82D4EB4/palettes/11.pal b/data/tilesets/secondary/82D4EB4/palettes/11.pal
new file mode 100644
index 000000000..9cec1272b
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 205 172
+82 82 106
+131 131 131
+0 0 0
+0 0 0
+0 0 0
+205 238 238
+222 255 255
+0 0 0
+106 189 197
+106 246 230
+164 255 238
+0 0 0
+131 123 57
+197 106 74
+238 148 74
diff --git a/data/tilesets/secondary/82D4EB4/palettes/12.pal b/data/tilesets/secondary/82D4EB4/palettes/12.pal
new file mode 100644
index 000000000..600d8f469
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 205 172
+82 82 106
+131 131 131
+255 255 255
+90 230 255
+213 255 255
+148 238 255
+90 139 115
+0 0 0
+0 0 0
+82 180 106
+115 222 148
+148 246 180
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EB4/palettes/13.pal b/data/tilesets/secondary/82D4EB4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EB4/palettes/14.pal b/data/tilesets/secondary/82D4EB4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EB4/palettes/15.pal b/data/tilesets/secondary/82D4EB4/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EB4/palettes/2.pal b/data/tilesets/secondary/82D4EB4/palettes/2.pal
new file mode 100644
index 000000000..878c13c95
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 205 172
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4EB4/palettes/3.pal b/data/tilesets/secondary/82D4EB4/palettes/3.pal
new file mode 100644
index 000000000..bed4c20c3
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 205 172
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4EB4/palettes/4.pal b/data/tilesets/secondary/82D4EB4/palettes/4.pal
new file mode 100644
index 000000000..b77ba3e87
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 205 172
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4EB4/palettes/5.pal b/data/tilesets/secondary/82D4EB4/palettes/5.pal
new file mode 100644
index 000000000..74a2a9ed0
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 205 172
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+222 205 131
+205 180 106
+180 139 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4EB4/palettes/6.pal b/data/tilesets/secondary/82D4EB4/palettes/6.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D4EB4/palettes/7.pal b/data/tilesets/secondary/82D4EB4/palettes/7.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EB4/palettes/8.pal b/data/tilesets/secondary/82D4EB4/palettes/8.pal
new file mode 100644
index 000000000..370a3d2db
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 205 172
+82 82 106
+131 131 131
+139 164 164
+164 189 189
+205 222 222
+205 238 238
+90 139 115
+139 148 115
+106 189 197
+82 180 106
+115 222 148
+148 246 180
+131 123 57
+197 106 74
+238 148 74
diff --git a/data/tilesets/secondary/82D4EB4/palettes/9.pal b/data/tilesets/secondary/82D4EB4/palettes/9.pal
new file mode 100644
index 000000000..1193cc807
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 205 172
+82 82 106
+131 131 131
+98 106 148
+115 131 197
+139 164 230
+164 213 246
+197 197 197
+238 230 205
+255 0 255
+106 98 90
+131 115 90
+156 139 90
+131 139 90
+164 156 90
+189 172 90
diff --git a/data/tilesets/secondary/82D4EB4/tiles.png b/data/tilesets/secondary/82D4EB4/tiles.png
new file mode 100644
index 000000000..42d557bcf
--- /dev/null
+++ b/data/tilesets/secondary/82D4EB4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4ECC/metatile_attributes.bin b/data/tilesets/secondary/82D4ECC/metatile_attributes.bin
new file mode 100644
index 000000000..a118a0181
--- /dev/null
+++ b/data/tilesets/secondary/82D4ECC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4ECC/metatiles.bin b/data/tilesets/secondary/82D4ECC/metatiles.bin
new file mode 100644
index 000000000..c86070668
--- /dev/null
+++ b/data/tilesets/secondary/82D4ECC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4EE4/metatile_attributes.bin b/data/tilesets/secondary/82D4EE4/metatile_attributes.bin
new file mode 100644
index 000000000..29caa862d
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4EE4/metatiles.bin b/data/tilesets/secondary/82D4EE4/metatiles.bin
new file mode 100644
index 000000000..2010e1eca
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4EE4/palettes/0.pal b/data/tilesets/secondary/82D4EE4/palettes/0.pal
new file mode 100644
index 000000000..6d876039d
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4EE4/palettes/1.pal b/data/tilesets/secondary/82D4EE4/palettes/1.pal
new file mode 100644
index 000000000..66561f6d3
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+139 180 222
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4EE4/palettes/10.pal b/data/tilesets/secondary/82D4EE4/palettes/10.pal
new file mode 100644
index 000000000..e12b8edac
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4EE4/palettes/11.pal b/data/tilesets/secondary/82D4EE4/palettes/11.pal
new file mode 100644
index 000000000..e12b8edac
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4EE4/palettes/12.pal b/data/tilesets/secondary/82D4EE4/palettes/12.pal
new file mode 100644
index 000000000..e12b8edac
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4EE4/palettes/13.pal b/data/tilesets/secondary/82D4EE4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EE4/palettes/14.pal b/data/tilesets/secondary/82D4EE4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EE4/palettes/15.pal b/data/tilesets/secondary/82D4EE4/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EE4/palettes/2.pal b/data/tilesets/secondary/82D4EE4/palettes/2.pal
new file mode 100644
index 000000000..87a022102
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+90 90 115
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4EE4/palettes/3.pal b/data/tilesets/secondary/82D4EE4/palettes/3.pal
new file mode 100644
index 000000000..783496dcd
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+65 98 156
+90 123 180
+115 156 197
+222 213 131
+164 164 172
+205 205 213
+238 238 246
+106 172 115
+156 205 139
diff --git a/data/tilesets/secondary/82D4EE4/palettes/4.pal b/data/tilesets/secondary/82D4EE4/palettes/4.pal
new file mode 100644
index 000000000..89eace605
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 238 246
+172 197 180
+197 222 205
+90 189 172
+246 238 156
+205 189 131
+189 164 123
+148 131 106
+106 106 106
+213 222 230
+238 180 115
diff --git a/data/tilesets/secondary/82D4EE4/palettes/5.pal b/data/tilesets/secondary/82D4EE4/palettes/5.pal
new file mode 100644
index 000000000..0eef3df8e
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+213 222 222
+164 180 189
+255 0 255
+131 115 74
+213 213 148
+197 189 139
+172 156 115
+148 131 90
+255 0 255
+255 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4EE4/palettes/6.pal b/data/tilesets/secondary/82D4EE4/palettes/6.pal
new file mode 100644
index 000000000..1d08ce9a2
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EE4/palettes/7.pal b/data/tilesets/secondary/82D4EE4/palettes/7.pal
new file mode 100644
index 000000000..23e995640
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+148 148 156
+205 205 197
+148 139 90
+172 164 106
+197 189 131
+82 139 148
+115 164 172
+156 189 197
+180 90 74
+205 115 90
+238 156 123
diff --git a/data/tilesets/secondary/82D4EE4/palettes/8.pal b/data/tilesets/secondary/82D4EE4/palettes/8.pal
new file mode 100644
index 000000000..3ce3570a1
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+255 255 156
+197 197 156
+172 172 139
+148 148 131
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4EE4/palettes/9.pal b/data/tilesets/secondary/82D4EE4/palettes/9.pal
new file mode 100644
index 000000000..e12b8edac
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4EE4/tiles.png b/data/tilesets/secondary/82D4EE4/tiles.png
new file mode 100644
index 000000000..b8865022d
--- /dev/null
+++ b/data/tilesets/secondary/82D4EE4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4EFC/metatile_attributes.bin b/data/tilesets/secondary/82D4EFC/metatile_attributes.bin
new file mode 100644
index 000000000..8c16318f0
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4EFC/metatiles.bin b/data/tilesets/secondary/82D4EFC/metatiles.bin
new file mode 100644
index 000000000..d4216989e
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4EFC/palettes/0.pal b/data/tilesets/secondary/82D4EFC/palettes/0.pal
new file mode 100644
index 000000000..8db07d418
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4EFC/palettes/1.pal b/data/tilesets/secondary/82D4EFC/palettes/1.pal
new file mode 100644
index 000000000..30be2fbe3
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4EFC/palettes/10.pal b/data/tilesets/secondary/82D4EFC/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EFC/palettes/11.pal b/data/tilesets/secondary/82D4EFC/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EFC/palettes/12.pal b/data/tilesets/secondary/82D4EFC/palettes/12.pal
new file mode 100644
index 000000000..fa56f966e
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+131 106 189
+156 123 205
+230 230 255
+115 115 123
+106 156 106
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+106 82 156
+156 131 205
+205 172 246
+189 164 230
+115 115 123
diff --git a/data/tilesets/secondary/82D4EFC/palettes/13.pal b/data/tilesets/secondary/82D4EFC/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EFC/palettes/14.pal b/data/tilesets/secondary/82D4EFC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EFC/palettes/15.pal b/data/tilesets/secondary/82D4EFC/palettes/15.pal
new file mode 100644
index 000000000..92e7ed309
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4EFC/palettes/2.pal b/data/tilesets/secondary/82D4EFC/palettes/2.pal
new file mode 100644
index 000000000..e7c4b911a
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4EFC/palettes/3.pal b/data/tilesets/secondary/82D4EFC/palettes/3.pal
new file mode 100644
index 000000000..54b77e0c8
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4EFC/palettes/4.pal b/data/tilesets/secondary/82D4EFC/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EFC/palettes/5.pal b/data/tilesets/secondary/82D4EFC/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EFC/palettes/6.pal b/data/tilesets/secondary/82D4EFC/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4EFC/palettes/7.pal b/data/tilesets/secondary/82D4EFC/palettes/7.pal
new file mode 100644
index 000000000..241a2678c
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+115 115 115
+180 180 164
+238 238 246
+82 123 82
+90 131 90
+106 156 106
+131 172 131
+180 156 222
+106 82 156
+139 115 189
+213 189 255
+255 0 255
+65 106 65
+255 255 255
diff --git a/data/tilesets/secondary/82D4EFC/palettes/8.pal b/data/tilesets/secondary/82D4EFC/palettes/8.pal
new file mode 100644
index 000000000..ebd9e912c
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+115 115 115
+180 180 164
+238 238 246
+98 139 98
+106 156 106
+131 172 131
+148 189 148
+180 156 222
+205 139 32
+222 172 57
+246 238 164
+255 0 255
+82 123 82
+255 255 255
diff --git a/data/tilesets/secondary/82D4EFC/palettes/9.pal b/data/tilesets/secondary/82D4EFC/palettes/9.pal
new file mode 100644
index 000000000..51daf6701
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+115 115 115
+180 180 164
+238 238 246
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+172 123 32
+238 189 74
+74 205 205
+164 255 255
+255 255 255
diff --git a/data/tilesets/secondary/82D4EFC/tiles.png b/data/tilesets/secondary/82D4EFC/tiles.png
new file mode 100644
index 000000000..b8f8c6a4d
--- /dev/null
+++ b/data/tilesets/secondary/82D4EFC/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4F14/metatile_attributes.bin b/data/tilesets/secondary/82D4F14/metatile_attributes.bin
new file mode 100644
index 000000000..9656d8ed7
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4F14/metatiles.bin b/data/tilesets/secondary/82D4F14/metatiles.bin
new file mode 100644
index 000000000..3337a5393
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4F14/palettes/0.pal b/data/tilesets/secondary/82D4F14/palettes/0.pal
new file mode 100644
index 000000000..620015e77
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 139 49
+57 82 0
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4F14/palettes/1.pal b/data/tilesets/secondary/82D4F14/palettes/1.pal
new file mode 100644
index 000000000..66561f6d3
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+139 180 222
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4F14/palettes/10.pal b/data/tilesets/secondary/82D4F14/palettes/10.pal
new file mode 100644
index 000000000..1f08b0f6f
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+238 172 115
+205 156 115
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+156 148 98
diff --git a/data/tilesets/secondary/82D4F14/palettes/11.pal b/data/tilesets/secondary/82D4F14/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F14/palettes/12.pal b/data/tilesets/secondary/82D4F14/palettes/12.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F14/palettes/13.pal b/data/tilesets/secondary/82D4F14/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F14/palettes/14.pal b/data/tilesets/secondary/82D4F14/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F14/palettes/15.pal b/data/tilesets/secondary/82D4F14/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F14/palettes/2.pal b/data/tilesets/secondary/82D4F14/palettes/2.pal
new file mode 100644
index 000000000..ddec077d0
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+115 82 74
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+197 172 139
diff --git a/data/tilesets/secondary/82D4F14/palettes/3.pal b/data/tilesets/secondary/82D4F14/palettes/3.pal
new file mode 100644
index 000000000..6d1dfb5af
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 238 246
+189 139 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+172 32 41
diff --git a/data/tilesets/secondary/82D4F14/palettes/4.pal b/data/tilesets/secondary/82D4F14/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4F14/palettes/5.pal b/data/tilesets/secondary/82D4F14/palettes/5.pal
new file mode 100644
index 000000000..9de0ef422
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+222 205 131
+205 180 106
+180 139 74
+238 238 164
+255 0 255
+255 0 255
+180 222 164
+131 213 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4F14/palettes/6.pal b/data/tilesets/secondary/82D4F14/palettes/6.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F14/palettes/7.pal b/data/tilesets/secondary/82D4F14/palettes/7.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F14/palettes/8.pal b/data/tilesets/secondary/82D4F14/palettes/8.pal
new file mode 100644
index 000000000..eed6dbc35
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+123 197 180
+74 74 90
+123 123 131
+189 197 189
+255 0 255
+205 222 222
+90 90 65
+131 115 74
+148 148 115
+189 189 131
+238 238 139
+238 238 246
+74 98 65
+74 156 65
+115 197 98
+156 230 98
diff --git a/data/tilesets/secondary/82D4F14/palettes/9.pal b/data/tilesets/secondary/82D4F14/palettes/9.pal
new file mode 100644
index 000000000..e9b93cfd2
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+123 197 180
+74 74 90
+123 123 131
+205 213 213
+205 156 115
+238 172 115
+106 123 74
+156 148 98
+197 172 115
+222 205 139
+230 222 156
+90 90 49
+213 180 230
+164 139 197
+148 115 172
+123 98 131
diff --git a/data/tilesets/secondary/82D4F14/tiles.png b/data/tilesets/secondary/82D4F14/tiles.png
new file mode 100644
index 000000000..6c8d53e34
--- /dev/null
+++ b/data/tilesets/secondary/82D4F14/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4F2C/metatile_attributes.bin b/data/tilesets/secondary/82D4F2C/metatile_attributes.bin
new file mode 100644
index 000000000..91b8105d3
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4F2C/metatiles.bin b/data/tilesets/secondary/82D4F2C/metatiles.bin
new file mode 100644
index 000000000..5caba25a7
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4F2C/palettes/0.pal b/data/tilesets/secondary/82D4F2C/palettes/0.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/palettes/1.pal b/data/tilesets/secondary/82D4F2C/palettes/1.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/palettes/10.pal b/data/tilesets/secondary/82D4F2C/palettes/10.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/palettes/11.pal b/data/tilesets/secondary/82D4F2C/palettes/11.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/palettes/12.pal b/data/tilesets/secondary/82D4F2C/palettes/12.pal
new file mode 100644
index 000000000..9c9a571ef
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+148 148 148
+164 98 74
+222 148 123
+255 189 164
+139 82 57
+189 131 156
+246 205 238
+139 115 49
+156 131 90
+189 164 115
+222 205 156
+255 238 189
+82 82 106
+123 123 139
+205 205 197
+255 255 255
diff --git a/data/tilesets/secondary/82D4F2C/palettes/13.pal b/data/tilesets/secondary/82D4F2C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/palettes/14.pal b/data/tilesets/secondary/82D4F2C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/palettes/15.pal b/data/tilesets/secondary/82D4F2C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/palettes/2.pal b/data/tilesets/secondary/82D4F2C/palettes/2.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/palettes/3.pal b/data/tilesets/secondary/82D4F2C/palettes/3.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/palettes/4.pal b/data/tilesets/secondary/82D4F2C/palettes/4.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/palettes/5.pal b/data/tilesets/secondary/82D4F2C/palettes/5.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/palettes/6.pal b/data/tilesets/secondary/82D4F2C/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/palettes/7.pal b/data/tilesets/secondary/82D4F2C/palettes/7.pal
new file mode 100644
index 000000000..4d22869cd
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+148 148 148
+82 131 106
+131 180 156
+180 230 205
+180 0 0
+255 0 0
+148 148 156
+172 172 172
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+82 82 106
+123 123 139
+205 205 197
+255 255 255
diff --git a/data/tilesets/secondary/82D4F2C/palettes/8.pal b/data/tilesets/secondary/82D4F2C/palettes/8.pal
new file mode 100644
index 000000000..2a9d791a4
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+148 148 148
+164 98 74
+222 148 123
+255 189 164
+139 82 57
+172 197 230
+213 222 238
+0 0 0
+0 0 0
+189 164 115
+0 0 0
+255 238 189
+82 82 106
+123 123 139
+205 205 197
+255 255 255
diff --git a/data/tilesets/secondary/82D4F2C/palettes/9.pal b/data/tilesets/secondary/82D4F2C/palettes/9.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F2C/tiles.png b/data/tilesets/secondary/82D4F2C/tiles.png
new file mode 100644
index 000000000..3e69db5c3
--- /dev/null
+++ b/data/tilesets/secondary/82D4F2C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4F44/metatile_attributes.bin b/data/tilesets/secondary/82D4F44/metatile_attributes.bin
new file mode 100644
index 000000000..a2ac291b5
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4F44/metatiles.bin b/data/tilesets/secondary/82D4F44/metatiles.bin
new file mode 100644
index 000000000..5cddd954c
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4F44/palettes/0.pal b/data/tilesets/secondary/82D4F44/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4F44/palettes/1.pal b/data/tilesets/secondary/82D4F44/palettes/1.pal
new file mode 100644
index 000000000..30be2fbe3
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4F44/palettes/10.pal b/data/tilesets/secondary/82D4F44/palettes/10.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F44/palettes/11.pal b/data/tilesets/secondary/82D4F44/palettes/11.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F44/palettes/12.pal b/data/tilesets/secondary/82D4F44/palettes/12.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F44/palettes/13.pal b/data/tilesets/secondary/82D4F44/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F44/palettes/14.pal b/data/tilesets/secondary/82D4F44/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F44/palettes/15.pal b/data/tilesets/secondary/82D4F44/palettes/15.pal
new file mode 100644
index 000000000..71b5ee827
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
diff --git a/data/tilesets/secondary/82D4F44/palettes/2.pal b/data/tilesets/secondary/82D4F44/palettes/2.pal
new file mode 100644
index 000000000..e7c4b911a
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4F44/palettes/3.pal b/data/tilesets/secondary/82D4F44/palettes/3.pal
new file mode 100644
index 000000000..54b77e0c8
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4F44/palettes/4.pal b/data/tilesets/secondary/82D4F44/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F44/palettes/5.pal b/data/tilesets/secondary/82D4F44/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F44/palettes/6.pal b/data/tilesets/secondary/82D4F44/palettes/6.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F44/palettes/7.pal b/data/tilesets/secondary/82D4F44/palettes/7.pal
new file mode 100644
index 000000000..5e3bac102
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+106 197 106
+255 205 90
+82 148 197
+189 230 255
+139 98 41
+156 123 65
+180 148 90
+205 172 115
+246 213 172
+205 106 90
+255 148 131
diff --git a/data/tilesets/secondary/82D4F44/palettes/8.pal b/data/tilesets/secondary/82D4F44/palettes/8.pal
new file mode 100644
index 000000000..2257c0006
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+82 82 106
+131 131 139
+230 222 246
+255 255 255
+255 205 98
+255 255 148
+189 230 255
+180 148 90
+255 139 180
+197 180 131
+213 213 164
+238 238 213
+106 197 106
+205 106 90
+131 115 16
diff --git a/data/tilesets/secondary/82D4F44/palettes/9.pal b/data/tilesets/secondary/82D4F44/palettes/9.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F44/tiles.png b/data/tilesets/secondary/82D4F44/tiles.png
new file mode 100644
index 000000000..5c8a38b9e
--- /dev/null
+++ b/data/tilesets/secondary/82D4F44/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4F5C/metatile_attributes.bin b/data/tilesets/secondary/82D4F5C/metatile_attributes.bin
new file mode 100644
index 000000000..cdcb96c53
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4F5C/metatiles.bin b/data/tilesets/secondary/82D4F5C/metatiles.bin
new file mode 100644
index 000000000..35009a690
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4F5C/palettes/0.pal b/data/tilesets/secondary/82D4F5C/palettes/0.pal
new file mode 100644
index 000000000..88e712348
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+32 32 57
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4F5C/palettes/1.pal b/data/tilesets/secondary/82D4F5C/palettes/1.pal
new file mode 100644
index 000000000..30be2fbe3
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+156 189 213
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4F5C/palettes/10.pal b/data/tilesets/secondary/82D4F5C/palettes/10.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F5C/palettes/11.pal b/data/tilesets/secondary/82D4F5C/palettes/11.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F5C/palettes/12.pal b/data/tilesets/secondary/82D4F5C/palettes/12.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F5C/palettes/13.pal b/data/tilesets/secondary/82D4F5C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F5C/palettes/14.pal b/data/tilesets/secondary/82D4F5C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F5C/palettes/15.pal b/data/tilesets/secondary/82D4F5C/palettes/15.pal
new file mode 100644
index 000000000..71b5ee827
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
diff --git a/data/tilesets/secondary/82D4F5C/palettes/2.pal b/data/tilesets/secondary/82D4F5C/palettes/2.pal
new file mode 100644
index 000000000..e7c4b911a
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+115 115 123
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4F5C/palettes/3.pal b/data/tilesets/secondary/82D4F5C/palettes/3.pal
new file mode 100644
index 000000000..54b77e0c8
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+164 164 172
+205 205 213
+238 238 246
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D4F5C/palettes/4.pal b/data/tilesets/secondary/82D4F5C/palettes/4.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F5C/palettes/5.pal b/data/tilesets/secondary/82D4F5C/palettes/5.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F5C/palettes/6.pal b/data/tilesets/secondary/82D4F5C/palettes/6.pal
new file mode 100644
index 000000000..6f31ca776
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F5C/palettes/7.pal b/data/tilesets/secondary/82D4F5C/palettes/7.pal
new file mode 100644
index 000000000..6c1a5b096
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+172 148 90
+213 189 131
+255 230 172
+255 255 98
+255 197 197
+98 156 74
+148 205 123
+98 156 172
+123 180 197
+156 205 222
+189 230 246
diff --git a/data/tilesets/secondary/82D4F5C/palettes/8.pal b/data/tilesets/secondary/82D4F5C/palettes/8.pal
new file mode 100644
index 000000000..1557a55f0
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+82 82 106
+131 131 139
+197 189 213
+255 255 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+123 131 82
+139 148 82
+156 164 90
+172 180 106
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F5C/palettes/9.pal b/data/tilesets/secondary/82D4F5C/palettes/9.pal
new file mode 100644
index 000000000..c06a049b0
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 115
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F5C/tiles.png b/data/tilesets/secondary/82D4F5C/tiles.png
new file mode 100644
index 000000000..935afccd2
--- /dev/null
+++ b/data/tilesets/secondary/82D4F5C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4F74/metatile_attributes.bin b/data/tilesets/secondary/82D4F74/metatile_attributes.bin
new file mode 100644
index 000000000..8255cca20
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4F74/metatiles.bin b/data/tilesets/secondary/82D4F74/metatiles.bin
new file mode 100644
index 000000000..63ddd975b
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4F74/palettes/0.pal b/data/tilesets/secondary/82D4F74/palettes/0.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/1.pal b/data/tilesets/secondary/82D4F74/palettes/1.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/10.pal b/data/tilesets/secondary/82D4F74/palettes/10.pal
new file mode 100644
index 000000000..afe462f8e
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 197
+82 82 106
+131 131 131
+123 189 222
+123 156 189
+164 222 246
+189 238 238
+74 139 98
+106 172 106
+123 205 123
+90 148 115
+139 197 131
+197 238 123
+197 172 74
+255 0 255
+230 230 106
diff --git a/data/tilesets/secondary/82D4F74/palettes/11.pal b/data/tilesets/secondary/82D4F74/palettes/11.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/12.pal b/data/tilesets/secondary/82D4F74/palettes/12.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/13.pal b/data/tilesets/secondary/82D4F74/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/14.pal b/data/tilesets/secondary/82D4F74/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/15.pal b/data/tilesets/secondary/82D4F74/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/2.pal b/data/tilesets/secondary/82D4F74/palettes/2.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/3.pal b/data/tilesets/secondary/82D4F74/palettes/3.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/4.pal b/data/tilesets/secondary/82D4F74/palettes/4.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/5.pal b/data/tilesets/secondary/82D4F74/palettes/5.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/6.pal b/data/tilesets/secondary/82D4F74/palettes/6.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/7.pal b/data/tilesets/secondary/82D4F74/palettes/7.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F74/palettes/8.pal b/data/tilesets/secondary/82D4F74/palettes/8.pal
new file mode 100644
index 000000000..4b7de8012
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 197
+82 82 106
+131 131 131
+131 115 90
+189 131 90
+205 156 90
+238 180 90
+172 172 131
+222 222 172
+172 180 205
+238 230 172
+255 255 246
+255 255 246
+197 205 222
+205 213 230
+230 230 246
diff --git a/data/tilesets/secondary/82D4F74/palettes/9.pal b/data/tilesets/secondary/82D4F74/palettes/9.pal
new file mode 100644
index 000000000..8fe0861de
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+172 189 197
+82 82 106
+131 131 131
+246 246 189
+180 180 139
+205 156 90
+230 230 131
+222 213 131
+205 205 115
+197 180 115
+255 0 255
+123 123 98
+156 156 98
+205 148 197
+90 164 205
+90 189 246
diff --git a/data/tilesets/secondary/82D4F74/tiles.png b/data/tilesets/secondary/82D4F74/tiles.png
new file mode 100644
index 000000000..b8a2a1a4f
--- /dev/null
+++ b/data/tilesets/secondary/82D4F74/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4F8C/metatile_attributes.bin b/data/tilesets/secondary/82D4F8C/metatile_attributes.bin
new file mode 100644
index 000000000..aa43d15ee
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4F8C/metatiles.bin b/data/tilesets/secondary/82D4F8C/metatiles.bin
new file mode 100644
index 000000000..117c036fa
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4F8C/palettes/0.pal b/data/tilesets/secondary/82D4F8C/palettes/0.pal
new file mode 100644
index 000000000..5867e5ba6
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+156 213 255
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4F8C/palettes/1.pal b/data/tilesets/secondary/82D4F8C/palettes/1.pal
new file mode 100644
index 000000000..66561f6d3
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+139 180 222
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4F8C/palettes/10.pal b/data/tilesets/secondary/82D4F8C/palettes/10.pal
new file mode 100644
index 000000000..3c091df8b
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+148 148 164
+205 189 197
+255 255 255
+255 213 115
+189 148 49
+139 98 74
+90 106 180
+255 205 139
+230 172 90
+230 148 65
+180 98 24
+238 213 172
+222 156 139
+123 123 123
diff --git a/data/tilesets/secondary/82D4F8C/palettes/11.pal b/data/tilesets/secondary/82D4F8C/palettes/11.pal
new file mode 100644
index 000000000..79494336b
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+115 115 115
+180 180 164
+238 238 238
+213 222 164
+115 156 148
+230 213 115
+180 172 90
+139 148 90
+98 123 180
+148 156 156
+189 197 197
+246 230 164
+180 189 131
+205 213 213
diff --git a/data/tilesets/secondary/82D4F8C/palettes/12.pal b/data/tilesets/secondary/82D4F8C/palettes/12.pal
new file mode 100644
index 000000000..b9b1e6061
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+131 131 82
+164 164 98
+197 197 156
+106 164 172
+197 205 213
+205 156 32
+172 148 197
+205 164 230
+230 197 255
+205 197 106
+230 230 230
diff --git a/data/tilesets/secondary/82D4F8C/palettes/13.pal b/data/tilesets/secondary/82D4F8C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F8C/palettes/14.pal b/data/tilesets/secondary/82D4F8C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F8C/palettes/15.pal b/data/tilesets/secondary/82D4F8C/palettes/15.pal
new file mode 100644
index 000000000..093fbdd6c
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+213 222 164
+180 189 131
+139 148 90
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F8C/palettes/2.pal b/data/tilesets/secondary/82D4F8C/palettes/2.pal
new file mode 100644
index 000000000..87a022102
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+90 90 115
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4F8C/palettes/3.pal b/data/tilesets/secondary/82D4F8C/palettes/3.pal
new file mode 100644
index 000000000..783496dcd
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+65 98 156
+90 123 180
+115 156 197
+222 213 131
+164 164 172
+205 205 213
+238 238 246
+106 172 115
+156 205 139
diff --git a/data/tilesets/secondary/82D4F8C/palettes/4.pal b/data/tilesets/secondary/82D4F8C/palettes/4.pal
new file mode 100644
index 000000000..89eace605
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 238 246
+172 197 180
+197 222 205
+90 189 172
+246 238 156
+205 189 131
+189 164 123
+148 131 106
+106 106 106
+213 222 230
+238 180 115
diff --git a/data/tilesets/secondary/82D4F8C/palettes/5.pal b/data/tilesets/secondary/82D4F8C/palettes/5.pal
new file mode 100644
index 000000000..c7780e5c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+213 222 222
+164 180 189
+255 0 255
+131 115 74
+213 213 148
+197 189 139
+172 156 115
+148 131 90
+197 197 205
+205 82 65
+0 0 0
diff --git a/data/tilesets/secondary/82D4F8C/palettes/6.pal b/data/tilesets/secondary/82D4F8C/palettes/6.pal
new file mode 100644
index 000000000..1d08ce9a2
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4F8C/palettes/7.pal b/data/tilesets/secondary/82D4F8C/palettes/7.pal
new file mode 100644
index 000000000..35987db53
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+139 139 148
+180 180 164
+255 255 255
+205 197 106
+246 238 148
+255 255 222
+98 98 123
+238 238 238
+82 222 123
+131 255 164
+82 164 57
+230 139 98
+189 98 74
+213 213 213
diff --git a/data/tilesets/secondary/82D4F8C/palettes/8.pal b/data/tilesets/secondary/82D4F8C/palettes/8.pal
new file mode 100644
index 000000000..7f33e006f
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+148 148 164
+180 180 164
+255 255 255
+213 213 213
+106 156 164
+131 189 197
+172 222 230
+238 180 222
+180 115 164
+213 213 180
+255 0 255
+156 205 246
+98 156 238
diff --git a/data/tilesets/secondary/82D4F8C/palettes/9.pal b/data/tilesets/secondary/82D4F8C/palettes/9.pal
new file mode 100644
index 000000000..75022050d
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+148 148 164
+180 180 164
+255 255 255
+213 213 213
+148 205 180
+115 172 148
+106 148 139
+197 238 255
+172 213 255
+123 164 222
+98 139 189
+123 164 189
+148 189 238
diff --git a/data/tilesets/secondary/82D4F8C/tiles.png b/data/tilesets/secondary/82D4F8C/tiles.png
new file mode 100644
index 000000000..324b42c9f
--- /dev/null
+++ b/data/tilesets/secondary/82D4F8C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4FA4/metatile_attributes.bin b/data/tilesets/secondary/82D4FA4/metatile_attributes.bin
new file mode 100644
index 000000000..db0f7817e
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4FA4/metatiles.bin b/data/tilesets/secondary/82D4FA4/metatiles.bin
new file mode 100644
index 000000000..dfe78c910
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4FA4/palettes/0.pal b/data/tilesets/secondary/82D4FA4/palettes/0.pal
new file mode 100644
index 000000000..6d876039d
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D4FA4/palettes/1.pal b/data/tilesets/secondary/82D4FA4/palettes/1.pal
new file mode 100644
index 000000000..66561f6d3
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+139 180 222
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D4FA4/palettes/10.pal b/data/tilesets/secondary/82D4FA4/palettes/10.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FA4/palettes/11.pal b/data/tilesets/secondary/82D4FA4/palettes/11.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FA4/palettes/12.pal b/data/tilesets/secondary/82D4FA4/palettes/12.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FA4/palettes/13.pal b/data/tilesets/secondary/82D4FA4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FA4/palettes/14.pal b/data/tilesets/secondary/82D4FA4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FA4/palettes/15.pal b/data/tilesets/secondary/82D4FA4/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FA4/palettes/2.pal b/data/tilesets/secondary/82D4FA4/palettes/2.pal
new file mode 100644
index 000000000..87a022102
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+90 90 115
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D4FA4/palettes/3.pal b/data/tilesets/secondary/82D4FA4/palettes/3.pal
new file mode 100644
index 000000000..783496dcd
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+65 98 156
+90 123 180
+115 156 197
+222 213 131
+164 164 172
+205 205 213
+238 238 246
+106 172 115
+156 205 139
diff --git a/data/tilesets/secondary/82D4FA4/palettes/4.pal b/data/tilesets/secondary/82D4FA4/palettes/4.pal
new file mode 100644
index 000000000..89eace605
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 238 246
+172 197 180
+197 222 205
+90 189 172
+246 238 156
+205 189 131
+189 164 123
+148 131 106
+106 106 106
+213 222 230
+238 180 115
diff --git a/data/tilesets/secondary/82D4FA4/palettes/5.pal b/data/tilesets/secondary/82D4FA4/palettes/5.pal
new file mode 100644
index 000000000..0eef3df8e
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+213 222 222
+164 180 189
+255 0 255
+131 115 74
+213 213 148
+197 189 139
+172 156 115
+148 131 90
+255 0 255
+255 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4FA4/palettes/6.pal b/data/tilesets/secondary/82D4FA4/palettes/6.pal
new file mode 100644
index 000000000..1d08ce9a2
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FA4/palettes/7.pal b/data/tilesets/secondary/82D4FA4/palettes/7.pal
new file mode 100644
index 000000000..c1e7c3d5c
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
diff --git a/data/tilesets/secondary/82D4FA4/palettes/8.pal b/data/tilesets/secondary/82D4FA4/palettes/8.pal
new file mode 100644
index 000000000..c1e7c3d5c
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
diff --git a/data/tilesets/secondary/82D4FA4/palettes/9.pal b/data/tilesets/secondary/82D4FA4/palettes/9.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FA4/tiles.png b/data/tilesets/secondary/82D4FA4/tiles.png
new file mode 100644
index 000000000..9fcf94314
--- /dev/null
+++ b/data/tilesets/secondary/82D4FA4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4FBC/metatile_attributes.bin b/data/tilesets/secondary/82D4FBC/metatile_attributes.bin
new file mode 100644
index 000000000..1b1cb4d44
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4FBC/metatiles.bin b/data/tilesets/secondary/82D4FBC/metatiles.bin
new file mode 100644
index 000000000..274da22a6
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4FBC/palettes/0.pal b/data/tilesets/secondary/82D4FBC/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4FBC/palettes/1.pal b/data/tilesets/secondary/82D4FBC/palettes/1.pal
new file mode 100644
index 000000000..d8a4e7757
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4FBC/palettes/10.pal b/data/tilesets/secondary/82D4FBC/palettes/10.pal
new file mode 100644
index 000000000..937405d15
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+255 0 255
+255 0 255
+255 0 255
+0 0 0
+255 238 164
+230 197 139
+205 172 123
+172 139 106
+213 197 189
+205 180 156
+189 148 139
+148 115 106
+115 65 74
+82 49 65
+90 90 98
diff --git a/data/tilesets/secondary/82D4FBC/palettes/11.pal b/data/tilesets/secondary/82D4FBC/palettes/11.pal
new file mode 100644
index 000000000..bb4f4867c
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+189 189 156
+172 172 139
+148 139 115
+123 115 90
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+238 222 148
+222 205 115
+205 180 98
+189 172 98
diff --git a/data/tilesets/secondary/82D4FBC/palettes/12.pal b/data/tilesets/secondary/82D4FBC/palettes/12.pal
new file mode 100644
index 000000000..583384664
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4FBC/palettes/13.pal b/data/tilesets/secondary/82D4FBC/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FBC/palettes/14.pal b/data/tilesets/secondary/82D4FBC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FBC/palettes/15.pal b/data/tilesets/secondary/82D4FBC/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FBC/palettes/2.pal b/data/tilesets/secondary/82D4FBC/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4FBC/palettes/3.pal b/data/tilesets/secondary/82D4FBC/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4FBC/palettes/4.pal b/data/tilesets/secondary/82D4FBC/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4FBC/palettes/5.pal b/data/tilesets/secondary/82D4FBC/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4FBC/palettes/6.pal b/data/tilesets/secondary/82D4FBC/palettes/6.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FBC/palettes/7.pal b/data/tilesets/secondary/82D4FBC/palettes/7.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FBC/palettes/8.pal b/data/tilesets/secondary/82D4FBC/palettes/8.pal
new file mode 100644
index 000000000..6774e407f
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+189 189 156
+172 172 139
+148 139 115
+123 115 90
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+222 197 189
+205 180 156
+189 148 139
+148 115 106
+115 65 74
+82 49 65
+90 90 98
diff --git a/data/tilesets/secondary/82D4FBC/palettes/9.pal b/data/tilesets/secondary/82D4FBC/palettes/9.pal
new file mode 100644
index 000000000..3795f6c6a
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 222 213
+189 189 156
+172 172 139
+148 139 115
+123 115 90
+255 238 164
+230 197 139
+205 172 123
+164 123 90
+148 115 74
+106 65 41
+74 74 57
+0 0 0
+98 139 197
+74 115 172
+57 98 156
diff --git a/data/tilesets/secondary/82D4FBC/tiles.png b/data/tilesets/secondary/82D4FBC/tiles.png
new file mode 100644
index 000000000..b2d960c60
--- /dev/null
+++ b/data/tilesets/secondary/82D4FBC/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4FD4/metatile_attributes.bin b/data/tilesets/secondary/82D4FD4/metatile_attributes.bin
new file mode 100644
index 000000000..1b1cb4d44
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4FD4/metatiles.bin b/data/tilesets/secondary/82D4FD4/metatiles.bin
new file mode 100644
index 000000000..8f740f6af
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4FD4/palettes/0.pal b/data/tilesets/secondary/82D4FD4/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4FD4/palettes/1.pal b/data/tilesets/secondary/82D4FD4/palettes/1.pal
new file mode 100644
index 000000000..d8a4e7757
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4FD4/palettes/10.pal b/data/tilesets/secondary/82D4FD4/palettes/10.pal
new file mode 100644
index 000000000..937405d15
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+255 0 255
+255 0 255
+255 0 255
+0 0 0
+255 238 164
+230 197 139
+205 172 123
+172 139 106
+213 197 189
+205 180 156
+189 148 139
+148 115 106
+115 65 74
+82 49 65
+90 90 98
diff --git a/data/tilesets/secondary/82D4FD4/palettes/11.pal b/data/tilesets/secondary/82D4FD4/palettes/11.pal
new file mode 100644
index 000000000..bb4f4867c
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+189 189 156
+172 172 139
+148 139 115
+123 115 90
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+238 222 148
+222 205 115
+205 180 98
+189 172 98
diff --git a/data/tilesets/secondary/82D4FD4/palettes/12.pal b/data/tilesets/secondary/82D4FD4/palettes/12.pal
new file mode 100644
index 000000000..583384664
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+0 0 0
diff --git a/data/tilesets/secondary/82D4FD4/palettes/13.pal b/data/tilesets/secondary/82D4FD4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FD4/palettes/14.pal b/data/tilesets/secondary/82D4FD4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FD4/palettes/15.pal b/data/tilesets/secondary/82D4FD4/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FD4/palettes/2.pal b/data/tilesets/secondary/82D4FD4/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4FD4/palettes/3.pal b/data/tilesets/secondary/82D4FD4/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4FD4/palettes/4.pal b/data/tilesets/secondary/82D4FD4/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D4FD4/palettes/5.pal b/data/tilesets/secondary/82D4FD4/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4FD4/palettes/6.pal b/data/tilesets/secondary/82D4FD4/palettes/6.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FD4/palettes/7.pal b/data/tilesets/secondary/82D4FD4/palettes/7.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FD4/palettes/8.pal b/data/tilesets/secondary/82D4FD4/palettes/8.pal
new file mode 100644
index 000000000..6774e407f
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+189 189 156
+172 172 139
+148 139 115
+123 115 90
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+222 197 189
+205 180 156
+189 148 139
+148 115 106
+115 65 74
+82 49 65
+90 90 98
diff --git a/data/tilesets/secondary/82D4FD4/palettes/9.pal b/data/tilesets/secondary/82D4FD4/palettes/9.pal
new file mode 100644
index 000000000..3795f6c6a
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 222 213
+189 189 156
+172 172 139
+148 139 115
+123 115 90
+255 238 164
+230 197 139
+205 172 123
+164 123 90
+148 115 74
+106 65 41
+74 74 57
+0 0 0
+98 139 197
+74 115 172
+57 98 156
diff --git a/data/tilesets/secondary/82D4FD4/tiles.png b/data/tilesets/secondary/82D4FD4/tiles.png
new file mode 100644
index 000000000..201df80fb
--- /dev/null
+++ b/data/tilesets/secondary/82D4FD4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D4FEC/metatile_attributes.bin b/data/tilesets/secondary/82D4FEC/metatile_attributes.bin
new file mode 100644
index 000000000..45432b773
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4FEC/metatiles.bin b/data/tilesets/secondary/82D4FEC/metatiles.bin
new file mode 100644
index 000000000..b80796821
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D4FEC/palettes/0.pal b/data/tilesets/secondary/82D4FEC/palettes/0.pal
new file mode 100644
index 000000000..30ff4070a
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D4FEC/palettes/1.pal b/data/tilesets/secondary/82D4FEC/palettes/1.pal
new file mode 100644
index 000000000..e15d979f1
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+222 230 230
+197 205 213
+172 189 205
+123 123 131
+65 49 65
+230 238 238
+90 189 139
+90 90 115
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D4FEC/palettes/10.pal b/data/tilesets/secondary/82D4FEC/palettes/10.pal
new file mode 100644
index 000000000..fc340ed15
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+255 0 255
+255 0 255
+255 0 255
+0 0 0
+255 238 164
+230 197 139
+205 172 123
+172 139 106
+213 172 172
+197 156 148
+172 123 123
+131 82 74
+115 49 49
+90 24 24
+90 90 98
diff --git a/data/tilesets/secondary/82D4FEC/palettes/11.pal b/data/tilesets/secondary/82D4FEC/palettes/11.pal
new file mode 100644
index 000000000..e07ce6909
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+197 197 180
+172 172 156
+148 148 123
+123 123 106
+164 172 172
+255 230 65
+123 123 106
+255 255 255
+74 65 74
+238 238 230
+189 189 180
+230 230 205
+205 205 180
+180 180 164
+164 164 148
diff --git a/data/tilesets/secondary/82D4FEC/palettes/12.pal b/data/tilesets/secondary/82D4FEC/palettes/12.pal
new file mode 100644
index 000000000..cc53a5940
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+139 205 246
+98 172 197
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+139 90 90
+106 65 65
+82 49 49
+49 32 32
+24 16 16
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FEC/palettes/13.pal b/data/tilesets/secondary/82D4FEC/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FEC/palettes/14.pal b/data/tilesets/secondary/82D4FEC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FEC/palettes/15.pal b/data/tilesets/secondary/82D4FEC/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D4FEC/palettes/2.pal b/data/tilesets/secondary/82D4FEC/palettes/2.pal
new file mode 100644
index 000000000..372fb5d7c
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D4FEC/palettes/3.pal b/data/tilesets/secondary/82D4FEC/palettes/3.pal
new file mode 100644
index 000000000..973765509
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4FEC/palettes/4.pal b/data/tilesets/secondary/82D4FEC/palettes/4.pal
new file mode 100644
index 000000000..91fdcabdf
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+213 238 255
+172 205 255
+139 180 238
+106 156 230
+74 139 189
+65 123 189
+82 139 205
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 172
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D4FEC/palettes/5.pal b/data/tilesets/secondary/82D4FEC/palettes/5.pal
new file mode 100644
index 000000000..0edb843f5
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D4FEC/palettes/6.pal b/data/tilesets/secondary/82D4FEC/palettes/6.pal
new file mode 100644
index 000000000..32afdccbb
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+213 238 255
+172 205 255
+139 180 238
+106 156 230
+65 123 172
+41 98 156
+74 115 197
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 172
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D4FEC/palettes/7.pal b/data/tilesets/secondary/82D4FEC/palettes/7.pal
new file mode 100644
index 000000000..fa9d5d633
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+172 123 123
+139 98 98
+115 74 74
+90 49 49
+65 24 24
+41 0 0
+41 41 49
diff --git a/data/tilesets/secondary/82D4FEC/palettes/8.pal b/data/tilesets/secondary/82D4FEC/palettes/8.pal
new file mode 100644
index 000000000..f4a797b87
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+197 197 180
+172 172 156
+148 148 123
+123 123 106
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+213 172 172
+197 156 148
+172 123 123
+131 82 74
+115 49 49
+90 24 24
+90 90 98
diff --git a/data/tilesets/secondary/82D4FEC/palettes/9.pal b/data/tilesets/secondary/82D4FEC/palettes/9.pal
new file mode 100644
index 000000000..0a2109195
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+74 115 172
+197 197 180
+172 172 156
+148 148 123
+123 123 106
+255 238 164
+230 197 139
+205 172 123
+164 123 90
+148 115 74
+106 65 41
+74 74 57
+0 0 0
+98 139 197
+74 115 172
+57 98 156
diff --git a/data/tilesets/secondary/82D4FEC/tiles.png b/data/tilesets/secondary/82D4FEC/tiles.png
new file mode 100644
index 000000000..04d2b7b67
--- /dev/null
+++ b/data/tilesets/secondary/82D4FEC/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D5004/metatile_attributes.bin b/data/tilesets/secondary/82D5004/metatile_attributes.bin
new file mode 100644
index 000000000..6d6c6d544
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D5004/metatiles.bin b/data/tilesets/secondary/82D5004/metatiles.bin
new file mode 100644
index 000000000..fb47747c4
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D5004/palettes/0.pal b/data/tilesets/secondary/82D5004/palettes/0.pal
new file mode 100644
index 000000000..7af5bb7d2
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 82 0
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D5004/palettes/1.pal b/data/tilesets/secondary/82D5004/palettes/1.pal
new file mode 100644
index 000000000..391d1e3d1
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 189 164
+189 148 139
+156 115 115
+123 82 82
+90 57 74
+115 205 164
diff --git a/data/tilesets/secondary/82D5004/palettes/10.pal b/data/tilesets/secondary/82D5004/palettes/10.pal
new file mode 100644
index 000000000..746437492
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+222 230 246
+189 197 222
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+49 139 49
+57 82 0
+49 180 98
+238 230 164
+222 205 131
+213 180 106
+205 156 82
+106 205 164
diff --git a/data/tilesets/secondary/82D5004/palettes/11.pal b/data/tilesets/secondary/82D5004/palettes/11.pal
new file mode 100644
index 000000000..6fe747b2d
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+255 255 148
+222 213 98
+57 148 49
+57 82 0
+57 115 24
+98 65 74
+131 106 82
+65 57 49
+164 164 49
+115 106 49
+255 0 255
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D5004/palettes/12.pal b/data/tilesets/secondary/82D5004/palettes/12.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5004/palettes/13.pal b/data/tilesets/secondary/82D5004/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5004/palettes/14.pal b/data/tilesets/secondary/82D5004/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5004/palettes/15.pal b/data/tilesets/secondary/82D5004/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5004/palettes/2.pal b/data/tilesets/secondary/82D5004/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D5004/palettes/3.pal b/data/tilesets/secondary/82D5004/palettes/3.pal
new file mode 100644
index 000000000..9581f2cd8
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 131
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D5004/palettes/4.pal b/data/tilesets/secondary/82D5004/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D5004/palettes/5.pal b/data/tilesets/secondary/82D5004/palettes/5.pal
new file mode 100644
index 000000000..3a2db72a7
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+222 205 131
+205 180 106
+180 139 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D5004/palettes/6.pal b/data/tilesets/secondary/82D5004/palettes/6.pal
new file mode 100644
index 000000000..93518605a
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
+0 0 255
diff --git a/data/tilesets/secondary/82D5004/palettes/7.pal b/data/tilesets/secondary/82D5004/palettes/7.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5004/palettes/8.pal b/data/tilesets/secondary/82D5004/palettes/8.pal
new file mode 100644
index 000000000..650a35cc8
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 82 0
+57 115 24
+98 65 74
+131 106 82
+65 57 49
+255 0 255
+255 0 255
+255 0 255
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D5004/palettes/9.pal b/data/tilesets/secondary/82D5004/palettes/9.pal
new file mode 100644
index 000000000..df2d04037
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+255 0 255
+213 230 189
+57 172 131
+222 230 246
+230 172 123
+106 205 164
diff --git a/data/tilesets/secondary/82D5004/tiles.png b/data/tilesets/secondary/82D5004/tiles.png
new file mode 100644
index 000000000..dacbc0120
--- /dev/null
+++ b/data/tilesets/secondary/82D5004/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D501C/metatile_attributes.bin b/data/tilesets/secondary/82D501C/metatile_attributes.bin
new file mode 100644
index 000000000..6e3d955e2
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D501C/metatiles.bin b/data/tilesets/secondary/82D501C/metatiles.bin
new file mode 100644
index 000000000..7fdc5c55d
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D501C/palettes/0.pal b/data/tilesets/secondary/82D501C/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D501C/palettes/1.pal b/data/tilesets/secondary/82D501C/palettes/1.pal
new file mode 100644
index 000000000..d8a4e7757
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D501C/palettes/10.pal b/data/tilesets/secondary/82D501C/palettes/10.pal
new file mode 100644
index 000000000..334da8f23
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+238 238 230
+172 172 164
+74 74 74
+0 0 0
+255 246 180
+238 222 123
+197 205 123
+197 213 205
+255 255 255
+255 255 255
+246 246 238
+222 222 213
+189 189 180
+156 156 139
+98 98 90
diff --git a/data/tilesets/secondary/82D501C/palettes/11.pal b/data/tilesets/secondary/82D501C/palettes/11.pal
new file mode 100644
index 000000000..0c3d2870e
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+230 197 65
+197 213 205
+180 197 189
+164 172 172
+205 205 197
+255 230 65
+123 123 131
+255 255 255
+74 65 74
+238 238 230
+189 189 180
+238 238 230
+222 222 213
+205 205 197
+156 156 164
diff --git a/data/tilesets/secondary/82D501C/palettes/12.pal b/data/tilesets/secondary/82D501C/palettes/12.pal
new file mode 100644
index 000000000..a68c94c2c
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+197 213 205
+180 197 189
+164 172 172
+131 148 139
+255 0 255
+255 0 255
+255 0 255
+139 156 180
+139 139 164
+131 139 148
+115 115 131
+90 90 106
+82 82 82
+57 65 65
diff --git a/data/tilesets/secondary/82D501C/palettes/13.pal b/data/tilesets/secondary/82D501C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D501C/palettes/14.pal b/data/tilesets/secondary/82D501C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D501C/palettes/15.pal b/data/tilesets/secondary/82D501C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D501C/palettes/2.pal b/data/tilesets/secondary/82D501C/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D501C/palettes/3.pal b/data/tilesets/secondary/82D501C/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D501C/palettes/4.pal b/data/tilesets/secondary/82D501C/palettes/4.pal
new file mode 100644
index 000000000..702db8a90
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 222 172
+189 189 139
+156 156 106
+115 115 65
+255 255 213
+255 238 180
+238 222 156
+172 197 197
+148 189 189
+123 180 180
+230 246 255
+189 222 222
+172 213 222
+148 205 205
+255 255 255
diff --git a/data/tilesets/secondary/82D501C/palettes/5.pal b/data/tilesets/secondary/82D501C/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D501C/palettes/6.pal b/data/tilesets/secondary/82D501C/palettes/6.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D501C/palettes/7.pal b/data/tilesets/secondary/82D501C/palettes/7.pal
new file mode 100644
index 000000000..364379ad9
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+255 0 255
+197 213 205
+180 197 189
+164 172 172
+131 148 139
+255 0 255
+246 205 74
+255 0 255
+180 189 197
+180 189 197
+189 197 197
+164 172 172
+131 139 139
+106 106 106
+90 90 82
diff --git a/data/tilesets/secondary/82D501C/palettes/8.pal b/data/tilesets/secondary/82D501C/palettes/8.pal
new file mode 100644
index 000000000..102aaaf2c
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+255 0 255
+197 213 205
+180 197 189
+164 172 172
+131 148 139
+255 0 255
+255 0 255
+255 0 255
+255 255 255
+255 255 255
+246 246 238
+222 222 213
+189 189 180
+156 156 139
+98 98 90
diff --git a/data/tilesets/secondary/82D501C/palettes/9.pal b/data/tilesets/secondary/82D501C/palettes/9.pal
new file mode 100644
index 000000000..91329f82e
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+238 238 164
+197 213 205
+180 197 189
+164 172 172
+205 205 106
+205 205 197
+172 172 90
+123 131 74
+82 90 32
+106 106 82
+74 74 74
+0 0 0
+98 139 197
+74 115 172
+57 98 156
diff --git a/data/tilesets/secondary/82D501C/tiles.png b/data/tilesets/secondary/82D501C/tiles.png
new file mode 100644
index 000000000..cbce25763
--- /dev/null
+++ b/data/tilesets/secondary/82D501C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D5034/metatile_attributes.bin b/data/tilesets/secondary/82D5034/metatile_attributes.bin
new file mode 100644
index 000000000..5fe7d59fc
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D5034/metatiles.bin b/data/tilesets/secondary/82D5034/metatiles.bin
new file mode 100644
index 000000000..2b3a9543e
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D5034/palettes/0.pal b/data/tilesets/secondary/82D5034/palettes/0.pal
new file mode 100644
index 000000000..83b30fc17
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 172 82
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D5034/palettes/1.pal b/data/tilesets/secondary/82D5034/palettes/1.pal
new file mode 100644
index 000000000..66561f6d3
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+139 180 222
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D5034/palettes/10.pal b/data/tilesets/secondary/82D5034/palettes/10.pal
new file mode 100644
index 000000000..fb565545b
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 172 82
+82 82 106
+230 222 164
+156 148 90
+123 115 115
+205 197 106
+164 156 90
+189 172 90
+246 246 222
+238 238 164
+98 106 90
+205 213 156
+139 148 106
+98 98 106
+90 0 255
+222 222 230
diff --git a/data/tilesets/secondary/82D5034/palettes/11.pal b/data/tilesets/secondary/82D5034/palettes/11.pal
new file mode 100644
index 000000000..e637019c6
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 172 82
+82 82 106
+230 222 164
+156 148 90
+123 115 115
+205 197 106
+164 156 90
+189 172 90
+246 246 222
+238 238 164
+98 106 90
+205 213 156
+139 148 106
+98 98 106
+90 0 255
+139 148 139
diff --git a/data/tilesets/secondary/82D5034/palettes/12.pal b/data/tilesets/secondary/82D5034/palettes/12.pal
new file mode 100644
index 000000000..775369fed
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 172 82
+82 82 106
+230 222 164
+156 148 90
+123 115 115
+205 197 106
+164 156 90
+189 172 90
+246 246 222
+238 238 164
+98 106 90
+205 213 156
+139 148 106
+98 98 106
+90 0 255
+156 197 213
diff --git a/data/tilesets/secondary/82D5034/palettes/13.pal b/data/tilesets/secondary/82D5034/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5034/palettes/14.pal b/data/tilesets/secondary/82D5034/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5034/palettes/15.pal b/data/tilesets/secondary/82D5034/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5034/palettes/2.pal b/data/tilesets/secondary/82D5034/palettes/2.pal
new file mode 100644
index 000000000..87a022102
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+90 90 115
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D5034/palettes/3.pal b/data/tilesets/secondary/82D5034/palettes/3.pal
new file mode 100644
index 000000000..783496dcd
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+65 98 156
+90 123 180
+115 156 197
+222 213 131
+164 164 172
+205 205 213
+238 238 246
+106 172 115
+156 205 139
diff --git a/data/tilesets/secondary/82D5034/palettes/4.pal b/data/tilesets/secondary/82D5034/palettes/4.pal
new file mode 100644
index 000000000..89eace605
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 238 246
+172 197 180
+197 222 205
+90 189 172
+246 238 156
+205 189 131
+189 164 123
+148 131 106
+106 106 106
+213 222 230
+238 180 115
diff --git a/data/tilesets/secondary/82D5034/palettes/5.pal b/data/tilesets/secondary/82D5034/palettes/5.pal
new file mode 100644
index 000000000..c7780e5c7
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+213 222 222
+164 180 189
+255 0 255
+131 115 74
+213 213 148
+197 189 139
+172 156 115
+148 131 90
+197 197 205
+205 82 65
+0 0 0
diff --git a/data/tilesets/secondary/82D5034/palettes/6.pal b/data/tilesets/secondary/82D5034/palettes/6.pal
new file mode 100644
index 000000000..1d08ce9a2
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5034/palettes/7.pal b/data/tilesets/secondary/82D5034/palettes/7.pal
new file mode 100644
index 000000000..dfa779635
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 172 82
+82 82 106
+131 131 131
+98 131 131
+139 172 172
+164 205 189
+98 106 131
+90 98 106
+98 156 197
+164 172 139
+139 156 139
+115 123 123
+205 213 156
+180 197 156
+164 172 156
+90 0 255
diff --git a/data/tilesets/secondary/82D5034/palettes/8.pal b/data/tilesets/secondary/82D5034/palettes/8.pal
new file mode 100644
index 000000000..fd7d8a9d7
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 172 82
+82 82 106
+230 222 164
+156 148 90
+123 115 115
+205 197 106
+164 156 90
+189 172 90
+246 246 222
+238 238 164
+98 106 90
+205 213 156
+139 148 106
+98 98 106
+205 139 189
+213 148 74
diff --git a/data/tilesets/secondary/82D5034/palettes/9.pal b/data/tilesets/secondary/82D5034/palettes/9.pal
new file mode 100644
index 000000000..0d43d6ef9
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+106 172 82
+82 82 106
+230 222 164
+156 148 90
+123 115 115
+205 197 106
+164 156 90
+189 172 90
+246 246 222
+238 238 164
+98 106 90
+205 213 156
+139 148 106
+98 98 106
+131 205 82
+230 213 82
diff --git a/data/tilesets/secondary/82D5034/tiles.png b/data/tilesets/secondary/82D5034/tiles.png
new file mode 100644
index 000000000..c61f91c47
--- /dev/null
+++ b/data/tilesets/secondary/82D5034/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D504C/metatile_attributes.bin b/data/tilesets/secondary/82D504C/metatile_attributes.bin
new file mode 100644
index 000000000..62eb1b917
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D504C/metatiles.bin b/data/tilesets/secondary/82D504C/metatiles.bin
new file mode 100644
index 000000000..52d2f020d
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D504C/palettes/0.pal b/data/tilesets/secondary/82D504C/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D504C/palettes/1.pal b/data/tilesets/secondary/82D504C/palettes/1.pal
new file mode 100644
index 000000000..e15d979f1
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+222 230 230
+197 205 213
+172 189 205
+123 123 131
+65 49 65
+230 238 238
+90 189 139
+90 90 115
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D504C/palettes/10.pal b/data/tilesets/secondary/82D504C/palettes/10.pal
new file mode 100644
index 000000000..265fb0625
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+205 222 238
+156 172 189
+123 123 131
+90 90 115
+65 74 106
+255 255 180
+255 238 123
+156 115 65
+238 197 246
+213 156 213
+189 106 172
+238 230 74
+238 189 0
+222 156 0
+255 255 255
diff --git a/data/tilesets/secondary/82D504C/palettes/11.pal b/data/tilesets/secondary/82D504C/palettes/11.pal
new file mode 100644
index 000000000..9e1e423c6
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+238 238 246
+197 205 222
+172 172 197
+139 156 172
+123 123 131
+90 90 115
+65 74 106
+123 139 222
+115 189 246
+255 230 156
+255 189 65
+238 164 41
+213 131 16
+180 82 0
+255 205 106
diff --git a/data/tilesets/secondary/82D504C/palettes/12.pal b/data/tilesets/secondary/82D504C/palettes/12.pal
new file mode 100644
index 000000000..375e3914b
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+222 230 230
+197 205 213
+172 189 205
+123 123 131
+65 49 65
+230 238 238
+90 189 139
+90 90 115
+230 230 222
+213 213 197
+180 180 164
+148 148 131
+123 123 90
+98 98 74
+115 205 164
diff --git a/data/tilesets/secondary/82D504C/palettes/13.pal b/data/tilesets/secondary/82D504C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D504C/palettes/14.pal b/data/tilesets/secondary/82D504C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D504C/palettes/15.pal b/data/tilesets/secondary/82D504C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D504C/palettes/2.pal b/data/tilesets/secondary/82D504C/palettes/2.pal
new file mode 100644
index 000000000..372fb5d7c
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D504C/palettes/3.pal b/data/tilesets/secondary/82D504C/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D504C/palettes/4.pal b/data/tilesets/secondary/82D504C/palettes/4.pal
new file mode 100644
index 000000000..fca4a2623
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+213 238 255
+172 205 255
+139 180 238
+106 156 230
+74 139 189
+65 123 189
+82 139 205
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 172
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D504C/palettes/5.pal b/data/tilesets/secondary/82D504C/palettes/5.pal
new file mode 100644
index 000000000..09555ded5
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D504C/palettes/6.pal b/data/tilesets/secondary/82D504C/palettes/6.pal
new file mode 100644
index 000000000..f8ebbc6dc
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+213 238 255
+172 205 255
+139 180 238
+106 156 230
+65 123 172
+41 98 156
+74 115 197
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 172
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D504C/palettes/7.pal b/data/tilesets/secondary/82D504C/palettes/7.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D504C/palettes/8.pal b/data/tilesets/secondary/82D504C/palettes/8.pal
new file mode 100644
index 000000000..4d9ab6348
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+131 197 164
+98 164 131
+123 123 131
+90 90 115
+65 74 106
+222 230 238
+197 213 230
+164 180 197
+255 222 255
+222 172 230
+172 123 189
+148 98 164
+115 65 131
+238 213 156
+205 189 123
diff --git a/data/tilesets/secondary/82D504C/palettes/9.pal b/data/tilesets/secondary/82D504C/palettes/9.pal
new file mode 100644
index 000000000..b66fdcdbf
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+115 189 246
+98 164 222
+123 123 131
+90 90 115
+65 74 106
+246 246 213
+230 230 189
+189 189 148
+172 172 131
+156 156 115
+230 222 115
+246 156 115
+222 115 98
+131 230 180
+49 164 123
diff --git a/data/tilesets/secondary/82D504C/tiles.png b/data/tilesets/secondary/82D504C/tiles.png
new file mode 100644
index 000000000..ad8f73a2c
--- /dev/null
+++ b/data/tilesets/secondary/82D504C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D5064/metatile_attributes.bin b/data/tilesets/secondary/82D5064/metatile_attributes.bin
new file mode 100644
index 000000000..d67c4690c
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D5064/metatiles.bin b/data/tilesets/secondary/82D5064/metatiles.bin
new file mode 100644
index 000000000..7613f3702
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D5064/palettes/0.pal b/data/tilesets/secondary/82D5064/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D5064/palettes/1.pal b/data/tilesets/secondary/82D5064/palettes/1.pal
new file mode 100644
index 000000000..d8a4e7757
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+131 131 139
+65 49 65
+230 238 238
+90 189 139
+255 0 255
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D5064/palettes/10.pal b/data/tilesets/secondary/82D5064/palettes/10.pal
new file mode 100644
index 000000000..86502dd48
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+205 222 230
+164 180 197
+123 123 131
+90 90 115
+65 74 106
+205 197 148
+180 172 123
+156 148 106
+230 156 106
+197 115 74
+172 98 49
+148 82 32
+205 222 230
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5064/palettes/11.pal b/data/tilesets/secondary/82D5064/palettes/11.pal
new file mode 100644
index 000000000..b05410cba
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+0 0 0
+0 0 0
+0 0 0
+131 131 139
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+0 0 0
diff --git a/data/tilesets/secondary/82D5064/palettes/12.pal b/data/tilesets/secondary/82D5064/palettes/12.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5064/palettes/13.pal b/data/tilesets/secondary/82D5064/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5064/palettes/14.pal b/data/tilesets/secondary/82D5064/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5064/palettes/15.pal b/data/tilesets/secondary/82D5064/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5064/palettes/2.pal b/data/tilesets/secondary/82D5064/palettes/2.pal
new file mode 100644
index 000000000..372fb5d7c
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D5064/palettes/3.pal b/data/tilesets/secondary/82D5064/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D5064/palettes/4.pal b/data/tilesets/secondary/82D5064/palettes/4.pal
new file mode 100644
index 000000000..fca4a2623
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+213 238 255
+172 205 255
+139 180 238
+106 156 230
+74 139 189
+65 123 189
+82 139 205
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 172
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D5064/palettes/5.pal b/data/tilesets/secondary/82D5064/palettes/5.pal
new file mode 100644
index 000000000..09555ded5
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D5064/palettes/6.pal b/data/tilesets/secondary/82D5064/palettes/6.pal
new file mode 100644
index 000000000..f8ebbc6dc
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+213 238 255
+172 205 255
+139 180 238
+106 156 230
+65 123 172
+41 98 156
+74 115 197
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 172
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D5064/palettes/7.pal b/data/tilesets/secondary/82D5064/palettes/7.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5064/palettes/8.pal b/data/tilesets/secondary/82D5064/palettes/8.pal
new file mode 100644
index 000000000..4d9ab6348
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+131 197 164
+98 164 131
+123 123 131
+90 90 115
+65 74 106
+222 230 238
+197 213 230
+164 180 197
+255 222 255
+222 172 230
+172 123 189
+148 98 164
+115 65 131
+238 213 156
+205 189 123
diff --git a/data/tilesets/secondary/82D5064/palettes/9.pal b/data/tilesets/secondary/82D5064/palettes/9.pal
new file mode 100644
index 000000000..5ac617b25
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+156 156 222
+255 238 189
+123 123 131
+90 90 115
+65 74 106
+222 230 238
+197 213 230
+164 180 197
+255 222 139
+230 172 98
+213 139 74
+197 115 49
+156 90 16
+115 189 246
+74 131 197
diff --git a/data/tilesets/secondary/82D5064/tiles.png b/data/tilesets/secondary/82D5064/tiles.png
new file mode 100644
index 000000000..744b38638
--- /dev/null
+++ b/data/tilesets/secondary/82D5064/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D507C/metatile_attributes.bin b/data/tilesets/secondary/82D507C/metatile_attributes.bin
new file mode 100644
index 000000000..edf192276
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D507C/metatiles.bin b/data/tilesets/secondary/82D507C/metatiles.bin
new file mode 100644
index 000000000..13f97073b
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D507C/palettes/0.pal b/data/tilesets/secondary/82D507C/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D507C/palettes/1.pal b/data/tilesets/secondary/82D507C/palettes/1.pal
new file mode 100644
index 000000000..09828f4f1
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+123 123 131
+32 49 57
+230 238 238
+90 189 139
+90 90 115
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+123 74 74
+90 57 65
+115 205 164
diff --git a/data/tilesets/secondary/82D507C/palettes/10.pal b/data/tilesets/secondary/82D507C/palettes/10.pal
new file mode 100644
index 000000000..d26d003af
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+238 246 255
+197 213 222
+172 189 197
+139 156 172
+123 123 131
+90 90 115
+65 74 106
+255 0 255
+131 172 148
+189 180 164
+172 164 156
+148 139 139
+123 115 115
+106 98 106
+115 205 164
diff --git a/data/tilesets/secondary/82D507C/palettes/11.pal b/data/tilesets/secondary/82D507C/palettes/11.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D507C/palettes/12.pal b/data/tilesets/secondary/82D507C/palettes/12.pal
new file mode 100644
index 000000000..995731c23
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D507C/palettes/13.pal b/data/tilesets/secondary/82D507C/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D507C/palettes/14.pal b/data/tilesets/secondary/82D507C/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D507C/palettes/15.pal b/data/tilesets/secondary/82D507C/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D507C/palettes/2.pal b/data/tilesets/secondary/82D507C/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D507C/palettes/3.pal b/data/tilesets/secondary/82D507C/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D507C/palettes/4.pal b/data/tilesets/secondary/82D507C/palettes/4.pal
new file mode 100644
index 000000000..5871a448c
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+230 246 255
+189 222 255
+139 189 255
+115 164 255
+65 139 222
+57 115 222
+82 148 230
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 197
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D507C/palettes/5.pal b/data/tilesets/secondary/82D507C/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D507C/palettes/6.pal b/data/tilesets/secondary/82D507C/palettes/6.pal
new file mode 100644
index 000000000..9bad44649
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+205 230 246
+180 213 255
+123 180 246
+98 148 230
+65 123 189
+49 98 180
+82 131 222
+213 230 238
+172 189 205
+123 123 131
+90 90 115
+238 246 246
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D507C/palettes/7.pal b/data/tilesets/secondary/82D507C/palettes/7.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D507C/palettes/8.pal b/data/tilesets/secondary/82D507C/palettes/8.pal
new file mode 100644
index 000000000..4d9ab6348
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+131 197 164
+98 164 131
+123 123 131
+90 90 115
+65 74 106
+222 230 238
+197 213 230
+164 180 197
+255 222 255
+222 172 230
+172 123 189
+148 98 164
+115 65 131
+238 213 156
+205 189 123
diff --git a/data/tilesets/secondary/82D507C/palettes/9.pal b/data/tilesets/secondary/82D507C/palettes/9.pal
new file mode 100644
index 000000000..edc5961bb
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+238 246 255
+197 213 222
+139 156 172
+123 123 131
+90 90 115
+65 74 106
+115 172 246
+65 123 172
+49 90 139
+32 74 123
+189 230 164
+115 156 90
+148 131 74
+156 213 255
+98 164 230
diff --git a/data/tilesets/secondary/82D507C/tiles.png b/data/tilesets/secondary/82D507C/tiles.png
new file mode 100644
index 000000000..d40c92649
--- /dev/null
+++ b/data/tilesets/secondary/82D507C/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D5094/metatile_attributes.bin b/data/tilesets/secondary/82D5094/metatile_attributes.bin
new file mode 100644
index 000000000..96b25bb0f
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D5094/metatiles.bin b/data/tilesets/secondary/82D5094/metatiles.bin
new file mode 100644
index 000000000..f045f57e8
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D5094/palettes/0.pal b/data/tilesets/secondary/82D5094/palettes/0.pal
new file mode 100644
index 000000000..8db07d418
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D5094/palettes/1.pal b/data/tilesets/secondary/82D5094/palettes/1.pal
new file mode 100644
index 000000000..66561f6d3
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+139 180 222
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D5094/palettes/10.pal b/data/tilesets/secondary/82D5094/palettes/10.pal
new file mode 100644
index 000000000..ab3a7d14f
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+172 213 255
+139 189 246
+123 172 222
+98 180 230
+106 148 213
+255 0 255
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+189 230 255
+189 230 255
+156 189 213
+90 131 180
diff --git a/data/tilesets/secondary/82D5094/palettes/11.pal b/data/tilesets/secondary/82D5094/palettes/11.pal
new file mode 100644
index 000000000..bb88b4d57
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+148 148 148
+123 123 123
+98 98 98
+82 82 106
+255 213 90
+230 164 74
+255 0 255
+222 230 238
+197 205 156
+205 139 115
+172 172 172
+222 230 189
+230 172 139
+0 0 0
+255 255 255
diff --git a/data/tilesets/secondary/82D5094/palettes/12.pal b/data/tilesets/secondary/82D5094/palettes/12.pal
new file mode 100644
index 000000000..b0d005f21
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+205 205 205
+255 131 65
+222 98 32
+255 0 255
+222 213 90
+197 189 65
+189 180 49
+172 164 32
+213 205 90
+148 148 148
+230 230 230
diff --git a/data/tilesets/secondary/82D5094/palettes/13.pal b/data/tilesets/secondary/82D5094/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5094/palettes/14.pal b/data/tilesets/secondary/82D5094/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5094/palettes/15.pal b/data/tilesets/secondary/82D5094/palettes/15.pal
new file mode 100644
index 000000000..6a17f18dc
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+172 222 172
+189 238 197
+139 189 139
+205 246 213
+172 222 172
+74 106 156
+90 131 180
+213 222 222
+156 189 213
+238 139 98
+189 98 74
+156 65 49
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5094/palettes/2.pal b/data/tilesets/secondary/82D5094/palettes/2.pal
new file mode 100644
index 000000000..87a022102
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+90 90 115
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D5094/palettes/3.pal b/data/tilesets/secondary/82D5094/palettes/3.pal
new file mode 100644
index 000000000..783496dcd
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+65 98 156
+90 123 180
+115 156 197
+222 213 131
+164 164 172
+205 205 213
+238 238 246
+106 172 115
+156 205 139
diff --git a/data/tilesets/secondary/82D5094/palettes/4.pal b/data/tilesets/secondary/82D5094/palettes/4.pal
new file mode 100644
index 000000000..89eace605
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 238 246
+172 197 180
+197 222 205
+90 189 172
+246 238 156
+205 189 131
+189 164 123
+148 131 106
+106 106 106
+213 222 230
+238 180 115
diff --git a/data/tilesets/secondary/82D5094/palettes/5.pal b/data/tilesets/secondary/82D5094/palettes/5.pal
new file mode 100644
index 000000000..c7780e5c7
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+213 222 222
+164 180 189
+255 0 255
+131 115 74
+213 213 148
+197 189 139
+172 156 115
+148 131 90
+197 197 205
+205 82 65
+0 0 0
diff --git a/data/tilesets/secondary/82D5094/palettes/6.pal b/data/tilesets/secondary/82D5094/palettes/6.pal
new file mode 100644
index 000000000..1d08ce9a2
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D5094/palettes/7.pal b/data/tilesets/secondary/82D5094/palettes/7.pal
new file mode 100644
index 000000000..edc5961bb
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 255
+238 246 255
+197 213 222
+139 156 172
+123 123 131
+90 90 115
+65 74 106
+115 172 246
+65 123 172
+49 90 139
+32 74 123
+189 230 164
+115 156 90
+148 131 74
+156 213 255
+98 164 230
diff --git a/data/tilesets/secondary/82D5094/palettes/8.pal b/data/tilesets/secondary/82D5094/palettes/8.pal
new file mode 100644
index 000000000..317213c42
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+123 74 148
+148 106 180
+230 213 246
+205 172 213
+222 213 90
+197 189 65
+189 180 49
+172 164 32
+213 205 90
+255 0 255
+255 0 255
diff --git a/data/tilesets/secondary/82D5094/palettes/9.pal b/data/tilesets/secondary/82D5094/palettes/9.pal
new file mode 100644
index 000000000..19dc9a47e
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+255 0 255
+255 131 115
+106 197 106
+164 255 180
+238 197 115
+213 131 74
+189 213 230
+123 156 180
+90 123 156
+156 180 205
+222 230 238
diff --git a/data/tilesets/secondary/82D5094/tiles.png b/data/tilesets/secondary/82D5094/tiles.png
new file mode 100644
index 000000000..f74f7c9f7
--- /dev/null
+++ b/data/tilesets/secondary/82D5094/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D50AC/metatile_attributes.bin b/data/tilesets/secondary/82D50AC/metatile_attributes.bin
new file mode 100644
index 000000000..9dd5f613d
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D50AC/metatiles.bin b/data/tilesets/secondary/82D50AC/metatiles.bin
new file mode 100644
index 000000000..d5916a2cf
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D50AC/palettes/0.pal b/data/tilesets/secondary/82D50AC/palettes/0.pal
new file mode 100644
index 000000000..2f3f97d6f
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+189 255 139
+131 213 98
+57 148 49
+57 90 16
+115 98 98
+65 57 49
+255 0 255
+139 222 189
+255 197 115
+238 131 106
+197 49 65
+164 230 197
+115 205 164
+65 180 139
+24 164 106
diff --git a/data/tilesets/secondary/82D50AC/palettes/1.pal b/data/tilesets/secondary/82D50AC/palettes/1.pal
new file mode 100644
index 000000000..22eb1667c
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 230
+197 205 213
+172 189 205
+123 123 131
+65 49 65
+230 238 238
+90 189 139
+90 90 115
+238 213 197
+222 197 164
+189 148 139
+148 106 106
+115 65 74
+82 49 65
+115 205 164
diff --git a/data/tilesets/secondary/82D50AC/palettes/10.pal b/data/tilesets/secondary/82D50AC/palettes/10.pal
new file mode 100644
index 000000000..3c091df8b
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+148 148 164
+205 189 197
+255 255 255
+255 213 115
+189 148 49
+139 98 74
+90 106 180
+255 205 139
+230 172 90
+230 148 65
+180 98 24
+238 213 172
+222 156 139
+123 123 123
diff --git a/data/tilesets/secondary/82D50AC/palettes/11.pal b/data/tilesets/secondary/82D50AC/palettes/11.pal
new file mode 100644
index 000000000..c42eeb7e1
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+148 148 164
+172 172 164
+164 222 255
+115 180 205
+65 139 164
+41 106 148
+205 213 213
+238 230 139
+189 180 98
+139 131 65
+0 0 0
+255 255 255
+230 172 90
+189 246 255
diff --git a/data/tilesets/secondary/82D50AC/palettes/12.pal b/data/tilesets/secondary/82D50AC/palettes/12.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D50AC/palettes/13.pal b/data/tilesets/secondary/82D50AC/palettes/13.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D50AC/palettes/14.pal b/data/tilesets/secondary/82D50AC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D50AC/palettes/15.pal b/data/tilesets/secondary/82D50AC/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D50AC/palettes/2.pal b/data/tilesets/secondary/82D50AC/palettes/2.pal
new file mode 100644
index 000000000..6b019b884
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+156 123 98
+197 172 139
+255 205 139
+238 148 115
+222 106 98
+205 82 74
+172 32 41
+74 131 197
diff --git a/data/tilesets/secondary/82D50AC/palettes/3.pal b/data/tilesets/secondary/82D50AC/palettes/3.pal
new file mode 100644
index 000000000..205c464c7
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+246 246 255
+205 222 238
+172 189 205
+148 164 180
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+205 180 106
+156 213 255
+115 189 246
+98 164 222
+74 131 197
+49 98 164
+115 205 164
diff --git a/data/tilesets/secondary/82D50AC/palettes/4.pal b/data/tilesets/secondary/82D50AC/palettes/4.pal
new file mode 100644
index 000000000..5871a448c
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+230 246 255
+189 222 255
+139 189 255
+115 164 255
+65 139 222
+57 115 222
+82 148 230
+205 222 238
+172 189 205
+123 123 131
+90 90 115
+49 115 197
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D50AC/palettes/5.pal b/data/tilesets/secondary/82D50AC/palettes/5.pal
new file mode 100644
index 000000000..c5a653979
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+222 230 238
+172 189 205
+123 123 131
+90 90 115
+65 74 106
+230 222 164
+213 197 131
+197 172 106
+172 148 74
+238 230 139
+222 197 139
+213 189 106
+189 230 164
+172 222 164
+115 205 164
diff --git a/data/tilesets/secondary/82D50AC/palettes/6.pal b/data/tilesets/secondary/82D50AC/palettes/6.pal
new file mode 100644
index 000000000..9bad44649
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+205 230 246
+180 213 255
+123 180 246
+98 148 230
+65 123 189
+49 98 180
+82 131 222
+213 230 238
+172 189 205
+123 123 131
+90 90 115
+238 246 246
+238 230 139
+230 213 139
+213 197 106
diff --git a/data/tilesets/secondary/82D50AC/palettes/7.pal b/data/tilesets/secondary/82D50AC/palettes/7.pal
new file mode 100644
index 000000000..6b0281bd6
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D50AC/palettes/8.pal b/data/tilesets/secondary/82D50AC/palettes/8.pal
new file mode 100644
index 000000000..5c1251024
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+172 172 164
+205 213 213
+180 189 189
+148 156 156
+106 115 115
+197 246 230
+106 205 164
+57 156 115
+222 106 98
+222 213 123
+255 180 148
+197 189 98
+238 246 255
diff --git a/data/tilesets/secondary/82D50AC/palettes/9.pal b/data/tilesets/secondary/82D50AC/palettes/9.pal
new file mode 100644
index 000000000..c25501332
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+65 123 180
+238 246 255
+222 230 238
+189 205 230
+156 164 189
+139 139 156
+98 98 123
+57 57 106
+197 98 98
+172 65 106
+32 74 156
+197 148 0
+246 213 24
+222 238 255
+255 255 255
+74 106 139
diff --git a/data/tilesets/secondary/82D50AC/tiles.png b/data/tilesets/secondary/82D50AC/tiles.png
new file mode 100644
index 000000000..166ae2e18
--- /dev/null
+++ b/data/tilesets/secondary/82D50AC/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D50C4/metatile_attributes.bin b/data/tilesets/secondary/82D50C4/metatile_attributes.bin
new file mode 100644
index 000000000..bcc2fedb4
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D50C4/metatiles.bin b/data/tilesets/secondary/82D50C4/metatiles.bin
new file mode 100644
index 000000000..7cdfa846a
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D50C4/palettes/0.pal b/data/tilesets/secondary/82D50C4/palettes/0.pal
new file mode 100644
index 000000000..8db07d418
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D50C4/palettes/1.pal b/data/tilesets/secondary/82D50C4/palettes/1.pal
new file mode 100644
index 000000000..fc945ef6c
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+139 180 222
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D50C4/palettes/10.pal b/data/tilesets/secondary/82D50C4/palettes/10.pal
new file mode 100644
index 000000000..18908d2ef
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+255 255 255
+222 222 222
+106 115 115
+230 197 246
+180 82 205
+148 57 180
+230 222 123
+189 180 82
+230 230 172
+222 213 139
+222 164 164
+205 139 139
+205 180 238
+189 148 230
+164 131 205
diff --git a/data/tilesets/secondary/82D50C4/palettes/11.pal b/data/tilesets/secondary/82D50C4/palettes/11.pal
new file mode 100644
index 000000000..edc05893b
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+82 164 164
+255 255 255
+230 230 230
+123 123 123
+189 189 197
+148 148 156
+213 213 222
+98 98 106
+180 180 164
+230 172 164
+197 131 131
+180 82 205
+148 57 180
+106 189 189
+82 164 164
+57 139 139
diff --git a/data/tilesets/secondary/82D50C4/palettes/12.pal b/data/tilesets/secondary/82D50C4/palettes/12.pal
new file mode 100644
index 000000000..36807053a
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+74 90 98
+98 123 139
+164 197 197
+222 238 238
+255 255 255
+123 123 123
+180 82 205
+131 49 164
+131 164 164
+230 213 156
+255 0 255
+213 131 222
+255 246 156
+90 16 131
+41 49 57
diff --git a/data/tilesets/secondary/82D50C4/palettes/13.pal b/data/tilesets/secondary/82D50C4/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D50C4/palettes/14.pal b/data/tilesets/secondary/82D50C4/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D50C4/palettes/15.pal b/data/tilesets/secondary/82D50C4/palettes/15.pal
new file mode 100644
index 000000000..0b5e86def
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+131 230 255
diff --git a/data/tilesets/secondary/82D50C4/palettes/2.pal b/data/tilesets/secondary/82D50C4/palettes/2.pal
new file mode 100644
index 000000000..87a022102
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+90 90 115
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D50C4/palettes/3.pal b/data/tilesets/secondary/82D50C4/palettes/3.pal
new file mode 100644
index 000000000..783496dcd
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+65 98 156
+90 123 180
+115 156 197
+222 213 131
+164 164 172
+205 205 213
+238 238 246
+106 172 115
+156 205 139
diff --git a/data/tilesets/secondary/82D50C4/palettes/4.pal b/data/tilesets/secondary/82D50C4/palettes/4.pal
new file mode 100644
index 000000000..89eace605
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 238 246
+172 197 180
+197 222 205
+90 189 172
+246 238 156
+205 189 131
+189 164 123
+148 131 106
+106 106 106
+213 222 230
+238 180 115
diff --git a/data/tilesets/secondary/82D50C4/palettes/5.pal b/data/tilesets/secondary/82D50C4/palettes/5.pal
new file mode 100644
index 000000000..34ef2f2d2
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+213 222 222
+164 180 189
+222 164 115
+131 115 74
+213 213 148
+197 189 139
+172 156 115
+148 131 90
+197 197 205
+205 82 65
+0 0 0
diff --git a/data/tilesets/secondary/82D50C4/palettes/6.pal b/data/tilesets/secondary/82D50C4/palettes/6.pal
new file mode 100644
index 000000000..1d08ce9a2
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D50C4/palettes/7.pal b/data/tilesets/secondary/82D50C4/palettes/7.pal
new file mode 100644
index 000000000..6528f9f75
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+82 82 106
+123 123 123
+255 74 0
+255 213 131
+230 164 98
+197 115 74
+164 82 65
+255 255 180
+189 189 115
+82 82 106
+82 82 106
+82 82 106
+82 82 106
+82 82 106
+82 82 106
diff --git a/data/tilesets/secondary/82D50C4/palettes/8.pal b/data/tilesets/secondary/82D50C4/palettes/8.pal
new file mode 100644
index 000000000..6b56cd49e
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+255 255 255
+222 222 222
+106 115 115
+189 230 255
+123 205 255
+98 180 246
+49 139 213
+180 180 164
+172 213 222
+156 197 205
+180 156 222
+156 131 205
+139 197 230
+131 172 222
+98 148 197
diff --git a/data/tilesets/secondary/82D50C4/palettes/9.pal b/data/tilesets/secondary/82D50C4/palettes/9.pal
new file mode 100644
index 000000000..5c2ed43a0
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+255 255 255
+222 222 222
+106 115 115
+222 230 238
+180 197 205
+148 164 180
+131 139 139
+238 238 238
+230 230 230
+213 213 213
+139 213 156
+123 189 139
+230 222 123
+213 205 106
+189 180 90
diff --git a/data/tilesets/secondary/82D50C4/tiles.png b/data/tilesets/secondary/82D50C4/tiles.png
new file mode 100644
index 000000000..0f65e1ff3
--- /dev/null
+++ b/data/tilesets/secondary/82D50C4/tiles.png
Binary files differ
diff --git a/data/tilesets/secondary/82D50DC/metatile_attributes.bin b/data/tilesets/secondary/82D50DC/metatile_attributes.bin
new file mode 100644
index 000000000..2fa59412a
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/metatile_attributes.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D50DC/metatiles.bin b/data/tilesets/secondary/82D50DC/metatiles.bin
new file mode 100644
index 000000000..6f4e8a22e
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/metatiles.bin
Binary files differ
diff --git a/data/tilesets/secondary/82D50DC/palettes/0.pal b/data/tilesets/secondary/82D50DC/palettes/0.pal
new file mode 100644
index 000000000..8db07d418
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+172 148 65
+213 197 106
+246 238 148
+82 148 197
+172 205 246
+222 230 230
+106 197 106
+164 255 180
+205 82 65
+255 131 115
+148 148 139
diff --git a/data/tilesets/secondary/82D50DC/palettes/1.pal b/data/tilesets/secondary/82D50DC/palettes/1.pal
new file mode 100644
index 000000000..66561f6d3
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/1.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+197 197 148
+213 213 172
+189 230 255
+139 180 222
+131 115 16
+164 148 49
+197 180 74
+222 205 106
+246 238 148
+222 213 230
+90 131 180
diff --git a/data/tilesets/secondary/82D50DC/palettes/10.pal b/data/tilesets/secondary/82D50DC/palettes/10.pal
new file mode 100644
index 000000000..6ea570459
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/10.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+90 0 255
+238 230 156
+230 189 131
+131 189 172
+205 82 65
+255 148 0
+106 164 148
+82 139 123
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+156 213 197
+164 172 139
+90 0 255
+90 0 255
diff --git a/data/tilesets/secondary/82D50DC/palettes/11.pal b/data/tilesets/secondary/82D50DC/palettes/11.pal
new file mode 100644
index 000000000..008f150c7
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/11.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+148 148 164
+205 189 197
+255 255 255
+115 115 131
+255 0 255
+0 255 156
+106 164 148
+82 139 123
+255 0 255
+255 255 172
+255 213 115
+213 180 106
+164 131 74
+222 213 230
diff --git a/data/tilesets/secondary/82D50DC/palettes/12.pal b/data/tilesets/secondary/82D50DC/palettes/12.pal
new file mode 100644
index 000000000..c1e7c3d5c
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/12.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
+90 0 255
diff --git a/data/tilesets/secondary/82D50DC/palettes/13.pal b/data/tilesets/secondary/82D50DC/palettes/13.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/13.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D50DC/palettes/14.pal b/data/tilesets/secondary/82D50DC/palettes/14.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/14.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D50DC/palettes/15.pal b/data/tilesets/secondary/82D50DC/palettes/15.pal
new file mode 100644
index 000000000..4b0812f09
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/15.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D50DC/palettes/2.pal b/data/tilesets/secondary/82D50DC/palettes/2.pal
new file mode 100644
index 000000000..87a022102
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/2.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+197 189 213
+255 255 255
+106 197 106
+230 213 123
+255 205 90
+255 238 197
+90 90 115
+230 238 246
+156 205 246
+98 156 238
+246 238 164
+230 139 98
+189 98 74
diff --git a/data/tilesets/secondary/82D50DC/palettes/3.pal b/data/tilesets/secondary/82D50DC/palettes/3.pal
new file mode 100644
index 000000000..783496dcd
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/3.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 180 74
+255 246 131
+65 98 156
+90 123 180
+115 156 197
+222 213 131
+164 164 172
+205 205 213
+238 238 246
+106 172 115
+156 205 139
diff --git a/data/tilesets/secondary/82D50DC/palettes/4.pal b/data/tilesets/secondary/82D50DC/palettes/4.pal
new file mode 100644
index 000000000..89eace605
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/4.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+230 238 246
+172 197 180
+197 222 205
+90 189 172
+246 238 156
+205 189 131
+189 164 123
+148 131 106
+106 106 106
+213 222 230
+238 180 115
diff --git a/data/tilesets/secondary/82D50DC/palettes/5.pal b/data/tilesets/secondary/82D50DC/palettes/5.pal
new file mode 100644
index 000000000..c7780e5c7
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/5.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+213 222 222
+164 180 189
+255 0 255
+131 115 74
+213 213 148
+197 189 139
+172 156 115
+148 131 90
+197 197 205
+205 82 65
+0 0 0
diff --git a/data/tilesets/secondary/82D50DC/palettes/6.pal b/data/tilesets/secondary/82D50DC/palettes/6.pal
new file mode 100644
index 000000000..1d08ce9a2
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/6.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+213 213 172
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/data/tilesets/secondary/82D50DC/palettes/7.pal b/data/tilesets/secondary/82D50DC/palettes/7.pal
new file mode 100644
index 000000000..f0c97cf87
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/7.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+82 82 106
+123 123 123
+180 180 164
+255 255 255
+156 189 255
+82 123 197
+49 90 156
+106 164 148
+82 139 123
+106 164 222
+222 230 148
+189 197 115
+90 148 197
+222 164 32
+189 230 255
diff --git a/data/tilesets/secondary/82D50DC/palettes/8.pal b/data/tilesets/secondary/82D50DC/palettes/8.pal
new file mode 100644
index 000000000..33b52bbbd
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/8.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+82 82 106
+131 131 139
+172 172 164
+255 255 255
+213 222 222
+180 197 213
+156 172 197
+230 106 90
+189 65 49
+255 131 115
+139 41 24
+197 255 205
+238 197 106
+255 255 213
+255 246 172
diff --git a/data/tilesets/secondary/82D50DC/palettes/9.pal b/data/tilesets/secondary/82D50DC/palettes/9.pal
new file mode 100644
index 000000000..3a2cf3b7a
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/palettes/9.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 0 255
+82 82 106
+123 123 123
+172 172 164
+255 255 255
+139 222 148
+156 238 164
+197 255 205
+172 246 180
+238 238 197
+255 0 255
+255 0 255
+0 255 156
+189 65 49
+255 222 123
+246 197 0
diff --git a/data/tilesets/secondary/82D50DC/tiles.png b/data/tilesets/secondary/82D50DC/tiles.png
new file mode 100644
index 000000000..f5ab3a9cb
--- /dev/null
+++ b/data/tilesets/secondary/82D50DC/tiles.png
Binary files differ
diff --git a/graphics_file_rules.mk b/graphics_file_rules.mk
index 43da030c1..f0094f070 100644
--- a/graphics_file_rules.mk
+++ b/graphics_file_rules.mk
@@ -56,198 +56,6 @@ $(MONPALDIR)/castform_shiny_palette.gbapal: $(MONPALDIR)/castform_normal_form_sh
$(MONPALDIR)/castform_snowy_form_shiny_palette.gbapal
@cat $^ >$@
-$(TILESETGFXDIR)/secondary/petalburg/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 159
-
-$(TILESETGFXDIR)/secondary/rustboro/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 498
-
-$(TILESETGFXDIR)/secondary/dewford/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 503
-
-$(TILESETGFXDIR)/secondary/slateport/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 504
-
-$(TILESETGFXDIR)/secondary/mauville/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 503
-
-$(TILESETGFXDIR)/secondary/lavaridge/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 450
-
-$(TILESETGFXDIR)/secondary/fortree/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 493
-
-$(TILESETGFXDIR)/secondary/pacifidlog/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 504
-
-$(TILESETGFXDIR)/secondary/sootopolis/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 328
-
-$(TILESETGFXDIR)/secondary/battle_frontier_outside_west/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 508
-
-$(TILESETGFXDIR)/secondary/battle_frontier_outside_east/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 508
-
-$(TILESETGFXDIR)/primary/building/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 502
-
-$(TILESETGFXDIR)/secondary/shop/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 502
-
-$(TILESETGFXDIR)/secondary/pokemon_center/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 478
-
-$(TILESETGFXDIR)/secondary/cave/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 425
-
-$(TILESETGFXDIR)/secondary/pokemon_school/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 278
-
-$(TILESETGFXDIR)/secondary/pokemon_fan_club/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 319
-
-$(TILESETGFXDIR)/secondary/unused_1/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 17
-
-$(TILESETGFXDIR)/secondary/meteor_falls/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 460
-
-$(TILESETGFXDIR)/secondary/oceanic_museum/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 319
-
-$(TILESETGFXDIR)/secondary/cable_club/unknown_tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 120
-
-$(TILESETGFXDIR)/secondary/seashore_house/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 312
-
-$(TILESETGFXDIR)/secondary/pretty_petal_flower_shop/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 345
-
-$(TILESETGFXDIR)/secondary/pokemon_day_care/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 355
-
-$(TILESETGFXDIR)/secondary/secret_base/brown_cave/unused_tiles.4bpp: $(TILESETGFXDIR)/secondary/secret_base/brown_cave/tiles.png
- $(GFX) $< $@ -num_tiles 82
-
-$(TILESETGFXDIR)/secondary/secret_base/tree/unused_tiles.4bpp: $(TILESETGFXDIR)/secondary/secret_base/tree/tiles.png
- $(GFX) $< $@ -num_tiles 82
-
-$(TILESETGFXDIR)/secondary/secret_base/shrub/unused_tiles.4bpp: $(TILESETGFXDIR)/secondary/secret_base/shrub/tiles.png
- $(GFX) $< $@ -num_tiles 82
-
-$(TILESETGFXDIR)/secondary/secret_base/blue_cave/unused_tiles.4bpp: $(TILESETGFXDIR)/secondary/secret_base/blue_cave/tiles.png
- $(GFX) $< $@ -num_tiles 82
-
-$(TILESETGFXDIR)/secondary/secret_base/yellow_cave/unused_tiles.4bpp: $(TILESETGFXDIR)/secondary/secret_base/yellow_cave/tiles.png
- $(GFX) $< $@ -num_tiles 82
-
-$(TILESETGFXDIR)/secondary/secret_base/red_cave/unused_tiles.4bpp: $(TILESETGFXDIR)/secondary/secret_base/red_cave/tiles.png
- $(GFX) $< $@ -num_tiles 82
-
-$(TILESETGFXDIR)/secondary/secret_base/brown_cave/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 83
-
-$(TILESETGFXDIR)/secondary/secret_base/tree/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 83
-
-$(TILESETGFXDIR)/secondary/secret_base/shrub/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 83
-
-$(TILESETGFXDIR)/secondary/secret_base/blue_cave/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 83
-
-$(TILESETGFXDIR)/secondary/secret_base/yellow_cave/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 83
-
-$(TILESETGFXDIR)/secondary/secret_base/red_cave/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 83
-
-$(TILESETGFXDIR)/secondary/inside_of_truck/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 62
-
-$(TILESETGFXDIR)/secondary/contest/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 430
-
-$(TILESETGFXDIR)/secondary/lilycove_museum/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 431
-
-$(TILESETGFXDIR)/secondary/lab/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 500
-
-$(TILESETGFXDIR)/secondary/underwater/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 500
-
-$(TILESETGFXDIR)/secondary/generic_building/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 509
-
-$(TILESETGFXDIR)/secondary/mauville_game_corner/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 469
-
-$(TILESETGFXDIR)/secondary/unused_2/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 150
-
-$(TILESETGFXDIR)/secondary/rustboro_gym/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 60
-
-$(TILESETGFXDIR)/secondary/dewford_gym/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 61
-
-$(TILESETGFXDIR)/secondary/lavaridge_gym/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 54
-
-$(TILESETGFXDIR)/secondary/petalburg_gym/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 148
-
-$(TILESETGFXDIR)/secondary/fortree_gym/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 61
-
-$(TILESETGFXDIR)/secondary/mossdeep_gym/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 82
-
-$(TILESETGFXDIR)/secondary/sootopolis_gym/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 484
-
-$(TILESETGFXDIR)/secondary/trick_house_puzzle/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 294
-
-$(TILESETGFXDIR)/secondary/inside_ship/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 342
-
-$(TILESETGFXDIR)/secondary/elite_four/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 505
-
-$(TILESETGFXDIR)/secondary/battle_frontier/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 310
-
-$(TILESETGFXDIR)/secondary/battle_factory/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 424
-
-$(TILESETGFXDIR)/secondary/battle_pike/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 382
-
-$(TILESETGFXDIR)/secondary/mirage_tower/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 420
-
-$(TILESETGFXDIR)/secondary/mossdeep_game_corner/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 95
-
-$(TILESETGFXDIR)/secondary/island_harbor/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 503
-
-$(TILESETGFXDIR)/secondary/trainer_hill/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 374
-
-$(TILESETGFXDIR)/secondary/navel_rock/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 420
-
-$(TILESETGFXDIR)/secondary/battle_frontier_ranking_hall/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 136
-
-$(TILESETGFXDIR)/secondary/mystery_events_house/tiles.4bpp: %.4bpp: %.png
- $(GFX) $< $@ -num_tiles 509
-
$(FONTGFXDIR)/font0_latin.latfont: $(FONTGFXDIR)/font0_latin.png
$(GFX) $< $@
diff --git a/include/constants/layouts.h b/include/constants/layouts.h
new file mode 100644
index 000000000..b97ef69cb
--- /dev/null
+++ b/include/constants/layouts.h
@@ -0,0 +1,370 @@
+#ifndef GUARD_CONSTANTS_LAYOUTS_H
+#define GUARD_CONSTANTS_LAYOUTS_H
+
+#define LAYOUT_PALLET_TOWN_PLAYERS_HOUSE_1F 1
+#define LAYOUT_PALLET_TOWN_PLAYERS_HOUSE_2F 2
+#define LAYOUT_PALLET_TOWN_GARYS_HOUSE 3
+#define LAYOUT_UNUSED_LAYOUT_82D54D8 4
+#define LAYOUT_PALLET_TOWN_PROFESSOR_OAKS_LAB 5
+#define LAYOUT_HOUSE1 6
+#define LAYOUT_HOUSE2 7
+#define LAYOUT_POKEMON_CENTER_1F 8
+#define LAYOUT_POKEMON_CENTER_2F 9
+#define LAYOUT_MART 10
+#define LAYOUT_HOUSE3 11
+#define LAYOUT_CERULEAN_CITY_GYM 12
+#define LAYOUT_HOUSE4 13
+#define LAYOUT_UNUSED_LAYOUT_82D6144 14
+#define LAYOUT_CELADON_CITY_GYM 15
+#define LAYOUT_UNUSED_LAYOUT_82D6490 16
+#define LAYOUT_FIVE_ISLAND_RESORT_GORGEOUS_HOUSE 17
+#define LAYOUT_UNUSED_LAYOUT_82D6654 18
+#define LAYOUT_UNUSED_LAYOUT_82D672C 19
+#define LAYOUT_FUCHSIA_CITY_GYM 20
+#define LAYOUT_HOUSE5 21
+#define LAYOUT_UNUSED_LAYOUT_82D6C34 24
+#define LAYOUT_VERMILION_CITY_GYM 25
+#define LAYOUT_CERULEAN_CITY_BIKE_SHOP 26
+#define LAYOUT_CELADON_CITY_GAME_CORNER 27
+#define LAYOUT_PEWTER_CITY_GYM 28
+#define LAYOUT_FOUR_ISLAND_LORELEIS_HOUSE 30
+#define LAYOUT_THREE_ISLAND_HOUSE1 31
+#define LAYOUT_UNUSED_LAYOUT_82D75F0 32
+#define LAYOUT_UNUSED_LAYOUT_82D7674 33
+#define LAYOUT_SAFFRON_CITY_GYM 34
+#define LAYOUT_UNUSED_LAYOUT_82D7CC8 35
+#define LAYOUT_CINNABAR_ISLAND_GYM 36
+#define LAYOUT_VIRIDIAN_CITY_GYM 37
+#define LAYOUT_UNUSED_LAYOUT_82D88C8 46
+#define LAYOUT_UNKNOWN_MAP_00_00 47
+#define LAYOUT_UNKNOWN_MAP_00_01 48
+#define LAYOUT_UNKNOWN_MAP_00_02 49
+#define LAYOUT_UNKNOWN_MAP_00_03 50
+#define LAYOUT_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE 51
+#define LAYOUT_UNUSED_LAYOUT_82D9B24 52
+#define LAYOUT_UNUSED_LAYOUT_82DA7C8 53
+#define LAYOUT_UNUSED_LAYOUT_82DB46C 54
+#define LAYOUT_UNUSED_LAYOUT_82DB4F0 55
+#define LAYOUT_UNUSED_LAYOUT_82DBBE0 57
+#define LAYOUT_UNUSED_LAYOUT_82DBDD8 62
+#define LAYOUT_UNUSED_LAYOUT_82DBFB8 63
+#define LAYOUT_UNUSED_LAYOUT_82DC4EC 64
+#define LAYOUT_UNUSED_LAYOUT_82DC60C 65
+#define LAYOUT_UNUSED_LAYOUT_82DC72C 66
+#define LAYOUT_UNUSED_LAYOUT_82DC84C 67
+#define LAYOUT_UNUSED_LAYOUT_82DCA70 68
+#define LAYOUT_UNUSED_LAYOUT_82DCB44 69
+#define LAYOUT_UNUSED_LAYOUT_82DCC40 70
+#define LAYOUT_UNUSED_LAYOUT_82DCCD4 71
+#define LAYOUT_UNUSED_LAYOUT_82DCD68 72
+#define LAYOUT_UNUSED_LAYOUT_82DCDFC 73
+#define LAYOUT_UNUSED_LAYOUT_82DCF00 74
+#define LAYOUT_UNUSED_LAYOUT_82DD004 75
+#define LAYOUT_UNUSED_LAYOUT_82DD0DC 77
+#define LAYOUT_PALLET_TOWN 78
+#define LAYOUT_VIRIDIAN_CITY 79
+#define LAYOUT_PEWTER_CITY 80
+#define LAYOUT_CERULEAN_CITY 81
+#define LAYOUT_LAVENDER_TOWN 82
+#define LAYOUT_VERMILION_CITY 83
+#define LAYOUT_CELADON_CITY 84
+#define LAYOUT_FUCHSIA_CITY 85
+#define LAYOUT_CINNABAR_ISLAND 86
+#define LAYOUT_INDIGO_PLATEAU_EXTERIOR 87
+#define LAYOUT_SAFFRON_CITY 88
+#define LAYOUT_ROUTE1 89
+#define LAYOUT_ROUTE2 90
+#define LAYOUT_ROUTE3 91
+#define LAYOUT_ROUTE4 92
+#define LAYOUT_ROUTE5 93
+#define LAYOUT_ROUTE6 94
+#define LAYOUT_ROUTE7 95
+#define LAYOUT_ROUTE8 96
+#define LAYOUT_ROUTE9 97
+#define LAYOUT_ROUTE10 98
+#define LAYOUT_ROUTE11 99
+#define LAYOUT_ROUTE12 100
+#define LAYOUT_ROUTE13 101
+#define LAYOUT_ROUTE14 102
+#define LAYOUT_ROUTE15 103
+#define LAYOUT_ROUTE16 104
+#define LAYOUT_ROUTE17 105
+#define LAYOUT_ROUTE18 106
+#define LAYOUT_ROUTE19 107
+#define LAYOUT_ROUTE20 108
+#define LAYOUT_ROUTE21_NORTH 109
+#define LAYOUT_ROUTE22 110
+#define LAYOUT_ROUTE23 111
+#define LAYOUT_ROUTE24 112
+#define LAYOUT_ROUTE25 113
+#define LAYOUT_MT_MOON_1F 114
+#define LAYOUT_MT_MOON_B1F 115
+#define LAYOUT_MT_MOON_B2F 116
+#define LAYOUT_VIRIDIAN_FOREST 117
+#define LAYOUT_SSANNE_EXTERIOR 118
+#define LAYOUT_SSANNE_1F_CORRIDOR 119
+#define LAYOUT_SSANNE_2F_CORRIDOR 120
+#define LAYOUT_SSANNE_3F_CORRIDOR 121
+#define LAYOUT_SSANNE_B1F_CORRIDOR 122
+#define LAYOUT_SSANNE_DECK 123
+#define LAYOUT_DIGLETTS_CAVE_B1F 124
+#define LAYOUT_VICTORY_ROAD_1F 125
+#define LAYOUT_VICTORY_ROAD_2F 126
+#define LAYOUT_VICTORY_ROAD_3F 127
+#define LAYOUT_ROCKET_HIDEOUT_B1F 128
+#define LAYOUT_ROCKET_HIDEOUT_B2F 129
+#define LAYOUT_ROCKET_HIDEOUT_B3F 130
+#define LAYOUT_ROCKET_HIDEOUT_B4F 131
+#define LAYOUT_SILPH_CO_1F 132
+#define LAYOUT_SILPH_CO_2F 133
+#define LAYOUT_SILPH_CO_3F 134
+#define LAYOUT_SILPH_CO_4F 135
+#define LAYOUT_SILPH_CO_5F 136
+#define LAYOUT_SILPH_CO_6F 137
+#define LAYOUT_SILPH_CO_7F 138
+#define LAYOUT_SILPH_CO_8F 139
+#define LAYOUT_SILPH_CO_9F 140
+#define LAYOUT_SILPH_CO_10F 141
+#define LAYOUT_SILPH_CO_11F 142
+#define LAYOUT_POKEMON_MANSION_1F 143
+#define LAYOUT_POKEMON_MANSION_2F 144
+#define LAYOUT_POKEMON_MANSION_3F 145
+#define LAYOUT_POKEMON_MANSION_B1F 146
+#define LAYOUT_SAFARI_ZONE_CENTER 147
+#define LAYOUT_SAFARI_ZONE_EAST 148
+#define LAYOUT_SAFARI_ZONE_NORTH 149
+#define LAYOUT_SAFARI_ZONE_WEST 150
+#define LAYOUT_CERULEAN_CAVE_1F 151
+#define LAYOUT_CERULEAN_CAVE_2F 152
+#define LAYOUT_CERULEAN_CAVE_B1F 153
+#define LAYOUT_ROCK_TUNNEL_1F 154
+#define LAYOUT_ROCK_TUNNEL_B1F 155
+#define LAYOUT_SEAFOAM_ISLANDS_1F 156
+#define LAYOUT_SEAFOAM_ISLANDS_B1F 157
+#define LAYOUT_SEAFOAM_ISLANDS_B2F 158
+#define LAYOUT_SEAFOAM_ISLANDS_B3F 159
+#define LAYOUT_SEAFOAM_ISLANDS_B4F 160
+#define LAYOUT_POKEMON_TOWER_1F 161
+#define LAYOUT_POKEMON_TOWER_2F 162
+#define LAYOUT_POKEMON_TOWER_3F 163
+#define LAYOUT_POKEMON_TOWER_4F 164
+#define LAYOUT_POKEMON_TOWER_5F 165
+#define LAYOUT_POKEMON_TOWER_6F 166
+#define LAYOUT_POKEMON_TOWER_7F 167
+#define LAYOUT_POWER_PLANT 168
+#define LAYOUT_ROUTE25_SEA_COTTAGE 169
+#define LAYOUT_SSANNE_KITCHEN 170
+#define LAYOUT_SSANNE_CAPTAINS_OFFICE 171
+#define LAYOUT_UNDERGROUND_PATH_ENTRANCE 172
+#define LAYOUT_UNDERGROUND_PATH_EAST_WEST_TUNNEL 173
+#define LAYOUT_UNDERGROUND_PATH_NORTH_SOUTH_TUNNEL 174
+#define LAYOUT_ROUTE12_NORTH_ENTRANCE_1F 176
+#define LAYOUT_SSANNE_ROOM1 177
+#define LAYOUT_SSANNE_ROOM2 178
+#define LAYOUT_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR 179
+#define LAYOUT_PEWTER_CITY_MUSEUM_1F 180
+#define LAYOUT_PEWTER_CITY_MUSEUM_2F 181
+#define LAYOUT_CERULEAN_CITY_HOUSE2 182
+#define LAYOUT_CERULEAN_CITY_HOUSE1 183
+#define LAYOUT_CELADON_CITY_CONDOMINIUMS_1F 184
+#define LAYOUT_CELADON_CITY_CONDOMINIUMS_2F 185
+#define LAYOUT_CELADON_CITY_CONDOMINIUMS_3F 186
+#define LAYOUT_CELADON_CITY_CONDOMINIUMS_ROOF 187
+#define LAYOUT_CELADON_CITY_CONDOMINIUMS_ROOF_ROOM 188
+#define LAYOUT_CELADON_CITY_GAME_CORNER_PRIZE_ROOM 189
+#define LAYOUT_CELADON_CITY_RESTAURANT 190
+#define LAYOUT_CELADON_CITY_HOTEL 191
+#define LAYOUT_CELADON_CITY_DEPARTMENT_STORE_1F 192
+#define LAYOUT_CELADON_CITY_DEPARTMENT_STORE_2F 193
+#define LAYOUT_CELADON_CITY_DEPARTMENT_STORE_3F 194
+#define LAYOUT_CELADON_CITY_DEPARTMENT_STORE_4F 195
+#define LAYOUT_CELADON_CITY_DEPARTMENT_STORE_5F 196
+#define LAYOUT_CELADON_CITY_DEPARTMENT_STORE_ROOF 197
+#define LAYOUT_SAFARI_ZONE_BUILDING 198
+#define LAYOUT_SAFARI_ZONE_SECRET_HOUSE 199
+#define LAYOUT_FUCHSIA_CITY_ZOO_BUILDING 200
+#define LAYOUT_FUCHSIA_CITY_BUILDING1 201
+#define LAYOUT_FUCHSIA_CITY_HOUSE2 202
+#define LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE 203
+#define LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_LOUNGE 204
+#define LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_RESEARCH_ROOM 205
+#define LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_EXPERIMENT_ROOM 206
+#define LAYOUT_SAFFRON_CITY_DUPLICATE 207
+#define LAYOUT_SAFFRON_CITY_NORTH_SOUTH_ENTRANCE 208
+#define LAYOUT_SAFFRON_CITY_EAST_WEST_ENTRANCE 209
+#define LAYOUT_DIGLETTS_CAVE_NORTH_ENTRANCE 210
+#define LAYOUT_DIGLETTS_CAVE_SOUTH_ENTRANCE 211
+#define LAYOUT_INDIGO_PLATEAU_POKEMON_CENTER_1F 212
+#define LAYOUT_POKEMON_LEAGUE_LORELEIS_ROOM 213
+#define LAYOUT_POKEMON_LEAGUE_BRUNOS_ROOM 214
+#define LAYOUT_POKEMON_LEAGUE_AGATHAS_ROOM 215
+#define LAYOUT_POKEMON_LEAGUE_LANCES_ROOM 216
+#define LAYOUT_POKEMON_LEAGUE_CHAMPIONS_ROOM 217
+#define LAYOUT_POKEMON_LEAGUE_HALL_OF_FAME 218
+#define LAYOUT_ROUTE21_SOUTH 219
+#define LAYOUT_ENTRANCE_2F 220
+#define LAYOUT_ROUTE2_ENTRANCE 221
+#define LAYOUT_ROUTE22_NORTH_ENTRANCE 222
+#define LAYOUT_ROUTE16_NORTH_ENTRANCE_1F 223
+#define LAYOUT_ENTRANCE_1F 224
+#define LAYOUT_ROCKET_HIDEOUT_ELEVATOR 225
+#define LAYOUT_SAFFRON_CITY_HOUSE1_1F 226
+#define LAYOUT_SAFFRON_CITY_HOUSE1_2F 227
+#define LAYOUT_SAFFRON_CITY_DOJO 228
+#define LAYOUT_SILPH_CO_ELEVATOR 229
+#define LAYOUT_ONE_ISLAND 230
+#define LAYOUT_TWO_ISLAND 231
+#define LAYOUT_THREE_ISLAND 232
+#define LAYOUT_FOUR_ISLAND 233
+#define LAYOUT_FIVE_ISLAND 234
+#define LAYOUT_SEVEN_ISLAND 235
+#define LAYOUT_SIX_ISLAND 236
+#define LAYOUT_ONE_ISLAND_KINDLE_ROAD 237
+#define LAYOUT_ONE_ISLAND_TREASURE_BEACH 238
+#define LAYOUT_TWO_ISLAND_CAPE_BRINK 239
+#define LAYOUT_THREE_ISLAND_BOND_BRIDGE 240
+#define LAYOUT_THREE_ISLAND_PORT 241
+#define LAYOUT_UNKNOWN_MAP_03_50 242
+#define LAYOUT_UNKNOWN_MAP_03_51 243
+#define LAYOUT_UNKNOWN_MAP_03_52 244
+#define LAYOUT_UNKNOWN_MAP_03_53 245
+#define LAYOUT_FIVE_ISLAND_RESORT_GORGEOUS 246
+#define LAYOUT_FIVE_ISLAND_WATER_LABYRINTH 247
+#define LAYOUT_FIVE_ISLAND_MEADOW 248
+#define LAYOUT_FIVE_ISLAND_MEMORIAL_PILLAR 249
+#define LAYOUT_SIX_ISLAND_OUTCAST_ISLAND 250
+#define LAYOUT_SIX_ISLAND_GREEN_PATH 251
+#define LAYOUT_SIX_ISLAND_WATER_PATH 252
+#define LAYOUT_SIX_ISLAND_RUIN_VALLEY 253
+#define LAYOUT_SEVEN_ISLAND_TRAINER_TOWER 254
+#define LAYOUT_SEVEN_ISLAND_SEVAULT_CANYON_ENTRANCE 255
+#define LAYOUT_SEVEN_ISLAND_SEVAULT_CANYON 256
+#define LAYOUT_SEVEN_ISLAND_TANOBY_RUINS 257
+#define LAYOUT_UNUSED_LAYOUT_833614C 258
+#define LAYOUT_UNUSED_LAYOUT_83377F0 259
+#define LAYOUT_UNUSED_LAYOUT_8338354 260
+#define LAYOUT_UNUSED_LAYOUT_8338738 261
+#define LAYOUT_UNKNOWN_MAP_00_04 262
+#define LAYOUT_SAFFRON_CITY_POKEMON_TRAINER_FAN_CLUB 263
+#define LAYOUT_UNUSED_LAYOUT_8338B4C 264
+#define LAYOUT_SEVEN_ISLAND_HOUSE_ROOM2 265
+#define LAYOUT_VIRIDIAN_CITY_HOUSE2 266
+#define LAYOUT_UNUSED_LAYOUT_8338E90 267
+#define LAYOUT_UNUSED_LAYOUT_833902C 268
+#define LAYOUT_MT_EMBER_RUBY_PATH_B4F 269
+#define LAYOUT_THREE_ISLAND_BERRY_FOREST 270
+#define LAYOUT_ONE_ISLAND_POKEMON_CENTER_1F 271
+#define LAYOUT_TWO_ISLAND_JOYFUL_GAME_CORNER 272
+#define LAYOUT_VERMILION_CITY_POKEMON_FAN_CLUB 273
+#define LAYOUT_LAVENDER_TOWN_VOLUNTEER_POKEMON_HOUSE 274
+#define LAYOUT_ROUTE5_POKEMON_DAY_CARE 275
+#define LAYOUT_VIRIDIAN_CITY_HOUSE1 276
+#define LAYOUT_FOUR_ISLAND_POKEMON_DAY_CARE 277
+#define LAYOUT_UNUSED_LAYOUT_833B6EC 278
+#define LAYOUT_UNUSED_LAYOUT_833BE30 279
+#define LAYOUT_MT_EMBER_EXTERIOR 280
+#define LAYOUT_MT_EMBER_SUMMIT 281
+#define LAYOUT_MT_EMBER_SUMMIT_PATH_1F 282
+#define LAYOUT_MT_EMBER_SUMMIT_PATH_2F 283
+#define LAYOUT_MT_EMBER_SUMMIT_PATH_3F 284
+#define LAYOUT_MT_EMBER_RUBY_PATH_1F 285
+#define LAYOUT_MT_EMBER_RUBY_PATH_B1F 286
+#define LAYOUT_MT_EMBER_RUBY_PATH_B2F 287
+#define LAYOUT_MT_EMBER_RUBY_PATH_B3F 288
+#define LAYOUT_MT_EMBER_RUBY_PATH_B1F_STAIRS 289
+#define LAYOUT_MT_EMBER_RUBY_PATH_B2F_STAIRS 290
+#define LAYOUT_MT_EMBER_RUBY_PATH_B5F 291
+#define LAYOUT_FIVE_ISLAND_ROCKET_WAREHOUSE 292
+#define LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_ENTRANCE 293
+#define LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_1F 294
+#define LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_B1F 295
+#define LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_BACK 296
+#define LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_LOBBY 297
+#define LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_1F 298
+#define LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_2F 299
+#define LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_3F 300
+#define LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_4F 301
+#define LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_5F 302
+#define LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_6F 303
+#define LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_7F 304
+#define LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_8F 305
+#define LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_ROOF 306
+#define LAYOUT_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR 307
+#define LAYOUT_CERULEAN_CITY_HOUSE5 308
+#define LAYOUT_SIX_ISLAND_DOTTED_HOLE_1F 309
+#define LAYOUT_SIX_ISLAND_DOTTED_HOLE_B1F 310
+#define LAYOUT_SIX_ISLAND_DOTTED_HOLE_B2F 311
+#define LAYOUT_SIX_ISLAND_DOTTED_HOLE_B3F 312
+#define LAYOUT_SIX_ISLAND_DOTTED_HOLE_B4F 313
+#define LAYOUT_SIX_ISLAND_DOTTED_HOLE_SAPPHIRE_ROOM 314
+#define LAYOUT_ISLAND_HARBOR 315
+#define LAYOUT_ONE_ISLAND_POKEMON_CENTER_2F 316
+#define LAYOUT_SIX_ISLAND_PATTERN_BUSH 317
+#define LAYOUT_THREE_ISLAND_DUNSPARCE_TUNNEL 318
+#define LAYOUT_UNUSED_LAYOUT_83453C0 319
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ENTRANCE 320
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM1 321
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM2 322
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM3 323
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM4 324
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM5 325
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM6 326
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM7 327
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM8 328
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM9 329
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM10 330
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM11 331
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM12 332
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM13 333
+#define LAYOUT_FIVE_ISLAND_LOST_CAVE_ROOM14 334
+#define LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_MONEAN_CHAMBER 335
+#define LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_LIPTOO_CHAMBER 336
+#define LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_WEEPTH_CHAMBER 337
+#define LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_DILFORD_CHAMBER 338
+#define LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_SCUFIB_CHAMBER 339
+#define LAYOUT_SIX_ISLAND_ALTERING_CAVE 340
+#define LAYOUT_SEVEN_ISLAND_SEAVAULT_CANYON_TANOBY_KEY 341
+#define LAYOUT_BIRTH_ISLAND_EXTERIOR 342
+#define LAYOUT_NAVEL_ROCK_EXTERIOR 343
+#define LAYOUT_NAVEL_ROCK_1F 344
+#define LAYOUT_NAVEL_ROCK_SUMMIT 345
+#define LAYOUT_NAVEL_ROCK_BASE 346
+#define LAYOUT_NAVEL_ROCK_SUMMIT_PATH_2F 347
+#define LAYOUT_NAVEL_ROCK_SUMMIT_PATH_3F 348
+#define LAYOUT_NAVEL_ROCK_SUMMIT_PATH_4F 349
+#define LAYOUT_NAVEL_ROCK_SUMMIT_PATH_5F 350
+#define LAYOUT_NAVEL_ROCK_BASE_PATH_B1F 351
+#define LAYOUT_NAVEL_ROCK_BASE_PATH_B2F 352
+#define LAYOUT_NAVEL_ROCK_BASE_PATH_B3F 353
+#define LAYOUT_NAVEL_ROCK_BASE_PATH_B4F 354
+#define LAYOUT_NAVEL_ROCK_BASE_PATH_B5F 355
+#define LAYOUT_NAVEL_ROCK_BASE_PATH_B6F 356
+#define LAYOUT_NAVEL_ROCK_BASE_PATH_B7F 357
+#define LAYOUT_NAVEL_ROCK_BASE_PATH_B8F 358
+#define LAYOUT_NAVEL_ROCK_BASE_PATH_B9F 359
+#define LAYOUT_NAVEL_ROCK_BASE_PATH_B10F 360
+#define LAYOUT_NAVEL_ROCK_BASE_PATH_B11F 361
+#define LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_RIXY_CHAMBER 362
+#define LAYOUT_SEVEN_ISLAND_TANOBY_RUINS_VIAPOIS_CHAMBER 363
+#define LAYOUT_NAVEL_ROCK_B1F 364
+#define LAYOUT_NAVEL_ROCK_FORK 365
+#define LAYOUT_UNUSED_LAYOUT_834BC2C 366
+#define LAYOUT_UNUSED_LAYOUT_834BEB4 367
+#define LAYOUT_UNUSED_LAYOUT_834C13C 368
+#define LAYOUT_UNUSED_LAYOUT_834C3C4 369
+#define LAYOUT_UNUSED_LAYOUT_834C64C 370
+#define LAYOUT_UNUSED_LAYOUT_834C8D4 371
+#define LAYOUT_UNUSED_LAYOUT_834CB5C 372
+#define LAYOUT_UNUSED_LAYOUT_834CDE4 373
+#define LAYOUT_UNUSED_LAYOUT_834D06C 374
+#define LAYOUT_UNUSED_LAYOUT_834D2F4 375
+#define LAYOUT_UNUSED_LAYOUT_834D57C 376
+#define LAYOUT_UNUSED_LAYOUT_834D804 377
+#define LAYOUT_UNUSED_LAYOUT_834DA8C 378
+#define LAYOUT_UNUSED_LAYOUT_834DD14 379
+#define LAYOUT_UNUSED_LAYOUT_834DF9C 380
+#define LAYOUT_UNUSED_LAYOUT_834E224 381
+#define LAYOUT_SEVEN_ISLAND_HOUSE_ROOM1 382
+#define LAYOUT_ONE_ISLAND_KINDLE_ROAD_EMBER_SPA 383
+
+#endif // GUARD_CONSTANTS_LAYOUTS_H
diff --git a/include/constants/map_groups.h b/include/constants/map_groups.h
index dd2ebf155..d769520ca 100644
--- a/include/constants/map_groups.h
+++ b/include/constants/map_groups.h
@@ -2,514 +2,516 @@
#define GUARD_CONSTANTS_MAP_GROUPS_H
// Map Group 0
-#define MAP_UNKNOWNMAP_00_00 (0 | (0 << 8))
-#define MAP_UNKNOWNMAP_00_01 (1 | (0 << 8))
-#define MAP_UNKNOWNMAP_00_02 (2 | (0 << 8))
-#define MAP_UNKNOWNMAP_00_03 (3 | (0 << 8))
-#define MAP_UNKNOWNMAP_00_04 (4 | (0 << 8))
+#define MAP_UNKNOWN_MAP_00_00 (0 | (0 << 8))
+#define MAP_UNKNOWN_MAP_00_01 (1 | (0 << 8))
+#define MAP_UNKNOWN_MAP_00_02 (2 | (0 << 8))
+#define MAP_UNKNOWN_MAP_00_03 (3 | (0 << 8))
+#define MAP_UNKNOWN_MAP_00_04 (4 | (0 << 8))
// Map Group 1
-#define MAP_VIRIDIANFOREST (0 | (1 << 8))
-#define MAP_MTMOON_1F (1 | (1 << 8))
-#define MAP_MTMOON_B1F (2 | (1 << 8))
-#define MAP_MTMOON_B2F (3 | (1 << 8))
-#define MAP_SSANNE_EXTERIOR (4 | (1 << 8))
-#define MAP_SSANNE_1F_CORRIDOR (5 | (1 << 8))
-#define MAP_SSANNE_2F_CORRIDOR (6 | (1 << 8))
-#define MAP_SSANNE_3F_CORRIDOR (7 | (1 << 8))
-#define MAP_SSANNE_B1F_CORRIDOR (8 | (1 << 8))
-#define MAP_SSANNE_DECK (9 | (1 << 8))
-#define MAP_SSANNE_KITCHEN (10 | (1 << 8))
-#define MAP_SSANNE_CAPTAINSOFFICE (11 | (1 << 8))
-#define MAP_SSANNE_1F_ROOM1 (12 | (1 << 8))
-#define MAP_SSANNE_1F_ROOM2 (13 | (1 << 8))
-#define MAP_SSANNE_1F_ROOM3 (14 | (1 << 8))
-#define MAP_SSANNE_1F_ROOM4 (15 | (1 << 8))
-#define MAP_SSANNE_1F_ROOM5 (16 | (1 << 8))
-#define MAP_SSANNE_1F_ROOM7 (17 | (1 << 8))
-#define MAP_SSANNE_2F_ROOM1 (18 | (1 << 8))
-#define MAP_SSANNE_2F_ROOM2 (19 | (1 << 8))
-#define MAP_SSANNE_2F_ROOM3 (20 | (1 << 8))
-#define MAP_SSANNE_2F_ROOM4 (21 | (1 << 8))
-#define MAP_SSANNE_2F_ROOM5 (22 | (1 << 8))
-#define MAP_SSANNE_2F_ROOM6 (23 | (1 << 8))
-#define MAP_SSANNE_B1F_ROOM1 (24 | (1 << 8))
-#define MAP_SSANNE_B1F_ROOM2 (25 | (1 << 8))
-#define MAP_SSANNE_B1F_ROOM3 (26 | (1 << 8))
-#define MAP_SSANNE_B1F_ROOM4 (27 | (1 << 8))
-#define MAP_SSANNE_B1F_ROOM5 (28 | (1 << 8))
-#define MAP_SSANNE_1F_ROOM6 (29 | (1 << 8))
-#define MAP_UNDERGROUNDPATH_NORTHENTRANCE (30 | (1 << 8))
-#define MAP_UNDERGROUNDPATH_NORTHSOUTHTUNNEL (31 | (1 << 8))
-#define MAP_UNDERGROUNDPATH_SOUTHENTRANCE (32 | (1 << 8))
-#define MAP_UNDERGROUNDPATH_WESTENTRANCE (33 | (1 << 8))
-#define MAP_UNDERGROUNDPATH_EASTWESTTUNNEL (34 | (1 << 8))
-#define MAP_UNDERGROUNDPATH_EASTENTRANCE (35 | (1 << 8))
-#define MAP_DIGLETTSCAVE_NORTHENTRANCE (36 | (1 << 8))
-#define MAP_DIGLETTSCAVE_B1F (37 | (1 << 8))
-#define MAP_DIGLETTSCAVE_SOUTHENTRANCE (38 | (1 << 8))
-#define MAP_VICTORYROAD_1F (39 | (1 << 8))
-#define MAP_VICTORYROAD_2F (40 | (1 << 8))
-#define MAP_VICTORYROAD_3F (41 | (1 << 8))
-#define MAP_ROCKETHIDEOUT_B1F (42 | (1 << 8))
-#define MAP_ROCKETHIDEOUT_B2F (43 | (1 << 8))
-#define MAP_ROCKETHIDEOUT_B3F (44 | (1 << 8))
-#define MAP_ROCKETHIDEOUT_B4F (45 | (1 << 8))
-#define MAP_ROCKETHIDEOUT_ELEVATOR (46 | (1 << 8))
-#define MAP_SILPHCO_1F (47 | (1 << 8))
-#define MAP_SILPHCO_2F (48 | (1 << 8))
-#define MAP_SILPHCO_3F (49 | (1 << 8))
-#define MAP_SILPHCO_4F (50 | (1 << 8))
-#define MAP_SILPHCO_5F (51 | (1 << 8))
-#define MAP_SILPHCO_6F (52 | (1 << 8))
-#define MAP_SILPHCO_7F (53 | (1 << 8))
-#define MAP_SILPHCO_8F (54 | (1 << 8))
-#define MAP_SILPHCO_9F (55 | (1 << 8))
-#define MAP_SILPHCO_10F (56 | (1 << 8))
-#define MAP_SILPHCO_11F (57 | (1 << 8))
-#define MAP_SILPHCO_ELEVATOR (58 | (1 << 8))
-#define MAP_POKEMONMANSION_1F (59 | (1 << 8))
-#define MAP_POKEMONMANSION_2F (60 | (1 << 8))
-#define MAP_POKEMONMANSION_3F (61 | (1 << 8))
-#define MAP_POKEMONMANSION_B1F (62 | (1 << 8))
-#define MAP_SAFARIZONE_CENTER (63 | (1 << 8))
-#define MAP_SAFARIZONE_EAST (64 | (1 << 8))
-#define MAP_SAFARIZONE_NORTH (65 | (1 << 8))
-#define MAP_SAFARIZONE_WEST (66 | (1 << 8))
-#define MAP_SAFARIZONE_BUILDING1 (67 | (1 << 8))
-#define MAP_SAFARIZONE_BUILDING2 (68 | (1 << 8))
-#define MAP_SAFARIZONE_BUILDING3 (69 | (1 << 8))
-#define MAP_SAFARIZONE_BUILDING4 (70 | (1 << 8))
-#define MAP_SAFARIZONE_SECRETHOUSE (71 | (1 << 8))
-#define MAP_CERULEANCAVE_1F (72 | (1 << 8))
-#define MAP_CERULEANCAVE_2F (73 | (1 << 8))
-#define MAP_CERULEANCAVE_B1F (74 | (1 << 8))
-#define MAP_POKEMONLEAGUE_LORELEISROOM (75 | (1 << 8))
-#define MAP_POKEMONLEAGUE_BRUNOSROOM (76 | (1 << 8))
-#define MAP_POKEMONLEAGUE_AGATHASROOM (77 | (1 << 8))
-#define MAP_POKEMONLEAGUE_LANCESROOM (78 | (1 << 8))
-#define MAP_POKEMONLEAGUE_CHAMPIONSROOM (79 | (1 << 8))
-#define MAP_POKEMONLEAGUE_HALLOFFAME (80 | (1 << 8))
-#define MAP_ROCKTUNNEL_1F (81 | (1 << 8))
-#define MAP_ROCKTUNNEL_B1F (82 | (1 << 8))
-#define MAP_SEAFOAMISLANDS_1F (83 | (1 << 8))
-#define MAP_SEAFOAMISLANDS_B1F (84 | (1 << 8))
-#define MAP_SEAFOAMISLANDS_B2F (85 | (1 << 8))
-#define MAP_SEAFOAMISLANDS_B3F (86 | (1 << 8))
-#define MAP_SEAFOAMISLANDS_B4F (87 | (1 << 8))
-#define MAP_POKEMONTOWER_1F (88 | (1 << 8))
-#define MAP_POKEMONTOWER_2F (89 | (1 << 8))
-#define MAP_POKEMONTOWER_3F (90 | (1 << 8))
-#define MAP_POKEMONTOWER_4F (91 | (1 << 8))
-#define MAP_POKEMONTOWER_5F (92 | (1 << 8))
-#define MAP_POKEMONTOWER_6F (93 | (1 << 8))
-#define MAP_POKEMONTOWER_7F (94 | (1 << 8))
-#define MAP_POWERPLANT (95 | (1 << 8))
-#define MAP_MTEMBER_RUBYPATH_B4F (96 | (1 << 8))
-#define MAP_MTEMBER_EXTERIOR (97 | (1 << 8))
-#define MAP_MTEMBER_SUMMITPATH_1F (98 | (1 << 8))
-#define MAP_MTEMBER_SUMMITPATH_2F (99 | (1 << 8))
-#define MAP_MTEMBER_SUMMITPATH_3F (100 | (1 << 8))
-#define MAP_MTEMBER_SUMMIT (101 | (1 << 8))
-#define MAP_MTEMBER_RUBYPATH_B5F (102 | (1 << 8))
-#define MAP_MTEMBER_RUBYPATH_1F (103 | (1 << 8))
-#define MAP_MTEMBER_RUBYPATH_B1F (104 | (1 << 8))
-#define MAP_MTEMBER_RUBYPATH_B2F (105 | (1 << 8))
-#define MAP_MTEMBER_RUBYPATH_B3F (106 | (1 << 8))
-#define MAP_MTEMBER_RUBYPATH_B1F_STAIRS (107 | (1 << 8))
-#define MAP_MTEMBER_RUBYPATH_B2F_STAIRS (108 | (1 << 8))
-#define MAP_THREEISLAND_BERRYFOREST (109 | (1 << 8))
-#define MAP_FOURISLAND_ICEFALLCAVE_ENTRANCE (110 | (1 << 8))
-#define MAP_FOURISLAND_ICEFALLCAVE_1F (111 | (1 << 8))
-#define MAP_FOURISLAND_ICEFALLCAVE_B1F (112 | (1 << 8))
-#define MAP_FOURISLAND_ICEFALLCAVE_BACK (113 | (1 << 8))
-#define MAP_FIVEISLAND_ROCKETWAREHOUSE (114 | (1 << 8))
-#define MAP_SIXISLAND_DOTTEDHOLE_1F (115 | (1 << 8))
-#define MAP_SIXISLAND_DOTTEDHOLE_B1F (116 | (1 << 8))
-#define MAP_SIXISLAND_DOTTEDHOLE_B2F (117 | (1 << 8))
-#define MAP_SIXISLAND_DOTTEDHOLE_B3F (118 | (1 << 8))
-#define MAP_SIXISLAND_DOTTEDHOLE_B4F (119 | (1 << 8))
-#define MAP_SIXISLAND_DOTTEDHOLE_SAPPHIREROOM (120 | (1 << 8))
-#define MAP_SIXISLAND_PATTERNBUSH (121 | (1 << 8))
-#define MAP_SIXISLAND_ALTERINGCAVE (122 | (1 << 8))
+#define MAP_VIRIDIAN_FOREST (0 | (1 << 8))
+#define MAP_MT_MOON_1F (1 | (1 << 8))
+#define MAP_MT_MOON_B1F (2 | (1 << 8))
+#define MAP_MT_MOON_B2F (3 | (1 << 8))
+#define MAP_SSANNE_EXTERIOR (4 | (1 << 8))
+#define MAP_SSANNE_1F_CORRIDOR (5 | (1 << 8))
+#define MAP_SSANNE_2F_CORRIDOR (6 | (1 << 8))
+#define MAP_SSANNE_3F_CORRIDOR (7 | (1 << 8))
+#define MAP_SSANNE_B1F_CORRIDOR (8 | (1 << 8))
+#define MAP_SSANNE_DECK (9 | (1 << 8))
+#define MAP_SSANNE_KITCHEN (10 | (1 << 8))
+#define MAP_SSANNE_CAPTAINS_OFFICE (11 | (1 << 8))
+#define MAP_SSANNE_1F_ROOM1 (12 | (1 << 8))
+#define MAP_SSANNE_1F_ROOM2 (13 | (1 << 8))
+#define MAP_SSANNE_1F_ROOM3 (14 | (1 << 8))
+#define MAP_SSANNE_1F_ROOM4 (15 | (1 << 8))
+#define MAP_SSANNE_1F_ROOM5 (16 | (1 << 8))
+#define MAP_SSANNE_1F_ROOM7 (17 | (1 << 8))
+#define MAP_SSANNE_2F_ROOM1 (18 | (1 << 8))
+#define MAP_SSANNE_2F_ROOM2 (19 | (1 << 8))
+#define MAP_SSANNE_2F_ROOM3 (20 | (1 << 8))
+#define MAP_SSANNE_2F_ROOM4 (21 | (1 << 8))
+#define MAP_SSANNE_2F_ROOM5 (22 | (1 << 8))
+#define MAP_SSANNE_2F_ROOM6 (23 | (1 << 8))
+#define MAP_SSANNE_B1F_ROOM1 (24 | (1 << 8))
+#define MAP_SSANNE_B1F_ROOM2 (25 | (1 << 8))
+#define MAP_SSANNE_B1F_ROOM3 (26 | (1 << 8))
+#define MAP_SSANNE_B1F_ROOM4 (27 | (1 << 8))
+#define MAP_SSANNE_B1F_ROOM5 (28 | (1 << 8))
+#define MAP_SSANNE_1F_ROOM6 (29 | (1 << 8))
+#define MAP_UNDERGROUND_PATH_NORTH_ENTRANCE (30 | (1 << 8))
+#define MAP_UNDERGROUND_PATH_NORTH_SOUTH_TUNNEL (31 | (1 << 8))
+#define MAP_UNDERGROUND_PATH_SOUTH_ENTRANCE (32 | (1 << 8))
+#define MAP_UNDERGROUND_PATH_WEST_ENTRANCE (33 | (1 << 8))
+#define MAP_UNDERGROUND_PATH_EAST_WEST_TUNNEL (34 | (1 << 8))
+#define MAP_UNDERGROUND_PATH_EAST_ENTRANCE (35 | (1 << 8))
+#define MAP_DIGLETTS_CAVE_NORTH_ENTRANCE (36 | (1 << 8))
+#define MAP_DIGLETTS_CAVE_B1F (37 | (1 << 8))
+#define MAP_DIGLETTS_CAVE_SOUTH_ENTRANCE (38 | (1 << 8))
+#define MAP_VICTORY_ROAD_1F (39 | (1 << 8))
+#define MAP_VICTORY_ROAD_2F (40 | (1 << 8))
+#define MAP_VICTORY_ROAD_3F (41 | (1 << 8))
+#define MAP_ROCKET_HIDEOUT_B1F (42 | (1 << 8))
+#define MAP_ROCKET_HIDEOUT_B2F (43 | (1 << 8))
+#define MAP_ROCKET_HIDEOUT_B3F (44 | (1 << 8))
+#define MAP_ROCKET_HIDEOUT_B4F (45 | (1 << 8))
+#define MAP_ROCKET_HIDEOUT_ELEVATOR (46 | (1 << 8))
+#define MAP_SILPH_CO_1F (47 | (1 << 8))
+#define MAP_SILPH_CO_2F (48 | (1 << 8))
+#define MAP_SILPH_CO_3F (49 | (1 << 8))
+#define MAP_SILPH_CO_4F (50 | (1 << 8))
+#define MAP_SILPH_CO_5F (51 | (1 << 8))
+#define MAP_SILPH_CO_6F (52 | (1 << 8))
+#define MAP_SILPH_CO_7F (53 | (1 << 8))
+#define MAP_SILPH_CO_8F (54 | (1 << 8))
+#define MAP_SILPH_CO_9F (55 | (1 << 8))
+#define MAP_SILPH_CO_10F (56 | (1 << 8))
+#define MAP_SILPH_CO_11F (57 | (1 << 8))
+#define MAP_SILPH_CO_ELEVATOR (58 | (1 << 8))
+#define MAP_POKEMON_MANSION_1F (59 | (1 << 8))
+#define MAP_POKEMON_MANSION_2F (60 | (1 << 8))
+#define MAP_POKEMON_MANSION_3F (61 | (1 << 8))
+#define MAP_POKEMON_MANSION_B1F (62 | (1 << 8))
+#define MAP_SAFARI_ZONE_CENTER (63 | (1 << 8))
+#define MAP_SAFARI_ZONE_EAST (64 | (1 << 8))
+#define MAP_SAFARI_ZONE_NORTH (65 | (1 << 8))
+#define MAP_SAFARI_ZONE_WEST (66 | (1 << 8))
+#define MAP_SAFARI_ZONE_BUILDING1 (67 | (1 << 8))
+#define MAP_SAFARI_ZONE_BUILDING2 (68 | (1 << 8))
+#define MAP_SAFARI_ZONE_BUILDING3 (69 | (1 << 8))
+#define MAP_SAFARI_ZONE_BUILDING4 (70 | (1 << 8))
+#define MAP_SAFARI_ZONE_SECRET_HOUSE (71 | (1 << 8))
+#define MAP_CERULEAN_CAVE_1F (72 | (1 << 8))
+#define MAP_CERULEAN_CAVE_2F (73 | (1 << 8))
+#define MAP_CERULEAN_CAVE_B1F (74 | (1 << 8))
+#define MAP_POKEMON_LEAGUE_LORELEIS_ROOM (75 | (1 << 8))
+#define MAP_POKEMON_LEAGUE_BRUNOS_ROOM (76 | (1 << 8))
+#define MAP_POKEMON_LEAGUE_AGATHAS_ROOM (77 | (1 << 8))
+#define MAP_POKEMON_LEAGUE_LANCES_ROOM (78 | (1 << 8))
+#define MAP_POKEMON_LEAGUE_CHAMPIONS_ROOM (79 | (1 << 8))
+#define MAP_POKEMON_LEAGUE_HALL_OF_FAME (80 | (1 << 8))
+#define MAP_ROCK_TUNNEL_1F (81 | (1 << 8))
+#define MAP_ROCK_TUNNEL_B1F (82 | (1 << 8))
+#define MAP_SEAFOAM_ISLANDS_1F (83 | (1 << 8))
+#define MAP_SEAFOAM_ISLANDS_B1F (84 | (1 << 8))
+#define MAP_SEAFOAM_ISLANDS_B2F (85 | (1 << 8))
+#define MAP_SEAFOAM_ISLANDS_B3F (86 | (1 << 8))
+#define MAP_SEAFOAM_ISLANDS_B4F (87 | (1 << 8))
+#define MAP_POKEMON_TOWER_1F (88 | (1 << 8))
+#define MAP_POKEMON_TOWER_2F (89 | (1 << 8))
+#define MAP_POKEMON_TOWER_3F (90 | (1 << 8))
+#define MAP_POKEMON_TOWER_4F (91 | (1 << 8))
+#define MAP_POKEMON_TOWER_5F (92 | (1 << 8))
+#define MAP_POKEMON_TOWER_6F (93 | (1 << 8))
+#define MAP_POKEMON_TOWER_7F (94 | (1 << 8))
+#define MAP_POWER_PLANT (95 | (1 << 8))
+#define MAP_MT_EMBER_RUBY_PATH_B4F (96 | (1 << 8))
+#define MAP_MT_EMBER_EXTERIOR (97 | (1 << 8))
+#define MAP_MT_EMBER_SUMMIT_PATH_1F (98 | (1 << 8))
+#define MAP_MT_EMBER_SUMMIT_PATH_2F (99 | (1 << 8))
+#define MAP_MT_EMBER_SUMMIT_PATH_3F (100 | (1 << 8))
+#define MAP_MT_EMBER_SUMMIT (101 | (1 << 8))
+#define MAP_MT_EMBER_RUBY_PATH_B5F (102 | (1 << 8))
+#define MAP_MT_EMBER_RUBY_PATH_1F (103 | (1 << 8))
+#define MAP_MT_EMBER_RUBY_PATH_B1F (104 | (1 << 8))
+#define MAP_MT_EMBER_RUBY_PATH_B2F (105 | (1 << 8))
+#define MAP_MT_EMBER_RUBY_PATH_B3F (106 | (1 << 8))
+#define MAP_MT_EMBER_RUBY_PATH_B1F_STAIRS (107 | (1 << 8))
+#define MAP_MT_EMBER_RUBY_PATH_B2F_STAIRS (108 | (1 << 8))
+#define MAP_THREE_ISLAND_BERRY_FOREST (109 | (1 << 8))
+#define MAP_FOUR_ISLAND_ICEFALL_CAVE_ENTRANCE (110 | (1 << 8))
+#define MAP_FOUR_ISLAND_ICEFALL_CAVE_1F (111 | (1 << 8))
+#define MAP_FOUR_ISLAND_ICEFALL_CAVE_B1F (112 | (1 << 8))
+#define MAP_FOUR_ISLAND_ICEFALL_CAVE_BACK (113 | (1 << 8))
+#define MAP_FIVE_ISLAND_ROCKET_WAREHOUSE (114 | (1 << 8))
+#define MAP_SIX_ISLAND_DOTTED_HOLE_1F (115 | (1 << 8))
+#define MAP_SIX_ISLAND_DOTTED_HOLE_B1F (116 | (1 << 8))
+#define MAP_SIX_ISLAND_DOTTED_HOLE_B2F (117 | (1 << 8))
+#define MAP_SIX_ISLAND_DOTTED_HOLE_B3F (118 | (1 << 8))
+#define MAP_SIX_ISLAND_DOTTED_HOLE_B4F (119 | (1 << 8))
+#define MAP_SIX_ISLAND_DOTTED_HOLE_SAPPHIRE_ROOM (120 | (1 << 8))
+#define MAP_SIX_ISLAND_PATTERN_BUSH (121 | (1 << 8))
+#define MAP_SIX_ISLAND_ALTERING_CAVE (122 | (1 << 8))
// Map Group 2
-#define MAP_NAVELROCK_EXTERIOR (0 | (2 << 8))
-#define MAP_SEVENISLAND_TRAINERTOWER_1F (1 | (2 << 8))
-#define MAP_SEVENISLAND_TRAINERTOWER_2F (2 | (2 << 8))
-#define MAP_SEVENISLAND_TRAINERTOWER_3F (3 | (2 << 8))
-#define MAP_SEVENISLAND_TRAINERTOWER_4F (4 | (2 << 8))
-#define MAP_SEVENISLAND_TRAINERTOWER_5F (5 | (2 << 8))
-#define MAP_SEVENISLAND_TRAINERTOWER_6F (6 | (2 << 8))
-#define MAP_SEVENISLAND_TRAINERTOWER_7F (7 | (2 << 8))
-#define MAP_SEVENISLAND_TRAINERTOWER_8F (8 | (2 << 8))
-#define MAP_SEVENISLAND_TRAINERTOWER_ROOF (9 | (2 << 8))
-#define MAP_SEVENISLAND_TRAINERTOWER_LOBBY (10 | (2 << 8))
-#define MAP_SEVENISLAND_TRAINERTOWER_ELEVATOR (11 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ENTRANCE (12 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM1 (13 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM2 (14 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM3 (15 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM4 (16 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM5 (17 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM6 (18 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM7 (19 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM8 (20 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM9 (21 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM10 (22 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM11 (23 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM12 (24 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM13 (25 | (2 << 8))
-#define MAP_FIVEISLAND_LOSTCAVE_ROOM14 (26 | (2 << 8))
-#define MAP_SEVENISLAND_TANOBYRUINS_MONEANCHAMBER (27 | (2 << 8))
-#define MAP_SEVENISLAND_TANOBYRUINS_LIPTOOCHAMBER (28 | (2 << 8))
-#define MAP_SEVENISLAND_TANOBYRUINS_WEEPTHCHAMBER (29 | (2 << 8))
-#define MAP_SEVENISLAND_TANOBYRUINS_DILFORDCHAMBER (30 | (2 << 8))
-#define MAP_SEVENISLAND_TANOBYRUINS_SCUFIBCHAMBER (31 | (2 << 8))
-#define MAP_SEVENISLAND_TANOBYRUINS_RIXYCHAMBER (32 | (2 << 8))
-#define MAP_SEVENISLAND_TANOBYRUINS_VIAPOISCHAMBER (33 | (2 << 8))
-#define MAP_THREEISLAND_DUNSPARCETUNNEL (34 | (2 << 8))
-#define MAP_SEVENISLAND_SEAVAULTCANYON_TANOBYKEY (35 | (2 << 8))
-#define MAP_NAVELROCK_1F (36 | (2 << 8))
-#define MAP_NAVELROCK_SUMMIT (37 | (2 << 8))
-#define MAP_NAVELROCK_BASE (38 | (2 << 8))
-#define MAP_NAVELROCK_SUMMITPATH_2F (39 | (2 << 8))
-#define MAP_NAVELROCK_SUMMITPATH_3F (40 | (2 << 8))
-#define MAP_NAVELROCK_SUMMITPATH_4F (41 | (2 << 8))
-#define MAP_NAVELROCK_SUMMITPATH_5F (42 | (2 << 8))
-#define MAP_NAVELROCK_BASEPATH_B1F (43 | (2 << 8))
-#define MAP_NAVELROCK_BASEPATH_B2F (44 | (2 << 8))
-#define MAP_NAVELROCK_BASEPATH_B3F (45 | (2 << 8))
-#define MAP_NAVELROCK_BASEPATH_B4F (46 | (2 << 8))
-#define MAP_NAVELROCK_BASEPATH_B5F (47 | (2 << 8))
-#define MAP_NAVELROCK_BASEPATH_B6F (48 | (2 << 8))
-#define MAP_NAVELROCK_BASEPATH_B7F (49 | (2 << 8))
-#define MAP_NAVELROCK_BASEPATH_B8F (50 | (2 << 8))
-#define MAP_NAVELROCK_BASEPATH_B9F (51 | (2 << 8))
-#define MAP_NAVELROCK_BASEPATH_B10F (52 | (2 << 8))
-#define MAP_NAVELROCK_BASEPATH_B11F (53 | (2 << 8))
-#define MAP_NAVELROCK_B1F (54 | (2 << 8))
-#define MAP_NAVELROCK_FORK (55 | (2 << 8))
-#define MAP_BIRTHISLAND_EXTERIOR (56 | (2 << 8))
-#define MAP_ONEISLAND_KINDLEROAD_EMBERSPA (57 | (2 << 8))
-#define MAP_BIRTHISLAND_HARBOR (58 | (2 << 8))
-#define MAP_NAVELROCK_HARBOR (59 | (2 << 8))
+#define MAP_NAVEL_ROCK_EXTERIOR (0 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TRAINER_TOWER_1F (1 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TRAINER_TOWER_2F (2 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TRAINER_TOWER_3F (3 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TRAINER_TOWER_4F (4 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TRAINER_TOWER_5F (5 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TRAINER_TOWER_6F (6 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TRAINER_TOWER_7F (7 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TRAINER_TOWER_8F (8 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TRAINER_TOWER_ROOF (9 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY (10 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TRAINER_TOWER_ELEVATOR (11 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ENTRANCE (12 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM1 (13 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM2 (14 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM3 (15 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM4 (16 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM5 (17 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM6 (18 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM7 (19 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM8 (20 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM9 (21 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM10 (22 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM11 (23 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM12 (24 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM13 (25 | (2 << 8))
+#define MAP_FIVE_ISLAND_LOST_CAVE_ROOM14 (26 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TANOBY_RUINS_MONEAN_CHAMBER (27 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TANOBY_RUINS_LIPTOO_CHAMBER (28 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TANOBY_RUINS_WEEPTH_CHAMBER (29 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TANOBY_RUINS_DILFORD_CHAMBER (30 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TANOBY_RUINS_SCUFIB_CHAMBER (31 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TANOBY_RUINS_RIXY_CHAMBER (32 | (2 << 8))
+#define MAP_SEVEN_ISLAND_TANOBY_RUINS_VIAPOIS_CHAMBER (33 | (2 << 8))
+#define MAP_THREE_ISLAND_DUNSPARCE_TUNNEL (34 | (2 << 8))
+#define MAP_SEVEN_ISLAND_SEAVAULT_CANYON_TANOBY_KEY (35 | (2 << 8))
+#define MAP_NAVEL_ROCK_1F (36 | (2 << 8))
+#define MAP_NAVEL_ROCK_SUMMIT (37 | (2 << 8))
+#define MAP_NAVEL_ROCK_BASE (38 | (2 << 8))
+#define MAP_NAVEL_ROCK_SUMMIT_PATH_2F (39 | (2 << 8))
+#define MAP_NAVEL_ROCK_SUMMIT_PATH_3F (40 | (2 << 8))
+#define MAP_NAVEL_ROCK_SUMMIT_PATH_4F (41 | (2 << 8))
+#define MAP_NAVEL_ROCK_SUMMIT_PATH_5F (42 | (2 << 8))
+#define MAP_NAVEL_ROCK_BASE_PATH_B1F (43 | (2 << 8))
+#define MAP_NAVEL_ROCK_BASE_PATH_B2F (44 | (2 << 8))
+#define MAP_NAVEL_ROCK_BASE_PATH_B3F (45 | (2 << 8))
+#define MAP_NAVEL_ROCK_BASE_PATH_B4F (46 | (2 << 8))
+#define MAP_NAVEL_ROCK_BASE_PATH_B5F (47 | (2 << 8))
+#define MAP_NAVEL_ROCK_BASE_PATH_B6F (48 | (2 << 8))
+#define MAP_NAVEL_ROCK_BASE_PATH_B7F (49 | (2 << 8))
+#define MAP_NAVEL_ROCK_BASE_PATH_B8F (50 | (2 << 8))
+#define MAP_NAVEL_ROCK_BASE_PATH_B9F (51 | (2 << 8))
+#define MAP_NAVEL_ROCK_BASE_PATH_B10F (52 | (2 << 8))
+#define MAP_NAVEL_ROCK_BASE_PATH_B11F (53 | (2 << 8))
+#define MAP_NAVEL_ROCK_B1F (54 | (2 << 8))
+#define MAP_NAVEL_ROCK_FORK (55 | (2 << 8))
+#define MAP_BIRTH_ISLAND_EXTERIOR (56 | (2 << 8))
+#define MAP_ONE_ISLAND_KINDLE_ROAD_EMBER_SPA (57 | (2 << 8))
+#define MAP_BIRTH_ISLAND_HARBOR (58 | (2 << 8))
+#define MAP_NAVEL_ROCK_HARBOR (59 | (2 << 8))
// Map Group 3
-#define MAP_PALLETTOWN (0 | (3 << 8))
-#define MAP_VIRIDIANCITY (1 | (3 << 8))
-#define MAP_PEWTERCITY (2 | (3 << 8))
-#define MAP_CERULEANCITY (3 | (3 << 8))
-#define MAP_LAVENDERTOWN (4 | (3 << 8))
-#define MAP_VERMILIONCITY (5 | (3 << 8))
-#define MAP_CELADONCITY (6 | (3 << 8))
-#define MAP_FUCHSIACITY (7 | (3 << 8))
-#define MAP_CINNABARISLAND (8 | (3 << 8))
-#define MAP_INDIGOPLATEAU_EXTERIOR (9 | (3 << 8))
-#define MAP_SAFFRONCITY_DUPLICATE (10 | (3 << 8))
-#define MAP_SAFFRONCITY (11 | (3 << 8))
-#define MAP_ONEISLAND (12 | (3 << 8))
-#define MAP_TWOISLAND (13 | (3 << 8))
-#define MAP_THREEISLAND (14 | (3 << 8))
-#define MAP_FOURISLAND (15 | (3 << 8))
-#define MAP_FIVEISLAND (16 | (3 << 8))
-#define MAP_SEVENISLAND (17 | (3 << 8))
-#define MAP_SIXISLAND (18 | (3 << 8))
-#define MAP_ROUTE1 (19 | (3 << 8))
-#define MAP_ROUTE2 (20 | (3 << 8))
-#define MAP_ROUTE3 (21 | (3 << 8))
-#define MAP_ROUTE4 (22 | (3 << 8))
-#define MAP_ROUTE5 (23 | (3 << 8))
-#define MAP_ROUTE6 (24 | (3 << 8))
-#define MAP_ROUTE7 (25 | (3 << 8))
-#define MAP_ROUTE8 (26 | (3 << 8))
-#define MAP_ROUTE9 (27 | (3 << 8))
-#define MAP_ROUTE10 (28 | (3 << 8))
-#define MAP_ROUTE11 (29 | (3 << 8))
-#define MAP_ROUTE12 (30 | (3 << 8))
-#define MAP_ROUTE13 (31 | (3 << 8))
-#define MAP_ROUTE14 (32 | (3 << 8))
-#define MAP_ROUTE15 (33 | (3 << 8))
-#define MAP_ROUTE16 (34 | (3 << 8))
-#define MAP_ROUTE17 (35 | (3 << 8))
-#define MAP_ROUTE18 (36 | (3 << 8))
-#define MAP_ROUTE19 (37 | (3 << 8))
-#define MAP_ROUTE20 (38 | (3 << 8))
-#define MAP_ROUTE21_NORTH (39 | (3 << 8))
-#define MAP_ROUTE21_SOUTH (40 | (3 << 8))
-#define MAP_ROUTE22 (41 | (3 << 8))
-#define MAP_ROUTE23 (42 | (3 << 8))
-#define MAP_ROUTE24 (43 | (3 << 8))
-#define MAP_ROUTE25 (44 | (3 << 8))
-#define MAP_ONEISLAND_KINDLEROAD (45 | (3 << 8))
-#define MAP_ONEISLAND_TREASUREBEACH (46 | (3 << 8))
-#define MAP_TWOISLAND_CAPEBRINK (47 | (3 << 8))
-#define MAP_THREEISLAND_BONDBRIDGE (48 | (3 << 8))
-#define MAP_THREEISLAND_PORT (49 | (3 << 8))
-#define MAP_UNKNOWNMAP_03_50 (50 | (3 << 8))
-#define MAP_UNKNOWNMAP_03_51 (51 | (3 << 8))
-#define MAP_UNKNOWNMAP_03_52 (52 | (3 << 8))
-#define MAP_UNKNOWNMAP_03_53 (53 | (3 << 8))
-#define MAP_FIVEISLAND_RESORTGORGEOUS (54 | (3 << 8))
-#define MAP_FIVEISLAND_WATERLABYRINTH (55 | (3 << 8))
-#define MAP_FIVEISLAND_MEADOW (56 | (3 << 8))
-#define MAP_FIVEISLAND_MEMORIALPILLAR (57 | (3 << 8))
-#define MAP_SIXISLAND_OUTCASTISLAND (58 | (3 << 8))
-#define MAP_SIXISLAND_GREENPATH (59 | (3 << 8))
-#define MAP_SIXISLAND_WATERPATH (60 | (3 << 8))
-#define MAP_SIXISLAND_RUINVALLEY (61 | (3 << 8))
-#define MAP_SEVENISLAND_TRAINERTOWER (62 | (3 << 8))
-#define MAP_SEVENISLAND_SEVAULTCANYON_ENTRANCE (63 | (3 << 8))
-#define MAP_SEVENISLAND_SEVAULTCANYON (64 | (3 << 8))
-#define MAP_SEVENISLAND_TANOBYRUINS (65 | (3 << 8))
+#define MAP_PALLET_TOWN (0 | (3 << 8))
+#define MAP_VIRIDIAN_CITY (1 | (3 << 8))
+#define MAP_PEWTER_CITY (2 | (3 << 8))
+#define MAP_CERULEAN_CITY (3 | (3 << 8))
+#define MAP_LAVENDER_TOWN (4 | (3 << 8))
+#define MAP_VERMILION_CITY (5 | (3 << 8))
+#define MAP_CELADON_CITY (6 | (3 << 8))
+#define MAP_FUCHSIA_CITY (7 | (3 << 8))
+#define MAP_CINNABAR_ISLAND (8 | (3 << 8))
+#define MAP_INDIGO_PLATEAU_EXTERIOR (9 | (3 << 8))
+#define MAP_SAFFRON_CITY_DUPLICATE (10 | (3 << 8))
+#define MAP_SAFFRON_CITY (11 | (3 << 8))
+#define MAP_ONE_ISLAND (12 | (3 << 8))
+#define MAP_TWO_ISLAND (13 | (3 << 8))
+#define MAP_THREE_ISLAND (14 | (3 << 8))
+#define MAP_FOUR_ISLAND (15 | (3 << 8))
+#define MAP_FIVE_ISLAND (16 | (3 << 8))
+#define MAP_SEVEN_ISLAND (17 | (3 << 8))
+#define MAP_SIX_ISLAND (18 | (3 << 8))
+#define MAP_ROUTE1 (19 | (3 << 8))
+#define MAP_ROUTE2 (20 | (3 << 8))
+#define MAP_ROUTE3 (21 | (3 << 8))
+#define MAP_ROUTE4 (22 | (3 << 8))
+#define MAP_ROUTE5 (23 | (3 << 8))
+#define MAP_ROUTE6 (24 | (3 << 8))
+#define MAP_ROUTE7 (25 | (3 << 8))
+#define MAP_ROUTE8 (26 | (3 << 8))
+#define MAP_ROUTE9 (27 | (3 << 8))
+#define MAP_ROUTE10 (28 | (3 << 8))
+#define MAP_ROUTE11 (29 | (3 << 8))
+#define MAP_ROUTE12 (30 | (3 << 8))
+#define MAP_ROUTE13 (31 | (3 << 8))
+#define MAP_ROUTE14 (32 | (3 << 8))
+#define MAP_ROUTE15 (33 | (3 << 8))
+#define MAP_ROUTE16 (34 | (3 << 8))
+#define MAP_ROUTE17 (35 | (3 << 8))
+#define MAP_ROUTE18 (36 | (3 << 8))
+#define MAP_ROUTE19 (37 | (3 << 8))
+#define MAP_ROUTE20 (38 | (3 << 8))
+#define MAP_ROUTE21_NORTH (39 | (3 << 8))
+#define MAP_ROUTE21_SOUTH (40 | (3 << 8))
+#define MAP_ROUTE22 (41 | (3 << 8))
+#define MAP_ROUTE23 (42 | (3 << 8))
+#define MAP_ROUTE24 (43 | (3 << 8))
+#define MAP_ROUTE25 (44 | (3 << 8))
+#define MAP_ONE_ISLAND_KINDLE_ROAD (45 | (3 << 8))
+#define MAP_ONE_ISLAND_TREASURE_BEACH (46 | (3 << 8))
+#define MAP_TWO_ISLAND_CAPE_BRINK (47 | (3 << 8))
+#define MAP_THREE_ISLAND_BOND_BRIDGE (48 | (3 << 8))
+#define MAP_THREE_ISLAND_PORT (49 | (3 << 8))
+#define MAP_UNKNOWN_MAP_03_50 (50 | (3 << 8))
+#define MAP_UNKNOWN_MAP_03_51 (51 | (3 << 8))
+#define MAP_UNKNOWN_MAP_03_52 (52 | (3 << 8))
+#define MAP_UNKNOWN_MAP_03_53 (53 | (3 << 8))
+#define MAP_FIVE_ISLAND_RESORT_GORGEOUS (54 | (3 << 8))
+#define MAP_FIVE_ISLAND_WATER_LABYRINTH (55 | (3 << 8))
+#define MAP_FIVE_ISLAND_MEADOW (56 | (3 << 8))
+#define MAP_FIVE_ISLAND_MEMORIAL_PILLAR (57 | (3 << 8))
+#define MAP_SIX_ISLAND_OUTCAST_ISLAND (58 | (3 << 8))
+#define MAP_SIX_ISLAND_GREEN_PATH (59 | (3 << 8))
+#define MAP_SIX_ISLAND_WATER_PATH (60 | (3 << 8))
+#define MAP_SIX_ISLAND_RUIN_VALLEY (61 | (3 << 8))
+#define MAP_SEVEN_ISLAND_TRAINER_TOWER (62 | (3 << 8))
+#define MAP_SEVEN_ISLAND_SEVAULT_CANYON_ENTRANCE (63 | (3 << 8))
+#define MAP_SEVEN_ISLAND_SEVAULT_CANYON (64 | (3 << 8))
+#define MAP_SEVEN_ISLAND_TANOBY_RUINS (65 | (3 << 8))
// Map Group 4
-#define MAP_PALLETTOWN_PLAYERSHOUSE_1F (0 | (4 << 8))
-#define MAP_PALLETTOWN_PLAYERSHOUSE_2F (1 | (4 << 8))
-#define MAP_PALLETTOWN_GARYSHOUSE (2 | (4 << 8))
-#define MAP_PALLETTOWN_PROFESSOROAKSLAB (3 | (4 << 8))
+#define MAP_PALLET_TOWN_PLAYERS_HOUSE_1F (0 | (4 << 8))
+#define MAP_PALLET_TOWN_PLAYERS_HOUSE_2F (1 | (4 << 8))
+#define MAP_PALLET_TOWN_GARYS_HOUSE (2 | (4 << 8))
+#define MAP_PALLET_TOWN_PROFESSOR_OAKS_LAB (3 | (4 << 8))
// Map Group 5
-#define MAP_VIRIDIANCITY_HOUSE1 (0 | (5 << 8))
-#define MAP_VIRIDIANCITY_GYM (1 | (5 << 8))
-#define MAP_VIRIDIANCITY_HOUSE2 (2 | (5 << 8))
-#define MAP_VIRIDIANCITY_MART (3 | (5 << 8))
-#define MAP_VIRIDIANCITY_POKEMONCENTER_1F (4 | (5 << 8))
-#define MAP_VIRIDIANCITY_POKEMONCENTER_2F (5 | (5 << 8))
+#define MAP_VIRIDIAN_CITY_HOUSE1 (0 | (5 << 8))
+#define MAP_VIRIDIAN_CITY_GYM (1 | (5 << 8))
+#define MAP_VIRIDIAN_CITY_HOUSE2 (2 | (5 << 8))
+#define MAP_VIRIDIAN_CITY_MART (3 | (5 << 8))
+#define MAP_VIRIDIAN_CITY_POKEMON_CENTER_1F (4 | (5 << 8))
+#define MAP_VIRIDIAN_CITY_POKEMON_CENTER_2F (5 | (5 << 8))
// Map Group 6
-#define MAP_PEWTERCITY_MUSEUM_1F (0 | (6 << 8))
-#define MAP_PEWTERCITY_MUSEUM_2F (1 | (6 << 8))
-#define MAP_PEWTERCITY_GYM (2 | (6 << 8))
-#define MAP_PEWTERCITY_MART (3 | (6 << 8))
-#define MAP_PEWTERCITY_HOUSE1 (4 | (6 << 8))
-#define MAP_PEWTERCITY_POKEMONCENTER_1F (5 | (6 << 8))
-#define MAP_PEWTERCITY_POKEMONCENTER_2F (6 | (6 << 8))
-#define MAP_PEWTERCITY_HOUSE2 (7 | (6 << 8))
+#define MAP_PEWTER_CITY_MUSEUM_1F (0 | (6 << 8))
+#define MAP_PEWTER_CITY_MUSEUM_2F (1 | (6 << 8))
+#define MAP_PEWTER_CITY_GYM (2 | (6 << 8))
+#define MAP_PEWTER_CITY_MART (3 | (6 << 8))
+#define MAP_PEWTER_CITY_HOUSE1 (4 | (6 << 8))
+#define MAP_PEWTER_CITY_POKEMON_CENTER_1F (5 | (6 << 8))
+#define MAP_PEWTER_CITY_POKEMON_CENTER_2F (6 | (6 << 8))
+#define MAP_PEWTER_CITY_HOUSE2 (7 | (6 << 8))
// Map Group 7
-#define MAP_CERULEANCITY_HOUSE1 (0 | (7 << 8))
-#define MAP_CERULEANCITY_HOUSE2 (1 | (7 << 8))
-#define MAP_CERULEANCITY_HOUSE3 (2 | (7 << 8))
-#define MAP_CERULEANCITY_POKEMONCENTER_1F (3 | (7 << 8))
-#define MAP_CERULEANCITY_POKEMONCENTER_2F (4 | (7 << 8))
-#define MAP_CERULEANCITY_GYM (5 | (7 << 8))
-#define MAP_CERULEANCITY_BIKESHOP (6 | (7 << 8))
-#define MAP_CERULEANCITY_MART (7 | (7 << 8))
-#define MAP_CERULEANCITY_HOUSE4 (8 | (7 << 8))
-#define MAP_CERULEANCITY_HOUSE5 (9 | (7 << 8))
+#define MAP_CERULEAN_CITY_HOUSE1 (0 | (7 << 8))
+#define MAP_CERULEAN_CITY_HOUSE2 (1 | (7 << 8))
+#define MAP_CERULEAN_CITY_HOUSE3 (2 | (7 << 8))
+#define MAP_CERULEAN_CITY_POKEMON_CENTER_1F (3 | (7 << 8))
+#define MAP_CERULEAN_CITY_POKEMON_CENTER_2F (4 | (7 << 8))
+#define MAP_CERULEAN_CITY_GYM (5 | (7 << 8))
+#define MAP_CERULEAN_CITY_BIKE_SHOP (6 | (7 << 8))
+#define MAP_CERULEAN_CITY_MART (7 | (7 << 8))
+#define MAP_CERULEAN_CITY_HOUSE4 (8 | (7 << 8))
+#define MAP_CERULEAN_CITY_HOUSE5 (9 | (7 << 8))
// Map Group 8
-#define MAP_LAVENDERTOWN_POKEMONCENTER_1F (0 | (8 << 8))
-#define MAP_LAVENDERTOWN_POKEMONCENTER_2F (1 | (8 << 8))
-#define MAP_LAVENDERTOWN_VOLUNTEERPOKEMONHOUSE (2 | (8 << 8))
-#define MAP_LAVENDERTOWN_HOUSE1 (3 | (8 << 8))
-#define MAP_LAVENDERTOWN_HOUSE2 (4 | (8 << 8))
-#define MAP_LAVENDERTOWN_MART (5 | (8 << 8))
+#define MAP_LAVENDER_TOWN_POKEMON_CENTER_1F (0 | (8 << 8))
+#define MAP_LAVENDER_TOWN_POKEMON_CENTER_2F (1 | (8 << 8))
+#define MAP_LAVENDER_TOWN_VOLUNTEER_POKEMON_HOUSE (2 | (8 << 8))
+#define MAP_LAVENDER_TOWN_HOUSE1 (3 | (8 << 8))
+#define MAP_LAVENDER_TOWN_HOUSE2 (4 | (8 << 8))
+#define MAP_LAVENDER_TOWN_MART (5 | (8 << 8))
// Map Group 9
-#define MAP_VERMILIONCITY_HOUSE1 (0 | (9 << 8))
-#define MAP_VERMILIONCITY_POKEMONCENTER_1F (1 | (9 << 8))
-#define MAP_VERMILIONCITY_POKEMONCENTER_2F (2 | (9 << 8))
-#define MAP_VERMILIONCITY_POKEMONFANCLUB (3 | (9 << 8))
-#define MAP_VERMILIONCITY_HOUSE2 (4 | (9 << 8))
-#define MAP_VERMILIONCITY_MART (5 | (9 << 8))
-#define MAP_VERMILIONCITY_GYM (6 | (9 << 8))
-#define MAP_VERMILIONCITY_HOUSE3 (7 | (9 << 8))
+#define MAP_VERMILION_CITY_HOUSE1 (0 | (9 << 8))
+#define MAP_VERMILION_CITY_POKEMON_CENTER_1F (1 | (9 << 8))
+#define MAP_VERMILION_CITY_POKEMON_CENTER_2F (2 | (9 << 8))
+#define MAP_VERMILION_CITY_POKEMON_FAN_CLUB (3 | (9 << 8))
+#define MAP_VERMILION_CITY_HOUSE2 (4 | (9 << 8))
+#define MAP_VERMILION_CITY_MART (5 | (9 << 8))
+#define MAP_VERMILION_CITY_GYM (6 | (9 << 8))
+#define MAP_VERMILION_CITY_HOUSE3 (7 | (9 << 8))
// Map Group 10
-#define MAP_CELADONCITY_DEPARTMENTSTORE_1F (0 | (10 << 8))
-#define MAP_CELADONCITY_DEPARTMENTSTORE_2F (1 | (10 << 8))
-#define MAP_CELADONCITY_DEPARTMENTSTORE_3F (2 | (10 << 8))
-#define MAP_CELADONCITY_DEPARTMENTSTORE_4F (3 | (10 << 8))
-#define MAP_CELADONCITY_DEPARTMENTSTORE_5F (4 | (10 << 8))
-#define MAP_CELADONCITY_DEPARTMENTSTORE_ROOF (5 | (10 << 8))
-#define MAP_CELADONCITY_DEPARTMENTSTORE_ELEVATOR (6 | (10 << 8))
-#define MAP_CELADONCITY_CONDOMINIUMS_1F (7 | (10 << 8))
-#define MAP_CELADONCITY_CONDOMINIUMS_2F (8 | (10 << 8))
-#define MAP_CELADONCITY_CONDOMINIUMS_3F (9 | (10 << 8))
-#define MAP_CELADONCITY_CONDOMINIUMS_ROOF (10 | (10 << 8))
-#define MAP_CELADONCITY_CONDOMINIUMS_ROOFROOM (11 | (10 << 8))
-#define MAP_CELADONCITY_POKEMONCENTER_1F (12 | (10 << 8))
-#define MAP_CELADONCITY_POKEMONCENTER_2F (13 | (10 << 8))
-#define MAP_CELADONCITY_GAMECORNER (14 | (10 << 8))
-#define MAP_CELADONCITY_GAMECORNER_PRIZEROOM (15 | (10 << 8))
-#define MAP_CELADONCITY_GYM (16 | (10 << 8))
-#define MAP_CELADONCITY_RESTAURANT (17 | (10 << 8))
-#define MAP_CELADONCITY_HOUSE1 (18 | (10 << 8))
-#define MAP_CELADONCITY_HOTEL (19 | (10 << 8))
+#define MAP_CELADON_CITY_DEPARTMENT_STORE_1F (0 | (10 << 8))
+#define MAP_CELADON_CITY_DEPARTMENT_STORE_2F (1 | (10 << 8))
+#define MAP_CELADON_CITY_DEPARTMENT_STORE_3F (2 | (10 << 8))
+#define MAP_CELADON_CITY_DEPARTMENT_STORE_4F (3 | (10 << 8))
+#define MAP_CELADON_CITY_DEPARTMENT_STORE_5F (4 | (10 << 8))
+#define MAP_CELADON_CITY_DEPARTMENT_STORE_ROOF (5 | (10 << 8))
+#define MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR (6 | (10 << 8))
+#define MAP_CELADON_CITY_CONDOMINIUMS_1F (7 | (10 << 8))
+#define MAP_CELADON_CITY_CONDOMINIUMS_2F (8 | (10 << 8))
+#define MAP_CELADON_CITY_CONDOMINIUMS_3F (9 | (10 << 8))
+#define MAP_CELADON_CITY_CONDOMINIUMS_ROOF (10 | (10 << 8))
+#define MAP_CELADON_CITY_CONDOMINIUMS_ROOF_ROOM (11 | (10 << 8))
+#define MAP_CELADON_CITY_POKEMON_CENTER_1F (12 | (10 << 8))
+#define MAP_CELADON_CITY_POKEMON_CENTER_2F (13 | (10 << 8))
+#define MAP_CELADON_CITY_GAME_CORNER (14 | (10 << 8))
+#define MAP_CELADON_CITY_GAME_CORNER_PRIZE_ROOM (15 | (10 << 8))
+#define MAP_CELADON_CITY_GYM (16 | (10 << 8))
+#define MAP_CELADON_CITY_RESTAURANT (17 | (10 << 8))
+#define MAP_CELADON_CITY_HOUSE1 (18 | (10 << 8))
+#define MAP_CELADON_CITY_HOTEL (19 | (10 << 8))
// Map Group 11
-#define MAP_FUCHSIACITY_SAFARIZONE_ENTRANCE (0 | (11 << 8))
-#define MAP_FUCHSIACITY_MART (1 | (11 << 8))
-#define MAP_FUCHSIACITY_ZOOBUILDING (2 | (11 << 8))
-#define MAP_FUCHSIACITY_GYM (3 | (11 << 8))
-#define MAP_FUCHSIACITY_HOUSE1 (4 | (11 << 8))
-#define MAP_FUCHSIACITY_POKEMONCENTER_1F (5 | (11 << 8))
-#define MAP_FUCHSIACITY_POKEMONCENTER_2F (6 | (11 << 8))
-#define MAP_FUCHSIACITY_BUILDING1 (7 | (11 << 8))
-#define MAP_FUCHSIACITY_HOUSE2 (8 | (11 << 8))
-#define MAP_FUCHSIACITY_HOUSE3 (9 | (11 << 8))
+#define MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE (0 | (11 << 8))
+#define MAP_FUCHSIA_CITY_MART (1 | (11 << 8))
+#define MAP_FUCHSIA_CITY_ZOO_BUILDING (2 | (11 << 8))
+#define MAP_FUCHSIA_CITY_GYM (3 | (11 << 8))
+#define MAP_FUCHSIA_CITY_HOUSE1 (4 | (11 << 8))
+#define MAP_FUCHSIA_CITY_POKEMON_CENTER_1F (5 | (11 << 8))
+#define MAP_FUCHSIA_CITY_POKEMON_CENTER_2F (6 | (11 << 8))
+#define MAP_FUCHSIA_CITY_BUILDING1 (7 | (11 << 8))
+#define MAP_FUCHSIA_CITY_HOUSE2 (8 | (11 << 8))
+#define MAP_FUCHSIA_CITY_HOUSE3 (9 | (11 << 8))
// Map Group 12
-#define MAP_CINNABARISLAND_GYM (0 | (12 << 8))
-#define MAP_CINNABARISLAND_POKEMONLAB_ENTRANCE (1 | (12 << 8))
-#define MAP_CINNABARISLAND_POKEMONLAB_LOUNGE (2 | (12 << 8))
-#define MAP_CINNABARISLAND_POKEMONLAB_RESEARCHROOM (3 | (12 << 8))
-#define MAP_CINNABARISLAND_POKEMONLAB_EXPERIMENTROOM (4 | (12 << 8))
-#define MAP_CINNABARISLAND_POKEMONCENTER_1F (5 | (12 << 8))
-#define MAP_CINNABARISLAND_POKEMONCENTER_2F (6 | (12 << 8))
-#define MAP_CINNABARISLAND_MART (7 | (12 << 8))
+#define MAP_CINNABAR_ISLAND_GYM (0 | (12 << 8))
+#define MAP_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE (1 | (12 << 8))
+#define MAP_CINNABAR_ISLAND_POKEMON_LAB_LOUNGE (2 | (12 << 8))
+#define MAP_CINNABAR_ISLAND_POKEMON_LAB_RESEARCH_ROOM (3 | (12 << 8))
+#define MAP_CINNABAR_ISLAND_POKEMON_LAB_EXPERIMENT_ROOM (4 | (12 << 8))
+#define MAP_CINNABAR_ISLAND_POKEMON_CENTER_1F (5 | (12 << 8))
+#define MAP_CINNABAR_ISLAND_POKEMON_CENTER_2F (6 | (12 << 8))
+#define MAP_CINNABAR_ISLAND_MART (7 | (12 << 8))
// Map Group 13
-#define MAP_INDIGOPLATEAU_POKEMONCENTER_1F (0 | (13 << 8))
-#define MAP_INDIGOPLATEAU_POKEMONCENTER_2F (1 | (13 << 8))
+#define MAP_INDIGO_PLATEAU_POKEMON_CENTER_1F (0 | (13 << 8))
+#define MAP_INDIGO_PLATEAU_POKEMON_CENTER_2F (1 | (13 << 8))
// Map Group 14
-#define MAP_SAFFRONCITY_HOUSE1_1F (0 | (14 << 8))
-#define MAP_SAFFRONCITY_HOUSE1_2F (1 | (14 << 8))
-#define MAP_SAFFRONCITY_DOJO (2 | (14 << 8))
-#define MAP_SAFFRONCITY_GYM (3 | (14 << 8))
-#define MAP_SAFFRONCITY_HOUSE2 (4 | (14 << 8))
-#define MAP_SAFFRONCITY_MART (5 | (14 << 8))
-#define MAP_SAFFRONCITY_POKEMONCENTER_1F (6 | (14 << 8))
-#define MAP_SAFFRONCITY_POKEMONCENTER_2F (7 | (14 << 8))
-#define MAP_SAFFRONCITY_HOUSE3 (8 | (14 << 8))
-#define MAP_SAFFRONCITY_POKEMONTRAINERFANCLUB (9 | (14 << 8))
+#define MAP_SAFFRON_CITY_HOUSE1_1F (0 | (14 << 8))
+#define MAP_SAFFRON_CITY_HOUSE1_2F (1 | (14 << 8))
+#define MAP_SAFFRON_CITY_DOJO (2 | (14 << 8))
+#define MAP_SAFFRON_CITY_GYM (3 | (14 << 8))
+#define MAP_SAFFRON_CITY_HOUSE2 (4 | (14 << 8))
+#define MAP_SAFFRON_CITY_MART (5 | (14 << 8))
+#define MAP_SAFFRON_CITY_POKEMON_CENTER_1F (6 | (14 << 8))
+#define MAP_SAFFRON_CITY_POKEMON_CENTER_2F (7 | (14 << 8))
+#define MAP_SAFFRON_CITY_HOUSE3 (8 | (14 << 8))
+#define MAP_SAFFRON_CITY_POKEMON_TRAINER_FAN_CLUB (9 | (14 << 8))
// Map Group 15
-#define MAP_ROUTE2_VIRIDIANFOREST_SOUTHENTRANCE (0 | (15 << 8))
-#define MAP_ROUTE2_HOUSE (1 | (15 << 8))
-#define MAP_ROUTE2_EASTBUILDING (2 | (15 << 8))
-#define MAP_ROUTE2_VIRIDIANFOREST_NORTHENTRANCE (3 | (15 << 8))
+#define MAP_ROUTE2_VIRIDIAN_FOREST_SOUTH_ENTRANCE (0 | (15 << 8))
+#define MAP_ROUTE2_HOUSE (1 | (15 << 8))
+#define MAP_ROUTE2_EAST_BUILDING (2 | (15 << 8))
+#define MAP_ROUTE2_VIRIDIAN_FOREST_NORTH_ENTRANCE (3 | (15 << 8))
// Map Group 16
-#define MAP_ROUTE4_POKEMONCENTER_1F (0 | (16 << 8))
-#define MAP_ROUTE4_POKEMONCENTER_2F (1 | (16 << 8))
+#define MAP_ROUTE4_POKEMON_CENTER_1F (0 | (16 << 8))
+#define MAP_ROUTE4_POKEMON_CENTER_2F (1 | (16 << 8))
// Map Group 17
-#define MAP_ROUTE5_POKEMONDAYCARE (0 | (17 << 8))
-#define MAP_ROUTE5_SOUTHENTRANCE (1 | (17 << 8))
+#define MAP_ROUTE5_POKEMON_DAY_CARE (0 | (17 << 8))
+#define MAP_ROUTE5_SOUTH_ENTRANCE (1 | (17 << 8))
// Map Group 18
-#define MAP_ROUTE6_NORTHENTRANCE (0 | (18 << 8))
-#define MAP_UNKNOWNMAP_18_01 (1 | (18 << 8))
+#define MAP_ROUTE6_NORTH_ENTRANCE (0 | (18 << 8))
+#define MAP_UNKNOWN_MAP_18_01 (1 | (18 << 8))
// Map Group 19
-#define MAP_ROUTE7_EASTENTRANCE (0 | (19 << 8))
+#define MAP_ROUTE7_EAST_ENTRANCE (0 | (19 << 8))
// Map Group 20
-#define MAP_ROUTE8_WESTENTRANCE (0 | (20 << 8))
+#define MAP_ROUTE8_WEST_ENTRANCE (0 | (20 << 8))
// Map Group 21
-#define MAP_ROUTE10_POKEMONCENTER_1F (0 | (21 << 8))
-#define MAP_ROUTE10_POKEMONCENTER_2F (1 | (21 << 8))
+#define MAP_ROUTE10_POKEMON_CENTER_1F (0 | (21 << 8))
+#define MAP_ROUTE10_POKEMON_CENTER_2F (1 | (21 << 8))
// Map Group 22
-#define MAP_ROUTE11_EASTENTRANCE_1F (0 | (22 << 8))
-#define MAP_ROUTE11_EASTENTRANCE_2F (1 | (22 << 8))
+#define MAP_ROUTE11_EAST_ENTRANCE_1F (0 | (22 << 8))
+#define MAP_ROUTE11_EAST_ENTRANCE_2F (1 | (22 << 8))
// Map Group 23
-#define MAP_ROUTE12_NORTHENTRANCE_1F (0 | (23 << 8))
-#define MAP_ROUTE12_NORTHENTRANCE_2F (1 | (23 << 8))
-#define MAP_ROUTE12_FISHINGHOUSE (2 | (23 << 8))
+#define MAP_ROUTE12_NORTH_ENTRANCE_1F (0 | (23 << 8))
+#define MAP_ROUTE12_NORTH_ENTRANCE_2F (1 | (23 << 8))
+#define MAP_ROUTE12_FISHING_HOUSE (2 | (23 << 8))
// Map Group 24
-#define MAP_ROUTE15_WESTENTRANCE_1F (0 | (24 << 8))
-#define MAP_ROUTE15_WESTENTRANCE_2F (1 | (24 << 8))
+#define MAP_ROUTE15_WEST_ENTRANCE_1F (0 | (24 << 8))
+#define MAP_ROUTE15_WEST_ENTRANCE_2F (1 | (24 << 8))
// Map Group 25
-#define MAP_ROUTE16_HOUSE (0 | (25 << 8))
-#define MAP_ROUTE16_NORTHENTRANCE_1F (1 | (25 << 8))
-#define MAP_ROUTE16_NORTHENTRANCE_2F (2 | (25 << 8))
+#define MAP_ROUTE16_HOUSE (0 | (25 << 8))
+#define MAP_ROUTE16_NORTH_ENTRANCE_1F (1 | (25 << 8))
+#define MAP_ROUTE16_NORTH_ENTRANCE_2F (2 | (25 << 8))
// Map Group 26
-#define MAP_ROUTE18_EASTENTRANCE_1F (0 | (26 << 8))
-#define MAP_ROUTE18_EASTENTRANCE_2F (1 | (26 << 8))
+#define MAP_ROUTE18_EAST_ENTRANCE_1F (0 | (26 << 8))
+#define MAP_ROUTE18_EAST_ENTRANCE_2F (1 | (26 << 8))
// Map Group 27
-#define MAP_UNUSEDHOUSE_27_00 (0 | (27 << 8))
+#define MAP_UNUSED_HOUSE_27_00 (0 | (27 << 8))
// Map Group 28
-#define MAP_ROUTE22_NORTHENTRANCE (0 | (28 << 8))
+#define MAP_ROUTE22_NORTH_ENTRANCE (0 | (28 << 8))
// Map Group 29
-#define MAP_UNUSEDHOUSE_29_00 (0 | (29 << 8))
+#define MAP_UNUSED_HOUSE_29_00 (0 | (29 << 8))
// Map Group 30
-#define MAP_ROUTE25_SEACOTTAGE (0 | (30 << 8))
+#define MAP_ROUTE25_SEA_COTTAGE (0 | (30 << 8))
// Map Group 31
-#define MAP_SEVENISLAND_HOUSE_ROOM1 (0 | (31 << 8))
-#define MAP_SEVENISLAND_HOUSE_ROOM2 (1 | (31 << 8))
-#define MAP_SEVENISLAND_MART (2 | (31 << 8))
-#define MAP_SEVENISLAND_POKEMONCENTER_1F (3 | (31 << 8))
-#define MAP_SEVENISLAND_POKEMONCENTER_2F (4 | (31 << 8))
-#define MAP_UNUSEDHOUSE_31_05 (5 | (31 << 8))
-#define MAP_SEVENISLAND_HARBOR (6 | (31 << 8))
+#define MAP_SEVEN_ISLAND_HOUSE_ROOM1 (0 | (31 << 8))
+#define MAP_SEVEN_ISLAND_HOUSE_ROOM2 (1 | (31 << 8))
+#define MAP_SEVEN_ISLAND_MART (2 | (31 << 8))
+#define MAP_SEVEN_ISLAND_POKEMON_CENTER_1F (3 | (31 << 8))
+#define MAP_SEVEN_ISLAND_POKEMON_CENTER_2F (4 | (31 << 8))
+#define MAP_UNUSED_HOUSE_31_05 (5 | (31 << 8))
+#define MAP_SEVEN_ISLAND_HARBOR (6 | (31 << 8))
// Map Group 32
-#define MAP_ONEISLAND_POKEMONCENTER_1F (0 | (32 << 8))
-#define MAP_ONEISLAND_POKEMONCENTER_2F (1 | (32 << 8))
-#define MAP_ONEISLAND_HOUSE1 (2 | (32 << 8))
-#define MAP_ONEISLAND_HOUSE2 (3 | (32 << 8))
-#define MAP_ONEISLAND_HARBOR (4 | (32 << 8))
+#define MAP_ONE_ISLAND_POKEMON_CENTER_1F (0 | (32 << 8))
+#define MAP_ONE_ISLAND_POKEMON_CENTER_2F (1 | (32 << 8))
+#define MAP_ONE_ISLAND_HOUSE1 (2 | (32 << 8))
+#define MAP_ONE_ISLAND_HOUSE2 (3 | (32 << 8))
+#define MAP_ONE_ISLAND_HARBOR (4 | (32 << 8))
// Map Group 33
-#define MAP_TWOISLAND_JOYFULGAMECORNER (0 | (33 << 8))
-#define MAP_TWOISLAND_HOUSE (1 | (33 << 8))
-#define MAP_TWOISLAND_POKEMONCENTER_1F (2 | (33 << 8))
-#define MAP_TWOISLAND_POKEMONCENTER_2F (3 | (33 << 8))
-#define MAP_TWOISLAND_HARBOR (4 | (33 << 8))
+#define MAP_TWO_ISLAND_JOYFUL_GAME_CORNER (0 | (33 << 8))
+#define MAP_TWO_ISLAND_HOUSE (1 | (33 << 8))
+#define MAP_TWO_ISLAND_POKEMON_CENTER_1F (2 | (33 << 8))
+#define MAP_TWO_ISLAND_POKEMON_CENTER_2F (3 | (33 << 8))
+#define MAP_TWO_ISLAND_HARBOR (4 | (33 << 8))
// Map Group 34
-#define MAP_THREEISLAND_HOUSE1 (0 | (34 << 8))
-#define MAP_THREEISLAND_POKEMONCENTER_1F (1 | (34 << 8))
-#define MAP_THREEISLAND_POKEMONCENTER_2F (2 | (34 << 8))
-#define MAP_THREEISLAND_MART (3 | (34 << 8))
-#define MAP_THREEISLAND_HOUSE2 (4 | (34 << 8))
-#define MAP_THREEISLAND_HOUSE3 (5 | (34 << 8))
-#define MAP_THREEISLAND_HOUSE4 (6 | (34 << 8))
-#define MAP_THREEISLAND_HOUSE5 (7 | (34 << 8))
+#define MAP_THREE_ISLAND_HOUSE1 (0 | (34 << 8))
+#define MAP_THREE_ISLAND_POKEMON_CENTER_1F (1 | (34 << 8))
+#define MAP_THREE_ISLAND_POKEMON_CENTER_2F (2 | (34 << 8))
+#define MAP_THREE_ISLAND_MART (3 | (34 << 8))
+#define MAP_THREE_ISLAND_HOUSE2 (4 | (34 << 8))
+#define MAP_THREE_ISLAND_HOUSE3 (5 | (34 << 8))
+#define MAP_THREE_ISLAND_HOUSE4 (6 | (34 << 8))
+#define MAP_THREE_ISLAND_HOUSE5 (7 | (34 << 8))
// Map Group 35
-#define MAP_FOURISLAND_POKEMONDAYCARE (0 | (35 << 8))
-#define MAP_FOURISLAND_POKEMONCENTER_1F (1 | (35 << 8))
-#define MAP_FOURISLAND_POKEMONCENTER_2F (2 | (35 << 8))
-#define MAP_FOURISLAND_HOUSE1 (3 | (35 << 8))
-#define MAP_FOURISLAND_LORELEISHOUSE (4 | (35 << 8))
-#define MAP_FOURISLAND_HARBOR (5 | (35 << 8))
-#define MAP_FOURISLAND_HOUSE2 (6 | (35 << 8))
-#define MAP_FOURISLAND_MART (7 | (35 << 8))
+#define MAP_FOUR_ISLAND_POKEMON_DAY_CARE (0 | (35 << 8))
+#define MAP_FOUR_ISLAND_POKEMON_CENTER_1F (1 | (35 << 8))
+#define MAP_FOUR_ISLAND_POKEMON_CENTER_2F (2 | (35 << 8))
+#define MAP_FOUR_ISLAND_HOUSE1 (3 | (35 << 8))
+#define MAP_FOUR_ISLAND_LORELEIS_HOUSE (4 | (35 << 8))
+#define MAP_FOUR_ISLAND_HARBOR (5 | (35 << 8))
+#define MAP_FOUR_ISLAND_HOUSE2 (6 | (35 << 8))
+#define MAP_FOUR_ISLAND_MART (7 | (35 << 8))
// Map Group 36
-#define MAP_FIVEISLAND_POKEMONCENTER_1F (0 | (36 << 8))
-#define MAP_FIVEISLAND_POKEMONCENTER_2F (1 | (36 << 8))
-#define MAP_FIVEISLAND_HARBOR (2 | (36 << 8))
-#define MAP_FIVEISLAND_HOUSE1 (3 | (36 << 8))
-#define MAP_FIVEISLAND_HOUSE2 (4 | (36 << 8))
+#define MAP_FIVE_ISLAND_POKEMON_CENTER_1F (0 | (36 << 8))
+#define MAP_FIVE_ISLAND_POKEMON_CENTER_2F (1 | (36 << 8))
+#define MAP_FIVE_ISLAND_HARBOR (2 | (36 << 8))
+#define MAP_FIVE_ISLAND_HOUSE1 (3 | (36 << 8))
+#define MAP_FIVE_ISLAND_HOUSE2 (4 | (36 << 8))
// Map Group 37
-#define MAP_SIXISLAND_POKEMONCENTER_1F (0 | (37 << 8))
-#define MAP_SIXISLAND_POKEMONCENTER_2F (1 | (37 << 8))
-#define MAP_SIXISLAND_HARBOR (2 | (37 << 8))
-#define MAP_SIXISLAND_HOUSE (3 | (37 << 8))
-#define MAP_SIXISLAND_MART (4 | (37 << 8))
+#define MAP_SIX_ISLAND_POKEMON_CENTER_1F (0 | (37 << 8))
+#define MAP_SIX_ISLAND_POKEMON_CENTER_2F (1 | (37 << 8))
+#define MAP_SIX_ISLAND_HARBOR (2 | (37 << 8))
+#define MAP_SIX_ISLAND_HOUSE (3 | (37 << 8))
+#define MAP_SIX_ISLAND_MART (4 | (37 << 8))
// Map Group 38
-#define MAP_THREEISLAND_HARBOR (0 | (38 << 8))
+#define MAP_THREE_ISLAND_HARBOR (0 | (38 << 8))
// Map Group 39
-#define MAP_FIVEISLAND_RESORTGORGEOUS_HOUSE (0 | (39 << 8))
+#define MAP_FIVE_ISLAND_RESORT_GORGEOUS_HOUSE (0 | (39 << 8))
// Map Group 40
-#define MAP_TWOISLAND_CAPEBRINK_HOUSE (0 | (40 << 8))
+#define MAP_TWO_ISLAND_CAPE_BRINK_HOUSE (0 | (40 << 8))
// Map Group 41
-#define MAP_SIXISLAND_WATERPATH_HOUSE1 (0 | (41 << 8))
-#define MAP_SIXISLAND_WATERPATH_HOUSE2 (1 | (41 << 8))
+#define MAP_SIX_ISLAND_WATER_PATH_HOUSE1 (0 | (41 << 8))
+#define MAP_SIX_ISLAND_WATER_PATH_HOUSE2 (1 | (41 << 8))
// Map Group 42
-#define MAP_SEVENISLAND_SEVAULTCANYON_HOUSE (0 | (42 << 8))
+#define MAP_SEVEN_ISLAND_SEVAULT_CANYON_HOUSE (0 | (42 << 8))
+
+#define MAP_GROUPS_COUNT 43
#endif // GUARD_CONSTANTS_MAP_GROUPS_H
diff --git a/include/constants/maps.h b/include/constants/maps.h
index 5fb5f88fa..fdef6ccb3 100644
--- a/include/constants/maps.h
+++ b/include/constants/maps.h
@@ -11,4 +11,46 @@
#define MAP(map) MAP_GROUP(map), MAP_NUM(map)
+// temporary map constants
+#define BATTLE_SCENE_0 0
+#define BATTLE_SCENE_1 1
+#define BATTLE_SCENE_2 2
+#define BATTLE_SCENE_3 3
+#define BATTLE_SCENE_4 4
+#define BATTLE_SCENE_5 5
+#define BATTLE_SCENE_6 6
+#define BATTLE_SCENE_7 7
+#define BATTLE_SCENE_8 8
+#define BATTLE_SCENE_9 9
+#define BATTLE_SCENE_10 10
+#define BATTLE_SCENE_11 11
+#define BATTLE_SCENE_12 12
+#define BATTLE_SCENE_13 13
+#define BATTLE_SCENE_14 14
+#define BATTLE_SCENE_15 15
+
+#define MAP_TYPE_0 0
+#define MAP_TYPE_1 1
+#define MAP_TYPE_2 2
+#define MAP_TYPE_3 3
+#define MAP_TYPE_4 4
+#define MAP_TYPE_5 5
+#define MAP_TYPE_6 6
+#define MAP_TYPE_7 7
+#define MAP_TYPE_8 8
+#define MAP_TYPE_9 9
+
+#define WEATHER_0 0
+#define WEATHER_1 1
+#define WEATHER_2 2
+#define WEATHER_3 3
+#define WEATHER_4 4
+#define WEATHER_5 5
+#define WEATHER_6 6
+#define WEATHER_7 7
+#define WEATHER_8 8
+#define WEATHER_9 9
+#define WEATHER_10 10
+#define WEATHER_11 11
+
#endif // GUARD_CONSTANTS_MAPS_H
diff --git a/ld_script.txt b/ld_script.txt
index 482ea5d88..9b056bf84 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -365,7 +365,8 @@ SECTIONS {
src/util.o(.rodata);
src/daycare.o(.rodata);
data/data.o(.rodata.825EF0C);
- data/connections.o(.rodata);
+ data/tilesets.o(.rodata);
+ data/maps.o(.rodata);
src/fieldmap.o(.rodata);
src/metatile_behavior.o(.rodata);
data/metatile_behavior.o(.rodata);
diff --git a/map_data_rules.mk b/map_data_rules.mk
new file mode 100644
index 000000000..7ba6bceb5
--- /dev/null
+++ b/map_data_rules.mk
@@ -0,0 +1,32 @@
+# Map JSON data
+
+MAPS_DIR = $(DATA_ASM_SUBDIR)/maps
+LAYOUTS_DIR = $(DATA_ASM_SUBDIR)/layouts
+
+MAP_DIRS := $(dir $(wildcard $(MAPS_DIR)/*/map.json))
+MAP_CONNECTIONS := $(patsubst $(MAPS_DIR)/%/,$(MAPS_DIR)/%/connections.inc,$(MAP_DIRS))
+MAP_EVENTS := $(patsubst $(MAPS_DIR)/%/,$(MAPS_DIR)/%/events.inc,$(MAP_DIRS))
+MAP_HEADERS := $(patsubst $(MAPS_DIR)/%/,$(MAPS_DIR)/%/header.inc,$(MAP_DIRS))
+
+$(MAPS_DIR)/%/header.inc: $(MAPS_DIR)/%/map.json
+ $(MAPJSON) map firered $< $(LAYOUTS_DIR)/layouts.json
+$(MAPS_DIR)/%/events.inc: $(MAPS_DIR)/%/header.inc ;
+$(MAPS_DIR)/%/connections.inc: $(MAPS_DIR)/%/events.inc ;
+
+$(MAPS_DIR)/groups.inc: $(MAPS_DIR)/map_groups.json
+ $(MAPJSON) groups firered $<
+$(MAPS_DIR)/connections.inc: $(MAPS_DIR)/groups.inc ;
+$(MAPS_DIR)/events.inc: $(MAPS_DIR)/connections.inc ;
+$(MAPS_DIR)/headers.inc: $(MAPS_DIR)/events.inc ;
+include/constants/map_groups.h: $(MAPS_DIR)/headers.inc ;
+
+$(LAYOUTS_DIR)/layouts.inc: $(LAYOUTS_DIR)/layouts.json
+ $(MAPJSON) layouts firered $<
+$(LAYOUTS_DIR)/layouts_table.inc: $(LAYOUTS_DIR)/layouts.inc ;
+include/constants/layouts.h: $(LAYOUTS_DIR)/layouts_table.inc ;
+
+$(DATA_ASM_BUILDDIR)/maps.o: $(DATA_ASM_SUBDIR)/maps.s $(LAYOUTS_DIR)/layouts.inc $(LAYOUTS_DIR)/layouts_table.inc $(MAPS_DIR)/headers.inc $(MAPS_DIR)/groups.inc $(MAPS_DIR)/connections.inc $(MAP_CONNECTIONS) $(MAP_HEADERS)
+ $(PREPROC) $< charmap.txt | $(CPP) -I include -nostdinc -undef -Wno-unicode - | $(AS) $(ASFLAGS) -o $@
+$(DATA_ASM_BUILDDIR)/map_events.o: $(DATA_ASM_SUBDIR)/map_events.s $(MAPS_DIR)/events.inc $(MAP_EVENTS)
+ $(PREPROC) $< charmap.txt | $(CPP) -I include -nostdinc -undef -Wno-unicode - | $(AS) $(ASFLAGS) -o $@
+
diff --git a/src/seagallop.c b/src/seagallop.c
index e02b0887b..7cdd6ebd0 100644
--- a/src/seagallop.c
+++ b/src/seagallop.c
@@ -66,17 +66,17 @@ static const struct BgTemplate sBGTemplates[] = {
static const s8 sSeaGallopSpawnTable[][4] = {
// Map X Y
- [SEAGALLOP_VERMILION_CITY] = {MAP(VERMILIONCITY), 0x17, 0x20},
- [SEAGALLOP_ONE_ISLAND] = {MAP(ONEISLAND_HARBOR), 0x08, 0x05},
- [SEAGALLOP_TWO_ISLAND] = {MAP(TWOISLAND_HARBOR), 0x08, 0x05},
- [SEAGALLOP_THREE_ISLAND] = {MAP(THREEISLAND_HARBOR), 0x08, 0x05},
- [SEAGALLOP_FOUR_ISLAND] = {MAP(FOURISLAND_HARBOR), 0x08, 0x05},
- [SEAGALLOP_FIVE_ISLAND] = {MAP(FIVEISLAND_HARBOR), 0x08, 0x05},
- [SEAGALLOP_SIX_ISLAND] = {MAP(SIXISLAND_HARBOR), 0x08, 0x05},
- [SEAGALLOP_SEVEN_ISLAND] = {MAP(SEVENISLAND_HARBOR), 0x08, 0x05},
- [SEAGALLOP_CINNABAR_ISLAND] = {MAP(CINNABARISLAND), 0x15, 0x07},
- [SEAGALLOP_NAVEL_ROCK] = {MAP(NAVELROCK_HARBOR), 0x08, 0x05},
- [SEAGALLOP_BIRTH_ISLAND] = {MAP(BIRTHISLAND_HARBOR), 0x08, 0x05}
+ [SEAGALLOP_VERMILION_CITY] = {MAP(VERMILION_CITY), 0x17, 0x20},
+ [SEAGALLOP_ONE_ISLAND] = {MAP(ONE_ISLAND_HARBOR), 0x08, 0x05},
+ [SEAGALLOP_TWO_ISLAND] = {MAP(TWO_ISLAND_HARBOR), 0x08, 0x05},
+ [SEAGALLOP_THREE_ISLAND] = {MAP(THREE_ISLAND_HARBOR), 0x08, 0x05},
+ [SEAGALLOP_FOUR_ISLAND] = {MAP(FOUR_ISLAND_HARBOR), 0x08, 0x05},
+ [SEAGALLOP_FIVE_ISLAND] = {MAP(FIVE_ISLAND_HARBOR), 0x08, 0x05},
+ [SEAGALLOP_SIX_ISLAND] = {MAP(SIX_ISLAND_HARBOR), 0x08, 0x05},
+ [SEAGALLOP_SEVEN_ISLAND] = {MAP(SEVEN_ISLAND_HARBOR), 0x08, 0x05},
+ [SEAGALLOP_CINNABAR_ISLAND] = {MAP(CINNABAR_ISLAND), 0x15, 0x07},
+ [SEAGALLOP_NAVEL_ROCK] = {MAP(NAVEL_ROCK_HARBOR), 0x08, 0x05},
+ [SEAGALLOP_BIRTH_ISLAND] = {MAP(BIRTH_ISLAND_HARBOR), 0x08, 0x05}
};
// Bitpacked array. In the commented section, right-most bit is the
diff --git a/tileset_rules.mk b/tileset_rules.mk
new file mode 100644
index 000000000..7e994e24f
--- /dev/null
+++ b/tileset_rules.mk
@@ -0,0 +1,202 @@
+TILESETGFXDIR := data/tilesets
+
+$(TILESETGFXDIR)/primary/82D4BB4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 640
+
+$(TILESETGFXDIR)/primary/82D4A94/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 640
+
+$(TILESETGFXDIR)/secondary/82D4AAC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 76
+
+$(TILESETGFXDIR)/secondary/82D4B0C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 256
+
+$(TILESETGFXDIR)/secondary/82D4B6C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 128
+
+$(TILESETGFXDIR)/secondary/82D4BE4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 376
+
+$(TILESETGFXDIR)/secondary/82D4C44/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 632
+
+$(TILESETGFXDIR)/secondary/82D4CA4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 92
+
+$(TILESETGFXDIR)/secondary/82D4D04/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 207
+
+$(TILESETGFXDIR)/secondary/82D4D64/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 82
+
+$(TILESETGFXDIR)/secondary/82D4DC4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 101
+
+$(TILESETGFXDIR)/secondary/82D4E24/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 318
+
+$(TILESETGFXDIR)/secondary/82D4E84/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 152
+
+$(TILESETGFXDIR)/secondary/82D4EE4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 50
+
+$(TILESETGFXDIR)/secondary/82D4F44/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 76
+
+$(TILESETGFXDIR)/secondary/82D4FA4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 172
+
+$(TILESETGFXDIR)/secondary/82D5004/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 101
+
+$(TILESETGFXDIR)/secondary/82D5064/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 374
+
+$(TILESETGFXDIR)/secondary/82D50C4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 340
+
+$(TILESETGFXDIR)/secondary/82D4AC4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 112
+
+$(TILESETGFXDIR)/secondary/82D4B24/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 140
+
+$(TILESETGFXDIR)/secondary/82D4B84/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 247
+
+$(TILESETGFXDIR)/secondary/82D4BFC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 256
+
+$(TILESETGFXDIR)/secondary/82D4C5C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 60
+
+$(TILESETGFXDIR)/secondary/82D4CBC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 90
+
+$(TILESETGFXDIR)/secondary/82D4D1C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 119
+
+$(TILESETGFXDIR)/secondary/82D4D7C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 146
+
+$(TILESETGFXDIR)/secondary/82D4DDC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 144
+
+$(TILESETGFXDIR)/secondary/82D4E3C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 144
+
+$(TILESETGFXDIR)/secondary/82D4E9C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 80
+
+$(TILESETGFXDIR)/secondary/82D4EFC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 128
+
+$(TILESETGFXDIR)/secondary/82D4F5C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 50
+
+$(TILESETGFXDIR)/secondary/82D4FBC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 2
+
+$(TILESETGFXDIR)/secondary/82D501C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 282
+
+$(TILESETGFXDIR)/secondary/82D507C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 374
+
+$(TILESETGFXDIR)/secondary/82D50DC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 208
+
+$(TILESETGFXDIR)/secondary/82D4ADC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 280
+
+$(TILESETGFXDIR)/secondary/82D4B3C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 244
+
+$(TILESETGFXDIR)/secondary/82D4B9C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 262
+
+$(TILESETGFXDIR)/secondary/82D4C14/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 2
+
+$(TILESETGFXDIR)/secondary/82D4C74/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 63
+
+$(TILESETGFXDIR)/secondary/82D4CD4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 383
+
+$(TILESETGFXDIR)/secondary/82D4D34/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 247
+
+$(TILESETGFXDIR)/secondary/82D4D94/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 245
+
+$(TILESETGFXDIR)/secondary/82D4DF4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 256
+
+$(TILESETGFXDIR)/secondary/82D4E54/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 246
+
+$(TILESETGFXDIR)/secondary/82D4EB4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 68
+
+$(TILESETGFXDIR)/secondary/82D4F14/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 90
+
+$(TILESETGFXDIR)/secondary/82D4F74/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 85
+
+$(TILESETGFXDIR)/secondary/82D4FD4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 2
+
+$(TILESETGFXDIR)/secondary/82D5034/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 74
+
+$(TILESETGFXDIR)/secondary/82D5094/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 343
+
+$(TILESETGFXDIR)/secondary/82D4AF4/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 158
+
+$(TILESETGFXDIR)/secondary/82D4B54/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 191
+
+$(TILESETGFXDIR)/secondary/82D4BCC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 36
+
+$(TILESETGFXDIR)/secondary/82D4C2C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 137
+
+$(TILESETGFXDIR)/secondary/82D4C8C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 102
+
+$(TILESETGFXDIR)/secondary/82D4CEC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 171
+
+$(TILESETGFXDIR)/secondary/82D4D4C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 103
+
+$(TILESETGFXDIR)/secondary/82D4DAC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 2
+
+$(TILESETGFXDIR)/secondary/82D4E0C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 248
+
+$(TILESETGFXDIR)/secondary/82D4E6C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 201
+
+$(TILESETGFXDIR)/secondary/82D4F2C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 350
+
+$(TILESETGFXDIR)/secondary/82D4F8C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 384
+
+$(TILESETGFXDIR)/secondary/82D4FEC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 288
+
+$(TILESETGFXDIR)/secondary/82D504C/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 374
+
+$(TILESETGFXDIR)/secondary/82D50AC/tiles.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 165
diff --git a/tools/mapjson/mapjson.cpp b/tools/mapjson/mapjson.cpp
index 1cf196fda..607d2bf7d 100644
--- a/tools/mapjson/mapjson.cpp
+++ b/tools/mapjson/mapjson.cpp
@@ -29,6 +29,7 @@ using json11::Json;
#include "mapjson.h"
+string version;
string read_text_file(string filepath) {
ifstream in_file(filepath);
@@ -60,7 +61,7 @@ void write_text_file(string filepath, string text) {
out_file.close();
}
-string generate_map_header_text(Json map_data, Json layouts_data, string version) {
+string generate_map_header_text(Json map_data, Json layouts_data) {
string map_layout_id = map_data["layout"].string_value();
vector<Json> matched;
@@ -77,7 +78,7 @@ string generate_map_header_text(Json map_data, Json layouts_data, string version
ostringstream text;
- text << map_data["name"].string_value() << ":\n"
+ text << map_data["name"].string_value() << "::\n"
<< "\t.4byte " << layout["name"].string_value() << "\n";
if (map_data.object_items().find("shared_events_map") != map_data.object_items().end())
@@ -91,7 +92,7 @@ string generate_map_header_text(Json map_data, Json layouts_data, string version
text << "\t.4byte " << map_data["name"].string_value() << "_MapScripts\n";
if (map_data.object_items().find("connections") != map_data.object_items().end()
- && map_data["connections"].array_items().size() > 0)
+ && map_data["connections"].array_items().size() > 0 && map_data["connections_no_include"] == Json())
text << "\t.4byte " << map_data["name"].string_value() << "_MapConnections\n";
else
text << "\t.4byte 0x0\n";
@@ -101,17 +102,27 @@ string generate_map_header_text(Json map_data, Json layouts_data, string version
<< "\t.byte " << map_data["region_map_section"].string_value() << "\n"
<< "\t.byte " << map_data["requires_flash"].bool_value() << "\n"
<< "\t.byte " << map_data["weather"].string_value() << "\n"
- << "\t.byte " << map_data["map_type"].string_value() << "\n"
- << "\t.2byte 0\n";
+ << "\t.byte " << map_data["map_type"].string_value() << "\n";
- if (version == "ruby")
+ if (version == "firered")
+ text << "\t.byte " << map_data["unknown_18"].int_value() << "\n"
+ << "\t.byte " << map_data["unknown_19"].int_value() << "\n";
+ else
+ text << "\t.2byte 0\n";
+
+ if (version == "ruby") {
text << "\t.byte " << map_data["show_map_name"].bool_value() << "\n";
- else if (version == "emerald")
+ }
+ else if (version == "emerald") {
text << "\tmap_header_flags "
<< "allow_bike=" << map_data["allow_bike"].bool_value() << ", "
<< "allow_escape_rope=" << map_data["allow_escape_rope"].bool_value() << ", "
<< "allow_run=" << map_data["allow_running"].bool_value() << ", "
<< "show_map_name=" << map_data["show_map_name"].bool_value() << "\n";
+ }
+ else if (version == "firered") {
+ text << "\t.byte " << map_data["elevator_flag"].int_value() << "\n";
+ }
text << "\t.byte " << map_data["battle_scene"].string_value() << "\n\n";
@@ -124,7 +135,7 @@ string generate_map_connections_text(Json map_data) {
ostringstream text;
- text << map_data["name"].string_value() << "_MapConnectionsList:\n";
+ text << map_data["name"].string_value() << "_MapConnectionsList::\n";
for (auto &connection : map_data["connections"].array_items()) {
text << "\tconnection "
@@ -133,7 +144,7 @@ string generate_map_connections_text(Json map_data) {
<< connection["map"].string_value() << "\n";
}
- text << "\n" << map_data["name"].string_value() << "_MapConnections:\n"
+ text << "\n" << map_data["name"].string_value() << "_MapConnections::\n"
<< "\t.4byte " << map_data["connections"].array_items().size() << "\n"
<< "\t.4byte " << map_data["name"].string_value() << "_MapConnectionsList\n\n";
@@ -253,13 +264,120 @@ string generate_map_events_text(Json map_data) {
return text.str();
}
+string generate_firered_map_events_text(Json map_data) {
+ ostringstream text;
+
+ string objects_label, warps_label, coords_label, bgs_label;
+
+ if (map_data["object_events"].array_items().size() > 0) {
+ objects_label = map_data["name"].string_value() + "_EventObjects";
+ text << objects_label << "::\n";
+ for (unsigned int i = 0; i < map_data["object_events"].array_items().size(); i++) {
+ auto obj_event = map_data["object_events"].array_items()[i];
+ text << "\tobject_event " << i + 1 << ", "
+ << obj_event["graphics_id"].string_value() << ", "
+ << obj_event["x"].int_value() << ", "
+ << obj_event["y"].int_value() << ", "
+ << obj_event["elevation"].int_value() << ", "
+ << obj_event["movement_type"].string_value() << ", "
+ << obj_event["movement_range_x"].int_value() << ", "
+ << obj_event["movement_range_y"].int_value() << ", "
+ << obj_event["trainer_type"].int_value() << ", "
+ << obj_event["trainer_sight_or_berry_tree_id"].int_value() << ", "
+ << obj_event["script"].string_value() << ", "
+ << obj_event["flag"].string_value() << "\n";
+ }
+ text << "\n";
+ } else {
+ objects_label = "0x0";
+ }
+
+ if (map_data["warp_events"].array_items().size() > 0) {
+ warps_label = map_data["name"].string_value() + "_MapWarps";
+ text << warps_label << "::\n";
+ for (auto &warp_event : map_data["warp_events"].array_items()) {
+ text << "\twarp_def "
+ << warp_event["x"].int_value() << ", "
+ << warp_event["y"].int_value() << ", "
+ << warp_event["elevation"].int_value() << ", "
+ << warp_event["dest_warp_id"].int_value() << ", "
+ << warp_event["dest_map"].string_value() << "\n";
+ }
+ text << "\n";
+ } else {
+ warps_label = "0x0";
+ }
+
+ if (map_data["coord_events"].array_items().size() > 0) {
+ coords_label = map_data["name"].string_value() + "_MapCoordEvents";
+ text << coords_label << "::\n";
+ for (auto &coord_event : map_data["coord_events"].array_items()) {
+ if (coord_event["type"].string_value() == "trigger") {
+ text << "\tcoord_event "
+ << coord_event["x"].int_value() << ", "
+ << coord_event["y"].int_value() << ", "
+ << coord_event["elevation"].int_value() << ", 0, "
+ << coord_event["var"].string_value() << ", "
+ << coord_event["var_value"].int_value() << ", 0, "
+ << coord_event["script"].string_value() << "\n";
+ }
+ else if (coord_event["type"] == "weather") {
+ text << "\tcoord_weather_event "
+ << coord_event["x"].int_value() << ", "
+ << coord_event["y"].int_value() << ", "
+ << coord_event["elevation"].int_value() << ", "
+ << coord_event["weather"].string_value() << "\n";
+ }
+ }
+ text << "\n";
+ } else {
+ coords_label = "0x0";
+ }
+
+ if (map_data["bg_events"].array_items().size() > 0) {
+ bgs_label = map_data["name"].string_value() + "_MapBGEvents";
+ text << bgs_label << "::\n";
+ for (auto &bg_event : map_data["bg_events"].array_items()) {
+ if (bg_event["type"] == "hidden_item") {
+ text << "\tbg_hidden_item_event "
+ << bg_event["x"].int_value() << ", "
+ << bg_event["y"].int_value() << ", "
+ << bg_event["elevation"].int_value() << ", "
+ << bg_event["item"].string_value() << ", "
+ << bg_event["flag"].string_value() << ", "
+ << bg_event["unknown"].int_value() << "\n";
+ }
+ else {
+ string type_string = bg_event["type"].string_value();
+ type_string.erase(0, 14);
+ int type = std::stoi(type_string);
+ text << "\tbg_event "
+ << bg_event["x"].int_value() << ", "
+ << bg_event["y"].int_value() << ", "
+ << bg_event["elevation"].int_value() << ", "
+ << type << ", 0, "
+ << bg_event["script"].string_value() << "\n";
+ }
+ }
+ text << "\n";
+ } else {
+ bgs_label = "0x0";
+ }
+
+ text << map_data["name"].string_value() << "_MapEvents::\n"
+ << "\tmap_events " << objects_label << ", " << warps_label << ", "
+ << coords_label << ", " << bgs_label << "\n\n";
+
+ return text.str();
+}
+
string get_directory_name(string filename) {
size_t dir_pos = filename.find_last_of("/\\");
return filename.substr(0, dir_pos + 1);
}
-void process_map(string map_filepath, string layouts_filepath, string version) {
+void process_map(string map_filepath, string layouts_filepath) {
string mapdata_err, layouts_err;
string mapdata_json_text = read_text_file(map_filepath);
@@ -273,8 +391,9 @@ void process_map(string map_filepath, string layouts_filepath, string version) {
if (layouts_data == Json())
FATAL_ERROR("%s\n", layouts_err.c_str());
- string header_text = generate_map_header_text(map_data, layouts_data, version);
- string events_text = generate_map_events_text(map_data);
+ string header_text = generate_map_header_text(map_data, layouts_data);
+ string events_text = version == "firered" ? generate_firered_map_events_text(map_data)
+ : generate_map_events_text(map_data);
string connections_text = generate_map_connections_text(map_data);
string files_dir = get_directory_name(map_filepath);
@@ -295,7 +414,10 @@ string generate_groups_text(Json groups_data) {
text << "\n";
}
- text << "\t.align 2\n" << "gMapGroups::\n";
+ if (version != "firered")
+ text << "\t.align 2\n";
+
+ text << "gMapGroups::\n";
for (auto &group : groups_data["group_order"].array_items())
text << "\t.4byte " << group.string_value() << "\n";
text << "\n";
@@ -429,6 +551,7 @@ string generate_layout_headers_text(Json layouts_data) {
ostringstream text;
for (auto &layout : layouts_data["layouts"].array_items()) {
+ if (layout == Json::object()) continue;
string border_label = layout["name"].string_value() + "_Border";
string blockdata_label = layout["name"].string_value() + "_Blockdata";
text << border_label << "::\n"
@@ -442,7 +565,15 @@ string generate_layout_headers_text(Json layouts_data) {
<< "\t.4byte " << border_label << "\n"
<< "\t.4byte " << blockdata_label << "\n"
<< "\t.4byte " << layout["primary_tileset"].string_value() << "\n"
- << "\t.4byte " << layout["secondary_tileset"].string_value() << "\n\n";
+ << "\t.4byte " << layout["secondary_tileset"].string_value() << "\n";
+
+ if (version == "firered") {
+ text << "\t.byte " << layout["border_width"].int_value() << "\n"
+ << "\t.byte " << layout["border_height"].int_value() << "\n"
+ << "\t.2byte 0\n";
+ }
+
+ text << "\n";
}
return text.str();
@@ -454,8 +585,11 @@ string generate_layouts_table_text(Json layouts_data) {
text << "\t.align 2\n"
<< layouts_data["layouts_table_label"].string_value() << "::\n";
- for (auto &layout : layouts_data["layouts"].array_items())
- text << "\t.4byte " << layout["name"].string_value() << "\n";
+ for (auto &layout : layouts_data["layouts"].array_items()) {
+ string layout_name = layout["name"].string_value();
+ if (layout_name.empty()) layout_name = "NULL";
+ text << "\t.4byte " << layout_name << "\n";
+ }
return text.str();
}
@@ -466,9 +600,12 @@ string generate_layouts_constants_text(Json layouts_data) {
text << "#ifndef GUARD_CONSTANTS_LAYOUTS_H\n"
<< "#define GUARD_CONSTANTS_LAYOUTS_H\n\n";
- int i = 0;
- for (auto &layout : layouts_data["layouts"].array_items())
- text << "#define " << layout["id"].string_value() << " " << ++i << "\n";
+ int i = 1;
+ for (auto &layout : layouts_data["layouts"].array_items()) {
+ if (layout != Json::object())
+ text << "#define " << layout["id"].string_value() << " " << i << "\n";
+ i++;
+ }
text << "\n#endif // GUARD_CONSTANTS_LAYOUTS_H\n";
@@ -498,10 +635,9 @@ int main(int argc, char *argv[]) {
if (argc < 3)
FATAL_ERROR("USAGE: mapjson <mode> <game-version> [options]\n");
- char *version_arg = argv[2];
- string version(version_arg);
- if (version != "emerald" && version != "ruby")
- FATAL_ERROR("ERROR: <game-version> must be 'emerald' or 'ruby'.\n");
+ version = argv[2];
+ if (version != "emerald" && version != "ruby" && version != "firered")
+ FATAL_ERROR("ERROR: <game-version> must be 'emerald', 'firered', or 'ruby'.\n");
char *mode_arg = argv[1];
string mode(mode_arg);
@@ -515,7 +651,7 @@ int main(int argc, char *argv[]) {
string filepath(argv[3]);
string layouts_filepath(argv[4]);
- process_map(filepath, layouts_filepath, version);
+ process_map(filepath, layouts_filepath);
}
else if (mode == "groups") {
if (argc != 4)