summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-07-12 22:39:38 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-07-12 22:39:38 -0500
commit546819bc722b706a1c49a3d323b3b36d03fa612a (patch)
tree9c0dbcf193db777c054b8a7c5ce4cf54d13c9b77 /data
parentd53e8137cd1e14c7fd5435562a979bb6bd83d20e (diff)
Use map type constants in map headers
Diffstat (limited to 'data')
-rw-r--r--data/maps.s2
-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/AlteringCave/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/AquaHideout_UnusedRubyMap1/header.inc2
-rw-r--r--data/maps/AquaHideout_UnusedRubyMap2/header.inc2
-rw-r--r--data/maps/AquaHideout_UnusedRubyMap3/header.inc2
-rw-r--r--data/maps/ArtisanCave_1F/header.inc2
-rw-r--r--data/maps/ArtisanCave_B1F/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleArenaBattleRoom/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleArenaCorridor/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleArenaLobby/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleDomeBattleRoom/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleDomeCorridor/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleDomeLobby/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleDomePreBattleRoom/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleFactoryBattleRoom/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleFactoryLobby/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleFactoryPreBattleRoom/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePalaceBattleRoom/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePalaceCorridor/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePalaceLobby/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePikeCorridor/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePikeLobby/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePikeRandomRoom1/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePikeRandomRoom2/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePikeRandomRoom3/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePikeThreePathRoom/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePointExchangeServiceCorner/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePyramidEmptySquare/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePyramidLobby/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePyramidTop/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleTowerBattleRoom/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleTowerBattleRoom2/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleTowerCorridor/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleTowerCorridor2/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleTowerElevator/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleTowerLobby/header.inc2
-rw-r--r--data/maps/BattleFrontier_BattleTowerMultiBattleRoom/header.inc2
-rw-r--r--data/maps/BattleFrontier_Lounge1/header.inc2
-rw-r--r--data/maps/BattleFrontier_Lounge2/header.inc2
-rw-r--r--data/maps/BattleFrontier_Lounge3/header.inc2
-rw-r--r--data/maps/BattleFrontier_Lounge4/header.inc2
-rw-r--r--data/maps/BattleFrontier_Lounge5/header.inc2
-rw-r--r--data/maps/BattleFrontier_Lounge6/header.inc2
-rw-r--r--data/maps/BattleFrontier_Lounge7/header.inc2
-rw-r--r--data/maps/BattleFrontier_Lounge8/header.inc2
-rw-r--r--data/maps/BattleFrontier_Lounge9/header.inc2
-rw-r--r--data/maps/BattleFrontier_Mart/header.inc2
-rw-r--r--data/maps/BattleFrontier_OutsideEast/header.inc2
-rw-r--r--data/maps/BattleFrontier_OutsideWest/header.inc2
-rw-r--r--data/maps/BattleFrontier_PokemonCenter_1F/header.inc2
-rw-r--r--data/maps/BattleFrontier_PokemonCenter_2F/header.inc2
-rw-r--r--data/maps/BattleFrontier_RankingHall/header.inc2
-rw-r--r--data/maps/BattleFrontier_ReceptionGate/header.inc2
-rw-r--r--data/maps/BattleFrontier_ScottsHouse/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare01/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare02/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare03/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare04/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare05/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare06/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare07/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare08/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare09/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare10/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare11/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare12/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare13/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare14/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare15/header.inc2
-rw-r--r--data/maps/BattlePyramidSquare16/header.inc2
-rw-r--r--data/maps/BirthIsland_Exterior/header.inc2
-rw-r--r--data/maps/BirthIsland_Harbor/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_Entrance/header.inc2
-rw-r--r--data/maps/CaveOfOrigin_UnusedRubySapphireMap1/header.inc2
-rw-r--r--data/maps/CaveOfOrigin_UnusedRubySapphireMap2/header.inc2
-rw-r--r--data/maps/CaveOfOrigin_UnusedRubySapphireMap3/header.inc2
-rw-r--r--data/maps/DesertRuins/header.inc2
-rw-r--r--data/maps/DesertUnderpass/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_DrakesRoom/header.inc2
-rw-r--r--data/maps/EverGrandeCity_GlaciasRoom/header.inc2
-rw-r--r--data/maps/EverGrandeCity_Hall1/header.inc2
-rw-r--r--data/maps/EverGrandeCity_Hall2/header.inc2
-rw-r--r--data/maps/EverGrandeCity_Hall3/header.inc2
-rw-r--r--data/maps/EverGrandeCity_Hall4/header.inc2
-rw-r--r--data/maps/EverGrandeCity_Hall5/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_1F/header.inc2
-rw-r--r--data/maps/EverGrandeCity_PokemonLeague_2F/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_BattleTentBattleRoom/header.inc2
-rw-r--r--data/maps/FallarborTown_BattleTentCorridor/header.inc2
-rw-r--r--data/maps/FallarborTown_BattleTentLobby/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/FarawayIsland_Entrance/header.inc2
-rw-r--r--data/maps/FarawayIsland_Interior/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_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_2F_1R/header.inc2
-rw-r--r--data/maps/MagmaHideout_2F_2R/header.inc2
-rw-r--r--data/maps/MagmaHideout_2F_3R/header.inc2
-rw-r--r--data/maps/MagmaHideout_3F_1R/header.inc2
-rw-r--r--data/maps/MagmaHideout_3F_2R/header.inc2
-rw-r--r--data/maps/MagmaHideout_3F_3R/header.inc2
-rw-r--r--data/maps/MagmaHideout_4F/header.inc2
-rw-r--r--data/maps/MarineCave_End/header.inc2
-rw-r--r--data/maps/MarineCave_Entrance/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/MeteorFalls_StevensCave/header.inc2
-rw-r--r--data/maps/MirageTower_1F/header.inc2
-rw-r--r--data/maps/MirageTower_2F/header.inc2
-rw-r--r--data/maps/MirageTower_3F/header.inc2
-rw-r--r--data/maps/MirageTower_4F/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/NavelRock_B1F/header.inc2
-rw-r--r--data/maps/NavelRock_Bottom/header.inc2
-rw-r--r--data/maps/NavelRock_Down01/header.inc2
-rw-r--r--data/maps/NavelRock_Down02/header.inc2
-rw-r--r--data/maps/NavelRock_Down03/header.inc2
-rw-r--r--data/maps/NavelRock_Down04/header.inc2
-rw-r--r--data/maps/NavelRock_Down05/header.inc2
-rw-r--r--data/maps/NavelRock_Down06/header.inc2
-rw-r--r--data/maps/NavelRock_Down07/header.inc2
-rw-r--r--data/maps/NavelRock_Down08/header.inc2
-rw-r--r--data/maps/NavelRock_Down09/header.inc2
-rw-r--r--data/maps/NavelRock_Down10/header.inc2
-rw-r--r--data/maps/NavelRock_Down11/header.inc2
-rw-r--r--data/maps/NavelRock_Entrance/header.inc2
-rw-r--r--data/maps/NavelRock_Exterior/header.inc2
-rw-r--r--data/maps/NavelRock_Fork/header.inc2
-rw-r--r--data/maps/NavelRock_Harbor/header.inc2
-rw-r--r--data/maps/NavelRock_Top/header.inc2
-rw-r--r--data/maps/NavelRock_Up1/header.inc2
-rw-r--r--data/maps/NavelRock_Up2/header.inc2
-rw-r--r--data/maps/NavelRock_Up3/header.inc2
-rw-r--r--data/maps/NavelRock_Up4/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_North/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_South/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_BattleTentBattleRoom/header.inc2
-rw-r--r--data/maps/SlateportCity_BattleTentCorridor/header.inc2
-rw-r--r--data/maps/SlateportCity_BattleTentLobby/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_LotadAndSeedotHouse/header.inc2
-rw-r--r--data/maps/SootopolisCity_Mart/header.inc2
-rw-r--r--data/maps/SootopolisCity_MysteryEventsHouse_1F/header.inc2
-rw-r--r--data/maps/SootopolisCity_MysteryEventsHouse_B1F/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/TerraCave_End/header.inc2
-rw-r--r--data/maps/TerraCave_Entrance/header.inc2
-rw-r--r--data/maps/TradeCenter/header.inc2
-rw-r--r--data/maps/TrainerHill_1F/header.inc2
-rw-r--r--data/maps/TrainerHill_2F/header.inc2
-rw-r--r--data/maps/TrainerHill_3F/header.inc2
-rw-r--r--data/maps/TrainerHill_4F/header.inc2
-rw-r--r--data/maps/TrainerHill_Elevator/header.inc2
-rw-r--r--data/maps/TrainerHill_Entrance/header.inc2
-rw-r--r--data/maps/TrainerHill_Roof/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/Underwater5/header.inc2
-rw-r--r--data/maps/Underwater6/header.inc2
-rw-r--r--data/maps/Underwater7/header.inc2
-rw-r--r--data/maps/Underwater_MarineCave/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/UnionRoom/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_BattleTentBattleRoom/header.inc2
-rw-r--r--data/maps/VerdanturfTown_BattleTentCorridor/header.inc2
-rw-r--r--data/maps/VerdanturfTown_BattleTentLobby/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
519 files changed, 520 insertions, 518 deletions
diff --git a/data/maps.s b/data/maps.s
index 59a6b4930..56d957139 100644
--- a/data/maps.s
+++ b/data/maps.s
@@ -1,4 +1,6 @@
+#include "constants/map_types.h"
#include "constants/maps.h"
+#include "constants/weather.h"
#include "constants/region_map_sections.h"
#include "constants/songs.h"
#include "constants/weather.h"
diff --git a/data/maps/AbandonedShip_CaptainsOffice/header.inc b/data/maps/AbandonedShip_CaptainsOffice/header.inc
index 149f27655..53c7196e1 100644
--- a/data/maps/AbandonedShip_CaptainsOffice/header.inc
+++ b/data/maps/AbandonedShip_CaptainsOffice/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_CaptainsOffice: @ 84845A4
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_SHADE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/AbandonedShip_Corridors_1F/header.inc b/data/maps/AbandonedShip_Corridors_1F/header.inc
index a0971779c..75347beab 100644
--- a/data/maps/AbandonedShip_Corridors_1F/header.inc
+++ b/data/maps/AbandonedShip_Corridors_1F/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_Corridors_1F: @ 84844C4
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_SHADE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/AbandonedShip_Corridors_B1F/header.inc b/data/maps/AbandonedShip_Corridors_B1F/header.inc
index 12cb7e697..91ea7b76d 100644
--- a/data/maps/AbandonedShip_Corridors_B1F/header.inc
+++ b/data/maps/AbandonedShip_Corridors_B1F/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_Corridors_B1F: @ 84844FC
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_SHADE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/AbandonedShip_Deck/header.inc b/data/maps/AbandonedShip_Deck/header.inc
index f6616f885..4197ef0c0 100644
--- a/data/maps/AbandonedShip_Deck/header.inc
+++ b/data/maps/AbandonedShip_Deck/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_Deck: @ 84844A8
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/AbandonedShip_HiddenFloorCorridors/header.inc b/data/maps/AbandonedShip_HiddenFloorCorridors/header.inc
index f375e0bee..b075158dd 100644
--- a/data/maps/AbandonedShip_HiddenFloorCorridors/header.inc
+++ b/data/maps/AbandonedShip_HiddenFloorCorridors/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_HiddenFloorCorridors: @ 84845DC
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_SHADE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/AbandonedShip_HiddenFloorRooms/header.inc b/data/maps/AbandonedShip_HiddenFloorRooms/header.inc
index 0ef17861a..dc18c55af 100644
--- a/data/maps/AbandonedShip_HiddenFloorRooms/header.inc
+++ b/data/maps/AbandonedShip_HiddenFloorRooms/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_HiddenFloorRooms: @ 84845F8
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_SHADE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 7
.byte 0
diff --git a/data/maps/AbandonedShip_Room_B1F/header.inc b/data/maps/AbandonedShip_Room_B1F/header.inc
index 5dc438acd..ce9393462 100644
--- a/data/maps/AbandonedShip_Room_B1F/header.inc
+++ b/data/maps/AbandonedShip_Room_B1F/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_Room_B1F: @ 848456C
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_SHADE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/AbandonedShip_Rooms2_1F/header.inc b/data/maps/AbandonedShip_Rooms2_1F/header.inc
index e4bf89911..338e9a37a 100644
--- a/data/maps/AbandonedShip_Rooms2_1F/header.inc
+++ b/data/maps/AbandonedShip_Rooms2_1F/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_Rooms2_1F: @ 8484588
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_SHADE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/AbandonedShip_Rooms2_B1F/header.inc b/data/maps/AbandonedShip_Rooms2_B1F/header.inc
index fa713bf29..5482655a8 100644
--- a/data/maps/AbandonedShip_Rooms2_B1F/header.inc
+++ b/data/maps/AbandonedShip_Rooms2_B1F/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_Rooms2_B1F: @ 8484534
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_SHADE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/AbandonedShip_Rooms_1F/header.inc b/data/maps/AbandonedShip_Rooms_1F/header.inc
index d552a8cac..7cbf2f30f 100644
--- a/data/maps/AbandonedShip_Rooms_1F/header.inc
+++ b/data/maps/AbandonedShip_Rooms_1F/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_Rooms_1F: @ 84844E0
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_SHADE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/AbandonedShip_Rooms_B1F/header.inc b/data/maps/AbandonedShip_Rooms_B1F/header.inc
index 7b121a2d2..d75870116 100644
--- a/data/maps/AbandonedShip_Rooms_B1F/header.inc
+++ b/data/maps/AbandonedShip_Rooms_B1F/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_Rooms_B1F: @ 8484518
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_SHADE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/AbandonedShip_Underwater1/header.inc b/data/maps/AbandonedShip_Underwater1/header.inc
index 0176f1637..ce2267768 100644
--- a/data/maps/AbandonedShip_Underwater1/header.inc
+++ b/data/maps/AbandonedShip_Underwater1/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_Underwater1: @ 8484550
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/AbandonedShip_Underwater2/header.inc b/data/maps/AbandonedShip_Underwater2/header.inc
index 7ca32edb8..afb2287a7 100644
--- a/data/maps/AbandonedShip_Underwater2/header.inc
+++ b/data/maps/AbandonedShip_Underwater2/header.inc
@@ -8,7 +8,7 @@ AbandonedShip_Underwater2: @ 84845C0
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/AlteringCave/header.inc b/data/maps/AlteringCave/header.inc
index 344bdaf8c..3abc6981f 100644
--- a/data/maps/AlteringCave/header.inc
+++ b/data/maps/AlteringCave/header.inc
@@ -8,7 +8,7 @@ AlteringCave: @ 8484A58
.byte MAPSEC_ALTERING_CAVE_2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/AncientTomb/header.inc b/data/maps/AncientTomb/header.inc
index afc0f475c..c1e109537 100644
--- a/data/maps/AncientTomb/header.inc
+++ b/data/maps/AncientTomb/header.inc
@@ -8,7 +8,7 @@ AncientTomb: @ 8484630
.byte MAPSEC_ANCIENT_TOMB
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/AquaHideout_1F/header.inc b/data/maps/AquaHideout_1F/header.inc
index 7590ebce5..1b5dd0498 100644
--- a/data/maps/AquaHideout_1F/header.inc
+++ b/data/maps/AquaHideout_1F/header.inc
@@ -8,7 +8,7 @@ AquaHideout_1F: @ 8484144
.byte MAPSEC_AQUA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 8
.byte 3
diff --git a/data/maps/AquaHideout_B1F/header.inc b/data/maps/AquaHideout_B1F/header.inc
index 51ec82492..14bf999a6 100644
--- a/data/maps/AquaHideout_B1F/header.inc
+++ b/data/maps/AquaHideout_B1F/header.inc
@@ -8,7 +8,7 @@ AquaHideout_B1F: @ 8484160
.byte MAPSEC_AQUA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 8
.byte 3
diff --git a/data/maps/AquaHideout_B2F/header.inc b/data/maps/AquaHideout_B2F/header.inc
index 0d903e1cf..9a096ac9b 100644
--- a/data/maps/AquaHideout_B2F/header.inc
+++ b/data/maps/AquaHideout_B2F/header.inc
@@ -8,7 +8,7 @@ AquaHideout_B2F: @ 848417C
.byte MAPSEC_AQUA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 8
.byte 3
diff --git a/data/maps/AquaHideout_UnusedRubyMap1/header.inc b/data/maps/AquaHideout_UnusedRubyMap1/header.inc
index 242f32e61..07dc3be28 100644
--- a/data/maps/AquaHideout_UnusedRubyMap1/header.inc
+++ b/data/maps/AquaHideout_UnusedRubyMap1/header.inc
@@ -8,7 +8,7 @@ AquaHideout_UnusedRubyMap1: @ 84846D8
.byte MAPSEC_AQUA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 2
diff --git a/data/maps/AquaHideout_UnusedRubyMap2/header.inc b/data/maps/AquaHideout_UnusedRubyMap2/header.inc
index ebc999cf4..4b50fff53 100644
--- a/data/maps/AquaHideout_UnusedRubyMap2/header.inc
+++ b/data/maps/AquaHideout_UnusedRubyMap2/header.inc
@@ -8,7 +8,7 @@ AquaHideout_UnusedRubyMap2: @ 84846F4
.byte MAPSEC_AQUA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 2
diff --git a/data/maps/AquaHideout_UnusedRubyMap3/header.inc b/data/maps/AquaHideout_UnusedRubyMap3/header.inc
index f9d571c8e..1b0a82f3a 100644
--- a/data/maps/AquaHideout_UnusedRubyMap3/header.inc
+++ b/data/maps/AquaHideout_UnusedRubyMap3/header.inc
@@ -8,7 +8,7 @@ AquaHideout_UnusedRubyMap3: @ 8484710
.byte MAPSEC_AQUA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 2
diff --git a/data/maps/ArtisanCave_1F/header.inc b/data/maps/ArtisanCave_1F/header.inc
index b801c08af..493cf5c7c 100644
--- a/data/maps/ArtisanCave_1F/header.inc
+++ b/data/maps/ArtisanCave_1F/header.inc
@@ -8,7 +8,7 @@ ArtisanCave_1F: @ 84849B0
.byte MAPSEC_ARTISAN_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/ArtisanCave_B1F/header.inc b/data/maps/ArtisanCave_B1F/header.inc
index 8e106ea1c..3f7bd293a 100644
--- a/data/maps/ArtisanCave_B1F/header.inc
+++ b/data/maps/ArtisanCave_B1F/header.inc
@@ -8,7 +8,7 @@ ArtisanCave_B1F: @ 8484994
.byte MAPSEC_ARTISAN_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/BattleFrontier_BattleArenaBattleRoom/header.inc b/data/maps/BattleFrontier_BattleArenaBattleRoom/header.inc
index d20c65c2e..60b61c3cd 100644
--- a/data/maps/BattleFrontier_BattleArenaBattleRoom/header.inc
+++ b/data/maps/BattleFrontier_BattleArenaBattleRoom/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleArenaBattleRoom: @ 8485484
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleArenaCorridor/header.inc b/data/maps/BattleFrontier_BattleArenaCorridor/header.inc
index ba4431464..4519b0de2 100644
--- a/data/maps/BattleFrontier_BattleArenaCorridor/header.inc
+++ b/data/maps/BattleFrontier_BattleArenaCorridor/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleArenaCorridor: @ 8485468
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleArenaLobby/header.inc b/data/maps/BattleFrontier_BattleArenaLobby/header.inc
index 112fb86bd..cf75d18c9 100644
--- a/data/maps/BattleFrontier_BattleArenaLobby/header.inc
+++ b/data/maps/BattleFrontier_BattleArenaLobby/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleArenaLobby: @ 848544C
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleDomeBattleRoom/header.inc b/data/maps/BattleFrontier_BattleDomeBattleRoom/header.inc
index 19d194169..5c6c65fb9 100644
--- a/data/maps/BattleFrontier_BattleDomeBattleRoom/header.inc
+++ b/data/maps/BattleFrontier_BattleDomeBattleRoom/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleDomeBattleRoom: @ 8485388
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleDomeCorridor/header.inc b/data/maps/BattleFrontier_BattleDomeCorridor/header.inc
index 72caf9523..ed349c8d7 100644
--- a/data/maps/BattleFrontier_BattleDomeCorridor/header.inc
+++ b/data/maps/BattleFrontier_BattleDomeCorridor/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleDomeCorridor: @ 8485350
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleDomeLobby/header.inc b/data/maps/BattleFrontier_BattleDomeLobby/header.inc
index 0d607e671..8866c0263 100644
--- a/data/maps/BattleFrontier_BattleDomeLobby/header.inc
+++ b/data/maps/BattleFrontier_BattleDomeLobby/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleDomeLobby: @ 8485334
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleDomePreBattleRoom/header.inc b/data/maps/BattleFrontier_BattleDomePreBattleRoom/header.inc
index db09e9b41..99986cc7c 100644
--- a/data/maps/BattleFrontier_BattleDomePreBattleRoom/header.inc
+++ b/data/maps/BattleFrontier_BattleDomePreBattleRoom/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleDomePreBattleRoom: @ 848536C
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleFactoryBattleRoom/header.inc b/data/maps/BattleFrontier_BattleFactoryBattleRoom/header.inc
index 27e2c8952..d9896fd35 100644
--- a/data/maps/BattleFrontier_BattleFactoryBattleRoom/header.inc
+++ b/data/maps/BattleFrontier_BattleFactoryBattleRoom/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleFactoryBattleRoom: @ 84854D8
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleFactoryLobby/header.inc b/data/maps/BattleFrontier_BattleFactoryLobby/header.inc
index b9fb23a03..511a09c34 100644
--- a/data/maps/BattleFrontier_BattleFactoryLobby/header.inc
+++ b/data/maps/BattleFrontier_BattleFactoryLobby/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleFactoryLobby: @ 84854A0
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleFactoryPreBattleRoom/header.inc b/data/maps/BattleFrontier_BattleFactoryPreBattleRoom/header.inc
index e1fa2d524..539ca0e3f 100644
--- a/data/maps/BattleFrontier_BattleFactoryPreBattleRoom/header.inc
+++ b/data/maps/BattleFrontier_BattleFactoryPreBattleRoom/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleFactoryPreBattleRoom: @ 84854BC
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePalaceBattleRoom/header.inc b/data/maps/BattleFrontier_BattlePalaceBattleRoom/header.inc
index 701647467..e4b551740 100644
--- a/data/maps/BattleFrontier_BattlePalaceBattleRoom/header.inc
+++ b/data/maps/BattleFrontier_BattlePalaceBattleRoom/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePalaceBattleRoom: @ 84853DC
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePalaceCorridor/header.inc b/data/maps/BattleFrontier_BattlePalaceCorridor/header.inc
index d867a0daf..73e7dc952 100644
--- a/data/maps/BattleFrontier_BattlePalaceCorridor/header.inc
+++ b/data/maps/BattleFrontier_BattlePalaceCorridor/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePalaceCorridor: @ 84853C0
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePalaceLobby/header.inc b/data/maps/BattleFrontier_BattlePalaceLobby/header.inc
index 3b53c9397..975ed4666 100644
--- a/data/maps/BattleFrontier_BattlePalaceLobby/header.inc
+++ b/data/maps/BattleFrontier_BattlePalaceLobby/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePalaceLobby: @ 84853A4
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePikeCorridor/header.inc b/data/maps/BattleFrontier_BattlePikeCorridor/header.inc
index 0f93684c3..c3b4f41b8 100644
--- a/data/maps/BattleFrontier_BattlePikeCorridor/header.inc
+++ b/data/maps/BattleFrontier_BattlePikeCorridor/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePikeCorridor: @ 8485510
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePikeLobby/header.inc b/data/maps/BattleFrontier_BattlePikeLobby/header.inc
index d6fe6e340..d05767d81 100644
--- a/data/maps/BattleFrontier_BattlePikeLobby/header.inc
+++ b/data/maps/BattleFrontier_BattlePikeLobby/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePikeLobby: @ 84854F4
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePikeRandomRoom1/header.inc b/data/maps/BattleFrontier_BattlePikeRandomRoom1/header.inc
index f4fde68ad..544bb93d4 100644
--- a/data/maps/BattleFrontier_BattlePikeRandomRoom1/header.inc
+++ b/data/maps/BattleFrontier_BattlePikeRandomRoom1/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePikeRandomRoom1: @ 8485548
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePikeRandomRoom2/header.inc b/data/maps/BattleFrontier_BattlePikeRandomRoom2/header.inc
index 4274d8eee..de239780e 100644
--- a/data/maps/BattleFrontier_BattlePikeRandomRoom2/header.inc
+++ b/data/maps/BattleFrontier_BattlePikeRandomRoom2/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePikeRandomRoom2: @ 8485564
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePikeRandomRoom3/header.inc b/data/maps/BattleFrontier_BattlePikeRandomRoom3/header.inc
index 15b65af63..3d7ce40b9 100644
--- a/data/maps/BattleFrontier_BattlePikeRandomRoom3/header.inc
+++ b/data/maps/BattleFrontier_BattlePikeRandomRoom3/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePikeRandomRoom3: @ 8485580
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePikeThreePathRoom/header.inc b/data/maps/BattleFrontier_BattlePikeThreePathRoom/header.inc
index b744f348f..9c6d367d3 100644
--- a/data/maps/BattleFrontier_BattlePikeThreePathRoom/header.inc
+++ b/data/maps/BattleFrontier_BattlePikeThreePathRoom/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePikeThreePathRoom: @ 848552C
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePointExchangeServiceCorner/header.inc b/data/maps/BattleFrontier_BattlePointExchangeServiceCorner/header.inc
index 289c02455..3718fd37c 100644
--- a/data/maps/BattleFrontier_BattlePointExchangeServiceCorner/header.inc
+++ b/data/maps/BattleFrontier_BattlePointExchangeServiceCorner/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePointExchangeServiceCorner: @ 84855D4
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePyramidEmptySquare/header.inc b/data/maps/BattleFrontier_BattlePyramidEmptySquare/header.inc
index a0face861..239a543b0 100644
--- a/data/maps/BattleFrontier_BattlePyramidEmptySquare/header.inc
+++ b/data/maps/BattleFrontier_BattlePyramidEmptySquare/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePyramidEmptySquare: @ 8485414
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePyramidLobby/header.inc b/data/maps/BattleFrontier_BattlePyramidLobby/header.inc
index 9fa6b7fa3..a64b37179 100644
--- a/data/maps/BattleFrontier_BattlePyramidLobby/header.inc
+++ b/data/maps/BattleFrontier_BattlePyramidLobby/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePyramidLobby: @ 84853F8
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattlePyramidTop/header.inc b/data/maps/BattleFrontier_BattlePyramidTop/header.inc
index 970aadfbe..9b46bf7f7 100644
--- a/data/maps/BattleFrontier_BattlePyramidTop/header.inc
+++ b/data/maps/BattleFrontier_BattlePyramidTop/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattlePyramidTop: @ 8485430
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/BattleFrontier_BattleTowerBattleRoom/header.inc b/data/maps/BattleFrontier_BattleTowerBattleRoom/header.inc
index 18d60521c..aef5c1ea1 100644
--- a/data/maps/BattleFrontier_BattleTowerBattleRoom/header.inc
+++ b/data/maps/BattleFrontier_BattleTowerBattleRoom/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleTowerBattleRoom: @ 848521C
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 8
diff --git a/data/maps/BattleFrontier_BattleTowerBattleRoom2/header.inc b/data/maps/BattleFrontier_BattleTowerBattleRoom2/header.inc
index 6606a9be7..539bec694 100644
--- a/data/maps/BattleFrontier_BattleTowerBattleRoom2/header.inc
+++ b/data/maps/BattleFrontier_BattleTowerBattleRoom2/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleTowerBattleRoom2: @ 8485318
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 8
diff --git a/data/maps/BattleFrontier_BattleTowerCorridor/header.inc b/data/maps/BattleFrontier_BattleTowerCorridor/header.inc
index 13b0ebbf3..b5430947f 100644
--- a/data/maps/BattleFrontier_BattleTowerCorridor/header.inc
+++ b/data/maps/BattleFrontier_BattleTowerCorridor/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleTowerCorridor: @ 8485200
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleTowerCorridor2/header.inc b/data/maps/BattleFrontier_BattleTowerCorridor2/header.inc
index 1a6e40299..074e02cc2 100644
--- a/data/maps/BattleFrontier_BattleTowerCorridor2/header.inc
+++ b/data/maps/BattleFrontier_BattleTowerCorridor2/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleTowerCorridor2: @ 84852FC
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleTowerElevator/header.inc b/data/maps/BattleFrontier_BattleTowerElevator/header.inc
index 380a5400e..f46a0f1c6 100644
--- a/data/maps/BattleFrontier_BattleTowerElevator/header.inc
+++ b/data/maps/BattleFrontier_BattleTowerElevator/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleTowerElevator: @ 84851E4
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleTowerLobby/header.inc b/data/maps/BattleFrontier_BattleTowerLobby/header.inc
index 5d9252fbb..9820be7ae 100644
--- a/data/maps/BattleFrontier_BattleTowerLobby/header.inc
+++ b/data/maps/BattleFrontier_BattleTowerLobby/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleTowerLobby: @ 84851C8
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_BattleTowerMultiBattleRoom/header.inc b/data/maps/BattleFrontier_BattleTowerMultiBattleRoom/header.inc
index 9bcd28c75..01c9169ee 100644
--- a/data/maps/BattleFrontier_BattleTowerMultiBattleRoom/header.inc
+++ b/data/maps/BattleFrontier_BattleTowerMultiBattleRoom/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_BattleTowerMultiBattleRoom: @ 84852E0
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/BattleFrontier_Lounge1/header.inc b/data/maps/BattleFrontier_Lounge1/header.inc
index 25e88a5df..e8c45b3ec 100644
--- a/data/maps/BattleFrontier_Lounge1/header.inc
+++ b/data/maps/BattleFrontier_Lounge1/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_Lounge1: @ 84855B8
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_Lounge2/header.inc b/data/maps/BattleFrontier_Lounge2/header.inc
index 71b933474..8858adcce 100644
--- a/data/maps/BattleFrontier_Lounge2/header.inc
+++ b/data/maps/BattleFrontier_Lounge2/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_Lounge2: @ 84855F0
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_Lounge3/header.inc b/data/maps/BattleFrontier_Lounge3/header.inc
index 2f4b74d7e..430161a6f 100644
--- a/data/maps/BattleFrontier_Lounge3/header.inc
+++ b/data/maps/BattleFrontier_Lounge3/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_Lounge3: @ 848560C
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_Lounge4/header.inc b/data/maps/BattleFrontier_Lounge4/header.inc
index 6fea64a15..b2d44e55e 100644
--- a/data/maps/BattleFrontier_Lounge4/header.inc
+++ b/data/maps/BattleFrontier_Lounge4/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_Lounge4: @ 8485628
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_Lounge5/header.inc b/data/maps/BattleFrontier_Lounge5/header.inc
index f38db8f29..231ce3b88 100644
--- a/data/maps/BattleFrontier_Lounge5/header.inc
+++ b/data/maps/BattleFrontier_Lounge5/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_Lounge5: @ 8485660
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_Lounge6/header.inc b/data/maps/BattleFrontier_Lounge6/header.inc
index 78f103166..b4a9c780b 100644
--- a/data/maps/BattleFrontier_Lounge6/header.inc
+++ b/data/maps/BattleFrontier_Lounge6/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_Lounge6: @ 848567C
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_Lounge7/header.inc b/data/maps/BattleFrontier_Lounge7/header.inc
index 871e16cc2..9cea5c401 100644
--- a/data/maps/BattleFrontier_Lounge7/header.inc
+++ b/data/maps/BattleFrontier_Lounge7/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_Lounge7: @ 8485698
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_Lounge8/header.inc b/data/maps/BattleFrontier_Lounge8/header.inc
index 620e79304..60fb1edd2 100644
--- a/data/maps/BattleFrontier_Lounge8/header.inc
+++ b/data/maps/BattleFrontier_Lounge8/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_Lounge8: @ 84856D0
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_Lounge9/header.inc b/data/maps/BattleFrontier_Lounge9/header.inc
index 37b608edf..952b6aa26 100644
--- a/data/maps/BattleFrontier_Lounge9/header.inc
+++ b/data/maps/BattleFrontier_Lounge9/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_Lounge9: @ 84856EC
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_Mart/header.inc b/data/maps/BattleFrontier_Mart/header.inc
index b356e7d7a..2d8befefd 100644
--- a/data/maps/BattleFrontier_Mart/header.inc
+++ b/data/maps/BattleFrontier_Mart/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_Mart: @ 8485740
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_OutsideEast/header.inc b/data/maps/BattleFrontier_OutsideEast/header.inc
index 3db684e8f..23698cbbf 100644
--- a/data/maps/BattleFrontier_OutsideEast/header.inc
+++ b/data/maps/BattleFrontier_OutsideEast/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_OutsideEast: @ 84852C4
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/BattleFrontier_OutsideWest/header.inc b/data/maps/BattleFrontier_OutsideWest/header.inc
index 2c1d3754e..886b04095 100644
--- a/data/maps/BattleFrontier_OutsideWest/header.inc
+++ b/data/maps/BattleFrontier_OutsideWest/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_OutsideWest: @ 84851AC
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/BattleFrontier_PokemonCenter_1F/header.inc b/data/maps/BattleFrontier_PokemonCenter_1F/header.inc
index 283c3744a..a830633ea 100644
--- a/data/maps/BattleFrontier_PokemonCenter_1F/header.inc
+++ b/data/maps/BattleFrontier_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_PokemonCenter_1F: @ 8485708
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_PokemonCenter_2F/header.inc b/data/maps/BattleFrontier_PokemonCenter_2F/header.inc
index 44442a28c..c868da343 100644
--- a/data/maps/BattleFrontier_PokemonCenter_2F/header.inc
+++ b/data/maps/BattleFrontier_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_PokemonCenter_2F: @ 8485724
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_RankingHall/header.inc b/data/maps/BattleFrontier_RankingHall/header.inc
index 2e91cbfaf..2bb632ee8 100644
--- a/data/maps/BattleFrontier_RankingHall/header.inc
+++ b/data/maps/BattleFrontier_RankingHall/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_RankingHall: @ 848559C
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_ReceptionGate/header.inc b/data/maps/BattleFrontier_ReceptionGate/header.inc
index f009f93e5..38c514351 100644
--- a/data/maps/BattleFrontier_ReceptionGate/header.inc
+++ b/data/maps/BattleFrontier_ReceptionGate/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_ReceptionGate: @ 84856B4
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattleFrontier_ScottsHouse/header.inc b/data/maps/BattleFrontier_ScottsHouse/header.inc
index 11cf24022..8f4d0593b 100644
--- a/data/maps/BattleFrontier_ScottsHouse/header.inc
+++ b/data/maps/BattleFrontier_ScottsHouse/header.inc
@@ -8,7 +8,7 @@ BattleFrontier_ScottsHouse: @ 8485644
.byte MAPSEC_BATTLE_FRONTIER
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/BattlePyramidSquare01/header.inc b/data/maps/BattlePyramidSquare01/header.inc
index ef8c315d9..0e1f79120 100644
--- a/data/maps/BattlePyramidSquare01/header.inc
+++ b/data/maps/BattlePyramidSquare01/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare01: @ 8484F60
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare02/header.inc b/data/maps/BattlePyramidSquare02/header.inc
index 41f1523cf..cf619b3cb 100644
--- a/data/maps/BattlePyramidSquare02/header.inc
+++ b/data/maps/BattlePyramidSquare02/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare02: @ 8484F7C
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare03/header.inc b/data/maps/BattlePyramidSquare03/header.inc
index 2938d5280..7640e62ce 100644
--- a/data/maps/BattlePyramidSquare03/header.inc
+++ b/data/maps/BattlePyramidSquare03/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare03: @ 8484F98
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare04/header.inc b/data/maps/BattlePyramidSquare04/header.inc
index ae838f26d..7739ac463 100644
--- a/data/maps/BattlePyramidSquare04/header.inc
+++ b/data/maps/BattlePyramidSquare04/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare04: @ 8484FB4
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare05/header.inc b/data/maps/BattlePyramidSquare05/header.inc
index e893cfbcb..b44ef03a3 100644
--- a/data/maps/BattlePyramidSquare05/header.inc
+++ b/data/maps/BattlePyramidSquare05/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare05: @ 8484FD0
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare06/header.inc b/data/maps/BattlePyramidSquare06/header.inc
index 397c7c27c..1983fce44 100644
--- a/data/maps/BattlePyramidSquare06/header.inc
+++ b/data/maps/BattlePyramidSquare06/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare06: @ 8484FEC
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare07/header.inc b/data/maps/BattlePyramidSquare07/header.inc
index 3d9e1c2c5..c371d05a7 100644
--- a/data/maps/BattlePyramidSquare07/header.inc
+++ b/data/maps/BattlePyramidSquare07/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare07: @ 8485008
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare08/header.inc b/data/maps/BattlePyramidSquare08/header.inc
index af3df7eba..cfa836e3e 100644
--- a/data/maps/BattlePyramidSquare08/header.inc
+++ b/data/maps/BattlePyramidSquare08/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare08: @ 8485024
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare09/header.inc b/data/maps/BattlePyramidSquare09/header.inc
index 2fb732618..398ed89e8 100644
--- a/data/maps/BattlePyramidSquare09/header.inc
+++ b/data/maps/BattlePyramidSquare09/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare09: @ 8485040
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare10/header.inc b/data/maps/BattlePyramidSquare10/header.inc
index 8f95706d3..50a3db9be 100644
--- a/data/maps/BattlePyramidSquare10/header.inc
+++ b/data/maps/BattlePyramidSquare10/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare10: @ 848505C
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare11/header.inc b/data/maps/BattlePyramidSquare11/header.inc
index 8d0ffdaae..b5340bb16 100644
--- a/data/maps/BattlePyramidSquare11/header.inc
+++ b/data/maps/BattlePyramidSquare11/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare11: @ 8485078
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare12/header.inc b/data/maps/BattlePyramidSquare12/header.inc
index 268f24cb1..9e24c67b7 100644
--- a/data/maps/BattlePyramidSquare12/header.inc
+++ b/data/maps/BattlePyramidSquare12/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare12: @ 8485094
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare13/header.inc b/data/maps/BattlePyramidSquare13/header.inc
index b4d09580f..e9e78332c 100644
--- a/data/maps/BattlePyramidSquare13/header.inc
+++ b/data/maps/BattlePyramidSquare13/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare13: @ 84850B0
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare14/header.inc b/data/maps/BattlePyramidSquare14/header.inc
index 7d43feff0..1b300f4c1 100644
--- a/data/maps/BattlePyramidSquare14/header.inc
+++ b/data/maps/BattlePyramidSquare14/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare14: @ 84850CC
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare15/header.inc b/data/maps/BattlePyramidSquare15/header.inc
index c67e86abe..67df053a2 100644
--- a/data/maps/BattlePyramidSquare15/header.inc
+++ b/data/maps/BattlePyramidSquare15/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare15: @ 84850E8
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BattlePyramidSquare16/header.inc b/data/maps/BattlePyramidSquare16/header.inc
index 3026d44bd..09576c40e 100644
--- a/data/maps/BattlePyramidSquare16/header.inc
+++ b/data/maps/BattlePyramidSquare16/header.inc
@@ -8,7 +8,7 @@ BattlePyramidSquare16: @ 8485104
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/BirthIsland_Exterior/header.inc b/data/maps/BirthIsland_Exterior/header.inc
index 5bda31250..e29dd83bd 100644
--- a/data/maps/BirthIsland_Exterior/header.inc
+++ b/data/maps/BirthIsland_Exterior/header.inc
@@ -8,7 +8,7 @@ BirthIsland_Exterior: @ 8485794
.byte MAPSEC_BIRTH_ISLAND_2
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/BirthIsland_Harbor/header.inc b/data/maps/BirthIsland_Harbor/header.inc
index f0ea9a70a..a3278a8b6 100644
--- a/data/maps/BirthIsland_Harbor/header.inc
+++ b/data/maps/BirthIsland_Harbor/header.inc
@@ -8,7 +8,7 @@ BirthIsland_Harbor: @ 84857B0
.byte MAPSEC_BIRTH_ISLAND_2
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/CaveOfOrigin_1F/header.inc b/data/maps/CaveOfOrigin_1F/header.inc
index 2b4464937..740f0d818 100644
--- a/data/maps/CaveOfOrigin_1F/header.inc
+++ b/data/maps/CaveOfOrigin_1F/header.inc
@@ -8,7 +8,7 @@ CaveOfOrigin_1F: @ 84842E8
.byte MAPSEC_CAVE_OF_ORIGIN
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/CaveOfOrigin_B1F/header.inc b/data/maps/CaveOfOrigin_B1F/header.inc
index 46cac3433..64a8ea5d4 100644
--- a/data/maps/CaveOfOrigin_B1F/header.inc
+++ b/data/maps/CaveOfOrigin_B1F/header.inc
@@ -8,7 +8,7 @@ CaveOfOrigin_B1F: @ 8484358
.byte MAPSEC_CAVE_OF_ORIGIN
.byte 0
.byte WEATHER_FOG_1
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 14
.byte 0
diff --git a/data/maps/CaveOfOrigin_Entrance/header.inc b/data/maps/CaveOfOrigin_Entrance/header.inc
index a19256b39..046c31854 100644
--- a/data/maps/CaveOfOrigin_Entrance/header.inc
+++ b/data/maps/CaveOfOrigin_Entrance/header.inc
@@ -8,7 +8,7 @@ CaveOfOrigin_Entrance: @ 84842CC
.byte MAPSEC_CAVE_OF_ORIGIN
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/CaveOfOrigin_UnusedRubySapphireMap1/header.inc b/data/maps/CaveOfOrigin_UnusedRubySapphireMap1/header.inc
index 155670bf0..feb17e90a 100644
--- a/data/maps/CaveOfOrigin_UnusedRubySapphireMap1/header.inc
+++ b/data/maps/CaveOfOrigin_UnusedRubySapphireMap1/header.inc
@@ -8,7 +8,7 @@ CaveOfOrigin_UnusedRubySapphireMap1: @ 8484304
.byte MAPSEC_CAVE_OF_ORIGIN
.byte 1
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/CaveOfOrigin_UnusedRubySapphireMap2/header.inc b/data/maps/CaveOfOrigin_UnusedRubySapphireMap2/header.inc
index 12d34ac46..17a6e8a32 100644
--- a/data/maps/CaveOfOrigin_UnusedRubySapphireMap2/header.inc
+++ b/data/maps/CaveOfOrigin_UnusedRubySapphireMap2/header.inc
@@ -8,7 +8,7 @@ CaveOfOrigin_UnusedRubySapphireMap2: @ 8484320
.byte MAPSEC_CAVE_OF_ORIGIN
.byte 1
.byte WEATHER_FOG_1
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/header.inc b/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/header.inc
index 9edfd72a8..b8da3b166 100644
--- a/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/header.inc
+++ b/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/header.inc
@@ -8,7 +8,7 @@ CaveOfOrigin_UnusedRubySapphireMap3: @ 848433C
.byte MAPSEC_CAVE_OF_ORIGIN
.byte 1
.byte WEATHER_FOG_1
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/DesertRuins/header.inc b/data/maps/DesertRuins/header.inc
index 7e63a9023..05820c0cb 100644
--- a/data/maps/DesertRuins/header.inc
+++ b/data/maps/DesertRuins/header.inc
@@ -8,7 +8,7 @@ DesertRuins: @ 8483F68
.byte MAPSEC_DESERT_RUINS
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/DesertUnderpass/header.inc b/data/maps/DesertUnderpass/header.inc
index d3f41bd72..6190cf6b0 100644
--- a/data/maps/DesertUnderpass/header.inc
+++ b/data/maps/DesertUnderpass/header.inc
@@ -8,7 +8,7 @@ DesertUnderpass: @ 8484978
.byte MAPSEC_DESERT_UNDERPASS
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/DewfordTown/header.inc b/data/maps/DewfordTown/header.inc
index fb1270636..f3f4e41f0 100644
--- a/data/maps/DewfordTown/header.inc
+++ b/data/maps/DewfordTown/header.inc
@@ -8,7 +8,7 @@ DewfordTown: @ 84825EC
.byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte WEATHER_SUNNY
- .byte 1
+ .byte MAP_TYPE_TOWN
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/DewfordTown_Gym/header.inc b/data/maps/DewfordTown_Gym/header.inc
index de821f116..169388379 100644
--- a/data/maps/DewfordTown_Gym/header.inc
+++ b/data/maps/DewfordTown_Gym/header.inc
@@ -8,7 +8,7 @@ DewfordTown_Gym: @ 8482C60
.byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/DewfordTown_Hall/header.inc b/data/maps/DewfordTown_Hall/header.inc
index 934a5a039..a62bfe31e 100644
--- a/data/maps/DewfordTown_Hall/header.inc
+++ b/data/maps/DewfordTown_Hall/header.inc
@@ -8,7 +8,7 @@ DewfordTown_Hall: @ 8482C7C
.byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/DewfordTown_House1/header.inc b/data/maps/DewfordTown_House1/header.inc
index 46352ccc6..2ba5bbcc9 100644
--- a/data/maps/DewfordTown_House1/header.inc
+++ b/data/maps/DewfordTown_House1/header.inc
@@ -8,7 +8,7 @@ DewfordTown_House1: @ 8482C0C
.byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/DewfordTown_House2/header.inc b/data/maps/DewfordTown_House2/header.inc
index 0d7070cae..487b763e8 100644
--- a/data/maps/DewfordTown_House2/header.inc
+++ b/data/maps/DewfordTown_House2/header.inc
@@ -8,7 +8,7 @@ DewfordTown_House2: @ 8482C98
.byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/DewfordTown_PokemonCenter_1F/header.inc b/data/maps/DewfordTown_PokemonCenter_1F/header.inc
index 8a22a27f8..95243a6ee 100644
--- a/data/maps/DewfordTown_PokemonCenter_1F/header.inc
+++ b/data/maps/DewfordTown_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ DewfordTown_PokemonCenter_1F: @ 8482C28
.byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/DewfordTown_PokemonCenter_2F/header.inc b/data/maps/DewfordTown_PokemonCenter_2F/header.inc
index cd54f5fe0..5223c36e0 100644
--- a/data/maps/DewfordTown_PokemonCenter_2F/header.inc
+++ b/data/maps/DewfordTown_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ DewfordTown_PokemonCenter_2F: @ 8482C44
.byte MAPSEC_DEWFORD_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/DoubleBattleColosseum/header.inc b/data/maps/DoubleBattleColosseum/header.inc
index 8d4de2924..b8bfdbd79 100644
--- a/data/maps/DoubleBattleColosseum/header.inc
+++ b/data/maps/DoubleBattleColosseum/header.inc
@@ -8,7 +8,7 @@ DoubleBattleColosseum: @ 8484D84
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 8
diff --git a/data/maps/EverGrandeCity/header.inc b/data/maps/EverGrandeCity/header.inc
index 7401e4f2f..16da61699 100644
--- a/data/maps/EverGrandeCity/header.inc
+++ b/data/maps/EverGrandeCity/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity: @ 8482598
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_SUNNY
- .byte 2
+ .byte MAP_TYPE_CITY
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/EverGrandeCity_ChampionsRoom/header.inc b/data/maps/EverGrandeCity_ChampionsRoom/header.inc
index 3cbf3d3b7..6b091b199 100644
--- a/data/maps/EverGrandeCity_ChampionsRoom/header.inc
+++ b/data/maps/EverGrandeCity_ChampionsRoom/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_ChampionsRoom: @ 8483C3C
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/EverGrandeCity_DrakesRoom/header.inc b/data/maps/EverGrandeCity_DrakesRoom/header.inc
index 87ee3f9b6..e3ffc75f6 100644
--- a/data/maps/EverGrandeCity_DrakesRoom/header.inc
+++ b/data/maps/EverGrandeCity_DrakesRoom/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_DrakesRoom: @ 8483C20
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 7
diff --git a/data/maps/EverGrandeCity_GlaciasRoom/header.inc b/data/maps/EverGrandeCity_GlaciasRoom/header.inc
index b8170952e..1c766c26f 100644
--- a/data/maps/EverGrandeCity_GlaciasRoom/header.inc
+++ b/data/maps/EverGrandeCity_GlaciasRoom/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_GlaciasRoom: @ 8483C04
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 6
diff --git a/data/maps/EverGrandeCity_Hall1/header.inc b/data/maps/EverGrandeCity_Hall1/header.inc
index 2b993b9a6..3af5f5a8e 100644
--- a/data/maps/EverGrandeCity_Hall1/header.inc
+++ b/data/maps/EverGrandeCity_Hall1/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_Hall1: @ 8483C58
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/EverGrandeCity_Hall2/header.inc b/data/maps/EverGrandeCity_Hall2/header.inc
index 9d7a836fe..f87bc28bd 100644
--- a/data/maps/EverGrandeCity_Hall2/header.inc
+++ b/data/maps/EverGrandeCity_Hall2/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_Hall2: @ 8483C74
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/EverGrandeCity_Hall3/header.inc b/data/maps/EverGrandeCity_Hall3/header.inc
index d22707542..19fc74ed7 100644
--- a/data/maps/EverGrandeCity_Hall3/header.inc
+++ b/data/maps/EverGrandeCity_Hall3/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_Hall3: @ 8483C90
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/EverGrandeCity_Hall4/header.inc b/data/maps/EverGrandeCity_Hall4/header.inc
index 80867002f..7058f7bef 100644
--- a/data/maps/EverGrandeCity_Hall4/header.inc
+++ b/data/maps/EverGrandeCity_Hall4/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_Hall4: @ 8483CAC
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/EverGrandeCity_Hall5/header.inc b/data/maps/EverGrandeCity_Hall5/header.inc
index 1d1ac9edd..ba5428b3d 100644
--- a/data/maps/EverGrandeCity_Hall5/header.inc
+++ b/data/maps/EverGrandeCity_Hall5/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_Hall5: @ 8483CC8
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/EverGrandeCity_HallOfFame/header.inc b/data/maps/EverGrandeCity_HallOfFame/header.inc
index 6918cc2f1..190433735 100644
--- a/data/maps/EverGrandeCity_HallOfFame/header.inc
+++ b/data/maps/EverGrandeCity_HallOfFame/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_HallOfFame: @ 8483D00
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/EverGrandeCity_PhoebesRoom/header.inc b/data/maps/EverGrandeCity_PhoebesRoom/header.inc
index b852e1c8e..dcfbeecf4 100644
--- a/data/maps/EverGrandeCity_PhoebesRoom/header.inc
+++ b/data/maps/EverGrandeCity_PhoebesRoom/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_PhoebesRoom: @ 8483BE8
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 5
diff --git a/data/maps/EverGrandeCity_PokemonCenter_1F/header.inc b/data/maps/EverGrandeCity_PokemonCenter_1F/header.inc
index d43b97fbc..b04226413 100644
--- a/data/maps/EverGrandeCity_PokemonCenter_1F/header.inc
+++ b/data/maps/EverGrandeCity_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_PokemonCenter_1F: @ 8483D1C
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/EverGrandeCity_PokemonCenter_2F/header.inc b/data/maps/EverGrandeCity_PokemonCenter_2F/header.inc
index 3ee23fe99..dea51de86 100644
--- a/data/maps/EverGrandeCity_PokemonCenter_2F/header.inc
+++ b/data/maps/EverGrandeCity_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_PokemonCenter_2F: @ 8483D38
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/EverGrandeCity_PokemonLeague_1F/header.inc b/data/maps/EverGrandeCity_PokemonLeague_1F/header.inc
index 17d01bfae..e58c53baa 100644
--- a/data/maps/EverGrandeCity_PokemonLeague_1F/header.inc
+++ b/data/maps/EverGrandeCity_PokemonLeague_1F/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_PokemonLeague_1F: @ 8483CE4
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/EverGrandeCity_PokemonLeague_2F/header.inc b/data/maps/EverGrandeCity_PokemonLeague_2F/header.inc
index 217647a56..5aca74ce1 100644
--- a/data/maps/EverGrandeCity_PokemonLeague_2F/header.inc
+++ b/data/maps/EverGrandeCity_PokemonLeague_2F/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_PokemonLeague_2F: @ 8483D54
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/EverGrandeCity_SidneysRoom/header.inc b/data/maps/EverGrandeCity_SidneysRoom/header.inc
index 875c190f5..8cd3539dc 100644
--- a/data/maps/EverGrandeCity_SidneysRoom/header.inc
+++ b/data/maps/EverGrandeCity_SidneysRoom/header.inc
@@ -8,7 +8,7 @@ EverGrandeCity_SidneysRoom: @ 8483BCC
.byte MAPSEC_EVER_GRANDE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 4
diff --git a/data/maps/FallarborTown/header.inc b/data/maps/FallarborTown/header.inc
index 77be7ebaa..c28bc8e50 100644
--- a/data/maps/FallarborTown/header.inc
+++ b/data/maps/FallarborTown/header.inc
@@ -8,7 +8,7 @@ FallarborTown: @ 8482624
.byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte WEATHER_SUNNY
- .byte 1
+ .byte MAP_TYPE_TOWN
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/FallarborTown_BattleTentBattleRoom/header.inc b/data/maps/FallarborTown_BattleTentBattleRoom/header.inc
index 0781e0c30..b884c6f66 100644
--- a/data/maps/FallarborTown_BattleTentBattleRoom/header.inc
+++ b/data/maps/FallarborTown_BattleTentBattleRoom/header.inc
@@ -8,7 +8,7 @@ FallarborTown_BattleTentBattleRoom: @ 8482DCC
.byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FallarborTown_BattleTentCorridor/header.inc b/data/maps/FallarborTown_BattleTentCorridor/header.inc
index 6e5950e85..efa4dde92 100644
--- a/data/maps/FallarborTown_BattleTentCorridor/header.inc
+++ b/data/maps/FallarborTown_BattleTentCorridor/header.inc
@@ -8,7 +8,7 @@ FallarborTown_BattleTentCorridor: @ 8482DB0
.byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FallarborTown_BattleTentLobby/header.inc b/data/maps/FallarborTown_BattleTentLobby/header.inc
index 6702e2f9d..d1f0ece92 100644
--- a/data/maps/FallarborTown_BattleTentLobby/header.inc
+++ b/data/maps/FallarborTown_BattleTentLobby/header.inc
@@ -8,7 +8,7 @@ FallarborTown_BattleTentLobby: @ 8482D94
.byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FallarborTown_House1/header.inc b/data/maps/FallarborTown_House1/header.inc
index b801201f3..fbc36a3f4 100644
--- a/data/maps/FallarborTown_House1/header.inc
+++ b/data/maps/FallarborTown_House1/header.inc
@@ -8,7 +8,7 @@ FallarborTown_House1: @ 8482E20
.byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FallarborTown_House2/header.inc b/data/maps/FallarborTown_House2/header.inc
index b30fdf515..9041fd2b2 100644
--- a/data/maps/FallarborTown_House2/header.inc
+++ b/data/maps/FallarborTown_House2/header.inc
@@ -8,7 +8,7 @@ FallarborTown_House2: @ 8482E3C
.byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FallarborTown_Mart/header.inc b/data/maps/FallarborTown_Mart/header.inc
index 7c9be5b8f..2b29e7d43 100644
--- a/data/maps/FallarborTown_Mart/header.inc
+++ b/data/maps/FallarborTown_Mart/header.inc
@@ -8,7 +8,7 @@ FallarborTown_Mart: @ 8482D78
.byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FallarborTown_PokemonCenter_1F/header.inc b/data/maps/FallarborTown_PokemonCenter_1F/header.inc
index 0e1402710..0c09089a1 100644
--- a/data/maps/FallarborTown_PokemonCenter_1F/header.inc
+++ b/data/maps/FallarborTown_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ FallarborTown_PokemonCenter_1F: @ 8482DE8
.byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FallarborTown_PokemonCenter_2F/header.inc b/data/maps/FallarborTown_PokemonCenter_2F/header.inc
index f00757c91..c345b977e 100644
--- a/data/maps/FallarborTown_PokemonCenter_2F/header.inc
+++ b/data/maps/FallarborTown_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ FallarborTown_PokemonCenter_2F: @ 8482E04
.byte MAPSEC_FALLARBOR_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FarawayIsland_Entrance/header.inc b/data/maps/FarawayIsland_Entrance/header.inc
index 539a797f1..11d0f1a46 100644
--- a/data/maps/FarawayIsland_Entrance/header.inc
+++ b/data/maps/FarawayIsland_Entrance/header.inc
@@ -8,7 +8,7 @@ FarawayIsland_Entrance: @ 848575C
.byte MAPSEC_FARAWAY_ISLAND
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/FarawayIsland_Interior/header.inc b/data/maps/FarawayIsland_Interior/header.inc
index a5b52d076..9b194f674 100644
--- a/data/maps/FarawayIsland_Interior/header.inc
+++ b/data/maps/FarawayIsland_Interior/header.inc
@@ -8,7 +8,7 @@ FarawayIsland_Interior: @ 8485778
.byte MAPSEC_FARAWAY_ISLAND
.byte 0
.byte WEATHER_SHADE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/FieryPath/header.inc b/data/maps/FieryPath/header.inc
index bdf2ec584..3a0705883 100644
--- a/data/maps/FieryPath/header.inc
+++ b/data/maps/FieryPath/header.inc
@@ -8,7 +8,7 @@ FieryPath: @ 8484048
.byte MAPSEC_FIERY_PATH
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/FortreeCity/header.inc b/data/maps/FortreeCity/header.inc
index 7e20bffff..6dfafd2c8 100644
--- a/data/maps/FortreeCity/header.inc
+++ b/data/maps/FortreeCity/header.inc
@@ -8,7 +8,7 @@ FortreeCity: @ 8482528
.byte MAPSEC_FORTREE_CITY
.byte 0
.byte WEATHER_SUNNY
- .byte 2
+ .byte MAP_TYPE_CITY
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/FortreeCity_DecorationShop/header.inc b/data/maps/FortreeCity_DecorationShop/header.inc
index dadd55e02..fbfeee27b 100644
--- a/data/maps/FortreeCity_DecorationShop/header.inc
+++ b/data/maps/FortreeCity_DecorationShop/header.inc
@@ -8,7 +8,7 @@ FortreeCity_DecorationShop: @ 848361C
.byte MAPSEC_FORTREE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FortreeCity_Gym/header.inc b/data/maps/FortreeCity_Gym/header.inc
index 459db5bd5..4e462da1a 100644
--- a/data/maps/FortreeCity_Gym/header.inc
+++ b/data/maps/FortreeCity_Gym/header.inc
@@ -8,7 +8,7 @@ FortreeCity_Gym: @ 848353C
.byte MAPSEC_FORTREE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/FortreeCity_House1/header.inc b/data/maps/FortreeCity_House1/header.inc
index 013caf4d2..44e9ef8a4 100644
--- a/data/maps/FortreeCity_House1/header.inc
+++ b/data/maps/FortreeCity_House1/header.inc
@@ -8,7 +8,7 @@ FortreeCity_House1: @ 8483520
.byte MAPSEC_FORTREE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FortreeCity_House2/header.inc b/data/maps/FortreeCity_House2/header.inc
index b631de024..f8d160d20 100644
--- a/data/maps/FortreeCity_House2/header.inc
+++ b/data/maps/FortreeCity_House2/header.inc
@@ -8,7 +8,7 @@ FortreeCity_House2: @ 84835AC
.byte MAPSEC_FORTREE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FortreeCity_House3/header.inc b/data/maps/FortreeCity_House3/header.inc
index 477706e68..4b2f639d5 100644
--- a/data/maps/FortreeCity_House3/header.inc
+++ b/data/maps/FortreeCity_House3/header.inc
@@ -8,7 +8,7 @@ FortreeCity_House3: @ 84835C8
.byte MAPSEC_FORTREE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FortreeCity_House4/header.inc b/data/maps/FortreeCity_House4/header.inc
index 15182d88f..98f72f1ef 100644
--- a/data/maps/FortreeCity_House4/header.inc
+++ b/data/maps/FortreeCity_House4/header.inc
@@ -8,7 +8,7 @@ FortreeCity_House4: @ 84835E4
.byte MAPSEC_FORTREE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FortreeCity_House5/header.inc b/data/maps/FortreeCity_House5/header.inc
index 29dbe8c13..7b5f8ce27 100644
--- a/data/maps/FortreeCity_House5/header.inc
+++ b/data/maps/FortreeCity_House5/header.inc
@@ -8,7 +8,7 @@ FortreeCity_House5: @ 8483600
.byte MAPSEC_FORTREE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FortreeCity_Mart/header.inc b/data/maps/FortreeCity_Mart/header.inc
index 0a67a7b51..6cab5d440 100644
--- a/data/maps/FortreeCity_Mart/header.inc
+++ b/data/maps/FortreeCity_Mart/header.inc
@@ -8,7 +8,7 @@ FortreeCity_Mart: @ 8483590
.byte MAPSEC_FORTREE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FortreeCity_PokemonCenter_1F/header.inc b/data/maps/FortreeCity_PokemonCenter_1F/header.inc
index 02819535e..0f2db8658 100644
--- a/data/maps/FortreeCity_PokemonCenter_1F/header.inc
+++ b/data/maps/FortreeCity_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ FortreeCity_PokemonCenter_1F: @ 8483558
.byte MAPSEC_FORTREE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/FortreeCity_PokemonCenter_2F/header.inc b/data/maps/FortreeCity_PokemonCenter_2F/header.inc
index ab03878eb..e13260f57 100644
--- a/data/maps/FortreeCity_PokemonCenter_2F/header.inc
+++ b/data/maps/FortreeCity_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ FortreeCity_PokemonCenter_2F: @ 8483574
.byte MAPSEC_FORTREE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/GraniteCave_1F/header.inc b/data/maps/GraniteCave_1F/header.inc
index df957dc4d..d99b48f59 100644
--- a/data/maps/GraniteCave_1F/header.inc
+++ b/data/maps/GraniteCave_1F/header.inc
@@ -8,7 +8,7 @@ GraniteCave_1F: @ 8483F84
.byte MAPSEC_GRANITE_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/GraniteCave_B1F/header.inc b/data/maps/GraniteCave_B1F/header.inc
index 183cece4a..9ed11de6f 100644
--- a/data/maps/GraniteCave_B1F/header.inc
+++ b/data/maps/GraniteCave_B1F/header.inc
@@ -8,7 +8,7 @@ GraniteCave_B1F: @ 8483FA0
.byte MAPSEC_GRANITE_CAVE
.byte 1
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/GraniteCave_B2F/header.inc b/data/maps/GraniteCave_B2F/header.inc
index 452fd1e2f..da4c70c4b 100644
--- a/data/maps/GraniteCave_B2F/header.inc
+++ b/data/maps/GraniteCave_B2F/header.inc
@@ -8,7 +8,7 @@ GraniteCave_B2F: @ 8483FBC
.byte MAPSEC_GRANITE_CAVE
.byte 1
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/GraniteCave_StevensRoom/header.inc b/data/maps/GraniteCave_StevensRoom/header.inc
index 159d49277..9f355ad81 100644
--- a/data/maps/GraniteCave_StevensRoom/header.inc
+++ b/data/maps/GraniteCave_StevensRoom/header.inc
@@ -8,7 +8,7 @@ GraniteCave_StevensRoom: @ 8483FD8
.byte MAPSEC_GRANITE_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/InsideOfTruck/header.inc b/data/maps/InsideOfTruck/header.inc
index 438f3bd0a..3c878c0c8 100644
--- a/data/maps/InsideOfTruck/header.inc
+++ b/data/maps/InsideOfTruck/header.inc
@@ -8,7 +8,7 @@ InsideOfTruck: @ 8484EF0
.byte MAPSEC_INSIDE_OF_TRUCK
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/IslandCave/header.inc b/data/maps/IslandCave/header.inc
index 6d097c21d..39408decf 100644
--- a/data/maps/IslandCave/header.inc
+++ b/data/maps/IslandCave/header.inc
@@ -8,7 +8,7 @@ IslandCave: @ 8484614
.byte MAPSEC_ISLAND_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/JaggedPass/header.inc b/data/maps/JaggedPass/header.inc
index 326269407..99ca54b04 100644
--- a/data/maps/JaggedPass/header.inc
+++ b/data/maps/JaggedPass/header.inc
@@ -8,7 +8,7 @@ JaggedPass: @ 848402C
.byte MAPSEC_JAGGED_PASS
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/LavaridgeTown/header.inc b/data/maps/LavaridgeTown/header.inc
index 9ddad2758..4c0def95d 100644
--- a/data/maps/LavaridgeTown/header.inc
+++ b/data/maps/LavaridgeTown/header.inc
@@ -8,7 +8,7 @@ LavaridgeTown: @ 8482608
.byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte WEATHER_SUNNY
- .byte 1
+ .byte MAP_TYPE_TOWN
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/LavaridgeTown_Gym_1F/header.inc b/data/maps/LavaridgeTown_Gym_1F/header.inc
index 1257c09c0..b2a4a50fd 100644
--- a/data/maps/LavaridgeTown_Gym_1F/header.inc
+++ b/data/maps/LavaridgeTown_Gym_1F/header.inc
@@ -8,7 +8,7 @@ LavaridgeTown_Gym_1F: @ 8482CD0
.byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte WEATHER_FOG_1
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/LavaridgeTown_Gym_B1F/header.inc b/data/maps/LavaridgeTown_Gym_B1F/header.inc
index fc90b501f..d04d827c9 100644
--- a/data/maps/LavaridgeTown_Gym_B1F/header.inc
+++ b/data/maps/LavaridgeTown_Gym_B1F/header.inc
@@ -8,7 +8,7 @@ LavaridgeTown_Gym_B1F: @ 8482CEC
.byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte WEATHER_FOG_1
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/LavaridgeTown_HerbShop/header.inc b/data/maps/LavaridgeTown_HerbShop/header.inc
index db621e67d..f7858be91 100644
--- a/data/maps/LavaridgeTown_HerbShop/header.inc
+++ b/data/maps/LavaridgeTown_HerbShop/header.inc
@@ -8,7 +8,7 @@ LavaridgeTown_HerbShop: @ 8482CB4
.byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LavaridgeTown_House/header.inc b/data/maps/LavaridgeTown_House/header.inc
index b8f607e15..1d8c56290 100644
--- a/data/maps/LavaridgeTown_House/header.inc
+++ b/data/maps/LavaridgeTown_House/header.inc
@@ -8,7 +8,7 @@ LavaridgeTown_House: @ 8482D08
.byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LavaridgeTown_Mart/header.inc b/data/maps/LavaridgeTown_Mart/header.inc
index f06a48f72..f6a4df95d 100644
--- a/data/maps/LavaridgeTown_Mart/header.inc
+++ b/data/maps/LavaridgeTown_Mart/header.inc
@@ -8,7 +8,7 @@ LavaridgeTown_Mart: @ 8482D24
.byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LavaridgeTown_PokemonCenter_1F/header.inc b/data/maps/LavaridgeTown_PokemonCenter_1F/header.inc
index 42a463624..1504e0176 100644
--- a/data/maps/LavaridgeTown_PokemonCenter_1F/header.inc
+++ b/data/maps/LavaridgeTown_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ LavaridgeTown_PokemonCenter_1F: @ 8482D40
.byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LavaridgeTown_PokemonCenter_2F/header.inc b/data/maps/LavaridgeTown_PokemonCenter_2F/header.inc
index 7149858a8..f52965272 100644
--- a/data/maps/LavaridgeTown_PokemonCenter_2F/header.inc
+++ b/data/maps/LavaridgeTown_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ LavaridgeTown_PokemonCenter_2F: @ 8482D5C
.byte MAPSEC_LAVARIDGE_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity/header.inc b/data/maps/LilycoveCity/header.inc
index f372e381c..f4565d25a 100644
--- a/data/maps/LilycoveCity/header.inc
+++ b/data/maps/LilycoveCity/header.inc
@@ -8,7 +8,7 @@ LilycoveCity: @ 8482544
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_SUNNY
- .byte 2
+ .byte MAP_TYPE_CITY
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/LilycoveCity_ContestHall/header.inc b/data/maps/LilycoveCity_ContestHall/header.inc
index 1cd935b55..d31f692c2 100644
--- a/data/maps/LilycoveCity_ContestHall/header.inc
+++ b/data/maps/LilycoveCity_ContestHall/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_ContestHall: @ 84836C4
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_ContestLobby/header.inc b/data/maps/LilycoveCity_ContestLobby/header.inc
index ee9660ebf..aff7cb64e 100644
--- a/data/maps/LilycoveCity_ContestLobby/header.inc
+++ b/data/maps/LilycoveCity_ContestLobby/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_ContestLobby: @ 84836A8
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_CoveLilyMotel_1F/header.inc b/data/maps/LilycoveCity_CoveLilyMotel_1F/header.inc
index 166d86828..258501718 100644
--- a/data/maps/LilycoveCity_CoveLilyMotel_1F/header.inc
+++ b/data/maps/LilycoveCity_CoveLilyMotel_1F/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_CoveLilyMotel_1F: @ 8483638
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_CoveLilyMotel_2F/header.inc b/data/maps/LilycoveCity_CoveLilyMotel_2F/header.inc
index 9b8f05106..dd38adbb8 100644
--- a/data/maps/LilycoveCity_CoveLilyMotel_2F/header.inc
+++ b/data/maps/LilycoveCity_CoveLilyMotel_2F/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_CoveLilyMotel_2F: @ 8483654
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_DepartmentStoreElevator/header.inc b/data/maps/LilycoveCity_DepartmentStoreElevator/header.inc
index 23e99c981..a7375dbd7 100644
--- a/data/maps/LilycoveCity_DepartmentStoreElevator/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStoreElevator/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_DepartmentStoreElevator: @ 84838A0
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_DepartmentStoreRooftop/header.inc b/data/maps/LilycoveCity_DepartmentStoreRooftop/header.inc
index ffd3d4021..92a3c5ed9 100644
--- a/data/maps/LilycoveCity_DepartmentStoreRooftop/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStoreRooftop/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_DepartmentStoreRooftop: @ 8483884
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_DepartmentStore_1F/header.inc b/data/maps/LilycoveCity_DepartmentStore_1F/header.inc
index 695b5560d..136b923e0 100644
--- a/data/maps/LilycoveCity_DepartmentStore_1F/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_1F/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_DepartmentStore_1F: @ 84837F8
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_DepartmentStore_2F/header.inc b/data/maps/LilycoveCity_DepartmentStore_2F/header.inc
index 34beb40f7..fd868ce9d 100644
--- a/data/maps/LilycoveCity_DepartmentStore_2F/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_2F/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_DepartmentStore_2F: @ 8483814
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_DepartmentStore_3F/header.inc b/data/maps/LilycoveCity_DepartmentStore_3F/header.inc
index 5c49de2eb..fd946aee7 100644
--- a/data/maps/LilycoveCity_DepartmentStore_3F/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_3F/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_DepartmentStore_3F: @ 8483830
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_DepartmentStore_4F/header.inc b/data/maps/LilycoveCity_DepartmentStore_4F/header.inc
index c298bc024..7f343e860 100644
--- a/data/maps/LilycoveCity_DepartmentStore_4F/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_4F/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_DepartmentStore_4F: @ 848384C
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_DepartmentStore_5F/header.inc b/data/maps/LilycoveCity_DepartmentStore_5F/header.inc
index 32c178628..2019489b4 100644
--- a/data/maps/LilycoveCity_DepartmentStore_5F/header.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_5F/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_DepartmentStore_5F: @ 8483868
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_Harbor/header.inc b/data/maps/LilycoveCity_Harbor/header.inc
index a28edee35..addb803f0 100644
--- a/data/maps/LilycoveCity_Harbor/header.inc
+++ b/data/maps/LilycoveCity_Harbor/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_Harbor: @ 8483750
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_House1/header.inc b/data/maps/LilycoveCity_House1/header.inc
index e29bdfbc5..c5dde2721 100644
--- a/data/maps/LilycoveCity_House1/header.inc
+++ b/data/maps/LilycoveCity_House1/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_House1: @ 8483788
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_House2/header.inc b/data/maps/LilycoveCity_House2/header.inc
index 0ffeffd03..1a6c27a93 100644
--- a/data/maps/LilycoveCity_House2/header.inc
+++ b/data/maps/LilycoveCity_House2/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_House2: @ 84837A4
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_House3/header.inc b/data/maps/LilycoveCity_House3/header.inc
index fc2868a9c..73fd14e04 100644
--- a/data/maps/LilycoveCity_House3/header.inc
+++ b/data/maps/LilycoveCity_House3/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_House3: @ 84837C0
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_House4/header.inc b/data/maps/LilycoveCity_House4/header.inc
index 66c3636cf..d265ea010 100644
--- a/data/maps/LilycoveCity_House4/header.inc
+++ b/data/maps/LilycoveCity_House4/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_House4: @ 84837DC
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_LilycoveMuseum_1F/header.inc b/data/maps/LilycoveCity_LilycoveMuseum_1F/header.inc
index 292c61623..1a92a6d69 100644
--- a/data/maps/LilycoveCity_LilycoveMuseum_1F/header.inc
+++ b/data/maps/LilycoveCity_LilycoveMuseum_1F/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_LilycoveMuseum_1F: @ 8483670
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_LilycoveMuseum_2F/header.inc b/data/maps/LilycoveCity_LilycoveMuseum_2F/header.inc
index 9bdff8e90..b47d700a9 100644
--- a/data/maps/LilycoveCity_LilycoveMuseum_2F/header.inc
+++ b/data/maps/LilycoveCity_LilycoveMuseum_2F/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_LilycoveMuseum_2F: @ 848368C
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_MoveDeletersHouse/header.inc b/data/maps/LilycoveCity_MoveDeletersHouse/header.inc
index 1adc065dd..9c167f300 100644
--- a/data/maps/LilycoveCity_MoveDeletersHouse/header.inc
+++ b/data/maps/LilycoveCity_MoveDeletersHouse/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_MoveDeletersHouse: @ 848376C
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_PokemonCenter_1F/header.inc b/data/maps/LilycoveCity_PokemonCenter_1F/header.inc
index 92bc0e9d9..6e0b34fac 100644
--- a/data/maps/LilycoveCity_PokemonCenter_1F/header.inc
+++ b/data/maps/LilycoveCity_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_PokemonCenter_1F: @ 84836E0
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_PokemonCenter_2F/header.inc b/data/maps/LilycoveCity_PokemonCenter_2F/header.inc
index 1ae72be25..070ae9aef 100644
--- a/data/maps/LilycoveCity_PokemonCenter_2F/header.inc
+++ b/data/maps/LilycoveCity_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_PokemonCenter_2F: @ 84836FC
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_PokemonTrainerFanClub/header.inc b/data/maps/LilycoveCity_PokemonTrainerFanClub/header.inc
index 2137aecc9..bdbb5aefa 100644
--- a/data/maps/LilycoveCity_PokemonTrainerFanClub/header.inc
+++ b/data/maps/LilycoveCity_PokemonTrainerFanClub/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_PokemonTrainerFanClub: @ 8483734
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LilycoveCity_UnusedMart/header.inc b/data/maps/LilycoveCity_UnusedMart/header.inc
index ecff7b16f..772e57cba 100644
--- a/data/maps/LilycoveCity_UnusedMart/header.inc
+++ b/data/maps/LilycoveCity_UnusedMart/header.inc
@@ -8,7 +8,7 @@ LilycoveCity_UnusedMart: @ 8483718
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LinkContestRoom1/header.inc b/data/maps/LinkContestRoom1/header.inc
index 8b35b2629..b416ddd62 100644
--- a/data/maps/LinkContestRoom1/header.inc
+++ b/data/maps/LinkContestRoom1/header.inc
@@ -8,7 +8,7 @@ LinkContestRoom1: @ 8484DA0
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LinkContestRoom2/header.inc b/data/maps/LinkContestRoom2/header.inc
index b8e3e1822..73c459674 100644
--- a/data/maps/LinkContestRoom2/header.inc
+++ b/data/maps/LinkContestRoom2/header.inc
@@ -8,7 +8,7 @@ LinkContestRoom2: @ 8484E64
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LinkContestRoom3/header.inc b/data/maps/LinkContestRoom3/header.inc
index 5b1e2d8f3..bf12c6d30 100644
--- a/data/maps/LinkContestRoom3/header.inc
+++ b/data/maps/LinkContestRoom3/header.inc
@@ -8,7 +8,7 @@ LinkContestRoom3: @ 8484E80
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LinkContestRoom4/header.inc b/data/maps/LinkContestRoom4/header.inc
index 6a4190ca7..675a02398 100644
--- a/data/maps/LinkContestRoom4/header.inc
+++ b/data/maps/LinkContestRoom4/header.inc
@@ -8,7 +8,7 @@ LinkContestRoom4: @ 8484E9C
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LinkContestRoom5/header.inc b/data/maps/LinkContestRoom5/header.inc
index bf95bb2ef..da5e9ff58 100644
--- a/data/maps/LinkContestRoom5/header.inc
+++ b/data/maps/LinkContestRoom5/header.inc
@@ -8,7 +8,7 @@ LinkContestRoom5: @ 8484EB8
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LinkContestRoom6/header.inc b/data/maps/LinkContestRoom6/header.inc
index 231f31001..153d55b34 100644
--- a/data/maps/LinkContestRoom6/header.inc
+++ b/data/maps/LinkContestRoom6/header.inc
@@ -8,7 +8,7 @@ LinkContestRoom6: @ 8484ED4
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LittlerootTown/header.inc b/data/maps/LittlerootTown/header.inc
index 5fb0a6eab..df9a5b47a 100644
--- a/data/maps/LittlerootTown/header.inc
+++ b/data/maps/LittlerootTown/header.inc
@@ -8,7 +8,7 @@ LittlerootTown: @ 84825B4
.byte MAPSEC_LITTLEROOT_TOWN
.byte 0
.byte WEATHER_SUNNY
- .byte 1
+ .byte MAP_TYPE_TOWN
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/LittlerootTown_BrendansHouse_1F/header.inc b/data/maps/LittlerootTown_BrendansHouse_1F/header.inc
index 69eff71f7..364acb64a 100644
--- a/data/maps/LittlerootTown_BrendansHouse_1F/header.inc
+++ b/data/maps/LittlerootTown_BrendansHouse_1F/header.inc
@@ -8,7 +8,7 @@ LittlerootTown_BrendansHouse_1F: @ 8482AF4
.byte MAPSEC_LITTLEROOT_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LittlerootTown_BrendansHouse_2F/header.inc b/data/maps/LittlerootTown_BrendansHouse_2F/header.inc
index 7b5fa7375..d4d1703f2 100644
--- a/data/maps/LittlerootTown_BrendansHouse_2F/header.inc
+++ b/data/maps/LittlerootTown_BrendansHouse_2F/header.inc
@@ -8,7 +8,7 @@ LittlerootTown_BrendansHouse_2F: @ 8482B10
.byte MAPSEC_LITTLEROOT_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LittlerootTown_MaysHouse_1F/header.inc b/data/maps/LittlerootTown_MaysHouse_1F/header.inc
index 56b925c2a..23c59b082 100644
--- a/data/maps/LittlerootTown_MaysHouse_1F/header.inc
+++ b/data/maps/LittlerootTown_MaysHouse_1F/header.inc
@@ -8,7 +8,7 @@ LittlerootTown_MaysHouse_1F: @ 8482B2C
.byte MAPSEC_LITTLEROOT_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LittlerootTown_MaysHouse_2F/header.inc b/data/maps/LittlerootTown_MaysHouse_2F/header.inc
index 496d3cf83..dfba805be 100644
--- a/data/maps/LittlerootTown_MaysHouse_2F/header.inc
+++ b/data/maps/LittlerootTown_MaysHouse_2F/header.inc
@@ -8,7 +8,7 @@ LittlerootTown_MaysHouse_2F: @ 8482B48
.byte MAPSEC_LITTLEROOT_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/LittlerootTown_ProfessorBirchsLab/header.inc b/data/maps/LittlerootTown_ProfessorBirchsLab/header.inc
index 7ba2b7e0e..3969b46fd 100644
--- a/data/maps/LittlerootTown_ProfessorBirchsLab/header.inc
+++ b/data/maps/LittlerootTown_ProfessorBirchsLab/header.inc
@@ -8,7 +8,7 @@ LittlerootTown_ProfessorBirchsLab: @ 8482B64
.byte MAPSEC_LITTLEROOT_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MagmaHideout_1F/header.inc b/data/maps/MagmaHideout_1F/header.inc
index 65e781626..c9bdce2a1 100644
--- a/data/maps/MagmaHideout_1F/header.inc
+++ b/data/maps/MagmaHideout_1F/header.inc
@@ -8,7 +8,7 @@ MagmaHideout_1F: @ 8484828
.byte MAPSEC_MAGMA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MagmaHideout_2F_1R/header.inc b/data/maps/MagmaHideout_2F_1R/header.inc
index 50bf554d7..8fdac83d2 100644
--- a/data/maps/MagmaHideout_2F_1R/header.inc
+++ b/data/maps/MagmaHideout_2F_1R/header.inc
@@ -8,7 +8,7 @@ MagmaHideout_2F_1R: @ 8484844
.byte MAPSEC_MAGMA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MagmaHideout_2F_2R/header.inc b/data/maps/MagmaHideout_2F_2R/header.inc
index 376c2f232..9512d1734 100644
--- a/data/maps/MagmaHideout_2F_2R/header.inc
+++ b/data/maps/MagmaHideout_2F_2R/header.inc
@@ -8,7 +8,7 @@ MagmaHideout_2F_2R: @ 8484860
.byte MAPSEC_MAGMA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MagmaHideout_2F_3R/header.inc b/data/maps/MagmaHideout_2F_3R/header.inc
index bc8816d1c..39a0710f5 100644
--- a/data/maps/MagmaHideout_2F_3R/header.inc
+++ b/data/maps/MagmaHideout_2F_3R/header.inc
@@ -8,7 +8,7 @@ MagmaHideout_2F_3R: @ 84848EC
.byte MAPSEC_MAGMA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MagmaHideout_3F_1R/header.inc b/data/maps/MagmaHideout_3F_1R/header.inc
index 412756e49..436103ffe 100644
--- a/data/maps/MagmaHideout_3F_1R/header.inc
+++ b/data/maps/MagmaHideout_3F_1R/header.inc
@@ -8,7 +8,7 @@ MagmaHideout_3F_1R: @ 848487C
.byte MAPSEC_MAGMA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MagmaHideout_3F_2R/header.inc b/data/maps/MagmaHideout_3F_2R/header.inc
index d0ae8c4e1..b0bcd92c2 100644
--- a/data/maps/MagmaHideout_3F_2R/header.inc
+++ b/data/maps/MagmaHideout_3F_2R/header.inc
@@ -8,7 +8,7 @@ MagmaHideout_3F_2R: @ 8484898
.byte MAPSEC_MAGMA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MagmaHideout_3F_3R/header.inc b/data/maps/MagmaHideout_3F_3R/header.inc
index f27df336c..a4fe7b936 100644
--- a/data/maps/MagmaHideout_3F_3R/header.inc
+++ b/data/maps/MagmaHideout_3F_3R/header.inc
@@ -8,7 +8,7 @@ MagmaHideout_3F_3R: @ 84848D0
.byte MAPSEC_MAGMA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MagmaHideout_4F/header.inc b/data/maps/MagmaHideout_4F/header.inc
index 778899830..50a1a2b99 100644
--- a/data/maps/MagmaHideout_4F/header.inc
+++ b/data/maps/MagmaHideout_4F/header.inc
@@ -8,7 +8,7 @@ MagmaHideout_4F: @ 84848B4
.byte MAPSEC_MAGMA_HIDEOUT
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MarineCave_End/header.inc b/data/maps/MarineCave_End/header.inc
index da43bbc46..044d54304 100644
--- a/data/maps/MarineCave_End/header.inc
+++ b/data/maps/MarineCave_End/header.inc
@@ -8,7 +8,7 @@ MarineCave_End: @ 8484A04
.byte MAPSEC_MARINE_CAVE
.byte 0
.byte WEATHER_FOG_1
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 14
.byte 0
diff --git a/data/maps/MarineCave_Entrance/header.inc b/data/maps/MarineCave_Entrance/header.inc
index 6432ee987..a95f2c7dd 100644
--- a/data/maps/MarineCave_Entrance/header.inc
+++ b/data/maps/MarineCave_Entrance/header.inc
@@ -8,7 +8,7 @@ MarineCave_Entrance: @ 84849E8
.byte MAPSEC_MARINE_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 14
.byte 0
diff --git a/data/maps/MauvilleCity/header.inc b/data/maps/MauvilleCity/header.inc
index a6a3db192..c2101da80 100644
--- a/data/maps/MauvilleCity/header.inc
+++ b/data/maps/MauvilleCity/header.inc
@@ -8,7 +8,7 @@ MauvilleCity: @ 84824F0
.byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte WEATHER_SUNNY
- .byte 2
+ .byte MAP_TYPE_CITY
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/MauvilleCity_BikeShop/header.inc b/data/maps/MauvilleCity_BikeShop/header.inc
index 942859e0c..cc9a7102c 100644
--- a/data/maps/MauvilleCity_BikeShop/header.inc
+++ b/data/maps/MauvilleCity_BikeShop/header.inc
@@ -8,7 +8,7 @@ MauvilleCity_BikeShop: @ 8483280
.byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MauvilleCity_GameCorner/header.inc b/data/maps/MauvilleCity_GameCorner/header.inc
index 20e6b5a09..c1626ba7f 100644
--- a/data/maps/MauvilleCity_GameCorner/header.inc
+++ b/data/maps/MauvilleCity_GameCorner/header.inc
@@ -8,7 +8,7 @@ MauvilleCity_GameCorner: @ 84832B8
.byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MauvilleCity_Gym/header.inc b/data/maps/MauvilleCity_Gym/header.inc
index e10fa76c8..9a9de6ebf 100644
--- a/data/maps/MauvilleCity_Gym/header.inc
+++ b/data/maps/MauvilleCity_Gym/header.inc
@@ -8,7 +8,7 @@ MauvilleCity_Gym: @ 8483264
.byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/MauvilleCity_House1/header.inc b/data/maps/MauvilleCity_House1/header.inc
index b5f6b9175..43691b589 100644
--- a/data/maps/MauvilleCity_House1/header.inc
+++ b/data/maps/MauvilleCity_House1/header.inc
@@ -8,7 +8,7 @@ MauvilleCity_House1: @ 848329C
.byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MauvilleCity_House2/header.inc b/data/maps/MauvilleCity_House2/header.inc
index fe7b14fcc..8c4628462 100644
--- a/data/maps/MauvilleCity_House2/header.inc
+++ b/data/maps/MauvilleCity_House2/header.inc
@@ -8,7 +8,7 @@ MauvilleCity_House2: @ 84832D4
.byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MauvilleCity_Mart/header.inc b/data/maps/MauvilleCity_Mart/header.inc
index 082ff6045..bb00f8dd0 100644
--- a/data/maps/MauvilleCity_Mart/header.inc
+++ b/data/maps/MauvilleCity_Mart/header.inc
@@ -8,7 +8,7 @@ MauvilleCity_Mart: @ 8483328
.byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MauvilleCity_PokemonCenter_1F/header.inc b/data/maps/MauvilleCity_PokemonCenter_1F/header.inc
index ddc901f44..665e25cdd 100644
--- a/data/maps/MauvilleCity_PokemonCenter_1F/header.inc
+++ b/data/maps/MauvilleCity_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ MauvilleCity_PokemonCenter_1F: @ 84832F0
.byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MauvilleCity_PokemonCenter_2F/header.inc b/data/maps/MauvilleCity_PokemonCenter_2F/header.inc
index e4981b277..6ebef36e5 100644
--- a/data/maps/MauvilleCity_PokemonCenter_2F/header.inc
+++ b/data/maps/MauvilleCity_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ MauvilleCity_PokemonCenter_2F: @ 848330C
.byte MAPSEC_MAUVILLE_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MeteorFalls_1F_1R/header.inc b/data/maps/MeteorFalls_1F_1R/header.inc
index 2b012f5b8..d21e63777 100644
--- a/data/maps/MeteorFalls_1F_1R/header.inc
+++ b/data/maps/MeteorFalls_1F_1R/header.inc
@@ -8,7 +8,7 @@ MeteorFalls_1F_1R: @ 8483EC0
.byte MAPSEC_METEOR_FALLS
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MeteorFalls_1F_2R/header.inc b/data/maps/MeteorFalls_1F_2R/header.inc
index e2b352406..c7d028628 100644
--- a/data/maps/MeteorFalls_1F_2R/header.inc
+++ b/data/maps/MeteorFalls_1F_2R/header.inc
@@ -8,7 +8,7 @@ MeteorFalls_1F_2R: @ 8483EDC
.byte MAPSEC_METEOR_FALLS
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MeteorFalls_B1F_1R/header.inc b/data/maps/MeteorFalls_B1F_1R/header.inc
index a90a21049..e6079dade 100644
--- a/data/maps/MeteorFalls_B1F_1R/header.inc
+++ b/data/maps/MeteorFalls_B1F_1R/header.inc
@@ -8,7 +8,7 @@ MeteorFalls_B1F_1R: @ 8483EF8
.byte MAPSEC_METEOR_FALLS
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MeteorFalls_B1F_2R/header.inc b/data/maps/MeteorFalls_B1F_2R/header.inc
index df6a9ee01..100c19b4e 100644
--- a/data/maps/MeteorFalls_B1F_2R/header.inc
+++ b/data/maps/MeteorFalls_B1F_2R/header.inc
@@ -8,7 +8,7 @@ MeteorFalls_B1F_2R: @ 8483F14
.byte MAPSEC_METEOR_FALLS
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MeteorFalls_StevensCave/header.inc b/data/maps/MeteorFalls_StevensCave/header.inc
index cf9796360..e01833b40 100644
--- a/data/maps/MeteorFalls_StevensCave/header.inc
+++ b/data/maps/MeteorFalls_StevensCave/header.inc
@@ -8,7 +8,7 @@ MeteorFalls_StevensCave: @ 8484A74
.byte MAPSEC_METEOR_FALLS
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MirageTower_1F/header.inc b/data/maps/MirageTower_1F/header.inc
index 90bc41a90..46b167ead 100644
--- a/data/maps/MirageTower_1F/header.inc
+++ b/data/maps/MirageTower_1F/header.inc
@@ -8,7 +8,7 @@ MirageTower_1F: @ 8484908
.byte MAPSEC_MIRAGE_TOWER
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MirageTower_2F/header.inc b/data/maps/MirageTower_2F/header.inc
index 4a984edea..375fef35d 100644
--- a/data/maps/MirageTower_2F/header.inc
+++ b/data/maps/MirageTower_2F/header.inc
@@ -8,7 +8,7 @@ MirageTower_2F: @ 8484924
.byte MAPSEC_MIRAGE_TOWER
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MirageTower_3F/header.inc b/data/maps/MirageTower_3F/header.inc
index c3c126d56..8f3f40f4b 100644
--- a/data/maps/MirageTower_3F/header.inc
+++ b/data/maps/MirageTower_3F/header.inc
@@ -8,7 +8,7 @@ MirageTower_3F: @ 8484940
.byte MAPSEC_MIRAGE_TOWER
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MirageTower_4F/header.inc b/data/maps/MirageTower_4F/header.inc
index c0b51c174..ad4079d0c 100644
--- a/data/maps/MirageTower_4F/header.inc
+++ b/data/maps/MirageTower_4F/header.inc
@@ -8,7 +8,7 @@ MirageTower_4F: @ 848495C
.byte MAPSEC_MIRAGE_TOWER
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/MossdeepCity/header.inc b/data/maps/MossdeepCity/header.inc
index eba304363..5756307eb 100644
--- a/data/maps/MossdeepCity/header.inc
+++ b/data/maps/MossdeepCity/header.inc
@@ -8,7 +8,7 @@ MossdeepCity: @ 8482560
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_SUNNY
- .byte 2
+ .byte MAP_TYPE_CITY
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/MossdeepCity_GameCorner_1F/header.inc b/data/maps/MossdeepCity_GameCorner_1F/header.inc
index b04ffb872..c7e781b7a 100644
--- a/data/maps/MossdeepCity_GameCorner_1F/header.inc
+++ b/data/maps/MossdeepCity_GameCorner_1F/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_GameCorner_1F: @ 84839F0
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MossdeepCity_GameCorner_B1F/header.inc b/data/maps/MossdeepCity_GameCorner_B1F/header.inc
index d0b115b37..c431f8b06 100644
--- a/data/maps/MossdeepCity_GameCorner_B1F/header.inc
+++ b/data/maps/MossdeepCity_GameCorner_B1F/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_GameCorner_B1F: @ 8483A0C
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MossdeepCity_Gym/header.inc b/data/maps/MossdeepCity_Gym/header.inc
index df190975c..af4198c83 100644
--- a/data/maps/MossdeepCity_Gym/header.inc
+++ b/data/maps/MossdeepCity_Gym/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_Gym: @ 84838BC
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/MossdeepCity_House1/header.inc b/data/maps/MossdeepCity_House1/header.inc
index 0843eb3f4..31cb2aa2a 100644
--- a/data/maps/MossdeepCity_House1/header.inc
+++ b/data/maps/MossdeepCity_House1/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_House1: @ 84838D8
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MossdeepCity_House2/header.inc b/data/maps/MossdeepCity_House2/header.inc
index b844bd961..d89be9872 100644
--- a/data/maps/MossdeepCity_House2/header.inc
+++ b/data/maps/MossdeepCity_House2/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_House2: @ 84838F4
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MossdeepCity_House3/header.inc b/data/maps/MossdeepCity_House3/header.inc
index 6e47ed443..02b2489fd 100644
--- a/data/maps/MossdeepCity_House3/header.inc
+++ b/data/maps/MossdeepCity_House3/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_House3: @ 8483964
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MossdeepCity_House4/header.inc b/data/maps/MossdeepCity_House4/header.inc
index dbd201c2e..c86b1f8af 100644
--- a/data/maps/MossdeepCity_House4/header.inc
+++ b/data/maps/MossdeepCity_House4/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_House4: @ 848399C
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MossdeepCity_Mart/header.inc b/data/maps/MossdeepCity_Mart/header.inc
index 72dc8a409..4086c0142 100644
--- a/data/maps/MossdeepCity_Mart/header.inc
+++ b/data/maps/MossdeepCity_Mart/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_Mart: @ 8483948
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MossdeepCity_PokemonCenter_1F/header.inc b/data/maps/MossdeepCity_PokemonCenter_1F/header.inc
index e39eb8183..aef070228 100644
--- a/data/maps/MossdeepCity_PokemonCenter_1F/header.inc
+++ b/data/maps/MossdeepCity_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_PokemonCenter_1F: @ 8483910
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MossdeepCity_PokemonCenter_2F/header.inc b/data/maps/MossdeepCity_PokemonCenter_2F/header.inc
index 022761465..32c2bbc28 100644
--- a/data/maps/MossdeepCity_PokemonCenter_2F/header.inc
+++ b/data/maps/MossdeepCity_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_PokemonCenter_2F: @ 848392C
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MossdeepCity_SpaceCenter_1F/header.inc b/data/maps/MossdeepCity_SpaceCenter_1F/header.inc
index c38fc57eb..c5eb7515e 100644
--- a/data/maps/MossdeepCity_SpaceCenter_1F/header.inc
+++ b/data/maps/MossdeepCity_SpaceCenter_1F/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_SpaceCenter_1F: @ 84839B8
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MossdeepCity_SpaceCenter_2F/header.inc b/data/maps/MossdeepCity_SpaceCenter_2F/header.inc
index 53fb8a06a..ec580ec8e 100644
--- a/data/maps/MossdeepCity_SpaceCenter_2F/header.inc
+++ b/data/maps/MossdeepCity_SpaceCenter_2F/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_SpaceCenter_2F: @ 84839D4
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MossdeepCity_StevensHouse/header.inc b/data/maps/MossdeepCity_StevensHouse/header.inc
index 43b5f92cf..446d6f540 100644
--- a/data/maps/MossdeepCity_StevensHouse/header.inc
+++ b/data/maps/MossdeepCity_StevensHouse/header.inc
@@ -8,7 +8,7 @@ MossdeepCity_StevensHouse: @ 8483980
.byte MAPSEC_MOSSDEEP_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MtChimney/header.inc b/data/maps/MtChimney/header.inc
index 29c068992..17173424b 100644
--- a/data/maps/MtChimney/header.inc
+++ b/data/maps/MtChimney/header.inc
@@ -8,7 +8,7 @@ MtChimney: @ 8484010
.byte MAPSEC_MT_CHIMNEY
.byte 0
.byte WEATHER_ASH
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/MtChimney_CableCarStation/header.inc b/data/maps/MtChimney_CableCarStation/header.inc
index 3de6d823e..864d0a0c8 100644
--- a/data/maps/MtChimney_CableCarStation/header.inc
+++ b/data/maps/MtChimney_CableCarStation/header.inc
@@ -8,7 +8,7 @@ MtChimney_CableCarStation: @ 8483DFC
.byte MAPSEC_MT_CHIMNEY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/MtPyre_1F/header.inc b/data/maps/MtPyre_1F/header.inc
index 88306a7de..bb38876c8 100644
--- a/data/maps/MtPyre_1F/header.inc
+++ b/data/maps/MtPyre_1F/header.inc
@@ -8,7 +8,7 @@ MtPyre_1F: @ 8484064
.byte MAPSEC_MT_PYRE
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 8
.byte 0
diff --git a/data/maps/MtPyre_2F/header.inc b/data/maps/MtPyre_2F/header.inc
index 0afddfb49..2ed8817a6 100644
--- a/data/maps/MtPyre_2F/header.inc
+++ b/data/maps/MtPyre_2F/header.inc
@@ -8,7 +8,7 @@ MtPyre_2F: @ 8484080
.byte MAPSEC_MT_PYRE
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 8
.byte 0
diff --git a/data/maps/MtPyre_3F/header.inc b/data/maps/MtPyre_3F/header.inc
index 8ccabb8c8..115479a97 100644
--- a/data/maps/MtPyre_3F/header.inc
+++ b/data/maps/MtPyre_3F/header.inc
@@ -8,7 +8,7 @@ MtPyre_3F: @ 848409C
.byte MAPSEC_MT_PYRE
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 8
.byte 0
diff --git a/data/maps/MtPyre_4F/header.inc b/data/maps/MtPyre_4F/header.inc
index 22a41d25c..ed554cb5f 100644
--- a/data/maps/MtPyre_4F/header.inc
+++ b/data/maps/MtPyre_4F/header.inc
@@ -8,7 +8,7 @@ MtPyre_4F: @ 84840B8
.byte MAPSEC_MT_PYRE
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 8
.byte 0
diff --git a/data/maps/MtPyre_5F/header.inc b/data/maps/MtPyre_5F/header.inc
index 47f92d2c8..1f1829279 100644
--- a/data/maps/MtPyre_5F/header.inc
+++ b/data/maps/MtPyre_5F/header.inc
@@ -8,7 +8,7 @@ MtPyre_5F: @ 84840D4
.byte MAPSEC_MT_PYRE
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 8
.byte 0
diff --git a/data/maps/MtPyre_6F/header.inc b/data/maps/MtPyre_6F/header.inc
index ceaceca41..b665007db 100644
--- a/data/maps/MtPyre_6F/header.inc
+++ b/data/maps/MtPyre_6F/header.inc
@@ -8,7 +8,7 @@ MtPyre_6F: @ 84840F0
.byte MAPSEC_MT_PYRE
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 8
.byte 0
diff --git a/data/maps/MtPyre_Exterior/header.inc b/data/maps/MtPyre_Exterior/header.inc
index c5e7576cf..b453b7691 100644
--- a/data/maps/MtPyre_Exterior/header.inc
+++ b/data/maps/MtPyre_Exterior/header.inc
@@ -8,7 +8,7 @@ MtPyre_Exterior: @ 848410C
.byte MAPSEC_MT_PYRE
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/MtPyre_Summit/header.inc b/data/maps/MtPyre_Summit/header.inc
index 29597bceb..67185120a 100644
--- a/data/maps/MtPyre_Summit/header.inc
+++ b/data/maps/MtPyre_Summit/header.inc
@@ -8,7 +8,7 @@ MtPyre_Summit: @ 8484128
.byte MAPSEC_MT_PYRE
.byte 0
.byte WEATHER_FOG_1
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/NavelRock_B1F/header.inc b/data/maps/NavelRock_B1F/header.inc
index 2f8d472d2..4f92661da 100644
--- a/data/maps/NavelRock_B1F/header.inc
+++ b/data/maps/NavelRock_B1F/header.inc
@@ -8,7 +8,7 @@ NavelRock_B1F: @ 84858C8
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Bottom/header.inc b/data/maps/NavelRock_Bottom/header.inc
index ee2eeb102..ddf383ee2 100644
--- a/data/maps/NavelRock_Bottom/header.inc
+++ b/data/maps/NavelRock_Bottom/header.inc
@@ -8,7 +8,7 @@ NavelRock_Bottom: @ 8485AC0
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Down01/header.inc b/data/maps/NavelRock_Down01/header.inc
index 8b11f8d93..2585dc958 100644
--- a/data/maps/NavelRock_Down01/header.inc
+++ b/data/maps/NavelRock_Down01/header.inc
@@ -8,7 +8,7 @@ NavelRock_Down01: @ 848598C
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Down02/header.inc b/data/maps/NavelRock_Down02/header.inc
index 0b56cba11..5f6e48b82 100644
--- a/data/maps/NavelRock_Down02/header.inc
+++ b/data/maps/NavelRock_Down02/header.inc
@@ -8,7 +8,7 @@ NavelRock_Down02: @ 84859A8
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Down03/header.inc b/data/maps/NavelRock_Down03/header.inc
index a674e3849..2e256ec77 100644
--- a/data/maps/NavelRock_Down03/header.inc
+++ b/data/maps/NavelRock_Down03/header.inc
@@ -8,7 +8,7 @@ NavelRock_Down03: @ 84859C4
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Down04/header.inc b/data/maps/NavelRock_Down04/header.inc
index 34359e5b8..c5c1ee394 100644
--- a/data/maps/NavelRock_Down04/header.inc
+++ b/data/maps/NavelRock_Down04/header.inc
@@ -8,7 +8,7 @@ NavelRock_Down04: @ 84859E0
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Down05/header.inc b/data/maps/NavelRock_Down05/header.inc
index 2be325bad..40f8cf0c9 100644
--- a/data/maps/NavelRock_Down05/header.inc
+++ b/data/maps/NavelRock_Down05/header.inc
@@ -8,7 +8,7 @@ NavelRock_Down05: @ 84859FC
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Down06/header.inc b/data/maps/NavelRock_Down06/header.inc
index c38950b20..7c9f16d60 100644
--- a/data/maps/NavelRock_Down06/header.inc
+++ b/data/maps/NavelRock_Down06/header.inc
@@ -8,7 +8,7 @@ NavelRock_Down06: @ 8485A18
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Down07/header.inc b/data/maps/NavelRock_Down07/header.inc
index 65af6ccd8..ef679ae6b 100644
--- a/data/maps/NavelRock_Down07/header.inc
+++ b/data/maps/NavelRock_Down07/header.inc
@@ -8,7 +8,7 @@ NavelRock_Down07: @ 8485A34
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Down08/header.inc b/data/maps/NavelRock_Down08/header.inc
index fd08b39ea..27ca1b317 100644
--- a/data/maps/NavelRock_Down08/header.inc
+++ b/data/maps/NavelRock_Down08/header.inc
@@ -8,7 +8,7 @@ NavelRock_Down08: @ 8485A50
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Down09/header.inc b/data/maps/NavelRock_Down09/header.inc
index 9b22ca051..2dd586587 100644
--- a/data/maps/NavelRock_Down09/header.inc
+++ b/data/maps/NavelRock_Down09/header.inc
@@ -8,7 +8,7 @@ NavelRock_Down09: @ 8485A6C
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Down10/header.inc b/data/maps/NavelRock_Down10/header.inc
index 4301b5f93..b8a2123d5 100644
--- a/data/maps/NavelRock_Down10/header.inc
+++ b/data/maps/NavelRock_Down10/header.inc
@@ -8,7 +8,7 @@ NavelRock_Down10: @ 8485A88
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Down11/header.inc b/data/maps/NavelRock_Down11/header.inc
index a45e05795..9073b1b64 100644
--- a/data/maps/NavelRock_Down11/header.inc
+++ b/data/maps/NavelRock_Down11/header.inc
@@ -8,7 +8,7 @@ NavelRock_Down11: @ 8485AA4
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Entrance/header.inc b/data/maps/NavelRock_Entrance/header.inc
index 5509d0cde..d795e2bb9 100644
--- a/data/maps/NavelRock_Entrance/header.inc
+++ b/data/maps/NavelRock_Entrance/header.inc
@@ -8,7 +8,7 @@ NavelRock_Entrance: @ 84858AC
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Exterior/header.inc b/data/maps/NavelRock_Exterior/header.inc
index ed9234f34..ec7ea4968 100644
--- a/data/maps/NavelRock_Exterior/header.inc
+++ b/data/maps/NavelRock_Exterior/header.inc
@@ -8,7 +8,7 @@ NavelRock_Exterior: @ 8485874
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/NavelRock_Fork/header.inc b/data/maps/NavelRock_Fork/header.inc
index 73aab8ad6..8a145ad64 100644
--- a/data/maps/NavelRock_Fork/header.inc
+++ b/data/maps/NavelRock_Fork/header.inc
@@ -8,7 +8,7 @@ NavelRock_Fork: @ 84858E4
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Harbor/header.inc b/data/maps/NavelRock_Harbor/header.inc
index 9e60e032f..f798d56df 100644
--- a/data/maps/NavelRock_Harbor/header.inc
+++ b/data/maps/NavelRock_Harbor/header.inc
@@ -8,7 +8,7 @@ NavelRock_Harbor: @ 8485890
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/NavelRock_Top/header.inc b/data/maps/NavelRock_Top/header.inc
index 3a1c8254d..43b9d951d 100644
--- a/data/maps/NavelRock_Top/header.inc
+++ b/data/maps/NavelRock_Top/header.inc
@@ -8,7 +8,7 @@ NavelRock_Top: @ 8485970
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_SHADE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Up1/header.inc b/data/maps/NavelRock_Up1/header.inc
index 41a342eb3..c409781be 100644
--- a/data/maps/NavelRock_Up1/header.inc
+++ b/data/maps/NavelRock_Up1/header.inc
@@ -8,7 +8,7 @@ NavelRock_Up1: @ 8485900
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Up2/header.inc b/data/maps/NavelRock_Up2/header.inc
index db13a9adf..a2f627a1c 100644
--- a/data/maps/NavelRock_Up2/header.inc
+++ b/data/maps/NavelRock_Up2/header.inc
@@ -8,7 +8,7 @@ NavelRock_Up2: @ 848591C
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Up3/header.inc b/data/maps/NavelRock_Up3/header.inc
index e6e140696..bce8a899f 100644
--- a/data/maps/NavelRock_Up3/header.inc
+++ b/data/maps/NavelRock_Up3/header.inc
@@ -8,7 +8,7 @@ NavelRock_Up3: @ 8485938
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NavelRock_Up4/header.inc b/data/maps/NavelRock_Up4/header.inc
index be297090a..02a05c79e 100644
--- a/data/maps/NavelRock_Up4/header.inc
+++ b/data/maps/NavelRock_Up4/header.inc
@@ -8,7 +8,7 @@ NavelRock_Up4: @ 8485954
.byte MAPSEC_NAVEL_ROCK2
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/NewMauville_Entrance/header.inc b/data/maps/NewMauville_Entrance/header.inc
index 08df71885..706a21563 100644
--- a/data/maps/NewMauville_Entrance/header.inc
+++ b/data/maps/NewMauville_Entrance/header.inc
@@ -8,7 +8,7 @@ NewMauville_Entrance: @ 8484470
.byte MAPSEC_NEW_MAUVILLE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/NewMauville_Inside/header.inc b/data/maps/NewMauville_Inside/header.inc
index 87628d4cf..a3740f48a 100644
--- a/data/maps/NewMauville_Inside/header.inc
+++ b/data/maps/NewMauville_Inside/header.inc
@@ -8,7 +8,7 @@ NewMauville_Inside: @ 848448C
.byte MAPSEC_NEW_MAUVILLE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/OldaleTown/header.inc b/data/maps/OldaleTown/header.inc
index de8566823..074c45320 100644
--- a/data/maps/OldaleTown/header.inc
+++ b/data/maps/OldaleTown/header.inc
@@ -8,7 +8,7 @@ OldaleTown: @ 84825D0
.byte MAPSEC_OLDALE_TOWN
.byte 0
.byte WEATHER_SUNNY
- .byte 1
+ .byte MAP_TYPE_TOWN
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/OldaleTown_House1/header.inc b/data/maps/OldaleTown_House1/header.inc
index 0accc508b..f188a6559 100644
--- a/data/maps/OldaleTown_House1/header.inc
+++ b/data/maps/OldaleTown_House1/header.inc
@@ -8,7 +8,7 @@ OldaleTown_House1: @ 8482B80
.byte MAPSEC_OLDALE_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/OldaleTown_House2/header.inc b/data/maps/OldaleTown_House2/header.inc
index 2d6cffcfa..6e942e50c 100644
--- a/data/maps/OldaleTown_House2/header.inc
+++ b/data/maps/OldaleTown_House2/header.inc
@@ -8,7 +8,7 @@ OldaleTown_House2: @ 8482B9C
.byte MAPSEC_OLDALE_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/OldaleTown_Mart/header.inc b/data/maps/OldaleTown_Mart/header.inc
index d2bc44d39..bbc85e7cb 100644
--- a/data/maps/OldaleTown_Mart/header.inc
+++ b/data/maps/OldaleTown_Mart/header.inc
@@ -8,7 +8,7 @@ OldaleTown_Mart: @ 8482BF0
.byte MAPSEC_OLDALE_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/OldaleTown_PokemonCenter_1F/header.inc b/data/maps/OldaleTown_PokemonCenter_1F/header.inc
index 2a0988475..3f01beee4 100644
--- a/data/maps/OldaleTown_PokemonCenter_1F/header.inc
+++ b/data/maps/OldaleTown_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ OldaleTown_PokemonCenter_1F: @ 8482BB8
.byte MAPSEC_OLDALE_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/OldaleTown_PokemonCenter_2F/header.inc b/data/maps/OldaleTown_PokemonCenter_2F/header.inc
index b1399a1b0..99356ce57 100644
--- a/data/maps/OldaleTown_PokemonCenter_2F/header.inc
+++ b/data/maps/OldaleTown_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ OldaleTown_PokemonCenter_2F: @ 8482BD4
.byte MAPSEC_OLDALE_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PacifidlogTown/header.inc b/data/maps/PacifidlogTown/header.inc
index f903637a3..34c15d53f 100644
--- a/data/maps/PacifidlogTown/header.inc
+++ b/data/maps/PacifidlogTown/header.inc
@@ -8,7 +8,7 @@ PacifidlogTown: @ 848265C
.byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte WEATHER_SUNNY
- .byte 1
+ .byte MAP_TYPE_TOWN
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/PacifidlogTown_House1/header.inc b/data/maps/PacifidlogTown_House1/header.inc
index 90098ec2c..33449542f 100644
--- a/data/maps/PacifidlogTown_House1/header.inc
+++ b/data/maps/PacifidlogTown_House1/header.inc
@@ -8,7 +8,7 @@ PacifidlogTown_House1: @ 8482F8C
.byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PacifidlogTown_House2/header.inc b/data/maps/PacifidlogTown_House2/header.inc
index a1433fbbc..c095f6827 100644
--- a/data/maps/PacifidlogTown_House2/header.inc
+++ b/data/maps/PacifidlogTown_House2/header.inc
@@ -8,7 +8,7 @@ PacifidlogTown_House2: @ 8482FA8
.byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PacifidlogTown_House3/header.inc b/data/maps/PacifidlogTown_House3/header.inc
index 28d0fd8a5..5aa498141 100644
--- a/data/maps/PacifidlogTown_House3/header.inc
+++ b/data/maps/PacifidlogTown_House3/header.inc
@@ -8,7 +8,7 @@ PacifidlogTown_House3: @ 8482FC4
.byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PacifidlogTown_House4/header.inc b/data/maps/PacifidlogTown_House4/header.inc
index adbd42c6a..9530591f6 100644
--- a/data/maps/PacifidlogTown_House4/header.inc
+++ b/data/maps/PacifidlogTown_House4/header.inc
@@ -8,7 +8,7 @@ PacifidlogTown_House4: @ 8482FE0
.byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PacifidlogTown_House5/header.inc b/data/maps/PacifidlogTown_House5/header.inc
index b30fb80d3..915d053cb 100644
--- a/data/maps/PacifidlogTown_House5/header.inc
+++ b/data/maps/PacifidlogTown_House5/header.inc
@@ -8,7 +8,7 @@ PacifidlogTown_House5: @ 8482FFC
.byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PacifidlogTown_PokemonCenter_1F/header.inc b/data/maps/PacifidlogTown_PokemonCenter_1F/header.inc
index 6d95c3b6e..15b0044c3 100644
--- a/data/maps/PacifidlogTown_PokemonCenter_1F/header.inc
+++ b/data/maps/PacifidlogTown_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ PacifidlogTown_PokemonCenter_1F: @ 8482F54
.byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PacifidlogTown_PokemonCenter_2F/header.inc b/data/maps/PacifidlogTown_PokemonCenter_2F/header.inc
index 9cc1d0470..72331ab8d 100644
--- a/data/maps/PacifidlogTown_PokemonCenter_2F/header.inc
+++ b/data/maps/PacifidlogTown_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ PacifidlogTown_PokemonCenter_2F: @ 8482F70
.byte MAPSEC_PACIFIDLOG_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PetalburgCity/header.inc b/data/maps/PetalburgCity/header.inc
index bd94ab120..2b8520a7b 100644
--- a/data/maps/PetalburgCity/header.inc
+++ b/data/maps/PetalburgCity/header.inc
@@ -8,7 +8,7 @@ PetalburgCity: @ 84824B8
.byte MAPSEC_PETALBURG_CITY
.byte 0
.byte WEATHER_SUNNY
- .byte 2
+ .byte MAP_TYPE_CITY
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/PetalburgCity_Gym/header.inc b/data/maps/PetalburgCity_Gym/header.inc
index 661552e20..b6604647f 100644
--- a/data/maps/PetalburgCity_Gym/header.inc
+++ b/data/maps/PetalburgCity_Gym/header.inc
@@ -8,7 +8,7 @@ PetalburgCity_Gym: @ 8483034
.byte MAPSEC_PETALBURG_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/PetalburgCity_House1/header.inc b/data/maps/PetalburgCity_House1/header.inc
index 00e26fe1a..c80452182 100644
--- a/data/maps/PetalburgCity_House1/header.inc
+++ b/data/maps/PetalburgCity_House1/header.inc
@@ -8,7 +8,7 @@ PetalburgCity_House1: @ 8483050
.byte MAPSEC_PETALBURG_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PetalburgCity_House2/header.inc b/data/maps/PetalburgCity_House2/header.inc
index 1a643f7e2..61b9b16ca 100644
--- a/data/maps/PetalburgCity_House2/header.inc
+++ b/data/maps/PetalburgCity_House2/header.inc
@@ -8,7 +8,7 @@ PetalburgCity_House2: @ 848306C
.byte MAPSEC_PETALBURG_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PetalburgCity_Mart/header.inc b/data/maps/PetalburgCity_Mart/header.inc
index 85d8331a1..92cabd5a3 100644
--- a/data/maps/PetalburgCity_Mart/header.inc
+++ b/data/maps/PetalburgCity_Mart/header.inc
@@ -8,7 +8,7 @@ PetalburgCity_Mart: @ 84830C0
.byte MAPSEC_PETALBURG_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PetalburgCity_PokemonCenter_1F/header.inc b/data/maps/PetalburgCity_PokemonCenter_1F/header.inc
index 336958088..1a3e764bb 100644
--- a/data/maps/PetalburgCity_PokemonCenter_1F/header.inc
+++ b/data/maps/PetalburgCity_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ PetalburgCity_PokemonCenter_1F: @ 8483088
.byte MAPSEC_PETALBURG_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PetalburgCity_PokemonCenter_2F/header.inc b/data/maps/PetalburgCity_PokemonCenter_2F/header.inc
index 7b1e01861..73dbb7aa4 100644
--- a/data/maps/PetalburgCity_PokemonCenter_2F/header.inc
+++ b/data/maps/PetalburgCity_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ PetalburgCity_PokemonCenter_2F: @ 84830A4
.byte MAPSEC_PETALBURG_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PetalburgCity_WallysHouse/header.inc b/data/maps/PetalburgCity_WallysHouse/header.inc
index 68c746b58..033e19488 100644
--- a/data/maps/PetalburgCity_WallysHouse/header.inc
+++ b/data/maps/PetalburgCity_WallysHouse/header.inc
@@ -8,7 +8,7 @@ PetalburgCity_WallysHouse: @ 8483018
.byte MAPSEC_PETALBURG_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/PetalburgWoods/header.inc b/data/maps/PetalburgWoods/header.inc
index bda2a3ab5..387032076 100644
--- a/data/maps/PetalburgWoods/header.inc
+++ b/data/maps/PetalburgWoods/header.inc
@@ -8,7 +8,7 @@ PetalburgWoods: @ 8483FF4
.byte MAPSEC_PETALBURG_WOODS
.byte 0
.byte WEATHER_SHADE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/RecordCorner/header.inc b/data/maps/RecordCorner/header.inc
index 4d4583acf..98573d9a4 100644
--- a/data/maps/RecordCorner/header.inc
+++ b/data/maps/RecordCorner/header.inc
@@ -8,7 +8,7 @@ RecordCorner: @ 8484D68
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route101/header.inc b/data/maps/Route101/header.inc
index 0c76acfbc..feb3aa440 100644
--- a/data/maps/Route101/header.inc
+++ b/data/maps/Route101/header.inc
@@ -8,7 +8,7 @@ Route101: @ 8482678
.byte MAPSEC_ROUTE_101
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route102/header.inc b/data/maps/Route102/header.inc
index 33e22d3bd..6102e69a0 100644
--- a/data/maps/Route102/header.inc
+++ b/data/maps/Route102/header.inc
@@ -8,7 +8,7 @@ Route102: @ 8482694
.byte MAPSEC_ROUTE_102
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route103/header.inc b/data/maps/Route103/header.inc
index 22f0976d3..6c99d4df2 100644
--- a/data/maps/Route103/header.inc
+++ b/data/maps/Route103/header.inc
@@ -8,7 +8,7 @@ Route103: @ 84826B0
.byte MAPSEC_ROUTE_103
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route104/header.inc b/data/maps/Route104/header.inc
index 02019604d..1c09ae166 100644
--- a/data/maps/Route104/header.inc
+++ b/data/maps/Route104/header.inc
@@ -8,7 +8,7 @@ Route104: @ 84826CC
.byte MAPSEC_ROUTE_104
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route104_MrBrineysHouse/header.inc b/data/maps/Route104_MrBrineysHouse/header.inc
index e67afc46c..5dab30f42 100644
--- a/data/maps/Route104_MrBrineysHouse/header.inc
+++ b/data/maps/Route104_MrBrineysHouse/header.inc
@@ -8,7 +8,7 @@ Route104_MrBrineysHouse: @ 8483D70
.byte MAPSEC_ROUTE_104
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route104_PrettyPetalFlowerShop/header.inc b/data/maps/Route104_PrettyPetalFlowerShop/header.inc
index caf3f3f86..f1f273c73 100644
--- a/data/maps/Route104_PrettyPetalFlowerShop/header.inc
+++ b/data/maps/Route104_PrettyPetalFlowerShop/header.inc
@@ -8,7 +8,7 @@ Route104_PrettyPetalFlowerShop: @ 8483D8C
.byte MAPSEC_ROUTE_104
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route104_Prototype/header.inc b/data/maps/Route104_Prototype/header.inc
index ca694df00..99284e566 100644
--- a/data/maps/Route104_Prototype/header.inc
+++ b/data/maps/Route104_Prototype/header.inc
@@ -8,7 +8,7 @@ Route104_Prototype: @ 8485AF8
.byte MAPSEC_ROUTE_104
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 8
.byte 0
diff --git a/data/maps/Route104_PrototypePrettyPetalFlowerShop/header.inc b/data/maps/Route104_PrototypePrettyPetalFlowerShop/header.inc
index 87a794524..4bb9351d8 100644
--- a/data/maps/Route104_PrototypePrettyPetalFlowerShop/header.inc
+++ b/data/maps/Route104_PrototypePrettyPetalFlowerShop/header.inc
@@ -8,7 +8,7 @@ Route104_PrototypePrettyPetalFlowerShop: @ 8485B14
.byte MAPSEC_ROUTE_104
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 8
.byte 0
diff --git a/data/maps/Route105/header.inc b/data/maps/Route105/header.inc
index a55cb3ede..040e26110 100644
--- a/data/maps/Route105/header.inc
+++ b/data/maps/Route105/header.inc
@@ -8,7 +8,7 @@ Route105: @ 84826E8
.byte MAPSEC_ROUTE_105
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route106/header.inc b/data/maps/Route106/header.inc
index df51d4222..69ab66b03 100644
--- a/data/maps/Route106/header.inc
+++ b/data/maps/Route106/header.inc
@@ -8,7 +8,7 @@ Route106: @ 8482704
.byte MAPSEC_ROUTE_106
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route107/header.inc b/data/maps/Route107/header.inc
index 09a47a2ae..399096d16 100644
--- a/data/maps/Route107/header.inc
+++ b/data/maps/Route107/header.inc
@@ -8,7 +8,7 @@ Route107: @ 8482720
.byte MAPSEC_ROUTE_107
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route108/header.inc b/data/maps/Route108/header.inc
index 3b55160d8..a59ddf761 100644
--- a/data/maps/Route108/header.inc
+++ b/data/maps/Route108/header.inc
@@ -8,7 +8,7 @@ Route108: @ 848273C
.byte MAPSEC_ROUTE_108
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route109/header.inc b/data/maps/Route109/header.inc
index 30f3501a5..2262cadfa 100644
--- a/data/maps/Route109/header.inc
+++ b/data/maps/Route109/header.inc
@@ -8,7 +8,7 @@ Route109: @ 8482758
.byte MAPSEC_ROUTE_109
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route109_SeashoreHouse/header.inc b/data/maps/Route109_SeashoreHouse/header.inc
index c9cbe2d23..93deeb8a9 100644
--- a/data/maps/Route109_SeashoreHouse/header.inc
+++ b/data/maps/Route109_SeashoreHouse/header.inc
@@ -8,7 +8,7 @@ Route109_SeashoreHouse: @ 8485B30
.byte MAPSEC_ROUTE_109
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route110/header.inc b/data/maps/Route110/header.inc
index 92157a59d..dd66f9f3d 100644
--- a/data/maps/Route110/header.inc
+++ b/data/maps/Route110/header.inc
@@ -8,7 +8,7 @@ Route110: @ 8482774
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route110_SeasideCyclingRoadNorthEntrance/header.inc b/data/maps/Route110_SeasideCyclingRoadNorthEntrance/header.inc
index 3105a321d..0a5259894 100644
--- a/data/maps/Route110_SeasideCyclingRoadNorthEntrance/header.inc
+++ b/data/maps/Route110_SeasideCyclingRoadNorthEntrance/header.inc
@@ -8,7 +8,7 @@ Route110_SeasideCyclingRoadNorthEntrance: @ 8485C80
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 1
.byte 0
diff --git a/data/maps/Route110_SeasideCyclingRoadSouthEntrance/header.inc b/data/maps/Route110_SeasideCyclingRoadSouthEntrance/header.inc
index 45260d6c4..a36613213 100644
--- a/data/maps/Route110_SeasideCyclingRoadSouthEntrance/header.inc
+++ b/data/maps/Route110_SeasideCyclingRoadSouthEntrance/header.inc
@@ -8,7 +8,7 @@ Route110_SeasideCyclingRoadSouthEntrance: @ 8485C9C
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 1
.byte 0
diff --git a/data/maps/Route110_TrickHouseCorridor/header.inc b/data/maps/Route110_TrickHouseCorridor/header.inc
index 815a6a9e1..af28f5ed0 100644
--- a/data/maps/Route110_TrickHouseCorridor/header.inc
+++ b/data/maps/Route110_TrickHouseCorridor/header.inc
@@ -8,7 +8,7 @@ Route110_TrickHouseCorridor: @ 8485B84
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route110_TrickHouseEnd/header.inc b/data/maps/Route110_TrickHouseEnd/header.inc
index 86e923bb4..9b0436a68 100644
--- a/data/maps/Route110_TrickHouseEnd/header.inc
+++ b/data/maps/Route110_TrickHouseEnd/header.inc
@@ -8,7 +8,7 @@ Route110_TrickHouseEnd: @ 8485B68
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route110_TrickHouseEntrance/header.inc b/data/maps/Route110_TrickHouseEntrance/header.inc
index 7eb37293a..f86f11b92 100644
--- a/data/maps/Route110_TrickHouseEntrance/header.inc
+++ b/data/maps/Route110_TrickHouseEntrance/header.inc
@@ -8,7 +8,7 @@ Route110_TrickHouseEntrance: @ 8485B4C
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route110_TrickHousePuzzle1/header.inc b/data/maps/Route110_TrickHousePuzzle1/header.inc
index 1b8a7249b..cdb272aa7 100644
--- a/data/maps/Route110_TrickHousePuzzle1/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle1/header.inc
@@ -8,7 +8,7 @@ Route110_TrickHousePuzzle1: @ 8485BA0
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route110_TrickHousePuzzle2/header.inc b/data/maps/Route110_TrickHousePuzzle2/header.inc
index 1832db9ee..946da22a8 100644
--- a/data/maps/Route110_TrickHousePuzzle2/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle2/header.inc
@@ -8,7 +8,7 @@ Route110_TrickHousePuzzle2: @ 8485BBC
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route110_TrickHousePuzzle3/header.inc b/data/maps/Route110_TrickHousePuzzle3/header.inc
index b4f7a2ac8..0686eef43 100644
--- a/data/maps/Route110_TrickHousePuzzle3/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle3/header.inc
@@ -8,7 +8,7 @@ Route110_TrickHousePuzzle3: @ 8485BD8
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route110_TrickHousePuzzle4/header.inc b/data/maps/Route110_TrickHousePuzzle4/header.inc
index 5c33fa74a..05bde230f 100644
--- a/data/maps/Route110_TrickHousePuzzle4/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle4/header.inc
@@ -8,7 +8,7 @@ Route110_TrickHousePuzzle4: @ 8485BF4
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route110_TrickHousePuzzle5/header.inc b/data/maps/Route110_TrickHousePuzzle5/header.inc
index 049a1b49b..de723c302 100644
--- a/data/maps/Route110_TrickHousePuzzle5/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle5/header.inc
@@ -8,7 +8,7 @@ Route110_TrickHousePuzzle5: @ 8485C10
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route110_TrickHousePuzzle6/header.inc b/data/maps/Route110_TrickHousePuzzle6/header.inc
index e312c1439..e5a2864de 100644
--- a/data/maps/Route110_TrickHousePuzzle6/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle6/header.inc
@@ -8,7 +8,7 @@ Route110_TrickHousePuzzle6: @ 8485C2C
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route110_TrickHousePuzzle7/header.inc b/data/maps/Route110_TrickHousePuzzle7/header.inc
index d962c50ea..5b884a138 100644
--- a/data/maps/Route110_TrickHousePuzzle7/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle7/header.inc
@@ -8,7 +8,7 @@ Route110_TrickHousePuzzle7: @ 8485C48
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route110_TrickHousePuzzle8/header.inc b/data/maps/Route110_TrickHousePuzzle8/header.inc
index ce6caf06e..def3cab3d 100644
--- a/data/maps/Route110_TrickHousePuzzle8/header.inc
+++ b/data/maps/Route110_TrickHousePuzzle8/header.inc
@@ -8,7 +8,7 @@ Route110_TrickHousePuzzle8: @ 8485C64
.byte MAPSEC_ROUTE_110
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route111/header.inc b/data/maps/Route111/header.inc
index df43dd19c..3ae44b79a 100644
--- a/data/maps/Route111/header.inc
+++ b/data/maps/Route111/header.inc
@@ -8,7 +8,7 @@ Route111: @ 8482790
.byte MAPSEC_ROUTE_111
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route111_OldLadysRestStop/header.inc b/data/maps/Route111_OldLadysRestStop/header.inc
index 05d4e14f1..b58e0f3df 100644
--- a/data/maps/Route111_OldLadysRestStop/header.inc
+++ b/data/maps/Route111_OldLadysRestStop/header.inc
@@ -8,7 +8,7 @@ Route111_OldLadysRestStop: @ 8483DC4
.byte MAPSEC_ROUTE_111
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route111_WinstrateFamilysHouse/header.inc b/data/maps/Route111_WinstrateFamilysHouse/header.inc
index 79e7c76de..43ce6de6d 100644
--- a/data/maps/Route111_WinstrateFamilysHouse/header.inc
+++ b/data/maps/Route111_WinstrateFamilysHouse/header.inc
@@ -8,7 +8,7 @@ Route111_WinstrateFamilysHouse: @ 8483DA8
.byte MAPSEC_ROUTE_111
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route112/header.inc b/data/maps/Route112/header.inc
index 01bf8a437..040d0d084 100644
--- a/data/maps/Route112/header.inc
+++ b/data/maps/Route112/header.inc
@@ -8,7 +8,7 @@ Route112: @ 84827AC
.byte MAPSEC_ROUTE_112
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route112_CableCarStation/header.inc b/data/maps/Route112_CableCarStation/header.inc
index 8a650439d..05b88a15b 100644
--- a/data/maps/Route112_CableCarStation/header.inc
+++ b/data/maps/Route112_CableCarStation/header.inc
@@ -8,7 +8,7 @@ Route112_CableCarStation: @ 8483DE0
.byte MAPSEC_ROUTE_112
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route113/header.inc b/data/maps/Route113/header.inc
index bbcb77d41..7cd391478 100644
--- a/data/maps/Route113/header.inc
+++ b/data/maps/Route113/header.inc
@@ -8,7 +8,7 @@ Route113: @ 84827C8
.byte MAPSEC_ROUTE_113
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route113_GlassWorkshop/header.inc b/data/maps/Route113_GlassWorkshop/header.inc
index 77ecfd002..3cbad800b 100644
--- a/data/maps/Route113_GlassWorkshop/header.inc
+++ b/data/maps/Route113_GlassWorkshop/header.inc
@@ -8,7 +8,7 @@ Route113_GlassWorkshop: @ 8485CB8
.byte MAPSEC_ROUTE_113
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route114/header.inc b/data/maps/Route114/header.inc
index ab90821ee..99cda55b5 100644
--- a/data/maps/Route114/header.inc
+++ b/data/maps/Route114/header.inc
@@ -8,7 +8,7 @@ Route114: @ 84827E4
.byte MAPSEC_ROUTE_114
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route114_FossilManiacsHouse/header.inc b/data/maps/Route114_FossilManiacsHouse/header.inc
index 459238ffd..43749207d 100644
--- a/data/maps/Route114_FossilManiacsHouse/header.inc
+++ b/data/maps/Route114_FossilManiacsHouse/header.inc
@@ -8,7 +8,7 @@ Route114_FossilManiacsHouse: @ 8483E18
.byte MAPSEC_ROUTE_114
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route114_FossilManiacsTunnel/header.inc b/data/maps/Route114_FossilManiacsTunnel/header.inc
index 47fabca3b..4892f1077 100644
--- a/data/maps/Route114_FossilManiacsTunnel/header.inc
+++ b/data/maps/Route114_FossilManiacsTunnel/header.inc
@@ -8,7 +8,7 @@ Route114_FossilManiacsTunnel: @ 8483E34
.byte MAPSEC_ROUTE_114
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route114_LanettesHouse/header.inc b/data/maps/Route114_LanettesHouse/header.inc
index 437aaef75..2b6ef1e78 100644
--- a/data/maps/Route114_LanettesHouse/header.inc
+++ b/data/maps/Route114_LanettesHouse/header.inc
@@ -8,7 +8,7 @@ Route114_LanettesHouse: @ 8483E50
.byte MAPSEC_ROUTE_114
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route115/header.inc b/data/maps/Route115/header.inc
index aa91043b6..4490ad646 100644
--- a/data/maps/Route115/header.inc
+++ b/data/maps/Route115/header.inc
@@ -8,7 +8,7 @@ Route115: @ 8482800
.byte MAPSEC_ROUTE_115
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route116/header.inc b/data/maps/Route116/header.inc
index ec37ba464..675ba4568 100644
--- a/data/maps/Route116/header.inc
+++ b/data/maps/Route116/header.inc
@@ -8,7 +8,7 @@ Route116: @ 848281C
.byte MAPSEC_ROUTE_116
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route116_TunnelersRestHouse/header.inc b/data/maps/Route116_TunnelersRestHouse/header.inc
index 566e0bf10..d18ac8e84 100644
--- a/data/maps/Route116_TunnelersRestHouse/header.inc
+++ b/data/maps/Route116_TunnelersRestHouse/header.inc
@@ -8,7 +8,7 @@ Route116_TunnelersRestHouse: @ 8483E6C
.byte MAPSEC_ROUTE_116
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route117/header.inc b/data/maps/Route117/header.inc
index 3ed11a3ee..70104035a 100644
--- a/data/maps/Route117/header.inc
+++ b/data/maps/Route117/header.inc
@@ -8,7 +8,7 @@ Route117: @ 8482838
.byte MAPSEC_ROUTE_117
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route117_PokemonDayCare/header.inc b/data/maps/Route117_PokemonDayCare/header.inc
index 53e20cb54..72ba07c3a 100644
--- a/data/maps/Route117_PokemonDayCare/header.inc
+++ b/data/maps/Route117_PokemonDayCare/header.inc
@@ -8,7 +8,7 @@ Route117_PokemonDayCare: @ 8483E88
.byte MAPSEC_ROUTE_117
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route118/header.inc b/data/maps/Route118/header.inc
index 47fa71638..ca2da8524 100644
--- a/data/maps/Route118/header.inc
+++ b/data/maps/Route118/header.inc
@@ -8,7 +8,7 @@ Route118: @ 8482854
.byte MAPSEC_ROUTE_118
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route119/header.inc b/data/maps/Route119/header.inc
index e5c3e5d54..9e37cfdf4 100644
--- a/data/maps/Route119/header.inc
+++ b/data/maps/Route119/header.inc
@@ -8,7 +8,7 @@ Route119: @ 8482870
.byte MAPSEC_ROUTE_119
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route119_House/header.inc b/data/maps/Route119_House/header.inc
index ee5c6ee43..50eb5482b 100644
--- a/data/maps/Route119_House/header.inc
+++ b/data/maps/Route119_House/header.inc
@@ -8,7 +8,7 @@ Route119_House: @ 8485D28
.byte MAPSEC_ROUTE_119
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route119_WeatherInstitute_1F/header.inc b/data/maps/Route119_WeatherInstitute_1F/header.inc
index a9e533460..f5a73c34c 100644
--- a/data/maps/Route119_WeatherInstitute_1F/header.inc
+++ b/data/maps/Route119_WeatherInstitute_1F/header.inc
@@ -8,7 +8,7 @@ Route119_WeatherInstitute_1F: @ 8485CF0
.byte MAPSEC_ROUTE_119
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route119_WeatherInstitute_2F/header.inc b/data/maps/Route119_WeatherInstitute_2F/header.inc
index 6b339317d..effe5f066 100644
--- a/data/maps/Route119_WeatherInstitute_2F/header.inc
+++ b/data/maps/Route119_WeatherInstitute_2F/header.inc
@@ -8,7 +8,7 @@ Route119_WeatherInstitute_2F: @ 8485D0C
.byte MAPSEC_ROUTE_119
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route120/header.inc b/data/maps/Route120/header.inc
index 75419c711..767568015 100644
--- a/data/maps/Route120/header.inc
+++ b/data/maps/Route120/header.inc
@@ -8,7 +8,7 @@ Route120: @ 848288C
.byte MAPSEC_ROUTE_120
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route121/header.inc b/data/maps/Route121/header.inc
index 9c441064f..6a106d24d 100644
--- a/data/maps/Route121/header.inc
+++ b/data/maps/Route121/header.inc
@@ -8,7 +8,7 @@ Route121: @ 84828A8
.byte MAPSEC_ROUTE_121
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route121_SafariZoneEntrance/header.inc b/data/maps/Route121_SafariZoneEntrance/header.inc
index 6fa3b0308..665eacd57 100644
--- a/data/maps/Route121_SafariZoneEntrance/header.inc
+++ b/data/maps/Route121_SafariZoneEntrance/header.inc
@@ -8,7 +8,7 @@ Route121_SafariZoneEntrance: @ 8483EA4
.byte MAPSEC_ROUTE_121
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route122/header.inc b/data/maps/Route122/header.inc
index 37d9a7a14..e2554ed2a 100644
--- a/data/maps/Route122/header.inc
+++ b/data/maps/Route122/header.inc
@@ -8,7 +8,7 @@ Route122: @ 84828C4
.byte MAPSEC_ROUTE_122
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route123/header.inc b/data/maps/Route123/header.inc
index f7d134894..5b662b8f5 100644
--- a/data/maps/Route123/header.inc
+++ b/data/maps/Route123/header.inc
@@ -8,7 +8,7 @@ Route123: @ 84828E0
.byte MAPSEC_ROUTE_123
.byte 0
.byte WEATHER_SUNNY
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route123_BerryMastersHouse/header.inc b/data/maps/Route123_BerryMastersHouse/header.inc
index 7516de239..7ae6169d6 100644
--- a/data/maps/Route123_BerryMastersHouse/header.inc
+++ b/data/maps/Route123_BerryMastersHouse/header.inc
@@ -8,7 +8,7 @@ Route123_BerryMastersHouse: @ 8485CD4
.byte MAPSEC_ROUTE_123
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route124/header.inc b/data/maps/Route124/header.inc
index 6f4f3c540..217befb9c 100644
--- a/data/maps/Route124/header.inc
+++ b/data/maps/Route124/header.inc
@@ -8,7 +8,7 @@ Route124: @ 84828FC
.byte MAPSEC_ROUTE_124
.byte 0
.byte WEATHER_SUNNY
- .byte 6
+ .byte MAP_TYPE_6
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route124_DivingTreasureHuntersHouse/header.inc b/data/maps/Route124_DivingTreasureHuntersHouse/header.inc
index fd405a128..74d666591 100644
--- a/data/maps/Route124_DivingTreasureHuntersHouse/header.inc
+++ b/data/maps/Route124_DivingTreasureHuntersHouse/header.inc
@@ -8,7 +8,7 @@ Route124_DivingTreasureHuntersHouse: @ 8485D44
.byte MAPSEC_ROUTE_124
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/Route125/header.inc b/data/maps/Route125/header.inc
index 3e4affa65..f093b492c 100644
--- a/data/maps/Route125/header.inc
+++ b/data/maps/Route125/header.inc
@@ -8,7 +8,7 @@ Route125: @ 8482918
.byte MAPSEC_ROUTE_125
.byte 0
.byte WEATHER_SUNNY
- .byte 6
+ .byte MAP_TYPE_6
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route126/header.inc b/data/maps/Route126/header.inc
index ae2dae20f..dd713fc55 100644
--- a/data/maps/Route126/header.inc
+++ b/data/maps/Route126/header.inc
@@ -8,7 +8,7 @@ Route126: @ 8482934
.byte MAPSEC_ROUTE_126
.byte 0
.byte WEATHER_SUNNY
- .byte 6
+ .byte MAP_TYPE_6
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route127/header.inc b/data/maps/Route127/header.inc
index c92a963c7..76ebe06c3 100644
--- a/data/maps/Route127/header.inc
+++ b/data/maps/Route127/header.inc
@@ -8,7 +8,7 @@ Route127: @ 8482950
.byte MAPSEC_ROUTE_127
.byte 0
.byte WEATHER_SUNNY
- .byte 6
+ .byte MAP_TYPE_6
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route128/header.inc b/data/maps/Route128/header.inc
index b4f08635f..5de5e3d91 100644
--- a/data/maps/Route128/header.inc
+++ b/data/maps/Route128/header.inc
@@ -8,7 +8,7 @@ Route128: @ 848296C
.byte MAPSEC_ROUTE_128
.byte 0
.byte WEATHER_SUNNY
- .byte 6
+ .byte MAP_TYPE_6
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route129/header.inc b/data/maps/Route129/header.inc
index c16a9c91f..936c951be 100644
--- a/data/maps/Route129/header.inc
+++ b/data/maps/Route129/header.inc
@@ -8,7 +8,7 @@ Route129: @ 8482988
.byte MAPSEC_ROUTE_129
.byte 0
.byte WEATHER_SUNNY
- .byte 6
+ .byte MAP_TYPE_6
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route130/header.inc b/data/maps/Route130/header.inc
index 2787d369b..99d1b8aa3 100644
--- a/data/maps/Route130/header.inc
+++ b/data/maps/Route130/header.inc
@@ -8,7 +8,7 @@ Route130: @ 84829A4
.byte MAPSEC_ROUTE_130
.byte 0
.byte WEATHER_SUNNY
- .byte 6
+ .byte MAP_TYPE_6
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route131/header.inc b/data/maps/Route131/header.inc
index eeb09e0ea..cf3b18e0b 100644
--- a/data/maps/Route131/header.inc
+++ b/data/maps/Route131/header.inc
@@ -8,7 +8,7 @@ Route131: @ 84829C0
.byte MAPSEC_ROUTE_131
.byte 0
.byte WEATHER_SUNNY
- .byte 6
+ .byte MAP_TYPE_6
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route132/header.inc b/data/maps/Route132/header.inc
index 672f4d3f7..46587bf7d 100644
--- a/data/maps/Route132/header.inc
+++ b/data/maps/Route132/header.inc
@@ -8,7 +8,7 @@ Route132: @ 84829DC
.byte MAPSEC_ROUTE_132
.byte 0
.byte WEATHER_SUNNY
- .byte 6
+ .byte MAP_TYPE_6
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route133/header.inc b/data/maps/Route133/header.inc
index bd7ab0e10..9f1aad37d 100644
--- a/data/maps/Route133/header.inc
+++ b/data/maps/Route133/header.inc
@@ -8,7 +8,7 @@ Route133: @ 84829F8
.byte MAPSEC_ROUTE_133
.byte 0
.byte WEATHER_SUNNY
- .byte 6
+ .byte MAP_TYPE_6
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Route134/header.inc b/data/maps/Route134/header.inc
index 623db96b5..cdd43da73 100644
--- a/data/maps/Route134/header.inc
+++ b/data/maps/Route134/header.inc
@@ -8,7 +8,7 @@ Route134: @ 8482A14
.byte MAPSEC_ROUTE_134
.byte 0
.byte WEATHER_SUNNY
- .byte 6
+ .byte MAP_TYPE_6
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/RustboroCity/header.inc b/data/maps/RustboroCity/header.inc
index 3aed4b2f2..c0edf38c9 100644
--- a/data/maps/RustboroCity/header.inc
+++ b/data/maps/RustboroCity/header.inc
@@ -8,7 +8,7 @@ RustboroCity: @ 848250C
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_SUNNY
- .byte 2
+ .byte MAP_TYPE_CITY
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/RustboroCity_CuttersHouse/header.inc b/data/maps/RustboroCity_CuttersHouse/header.inc
index 742a590e2..26b4cc1ff 100644
--- a/data/maps/RustboroCity_CuttersHouse/header.inc
+++ b/data/maps/RustboroCity_CuttersHouse/header.inc
@@ -8,7 +8,7 @@ RustboroCity_CuttersHouse: @ 8483478
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_DevonCorp_1F/header.inc b/data/maps/RustboroCity_DevonCorp_1F/header.inc
index 28b4a1d1c..855ceb419 100644
--- a/data/maps/RustboroCity_DevonCorp_1F/header.inc
+++ b/data/maps/RustboroCity_DevonCorp_1F/header.inc
@@ -8,7 +8,7 @@ RustboroCity_DevonCorp_1F: @ 8483344
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_DevonCorp_2F/header.inc b/data/maps/RustboroCity_DevonCorp_2F/header.inc
index f1bf1cd83..0200f56d2 100644
--- a/data/maps/RustboroCity_DevonCorp_2F/header.inc
+++ b/data/maps/RustboroCity_DevonCorp_2F/header.inc
@@ -8,7 +8,7 @@ RustboroCity_DevonCorp_2F: @ 8483360
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_DevonCorp_3F/header.inc b/data/maps/RustboroCity_DevonCorp_3F/header.inc
index 2bf6129fe..e212f3dcc 100644
--- a/data/maps/RustboroCity_DevonCorp_3F/header.inc
+++ b/data/maps/RustboroCity_DevonCorp_3F/header.inc
@@ -8,7 +8,7 @@ RustboroCity_DevonCorp_3F: @ 848337C
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_Flat1_1F/header.inc b/data/maps/RustboroCity_Flat1_1F/header.inc
index 792d6a87c..e861278db 100644
--- a/data/maps/RustboroCity_Flat1_1F/header.inc
+++ b/data/maps/RustboroCity_Flat1_1F/header.inc
@@ -8,7 +8,7 @@ RustboroCity_Flat1_1F: @ 8483424
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_Flat1_2F/header.inc b/data/maps/RustboroCity_Flat1_2F/header.inc
index 50fbdf6d0..960813992 100644
--- a/data/maps/RustboroCity_Flat1_2F/header.inc
+++ b/data/maps/RustboroCity_Flat1_2F/header.inc
@@ -8,7 +8,7 @@ RustboroCity_Flat1_2F: @ 8483440
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_Flat2_1F/header.inc b/data/maps/RustboroCity_Flat2_1F/header.inc
index 271127402..1c048f61c 100644
--- a/data/maps/RustboroCity_Flat2_1F/header.inc
+++ b/data/maps/RustboroCity_Flat2_1F/header.inc
@@ -8,7 +8,7 @@ RustboroCity_Flat2_1F: @ 84834B0
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_Flat2_2F/header.inc b/data/maps/RustboroCity_Flat2_2F/header.inc
index f8bb6826d..326a374f5 100644
--- a/data/maps/RustboroCity_Flat2_2F/header.inc
+++ b/data/maps/RustboroCity_Flat2_2F/header.inc
@@ -8,7 +8,7 @@ RustboroCity_Flat2_2F: @ 84834CC
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_Flat2_3F/header.inc b/data/maps/RustboroCity_Flat2_3F/header.inc
index 9fec8f298..a9914830c 100644
--- a/data/maps/RustboroCity_Flat2_3F/header.inc
+++ b/data/maps/RustboroCity_Flat2_3F/header.inc
@@ -8,7 +8,7 @@ RustboroCity_Flat2_3F: @ 84834E8
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_Gym/header.inc b/data/maps/RustboroCity_Gym/header.inc
index fbac65351..a31aeeb8b 100644
--- a/data/maps/RustboroCity_Gym/header.inc
+++ b/data/maps/RustboroCity_Gym/header.inc
@@ -8,7 +8,7 @@ RustboroCity_Gym: @ 8483398
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/RustboroCity_House1/header.inc b/data/maps/RustboroCity_House1/header.inc
index 7db64f8f9..9ee33359f 100644
--- a/data/maps/RustboroCity_House1/header.inc
+++ b/data/maps/RustboroCity_House1/header.inc
@@ -8,7 +8,7 @@ RustboroCity_House1: @ 848345C
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_House2/header.inc b/data/maps/RustboroCity_House2/header.inc
index db3ef40f4..f96697756 100644
--- a/data/maps/RustboroCity_House2/header.inc
+++ b/data/maps/RustboroCity_House2/header.inc
@@ -8,7 +8,7 @@ RustboroCity_House2: @ 8483494
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_House3/header.inc b/data/maps/RustboroCity_House3/header.inc
index 08d31197b..aa479cb3f 100644
--- a/data/maps/RustboroCity_House3/header.inc
+++ b/data/maps/RustboroCity_House3/header.inc
@@ -8,7 +8,7 @@ RustboroCity_House3: @ 8483504
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_Mart/header.inc b/data/maps/RustboroCity_Mart/header.inc
index d7126406e..046285567 100644
--- a/data/maps/RustboroCity_Mart/header.inc
+++ b/data/maps/RustboroCity_Mart/header.inc
@@ -8,7 +8,7 @@ RustboroCity_Mart: @ 8483408
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_PokemonCenter_1F/header.inc b/data/maps/RustboroCity_PokemonCenter_1F/header.inc
index 67070920e..ca5fc513d 100644
--- a/data/maps/RustboroCity_PokemonCenter_1F/header.inc
+++ b/data/maps/RustboroCity_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ RustboroCity_PokemonCenter_1F: @ 84833D0
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_PokemonCenter_2F/header.inc b/data/maps/RustboroCity_PokemonCenter_2F/header.inc
index 15e8537df..7c2467234 100644
--- a/data/maps/RustboroCity_PokemonCenter_2F/header.inc
+++ b/data/maps/RustboroCity_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ RustboroCity_PokemonCenter_2F: @ 84833EC
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RustboroCity_PokemonSchool/header.inc b/data/maps/RustboroCity_PokemonSchool/header.inc
index 13138b65e..4c7ca3897 100644
--- a/data/maps/RustboroCity_PokemonSchool/header.inc
+++ b/data/maps/RustboroCity_PokemonSchool/header.inc
@@ -8,7 +8,7 @@ RustboroCity_PokemonSchool: @ 84833B4
.byte MAPSEC_RUSTBORO_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/RusturfTunnel/header.inc b/data/maps/RusturfTunnel/header.inc
index e87800965..6bf405b3b 100644
--- a/data/maps/RusturfTunnel/header.inc
+++ b/data/maps/RusturfTunnel/header.inc
@@ -8,7 +8,7 @@ RusturfTunnel: @ 8483F30
.byte MAPSEC_RUSTURF_TUNNEL
.byte 0
.byte WEATHER_FOG_1
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SSTidalCorridor/header.inc b/data/maps/SSTidalCorridor/header.inc
index 6e66b473c..1d892094c 100644
--- a/data/maps/SSTidalCorridor/header.inc
+++ b/data/maps/SSTidalCorridor/header.inc
@@ -8,7 +8,7 @@ SSTidalCorridor: @ 8484F0C
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SSTidalLowerDeck/header.inc b/data/maps/SSTidalLowerDeck/header.inc
index 1c7e1d01c..1e2c5b58d 100644
--- a/data/maps/SSTidalLowerDeck/header.inc
+++ b/data/maps/SSTidalLowerDeck/header.inc
@@ -8,7 +8,7 @@ SSTidalLowerDeck: @ 8484F28
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SSTidalRooms/header.inc b/data/maps/SSTidalRooms/header.inc
index c02176a9b..6f2facdcd 100644
--- a/data/maps/SSTidalRooms/header.inc
+++ b/data/maps/SSTidalRooms/header.inc
@@ -8,7 +8,7 @@ SSTidalRooms: @ 8484F44
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SafariZone_North/header.inc b/data/maps/SafariZone_North/header.inc
index 745e608a2..cbf7fae30 100644
--- a/data/maps/SafariZone_North/header.inc
+++ b/data/maps/SafariZone_North/header.inc
@@ -8,7 +8,7 @@ SafariZone_North: @ 8485158
.byte MAPSEC_SAFARI_ZONE
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/SafariZone_Northeast/header.inc b/data/maps/SafariZone_Northeast/header.inc
index e25a8497b..5630e462a 100644
--- a/data/maps/SafariZone_Northeast/header.inc
+++ b/data/maps/SafariZone_Northeast/header.inc
@@ -8,7 +8,7 @@ SafariZone_Northeast: @ 848528C
.byte MAPSEC_SAFARI_ZONE
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/SafariZone_Northwest/header.inc b/data/maps/SafariZone_Northwest/header.inc
index 01b7e8198..526111c90 100644
--- a/data/maps/SafariZone_Northwest/header.inc
+++ b/data/maps/SafariZone_Northwest/header.inc
@@ -8,7 +8,7 @@ SafariZone_Northwest: @ 848513C
.byte MAPSEC_SAFARI_ZONE
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/SafariZone_RestHouse/header.inc b/data/maps/SafariZone_RestHouse/header.inc
index e6739ff66..87e506ac1 100644
--- a/data/maps/SafariZone_RestHouse/header.inc
+++ b/data/maps/SafariZone_RestHouse/header.inc
@@ -8,7 +8,7 @@ SafariZone_RestHouse: @ 8485270
.byte MAPSEC_SAFARI_ZONE
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SafariZone_South/header.inc b/data/maps/SafariZone_South/header.inc
index e60f44f9e..160cfea7d 100644
--- a/data/maps/SafariZone_South/header.inc
+++ b/data/maps/SafariZone_South/header.inc
@@ -8,7 +8,7 @@ SafariZone_South: @ 8485190
.byte MAPSEC_SAFARI_ZONE
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/SafariZone_Southeast/header.inc b/data/maps/SafariZone_Southeast/header.inc
index 5da814cff..f87a4db6a 100644
--- a/data/maps/SafariZone_Southeast/header.inc
+++ b/data/maps/SafariZone_Southeast/header.inc
@@ -8,7 +8,7 @@ SafariZone_Southeast: @ 84852A8
.byte MAPSEC_SAFARI_ZONE
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/SafariZone_Southwest/header.inc b/data/maps/SafariZone_Southwest/header.inc
index 25115a13a..28bd8c761 100644
--- a/data/maps/SafariZone_Southwest/header.inc
+++ b/data/maps/SafariZone_Southwest/header.inc
@@ -8,7 +8,7 @@ SafariZone_Southwest: @ 8485174
.byte MAPSEC_SAFARI_ZONE
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/ScorchedSlab/header.inc b/data/maps/ScorchedSlab/header.inc
index 51666baf3..eb61455fa 100644
--- a/data/maps/ScorchedSlab/header.inc
+++ b/data/maps/ScorchedSlab/header.inc
@@ -8,7 +8,7 @@ ScorchedSlab: @ 84846BC
.byte MAPSEC_SCORCHED_SLAB
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SeafloorCavern_Entrance/header.inc b/data/maps/SeafloorCavern_Entrance/header.inc
index 68bb92066..dc62eba0c 100644
--- a/data/maps/SeafloorCavern_Entrance/header.inc
+++ b/data/maps/SeafloorCavern_Entrance/header.inc
@@ -8,7 +8,7 @@ SeafloorCavern_Entrance: @ 84841B4
.byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SeafloorCavern_Room1/header.inc b/data/maps/SeafloorCavern_Room1/header.inc
index 56bfc32cd..dd0a2db3c 100644
--- a/data/maps/SeafloorCavern_Room1/header.inc
+++ b/data/maps/SeafloorCavern_Room1/header.inc
@@ -8,7 +8,7 @@ SeafloorCavern_Room1: @ 84841D0
.byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SeafloorCavern_Room2/header.inc b/data/maps/SeafloorCavern_Room2/header.inc
index bfb164520..09be291c2 100644
--- a/data/maps/SeafloorCavern_Room2/header.inc
+++ b/data/maps/SeafloorCavern_Room2/header.inc
@@ -8,7 +8,7 @@ SeafloorCavern_Room2: @ 84841EC
.byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SeafloorCavern_Room3/header.inc b/data/maps/SeafloorCavern_Room3/header.inc
index c49f283e1..ff514a631 100644
--- a/data/maps/SeafloorCavern_Room3/header.inc
+++ b/data/maps/SeafloorCavern_Room3/header.inc
@@ -8,7 +8,7 @@ SeafloorCavern_Room3: @ 8484208
.byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SeafloorCavern_Room4/header.inc b/data/maps/SeafloorCavern_Room4/header.inc
index e440157e1..130f198aa 100644
--- a/data/maps/SeafloorCavern_Room4/header.inc
+++ b/data/maps/SeafloorCavern_Room4/header.inc
@@ -8,7 +8,7 @@ SeafloorCavern_Room4: @ 8484224
.byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SeafloorCavern_Room5/header.inc b/data/maps/SeafloorCavern_Room5/header.inc
index 3cfd1b9d0..594520629 100644
--- a/data/maps/SeafloorCavern_Room5/header.inc
+++ b/data/maps/SeafloorCavern_Room5/header.inc
@@ -8,7 +8,7 @@ SeafloorCavern_Room5: @ 8484240
.byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SeafloorCavern_Room6/header.inc b/data/maps/SeafloorCavern_Room6/header.inc
index e336955eb..24c8fde98 100644
--- a/data/maps/SeafloorCavern_Room6/header.inc
+++ b/data/maps/SeafloorCavern_Room6/header.inc
@@ -8,7 +8,7 @@ SeafloorCavern_Room6: @ 848425C
.byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SeafloorCavern_Room7/header.inc b/data/maps/SeafloorCavern_Room7/header.inc
index 9f8c89f6f..b2c247ab9 100644
--- a/data/maps/SeafloorCavern_Room7/header.inc
+++ b/data/maps/SeafloorCavern_Room7/header.inc
@@ -8,7 +8,7 @@ SeafloorCavern_Room7: @ 8484278
.byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SeafloorCavern_Room8/header.inc b/data/maps/SeafloorCavern_Room8/header.inc
index f701d53f2..6bab8f16b 100644
--- a/data/maps/SeafloorCavern_Room8/header.inc
+++ b/data/maps/SeafloorCavern_Room8/header.inc
@@ -8,7 +8,7 @@ SeafloorCavern_Room8: @ 8484294
.byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SeafloorCavern_Room9/header.inc b/data/maps/SeafloorCavern_Room9/header.inc
index 8345ee188..b50127ffc 100644
--- a/data/maps/SeafloorCavern_Room9/header.inc
+++ b/data/maps/SeafloorCavern_Room9/header.inc
@@ -8,7 +8,7 @@ SeafloorCavern_Room9: @ 84842B0
.byte MAPSEC_SEAFLOOR_CAVERN
.byte 0
.byte WEATHER_FOG_1
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 14
.byte 0
diff --git a/data/maps/SealedChamber_InnerRoom/header.inc b/data/maps/SealedChamber_InnerRoom/header.inc
index 1061ce4c1..f61e4d1f9 100644
--- a/data/maps/SealedChamber_InnerRoom/header.inc
+++ b/data/maps/SealedChamber_InnerRoom/header.inc
@@ -8,7 +8,7 @@ SealedChamber_InnerRoom: @ 84846A0
.byte MAPSEC_SEALED_CHAMBER
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SealedChamber_OuterRoom/header.inc b/data/maps/SealedChamber_OuterRoom/header.inc
index 66d278fab..dd214cba6 100644
--- a/data/maps/SealedChamber_OuterRoom/header.inc
+++ b/data/maps/SealedChamber_OuterRoom/header.inc
@@ -8,7 +8,7 @@ SealedChamber_OuterRoom: @ 8484684
.byte MAPSEC_SEALED_CHAMBER
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SecretBase_BlueCave1/header.inc b/data/maps/SecretBase_BlueCave1/header.inc
index ebf5eea00..bfce09669 100644
--- a/data/maps/SecretBase_BlueCave1/header.inc
+++ b/data/maps/SecretBase_BlueCave1/header.inc
@@ -8,7 +8,7 @@ SecretBase_BlueCave1: @ 8484AC8
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_BlueCave2/header.inc b/data/maps/SecretBase_BlueCave2/header.inc
index 69d2cf860..33555b1b1 100644
--- a/data/maps/SecretBase_BlueCave2/header.inc
+++ b/data/maps/SecretBase_BlueCave2/header.inc
@@ -8,7 +8,7 @@ SecretBase_BlueCave2: @ 8484B70
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_BlueCave3/header.inc b/data/maps/SecretBase_BlueCave3/header.inc
index 40a99dcdc..0f48e009d 100644
--- a/data/maps/SecretBase_BlueCave3/header.inc
+++ b/data/maps/SecretBase_BlueCave3/header.inc
@@ -8,7 +8,7 @@ SecretBase_BlueCave3: @ 8484C18
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_BlueCave4/header.inc b/data/maps/SecretBase_BlueCave4/header.inc
index 1b22ee18e..c43be047e 100644
--- a/data/maps/SecretBase_BlueCave4/header.inc
+++ b/data/maps/SecretBase_BlueCave4/header.inc
@@ -8,7 +8,7 @@ SecretBase_BlueCave4: @ 8484CC0
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_BrownCave1/header.inc b/data/maps/SecretBase_BrownCave1/header.inc
index 79c7f3e8d..b423185f2 100644
--- a/data/maps/SecretBase_BrownCave1/header.inc
+++ b/data/maps/SecretBase_BrownCave1/header.inc
@@ -8,7 +8,7 @@ SecretBase_BrownCave1: @ 8484AAC
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_BrownCave2/header.inc b/data/maps/SecretBase_BrownCave2/header.inc
index 030ceea85..e51a43f13 100644
--- a/data/maps/SecretBase_BrownCave2/header.inc
+++ b/data/maps/SecretBase_BrownCave2/header.inc
@@ -8,7 +8,7 @@ SecretBase_BrownCave2: @ 8484B54
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_BrownCave3/header.inc b/data/maps/SecretBase_BrownCave3/header.inc
index 2bdb4838e..5b9fe83e4 100644
--- a/data/maps/SecretBase_BrownCave3/header.inc
+++ b/data/maps/SecretBase_BrownCave3/header.inc
@@ -8,7 +8,7 @@ SecretBase_BrownCave3: @ 8484BFC
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_BrownCave4/header.inc b/data/maps/SecretBase_BrownCave4/header.inc
index e3137603a..fc821510f 100644
--- a/data/maps/SecretBase_BrownCave4/header.inc
+++ b/data/maps/SecretBase_BrownCave4/header.inc
@@ -8,7 +8,7 @@ SecretBase_BrownCave4: @ 8484CA4
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_RedCave1/header.inc b/data/maps/SecretBase_RedCave1/header.inc
index f2f0a00fc..2bb11dac2 100644
--- a/data/maps/SecretBase_RedCave1/header.inc
+++ b/data/maps/SecretBase_RedCave1/header.inc
@@ -8,7 +8,7 @@ SecretBase_RedCave1: @ 8484A90
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_RedCave2/header.inc b/data/maps/SecretBase_RedCave2/header.inc
index 4d11b7da3..f0e5d976a 100644
--- a/data/maps/SecretBase_RedCave2/header.inc
+++ b/data/maps/SecretBase_RedCave2/header.inc
@@ -8,7 +8,7 @@ SecretBase_RedCave2: @ 8484B38
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_RedCave3/header.inc b/data/maps/SecretBase_RedCave3/header.inc
index b935650d6..b62553c88 100644
--- a/data/maps/SecretBase_RedCave3/header.inc
+++ b/data/maps/SecretBase_RedCave3/header.inc
@@ -8,7 +8,7 @@ SecretBase_RedCave3: @ 8484BE0
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_RedCave4/header.inc b/data/maps/SecretBase_RedCave4/header.inc
index b5240755e..1b7a86f06 100644
--- a/data/maps/SecretBase_RedCave4/header.inc
+++ b/data/maps/SecretBase_RedCave4/header.inc
@@ -8,7 +8,7 @@ SecretBase_RedCave4: @ 8484C88
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_Shrub1/header.inc b/data/maps/SecretBase_Shrub1/header.inc
index cb9140852..604f32e19 100644
--- a/data/maps/SecretBase_Shrub1/header.inc
+++ b/data/maps/SecretBase_Shrub1/header.inc
@@ -8,7 +8,7 @@ SecretBase_Shrub1: @ 8484B1C
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_Shrub2/header.inc b/data/maps/SecretBase_Shrub2/header.inc
index 5b14ac5ac..2454dd2ad 100644
--- a/data/maps/SecretBase_Shrub2/header.inc
+++ b/data/maps/SecretBase_Shrub2/header.inc
@@ -8,7 +8,7 @@ SecretBase_Shrub2: @ 8484BC4
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_Shrub3/header.inc b/data/maps/SecretBase_Shrub3/header.inc
index 725cbd9dc..9a0f7e8d7 100644
--- a/data/maps/SecretBase_Shrub3/header.inc
+++ b/data/maps/SecretBase_Shrub3/header.inc
@@ -8,7 +8,7 @@ SecretBase_Shrub3: @ 8484C6C
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_Shrub4/header.inc b/data/maps/SecretBase_Shrub4/header.inc
index 7dc3af57e..4cfdf043b 100644
--- a/data/maps/SecretBase_Shrub4/header.inc
+++ b/data/maps/SecretBase_Shrub4/header.inc
@@ -8,7 +8,7 @@ SecretBase_Shrub4: @ 8484D14
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_Tree1/header.inc b/data/maps/SecretBase_Tree1/header.inc
index 1ca8f4374..dc2c07918 100644
--- a/data/maps/SecretBase_Tree1/header.inc
+++ b/data/maps/SecretBase_Tree1/header.inc
@@ -8,7 +8,7 @@ SecretBase_Tree1: @ 8484B00
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_Tree2/header.inc b/data/maps/SecretBase_Tree2/header.inc
index 880f0dd90..7a35c5466 100644
--- a/data/maps/SecretBase_Tree2/header.inc
+++ b/data/maps/SecretBase_Tree2/header.inc
@@ -8,7 +8,7 @@ SecretBase_Tree2: @ 8484BA8
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_Tree3/header.inc b/data/maps/SecretBase_Tree3/header.inc
index 3cf6fef74..bffa571d5 100644
--- a/data/maps/SecretBase_Tree3/header.inc
+++ b/data/maps/SecretBase_Tree3/header.inc
@@ -8,7 +8,7 @@ SecretBase_Tree3: @ 8484C50
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_Tree4/header.inc b/data/maps/SecretBase_Tree4/header.inc
index 2688c2eca..55f3f56f1 100644
--- a/data/maps/SecretBase_Tree4/header.inc
+++ b/data/maps/SecretBase_Tree4/header.inc
@@ -8,7 +8,7 @@ SecretBase_Tree4: @ 8484CF8
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_YellowCave1/header.inc b/data/maps/SecretBase_YellowCave1/header.inc
index b6d42f0a2..69287b49f 100644
--- a/data/maps/SecretBase_YellowCave1/header.inc
+++ b/data/maps/SecretBase_YellowCave1/header.inc
@@ -8,7 +8,7 @@ SecretBase_YellowCave1: @ 8484AE4
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_YellowCave2/header.inc b/data/maps/SecretBase_YellowCave2/header.inc
index 08253975a..98b4739e0 100644
--- a/data/maps/SecretBase_YellowCave2/header.inc
+++ b/data/maps/SecretBase_YellowCave2/header.inc
@@ -8,7 +8,7 @@ SecretBase_YellowCave2: @ 8484B8C
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_YellowCave3/header.inc b/data/maps/SecretBase_YellowCave3/header.inc
index 0c1464cd9..681dc7c43 100644
--- a/data/maps/SecretBase_YellowCave3/header.inc
+++ b/data/maps/SecretBase_YellowCave3/header.inc
@@ -8,7 +8,7 @@ SecretBase_YellowCave3: @ 8484C34
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/SecretBase_YellowCave4/header.inc b/data/maps/SecretBase_YellowCave4/header.inc
index b20409781..edfe53d6e 100644
--- a/data/maps/SecretBase_YellowCave4/header.inc
+++ b/data/maps/SecretBase_YellowCave4/header.inc
@@ -8,7 +8,7 @@ SecretBase_YellowCave4: @ 8484CDC
.byte MAPSEC_SECRET_BASE
.byte 0
.byte WEATHER_NONE
- .byte 9
+ .byte MAP_TYPE_SECRET_BASE
.2byte 0
.byte 12
.byte 8
diff --git a/data/maps/ShoalCave_HighTideEntranceRoom/header.inc b/data/maps/ShoalCave_HighTideEntranceRoom/header.inc
index b263badba..5d136baee 100644
--- a/data/maps/ShoalCave_HighTideEntranceRoom/header.inc
+++ b/data/maps/ShoalCave_HighTideEntranceRoom/header.inc
@@ -8,7 +8,7 @@ ShoalCave_HighTideEntranceRoom: @ 8484438
.byte MAPSEC_SHOAL_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/ShoalCave_HighTideInnerRoom/header.inc b/data/maps/ShoalCave_HighTideInnerRoom/header.inc
index 386cf2b50..867de3f37 100644
--- a/data/maps/ShoalCave_HighTideInnerRoom/header.inc
+++ b/data/maps/ShoalCave_HighTideInnerRoom/header.inc
@@ -8,7 +8,7 @@ ShoalCave_HighTideInnerRoom: @ 8484454
.byte MAPSEC_SHOAL_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/ShoalCave_LowTideEntranceRoom/header.inc b/data/maps/ShoalCave_LowTideEntranceRoom/header.inc
index 9f1423424..005e502ad 100644
--- a/data/maps/ShoalCave_LowTideEntranceRoom/header.inc
+++ b/data/maps/ShoalCave_LowTideEntranceRoom/header.inc
@@ -8,7 +8,7 @@ ShoalCave_LowTideEntranceRoom: @ 84843C8
.byte MAPSEC_SHOAL_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/ShoalCave_LowTideIceRoom/header.inc b/data/maps/ShoalCave_LowTideIceRoom/header.inc
index f280c6879..df62a5cfb 100644
--- a/data/maps/ShoalCave_LowTideIceRoom/header.inc
+++ b/data/maps/ShoalCave_LowTideIceRoom/header.inc
@@ -8,7 +8,7 @@ ShoalCave_LowTideIceRoom: @ 84847D4
.byte MAPSEC_SHOAL_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/ShoalCave_LowTideInnerRoom/header.inc b/data/maps/ShoalCave_LowTideInnerRoom/header.inc
index bcb536380..9caf4d5c3 100644
--- a/data/maps/ShoalCave_LowTideInnerRoom/header.inc
+++ b/data/maps/ShoalCave_LowTideInnerRoom/header.inc
@@ -8,7 +8,7 @@ ShoalCave_LowTideInnerRoom: @ 84843E4
.byte MAPSEC_SHOAL_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/ShoalCave_LowTideLowerRoom/header.inc b/data/maps/ShoalCave_LowTideLowerRoom/header.inc
index 9fde2f89d..9b2a56e23 100644
--- a/data/maps/ShoalCave_LowTideLowerRoom/header.inc
+++ b/data/maps/ShoalCave_LowTideLowerRoom/header.inc
@@ -8,7 +8,7 @@ ShoalCave_LowTideLowerRoom: @ 848441C
.byte MAPSEC_SHOAL_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/ShoalCave_LowTideStairsRoom/header.inc b/data/maps/ShoalCave_LowTideStairsRoom/header.inc
index d111213f4..674ce7f6d 100644
--- a/data/maps/ShoalCave_LowTideStairsRoom/header.inc
+++ b/data/maps/ShoalCave_LowTideStairsRoom/header.inc
@@ -8,7 +8,7 @@ ShoalCave_LowTideStairsRoom: @ 8484400
.byte MAPSEC_SHOAL_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SingleBattleColosseum/header.inc b/data/maps/SingleBattleColosseum/header.inc
index c3542e15f..f89fe0450 100644
--- a/data/maps/SingleBattleColosseum/header.inc
+++ b/data/maps/SingleBattleColosseum/header.inc
@@ -8,7 +8,7 @@ SingleBattleColosseum: @ 8484D30
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 8
diff --git a/data/maps/SkyPillar_1F/header.inc b/data/maps/SkyPillar_1F/header.inc
index d634f1006..1358d164c 100644
--- a/data/maps/SkyPillar_1F/header.inc
+++ b/data/maps/SkyPillar_1F/header.inc
@@ -8,7 +8,7 @@ SkyPillar_1F: @ 8484764
.byte MAPSEC_SKY_PILLAR
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SkyPillar_2F/header.inc b/data/maps/SkyPillar_2F/header.inc
index 0379980bb..b861a2ab4 100644
--- a/data/maps/SkyPillar_2F/header.inc
+++ b/data/maps/SkyPillar_2F/header.inc
@@ -8,7 +8,7 @@ SkyPillar_2F: @ 8484780
.byte MAPSEC_SKY_PILLAR
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SkyPillar_3F/header.inc b/data/maps/SkyPillar_3F/header.inc
index da58b47e5..68903b8a2 100644
--- a/data/maps/SkyPillar_3F/header.inc
+++ b/data/maps/SkyPillar_3F/header.inc
@@ -8,7 +8,7 @@ SkyPillar_3F: @ 848479C
.byte MAPSEC_SKY_PILLAR
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SkyPillar_4F/header.inc b/data/maps/SkyPillar_4F/header.inc
index 54c9432b5..f74d33ce8 100644
--- a/data/maps/SkyPillar_4F/header.inc
+++ b/data/maps/SkyPillar_4F/header.inc
@@ -8,7 +8,7 @@ SkyPillar_4F: @ 84847B8
.byte MAPSEC_SKY_PILLAR
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SkyPillar_5F/header.inc b/data/maps/SkyPillar_5F/header.inc
index 84c7a9ae8..40c2fbe72 100644
--- a/data/maps/SkyPillar_5F/header.inc
+++ b/data/maps/SkyPillar_5F/header.inc
@@ -8,7 +8,7 @@ SkyPillar_5F: @ 84847F0
.byte MAPSEC_SKY_PILLAR
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SkyPillar_Entrance/header.inc b/data/maps/SkyPillar_Entrance/header.inc
index 52a71aefc..5ef569e65 100644
--- a/data/maps/SkyPillar_Entrance/header.inc
+++ b/data/maps/SkyPillar_Entrance/header.inc
@@ -8,7 +8,7 @@ SkyPillar_Entrance: @ 848472C
.byte MAPSEC_SKY_PILLAR
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/SkyPillar_Outside/header.inc b/data/maps/SkyPillar_Outside/header.inc
index 50bc46b24..e61123f1c 100644
--- a/data/maps/SkyPillar_Outside/header.inc
+++ b/data/maps/SkyPillar_Outside/header.inc
@@ -8,7 +8,7 @@ SkyPillar_Outside: @ 8484748
.byte MAPSEC_SKY_PILLAR
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/SkyPillar_Top/header.inc b/data/maps/SkyPillar_Top/header.inc
index 578341f9c..919534fc2 100644
--- a/data/maps/SkyPillar_Top/header.inc
+++ b/data/maps/SkyPillar_Top/header.inc
@@ -8,7 +8,7 @@ SkyPillar_Top: @ 848480C
.byte MAPSEC_SKY_PILLAR
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 12
.byte 0
diff --git a/data/maps/SlateportCity/header.inc b/data/maps/SlateportCity/header.inc
index e6ee88487..adbda2e3a 100644
--- a/data/maps/SlateportCity/header.inc
+++ b/data/maps/SlateportCity/header.inc
@@ -8,7 +8,7 @@ SlateportCity: @ 84824D4
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_SUNNY
- .byte 2
+ .byte MAP_TYPE_CITY
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/SlateportCity_BattleTentBattleRoom/header.inc b/data/maps/SlateportCity_BattleTentBattleRoom/header.inc
index 7d4879fc7..3f5e5809a 100644
--- a/data/maps/SlateportCity_BattleTentBattleRoom/header.inc
+++ b/data/maps/SlateportCity_BattleTentBattleRoom/header.inc
@@ -8,7 +8,7 @@ SlateportCity_BattleTentBattleRoom: @ 848314C
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_BattleTentCorridor/header.inc b/data/maps/SlateportCity_BattleTentCorridor/header.inc
index 177c05db8..6721bdef1 100644
--- a/data/maps/SlateportCity_BattleTentCorridor/header.inc
+++ b/data/maps/SlateportCity_BattleTentCorridor/header.inc
@@ -8,7 +8,7 @@ SlateportCity_BattleTentCorridor: @ 8483130
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_BattleTentLobby/header.inc b/data/maps/SlateportCity_BattleTentLobby/header.inc
index 562905e49..46b5d595e 100644
--- a/data/maps/SlateportCity_BattleTentLobby/header.inc
+++ b/data/maps/SlateportCity_BattleTentLobby/header.inc
@@ -8,7 +8,7 @@ SlateportCity_BattleTentLobby: @ 8483114
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_Harbor/header.inc b/data/maps/SlateportCity_Harbor/header.inc
index 6cc9cda8e..22b61d048 100644
--- a/data/maps/SlateportCity_Harbor/header.inc
+++ b/data/maps/SlateportCity_Harbor/header.inc
@@ -8,7 +8,7 @@ SlateportCity_Harbor: @ 84831D8
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_House1/header.inc b/data/maps/SlateportCity_House1/header.inc
index 102784c6f..d61584a37 100644
--- a/data/maps/SlateportCity_House1/header.inc
+++ b/data/maps/SlateportCity_House1/header.inc
@@ -8,7 +8,7 @@ SlateportCity_House1: @ 8483168
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_House2/header.inc b/data/maps/SlateportCity_House2/header.inc
index 60faa1552..3e2e6434d 100644
--- a/data/maps/SlateportCity_House2/header.inc
+++ b/data/maps/SlateportCity_House2/header.inc
@@ -8,7 +8,7 @@ SlateportCity_House2: @ 84831F4
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_Mart/header.inc b/data/maps/SlateportCity_Mart/header.inc
index 8fd2113cb..36c3dfb57 100644
--- a/data/maps/SlateportCity_Mart/header.inc
+++ b/data/maps/SlateportCity_Mart/header.inc
@@ -8,7 +8,7 @@ SlateportCity_Mart: @ 8483248
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_OceanicMuseum_1F/header.inc b/data/maps/SlateportCity_OceanicMuseum_1F/header.inc
index 9cb13d8cf..fa4366df6 100644
--- a/data/maps/SlateportCity_OceanicMuseum_1F/header.inc
+++ b/data/maps/SlateportCity_OceanicMuseum_1F/header.inc
@@ -8,7 +8,7 @@ SlateportCity_OceanicMuseum_1F: @ 84831A0
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_OceanicMuseum_2F/header.inc b/data/maps/SlateportCity_OceanicMuseum_2F/header.inc
index 69e244a91..dc3f5a245 100644
--- a/data/maps/SlateportCity_OceanicMuseum_2F/header.inc
+++ b/data/maps/SlateportCity_OceanicMuseum_2F/header.inc
@@ -8,7 +8,7 @@ SlateportCity_OceanicMuseum_2F: @ 84831BC
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_PokemonCenter_1F/header.inc b/data/maps/SlateportCity_PokemonCenter_1F/header.inc
index 085db4d85..abafe50fd 100644
--- a/data/maps/SlateportCity_PokemonCenter_1F/header.inc
+++ b/data/maps/SlateportCity_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ SlateportCity_PokemonCenter_1F: @ 8483210
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_PokemonCenter_2F/header.inc b/data/maps/SlateportCity_PokemonCenter_2F/header.inc
index c2bbb5097..343c20512 100644
--- a/data/maps/SlateportCity_PokemonCenter_2F/header.inc
+++ b/data/maps/SlateportCity_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ SlateportCity_PokemonCenter_2F: @ 848322C
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_PokemonFanClub/header.inc b/data/maps/SlateportCity_PokemonFanClub/header.inc
index 33796df81..fcbe42d2c 100644
--- a/data/maps/SlateportCity_PokemonFanClub/header.inc
+++ b/data/maps/SlateportCity_PokemonFanClub/header.inc
@@ -8,7 +8,7 @@ SlateportCity_PokemonFanClub: @ 8483184
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_SternsShipyard_1F/header.inc b/data/maps/SlateportCity_SternsShipyard_1F/header.inc
index 73b7c113d..1d054f587 100644
--- a/data/maps/SlateportCity_SternsShipyard_1F/header.inc
+++ b/data/maps/SlateportCity_SternsShipyard_1F/header.inc
@@ -8,7 +8,7 @@ SlateportCity_SternsShipyard_1F: @ 84830DC
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SlateportCity_SternsShipyard_2F/header.inc b/data/maps/SlateportCity_SternsShipyard_2F/header.inc
index f3bc5fde2..9be63a0bb 100644
--- a/data/maps/SlateportCity_SternsShipyard_2F/header.inc
+++ b/data/maps/SlateportCity_SternsShipyard_2F/header.inc
@@ -8,7 +8,7 @@ SlateportCity_SternsShipyard_2F: @ 84830F8
.byte MAPSEC_SLATEPORT_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity/header.inc b/data/maps/SootopolisCity/header.inc
index ccc9c1671..a7d0d04d5 100644
--- a/data/maps/SootopolisCity/header.inc
+++ b/data/maps/SootopolisCity/header.inc
@@ -8,7 +8,7 @@ SootopolisCity: @ 848257C
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_SUNNY
- .byte 2
+ .byte MAP_TYPE_CITY
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/SootopolisCity_Gym_1F/header.inc b/data/maps/SootopolisCity_Gym_1F/header.inc
index 2d51a6b91..aaaeb85ed 100644
--- a/data/maps/SootopolisCity_Gym_1F/header.inc
+++ b/data/maps/SootopolisCity_Gym_1F/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_Gym_1F: @ 8483A28
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/SootopolisCity_Gym_B1F/header.inc b/data/maps/SootopolisCity_Gym_B1F/header.inc
index 420ee8f53..f2e9e2b4d 100644
--- a/data/maps/SootopolisCity_Gym_B1F/header.inc
+++ b/data/maps/SootopolisCity_Gym_B1F/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_Gym_B1F: @ 8483A44
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 1
diff --git a/data/maps/SootopolisCity_House1/header.inc b/data/maps/SootopolisCity_House1/header.inc
index d60dd358f..e72841363 100644
--- a/data/maps/SootopolisCity_House1/header.inc
+++ b/data/maps/SootopolisCity_House1/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_House1: @ 8483AB4
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity_House2/header.inc b/data/maps/SootopolisCity_House2/header.inc
index 817b67693..555c1c7a1 100644
--- a/data/maps/SootopolisCity_House2/header.inc
+++ b/data/maps/SootopolisCity_House2/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_House2: @ 8483AD0
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity_House3/header.inc b/data/maps/SootopolisCity_House3/header.inc
index a5225747b..da684a632 100644
--- a/data/maps/SootopolisCity_House3/header.inc
+++ b/data/maps/SootopolisCity_House3/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_House3: @ 8483AEC
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity_House4/header.inc b/data/maps/SootopolisCity_House4/header.inc
index 2e2697d4d..badfcc201 100644
--- a/data/maps/SootopolisCity_House4/header.inc
+++ b/data/maps/SootopolisCity_House4/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_House4: @ 8483B08
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity_House5/header.inc b/data/maps/SootopolisCity_House5/header.inc
index 0ec392f92..bf52a354f 100644
--- a/data/maps/SootopolisCity_House5/header.inc
+++ b/data/maps/SootopolisCity_House5/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_House5: @ 8483B24
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity_House6/header.inc b/data/maps/SootopolisCity_House6/header.inc
index 97d0a73e9..82decfbba 100644
--- a/data/maps/SootopolisCity_House6/header.inc
+++ b/data/maps/SootopolisCity_House6/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_House6: @ 8483B40
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity_House7/header.inc b/data/maps/SootopolisCity_House7/header.inc
index 9318e6ebe..27afdc4ee 100644
--- a/data/maps/SootopolisCity_House7/header.inc
+++ b/data/maps/SootopolisCity_House7/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_House7: @ 8483B5C
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity_LotadAndSeedotHouse/header.inc b/data/maps/SootopolisCity_LotadAndSeedotHouse/header.inc
index 96d0ea1d1..573b465ba 100644
--- a/data/maps/SootopolisCity_LotadAndSeedotHouse/header.inc
+++ b/data/maps/SootopolisCity_LotadAndSeedotHouse/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_LotadAndSeedotHouse: @ 8483B78
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity_Mart/header.inc b/data/maps/SootopolisCity_Mart/header.inc
index 982ac6fa4..66400ad1d 100644
--- a/data/maps/SootopolisCity_Mart/header.inc
+++ b/data/maps/SootopolisCity_Mart/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_Mart: @ 8483A98
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity_MysteryEventsHouse_1F/header.inc b/data/maps/SootopolisCity_MysteryEventsHouse_1F/header.inc
index 0fd0fbf5e..b9b717298 100644
--- a/data/maps/SootopolisCity_MysteryEventsHouse_1F/header.inc
+++ b/data/maps/SootopolisCity_MysteryEventsHouse_1F/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_MysteryEventsHouse_1F: @ 8483B94
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity_MysteryEventsHouse_B1F/header.inc b/data/maps/SootopolisCity_MysteryEventsHouse_B1F/header.inc
index 660f26ae2..0630ba749 100644
--- a/data/maps/SootopolisCity_MysteryEventsHouse_B1F/header.inc
+++ b/data/maps/SootopolisCity_MysteryEventsHouse_B1F/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_MysteryEventsHouse_B1F: @ 8483BB0
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity_PokemonCenter_1F/header.inc b/data/maps/SootopolisCity_PokemonCenter_1F/header.inc
index f39608216..d50ba8f01 100644
--- a/data/maps/SootopolisCity_PokemonCenter_1F/header.inc
+++ b/data/maps/SootopolisCity_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_PokemonCenter_1F: @ 8483A60
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SootopolisCity_PokemonCenter_2F/header.inc b/data/maps/SootopolisCity_PokemonCenter_2F/header.inc
index 0844847c8..380f346a6 100644
--- a/data/maps/SootopolisCity_PokemonCenter_2F/header.inc
+++ b/data/maps/SootopolisCity_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ SootopolisCity_PokemonCenter_2F: @ 8483A7C
.byte MAPSEC_SOOTOPOLIS_CITY
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/SouthernIsland_Exterior/header.inc b/data/maps/SouthernIsland_Exterior/header.inc
index e72b6f310..f7498c070 100644
--- a/data/maps/SouthernIsland_Exterior/header.inc
+++ b/data/maps/SouthernIsland_Exterior/header.inc
@@ -8,7 +8,7 @@ SouthernIsland_Exterior: @ 8485238
.byte MAPSEC_SOUTHERN_ISLAND
.byte 0
.byte WEATHER_NONE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/SouthernIsland_Interior/header.inc b/data/maps/SouthernIsland_Interior/header.inc
index 42bb8497d..eb5e1d572 100644
--- a/data/maps/SouthernIsland_Interior/header.inc
+++ b/data/maps/SouthernIsland_Interior/header.inc
@@ -8,7 +8,7 @@ SouthernIsland_Interior: @ 8485254
.byte MAPSEC_SOUTHERN_ISLAND
.byte 0
.byte WEATHER_SHADE
- .byte 3
+ .byte MAP_TYPE_ROUTE
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/TerraCave_End/header.inc b/data/maps/TerraCave_End/header.inc
index bda560677..b84a1a071 100644
--- a/data/maps/TerraCave_End/header.inc
+++ b/data/maps/TerraCave_End/header.inc
@@ -8,7 +8,7 @@ TerraCave_End: @ 8484A3C
.byte MAPSEC_TERRA_CAVE
.byte 0
.byte WEATHER_FOG_1
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 14
.byte 0
diff --git a/data/maps/TerraCave_Entrance/header.inc b/data/maps/TerraCave_Entrance/header.inc
index e38dc2fa8..69f541f7c 100644
--- a/data/maps/TerraCave_Entrance/header.inc
+++ b/data/maps/TerraCave_Entrance/header.inc
@@ -8,7 +8,7 @@ TerraCave_Entrance: @ 8484A20
.byte MAPSEC_TERRA_CAVE
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/TradeCenter/header.inc b/data/maps/TradeCenter/header.inc
index 4b2c0f840..497a3219d 100644
--- a/data/maps/TradeCenter/header.inc
+++ b/data/maps/TradeCenter/header.inc
@@ -8,7 +8,7 @@ TradeCenter: @ 8484D4C
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/TrainerHill_1F/header.inc b/data/maps/TrainerHill_1F/header.inc
index 41fddfeed..fae6fccae 100644
--- a/data/maps/TrainerHill_1F/header.inc
+++ b/data/maps/TrainerHill_1F/header.inc
@@ -8,7 +8,7 @@ TrainerHill_1F: @ 84857E8
.byte MAPSEC_TRAINER_HILL
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/TrainerHill_2F/header.inc b/data/maps/TrainerHill_2F/header.inc
index 740afdba7..7cb9d5e67 100644
--- a/data/maps/TrainerHill_2F/header.inc
+++ b/data/maps/TrainerHill_2F/header.inc
@@ -8,7 +8,7 @@ TrainerHill_2F: @ 8485804
.byte MAPSEC_TRAINER_HILL
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/TrainerHill_3F/header.inc b/data/maps/TrainerHill_3F/header.inc
index 79597b686..f9834ed5f 100644
--- a/data/maps/TrainerHill_3F/header.inc
+++ b/data/maps/TrainerHill_3F/header.inc
@@ -8,7 +8,7 @@ TrainerHill_3F: @ 8485820
.byte MAPSEC_TRAINER_HILL
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/TrainerHill_4F/header.inc b/data/maps/TrainerHill_4F/header.inc
index 8286c131a..59c339112 100644
--- a/data/maps/TrainerHill_4F/header.inc
+++ b/data/maps/TrainerHill_4F/header.inc
@@ -8,7 +8,7 @@ TrainerHill_4F: @ 848583C
.byte MAPSEC_TRAINER_HILL
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/TrainerHill_Elevator/header.inc b/data/maps/TrainerHill_Elevator/header.inc
index c6ed43e08..ca48bb823 100644
--- a/data/maps/TrainerHill_Elevator/header.inc
+++ b/data/maps/TrainerHill_Elevator/header.inc
@@ -8,7 +8,7 @@ TrainerHill_Elevator: @ 8485ADC
.byte MAPSEC_TRAINER_HILL
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/TrainerHill_Entrance/header.inc b/data/maps/TrainerHill_Entrance/header.inc
index a45f77c99..91b6cf345 100644
--- a/data/maps/TrainerHill_Entrance/header.inc
+++ b/data/maps/TrainerHill_Entrance/header.inc
@@ -8,7 +8,7 @@ TrainerHill_Entrance: @ 84857CC
.byte MAPSEC_TRAINER_HILL
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/TrainerHill_Roof/header.inc b/data/maps/TrainerHill_Roof/header.inc
index e6000a2d5..f70f69aa0 100644
--- a/data/maps/TrainerHill_Roof/header.inc
+++ b/data/maps/TrainerHill_Roof/header.inc
@@ -8,7 +8,7 @@ TrainerHill_Roof: @ 8485858
.byte MAPSEC_TRAINER_HILL
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 4
.byte 0
diff --git a/data/maps/Underwater1/header.inc b/data/maps/Underwater1/header.inc
index 3ce516a3d..d62735bb8 100644
--- a/data/maps/Underwater1/header.inc
+++ b/data/maps/Underwater1/header.inc
@@ -8,7 +8,7 @@ Underwater1: @ 8482A30
.byte MAPSEC_UNDERWATER_124
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Underwater2/header.inc b/data/maps/Underwater2/header.inc
index 1109fd52a..bc71590ea 100644
--- a/data/maps/Underwater2/header.inc
+++ b/data/maps/Underwater2/header.inc
@@ -8,7 +8,7 @@ Underwater2: @ 8482A4C
.byte MAPSEC_UNDERWATER_125
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Underwater3/header.inc b/data/maps/Underwater3/header.inc
index c132e8e84..83fbe6155 100644
--- a/data/maps/Underwater3/header.inc
+++ b/data/maps/Underwater3/header.inc
@@ -8,7 +8,7 @@ Underwater3: @ 8482A68
.byte MAPSEC_UNDERWATER_126
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Underwater4/header.inc b/data/maps/Underwater4/header.inc
index ec0818b57..2f826994b 100644
--- a/data/maps/Underwater4/header.inc
+++ b/data/maps/Underwater4/header.inc
@@ -8,7 +8,7 @@ Underwater4: @ 8482A84
.byte MAPSEC_UNDERWATER_127
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Underwater5/header.inc b/data/maps/Underwater5/header.inc
index ba247e68d..9cdd79bf7 100644
--- a/data/maps/Underwater5/header.inc
+++ b/data/maps/Underwater5/header.inc
@@ -8,7 +8,7 @@ Underwater5: @ 8482AA0
.byte MAPSEC_UNDERWATER_129
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Underwater6/header.inc b/data/maps/Underwater6/header.inc
index 259f04eec..2da188f55 100644
--- a/data/maps/Underwater6/header.inc
+++ b/data/maps/Underwater6/header.inc
@@ -8,7 +8,7 @@ Underwater6: @ 8482ABC
.byte MAPSEC_UNDERWATER_TERRA_CAVE
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Underwater7/header.inc b/data/maps/Underwater7/header.inc
index f04015ba8..d9e75b02b 100644
--- a/data/maps/Underwater7/header.inc
+++ b/data/maps/Underwater7/header.inc
@@ -8,7 +8,7 @@ Underwater7: @ 8482AD8
.byte MAPSEC_UNDERWATER_UNK1
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Underwater_MarineCave/header.inc b/data/maps/Underwater_MarineCave/header.inc
index 51980c78c..f8de0fb73 100644
--- a/data/maps/Underwater_MarineCave/header.inc
+++ b/data/maps/Underwater_MarineCave/header.inc
@@ -8,7 +8,7 @@ Underwater_MarineCave: @ 84849CC
.byte MAPSEC_UNDERWATER_MARINE_CAVE
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Underwater_Route134/header.inc b/data/maps/Underwater_Route134/header.inc
index 6c746e8f1..42c890ef6 100644
--- a/data/maps/Underwater_Route134/header.inc
+++ b/data/maps/Underwater_Route134/header.inc
@@ -8,7 +8,7 @@ Underwater_Route134: @ 848464C
.byte MAPSEC_UNDERWATER_SEALED_CHAMBER
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Underwater_SeafloorCavern/header.inc b/data/maps/Underwater_SeafloorCavern/header.inc
index e5efbacf7..96c31fa88 100644
--- a/data/maps/Underwater_SeafloorCavern/header.inc
+++ b/data/maps/Underwater_SeafloorCavern/header.inc
@@ -8,7 +8,7 @@ Underwater_SeafloorCavern: @ 8484198
.byte MAPSEC_UNDERWATER_128
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Underwater_SealedChamber/header.inc b/data/maps/Underwater_SealedChamber/header.inc
index d6f2c2202..b2fa29ceb 100644
--- a/data/maps/Underwater_SealedChamber/header.inc
+++ b/data/maps/Underwater_SealedChamber/header.inc
@@ -8,7 +8,7 @@ Underwater_SealedChamber: @ 8484668
.byte MAPSEC_UNDERWATER_SEALED_CHAMBER
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/Underwater_SootopolisCity/header.inc b/data/maps/Underwater_SootopolisCity/header.inc
index 94b039292..35d0891ad 100644
--- a/data/maps/Underwater_SootopolisCity/header.inc
+++ b/data/maps/Underwater_SootopolisCity/header.inc
@@ -8,7 +8,7 @@ Underwater_SootopolisCity: @ 8483F4C
.byte MAPSEC_UNDERWATER_SOOTOPOLIS
.byte 0
.byte WEATHER_BUBBLES
- .byte 5
+ .byte MAP_TYPE_UNDERWATER
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/UnionRoom/header.inc b/data/maps/UnionRoom/header.inc
index ff4220697..436c39614 100644
--- a/data/maps/UnionRoom/header.inc
+++ b/data/maps/UnionRoom/header.inc
@@ -8,7 +8,7 @@ UnionRoom: @ 8485120
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 8
diff --git a/data/maps/UnknownMap_25_29/header.inc b/data/maps/UnknownMap_25_29/header.inc
index 7ce8ad751..cdeeb4207 100644
--- a/data/maps/UnknownMap_25_29/header.inc
+++ b/data/maps/UnknownMap_25_29/header.inc
@@ -8,7 +8,7 @@ UnknownMap_25_29: @ 8484DBC
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/UnknownMap_25_30/header.inc b/data/maps/UnknownMap_25_30/header.inc
index 5735bdc9d..5648f0715 100644
--- a/data/maps/UnknownMap_25_30/header.inc
+++ b/data/maps/UnknownMap_25_30/header.inc
@@ -8,7 +8,7 @@ UnknownMap_25_30: @ 8484DD8
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/UnknownMap_25_31/header.inc b/data/maps/UnknownMap_25_31/header.inc
index be7d4d933..6e87bdc75 100644
--- a/data/maps/UnknownMap_25_31/header.inc
+++ b/data/maps/UnknownMap_25_31/header.inc
@@ -8,7 +8,7 @@ UnknownMap_25_31: @ 8484DF4
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/UnknownMap_25_32/header.inc b/data/maps/UnknownMap_25_32/header.inc
index 2040ed5c7..d899a6e51 100644
--- a/data/maps/UnknownMap_25_32/header.inc
+++ b/data/maps/UnknownMap_25_32/header.inc
@@ -8,7 +8,7 @@ UnknownMap_25_32: @ 8484E10
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/UnknownMap_25_33/header.inc b/data/maps/UnknownMap_25_33/header.inc
index 038e5d760..bd048756d 100644
--- a/data/maps/UnknownMap_25_33/header.inc
+++ b/data/maps/UnknownMap_25_33/header.inc
@@ -8,7 +8,7 @@ UnknownMap_25_33: @ 8484E2C
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/UnknownMap_25_34/header.inc b/data/maps/UnknownMap_25_34/header.inc
index c59bd0b7f..33b51a404 100644
--- a/data/maps/UnknownMap_25_34/header.inc
+++ b/data/maps/UnknownMap_25_34/header.inc
@@ -8,7 +8,7 @@ UnknownMap_25_34: @ 8484E48
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/VerdanturfTown/header.inc b/data/maps/VerdanturfTown/header.inc
index c7bd8ee44..16a1a3e2a 100644
--- a/data/maps/VerdanturfTown/header.inc
+++ b/data/maps/VerdanturfTown/header.inc
@@ -8,7 +8,7 @@ VerdanturfTown: @ 8482640
.byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte WEATHER_SUNNY
- .byte 1
+ .byte MAP_TYPE_TOWN
.2byte 0
.byte 13
.byte 0
diff --git a/data/maps/VerdanturfTown_BattleTentBattleRoom/header.inc b/data/maps/VerdanturfTown_BattleTentBattleRoom/header.inc
index 22d20c23d..8c70d2cba 100644
--- a/data/maps/VerdanturfTown_BattleTentBattleRoom/header.inc
+++ b/data/maps/VerdanturfTown_BattleTentBattleRoom/header.inc
@@ -8,7 +8,7 @@ VerdanturfTown_BattleTentBattleRoom: @ 8482E90
.byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/VerdanturfTown_BattleTentCorridor/header.inc b/data/maps/VerdanturfTown_BattleTentCorridor/header.inc
index 0c24a5cd8..bcd2185ab 100644
--- a/data/maps/VerdanturfTown_BattleTentCorridor/header.inc
+++ b/data/maps/VerdanturfTown_BattleTentCorridor/header.inc
@@ -8,7 +8,7 @@ VerdanturfTown_BattleTentCorridor: @ 8482E74
.byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/VerdanturfTown_BattleTentLobby/header.inc b/data/maps/VerdanturfTown_BattleTentLobby/header.inc
index 3afb04c31..fe779c062 100644
--- a/data/maps/VerdanturfTown_BattleTentLobby/header.inc
+++ b/data/maps/VerdanturfTown_BattleTentLobby/header.inc
@@ -8,7 +8,7 @@ VerdanturfTown_BattleTentLobby: @ 8482E58
.byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/VerdanturfTown_FriendshipRatersHouse/header.inc b/data/maps/VerdanturfTown_FriendshipRatersHouse/header.inc
index a60b166fc..015f71d0c 100644
--- a/data/maps/VerdanturfTown_FriendshipRatersHouse/header.inc
+++ b/data/maps/VerdanturfTown_FriendshipRatersHouse/header.inc
@@ -8,7 +8,7 @@ VerdanturfTown_FriendshipRatersHouse: @ 8482F1C
.byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/VerdanturfTown_House/header.inc b/data/maps/VerdanturfTown_House/header.inc
index 91e9b1179..599b1f59a 100644
--- a/data/maps/VerdanturfTown_House/header.inc
+++ b/data/maps/VerdanturfTown_House/header.inc
@@ -8,7 +8,7 @@ VerdanturfTown_House: @ 8482F38
.byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/VerdanturfTown_Mart/header.inc b/data/maps/VerdanturfTown_Mart/header.inc
index c1c661654..315a42e56 100644
--- a/data/maps/VerdanturfTown_Mart/header.inc
+++ b/data/maps/VerdanturfTown_Mart/header.inc
@@ -8,7 +8,7 @@ VerdanturfTown_Mart: @ 8482EAC
.byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/VerdanturfTown_PokemonCenter_1F/header.inc b/data/maps/VerdanturfTown_PokemonCenter_1F/header.inc
index d4524d031..5d17e03b9 100644
--- a/data/maps/VerdanturfTown_PokemonCenter_1F/header.inc
+++ b/data/maps/VerdanturfTown_PokemonCenter_1F/header.inc
@@ -8,7 +8,7 @@ VerdanturfTown_PokemonCenter_1F: @ 8482EC8
.byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/VerdanturfTown_PokemonCenter_2F/header.inc b/data/maps/VerdanturfTown_PokemonCenter_2F/header.inc
index 77113ff7f..0f881653d 100644
--- a/data/maps/VerdanturfTown_PokemonCenter_2F/header.inc
+++ b/data/maps/VerdanturfTown_PokemonCenter_2F/header.inc
@@ -8,7 +8,7 @@ VerdanturfTown_PokemonCenter_2F: @ 8482EE4
.byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/VerdanturfTown_WandasHouse/header.inc b/data/maps/VerdanturfTown_WandasHouse/header.inc
index 26752c39d..69eae1a16 100644
--- a/data/maps/VerdanturfTown_WandasHouse/header.inc
+++ b/data/maps/VerdanturfTown_WandasHouse/header.inc
@@ -8,7 +8,7 @@ VerdanturfTown_WandasHouse: @ 8482F00
.byte MAPSEC_VERDANTURF_TOWN
.byte 0
.byte WEATHER_NONE
- .byte 8
+ .byte MAP_TYPE_INDOOR
.2byte 0
.byte 0
.byte 0
diff --git a/data/maps/VictoryRoad_1F/header.inc b/data/maps/VictoryRoad_1F/header.inc
index a7159f5e1..81e866d49 100644
--- a/data/maps/VictoryRoad_1F/header.inc
+++ b/data/maps/VictoryRoad_1F/header.inc
@@ -8,7 +8,7 @@ VictoryRoad_1F: @ 8484374
.byte MAPSEC_VICTORY_ROAD
.byte 0
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/VictoryRoad_B1F/header.inc b/data/maps/VictoryRoad_B1F/header.inc
index 5aa5b120e..341350a7a 100644
--- a/data/maps/VictoryRoad_B1F/header.inc
+++ b/data/maps/VictoryRoad_B1F/header.inc
@@ -8,7 +8,7 @@ VictoryRoad_B1F: @ 8484390
.byte MAPSEC_VICTORY_ROAD
.byte 1
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0
diff --git a/data/maps/VictoryRoad_B2F/header.inc b/data/maps/VictoryRoad_B2F/header.inc
index 95e0537a4..cd3451af7 100644
--- a/data/maps/VictoryRoad_B2F/header.inc
+++ b/data/maps/VictoryRoad_B2F/header.inc
@@ -8,7 +8,7 @@ VictoryRoad_B2F: @ 84843AC
.byte MAPSEC_VICTORY_ROAD
.byte 1
.byte WEATHER_NONE
- .byte 4
+ .byte MAP_TYPE_UNDERGROUND
.2byte 0
.byte 15
.byte 0