summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-07-12 21:42:18 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-07-12 21:42:18 -0500
commit05c1d40e3d32674d56f925eb7e74b8a4131e0f2b (patch)
tree2669da4bbda21db0f5fb723217815f108377264b /data
parente1170a09c9a870f209f2b2f8fe3bd4fc3e9a263a (diff)
Use region map section constants in map headers
Diffstat (limited to 'data')
-rw-r--r--data/maps.s1
-rw-r--r--data/maps/AbandonedShip_CaptainsOffice/header.inc2
-rw-r--r--data/maps/AbandonedShip_Corridors_1F/header.inc2
-rw-r--r--data/maps/AbandonedShip_Corridors_B1F/header.inc2
-rw-r--r--data/maps/AbandonedShip_Deck/header.inc2
-rw-r--r--data/maps/AbandonedShip_HiddenFloorCorridors/header.inc2
-rw-r--r--data/maps/AbandonedShip_HiddenFloorRooms/header.inc2
-rw-r--r--data/maps/AbandonedShip_Room_B1F/header.inc2
-rw-r--r--data/maps/AbandonedShip_Rooms2_1F/header.inc2
-rw-r--r--data/maps/AbandonedShip_Rooms2_B1F/header.inc2
-rw-r--r--data/maps/AbandonedShip_Rooms_1F/header.inc2
-rw-r--r--data/maps/AbandonedShip_Rooms_B1F/header.inc2
-rw-r--r--data/maps/AbandonedShip_Underwater1/header.inc2
-rw-r--r--data/maps/AbandonedShip_Underwater2/header.inc2
-rw-r--r--data/maps/AncientTomb/header.inc2
-rw-r--r--data/maps/AquaHideout_1F/header.inc2
-rw-r--r--data/maps/AquaHideout_B1F/header.inc2
-rw-r--r--data/maps/AquaHideout_B2F/header.inc2
-rw-r--r--data/maps/BattleTower_BattleRoom/header.inc2
-rw-r--r--data/maps/BattleTower_Corridor/header.inc2
-rw-r--r--data/maps/BattleTower_Elevator/header.inc2
-rw-r--r--data/maps/BattleTower_Lobby/header.inc2
-rw-r--r--data/maps/BattleTower_Outside/header.inc2
-rw-r--r--data/maps/CaveOfOrigin_1F/header.inc2
-rw-r--r--data/maps/CaveOfOrigin_B1F/header.inc2
-rw-r--r--data/maps/CaveOfOrigin_B2F/header.inc2
-rw-r--r--data/maps/CaveOfOrigin_B3F/header.inc2
-rw-r--r--data/maps/CaveOfOrigin_B4F/header.inc2
-rw-r--r--data/maps/CaveOfOrigin_Entrance/header.inc2
-rw-r--r--data/maps/DesertRuins/header.inc2
-rw-r--r--data/maps/DewfordTown/header.inc2
-rw-r--r--data/maps/DewfordTown_Gym/header.inc2
-rw-r--r--data/maps/DewfordTown_Hall/header.inc2
-rw-r--r--data/maps/DewfordTown_House1/header.inc2
-rw-r--r--data/maps/DewfordTown_House2/header.inc2
-rw-r--r--data/maps/DewfordTown_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/DewfordTown_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/DoubleBattleColosseum/header.inc2
-rw-r--r--data/maps/EverGrandeCity/header.inc2
-rw-r--r--data/maps/EverGrandeCity_ChampionsRoom/header.inc2
-rw-r--r--data/maps/EverGrandeCity_Corridor1/header.inc2
-rw-r--r--data/maps/EverGrandeCity_Corridor2/header.inc2
-rw-r--r--data/maps/EverGrandeCity_Corridor3/header.inc2
-rw-r--r--data/maps/EverGrandeCity_Corridor4/header.inc2
-rw-r--r--data/maps/EverGrandeCity_Corridor5/header.inc2
-rw-r--r--data/maps/EverGrandeCity_DrakesRoom/header.inc2
-rw-r--r--data/maps/EverGrandeCity_GlaciasRoom/header.inc2
-rw-r--r--data/maps/EverGrandeCity_HallOfFame/header.inc2
-rw-r--r--data/maps/EverGrandeCity_PhoebesRoom/header.inc2
-rw-r--r--data/maps/EverGrandeCity_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/EverGrandeCity_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/EverGrandeCity_PokemonLeague/header.inc2
-rw-r--r--data/maps/EverGrandeCity_SidneysRoom/header.inc2
-rw-r--r--data/maps/FallarborTown/header.inc2
-rw-r--r--data/maps/FallarborTown_ContestHall/header.inc2
-rw-r--r--data/maps/FallarborTown_ContestLobby/header.inc2
-rw-r--r--data/maps/FallarborTown_House1/header.inc2
-rw-r--r--data/maps/FallarborTown_House2/header.inc2
-rw-r--r--data/maps/FallarborTown_Mart/header.inc2
-rw-r--r--data/maps/FallarborTown_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/FallarborTown_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/FieryPath/header.inc2
-rw-r--r--data/maps/FortreeCity/header.inc2
-rw-r--r--data/maps/FortreeCity_DecorationShop/header.inc2
-rw-r--r--data/maps/FortreeCity_Gym/header.inc2
-rw-r--r--data/maps/FortreeCity_House1/header.inc2
-rw-r--r--data/maps/FortreeCity_House2/header.inc2
-rw-r--r--data/maps/FortreeCity_House3/header.inc2
-rw-r--r--data/maps/FortreeCity_House4/header.inc2
-rw-r--r--data/maps/FortreeCity_House5/header.inc2
-rw-r--r--data/maps/FortreeCity_Mart/header.inc2
-rw-r--r--data/maps/FortreeCity_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/FortreeCity_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/GraniteCave_1F/header.inc2
-rw-r--r--data/maps/GraniteCave_B1F/header.inc2
-rw-r--r--data/maps/GraniteCave_B2F/header.inc2
-rw-r--r--data/maps/GraniteCave_StevensRoom/header.inc2
-rw-r--r--data/maps/InsideOfTruck/header.inc2
-rw-r--r--data/maps/IslandCave/header.inc2
-rw-r--r--data/maps/JaggedPass/header.inc2
-rw-r--r--data/maps/LavaridgeTown/header.inc2
-rw-r--r--data/maps/LavaridgeTown_Gym_1F/header.inc2
-rw-r--r--data/maps/LavaridgeTown_Gym_B1F/header.inc2
-rw-r--r--data/maps/LavaridgeTown_HerbShop/header.inc2
-rw-r--r--data/maps/LavaridgeTown_House/header.inc2
-rw-r--r--data/maps/LavaridgeTown_Mart/header.inc2
-rw-r--r--data/maps/LavaridgeTown_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/LavaridgeTown_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/LilycoveCity/header.inc2
-rw-r--r--data/maps/LilycoveCity_ContestHall/header.inc2
-rw-r--r--data/maps/LilycoveCity_ContestLobby/header.inc2
-rw-r--r--data/maps/LilycoveCity_CoveLilyMotel_1F/header.inc2
-rw-r--r--data/maps/LilycoveCity_CoveLilyMotel_2F/header.inc2
-rw-r--r--data/maps/LilycoveCity_DepartmentStoreElevator/header.inc2
-rw-r--r--data/maps/LilycoveCity_DepartmentStoreRooftop/header.inc2
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_1F/header.inc2
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_2F/header.inc2
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_3F/header.inc2
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_4F/header.inc2
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_5F/header.inc2
-rw-r--r--data/maps/LilycoveCity_EmptyMap/header.inc2
-rw-r--r--data/maps/LilycoveCity_Harbor/header.inc2
-rw-r--r--data/maps/LilycoveCity_House1/header.inc2
-rw-r--r--data/maps/LilycoveCity_House2/header.inc2
-rw-r--r--data/maps/LilycoveCity_House3/header.inc2
-rw-r--r--data/maps/LilycoveCity_House4/header.inc2
-rw-r--r--data/maps/LilycoveCity_LilycoveMuseum_1F/header.inc2
-rw-r--r--data/maps/LilycoveCity_LilycoveMuseum_2F/header.inc2
-rw-r--r--data/maps/LilycoveCity_MoveDeletersHouse/header.inc2
-rw-r--r--data/maps/LilycoveCity_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/LilycoveCity_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/LilycoveCity_PokemonTrainerFanClub/header.inc2
-rw-r--r--data/maps/LilycoveCity_UnusedMart/header.inc2
-rw-r--r--data/maps/LinkContestRoom1/header.inc2
-rw-r--r--data/maps/LinkContestRoom2/header.inc2
-rw-r--r--data/maps/LinkContestRoom3/header.inc2
-rw-r--r--data/maps/LinkContestRoom4/header.inc2
-rw-r--r--data/maps/LinkContestRoom5/header.inc2
-rw-r--r--data/maps/LinkContestRoom6/header.inc2
-rw-r--r--data/maps/LittlerootTown/header.inc2
-rw-r--r--data/maps/LittlerootTown_BrendansHouse_1F/header.inc2
-rw-r--r--data/maps/LittlerootTown_BrendansHouse_2F/header.inc2
-rw-r--r--data/maps/LittlerootTown_MaysHouse_1F/header.inc2
-rw-r--r--data/maps/LittlerootTown_MaysHouse_2F/header.inc2
-rw-r--r--data/maps/LittlerootTown_ProfessorBirchsLab/header.inc2
-rw-r--r--data/maps/MagmaHideout_1F/header.inc2
-rw-r--r--data/maps/MagmaHideout_B1F/header.inc2
-rw-r--r--data/maps/MagmaHideout_B2F/header.inc2
-rw-r--r--data/maps/MauvilleCity/header.inc2
-rw-r--r--data/maps/MauvilleCity_BikeShop/header.inc2
-rw-r--r--data/maps/MauvilleCity_GameCorner/header.inc2
-rw-r--r--data/maps/MauvilleCity_Gym/header.inc2
-rw-r--r--data/maps/MauvilleCity_House1/header.inc2
-rw-r--r--data/maps/MauvilleCity_House2/header.inc2
-rw-r--r--data/maps/MauvilleCity_Mart/header.inc2
-rw-r--r--data/maps/MauvilleCity_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/MauvilleCity_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/MeteorFalls_1F_1R/header.inc2
-rw-r--r--data/maps/MeteorFalls_1F_2R/header.inc2
-rw-r--r--data/maps/MeteorFalls_B1F_1R/header.inc2
-rw-r--r--data/maps/MeteorFalls_B1F_2R/header.inc2
-rw-r--r--data/maps/MossdeepCity/header.inc2
-rw-r--r--data/maps/MossdeepCity_GameCorner_1F/header.inc2
-rw-r--r--data/maps/MossdeepCity_GameCorner_B1F/header.inc2
-rw-r--r--data/maps/MossdeepCity_Gym/header.inc2
-rw-r--r--data/maps/MossdeepCity_House1/header.inc2
-rw-r--r--data/maps/MossdeepCity_House2/header.inc2
-rw-r--r--data/maps/MossdeepCity_House3/header.inc2
-rw-r--r--data/maps/MossdeepCity_House4/header.inc2
-rw-r--r--data/maps/MossdeepCity_Mart/header.inc2
-rw-r--r--data/maps/MossdeepCity_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/MossdeepCity_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/MossdeepCity_SpaceCenter_1F/header.inc2
-rw-r--r--data/maps/MossdeepCity_SpaceCenter_2F/header.inc2
-rw-r--r--data/maps/MossdeepCity_StevensHouse/header.inc2
-rw-r--r--data/maps/MtChimney/header.inc2
-rw-r--r--data/maps/MtChimney_CableCarStation/header.inc2
-rw-r--r--data/maps/MtPyre_1F/header.inc2
-rw-r--r--data/maps/MtPyre_2F/header.inc2
-rw-r--r--data/maps/MtPyre_3F/header.inc2
-rw-r--r--data/maps/MtPyre_4F/header.inc2
-rw-r--r--data/maps/MtPyre_5F/header.inc2
-rw-r--r--data/maps/MtPyre_6F/header.inc2
-rw-r--r--data/maps/MtPyre_Exterior/header.inc2
-rw-r--r--data/maps/MtPyre_Summit/header.inc2
-rw-r--r--data/maps/NewMauville_Entrance/header.inc2
-rw-r--r--data/maps/NewMauville_Inside/header.inc2
-rw-r--r--data/maps/OldaleTown/header.inc2
-rw-r--r--data/maps/OldaleTown_House1/header.inc2
-rw-r--r--data/maps/OldaleTown_House2/header.inc2
-rw-r--r--data/maps/OldaleTown_Mart/header.inc2
-rw-r--r--data/maps/OldaleTown_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/OldaleTown_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/PacifidlogTown/header.inc2
-rw-r--r--data/maps/PacifidlogTown_House1/header.inc2
-rw-r--r--data/maps/PacifidlogTown_House2/header.inc2
-rw-r--r--data/maps/PacifidlogTown_House3/header.inc2
-rw-r--r--data/maps/PacifidlogTown_House4/header.inc2
-rw-r--r--data/maps/PacifidlogTown_House5/header.inc2
-rw-r--r--data/maps/PacifidlogTown_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/PacifidlogTown_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/PetalburgCity/header.inc2
-rw-r--r--data/maps/PetalburgCity_Gym/header.inc2
-rw-r--r--data/maps/PetalburgCity_House1/header.inc2
-rw-r--r--data/maps/PetalburgCity_House2/header.inc2
-rw-r--r--data/maps/PetalburgCity_Mart/header.inc2
-rw-r--r--data/maps/PetalburgCity_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/PetalburgCity_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/PetalburgCity_WallysHouse/header.inc2
-rw-r--r--data/maps/PetalburgWoods/header.inc2
-rw-r--r--data/maps/RecordCorner/header.inc2
-rw-r--r--data/maps/Route101/header.inc2
-rw-r--r--data/maps/Route102/header.inc2
-rw-r--r--data/maps/Route103/header.inc2
-rw-r--r--data/maps/Route104/header.inc2
-rw-r--r--data/maps/Route104_MrBrineysHouse/header.inc2
-rw-r--r--data/maps/Route104_PrettyPetalFlowerShop/header.inc2
-rw-r--r--data/maps/Route104_Prototype/header.inc2
-rw-r--r--data/maps/Route104_PrototypePrettyPetalFlowerShop/header.inc2
-rw-r--r--data/maps/Route105/header.inc2
-rw-r--r--data/maps/Route106/header.inc2
-rw-r--r--data/maps/Route107/header.inc2
-rw-r--r--data/maps/Route108/header.inc2
-rw-r--r--data/maps/Route109/header.inc2
-rw-r--r--data/maps/Route109_SeashoreHouse/header.inc2
-rw-r--r--data/maps/Route110/header.inc2
-rw-r--r--data/maps/Route110_SeasideCyclingRoadNorthEntrance/header.inc2
-rw-r--r--data/maps/Route110_SeasideCyclingRoadSouthEntrance/header.inc2
-rw-r--r--data/maps/Route110_TrickHouseCorridor/header.inc2
-rw-r--r--data/maps/Route110_TrickHouseEnd/header.inc2
-rw-r--r--data/maps/Route110_TrickHouseEntrance/header.inc2
-rw-r--r--data/maps/Route110_TrickHousePuzzle1/header.inc2
-rw-r--r--data/maps/Route110_TrickHousePuzzle2/header.inc2
-rw-r--r--data/maps/Route110_TrickHousePuzzle3/header.inc2
-rw-r--r--data/maps/Route110_TrickHousePuzzle4/header.inc2
-rw-r--r--data/maps/Route110_TrickHousePuzzle5/header.inc2
-rw-r--r--data/maps/Route110_TrickHousePuzzle6/header.inc2
-rw-r--r--data/maps/Route110_TrickHousePuzzle7/header.inc2
-rw-r--r--data/maps/Route110_TrickHousePuzzle8/header.inc2
-rw-r--r--data/maps/Route111/header.inc2
-rw-r--r--data/maps/Route111_OldLadysRestStop/header.inc2
-rw-r--r--data/maps/Route111_WinstrateFamilysHouse/header.inc2
-rw-r--r--data/maps/Route112/header.inc2
-rw-r--r--data/maps/Route112_CableCarStation/header.inc2
-rw-r--r--data/maps/Route113/header.inc2
-rw-r--r--data/maps/Route113_GlassWorkshop/header.inc2
-rw-r--r--data/maps/Route114/header.inc2
-rw-r--r--data/maps/Route114_FossilManiacsHouse/header.inc2
-rw-r--r--data/maps/Route114_FossilManiacsTunnel/header.inc2
-rw-r--r--data/maps/Route114_LanettesHouse/header.inc2
-rw-r--r--data/maps/Route115/header.inc2
-rw-r--r--data/maps/Route116/header.inc2
-rw-r--r--data/maps/Route116_TunnelersRestHouse/header.inc2
-rw-r--r--data/maps/Route117/header.inc2
-rw-r--r--data/maps/Route117_PokemonDayCare/header.inc2
-rw-r--r--data/maps/Route118/header.inc2
-rw-r--r--data/maps/Route119/header.inc2
-rw-r--r--data/maps/Route119_House/header.inc2
-rw-r--r--data/maps/Route119_WeatherInstitute_1F/header.inc2
-rw-r--r--data/maps/Route119_WeatherInstitute_2F/header.inc2
-rw-r--r--data/maps/Route120/header.inc2
-rw-r--r--data/maps/Route121/header.inc2
-rw-r--r--data/maps/Route121_SafariZoneEntrance/header.inc2
-rw-r--r--data/maps/Route122/header.inc2
-rw-r--r--data/maps/Route123/header.inc2
-rw-r--r--data/maps/Route123_BerryMastersHouse/header.inc2
-rw-r--r--data/maps/Route124/header.inc2
-rw-r--r--data/maps/Route124_DivingTreasureHuntersHouse/header.inc2
-rw-r--r--data/maps/Route125/header.inc2
-rw-r--r--data/maps/Route126/header.inc2
-rw-r--r--data/maps/Route127/header.inc2
-rw-r--r--data/maps/Route128/header.inc2
-rw-r--r--data/maps/Route129/header.inc2
-rw-r--r--data/maps/Route130/header.inc2
-rw-r--r--data/maps/Route131/header.inc2
-rw-r--r--data/maps/Route132/header.inc2
-rw-r--r--data/maps/Route133/header.inc2
-rw-r--r--data/maps/Route134/header.inc2
-rw-r--r--data/maps/RustboroCity/header.inc2
-rw-r--r--data/maps/RustboroCity_CuttersHouse/header.inc2
-rw-r--r--data/maps/RustboroCity_DevonCorp_1F/header.inc2
-rw-r--r--data/maps/RustboroCity_DevonCorp_2F/header.inc2
-rw-r--r--data/maps/RustboroCity_DevonCorp_3F/header.inc2
-rw-r--r--data/maps/RustboroCity_Flat1_1F/header.inc2
-rw-r--r--data/maps/RustboroCity_Flat1_2F/header.inc2
-rw-r--r--data/maps/RustboroCity_Flat2_1F/header.inc2
-rw-r--r--data/maps/RustboroCity_Flat2_2F/header.inc2
-rw-r--r--data/maps/RustboroCity_Flat2_3F/header.inc2
-rw-r--r--data/maps/RustboroCity_Gym/header.inc2
-rw-r--r--data/maps/RustboroCity_House1/header.inc2
-rw-r--r--data/maps/RustboroCity_House2/header.inc2
-rw-r--r--data/maps/RustboroCity_House3/header.inc2
-rw-r--r--data/maps/RustboroCity_Mart/header.inc2
-rw-r--r--data/maps/RustboroCity_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/RustboroCity_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/RustboroCity_PokemonSchool/header.inc2
-rw-r--r--data/maps/RusturfTunnel/header.inc2
-rw-r--r--data/maps/SSTidalCorridor/header.inc2
-rw-r--r--data/maps/SSTidalLowerDeck/header.inc2
-rw-r--r--data/maps/SSTidalRooms/header.inc2
-rw-r--r--data/maps/SafariZone_Northeast/header.inc2
-rw-r--r--data/maps/SafariZone_Northwest/header.inc2
-rw-r--r--data/maps/SafariZone_RestHouse/header.inc2
-rw-r--r--data/maps/SafariZone_Southeast/header.inc2
-rw-r--r--data/maps/SafariZone_Southwest/header.inc2
-rw-r--r--data/maps/ScorchedSlab/header.inc2
-rw-r--r--data/maps/SeafloorCavern_Entrance/header.inc2
-rw-r--r--data/maps/SeafloorCavern_Room1/header.inc2
-rw-r--r--data/maps/SeafloorCavern_Room2/header.inc2
-rw-r--r--data/maps/SeafloorCavern_Room3/header.inc2
-rw-r--r--data/maps/SeafloorCavern_Room4/header.inc2
-rw-r--r--data/maps/SeafloorCavern_Room5/header.inc2
-rw-r--r--data/maps/SeafloorCavern_Room6/header.inc2
-rw-r--r--data/maps/SeafloorCavern_Room7/header.inc2
-rw-r--r--data/maps/SeafloorCavern_Room8/header.inc2
-rw-r--r--data/maps/SeafloorCavern_Room9/header.inc2
-rw-r--r--data/maps/SealedChamber_InnerRoom/header.inc2
-rw-r--r--data/maps/SealedChamber_OuterRoom/header.inc2
-rw-r--r--data/maps/SecretBase_BlueCave1/header.inc2
-rw-r--r--data/maps/SecretBase_BlueCave2/header.inc2
-rw-r--r--data/maps/SecretBase_BlueCave3/header.inc2
-rw-r--r--data/maps/SecretBase_BlueCave4/header.inc2
-rw-r--r--data/maps/SecretBase_BrownCave1/header.inc2
-rw-r--r--data/maps/SecretBase_BrownCave2/header.inc2
-rw-r--r--data/maps/SecretBase_BrownCave3/header.inc2
-rw-r--r--data/maps/SecretBase_BrownCave4/header.inc2
-rw-r--r--data/maps/SecretBase_RedCave1/header.inc2
-rw-r--r--data/maps/SecretBase_RedCave2/header.inc2
-rw-r--r--data/maps/SecretBase_RedCave3/header.inc2
-rw-r--r--data/maps/SecretBase_RedCave4/header.inc2
-rw-r--r--data/maps/SecretBase_Shrub1/header.inc2
-rw-r--r--data/maps/SecretBase_Shrub2/header.inc2
-rw-r--r--data/maps/SecretBase_Shrub3/header.inc2
-rw-r--r--data/maps/SecretBase_Shrub4/header.inc2
-rw-r--r--data/maps/SecretBase_Tree1/header.inc2
-rw-r--r--data/maps/SecretBase_Tree2/header.inc2
-rw-r--r--data/maps/SecretBase_Tree3/header.inc2
-rw-r--r--data/maps/SecretBase_Tree4/header.inc2
-rw-r--r--data/maps/SecretBase_YellowCave1/header.inc2
-rw-r--r--data/maps/SecretBase_YellowCave2/header.inc2
-rw-r--r--data/maps/SecretBase_YellowCave3/header.inc2
-rw-r--r--data/maps/SecretBase_YellowCave4/header.inc2
-rw-r--r--data/maps/ShoalCave_HighTideEntranceRoom/header.inc2
-rw-r--r--data/maps/ShoalCave_HighTideInnerRoom/header.inc2
-rw-r--r--data/maps/ShoalCave_LowTideEntranceRoom/header.inc2
-rw-r--r--data/maps/ShoalCave_LowTideIceRoom/header.inc2
-rw-r--r--data/maps/ShoalCave_LowTideInnerRoom/header.inc2
-rw-r--r--data/maps/ShoalCave_LowTideLowerRoom/header.inc2
-rw-r--r--data/maps/ShoalCave_LowTideStairsRoom/header.inc2
-rw-r--r--data/maps/SingleBattleColosseum/header.inc2
-rw-r--r--data/maps/SkyPillar_1F/header.inc2
-rw-r--r--data/maps/SkyPillar_2F/header.inc2
-rw-r--r--data/maps/SkyPillar_3F/header.inc2
-rw-r--r--data/maps/SkyPillar_4F/header.inc2
-rw-r--r--data/maps/SkyPillar_5F/header.inc2
-rw-r--r--data/maps/SkyPillar_Entrance/header.inc2
-rw-r--r--data/maps/SkyPillar_Outside/header.inc2
-rw-r--r--data/maps/SkyPillar_Top/header.inc2
-rw-r--r--data/maps/SlateportCity/header.inc2
-rw-r--r--data/maps/SlateportCity_ContestHall/header.inc2
-rw-r--r--data/maps/SlateportCity_ContestLobby/header.inc2
-rw-r--r--data/maps/SlateportCity_Harbor/header.inc2
-rw-r--r--data/maps/SlateportCity_House1/header.inc2
-rw-r--r--data/maps/SlateportCity_House2/header.inc2
-rw-r--r--data/maps/SlateportCity_Mart/header.inc2
-rw-r--r--data/maps/SlateportCity_OceanicMuseum_1F/header.inc2
-rw-r--r--data/maps/SlateportCity_OceanicMuseum_2F/header.inc2
-rw-r--r--data/maps/SlateportCity_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/SlateportCity_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/SlateportCity_PokemonFanClub/header.inc2
-rw-r--r--data/maps/SlateportCity_SternsShipyard_1F/header.inc2
-rw-r--r--data/maps/SlateportCity_SternsShipyard_2F/header.inc2
-rw-r--r--data/maps/SootopolisCity/header.inc2
-rw-r--r--data/maps/SootopolisCity_Gym_1F/header.inc2
-rw-r--r--data/maps/SootopolisCity_Gym_B1F/header.inc2
-rw-r--r--data/maps/SootopolisCity_House1/header.inc2
-rw-r--r--data/maps/SootopolisCity_House2/header.inc2
-rw-r--r--data/maps/SootopolisCity_House3/header.inc2
-rw-r--r--data/maps/SootopolisCity_House4/header.inc2
-rw-r--r--data/maps/SootopolisCity_House5/header.inc2
-rw-r--r--data/maps/SootopolisCity_House6/header.inc2
-rw-r--r--data/maps/SootopolisCity_House7/header.inc2
-rw-r--r--data/maps/SootopolisCity_House8/header.inc2
-rw-r--r--data/maps/SootopolisCity_Mart/header.inc2
-rw-r--r--data/maps/SootopolisCity_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/SootopolisCity_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/SouthernIsland_Exterior/header.inc2
-rw-r--r--data/maps/SouthernIsland_Interior/header.inc2
-rw-r--r--data/maps/TradeCenter/header.inc2
-rw-r--r--data/maps/Underwater1/header.inc2
-rw-r--r--data/maps/Underwater2/header.inc2
-rw-r--r--data/maps/Underwater3/header.inc2
-rw-r--r--data/maps/Underwater4/header.inc2
-rw-r--r--data/maps/Underwater_Route134/header.inc2
-rw-r--r--data/maps/Underwater_SeafloorCavern/header.inc2
-rw-r--r--data/maps/Underwater_SealedChamber/header.inc2
-rw-r--r--data/maps/Underwater_SootopolisCity/header.inc2
-rw-r--r--data/maps/UnknownMap_25_29/header.inc2
-rw-r--r--data/maps/UnknownMap_25_30/header.inc2
-rw-r--r--data/maps/UnknownMap_25_31/header.inc2
-rw-r--r--data/maps/UnknownMap_25_32/header.inc2
-rw-r--r--data/maps/UnknownMap_25_33/header.inc2
-rw-r--r--data/maps/UnknownMap_25_34/header.inc2
-rw-r--r--data/maps/VerdanturfTown/header.inc2
-rw-r--r--data/maps/VerdanturfTown_ContestHall/header.inc2
-rw-r--r--data/maps/VerdanturfTown_ContestLobby/header.inc2
-rw-r--r--data/maps/VerdanturfTown_FriendshipRatersHouse/header.inc2
-rw-r--r--data/maps/VerdanturfTown_House/header.inc2
-rw-r--r--data/maps/VerdanturfTown_Mart/header.inc2
-rw-r--r--data/maps/VerdanturfTown_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/VerdanturfTown_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/VerdanturfTown_WandasHouse/header.inc2
-rw-r--r--data/maps/VictoryRoad_1F/header.inc2
-rw-r--r--data/maps/VictoryRoad_B1F/header.inc2
-rw-r--r--data/maps/VictoryRoad_B2F/header.inc2
395 files changed, 395 insertions, 394 deletions
diff --git a/data/maps.s b/data/maps.s
index f8be7f31f..b0cf69d9d 100644
--- a/data/maps.s
+++ b/data/maps.s
@@ -1,4 +1,5 @@
#include "constants/maps.h"
+#include "constants/region_map_sections.h"
#include "constants/songs.h"
.include "include/macros.inc"
.include "constants/constants.inc"
diff --git a/data/maps/AbandonedShip_CaptainsOffice/header.inc b/data/maps/AbandonedShip_CaptainsOffice/header.inc
index 67112ba78..d00ed43da 100644
--- a/data/maps/AbandonedShip_CaptainsOffice/header.inc
+++ b/data/maps/AbandonedShip_CaptainsOffice/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_CaptainsOffice:: @ 8307454
.4byte 0x0
.2byte MUS_DAN02
.2byte 196
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 11
.byte 4
diff --git a/data/maps/AbandonedShip_Corridors_1F/header.inc b/data/maps/AbandonedShip_Corridors_1F/header.inc
index c228ebc29..1f1c3ae27 100644
--- a/data/maps/AbandonedShip_Corridors_1F/header.inc
+++ b/data/maps/AbandonedShip_Corridors_1F/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_Corridors_1F:: @ 8307374
.4byte 0x0
.2byte MUS_DAN02
.2byte 188
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 11
.byte 4
diff --git a/data/maps/AbandonedShip_Corridors_B1F/header.inc b/data/maps/AbandonedShip_Corridors_B1F/header.inc
index bbca3eaba..91bb7808e 100644
--- a/data/maps/AbandonedShip_Corridors_B1F/header.inc
+++ b/data/maps/AbandonedShip_Corridors_B1F/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_Corridors_B1F:: @ 83073AC
.4byte 0x0
.2byte MUS_DAN02
.2byte 190
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 11
.byte 4
diff --git a/data/maps/AbandonedShip_Deck/header.inc b/data/maps/AbandonedShip_Deck/header.inc
index 84b45db3a..86b21b7ff 100644
--- a/data/maps/AbandonedShip_Deck/header.inc
+++ b/data/maps/AbandonedShip_Deck/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_Deck:: @ 8307358
.4byte 0x0
.2byte MUS_DAN02
.2byte 187
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/AbandonedShip_HiddenFloorCorridors/header.inc b/data/maps/AbandonedShip_HiddenFloorCorridors/header.inc
index 99b22902b..ecf1ba891 100644
--- a/data/maps/AbandonedShip_HiddenFloorCorridors/header.inc
+++ b/data/maps/AbandonedShip_HiddenFloorCorridors/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_HiddenFloorCorridors:: @ 830748C
.4byte 0x0
.2byte MUS_DAN02
.2byte 290
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 11
.byte 4
diff --git a/data/maps/AbandonedShip_HiddenFloorRooms/header.inc b/data/maps/AbandonedShip_HiddenFloorRooms/header.inc
index 8f5d464a2..49e5519a1 100644
--- a/data/maps/AbandonedShip_HiddenFloorRooms/header.inc
+++ b/data/maps/AbandonedShip_HiddenFloorRooms/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_HiddenFloorRooms:: @ 83074A8
.4byte 0x0
.2byte MUS_DAN02
.2byte 311
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 11
.byte 4
diff --git a/data/maps/AbandonedShip_Room_B1F/header.inc b/data/maps/AbandonedShip_Room_B1F/header.inc
index 335c10f7a..f0d3167e9 100644
--- a/data/maps/AbandonedShip_Room_B1F/header.inc
+++ b/data/maps/AbandonedShip_Room_B1F/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_Room_B1F:: @ 830741C
.4byte 0x0
.2byte MUS_DAN02
.2byte 194
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 11
.byte 4
diff --git a/data/maps/AbandonedShip_Rooms2_1F/header.inc b/data/maps/AbandonedShip_Rooms2_1F/header.inc
index bb6b7be08..e7b172bd5 100644
--- a/data/maps/AbandonedShip_Rooms2_1F/header.inc
+++ b/data/maps/AbandonedShip_Rooms2_1F/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_Rooms2_1F:: @ 8307438
.4byte 0x0
.2byte MUS_DAN02
.2byte 195
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 11
.byte 4
diff --git a/data/maps/AbandonedShip_Rooms2_B1F/header.inc b/data/maps/AbandonedShip_Rooms2_B1F/header.inc
index 538209d37..7150ed946 100644
--- a/data/maps/AbandonedShip_Rooms2_B1F/header.inc
+++ b/data/maps/AbandonedShip_Rooms2_B1F/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_Rooms2_B1F:: @ 83073E4
.4byte 0x0
.2byte MUS_DAN02
.2byte 192
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 11
.byte 4
diff --git a/data/maps/AbandonedShip_Rooms_1F/header.inc b/data/maps/AbandonedShip_Rooms_1F/header.inc
index 39866961f..6b44c3244 100644
--- a/data/maps/AbandonedShip_Rooms_1F/header.inc
+++ b/data/maps/AbandonedShip_Rooms_1F/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_Rooms_1F:: @ 8307390
.4byte 0x0
.2byte MUS_DAN02
.2byte 189
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 11
.byte 4
diff --git a/data/maps/AbandonedShip_Rooms_B1F/header.inc b/data/maps/AbandonedShip_Rooms_B1F/header.inc
index ac27a4798..e633cb467 100644
--- a/data/maps/AbandonedShip_Rooms_B1F/header.inc
+++ b/data/maps/AbandonedShip_Rooms_B1F/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_Rooms_B1F:: @ 83073C8
.4byte 0x0
.2byte MUS_DAN02
.2byte 191
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 11
.byte 4
diff --git a/data/maps/AbandonedShip_Underwater1/header.inc b/data/maps/AbandonedShip_Underwater1/header.inc
index bf4004eb2..d948fcc74 100644
--- a/data/maps/AbandonedShip_Underwater1/header.inc
+++ b/data/maps/AbandonedShip_Underwater1/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_Underwater1:: @ 8307400
.4byte 0x0
.2byte MUS_DEEPDEEP
.2byte 193
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 14
.byte 5
diff --git a/data/maps/AbandonedShip_Underwater2/header.inc b/data/maps/AbandonedShip_Underwater2/header.inc
index ad7380354..45d3c6008 100644
--- a/data/maps/AbandonedShip_Underwater2/header.inc
+++ b/data/maps/AbandonedShip_Underwater2/header.inc
@@ -5,7 +5,7 @@ AbandonedShip_Underwater2:: @ 8307470
.4byte 0x0
.2byte MUS_DEEPDEEP
.2byte 197
- .byte 61
+ .byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte 14
.byte 5
diff --git a/data/maps/AncientTomb/header.inc b/data/maps/AncientTomb/header.inc
index f559acdd4..f5354ca7e 100644
--- a/data/maps/AncientTomb/header.inc
+++ b/data/maps/AncientTomb/header.inc
@@ -5,7 +5,7 @@ AncientTomb:: @ 83074E0
.4byte 0x0
.2byte MUS_MABOROSI
.2byte 282
- .byte 83
+ .byte MAPSEC_ANCIENT_TOMB
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/AquaHideout_1F/header.inc b/data/maps/AquaHideout_1F/header.inc
index 7fc84658d..f3527ccfd 100644
--- a/data/maps/AquaHideout_1F/header.inc
+++ b/data/maps/AquaHideout_1F/header.inc
@@ -5,7 +5,7 @@ AquaHideout_1F:: @ 8306FF4
.4byte 0x0
.2byte MUS_AJITO
.2byte 144
- .byte 66
+ .byte MAPSEC_EVIL_TEAM_HIDEOUT
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/AquaHideout_B1F/header.inc b/data/maps/AquaHideout_B1F/header.inc
index 94abd0406..82244295e 100644
--- a/data/maps/AquaHideout_B1F/header.inc
+++ b/data/maps/AquaHideout_B1F/header.inc
@@ -5,7 +5,7 @@ AquaHideout_B1F:: @ 8307010
.4byte 0x0
.2byte MUS_AJITO
.2byte 145
- .byte 66
+ .byte MAPSEC_EVIL_TEAM_HIDEOUT
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/AquaHideout_B2F/header.inc b/data/maps/AquaHideout_B2F/header.inc
index c700ac8dd..f72dc8bd3 100644
--- a/data/maps/AquaHideout_B2F/header.inc
+++ b/data/maps/AquaHideout_B2F/header.inc
@@ -5,7 +5,7 @@ AquaHideout_B2F:: @ 830702C
.4byte 0x0
.2byte MUS_AJITO
.2byte 146
- .byte 66
+ .byte MAPSEC_EVIL_TEAM_HIDEOUT
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/BattleTower_BattleRoom/header.inc b/data/maps/BattleTower_BattleRoom/header.inc
index 9712d2535..6e7a51ca5 100644
--- a/data/maps/BattleTower_BattleRoom/header.inc
+++ b/data/maps/BattleTower_BattleRoom/header.inc
@@ -5,7 +5,7 @@ BattleTower_BattleRoom:: @ 8307C88
.4byte 0x0
.2byte MUS_B_TOWER
.2byte 269
- .byte 58
+ .byte MAPSEC_BATTLE_TOWER
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/BattleTower_Corridor/header.inc b/data/maps/BattleTower_Corridor/header.inc
index 33ab24b7c..f0eff7fc3 100644
--- a/data/maps/BattleTower_Corridor/header.inc
+++ b/data/maps/BattleTower_Corridor/header.inc
@@ -5,7 +5,7 @@ BattleTower_Corridor:: @ 8307C6C
.4byte 0x0
.2byte MUS_B_TOWER
.2byte 268
- .byte 58
+ .byte MAPSEC_BATTLE_TOWER
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/BattleTower_Elevator/header.inc b/data/maps/BattleTower_Elevator/header.inc
index 0718e7924..c1e15c213 100644
--- a/data/maps/BattleTower_Elevator/header.inc
+++ b/data/maps/BattleTower_Elevator/header.inc
@@ -5,7 +5,7 @@ BattleTower_Elevator:: @ 8307C50
.4byte 0x0
.2byte MUS_B_TOWER
.2byte 267
- .byte 58
+ .byte MAPSEC_BATTLE_TOWER
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/BattleTower_Lobby/header.inc b/data/maps/BattleTower_Lobby/header.inc
index ae2eaaa14..eeee38922 100644
--- a/data/maps/BattleTower_Lobby/header.inc
+++ b/data/maps/BattleTower_Lobby/header.inc
@@ -5,7 +5,7 @@ BattleTower_Lobby:: @ 8307C34
.4byte 0x0
.2byte MUS_B_TOWER
.2byte 265
- .byte 58
+ .byte MAPSEC_BATTLE_TOWER
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/BattleTower_Outside/header.inc b/data/maps/BattleTower_Outside/header.inc
index 28035f749..5af2c97cb 100644
--- a/data/maps/BattleTower_Outside/header.inc
+++ b/data/maps/BattleTower_Outside/header.inc
@@ -5,7 +5,7 @@ BattleTower_Outside:: @ 8307C18
.4byte 0x0
.2byte MUS_B_TOWER
.2byte 266
- .byte 58
+ .byte MAPSEC_BATTLE_TOWER
.byte 0
.byte 0
.byte 3
diff --git a/data/maps/CaveOfOrigin_1F/header.inc b/data/maps/CaveOfOrigin_1F/header.inc
index 1797ed327..d17d56acc 100644
--- a/data/maps/CaveOfOrigin_1F/header.inc
+++ b/data/maps/CaveOfOrigin_1F/header.inc
@@ -5,7 +5,7 @@ CaveOfOrigin_1F:: @ 8307198
.4byte 0x0
.2byte MUS_DAN03
.2byte 159
- .byte 72
+ .byte MAPSEC_CAVE_OF_ORIGIN
.byte 1
.byte 0
.byte 4
diff --git a/data/maps/CaveOfOrigin_B1F/header.inc b/data/maps/CaveOfOrigin_B1F/header.inc
index d9b38b628..18e24047a 100644
--- a/data/maps/CaveOfOrigin_B1F/header.inc
+++ b/data/maps/CaveOfOrigin_B1F/header.inc
@@ -5,7 +5,7 @@ CaveOfOrigin_B1F:: @ 83071B4
.4byte 0x0
.2byte MUS_DAN03
.2byte 160
- .byte 72
+ .byte MAPSEC_CAVE_OF_ORIGIN
.byte 1
.byte 0
.byte 4
diff --git a/data/maps/CaveOfOrigin_B2F/header.inc b/data/maps/CaveOfOrigin_B2F/header.inc
index 1b3bf2902..e9c6d472a 100644
--- a/data/maps/CaveOfOrigin_B2F/header.inc
+++ b/data/maps/CaveOfOrigin_B2F/header.inc
@@ -5,7 +5,7 @@ CaveOfOrigin_B2F:: @ 83071D0
.4byte 0x0
.2byte MUS_DAN03
.2byte 161
- .byte 72
+ .byte MAPSEC_CAVE_OF_ORIGIN
.byte 1
.byte 6
.byte 4
diff --git a/data/maps/CaveOfOrigin_B3F/header.inc b/data/maps/CaveOfOrigin_B3F/header.inc
index cc196d0c8..80529906d 100644
--- a/data/maps/CaveOfOrigin_B3F/header.inc
+++ b/data/maps/CaveOfOrigin_B3F/header.inc
@@ -5,7 +5,7 @@ CaveOfOrigin_B3F:: @ 83071EC
.4byte 0x0
.2byte MUS_DAN03
.2byte 162
- .byte 72
+ .byte MAPSEC_CAVE_OF_ORIGIN
.byte 1
.byte 6
.byte 4
diff --git a/data/maps/CaveOfOrigin_B4F/header.inc b/data/maps/CaveOfOrigin_B4F/header.inc
index 97a58ddd6..af47ad097 100644
--- a/data/maps/CaveOfOrigin_B4F/header.inc
+++ b/data/maps/CaveOfOrigin_B4F/header.inc
@@ -5,7 +5,7 @@ CaveOfOrigin_B4F:: @ 8307208
.4byte 0x0
.2byte SE_STOP
.2byte 163
- .byte 72
+ .byte MAPSEC_CAVE_OF_ORIGIN
.byte 0
.byte 6
.byte 4
diff --git a/data/maps/CaveOfOrigin_Entrance/header.inc b/data/maps/CaveOfOrigin_Entrance/header.inc
index 70ad445c4..bd63d13d8 100644
--- a/data/maps/CaveOfOrigin_Entrance/header.inc
+++ b/data/maps/CaveOfOrigin_Entrance/header.inc
@@ -5,7 +5,7 @@ CaveOfOrigin_Entrance:: @ 830717C
.4byte 0x0
.2byte MUS_DAN03
.2byte 158
- .byte 72
+ .byte MAPSEC_CAVE_OF_ORIGIN
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/DesertRuins/header.inc b/data/maps/DesertRuins/header.inc
index 4a9ceab39..5181cd77d 100644
--- a/data/maps/DesertRuins/header.inc
+++ b/data/maps/DesertRuins/header.inc
@@ -5,7 +5,7 @@ DesertRuins:: @ 8306E18
.4byte 0x0
.2byte MUS_MABOROSI
.2byte 132
- .byte 82
+ .byte MAPSEC_DESERT_RUINS
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/DewfordTown/header.inc b/data/maps/DewfordTown/header.inc
index 0bd56d96d..02aeb91dc 100644
--- a/data/maps/DewfordTown/header.inc
+++ b/data/maps/DewfordTown/header.inc
@@ -5,7 +5,7 @@ DewfordTown:: @ 830557C
.4byte DewfordTown_MapConnections
.2byte MUS_HIGHTOWN
.2byte 12
- .byte 2
+ .byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte 2
.byte 1
diff --git a/data/maps/DewfordTown_Gym/header.inc b/data/maps/DewfordTown_Gym/header.inc
index c5c9540e5..2a7cb88dd 100644
--- a/data/maps/DewfordTown_Gym/header.inc
+++ b/data/maps/DewfordTown_Gym/header.inc
@@ -5,7 +5,7 @@ DewfordTown_Gym:: @ 8305B9C
.4byte 0x0
.2byte MUS_GIM
.2byte 65
- .byte 2
+ .byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/DewfordTown_Hall/header.inc b/data/maps/DewfordTown_Hall/header.inc
index 38b662f4d..9bcbe90f3 100644
--- a/data/maps/DewfordTown_Hall/header.inc
+++ b/data/maps/DewfordTown_Hall/header.inc
@@ -5,7 +5,7 @@ DewfordTown_Hall:: @ 8305BB8
.4byte 0x0
.2byte MUS_HIGHTOWN
.2byte 66
- .byte 2
+ .byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/DewfordTown_House1/header.inc b/data/maps/DewfordTown_House1/header.inc
index 9f56cdf5d..1414d620e 100644
--- a/data/maps/DewfordTown_House1/header.inc
+++ b/data/maps/DewfordTown_House1/header.inc
@@ -5,7 +5,7 @@ DewfordTown_House1:: @ 8305B48
.4byte 0x0
.2byte MUS_HIGHTOWN
.2byte 64
- .byte 2
+ .byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/DewfordTown_House2/header.inc b/data/maps/DewfordTown_House2/header.inc
index 35fd959eb..1e2736ebe 100644
--- a/data/maps/DewfordTown_House2/header.inc
+++ b/data/maps/DewfordTown_House2/header.inc
@@ -5,7 +5,7 @@ DewfordTown_House2:: @ 8305BD4
.4byte 0x0
.2byte MUS_HIGHTOWN
.2byte 67
- .byte 2
+ .byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/DewfordTown_PokemonCenter_1F/header.inc b/data/maps/DewfordTown_PokemonCenter_1F/header.inc
index b7630e6c3..6cb407275 100644
--- a/data/maps/DewfordTown_PokemonCenter_1F/header.inc
+++ b/data/maps/DewfordTown_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ DewfordTown_PokemonCenter_1F:: @ 8305B64
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 2
+ .byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/DewfordTown_PokemonCenter_2F/header.inc b/data/maps/DewfordTown_PokemonCenter_2F/header.inc
index 5d0babd91..07a4f63f1 100644
--- a/data/maps/DewfordTown_PokemonCenter_2F/header.inc
+++ b/data/maps/DewfordTown_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ DewfordTown_PokemonCenter_2F:: @ 8305B80
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 2
+ .byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/DoubleBattleColosseum/header.inc b/data/maps/DoubleBattleColosseum/header.inc
index bf41ae872..91750d7f7 100644
--- a/data/maps/DoubleBattleColosseum/header.inc
+++ b/data/maps/DoubleBattleColosseum/header.inc
@@ -5,7 +5,7 @@ DoubleBattleColosseum:: @ 83079CC
.4byte 0x0
.2byte MUS_RAINBOW
.2byte 225
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity/header.inc b/data/maps/EverGrandeCity/header.inc
index 89386b78c..d391a9409 100644
--- a/data/maps/EverGrandeCity/header.inc
+++ b/data/maps/EverGrandeCity/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity:: @ 8305528
.4byte EverGrandeCity_MapConnections
.2byte MUS_RAINBOW
.2byte 9
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 2
.byte 2
diff --git a/data/maps/EverGrandeCity_ChampionsRoom/header.inc b/data/maps/EverGrandeCity_ChampionsRoom/header.inc
index 85afeb078..43e8c9443 100644
--- a/data/maps/EverGrandeCity_ChampionsRoom/header.inc
+++ b/data/maps/EverGrandeCity_ChampionsRoom/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_ChampionsRoom:: @ 8306B08
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 116
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_Corridor1/header.inc b/data/maps/EverGrandeCity_Corridor1/header.inc
index c15955ae1..ffb682ee5 100644
--- a/data/maps/EverGrandeCity_Corridor1/header.inc
+++ b/data/maps/EverGrandeCity_Corridor1/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_Corridor1:: @ 8306B24
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 117
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_Corridor2/header.inc b/data/maps/EverGrandeCity_Corridor2/header.inc
index 774dd8bf9..1240cf7e6 100644
--- a/data/maps/EverGrandeCity_Corridor2/header.inc
+++ b/data/maps/EverGrandeCity_Corridor2/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_Corridor2:: @ 8306B40
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 117
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_Corridor3/header.inc b/data/maps/EverGrandeCity_Corridor3/header.inc
index 2799a2256..34047aab0 100644
--- a/data/maps/EverGrandeCity_Corridor3/header.inc
+++ b/data/maps/EverGrandeCity_Corridor3/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_Corridor3:: @ 8306B5C
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 117
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_Corridor4/header.inc b/data/maps/EverGrandeCity_Corridor4/header.inc
index 254553ab4..27ae6772c 100644
--- a/data/maps/EverGrandeCity_Corridor4/header.inc
+++ b/data/maps/EverGrandeCity_Corridor4/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_Corridor4:: @ 8306B78
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 316
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_Corridor5/header.inc b/data/maps/EverGrandeCity_Corridor5/header.inc
index 176d27e1e..6efeed94c 100644
--- a/data/maps/EverGrandeCity_Corridor5/header.inc
+++ b/data/maps/EverGrandeCity_Corridor5/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_Corridor5:: @ 8306B94
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 117
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_DrakesRoom/header.inc b/data/maps/EverGrandeCity_DrakesRoom/header.inc
index 4f5cb96b6..6fa06eb1c 100644
--- a/data/maps/EverGrandeCity_DrakesRoom/header.inc
+++ b/data/maps/EverGrandeCity_DrakesRoom/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_DrakesRoom:: @ 8306AEC
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 115
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_GlaciasRoom/header.inc b/data/maps/EverGrandeCity_GlaciasRoom/header.inc
index f0ba099ac..37dcc4de4 100644
--- a/data/maps/EverGrandeCity_GlaciasRoom/header.inc
+++ b/data/maps/EverGrandeCity_GlaciasRoom/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_GlaciasRoom:: @ 8306AD0
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 114
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_HallOfFame/header.inc b/data/maps/EverGrandeCity_HallOfFame/header.inc
index 3a8c1a263..ada0e84d3 100644
--- a/data/maps/EverGrandeCity_HallOfFame/header.inc
+++ b/data/maps/EverGrandeCity_HallOfFame/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_HallOfFame:: @ 8306BCC
.4byte 0x0
.2byte MUS_EIKOU_R
.2byte 299
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_PhoebesRoom/header.inc b/data/maps/EverGrandeCity_PhoebesRoom/header.inc
index 8d34dd0ba..4a1f9ee07 100644
--- a/data/maps/EverGrandeCity_PhoebesRoom/header.inc
+++ b/data/maps/EverGrandeCity_PhoebesRoom/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_PhoebesRoom:: @ 8306AB4
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 113
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_PokemonCenter_1F/header.inc b/data/maps/EverGrandeCity_PokemonCenter_1F/header.inc
index 489b5bd52..9394714a3 100644
--- a/data/maps/EverGrandeCity_PokemonCenter_1F/header.inc
+++ b/data/maps/EverGrandeCity_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_PokemonCenter_1F:: @ 8306BE8
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_PokemonCenter_2F/header.inc b/data/maps/EverGrandeCity_PokemonCenter_2F/header.inc
index 35167d6c1..86d5a5894 100644
--- a/data/maps/EverGrandeCity_PokemonCenter_2F/header.inc
+++ b/data/maps/EverGrandeCity_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_PokemonCenter_2F:: @ 8306C04
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_PokemonLeague/header.inc b/data/maps/EverGrandeCity_PokemonLeague/header.inc
index 56bb00438..519a20fab 100644
--- a/data/maps/EverGrandeCity_PokemonLeague/header.inc
+++ b/data/maps/EverGrandeCity_PokemonLeague/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_PokemonLeague:: @ 8306BB0
.4byte 0x0
.2byte MUS_POKECEN
.2byte 271
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity_SidneysRoom/header.inc b/data/maps/EverGrandeCity_SidneysRoom/header.inc
index 41ea61fd8..5f0684ea4 100644
--- a/data/maps/EverGrandeCity_SidneysRoom/header.inc
+++ b/data/maps/EverGrandeCity_SidneysRoom/header.inc
@@ -5,7 +5,7 @@ EverGrandeCity_SidneysRoom:: @ 8306A98
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 112
- .byte 15
+ .byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FallarborTown/header.inc b/data/maps/FallarborTown/header.inc
index e6e0041b6..892e58628 100644
--- a/data/maps/FallarborTown/header.inc
+++ b/data/maps/FallarborTown/header.inc
@@ -5,7 +5,7 @@ FallarborTown:: @ 83055B4
.4byte FallarborTown_MapConnections
.2byte MUS_TONEKUSA
.2byte 14
- .byte 4
+ .byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte 2
.byte 1
diff --git a/data/maps/FallarborTown_ContestHall/header.inc b/data/maps/FallarborTown_ContestHall/header.inc
index 38f414c10..8f69223a5 100644
--- a/data/maps/FallarborTown_ContestHall/header.inc
+++ b/data/maps/FallarborTown_ContestHall/header.inc
@@ -5,7 +5,7 @@ FallarborTown_ContestHall:: @ 8305CEC
.4byte 0x0
.2byte MUS_CONLOBBY
.2byte 73
- .byte 4
+ .byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FallarborTown_ContestLobby/header.inc b/data/maps/FallarborTown_ContestLobby/header.inc
index 2b8d9a18b..f9031d69d 100644
--- a/data/maps/FallarborTown_ContestLobby/header.inc
+++ b/data/maps/FallarborTown_ContestLobby/header.inc
@@ -5,7 +5,7 @@ FallarborTown_ContestLobby:: @ 8305CD0
.4byte 0x0
.2byte MUS_CONLOBBY
.2byte 72
- .byte 4
+ .byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FallarborTown_House1/header.inc b/data/maps/FallarborTown_House1/header.inc
index e6eacc77c..21acaf42b 100644
--- a/data/maps/FallarborTown_House1/header.inc
+++ b/data/maps/FallarborTown_House1/header.inc
@@ -5,7 +5,7 @@ FallarborTown_House1:: @ 8305D40
.4byte 0x0
.2byte MUS_TONEKUSA
.2byte 59
- .byte 4
+ .byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FallarborTown_House2/header.inc b/data/maps/FallarborTown_House2/header.inc
index 246bc12db..ef8fb0f2e 100644
--- a/data/maps/FallarborTown_House2/header.inc
+++ b/data/maps/FallarborTown_House2/header.inc
@@ -5,7 +5,7 @@ FallarborTown_House2:: @ 8305D5C
.4byte 0x0
.2byte MUS_TONEKUSA
.2byte 60
- .byte 4
+ .byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FallarborTown_Mart/header.inc b/data/maps/FallarborTown_Mart/header.inc
index de16583f4..e6e8d837f 100644
--- a/data/maps/FallarborTown_Mart/header.inc
+++ b/data/maps/FallarborTown_Mart/header.inc
@@ -5,7 +5,7 @@ FallarborTown_Mart:: @ 8305CB4
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 63
- .byte 4
+ .byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FallarborTown_PokemonCenter_1F/header.inc b/data/maps/FallarborTown_PokemonCenter_1F/header.inc
index e51dea9cc..cab60710f 100644
--- a/data/maps/FallarborTown_PokemonCenter_1F/header.inc
+++ b/data/maps/FallarborTown_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ FallarborTown_PokemonCenter_1F:: @ 8305D08
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 4
+ .byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FallarborTown_PokemonCenter_2F/header.inc b/data/maps/FallarborTown_PokemonCenter_2F/header.inc
index 91613d680..f093c8feb 100644
--- a/data/maps/FallarborTown_PokemonCenter_2F/header.inc
+++ b/data/maps/FallarborTown_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ FallarborTown_PokemonCenter_2F:: @ 8305D24
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 4
+ .byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FieryPath/header.inc b/data/maps/FieryPath/header.inc
index dcc4d55ea..512f5af55 100644
--- a/data/maps/FieryPath/header.inc
+++ b/data/maps/FieryPath/header.inc
@@ -5,7 +5,7 @@ FieryPath:: @ 8306EF8
.4byte 0x0
.2byte MUS_DAN01
.2byte 294
- .byte 74
+ .byte MAPSEC_FIERY_PATH
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/FortreeCity/header.inc b/data/maps/FortreeCity/header.inc
index eb04f8bcb..23dc10dd6 100644
--- a/data/maps/FortreeCity/header.inc
+++ b/data/maps/FortreeCity/header.inc
@@ -5,7 +5,7 @@ FortreeCity:: @ 83054B8
.4byte FortreeCity_MapConnections
.2byte MUS_MACHI_S3
.2byte 5
- .byte 11
+ .byte MAPSEC_FORTREE_CITY
.byte 0
.byte 2
.byte 2
diff --git a/data/maps/FortreeCity_DecorationShop/header.inc b/data/maps/FortreeCity_DecorationShop/header.inc
index 78b54e060..7c61563ae 100644
--- a/data/maps/FortreeCity_DecorationShop/header.inc
+++ b/data/maps/FortreeCity_DecorationShop/header.inc
@@ -5,7 +5,7 @@ FortreeCity_DecorationShop:: @ 8306504
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 256
- .byte 11
+ .byte MAPSEC_FORTREE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FortreeCity_Gym/header.inc b/data/maps/FortreeCity_Gym/header.inc
index 9ecaef8b4..adb4179c8 100644
--- a/data/maps/FortreeCity_Gym/header.inc
+++ b/data/maps/FortreeCity_Gym/header.inc
@@ -5,7 +5,7 @@ FortreeCity_Gym:: @ 8306424
.4byte 0x0
.2byte MUS_GIM
.2byte 100
- .byte 11
+ .byte MAPSEC_FORTREE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FortreeCity_House1/header.inc b/data/maps/FortreeCity_House1/header.inc
index 79d0466d7..3349b857b 100644
--- a/data/maps/FortreeCity_House1/header.inc
+++ b/data/maps/FortreeCity_House1/header.inc
@@ -5,7 +5,7 @@ FortreeCity_House1:: @ 8306408
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 99
- .byte 11
+ .byte MAPSEC_FORTREE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FortreeCity_House2/header.inc b/data/maps/FortreeCity_House2/header.inc
index 44447c390..7baf0aa63 100644
--- a/data/maps/FortreeCity_House2/header.inc
+++ b/data/maps/FortreeCity_House2/header.inc
@@ -5,7 +5,7 @@ FortreeCity_House2:: @ 8306494
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 101
- .byte 11
+ .byte MAPSEC_FORTREE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FortreeCity_House3/header.inc b/data/maps/FortreeCity_House3/header.inc
index aa77bbf4e..d9d65297a 100644
--- a/data/maps/FortreeCity_House3/header.inc
+++ b/data/maps/FortreeCity_House3/header.inc
@@ -5,7 +5,7 @@ FortreeCity_House3:: @ 83064B0
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 99
- .byte 11
+ .byte MAPSEC_FORTREE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FortreeCity_House4/header.inc b/data/maps/FortreeCity_House4/header.inc
index dcd41d274..3b905352b 100644
--- a/data/maps/FortreeCity_House4/header.inc
+++ b/data/maps/FortreeCity_House4/header.inc
@@ -5,7 +5,7 @@ FortreeCity_House4:: @ 83064CC
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 101
- .byte 11
+ .byte MAPSEC_FORTREE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FortreeCity_House5/header.inc b/data/maps/FortreeCity_House5/header.inc
index 98faa0aee..c3c361104 100644
--- a/data/maps/FortreeCity_House5/header.inc
+++ b/data/maps/FortreeCity_House5/header.inc
@@ -5,7 +5,7 @@ FortreeCity_House5:: @ 83064E8
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 99
- .byte 11
+ .byte MAPSEC_FORTREE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FortreeCity_Mart/header.inc b/data/maps/FortreeCity_Mart/header.inc
index a43cd9466..a4dd40285 100644
--- a/data/maps/FortreeCity_Mart/header.inc
+++ b/data/maps/FortreeCity_Mart/header.inc
@@ -5,7 +5,7 @@ FortreeCity_Mart:: @ 8306478
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 63
- .byte 11
+ .byte MAPSEC_FORTREE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FortreeCity_PokemonCenter_1F/header.inc b/data/maps/FortreeCity_PokemonCenter_1F/header.inc
index 97c8403b2..d606c08d8 100644
--- a/data/maps/FortreeCity_PokemonCenter_1F/header.inc
+++ b/data/maps/FortreeCity_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ FortreeCity_PokemonCenter_1F:: @ 8306440
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 11
+ .byte MAPSEC_FORTREE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/FortreeCity_PokemonCenter_2F/header.inc b/data/maps/FortreeCity_PokemonCenter_2F/header.inc
index 57e8510b8..9c5b3af3c 100644
--- a/data/maps/FortreeCity_PokemonCenter_2F/header.inc
+++ b/data/maps/FortreeCity_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ FortreeCity_PokemonCenter_2F:: @ 830645C
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 11
+ .byte MAPSEC_FORTREE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/GraniteCave_1F/header.inc b/data/maps/GraniteCave_1F/header.inc
index b3682961a..707197625 100644
--- a/data/maps/GraniteCave_1F/header.inc
+++ b/data/maps/GraniteCave_1F/header.inc
@@ -5,7 +5,7 @@ GraniteCave_1F:: @ 8306E34
.4byte 0x0
.2byte MUS_DAN01
.2byte 133
- .byte 55
+ .byte MAPSEC_GRANITE_CAVE
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/GraniteCave_B1F/header.inc b/data/maps/GraniteCave_B1F/header.inc
index 80af713ad..c9b9a85f4 100644
--- a/data/maps/GraniteCave_B1F/header.inc
+++ b/data/maps/GraniteCave_B1F/header.inc
@@ -5,7 +5,7 @@ GraniteCave_B1F:: @ 8306E50
.4byte 0x0
.2byte MUS_DAN01
.2byte 134
- .byte 55
+ .byte MAPSEC_GRANITE_CAVE
.byte 1
.byte 0
.byte 4
diff --git a/data/maps/GraniteCave_B2F/header.inc b/data/maps/GraniteCave_B2F/header.inc
index 9b3dc1610..a6db19127 100644
--- a/data/maps/GraniteCave_B2F/header.inc
+++ b/data/maps/GraniteCave_B2F/header.inc
@@ -5,7 +5,7 @@ GraniteCave_B2F:: @ 8306E6C
.4byte 0x0
.2byte MUS_DAN01
.2byte 135
- .byte 55
+ .byte MAPSEC_GRANITE_CAVE
.byte 1
.byte 0
.byte 4
diff --git a/data/maps/GraniteCave_StevensRoom/header.inc b/data/maps/GraniteCave_StevensRoom/header.inc
index da9664943..75a3089b3 100644
--- a/data/maps/GraniteCave_StevensRoom/header.inc
+++ b/data/maps/GraniteCave_StevensRoom/header.inc
@@ -5,7 +5,7 @@ GraniteCave_StevensRoom:: @ 8306E88
.4byte 0x0
.2byte MUS_DAN01
.2byte 289
- .byte 55
+ .byte MAPSEC_GRANITE_CAVE
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/InsideOfTruck/header.inc b/data/maps/InsideOfTruck/header.inc
index b406937ca..05478e8f3 100644
--- a/data/maps/InsideOfTruck/header.inc
+++ b/data/maps/InsideOfTruck/header.inc
@@ -5,7 +5,7 @@ InsideOfTruck:: @ 8307B38
.4byte 0x0
.2byte SE_STOP
.2byte 238
- .byte 84
+ .byte MAPSEC_INSIDE_OF_TRUCK
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/IslandCave/header.inc b/data/maps/IslandCave/header.inc
index 70b8a62c6..baccbc500 100644
--- a/data/maps/IslandCave/header.inc
+++ b/data/maps/IslandCave/header.inc
@@ -5,7 +5,7 @@ IslandCave:: @ 83074C4
.4byte 0x0
.2byte MUS_MABOROSI
.2byte 281
- .byte 81
+ .byte MAPSEC_ISLAND_CAVE
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/JaggedPass/header.inc b/data/maps/JaggedPass/header.inc
index cb9b61bb3..c70af745f 100644
--- a/data/maps/JaggedPass/header.inc
+++ b/data/maps/JaggedPass/header.inc
@@ -5,7 +5,7 @@ JaggedPass:: @ 8306EDC
.4byte 0x0
.2byte MUS_DAN01
.2byte 293
- .byte 76
+ .byte MAPSEC_JAGGED_PASS
.byte 0
.byte 0
.byte 3
diff --git a/data/maps/LavaridgeTown/header.inc b/data/maps/LavaridgeTown/header.inc
index 8e8eaaee6..57eae401c 100644
--- a/data/maps/LavaridgeTown/header.inc
+++ b/data/maps/LavaridgeTown/header.inc
@@ -5,7 +5,7 @@ LavaridgeTown:: @ 8305598
.4byte LavaridgeTown_MapConnections
.2byte MUS_MACHI_S4
.2byte 13
- .byte 3
+ .byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte 2
.byte 1
diff --git a/data/maps/LavaridgeTown_Gym_1F/header.inc b/data/maps/LavaridgeTown_Gym_1F/header.inc
index 05c0b2dbc..add939b34 100644
--- a/data/maps/LavaridgeTown_Gym_1F/header.inc
+++ b/data/maps/LavaridgeTown_Gym_1F/header.inc
@@ -5,7 +5,7 @@ LavaridgeTown_Gym_1F:: @ 8305C0C
.4byte 0x0
.2byte MUS_GIM
.2byte 69
- .byte 3
+ .byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte 6
.byte 8
diff --git a/data/maps/LavaridgeTown_Gym_B1F/header.inc b/data/maps/LavaridgeTown_Gym_B1F/header.inc
index 0ae5a8634..393e0a72a 100644
--- a/data/maps/LavaridgeTown_Gym_B1F/header.inc
+++ b/data/maps/LavaridgeTown_Gym_B1F/header.inc
@@ -5,7 +5,7 @@ LavaridgeTown_Gym_B1F:: @ 8305C28
.4byte 0x0
.2byte MUS_GIM
.2byte 70
- .byte 3
+ .byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte 6
.byte 8
diff --git a/data/maps/LavaridgeTown_HerbShop/header.inc b/data/maps/LavaridgeTown_HerbShop/header.inc
index 8ab9e4807..69aa9b41f 100644
--- a/data/maps/LavaridgeTown_HerbShop/header.inc
+++ b/data/maps/LavaridgeTown_HerbShop/header.inc
@@ -5,7 +5,7 @@ LavaridgeTown_HerbShop:: @ 8305BF0
.4byte 0x0
.2byte MUS_MACHI_S4
.2byte 68
- .byte 3
+ .byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LavaridgeTown_House/header.inc b/data/maps/LavaridgeTown_House/header.inc
index 5b85bcbac..acb853281 100644
--- a/data/maps/LavaridgeTown_House/header.inc
+++ b/data/maps/LavaridgeTown_House/header.inc
@@ -5,7 +5,7 @@ LavaridgeTown_House:: @ 8305C44
.4byte 0x0
.2byte MUS_MACHI_S4
.2byte 64
- .byte 3
+ .byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LavaridgeTown_Mart/header.inc b/data/maps/LavaridgeTown_Mart/header.inc
index 97c192d21..2dde392de 100644
--- a/data/maps/LavaridgeTown_Mart/header.inc
+++ b/data/maps/LavaridgeTown_Mart/header.inc
@@ -5,7 +5,7 @@ LavaridgeTown_Mart:: @ 8305C60
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 63
- .byte 3
+ .byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LavaridgeTown_PokemonCenter_1F/header.inc b/data/maps/LavaridgeTown_PokemonCenter_1F/header.inc
index 27bdfe3f2..a7ed83dcf 100644
--- a/data/maps/LavaridgeTown_PokemonCenter_1F/header.inc
+++ b/data/maps/LavaridgeTown_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ LavaridgeTown_PokemonCenter_1F:: @ 8305C7C
.4byte 0x0
.2byte MUS_POKECEN
.2byte 71
- .byte 3
+ .byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LavaridgeTown_PokemonCenter_2F/header.inc b/data/maps/LavaridgeTown_PokemonCenter_2F/header.inc
index 096759809..ae3bde4ee 100644
--- a/data/maps/LavaridgeTown_PokemonCenter_2F/header.inc
+++ b/data/maps/LavaridgeTown_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ LavaridgeTown_PokemonCenter_2F:: @ 8305C98
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 3
+ .byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity/header.inc b/data/maps/LilycoveCity/header.inc
index 2c067668e..d46ea1da3 100644
--- a/data/maps/LilycoveCity/header.inc
+++ b/data/maps/LilycoveCity/header.inc
@@ -5,7 +5,7 @@ LilycoveCity:: @ 83054D4
.4byte LilycoveCity_MapConnections
.2byte MUS_MINAMO
.2byte 6
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 2
.byte 2
diff --git a/data/maps/LilycoveCity_ContestHall/header.inc b/data/maps/LilycoveCity_ContestHall/header.inc
index 9e690f9a7..354a87c68 100644
--- a/data/maps/LilycoveCity_ContestHall/header.inc
+++ b/data/maps/LilycoveCity_ContestHall/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_ContestHall:: @ 83065AC
.4byte 0x0
.2byte MUS_CONLOBBY
.2byte 106
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_ContestLobby/header.inc b/data/maps/LilycoveCity_ContestLobby/header.inc
index 37415383b..b3ecad4e6 100644
--- a/data/maps/LilycoveCity_ContestLobby/header.inc
+++ b/data/maps/LilycoveCity_ContestLobby/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_ContestLobby:: @ 8306590
.4byte 0x0
.2byte MUS_CONLOBBY
.2byte 105
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_CoveLilyMotel_1F/header.inc b/data/maps/LilycoveCity_CoveLilyMotel_1F/header.inc
index 15a8aa7d0..6931785d9 100644
--- a/data/maps/LilycoveCity_CoveLilyMotel_1F/header.inc
+++ b/data/maps/LilycoveCity_CoveLilyMotel_1F/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_CoveLilyMotel_1F:: @ 8306520
.4byte 0x0
.2byte MUS_MINAMO
.2byte 300
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_CoveLilyMotel_2F/header.inc b/data/maps/LilycoveCity_CoveLilyMotel_2F/header.inc
index a39f3acf0..adeb46f6d 100644
--- a/data/maps/LilycoveCity_CoveLilyMotel_2F/header.inc
+++ b/data/maps/LilycoveCity_CoveLilyMotel_2F/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_CoveLilyMotel_2F:: @ 830653C
.4byte 0x0
.2byte MUS_MINAMO
.2byte 301
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_DepartmentStoreElevator/header.inc b/data/maps/LilycoveCity_DepartmentStoreElevator/header.inc
index 65b573d92..83b55aa11 100644
--- a/data/maps/LilycoveCity_DepartmentStoreElevator/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStoreElevator/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_DepartmentStoreElevator:: @ 83067A4
.4byte 0x0
.2byte MUS_MINAMO
.2byte 274
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_DepartmentStoreRooftop/header.inc b/data/maps/LilycoveCity_DepartmentStoreRooftop/header.inc
index 0131ea7f1..21883b620 100644
--- a/data/maps/LilycoveCity_DepartmentStoreRooftop/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStoreRooftop/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_DepartmentStoreRooftop:: @ 8306788
.4byte 0x0
.2byte MUS_MINAMO
.2byte 263
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_DepartmentStore_1F/header.inc b/data/maps/LilycoveCity_DepartmentStore_1F/header.inc
index 6f5da636f..5c7496738 100644
--- a/data/maps/LilycoveCity_DepartmentStore_1F/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_1F/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_DepartmentStore_1F:: @ 83066FC
.4byte 0x0
.2byte MUS_MINAMO
.2byte 258
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_DepartmentStore_2F/header.inc b/data/maps/LilycoveCity_DepartmentStore_2F/header.inc
index 7bc576b3f..9bdbe7b5c 100644
--- a/data/maps/LilycoveCity_DepartmentStore_2F/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_2F/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_DepartmentStore_2F:: @ 8306718
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 259
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_DepartmentStore_3F/header.inc b/data/maps/LilycoveCity_DepartmentStore_3F/header.inc
index 402d1a137..558a4ba33 100644
--- a/data/maps/LilycoveCity_DepartmentStore_3F/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_3F/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_DepartmentStore_3F:: @ 8306734
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 260
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_DepartmentStore_4F/header.inc b/data/maps/LilycoveCity_DepartmentStore_4F/header.inc
index 57bea5077..3d207e42d 100644
--- a/data/maps/LilycoveCity_DepartmentStore_4F/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_4F/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_DepartmentStore_4F:: @ 8306750
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 261
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_DepartmentStore_5F/header.inc b/data/maps/LilycoveCity_DepartmentStore_5F/header.inc
index 1159ddeaf..d5ff57c67 100644
--- a/data/maps/LilycoveCity_DepartmentStore_5F/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_5F/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_DepartmentStore_5F:: @ 830676C
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 262
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_EmptyMap/header.inc b/data/maps/LilycoveCity_EmptyMap/header.inc
index 469b52893..5dfb291b2 100644
--- a/data/maps/LilycoveCity_EmptyMap/header.inc
+++ b/data/maps/LilycoveCity_EmptyMap/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_EmptyMap:: @ 8306654
.4byte 0x0
.2byte MUS_MINAMO
.2byte 108
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_Harbor/header.inc b/data/maps/LilycoveCity_Harbor/header.inc
index 75b924e8f..eb5be90b5 100644
--- a/data/maps/LilycoveCity_Harbor/header.inc
+++ b/data/maps/LilycoveCity_Harbor/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_Harbor:: @ 8306638
.4byte 0x0
.2byte MUS_MINAMO
.2byte 88
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_House1/header.inc b/data/maps/LilycoveCity_House1/header.inc
index 20675582b..ac84648bf 100644
--- a/data/maps/LilycoveCity_House1/header.inc
+++ b/data/maps/LilycoveCity_House1/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_House1:: @ 830668C
.4byte 0x0
.2byte MUS_MINAMO
.2byte 59
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_House2/header.inc b/data/maps/LilycoveCity_House2/header.inc
index 1948d4470..f511a39fc 100644
--- a/data/maps/LilycoveCity_House2/header.inc
+++ b/data/maps/LilycoveCity_House2/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_House2:: @ 83066A8
.4byte 0x0
.2byte MUS_MINAMO
.2byte 74
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_House3/header.inc b/data/maps/LilycoveCity_House3/header.inc
index df0d576b4..5f4e49c44 100644
--- a/data/maps/LilycoveCity_House3/header.inc
+++ b/data/maps/LilycoveCity_House3/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_House3:: @ 83066C4
.4byte 0x0
.2byte MUS_MINAMO
.2byte 60
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_House4/header.inc b/data/maps/LilycoveCity_House4/header.inc
index a8d4d1bcc..e84ade915 100644
--- a/data/maps/LilycoveCity_House4/header.inc
+++ b/data/maps/LilycoveCity_House4/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_House4:: @ 83066E0
.4byte 0x0
.2byte MUS_MINAMO
.2byte 59
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_LilycoveMuseum_1F/header.inc b/data/maps/LilycoveCity_LilycoveMuseum_1F/header.inc
index 3af5b4c90..a8d3a44b2 100644
--- a/data/maps/LilycoveCity_LilycoveMuseum_1F/header.inc
+++ b/data/maps/LilycoveCity_LilycoveMuseum_1F/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_LilycoveMuseum_1F:: @ 8306558
.4byte 0x0
.2byte MUS_BIJYUTU
.2byte 103
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_LilycoveMuseum_2F/header.inc b/data/maps/LilycoveCity_LilycoveMuseum_2F/header.inc
index 3ceabddcb..da1fcadba 100644
--- a/data/maps/LilycoveCity_LilycoveMuseum_2F/header.inc
+++ b/data/maps/LilycoveCity_LilycoveMuseum_2F/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_LilycoveMuseum_2F:: @ 8306574
.4byte 0x0
.2byte MUS_BIJYUTU
.2byte 104
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_MoveDeletersHouse/header.inc b/data/maps/LilycoveCity_MoveDeletersHouse/header.inc
index a2216160d..d31f1403f 100644
--- a/data/maps/LilycoveCity_MoveDeletersHouse/header.inc
+++ b/data/maps/LilycoveCity_MoveDeletersHouse/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_MoveDeletersHouse:: @ 8306670
.4byte 0x0
.2byte MUS_MINAMO
.2byte 60
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_PokemonCenter_1F/header.inc b/data/maps/LilycoveCity_PokemonCenter_1F/header.inc
index c94501f23..05d628be7 100644
--- a/data/maps/LilycoveCity_PokemonCenter_1F/header.inc
+++ b/data/maps/LilycoveCity_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_PokemonCenter_1F:: @ 83065C8
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_PokemonCenter_2F/header.inc b/data/maps/LilycoveCity_PokemonCenter_2F/header.inc
index 78816dbe9..9458e81e3 100644
--- a/data/maps/LilycoveCity_PokemonCenter_2F/header.inc
+++ b/data/maps/LilycoveCity_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_PokemonCenter_2F:: @ 83065E4
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_PokemonTrainerFanClub/header.inc b/data/maps/LilycoveCity_PokemonTrainerFanClub/header.inc
index 4445ed0df..8902c8a3e 100644
--- a/data/maps/LilycoveCity_PokemonTrainerFanClub/header.inc
+++ b/data/maps/LilycoveCity_PokemonTrainerFanClub/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_PokemonTrainerFanClub:: @ 830661C
.4byte 0x0
.2byte MUS_MINAMO
.2byte 107
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LilycoveCity_UnusedMart/header.inc b/data/maps/LilycoveCity_UnusedMart/header.inc
index fb20ddc79..a01efd98a 100644
--- a/data/maps/LilycoveCity_UnusedMart/header.inc
+++ b/data/maps/LilycoveCity_UnusedMart/header.inc
@@ -5,7 +5,7 @@ LilycoveCity_UnusedMart:: @ 8306600
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 63
- .byte 12
+ .byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LinkContestRoom1/header.inc b/data/maps/LinkContestRoom1/header.inc
index 7aea3de5f..e762efb22 100644
--- a/data/maps/LinkContestRoom1/header.inc
+++ b/data/maps/LinkContestRoom1/header.inc
@@ -5,7 +5,7 @@ LinkContestRoom1:: @ 83079E8
.4byte 0x0
.2byte MUS_CONTEST0
.2byte 226
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LinkContestRoom2/header.inc b/data/maps/LinkContestRoom2/header.inc
index a3d60c4f8..636b94c72 100644
--- a/data/maps/LinkContestRoom2/header.inc
+++ b/data/maps/LinkContestRoom2/header.inc
@@ -5,7 +5,7 @@ LinkContestRoom2:: @ 8307AAC
.4byte 0x0
.2byte MUS_CONTEST0
.2byte 233
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LinkContestRoom3/header.inc b/data/maps/LinkContestRoom3/header.inc
index 4ee1f0e7d..ed19b4610 100644
--- a/data/maps/LinkContestRoom3/header.inc
+++ b/data/maps/LinkContestRoom3/header.inc
@@ -5,7 +5,7 @@ LinkContestRoom3:: @ 8307AC8
.4byte 0x0
.2byte MUS_CONTEST0
.2byte 234
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LinkContestRoom4/header.inc b/data/maps/LinkContestRoom4/header.inc
index 56ee5906c..f93f2f429 100644
--- a/data/maps/LinkContestRoom4/header.inc
+++ b/data/maps/LinkContestRoom4/header.inc
@@ -5,7 +5,7 @@ LinkContestRoom4:: @ 8307AE4
.4byte 0x0
.2byte MUS_CONTEST0
.2byte 235
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LinkContestRoom5/header.inc b/data/maps/LinkContestRoom5/header.inc
index fb2a66640..904ad041f 100644
--- a/data/maps/LinkContestRoom5/header.inc
+++ b/data/maps/LinkContestRoom5/header.inc
@@ -5,7 +5,7 @@ LinkContestRoom5:: @ 8307B00
.4byte 0x0
.2byte MUS_CONTEST0
.2byte 236
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LinkContestRoom6/header.inc b/data/maps/LinkContestRoom6/header.inc
index db9343180..e3e736c11 100644
--- a/data/maps/LinkContestRoom6/header.inc
+++ b/data/maps/LinkContestRoom6/header.inc
@@ -5,7 +5,7 @@ LinkContestRoom6:: @ 8307B1C
.4byte 0x0
.2byte MUS_CONTEST0
.2byte 237
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LittlerootTown/header.inc b/data/maps/LittlerootTown/header.inc
index 88f6763e3..d81a753a4 100644
--- a/data/maps/LittlerootTown/header.inc
+++ b/data/maps/LittlerootTown/header.inc
@@ -5,7 +5,7 @@ LittlerootTown:: @ 8305544
.4byte LittlerootTown_MapConnections
.2byte MUS_MISHIRO
.2byte 10
- .byte 0
+ .byte MAPSEC_LITTLEROOT_TOWN
.byte 0
.byte 2
.byte 1
diff --git a/data/maps/LittlerootTown_BrendansHouse_1F/header.inc b/data/maps/LittlerootTown_BrendansHouse_1F/header.inc
index eebc7b989..cec139767 100644
--- a/data/maps/LittlerootTown_BrendansHouse_1F/header.inc
+++ b/data/maps/LittlerootTown_BrendansHouse_1F/header.inc
@@ -5,7 +5,7 @@ LittlerootTown_BrendansHouse_1F:: @ 8305A30
.4byte 0x0
.2byte MUS_MISHIRO
.2byte 54
- .byte 0
+ .byte MAPSEC_LITTLEROOT_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LittlerootTown_BrendansHouse_2F/header.inc b/data/maps/LittlerootTown_BrendansHouse_2F/header.inc
index 660c1e08e..e7d78680d 100644
--- a/data/maps/LittlerootTown_BrendansHouse_2F/header.inc
+++ b/data/maps/LittlerootTown_BrendansHouse_2F/header.inc
@@ -5,7 +5,7 @@ LittlerootTown_BrendansHouse_2F:: @ 8305A4C
.4byte 0x0
.2byte MUS_MISHIRO
.2byte 55
- .byte 0
+ .byte MAPSEC_LITTLEROOT_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LittlerootTown_MaysHouse_1F/header.inc b/data/maps/LittlerootTown_MaysHouse_1F/header.inc
index 329380b39..10e6e58e7 100644
--- a/data/maps/LittlerootTown_MaysHouse_1F/header.inc
+++ b/data/maps/LittlerootTown_MaysHouse_1F/header.inc
@@ -5,7 +5,7 @@ LittlerootTown_MaysHouse_1F:: @ 8305A68
.4byte 0x0
.2byte MUS_MISHIRO
.2byte 56
- .byte 0
+ .byte MAPSEC_LITTLEROOT_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LittlerootTown_MaysHouse_2F/header.inc b/data/maps/LittlerootTown_MaysHouse_2F/header.inc
index cfb150c46..c4f3682ab 100644
--- a/data/maps/LittlerootTown_MaysHouse_2F/header.inc
+++ b/data/maps/LittlerootTown_MaysHouse_2F/header.inc
@@ -5,7 +5,7 @@ LittlerootTown_MaysHouse_2F:: @ 8305A84
.4byte 0x0
.2byte MUS_MISHIRO
.2byte 57
- .byte 0
+ .byte MAPSEC_LITTLEROOT_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/LittlerootTown_ProfessorBirchsLab/header.inc b/data/maps/LittlerootTown_ProfessorBirchsLab/header.inc
index 1961431b9..acb0882ff 100644
--- a/data/maps/LittlerootTown_ProfessorBirchsLab/header.inc
+++ b/data/maps/LittlerootTown_ProfessorBirchsLab/header.inc
@@ -5,7 +5,7 @@ LittlerootTown_ProfessorBirchsLab:: @ 8305AA0
.4byte 0x0
.2byte MUS_ODAMAKI
.2byte 58
- .byte 0
+ .byte MAPSEC_LITTLEROOT_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MagmaHideout_1F/header.inc b/data/maps/MagmaHideout_1F/header.inc
index c236bdae1..d6c31983e 100644
--- a/data/maps/MagmaHideout_1F/header.inc
+++ b/data/maps/MagmaHideout_1F/header.inc
@@ -5,7 +5,7 @@ MagmaHideout_1F:: @ 8307588
.4byte 0x0
.2byte MUS_AJITO
.2byte 317
- .byte 66
+ .byte MAPSEC_EVIL_TEAM_HIDEOUT
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MagmaHideout_B1F/header.inc b/data/maps/MagmaHideout_B1F/header.inc
index 18a1bd49c..67b117125 100644
--- a/data/maps/MagmaHideout_B1F/header.inc
+++ b/data/maps/MagmaHideout_B1F/header.inc
@@ -5,7 +5,7 @@ MagmaHideout_B1F:: @ 83075A4
.4byte 0x0
.2byte MUS_AJITO
.2byte 318
- .byte 66
+ .byte MAPSEC_EVIL_TEAM_HIDEOUT
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MagmaHideout_B2F/header.inc b/data/maps/MagmaHideout_B2F/header.inc
index 6cb9a6a47..10bd7266d 100644
--- a/data/maps/MagmaHideout_B2F/header.inc
+++ b/data/maps/MagmaHideout_B2F/header.inc
@@ -5,7 +5,7 @@ MagmaHideout_B2F:: @ 83075C0
.4byte 0x0
.2byte MUS_AJITO
.2byte 319
- .byte 66
+ .byte MAPSEC_EVIL_TEAM_HIDEOUT
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MauvilleCity/header.inc b/data/maps/MauvilleCity/header.inc
index 9ea461f4c..ffd7f9145 100644
--- a/data/maps/MauvilleCity/header.inc
+++ b/data/maps/MauvilleCity/header.inc
@@ -5,7 +5,7 @@ MauvilleCity:: @ 8305480
.4byte MauvilleCity_MapConnections
.2byte MUS_GOTOWN
.2byte 3
- .byte 9
+ .byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte 2
.byte 2
diff --git a/data/maps/MauvilleCity_BikeShop/header.inc b/data/maps/MauvilleCity_BikeShop/header.inc
index a1e3e56bc..e29d2d1cf 100644
--- a/data/maps/MauvilleCity_BikeShop/header.inc
+++ b/data/maps/MauvilleCity_BikeShop/header.inc
@@ -5,7 +5,7 @@ MauvilleCity_BikeShop:: @ 8306168
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 90
- .byte 9
+ .byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MauvilleCity_GameCorner/header.inc b/data/maps/MauvilleCity_GameCorner/header.inc
index 7e9bb00fa..af7ab0b1e 100644
--- a/data/maps/MauvilleCity_GameCorner/header.inc
+++ b/data/maps/MauvilleCity_GameCorner/header.inc
@@ -5,7 +5,7 @@ MauvilleCity_GameCorner:: @ 83061A0
.4byte 0x0
.2byte MUS_CASINO
.2byte 91
- .byte 9
+ .byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MauvilleCity_Gym/header.inc b/data/maps/MauvilleCity_Gym/header.inc
index a52423319..a16bdf7de 100644
--- a/data/maps/MauvilleCity_Gym/header.inc
+++ b/data/maps/MauvilleCity_Gym/header.inc
@@ -5,7 +5,7 @@ MauvilleCity_Gym:: @ 830614C
.4byte 0x0
.2byte MUS_GIM
.2byte 89
- .byte 9
+ .byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MauvilleCity_House1/header.inc b/data/maps/MauvilleCity_House1/header.inc
index 0d464b6c0..c0053d42a 100644
--- a/data/maps/MauvilleCity_House1/header.inc
+++ b/data/maps/MauvilleCity_House1/header.inc
@@ -5,7 +5,7 @@ MauvilleCity_House1:: @ 8306184
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 60
- .byte 9
+ .byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MauvilleCity_House2/header.inc b/data/maps/MauvilleCity_House2/header.inc
index 7a8c72f6e..0446fb462 100644
--- a/data/maps/MauvilleCity_House2/header.inc
+++ b/data/maps/MauvilleCity_House2/header.inc
@@ -5,7 +5,7 @@ MauvilleCity_House2:: @ 83061BC
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 59
- .byte 9
+ .byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MauvilleCity_Mart/header.inc b/data/maps/MauvilleCity_Mart/header.inc
index 169089f69..67fcf17ac 100644
--- a/data/maps/MauvilleCity_Mart/header.inc
+++ b/data/maps/MauvilleCity_Mart/header.inc
@@ -5,7 +5,7 @@ MauvilleCity_Mart:: @ 8306210
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 63
- .byte 9
+ .byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MauvilleCity_PokemonCenter_1F/header.inc b/data/maps/MauvilleCity_PokemonCenter_1F/header.inc
index 74cc8bfe2..fd9dc4050 100644
--- a/data/maps/MauvilleCity_PokemonCenter_1F/header.inc
+++ b/data/maps/MauvilleCity_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ MauvilleCity_PokemonCenter_1F:: @ 83061D8
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 9
+ .byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MauvilleCity_PokemonCenter_2F/header.inc b/data/maps/MauvilleCity_PokemonCenter_2F/header.inc
index fd7bf6a2d..988d2941b 100644
--- a/data/maps/MauvilleCity_PokemonCenter_2F/header.inc
+++ b/data/maps/MauvilleCity_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ MauvilleCity_PokemonCenter_2F:: @ 83061F4
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 9
+ .byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MeteorFalls_1F_1R/header.inc b/data/maps/MeteorFalls_1F_1R/header.inc
index 506463120..908cb3d75 100644
--- a/data/maps/MeteorFalls_1F_1R/header.inc
+++ b/data/maps/MeteorFalls_1F_1R/header.inc
@@ -5,7 +5,7 @@ MeteorFalls_1F_1R:: @ 8306D70
.4byte 0x0
.2byte MUS_DAN03
.2byte 126
- .byte 63
+ .byte MAPSEC_METEOR_FALLS
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/MeteorFalls_1F_2R/header.inc b/data/maps/MeteorFalls_1F_2R/header.inc
index f46645b7e..9b4a00a03 100644
--- a/data/maps/MeteorFalls_1F_2R/header.inc
+++ b/data/maps/MeteorFalls_1F_2R/header.inc
@@ -5,7 +5,7 @@ MeteorFalls_1F_2R:: @ 8306D8C
.4byte 0x0
.2byte MUS_DAN03
.2byte 127
- .byte 63
+ .byte MAPSEC_METEOR_FALLS
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/MeteorFalls_B1F_1R/header.inc b/data/maps/MeteorFalls_B1F_1R/header.inc
index 6e34052ce..021440754 100644
--- a/data/maps/MeteorFalls_B1F_1R/header.inc
+++ b/data/maps/MeteorFalls_B1F_1R/header.inc
@@ -5,7 +5,7 @@ MeteorFalls_B1F_1R:: @ 8306DA8
.4byte 0x0
.2byte MUS_DAN03
.2byte 128
- .byte 63
+ .byte MAPSEC_METEOR_FALLS
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/MeteorFalls_B1F_2R/header.inc b/data/maps/MeteorFalls_B1F_2R/header.inc
index 487cf19e9..7bbfdb6c2 100644
--- a/data/maps/MeteorFalls_B1F_2R/header.inc
+++ b/data/maps/MeteorFalls_B1F_2R/header.inc
@@ -5,7 +5,7 @@ MeteorFalls_B1F_2R:: @ 8306DC4
.4byte 0x0
.2byte MUS_DAN03
.2byte 129
- .byte 63
+ .byte MAPSEC_METEOR_FALLS
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/MossdeepCity/header.inc b/data/maps/MossdeepCity/header.inc
index 93aeb648a..77049e9cc 100644
--- a/data/maps/MossdeepCity/header.inc
+++ b/data/maps/MossdeepCity/header.inc
@@ -5,7 +5,7 @@ MossdeepCity:: @ 83054F0
.4byte MossdeepCity_MapConnections
.2byte MUS_GOTOWN
.2byte 7
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 2
.byte 2
diff --git a/data/maps/MossdeepCity_GameCorner_1F/header.inc b/data/maps/MossdeepCity_GameCorner_1F/header.inc
index dc11469e0..ac4f95a11 100644
--- a/data/maps/MossdeepCity_GameCorner_1F/header.inc
+++ b/data/maps/MossdeepCity_GameCorner_1F/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_GameCorner_1F:: @ 83068F4
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 306
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MossdeepCity_GameCorner_B1F/header.inc b/data/maps/MossdeepCity_GameCorner_B1F/header.inc
index fd8e210cc..8f25b162b 100644
--- a/data/maps/MossdeepCity_GameCorner_B1F/header.inc
+++ b/data/maps/MossdeepCity_GameCorner_B1F/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_GameCorner_B1F:: @ 8306910
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 307
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MossdeepCity_Gym/header.inc b/data/maps/MossdeepCity_Gym/header.inc
index cabaf610a..f815d2654 100644
--- a/data/maps/MossdeepCity_Gym/header.inc
+++ b/data/maps/MossdeepCity_Gym/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_Gym:: @ 83067C0
.4byte 0x0
.2byte MUS_GIM
.2byte 109
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MossdeepCity_House1/header.inc b/data/maps/MossdeepCity_House1/header.inc
index f6815842d..3619ee650 100644
--- a/data/maps/MossdeepCity_House1/header.inc
+++ b/data/maps/MossdeepCity_House1/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_House1:: @ 83067DC
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 60
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MossdeepCity_House2/header.inc b/data/maps/MossdeepCity_House2/header.inc
index 36964f8ee..cb67f3876 100644
--- a/data/maps/MossdeepCity_House2/header.inc
+++ b/data/maps/MossdeepCity_House2/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_House2:: @ 83067F8
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 59
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MossdeepCity_House3/header.inc b/data/maps/MossdeepCity_House3/header.inc
index e395c29f6..498487232 100644
--- a/data/maps/MossdeepCity_House3/header.inc
+++ b/data/maps/MossdeepCity_House3/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_House3:: @ 8306868
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 60
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MossdeepCity_House4/header.inc b/data/maps/MossdeepCity_House4/header.inc
index fe346cb0a..751c4e344 100644
--- a/data/maps/MossdeepCity_House4/header.inc
+++ b/data/maps/MossdeepCity_House4/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_House4:: @ 83068A0
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 80
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MossdeepCity_Mart/header.inc b/data/maps/MossdeepCity_Mart/header.inc
index 6c8b09d32..a9c359807 100644
--- a/data/maps/MossdeepCity_Mart/header.inc
+++ b/data/maps/MossdeepCity_Mart/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_Mart:: @ 830684C
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 63
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MossdeepCity_PokemonCenter_1F/header.inc b/data/maps/MossdeepCity_PokemonCenter_1F/header.inc
index ef51b2588..0dbd52d01 100644
--- a/data/maps/MossdeepCity_PokemonCenter_1F/header.inc
+++ b/data/maps/MossdeepCity_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_PokemonCenter_1F:: @ 8306814
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MossdeepCity_PokemonCenter_2F/header.inc b/data/maps/MossdeepCity_PokemonCenter_2F/header.inc
index db24bf9e5..64fa94ed7 100644
--- a/data/maps/MossdeepCity_PokemonCenter_2F/header.inc
+++ b/data/maps/MossdeepCity_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_PokemonCenter_2F:: @ 8306830
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MossdeepCity_SpaceCenter_1F/header.inc b/data/maps/MossdeepCity_SpaceCenter_1F/header.inc
index bc2152a58..4b195f109 100644
--- a/data/maps/MossdeepCity_SpaceCenter_1F/header.inc
+++ b/data/maps/MossdeepCity_SpaceCenter_1F/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_SpaceCenter_1F:: @ 83068BC
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 276
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MossdeepCity_SpaceCenter_2F/header.inc b/data/maps/MossdeepCity_SpaceCenter_2F/header.inc
index 46c44758d..2ea7660f0 100644
--- a/data/maps/MossdeepCity_SpaceCenter_2F/header.inc
+++ b/data/maps/MossdeepCity_SpaceCenter_2F/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_SpaceCenter_2F:: @ 83068D8
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 277
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MossdeepCity_StevensHouse/header.inc b/data/maps/MossdeepCity_StevensHouse/header.inc
index abbe4b98b..c488186d7 100644
--- a/data/maps/MossdeepCity_StevensHouse/header.inc
+++ b/data/maps/MossdeepCity_StevensHouse/header.inc
@@ -5,7 +5,7 @@ MossdeepCity_StevensHouse:: @ 8306884
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 328
- .byte 13
+ .byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MtChimney/header.inc b/data/maps/MtChimney/header.inc
index 690312635..bd3d1a404 100644
--- a/data/maps/MtChimney/header.inc
+++ b/data/maps/MtChimney/header.inc
@@ -5,7 +5,7 @@ MtChimney:: @ 8306EC0
.4byte 0x0
.2byte MUS_TOZAN
.2byte 137
- .byte 56
+ .byte MAPSEC_MT_CHIMNEY
.byte 0
.byte 7
.byte 3
diff --git a/data/maps/MtChimney_CableCarStation/header.inc b/data/maps/MtChimney_CableCarStation/header.inc
index 9584ed7a2..4489e2050 100644
--- a/data/maps/MtChimney_CableCarStation/header.inc
+++ b/data/maps/MtChimney_CableCarStation/header.inc
@@ -5,7 +5,7 @@ MtChimney_CableCarStation:: @ 8306CAC
.4byte 0x0
.2byte MUS_DOORO_X1
.2byte 119
- .byte 56
+ .byte MAPSEC_MT_CHIMNEY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MtPyre_1F/header.inc b/data/maps/MtPyre_1F/header.inc
index a75471d53..b9613f8f5 100644
--- a/data/maps/MtPyre_1F/header.inc
+++ b/data/maps/MtPyre_1F/header.inc
@@ -5,7 +5,7 @@ MtPyre_1F:: @ 8306F14
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 138
- .byte 65
+ .byte MAPSEC_MT_PYRE
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MtPyre_2F/header.inc b/data/maps/MtPyre_2F/header.inc
index 081adb3e9..8b6c62f95 100644
--- a/data/maps/MtPyre_2F/header.inc
+++ b/data/maps/MtPyre_2F/header.inc
@@ -5,7 +5,7 @@ MtPyre_2F:: @ 8306F30
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 139
- .byte 65
+ .byte MAPSEC_MT_PYRE
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MtPyre_3F/header.inc b/data/maps/MtPyre_3F/header.inc
index 253facf61..7f380ebbc 100644
--- a/data/maps/MtPyre_3F/header.inc
+++ b/data/maps/MtPyre_3F/header.inc
@@ -5,7 +5,7 @@ MtPyre_3F:: @ 8306F4C
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 140
- .byte 65
+ .byte MAPSEC_MT_PYRE
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MtPyre_4F/header.inc b/data/maps/MtPyre_4F/header.inc
index 720ff831e..8f4ec2190 100644
--- a/data/maps/MtPyre_4F/header.inc
+++ b/data/maps/MtPyre_4F/header.inc
@@ -5,7 +5,7 @@ MtPyre_4F:: @ 8306F68
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 141
- .byte 65
+ .byte MAPSEC_MT_PYRE
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MtPyre_5F/header.inc b/data/maps/MtPyre_5F/header.inc
index dc8d93e29..990e55706 100644
--- a/data/maps/MtPyre_5F/header.inc
+++ b/data/maps/MtPyre_5F/header.inc
@@ -5,7 +5,7 @@ MtPyre_5F:: @ 8306F84
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 142
- .byte 65
+ .byte MAPSEC_MT_PYRE
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MtPyre_6F/header.inc b/data/maps/MtPyre_6F/header.inc
index 986c3b538..59376a8a5 100644
--- a/data/maps/MtPyre_6F/header.inc
+++ b/data/maps/MtPyre_6F/header.inc
@@ -5,7 +5,7 @@ MtPyre_6F:: @ 8306FA0
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 143
- .byte 65
+ .byte MAPSEC_MT_PYRE
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/MtPyre_Exterior/header.inc b/data/maps/MtPyre_Exterior/header.inc
index 0c115cd95..4947de176 100644
--- a/data/maps/MtPyre_Exterior/header.inc
+++ b/data/maps/MtPyre_Exterior/header.inc
@@ -5,7 +5,7 @@ MtPyre_Exterior:: @ 8306FBC
.4byte 0x0
.2byte MUS_MACHUPI
.2byte 303
- .byte 65
+ .byte MAPSEC_MT_PYRE
.byte 0
.byte 0
.byte 3
diff --git a/data/maps/MtPyre_Summit/header.inc b/data/maps/MtPyre_Summit/header.inc
index fc8a0a82e..4af2bb0cd 100644
--- a/data/maps/MtPyre_Summit/header.inc
+++ b/data/maps/MtPyre_Summit/header.inc
@@ -5,7 +5,7 @@ MtPyre_Summit:: @ 8306FD8
.4byte 0x0
.2byte MUS_MACHUPI
.2byte 304
- .byte 65
+ .byte MAPSEC_MT_PYRE
.byte 0
.byte 6
.byte 3
diff --git a/data/maps/NewMauville_Entrance/header.inc b/data/maps/NewMauville_Entrance/header.inc
index 7ca1c1b96..452a89a1e 100644
--- a/data/maps/NewMauville_Entrance/header.inc
+++ b/data/maps/NewMauville_Entrance/header.inc
@@ -5,7 +5,7 @@ NewMauville_Entrance:: @ 8307320
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 185
- .byte 62
+ .byte MAPSEC_NEW_MAUVILLE
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/NewMauville_Inside/header.inc b/data/maps/NewMauville_Inside/header.inc
index 44a3d1895..c76ee0b84 100644
--- a/data/maps/NewMauville_Inside/header.inc
+++ b/data/maps/NewMauville_Inside/header.inc
@@ -5,7 +5,7 @@ NewMauville_Inside:: @ 830733C
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 186
- .byte 62
+ .byte MAPSEC_NEW_MAUVILLE
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/OldaleTown/header.inc b/data/maps/OldaleTown/header.inc
index 7f89ef759..5ae65bc80 100644
--- a/data/maps/OldaleTown/header.inc
+++ b/data/maps/OldaleTown/header.inc
@@ -5,7 +5,7 @@ OldaleTown:: @ 8305560
.4byte OldaleTown_MapConnections
.2byte MUS_MACHI_S4
.2byte 11
- .byte 1
+ .byte MAPSEC_OLDALE_TOWN
.byte 0
.byte 2
.byte 1
diff --git a/data/maps/OldaleTown_House1/header.inc b/data/maps/OldaleTown_House1/header.inc
index b2b31cb73..9eef00f1b 100644
--- a/data/maps/OldaleTown_House1/header.inc
+++ b/data/maps/OldaleTown_House1/header.inc
@@ -5,7 +5,7 @@ OldaleTown_House1:: @ 8305ABC
.4byte 0x0
.2byte MUS_MACHI_S4
.2byte 59
- .byte 1
+ .byte MAPSEC_OLDALE_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/OldaleTown_House2/header.inc b/data/maps/OldaleTown_House2/header.inc
index 33ad6fcd7..49e6e363b 100644
--- a/data/maps/OldaleTown_House2/header.inc
+++ b/data/maps/OldaleTown_House2/header.inc
@@ -5,7 +5,7 @@ OldaleTown_House2:: @ 8305AD8
.4byte 0x0
.2byte MUS_MACHI_S4
.2byte 60
- .byte 1
+ .byte MAPSEC_OLDALE_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/OldaleTown_Mart/header.inc b/data/maps/OldaleTown_Mart/header.inc
index d74999efb..2cb202aff 100644
--- a/data/maps/OldaleTown_Mart/header.inc
+++ b/data/maps/OldaleTown_Mart/header.inc
@@ -5,7 +5,7 @@ OldaleTown_Mart:: @ 8305B2C
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 63
- .byte 1
+ .byte MAPSEC_OLDALE_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/OldaleTown_PokemonCenter_1F/header.inc b/data/maps/OldaleTown_PokemonCenter_1F/header.inc
index a3bfaff18..71570da63 100644
--- a/data/maps/OldaleTown_PokemonCenter_1F/header.inc
+++ b/data/maps/OldaleTown_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ OldaleTown_PokemonCenter_1F:: @ 8305AF4
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 1
+ .byte MAPSEC_OLDALE_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/OldaleTown_PokemonCenter_2F/header.inc b/data/maps/OldaleTown_PokemonCenter_2F/header.inc
index 73c9d23d4..73eaa3e7a 100644
--- a/data/maps/OldaleTown_PokemonCenter_2F/header.inc
+++ b/data/maps/OldaleTown_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ OldaleTown_PokemonCenter_2F:: @ 8305B10
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 1
+ .byte MAPSEC_OLDALE_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PacifidlogTown/header.inc b/data/maps/PacifidlogTown/header.inc
index dd589e122..0c3f8dc14 100644
--- a/data/maps/PacifidlogTown/header.inc
+++ b/data/maps/PacifidlogTown/header.inc
@@ -5,7 +5,7 @@ PacifidlogTown:: @ 83055EC
.4byte PacifidlogTown_MapConnections
.2byte MUS_MINAMO
.2byte 16
- .byte 6
+ .byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte 2
.byte 1
diff --git a/data/maps/PacifidlogTown_House1/header.inc b/data/maps/PacifidlogTown_House1/header.inc
index dcf7d338d..960510a10 100644
--- a/data/maps/PacifidlogTown_House1/header.inc
+++ b/data/maps/PacifidlogTown_House1/header.inc
@@ -5,7 +5,7 @@ PacifidlogTown_House1:: @ 8305E90
.4byte 0x0
.2byte MUS_MINAMO
.2byte 77
- .byte 6
+ .byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PacifidlogTown_House2/header.inc b/data/maps/PacifidlogTown_House2/header.inc
index 758c10751..e1389d640 100644
--- a/data/maps/PacifidlogTown_House2/header.inc
+++ b/data/maps/PacifidlogTown_House2/header.inc
@@ -5,7 +5,7 @@ PacifidlogTown_House2:: @ 8305EAC
.4byte 0x0
.2byte MUS_MINAMO
.2byte 78
- .byte 6
+ .byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PacifidlogTown_House3/header.inc b/data/maps/PacifidlogTown_House3/header.inc
index 55427804f..370c68fb9 100644
--- a/data/maps/PacifidlogTown_House3/header.inc
+++ b/data/maps/PacifidlogTown_House3/header.inc
@@ -5,7 +5,7 @@ PacifidlogTown_House3:: @ 8305EC8
.4byte 0x0
.2byte MUS_MINAMO
.2byte 77
- .byte 6
+ .byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PacifidlogTown_House4/header.inc b/data/maps/PacifidlogTown_House4/header.inc
index fbadb5440..a4696948f 100644
--- a/data/maps/PacifidlogTown_House4/header.inc
+++ b/data/maps/PacifidlogTown_House4/header.inc
@@ -5,7 +5,7 @@ PacifidlogTown_House4:: @ 8305EE4
.4byte 0x0
.2byte MUS_MINAMO
.2byte 78
- .byte 6
+ .byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PacifidlogTown_House5/header.inc b/data/maps/PacifidlogTown_House5/header.inc
index c8d5bcf3c..7e784c5d9 100644
--- a/data/maps/PacifidlogTown_House5/header.inc
+++ b/data/maps/PacifidlogTown_House5/header.inc
@@ -5,7 +5,7 @@ PacifidlogTown_House5:: @ 8305F00
.4byte 0x0
.2byte MUS_MINAMO
.2byte 77
- .byte 6
+ .byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PacifidlogTown_PokemonCenter_1F/header.inc b/data/maps/PacifidlogTown_PokemonCenter_1F/header.inc
index 706a9d8b2..c482332f2 100644
--- a/data/maps/PacifidlogTown_PokemonCenter_1F/header.inc
+++ b/data/maps/PacifidlogTown_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ PacifidlogTown_PokemonCenter_1F:: @ 8305E58
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 6
+ .byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PacifidlogTown_PokemonCenter_2F/header.inc b/data/maps/PacifidlogTown_PokemonCenter_2F/header.inc
index 9408e8611..95818df6e 100644
--- a/data/maps/PacifidlogTown_PokemonCenter_2F/header.inc
+++ b/data/maps/PacifidlogTown_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ PacifidlogTown_PokemonCenter_2F:: @ 8305E74
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 6
+ .byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PetalburgCity/header.inc b/data/maps/PetalburgCity/header.inc
index ddda0a3b0..ecd98a176 100644
--- a/data/maps/PetalburgCity/header.inc
+++ b/data/maps/PetalburgCity/header.inc
@@ -5,7 +5,7 @@ PetalburgCity:: @ 8305448
.4byte PetalburgCity_MapConnections
.2byte MUS_MACHI_S2
.2byte 1
- .byte 7
+ .byte MAPSEC_PETALBURG_CITY
.byte 0
.byte 2
.byte 2
diff --git a/data/maps/PetalburgCity_Gym/header.inc b/data/maps/PetalburgCity_Gym/header.inc
index 6c519b07e..2307f6c4c 100644
--- a/data/maps/PetalburgCity_Gym/header.inc
+++ b/data/maps/PetalburgCity_Gym/header.inc
@@ -5,7 +5,7 @@ PetalburgCity_Gym:: @ 8305F38
.4byte 0x0
.2byte MUS_GIM
.2byte 79
- .byte 7
+ .byte MAPSEC_PETALBURG_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PetalburgCity_House1/header.inc b/data/maps/PetalburgCity_House1/header.inc
index 1aaa3ee6d..318b4701e 100644
--- a/data/maps/PetalburgCity_House1/header.inc
+++ b/data/maps/PetalburgCity_House1/header.inc
@@ -5,7 +5,7 @@ PetalburgCity_House1:: @ 8305F54
.4byte 0x0
.2byte MUS_MACHI_S2
.2byte 59
- .byte 7
+ .byte MAPSEC_PETALBURG_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PetalburgCity_House2/header.inc b/data/maps/PetalburgCity_House2/header.inc
index 1f115285c..530a7fee6 100644
--- a/data/maps/PetalburgCity_House2/header.inc
+++ b/data/maps/PetalburgCity_House2/header.inc
@@ -5,7 +5,7 @@ PetalburgCity_House2:: @ 8305F70
.4byte 0x0
.2byte MUS_MACHI_S2
.2byte 80
- .byte 7
+ .byte MAPSEC_PETALBURG_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PetalburgCity_Mart/header.inc b/data/maps/PetalburgCity_Mart/header.inc
index 21a487898..8a7109207 100644
--- a/data/maps/PetalburgCity_Mart/header.inc
+++ b/data/maps/PetalburgCity_Mart/header.inc
@@ -5,7 +5,7 @@ PetalburgCity_Mart:: @ 8305FC4
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 63
- .byte 7
+ .byte MAPSEC_PETALBURG_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PetalburgCity_PokemonCenter_1F/header.inc b/data/maps/PetalburgCity_PokemonCenter_1F/header.inc
index 0c87b4934..d7b4c6631 100644
--- a/data/maps/PetalburgCity_PokemonCenter_1F/header.inc
+++ b/data/maps/PetalburgCity_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ PetalburgCity_PokemonCenter_1F:: @ 8305F8C
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 7
+ .byte MAPSEC_PETALBURG_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PetalburgCity_PokemonCenter_2F/header.inc b/data/maps/PetalburgCity_PokemonCenter_2F/header.inc
index 7646fd56e..c74854e62 100644
--- a/data/maps/PetalburgCity_PokemonCenter_2F/header.inc
+++ b/data/maps/PetalburgCity_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ PetalburgCity_PokemonCenter_2F:: @ 8305FA8
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 7
+ .byte MAPSEC_PETALBURG_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PetalburgCity_WallysHouse/header.inc b/data/maps/PetalburgCity_WallysHouse/header.inc
index 297065253..01c75ceb4 100644
--- a/data/maps/PetalburgCity_WallysHouse/header.inc
+++ b/data/maps/PetalburgCity_WallysHouse/header.inc
@@ -5,7 +5,7 @@ PetalburgCity_WallysHouse:: @ 8305F1C
.4byte 0x0
.2byte MUS_MACHI_S2
.2byte 60
- .byte 7
+ .byte MAPSEC_PETALBURG_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/PetalburgWoods/header.inc b/data/maps/PetalburgWoods/header.inc
index d473ea6ed..88a9b5782 100644
--- a/data/maps/PetalburgWoods/header.inc
+++ b/data/maps/PetalburgWoods/header.inc
@@ -5,7 +5,7 @@ PetalburgWoods:: @ 8306EA4
.4byte 0x0
.2byte MUS_DAN01
.2byte 136
- .byte 59
+ .byte MAPSEC_PETALBURG_WOODS
.byte 0
.byte 11
.byte 3
diff --git a/data/maps/RecordCorner/header.inc b/data/maps/RecordCorner/header.inc
index ee1142c85..d45299b9b 100644
--- a/data/maps/RecordCorner/header.inc
+++ b/data/maps/RecordCorner/header.inc
@@ -5,7 +5,7 @@ RecordCorner:: @ 83079B0
.4byte 0x0
.2byte MUS_RAINBOW
.2byte 224
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route101/header.inc b/data/maps/Route101/header.inc
index c3d5606d5..a5fa12d17 100644
--- a/data/maps/Route101/header.inc
+++ b/data/maps/Route101/header.inc
@@ -5,7 +5,7 @@ Route101:: @ 8305608
.4byte Route101_MapConnections
.2byte MUS_DOORO1
.2byte 17
- .byte 16
+ .byte MAPSEC_ROUTE_101
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route102/header.inc b/data/maps/Route102/header.inc
index a84770fae..47474298f 100644
--- a/data/maps/Route102/header.inc
+++ b/data/maps/Route102/header.inc
@@ -5,7 +5,7 @@ Route102:: @ 8305624
.4byte Route102_MapConnections
.2byte MUS_DOORO1
.2byte 18
- .byte 17
+ .byte MAPSEC_ROUTE_102
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route103/header.inc b/data/maps/Route103/header.inc
index f0423adeb..22659ecde 100644
--- a/data/maps/Route103/header.inc
+++ b/data/maps/Route103/header.inc
@@ -5,7 +5,7 @@ Route103:: @ 8305640
.4byte Route103_MapConnections
.2byte MUS_DOORO1
.2byte 19
- .byte 18
+ .byte MAPSEC_ROUTE_103
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route104/header.inc b/data/maps/Route104/header.inc
index da47dab56..4f2c4f972 100644
--- a/data/maps/Route104/header.inc
+++ b/data/maps/Route104/header.inc
@@ -5,7 +5,7 @@ Route104:: @ 830565C
.4byte Route104_MapConnections
.2byte MUS_NEXTROAD
.2byte 20
- .byte 19
+ .byte MAPSEC_ROUTE_104
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route104_MrBrineysHouse/header.inc b/data/maps/Route104_MrBrineysHouse/header.inc
index e5a626a43..008c91ec1 100644
--- a/data/maps/Route104_MrBrineysHouse/header.inc
+++ b/data/maps/Route104_MrBrineysHouse/header.inc
@@ -5,7 +5,7 @@ Route104_MrBrineysHouse:: @ 8306C20
.4byte 0x0
.2byte MUS_MACHI_S2
.2byte 102
- .byte 19
+ .byte MAPSEC_ROUTE_104
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route104_PrettyPetalFlowerShop/header.inc b/data/maps/Route104_PrettyPetalFlowerShop/header.inc
index 30e6625d8..ebcdaf716 100644
--- a/data/maps/Route104_PrettyPetalFlowerShop/header.inc
+++ b/data/maps/Route104_PrettyPetalFlowerShop/header.inc
@@ -5,7 +5,7 @@ Route104_PrettyPetalFlowerShop:: @ 8306C3C
.4byte 0x0
.2byte MUS_MACHI_S2
.2byte 118
- .byte 19
+ .byte MAPSEC_ROUTE_104
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route104_Prototype/header.inc b/data/maps/Route104_Prototype/header.inc
index 3fbbdad95..a6226895e 100644
--- a/data/maps/Route104_Prototype/header.inc
+++ b/data/maps/Route104_Prototype/header.inc
@@ -5,7 +5,7 @@ Route104_Prototype:: @ 8307CF8
.4byte 0x0
.2byte MUS_NEXTROAD
.2byte 288
- .byte 19
+ .byte MAPSEC_ROUTE_104
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route104_PrototypePrettyPetalFlowerShop/header.inc b/data/maps/Route104_PrototypePrettyPetalFlowerShop/header.inc
index f7b4982aa..55d13f166 100644
--- a/data/maps/Route104_PrototypePrettyPetalFlowerShop/header.inc
+++ b/data/maps/Route104_PrototypePrettyPetalFlowerShop/header.inc
@@ -5,7 +5,7 @@ Route104_PrototypePrettyPetalFlowerShop:: @ 8307D14
.4byte 0x0
.2byte MUS_NEXTROAD
.2byte 118
- .byte 19
+ .byte MAPSEC_ROUTE_104
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route105/header.inc b/data/maps/Route105/header.inc
index 79fedb244..596cd3f2f 100644
--- a/data/maps/Route105/header.inc
+++ b/data/maps/Route105/header.inc
@@ -5,7 +5,7 @@ Route105:: @ 8305678
.4byte Route105_MapConnections
.2byte MUS_NEXTROAD
.2byte 21
- .byte 20
+ .byte MAPSEC_ROUTE_105
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route106/header.inc b/data/maps/Route106/header.inc
index bf8dd9626..a27e29335 100644
--- a/data/maps/Route106/header.inc
+++ b/data/maps/Route106/header.inc
@@ -5,7 +5,7 @@ Route106:: @ 8305694
.4byte Route106_MapConnections
.2byte MUS_NEXTROAD
.2byte 22
- .byte 21
+ .byte MAPSEC_ROUTE_106
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route107/header.inc b/data/maps/Route107/header.inc
index 19ba4ebd6..cbb0a51d4 100644
--- a/data/maps/Route107/header.inc
+++ b/data/maps/Route107/header.inc
@@ -5,7 +5,7 @@ Route107:: @ 83056B0
.4byte Route107_MapConnections
.2byte MUS_NEXTROAD
.2byte 23
- .byte 22
+ .byte MAPSEC_ROUTE_107
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route108/header.inc b/data/maps/Route108/header.inc
index 0169859e0..10b5577a7 100644
--- a/data/maps/Route108/header.inc
+++ b/data/maps/Route108/header.inc
@@ -5,7 +5,7 @@ Route108:: @ 83056CC
.4byte Route108_MapConnections
.2byte MUS_NEXTROAD
.2byte 24
- .byte 23
+ .byte MAPSEC_ROUTE_108
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route109/header.inc b/data/maps/Route109/header.inc
index 95c3cfaeb..fb6a4cfa5 100644
--- a/data/maps/Route109/header.inc
+++ b/data/maps/Route109/header.inc
@@ -5,7 +5,7 @@ Route109:: @ 83056E8
.4byte Route109_MapConnections
.2byte MUS_NEXTROAD
.2byte 25
- .byte 24
+ .byte MAPSEC_ROUTE_109
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route109_SeashoreHouse/header.inc b/data/maps/Route109_SeashoreHouse/header.inc
index 6677181f7..2b862890c 100644
--- a/data/maps/Route109_SeashoreHouse/header.inc
+++ b/data/maps/Route109_SeashoreHouse/header.inc
@@ -5,7 +5,7 @@ Route109_SeashoreHouse:: @ 8307D30
.4byte 0x0
.2byte MUS_HIGHTOWN
.2byte 244
- .byte 24
+ .byte MAPSEC_ROUTE_109
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110/header.inc b/data/maps/Route110/header.inc
index 952233450..44f9171c5 100644
--- a/data/maps/Route110/header.inc
+++ b/data/maps/Route110/header.inc
@@ -5,7 +5,7 @@ Route110:: @ 8305704
.4byte Route110_MapConnections
.2byte MUS_DOORO_X1
.2byte 26
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route110_SeasideCyclingRoadNorthEntrance/header.inc b/data/maps/Route110_SeasideCyclingRoadNorthEntrance/header.inc
index 1fb9928b3..3c8cbc913 100644
--- a/data/maps/Route110_SeasideCyclingRoadNorthEntrance/header.inc
+++ b/data/maps/Route110_SeasideCyclingRoadNorthEntrance/header.inc
@@ -5,7 +5,7 @@ Route110_SeasideCyclingRoadNorthEntrance:: @ 8307E9C
.4byte 0x0
.2byte MUS_FINECITY
.2byte 257
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110_SeasideCyclingRoadSouthEntrance/header.inc b/data/maps/Route110_SeasideCyclingRoadSouthEntrance/header.inc
index a4da7397c..92a567e79 100644
--- a/data/maps/Route110_SeasideCyclingRoadSouthEntrance/header.inc
+++ b/data/maps/Route110_SeasideCyclingRoadSouthEntrance/header.inc
@@ -5,7 +5,7 @@ Route110_SeasideCyclingRoadSouthEntrance:: @ 8307E80
.4byte 0x0
.2byte MUS_FINECITY
.2byte 257
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110_TrickHouseCorridor/header.inc b/data/maps/Route110_TrickHouseCorridor/header.inc
index 14997e663..1917ca9e8 100644
--- a/data/maps/Route110_TrickHouseCorridor/header.inc
+++ b/data/maps/Route110_TrickHouseCorridor/header.inc
@@ -5,7 +5,7 @@ Route110_TrickHouseCorridor:: @ 8307D84
.4byte 0x0
.2byte MUS_KARAKURI
.2byte 247
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110_TrickHouseEnd/header.inc b/data/maps/Route110_TrickHouseEnd/header.inc
index 58ca3e71d..bbd71f6e0 100644
--- a/data/maps/Route110_TrickHouseEnd/header.inc
+++ b/data/maps/Route110_TrickHouseEnd/header.inc
@@ -5,7 +5,7 @@ Route110_TrickHouseEnd:: @ 8307D68
.4byte 0x0
.2byte MUS_KARAKURI
.2byte 246
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110_TrickHouseEntrance/header.inc b/data/maps/Route110_TrickHouseEntrance/header.inc
index 8146c2fa0..9e85c08b4 100644
--- a/data/maps/Route110_TrickHouseEntrance/header.inc
+++ b/data/maps/Route110_TrickHouseEntrance/header.inc
@@ -5,7 +5,7 @@ Route110_TrickHouseEntrance:: @ 8307D4C
.4byte 0x0
.2byte MUS_KARAKURI
.2byte 245
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110_TrickHousePuzzle1/header.inc b/data/maps/Route110_TrickHousePuzzle1/header.inc
index 18d772089..5ccf92339 100644
--- a/data/maps/Route110_TrickHousePuzzle1/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle1/header.inc
@@ -5,7 +5,7 @@ Route110_TrickHousePuzzle1:: @ 8307DA0
.4byte 0x0
.2byte MUS_KARAKURI
.2byte 248
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110_TrickHousePuzzle2/header.inc b/data/maps/Route110_TrickHousePuzzle2/header.inc
index 489d213d9..79956b4ce 100644
--- a/data/maps/Route110_TrickHousePuzzle2/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle2/header.inc
@@ -5,7 +5,7 @@ Route110_TrickHousePuzzle2:: @ 8307DBC
.4byte 0x0
.2byte MUS_KARAKURI
.2byte 249
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110_TrickHousePuzzle3/header.inc b/data/maps/Route110_TrickHousePuzzle3/header.inc
index c8b2da4a3..39757f11c 100644
--- a/data/maps/Route110_TrickHousePuzzle3/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle3/header.inc
@@ -5,7 +5,7 @@ Route110_TrickHousePuzzle3:: @ 8307DD8
.4byte 0x0
.2byte MUS_KARAKURI
.2byte 250
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110_TrickHousePuzzle4/header.inc b/data/maps/Route110_TrickHousePuzzle4/header.inc
index b06a1404f..42240589e 100644
--- a/data/maps/Route110_TrickHousePuzzle4/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle4/header.inc
@@ -5,7 +5,7 @@ Route110_TrickHousePuzzle4:: @ 8307DF4
.4byte 0x0
.2byte MUS_KARAKURI
.2byte 251
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110_TrickHousePuzzle5/header.inc b/data/maps/Route110_TrickHousePuzzle5/header.inc
index dc42453f4..66633e116 100644
--- a/data/maps/Route110_TrickHousePuzzle5/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle5/header.inc
@@ -5,7 +5,7 @@ Route110_TrickHousePuzzle5:: @ 8307E10
.4byte 0x0
.2byte MUS_KARAKURI
.2byte 252
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110_TrickHousePuzzle6/header.inc b/data/maps/Route110_TrickHousePuzzle6/header.inc
index 3377987da..8e481c0d2 100644
--- a/data/maps/Route110_TrickHousePuzzle6/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle6/header.inc
@@ -5,7 +5,7 @@ Route110_TrickHousePuzzle6:: @ 8307E2C
.4byte 0x0
.2byte MUS_KARAKURI
.2byte 253
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110_TrickHousePuzzle7/header.inc b/data/maps/Route110_TrickHousePuzzle7/header.inc
index 84014fdb5..7dbfeee9c 100644
--- a/data/maps/Route110_TrickHousePuzzle7/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle7/header.inc
@@ -5,7 +5,7 @@ Route110_TrickHousePuzzle7:: @ 8307E48
.4byte 0x0
.2byte MUS_KARAKURI
.2byte 254
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route110_TrickHousePuzzle8/header.inc b/data/maps/Route110_TrickHousePuzzle8/header.inc
index ede90bbe4..b5c19da8c 100644
--- a/data/maps/Route110_TrickHousePuzzle8/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle8/header.inc
@@ -5,7 +5,7 @@ Route110_TrickHousePuzzle8:: @ 8307E64
.4byte 0x0
.2byte MUS_KARAKURI
.2byte 255
- .byte 25
+ .byte MAPSEC_ROUTE_110
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route111/header.inc b/data/maps/Route111/header.inc
index 3dd09e33b..08bdee199 100644
--- a/data/maps/Route111/header.inc
+++ b/data/maps/Route111/header.inc
@@ -5,7 +5,7 @@ Route111:: @ 8305720
.4byte Route111_MapConnections
.2byte MUS_DOORO_X1
.2byte 27
- .byte 26
+ .byte MAPSEC_ROUTE_111
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route111_OldLadysRestStop/header.inc b/data/maps/Route111_OldLadysRestStop/header.inc
index 8536613b9..da9e9f2b2 100644
--- a/data/maps/Route111_OldLadysRestStop/header.inc
+++ b/data/maps/Route111_OldLadysRestStop/header.inc
@@ -5,7 +5,7 @@ Route111_OldLadysRestStop:: @ 8306C74
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 64
- .byte 26
+ .byte MAPSEC_ROUTE_111
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route111_WinstrateFamilysHouse/header.inc b/data/maps/Route111_WinstrateFamilysHouse/header.inc
index 7cac82463..286ba879b 100644
--- a/data/maps/Route111_WinstrateFamilysHouse/header.inc
+++ b/data/maps/Route111_WinstrateFamilysHouse/header.inc
@@ -5,7 +5,7 @@ Route111_WinstrateFamilysHouse:: @ 8306C58
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 60
- .byte 26
+ .byte MAPSEC_ROUTE_111
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route112/header.inc b/data/maps/Route112/header.inc
index dc9a96bd6..9181e6742 100644
--- a/data/maps/Route112/header.inc
+++ b/data/maps/Route112/header.inc
@@ -5,7 +5,7 @@ Route112:: @ 830573C
.4byte Route112_MapConnections
.2byte MUS_DOORO_X1
.2byte 28
- .byte 27
+ .byte MAPSEC_ROUTE_112
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route112_CableCarStation/header.inc b/data/maps/Route112_CableCarStation/header.inc
index 881f4591d..3621f354d 100644
--- a/data/maps/Route112_CableCarStation/header.inc
+++ b/data/maps/Route112_CableCarStation/header.inc
@@ -5,7 +5,7 @@ Route112_CableCarStation:: @ 8306C90
.4byte 0x0
.2byte MUS_DOORO_X1
.2byte 119
- .byte 27
+ .byte MAPSEC_ROUTE_112
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route113/header.inc b/data/maps/Route113/header.inc
index 9097be2f9..fb951f745 100644
--- a/data/maps/Route113/header.inc
+++ b/data/maps/Route113/header.inc
@@ -5,7 +5,7 @@ Route113:: @ 8305758
.4byte Route113_MapConnections
.2byte MUS_KAZANBAI
.2byte 29
- .byte 28
+ .byte MAPSEC_ROUTE_113
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route113_GlassWorkshop/header.inc b/data/maps/Route113_GlassWorkshop/header.inc
index e63be2dee..b91ea7e31 100644
--- a/data/maps/Route113_GlassWorkshop/header.inc
+++ b/data/maps/Route113_GlassWorkshop/header.inc
@@ -5,7 +5,7 @@ Route113_GlassWorkshop:: @ 8307EB8
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 67
- .byte 28
+ .byte MAPSEC_ROUTE_113
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route114/header.inc b/data/maps/Route114/header.inc
index afeb34813..463b73fc6 100644
--- a/data/maps/Route114/header.inc
+++ b/data/maps/Route114/header.inc
@@ -5,7 +5,7 @@ Route114:: @ 8305774
.4byte Route114_MapConnections
.2byte MUS_DOORO_X1
.2byte 30
- .byte 29
+ .byte MAPSEC_ROUTE_114
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route114_FossilManiacsHouse/header.inc b/data/maps/Route114_FossilManiacsHouse/header.inc
index cd580f692..6d3a91f9b 100644
--- a/data/maps/Route114_FossilManiacsHouse/header.inc
+++ b/data/maps/Route114_FossilManiacsHouse/header.inc
@@ -5,7 +5,7 @@ Route114_FossilManiacsHouse:: @ 8306CC8
.4byte 0x0
.2byte MUS_TONEKUSA
.2byte 120
- .byte 29
+ .byte MAPSEC_ROUTE_114
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route114_FossilManiacsTunnel/header.inc b/data/maps/Route114_FossilManiacsTunnel/header.inc
index 7cd10eb1a..fb13a0014 100644
--- a/data/maps/Route114_FossilManiacsTunnel/header.inc
+++ b/data/maps/Route114_FossilManiacsTunnel/header.inc
@@ -5,7 +5,7 @@ Route114_FossilManiacsTunnel:: @ 8306CE4
.4byte 0x0
.2byte MUS_TONEKUSA
.2byte 121
- .byte 29
+ .byte MAPSEC_ROUTE_114
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route114_LanettesHouse/header.inc b/data/maps/Route114_LanettesHouse/header.inc
index d37f4a323..5ec566a97 100644
--- a/data/maps/Route114_LanettesHouse/header.inc
+++ b/data/maps/Route114_LanettesHouse/header.inc
@@ -5,7 +5,7 @@ Route114_LanettesHouse:: @ 8306D00
.4byte 0x0
.2byte MUS_TONEKUSA
.2byte 122
- .byte 29
+ .byte MAPSEC_ROUTE_114
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route115/header.inc b/data/maps/Route115/header.inc
index 208c24a76..2b4ed1a8e 100644
--- a/data/maps/Route115/header.inc
+++ b/data/maps/Route115/header.inc
@@ -5,7 +5,7 @@ Route115:: @ 8305790
.4byte Route115_MapConnections
.2byte MUS_NEXTROAD
.2byte 31
- .byte 30
+ .byte MAPSEC_ROUTE_115
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route116/header.inc b/data/maps/Route116/header.inc
index 27d26658f..ca397e802 100644
--- a/data/maps/Route116/header.inc
+++ b/data/maps/Route116/header.inc
@@ -5,7 +5,7 @@ Route116:: @ 83057AC
.4byte Route116_MapConnections
.2byte MUS_NEXTROAD
.2byte 32
- .byte 31
+ .byte MAPSEC_ROUTE_116
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route116_TunnelersRestHouse/header.inc b/data/maps/Route116_TunnelersRestHouse/header.inc
index a446833da..1dfc79fd7 100644
--- a/data/maps/Route116_TunnelersRestHouse/header.inc
+++ b/data/maps/Route116_TunnelersRestHouse/header.inc
@@ -5,7 +5,7 @@ Route116_TunnelersRestHouse:: @ 8306D1C
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 123
- .byte 31
+ .byte MAPSEC_ROUTE_116
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route117/header.inc b/data/maps/Route117/header.inc
index 11df4b60f..05481f3f6 100644
--- a/data/maps/Route117/header.inc
+++ b/data/maps/Route117/header.inc
@@ -5,7 +5,7 @@ Route117:: @ 83057C8
.4byte Route117_MapConnections
.2byte MUS_DOORO_X1
.2byte 33
- .byte 32
+ .byte MAPSEC_ROUTE_117
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route117_PokemonDayCare/header.inc b/data/maps/Route117_PokemonDayCare/header.inc
index 0a4f59499..1f3e8ab1b 100644
--- a/data/maps/Route117_PokemonDayCare/header.inc
+++ b/data/maps/Route117_PokemonDayCare/header.inc
@@ -5,7 +5,7 @@ Route117_PokemonDayCare:: @ 8306D38
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 124
- .byte 32
+ .byte MAPSEC_ROUTE_117
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route118/header.inc b/data/maps/Route118/header.inc
index 930a9d860..7db58629e 100644
--- a/data/maps/Route118/header.inc
+++ b/data/maps/Route118/header.inc
@@ -5,7 +5,7 @@ Route118:: @ 83057E4
.4byte Route118_MapConnections
.2byte MUS_ROUTE_118
.2byte 34
- .byte 33
+ .byte MAPSEC_ROUTE_118
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route119/header.inc b/data/maps/Route119/header.inc
index 98d0ea5f6..31ff54e69 100644
--- a/data/maps/Route119/header.inc
+++ b/data/maps/Route119/header.inc
@@ -5,7 +5,7 @@ Route119:: @ 8305800
.4byte Route119_MapConnections
.2byte MUS_GRANROAD
.2byte 35
- .byte 34
+ .byte MAPSEC_ROUTE_119
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route119_House/header.inc b/data/maps/Route119_House/header.inc
index 3a7cdcbbd..3f3a674c1 100644
--- a/data/maps/Route119_House/header.inc
+++ b/data/maps/Route119_House/header.inc
@@ -5,7 +5,7 @@ Route119_House:: @ 8307F28
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 59
- .byte 34
+ .byte MAPSEC_ROUTE_119
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route119_WeatherInstitute_1F/header.inc b/data/maps/Route119_WeatherInstitute_1F/header.inc
index b35d3cccf..c1d5e4a19 100644
--- a/data/maps/Route119_WeatherInstitute_1F/header.inc
+++ b/data/maps/Route119_WeatherInstitute_1F/header.inc
@@ -5,7 +5,7 @@ Route119_WeatherInstitute_1F:: @ 8307EF0
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 272
- .byte 34
+ .byte MAPSEC_ROUTE_119
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route119_WeatherInstitute_2F/header.inc b/data/maps/Route119_WeatherInstitute_2F/header.inc
index b93deba00..cab0cff36 100644
--- a/data/maps/Route119_WeatherInstitute_2F/header.inc
+++ b/data/maps/Route119_WeatherInstitute_2F/header.inc
@@ -5,7 +5,7 @@ Route119_WeatherInstitute_2F:: @ 8307F0C
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 273
- .byte 34
+ .byte MAPSEC_ROUTE_119
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route120/header.inc b/data/maps/Route120/header.inc
index 10f7725b7..329aad838 100644
--- a/data/maps/Route120/header.inc
+++ b/data/maps/Route120/header.inc
@@ -5,7 +5,7 @@ Route120:: @ 830581C
.4byte Route120_MapConnections
.2byte MUS_DOORO_X3
.2byte 36
- .byte 35
+ .byte MAPSEC_ROUTE_120
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route121/header.inc b/data/maps/Route121/header.inc
index 918fe47f6..096e898e7 100644
--- a/data/maps/Route121/header.inc
+++ b/data/maps/Route121/header.inc
@@ -5,7 +5,7 @@ Route121:: @ 8305838
.4byte Route121_MapConnections
.2byte MUS_DOORO_X3
.2byte 37
- .byte 36
+ .byte MAPSEC_ROUTE_121
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route121_SafariZoneEntrance/header.inc b/data/maps/Route121_SafariZoneEntrance/header.inc
index 0d97afab4..eaf333fab 100644
--- a/data/maps/Route121_SafariZoneEntrance/header.inc
+++ b/data/maps/Route121_SafariZoneEntrance/header.inc
@@ -5,7 +5,7 @@ Route121_SafariZoneEntrance:: @ 8306D54
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 125
- .byte 36
+ .byte MAPSEC_ROUTE_121
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route122/header.inc b/data/maps/Route122/header.inc
index c6a2d4e4d..8dbd09231 100644
--- a/data/maps/Route122/header.inc
+++ b/data/maps/Route122/header.inc
@@ -5,7 +5,7 @@ Route122:: @ 8305854
.4byte Route122_MapConnections
.2byte MUS_DOORO_X4
.2byte 38
- .byte 37
+ .byte MAPSEC_ROUTE_122
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route123/header.inc b/data/maps/Route123/header.inc
index 87c3ed8a6..49d62bc91 100644
--- a/data/maps/Route123/header.inc
+++ b/data/maps/Route123/header.inc
@@ -5,7 +5,7 @@ Route123:: @ 8305870
.4byte Route123_MapConnections
.2byte MUS_DOORO_X4
.2byte 39
- .byte 38
+ .byte MAPSEC_ROUTE_123
.byte 0
.byte 2
.byte 3
diff --git a/data/maps/Route123_BerryMastersHouse/header.inc b/data/maps/Route123_BerryMastersHouse/header.inc
index 427ef4720..8925ce819 100644
--- a/data/maps/Route123_BerryMastersHouse/header.inc
+++ b/data/maps/Route123_BerryMastersHouse/header.inc
@@ -5,7 +5,7 @@ Route123_BerryMastersHouse:: @ 8307ED4
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 60
- .byte 38
+ .byte MAPSEC_ROUTE_123
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route124/header.inc b/data/maps/Route124/header.inc
index c2c5cd41d..ec5f01fa1 100644
--- a/data/maps/Route124/header.inc
+++ b/data/maps/Route124/header.inc
@@ -5,7 +5,7 @@ Route124:: @ 830588C
.4byte Route124_MapConnections
.2byte MUS_DOORO_X3
.2byte 40
- .byte 39
+ .byte MAPSEC_ROUTE_124
.byte 0
.byte 2
.byte 6
diff --git a/data/maps/Route124_DivingTreasureHuntersHouse/header.inc b/data/maps/Route124_DivingTreasureHuntersHouse/header.inc
index 259e378de..48c9a240b 100644
--- a/data/maps/Route124_DivingTreasureHuntersHouse/header.inc
+++ b/data/maps/Route124_DivingTreasureHuntersHouse/header.inc
@@ -5,7 +5,7 @@ Route124_DivingTreasureHuntersHouse:: @ 8307F44
.4byte 0x0
.2byte MUS_MINAMO
.2byte 302
- .byte 39
+ .byte MAPSEC_ROUTE_124
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Route125/header.inc b/data/maps/Route125/header.inc
index cb315cc66..baadfc335 100644
--- a/data/maps/Route125/header.inc
+++ b/data/maps/Route125/header.inc
@@ -5,7 +5,7 @@ Route125:: @ 83058A8
.4byte Route125_MapConnections
.2byte MUS_DOORO_X3
.2byte 41
- .byte 40
+ .byte MAPSEC_ROUTE_125
.byte 0
.byte 2
.byte 6
diff --git a/data/maps/Route126/header.inc b/data/maps/Route126/header.inc
index 0539f9007..de5cd84ff 100644
--- a/data/maps/Route126/header.inc
+++ b/data/maps/Route126/header.inc
@@ -5,7 +5,7 @@ Route126:: @ 83058C4
.4byte Route126_MapConnections
.2byte MUS_DOORO_X3
.2byte 42
- .byte 41
+ .byte MAPSEC_ROUTE_126
.byte 0
.byte 2
.byte 6
diff --git a/data/maps/Route127/header.inc b/data/maps/Route127/header.inc
index abd4154cc..b29d15194 100644
--- a/data/maps/Route127/header.inc
+++ b/data/maps/Route127/header.inc
@@ -5,7 +5,7 @@ Route127:: @ 83058E0
.4byte Route127_MapConnections
.2byte MUS_DOORO_X3
.2byte 43
- .byte 42
+ .byte MAPSEC_ROUTE_127
.byte 0
.byte 2
.byte 6
diff --git a/data/maps/Route128/header.inc b/data/maps/Route128/header.inc
index df2b21a6e..76abd4ac8 100644
--- a/data/maps/Route128/header.inc
+++ b/data/maps/Route128/header.inc
@@ -5,7 +5,7 @@ Route128:: @ 83058FC
.4byte Route128_MapConnections
.2byte MUS_DOORO_X3
.2byte 44
- .byte 43
+ .byte MAPSEC_ROUTE_128
.byte 0
.byte 2
.byte 6
diff --git a/data/maps/Route129/header.inc b/data/maps/Route129/header.inc
index a1285fe08..608152d59 100644
--- a/data/maps/Route129/header.inc
+++ b/data/maps/Route129/header.inc
@@ -5,7 +5,7 @@ Route129:: @ 8305918
.4byte Route129_MapConnections
.2byte MUS_GRANROAD
.2byte 45
- .byte 44
+ .byte MAPSEC_ROUTE_129
.byte 0
.byte 2
.byte 6
diff --git a/data/maps/Route130/header.inc b/data/maps/Route130/header.inc
index f286a2b81..c52b1a515 100644
--- a/data/maps/Route130/header.inc
+++ b/data/maps/Route130/header.inc
@@ -5,7 +5,7 @@ Route130:: @ 8305934
.4byte Route130_MapConnections
.2byte MUS_GRANROAD
.2byte 264
- .byte 45
+ .byte MAPSEC_ROUTE_130
.byte 0
.byte 2
.byte 6
diff --git a/data/maps/Route131/header.inc b/data/maps/Route131/header.inc
index 51b4d9e4f..fbda14a39 100644
--- a/data/maps/Route131/header.inc
+++ b/data/maps/Route131/header.inc
@@ -5,7 +5,7 @@ Route131:: @ 8305950
.4byte Route131_MapConnections
.2byte MUS_GRANROAD
.2byte 47
- .byte 46
+ .byte MAPSEC_ROUTE_131
.byte 0
.byte 2
.byte 6
diff --git a/data/maps/Route132/header.inc b/data/maps/Route132/header.inc
index 4f2e2d47f..591450ca8 100644
--- a/data/maps/Route132/header.inc
+++ b/data/maps/Route132/header.inc
@@ -5,7 +5,7 @@ Route132:: @ 830596C
.4byte Route132_MapConnections
.2byte MUS_GRANROAD
.2byte 48
- .byte 47
+ .byte MAPSEC_ROUTE_132
.byte 0
.byte 2
.byte 6
diff --git a/data/maps/Route133/header.inc b/data/maps/Route133/header.inc
index 3cd851068..37673de99 100644
--- a/data/maps/Route133/header.inc
+++ b/data/maps/Route133/header.inc
@@ -5,7 +5,7 @@ Route133:: @ 8305988
.4byte Route133_MapConnections
.2byte MUS_GRANROAD
.2byte 49
- .byte 48
+ .byte MAPSEC_ROUTE_133
.byte 0
.byte 2
.byte 6
diff --git a/data/maps/Route134/header.inc b/data/maps/Route134/header.inc
index 15fe8168e..7583194dc 100644
--- a/data/maps/Route134/header.inc
+++ b/data/maps/Route134/header.inc
@@ -5,7 +5,7 @@ Route134:: @ 83059A4
.4byte Route134_MapConnections
.2byte MUS_GRANROAD
.2byte 50
- .byte 49
+ .byte MAPSEC_ROUTE_134
.byte 0
.byte 2
.byte 6
diff --git a/data/maps/RustboroCity/header.inc b/data/maps/RustboroCity/header.inc
index 73af7f1fc..6bb3148f3 100644
--- a/data/maps/RustboroCity/header.inc
+++ b/data/maps/RustboroCity/header.inc
@@ -5,7 +5,7 @@ RustboroCity:: @ 830549C
.4byte RustboroCity_MapConnections
.2byte MUS_GOTOWN
.2byte 4
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 2
.byte 2
diff --git a/data/maps/RustboroCity_CuttersHouse/header.inc b/data/maps/RustboroCity_CuttersHouse/header.inc
index c1aa1fc37..da7f7fc19 100644
--- a/data/maps/RustboroCity_CuttersHouse/header.inc
+++ b/data/maps/RustboroCity_CuttersHouse/header.inc
@@ -5,7 +5,7 @@ RustboroCity_CuttersHouse:: @ 8306360
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 98
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_DevonCorp_1F/header.inc b/data/maps/RustboroCity_DevonCorp_1F/header.inc
index e0148dea7..50d4eb0a1 100644
--- a/data/maps/RustboroCity_DevonCorp_1F/header.inc
+++ b/data/maps/RustboroCity_DevonCorp_1F/header.inc
@@ -5,7 +5,7 @@ RustboroCity_DevonCorp_1F:: @ 830622C
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 92
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_DevonCorp_2F/header.inc b/data/maps/RustboroCity_DevonCorp_2F/header.inc
index dbed45197..3824d26af 100644
--- a/data/maps/RustboroCity_DevonCorp_2F/header.inc
+++ b/data/maps/RustboroCity_DevonCorp_2F/header.inc
@@ -5,7 +5,7 @@ RustboroCity_DevonCorp_2F:: @ 8306248
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 93
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_DevonCorp_3F/header.inc b/data/maps/RustboroCity_DevonCorp_3F/header.inc
index b8cadbed2..5b9c9f610 100644
--- a/data/maps/RustboroCity_DevonCorp_3F/header.inc
+++ b/data/maps/RustboroCity_DevonCorp_3F/header.inc
@@ -5,7 +5,7 @@ RustboroCity_DevonCorp_3F:: @ 8306264
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 270
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_Flat1_1F/header.inc b/data/maps/RustboroCity_Flat1_1F/header.inc
index 3d1739875..c8651f6e4 100644
--- a/data/maps/RustboroCity_Flat1_1F/header.inc
+++ b/data/maps/RustboroCity_Flat1_1F/header.inc
@@ -5,7 +5,7 @@ RustboroCity_Flat1_1F:: @ 830630C
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 314
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_Flat1_2F/header.inc b/data/maps/RustboroCity_Flat1_2F/header.inc
index 0ae9dd797..623105877 100644
--- a/data/maps/RustboroCity_Flat1_2F/header.inc
+++ b/data/maps/RustboroCity_Flat1_2F/header.inc
@@ -5,7 +5,7 @@ RustboroCity_Flat1_2F:: @ 8306328
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 315
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_Flat2_1F/header.inc b/data/maps/RustboroCity_Flat2_1F/header.inc
index 3a9ee86c3..7a3e8e6ed 100644
--- a/data/maps/RustboroCity_Flat2_1F/header.inc
+++ b/data/maps/RustboroCity_Flat2_1F/header.inc
@@ -5,7 +5,7 @@ RustboroCity_Flat2_1F:: @ 8306398
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 295
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_Flat2_2F/header.inc b/data/maps/RustboroCity_Flat2_2F/header.inc
index da3544023..b3d46b826 100644
--- a/data/maps/RustboroCity_Flat2_2F/header.inc
+++ b/data/maps/RustboroCity_Flat2_2F/header.inc
@@ -5,7 +5,7 @@ RustboroCity_Flat2_2F:: @ 83063B4
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 296
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_Flat2_3F/header.inc b/data/maps/RustboroCity_Flat2_3F/header.inc
index 9d5235d93..26340c97f 100644
--- a/data/maps/RustboroCity_Flat2_3F/header.inc
+++ b/data/maps/RustboroCity_Flat2_3F/header.inc
@@ -5,7 +5,7 @@ RustboroCity_Flat2_3F:: @ 83063D0
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 297
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_Gym/header.inc b/data/maps/RustboroCity_Gym/header.inc
index d98b04da8..eff57079b 100644
--- a/data/maps/RustboroCity_Gym/header.inc
+++ b/data/maps/RustboroCity_Gym/header.inc
@@ -5,7 +5,7 @@ RustboroCity_Gym:: @ 8306280
.4byte 0x0
.2byte MUS_GIM
.2byte 94
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_House1/header.inc b/data/maps/RustboroCity_House1/header.inc
index 34d733c02..d8186a144 100644
--- a/data/maps/RustboroCity_House1/header.inc
+++ b/data/maps/RustboroCity_House1/header.inc
@@ -5,7 +5,7 @@ RustboroCity_House1:: @ 8306344
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 97
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_House2/header.inc b/data/maps/RustboroCity_House2/header.inc
index be12d46f8..51c2df96d 100644
--- a/data/maps/RustboroCity_House2/header.inc
+++ b/data/maps/RustboroCity_House2/header.inc
@@ -5,7 +5,7 @@ RustboroCity_House2:: @ 830637C
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 96
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_House3/header.inc b/data/maps/RustboroCity_House3/header.inc
index 7c23668ca..3fe416c2e 100644
--- a/data/maps/RustboroCity_House3/header.inc
+++ b/data/maps/RustboroCity_House3/header.inc
@@ -5,7 +5,7 @@ RustboroCity_House3:: @ 83063EC
.4byte 0x0
.2byte MUS_GOTOWN
.2byte 96
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_Mart/header.inc b/data/maps/RustboroCity_Mart/header.inc
index 88af62f92..dc4e5fa95 100644
--- a/data/maps/RustboroCity_Mart/header.inc
+++ b/data/maps/RustboroCity_Mart/header.inc
@@ -5,7 +5,7 @@ RustboroCity_Mart:: @ 83062F0
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 63
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_PokemonCenter_1F/header.inc b/data/maps/RustboroCity_PokemonCenter_1F/header.inc
index 9b98aff0c..c6d157934 100644
--- a/data/maps/RustboroCity_PokemonCenter_1F/header.inc
+++ b/data/maps/RustboroCity_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ RustboroCity_PokemonCenter_1F:: @ 83062B8
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_PokemonCenter_2F/header.inc b/data/maps/RustboroCity_PokemonCenter_2F/header.inc
index ff85dfc1d..519a795b3 100644
--- a/data/maps/RustboroCity_PokemonCenter_2F/header.inc
+++ b/data/maps/RustboroCity_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ RustboroCity_PokemonCenter_2F:: @ 83062D4
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RustboroCity_PokemonSchool/header.inc b/data/maps/RustboroCity_PokemonSchool/header.inc
index 98f0e1b1d..c2fcd9dcb 100644
--- a/data/maps/RustboroCity_PokemonSchool/header.inc
+++ b/data/maps/RustboroCity_PokemonSchool/header.inc
@@ -5,7 +5,7 @@ RustboroCity_PokemonSchool:: @ 830629C
.4byte 0x0
.2byte MUS_P_SCHOOL
.2byte 95
- .byte 10
+ .byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/RusturfTunnel/header.inc b/data/maps/RusturfTunnel/header.inc
index a3d4108ce..8ad0d2d1a 100644
--- a/data/maps/RusturfTunnel/header.inc
+++ b/data/maps/RusturfTunnel/header.inc
@@ -5,7 +5,7 @@ RusturfTunnel:: @ 8306DE0
.4byte 0x0
.2byte MUS_DAN01
.2byte 130
- .byte 60
+ .byte MAPSEC_RUSTURF_TUNNEL
.byte 0
.byte 6
.byte 4
diff --git a/data/maps/SSTidalCorridor/header.inc b/data/maps/SSTidalCorridor/header.inc
index 4f55319d8..ddb74ae22 100644
--- a/data/maps/SSTidalCorridor/header.inc
+++ b/data/maps/SSTidalCorridor/header.inc
@@ -5,7 +5,7 @@ SSTidalCorridor:: @ 8307B54
.4byte 0x0
.2byte MUS_M_BOAT
.2byte 278
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SSTidalLowerDeck/header.inc b/data/maps/SSTidalLowerDeck/header.inc
index c52690612..dac40a5a8 100644
--- a/data/maps/SSTidalLowerDeck/header.inc
+++ b/data/maps/SSTidalLowerDeck/header.inc
@@ -5,7 +5,7 @@ SSTidalLowerDeck:: @ 8307B70
.4byte 0x0
.2byte MUS_M_BOAT
.2byte 279
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SSTidalRooms/header.inc b/data/maps/SSTidalRooms/header.inc
index 09fb99472..837feae65 100644
--- a/data/maps/SSTidalRooms/header.inc
+++ b/data/maps/SSTidalRooms/header.inc
@@ -5,7 +5,7 @@ SSTidalRooms:: @ 8307B8C
.4byte 0x0
.2byte MUS_M_BOAT
.2byte 280
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SafariZone_Northeast/header.inc b/data/maps/SafariZone_Northeast/header.inc
index b4939c053..07e2a6b79 100644
--- a/data/maps/SafariZone_Northeast/header.inc
+++ b/data/maps/SafariZone_Northeast/header.inc
@@ -5,7 +5,7 @@ SafariZone_Northeast:: @ 8307BC4
.4byte SafariZone_Northeast_MapConnections
.2byte MUS_SAFARI
.2byte 240
- .byte 57
+ .byte MAPSEC_SAFARI_ZONE
.byte 0
.byte 0
.byte 3
diff --git a/data/maps/SafariZone_Northwest/header.inc b/data/maps/SafariZone_Northwest/header.inc
index 533f797a5..850d29f3b 100644
--- a/data/maps/SafariZone_Northwest/header.inc
+++ b/data/maps/SafariZone_Northwest/header.inc
@@ -5,7 +5,7 @@ SafariZone_Northwest:: @ 8307BA8
.4byte SafariZone_Northwest_MapConnections
.2byte MUS_SAFARI
.2byte 239
- .byte 57
+ .byte MAPSEC_SAFARI_ZONE
.byte 0
.byte 0
.byte 3
diff --git a/data/maps/SafariZone_RestHouse/header.inc b/data/maps/SafariZone_RestHouse/header.inc
index f13ab4f49..b6bc6ec1a 100644
--- a/data/maps/SafariZone_RestHouse/header.inc
+++ b/data/maps/SafariZone_RestHouse/header.inc
@@ -5,7 +5,7 @@ SafariZone_RestHouse:: @ 8307CDC
.4byte 0x0
.2byte MUS_SAFARI
.2byte 330
- .byte 57
+ .byte MAPSEC_SAFARI_ZONE
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SafariZone_Southeast/header.inc b/data/maps/SafariZone_Southeast/header.inc
index f60a67472..41aa821c7 100644
--- a/data/maps/SafariZone_Southeast/header.inc
+++ b/data/maps/SafariZone_Southeast/header.inc
@@ -5,7 +5,7 @@ SafariZone_Southeast:: @ 8307BFC
.4byte SafariZone_Southeast_MapConnections
.2byte MUS_SAFARI
.2byte 242
- .byte 57
+ .byte MAPSEC_SAFARI_ZONE
.byte 0
.byte 0
.byte 3
diff --git a/data/maps/SafariZone_Southwest/header.inc b/data/maps/SafariZone_Southwest/header.inc
index 9a472f3ec..823c795b5 100644
--- a/data/maps/SafariZone_Southwest/header.inc
+++ b/data/maps/SafariZone_Southwest/header.inc
@@ -5,7 +5,7 @@ SafariZone_Southwest:: @ 8307BE0
.4byte SafariZone_Southwest_MapConnections
.2byte MUS_SAFARI
.2byte 241
- .byte 57
+ .byte MAPSEC_SAFARI_ZONE
.byte 0
.byte 0
.byte 3
diff --git a/data/maps/ScorchedSlab/header.inc b/data/maps/ScorchedSlab/header.inc
index 43b6b24b5..73a32b237 100644
--- a/data/maps/ScorchedSlab/header.inc
+++ b/data/maps/ScorchedSlab/header.inc
@@ -5,7 +5,7 @@ ScorchedSlab:: @ 830756C
.4byte 0x0
.2byte MUS_DAN01
.2byte 312
- .byte 80
+ .byte MAPSEC_SCORCHED_SLAB
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SeafloorCavern_Entrance/header.inc b/data/maps/SeafloorCavern_Entrance/header.inc
index 4f48878a8..17791949a 100644
--- a/data/maps/SeafloorCavern_Entrance/header.inc
+++ b/data/maps/SeafloorCavern_Entrance/header.inc
@@ -5,7 +5,7 @@ SeafloorCavern_Entrance:: @ 8307064
.4byte 0x0
.2byte MUS_TOZAN
.2byte 148
- .byte 68
+ .byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SeafloorCavern_Room1/header.inc b/data/maps/SeafloorCavern_Room1/header.inc
index 411e65b1b..0114d308c 100644
--- a/data/maps/SeafloorCavern_Room1/header.inc
+++ b/data/maps/SeafloorCavern_Room1/header.inc
@@ -5,7 +5,7 @@ SeafloorCavern_Room1:: @ 8307080
.4byte 0x0
.2byte MUS_TOZAN
.2byte 149
- .byte 68
+ .byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SeafloorCavern_Room2/header.inc b/data/maps/SeafloorCavern_Room2/header.inc
index a8e6ce80e..bf7fd880b 100644
--- a/data/maps/SeafloorCavern_Room2/header.inc
+++ b/data/maps/SeafloorCavern_Room2/header.inc
@@ -5,7 +5,7 @@ SeafloorCavern_Room2:: @ 830709C
.4byte 0x0
.2byte MUS_TOZAN
.2byte 150
- .byte 68
+ .byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SeafloorCavern_Room3/header.inc b/data/maps/SeafloorCavern_Room3/header.inc
index b062079b7..6cee15884 100644
--- a/data/maps/SeafloorCavern_Room3/header.inc
+++ b/data/maps/SeafloorCavern_Room3/header.inc
@@ -5,7 +5,7 @@ SeafloorCavern_Room3:: @ 83070B8
.4byte 0x0
.2byte MUS_TOZAN
.2byte 151
- .byte 68
+ .byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SeafloorCavern_Room4/header.inc b/data/maps/SeafloorCavern_Room4/header.inc
index bee900fed..f905e314a 100644
--- a/data/maps/SeafloorCavern_Room4/header.inc
+++ b/data/maps/SeafloorCavern_Room4/header.inc
@@ -5,7 +5,7 @@ SeafloorCavern_Room4:: @ 83070D4
.4byte 0x0
.2byte MUS_TOZAN
.2byte 152
- .byte 68
+ .byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SeafloorCavern_Room5/header.inc b/data/maps/SeafloorCavern_Room5/header.inc
index 9e7560fe2..01aa3fa28 100644
--- a/data/maps/SeafloorCavern_Room5/header.inc
+++ b/data/maps/SeafloorCavern_Room5/header.inc
@@ -5,7 +5,7 @@ SeafloorCavern_Room5:: @ 83070F0
.4byte 0x0
.2byte MUS_TOZAN
.2byte 153
- .byte 68
+ .byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SeafloorCavern_Room6/header.inc b/data/maps/SeafloorCavern_Room6/header.inc
index 0b9fdb9d1..f5b5834b4 100644
--- a/data/maps/SeafloorCavern_Room6/header.inc
+++ b/data/maps/SeafloorCavern_Room6/header.inc
@@ -5,7 +5,7 @@ SeafloorCavern_Room6:: @ 830710C
.4byte 0x0
.2byte MUS_TOZAN
.2byte 154
- .byte 68
+ .byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SeafloorCavern_Room7/header.inc b/data/maps/SeafloorCavern_Room7/header.inc
index ee640a183..db9b37207 100644
--- a/data/maps/SeafloorCavern_Room7/header.inc
+++ b/data/maps/SeafloorCavern_Room7/header.inc
@@ -5,7 +5,7 @@ SeafloorCavern_Room7:: @ 8307128
.4byte 0x0
.2byte MUS_TOZAN
.2byte 155
- .byte 68
+ .byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SeafloorCavern_Room8/header.inc b/data/maps/SeafloorCavern_Room8/header.inc
index 43ff7baa4..eab61c222 100644
--- a/data/maps/SeafloorCavern_Room8/header.inc
+++ b/data/maps/SeafloorCavern_Room8/header.inc
@@ -5,7 +5,7 @@ SeafloorCavern_Room8:: @ 8307144
.4byte 0x0
.2byte MUS_TOZAN
.2byte 156
- .byte 68
+ .byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SeafloorCavern_Room9/header.inc b/data/maps/SeafloorCavern_Room9/header.inc
index c45181c89..dce89bbbc 100644
--- a/data/maps/SeafloorCavern_Room9/header.inc
+++ b/data/maps/SeafloorCavern_Room9/header.inc
@@ -5,7 +5,7 @@ SeafloorCavern_Room9:: @ 8307160
.4byte 0x0
.2byte MUS_TOZAN
.2byte 157
- .byte 68
+ .byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte 6
.byte 4
diff --git a/data/maps/SealedChamber_InnerRoom/header.inc b/data/maps/SealedChamber_InnerRoom/header.inc
index d919de498..70bdac83d 100644
--- a/data/maps/SealedChamber_InnerRoom/header.inc
+++ b/data/maps/SealedChamber_InnerRoom/header.inc
@@ -5,7 +5,7 @@ SealedChamber_InnerRoom:: @ 8307550
.4byte 0x0
.2byte MUS_MABOROSI
.2byte 305
- .byte 78
+ .byte MAPSEC_SEALED_CHAMBER
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SealedChamber_OuterRoom/header.inc b/data/maps/SealedChamber_OuterRoom/header.inc
index f40159b44..52c512435 100644
--- a/data/maps/SealedChamber_OuterRoom/header.inc
+++ b/data/maps/SealedChamber_OuterRoom/header.inc
@@ -5,7 +5,7 @@ SealedChamber_OuterRoom:: @ 8307534
.4byte 0x0
.2byte MUS_MABOROSI
.2byte 285
- .byte 78
+ .byte MAPSEC_SEALED_CHAMBER
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SecretBase_BlueCave1/header.inc b/data/maps/SecretBase_BlueCave1/header.inc
index 08ab9ab97..f6394943b 100644
--- a/data/maps/SecretBase_BlueCave1/header.inc
+++ b/data/maps/SecretBase_BlueCave1/header.inc
@@ -5,7 +5,7 @@ SecretBase_BlueCave1:: @ 8307710
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 200
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_BlueCave2/header.inc b/data/maps/SecretBase_BlueCave2/header.inc
index 89546ddaf..c9c12aaeb 100644
--- a/data/maps/SecretBase_BlueCave2/header.inc
+++ b/data/maps/SecretBase_BlueCave2/header.inc
@@ -5,7 +5,7 @@ SecretBase_BlueCave2:: @ 83077B8
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 206
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_BlueCave3/header.inc b/data/maps/SecretBase_BlueCave3/header.inc
index 67df8c009..b8595d2d2 100644
--- a/data/maps/SecretBase_BlueCave3/header.inc
+++ b/data/maps/SecretBase_BlueCave3/header.inc
@@ -5,7 +5,7 @@ SecretBase_BlueCave3:: @ 8307860
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 212
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_BlueCave4/header.inc b/data/maps/SecretBase_BlueCave4/header.inc
index 7cf1ed137..a14dc57db 100644
--- a/data/maps/SecretBase_BlueCave4/header.inc
+++ b/data/maps/SecretBase_BlueCave4/header.inc
@@ -5,7 +5,7 @@ SecretBase_BlueCave4:: @ 8307908
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 218
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_BrownCave1/header.inc b/data/maps/SecretBase_BrownCave1/header.inc
index b6d298eb9..baf7cf883 100644
--- a/data/maps/SecretBase_BrownCave1/header.inc
+++ b/data/maps/SecretBase_BrownCave1/header.inc
@@ -5,7 +5,7 @@ SecretBase_BrownCave1:: @ 83076F4
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 199
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_BrownCave2/header.inc b/data/maps/SecretBase_BrownCave2/header.inc
index 3a50de1fa..7b1d7426e 100644
--- a/data/maps/SecretBase_BrownCave2/header.inc
+++ b/data/maps/SecretBase_BrownCave2/header.inc
@@ -5,7 +5,7 @@ SecretBase_BrownCave2:: @ 830779C
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 205
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_BrownCave3/header.inc b/data/maps/SecretBase_BrownCave3/header.inc
index 4da609d11..4fabbe72e 100644
--- a/data/maps/SecretBase_BrownCave3/header.inc
+++ b/data/maps/SecretBase_BrownCave3/header.inc
@@ -5,7 +5,7 @@ SecretBase_BrownCave3:: @ 8307844
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 211
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_BrownCave4/header.inc b/data/maps/SecretBase_BrownCave4/header.inc
index 471b29596..84bddecc5 100644
--- a/data/maps/SecretBase_BrownCave4/header.inc
+++ b/data/maps/SecretBase_BrownCave4/header.inc
@@ -5,7 +5,7 @@ SecretBase_BrownCave4:: @ 83078EC
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 217
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_RedCave1/header.inc b/data/maps/SecretBase_RedCave1/header.inc
index 6508fe62a..556c9f570 100644
--- a/data/maps/SecretBase_RedCave1/header.inc
+++ b/data/maps/SecretBase_RedCave1/header.inc
@@ -5,7 +5,7 @@ SecretBase_RedCave1:: @ 83076D8
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 198
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_RedCave2/header.inc b/data/maps/SecretBase_RedCave2/header.inc
index f4c61d108..9a2cc0779 100644
--- a/data/maps/SecretBase_RedCave2/header.inc
+++ b/data/maps/SecretBase_RedCave2/header.inc
@@ -5,7 +5,7 @@ SecretBase_RedCave2:: @ 8307780
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 204
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_RedCave3/header.inc b/data/maps/SecretBase_RedCave3/header.inc
index 681f4c403..9f35ae51f 100644
--- a/data/maps/SecretBase_RedCave3/header.inc
+++ b/data/maps/SecretBase_RedCave3/header.inc
@@ -5,7 +5,7 @@ SecretBase_RedCave3:: @ 8307828
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 210
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_RedCave4/header.inc b/data/maps/SecretBase_RedCave4/header.inc
index 77b6e06a7..fa8fd1873 100644
--- a/data/maps/SecretBase_RedCave4/header.inc
+++ b/data/maps/SecretBase_RedCave4/header.inc
@@ -5,7 +5,7 @@ SecretBase_RedCave4:: @ 83078D0
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 216
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_Shrub1/header.inc b/data/maps/SecretBase_Shrub1/header.inc
index cc85dea9e..c533388d6 100644
--- a/data/maps/SecretBase_Shrub1/header.inc
+++ b/data/maps/SecretBase_Shrub1/header.inc
@@ -5,7 +5,7 @@ SecretBase_Shrub1:: @ 8307764
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 203
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_Shrub2/header.inc b/data/maps/SecretBase_Shrub2/header.inc
index 932fcaca5..1eabc4746 100644
--- a/data/maps/SecretBase_Shrub2/header.inc
+++ b/data/maps/SecretBase_Shrub2/header.inc
@@ -5,7 +5,7 @@ SecretBase_Shrub2:: @ 830780C
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 209
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_Shrub3/header.inc b/data/maps/SecretBase_Shrub3/header.inc
index a3a660338..28f64c790 100644
--- a/data/maps/SecretBase_Shrub3/header.inc
+++ b/data/maps/SecretBase_Shrub3/header.inc
@@ -5,7 +5,7 @@ SecretBase_Shrub3:: @ 83078B4
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 215
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_Shrub4/header.inc b/data/maps/SecretBase_Shrub4/header.inc
index 0966db367..1cd544da9 100644
--- a/data/maps/SecretBase_Shrub4/header.inc
+++ b/data/maps/SecretBase_Shrub4/header.inc
@@ -5,7 +5,7 @@ SecretBase_Shrub4:: @ 830795C
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 221
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_Tree1/header.inc b/data/maps/SecretBase_Tree1/header.inc
index 1d0ce9509..05d689a97 100644
--- a/data/maps/SecretBase_Tree1/header.inc
+++ b/data/maps/SecretBase_Tree1/header.inc
@@ -5,7 +5,7 @@ SecretBase_Tree1:: @ 8307748
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 202
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_Tree2/header.inc b/data/maps/SecretBase_Tree2/header.inc
index 7138440cd..302beabbc 100644
--- a/data/maps/SecretBase_Tree2/header.inc
+++ b/data/maps/SecretBase_Tree2/header.inc
@@ -5,7 +5,7 @@ SecretBase_Tree2:: @ 83077F0
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 208
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_Tree3/header.inc b/data/maps/SecretBase_Tree3/header.inc
index d3f49d3e0..0064346c7 100644
--- a/data/maps/SecretBase_Tree3/header.inc
+++ b/data/maps/SecretBase_Tree3/header.inc
@@ -5,7 +5,7 @@ SecretBase_Tree3:: @ 8307898
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 214
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_Tree4/header.inc b/data/maps/SecretBase_Tree4/header.inc
index 53a723432..802125e65 100644
--- a/data/maps/SecretBase_Tree4/header.inc
+++ b/data/maps/SecretBase_Tree4/header.inc
@@ -5,7 +5,7 @@ SecretBase_Tree4:: @ 8307940
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 220
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_YellowCave1/header.inc b/data/maps/SecretBase_YellowCave1/header.inc
index ecf3d4ea2..3d56690c5 100644
--- a/data/maps/SecretBase_YellowCave1/header.inc
+++ b/data/maps/SecretBase_YellowCave1/header.inc
@@ -5,7 +5,7 @@ SecretBase_YellowCave1:: @ 830772C
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 201
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_YellowCave2/header.inc b/data/maps/SecretBase_YellowCave2/header.inc
index cbee83030..62a4c15b3 100644
--- a/data/maps/SecretBase_YellowCave2/header.inc
+++ b/data/maps/SecretBase_YellowCave2/header.inc
@@ -5,7 +5,7 @@ SecretBase_YellowCave2:: @ 83077D4
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 207
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_YellowCave3/header.inc b/data/maps/SecretBase_YellowCave3/header.inc
index cea1c9175..64b67fa80 100644
--- a/data/maps/SecretBase_YellowCave3/header.inc
+++ b/data/maps/SecretBase_YellowCave3/header.inc
@@ -5,7 +5,7 @@ SecretBase_YellowCave3:: @ 830787C
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 213
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/SecretBase_YellowCave4/header.inc b/data/maps/SecretBase_YellowCave4/header.inc
index e744080bd..31e96a7a4 100644
--- a/data/maps/SecretBase_YellowCave4/header.inc
+++ b/data/maps/SecretBase_YellowCave4/header.inc
@@ -5,7 +5,7 @@ SecretBase_YellowCave4:: @ 8307924
.4byte 0x0
.2byte MUS_MACHI_S3
.2byte 219
- .byte 86
+ .byte MAPSEC_SECRET_BASE
.byte 0
.byte 0
.byte 9
diff --git a/data/maps/ShoalCave_HighTideEntranceRoom/header.inc b/data/maps/ShoalCave_HighTideEntranceRoom/header.inc
index 16287338d..c835cf25b 100644
--- a/data/maps/ShoalCave_HighTideEntranceRoom/header.inc
+++ b/data/maps/ShoalCave_HighTideEntranceRoom/header.inc
@@ -5,7 +5,7 @@ ShoalCave_HighTideEntranceRoom:: @ 83072E8
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 169
- .byte 67
+ .byte MAPSEC_SHOAL_CAVE
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/ShoalCave_HighTideInnerRoom/header.inc b/data/maps/ShoalCave_HighTideInnerRoom/header.inc
index 63bb3f47e..19f7c3a5c 100644
--- a/data/maps/ShoalCave_HighTideInnerRoom/header.inc
+++ b/data/maps/ShoalCave_HighTideInnerRoom/header.inc
@@ -5,7 +5,7 @@ ShoalCave_HighTideInnerRoom:: @ 8307304
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 170
- .byte 67
+ .byte MAPSEC_SHOAL_CAVE
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/ShoalCave_LowTideEntranceRoom/header.inc b/data/maps/ShoalCave_LowTideEntranceRoom/header.inc
index 05cac9619..81e4ac4c9 100644
--- a/data/maps/ShoalCave_LowTideEntranceRoom/header.inc
+++ b/data/maps/ShoalCave_LowTideEntranceRoom/header.inc
@@ -5,7 +5,7 @@ ShoalCave_LowTideEntranceRoom:: @ 8307278
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 165
- .byte 67
+ .byte MAPSEC_SHOAL_CAVE
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/ShoalCave_LowTideIceRoom/header.inc b/data/maps/ShoalCave_LowTideIceRoom/header.inc
index 3cc9967fb..3a2b4d823 100644
--- a/data/maps/ShoalCave_LowTideIceRoom/header.inc
+++ b/data/maps/ShoalCave_LowTideIceRoom/header.inc
@@ -5,7 +5,7 @@ ShoalCave_LowTideIceRoom:: @ 8307684
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 329
- .byte 67
+ .byte MAPSEC_SHOAL_CAVE
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/ShoalCave_LowTideInnerRoom/header.inc b/data/maps/ShoalCave_LowTideInnerRoom/header.inc
index be5fb9413..5f519df30 100644
--- a/data/maps/ShoalCave_LowTideInnerRoom/header.inc
+++ b/data/maps/ShoalCave_LowTideInnerRoom/header.inc
@@ -5,7 +5,7 @@ ShoalCave_LowTideInnerRoom:: @ 8307294
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 166
- .byte 67
+ .byte MAPSEC_SHOAL_CAVE
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/ShoalCave_LowTideLowerRoom/header.inc b/data/maps/ShoalCave_LowTideLowerRoom/header.inc
index 5d82ba865..b2c727d43 100644
--- a/data/maps/ShoalCave_LowTideLowerRoom/header.inc
+++ b/data/maps/ShoalCave_LowTideLowerRoom/header.inc
@@ -5,7 +5,7 @@ ShoalCave_LowTideLowerRoom:: @ 83072CC
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 168
- .byte 67
+ .byte MAPSEC_SHOAL_CAVE
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/ShoalCave_LowTideStairsRoom/header.inc b/data/maps/ShoalCave_LowTideStairsRoom/header.inc
index 976bc6ad9..bf0cb0e99 100644
--- a/data/maps/ShoalCave_LowTideStairsRoom/header.inc
+++ b/data/maps/ShoalCave_LowTideStairsRoom/header.inc
@@ -5,7 +5,7 @@ ShoalCave_LowTideStairsRoom:: @ 83072B0
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte 167
- .byte 67
+ .byte MAPSEC_SHOAL_CAVE
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SingleBattleColosseum/header.inc b/data/maps/SingleBattleColosseum/header.inc
index 99e0b090b..66aec206f 100644
--- a/data/maps/SingleBattleColosseum/header.inc
+++ b/data/maps/SingleBattleColosseum/header.inc
@@ -5,7 +5,7 @@ SingleBattleColosseum:: @ 8307978
.4byte 0x0
.2byte MUS_RAINBOW
.2byte 222
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SkyPillar_1F/header.inc b/data/maps/SkyPillar_1F/header.inc
index c530fde86..2df988714 100644
--- a/data/maps/SkyPillar_1F/header.inc
+++ b/data/maps/SkyPillar_1F/header.inc
@@ -5,7 +5,7 @@ SkyPillar_1F:: @ 8307614
.4byte 0x0
.2byte MUS_TOZAN
.2byte 323
- .byte 85
+ .byte MAPSEC_SKY_PILLAR
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SkyPillar_2F/header.inc b/data/maps/SkyPillar_2F/header.inc
index ce61cf5b8..934d1b34b 100644
--- a/data/maps/SkyPillar_2F/header.inc
+++ b/data/maps/SkyPillar_2F/header.inc
@@ -5,7 +5,7 @@ SkyPillar_2F:: @ 8307630
.4byte 0x0
.2byte MUS_TOZAN
.2byte 324
- .byte 85
+ .byte MAPSEC_SKY_PILLAR
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SkyPillar_3F/header.inc b/data/maps/SkyPillar_3F/header.inc
index eaed10d93..5dc93b962 100644
--- a/data/maps/SkyPillar_3F/header.inc
+++ b/data/maps/SkyPillar_3F/header.inc
@@ -5,7 +5,7 @@ SkyPillar_3F:: @ 830764C
.4byte 0x0
.2byte MUS_TOZAN
.2byte 325
- .byte 85
+ .byte MAPSEC_SKY_PILLAR
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SkyPillar_4F/header.inc b/data/maps/SkyPillar_4F/header.inc
index f14e016c8..bfbaa0ff6 100644
--- a/data/maps/SkyPillar_4F/header.inc
+++ b/data/maps/SkyPillar_4F/header.inc
@@ -5,7 +5,7 @@ SkyPillar_4F:: @ 8307668
.4byte 0x0
.2byte MUS_TOZAN
.2byte 326
- .byte 85
+ .byte MAPSEC_SKY_PILLAR
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SkyPillar_5F/header.inc b/data/maps/SkyPillar_5F/header.inc
index e4ff00b1a..3f31f0dbf 100644
--- a/data/maps/SkyPillar_5F/header.inc
+++ b/data/maps/SkyPillar_5F/header.inc
@@ -5,7 +5,7 @@ SkyPillar_5F:: @ 83076A0
.4byte 0x0
.2byte MUS_TOZAN
.2byte 331
- .byte 85
+ .byte MAPSEC_SKY_PILLAR
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SkyPillar_Entrance/header.inc b/data/maps/SkyPillar_Entrance/header.inc
index 84dfe9b5c..144431800 100644
--- a/data/maps/SkyPillar_Entrance/header.inc
+++ b/data/maps/SkyPillar_Entrance/header.inc
@@ -5,7 +5,7 @@ SkyPillar_Entrance:: @ 83075DC
.4byte 0x0
.2byte MUS_TOZAN
.2byte 321
- .byte 85
+ .byte MAPSEC_SKY_PILLAR
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/SkyPillar_Outside/header.inc b/data/maps/SkyPillar_Outside/header.inc
index 71aa1ad84..02812eca8 100644
--- a/data/maps/SkyPillar_Outside/header.inc
+++ b/data/maps/SkyPillar_Outside/header.inc
@@ -5,7 +5,7 @@ SkyPillar_Outside:: @ 83075F8
.4byte 0x0
.2byte MUS_TOZAN
.2byte 322
- .byte 85
+ .byte MAPSEC_SKY_PILLAR
.byte 0
.byte 0
.byte 3
diff --git a/data/maps/SkyPillar_Top/header.inc b/data/maps/SkyPillar_Top/header.inc
index aaaf40fc4..106b3284e 100644
--- a/data/maps/SkyPillar_Top/header.inc
+++ b/data/maps/SkyPillar_Top/header.inc
@@ -5,7 +5,7 @@ SkyPillar_Top:: @ 83076BC
.4byte 0x0
.2byte MUS_TOZAN
.2byte 332
- .byte 85
+ .byte MAPSEC_SKY_PILLAR
.byte 0
.byte 0
.byte 3
diff --git a/data/maps/SlateportCity/header.inc b/data/maps/SlateportCity/header.inc
index 738a383e7..07a0ee53b 100644
--- a/data/maps/SlateportCity/header.inc
+++ b/data/maps/SlateportCity/header.inc
@@ -5,7 +5,7 @@ SlateportCity:: @ 8305464
.4byte SlateportCity_MapConnections
.2byte MUS_FINECITY
.2byte 2
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 2
.byte 2
diff --git a/data/maps/SlateportCity_ContestHall/header.inc b/data/maps/SlateportCity_ContestHall/header.inc
index d327e87c7..2e17d0f9c 100644
--- a/data/maps/SlateportCity_ContestHall/header.inc
+++ b/data/maps/SlateportCity_ContestHall/header.inc
@@ -5,7 +5,7 @@ SlateportCity_ContestHall:: @ 8306034
.4byte 0x0
.2byte MUS_CONLOBBY
.2byte 73
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SlateportCity_ContestLobby/header.inc b/data/maps/SlateportCity_ContestLobby/header.inc
index 0531ef226..a040be082 100644
--- a/data/maps/SlateportCity_ContestLobby/header.inc
+++ b/data/maps/SlateportCity_ContestLobby/header.inc
@@ -5,7 +5,7 @@ SlateportCity_ContestLobby:: @ 8306018
.4byte 0x0
.2byte MUS_CONLOBBY
.2byte 72
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SlateportCity_Harbor/header.inc b/data/maps/SlateportCity_Harbor/header.inc
index 5de5d2e5f..05c2ef2c8 100644
--- a/data/maps/SlateportCity_Harbor/header.inc
+++ b/data/maps/SlateportCity_Harbor/header.inc
@@ -5,7 +5,7 @@ SlateportCity_Harbor:: @ 83060C0
.4byte 0x0
.2byte MUS_FINECITY
.2byte 88
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SlateportCity_House1/header.inc b/data/maps/SlateportCity_House1/header.inc
index 548424b49..04f67d4bb 100644
--- a/data/maps/SlateportCity_House1/header.inc
+++ b/data/maps/SlateportCity_House1/header.inc
@@ -5,7 +5,7 @@ SlateportCity_House1:: @ 8306050
.4byte 0x0
.2byte MUS_FINECITY
.2byte 80
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SlateportCity_House2/header.inc b/data/maps/SlateportCity_House2/header.inc
index d731c0542..191ff10fb 100644
--- a/data/maps/SlateportCity_House2/header.inc
+++ b/data/maps/SlateportCity_House2/header.inc
@@ -5,7 +5,7 @@ SlateportCity_House2:: @ 83060DC
.4byte 0x0
.2byte MUS_FINECITY
.2byte 60
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SlateportCity_Mart/header.inc b/data/maps/SlateportCity_Mart/header.inc
index d66d2452e..ee7297450 100644
--- a/data/maps/SlateportCity_Mart/header.inc
+++ b/data/maps/SlateportCity_Mart/header.inc
@@ -5,7 +5,7 @@ SlateportCity_Mart:: @ 8306130
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 63
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SlateportCity_OceanicMuseum_1F/header.inc b/data/maps/SlateportCity_OceanicMuseum_1F/header.inc
index 60fe69e70..6374023f6 100644
--- a/data/maps/SlateportCity_OceanicMuseum_1F/header.inc
+++ b/data/maps/SlateportCity_OceanicMuseum_1F/header.inc
@@ -5,7 +5,7 @@ SlateportCity_OceanicMuseum_1F:: @ 8306088
.4byte 0x0
.2byte MUS_FUNE_KAN
.2byte 86
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SlateportCity_OceanicMuseum_2F/header.inc b/data/maps/SlateportCity_OceanicMuseum_2F/header.inc
index 8baa101fa..2e0446fb2 100644
--- a/data/maps/SlateportCity_OceanicMuseum_2F/header.inc
+++ b/data/maps/SlateportCity_OceanicMuseum_2F/header.inc
@@ -5,7 +5,7 @@ SlateportCity_OceanicMuseum_2F:: @ 83060A4
.4byte 0x0
.2byte MUS_FUNE_KAN
.2byte 87
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SlateportCity_PokemonCenter_1F/header.inc b/data/maps/SlateportCity_PokemonCenter_1F/header.inc
index 35d90cdc2..cb52dece1 100644
--- a/data/maps/SlateportCity_PokemonCenter_1F/header.inc
+++ b/data/maps/SlateportCity_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ SlateportCity_PokemonCenter_1F:: @ 83060F8
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SlateportCity_PokemonCenter_2F/header.inc b/data/maps/SlateportCity_PokemonCenter_2F/header.inc
index 738074ba1..6129dda83 100644
--- a/data/maps/SlateportCity_PokemonCenter_2F/header.inc
+++ b/data/maps/SlateportCity_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ SlateportCity_PokemonCenter_2F:: @ 8306114
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SlateportCity_PokemonFanClub/header.inc b/data/maps/SlateportCity_PokemonFanClub/header.inc
index 8094f192f..2a48b1895 100644
--- a/data/maps/SlateportCity_PokemonFanClub/header.inc
+++ b/data/maps/SlateportCity_PokemonFanClub/header.inc
@@ -5,7 +5,7 @@ SlateportCity_PokemonFanClub:: @ 830606C
.4byte 0x0
.2byte MUS_FINECITY
.2byte 85
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SlateportCity_SternsShipyard_1F/header.inc b/data/maps/SlateportCity_SternsShipyard_1F/header.inc
index 2d98ef5b8..76b3f037f 100644
--- a/data/maps/SlateportCity_SternsShipyard_1F/header.inc
+++ b/data/maps/SlateportCity_SternsShipyard_1F/header.inc
@@ -5,7 +5,7 @@ SlateportCity_SternsShipyard_1F:: @ 8305FE0
.4byte 0x0
.2byte MUS_FINECITY
.2byte 81
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SlateportCity_SternsShipyard_2F/header.inc b/data/maps/SlateportCity_SternsShipyard_2F/header.inc
index e7f1b74b8..56f613dcf 100644
--- a/data/maps/SlateportCity_SternsShipyard_2F/header.inc
+++ b/data/maps/SlateportCity_SternsShipyard_2F/header.inc
@@ -5,7 +5,7 @@ SlateportCity_SternsShipyard_2F:: @ 8305FFC
.4byte 0x0
.2byte MUS_FINECITY
.2byte 82
- .byte 8
+ .byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity/header.inc b/data/maps/SootopolisCity/header.inc
index bd41a5c2b..9c169ab6d 100644
--- a/data/maps/SootopolisCity/header.inc
+++ b/data/maps/SootopolisCity/header.inc
@@ -5,7 +5,7 @@ SootopolisCity:: @ 830550C
.4byte 0x0
.2byte MUS_RUNECITY
.2byte 8
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 2
.byte 2
diff --git a/data/maps/SootopolisCity_Gym_1F/header.inc b/data/maps/SootopolisCity_Gym_1F/header.inc
index 0583679dc..1e1e16868 100644
--- a/data/maps/SootopolisCity_Gym_1F/header.inc
+++ b/data/maps/SootopolisCity_Gym_1F/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_Gym_1F:: @ 830692C
.4byte 0x0
.2byte MUS_GIM
.2byte 110
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity_Gym_B1F/header.inc b/data/maps/SootopolisCity_Gym_B1F/header.inc
index ea131c587..c9745ae62 100644
--- a/data/maps/SootopolisCity_Gym_B1F/header.inc
+++ b/data/maps/SootopolisCity_Gym_B1F/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_Gym_B1F:: @ 8306948
.4byte 0x0
.2byte MUS_GIM
.2byte 111
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity_House1/header.inc b/data/maps/SootopolisCity_House1/header.inc
index 924b6a382..612e3f71e 100644
--- a/data/maps/SootopolisCity_House1/header.inc
+++ b/data/maps/SootopolisCity_House1/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_House1:: @ 83069B8
.4byte 0x0
.2byte MUS_RUNECITY
.2byte 308
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity_House2/header.inc b/data/maps/SootopolisCity_House2/header.inc
index 6360bcf03..63fb280c6 100644
--- a/data/maps/SootopolisCity_House2/header.inc
+++ b/data/maps/SootopolisCity_House2/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_House2:: @ 83069D4
.4byte 0x0
.2byte MUS_RUNECITY
.2byte 309
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity_House3/header.inc b/data/maps/SootopolisCity_House3/header.inc
index f7d724e5f..b59e13c13 100644
--- a/data/maps/SootopolisCity_House3/header.inc
+++ b/data/maps/SootopolisCity_House3/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_House3:: @ 83069F0
.4byte 0x0
.2byte MUS_RUNECITY
.2byte 310
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity_House4/header.inc b/data/maps/SootopolisCity_House4/header.inc
index d18dc2edc..f6fe5781e 100644
--- a/data/maps/SootopolisCity_House4/header.inc
+++ b/data/maps/SootopolisCity_House4/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_House4:: @ 8306A0C
.4byte 0x0
.2byte MUS_RUNECITY
.2byte 308
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity_House5/header.inc b/data/maps/SootopolisCity_House5/header.inc
index f34f45f53..0b3f89d67 100644
--- a/data/maps/SootopolisCity_House5/header.inc
+++ b/data/maps/SootopolisCity_House5/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_House5:: @ 8306A28
.4byte 0x0
.2byte MUS_RUNECITY
.2byte 309
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity_House6/header.inc b/data/maps/SootopolisCity_House6/header.inc
index 639ea99ba..34df34e66 100644
--- a/data/maps/SootopolisCity_House6/header.inc
+++ b/data/maps/SootopolisCity_House6/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_House6:: @ 8306A44
.4byte 0x0
.2byte MUS_RUNECITY
.2byte 310
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity_House7/header.inc b/data/maps/SootopolisCity_House7/header.inc
index 1d785ec47..26501506c 100644
--- a/data/maps/SootopolisCity_House7/header.inc
+++ b/data/maps/SootopolisCity_House7/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_House7:: @ 8306A60
.4byte 0x0
.2byte MUS_RUNECITY
.2byte 308
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity_House8/header.inc b/data/maps/SootopolisCity_House8/header.inc
index 58432de80..c9710a4b5 100644
--- a/data/maps/SootopolisCity_House8/header.inc
+++ b/data/maps/SootopolisCity_House8/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_House8:: @ 8306A7C
.4byte 0x0
.2byte MUS_RUNECITY
.2byte 298
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity_Mart/header.inc b/data/maps/SootopolisCity_Mart/header.inc
index ecf6040c4..2f40d838e 100644
--- a/data/maps/SootopolisCity_Mart/header.inc
+++ b/data/maps/SootopolisCity_Mart/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_Mart:: @ 830699C
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 63
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity_PokemonCenter_1F/header.inc b/data/maps/SootopolisCity_PokemonCenter_1F/header.inc
index 496a40444..e73cff2cc 100644
--- a/data/maps/SootopolisCity_PokemonCenter_1F/header.inc
+++ b/data/maps/SootopolisCity_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_PokemonCenter_1F:: @ 8306964
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SootopolisCity_PokemonCenter_2F/header.inc b/data/maps/SootopolisCity_PokemonCenter_2F/header.inc
index 78a1a486d..bffe4d8fc 100644
--- a/data/maps/SootopolisCity_PokemonCenter_2F/header.inc
+++ b/data/maps/SootopolisCity_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ SootopolisCity_PokemonCenter_2F:: @ 8306980
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 14
+ .byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/SouthernIsland_Exterior/header.inc b/data/maps/SouthernIsland_Exterior/header.inc
index e70d1a97a..9552a0238 100644
--- a/data/maps/SouthernIsland_Exterior/header.inc
+++ b/data/maps/SouthernIsland_Exterior/header.inc
@@ -5,7 +5,7 @@ SouthernIsland_Exterior:: @ 8307CA4
.4byte 0x0
.2byte MUS_DAN02
.2byte 291
- .byte 73
+ .byte MAPSEC_SOUTHERN_ISLAND
.byte 0
.byte 0
.byte 3
diff --git a/data/maps/SouthernIsland_Interior/header.inc b/data/maps/SouthernIsland_Interior/header.inc
index 2dbee0b85..83a5d4deb 100644
--- a/data/maps/SouthernIsland_Interior/header.inc
+++ b/data/maps/SouthernIsland_Interior/header.inc
@@ -5,7 +5,7 @@ SouthernIsland_Interior:: @ 8307CC0
.4byte 0x0
.2byte MUS_DAN02
.2byte 292
- .byte 73
+ .byte MAPSEC_SOUTHERN_ISLAND
.byte 0
.byte 11
.byte 3
diff --git a/data/maps/TradeCenter/header.inc b/data/maps/TradeCenter/header.inc
index dc60b2dd1..9a8ed09ca 100644
--- a/data/maps/TradeCenter/header.inc
+++ b/data/maps/TradeCenter/header.inc
@@ -5,7 +5,7 @@ TradeCenter:: @ 8307994
.4byte 0x0
.2byte MUS_RAINBOW
.2byte 223
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/Underwater1/header.inc b/data/maps/Underwater1/header.inc
index 87e3260c9..e932d4d8e 100644
--- a/data/maps/Underwater1/header.inc
+++ b/data/maps/Underwater1/header.inc
@@ -5,7 +5,7 @@ Underwater1:: @ 83059C0
.4byte Underwater1_MapConnections
.2byte MUS_DEEPDEEP
.2byte 275
- .byte 50
+ .byte MAPSEC_UNDERWATER_124
.byte 0
.byte 14
.byte 5
diff --git a/data/maps/Underwater2/header.inc b/data/maps/Underwater2/header.inc
index 244cab761..e8da93769 100644
--- a/data/maps/Underwater2/header.inc
+++ b/data/maps/Underwater2/header.inc
@@ -5,7 +5,7 @@ Underwater2:: @ 83059DC
.4byte Underwater2_MapConnections
.2byte MUS_DEEPDEEP
.2byte 51
- .byte 51
+ .byte MAPSEC_UNDERWATER_125
.byte 0
.byte 14
.byte 5
diff --git a/data/maps/Underwater3/header.inc b/data/maps/Underwater3/header.inc
index 965109718..ade3cc87d 100644
--- a/data/maps/Underwater3/header.inc
+++ b/data/maps/Underwater3/header.inc
@@ -5,7 +5,7 @@ Underwater3:: @ 83059F8
.4byte Underwater3_MapConnections
.2byte MUS_DEEPDEEP
.2byte 52
- .byte 52
+ .byte MAPSEC_UNDERWATER_126
.byte 0
.byte 14
.byte 5
diff --git a/data/maps/Underwater4/header.inc b/data/maps/Underwater4/header.inc
index 6433cde8e..eaec11402 100644
--- a/data/maps/Underwater4/header.inc
+++ b/data/maps/Underwater4/header.inc
@@ -5,7 +5,7 @@ Underwater4:: @ 8305A14
.4byte Underwater4_MapConnections
.2byte MUS_DEEPDEEP
.2byte 53
- .byte 53
+ .byte MAPSEC_UNDERWATER_127
.byte 0
.byte 14
.byte 5
diff --git a/data/maps/Underwater_Route134/header.inc b/data/maps/Underwater_Route134/header.inc
index 94328b851..7a80a7562 100644
--- a/data/maps/Underwater_Route134/header.inc
+++ b/data/maps/Underwater_Route134/header.inc
@@ -5,7 +5,7 @@ Underwater_Route134:: @ 83074FC
.4byte 0x0
.2byte MUS_DEEPDEEP
.2byte 283
- .byte 79
+ .byte MAPSEC_UNDERWATER_SEALED_CHAMBER
.byte 0
.byte 14
.byte 5
diff --git a/data/maps/Underwater_SeafloorCavern/header.inc b/data/maps/Underwater_SeafloorCavern/header.inc
index e4a84f835..08dbac56e 100644
--- a/data/maps/Underwater_SeafloorCavern/header.inc
+++ b/data/maps/Underwater_SeafloorCavern/header.inc
@@ -5,7 +5,7 @@ Underwater_SeafloorCavern:: @ 8307048
.4byte 0x0
.2byte MUS_DEEPDEEP
.2byte 147
- .byte 69
+ .byte MAPSEC_UNDERWATER_128
.byte 0
.byte 14
.byte 5
diff --git a/data/maps/Underwater_SealedChamber/header.inc b/data/maps/Underwater_SealedChamber/header.inc
index f11030bd8..dcdf4e82f 100644
--- a/data/maps/Underwater_SealedChamber/header.inc
+++ b/data/maps/Underwater_SealedChamber/header.inc
@@ -5,7 +5,7 @@ Underwater_SealedChamber:: @ 8307518
.4byte 0x0
.2byte MUS_DEEPDEEP
.2byte 284
- .byte 79
+ .byte MAPSEC_UNDERWATER_SEALED_CHAMBER
.byte 0
.byte 14
.byte 5
diff --git a/data/maps/Underwater_SootopolisCity/header.inc b/data/maps/Underwater_SootopolisCity/header.inc
index f7626d966..9c42e65e9 100644
--- a/data/maps/Underwater_SootopolisCity/header.inc
+++ b/data/maps/Underwater_SootopolisCity/header.inc
@@ -5,7 +5,7 @@ Underwater_SootopolisCity:: @ 8306DFC
.4byte 0x0
.2byte MUS_DEEPDEEP
.2byte 131
- .byte 54
+ .byte MAPSEC_UNDERWATER_SOOTOPOLIS
.byte 0
.byte 14
.byte 5
diff --git a/data/maps/UnknownMap_25_29/header.inc b/data/maps/UnknownMap_25_29/header.inc
index 0a2845319..2d0894c97 100644
--- a/data/maps/UnknownMap_25_29/header.inc
+++ b/data/maps/UnknownMap_25_29/header.inc
@@ -5,7 +5,7 @@ UnknownMap_25_29:: @ 8307A04
.4byte 0x0
.2byte MUS_NIBI
.2byte 227
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/UnknownMap_25_30/header.inc b/data/maps/UnknownMap_25_30/header.inc
index 699998409..5227b240d 100644
--- a/data/maps/UnknownMap_25_30/header.inc
+++ b/data/maps/UnknownMap_25_30/header.inc
@@ -5,7 +5,7 @@ UnknownMap_25_30:: @ 8307A20
.4byte 0x0
.2byte MUS_NIBI
.2byte 228
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/UnknownMap_25_31/header.inc b/data/maps/UnknownMap_25_31/header.inc
index 704562ea1..46ff55e2a 100644
--- a/data/maps/UnknownMap_25_31/header.inc
+++ b/data/maps/UnknownMap_25_31/header.inc
@@ -5,7 +5,7 @@ UnknownMap_25_31:: @ 8307A3C
.4byte 0x0
.2byte MUS_NIBI
.2byte 229
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/UnknownMap_25_32/header.inc b/data/maps/UnknownMap_25_32/header.inc
index ef1d675de..c54f50c7e 100644
--- a/data/maps/UnknownMap_25_32/header.inc
+++ b/data/maps/UnknownMap_25_32/header.inc
@@ -5,7 +5,7 @@ UnknownMap_25_32:: @ 8307A58
.4byte 0x0
.2byte MUS_NIBI
.2byte 230
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/UnknownMap_25_33/header.inc b/data/maps/UnknownMap_25_33/header.inc
index ba13111f1..3c8177616 100644
--- a/data/maps/UnknownMap_25_33/header.inc
+++ b/data/maps/UnknownMap_25_33/header.inc
@@ -5,7 +5,7 @@ UnknownMap_25_33:: @ 8307A74
.4byte 0x0
.2byte MUS_NIBI
.2byte 231
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/UnknownMap_25_34/header.inc b/data/maps/UnknownMap_25_34/header.inc
index f082e3c09..7eaf0d349 100644
--- a/data/maps/UnknownMap_25_34/header.inc
+++ b/data/maps/UnknownMap_25_34/header.inc
@@ -5,7 +5,7 @@ UnknownMap_25_34:: @ 8307A90
.4byte 0x0
.2byte MUS_NIBI
.2byte 232
- .byte 87
+ .byte MAPSEC_DYNAMIC
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/VerdanturfTown/header.inc b/data/maps/VerdanturfTown/header.inc
index cbba95897..bbf9f1634 100644
--- a/data/maps/VerdanturfTown/header.inc
+++ b/data/maps/VerdanturfTown/header.inc
@@ -5,7 +5,7 @@ VerdanturfTown:: @ 83055D0
.4byte VerdanturfTown_MapConnections
.2byte MUS_GOMACHI0
.2byte 15
- .byte 5
+ .byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte 2
.byte 1
diff --git a/data/maps/VerdanturfTown_ContestHall/header.inc b/data/maps/VerdanturfTown_ContestHall/header.inc
index de3e6848e..24e8ad4a6 100644
--- a/data/maps/VerdanturfTown_ContestHall/header.inc
+++ b/data/maps/VerdanturfTown_ContestHall/header.inc
@@ -5,7 +5,7 @@ VerdanturfTown_ContestHall:: @ 8305D94
.4byte 0x0
.2byte MUS_CONLOBBY
.2byte 73
- .byte 5
+ .byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/VerdanturfTown_ContestLobby/header.inc b/data/maps/VerdanturfTown_ContestLobby/header.inc
index 60849fb0a..89093874f 100644
--- a/data/maps/VerdanturfTown_ContestLobby/header.inc
+++ b/data/maps/VerdanturfTown_ContestLobby/header.inc
@@ -5,7 +5,7 @@ VerdanturfTown_ContestLobby:: @ 8305D78
.4byte 0x0
.2byte MUS_CONLOBBY
.2byte 72
- .byte 5
+ .byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/VerdanturfTown_FriendshipRatersHouse/header.inc b/data/maps/VerdanturfTown_FriendshipRatersHouse/header.inc
index 4152aef1b..8d7bbb286 100644
--- a/data/maps/VerdanturfTown_FriendshipRatersHouse/header.inc
+++ b/data/maps/VerdanturfTown_FriendshipRatersHouse/header.inc
@@ -5,7 +5,7 @@ VerdanturfTown_FriendshipRatersHouse:: @ 8305E20
.4byte 0x0
.2byte MUS_GOMACHI0
.2byte 60
- .byte 5
+ .byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/VerdanturfTown_House/header.inc b/data/maps/VerdanturfTown_House/header.inc
index 838905374..311688d18 100644
--- a/data/maps/VerdanturfTown_House/header.inc
+++ b/data/maps/VerdanturfTown_House/header.inc
@@ -5,7 +5,7 @@ VerdanturfTown_House:: @ 8305E3C
.4byte 0x0
.2byte MUS_GOMACHI0
.2byte 59
- .byte 5
+ .byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/VerdanturfTown_Mart/header.inc b/data/maps/VerdanturfTown_Mart/header.inc
index 7d34f77a7..5b2334b53 100644
--- a/data/maps/VerdanturfTown_Mart/header.inc
+++ b/data/maps/VerdanturfTown_Mart/header.inc
@@ -5,7 +5,7 @@ VerdanturfTown_Mart:: @ 8305DB0
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte 63
- .byte 5
+ .byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/VerdanturfTown_PokemonCenter_1F/header.inc b/data/maps/VerdanturfTown_PokemonCenter_1F/header.inc
index 7e1269720..eb8415d15 100644
--- a/data/maps/VerdanturfTown_PokemonCenter_1F/header.inc
+++ b/data/maps/VerdanturfTown_PokemonCenter_1F/header.inc
@@ -5,7 +5,7 @@ VerdanturfTown_PokemonCenter_1F:: @ 8305DCC
.4byte 0x0
.2byte MUS_POKECEN
.2byte 61
- .byte 5
+ .byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/VerdanturfTown_PokemonCenter_2F/header.inc b/data/maps/VerdanturfTown_PokemonCenter_2F/header.inc
index c29f42e15..a2dbaf237 100644
--- a/data/maps/VerdanturfTown_PokemonCenter_2F/header.inc
+++ b/data/maps/VerdanturfTown_PokemonCenter_2F/header.inc
@@ -5,7 +5,7 @@ VerdanturfTown_PokemonCenter_2F:: @ 8305DE8
.4byte 0x0
.2byte MUS_POKECEN
.2byte 62
- .byte 5
+ .byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/VerdanturfTown_WandasHouse/header.inc b/data/maps/VerdanturfTown_WandasHouse/header.inc
index 57e835308..11752a9d1 100644
--- a/data/maps/VerdanturfTown_WandasHouse/header.inc
+++ b/data/maps/VerdanturfTown_WandasHouse/header.inc
@@ -5,7 +5,7 @@ VerdanturfTown_WandasHouse:: @ 8305E04
.4byte 0x0
.2byte MUS_GOMACHI0
.2byte 76
- .byte 5
+ .byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte 0
.byte 8
diff --git a/data/maps/VictoryRoad_1F/header.inc b/data/maps/VictoryRoad_1F/header.inc
index 61c47f001..20fe01115 100644
--- a/data/maps/VictoryRoad_1F/header.inc
+++ b/data/maps/VictoryRoad_1F/header.inc
@@ -5,7 +5,7 @@ VictoryRoad_1F:: @ 8307224
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 164
- .byte 70
+ .byte MAPSEC_VICTORY_ROAD
.byte 0
.byte 0
.byte 4
diff --git a/data/maps/VictoryRoad_B1F/header.inc b/data/maps/VictoryRoad_B1F/header.inc
index b705dc527..3ba564a4b 100644
--- a/data/maps/VictoryRoad_B1F/header.inc
+++ b/data/maps/VictoryRoad_B1F/header.inc
@@ -5,7 +5,7 @@ VictoryRoad_B1F:: @ 8307240
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 286
- .byte 70
+ .byte MAPSEC_VICTORY_ROAD
.byte 1
.byte 0
.byte 4
diff --git a/data/maps/VictoryRoad_B2F/header.inc b/data/maps/VictoryRoad_B2F/header.inc
index 7eb649cfb..17eb818ba 100644
--- a/data/maps/VictoryRoad_B2F/header.inc
+++ b/data/maps/VictoryRoad_B2F/header.inc
@@ -5,7 +5,7 @@ VictoryRoad_B2F:: @ 830725C
.4byte 0x0
.2byte MUS_C_ROAD
.2byte 287
- .byte 70
+ .byte MAPSEC_VICTORY_ROAD
.byte 1
.byte 0
.byte 4