summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml8
-rw-r--r--asm/decompress.s350
-rw-r--r--data/battle_anim_scripts.s2
-rw-r--r--data/map_events.s1
-rw-r--r--data/maps/AbandonedShip_CaptainsOffice/map.json4
-rw-r--r--data/maps/AbandonedShip_Corridors_1F/map.json4
-rw-r--r--data/maps/AbandonedShip_Corridors_B1F/map.json4
-rw-r--r--data/maps/AbandonedShip_HiddenFloorRooms/map.json8
-rw-r--r--data/maps/AbandonedShip_Room_B1F/map.json2
-rw-r--r--data/maps/AbandonedShip_Rooms2_1F/map.json6
-rw-r--r--data/maps/AbandonedShip_Rooms2_B1F/map.json4
-rw-r--r--data/maps/AbandonedShip_Rooms_1F/map.json4
-rw-r--r--data/maps/AbandonedShip_Rooms_B1F/map.json4
-rw-r--r--data/maps/AncientTomb/map.json2
-rw-r--r--data/maps/AquaHideout_1F/map.json6
-rw-r--r--data/maps/AquaHideout_B1F/map.json16
-rw-r--r--data/maps/AquaHideout_B2F/map.json10
-rw-r--r--data/maps/BattleTower_BattleRoom/map.json4
-rw-r--r--data/maps/BattleTower_Corridor/map.json2
-rw-r--r--data/maps/BattleTower_Elevator/map.json2
-rw-r--r--data/maps/BattleTower_Lobby/map.json12
-rw-r--r--data/maps/BattleTower_Outside/map.json10
-rw-r--r--data/maps/CaveOfOrigin_B3F/map.json2
-rw-r--r--data/maps/CaveOfOrigin_B4F/map.json2
-rw-r--r--data/maps/DesertRuins/map.json2
-rw-r--r--data/maps/DewfordTown/map.json10
-rw-r--r--data/maps/DewfordTown_Gym/map.json10
-rw-r--r--data/maps/DewfordTown_Hall/map.json18
-rw-r--r--data/maps/DewfordTown_House1/map.json6
-rw-r--r--data/maps/DewfordTown_House2/map.json4
-rw-r--r--data/maps/DewfordTown_PokemonCenter_1F/map.json6
-rw-r--r--data/maps/DewfordTown_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/EverGrandeCity_ChampionsRoom/map.json6
-rw-r--r--data/maps/EverGrandeCity_DrakesRoom/map.json2
-rw-r--r--data/maps/EverGrandeCity_GlaciasRoom/map.json2
-rw-r--r--data/maps/EverGrandeCity_HallOfFame/map.json2
-rw-r--r--data/maps/EverGrandeCity_PhoebesRoom/map.json2
-rw-r--r--data/maps/EverGrandeCity_PokemonCenter_1F/map.json6
-rw-r--r--data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc2
-rw-r--r--data/maps/EverGrandeCity_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/EverGrandeCity_PokemonLeague/map.json8
-rw-r--r--data/maps/EverGrandeCity_PokemonLeague/scripts.inc2
-rw-r--r--data/maps/EverGrandeCity_SidneysRoom/map.json2
-rw-r--r--data/maps/FallarborTown/map.json8
-rw-r--r--data/maps/FallarborTown_ContestHall/map.json6
-rw-r--r--data/maps/FallarborTown_ContestLobby/map.json12
-rw-r--r--data/maps/FallarborTown_House1/map.json4
-rw-r--r--data/maps/FallarborTown_House2/map.json2
-rw-r--r--data/maps/FallarborTown_Mart/map.json8
-rw-r--r--data/maps/FallarborTown_PokemonCenter_1F/map.json8
-rw-r--r--data/maps/FallarborTown_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/FieryPath/map.json16
-rw-r--r--data/maps/FortreeCity/map.json14
-rw-r--r--data/maps/FortreeCity_DecorationShop/map.json8
-rw-r--r--data/maps/FortreeCity_Gym/map.json12
-rw-r--r--data/maps/FortreeCity_House1/map.json6
-rw-r--r--data/maps/FortreeCity_House2/map.json2
-rw-r--r--data/maps/FortreeCity_House3/map.json4
-rw-r--r--data/maps/FortreeCity_House4/map.json6
-rw-r--r--data/maps/FortreeCity_House5/map.json6
-rw-r--r--data/maps/FortreeCity_Mart/map.json8
-rw-r--r--data/maps/FortreeCity_PokemonCenter_1F/map.json8
-rw-r--r--data/maps/FortreeCity_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/GraniteCave_1F/map.json4
-rw-r--r--data/maps/GraniteCave_B1F/map.json2
-rw-r--r--data/maps/GraniteCave_B2F/map.json18
-rw-r--r--data/maps/GraniteCave_StevensRoom/map.json2
-rw-r--r--data/maps/InsideOfTruck/map.json6
-rw-r--r--data/maps/IslandCave/map.json2
-rw-r--r--data/maps/JaggedPass/map.json8
-rw-r--r--data/maps/LavaridgeTown/map.json18
-rw-r--r--data/maps/LavaridgeTown_Gym_1F/map.json14
-rw-r--r--data/maps/LavaridgeTown_HerbShop/map.json6
-rw-r--r--data/maps/LavaridgeTown_House/map.json4
-rw-r--r--data/maps/LavaridgeTown_Mart/map.json6
-rw-r--r--data/maps/LavaridgeTown_PokemonCenter_1F/map.json8
-rw-r--r--data/maps/LavaridgeTown_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/LilycoveCity/map.json34
-rw-r--r--data/maps/LilycoveCity_ContestHall/map.json64
-rw-r--r--data/maps/LilycoveCity_ContestLobby/map.json28
-rw-r--r--data/maps/LilycoveCity_CoveLilyMotel_1F/map.json2
-rw-r--r--data/maps/LilycoveCity_CoveLilyMotel_2F/map.json12
-rw-r--r--data/maps/LilycoveCity_DepartmentStoreElevator/map.json2
-rw-r--r--data/maps/LilycoveCity_DepartmentStoreRooftop/map.json6
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_1F/map.json12
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_2F/map.json10
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_3F/map.json10
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_4F/map.json10
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_5F/map.json14
-rw-r--r--data/maps/LilycoveCity_Harbor/map.json8
-rw-r--r--data/maps/LilycoveCity_House1/map.json4
-rw-r--r--data/maps/LilycoveCity_House2/map.json2
-rw-r--r--data/maps/LilycoveCity_House3/map.json12
-rw-r--r--data/maps/LilycoveCity_House4/map.json4
-rw-r--r--data/maps/LilycoveCity_LilycoveMuseum_1F/map.json20
-rw-r--r--data/maps/LilycoveCity_LilycoveMuseum_2F/map.json8
-rw-r--r--data/maps/LilycoveCity_MoveDeletersHouse/map.json2
-rw-r--r--data/maps/LilycoveCity_PokemonCenter_1F/map.json6
-rw-r--r--data/maps/LilycoveCity_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/LilycoveCity_PokemonTrainerFanClub/map.json16
-rw-r--r--data/maps/LinkContestRoom1/map.json30
-rw-r--r--data/maps/LittlerootTown/map.json12
-rw-r--r--data/maps/LittlerootTown_BrendansHouse_1F/map.json10
-rw-r--r--data/maps/LittlerootTown_BrendansHouse_2F/map.json28
-rw-r--r--data/maps/LittlerootTown_MaysHouse_1F/map.json10
-rw-r--r--data/maps/LittlerootTown_MaysHouse_2F/map.json30
-rw-r--r--data/maps/LittlerootTown_ProfessorBirchsLab/map.json6
-rw-r--r--data/maps/MagmaHideout_1F/map.json6
-rw-r--r--data/maps/MagmaHideout_B1F/map.json16
-rw-r--r--data/maps/MagmaHideout_B2F/map.json10
-rw-r--r--data/maps/MauvilleCity/map.json18
-rw-r--r--data/maps/MauvilleCity_BikeShop/map.json4
-rw-r--r--data/maps/MauvilleCity_GameCorner/map.json24
-rw-r--r--data/maps/MauvilleCity_Gym/map.json12
-rw-r--r--data/maps/MauvilleCity_House1/map.json2
-rw-r--r--data/maps/MauvilleCity_House2/map.json2
-rw-r--r--data/maps/MauvilleCity_Mart/map.json6
-rw-r--r--data/maps/MauvilleCity_PokemonCenter_1F/map.json10
-rw-r--r--data/maps/MauvilleCity_PokemonCenter_2F/map.json8
-rw-r--r--data/maps/MeteorFalls_1F_1R/map.json20
-rw-r--r--data/maps/MeteorFalls_1F_2R/map.json6
-rw-r--r--data/maps/MeteorFalls_B1F_2R/map.json2
-rw-r--r--data/maps/MossdeepCity/map.json18
-rw-r--r--data/maps/MossdeepCity_GameCorner_1F/map.json2
-rw-r--r--data/maps/MossdeepCity_GameCorner_B1F/map.json2
-rw-r--r--data/maps/MossdeepCity_Gym/map.json18
-rw-r--r--data/maps/MossdeepCity_House1/map.json4
-rw-r--r--data/maps/MossdeepCity_House2/map.json6
-rw-r--r--data/maps/MossdeepCity_House3/map.json2
-rw-r--r--data/maps/MossdeepCity_House4/map.json6
-rw-r--r--data/maps/MossdeepCity_Mart/map.json8
-rw-r--r--data/maps/MossdeepCity_PokemonCenter_1F/map.json6
-rw-r--r--data/maps/MossdeepCity_PokemonCenter_2F/map.json8
-rw-r--r--data/maps/MossdeepCity_SpaceCenter_1F/map.json10
-rw-r--r--data/maps/MossdeepCity_SpaceCenter_2F/map.json6
-rw-r--r--data/maps/MossdeepCity_StevensHouse/map.json8
-rw-r--r--data/maps/MtChimney/map.json56
-rw-r--r--data/maps/MtChimney_CableCarStation/map.json4
-rw-r--r--data/maps/MtPyre_1F/map.json6
-rw-r--r--data/maps/MtPyre_2F/map.json12
-rw-r--r--data/maps/MtPyre_3F/map.json6
-rw-r--r--data/maps/MtPyre_4F/map.json4
-rw-r--r--data/maps/MtPyre_5F/map.json4
-rw-r--r--data/maps/MtPyre_6F/map.json4
-rw-r--r--data/maps/MtPyre_Exterior/map.json4
-rw-r--r--data/maps/MtPyre_Summit/map.json12
-rw-r--r--data/maps/NewMauville_Inside/map.json16
-rw-r--r--data/maps/OldaleTown/map.json8
-rw-r--r--data/maps/OldaleTown_House1/map.json2
-rw-r--r--data/maps/OldaleTown_House2/map.json4
-rw-r--r--data/maps/OldaleTown_Mart/map.json6
-rw-r--r--data/maps/OldaleTown_PokemonCenter_1F/map.json8
-rw-r--r--data/maps/OldaleTown_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/PacifidlogTown/map.json6
-rw-r--r--data/maps/PacifidlogTown_House1/map.json4
-rw-r--r--data/maps/PacifidlogTown_House2/map.json6
-rw-r--r--data/maps/PacifidlogTown_House3/map.json4
-rw-r--r--data/maps/PacifidlogTown_House4/map.json6
-rw-r--r--data/maps/PacifidlogTown_House5/map.json4
-rw-r--r--data/maps/PacifidlogTown_PokemonCenter_1F/map.json8
-rw-r--r--data/maps/PacifidlogTown_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/PetalburgCity/map.json18
-rw-r--r--data/maps/PetalburgCity_Gym/map.json20
-rw-r--r--data/maps/PetalburgCity_House1/map.json4
-rw-r--r--data/maps/PetalburgCity_House2/map.json4
-rw-r--r--data/maps/PetalburgCity_Mart/map.json8
-rw-r--r--data/maps/PetalburgCity_PokemonCenter_1F/map.json10
-rw-r--r--data/maps/PetalburgCity_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/PetalburgCity_WallysHouse/map.json4
-rw-r--r--data/maps/PetalburgWoods/map.json26
-rw-r--r--data/maps/RecordCorner/map.json2
-rw-r--r--data/maps/Route101/map.json12
-rw-r--r--data/maps/Route102/map.json18
-rw-r--r--data/maps/Route103/map.json30
-rw-r--r--data/maps/Route104/map.json64
-rw-r--r--data/maps/Route104_MrBrineysHouse/map.json4
-rw-r--r--data/maps/Route104_PrettyPetalFlowerShop/map.json6
-rw-r--r--data/maps/Route104_Prototype/map.json24
-rw-r--r--data/maps/Route104_PrototypePrettyPetalFlowerShop/map.json2
-rw-r--r--data/maps/Route105/map.json12
-rw-r--r--data/maps/Route106/map.json10
-rw-r--r--data/maps/Route107/map.json12
-rw-r--r--data/maps/Route108/map.json8
-rw-r--r--data/maps/Route109/map.json40
-rw-r--r--data/maps/Route109_SeashoreHouse/map.json8
-rw-r--r--data/maps/Route110/map.json62
-rw-r--r--data/maps/Route110_SeasideCyclingRoadNorthEntrance/map.json2
-rw-r--r--data/maps/Route110_SeasideCyclingRoadSouthEntrance/map.json2
-rw-r--r--data/maps/Route110_TrickHouseEnd/map.json2
-rw-r--r--data/maps/Route110_TrickHouseEntrance/map.json2
-rw-r--r--data/maps/Route110_TrickHousePuzzle1/map.json38
-rw-r--r--data/maps/Route110_TrickHousePuzzle2/map.json10
-rw-r--r--data/maps/Route110_TrickHousePuzzle3/map.json22
-rw-r--r--data/maps/Route110_TrickHousePuzzle4/map.json30
-rw-r--r--data/maps/Route110_TrickHousePuzzle5/map.json10
-rw-r--r--data/maps/Route110_TrickHousePuzzle6/map.json8
-rw-r--r--data/maps/Route110_TrickHousePuzzle7/map.json8
-rw-r--r--data/maps/Route110_TrickHousePuzzle8/map.json8
-rw-r--r--data/maps/Route111/map.json72
-rw-r--r--data/maps/Route111_OldLadysRestStop/map.json2
-rw-r--r--data/maps/Route111_WinstrateFamilysHouse/map.json8
-rw-r--r--data/maps/Route112/map.json24
-rw-r--r--data/maps/Route112_CableCarStation/map.json4
-rw-r--r--data/maps/Route113/map.json22
-rw-r--r--data/maps/Route113_GlassWorkshop/map.json4
-rw-r--r--data/maps/Route114/map.json46
-rw-r--r--data/maps/Route114_FossilManiacsHouse/map.json2
-rw-r--r--data/maps/Route114_FossilManiacsTunnel/map.json2
-rw-r--r--data/maps/Route114_LanettesHouse/map.json2
-rw-r--r--data/maps/Route115/map.json32
-rw-r--r--data/maps/Route116/map.json44
-rw-r--r--data/maps/Route116_TunnelersRestHouse/map.json6
-rw-r--r--data/maps/Route117/map.json42
-rw-r--r--data/maps/Route117_PokemonDayCare/map.json2
-rw-r--r--data/maps/Route118/map.json40
-rw-r--r--data/maps/Route119/map.json74
-rw-r--r--data/maps/Route119_House/map.json14
-rw-r--r--data/maps/Route119_WeatherInstitute_1F/map.json10
-rw-r--r--data/maps/Route119_WeatherInstitute_2F/map.json12
-rw-r--r--data/maps/Route120/map.json82
-rw-r--r--data/maps/Route121/map.json44
-rw-r--r--data/maps/Route121_SafariZoneEntrance/map.json6
-rw-r--r--data/maps/Route123/map.json68
-rw-r--r--data/maps/Route123_BerryMastersHouse/map.json4
-rw-r--r--data/maps/Route124/map.json20
-rw-r--r--data/maps/Route124_DivingTreasureHuntersHouse/map.json2
-rw-r--r--data/maps/Route125/map.json14
-rw-r--r--data/maps/Route126/map.json10
-rw-r--r--data/maps/Route127/map.json18
-rw-r--r--data/maps/Route128/map.json16
-rw-r--r--data/maps/Route129/map.json8
-rw-r--r--data/maps/Route130/map.json6
-rw-r--r--data/maps/Route131/map.json12
-rw-r--r--data/maps/Route132/map.json10
-rw-r--r--data/maps/Route133/map.json14
-rw-r--r--data/maps/Route134/map.json10
-rw-r--r--data/maps/RustboroCity/map.json28
-rw-r--r--data/maps/RustboroCity_CuttersHouse/map.json4
-rw-r--r--data/maps/RustboroCity_DevonCorp_1F/map.json6
-rw-r--r--data/maps/RustboroCity_DevonCorp_2F/map.json10
-rw-r--r--data/maps/RustboroCity_DevonCorp_3F/map.json6
-rw-r--r--data/maps/RustboroCity_Flat1_1F/map.json4
-rw-r--r--data/maps/RustboroCity_Flat1_2F/map.json2
-rw-r--r--data/maps/RustboroCity_Flat2_1F/map.json4
-rw-r--r--data/maps/RustboroCity_Flat2_2F/map.json4
-rw-r--r--data/maps/RustboroCity_Flat2_3F/map.json4
-rw-r--r--data/maps/RustboroCity_Gym/map.json8
-rw-r--r--data/maps/RustboroCity_House1/map.json4
-rw-r--r--data/maps/RustboroCity_House2/map.json4
-rw-r--r--data/maps/RustboroCity_House3/map.json6
-rw-r--r--data/maps/RustboroCity_Mart/map.json8
-rw-r--r--data/maps/RustboroCity_PokemonCenter_1F/map.json8
-rw-r--r--data/maps/RustboroCity_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/RustboroCity_PokemonSchool/map.json12
-rw-r--r--data/maps/RusturfTunnel/map.json20
-rw-r--r--data/maps/SSTidalCorridor/map.json8
-rw-r--r--data/maps/SSTidalLowerDeck/map.json4
-rw-r--r--data/maps/SSTidalRooms/map.json16
-rw-r--r--data/maps/SafariZone_Northeast/map.json18
-rw-r--r--data/maps/SafariZone_Northwest/map.json4
-rw-r--r--data/maps/SafariZone_RestHouse/map.json6
-rw-r--r--data/maps/SafariZone_Southeast/map.json8
-rw-r--r--data/maps/SafariZone_Southwest/map.json4
-rw-r--r--data/maps/ScorchedSlab/map.json2
-rw-r--r--data/maps/SeafloorCavern_Room1/map.json10
-rw-r--r--data/maps/SeafloorCavern_Room2/map.json18
-rw-r--r--data/maps/SeafloorCavern_Room3/map.json20
-rw-r--r--data/maps/SeafloorCavern_Room4/map.json2
-rw-r--r--data/maps/SeafloorCavern_Room5/map.json12
-rw-r--r--data/maps/SeafloorCavern_Room8/map.json24
-rw-r--r--data/maps/SeafloorCavern_Room9/map.json14
-rw-r--r--data/maps/SecretBase_BlueCave1/map.json30
-rw-r--r--data/maps/SecretBase_BlueCave2/map.json30
-rw-r--r--data/maps/SecretBase_BlueCave3/map.json30
-rw-r--r--data/maps/SecretBase_BlueCave4/map.json30
-rw-r--r--data/maps/SecretBase_BrownCave1/map.json30
-rw-r--r--data/maps/SecretBase_BrownCave2/map.json30
-rw-r--r--data/maps/SecretBase_BrownCave3/map.json30
-rw-r--r--data/maps/SecretBase_BrownCave4/map.json30
-rw-r--r--data/maps/SecretBase_RedCave1/map.json30
-rw-r--r--data/maps/SecretBase_RedCave2/map.json30
-rw-r--r--data/maps/SecretBase_RedCave3/map.json30
-rw-r--r--data/maps/SecretBase_RedCave4/map.json30
-rw-r--r--data/maps/SecretBase_Shrub1/map.json30
-rw-r--r--data/maps/SecretBase_Shrub2/map.json30
-rw-r--r--data/maps/SecretBase_Shrub3/map.json30
-rw-r--r--data/maps/SecretBase_Shrub4/map.json30
-rw-r--r--data/maps/SecretBase_Tree1/map.json30
-rw-r--r--data/maps/SecretBase_Tree2/map.json30
-rw-r--r--data/maps/SecretBase_Tree3/map.json30
-rw-r--r--data/maps/SecretBase_Tree4/map.json30
-rw-r--r--data/maps/SecretBase_YellowCave1/map.json30
-rw-r--r--data/maps/SecretBase_YellowCave2/map.json30
-rw-r--r--data/maps/SecretBase_YellowCave3/map.json30
-rw-r--r--data/maps/SecretBase_YellowCave4/map.json30
-rw-r--r--data/maps/ShoalCave_LowTideEntranceRoom/map.json4
-rw-r--r--data/maps/ShoalCave_LowTideIceRoom/map.json4
-rw-r--r--data/maps/ShoalCave_LowTideInnerRoom/map.json2
-rw-r--r--data/maps/ShoalCave_LowTideLowerRoom/map.json4
-rw-r--r--data/maps/ShoalCave_LowTideStairsRoom/map.json2
-rw-r--r--data/maps/SingleBattleColosseum/map.json2
-rw-r--r--data/maps/SkyPillar_Top/map.json2
-rw-r--r--data/maps/SlateportCity/map.json62
-rw-r--r--data/maps/SlateportCity_ContestHall/map.json26
-rw-r--r--data/maps/SlateportCity_ContestLobby/map.json16
-rw-r--r--data/maps/SlateportCity_Harbor/map.json16
-rw-r--r--data/maps/SlateportCity_House1/map.json2
-rw-r--r--data/maps/SlateportCity_House2/map.json4
-rw-r--r--data/maps/SlateportCity_Mart/map.json6
-rw-r--r--data/maps/SlateportCity_OceanicMuseum_1F/map.json28
-rw-r--r--data/maps/SlateportCity_OceanicMuseum_2F/map.json14
-rw-r--r--data/maps/SlateportCity_PokemonCenter_1F/map.json6
-rw-r--r--data/maps/SlateportCity_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/SlateportCity_PokemonFanClub/map.json16
-rw-r--r--data/maps/SlateportCity_SternsShipyard_1F/map.json8
-rw-r--r--data/maps/SlateportCity_SternsShipyard_2F/map.json6
-rw-r--r--data/maps/SootopolisCity/map.json22
-rw-r--r--data/maps/SootopolisCity_Gym_1F/map.json4
-rw-r--r--data/maps/SootopolisCity_Gym_B1F/map.json16
-rw-r--r--data/maps/SootopolisCity_House1/map.json4
-rw-r--r--data/maps/SootopolisCity_House2/map.json2
-rw-r--r--data/maps/SootopolisCity_House3/map.json4
-rw-r--r--data/maps/SootopolisCity_House4/map.json6
-rw-r--r--data/maps/SootopolisCity_House5/map.json4
-rw-r--r--data/maps/SootopolisCity_House6/map.json2
-rw-r--r--data/maps/SootopolisCity_House7/map.json4
-rw-r--r--data/maps/SootopolisCity_House8/map.json4
-rw-r--r--data/maps/SootopolisCity_Mart/map.json6
-rw-r--r--data/maps/SootopolisCity_PokemonCenter_1F/map.json6
-rw-r--r--data/maps/SootopolisCity_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/SouthernIsland_Exterior/map.json4
-rw-r--r--data/maps/SouthernIsland_Interior/map.json4
-rw-r--r--data/maps/TradeCenter/map.json2
-rw-r--r--data/maps/Underwater_SeafloorCavern/map.json8
-rw-r--r--data/maps/VerdanturfTown/map.json8
-rw-r--r--data/maps/VerdanturfTown_ContestHall/map.json6
-rw-r--r--data/maps/VerdanturfTown_ContestLobby/map.json12
-rw-r--r--data/maps/VerdanturfTown_FriendshipRatersHouse/map.json4
-rw-r--r--data/maps/VerdanturfTown_House/map.json4
-rw-r--r--data/maps/VerdanturfTown_Mart/map.json8
-rw-r--r--data/maps/VerdanturfTown_PokemonCenter_1F/map.json6
-rw-r--r--data/maps/VerdanturfTown_PokemonCenter_2F/map.json6
-rw-r--r--data/maps/VerdanturfTown_WandasHouse/map.json10
-rw-r--r--data/maps/VictoryRoad_1F/map.json14
-rw-r--r--data/maps/VictoryRoad_B1F/map.json38
-rw-r--r--data/maps/VictoryRoad_B2F/map.json10
-rw-r--r--include/constants/heal_locations.h8
-rw-r--r--include/constants/trainer_types.h9
-rw-r--r--ld_script.txt1
-rw-r--r--src/battle/anim/shadow_minimize.c182
-rw-r--r--src/battle/anim/unused_9.c69
-rw-r--r--src/data/heal_locations.h44
-rw-r--r--src/data/object_events/object_event_graphics_info.h8
-rw-r--r--src/data/object_events/object_event_subsprites.h103
-rw-r--r--src/data/wild_encounters.json.txt4
-rw-r--r--src/decompress.c144
-rw-r--r--src/event_object_movement.c11
-rw-r--r--src/field_effect_helpers.c238
-rw-r--r--src/field_player_avatar.c3
-rw-r--r--src/heal_location.c2
-rw-r--r--src/pokedex.c9
-rw-r--r--src/region_map.c6
-rw-r--r--src/trainer_see.c9
-rw-r--r--src/tv.c254
-rw-r--r--src/wild_encounter.c12
-rw-r--r--tools/gbagfx/Makefile7
-rw-r--r--tools/gbagfx/huff.c398
-rw-r--r--tools/gbagfx/huff.h38
-rw-r--r--tools/gbagfx/lz.c4
-rw-r--r--tools/gbagfx/lz.h2
-rw-r--r--tools/gbagfx/main.c149
-rw-r--r--tools/gbagfx/util.c7
-rw-r--r--tools/gbagfx/util.h1
-rw-r--r--tools/preproc/asm_file.cpp1
-rw-r--r--tools/preproc/c_file.cpp1
375 files changed, 3045 insertions, 3250 deletions
diff --git a/.travis.yml b/.travis.yml
index a476f9a61..659739d44 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@
language: generic
-dist: trusty
+dist: bionic
sudo: false
env:
global:
@@ -14,8 +14,10 @@ cache:
apt: true
install:
- pushd $HOME
- - travis_retry wget https://github.com/devkitPro/buildscripts/releases/download/devkitARM_r50/devkitARM_r50-linux.tar.xz
+ - travis_retry wget https://github.com/devkitPro/buildscripts/releases/download/devkitARM_r52/devkitARM_r52-linux.tar.xz
- tar xJf devkitARM*.tar.xz
+ - travis_retry wget https://github.com/devkitPro/devkitarm-rules/releases/download/v1.0.0/devkitarm-rules-1.0.0.tar.xz
+ - tar xJf devkitarm-rules-*.tar.xz -C $DEVKITARM
- travis_retry git clone https://github.com/pret/agbcc.git
- cd agbcc && ./build.sh && ./install.sh $TRAVIS_BUILD_DIR
- popd
@@ -62,7 +64,7 @@ matrix:
- rsync -avhI data-de/ data/
- rsync -avhI graphics-de/ graphics/
script:
- - make tools CXX=g++-7
+ - make -j2 tools CXX=g++-7
- make -j2 compare_ruby_de
- make -j2 compare_sapphire_de
- make -j2 compare_ruby_de_debug
diff --git a/asm/decompress.s b/asm/decompress.s
deleted file mode 100644
index 99e449d8f..000000000
--- a/asm/decompress.s
+++ /dev/null
@@ -1,350 +0,0 @@
- .include "constants/gba_constants.inc"
-
- .include "include/macros.inc"
-
- .syntax unified
-
- .text
-
- thumb_func_start unref_sub_800D42C
-unref_sub_800D42C: @ 800D42C
- push {r4-r7,lr}
- mov r7, r10
- mov r6, r9
- mov r5, r8
- push {r5-r7}
- sub sp, 0x24
- mov r9, r0
- str r1, [sp]
- str r2, [sp, 0x4]
- adds r5, r3, 0
- movs r0, 0x1
- mov r1, r9
- ands r0, r1
- cmp r0, 0
- bne _0800D44C
- b _0800D5E4
-_0800D44C:
- asrs r0, r1, 1
- adds r0, 0x4
- lsls r0, 24
- lsrs r0, 24
- str r0, [sp, 0x8]
- movs r0, 0
- ldr r2, [sp]
- cmp r0, r2
- blt _0800D460
- b _0800D674
-_0800D460:
- movs r4, 0x8
- subs r1, r4, r1
- str r1, [sp, 0x10]
-_0800D466:
- movs r7, 0
- adds r0, 0x1
- str r0, [sp, 0x14]
- ldr r0, [sp, 0x10]
- cmp r7, r0
- bge _0800D4E2
- ldr r1, [sp, 0x8]
- lsls r1, 8
- str r1, [sp, 0x18]
- movs r2, 0
- mov r10, r2
- mov r0, r9
- movs r4, 0x8
- subs r0, r4, r0
- str r0, [sp, 0xC]
-_0800D484:
- movs r3, 0
- asrs r0, r7, 1
- adds r1, r7, 0
- movs r2, 0x1
- ands r1, r2
- str r1, [sp, 0x20]
- lsls r0, 8
- mov r8, r0
- mov r12, r5
-_0800D496:
- lsls r1, r3, 5
- ldr r4, [sp, 0x18]
- adds r0, r5, r4
- adds r0, r1
- mov r1, r8
- adds r2, r0, r1
- mov r1, r12
- add r1, r8
- movs r6, 0xF
-_0800D4A8:
- ldr r4, [sp, 0x20]
- cmp r4, 0
- bne _0800D4B8
- strb r4, [r1]
- add r4, sp, 0x20
- ldrb r4, [r4]
- strb r4, [r2, 0x10]
- b _0800D4C6
-_0800D4B8:
- mov r0, r10
- strb r0, [r1, 0x10]
- movs r4, 0x80
- lsls r4, 1
- adds r4, r2, r4
- str r4, [sp, 0x1C]
- strb r0, [r4]
-_0800D4C6:
- adds r2, 0x1
- adds r1, 0x1
- subs r6, 0x1
- cmp r6, 0
- bge _0800D4A8
- movs r0, 0x20
- add r12, r0
- adds r3, 0x1
- cmp r3, 0x7
- ble _0800D496
- adds r7, 0x1
- ldr r1, [sp, 0xC]
- cmp r7, r1
- blt _0800D484
-_0800D4E2:
- movs r7, 0
- movs r2, 0
-_0800D4E6:
- movs r6, 0
- adds r4, r7, 0x1
- mov r8, r4
- lsls r4, r7, 5
-_0800D4EE:
- adds r0, r6, 0x1
- mov r10, r0
- lsls r1, r6, 8
- adds r0, r1, 0
- adds r0, 0xC0
- adds r0, r5, r0
- adds r0, r4
- adds r1, r5, r1
- adds r1, r4
- movs r3, 0x1F
-_0800D502:
- strb r2, [r1]
- strb r2, [r0]
- adds r0, 0x1
- adds r1, 0x1
- subs r3, 0x1
- cmp r3, 0
- bge _0800D502
- mov r6, r10
- cmp r6, 0x7
- ble _0800D4EE
- mov r7, r8
- cmp r7, 0x1
- ble _0800D4E6
- mov r1, r9
- cmp r1, 0x5
- bne _0800D528
- movs r2, 0x90
- lsls r2, 1
- adds r5, r2
-_0800D528:
- movs r7, 0
- cmp r7, r9
- bge _0800D5BE
-_0800D52E:
- movs r3, 0
- adds r7, 0x1
- mov r8, r7
- cmp r3, r9
- bge _0800D59E
-_0800D538:
- adds r3, 0x1
- mov r10, r3
- ldr r4, [sp, 0x4]
- adds r4, 0x20
- adds r7, r5, 0
- adds r7, 0x20
- movs r0, 0x12
- adds r0, r5
- mov r12, r0
- ldr r2, [sp, 0x4]
- adds r3, r5, 0
- movs r6, 0x3
-_0800D550:
- ldrb r0, [r2]
- mov r1, r12
- strb r0, [r1]
- ldrb r0, [r2, 0x1]
- strb r0, [r1, 0x1]
- ldrb r0, [r2, 0x2]
- strb r0, [r1, 0x1E]
- ldrb r0, [r2, 0x3]
- strb r0, [r1, 0x1F]
- movs r0, 0x81
- lsls r0, 1
- adds r1, r3, r0
- ldrb r0, [r2, 0x10]
- strb r0, [r1]
- ldr r0, _0800D5A8 @ =0x00000103
- adds r1, r3, r0
- ldrb r0, [r2, 0x11]
- strb r0, [r1]
- movs r0, 0x90
- lsls r0, 1
- adds r1, r3, r0
- ldrb r0, [r2, 0x12]
- strb r0, [r1]
- ldr r0, _0800D5AC @ =0x00000121
- adds r1, r3, r0
- ldrb r0, [r2, 0x13]
- strb r0, [r1]
- movs r1, 0x4
- add r12, r1
- adds r2, 0x4
- adds r3, 0x4
- subs r6, 0x1
- cmp r6, 0
- bge _0800D550
- str r4, [sp, 0x4]
- adds r5, r7, 0
- mov r3, r10
- cmp r3, r9
- blt _0800D538
-_0800D59E:
- mov r2, r9
- cmp r2, 0x7
- bne _0800D5B0
- adds r5, 0x20
- b _0800D5B8
- .align 2, 0
-_0800D5A8: .4byte 0x00000103
-_0800D5AC: .4byte 0x00000121
-_0800D5B0:
- mov r4, r9
- cmp r4, 0x5
- bne _0800D5B8
- adds r5, 0x60
-_0800D5B8:
- mov r7, r8
- cmp r7, r9
- blt _0800D52E
-_0800D5BE:
- mov r0, r9
- cmp r0, 0x7
- bne _0800D5CC
- movs r1, 0x80
- lsls r1, 1
- adds r5, r1
- b _0800D5D8
-_0800D5CC:
- mov r2, r9
- cmp r2, 0x5
- bne _0800D5D8
- movs r4, 0xF0
- lsls r4, 1
- adds r5, r4
-_0800D5D8:
- ldr r0, [sp, 0x14]
- ldr r1, [sp]
- cmp r0, r1
- bge _0800D5E2
- b _0800D466
-_0800D5E2:
- b _0800D674
-_0800D5E4:
- movs r6, 0
- ldr r2, [sp]
- cmp r6, r2
- bge _0800D674
-_0800D5EC:
- adds r6, 0x1
- mov r10, r6
- mov r4, r9
- cmp r4, 0x6
- bne _0800D604
- movs r0, 0
- movs r3, 0xFF
-_0800D5FA:
- strb r0, [r5]
- adds r5, 0x1
- subs r3, 0x1
- cmp r3, 0
- bge _0800D5FA
-_0800D604:
- movs r7, 0
- cmp r7, r9
- bge _0800D658
-_0800D60A:
- adds r7, 0x1
- mov r8, r7
- mov r1, r9
- lsls r0, r1, 5
- cmp r1, 0x6
- bne _0800D624
- movs r1, 0
- movs r3, 0x1F
-_0800D61A:
- strb r1, [r5]
- adds r5, 0x1
- subs r3, 0x1
- cmp r3, 0
- bge _0800D61A
-_0800D624:
- adds r1, r0, 0
- cmp r1, 0
- ble _0800D63E
- adds r3, r1, 0
-_0800D62C:
- ldr r2, [sp, 0x4]
- ldrb r0, [r2]
- strb r0, [r5]
- adds r2, 0x1
- str r2, [sp, 0x4]
- adds r5, 0x1
- subs r3, 0x1
- cmp r3, 0
- bne _0800D62C
-_0800D63E:
- mov r4, r9
- cmp r4, 0x6
- bne _0800D652
- movs r0, 0
- movs r3, 0x1F
-_0800D648:
- strb r0, [r5]
- adds r5, 0x1
- subs r3, 0x1
- cmp r3, 0
- bge _0800D648
-_0800D652:
- mov r7, r8
- cmp r7, r9
- blt _0800D60A
-_0800D658:
- mov r0, r9
- cmp r0, 0x6
- bne _0800D66C
- movs r0, 0
- movs r3, 0xFF
-_0800D662:
- strb r0, [r5]
- adds r5, 0x1
- subs r3, 0x1
- cmp r3, 0
- bge _0800D662
-_0800D66C:
- mov r6, r10
- ldr r1, [sp]
- cmp r6, r1
- blt _0800D5EC
-_0800D674:
- add sp, 0x24
- pop {r3-r5}
- mov r8, r3
- mov r9, r4
- mov r10, r5
- pop {r4-r7}
- pop {r0}
- bx r0
- thumb_func_end unref_sub_800D42C
-
- .align 2, 0
diff --git a/data/battle_anim_scripts.s b/data/battle_anim_scripts.s
index e6b21f543..cb478ad7d 100644
--- a/data/battle_anim_scripts.s
+++ b/data/battle_anim_scripts.s
@@ -2796,7 +2796,7 @@ Move_DOUBLE_TEAM: @ 81CB30B
Move_MINIMIZE: @ 81CB352
setalpha 10, 8
- createvisualtask sub_80D0488, 2
+ createvisualtask AnimTask_Minimize, 2
loopsewithpan SE_W107, SOUND_PAN_ATTACKER, 34, 3
waitforvisualfinish
blendoff
diff --git a/data/map_events.s b/data/map_events.s
index bd9ac9c99..faa37d65c 100644
--- a/data/map_events.s
+++ b/data/map_events.s
@@ -5,6 +5,7 @@
#include "constants/event_objects.h"
#include "constants/maps.h"
#include "constants/secret_bases.h"
+#include "constants/trainer_types.h"
#include "constants/vars.h"
#include "constants/weather.h"
diff --git a/data/maps/AbandonedShip_CaptainsOffice/map.json b/data/maps/AbandonedShip_CaptainsOffice/map.json
index b1c4086c0..9a504ae6d 100644
--- a/data/maps/AbandonedShip_CaptainsOffice/map.json
+++ b/data/maps/AbandonedShip_CaptainsOffice/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_CaptainsOffice_EventScript_15EAF5",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_CaptainsOffice_EventScript_1B18BE",
"flag": "FLAG_ITEM_ABANDONED_SHIP_CAPTAINS_OFFICE_1"
diff --git a/data/maps/AbandonedShip_Corridors_1F/map.json b/data/maps/AbandonedShip_Corridors_1F/map.json
index c65a79fdc..637081cd8 100644
--- a/data/maps/AbandonedShip_Corridors_1F/map.json
+++ b/data/maps/AbandonedShip_Corridors_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Corridors_1F_EventScript_15E965",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_UP_LEFT_DOWN_RIGHT",
"movement_range_x": 4,
"movement_range_y": 7,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "AbandonedShip_Corridors_1F_EventScript_15E96E",
"flag": "0"
diff --git a/data/maps/AbandonedShip_Corridors_B1F/map.json b/data/maps/AbandonedShip_Corridors_B1F/map.json
index 7c100a73e..edc74fe01 100644
--- a/data/maps/AbandonedShip_Corridors_B1F/map.json
+++ b/data/maps/AbandonedShip_Corridors_B1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Corridors_B1F_EventScript_15E9CA",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "AbandonedShip_Corridors_B1F_EventScript_15EA1E",
"flag": "0"
diff --git a/data/maps/AbandonedShip_HiddenFloorRooms/map.json b/data/maps/AbandonedShip_HiddenFloorRooms/map.json
index 243d83bdf..3c4865d81 100644
--- a/data/maps/AbandonedShip_HiddenFloorRooms/map.json
+++ b/data/maps/AbandonedShip_HiddenFloorRooms/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_HiddenFloorRooms_EventScript_1B18CB",
"flag": "FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS_1"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_HiddenFloorRooms_EventScript_1B18D8",
"flag": "FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS_2"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_HiddenFloorRooms_EventScript_1B18F2",
"flag": "FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS_4"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_HiddenFloorRooms_EventScript_1B18E5",
"flag": "FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS_3"
diff --git a/data/maps/AbandonedShip_Room_B1F/map.json b/data/maps/AbandonedShip_Room_B1F/map.json
index abbe32342..1b8dd19f1 100644
--- a/data/maps/AbandonedShip_Room_B1F/map.json
+++ b/data/maps/AbandonedShip_Room_B1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Room_B1F_EventScript_1B18A4",
"flag": "FLAG_ITEM_ABANDONED_SHIP_ROOM_B1F_1"
diff --git a/data/maps/AbandonedShip_Rooms2_1F/map.json b/data/maps/AbandonedShip_Rooms2_1F/map.json
index 1d9d75c42..e861d2c04 100644
--- a/data/maps/AbandonedShip_Rooms2_1F/map.json
+++ b/data/maps/AbandonedShip_Rooms2_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Rooms2_1F_EventScript_15EA68",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Rooms2_1F_EventScript_15EAAE",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Rooms2_1F_EventScript_1B18B1",
"flag": "FLAG_ITEM_ABANDONED_SHIP_ROOMS_2_1F_1"
diff --git a/data/maps/AbandonedShip_Rooms2_B1F/map.json b/data/maps/AbandonedShip_Rooms2_B1F/map.json
index ce39a1b79..c6429948f 100644
--- a/data/maps/AbandonedShip_Rooms2_B1F/map.json
+++ b/data/maps/AbandonedShip_Rooms2_B1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Rooms2_B1F_EventScript_15EA4E",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Rooms2_B1F_EventScript_1B1897",
"flag": "FLAG_ITEM_ABANDONED_SHIP_ROOMS_2_B1F_1"
diff --git a/data/maps/AbandonedShip_Rooms_1F/map.json b/data/maps/AbandonedShip_Rooms_1F/map.json
index e78ef41b1..45c54b174 100644
--- a/data/maps/AbandonedShip_Rooms_1F/map.json
+++ b/data/maps/AbandonedShip_Rooms_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Rooms_1F_EventScript_15E986",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Rooms_1F_EventScript_1B187D",
"flag": "FLAG_ITEM_ABANDONED_SHIP_ROOMS_1F_1"
diff --git a/data/maps/AbandonedShip_Rooms_B1F/map.json b/data/maps/AbandonedShip_Rooms_B1F/map.json
index 5ae694e61..6955c5c91 100644
--- a/data/maps/AbandonedShip_Rooms_B1F/map.json
+++ b/data/maps/AbandonedShip_Rooms_B1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Rooms_B1F_EventScript_15EA44",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Rooms_B1F_EventScript_1B188A",
"flag": "FLAG_ITEM_ABANDONED_SHIP_ROOMS_B1F_1"
diff --git a/data/maps/AncientTomb/map.json b/data/maps/AncientTomb/map.json
index c9286da84..387c32246 100644
--- a/data/maps/AncientTomb/map.json
+++ b/data/maps/AncientTomb/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AncientTomb_EventScript_15F050",
"flag": "FLAG_HIDE_REGISTEEL"
diff --git a/data/maps/AquaHideout_1F/map.json b/data/maps/AquaHideout_1F/map.json
index d9fac11ab..4077c76c8 100644
--- a/data/maps/AquaHideout_1F/map.json
+++ b/data/maps/AquaHideout_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AquaHideout_1F_EventScript_15D7CE",
"flag": "FLAG_HIDE_GRUNT_1_BLOCKING_HIDEOUT"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AquaHideout_1F_EventScript_15D7ED",
"flag": "FLAG_HIDE_GRUNT_2_BLOCKING_HIDEOUT"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_LEFT_UP_RIGHT",
"movement_range_x": 13,
"movement_range_y": 5,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "AquaHideout_1F_EventScript_15D80C",
"flag": "FLAG_HIDE_GRUNTS_HIDEOUTS"
diff --git a/data/maps/AquaHideout_B1F/map.json b/data/maps/AquaHideout_B1F/map.json
index 9bede98d1..e0e661b7a 100644
--- a/data/maps/AquaHideout_B1F/map.json
+++ b/data/maps/AquaHideout_B1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "AquaHideout_B1F_EventScript_15D850",
"flag": "FLAG_HIDE_GRUNTS_HIDEOUTS"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "5",
"script": "AquaHideout_B1F_EventScript_15D875",
"flag": "FLAG_HIDE_GRUNTS_HIDEOUTS"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AquaHideout_B1F_EventScript_1B19A8",
"flag": "FLAG_ITEM_AQUA_HIDEOUT_B1F_1"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_LEFT_AND_RIGHT",
"movement_range_x": 4,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "AquaHideout_B1F_EventScript_15D89A",
"flag": "FLAG_HIDE_GRUNTS_HIDEOUTS"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AquaHideout_B1F_EventScript_1B198E",
"flag": "FLAG_ITEM_AQUA_HIDEOUT_B1F_2"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Hideout_B1F_EventScript_Electrode1",
"flag": "FLAG_HIDE_ELECTRODE_1_HIDEOUT"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AquaHideout_B1F_EventScript_1B199B",
"flag": "FLAG_ITEM_AQUA_HIDEOUT_B1F_3"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Hideout_B1F_EventScript_Electrode2",
"flag": "FLAG_HIDE_ELECTRODE_2_HIDEOUT"
diff --git a/data/maps/AquaHideout_B2F/map.json b/data/maps/AquaHideout_B2F/map.json
index 11dcc1a40..c6f99621b 100644
--- a/data/maps/AquaHideout_B2F/map.json
+++ b/data/maps/AquaHideout_B2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AquaHideout_B2F_EventScript_15D8E1",
"flag": "FLAG_HIDE_GRUNTS_HIDEOUTS"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_UP_LEFT_DOWN_RIGHT",
"movement_range_x": 4,
"movement_range_y": 3,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "AquaHideout_B2F_EventScript_15D962",
"flag": "FLAG_HIDE_GRUNTS_HIDEOUTS"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "AquaHideout_B2F_EventScript_1B19B5",
"flag": "FLAG_ITEM_AQUA_HIDEOUT_B2F_1"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_SUBMARINE_SHADOW_HIDEOUT"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "AquaHideout_B2F_EventScript_15D987",
"flag": "FLAG_HIDE_GRUNTS_HIDEOUTS"
diff --git a/data/maps/BattleTower_BattleRoom/map.json b/data/maps/BattleTower_BattleRoom/map.json
index 848b03946..62691f593 100644
--- a/data/maps/BattleTower_BattleRoom/map.json
+++ b/data/maps/BattleTower_BattleRoom/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_BATTLE_TOWER_OPPONENT"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
diff --git a/data/maps/BattleTower_Corridor/map.json b/data/maps/BattleTower_Corridor/map.json
index eec8217c8..1aa666b00 100644
--- a/data/maps/BattleTower_Corridor/map.json
+++ b/data/maps/BattleTower_Corridor/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
diff --git a/data/maps/BattleTower_Elevator/map.json b/data/maps/BattleTower_Elevator/map.json
index 43e78ec05..ab9f83cb5 100644
--- a/data/maps/BattleTower_Elevator/map.json
+++ b/data/maps/BattleTower_Elevator/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
diff --git a/data/maps/BattleTower_Lobby/map.json b/data/maps/BattleTower_Lobby/map.json
index 8b630bfdd..81f983a84 100644
--- a/data/maps/BattleTower_Lobby/map.json
+++ b/data/maps/BattleTower_Lobby/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleTower_Lobby_EventScript_16049E",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleTower_Lobby_EventScript_1606A5",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleTower_Lobby_EventScript_160715",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleTower_Lobby_EventScript_16071E",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleTower_Lobby_EventScript_1AE1FF",
"flag": "FLAG_HIDE_REPORTER_BATTLE_TOWER"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleTower_Lobby_EventScript_160733",
"flag": "FLAG_HIDE_AWARD_MAN_BATTLE_TOWER"
diff --git a/data/maps/BattleTower_Outside/map.json b/data/maps/BattleTower_Outside/map.json
index 761dc2a10..d0e4d04f9 100644
--- a/data/maps/BattleTower_Outside/map.json
+++ b/data/maps/BattleTower_Outside/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleTower_Outside_EventScript_160263",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleTower_Outside_EventScript_16026C",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleTower_Outside_EventScript_160275",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleTower_Outside_EventScript_160168",
"flag": "0"
diff --git a/data/maps/CaveOfOrigin_B3F/map.json b/data/maps/CaveOfOrigin_B3F/map.json
index 4a5c50464..4546d50f8 100644
--- a/data/maps/CaveOfOrigin_B3F/map.json
+++ b/data/maps/CaveOfOrigin_B3F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CaveOfOrigin_B3F_EventScript_1B1A44",
"flag": "FLAG_ITEM_CAVE_OF_ORIGIN_B3F_1"
diff --git a/data/maps/CaveOfOrigin_B4F/map.json b/data/maps/CaveOfOrigin_B4F/map.json
index 39f806f67..5270d384b 100644
--- a/data/maps/CaveOfOrigin_B4F/map.json
+++ b/data/maps/CaveOfOrigin_B4F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_LEGEND_MON_CAVE_OF_ORIGIN"
diff --git a/data/maps/DesertRuins/map.json b/data/maps/DesertRuins/map.json
index 6e8529525..d545443f8 100644
--- a/data/maps/DesertRuins/map.json
+++ b/data/maps/DesertRuins/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DesertRuins_EventScript_15CB85",
"flag": "FLAG_HIDE_REGIROCK"
diff --git a/data/maps/DewfordTown/map.json b/data/maps/DewfordTown/map.json
index 8f11c657c..4e130a9df 100644
--- a/data/maps/DewfordTown/map.json
+++ b/data/maps/DewfordTown/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_EventScript_14E0A2",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "3",
"script": "DewfordTown_EventScript_14E002",
"flag": "FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_EventScript_14E0C6",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_EventScript_14E413",
"flag": "0"
diff --git a/data/maps/DewfordTown_Gym/map.json b/data/maps/DewfordTown_Gym/map.json
index eec89848c..f440d1a5c 100644
--- a/data/maps/DewfordTown_Gym/map.json
+++ b/data/maps/DewfordTown_Gym/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Gym_EventScript_153152",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "DewfordTown_Gym_EventScript_1531D9",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "DewfordTown_Gym_EventScript_1531FB",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "DewfordTown_Gym_EventScript_15321D",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Gym_EventScript_15323F",
"flag": "0"
diff --git a/data/maps/DewfordTown_Hall/map.json b/data/maps/DewfordTown_Hall/map.json
index ff4fa0065..ee688c9c3 100644
--- a/data/maps/DewfordTown_Hall/map.json
+++ b/data/maps/DewfordTown_Hall/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_153293",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1532BC",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1532CD",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_15330A",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_153326",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_153342",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1533F2",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_1533FE",
"flag": "0"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_Hall_EventScript_15359D",
"flag": "FLAG_HIDE_SLUDGE_BOMB_MAN_DEWFORD_HALL"
diff --git a/data/maps/DewfordTown_House1/map.json b/data/maps/DewfordTown_House1/map.json
index d4774d408..48d1a10dd 100644
--- a/data/maps/DewfordTown_House1/map.json
+++ b/data/maps/DewfordTown_House1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_House1_EventScript_152FF8",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_House1_EventScript_152FEF",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 3,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_House1_EventScript_153001",
"flag": "0"
diff --git a/data/maps/DewfordTown_House2/map.json b/data/maps/DewfordTown_House2/map.json
index 87ab4a86b..ec2145201 100644
--- a/data/maps/DewfordTown_House2/map.json
+++ b/data/maps/DewfordTown_House2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_House2_EventScript_1535DC",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_House2_EventScript_15361F",
"flag": "0"
diff --git a/data/maps/DewfordTown_PokemonCenter_1F/map.json b/data/maps/DewfordTown_PokemonCenter_1F/map.json
index bf90976b0..e1cacefb1 100644
--- a/data/maps/DewfordTown_PokemonCenter_1F/map.json
+++ b/data/maps/DewfordTown_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_PokemonCenter_1F_EventScript_153023",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_PokemonCenter_1F_EventScript_153031",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 2,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_PokemonCenter_1F_EventScript_15303A",
"flag": "0"
diff --git a/data/maps/DewfordTown_PokemonCenter_2F/map.json b/data/maps/DewfordTown_PokemonCenter_2F/map.json
index 67ce247cc..061d5228e 100644
--- a/data/maps/DewfordTown_PokemonCenter_2F/map.json
+++ b/data/maps/DewfordTown_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_PokemonCenter_2F_EventScript_153053",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_PokemonCenter_2F_EventScript_153059",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_PokemonCenter_2F_EventScript_15305F",
"flag": "0"
diff --git a/data/maps/EverGrandeCity_ChampionsRoom/map.json b/data/maps/EverGrandeCity_ChampionsRoom/map.json
index 67025f33f..fb425c537 100644
--- a/data/maps/EverGrandeCity_ChampionsRoom/map.json
+++ b/data/maps/EverGrandeCity_ChampionsRoom/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_RIVAL_CHAMPIONS_ROOM"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_BIRCH_CHAMPIONS_ROOM"
diff --git a/data/maps/EverGrandeCity_DrakesRoom/map.json b/data/maps/EverGrandeCity_DrakesRoom/map.json
index c027a16f6..719451beb 100644
--- a/data/maps/EverGrandeCity_DrakesRoom/map.json
+++ b/data/maps/EverGrandeCity_DrakesRoom/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_DrakesRoom_EventScript_15B764",
"flag": "0"
diff --git a/data/maps/EverGrandeCity_GlaciasRoom/map.json b/data/maps/EverGrandeCity_GlaciasRoom/map.json
index 286bfdd39..7938c77d2 100644
--- a/data/maps/EverGrandeCity_GlaciasRoom/map.json
+++ b/data/maps/EverGrandeCity_GlaciasRoom/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_GlaciasRoom_EventScript_15B6CA",
"flag": "0"
diff --git a/data/maps/EverGrandeCity_HallOfFame/map.json b/data/maps/EverGrandeCity_HallOfFame/map.json
index 297d66426..d35d5c2d9 100644
--- a/data/maps/EverGrandeCity_HallOfFame/map.json
+++ b/data/maps/EverGrandeCity_HallOfFame/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
diff --git a/data/maps/EverGrandeCity_PhoebesRoom/map.json b/data/maps/EverGrandeCity_PhoebesRoom/map.json
index 36a42757d..c65c87385 100644
--- a/data/maps/EverGrandeCity_PhoebesRoom/map.json
+++ b/data/maps/EverGrandeCity_PhoebesRoom/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PhoebesRoom_EventScript_15B630",
"flag": "0"
diff --git a/data/maps/EverGrandeCity_PokemonCenter_1F/map.json b/data/maps/EverGrandeCity_PokemonCenter_1F/map.json
index 2de6531f9..2ac4d15b9 100644
--- a/data/maps/EverGrandeCity_PokemonCenter_1F/map.json
+++ b/data/maps/EverGrandeCity_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonCenter_1F_EventScript_15BC70",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonCenter_1F_EventScript_15BC7E",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonCenter_1F_EventScript_15BC87",
"flag": "0"
diff --git a/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc b/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc
index 5d229e908..067488c55 100644
--- a/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc
@@ -3,7 +3,7 @@ EverGrandeCity_PokemonCenter_1F_MapScripts:: @ 815BC66
.byte 0
EverGrandeCity_PokemonCenter_1F_MapScript1_15BC6C:: @ 815BC6C
- setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_1
+ setrespawn HEAL_LOCATION_EVER_GRANDE_CITY
end
EverGrandeCity_PokemonCenter_1F_EventScript_15BC70:: @ 815BC70
diff --git a/data/maps/EverGrandeCity_PokemonCenter_2F/map.json b/data/maps/EverGrandeCity_PokemonCenter_2F/map.json
index dca22233b..7266578b8 100644
--- a/data/maps/EverGrandeCity_PokemonCenter_2F/map.json
+++ b/data/maps/EverGrandeCity_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonCenter_2F_EventScript_15BCA0",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonCenter_2F_EventScript_15BCA6",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonCenter_2F_EventScript_15BCAC",
"flag": "0"
diff --git a/data/maps/EverGrandeCity_PokemonLeague/map.json b/data/maps/EverGrandeCity_PokemonLeague/map.json
index 0a74924fc..7583323bc 100644
--- a/data/maps/EverGrandeCity_PokemonLeague/map.json
+++ b/data/maps/EverGrandeCity_PokemonLeague/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonLeague_EventScript_15BA9A",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonLeague_EventScript_15BAA8",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonLeague_EventScript_15BAD2",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonLeague_EventScript_15BAD2",
"flag": "0"
diff --git a/data/maps/EverGrandeCity_PokemonLeague/scripts.inc b/data/maps/EverGrandeCity_PokemonLeague/scripts.inc
index 61a7790d7..d13f20f1d 100644
--- a/data/maps/EverGrandeCity_PokemonLeague/scripts.inc
+++ b/data/maps/EverGrandeCity_PokemonLeague/scripts.inc
@@ -3,7 +3,7 @@ EverGrandeCity_PokemonLeague_MapScripts:: @ 815BA75
.byte 0
EverGrandeCity_PokemonLeague_MapScript1_15BA7B:: @ 815BA7B
- setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_2
+ setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_POKEMON_LEAGUE
setflag FLAG_SYS_POKEMON_LEAGUE_FLY
call_if_unset FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_EventScript_15BA8B
end
diff --git a/data/maps/EverGrandeCity_SidneysRoom/map.json b/data/maps/EverGrandeCity_SidneysRoom/map.json
index 72ff929f6..733266cfa 100644
--- a/data/maps/EverGrandeCity_SidneysRoom/map.json
+++ b/data/maps/EverGrandeCity_SidneysRoom/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_SidneysRoom_EventScript_15B596",
"flag": "0"
diff --git a/data/maps/FallarborTown/map.json b/data/maps/FallarborTown/map.json
index 423cd11fc..71e07b7c3 100644
--- a/data/maps/FallarborTown/map.json
+++ b/data/maps/FallarborTown/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_EventScript_14E814",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_EventScript_14E7F5",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_EventScript_14E81D",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_EventScript_14E826",
"flag": "FLAG_HIDE_AZURILL_FALLARBOR"
diff --git a/data/maps/FallarborTown_ContestHall/map.json b/data/maps/FallarborTown_ContestHall/map.json
index 40294eafb..b87d95542 100644
--- a/data/maps/FallarborTown_ContestHall/map.json
+++ b/data/maps/FallarborTown_ContestHall/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_ContestHall_EventScript_153ACF",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 3,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_ContestHall_EventScript_153AD8",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 3,
"movement_range_y": 3,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_ContestHall_EventScript_153AE1",
"flag": "0"
diff --git a/data/maps/FallarborTown_ContestLobby/map.json b/data/maps/FallarborTown_ContestLobby/map.json
index d814c1b3c..770a14a65 100644
--- a/data/maps/FallarborTown_ContestLobby/map.json
+++ b/data/maps/FallarborTown_ContestLobby/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_ContestLobby_EventScript_1539CD",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_ContestLobby_EventScript_153A8E",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_ContestLobby_EventScript_153AB2",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_ContestLobby_EventScript_1B778A",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_ContestLobby_EventScript_1AE0B6",
"flag": "FLAG_HIDE_CONTEST_REPORTER_FALLARBOR"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_ContestLobby_EventScript_153A97",
"flag": "0"
diff --git a/data/maps/FallarborTown_House1/map.json b/data/maps/FallarborTown_House1/map.json
index 94a3ea653..e809610c8 100644
--- a/data/maps/FallarborTown_House1/map.json
+++ b/data/maps/FallarborTown_House1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_House1_EventScript_153BB5",
"flag": "FLAG_HIDE_PROF_COSMO_FALLARBOR"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_House1_EventScript_153C5E",
"flag": "0"
diff --git a/data/maps/FallarborTown_House2/map.json b/data/maps/FallarborTown_House2/map.json
index b113df4ea..bd522be27 100644
--- a/data/maps/FallarborTown_House2/map.json
+++ b/data/maps/FallarborTown_House2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_House2_EventScript_153C91",
"flag": "0"
diff --git a/data/maps/FallarborTown_Mart/map.json b/data/maps/FallarborTown_Mart/map.json
index a2ef49c03..e325134c4 100644
--- a/data/maps/FallarborTown_Mart/map.json
+++ b/data/maps/FallarborTown_Mart/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_Mart_EventScript_153967",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_Mart_EventScript_15399C",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_Mart_EventScript_1539A5",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_Mart_EventScript_1539AE",
"flag": "0"
diff --git a/data/maps/FallarborTown_PokemonCenter_1F/map.json b/data/maps/FallarborTown_PokemonCenter_1F/map.json
index 7642da9bb..ee1a96ba7 100644
--- a/data/maps/FallarborTown_PokemonCenter_1F/map.json
+++ b/data/maps/FallarborTown_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_PokemonCenter_1F_EventScript_153B02",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_PokemonCenter_1F_EventScript_153B10",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_PokemonCenter_1F_EventScript_153B19",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_PokemonCenter_1F_EventScript_153B22",
"flag": "FLAG_HIDE_LANETTE_FALLARBOR"
diff --git a/data/maps/FallarborTown_PokemonCenter_2F/map.json b/data/maps/FallarborTown_PokemonCenter_2F/map.json
index 0279f1562..4dec245fe 100644
--- a/data/maps/FallarborTown_PokemonCenter_2F/map.json
+++ b/data/maps/FallarborTown_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_PokemonCenter_2F_EventScript_153BA8",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_PokemonCenter_2F_EventScript_153B9C",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_PokemonCenter_2F_EventScript_153BA2",
"flag": "0"
diff --git a/data/maps/FieryPath/map.json b/data/maps/FieryPath/map.json
index 1af09e409..c02965a1d 100644
--- a/data/maps/FieryPath/map.json
+++ b/data/maps/FieryPath/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FieryPath_EventScript_1B17EE",
"flag": "FLAG_ITEM_FIERY_PATH_1"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_11"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_12"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_13"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_14"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_15"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_16"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FieryPath_EventScript_1B17E1",
"flag": "FLAG_ITEM_FIERY_PATH_2"
diff --git a/data/maps/FortreeCity/map.json b/data/maps/FortreeCity/map.json
index 2802ae84d..a3e85f687 100644
--- a/data/maps/FortreeCity/map.json
+++ b/data/maps/FortreeCity/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_14C955",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_14C97D",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_14C95E",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_14C98F",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_14C986",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_14C998",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_EventScript_14C9B3",
"flag": "FLAG_HIDE_KECLEON_FORTREE"
diff --git a/data/maps/FortreeCity_DecorationShop/map.json b/data/maps/FortreeCity_DecorationShop/map.json
index 9dcd666c3..896aa737e 100644
--- a/data/maps/FortreeCity_DecorationShop/map.json
+++ b/data/maps/FortreeCity_DecorationShop/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_DecorationShop_EventScript_158258",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_DecorationShop_EventScript_158261",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_DecorationShop_EventScript_15826A",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_DecorationShop_EventScript_158298",
"flag": "0"
diff --git a/data/maps/FortreeCity_Gym/map.json b/data/maps/FortreeCity_Gym/map.json
index d2a9b517e..c967fd6c8 100644
--- a/data/maps/FortreeCity_Gym/map.json
+++ b/data/maps/FortreeCity_Gym/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_Gym_EventScript_157EF0",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "FortreeCity_Gym_EventScript_157F62",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "FortreeCity_Gym_EventScript_157F90",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "FortreeCity_Gym_EventScript_157FA7",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "FortreeCity_Gym_EventScript_157F79",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_Gym_EventScript_157FBE",
"flag": "0"
diff --git a/data/maps/FortreeCity_House1/map.json b/data/maps/FortreeCity_House1/map.json
index b1dfbf2d7..1043bec20 100644
--- a/data/maps/FortreeCity_House1/map.json
+++ b/data/maps/FortreeCity_House1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House1_EventScript_157E13",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House1_EventScript_157EC0",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House1_EventScript_157EB7",
"flag": "0"
diff --git a/data/maps/FortreeCity_House2/map.json b/data/maps/FortreeCity_House2/map.json
index 5f14237e1..47ccdfbb3 100644
--- a/data/maps/FortreeCity_House2/map.json
+++ b/data/maps/FortreeCity_House2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House2_EventScript_1580B4",
"flag": "0"
diff --git a/data/maps/FortreeCity_House3/map.json b/data/maps/FortreeCity_House3/map.json
index 3f23b0ada..85509eed4 100644
--- a/data/maps/FortreeCity_House3/map.json
+++ b/data/maps/FortreeCity_House3/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House3_EventScript_15816C",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House3_EventScript_158175",
"flag": "0"
diff --git a/data/maps/FortreeCity_House4/map.json b/data/maps/FortreeCity_House4/map.json
index a217711ba..c0256d8a4 100644
--- a/data/maps/FortreeCity_House4/map.json
+++ b/data/maps/FortreeCity_House4/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House4_EventScript_15817F",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House4_EventScript_158188",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House4_EventScript_15821E",
"flag": "FLAG_HIDE_WINGULL_FORTREE_HOUSE"
diff --git a/data/maps/FortreeCity_House5/map.json b/data/maps/FortreeCity_House5/map.json
index 1b3535ddf..5324d59f2 100644
--- a/data/maps/FortreeCity_House5/map.json
+++ b/data/maps/FortreeCity_House5/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_UP_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House5_EventScript_158232",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House5_EventScript_158244",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_House5_EventScript_15823B",
"flag": "0"
diff --git a/data/maps/FortreeCity_Mart/map.json b/data/maps/FortreeCity_Mart/map.json
index 366dd8d69..ebf83b274 100644
--- a/data/maps/FortreeCity_Mart/map.json
+++ b/data/maps/FortreeCity_Mart/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_Mart_EventScript_158067",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_Mart_EventScript_158098",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_Mart_EventScript_1580A1",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_Mart_EventScript_1580AA",
"flag": "0"
diff --git a/data/maps/FortreeCity_PokemonCenter_1F/map.json b/data/maps/FortreeCity_PokemonCenter_1F/map.json
index c18237db4..e5ab2916d 100644
--- a/data/maps/FortreeCity_PokemonCenter_1F/map.json
+++ b/data/maps/FortreeCity_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_PokemonCenter_1F_EventScript_15801B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_PokemonCenter_1F_EventScript_158029",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_PokemonCenter_1F_EventScript_158032",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_PokemonCenter_1F_EventScript_15803B",
"flag": "0"
diff --git a/data/maps/FortreeCity_PokemonCenter_2F/map.json b/data/maps/FortreeCity_PokemonCenter_2F/map.json
index 7a19eb100..169f5ac1c 100644
--- a/data/maps/FortreeCity_PokemonCenter_2F/map.json
+++ b/data/maps/FortreeCity_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_PokemonCenter_2F_EventScript_158054",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_PokemonCenter_2F_EventScript_15805A",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_PokemonCenter_2F_EventScript_158060",
"flag": "0"
diff --git a/data/maps/GraniteCave_1F/map.json b/data/maps/GraniteCave_1F/map.json
index be6ec6372..c19b0e793 100644
--- a/data/maps/GraniteCave_1F/map.json
+++ b/data/maps/GraniteCave_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "GraniteCave_1F_EventScript_15CBA7",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "GraniteCave_1F_EventScript_1B17A0",
"flag": "FLAG_ITEM_GRANITE_CAVE_1F_1"
diff --git a/data/maps/GraniteCave_B1F/map.json b/data/maps/GraniteCave_B1F/map.json
index 65c55e08d..0d8e71457 100644
--- a/data/maps/GraniteCave_B1F/map.json
+++ b/data/maps/GraniteCave_B1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "GraniteCave_B1F_EventScript_1B17AD",
"flag": "FLAG_ITEM_GRANITE_CAVE_B1F_1"
diff --git a/data/maps/GraniteCave_B2F/map.json b/data/maps/GraniteCave_B2F/map.json
index 5060b2f3b..fc4993edc 100644
--- a/data/maps/GraniteCave_B2F/map.json
+++ b/data/maps/GraniteCave_B2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "GraniteCave_B2F_EventScript_1B17BA",
"flag": "FLAG_ITEM_GRANITE_CAVE_B2F_1"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "GraniteCave_B2F_EventScript_1B17C7",
"flag": "FLAG_ITEM_GRANITE_CAVE_B2F_2"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_11"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_12"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_13"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_14"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_15"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_16"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_17"
diff --git a/data/maps/GraniteCave_StevensRoom/map.json b/data/maps/GraniteCave_StevensRoom/map.json
index 28d6e9e8c..18ddac4b3 100644
--- a/data/maps/GraniteCave_StevensRoom/map.json
+++ b/data/maps/GraniteCave_StevensRoom/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "GraniteCave_StevensRoom_EventScript_15CBFA",
"flag": "FLAG_HIDE_STEVEN_GRANITE_CAVE"
diff --git a/data/maps/InsideOfTruck/map.json b/data/maps/InsideOfTruck/map.json
index 23d0d9acc..2847ebb9c 100644
--- a/data/maps/InsideOfTruck/map.json
+++ b/data/maps/InsideOfTruck/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "InsideOfTruck_EventScript_15FC8B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "InsideOfTruck_EventScript_15FC8B",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "InsideOfTruck_EventScript_15FC8B",
"flag": "0"
diff --git a/data/maps/IslandCave/map.json b/data/maps/IslandCave/map.json
index 93fbe62c9..405f2699c 100644
--- a/data/maps/IslandCave/map.json
+++ b/data/maps/IslandCave/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "IslandCave_EventScript_15EF9D",
"flag": "FLAG_HIDE_REGICE"
diff --git a/data/maps/JaggedPass/map.json b/data/maps/JaggedPass/map.json
index 562ba58ed..6076e813d 100644
--- a/data/maps/JaggedPass/map.json
+++ b/data/maps/JaggedPass/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "JaggedPass_EventScript_15D285",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "JaggedPass_EventScript_15D2DA",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "JaggedPass_EventScript_1B17D4",
"flag": "FLAG_ITEM_JAGGED_PASS_1"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "JaggedPass_EventScript_15D29C",
"flag": "0"
diff --git a/data/maps/LavaridgeTown/map.json b/data/maps/LavaridgeTown/map.json
index 64958c3ba..dffded86a 100644
--- a/data/maps/LavaridgeTown/map.json
+++ b/data/maps/LavaridgeTown/map.json
@@ -25,7 +25,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_14E751",
"flag": "0"
@@ -38,7 +38,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_14E724",
"flag": "0"
@@ -51,7 +51,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_14E72D",
"flag": "0"
@@ -64,7 +64,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_14E736",
"flag": "0"
@@ -77,7 +77,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_14E73F",
"flag": "0"
@@ -90,7 +90,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_14E748",
"flag": "0"
@@ -103,7 +103,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_RIVAL_LAVARIDGE_2"
@@ -116,7 +116,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_14E575",
"flag": "FLAG_HIDE_RIVAL_LAVARIDGE_1"
@@ -129,7 +129,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_EventScript_14E75A",
"flag": "0"
diff --git a/data/maps/LavaridgeTown_Gym_1F/map.json b/data/maps/LavaridgeTown_Gym_1F/map.json
index 8abc65dc9..7d1979893 100644
--- a/data/maps/LavaridgeTown_Gym_1F/map.json
+++ b/data/maps/LavaridgeTown_Gym_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_Gym_1F_EventScript_153741",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "3",
+ "trainer_type": "TRAINER_TYPE_BURIED",
"trainer_sight_or_berry_tree_id": "1",
"script": "LavaridgeTown_Gym_1F_EventScript_1537CB",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "3",
+ "trainer_type": "TRAINER_TYPE_BURIED",
"trainer_sight_or_berry_tree_id": "1",
"script": "LavaridgeTown_Gym_1F_EventScript_15383E",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "3",
+ "trainer_type": "TRAINER_TYPE_BURIED",
"trainer_sight_or_berry_tree_id": "1",
"script": "LavaridgeTown_Gym_1F_EventScript_1537ED",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "3",
+ "trainer_type": "TRAINER_TYPE_BURIED",
"trainer_sight_or_berry_tree_id": "1",
"script": "LavaridgeTown_Gym_1F_EventScript_153823",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_Gym_1F_EventScript_153859",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "3",
+ "trainer_type": "TRAINER_TYPE_BURIED",
"trainer_sight_or_berry_tree_id": "1",
"script": "LavaridgeTown_Gym_1F_EventScript_153808",
"flag": "0"
diff --git a/data/maps/LavaridgeTown_HerbShop/map.json b/data/maps/LavaridgeTown_HerbShop/map.json
index 651ec648b..385573370 100644
--- a/data/maps/LavaridgeTown_HerbShop/map.json
+++ b/data/maps/LavaridgeTown_HerbShop/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_HerbShop_EventScript_153629",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_HerbShop_EventScript_153655",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_HerbShop_EventScript_15364C",
"flag": "0"
diff --git a/data/maps/LavaridgeTown_House/map.json b/data/maps/LavaridgeTown_House/map.json
index 4035f889a..119f2f10f 100644
--- a/data/maps/LavaridgeTown_House/map.json
+++ b/data/maps/LavaridgeTown_House/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_House_EventScript_1538AE",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_House_EventScript_1538B7",
"flag": "0"
diff --git a/data/maps/LavaridgeTown_Mart/map.json b/data/maps/LavaridgeTown_Mart/map.json
index 060d69e0c..a19b8bf95 100644
--- a/data/maps/LavaridgeTown_Mart/map.json
+++ b/data/maps/LavaridgeTown_Mart/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_Mart_EventScript_1538CB",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_Mart_EventScript_1538FA",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_Mart_EventScript_153903",
"flag": "0"
diff --git a/data/maps/LavaridgeTown_PokemonCenter_1F/map.json b/data/maps/LavaridgeTown_PokemonCenter_1F/map.json
index b823fcabe..6f722df89 100644
--- a/data/maps/LavaridgeTown_PokemonCenter_1F/map.json
+++ b/data/maps/LavaridgeTown_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_PokemonCenter_1F_EventScript_15391B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_PokemonCenter_1F_EventScript_153929",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_PokemonCenter_1F_EventScript_153932",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_PokemonCenter_1F_EventScript_15393B",
"flag": "0"
diff --git a/data/maps/LavaridgeTown_PokemonCenter_2F/map.json b/data/maps/LavaridgeTown_PokemonCenter_2F/map.json
index ec48712c6..b6dbb1b47 100644
--- a/data/maps/LavaridgeTown_PokemonCenter_2F/map.json
+++ b/data/maps/LavaridgeTown_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_PokemonCenter_2F_EventScript_153960",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_PokemonCenter_2F_EventScript_153954",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_PokemonCenter_2F_EventScript_15395A",
"flag": "0"
diff --git a/data/maps/LilycoveCity/map.json b/data/maps/LilycoveCity/map.json
index ced85adc0..7da6b4d91 100644
--- a/data/maps/LilycoveCity/map.json
+++ b/data/maps/LilycoveCity/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CBEF",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CBC7",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CBBE",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CBE6",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CC2D",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CC0E",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CC36",
"flag": "0"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CC3F",
"flag": "0"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CC48",
"flag": "0"
@@ -147,7 +147,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CCE5",
"flag": "FLAG_HIDE_GRUNTS_LILYCOVE"
@@ -160,7 +160,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1B1738",
"flag": "FLAG_ITEM_LILYCOVE_1"
@@ -173,7 +173,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CD3D",
"flag": "FLAG_HIDE_GRUNTS_LILYCOVE"
@@ -186,7 +186,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CD22",
"flag": "FLAG_HIDE_GRUNTS_LILYCOVE"
@@ -199,7 +199,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CD2B",
"flag": "FLAG_HIDE_GRUNTS_LILYCOVE"
@@ -212,7 +212,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CD34",
"flag": "FLAG_HIDE_GRUNTS_LILYCOVE"
@@ -225,7 +225,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CB74",
"flag": "0"
@@ -238,7 +238,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_14CD46",
"flag": "FLAG_HIDE_RIVAL_LILYCOVE_MART"
diff --git a/data/maps/LilycoveCity_ContestHall/map.json b/data/maps/LilycoveCity_ContestHall/map.json
index b77a43092..d0f411d54 100644
--- a/data/maps/LilycoveCity_ContestHall/map.json
+++ b/data/maps/LilycoveCity_ContestHall/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 4,
"movement_range_y": 4,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_15909B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 3,
"movement_range_y": 3,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1590A4",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1590AD",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1590BF",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1590D4",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1590E9",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1590FE",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_159113",
"flag": "0"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_159128",
"flag": "0"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_15913D",
"flag": "0"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_159170",
"flag": "0"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_159146",
"flag": "0"
@@ -175,7 +175,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_159185",
"flag": "0"
@@ -188,7 +188,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_15919A",
"flag": "0"
@@ -201,7 +201,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1591AF",
"flag": "0"
@@ -214,7 +214,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1591C4",
"flag": "0"
@@ -227,7 +227,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1591D9",
"flag": "0"
@@ -240,7 +240,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1591EE",
"flag": "0"
@@ -253,7 +253,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_159203",
"flag": "0"
@@ -266,7 +266,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_15922D",
"flag": "0"
@@ -279,7 +279,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_159218",
"flag": "0"
@@ -292,7 +292,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_15915B",
"flag": "0"
@@ -305,7 +305,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_159242",
"flag": "0"
@@ -318,7 +318,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_159257",
"flag": "0"
@@ -331,7 +331,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_15926C",
"flag": "0"
@@ -344,7 +344,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_159281",
"flag": "0"
@@ -357,7 +357,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_159296",
"flag": "0"
@@ -370,7 +370,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1592AB",
"flag": "0"
@@ -383,7 +383,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1592C0",
"flag": "0"
@@ -396,7 +396,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1592F7",
"flag": "0"
@@ -409,7 +409,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1592E2",
"flag": "0"
@@ -422,7 +422,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_1590B6",
"flag": "0"
diff --git a/data/maps/LilycoveCity_ContestLobby/map.json b/data/maps/LilycoveCity_ContestLobby/map.json
index ec02f26f1..83697d1e8 100644
--- a/data/maps/LilycoveCity_ContestLobby/map.json
+++ b/data/maps/LilycoveCity_ContestLobby/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_158EB0",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_158B85",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_1B77AB",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_ATTENDENT_1"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_15901E",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_159027",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_159042",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_1AE0B6",
"flag": "FLAG_HIDE_CONTEST_REPORTER_LILYCOVE"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_15907B",
"flag": "0"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_159084",
"flag": "0"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_ARTIST_LILCOVE_CONTEST"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_159054",
"flag": "0"
@@ -175,7 +175,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_15904B",
"flag": "0"
@@ -188,7 +188,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_15905D",
"flag": "0"
diff --git a/data/maps/LilycoveCity_CoveLilyMotel_1F/map.json b/data/maps/LilycoveCity_CoveLilyMotel_1F/map.json
index c7ef3cb00..4bcb4ab57 100644
--- a/data/maps/LilycoveCity_CoveLilyMotel_1F/map.json
+++ b/data/maps/LilycoveCity_CoveLilyMotel_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_1F_EventScript_1582C5",
"flag": "0"
diff --git a/data/maps/LilycoveCity_CoveLilyMotel_2F/map.json b/data/maps/LilycoveCity_CoveLilyMotel_2F/map.json
index 6d5093142..954635fbd 100644
--- a/data/maps/LilycoveCity_CoveLilyMotel_2F/map.json
+++ b/data/maps/LilycoveCity_CoveLilyMotel_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_1583A1",
"flag": "FLAG_HIDE_LILYCOVE_MOTEL_PEOPLE"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_1583F7",
"flag": "FLAG_HIDE_LILYCOVE_MOTEL_PEOPLE"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_158400",
"flag": "FLAG_HIDE_LILYCOVE_MOTEL_PEOPLE"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_1583EE",
"flag": "FLAG_HIDE_LILYCOVE_MOTEL_PEOPLE"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_158412",
"flag": "FLAG_HIDE_LILYCOVE_MOTEL_PEOPLE"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_158409",
"flag": "FLAG_HIDE_LILYCOVE_MOTEL_PEOPLE"
diff --git a/data/maps/LilycoveCity_DepartmentStoreElevator/map.json b/data/maps/LilycoveCity_DepartmentStoreElevator/map.json
index 9ea7fd933..4f3fd5189 100644
--- a/data/maps/LilycoveCity_DepartmentStoreElevator/map.json
+++ b/data/maps/LilycoveCity_DepartmentStoreElevator/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStoreElevator_EventScript_15A39C",
"flag": "0"
diff --git a/data/maps/LilycoveCity_DepartmentStoreRooftop/map.json b/data/maps/LilycoveCity_DepartmentStoreRooftop/map.json
index 0ec2ad64b..83412d697 100644
--- a/data/maps/LilycoveCity_DepartmentStoreRooftop/map.json
+++ b/data/maps/LilycoveCity_DepartmentStoreRooftop/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_15A1A0",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_15A1C4",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_15A167",
"flag": "FLAG_HIDE_ROOFTOP_LADY_LILYCOVE_MART"
diff --git a/data/maps/LilycoveCity_DepartmentStore_1F/map.json b/data/maps/LilycoveCity_DepartmentStore_1F/map.json
index 1d88cb7ae..77d3eb262 100644
--- a/data/maps/LilycoveCity_DepartmentStore_1F/map.json
+++ b/data/maps/LilycoveCity_DepartmentStore_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_159D55",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_159D5E",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_159ED7",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_159EE0",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_159EE9",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_159EF2",
"flag": "0"
diff --git a/data/maps/LilycoveCity_DepartmentStore_2F/map.json b/data/maps/LilycoveCity_DepartmentStore_2F/map.json
index fa87aaa80..503dc35c5 100644
--- a/data/maps/LilycoveCity_DepartmentStore_2F/map.json
+++ b/data/maps/LilycoveCity_DepartmentStore_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_159F0F",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_159F18",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_159F21",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_159F5E",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_159F2A",
"flag": "0"
diff --git a/data/maps/LilycoveCity_DepartmentStore_3F/map.json b/data/maps/LilycoveCity_DepartmentStore_3F/map.json
index a8b94d162..49b978443 100644
--- a/data/maps/LilycoveCity_DepartmentStore_3F/map.json
+++ b/data/maps/LilycoveCity_DepartmentStore_3F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_159FE2",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_159FEB",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_159FF4",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_159F91",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_159FB8",
"flag": "0"
diff --git a/data/maps/LilycoveCity_DepartmentStore_4F/map.json b/data/maps/LilycoveCity_DepartmentStore_4F/map.json
index 17aa1c20c..f6d7ea584 100644
--- a/data/maps/LilycoveCity_DepartmentStore_4F/map.json
+++ b/data/maps/LilycoveCity_DepartmentStore_4F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_159FFE",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_15A007",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_15A010",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_15A019",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_15A03C",
"flag": "0"
diff --git a/data/maps/LilycoveCity_DepartmentStore_5F/map.json b/data/maps/LilycoveCity_DepartmentStore_5F/map.json
index 23da6139d..951ccadab 100644
--- a/data/maps/LilycoveCity_DepartmentStore_5F/map.json
+++ b/data/maps/LilycoveCity_DepartmentStore_5F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_15A136",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_15A124",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_15A061",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_15A094",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_15A0C2",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_15A0F2",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_15A12D",
"flag": "0"
diff --git a/data/maps/LilycoveCity_Harbor/map.json b/data/maps/LilycoveCity_Harbor/map.json
index 1c58a59a7..5b31c8129 100644
--- a/data/maps/LilycoveCity_Harbor/map.json
+++ b/data/maps/LilycoveCity_Harbor/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_Harbor_EventScript_1598A2",
"flag": "FLAG_HIDE_FERRY_ATTENDANT_LILYCOVE"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_SS_TIDAL_LILYCOVE_HARBOR"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_Harbor_EventScript_159A8D",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_FERRY_SAILOR_LILYCOVE"
diff --git a/data/maps/LilycoveCity_House1/map.json b/data/maps/LilycoveCity_House1/map.json
index efc66e267..f3e5f9062 100644
--- a/data/maps/LilycoveCity_House1/map.json
+++ b/data/maps/LilycoveCity_House1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_House1_EventScript_159B86",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_House1_EventScript_159B8F",
"flag": "0"
diff --git a/data/maps/LilycoveCity_House2/map.json b/data/maps/LilycoveCity_House2/map.json
index 47d919218..37c25007d 100644
--- a/data/maps/LilycoveCity_House2/map.json
+++ b/data/maps/LilycoveCity_House2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_House2_EventScript_159BA3",
"flag": "0"
diff --git a/data/maps/LilycoveCity_House3/map.json b/data/maps/LilycoveCity_House3/map.json
index ee0bd57b5..4c8b928e4 100644
--- a/data/maps/LilycoveCity_House3/map.json
+++ b/data/maps/LilycoveCity_House3/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_House3_EventScript_159CE5",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_House3_EventScript_159BF3",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_House3_EventScript_159C7D",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_House3_EventScript_159CB1",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_House3_EventScript_159C49",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_House3_EventScript_159C32",
"flag": "0"
diff --git a/data/maps/LilycoveCity_House4/map.json b/data/maps/LilycoveCity_House4/map.json
index 7645f5564..874f8f6df 100644
--- a/data/maps/LilycoveCity_House4/map.json
+++ b/data/maps/LilycoveCity_House4/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_House4_EventScript_159D42",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_House4_EventScript_159D4B",
"flag": "0"
diff --git a/data/maps/LilycoveCity_LilycoveMuseum_1F/map.json b/data/maps/LilycoveCity_LilycoveMuseum_1F/map.json
index 07ef68f64..4fd29b047 100644
--- a/data/maps/LilycoveCity_LilycoveMuseum_1F/map.json
+++ b/data/maps/LilycoveCity_LilycoveMuseum_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_1F_EventScript_15841C",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_1F_EventScript_158425",
"flag": "FLAG_HIDE_LILYCOVE_MUSEUM_CURATOR"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_1F_EventScript_158558",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 2,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_1F_EventScript_158561",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_1F_EventScript_15856A",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_1F_EventScript_158573",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_1F_EventScript_15857C",
"flag": "FLAG_HIDE_LILYCOVE_MUSEUM_PAINTING_LADY"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_1F_EventScript_15858E",
"flag": "FLAG_HIDE_LILYCOVE_MUSEUM_PAINTER"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_1F_EventScript_1585A3",
"flag": "FLAG_HIDE_LILYCOVE_MUSEUM_VISITORS"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_1F_EventScript_158585",
"flag": "FLAG_HIDE_LILYCOVE_MUSEUM_PAINTING_MAN"
diff --git a/data/maps/LilycoveCity_LilycoveMuseum_2F/map.json b/data/maps/LilycoveCity_LilycoveMuseum_2F/map.json
index 64b70f3d1..fc1a594d4 100644
--- a/data/maps/LilycoveCity_LilycoveMuseum_2F/map.json
+++ b/data/maps/LilycoveCity_LilycoveMuseum_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_2F_EventScript_1586D8",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_2F_EventScript_158805",
"flag": "FLAG_HIDE_LILYCOVE_MUSEUM_PAINTING_GIRL"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_2F_EventScript_15880E",
"flag": "FLAG_HIDE_LILYCOVE_MUSEUM_VISITORS"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_LilycoveMuseum_2F_EventScript_158817",
"flag": "FLAG_HIDE_LILYCOVE_MUSEUM_VISITORS"
diff --git a/data/maps/LilycoveCity_MoveDeletersHouse/map.json b/data/maps/LilycoveCity_MoveDeletersHouse/map.json
index 97b012072..1893cbd0d 100644
--- a/data/maps/LilycoveCity_MoveDeletersHouse/map.json
+++ b/data/maps/LilycoveCity_MoveDeletersHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_MoveDeletersHouse_EventScript_159AAE",
"flag": "0"
diff --git a/data/maps/LilycoveCity_PokemonCenter_1F/map.json b/data/maps/LilycoveCity_PokemonCenter_1F/map.json
index cca7088ee..96bebc00d 100644
--- a/data/maps/LilycoveCity_PokemonCenter_1F/map.json
+++ b/data/maps/LilycoveCity_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_159331",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_15933F",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_159348",
"flag": "0"
diff --git a/data/maps/LilycoveCity_PokemonCenter_2F/map.json b/data/maps/LilycoveCity_PokemonCenter_2F/map.json
index 549fe96df..8d6ec1169 100644
--- a/data/maps/LilycoveCity_PokemonCenter_2F/map.json
+++ b/data/maps/LilycoveCity_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonCenter_2F_EventScript_159377",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonCenter_2F_EventScript_15937D",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonCenter_2F_EventScript_159383",
"flag": "0"
diff --git a/data/maps/LilycoveCity_PokemonTrainerFanClub/map.json b/data/maps/LilycoveCity_PokemonTrainerFanClub/map.json
index 7310a5ed5..9d58bfc29 100644
--- a/data/maps/LilycoveCity_PokemonTrainerFanClub/map.json
+++ b/data/maps/LilycoveCity_PokemonTrainerFanClub/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonTrainerFanClub_EventScript_1595A6",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonTrainerFanClub_EventScript_15952F",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonTrainerFanClub_EventScript_15961D",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonTrainerFanClub_EventScript_159694",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonTrainerFanClub_EventScript_15970B",
"flag": "FLAG_HIDE_FANCLUB_LITTLE_BOY"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonTrainerFanClub_EventScript_15976D",
"flag": "FLAG_HIDE_FANCLUB_BOY"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonTrainerFanClub_EventScript_1597CF",
"flag": "FLAG_HIDE_FANCLUB_LADY"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonTrainerFanClub_EventScript_159831",
"flag": "FLAG_HIDE_FANCLUB_OLD_LADY"
diff --git a/data/maps/LinkContestRoom1/map.json b/data/maps/LinkContestRoom1/map.json
index ba40fea8f..35a00a498 100644
--- a/data/maps/LinkContestRoom1/map.json
+++ b/data/maps/LinkContestRoom1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -175,7 +175,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_LINK_CONTEST_ROOM_POKEBALL"
@@ -188,7 +188,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -201,7 +201,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
diff --git a/data/maps/LittlerootTown/map.json b/data/maps/LittlerootTown/map.json
index 2a432f363..2ce0ea4a1 100644
--- a/data/maps/LittlerootTown/map.json
+++ b/data/maps/LittlerootTown/map.json
@@ -25,7 +25,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_EventScript_14D6DF",
"flag": "0"
@@ -38,7 +38,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_EventScript_14D6CD",
"flag": "FLAG_HIDE_FAT_MAN_LITTLEROOT"
@@ -51,7 +51,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_EventScript_14D6D6",
"flag": "0"
@@ -64,7 +64,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_EventScript_14DCE2",
"flag": "FLAG_HIDE_MOM_LITTLEROOT"
@@ -77,7 +77,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_MOVING_TRUCK_BRENDAN"
@@ -90,7 +90,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_MOVING_TRUCK_MAY"
diff --git a/data/maps/LittlerootTown_BrendansHouse_1F/map.json b/data/maps/LittlerootTown_BrendansHouse_1F/map.json
index 166451028..5c8d5c2e0 100644
--- a/data/maps/LittlerootTown_BrendansHouse_1F/map.json
+++ b/data/maps/LittlerootTown_BrendansHouse_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1B6BE9",
"flag": "FLAG_HIDE_BRENDAN_MOM_DOWNSTAIRS"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_RIGHT_AND_LEFT",
"movement_range_x": 3,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1B6CB9",
"flag": "FLAG_HIDE_MACHOKE_MOVER_2"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1B6CA6",
"flag": "FLAG_HIDE_MACHOKE_MOVER_1"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1529EB",
"flag": "FLAG_HIDE_BRENDAN_MOM"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_NORMAN_LITTLEROOT"
diff --git a/data/maps/LittlerootTown_BrendansHouse_2F/map.json b/data/maps/LittlerootTown_BrendansHouse_2F/map.json
index bb38b7c46..2d0a0f901 100644
--- a/data/maps/LittlerootTown_BrendansHouse_2F/map.json
+++ b/data/maps/LittlerootTown_BrendansHouse_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_152A9D",
"flag": "FLAG_HIDE_BRENDAN_UPSTAIRS"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -175,7 +175,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -188,7 +188,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_MOM_UPSTAIRS"
diff --git a/data/maps/LittlerootTown_MaysHouse_1F/map.json b/data/maps/LittlerootTown_MaysHouse_1F/map.json
index 15b502ef3..ac2048fbf 100644
--- a/data/maps/LittlerootTown_MaysHouse_1F/map.json
+++ b/data/maps/LittlerootTown_MaysHouse_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1B6BE9",
"flag": "FLAG_HIDE_MAY_MOM_DOWNSTAIRS"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1B6CA6",
"flag": "FLAG_HIDE_MACHOKE_MOVER_1"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_LEFT_AND_RIGHT",
"movement_range_x": 3,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1B6CB9",
"flag": "FLAG_HIDE_MACHOKE_MOVER_2"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1529EB",
"flag": "FLAG_HIDE_MAY_MOM"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_NORMAN_LITTLEROOT"
diff --git a/data/maps/LittlerootTown_MaysHouse_2F/map.json b/data/maps/LittlerootTown_MaysHouse_2F/map.json
index 8c1861439..877166683 100644
--- a/data/maps/LittlerootTown_MaysHouse_2F/map.json
+++ b/data/maps/LittlerootTown_MaysHouse_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_2F_EventScript_152A9D",
"flag": "FLAG_HIDE_MAY_UPSTAIRS"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -175,7 +175,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -188,7 +188,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_MOM_UPSTAIRS"
@@ -201,7 +201,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_MAY_PICHU_DOLL"
diff --git a/data/maps/LittlerootTown_ProfessorBirchsLab/map.json b/data/maps/LittlerootTown_ProfessorBirchsLab/map.json
index cef892407..214bc4654 100644
--- a/data/maps/LittlerootTown_ProfessorBirchsLab/map.json
+++ b/data/maps/LittlerootTown_ProfessorBirchsLab/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_ProfessorBirchsLab_EventScript_152D63",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_ProfessorBirchsLab_EventScript_152D9A",
"flag": "FLAG_HIDE_BIRCH_IN_LAB"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_ProfessorBirchsLab_EventScript_152EA3",
"flag": "FLAG_HIDE_RIVAL_BIRCH_LAB"
diff --git a/data/maps/MagmaHideout_1F/map.json b/data/maps/MagmaHideout_1F/map.json
index b4df38381..dba9b43bc 100644
--- a/data/maps/MagmaHideout_1F/map.json
+++ b/data/maps/MagmaHideout_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MagmaHideout_1F_EventScript_15D7CE",
"flag": "FLAG_HIDE_GRUNT_1_BLOCKING_HIDEOUT"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MagmaHideout_1F_EventScript_15D7ED",
"flag": "FLAG_HIDE_GRUNT_2_BLOCKING_HIDEOUT"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_LEFT_UP_RIGHT",
"movement_range_x": 14,
"movement_range_y": 6,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MagmaHideout_1F_EventScript_15D80C",
"flag": "0"
diff --git a/data/maps/MagmaHideout_B1F/map.json b/data/maps/MagmaHideout_B1F/map.json
index 50c510625..6219a75db 100644
--- a/data/maps/MagmaHideout_B1F/map.json
+++ b/data/maps/MagmaHideout_B1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "5",
"script": "MagmaHideout_B1F_EventScript_15D850",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MagmaHideout_B1F_EventScript_15D875",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_LEFT_AND_RIGHT",
"movement_range_x": 4,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MagmaHideout_B1F_EventScript_15D89A",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MagmaHideout_B1F_EventScript_1B19C2",
"flag": "FLAG_ITEM_MAGMA_HIDEOUT_B1F_1"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MagmaHideout_B1F_EventScript_1B19DC",
"flag": "FLAG_ITEM_MAGMA_HIDEOUT_B1F_2"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Hideout_B1F_EventScript_Electrode1",
"flag": "FLAG_HIDE_ELECTRODE_1_HIDEOUT"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MagmaHideout_B1F_EventScript_1B19CF",
"flag": "FLAG_ITEM_MAGMA_HIDEOUT_B1F_3"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Hideout_B1F_EventScript_Electrode2",
"flag": "FLAG_HIDE_ELECTRODE_2_HIDEOUT"
diff --git a/data/maps/MagmaHideout_B2F/map.json b/data/maps/MagmaHideout_B2F/map.json
index e1a03b59c..8562e15d6 100644
--- a/data/maps/MagmaHideout_B2F/map.json
+++ b/data/maps/MagmaHideout_B2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MagmaHideout_B2F_EventScript_15D8E1",
"flag": "FLAG_HIDE_GRUNTS_HIDEOUTS"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_LEFT_UP_RIGHT_DOWN",
"movement_range_x": 7,
"movement_range_y": 4,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MagmaHideout_B2F_EventScript_15D962",
"flag": "FLAG_HIDE_GRUNTS_HIDEOUTS"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_SUBMARINE_SHADOW_HIDEOUT"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "MagmaHideout_B2F_EventScript_15D987",
"flag": "FLAG_HIDE_GRUNTS_HIDEOUTS"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MagmaHideout_B2F_EventScript_1B19E9",
"flag": "FLAG_ITEM_MAGMA_HIDEOUT_B2F_1"
diff --git a/data/maps/MauvilleCity/map.json b/data/maps/MauvilleCity/map.json
index c460496cc..fa745647e 100644
--- a/data/maps/MauvilleCity/map.json
+++ b/data/maps/MauvilleCity/map.json
@@ -40,7 +40,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_14C05A",
"flag": "0"
@@ -53,7 +53,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_14C075",
"flag": "0"
@@ -66,7 +66,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_14C063",
"flag": "0"
@@ -79,7 +79,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_14C06C",
"flag": "0"
@@ -92,7 +92,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_14C0A2",
"flag": "0"
@@ -105,7 +105,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_14C0F9",
"flag": "FLAG_HIDE_WALLY_MAUVILLE"
@@ -118,7 +118,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_14C0C4",
"flag": "FLAG_HIDE_WALLY_FATHER_MAUVILLE"
@@ -131,7 +131,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_14C2F2",
"flag": "FLAG_HIDE_WATTSON_MAUVILLE"
@@ -144,7 +144,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_EventScript_1B171E",
"flag": "FLAG_ITEM_MAUVILLE_1"
diff --git a/data/maps/MauvilleCity_BikeShop/map.json b/data/maps/MauvilleCity_BikeShop/map.json
index 05872fbc9..50ad62df9 100644
--- a/data/maps/MauvilleCity_BikeShop/map.json
+++ b/data/maps/MauvilleCity_BikeShop/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_BikeShop_EventScript_156796",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_BikeShop_EventScript_15690B",
"flag": "0"
diff --git a/data/maps/MauvilleCity_GameCorner/map.json b/data/maps/MauvilleCity_GameCorner/map.json
index f28ad929e..f8e2ed505 100644
--- a/data/maps/MauvilleCity_GameCorner/map.json
+++ b/data/maps/MauvilleCity_GameCorner/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_GameCorner_EventScript_156F84",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_GameCorner_EventScript_156F8D",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_GameCorner_EventScript_156A34",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_GameCorner_EventScript_156B6C",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_GameCorner_EventScript_156F96",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_GameCorner_EventScript_15707C",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_GameCorner_EventScript_1570D8",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_GameCorner_EventScript_1570E8",
"flag": "0"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_GameCorner_EventScript_156D1A",
"flag": "0"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_GameCorner_EventScript_1570F8",
"flag": "0"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_GameCorner_EventScript_157115",
"flag": "0"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_GameCorner_EventScript_157125",
"flag": "0"
diff --git a/data/maps/MauvilleCity_Gym/map.json b/data/maps/MauvilleCity_Gym/map.json
index e63936ff8..0ad9f27d4 100644
--- a/data/maps/MauvilleCity_Gym/map.json
+++ b/data/maps/MauvilleCity_Gym/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_Gym_EventScript_1565AB",
"flag": "FLAG_HIDE_WATTSON_MAUVILLE_GYM"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "MauvilleCity_Gym_EventScript_1566FD",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "MauvilleCity_Gym_EventScript_15672B",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "MauvilleCity_Gym_EventScript_156714",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "MauvilleCity_Gym_EventScript_1566E6",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_Gym_EventScript_156742",
"flag": "0"
diff --git a/data/maps/MauvilleCity_House1/map.json b/data/maps/MauvilleCity_House1/map.json
index ebf7c9319..30ef32dcd 100644
--- a/data/maps/MauvilleCity_House1/map.json
+++ b/data/maps/MauvilleCity_House1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_House1_EventScript_1569FD",
"flag": "0"
diff --git a/data/maps/MauvilleCity_House2/map.json b/data/maps/MauvilleCity_House2/map.json
index 2385d61b3..83d979d2c 100644
--- a/data/maps/MauvilleCity_House2/map.json
+++ b/data/maps/MauvilleCity_House2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_House2_EventScript_1572C0",
"flag": "0"
diff --git a/data/maps/MauvilleCity_Mart/map.json b/data/maps/MauvilleCity_Mart/map.json
index e4179a323..48b2dc552 100644
--- a/data/maps/MauvilleCity_Mart/map.json
+++ b/data/maps/MauvilleCity_Mart/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_Mart_EventScript_1573BE",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_Mart_EventScript_1573F4",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_Mart_EventScript_1573FD",
"flag": "0"
diff --git a/data/maps/MauvilleCity_PokemonCenter_1F/map.json b/data/maps/MauvilleCity_PokemonCenter_1F/map.json
index 551ad0e4d..3964d626a 100644
--- a/data/maps/MauvilleCity_PokemonCenter_1F/map.json
+++ b/data/maps/MauvilleCity_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_157369",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_1AE744",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_157377",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_157380",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_157389",
"flag": "0"
diff --git a/data/maps/MauvilleCity_PokemonCenter_2F/map.json b/data/maps/MauvilleCity_PokemonCenter_2F/map.json
index d4a8e42ab..163d79fb4 100644
--- a/data/maps/MauvilleCity_PokemonCenter_2F/map.json
+++ b/data/maps/MauvilleCity_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_2F_EventScript_1573A2",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_2F_EventScript_1573A8",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_2F_EventScript_1573AE",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_2F_EventScript_1573B4",
"flag": "0"
diff --git a/data/maps/MeteorFalls_1F_1R/map.json b/data/maps/MeteorFalls_1F_1R/map.json
index ab56a3c4f..221538cf2 100644
--- a/data/maps/MeteorFalls_1F_1R/map.json
+++ b/data/maps/MeteorFalls_1F_1R/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MeteorFalls_1F_1R_EventScript_1B17FB",
"flag": "FLAG_ITEM_METEOR_FALLS_1F_1R_1"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MeteorFalls_1F_1R_EventScript_1B1815",
"flag": "FLAG_ITEM_METEOR_FALLS_1F_1R_3"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MeteorFalls_1F_1R_EventScript_1B1808",
"flag": "FLAG_ITEM_METEOR_FALLS_1F_1R_2"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MeteorFalls_1F_1R_EventScript_1B1822",
"flag": "FLAG_ITEM_METEOR_FALLS_1F_1R_4"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_GRUNTS_METEOR_FALLS_1F"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_GRUNTS_METEOR_FALLS_1F"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_OTHER_TEAM_METEOR_FALLS_1F"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_OTHER_TEAM_METEOR_FALLS_1F"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_OTHER_TEAM_METEOR_FALLS_1F"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MeteorFalls_1F_1R_EventScript_15C656",
"flag": "FLAG_HIDE_PROF_COSMO_METEOR_FALLS"
diff --git a/data/maps/MeteorFalls_1F_2R/map.json b/data/maps/MeteorFalls_1F_2R/map.json
index 4580e9b23..91a12d462 100644
--- a/data/maps/MeteorFalls_1F_2R/map.json
+++ b/data/maps/MeteorFalls_1F_2R/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "MeteorFalls_1F_2R_EventScript_15C679",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "MeteorFalls_1F_2R_EventScript_15C6B7",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "MeteorFalls_1F_2R_EventScript_15C6FD",
"flag": "0"
diff --git a/data/maps/MeteorFalls_B1F_2R/map.json b/data/maps/MeteorFalls_B1F_2R/map.json
index d1c02e53a..cfc99f8a7 100644
--- a/data/maps/MeteorFalls_B1F_2R/map.json
+++ b/data/maps/MeteorFalls_B1F_2R/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MeteorFalls_B1F_2R_EventScript_1B182F",
"flag": "FLAG_ITEM_METEOR_FALLS_B1F_2R_1"
diff --git a/data/maps/MossdeepCity/map.json b/data/maps/MossdeepCity/map.json
index e47b7dfcb..4c6f537c6 100644
--- a/data/maps/MossdeepCity/map.json
+++ b/data/maps/MossdeepCity/map.json
@@ -35,7 +35,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_EventScript_14CFB7",
"flag": "0"
@@ -48,7 +48,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_EventScript_14CFC9",
"flag": "0"
@@ -61,7 +61,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_EventScript_14CFAE",
"flag": "0"
@@ -74,7 +74,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_EventScript_14CFC0",
"flag": "0"
@@ -87,7 +87,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_EventScript_14CFD2",
"flag": "0"
@@ -100,7 +100,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_EventScript_1B1745",
"flag": "FLAG_ITEM_MOSSDEEP_1"
@@ -113,7 +113,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_EventScript_14D011",
"flag": "0"
@@ -126,7 +126,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_EventScript_14CFDB",
"flag": "0"
@@ -139,7 +139,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_EventScript_14D027",
"flag": "0"
diff --git a/data/maps/MossdeepCity_GameCorner_1F/map.json b/data/maps/MossdeepCity_GameCorner_1F/map.json
index 1c79748c3..c2cc37d06 100644
--- a/data/maps/MossdeepCity_GameCorner_1F/map.json
+++ b/data/maps/MossdeepCity_GameCorner_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_GameCorner_1F_EventScript_15AD42",
"flag": "0"
diff --git a/data/maps/MossdeepCity_GameCorner_B1F/map.json b/data/maps/MossdeepCity_GameCorner_B1F/map.json
index 8eda40f65..6c2c8f4da 100644
--- a/data/maps/MossdeepCity_GameCorner_B1F/map.json
+++ b/data/maps/MossdeepCity_GameCorner_B1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
diff --git a/data/maps/MossdeepCity_Gym/map.json b/data/maps/MossdeepCity_Gym/map.json
index 72b0499c4..a054a3a8b 100644
--- a/data/maps/MossdeepCity_Gym/map.json
+++ b/data/maps/MossdeepCity_Gym/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_Gym_EventScript_15A56B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "MossdeepCity_Gym_EventScript_15A74E",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "MossdeepCity_Gym_EventScript_15A77C",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "MossdeepCity_Gym_EventScript_15A7C1",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "MossdeepCity_Gym_EventScript_15A7AA",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "MossdeepCity_Gym_EventScript_15A765",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "MossdeepCity_Gym_EventScript_15A793",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_Gym_EventScript_15A7D8",
"flag": "0"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_Gym_EventScript_15A56B",
"flag": "0"
diff --git a/data/maps/MossdeepCity_House1/map.json b/data/maps/MossdeepCity_House1/map.json
index fcb0a5455..f8fb6e396 100644
--- a/data/maps/MossdeepCity_House1/map.json
+++ b/data/maps/MossdeepCity_House1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_House1_EventScript_15A82F",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_House1_EventScript_15A85F",
"flag": "0"
diff --git a/data/maps/MossdeepCity_House2/map.json b/data/maps/MossdeepCity_House2/map.json
index 5a43747ff..597fac8ff 100644
--- a/data/maps/MossdeepCity_House2/map.json
+++ b/data/maps/MossdeepCity_House2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_House2_EventScript_15A869",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_House2_EventScript_15A872",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_House2_EventScript_15A87B",
"flag": "FLAG_HIDE_WINGULL_MOSSDEEP_HOUSE"
diff --git a/data/maps/MossdeepCity_House3/map.json b/data/maps/MossdeepCity_House3/map.json
index b5f4dd201..335ce50e7 100644
--- a/data/maps/MossdeepCity_House3/map.json
+++ b/data/maps/MossdeepCity_House3/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_House3_EventScript_15A972",
"flag": "0"
diff --git a/data/maps/MossdeepCity_House4/map.json b/data/maps/MossdeepCity_House4/map.json
index f7bafeb6a..f23896831 100644
--- a/data/maps/MossdeepCity_House4/map.json
+++ b/data/maps/MossdeepCity_House4/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_House4_EventScript_15AB31",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_House4_EventScript_15AB50",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_House4_EventScript_15AB77",
"flag": "0"
diff --git a/data/maps/MossdeepCity_Mart/map.json b/data/maps/MossdeepCity_Mart/map.json
index 0cc9d7f28..8c985ab2b 100644
--- a/data/maps/MossdeepCity_Mart/map.json
+++ b/data/maps/MossdeepCity_Mart/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_Mart_EventScript_15A926",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_Mart_EventScript_15A956",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_Mart_EventScript_15A95F",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_Mart_EventScript_15A968",
"flag": "0"
diff --git a/data/maps/MossdeepCity_PokemonCenter_1F/map.json b/data/maps/MossdeepCity_PokemonCenter_1F/map.json
index 4b8a9b59c..16d1152da 100644
--- a/data/maps/MossdeepCity_PokemonCenter_1F/map.json
+++ b/data/maps/MossdeepCity_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_PokemonCenter_1F_EventScript_15A8DA",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_PokemonCenter_1F_EventScript_15A8E8",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_PokemonCenter_1F_EventScript_15A8F1",
"flag": "0"
diff --git a/data/maps/MossdeepCity_PokemonCenter_2F/map.json b/data/maps/MossdeepCity_PokemonCenter_2F/map.json
index bb0bd4786..ed4ab3c74 100644
--- a/data/maps/MossdeepCity_PokemonCenter_2F/map.json
+++ b/data/maps/MossdeepCity_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_PokemonCenter_2F_EventScript_15A913",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_PokemonCenter_2F_EventScript_15A919",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_PokemonCenter_2F_EventScript_15A91F",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 2,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_PokemonCenter_2F_EventScript_15A90A",
"flag": "0"
diff --git a/data/maps/MossdeepCity_SpaceCenter_1F/map.json b/data/maps/MossdeepCity_SpaceCenter_1F/map.json
index f73363201..b250b5382 100644
--- a/data/maps/MossdeepCity_SpaceCenter_1F/map.json
+++ b/data/maps/MossdeepCity_SpaceCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_15AB8B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_15ABCC",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_15ABD5",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_15AC1F",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_15AC16",
"flag": "0"
diff --git a/data/maps/MossdeepCity_SpaceCenter_2F/map.json b/data/maps/MossdeepCity_SpaceCenter_2F/map.json
index b2ddc566f..8537f7291 100644
--- a/data/maps/MossdeepCity_SpaceCenter_2F/map.json
+++ b/data/maps/MossdeepCity_SpaceCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_SpaceCenter_2F_EventScript_15AC49",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_SpaceCenter_2F_EventScript_15AC40",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_SpaceCenter_2F_EventScript_15AC37",
"flag": "0"
diff --git a/data/maps/MossdeepCity_StevensHouse/map.json b/data/maps/MossdeepCity_StevensHouse/map.json
index b65c63d3d..df63c5ca8 100644
--- a/data/maps/MossdeepCity_StevensHouse/map.json
+++ b/data/maps/MossdeepCity_StevensHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_StevensHouse_EventScript_15AAF9",
"flag": "FLAG_HIDE_STEVEN_STEVENS_HOUSE"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_StevensHouse_EventScript_15AA7C",
"flag": "FLAG_HIDE_BELDUM_BALL_STEVENS_HOUSE"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_StevensHouse_EventScript_15AB20",
"flag": "FLAG_ITEM_MOSSDEEP_STEVENS_HOUSE_HM08"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_StevensHouse_EventScript_15AB02",
"flag": "FLAG_HIDE_STEVENS_LETTER"
diff --git a/data/maps/MtChimney/map.json b/data/maps/MtChimney/map.json
index f432ddc41..fada71876 100644
--- a/data/maps/MtChimney/map.json
+++ b/data/maps/MtChimney/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_1B2C95",
"flag": "FLAG_HIDE_OTHER_TEAM_MT_CHIMNEY"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_1B2CCB",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "MtChimney_EventScript_15D110",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D162",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D159",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D0FE",
"flag": "FLAG_HIDE_OTHER_TEAM_MT_CHIMNEY"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D0F5",
"flag": "FLAG_HIDE_OTHER_TEAM_MT_CHIMNEY"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D107",
"flag": "FLAG_HIDE_OTHER_TEAM_MT_CHIMNEY"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15CF95",
"flag": "FLAG_HIDE_MT_CHIMNEY_PEOPLE"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D162",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_RUN_IN_PLACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D174",
"flag": "FLAG_HIDE_OTHER_TEAM_MT_CHIMNEY"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D16B",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -175,7 +175,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D13E",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -188,7 +188,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D16B",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -201,7 +201,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D16B",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -214,7 +214,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D150",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -227,7 +227,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D13E",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -240,7 +240,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D174",
"flag": "FLAG_HIDE_OTHER_TEAM_MT_CHIMNEY"
@@ -253,7 +253,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D16B",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -266,7 +266,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D174",
"flag": "FLAG_HIDE_OTHER_TEAM_MT_CHIMNEY"
@@ -279,7 +279,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D16B",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -292,7 +292,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtChimney_EventScript_15D127",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -305,7 +305,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D174",
"flag": "FLAG_HIDE_OTHER_TEAM_MT_CHIMNEY"
@@ -318,7 +318,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_EventScript_15D16B",
"flag": "FLAG_HIDE_EVIL_TEAM_MT_CHIMNEY"
@@ -331,7 +331,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtChimney_EventScript_15D1E3",
"flag": "FLAG_HIDE_MT_CHIMNEY_PEOPLE"
@@ -344,7 +344,7 @@
"movement_type": "MOVEMENT_TYPE_JOG_IN_PLACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "MtChimney_EventScript_15D221",
"flag": "FLAG_HIDE_MT_CHIMNEY_PEOPLE"
@@ -357,7 +357,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtChimney_EventScript_15D238",
"flag": "FLAG_HIDE_MT_CHIMNEY_PEOPLE"
@@ -370,7 +370,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtChimney_EventScript_15D24F",
"flag": "FLAG_HIDE_MT_CHIMNEY_PEOPLE"
diff --git a/data/maps/MtChimney_CableCarStation/map.json b/data/maps/MtChimney_CableCarStation/map.json
index 0fd291caa..761d074de 100644
--- a/data/maps/MtChimney_CableCarStation/map.json
+++ b/data/maps/MtChimney_CableCarStation/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtChimney_CableCarStation_EventScript_15C14B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
diff --git a/data/maps/MtPyre_1F/map.json b/data/maps/MtPyre_1F/map.json
index 5747b70d1..1c02bd68f 100644
--- a/data/maps/MtPyre_1F/map.json
+++ b/data/maps/MtPyre_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_1F_EventScript_15D323",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_1F_EventScript_15D35C",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_1F_EventScript_15D365",
"flag": "0"
diff --git a/data/maps/MtPyre_2F/map.json b/data/maps/MtPyre_2F/map.json
index dba85a8fa..d49dcb1e9 100644
--- a/data/maps/MtPyre_2F/map.json
+++ b/data/maps/MtPyre_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "MtPyre_2F_EventScript_15D39B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_2F_EventScript_1B1933",
"flag": "FLAG_ITEM_MT_PYRE_2F_1"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_2F_EventScript_15D389",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_2F_EventScript_15D392",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_2F_EventScript_15D3CD",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_2F_EventScript_15D3B2",
"flag": "0"
diff --git a/data/maps/MtPyre_3F/map.json b/data/maps/MtPyre_3F/map.json
index 594e6bf08..a2f36446f 100644
--- a/data/maps/MtPyre_3F/map.json
+++ b/data/maps/MtPyre_3F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtPyre_3F_EventScript_15D3E9",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtPyre_3F_EventScript_15D400",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_3F_EventScript_1B1940",
"flag": "FLAG_ITEM_MT_PYRE_3F_1"
diff --git a/data/maps/MtPyre_4F/map.json b/data/maps/MtPyre_4F/map.json
index a47ced86c..6469f0b8c 100644
--- a/data/maps/MtPyre_4F/map.json
+++ b/data/maps/MtPyre_4F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "MtPyre_4F_EventScript_15D418",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_4F_EventScript_1B194D",
"flag": "FLAG_ITEM_MT_PYRE_4F_1"
diff --git a/data/maps/MtPyre_5F/map.json b/data/maps/MtPyre_5F/map.json
index 465ed07f7..11ffc89db 100644
--- a/data/maps/MtPyre_5F/map.json
+++ b/data/maps/MtPyre_5F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "MtPyre_5F_EventScript_15D430",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_5F_EventScript_1B195A",
"flag": "FLAG_ITEM_MT_PYRE_5F_1"
diff --git a/data/maps/MtPyre_6F/map.json b/data/maps/MtPyre_6F/map.json
index f95bc310d..5dad923b4 100644
--- a/data/maps/MtPyre_6F/map.json
+++ b/data/maps/MtPyre_6F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "MtPyre_6F_EventScript_15D448",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_6F_EventScript_1B1967",
"flag": "FLAG_ITEM_MT_PYRE_6F_1"
diff --git a/data/maps/MtPyre_Exterior/map.json b/data/maps/MtPyre_Exterior/map.json
index e58591664..3cb7c7815 100644
--- a/data/maps/MtPyre_Exterior/map.json
+++ b/data/maps/MtPyre_Exterior/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_Exterior_EventScript_1B1974",
"flag": "FLAG_ITEM_MT_PYRE_EXTERIOR_1"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_Exterior_EventScript_1B1981",
"flag": "FLAG_ITEM_MT_PYRE_EXTERIOR_2"
diff --git a/data/maps/MtPyre_Summit/map.json b/data/maps/MtPyre_Summit/map.json
index c57858d45..cb7c8db49 100644
--- a/data/maps/MtPyre_Summit/map.json
+++ b/data/maps/MtPyre_Summit/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_Summit_EventScript_15D5EF",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_LEADER_MT_PYRE_SUMMIT"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MtPyre_Summit_EventScript_15D623",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtPyre_Summit_EventScript_1B2DA9",
"flag": "FLAG_HIDE_GRUNTS_MT_PYRE_SUMMIT"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtPyre_Summit_EventScript_1B2DC0",
"flag": "FLAG_HIDE_GRUNTS_MT_PYRE_SUMMIT"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtPyre_Summit_EventScript_1B2DD7",
"flag": "FLAG_HIDE_GRUNTS_MT_PYRE_SUMMIT"
diff --git a/data/maps/NewMauville_Inside/map.json b/data/maps/NewMauville_Inside/map.json
index 53f6cd305..0aef219af 100644
--- a/data/maps/NewMauville_Inside/map.json
+++ b/data/maps/NewMauville_Inside/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "NewMauville_Inside_EventScript_1B183C",
"flag": "FLAG_ITEM_NEW_MAUVILLE_INSIDE_1"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "NewMauville_Inside_EventScript_1B1849",
"flag": "FLAG_ITEM_NEW_MAUVILLE_INSIDE_2"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "NewMauville_Inside_EventScript_1B1856",
"flag": "FLAG_ITEM_NEW_MAUVILLE_INSIDE_3"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "NewMauville_Inside_EventScript_1B1863",
"flag": "FLAG_ITEM_NEW_MAUVILLE_INSIDE_4"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "NewMauville_Inside_EventScript_1B1870",
"flag": "FLAG_ITEM_NEW_MAUVILLE_INSIDE_5"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "NewMauville_Inside_EventScript_15E900",
"flag": "FLAG_HIDE_VOLTORB_1_NEW_MAUVILLE"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "NewMauville_Inside_EventScript_15E91E",
"flag": "FLAG_HIDE_VOLTORB_2_NEW_MAUVILLE"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "NewMauville_Inside_EventScript_15E93C",
"flag": "FLAG_HIDE_VOLTORB_3_NEW_MAUVILLE"
diff --git a/data/maps/OldaleTown/map.json b/data/maps/OldaleTown/map.json
index 831b27d2b..45b3ce38a 100644
--- a/data/maps/OldaleTown/map.json
+++ b/data/maps/OldaleTown/map.json
@@ -35,7 +35,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_EventScript_14DDB3",
"flag": "0"
@@ -48,7 +48,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_EventScript_14DDBC",
"flag": "0"
@@ -61,7 +61,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_EventScript_14DEDF",
"flag": "0"
@@ -74,7 +74,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_EventScript_14DF30",
"flag": "FLAG_HIDE_RIVAL_OLDALE_TOWN"
diff --git a/data/maps/OldaleTown_House1/map.json b/data/maps/OldaleTown_House1/map.json
index 51c124e99..568b9187b 100644
--- a/data/maps/OldaleTown_House1/map.json
+++ b/data/maps/OldaleTown_House1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_House1_EventScript_152EEC",
"flag": "0"
diff --git a/data/maps/OldaleTown_House2/map.json b/data/maps/OldaleTown_House2/map.json
index e9e477ca1..b863c6f72 100644
--- a/data/maps/OldaleTown_House2/map.json
+++ b/data/maps/OldaleTown_House2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_House2_EventScript_152EF6",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_House2_EventScript_152EFF",
"flag": "0"
diff --git a/data/maps/OldaleTown_Mart/map.json b/data/maps/OldaleTown_Mart/map.json
index 5ef397b20..960be303b 100644
--- a/data/maps/OldaleTown_Mart/map.json
+++ b/data/maps/OldaleTown_Mart/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_Mart_EventScript_152F79",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_Mart_EventScript_152FC6",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_Mart_EventScript_152FE5",
"flag": "0"
diff --git a/data/maps/OldaleTown_PokemonCenter_1F/map.json b/data/maps/OldaleTown_PokemonCenter_1F/map.json
index 5f27f1af7..007924f75 100644
--- a/data/maps/OldaleTown_PokemonCenter_1F/map.json
+++ b/data/maps/OldaleTown_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_PokemonCenter_1F_EventScript_152F17",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_PokemonCenter_1F_EventScript_152F25",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_PokemonCenter_1F_EventScript_152F2E",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_PokemonCenter_1F_EventScript_152F37",
"flag": "0"
diff --git a/data/maps/OldaleTown_PokemonCenter_2F/map.json b/data/maps/OldaleTown_PokemonCenter_2F/map.json
index 2da8b5347..2bd8eff9c 100644
--- a/data/maps/OldaleTown_PokemonCenter_2F/map.json
+++ b/data/maps/OldaleTown_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_PokemonCenter_2F_EventScript_152F66",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_PokemonCenter_2F_EventScript_152F6C",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "OldaleTown_PokemonCenter_2F_EventScript_152F72",
"flag": "0"
diff --git a/data/maps/PacifidlogTown/map.json b/data/maps/PacifidlogTown/map.json
index b03db44ca..50e30456b 100644
--- a/data/maps/PacifidlogTown/map.json
+++ b/data/maps/PacifidlogTown/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_EventScript_14E909",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_EventScript_14E912",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_EventScript_14E900",
"flag": "0"
diff --git a/data/maps/PacifidlogTown_House1/map.json b/data/maps/PacifidlogTown_House1/map.json
index 8d8f7872f..4e8810514 100644
--- a/data/maps/PacifidlogTown_House1/map.json
+++ b/data/maps/PacifidlogTown_House1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House1_EventScript_154155",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House1_EventScript_15415E",
"flag": "0"
diff --git a/data/maps/PacifidlogTown_House2/map.json b/data/maps/PacifidlogTown_House2/map.json
index c0ec16e14..702277046 100644
--- a/data/maps/PacifidlogTown_House2/map.json
+++ b/data/maps/PacifidlogTown_House2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House2_EventScript_154168",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House2_EventScript_154267",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House2_EventScript_154282",
"flag": "0"
diff --git a/data/maps/PacifidlogTown_House3/map.json b/data/maps/PacifidlogTown_House3/map.json
index b42480887..c4cdcb362 100644
--- a/data/maps/PacifidlogTown_House3/map.json
+++ b/data/maps/PacifidlogTown_House3/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House3_EventScript_154342",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House3_EventScript_15429E",
"flag": "0"
diff --git a/data/maps/PacifidlogTown_House4/map.json b/data/maps/PacifidlogTown_House4/map.json
index 20fdcc9f7..4f5fd22b1 100644
--- a/data/maps/PacifidlogTown_House4/map.json
+++ b/data/maps/PacifidlogTown_House4/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House4_EventScript_154355",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House4_EventScript_15434C",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House4_EventScript_15435E",
"flag": "0"
diff --git a/data/maps/PacifidlogTown_House5/map.json b/data/maps/PacifidlogTown_House5/map.json
index 541cac276..cda98d9db 100644
--- a/data/maps/PacifidlogTown_House5/map.json
+++ b/data/maps/PacifidlogTown_House5/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House5_EventScript_154394",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_House5_EventScript_1543BA",
"flag": "0"
diff --git a/data/maps/PacifidlogTown_PokemonCenter_1F/map.json b/data/maps/PacifidlogTown_PokemonCenter_1F/map.json
index 629093f52..744594889 100644
--- a/data/maps/PacifidlogTown_PokemonCenter_1F/map.json
+++ b/data/maps/PacifidlogTown_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_PokemonCenter_1F_EventScript_153F18",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_PokemonCenter_1F_EventScript_154129",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_PokemonCenter_1F_EventScript_154117",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_PokemonCenter_1F_EventScript_154120",
"flag": "0"
diff --git a/data/maps/PacifidlogTown_PokemonCenter_2F/map.json b/data/maps/PacifidlogTown_PokemonCenter_2F/map.json
index aaa4c37c9..ac2849775 100644
--- a/data/maps/PacifidlogTown_PokemonCenter_2F/map.json
+++ b/data/maps/PacifidlogTown_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_PokemonCenter_2F_EventScript_153F48",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_PokemonCenter_2F_EventScript_153F4E",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_PokemonCenter_2F_EventScript_15414E",
"flag": "0"
diff --git a/data/maps/PetalburgCity/map.json b/data/maps/PetalburgCity/map.json
index c4cb13fc1..aaddb65cb 100644
--- a/data/maps/PetalburgCity/map.json
+++ b/data/maps/PetalburgCity/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_EventScript_14B7C3",
"flag": "FLAG_HIDE_WALLY_MOM_PETALBURG_1"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_WALLY_PETALBURG"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_EventScript_14B7AC",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_EventScript_14B824",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_WALLY_FATHER_PETALBURG"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_WALLY_MOTHER_PETALBURG"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_EventScript_1B1704",
"flag": "FLAG_ITEM_PETALBURG_1"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_EventScript_1B1711",
"flag": "FLAG_ITEM_PETALBURG_2"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_EventScript_14BA2D",
"flag": "0"
diff --git a/data/maps/PetalburgCity_Gym/map.json b/data/maps/PetalburgCity_Gym/map.json
index f18ca8549..0e96f6731 100644
--- a/data/maps/PetalburgCity_Gym/map.json
+++ b/data/maps/PetalburgCity_Gym/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Gym_EventScript_1545B9",
"flag": "FLAG_HIDE_NORMAN_PETALBURG_GYM"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Gym_EventScript_154EE6",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Gym_EventScript_154DF6",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Gym_EventScript_154E32",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Gym_EventScript_154F22",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Gym_EventScript_154E6E",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Gym_EventScript_154F5E",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Gym_EventScript_154EAA",
"flag": "0"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Gym_EventScript_15518B",
"flag": "FLAG_HIDE_PETALBURG_GYM_GUIDE"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_WALLY_PETALBURG_GYM"
diff --git a/data/maps/PetalburgCity_House1/map.json b/data/maps/PetalburgCity_House1/map.json
index 306e3b6aa..ca5dfb729 100644
--- a/data/maps/PetalburgCity_House1/map.json
+++ b/data/maps/PetalburgCity_House1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_House1_EventScript_1551E8",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_House1_EventScript_1551DF",
"flag": "0"
diff --git a/data/maps/PetalburgCity_House2/map.json b/data/maps/PetalburgCity_House2/map.json
index 795a86244..943c9b1f9 100644
--- a/data/maps/PetalburgCity_House2/map.json
+++ b/data/maps/PetalburgCity_House2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_House2_EventScript_1551F2",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_House2_EventScript_1551FB",
"flag": "0"
diff --git a/data/maps/PetalburgCity_Mart/map.json b/data/maps/PetalburgCity_Mart/map.json
index 1cc632844..db1e4a94d 100644
--- a/data/maps/PetalburgCity_Mart/map.json
+++ b/data/maps/PetalburgCity_Mart/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Mart_EventScript_1552B0",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Mart_EventScript_15532C",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Mart_EventScript_155323",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_Mart_EventScript_15531A",
"flag": "0"
diff --git a/data/maps/PetalburgCity_PokemonCenter_1F/map.json b/data/maps/PetalburgCity_PokemonCenter_1F/map.json
index ac27f67a3..bf15fd1cc 100644
--- a/data/maps/PetalburgCity_PokemonCenter_1F/map.json
+++ b/data/maps/PetalburgCity_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_1F_EventScript_155213",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_1F_EventScript_1B1B14",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_1F_EventScript_155221",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_1F_EventScript_15522A",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_1F_EventScript_155233",
"flag": "0"
diff --git a/data/maps/PetalburgCity_PokemonCenter_2F/map.json b/data/maps/PetalburgCity_PokemonCenter_2F/map.json
index 9f32c5995..df425c8f5 100644
--- a/data/maps/PetalburgCity_PokemonCenter_2F/map.json
+++ b/data/maps/PetalburgCity_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_2F_EventScript_15529D",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_2F_EventScript_1552A3",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_PokemonCenter_2F_EventScript_1552A9",
"flag": "0"
diff --git a/data/maps/PetalburgCity_WallysHouse/map.json b/data/maps/PetalburgCity_WallysHouse/map.json
index 2eb5e8ce3..c5e040de6 100644
--- a/data/maps/PetalburgCity_WallysHouse/map.json
+++ b/data/maps/PetalburgCity_WallysHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_WallysHouse_EventScript_1543C4",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgCity_WallysHouse_EventScript_154445",
"flag": "0"
diff --git a/data/maps/PetalburgWoods/map.json b/data/maps/PetalburgWoods/map.json
index 619808a48..36c312bbe 100644
--- a/data/maps/PetalburgWoods/map.json
+++ b/data/maps/PetalburgWoods/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_11"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_12"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_EVIL_TEAM_PETALBURG_WOODS"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_DEVON_PETALBURG_WOODS"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgWoods_EventScript_1B175F",
"flag": "FLAG_ITEM_PETALBURG_WOODS_2"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgWoods_EventScript_1B1752",
"flag": "FLAG_ITEM_PETALBURG_WOODS_1"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgWoods_EventScript_1B176C",
"flag": "FLAG_ITEM_PETALBURG_WOODS_3"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 1,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgWoods_EventScript_15CECA",
"flag": "0"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "PetalburgWoods_EventScript_15CF27",
"flag": "0"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_UP_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "PetalburgWoods_EventScript_15CF3E",
"flag": "0"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgWoods_EventScript_15CED3",
"flag": "0"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgWoods_EventScript_1B1779",
"flag": "FLAG_ITEM_PETALBURG_WOODS_4"
@@ -175,7 +175,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "PetalburgWoods_EventScript_15CEDC",
"flag": "0"
diff --git a/data/maps/RecordCorner/map.json b/data/maps/RecordCorner/map.json
index 513fe058c..804987129 100644
--- a/data/maps/RecordCorner/map.json
+++ b/data/maps/RecordCorner/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RecordCorner_EventScript_1A44BC",
"flag": "0"
diff --git a/data/maps/Route101/map.json b/data/maps/Route101/map.json
index 40f032962..24d4c2360 100644
--- a/data/maps/Route101/map.json
+++ b/data/maps/Route101/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route101_EventScript_14EA64",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_JOG_IN_PLACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_BIRCH_BATTLE_POOCHYENA"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route101_EventScript_14EA7F",
"flag": "FLAG_HIDE_BIRCH_STARTERS_BAG"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_JOG_IN_PLACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_POOCHYENA_ROUTE101"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "ProfBirch_EventScript_AskRatePokedex",
"flag": "FLAG_HIDE_BIRCH_ROUTE101"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route101_EventScript_14EA6D",
"flag": "FLAG_HIDE_BOY_ROUTE101"
diff --git a/data/maps/Route102/map.json b/data/maps/Route102/map.json
index a08922258..54262a239 100644
--- a/data/maps/Route102/map.json
+++ b/data/maps/Route102/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route102_EventScript_14EADA",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route102_EventScript_14EAFE",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route102_EventScript_14EB3C",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route102_EventScript_14EB53",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route102_EventScript_14EAF5",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route102_EventScript_1B1439",
"flag": "FLAG_ITEM_ROUTE102_1"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "2",
"script": "S_BerryTree",
"flag": "0"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "1",
"script": "S_BerryTree",
"flag": "0"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route102_EventScript_14EB6A",
"flag": "0"
diff --git a/data/maps/Route103/map.json b/data/maps/Route103/map.json
index 940e6d7a4..691cc719a 100644
--- a/data/maps/Route103/map.json
+++ b/data/maps/Route103/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route103_EventScript_14ED82",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route103_EventScript_14EB92",
"flag": "FLAG_HIDE_RIVAL_ROUTE103"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route103_EventScript_14ED94",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route103_EventScript_14EDF1",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route103_EventScript_14EDAB",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_DOWN_AND_UP",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route103_EventScript_14EE37",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "5",
"script": "S_BerryTree",
"flag": "0"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "6",
"script": "S_BerryTree",
"flag": "0"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "7",
"script": "S_BerryTree",
"flag": "0"
@@ -147,7 +147,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route103_EventScript_14ED79",
"flag": "0"
@@ -160,7 +160,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "ProfBirch_EventScript_AskRatePokedex",
"flag": "FLAG_HIDE_BIRCH_ROUTE103"
@@ -173,7 +173,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "5",
"script": "Route103_EventScript_14EE4E",
"flag": "0"
@@ -186,7 +186,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route103_EventScript_1B1446",
"flag": "FLAG_ITEM_ROUTE103_1"
@@ -199,7 +199,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_12"
@@ -212,7 +212,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_13"
diff --git a/data/maps/Route104/map.json b/data/maps/Route104/map.json
index 402186fe0..fd90b70e5 100644
--- a/data/maps/Route104/map.json
+++ b/data/maps/Route104/map.json
@@ -35,7 +35,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_14EF4B",
"flag": "0"
@@ -48,7 +48,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_14EF42",
"flag": "0"
@@ -61,7 +61,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "7",
"script": "Route104_EventScript_14F1A0",
"flag": "0"
@@ -74,7 +74,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_14EF81",
"flag": "0"
@@ -87,7 +87,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_14EF8A",
"flag": "0"
@@ -100,7 +100,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_14EFCC",
"flag": "0"
@@ -113,7 +113,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_MR_BRINEY_BOAT_ROUTE104"
@@ -126,7 +126,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_MR_BRINEY_ROUTE104"
@@ -139,7 +139,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_14F172",
"flag": "0"
@@ -152,7 +152,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "8",
"script": "S_BerryTree",
"flag": "0"
@@ -165,7 +165,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "9",
"script": "S_BerryTree",
"flag": "0"
@@ -178,7 +178,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "10",
"script": "S_BerryTree",
"flag": "0"
@@ -191,7 +191,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "11",
"script": "S_BerryTree",
"flag": "0"
@@ -204,7 +204,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "12",
"script": "S_BerryTree",
"flag": "0"
@@ -217,7 +217,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "13",
"script": "S_BerryTree",
"flag": "0"
@@ -230,7 +230,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_14EEC8",
"flag": "0"
@@ -243,7 +243,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "3",
"script": "S_BerryTree",
"flag": "0"
@@ -256,7 +256,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "4",
"script": "S_BerryTree",
"flag": "0"
@@ -269,7 +269,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "75",
"script": "S_BerryTree",
"flag": "0"
@@ -282,7 +282,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "76",
"script": "S_BerryTree",
"flag": "0"
@@ -295,7 +295,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1B1453",
"flag": "FLAG_ITEM_ROUTE104_1"
@@ -308,7 +308,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_14EF09",
"flag": "FLAG_HIDE_FLOWER_SHOP_WORKER_OUTSIDE"
@@ -321,7 +321,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_14F25A",
"flag": "0"
@@ -334,7 +334,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_14F279",
"flag": "0"
@@ -347,7 +347,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route104_EventScript_14F1DE",
"flag": "0"
@@ -360,7 +360,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route104_EventScript_14F21C",
"flag": "0"
@@ -373,7 +373,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1B1460",
"flag": "FLAG_ITEM_ROUTE104_2"
@@ -386,7 +386,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_RIGHT_UP_LEFT",
"movement_range_x": 5,
"movement_range_y": 6,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route104_EventScript_14F189",
"flag": "0"
@@ -399,7 +399,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1B146D",
"flag": "FLAG_ITEM_ROUTE104_3"
@@ -412,7 +412,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_11"
@@ -425,7 +425,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1B147A",
"flag": "FLAG_ITEM_ROUTE104_4"
@@ -438,7 +438,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_14EF93",
"flag": "0"
diff --git a/data/maps/Route104_MrBrineysHouse/map.json b/data/maps/Route104_MrBrineysHouse/map.json
index c63adc21d..6dcc22109 100644
--- a/data/maps/Route104_MrBrineysHouse/map.json
+++ b/data/maps/Route104_MrBrineysHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_LEFT_UP_RIGHT",
"movement_range_x": 3,
"movement_range_y": 3,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_MrBrineysHouse_EventScript_15BCEB",
"flag": "FLAG_HIDE_MR_BRINEY_ROUTE104_HOUSE"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 3,
"movement_range_y": 3,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_MrBrineysHouse_EventScript_15BDD1",
"flag": "FLAG_HIDE_PEEKO_BRINEY_HOUSE"
diff --git a/data/maps/Route104_PrettyPetalFlowerShop/map.json b/data/maps/Route104_PrettyPetalFlowerShop/map.json
index 43be93d0c..b949583ed 100644
--- a/data/maps/Route104_PrettyPetalFlowerShop/map.json
+++ b/data/maps/Route104_PrettyPetalFlowerShop/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_PrettyPetalFlowerShop_EventScript_15BE0B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_PrettyPetalFlowerShop_EventScript_15BEA4",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_PrettyPetalFlowerShop_EventScript_15BEDA",
"flag": "0"
diff --git a/data/maps/Route104_Prototype/map.json b/data/maps/Route104_Prototype/map.json
index 5d3ecfb4a..286dbaaa2 100644
--- a/data/maps/Route104_Prototype/map.json
+++ b/data/maps/Route104_Prototype/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route104_Prototype_EventScript_160D2E",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_Prototype_EventScript_160D60",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_Prototype_EventScript_160D60",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route104_Prototype_EventScript_160D7B",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route104_Prototype_EventScript_160D92",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route104_Prototype_EventScript_160DA9",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_Prototype_EventScript_160C4B",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_Prototype_EventScript_160CA3",
"flag": "0"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_Prototype_EventScript_160D45",
"flag": "0"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_Prototype_EventScript_160D45",
"flag": "0"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_Prototype_EventScript_160D13",
"flag": "0"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_Prototype_EventScript_160D0A",
"flag": "0"
diff --git a/data/maps/Route104_PrototypePrettyPetalFlowerShop/map.json b/data/maps/Route104_PrototypePrettyPetalFlowerShop/map.json
index 98e93f16a..8e532a031 100644
--- a/data/maps/Route104_PrototypePrettyPetalFlowerShop/map.json
+++ b/data/maps/Route104_PrototypePrettyPetalFlowerShop/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_PrototypePrettyPetalFlowerShop_EventScript_160DC1",
"flag": "0"
diff --git a/data/maps/Route105/map.json b/data/maps/Route105/map.json
index 9a4119af2..378acb257 100644
--- a/data/maps/Route105/map.json
+++ b/data/maps/Route105/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "6",
"script": "Route105_EventScript_14F2D2",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_LEFT_AND_RIGHT",
"movement_range_x": 7,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route105_EventScript_14F2E9",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 7,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route105_EventScript_14F300",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 5,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route105_EventScript_14F317",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route105_EventScript_1B1487",
"flag": "FLAG_ITEM_ROUTE105_1"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route105_EventScript_14F2BB",
"flag": "0"
diff --git a/data/maps/Route106/map.json b/data/maps/Route106/map.json
index db91a4888..6fba97556 100644
--- a/data/maps/Route106/map.json
+++ b/data/maps/Route106/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_LEFT_AND_RIGHT",
"movement_range_x": 4,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route106_EventScript_14F338",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route106_EventScript_14F34F",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route106_EventScript_14F366",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route106_EventScript_14F3A4",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route106_EventScript_1B1494",
"flag": "FLAG_ITEM_ROUTE106_1"
diff --git a/data/maps/Route107/map.json b/data/maps/Route107/map.json
index 38aeaa80a..369697c74 100644
--- a/data/maps/Route107/map.json
+++ b/data/maps/Route107/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route107_EventScript_14F3BC",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_RIGHT_DOWN_LEFT_UP",
"movement_range_x": 6,
"movement_range_y": 2,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route107_EventScript_14F3D3",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route107_EventScript_14F411",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route107_EventScript_14F428",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route107_EventScript_14F43F",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route107_EventScript_14F45A",
"flag": "0"
diff --git a/data/maps/Route108/map.json b/data/maps/Route108/map.json
index c4589064e..0763b7dfc 100644
--- a/data/maps/Route108/map.json
+++ b/data/maps/Route108/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_UP_LEFT_DOWN_RIGHT",
"movement_range_x": 3,
"movement_range_y": 3,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route108_EventScript_14F476",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route108_EventScript_14F4A4",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route108_EventScript_14F48D",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_LEFT_UP_RIGHT_DOWN",
"movement_range_x": 6,
"movement_range_y": 3,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route108_EventScript_14F4BB",
"flag": "0"
diff --git a/data/maps/Route109/map.json b/data/maps/Route109/map.json
index 520b0590a..8345481c4 100644
--- a/data/maps/Route109/map.json
+++ b/data/maps/Route109/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_MR_BRINEY_BOAT_ROUTE109"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route109_EventScript_14F680",
"flag": "FLAG_HIDE_MR_BRINEY_ROUTE109"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "5",
"script": "Route109_EventScript_14F7AD",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "5",
"script": "Route109_EventScript_14F7C4",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route109_EventScript_14F7DB",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route109_EventScript_14F7F2",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route109_EventScript_14F809",
"flag": "0"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route109_EventScript_14F847",
"flag": "0"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route109_EventScript_14F705",
"flag": "0"
@@ -147,7 +147,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route109_EventScript_1B14A1",
"flag": "FLAG_ITEM_ROUTE109_1"
@@ -160,7 +160,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route109_EventScript_14F89C",
"flag": "0"
@@ -173,7 +173,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route109_EventScript_14F885",
"flag": "0"
@@ -186,7 +186,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route109_EventScript_14F8B3",
"flag": "0"
@@ -199,7 +199,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route109_EventScript_14F70E",
"flag": "0"
@@ -212,7 +212,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route109_EventScript_14F725",
"flag": "0"
@@ -225,7 +225,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route109_EventScript_14F776",
"flag": "0"
@@ -238,7 +238,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route109_EventScript_14F8E5",
"flag": "0"
@@ -251,7 +251,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route109_EventScript_14F8CA",
"flag": "0"
@@ -264,7 +264,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route109_EventScript_14F77F",
"flag": "0"
@@ -277,7 +277,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route109_EventScript_14F788",
"flag": "0"
diff --git a/data/maps/Route109_SeashoreHouse/map.json b/data/maps/Route109_SeashoreHouse/map.json
index f5ab2fc3b..49e8a7751 100644
--- a/data/maps/Route109_SeashoreHouse/map.json
+++ b/data/maps/Route109_SeashoreHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route109_SeashoreHouse_EventScript_160DD4",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route109_SeashoreHouse_EventScript_160EB8",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route109_SeashoreHouse_EventScript_160EEE",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route109_SeashoreHouse_EventScript_160ED3",
"flag": "0"
diff --git a/data/maps/Route110/map.json b/data/maps/Route110/map.json
index 900b7b0e9..93fb927dc 100644
--- a/data/maps/Route110/map.json
+++ b/data/maps/Route110/map.json
@@ -35,7 +35,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_14F9D4",
"flag": "0"
@@ -48,7 +48,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_14F9CB",
"flag": "0"
@@ -61,7 +61,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_14F9C2",
"flag": "0"
@@ -74,7 +74,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_14F9B0",
"flag": "0"
@@ -87,7 +87,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_14F9B9",
"flag": "0"
@@ -100,7 +100,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 3,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_14F9A7",
"flag": "0"
@@ -113,7 +113,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_14F99E",
"flag": "0"
@@ -126,7 +126,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_UP_RIGHT_DOWN_LEFT",
"movement_range_x": 2,
"movement_range_y": 14,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route110_EventScript_14FB7D",
"flag": "0"
@@ -139,7 +139,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_LEFT_UP_RIGHT_DOWN",
"movement_range_x": 10,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route110_EventScript_14FB28",
"flag": "0"
@@ -152,7 +152,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route110_EventScript_14FB94",
"flag": "0"
@@ -165,7 +165,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_UP_LEFT_DOWN_RIGHT",
"movement_range_x": 4,
"movement_range_y": 4,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route110_EventScript_14FB3F",
"flag": "0"
@@ -178,7 +178,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route110_EventScript_14FA8E",
"flag": "0"
@@ -191,7 +191,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_EventScript_14FAA5",
"flag": "0"
@@ -204,7 +204,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_UP_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route110_EventScript_14FABC",
"flag": "0"
@@ -217,7 +217,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_EventScript_14FAFA",
"flag": "0"
@@ -230,7 +230,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "16",
"script": "S_BerryTree",
"flag": "0"
@@ -243,7 +243,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "17",
"script": "S_BerryTree",
"flag": "0"
@@ -256,7 +256,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "18",
"script": "S_BerryTree",
"flag": "0"
@@ -269,7 +269,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_1B14BB",
"flag": "FLAG_ITEM_ROUTE110_2"
@@ -282,7 +282,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_1B14AE",
"flag": "FLAG_ITEM_ROUTE110_1"
@@ -295,7 +295,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_14FA53",
"flag": "0"
@@ -308,7 +308,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_14F946",
"flag": "FLAG_HIDE_EVIL_TEAM_ROUTE110"
@@ -321,7 +321,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_14F95C",
"flag": "FLAG_HIDE_EVIL_TEAM_ROUTE110"
@@ -334,7 +334,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_14F972",
"flag": "FLAG_HIDE_EVIL_TEAM_ROUTE110"
@@ -347,7 +347,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_EventScript_14F988",
"flag": "FLAG_HIDE_EVIL_TEAM_ROUTE110"
@@ -360,7 +360,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_EVIL_TEAM_ROUTE110"
@@ -373,7 +373,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_LEFT_UP_RIGHT_DOWN",
"movement_range_x": 7,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_EventScript_14FB11",
"flag": "0"
@@ -386,7 +386,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_RIVAL_ROUTE110"
@@ -399,7 +399,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_RIVAL_ON_BIKE_ROUTE110"
@@ -412,7 +412,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route110_EventScript_14FC10",
"flag": "0"
@@ -425,7 +425,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route110_EventScript_14FBD2",
"flag": "0"
diff --git a/data/maps/Route110_SeasideCyclingRoadNorthEntrance/map.json b/data/maps/Route110_SeasideCyclingRoadNorthEntrance/map.json
index f5aa399d1..dc7060d9b 100644
--- a/data/maps/Route110_SeasideCyclingRoadNorthEntrance/map.json
+++ b/data/maps/Route110_SeasideCyclingRoadNorthEntrance/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_SeasideCyclingRoadNorthEntrance_EventScript_1634EB",
"flag": "0"
diff --git a/data/maps/Route110_SeasideCyclingRoadSouthEntrance/map.json b/data/maps/Route110_SeasideCyclingRoadSouthEntrance/map.json
index 1c101fb14..2d17f1f79 100644
--- a/data/maps/Route110_SeasideCyclingRoadSouthEntrance/map.json
+++ b/data/maps/Route110_SeasideCyclingRoadSouthEntrance/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_SeasideCyclingRoadSouthEntrance_EventScript_16347F",
"flag": "0"
diff --git a/data/maps/Route110_TrickHouseEnd/map.json b/data/maps/Route110_TrickHouseEnd/map.json
index fb2b69f8d..bf413874d 100644
--- a/data/maps/Route110_TrickHouseEnd/map.json
+++ b/data/maps/Route110_TrickHouseEnd/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHouseEnd_EventScript_16199E",
"flag": "FLAG_HIDE_TRICKMASTER_END"
diff --git a/data/maps/Route110_TrickHouseEntrance/map.json b/data/maps/Route110_TrickHouseEntrance/map.json
index 91fe0ca4d..ca869dcdc 100644
--- a/data/maps/Route110_TrickHouseEntrance/map.json
+++ b/data/maps/Route110_TrickHouseEntrance/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHouseEntrance_EventScript_16121A",
"flag": "FLAG_HIDE_TRICKMASTER_ENTRANCE"
diff --git a/data/maps/Route110_TrickHousePuzzle1/map.json b/data/maps/Route110_TrickHousePuzzle1/map.json
index 7e751f290..e9d7922ae 100644
--- a/data/maps/Route110_TrickHousePuzzle1/map.json
+++ b/data/maps/Route110_TrickHousePuzzle1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "5",
"script": "Route110_TrickHousePuzzle1_EventScript_161D31",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle1_EventScript_161D48",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route110_TrickHousePuzzle1_EventScript_161D5F",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_13"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_11"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_12"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_14"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_17"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_16"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_15"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_19"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_18"
@@ -175,7 +175,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_1A"
@@ -188,7 +188,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_1C"
@@ -201,7 +201,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_1B"
@@ -214,7 +214,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_1D"
@@ -227,7 +227,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_1E"
@@ -240,7 +240,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle1_EventScript_1B1A51",
"flag": "FLAG_ITEM_TRICK_HOUSE_PUZZLE_1_1"
@@ -253,7 +253,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_1F"
diff --git a/data/maps/Route110_TrickHousePuzzle2/map.json b/data/maps/Route110_TrickHousePuzzle2/map.json
index f7cbe12c5..c006dcebc 100644
--- a/data/maps/Route110_TrickHousePuzzle2/map.json
+++ b/data/maps/Route110_TrickHousePuzzle2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle2_EventScript_161E78",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle2_EventScript_161E8F",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route110_TrickHousePuzzle2_EventScript_161EA6",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle2_EventScript_1B1A6B",
"flag": "FLAG_ITEM_TRICK_HOUSE_PUZZLE_2_2"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle2_EventScript_1B1A5E",
"flag": "FLAG_ITEM_TRICK_HOUSE_PUZZLE_2_1"
diff --git a/data/maps/Route110_TrickHousePuzzle3/map.json b/data/maps/Route110_TrickHousePuzzle3/map.json
index 09e65aab2..6ff77999b 100644
--- a/data/maps/Route110_TrickHousePuzzle3/map.json
+++ b/data/maps/Route110_TrickHousePuzzle3/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle3_EventScript_162708",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle3_EventScript_16271F",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle3_EventScript_162736",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_11"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_12"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_13"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_14"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle3_EventScript_1B1A85",
"flag": "FLAG_ITEM_TRICK_HOUSE_PUZZLE_3_2"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle3_EventScript_1B1A78",
"flag": "FLAG_ITEM_TRICK_HOUSE_PUZZLE_3_1"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_15"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_16"
diff --git a/data/maps/Route110_TrickHousePuzzle4/map.json b/data/maps/Route110_TrickHousePuzzle4/map.json
index 43e1e81f6..020c1442f 100644
--- a/data/maps/Route110_TrickHousePuzzle4/map.json
+++ b/data/maps/Route110_TrickHousePuzzle4/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle4_EventScript_16276B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle4_EventScript_162799",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle4_EventScript_162782",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle4_EventScript_1B1A92",
"flag": "FLAG_ITEM_TRICK_HOUSE_PUZZLE_4_1"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_11"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_12"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_13"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_14"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_15"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_16"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_17"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_18"
@@ -175,7 +175,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_19"
@@ -188,7 +188,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_1A"
@@ -201,7 +201,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_1B"
diff --git a/data/maps/Route110_TrickHousePuzzle5/map.json b/data/maps/Route110_TrickHousePuzzle5/map.json
index 9ce88d3b6..f3fc7de40 100644
--- a/data/maps/Route110_TrickHousePuzzle5/map.json
+++ b/data/maps/Route110_TrickHousePuzzle5/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_1627F2",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_162813",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_162834",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_162855",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle5_EventScript_162876",
"flag": "0"
diff --git a/data/maps/Route110_TrickHousePuzzle6/map.json b/data/maps/Route110_TrickHousePuzzle6/map.json
index a6394d018..d6c9966f4 100644
--- a/data/maps/Route110_TrickHousePuzzle6/map.json
+++ b/data/maps/Route110_TrickHousePuzzle6/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle6_EventScript_163107",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle6_EventScript_16311E",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route110_TrickHousePuzzle6_EventScript_163135",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle6_EventScript_1B1A9F",
"flag": "FLAG_ITEM_TRICK_HOUSE_PUZZLE_6_1"
diff --git a/data/maps/Route110_TrickHousePuzzle7/map.json b/data/maps/Route110_TrickHousePuzzle7/map.json
index 373b30748..508cc6d1f 100644
--- a/data/maps/Route110_TrickHousePuzzle7/map.json
+++ b/data/maps/Route110_TrickHousePuzzle7/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle7_EventScript_1633D6",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle7_EventScript_163404",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle7_EventScript_1633ED",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle7_EventScript_1B1AAC",
"flag": "FLAG_ITEM_TRICK_HOUSE_PUZZLE_7_1"
diff --git a/data/maps/Route110_TrickHousePuzzle8/map.json b/data/maps/Route110_TrickHousePuzzle8/map.json
index 936925f86..19d7a006f 100644
--- a/data/maps/Route110_TrickHousePuzzle8/map.json
+++ b/data/maps/Route110_TrickHousePuzzle8/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle8_EventScript_163439",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route110_TrickHousePuzzle8_EventScript_163467",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route110_TrickHousePuzzle8_EventScript_163450",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_TrickHousePuzzle8_EventScript_1B1AB9",
"flag": "FLAG_ITEM_TRICK_HOUSE_PUZZLE_8_1"
diff --git a/data/maps/Route111/map.json b/data/maps/Route111/map.json
index 5a5c23e2e..5f3dba03f 100644
--- a/data/maps/Route111/map.json
+++ b/data/maps/Route111/map.json
@@ -35,7 +35,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_1501D1",
"flag": "FLAG_HIDE_VICTOR_WINSTRATE"
@@ -48,7 +48,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_VICTORIA_WINSTRATE"
@@ -61,7 +61,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_VIVI_WINSTRATE"
@@ -74,7 +74,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_VICKI_WINSTRATE"
@@ -87,7 +87,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route111_EventScript_1503BE",
"flag": "0"
@@ -100,7 +100,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "19",
"script": "S_BerryTree",
"flag": "0"
@@ -113,7 +113,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "20",
"script": "S_BerryTree",
"flag": "0"
@@ -126,7 +126,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_150395",
"flag": "0"
@@ -139,7 +139,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route111_EventScript_1503A7",
"flag": "0"
@@ -152,7 +152,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_LEFT_UP_RIGHT",
"movement_range_x": 2,
"movement_range_y": 2,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route111_EventScript_150403",
"flag": "0"
@@ -165,7 +165,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route111_EventScript_1503D5",
"flag": "0"
@@ -178,7 +178,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route111_EventScript_1503EC",
"flag": "0"
@@ -191,7 +191,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_1AE442",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE111_1"
@@ -204,7 +204,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_1AE422",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE111_1"
@@ -217,7 +217,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_11"
@@ -230,7 +230,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_12"
@@ -243,7 +243,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_1500C5",
"flag": "0"
@@ -256,7 +256,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_1B14C8",
"flag": "FLAG_ITEM_ROUTE111_1"
@@ -269,7 +269,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "80",
"script": "S_BerryTree",
"flag": "0"
@@ -282,7 +282,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "81",
"script": "S_BerryTree",
"flag": "0"
@@ -295,7 +295,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_1AE4E2",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE111_2"
@@ -308,7 +308,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_1AE502",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE111_2"
@@ -321,7 +321,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_1AE562",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE111_3"
@@ -334,7 +334,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_1AE582",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE111_3"
@@ -347,7 +347,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_1B14D5",
"flag": "FLAG_ITEM_ROUTE111_2"
@@ -360,7 +360,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_1B14E2",
"flag": "FLAG_ITEM_ROUTE111_3"
@@ -373,7 +373,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_13"
@@ -386,7 +386,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route111_EventScript_150458",
"flag": "0"
@@ -399,7 +399,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route111_EventScript_150441",
"flag": "0"
@@ -412,7 +412,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_RIGHT_AND_LEFT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route111_EventScript_15046F",
"flag": "0"
@@ -425,7 +425,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 4,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route111_EventScript_1504C4",
"flag": "0"
@@ -438,7 +438,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route111_EventScript_150486",
"flag": "0"
@@ -451,7 +451,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_1A3858",
"flag": "FLAG_HIDE_SECRET_POWER_MAN"
@@ -464,7 +464,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_150023",
"flag": "FLAG_HIDE_ROOT_FOSSIL"
@@ -477,7 +477,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_150069",
"flag": "FLAG_HIDE_CLAW_FOSSIL"
@@ -490,7 +490,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_EventScript_15039E",
"flag": "0"
diff --git a/data/maps/Route111_OldLadysRestStop/map.json b/data/maps/Route111_OldLadysRestStop/map.json
index 8269b34f6..a617e7307 100644
--- a/data/maps/Route111_OldLadysRestStop/map.json
+++ b/data/maps/Route111_OldLadysRestStop/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_OldLadysRestStop_EventScript_15BFDB",
"flag": "0"
diff --git a/data/maps/Route111_WinstrateFamilysHouse/map.json b/data/maps/Route111_WinstrateFamilysHouse/map.json
index 3241998c5..2ee5c83de 100644
--- a/data/maps/Route111_WinstrateFamilysHouse/map.json
+++ b/data/maps/Route111_WinstrateFamilysHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_WinstrateFamilysHouse_EventScript_15BF80",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_WinstrateFamilysHouse_EventScript_15BF25",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_WinstrateFamilysHouse_EventScript_15BF3A",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route111_WinstrateFamilysHouse_EventScript_15BF95",
"flag": "0"
diff --git a/data/maps/Route112/map.json b/data/maps/Route112/map.json
index e6876a2d9..88cf1c2b3 100644
--- a/data/maps/Route112/map.json
+++ b/data/maps/Route112/map.json
@@ -35,7 +35,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route112_EventScript_150513",
"flag": "FLAG_HIDE_GRUNTS_BLOCKING_CABLE_CAR"
@@ -48,7 +48,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route112_EventScript_150549",
"flag": "0"
@@ -61,7 +61,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route112_EventScript_15059E",
"flag": "0"
@@ -74,7 +74,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route112_EventScript_1505B5",
"flag": "0"
@@ -87,7 +87,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route112_EventScript_150560",
"flag": "0"
@@ -100,7 +100,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route112_EventScript_15051C",
"flag": "FLAG_HIDE_GRUNTS_BLOCKING_CABLE_CAR"
@@ -113,7 +113,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "24",
"script": "S_BerryTree",
"flag": "0"
@@ -126,7 +126,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "23",
"script": "S_BerryTree",
"flag": "0"
@@ -139,7 +139,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "22",
"script": "S_BerryTree",
"flag": "0"
@@ -152,7 +152,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "21",
"script": "S_BerryTree",
"flag": "0"
@@ -165,7 +165,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_DOWN_AND_UP",
"movement_range_x": 0,
"movement_range_y": 3,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route112_EventScript_150540",
"flag": "0"
@@ -178,7 +178,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route112_EventScript_1B14EF",
"flag": "FLAG_ITEM_ROUTE112_1"
diff --git a/data/maps/Route112_CableCarStation/map.json b/data/maps/Route112_CableCarStation/map.json
index 3f9a7377e..b3b8c0ea1 100644
--- a/data/maps/Route112_CableCarStation/map.json
+++ b/data/maps/Route112_CableCarStation/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route112_CableCarStation_EventScript_15C08C",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
diff --git a/data/maps/Route113/map.json b/data/maps/Route113/map.json
index 8a49c686c..88311edd7 100644
--- a/data/maps/Route113/map.json
+++ b/data/maps/Route113/map.json
@@ -35,7 +35,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route113_EventScript_15060E",
"flag": "0"
@@ -48,7 +48,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route113_EventScript_150605",
"flag": "0"
@@ -61,7 +61,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route113_EventScript_15063B",
"flag": "0"
@@ -74,7 +74,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route113_EventScript_150652",
"flag": "0"
@@ -87,7 +87,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route113_EventScript_150669",
"flag": "0"
@@ -100,7 +100,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route113_EventScript_1B14FC",
"flag": "FLAG_ITEM_ROUTE113_1"
@@ -113,7 +113,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route113_EventScript_1B1509",
"flag": "FLAG_ITEM_ROUTE113_2"
@@ -126,7 +126,7 @@
"movement_type": "MOVEMENT_TYPE_HIDDEN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "3",
+ "trainer_type": "TRAINER_TYPE_BURIED",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route113_EventScript_1506A7",
"flag": "0"
@@ -139,7 +139,7 @@
"movement_type": "MOVEMENT_TYPE_HIDDEN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "3",
+ "trainer_type": "TRAINER_TYPE_BURIED",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route113_EventScript_1506E5",
"flag": "0"
@@ -152,7 +152,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route113_EventScript_1506FC",
"flag": "0"
@@ -165,7 +165,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route113_EventScript_150717",
"flag": "0"
diff --git a/data/maps/Route113_GlassWorkshop/map.json b/data/maps/Route113_GlassWorkshop/map.json
index 5e8e6d5a9..14982c2d4 100644
--- a/data/maps/Route113_GlassWorkshop/map.json
+++ b/data/maps/Route113_GlassWorkshop/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route113_GlassWorkshop_EventScript_163565",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route113_GlassWorkshop_EventScript_1639D6",
"flag": "0"
diff --git a/data/maps/Route114/map.json b/data/maps/Route114/map.json
index 9980ae967..d237ccf16 100644
--- a/data/maps/Route114/map.json
+++ b/data/maps/Route114/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "77",
"script": "S_BerryTree",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "78",
"script": "S_BerryTree",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "6",
"script": "Route114_EventScript_1507F1",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route114_EventScript_150808",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route114_EventScript_15081F",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route114_EventScript_150836",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route114_EventScript_15084D",
"flag": "0"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "68",
"script": "S_BerryTree",
"flag": "0"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route114_EventScript_1B1516",
"flag": "FLAG_ITEM_ROUTE114_1"
@@ -147,7 +147,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route114_EventScript_1B1523",
"flag": "FLAG_ITEM_ROUTE114_2"
@@ -160,7 +160,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_11"
@@ -173,7 +173,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route114_EventScript_150782",
"flag": "0"
@@ -186,7 +186,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route114_EventScript_1507C3",
"flag": "0"
@@ -199,7 +199,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route114_EventScript_150733",
"flag": "0"
@@ -212,7 +212,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route114_EventScript_1508E0",
"flag": "0"
@@ -225,7 +225,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route114_EventScript_1508C9",
"flag": "0"
@@ -238,7 +238,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route114_EventScript_15088B",
"flag": "0"
@@ -251,7 +251,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_12"
@@ -264,7 +264,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_13"
@@ -277,7 +277,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_14"
@@ -290,7 +290,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_15"
@@ -303,7 +303,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route114_EventScript_150912",
"flag": "0"
@@ -316,7 +316,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route114_EventScript_1508F7",
"flag": "0"
diff --git a/data/maps/Route114_FossilManiacsHouse/map.json b/data/maps/Route114_FossilManiacsHouse/map.json
index fc6608a89..0cc1cebc5 100644
--- a/data/maps/Route114_FossilManiacsHouse/map.json
+++ b/data/maps/Route114_FossilManiacsHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route114_FossilManiacsHouse_EventScript_15C1C3",
"flag": "0"
diff --git a/data/maps/Route114_FossilManiacsTunnel/map.json b/data/maps/Route114_FossilManiacsTunnel/map.json
index 7a7f76711..dd42dd934 100644
--- a/data/maps/Route114_FossilManiacsTunnel/map.json
+++ b/data/maps/Route114_FossilManiacsTunnel/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route114_FossilManiacsTunnel_EventScript_15C20F",
"flag": "0"
diff --git a/data/maps/Route114_LanettesHouse/map.json b/data/maps/Route114_LanettesHouse/map.json
index abde113c6..af62dac96 100644
--- a/data/maps/Route114_LanettesHouse/map.json
+++ b/data/maps/Route114_LanettesHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route114_LanettesHouse_EventScript_15C262",
"flag": "FLAG_HIDE_LANETTE"
diff --git a/data/maps/Route115/map.json b/data/maps/Route115/map.json
index cc2f976d9..2e6fb8545 100644
--- a/data/maps/Route115/map.json
+++ b/data/maps/Route115/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route115_EventScript_15092E",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "6",
"script": "Route115_EventScript_150949",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route115_EventScript_15099E",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "69",
"script": "S_BerryTree",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "70",
"script": "S_BerryTree",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "71",
"script": "S_BerryTree",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_IN_PLACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route115_EventScript_1509DC",
"flag": "0"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_LEFT_UP_RIGHT",
"movement_range_x": 3,
"movement_range_y": 3,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route115_EventScript_150987",
"flag": "0"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route115_EventScript_150A1A",
"flag": "0"
@@ -147,7 +147,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route115_EventScript_1B1530",
"flag": "FLAG_ITEM_ROUTE115_1"
@@ -160,7 +160,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route115_EventScript_1B153D",
"flag": "FLAG_ITEM_ROUTE115_2"
@@ -173,7 +173,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route115_EventScript_1B154A",
"flag": "FLAG_ITEM_ROUTE115_3"
@@ -186,7 +186,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "55",
"script": "S_BerryTree",
"flag": "0"
@@ -199,7 +199,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "56",
"script": "S_BerryTree",
"flag": "0"
@@ -212,7 +212,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_11"
@@ -225,7 +225,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route115_EventScript_1B1557",
"flag": "FLAG_ITEM_ROUTE115_4"
diff --git a/data/maps/Route116/map.json b/data/maps/Route116/map.json
index 8e466e012..2ec98302e 100644
--- a/data/maps/Route116/map.json
+++ b/data/maps/Route116/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "25",
"script": "S_BerryTree",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "26",
"script": "S_BerryTree",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route116_EventScript_150C62",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_11"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_12"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route116_EventScript_150C79",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_EventScript_1B1571",
"flag": "FLAG_ITEM_ROUTE116_2"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_EventScript_1B157E",
"flag": "FLAG_ITEM_ROUTE116_3"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "66",
"script": "S_BerryTree",
"flag": "0"
@@ -147,7 +147,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "67",
"script": "S_BerryTree",
"flag": "0"
@@ -160,7 +160,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_EventScript_150B5D",
"flag": "FLAG_HIDE_BRINEY_ROUTE116"
@@ -173,7 +173,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_13"
@@ -186,7 +186,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route116_EventScript_150CCE",
"flag": "0"
@@ -199,7 +199,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_14"
@@ -212,7 +212,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_EventScript_1B158B",
"flag": "FLAG_ITEM_ROUTE116_4"
@@ -225,7 +225,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route116_EventScript_150CE5",
"flag": "0"
@@ -238,7 +238,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route116_EventScript_150CFC",
"flag": "0"
@@ -251,7 +251,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route116_EventScript_150C90",
"flag": "0"
@@ -264,7 +264,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_EventScript_150A7B",
"flag": "FLAG_HIDE_DEVON_EMPLOYEE_ROUTE116"
@@ -277,7 +277,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_EventScript_1B1564",
"flag": "FLAG_ITEM_ROUTE116_1"
@@ -290,7 +290,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_EventScript_150A49",
"flag": "FLAG_HIDE_TUNNER_DIGGER_ROUTE116"
@@ -303,7 +303,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_EventScript_150B8F",
"flag": "FLAG_HIDE_LOST_GLASSES_MAN"
diff --git a/data/maps/Route116_TunnelersRestHouse/map.json b/data/maps/Route116_TunnelersRestHouse/map.json
index f5927d4b0..9b07d84e3 100644
--- a/data/maps/Route116_TunnelersRestHouse/map.json
+++ b/data/maps/Route116_TunnelersRestHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_TunnelersRestHouse_EventScript_15C2E8",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_TunnelersRestHouse_EventScript_15C2FA",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_TunnelersRestHouse_EventScript_15C2F1",
"flag": "0"
diff --git a/data/maps/Route117/map.json b/data/maps/Route117/map.json
index 58f8875a2..368fa9d6e 100644
--- a/data/maps/Route117/map.json
+++ b/data/maps/Route117/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route117_EventScript_150D57",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_UP_LEFT_RIGHT_DOWN",
"movement_range_x": 2,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route117_EventScript_150D60",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route117_EventScript_1B222D",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_RIGHT_AND_LEFT",
"movement_range_x": 7,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route117_EventScript_150E09",
"flag": "0"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route117_EventScript_150DCB",
"flag": "0"
@@ -147,7 +147,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route117_EventScript_150D8D",
"flag": "0"
@@ -160,7 +160,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "29",
"script": "S_BerryTree",
"flag": "0"
@@ -173,7 +173,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "28",
"script": "S_BerryTree",
"flag": "0"
@@ -186,7 +186,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "27",
"script": "S_BerryTree",
"flag": "0"
@@ -199,7 +199,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route117_EventScript_1B1598",
"flag": "FLAG_ITEM_ROUTE117_1"
@@ -212,7 +212,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_11"
@@ -225,7 +225,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route117_EventScript_1B15A5",
"flag": "FLAG_ITEM_ROUTE117_2"
@@ -238,7 +238,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_RIGHT_LEFT_UP",
"movement_range_x": 4,
"movement_range_y": 4,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route117_EventScript_150E47",
"flag": "0"
@@ -251,7 +251,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route117_EventScript_150E85",
"flag": "0"
@@ -264,7 +264,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route117_EventScript_150EE2",
"flag": "0"
@@ -277,7 +277,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route117_EventScript_150E9C",
"flag": "0"
@@ -290,7 +290,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route117_EventScript_150D69",
"flag": "0"
diff --git a/data/maps/Route117_PokemonDayCare/map.json b/data/maps/Route117_PokemonDayCare/map.json
index abf33dae3..ebb732d35 100644
--- a/data/maps/Route117_PokemonDayCare/map.json
+++ b/data/maps/Route117_PokemonDayCare/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route117_PokemonDayCare_EventScript_1B2327",
"flag": "0"
diff --git a/data/maps/Route118/map.json b/data/maps/Route118/map.json
index e5c9690e3..36370de83 100644
--- a/data/maps/Route118/map.json
+++ b/data/maps/Route118/map.json
@@ -35,7 +35,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "31",
"script": "S_BerryTree",
"flag": "0"
@@ -48,7 +48,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "32",
"script": "S_BerryTree",
"flag": "0"
@@ -61,7 +61,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "33",
"script": "S_BerryTree",
"flag": "0"
@@ -74,7 +74,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route118_EventScript_151139",
"flag": "0"
@@ -87,7 +87,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route118_EventScript_1AE462",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE118_1"
@@ -100,7 +100,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route118_EventScript_1AE482",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE118_1"
@@ -113,7 +113,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route118_EventScript_150F93",
"flag": "0"
@@ -126,7 +126,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route118_EventScript_1AE522",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE118_2"
@@ -139,7 +139,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route118_EventScript_1AE542",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE118_2"
@@ -152,7 +152,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route118_EventScript_1AE562",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE118_3"
@@ -165,7 +165,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route118_EventScript_1AE582",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE118_3"
@@ -178,7 +178,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_11"
@@ -191,7 +191,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route118_EventScript_150F34",
"flag": "0"
@@ -204,7 +204,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route118_EventScript_15108F",
"flag": "0"
@@ -217,7 +217,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route118_EventScript_1510E4",
"flag": "0"
@@ -230,7 +230,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route118_EventScript_151150",
"flag": "0"
@@ -243,7 +243,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route118_EventScript_1510CD",
"flag": "0"
@@ -256,7 +256,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route118_EventScript_1510FB",
"flag": "0"
@@ -269,7 +269,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_STEVEN_ROUTE118"
@@ -282,7 +282,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route118_EventScript_1B15B2",
"flag": "FLAG_ITEM_ROUTE118_1"
diff --git a/data/maps/Route119/map.json b/data/maps/Route119/map.json
index 6de1b9c0f..0cdba1552 100644
--- a/data/maps/Route119/map.json
+++ b/data/maps/Route119/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "34",
"script": "S_BerryTree",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "35",
"script": "S_BerryTree",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "36",
"script": "S_BerryTree",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_IN_GRASS",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_151491",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_OPPOSITE_IN_GRASS",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_151463",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_CLOCKWISE_IN_GRASS",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_15144C",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_1514BF",
"flag": "0"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_OPPOSITE_IN_GRASS",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_151435",
"flag": "0"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route119_EventScript_1514FD",
"flag": "0"
@@ -147,7 +147,7 @@
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_COUNTERCLOCKWISE_IN_GRASS",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_15147A",
"flag": "0"
@@ -160,7 +160,7 @@
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_COUNTERCLOCKWISE_IN_GRASS",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1514A8",
"flag": "0"
@@ -173,7 +173,7 @@
"movement_type": "MOVEMENT_TYPE_TREE_DISGUISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route119_EventScript_151569",
"flag": "0"
@@ -186,7 +186,7 @@
"movement_type": "MOVEMENT_TYPE_MOUNTAIN_DISGUISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_151580",
"flag": "0"
@@ -199,7 +199,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_15153B",
"flag": "0"
@@ -212,7 +212,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_151552",
"flag": "0"
@@ -225,7 +225,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_RIVAL_ROUTE119"
@@ -238,7 +238,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1B15BF",
"flag": "FLAG_ITEM_ROUTE119_1"
@@ -251,7 +251,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1B15CC",
"flag": "FLAG_ITEM_ROUTE119_2"
@@ -264,7 +264,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1B15D9",
"flag": "FLAG_ITEM_ROUTE119_3"
@@ -277,7 +277,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1B15E6",
"flag": "FLAG_ITEM_ROUTE119_4"
@@ -290,7 +290,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1B15F3",
"flag": "FLAG_ITEM_ROUTE119_5"
@@ -303,7 +303,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1B1600",
"flag": "FLAG_ITEM_ROUTE119_6"
@@ -316,7 +316,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1515C5",
"flag": "FLAG_HIDE_EVIL_TEAM_WEATHER_INSTITUTE"
@@ -329,7 +329,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1515DC",
"flag": "FLAG_HIDE_EVIL_TEAM_WEATHER_INSTITUTE"
@@ -342,7 +342,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_RIVAL_ROUTE119_ON_BIKE"
@@ -355,7 +355,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1515F3",
"flag": "0"
@@ -368,7 +368,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "83",
"script": "S_BerryTree",
"flag": "0"
@@ -381,7 +381,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "84",
"script": "S_BerryTree",
"flag": "0"
@@ -394,7 +394,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "85",
"script": "S_BerryTree",
"flag": "0"
@@ -407,7 +407,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "86",
"script": "S_BerryTree",
"flag": "0"
@@ -420,7 +420,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 2,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_15141A",
"flag": "0"
@@ -433,7 +433,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1B160D",
"flag": "FLAG_ITEM_ROUTE119_7"
@@ -446,7 +446,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1515FC",
"flag": "0"
@@ -459,7 +459,7 @@
"movement_type": "MOVEMENT_TYPE_TREE_DISGUISE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_151597",
"flag": "0"
@@ -472,7 +472,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_Kecleon1",
"flag": "FLAG_HIDE_KECLEON_ROUTE119_1"
@@ -485,7 +485,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_Kecleon2",
"flag": "FLAG_HIDE_KECLEON_ROUTE119_2"
@@ -498,7 +498,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1515AE",
"flag": "0"
diff --git a/data/maps/Route119_House/map.json b/data/maps/Route119_House/map.json
index 7c5395d29..cb41137b0 100644
--- a/data/maps/Route119_House/map.json
+++ b/data/maps/Route119_House/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_House_EventScript_163DDE",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_House_EventScript_163DE7",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 3,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_House_EventScript_163DE7",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_House_EventScript_163DE7",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 3,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_House_EventScript_163DE7",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_House_EventScript_163DE7",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 3,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_House_EventScript_163DE7",
"flag": "0"
diff --git a/data/maps/Route119_WeatherInstitute_1F/map.json b/data/maps/Route119_WeatherInstitute_1F/map.json
index ef0477682..3ca2fd306 100644
--- a/data/maps/Route119_WeatherInstitute_1F/map.json
+++ b/data/maps/Route119_WeatherInstitute_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_WeatherInstitute_1F_EventScript_163C94",
"flag": "FLAG_HIDE_EVIL_TEAM_WEATHER_INSTITUTE"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route119_WeatherInstitute_1F_EventScript_163CAB",
"flag": "FLAG_HIDE_EVIL_TEAM_WEATHER_INSTITUTE"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_WeatherInstitute_1F_EventScript_163C7A",
"flag": "FLAG_HIDE_WEATHER_INSTITUTE_WORKERS_1F"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_WeatherInstitute_1F_EventScript_163C71",
"flag": "FLAG_HIDE_WEATHER_INSTITUTE_WORKERS_1F"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_WeatherInstitute_1F_EventScript_163C4D",
"flag": "0"
diff --git a/data/maps/Route119_WeatherInstitute_2F/map.json b/data/maps/Route119_WeatherInstitute_2F/map.json
index 2893c39e8..13f9009c8 100644
--- a/data/maps/Route119_WeatherInstitute_2F/map.json
+++ b/data/maps/Route119_WeatherInstitute_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route119_WeatherInstitute_2F_EventScript_163CFC",
"flag": "FLAG_HIDE_EVIL_TEAM_WEATHER_INSTITUTE"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route119_WeatherInstitute_2F_EventScript_163D13",
"flag": "FLAG_HIDE_EVIL_TEAM_WEATHER_INSTITUTE"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_WeatherInstitute_2F_EventScript_163D2A",
"flag": "FLAG_HIDE_EVIL_TEAM_WEATHER_INSTITUTE"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_WEATHER_INSTITUTE_WORKERS_2F"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 2,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_WeatherInstitute_2F_EventScript_163DCC",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_WEATHER_INSTITUTE_WORKERS_2F"
diff --git a/data/maps/Route120/map.json b/data/maps/Route120/map.json
index 8898ceece..bc3473476 100644
--- a/data/maps/Route120/map.json
+++ b/data/maps/Route120/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "46",
"script": "S_BerryTree",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "45",
"script": "S_BerryTree",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "44",
"script": "S_BerryTree",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "43",
"script": "S_BerryTree",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "37",
"script": "S_BerryTree",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "38",
"script": "S_BerryTree",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "39",
"script": "S_BerryTree",
"flag": "0"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "40",
"script": "S_BerryTree",
"flag": "0"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "41",
"script": "S_BerryTree",
"flag": "0"
@@ -147,7 +147,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "42",
"script": "S_BerryTree",
"flag": "0"
@@ -160,7 +160,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1519B3",
"flag": "0"
@@ -173,7 +173,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1519CA",
"flag": "0"
@@ -186,7 +186,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "7",
"script": "Route120_EventScript_151A08",
"flag": "0"
@@ -199,7 +199,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route120_EventScript_151A1F",
"flag": "0"
@@ -212,7 +212,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_151A36",
"flag": "0"
@@ -225,7 +225,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_1B161A",
"flag": "FLAG_ITEM_ROUTE120_1"
@@ -238,7 +238,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_1AE4C2",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE120_1"
@@ -251,7 +251,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_1AE4A2",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE120_1"
@@ -264,7 +264,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_1AE562",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE120_2"
@@ -277,7 +277,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_1AE582",
"flag": "FLAG_HIDE_GABBY_AND_TY_ROUTE120_2"
@@ -290,7 +290,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_11"
@@ -303,7 +303,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_1B1627",
"flag": "FLAG_ITEM_ROUTE120_2"
@@ -316,7 +316,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_151739",
"flag": "0"
@@ -329,7 +329,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route120_EventScript_151A74",
"flag": "0"
@@ -342,7 +342,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route120_EventScript_151A8B",
"flag": "0"
@@ -355,7 +355,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route120_EventScript_151AA2",
"flag": "0"
@@ -368,7 +368,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_151AB9",
"flag": "0"
@@ -381,7 +381,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_1B1641",
"flag": "FLAG_ITEM_ROUTE120_4"
@@ -394,7 +394,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_1B1634",
"flag": "FLAG_ITEM_ROUTE120_3"
@@ -407,7 +407,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_151998",
"flag": "FLAG_HIDE_KECLEON_ROUTE120_1"
@@ -420,7 +420,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_151853",
"flag": "FLAG_HIDE_STEVEN_ROUTE120"
@@ -433,7 +433,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_14"
@@ -446,7 +446,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_12"
@@ -459,7 +459,7 @@
"movement_type": "MOVEMENT_TYPE_MOUNTAIN_DISGUISE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_151AD0",
"flag": "0"
@@ -472,7 +472,7 @@
"movement_type": "MOVEMENT_TYPE_TREE_DISGUISE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_151AE7",
"flag": "0"
@@ -485,7 +485,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_KECLEON_ROUTE120_2"
@@ -498,7 +498,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_Kecleon1",
"flag": "FLAG_HIDE_KECLEON_ROUTE120_3"
@@ -511,7 +511,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_Kecleon2",
"flag": "FLAG_HIDE_KECLEON_ROUTE120_4"
@@ -524,7 +524,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_Kecleon3",
"flag": "FLAG_HIDE_KECLEON_ROUTE120_5"
@@ -537,7 +537,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_Kecleon5",
"flag": "FLAG_HIDE_KECLEON_ROUTE120_7"
@@ -550,7 +550,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_Kecleon4",
"flag": "FLAG_HIDE_KECLEON_ROUTE120_6"
diff --git a/data/maps/Route121/map.json b/data/maps/Route121/map.json
index de0def82e..92fc5b59f 100644
--- a/data/maps/Route121/map.json
+++ b/data/maps/Route121/map.json
@@ -35,7 +35,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route121_EventScript_151B0A",
"flag": "0"
@@ -48,7 +48,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "47",
"script": "S_BerryTree",
"flag": "0"
@@ -61,7 +61,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "48",
"script": "S_BerryTree",
"flag": "0"
@@ -74,7 +74,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "49",
"script": "S_BerryTree",
"flag": "0"
@@ -87,7 +87,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "50",
"script": "S_BerryTree",
"flag": "0"
@@ -100,7 +100,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "51",
"script": "S_BerryTree",
"flag": "0"
@@ -113,7 +113,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "52",
"script": "S_BerryTree",
"flag": "0"
@@ -126,7 +126,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "53",
"script": "S_BerryTree",
"flag": "0"
@@ -139,7 +139,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "54",
"script": "S_BerryTree",
"flag": "0"
@@ -152,7 +152,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route121_EventScript_151BDE",
"flag": "0"
@@ -165,7 +165,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route121_EventScript_151BF9",
"flag": "0"
@@ -178,7 +178,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_GRUNTS_ROUTE121"
@@ -191,7 +191,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_GRUNTS_ROUTE121"
@@ -204,7 +204,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_GRUNTS_ROUTE121"
@@ -217,7 +217,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_11"
@@ -230,7 +230,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_12"
@@ -243,7 +243,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_151B72",
"flag": "0"
@@ -256,7 +256,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route121_EventScript_151B89",
"flag": "0"
@@ -269,7 +269,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_151BC7",
"flag": "0"
@@ -282,7 +282,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_151C14",
"flag": "0"
@@ -295,7 +295,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route121_EventScript_1B164E",
"flag": "FLAG_ITEM_ROUTE121_1"
@@ -308,7 +308,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_13"
diff --git a/data/maps/Route121_SafariZoneEntrance/map.json b/data/maps/Route121_SafariZoneEntrance/map.json
index 1bde0de82..3c1220c49 100644
--- a/data/maps/Route121_SafariZoneEntrance/map.json
+++ b/data/maps/Route121_SafariZoneEntrance/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route121_SafariZoneEntrance_EventScript_15C351",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route121_SafariZoneEntrance_EventScript_15C35A",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
diff --git a/data/maps/Route123/map.json b/data/maps/Route123/map.json
index 3d7914161..4cb877538 100644
--- a/data/maps/Route123/map.json
+++ b/data/maps/Route123/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "58",
"script": "S_BerryTree",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "59",
"script": "S_BerryTree",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "60",
"script": "S_BerryTree",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "61",
"script": "S_BerryTree",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "62",
"script": "S_BerryTree",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "63",
"script": "S_BerryTree",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "64",
"script": "S_BerryTree",
"flag": "0"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_151CD1",
"flag": "0"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route123_EventScript_151CE8",
"flag": "0"
@@ -147,7 +147,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "65",
"script": "S_BerryTree",
"flag": "0"
@@ -160,7 +160,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "72",
"script": "S_BerryTree",
"flag": "0"
@@ -173,7 +173,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "73",
"script": "S_BerryTree",
"flag": "0"
@@ -186,7 +186,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "74",
"script": "S_BerryTree",
"flag": "0"
@@ -199,7 +199,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "79",
"script": "S_BerryTree",
"flag": "0"
@@ -212,7 +212,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "14",
"script": "S_BerryTree",
"flag": "0"
@@ -225,7 +225,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "15",
"script": "S_BerryTree",
"flag": "0"
@@ -238,7 +238,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "30",
"script": "S_BerryTree",
"flag": "0"
@@ -251,7 +251,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_11"
@@ -264,7 +264,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_12"
@@ -277,7 +277,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_CuttableTree",
"flag": "FLAG_TEMP_13"
@@ -290,7 +290,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route123_EventScript_1B165B",
"flag": "FLAG_ITEM_ROUTE123_1"
@@ -303,7 +303,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route123_EventScript_1B1668",
"flag": "FLAG_ITEM_ROUTE123_2"
@@ -316,7 +316,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route123_EventScript_151C5D",
"flag": "0"
@@ -329,7 +329,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "87",
"script": "S_BerryTree",
"flag": "0"
@@ -342,7 +342,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "88",
"script": "S_BerryTree",
"flag": "0"
@@ -355,7 +355,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "89",
"script": "S_BerryTree",
"flag": "0"
@@ -368,7 +368,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route123_EventScript_151CFF",
"flag": "0"
@@ -381,7 +381,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route123_EventScript_151DAD",
"flag": "0"
@@ -394,7 +394,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route123_EventScript_151D92",
"flag": "0"
@@ -407,7 +407,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "6",
"script": "Route123_EventScript_151D16",
"flag": "0"
@@ -420,7 +420,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_151D54",
"flag": "0"
@@ -433,7 +433,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route123_EventScript_151DC8",
"flag": "0"
@@ -446,7 +446,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route123_EventScript_1B1675",
"flag": "FLAG_ITEM_ROUTE123_3"
@@ -459,7 +459,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route123_EventScript_1B1682",
"flag": "FLAG_ITEM_ROUTE123_4"
diff --git a/data/maps/Route123_BerryMastersHouse/map.json b/data/maps/Route123_BerryMastersHouse/map.json
index 2de87d68a..9cdf9620e 100644
--- a/data/maps/Route123_BerryMastersHouse/map.json
+++ b/data/maps/Route123_BerryMastersHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route123_BerryMastersHouse_EventScript_1639E9",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route123_BerryMastersHouse_EventScript_163A64",
"flag": "0"
diff --git a/data/maps/Route124/map.json b/data/maps/Route124/map.json
index 07c6c35ac..717381caf 100644
--- a/data/maps/Route124/map.json
+++ b/data/maps/Route124/map.json
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 5,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route124_EventScript_151DF8",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_RIGHT_DOWN_LEFT_UP",
"movement_range_x": 5,
"movement_range_y": 3,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route124_EventScript_151E0F",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route124_EventScript_151E26",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 6,
"movement_range_y": 8,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route124_EventScript_151E64",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_RIGHT_AND_LEFT",
"movement_range_x": 7,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route124_EventScript_151E7B",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route124_EventScript_1B168F",
"flag": "FLAG_ITEM_ROUTE124_2"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route124_EventScript_1B169C",
"flag": "FLAG_ITEM_ROUTE124_3"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route124_EventScript_1B16A9",
"flag": "FLAG_ITEM_ROUTE124_1"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route124_EventScript_151E92",
"flag": "0"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route124_EventScript_151ED8",
"flag": "0"
diff --git a/data/maps/Route124_DivingTreasureHuntersHouse/map.json b/data/maps/Route124_DivingTreasureHuntersHouse/map.json
index 365faa9d2..775508c2d 100644
--- a/data/maps/Route124_DivingTreasureHuntersHouse/map.json
+++ b/data/maps/Route124_DivingTreasureHuntersHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route124_DivingTreasureHuntersHouse_EventScript_163E04",
"flag": "0"
diff --git a/data/maps/Route125/map.json b/data/maps/Route125/map.json
index 1257bc3f3..51e39ac41 100644
--- a/data/maps/Route125/map.json
+++ b/data/maps/Route125/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route125_EventScript_151F2E",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 2,
"movement_range_y": 5,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route125_EventScript_151F45",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_RIGHT_AND_LEFT",
"movement_range_x": 6,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route125_EventScript_151F5C",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_RIGHT_DOWN_LEFT_UP",
"movement_range_x": 9,
"movement_range_y": 9,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route125_EventScript_151F73",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route125_EventScript_151F8A",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route125_EventScript_151FC8",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route125_EventScript_151FE3",
"flag": "0"
diff --git a/data/maps/Route126/map.json b/data/maps/Route126/map.json
index 0b1f067d0..a6ab407ff 100644
--- a/data/maps/Route126/map.json
+++ b/data/maps/Route126/map.json
@@ -35,7 +35,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_LEFT_UP_RIGHT_DOWN",
"movement_range_x": 10,
"movement_range_y": 3,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route126_EventScript_15200E",
"flag": "0"
@@ -48,7 +48,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_RIGHT_AND_LEFT",
"movement_range_x": 9,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route126_EventScript_152025",
"flag": "0"
@@ -61,7 +61,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route126_EventScript_15203C",
"flag": "0"
@@ -74,7 +74,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route126_EventScript_152053",
"flag": "0"
@@ -87,7 +87,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route126_EventScript_1B16B6",
"flag": "FLAG_ITEM_ROUTE126_1"
diff --git a/data/maps/Route127/map.json b/data/maps/Route127/map.json
index cf1d10919..6b471e370 100644
--- a/data/maps/Route127/map.json
+++ b/data/maps/Route127/map.json
@@ -40,7 +40,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route127_EventScript_15207A",
"flag": "0"
@@ -53,7 +53,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_LEFT_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route127_EventScript_152091",
"flag": "0"
@@ -66,7 +66,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route127_EventScript_1B16C3",
"flag": "FLAG_ITEM_ROUTE127_1"
@@ -79,7 +79,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route127_EventScript_1B16D0",
"flag": "FLAG_ITEM_ROUTE127_2"
@@ -92,7 +92,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route127_EventScript_1520A8",
"flag": "0"
@@ -105,7 +105,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route127_EventScript_1520D6",
"flag": "0"
@@ -118,7 +118,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route127_EventScript_1520BF",
"flag": "0"
@@ -131,7 +131,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route127_EventScript_152104",
"flag": "0"
@@ -144,7 +144,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route127_EventScript_1520ED",
"flag": "0"
diff --git a/data/maps/Route128/map.json b/data/maps/Route128/map.json
index ffeeea577..da4ed9c21 100644
--- a/data/maps/Route128/map.json
+++ b/data/maps/Route128/map.json
@@ -40,7 +40,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_RIGHT_UP_LEFT_DOWN",
"movement_range_x": 5,
"movement_range_y": 5,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route128_EventScript_1522A4",
"flag": "0"
@@ -53,7 +53,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_RIGHT_AND_LEFT",
"movement_range_x": 5,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "7",
"script": "Route128_EventScript_1522E2",
"flag": "0"
@@ -66,7 +66,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_STEVEN_ROUTE128"
@@ -79,7 +79,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_EVIL_LEADER_ROUTE128"
@@ -92,7 +92,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_OTHER_LEADER_ROUTE128"
@@ -105,7 +105,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route128_EventScript_15234E",
"flag": "0"
@@ -118,7 +118,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route128_EventScript_152337",
"flag": "0"
@@ -131,7 +131,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route128_EventScript_152320",
"flag": "0"
diff --git a/data/maps/Route129/map.json b/data/maps/Route129/map.json
index 49c90b05f..7e7ae0d8b 100644
--- a/data/maps/Route129/map.json
+++ b/data/maps/Route129/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_LEFT_UP_RIGHT",
"movement_range_x": 3,
"movement_range_y": 4,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route129_EventScript_152366",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_RIGHT_DOWN_LEFT_UP",
"movement_range_x": 5,
"movement_range_y": 2,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route129_EventScript_15237D",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route129_EventScript_1523AB",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route129_EventScript_152394",
"flag": "0"
diff --git a/data/maps/Route130/map.json b/data/maps/Route130/map.json
index 050f1dd3b..073549cd4 100644
--- a/data/maps/Route130/map.json
+++ b/data/maps/Route130/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_UP_RIGHT_LEFT_DOWN",
"movement_range_x": 3,
"movement_range_y": 6,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route130_EventScript_152410",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route130_EventScript_152427",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "82",
"script": "S_BerryTree",
"flag": "FLAG_TEMP_11"
diff --git a/data/maps/Route131/map.json b/data/maps/Route131/map.json
index b8475d8e7..5e166047a 100644
--- a/data/maps/Route131/map.json
+++ b/data/maps/Route131/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_UP_RIGHT_LEFT_DOWN",
"movement_range_x": 5,
"movement_range_y": 7,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route131_EventScript_152452",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route131_EventScript_152469",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route131_EventScript_152480",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_LEFT_DOWN_RIGHT_UP",
"movement_range_x": 1,
"movement_range_y": 4,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route131_EventScript_152497",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route131_EventScript_1524AE",
"flag": "0"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route131_EventScript_1524C9",
"flag": "0"
diff --git a/data/maps/Route132/map.json b/data/maps/Route132/map.json
index 126e33093..e778a1341 100644
--- a/data/maps/Route132/map.json
+++ b/data/maps/Route132/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_RIGHT_UP_LEFT",
"movement_range_x": 3,
"movement_range_y": 3,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route132_EventScript_1524E5",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_UP_RIGHT_DOWN_LEFT",
"movement_range_x": 4,
"movement_range_y": 4,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route132_EventScript_1524FC",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route132_EventScript_1B16DD",
"flag": "FLAG_ITEM_ROUTE132_1"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route132_EventScript_15252A",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route132_EventScript_152513",
"flag": "0"
diff --git a/data/maps/Route133/map.json b/data/maps/Route133/map.json
index a62b50133..cf61d83d2 100644
--- a/data/maps/Route133/map.json
+++ b/data/maps/Route133/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route133_EventScript_152542",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route133_EventScript_152570",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route133_EventScript_152559",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route133_EventScript_1B16EA",
"flag": "FLAG_ITEM_ROUTE133_1"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route133_EventScript_1B16F7",
"flag": "FLAG_ITEM_ROUTE133_2"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route133_EventScript_15259E",
"flag": "0"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route133_EventScript_152587",
"flag": "0"
diff --git a/data/maps/Route134/map.json b/data/maps/Route134/map.json
index 13cef0f1b..566507ec6 100644
--- a/data/maps/Route134/map.json
+++ b/data/maps/Route134/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_UP_RIGHT_DOWN_LEFT",
"movement_range_x": 3,
"movement_range_y": 5,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route134_EventScript_1525C4",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route134_EventScript_1525DB",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route134_EventScript_152609",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route134_EventScript_1525F2",
"flag": "0"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_LEFT_AND_RIGHT",
"movement_range_x": 10,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route134_EventScript_152620",
"flag": "0"
diff --git a/data/maps/RustboroCity/map.json b/data/maps/RustboroCity/map.json
index 2c1ed7a03..c186a4149 100644
--- a/data/maps/RustboroCity/map.json
+++ b/data/maps/RustboroCity/map.json
@@ -35,7 +35,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_14C3B1",
"flag": "0"
@@ -48,7 +48,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_14C386",
"flag": "0"
@@ -61,7 +61,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_14C401",
"flag": "0"
@@ -74,7 +74,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_14C3F8",
"flag": "0"
@@ -87,7 +87,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_14C3D9",
"flag": "0"
@@ -100,7 +100,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_14C3BA",
"flag": "0"
@@ -113,7 +113,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_14C449",
"flag": "0"
@@ -126,7 +126,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_14C45F",
"flag": "0"
@@ -139,7 +139,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_14C5FF",
"flag": "FLAG_HIDE_DEVON_RUSTBORO"
@@ -152,7 +152,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_GRUNT_RUSTBORO"
@@ -165,7 +165,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_14C3A5",
"flag": "0"
@@ -178,7 +178,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_1B172B",
"flag": "FLAG_ITEM_RUSTBORO_1"
@@ -191,7 +191,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_14C475",
"flag": "0"
@@ -204,7 +204,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_EventScript_14C8DA",
"flag": "FLAG_HIDE_RIVAL_RUSTBORO"
diff --git a/data/maps/RustboroCity_CuttersHouse/map.json b/data/maps/RustboroCity_CuttersHouse/map.json
index 275bbdf3f..e03fbb322 100644
--- a/data/maps/RustboroCity_CuttersHouse/map.json
+++ b/data/maps/RustboroCity_CuttersHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_CuttersHouse_EventScript_157D27",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_CuttersHouse_EventScript_157D5D",
"flag": "0"
diff --git a/data/maps/RustboroCity_DevonCorp_1F/map.json b/data/maps/RustboroCity_DevonCorp_1F/map.json
index 79c98cb82..4ecd68663 100644
--- a/data/maps/RustboroCity_DevonCorp_1F/map.json
+++ b/data/maps/RustboroCity_DevonCorp_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_1F_EventScript_157422",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_1F_EventScript_157454",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_1F_EventScript_15748F",
"flag": "0"
diff --git a/data/maps/RustboroCity_DevonCorp_2F/map.json b/data/maps/RustboroCity_DevonCorp_2F/map.json
index 366aa436f..09798add6 100644
--- a/data/maps/RustboroCity_DevonCorp_2F/map.json
+++ b/data/maps/RustboroCity_DevonCorp_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_2F_EventScript_1574E2",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_2F_EventScript_1574F9",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_2F_EventScript_157523",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 10,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_2F_EventScript_15754D",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_2F_EventScript_157564",
"flag": "0"
diff --git a/data/maps/RustboroCity_DevonCorp_3F/map.json b/data/maps/RustboroCity_DevonCorp_3F/map.json
index cf7d992ee..3f6033db7 100644
--- a/data/maps/RustboroCity_DevonCorp_3F/map.json
+++ b/data/maps/RustboroCity_DevonCorp_3F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_3F_EventScript_15783B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_3F_EventScript_1578B0",
"flag": "FLAG_HIDE_EMPLOYEE_DEVON_CORP_3F"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_DevonCorp_3F_EventScript_15783B",
"flag": "0"
diff --git a/data/maps/RustboroCity_Flat1_1F/map.json b/data/maps/RustboroCity_Flat1_1F/map.json
index d8e7ffa22..71ca8ec5b 100644
--- a/data/maps/RustboroCity_Flat1_1F/map.json
+++ b/data/maps/RustboroCity_Flat1_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Flat1_1F_EventScript_157C60",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Flat1_1F_EventScript_157C69",
"flag": "0"
diff --git a/data/maps/RustboroCity_Flat1_2F/map.json b/data/maps/RustboroCity_Flat1_2F/map.json
index b262445ea..63d3aa2b2 100644
--- a/data/maps/RustboroCity_Flat1_2F/map.json
+++ b/data/maps/RustboroCity_Flat1_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 3,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Flat1_2F_EventScript_157C73",
"flag": "0"
diff --git a/data/maps/RustboroCity_Flat2_1F/map.json b/data/maps/RustboroCity_Flat2_1F/map.json
index 1477e2433..01f55b7cd 100644
--- a/data/maps/RustboroCity_Flat2_1F/map.json
+++ b/data/maps/RustboroCity_Flat2_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Flat2_1F_EventScript_157D83",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Flat2_1F_EventScript_157D7A",
"flag": "0"
diff --git a/data/maps/RustboroCity_Flat2_2F/map.json b/data/maps/RustboroCity_Flat2_2F/map.json
index c99e411c5..8bd868bcd 100644
--- a/data/maps/RustboroCity_Flat2_2F/map.json
+++ b/data/maps/RustboroCity_Flat2_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Flat2_2F_EventScript_157D97",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 2,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Flat2_2F_EventScript_157DA0",
"flag": "0"
diff --git a/data/maps/RustboroCity_Flat2_3F/map.json b/data/maps/RustboroCity_Flat2_3F/map.json
index 5a5be9a55..462f90bbe 100644
--- a/data/maps/RustboroCity_Flat2_3F/map.json
+++ b/data/maps/RustboroCity_Flat2_3F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 2,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Flat2_3F_EventScript_157DDA",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Flat2_3F_EventScript_157DE3",
"flag": "0"
diff --git a/data/maps/RustboroCity_Gym/map.json b/data/maps/RustboroCity_Gym/map.json
index e20a3125b..95a9cca8b 100644
--- a/data/maps/RustboroCity_Gym/map.json
+++ b/data/maps/RustboroCity_Gym/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Gym_EventScript_1578D9",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "RustboroCity_Gym_EventScript_157960",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "RustboroCity_Gym_EventScript_157977",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Gym_EventScript_15798E",
"flag": "0"
diff --git a/data/maps/RustboroCity_House1/map.json b/data/maps/RustboroCity_House1/map.json
index 5886df257..5100c2d83 100644
--- a/data/maps/RustboroCity_House1/map.json
+++ b/data/maps/RustboroCity_House1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_House1_EventScript_157C7D",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_House1_EventScript_157D1D",
"flag": "0"
diff --git a/data/maps/RustboroCity_House2/map.json b/data/maps/RustboroCity_House2/map.json
index 32e0585bc..282740365 100644
--- a/data/maps/RustboroCity_House2/map.json
+++ b/data/maps/RustboroCity_House2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_House2_EventScript_157D67",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_House2_EventScript_157D70",
"flag": "0"
diff --git a/data/maps/RustboroCity_House3/map.json b/data/maps/RustboroCity_House3/map.json
index 5aa5ad3cb..f3ee9bfcf 100644
--- a/data/maps/RustboroCity_House3/map.json
+++ b/data/maps/RustboroCity_House3/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_House3_EventScript_157DED",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_House3_EventScript_157DF6",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_House3_EventScript_157DFF",
"flag": "0"
diff --git a/data/maps/RustboroCity_Mart/map.json b/data/maps/RustboroCity_Mart/map.json
index ddd770acc..389da78f2 100644
--- a/data/maps/RustboroCity_Mart/map.json
+++ b/data/maps/RustboroCity_Mart/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Mart_EventScript_157BD4",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Mart_EventScript_157C4D",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Mart_EventScript_157C44",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Mart_EventScript_157C56",
"flag": "0"
diff --git a/data/maps/RustboroCity_PokemonCenter_1F/map.json b/data/maps/RustboroCity_PokemonCenter_1F/map.json
index 0db82f965..86fcd070c 100644
--- a/data/maps/RustboroCity_PokemonCenter_1F/map.json
+++ b/data/maps/RustboroCity_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonCenter_1F_EventScript_157B88",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonCenter_1F_EventScript_157B96",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonCenter_1F_EventScript_157B9F",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonCenter_1F_EventScript_157BA8",
"flag": "0"
diff --git a/data/maps/RustboroCity_PokemonCenter_2F/map.json b/data/maps/RustboroCity_PokemonCenter_2F/map.json
index d4c0a47f8..5d4209a8f 100644
--- a/data/maps/RustboroCity_PokemonCenter_2F/map.json
+++ b/data/maps/RustboroCity_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonCenter_2F_EventScript_157BC1",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonCenter_2F_EventScript_157BC7",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonCenter_2F_EventScript_157BCD",
"flag": "0"
diff --git a/data/maps/RustboroCity_PokemonSchool/map.json b/data/maps/RustboroCity_PokemonSchool/map.json
index c83fe43e1..cc34e9c93 100644
--- a/data/maps/RustboroCity_PokemonSchool/map.json
+++ b/data/maps/RustboroCity_PokemonSchool/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonSchool_EventScript_157A98",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonSchool_EventScript_157AA1",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonSchool_EventScript_157AAA",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonSchool_EventScript_157AB3",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonSchool_EventScript_157ABC",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonSchool_EventScript_157ACE",
"flag": "0"
diff --git a/data/maps/RusturfTunnel/map.json b/data/maps/RusturfTunnel/map.json
index 517180038..919abbd25 100644
--- a/data/maps/RusturfTunnel/map.json
+++ b/data/maps/RusturfTunnel/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RusturfTunnel_EventScript_15C799",
"flag": "FLAG_HIDE_BOYFRIEND_RUSTURF_TUNNEL"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_HIDE_RUSTURF_TUNNEL_ROCK_1"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RusturfTunnel_EventScript_1B1786",
"flag": "FLAG_ITEM_RUSTURF_TUNNEL_1"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RusturfTunnel_EventScript_1B1793",
"flag": "FLAG_ITEM_RUSTURF_TUNNEL_2"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_BRINEY_RUSTURF_TUNNEL"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RusturfTunnel_EventScript_15C9EA",
"flag": "FLAG_HIDE_GRUNT_RUSTURF_TUNNEL"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RusturfTunnel_EventScript_15C9D7",
"flag": "FLAG_HIDE_PEEKO_RUSTURF_TUNNEL"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_HIDE_RUSTURF_TUNNEL_ROCK_2"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "RusturfTunnel_EventScript_15CACD",
"flag": "0"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "RusturfTunnel_EventScript_15C782",
"flag": "FLAG_HIDE_GIRLFRIEND_RUSTURF_TUNNEL"
diff --git a/data/maps/SSTidalCorridor/map.json b/data/maps/SSTidalCorridor/map.json
index a9dc2e319..74813ed10 100644
--- a/data/maps/SSTidalCorridor/map.json
+++ b/data/maps/SSTidalCorridor/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SSTidalCorridor_EventScript_15FDD6",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SSTidalCorridor_EventScript_15FE60",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SSTidalCorridor_EventScript_15FD96",
"flag": "FLAG_HIDE_BRINEY_AND_PEEKO_SS_TIDAL"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SSTidalCorridor_EventScript_15FD9F",
"flag": "FLAG_HIDE_BRINEY_AND_PEEKO_SS_TIDAL"
diff --git a/data/maps/SSTidalLowerDeck/map.json b/data/maps/SSTidalLowerDeck/map.json
index 2d39a4738..dabe9dbbb 100644
--- a/data/maps/SSTidalLowerDeck/map.json
+++ b/data/maps/SSTidalLowerDeck/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_RIGHT_UP_LEFT",
"movement_range_x": 4,
"movement_range_y": 4,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "SSTidalLowerDeck_EventScript_15FED7",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_LEFT_UP_RIGHT",
"movement_range_x": 7,
"movement_range_y": 4,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "SSTidalLowerDeck_EventScript_15FEEE",
"flag": "0"
diff --git a/data/maps/SSTidalRooms/map.json b/data/maps/SSTidalRooms/map.json
index 26b8ea700..6cdac8246 100644
--- a/data/maps/SSTidalRooms/map.json
+++ b/data/maps/SSTidalRooms/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "SSTidalRooms_EventScript_15FF5D",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "SSTidalRooms_EventScript_15FF74",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "SSTidalRooms_EventScript_15FF8B",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "SSTidalRooms_EventScript_15FFA2",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "SSTidalRooms_EventScript_15FFBD",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "SSTidalRooms_EventScript_15FFD8",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "SSTidalRooms_EventScript_15FFEF",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SSTidalRooms_EventScript_15FF06",
"flag": "FLAG_HIDE_TM_49_GIVER_SS_TIDAL"
diff --git a/data/maps/SafariZone_Northeast/map.json b/data/maps/SafariZone_Northeast/map.json
index 162bab045..0207c6917 100644
--- a/data/maps/SafariZone_Northeast/map.json
+++ b/data/maps/SafariZone_Northeast/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_Northeast_EventScript_160011",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_Northeast_EventScript_16001A",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_11"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_12"
@@ -82,7 +82,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_13"
@@ -95,7 +95,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_14"
@@ -108,7 +108,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_15"
@@ -121,7 +121,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_16"
@@ -134,7 +134,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_Northeast_EventScript_1B1919",
"flag": "FLAG_ITEM_SAFARI_ZONE_NORTHEAST_1"
diff --git a/data/maps/SafariZone_Northwest/map.json b/data/maps/SafariZone_Northwest/map.json
index a978577ff..fa22ddef0 100644
--- a/data/maps/SafariZone_Northwest/map.json
+++ b/data/maps/SafariZone_Northwest/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_Northwest_EventScript_160007",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_Northwest_EventScript_1B190C",
"flag": "FLAG_ITEM_SAFARI_ZONE_NORTHWEST_1"
diff --git a/data/maps/SafariZone_RestHouse/map.json b/data/maps/SafariZone_RestHouse/map.json
index e1e4f1376..dc62a87e4 100644
--- a/data/maps/SafariZone_RestHouse/map.json
+++ b/data/maps/SafariZone_RestHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_RestHouse_EventScript_160C2F",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_RestHouse_EventScript_160C38",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_RestHouse_EventScript_160C41",
"flag": "0"
diff --git a/data/maps/SafariZone_Southeast/map.json b/data/maps/SafariZone_Southeast/map.json
index c21f3a5ee..c99a370e5 100644
--- a/data/maps/SafariZone_Southeast/map.json
+++ b/data/maps/SafariZone_Southeast/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_Southeast_EventScript_1600A7",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_Southeast_EventScript_16008C",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_Southeast_EventScript_160095",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_Southeast_EventScript_16009E",
"flag": "0"
diff --git a/data/maps/SafariZone_Southwest/map.json b/data/maps/SafariZone_Southwest/map.json
index 149fb1d6d..fd2d06f24 100644
--- a/data/maps/SafariZone_Southwest/map.json
+++ b/data/maps/SafariZone_Southwest/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_Southwest_EventScript_160024",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SafariZone_Southwest_EventScript_1B1926",
"flag": "FLAG_ITEM_SAFARI_ZONE_SOUTHWEST"
diff --git a/data/maps/ScorchedSlab/map.json b/data/maps/ScorchedSlab/map.json
index d77f55591..1bb82eea2 100644
--- a/data/maps/ScorchedSlab/map.json
+++ b/data/maps/ScorchedSlab/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "ScorchedSlab_EventScript_1B18FF",
"flag": "FLAG_ITEM_SCORCHED_SLAB_1"
diff --git a/data/maps/SeafloorCavern_Room1/map.json b/data/maps/SeafloorCavern_Room1/map.json
index 1ff3e10d6..d37a2ce20 100644
--- a/data/maps/SeafloorCavern_Room1/map.json
+++ b/data/maps/SeafloorCavern_Room1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_11"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_12"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_13"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "SeafloorCavern_Room1_EventScript_15DA6D",
"flag": "FLAG_HIDE_EVIL_TEAM_GRUNTS_SEAFLOOR_CAVERN"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "SeafloorCavern_Room1_EventScript_15DA84",
"flag": "FLAG_HIDE_EVIL_TEAM_GRUNTS_SEAFLOOR_CAVERN"
diff --git a/data/maps/SeafloorCavern_Room2/map.json b/data/maps/SeafloorCavern_Room2/map.json
index 6f118a1b6..ce9722c5a 100644
--- a/data/maps/SeafloorCavern_Room2/map.json
+++ b/data/maps/SeafloorCavern_Room2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_11"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_12"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_13"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_14"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_15"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_16"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_18"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_19"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_17"
diff --git a/data/maps/SeafloorCavern_Room3/map.json b/data/maps/SeafloorCavern_Room3/map.json
index f31764448..06c6e6d7e 100644
--- a/data/maps/SeafloorCavern_Room3/map.json
+++ b/data/maps/SeafloorCavern_Room3/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_11"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_12"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_13"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_14"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_15"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_16"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_17"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_18"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_19"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "SeafloorCavern_Room3_EventScript_15DAA8",
"flag": "FLAG_HIDE_EVIL_TEAM_GRUNTS_SEAFLOOR_CAVERN"
diff --git a/data/maps/SeafloorCavern_Room4/map.json b/data/maps/SeafloorCavern_Room4/map.json
index 28f00360b..2150f0cda 100644
--- a/data/maps/SeafloorCavern_Room4/map.json
+++ b/data/maps/SeafloorCavern_Room4/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "SeafloorCavern_Room4_EventScript_15DACB",
"flag": "FLAG_HIDE_EVIL_TEAM_GRUNTS_SEAFLOOR_CAVERN"
diff --git a/data/maps/SeafloorCavern_Room5/map.json b/data/maps/SeafloorCavern_Room5/map.json
index 85ba5add7..73c9b2979 100644
--- a/data/maps/SeafloorCavern_Room5/map.json
+++ b/data/maps/SeafloorCavern_Room5/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_11"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_12"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_13"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_15"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_16"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_14"
diff --git a/data/maps/SeafloorCavern_Room8/map.json b/data/maps/SeafloorCavern_Room8/map.json
index 4c143b175..caa853d21 100644
--- a/data/maps/SeafloorCavern_Room8/map.json
+++ b/data/maps/SeafloorCavern_Room8/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_11"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_12"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_13"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_14"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_15"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_16"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_17"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_18"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_19"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_1A"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_1B"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_1C"
diff --git a/data/maps/SeafloorCavern_Room9/map.json b/data/maps/SeafloorCavern_Room9/map.json
index e308633ec..c9cbc6d22 100644
--- a/data/maps/SeafloorCavern_Room9/map.json
+++ b/data/maps/SeafloorCavern_Room9/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_AWAKENED_MON_SEAFLOOR_CAVERN"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_EVIL_LEADER_SEAFLOOR_CAVERN"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_OTHER_LEADER_SEAFLOOR_CAVERN"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_OTHER_TEAM_GRUNTS_SEAFLOOR_CAVERN"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_OTHER_TEAM_GRUNTS_SEAFLOOR_CAVERN"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SeafloorCavern_Room9_EventScript_1B1A37",
"flag": "FLAG_ITEM_SEAFLOOR_CAVERN_ROOM_9_1"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_SLEEPING_MON_SEAFLOOR_CAVERN"
diff --git a/data/maps/SecretBase_BlueCave1/map.json b/data/maps/SecretBase_BlueCave1/map.json
index cafc327b2..48c4ec49c 100644
--- a/data/maps/SecretBase_BlueCave1/map.json
+++ b/data/maps/SecretBase_BlueCave1/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_BlueCave1_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_BlueCave2/map.json b/data/maps/SecretBase_BlueCave2/map.json
index f3e9d8062..075ccbbfa 100644
--- a/data/maps/SecretBase_BlueCave2/map.json
+++ b/data/maps/SecretBase_BlueCave2/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_BlueCave2_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_BlueCave3/map.json b/data/maps/SecretBase_BlueCave3/map.json
index 2304dd2a5..482b3d4a3 100644
--- a/data/maps/SecretBase_BlueCave3/map.json
+++ b/data/maps/SecretBase_BlueCave3/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_BlueCave3_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_BlueCave4/map.json b/data/maps/SecretBase_BlueCave4/map.json
index dedff942d..b3d6a37d4 100644
--- a/data/maps/SecretBase_BlueCave4/map.json
+++ b/data/maps/SecretBase_BlueCave4/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_BlueCave4_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_BrownCave1/map.json b/data/maps/SecretBase_BrownCave1/map.json
index 6f6d65d57..1ffa76d99 100644
--- a/data/maps/SecretBase_BrownCave1/map.json
+++ b/data/maps/SecretBase_BrownCave1/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_BrownCave1_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_BrownCave2/map.json b/data/maps/SecretBase_BrownCave2/map.json
index f335e4198..f0c455fc1 100644
--- a/data/maps/SecretBase_BrownCave2/map.json
+++ b/data/maps/SecretBase_BrownCave2/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_BrownCave2_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_BrownCave3/map.json b/data/maps/SecretBase_BrownCave3/map.json
index a228d136e..f7ec74fed 100644
--- a/data/maps/SecretBase_BrownCave3/map.json
+++ b/data/maps/SecretBase_BrownCave3/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_BrownCave3_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_BrownCave4/map.json b/data/maps/SecretBase_BrownCave4/map.json
index 740e16515..d1ae09924 100644
--- a/data/maps/SecretBase_BrownCave4/map.json
+++ b/data/maps/SecretBase_BrownCave4/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_BrownCave4_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_RedCave1/map.json b/data/maps/SecretBase_RedCave1/map.json
index 46ff6b973..c9dd337ae 100644
--- a/data/maps/SecretBase_RedCave1/map.json
+++ b/data/maps/SecretBase_RedCave1/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_RedCave1_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_RedCave2/map.json b/data/maps/SecretBase_RedCave2/map.json
index b610dbbb7..ecc21b523 100644
--- a/data/maps/SecretBase_RedCave2/map.json
+++ b/data/maps/SecretBase_RedCave2/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_RedCave2_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_RedCave3/map.json b/data/maps/SecretBase_RedCave3/map.json
index 23522278a..f038f3449 100644
--- a/data/maps/SecretBase_RedCave3/map.json
+++ b/data/maps/SecretBase_RedCave3/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_RedCave3_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_RedCave4/map.json b/data/maps/SecretBase_RedCave4/map.json
index 3f9c09a84..537622c45 100644
--- a/data/maps/SecretBase_RedCave4/map.json
+++ b/data/maps/SecretBase_RedCave4/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_RedCave4_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_Shrub1/map.json b/data/maps/SecretBase_Shrub1/map.json
index 3ee8d9072..f4980476d 100644
--- a/data/maps/SecretBase_Shrub1/map.json
+++ b/data/maps/SecretBase_Shrub1/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_Shrub1_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_Shrub2/map.json b/data/maps/SecretBase_Shrub2/map.json
index bdbdf0407..61a53af44 100644
--- a/data/maps/SecretBase_Shrub2/map.json
+++ b/data/maps/SecretBase_Shrub2/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_Shrub2_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_Shrub3/map.json b/data/maps/SecretBase_Shrub3/map.json
index 0da13143a..5d92fe6ee 100644
--- a/data/maps/SecretBase_Shrub3/map.json
+++ b/data/maps/SecretBase_Shrub3/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_Shrub3_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_Shrub4/map.json b/data/maps/SecretBase_Shrub4/map.json
index b2926c167..296e63958 100644
--- a/data/maps/SecretBase_Shrub4/map.json
+++ b/data/maps/SecretBase_Shrub4/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_Shrub4_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_Tree1/map.json b/data/maps/SecretBase_Tree1/map.json
index f7831972b..0e9366a6a 100644
--- a/data/maps/SecretBase_Tree1/map.json
+++ b/data/maps/SecretBase_Tree1/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_Tree1_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_Tree2/map.json b/data/maps/SecretBase_Tree2/map.json
index 5285269d7..92a4c9240 100644
--- a/data/maps/SecretBase_Tree2/map.json
+++ b/data/maps/SecretBase_Tree2/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_Tree2_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_Tree3/map.json b/data/maps/SecretBase_Tree3/map.json
index f17d16851..a27353ec0 100644
--- a/data/maps/SecretBase_Tree3/map.json
+++ b/data/maps/SecretBase_Tree3/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_Tree3_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_Tree4/map.json b/data/maps/SecretBase_Tree4/map.json
index b907de4da..e2de6d6c1 100644
--- a/data/maps/SecretBase_Tree4/map.json
+++ b/data/maps/SecretBase_Tree4/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_Tree4_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_YellowCave1/map.json b/data/maps/SecretBase_YellowCave1/map.json
index 02a0256ac..0dbf8134b 100644
--- a/data/maps/SecretBase_YellowCave1/map.json
+++ b/data/maps/SecretBase_YellowCave1/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_YellowCave1_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_YellowCave2/map.json b/data/maps/SecretBase_YellowCave2/map.json
index 011080f51..25bcd3ea4 100644
--- a/data/maps/SecretBase_YellowCave2/map.json
+++ b/data/maps/SecretBase_YellowCave2/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_YellowCave2_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_YellowCave3/map.json b/data/maps/SecretBase_YellowCave3/map.json
index 5bbb30751..e9a9bb038 100644
--- a/data/maps/SecretBase_YellowCave3/map.json
+++ b/data/maps/SecretBase_YellowCave3/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_YellowCave3_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/SecretBase_YellowCave4/map.json b/data/maps/SecretBase_YellowCave4/map.json
index 0732d6282..0c7699125 100644
--- a/data/maps/SecretBase_YellowCave4/map.json
+++ b/data/maps/SecretBase_YellowCave4/map.json
@@ -20,7 +20,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SecretBase_YellowCave4_EventScript_1A2FC0",
"flag": "FLAG_DECORATION_1"
@@ -33,7 +33,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_2"
@@ -46,7 +46,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_3"
@@ -59,7 +59,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_4"
@@ -72,7 +72,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_5"
@@ -85,7 +85,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_6"
@@ -98,7 +98,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_7"
@@ -111,7 +111,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_8"
@@ -124,7 +124,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_9"
@@ -137,7 +137,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_10"
@@ -150,7 +150,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_11"
@@ -163,7 +163,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_12"
@@ -176,7 +176,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_13"
@@ -189,7 +189,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_14"
@@ -202,7 +202,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_DECORATION_15"
diff --git a/data/maps/ShoalCave_LowTideEntranceRoom/map.json b/data/maps/ShoalCave_LowTideEntranceRoom/map.json
index cb85bc9d3..5db783bc3 100644
--- a/data/maps/ShoalCave_LowTideEntranceRoom/map.json
+++ b/data/maps/ShoalCave_LowTideEntranceRoom/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "ShoalCave_LowTideEntranceRoom_EventScript_1B19F6",
"flag": "FLAG_ITEM_SHOAL_CAVE_LOW_TIDE_ENTRANCE_1"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "ShoalCave_LowTideEntranceRoom_EventScript_15E076",
"flag": "0"
diff --git a/data/maps/ShoalCave_LowTideIceRoom/map.json b/data/maps/ShoalCave_LowTideIceRoom/map.json
index 614b0bd45..3e00c17bd 100644
--- a/data/maps/ShoalCave_LowTideIceRoom/map.json
+++ b/data/maps/ShoalCave_LowTideIceRoom/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "ShoalCave_LowTideIceRoom_EventScript_1B1A1D",
"flag": "FLAG_ITEM_SHOAL_CAVE_LOW_TIDE_ICE_ROOM_1"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "ShoalCave_LowTideIceRoom_EventScript_1B1A2A",
"flag": "FLAG_ITEM_SHOAL_CAVE_LOW_TIDE_ICE_ROOM_2"
diff --git a/data/maps/ShoalCave_LowTideInnerRoom/map.json b/data/maps/ShoalCave_LowTideInnerRoom/map.json
index cb71337b8..53ebe6eb6 100644
--- a/data/maps/ShoalCave_LowTideInnerRoom/map.json
+++ b/data/maps/ShoalCave_LowTideInnerRoom/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "ShoalCave_LowTideInnerRoom_EventScript_1B1A03",
"flag": "FLAG_ITEM_SHOAL_CAVE_LOW_TIDE_INNER_ROOM_1"
diff --git a/data/maps/ShoalCave_LowTideLowerRoom/map.json b/data/maps/ShoalCave_LowTideLowerRoom/map.json
index 4caad9c19..3604ee850 100644
--- a/data/maps/ShoalCave_LowTideLowerRoom/map.json
+++ b/data/maps/ShoalCave_LowTideLowerRoom/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_11"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "ShoalCave_LowTideLowerRoom_EventScript_15E44F",
"flag": "0"
diff --git a/data/maps/ShoalCave_LowTideStairsRoom/map.json b/data/maps/ShoalCave_LowTideStairsRoom/map.json
index 945c23cf5..b5c200b45 100644
--- a/data/maps/ShoalCave_LowTideStairsRoom/map.json
+++ b/data/maps/ShoalCave_LowTideStairsRoom/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "ShoalCave_LowTideStairsRoom_EventScript_1B1A10",
"flag": "FLAG_ITEM_SHOAL_CAVE_LOW_TIDE_STAIRS_ROOM_1"
diff --git a/data/maps/SingleBattleColosseum/map.json b/data/maps/SingleBattleColosseum/map.json
index 8d401f04f..47703ae02 100644
--- a/data/maps/SingleBattleColosseum/map.json
+++ b/data/maps/SingleBattleColosseum/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SingleBattleColosseum_EventScript_1A449E",
"flag": "0"
diff --git a/data/maps/SkyPillar_Top/map.json b/data/maps/SkyPillar_Top/map.json
index edb7cb344..44854fc28 100644
--- a/data/maps/SkyPillar_Top/map.json
+++ b/data/maps/SkyPillar_Top/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SkyPillar_Top_EventScript_15F316",
"flag": "FLAG_HIDE_RAYQUAZA"
diff --git a/data/maps/SlateportCity/map.json b/data/maps/SlateportCity/map.json
index fdfb341d8..9df1b3229 100644
--- a/data/maps/SlateportCity/map.json
+++ b/data/maps/SlateportCity/map.json
@@ -35,7 +35,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BBD6",
"flag": "0"
@@ -48,7 +48,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BBF3",
"flag": "0"
@@ -61,7 +61,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BBB5",
"flag": "0"
@@ -74,7 +74,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BC14",
"flag": "0"
@@ -87,7 +87,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BD3A",
"flag": "FLAG_HIDE_EVIL_TEAM_SLATEPORT"
@@ -100,7 +100,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BB3F",
"flag": "0"
@@ -113,7 +113,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BB60",
"flag": "0"
@@ -126,7 +126,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BB81",
"flag": "0"
@@ -139,7 +139,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14C017",
"flag": "FLAG_HIDE_GABBY_AND_TY_SLATEPORT"
@@ -152,7 +152,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14C020",
"flag": "FLAG_HIDE_GABBY_AND_TY_SLATEPORT"
@@ -165,7 +165,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BEBC",
"flag": "FLAG_HIDE_STERN_SLATEPORT"
@@ -178,7 +178,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BCE2",
"flag": "0"
@@ -191,7 +191,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BCEB",
"flag": "0"
@@ -204,7 +204,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BCF4",
"flag": "0"
@@ -217,7 +217,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BCFD",
"flag": "0"
@@ -230,7 +230,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BD06",
"flag": "0"
@@ -243,7 +243,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BCB8",
"flag": "0"
@@ -256,7 +256,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BCD9",
"flag": "0"
@@ -269,7 +269,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BD51",
"flag": "FLAG_HIDE_EVIL_TEAM_SLATEPORT"
@@ -282,7 +282,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BD68",
"flag": "FLAG_HIDE_EVIL_TEAM_SLATEPORT"
@@ -295,7 +295,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BE20",
"flag": "0"
@@ -308,7 +308,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BDF2",
"flag": "0"
@@ -321,7 +321,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14C029",
"flag": "0"
@@ -334,7 +334,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BAE0",
"flag": "0"
@@ -347,7 +347,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BE9A",
"flag": "FLAG_HIDE_TM_SALESMAN_SLATEPORT"
@@ -360,7 +360,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BAB6",
"flag": "0"
@@ -373,7 +373,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BD7F",
"flag": "FLAG_HIDE_EVIL_TEAM_SLATEPORT"
@@ -386,7 +386,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BD96",
"flag": "FLAG_HIDE_EVIL_TEAM_SLATEPORT"
@@ -399,7 +399,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BDAD",
"flag": "FLAG_HIDE_EVIL_TEAM_SLATEPORT"
@@ -412,7 +412,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BDC4",
"flag": "FLAG_HIDE_EVIL_TEAM_SLATEPORT"
@@ -425,7 +425,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_EventScript_14BDDB",
"flag": "FLAG_HIDE_EVIL_TEAM_SLATEPORT"
diff --git a/data/maps/SlateportCity_ContestHall/map.json b/data/maps/SlateportCity_ContestHall/map.json
index 6084fcd54..803b35db0 100644
--- a/data/maps/SlateportCity_ContestHall/map.json
+++ b/data/maps/SlateportCity_ContestHall/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_15554C",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 3,
"movement_range_y": 3,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_155555",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_15559F",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_1555B4",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_1555C9",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_1555DE",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_1555F3",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_155608",
"flag": "0"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_15561D",
"flag": "0"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_155632",
"flag": "0"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_15565C",
"flag": "0"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_155647",
"flag": "0"
@@ -175,7 +175,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 4,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestHall_EventScript_15555E",
"flag": "0"
diff --git a/data/maps/SlateportCity_ContestLobby/map.json b/data/maps/SlateportCity_ContestLobby/map.json
index bcb51b116..44a98ea06 100644
--- a/data/maps/SlateportCity_ContestLobby/map.json
+++ b/data/maps/SlateportCity_ContestLobby/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 3,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestLobby_EventScript_15541D",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestLobby_EventScript_1B7795",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestLobby_EventScript_1554DE",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestLobby_EventScript_1554E7",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestLobby_EventScript_1AE0B6",
"flag": "FLAG_HIDE_CONTEST_REPORTER_SLATEPORT"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestLobby_EventScript_155536",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestLobby_EventScript_1554F9",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_ContestLobby_EventScript_1554F0",
"flag": "0"
diff --git a/data/maps/SlateportCity_Harbor/map.json b/data/maps/SlateportCity_Harbor/map.json
index 43aa2334c..6a7bf3969 100644
--- a/data/maps/SlateportCity_Harbor/map.json
+++ b/data/maps/SlateportCity_Harbor/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_Harbor_EventScript_1560C4",
"flag": "FLAG_HIDE_WORKERS_SLATEPORT_HARBOR"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_Harbor_EventScript_1561FF",
"flag": "FLAG_HIDE_WORKERS_SLATEPORT_HARBOR"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_Harbor_EventScript_156208",
"flag": "FLAG_HIDE_WORKERS_SLATEPORT_HARBOR"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_Harbor_EventScript_156211",
"flag": "FLAG_HIDE_STERN_SLATEPORT_HARBOR"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_SS_TIDAL_SLATEPORT_HARBOR"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_GRUNT_1_SLATEPORT_HARBOR"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_GRUNT_2_SLATEPORT_HARBOR"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_SUBMARINE_SHADOW_SLATEPORT_HARBOR"
diff --git a/data/maps/SlateportCity_House1/map.json b/data/maps/SlateportCity_House1/map.json
index 596a3c7ad..a9b24dab5 100644
--- a/data/maps/SlateportCity_House1/map.json
+++ b/data/maps/SlateportCity_House1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_House1_EventScript_15567B",
"flag": "0"
diff --git a/data/maps/SlateportCity_House2/map.json b/data/maps/SlateportCity_House2/map.json
index 93ff24a83..b27168eca 100644
--- a/data/maps/SlateportCity_House2/map.json
+++ b/data/maps/SlateportCity_House2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_House2_EventScript_156390",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_House2_EventScript_156399",
"flag": "0"
diff --git a/data/maps/SlateportCity_Mart/map.json b/data/maps/SlateportCity_Mart/map.json
index cf4541605..69e227101 100644
--- a/data/maps/SlateportCity_Mart/map.json
+++ b/data/maps/SlateportCity_Mart/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_Mart_EventScript_156411",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_Mart_EventScript_15643E",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_Mart_EventScript_156447",
"flag": "0"
diff --git a/data/maps/SlateportCity_OceanicMuseum_1F/map.json b/data/maps/SlateportCity_OceanicMuseum_1F/map.json
index 7e88562c9..db9aaec0f 100644
--- a/data/maps/SlateportCity_OceanicMuseum_1F/map.json
+++ b/data/maps/SlateportCity_OceanicMuseum_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155ADB",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155BA1",
"flag": "FLAG_HIDE_EVIL_TEAM_OCEANIC_MUSEUM"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155BAA",
"flag": "FLAG_HIDE_EVIL_TEAM_OCEANIC_MUSEUM"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155B98",
"flag": "FLAG_HIDE_EVIL_TEAM_OCEANIC_MUSEUM"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155B8F",
"flag": "FLAG_HIDE_EVIL_TEAM_OCEANIC_MUSEUM"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155BB3",
"flag": "FLAG_HIDE_EVIL_TEAM_OCEANIC_MUSEUM"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155ADB",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155BBC",
"flag": "FLAG_HIDE_EVIL_TEAM_OCEANIC_MUSEUM"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155C16",
"flag": "FLAG_HIDE_OCEANIC_MUSEUM_VISITORS"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155C1F",
"flag": "FLAG_HIDE_OCEANIC_MUSEUM_VISITORS"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155C28",
"flag": "FLAG_HIDE_OCEANIC_MUSEUM_VISITORS"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155C31",
"flag": "FLAG_HIDE_OCEANIC_MUSEUM_VISITORS"
@@ -175,7 +175,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_155C3A",
"flag": "FLAG_HIDE_SCARED_GRUNT_OCEANIC_MUSEUM"
@@ -188,7 +188,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_1F_EventScript_1ADEE0",
"flag": "FLAG_HIDE_OCEANIC_MUSEUM_VISITORS"
diff --git a/data/maps/SlateportCity_OceanicMuseum_2F/map.json b/data/maps/SlateportCity_OceanicMuseum_2F/map.json
index 578249d64..e00f2ade1 100644
--- a/data/maps/SlateportCity_OceanicMuseum_2F/map.json
+++ b/data/maps/SlateportCity_OceanicMuseum_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_2F_EventScript_155CE6",
"flag": "FLAG_HIDE_STERN_OCEANIC_MUSEUM_2F"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_EVIL_TEAM_LEADER_OCEANIC_MUSEUM_2F"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_GRUNT_1_OCEANIC_MUSEUM_2F"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_GRUNT_2_OCEANIC_MUSEUM_2F"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_2F_EventScript_155F34",
"flag": "FLAG_HIDE_OCEANIC_MUSEUM_VISITORS"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_2F_EventScript_155F3D",
"flag": "FLAG_HIDE_OCEANIC_MUSEUM_VISITORS"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_OceanicMuseum_2F_EventScript_155F46",
"flag": "FLAG_HIDE_OCEANIC_MUSEUM_VISITORS"
diff --git a/data/maps/SlateportCity_PokemonCenter_1F/map.json b/data/maps/SlateportCity_PokemonCenter_1F/map.json
index 67c8eb1e3..de1a16a27 100644
--- a/data/maps/SlateportCity_PokemonCenter_1F/map.json
+++ b/data/maps/SlateportCity_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonCenter_1F_EventScript_1563CE",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonCenter_1F_EventScript_1563DC",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonCenter_1F_EventScript_1563E5",
"flag": "0"
diff --git a/data/maps/SlateportCity_PokemonCenter_2F/map.json b/data/maps/SlateportCity_PokemonCenter_2F/map.json
index 0b97403b1..b7d8799fe 100644
--- a/data/maps/SlateportCity_PokemonCenter_2F/map.json
+++ b/data/maps/SlateportCity_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonCenter_2F_EventScript_1563FE",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonCenter_2F_EventScript_156404",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonCenter_2F_EventScript_15640A",
"flag": "0"
diff --git a/data/maps/SlateportCity_PokemonFanClub/map.json b/data/maps/SlateportCity_PokemonFanClub/map.json
index 0226b2688..d5a39eb54 100644
--- a/data/maps/SlateportCity_PokemonFanClub/map.json
+++ b/data/maps/SlateportCity_PokemonFanClub/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonFanClub_EventScript_155A7F",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonFanClub_EventScript_155A88",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonFanClub_EventScript_1ADFA0",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonFanClub_EventScript_155A15",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonFanClub_EventScript_15576B",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonFanClub_EventScript_155AA4",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonFanClub_EventScript_155A91",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonFanClub_EventScript_155AB7",
"flag": "0"
diff --git a/data/maps/SlateportCity_SternsShipyard_1F/map.json b/data/maps/SlateportCity_SternsShipyard_1F/map.json
index d506e68aa..b916af9ea 100644
--- a/data/maps/SlateportCity_SternsShipyard_1F/map.json
+++ b/data/maps/SlateportCity_SternsShipyard_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_SternsShipyard_1F_EventScript_155336",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_SternsShipyard_1F_EventScript_1553E3",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_SternsShipyard_1F_EventScript_1553EC",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_SternsShipyard_1F_EventScript_1553F5",
"flag": "FLAG_HIDE_BRINEY_SLATEPORT_SHIPYARD"
diff --git a/data/maps/SlateportCity_SternsShipyard_2F/map.json b/data/maps/SlateportCity_SternsShipyard_2F/map.json
index 75caaada4..d2a35e317 100644
--- a/data/maps/SlateportCity_SternsShipyard_2F/map.json
+++ b/data/maps/SlateportCity_SternsShipyard_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_SternsShipyard_2F_EventScript_1553FF",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_SternsShipyard_2F_EventScript_155408",
"flag": "0"
diff --git a/data/maps/SootopolisCity/map.json b/data/maps/SootopolisCity/map.json
index 8184c79cb..e4c2d7710 100644
--- a/data/maps/SootopolisCity/map.json
+++ b/data/maps/SootopolisCity/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_14D18D",
"flag": "FLAG_HIDE_CAVE_OF_ORIGIN_ENTRANCE_WOMAN_1"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_14D196",
"flag": "FLAG_HIDE_CAVE_OF_ORIGIN_ENTRANCE_WOMAN_2"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_14D16E",
"flag": "FLAG_HIDE_SOOTOPOLIS_RESIDENTS"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_14D268",
"flag": "FLAG_HIDE_SOOTOPOLIS_RESIDENTS"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_14D48F",
"flag": "FLAG_HIDE_WALLACE_SOOTOPOLIS"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_14D19F",
"flag": "FLAG_HIDE_SOOTOPOLIS_RESIDENTS"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_14D2C5",
"flag": "FLAG_HIDE_SOOTOPOLIS_RESIDENTS"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_14D2E4",
"flag": "FLAG_HIDE_SOOTOPOLIS_RESIDENTS"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_14D287",
"flag": "FLAG_HIDE_SOOTOPOLIS_RESIDENTS"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_14D498",
"flag": "FLAG_HIDE_STEVEN_SOOTOPOLIS"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_EventScript_14D2A6",
"flag": "FLAG_HIDE_SOOTOPOLIS_RESIDENTS"
diff --git a/data/maps/SootopolisCity_Gym_1F/map.json b/data/maps/SootopolisCity_Gym_1F/map.json
index 541c548a1..e28450cd1 100644
--- a/data/maps/SootopolisCity_Gym_1F/map.json
+++ b/data/maps/SootopolisCity_Gym_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_Gym_1F_EventScript_15AFFF",
"flag": "FLAG_HIDE_WALLACE_SOOTOPOLIS_GYM"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_Gym_1F_EventScript_15B084",
"flag": "0"
diff --git a/data/maps/SootopolisCity_Gym_B1F/map.json b/data/maps/SootopolisCity_Gym_B1F/map.json
index 1c1f356e7..9a0619421 100644
--- a/data/maps/SootopolisCity_Gym_B1F/map.json
+++ b/data/maps/SootopolisCity_Gym_B1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "SootopolisCity_Gym_B1F_EventScript_15B0D8",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "SootopolisCity_Gym_B1F_EventScript_15B11D",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "SootopolisCity_Gym_B1F_EventScript_15B106",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "5",
"script": "SootopolisCity_Gym_B1F_EventScript_15B134",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "SootopolisCity_Gym_B1F_EventScript_15B162",
"flag": "0"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "SootopolisCity_Gym_B1F_EventScript_15B179",
"flag": "0"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "SootopolisCity_Gym_B1F_EventScript_15B0EF",
"flag": "0"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "SootopolisCity_Gym_B1F_EventScript_15B14B",
"flag": "0"
diff --git a/data/maps/SootopolisCity_House1/map.json b/data/maps/SootopolisCity_House1/map.json
index 2bf4bd5ef..8c024eca8 100644
--- a/data/maps/SootopolisCity_House1/map.json
+++ b/data/maps/SootopolisCity_House1/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House1_EventScript_15B29B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House1_EventScript_15B2D1",
"flag": "0"
diff --git a/data/maps/SootopolisCity_House2/map.json b/data/maps/SootopolisCity_House2/map.json
index 608a9a9bb..09ec1c06f 100644
--- a/data/maps/SootopolisCity_House2/map.json
+++ b/data/maps/SootopolisCity_House2/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House2_EventScript_15B2E5",
"flag": "0"
diff --git a/data/maps/SootopolisCity_House3/map.json b/data/maps/SootopolisCity_House3/map.json
index 915a3b63a..282e50bc4 100644
--- a/data/maps/SootopolisCity_House3/map.json
+++ b/data/maps/SootopolisCity_House3/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House3_EventScript_15B31A",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House3_EventScript_15B343",
"flag": "0"
diff --git a/data/maps/SootopolisCity_House4/map.json b/data/maps/SootopolisCity_House4/map.json
index 33dd96c46..61bbfa10b 100644
--- a/data/maps/SootopolisCity_House4/map.json
+++ b/data/maps/SootopolisCity_House4/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House4_EventScript_15B34D",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House4_EventScript_15B356",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House4_EventScript_15B35F",
"flag": "0"
diff --git a/data/maps/SootopolisCity_House5/map.json b/data/maps/SootopolisCity_House5/map.json
index dd424dcf1..89becb6c6 100644
--- a/data/maps/SootopolisCity_House5/map.json
+++ b/data/maps/SootopolisCity_House5/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House5_EventScript_15B373",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House5_EventScript_15B37C",
"flag": "0"
diff --git a/data/maps/SootopolisCity_House6/map.json b/data/maps/SootopolisCity_House6/map.json
index b7c3a0874..19df640ce 100644
--- a/data/maps/SootopolisCity_House6/map.json
+++ b/data/maps/SootopolisCity_House6/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House6_EventScript_15B386",
"flag": "0"
diff --git a/data/maps/SootopolisCity_House7/map.json b/data/maps/SootopolisCity_House7/map.json
index 9d98555d9..9ccef3f2b 100644
--- a/data/maps/SootopolisCity_House7/map.json
+++ b/data/maps/SootopolisCity_House7/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House7_EventScript_15B3EE",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House7_EventScript_15B3F7",
"flag": "0"
diff --git a/data/maps/SootopolisCity_House8/map.json b/data/maps/SootopolisCity_House8/map.json
index d4bc31546..07ea5c5a0 100644
--- a/data/maps/SootopolisCity_House8/map.json
+++ b/data/maps/SootopolisCity_House8/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House8_EventScript_15B492",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House8_EventScript_15B401",
"flag": "0"
diff --git a/data/maps/SootopolisCity_Mart/map.json b/data/maps/SootopolisCity_Mart/map.json
index 36435f04c..43ae2ca93 100644
--- a/data/maps/SootopolisCity_Mart/map.json
+++ b/data/maps/SootopolisCity_Mart/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_Mart_EventScript_15B21B",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_Mart_EventScript_15B24A",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_Mart_EventScript_15B272",
"flag": "0"
diff --git a/data/maps/SootopolisCity_PokemonCenter_1F/map.json b/data/maps/SootopolisCity_PokemonCenter_1F/map.json
index 944e7afda..795e69cd6 100644
--- a/data/maps/SootopolisCity_PokemonCenter_1F/map.json
+++ b/data/maps/SootopolisCity_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_PokemonCenter_1F_EventScript_15BC70",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_PokemonCenter_1F_EventScript_15B1A8",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_PokemonCenter_1F_EventScript_15B1D0",
"flag": "0"
diff --git a/data/maps/SootopolisCity_PokemonCenter_2F/map.json b/data/maps/SootopolisCity_PokemonCenter_2F/map.json
index 83f4627fc..ff92662bb 100644
--- a/data/maps/SootopolisCity_PokemonCenter_2F/map.json
+++ b/data/maps/SootopolisCity_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_PokemonCenter_2F_EventScript_15B208",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_PokemonCenter_2F_EventScript_15B20E",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_PokemonCenter_2F_EventScript_15B214",
"flag": "0"
diff --git a/data/maps/SouthernIsland_Exterior/map.json b/data/maps/SouthernIsland_Exterior/map.json
index abac82272..2a8bfd397 100644
--- a/data/maps/SouthernIsland_Exterior/map.json
+++ b/data/maps/SouthernIsland_Exterior/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SouthernIsland_Exterior_EventScript_160AE0",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
diff --git a/data/maps/SouthernIsland_Interior/map.json b/data/maps/SouthernIsland_Interior/map.json
index 80c109755..c93edfe2f 100644
--- a/data/maps/SouthernIsland_Interior/map.json
+++ b/data/maps/SouthernIsland_Interior/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_LATIOS_OR_LATIAS_FLYING"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_LATIOS_OR_LATIAS_STATIONARY"
diff --git a/data/maps/TradeCenter/map.json b/data/maps/TradeCenter/map.json
index f80e362be..f31bfc8c6 100644
--- a/data/maps/TradeCenter/map.json
+++ b/data/maps/TradeCenter/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "TradeCenter_EventScript_1A44AD",
"flag": "0"
diff --git a/data/maps/Underwater_SeafloorCavern/map.json b/data/maps/Underwater_SeafloorCavern/map.json
index 030de2c7e..6ec900a6f 100644
--- a/data/maps/Underwater_SeafloorCavern/map.json
+++ b/data/maps/Underwater_SeafloorCavern/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Underwater_SeafloorCavern_EventScript_15DA3F",
"flag": "FLAG_HIDE_UNDERWATER_SUBMARINE_INTERACTION"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Underwater_SeafloorCavern_EventScript_15DA3F",
"flag": "FLAG_HIDE_UNDERWATER_SUBMARINE_INTERACTION"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Underwater_SeafloorCavern_EventScript_15DA3F",
"flag": "FLAG_HIDE_UNDERWATER_SUBMARINE_INTERACTION"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Underwater_SeafloorCavern_EventScript_15DA3F",
"flag": "FLAG_HIDE_UNDERWATER_SUBMARINE_INTERACTION"
diff --git a/data/maps/VerdanturfTown/map.json b/data/maps/VerdanturfTown/map.json
index f3ac91f52..71f176e2b 100644
--- a/data/maps/VerdanturfTown/map.json
+++ b/data/maps/VerdanturfTown/map.json
@@ -30,7 +30,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_EventScript_14E899",
"flag": "0"
@@ -43,7 +43,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_EventScript_14E866",
"flag": "0"
@@ -56,7 +56,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_EventScript_14E8AB",
"flag": "0"
@@ -69,7 +69,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_EventScript_14E8A2",
"flag": "0"
diff --git a/data/maps/VerdanturfTown_ContestHall/map.json b/data/maps/VerdanturfTown_ContestHall/map.json
index 80225a30d..90215698b 100644
--- a/data/maps/VerdanturfTown_ContestHall/map.json
+++ b/data/maps/VerdanturfTown_ContestHall/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 3,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_ContestHall_EventScript_153EA9",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_ContestHall_EventScript_153E97",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 2,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_ContestHall_EventScript_153EA0",
"flag": "0"
diff --git a/data/maps/VerdanturfTown_ContestLobby/map.json b/data/maps/VerdanturfTown_ContestLobby/map.json
index feb2dfbed..acd5caa8c 100644
--- a/data/maps/VerdanturfTown_ContestLobby/map.json
+++ b/data/maps/VerdanturfTown_ContestLobby/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 3,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_ContestLobby_EventScript_153D76",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_ContestLobby_EventScript_1B77A0",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_ContestLobby_EventScript_153E47",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_ContestLobby_EventScript_153E3E",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_ContestLobby_EventScript_1AE0B6",
"flag": "FLAG_HIDE_CONTEST_REPORTER_VERDANTURF"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_ContestLobby_EventScript_153E80",
"flag": "0"
diff --git a/data/maps/VerdanturfTown_FriendshipRatersHouse/map.json b/data/maps/VerdanturfTown_FriendshipRatersHouse/map.json
index 21d102b64..0d9e9113a 100644
--- a/data/maps/VerdanturfTown_FriendshipRatersHouse/map.json
+++ b/data/maps/VerdanturfTown_FriendshipRatersHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_FriendshipRatersHouse_EventScript_154030",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_FriendshipRatersHouse_EventScript_1540D9",
"flag": "0"
diff --git a/data/maps/VerdanturfTown_House/map.json b/data/maps/VerdanturfTown_House/map.json
index dacece217..b09e47a12 100644
--- a/data/maps/VerdanturfTown_House/map.json
+++ b/data/maps/VerdanturfTown_House/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_House_EventScript_1540ED",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_House_EventScript_1540F6",
"flag": "0"
diff --git a/data/maps/VerdanturfTown_Mart/map.json b/data/maps/VerdanturfTown_Mart/map.json
index 367f8e510..445ea2e1e 100644
--- a/data/maps/VerdanturfTown_Mart/map.json
+++ b/data/maps/VerdanturfTown_Mart/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_Mart_EventScript_153EBC",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_Mart_EventScript_153EEE",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_Mart_EventScript_153EF7",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_Mart_EventScript_153F00",
"flag": "0"
diff --git a/data/maps/VerdanturfTown_PokemonCenter_1F/map.json b/data/maps/VerdanturfTown_PokemonCenter_1F/map.json
index 41945575a..220aceaec 100644
--- a/data/maps/VerdanturfTown_PokemonCenter_1F/map.json
+++ b/data/maps/VerdanturfTown_PokemonCenter_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_PokemonCenter_1F_EventScript_153F18",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_PokemonCenter_1F_EventScript_153F26",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_PokemonCenter_1F_EventScript_153F2F",
"flag": "0"
diff --git a/data/maps/VerdanturfTown_PokemonCenter_2F/map.json b/data/maps/VerdanturfTown_PokemonCenter_2F/map.json
index c5dddc69c..b5b8c9fef 100644
--- a/data/maps/VerdanturfTown_PokemonCenter_2F/map.json
+++ b/data/maps/VerdanturfTown_PokemonCenter_2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_PokemonCenter_2F_EventScript_153F48",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_PokemonCenter_2F_EventScript_153F4E",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_PokemonCenter_2F_EventScript_153F54",
"flag": "0"
diff --git a/data/maps/VerdanturfTown_WandasHouse/map.json b/data/maps/VerdanturfTown_WandasHouse/map.json
index 599bfe697..3986443e2 100644
--- a/data/maps/VerdanturfTown_WandasHouse/map.json
+++ b/data/maps/VerdanturfTown_WandasHouse/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_WandasHouse_EventScript_153F5B",
"flag": "FLAG_HIDE_WALLY_WANDAS_HOUSE"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_WandasHouse_EventScript_153FAF",
"flag": "FLAG_HIDE_BOYFRIEND_WANDAS_HOUSE"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_WandasHouse_EventScript_153F7D",
"flag": "FLAG_HIDE_WALLY_FATHER_WANDAS_HOUSE"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_WandasHouse_EventScript_153FEA",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VerdanturfTown_WandasHouse_EventScript_153FB8",
"flag": "FLAG_HIDE_GIRLFRIEND_WANDAS_HOUSE"
diff --git a/data/maps/VictoryRoad_1F/map.json b/data/maps/VictoryRoad_1F/map.json
index c26c4fc51..8c4dfb9ae 100644
--- a/data/maps/VictoryRoad_1F/map.json
+++ b/data/maps/VictoryRoad_1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "VictoryRoad_1F_EventScript_15DF6F",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "VictoryRoad_1F_EventScript_15DF9D",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "VictoryRoad_1F_EventScript_15DF86",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VictoryRoad_1F_EventScript_15DF28",
"flag": "FLAG_HIDE_WALLY_BATTLE_VICTORY_ROAD"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VictoryRoad_1F_EventScript_1B1AC6",
"flag": "FLAG_ITEM_VICTORY_ROAD_1F_1"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VictoryRoad_1F_EventScript_1B1AD3",
"flag": "FLAG_ITEM_VICTORY_ROAD_1F_2"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VictoryRoad_1F_EventScript_15DF31",
"flag": "FLAG_HIDE_WALLY_DEFEATED_VICTORY_ROAD"
diff --git a/data/maps/VictoryRoad_B1F/map.json b/data/maps/VictoryRoad_B1F/map.json
index a33cf522a..2473a819f 100644
--- a/data/maps/VictoryRoad_B1F/map.json
+++ b/data/maps/VictoryRoad_B1F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_13"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_14"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_11"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_12"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_17"
@@ -84,7 +84,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_16"
@@ -97,7 +97,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_1E"
@@ -110,7 +110,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_19"
@@ -123,7 +123,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_1A"
@@ -136,7 +136,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_1B"
@@ -149,7 +149,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_1C"
@@ -162,7 +162,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_TEMP_1D"
@@ -175,7 +175,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_PushableBoulder",
"flag": "FLAG_TEMP_1F"
@@ -188,7 +188,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "VictoryRoad_B1F_EventScript_15DFB5",
"flag": "0"
@@ -201,7 +201,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "VictoryRoad_B1F_EventScript_15DFCC",
"flag": "0"
@@ -214,7 +214,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "VictoryRoad_B1F_EventScript_15DFE3",
"flag": "0"
@@ -227,7 +227,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "S_BreakableRock",
"flag": "FLAG_VICTORY_ROAD_ROCK"
@@ -240,7 +240,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VictoryRoad_B1F_EventScript_1B1AE0",
"flag": "FLAG_ITEM_VICTORY_ROAD_B1F_1"
@@ -253,7 +253,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VictoryRoad_B1F_EventScript_1B1AED",
"flag": "FLAG_ITEM_VICTORY_ROAD_B1F_2"
diff --git a/data/maps/VictoryRoad_B2F/map.json b/data/maps/VictoryRoad_B2F/map.json
index 58f5d73fc..0a0ee1a57 100644
--- a/data/maps/VictoryRoad_B2F/map.json
+++ b/data/maps/VictoryRoad_B2F/map.json
@@ -19,7 +19,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "VictoryRoad_B2F_EventScript_15DFFB",
"flag": "0"
@@ -32,7 +32,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "VictoryRoad_B2F_EventScript_15E012",
"flag": "0"
@@ -45,7 +45,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "VictoryRoad_B2F_EventScript_15E029",
"flag": "0"
@@ -58,7 +58,7 @@
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "1",
+ "trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "VictoryRoad_B2F_EventScript_15E040",
"flag": "0"
@@ -71,7 +71,7 @@
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
- "trainer_type": "0",
+ "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "VictoryRoad_B2F_EventScript_1B1AFA",
"flag": "FLAG_ITEM_VICTORY_ROAD_B2F_1"
diff --git a/include/constants/heal_locations.h b/include/constants/heal_locations.h
index 721bc5a3c..f7be5e16e 100644
--- a/include/constants/heal_locations.h
+++ b/include/constants/heal_locations.h
@@ -11,16 +11,16 @@
#define HEAL_LOCATION_LILYCOVE_CITY 8
#define HEAL_LOCATION_MOSSDEEP_CITY 9
#define HEAL_LOCATION_SOOTOPOLIS_CITY 10
-#define HEAL_LOCATION_EVER_GRANDE_CITY_1 11
-#define HEAL_LOCATION_LITTLEROOT_TOWN_1 12
-#define HEAL_LOCATION_LITTLEROOT_TOWN_2 13
+#define HEAL_LOCATION_EVER_GRANDE_CITY 11
+#define HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE 12
+#define HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE 13
#define HEAL_LOCATION_OLDALE_TOWN 14
#define HEAL_LOCATION_DEWFORD_TOWN 15
#define HEAL_LOCATION_LAVARIDGE_TOWN 16
#define HEAL_LOCATION_FALLARBOR_TOWN 17
#define HEAL_LOCATION_VERDANTURF_TOWN 18
#define HEAL_LOCATION_PACIFIDLOG_TOWN 19
-#define HEAL_LOCATION_EVER_GRANDE_CITY_2 20
+#define HEAL_LOCATION_EVER_GRANDE_CITY_POKEMON_LEAGUE 20
#define HEAL_LOCATION_BATTLE_TOWER_OUTSIDE 21
#define HEAL_LOCATION_SOUTHERN_ISLAND_EXTERIOR 22
diff --git a/include/constants/trainer_types.h b/include/constants/trainer_types.h
new file mode 100644
index 000000000..8886cf442
--- /dev/null
+++ b/include/constants/trainer_types.h
@@ -0,0 +1,9 @@
+#ifndef GUARD_CONSTANTS_TRAINER_TYPES_H
+#define GUARD_CONSTANTS_TRAINER_TYPES_H
+
+#define TRAINER_TYPE_NONE 0
+#define TRAINER_TYPE_NORMAL 1
+#define TRAINER_TYPE_SEE_ALL_DIRECTIONS 2
+#define TRAINER_TYPE_BURIED 3
+
+#endif // GUARD_CONSTANTS_TRAINER_TYPES_H
diff --git a/ld_script.txt b/ld_script.txt
index 46004c7c7..2606c7d1a 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -49,7 +49,6 @@ SECTIONS {
src/main_menu.o(.text);
src/battle_controllers.o(.text);
src/decompress.o(.text);
- asm/decompress.o(.text);
src/battle_bg.o(.text);
src/battle_main.o(.text);
src/battle_util.o(.text);
diff --git a/src/battle/anim/shadow_minimize.c b/src/battle/anim/shadow_minimize.c
index a4589f096..913e58bc4 100644
--- a/src/battle/anim/shadow_minimize.c
+++ b/src/battle/anim/shadow_minimize.c
@@ -8,14 +8,14 @@ extern s16 gBattleAnimArgs[];
extern u8 gBattleAnimAttacker;
extern u8 gBattleAnimTarget;
-static void sub_80D04E0(u8 taskId);
-void sub_80D0614(struct Task* task, u8 taskId);
-void sub_80D0704(struct Sprite* sprite);
+static void AnimTask_Minimize_Step(u8 taskId);
+void CreateMinimizeSprite(struct Task* task, u8 taskId);
+void ClonedMinimizeSprite_Step(struct Sprite* sprite);
// shadow_minimize (the minimizing-like shadow over the Pokemon effect.)
// Used in Minimize.
-void sub_80D0488(u8 taskId)
+void AnimTask_Minimize(u8 taskId)
{
struct Task* task = &gTasks[taskId];
u8 spriteId = GetAnimBattlerSpriteId(0);
@@ -28,17 +28,17 @@ void sub_80D0488(u8 taskId)
task->data[5] = 0;
task->data[6] = 0;
task->data[7] = GetBattlerSubpriority(gBattleAnimAttacker);
- task->func = sub_80D04E0;
+ task->func = AnimTask_Minimize_Step;
}
-void sub_80D04E0(u8 taskId)
+void AnimTask_Minimize_Step(u8 taskId)
{
struct Task* task = &gTasks[taskId];
switch (task->data[1])
{
case 0:
if (task->data[2] == 0 || task->data[2] == 3 || task->data[2] == 6)
- sub_80D0614(task, taskId);
+ CreateMinimizeSprite(task, taskId);
task->data[2]++;
task->data[4] += 0x28;
obj_id_set_rotscale(task->data[0], task->data[4], task->data[4], 0);
@@ -97,164 +97,40 @@ void sub_80D04E0(u8 taskId)
}
}
-#ifdef NONMATCHING
-void sub_80D0614(struct Task* task, u8 taskId)
+void CreateMinimizeSprite(struct Task* task, u8 taskId)
{
- s16 r8 = duplicate_obj_of_side_rel2move_in_transparent_mode(0);
- if (r8 >= 0)
+ s16 matrixNum; // u16 in Emerald
+ s16 spriteId = duplicate_obj_of_side_rel2move_in_transparent_mode(0);
+
+ if (spriteId >= 0)
{
- u8 r6 = AllocOamMatrix();
- if (r6 == 0xFF)
+ matrixNum = AllocOamMatrix();
+ if (matrixNum == 0xFF)
{
- obj_delete_but_dont_free_vram(&gSprites[r8]);
+ obj_delete_but_dont_free_vram(&gSprites[spriteId]);
+ return;
}
else
{
- gSprites[r8].oam.objMode = ST_OAM_OBJ_BLEND;
- gSprites[r8].oam.affineMode = ST_OAM_AFFINE_DOUBLE;
- gSprites[r8].affineAnimPaused = TRUE;
- r6 &= 0x1f;
-
- gSprites[r8].oam.matrixNum = r6; // need to inhibit optimizing out the mov r0, 0x3f / neg r0, r0
- // current code does subs r0, #94 (0x1f - 94 = 0xc1, !0x3f = 0xc1)
- gSprites[r8].subpriority = task->data[7] - task->data[3];
+ gSprites[spriteId].oam.objMode = ST_OAM_OBJ_BLEND;
+ gSprites[spriteId].oam.affineMode = ST_OAM_AFFINE_DOUBLE;
+ gSprites[spriteId].affineAnimPaused = TRUE;
+ gSprites[spriteId].oam.matrixNum = matrixNum;
+ gSprites[spriteId].subpriority = task->data[7] - task->data[3];
task->data[3]++;
task->data[6]++;
- gSprites[r8].data[0] = 16;
- gSprites[r8].data[1] = taskId;
- gSprites[r8].data[2] = 6;
- gSprites[r8].callback = sub_80D0704;
- obj_id_set_rotscale(r8, task->data[4], task->data[4], 0);
- gSprites[r8].oam.affineMode = 1;
- CalcCenterToCornerVec(&gSprites[r8], gSprites[r8].oam.shape, gSprites[r8].oam.size, gSprites[r8].oam.affineMode);
+ gSprites[spriteId].data[0] = 16;
+ gSprites[spriteId].data[1] = taskId;
+ gSprites[spriteId].data[2] = 6;
+ gSprites[spriteId].callback = ClonedMinimizeSprite_Step;
+ obj_id_set_rotscale(spriteId, task->data[4], task->data[4], 0);
+ gSprites[spriteId].oam.affineMode = 1;
+ CalcCenterToCornerVec(&gSprites[spriteId], gSprites[spriteId].oam.shape, gSprites[spriteId].oam.size, gSprites[spriteId].oam.affineMode);
}
}
}
-#else
-NAKED
-void sub_80D0614(struct Task* task, u8 taskId)
-{
- asm(".syntax unified\n\
- push {r4-r7,lr}\n\
- mov r7, r9\n\
- mov r6, r8\n\
- push {r6,r7}\n\
- adds r7, r0, 0 @r7 is task\n\
- lsls r1, 24\n\
- lsrs r1, 24\n\
- mov r9, r1 @r9 is taskId\n\
- movs r0, 0\n\
- bl duplicate_obj_of_side_rel2move_in_transparent_mode\n\
- lsls r0, 16\n\
- lsrs r0, 16\n\
- mov r8, r0\n\
- lsls r0, 16\n\
- asrs r4, r0, 16\n\
- cmp r4, 0\n\
- blt _080D06EE @jump to bottom\n\
- bl AllocOamMatrix\n\
- lsls r0, 24\n\
- lsrs r6, r0, 24\n\
- cmp r6, 0xFF\n\
- bne _080D0658\n\
- lsls r0, r4, 4\n\
- adds r0, r4\n\
- lsls r0, 2\n\
- ldr r1, _080D0654 @ =gSprites\n\
- adds r0, r1\n\
- bl obj_delete_but_dont_free_vram\n\
- b _080D06EE @ jump to bottom\n\
- .align 2, 0\n\
-_080D0654: .4byte gSprites\n\
-_080D0658:\n\
- ldr r5, _080D06FC @ =gSprites\n\
- lsls r3, r4, 4\n\
- adds r3, r4\n\
- lsls r3, 2\n\
- adds r4, r3, r5\n\
- ldrb r1, [r4, 0x1]\n\
- movs r0, 0xD\n\
- negs r0, r0\n\
- ands r0, r1\n\
- movs r1, 0x4\n\
- orrs r0, r1\n\
- movs r1, 0x3\n\
- orrs r0, r1\n\
- strb r0, [r4, 0x1]\n\
- adds r2, r4, 0\n\
- adds r2, 0x2C\n\
- ldrb r0, [r2]\n\
- movs r1, 0x80\n\
- orrs r0, r1\n\
- strb r0, [r2]\n\
- movs r0, 0x1F\n\
- ands r6, r0\n\
- lsls r2, r6, 1\n\
- ldrb r1, [r4, 0x3]\n\
- movs r0, 0x3F\n\
- negs r0, r0\n\
- ands r0, r1\n\
- orrs r0, r2\n\
- strb r0, [r4, 0x3]\n\
- ldrb r0, [r7, 0x16]\n\
- ldrb r1, [r7, 0xE]\n\
- subs r0, r1\n\
- adds r1, r4, 0\n\
- adds r1, 0x43\n\
- strb r0, [r1]\n\
- ldrh r0, [r7, 0xE]\n\
- adds r0, 0x1\n\
- strh r0, [r7, 0xE]\n\
- ldrh r0, [r7, 0x14]\n\
- adds r0, 0x1\n\
- strh r0, [r7, 0x14]\n\
- movs r0, 0x10\n\
- strh r0, [r4, 0x2E]\n\
- mov r0, r9\n\
- strh r0, [r4, 0x30]\n\
- movs r0, 0x6\n\
- strh r0, [r4, 0x32]\n\
- adds r5, 0x1C\n\
- adds r3, r5\n\
- ldr r0, _080D0700 @ =sub_80D0704\n\
- str r0, [r3]\n\
- mov r1, r8 @duplicate_obj_of_side_rel2move_in_transparent_mode(0)\n\
- lsls r0, r1, 24\n\
- lsrs r0, 24\n\
- movs r1, 0x10\n\
- ldrsh r2, [r7, r1]\n\
- adds r1, r2, 0\n\
- movs r3, 0\n\
- bl obj_id_set_rotscale\n\
- ldrb r0, [r4, 0x1]\n\
- movs r3, 0x4\n\
- negs r3, r3\n\
- ands r3, r0\n\
- movs r0, 0x1\n\
- orrs r3, r0\n\
- strb r3, [r4, 0x1]\n\
- lsrs r1, r3, 6\n\
- ldrb r2, [r4, 0x3]\n\
- lsrs r2, 6\n\
- lsls r3, 30\n\
- lsrs r3, 30\n\
- adds r0, r4, 0\n\
- bl CalcCenterToCornerVec\n\
-_080D06EE:\n\
- pop {r3,r4}\n\
- mov r8, r3\n\
- mov r9, r4\n\
- pop {r4-r7}\n\
- pop {r0}\n\
- bx r0\n\
- .align 2, 0\n\
-_080D06FC: .4byte gSprites\n\
-_080D0700: .4byte sub_80D0704\n\
-.syntax divided\n");
-}
-#endif
-void sub_80D0704(struct Sprite* sprite)
+void ClonedMinimizeSprite_Step(struct Sprite* sprite)
{
if (--sprite->data[0] == 0)
{
diff --git a/src/battle/anim/unused_9.c b/src/battle/anim/unused_9.c
index a9a42a695..23012fe8a 100644
--- a/src/battle/anim/unused_9.c
+++ b/src/battle/anim/unused_9.c
@@ -33,7 +33,6 @@ void sub_80CFDFC(struct Sprite* sprite)
sprite->callback = sub_80CFE2C;
}
-#ifdef NONMATCHING
static void sub_80CFE2C(struct Sprite* sprite)
{
u16 r7;
@@ -44,9 +43,9 @@ static void sub_80CFE2C(struct Sprite* sprite)
sprite->data[1] = 0;
r5 = sprite->data[0];
r7 = gPlttBufferFaded[r5 + 8];
- for (i = 0; i < 8; i++)
+ for (i = 8; i < 16; i++)
{
- gPlttBufferFaded[r5 + i + 8] = gPlttBufferFaded[r5 + i + 9];
+ gPlttBufferFaded[r5 + i] = gPlttBufferFaded[r5 + i + 1];
}
gPlttBufferFaded[r5 + 15] = r7;
@@ -54,67 +53,3 @@ static void sub_80CFE2C(struct Sprite* sprite)
DestroyAnimSprite(sprite);
}
}
-#else
-NAKED
-static void sub_80CFE2C(struct Sprite* sprite)
-{
- asm(".syntax unified\n\
- push {r4-r7,lr}\n\
- adds r4, r0, 0\n\
- ldrh r0, [r4, 0x30]\n\
- adds r0, 0x1\n\
- strh r0, [r4, 0x30]\n\
- lsls r0, 16\n\
- asrs r0, 16\n\
- cmp r0, 0x2\n\
- bne _080CFE90\n\
- movs r0, 0\n\
- strh r0, [r4, 0x30]\n\
- ldrh r5, [r4, 0x2E]\n\
- ldr r1, _080CFE98 @ =gPlttBufferFaded\n\
- adds r0, r5, 0\n\
- adds r0, 0x8\n\
- lsls r0, 1\n\
- adds r0, r1\n\
- ldrh r7, [r0]\n\
- adds r6, r1, 0 @puts gPlttBufferFaded in r6\n\
- adds r1, r5, 0\n\
- adds r1, 0x9\n\
- lsls r0, r5, 1\n\
- adds r0, r6 \n\
- adds r2, r0, 0\n\
- adds r2, 0x10\n\
- movs r3, 0x7\n\
- lsls r1, 1\n\
- adds r1, r6 \n\
-_080CFE64:\n\
- ldrh r0, [r1]\n\
- strh r0, [r2]\n\
- adds r1, 0x2\n\
- adds r2, 0x2\n\
- subs r3, 0x1\n\
- cmp r3, 0\n\
- bge _080CFE64\n\
- adds r0, r5, 0\n\
- adds r0, 0xF\n\
- lsls r0, 1\n\
- adds r0, r6\n\
- strh r7, [r0]\n\
- ldrh r0, [r4, 0x32]\n\
- adds r0, 0x1\n\
- strh r0, [r4, 0x32]\n\
- lsls r0, 16\n\
- asrs r0, 16\n\
- cmp r0, 0x18\n\
- bne _080CFE90\n\
- adds r0, r4, 0\n\
- bl DestroyAnimSprite\n\
-_080CFE90:\n\
- pop {r4-r7}\n\
- pop {r0}\n\
- bx r0\n\
- .align 2, 0\n\
-_080CFE98: .4byte gPlttBufferFaded\n\
-.syntax divided\n");
-}
-#endif
diff --git a/src/data/heal_locations.h b/src/data/heal_locations.h
index f764981bf..a6bdbdd15 100644
--- a/src/data/heal_locations.h
+++ b/src/data/heal_locations.h
@@ -1,25 +1,25 @@
static const struct HealLocation sHealLocations[] =
{
- {MAP_GROUP(LITTLEROOT_TOWN_BRENDANS_HOUSE_2F), MAP_NUM(LITTLEROOT_TOWN_BRENDANS_HOUSE_2F), 4, 2},
- {MAP_GROUP(LITTLEROOT_TOWN_MAYS_HOUSE_2F), MAP_NUM(LITTLEROOT_TOWN_MAYS_HOUSE_2F), 4, 2},
- {MAP_GROUP(PETALBURG_CITY), MAP_NUM(PETALBURG_CITY), 20, 17},
- {MAP_GROUP(SLATEPORT_CITY), MAP_NUM(SLATEPORT_CITY), 19, 20},
- {MAP_GROUP(MAUVILLE_CITY), MAP_NUM(MAUVILLE_CITY), 22, 6},
- {MAP_GROUP(RUSTBORO_CITY), MAP_NUM(RUSTBORO_CITY), 16, 39},
- {MAP_GROUP(FORTREE_CITY), MAP_NUM(FORTREE_CITY), 5, 7},
- {MAP_GROUP(LILYCOVE_CITY), MAP_NUM(LILYCOVE_CITY), 24, 15},
- {MAP_GROUP(MOSSDEEP_CITY), MAP_NUM(MOSSDEEP_CITY), 28, 17},
- {MAP_GROUP(SOOTOPOLIS_CITY), MAP_NUM(SOOTOPOLIS_CITY), 43, 32},
- {MAP_GROUP(EVER_GRANDE_CITY), MAP_NUM(EVER_GRANDE_CITY), 27, 49},
- {MAP_GROUP(LITTLEROOT_TOWN), MAP_NUM(LITTLEROOT_TOWN), 5, 9},
- {MAP_GROUP(LITTLEROOT_TOWN), MAP_NUM(LITTLEROOT_TOWN), 14, 9},
- {MAP_GROUP(OLDALE_TOWN), MAP_NUM(OLDALE_TOWN), 6, 17},
- {MAP_GROUP(DEWFORD_TOWN), MAP_NUM(DEWFORD_TOWN), 2, 11},
- {MAP_GROUP(LAVARIDGE_TOWN), MAP_NUM(LAVARIDGE_TOWN), 9, 7},
- {MAP_GROUP(FALLARBOR_TOWN), MAP_NUM(FALLARBOR_TOWN), 14, 8},
- {MAP_GROUP(VERDANTURF_TOWN), MAP_NUM(VERDANTURF_TOWN), 16, 4},
- {MAP_GROUP(PACIFIDLOG_TOWN), MAP_NUM(PACIFIDLOG_TOWN), 8, 16},
- {MAP_GROUP(EVER_GRANDE_CITY), MAP_NUM(EVER_GRANDE_CITY), 18, 6},
- {MAP_GROUP(BATTLE_TOWER_OUTSIDE), MAP_NUM(BATTLE_TOWER_OUTSIDE), 14, 9},
- {MAP_GROUP(SOUTHERN_ISLAND_EXTERIOR), MAP_NUM(SOUTHERN_ISLAND_EXTERIOR), 15, 20},
+ [HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F - 1] = {MAP_GROUP(LITTLEROOT_TOWN_BRENDANS_HOUSE_2F), MAP_NUM(LITTLEROOT_TOWN_BRENDANS_HOUSE_2F), 4, 2},
+ [HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE_2F - 1] = {MAP_GROUP(LITTLEROOT_TOWN_MAYS_HOUSE_2F), MAP_NUM(LITTLEROOT_TOWN_MAYS_HOUSE_2F), 4, 2},
+ [HEAL_LOCATION_PETALBURG_CITY - 1] = {MAP_GROUP(PETALBURG_CITY), MAP_NUM(PETALBURG_CITY), 20, 17},
+ [HEAL_LOCATION_SLATEPORT_CITY - 1] = {MAP_GROUP(SLATEPORT_CITY), MAP_NUM(SLATEPORT_CITY), 19, 20},
+ [HEAL_LOCATION_MAUVILLE_CITY - 1] = {MAP_GROUP(MAUVILLE_CITY), MAP_NUM(MAUVILLE_CITY), 22, 6},
+ [HEAL_LOCATION_RUSTBORO_CITY - 1] = {MAP_GROUP(RUSTBORO_CITY), MAP_NUM(RUSTBORO_CITY), 16, 39},
+ [HEAL_LOCATION_FORTREE_CITY - 1] = {MAP_GROUP(FORTREE_CITY), MAP_NUM(FORTREE_CITY), 5, 7},
+ [HEAL_LOCATION_LILYCOVE_CITY - 1] = {MAP_GROUP(LILYCOVE_CITY), MAP_NUM(LILYCOVE_CITY), 24, 15},
+ [HEAL_LOCATION_MOSSDEEP_CITY - 1] = {MAP_GROUP(MOSSDEEP_CITY), MAP_NUM(MOSSDEEP_CITY), 28, 17},
+ [HEAL_LOCATION_SOOTOPOLIS_CITY - 1] = {MAP_GROUP(SOOTOPOLIS_CITY), MAP_NUM(SOOTOPOLIS_CITY), 43, 32},
+ [HEAL_LOCATION_EVER_GRANDE_CITY - 1] = {MAP_GROUP(EVER_GRANDE_CITY), MAP_NUM(EVER_GRANDE_CITY), 27, 49},
+ [HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE - 1] = {MAP_GROUP(LITTLEROOT_TOWN), MAP_NUM(LITTLEROOT_TOWN), 5, 9},
+ [HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE - 1] = {MAP_GROUP(LITTLEROOT_TOWN), MAP_NUM(LITTLEROOT_TOWN), 14, 9},
+ [HEAL_LOCATION_OLDALE_TOWN - 1] = {MAP_GROUP(OLDALE_TOWN), MAP_NUM(OLDALE_TOWN), 6, 17},
+ [HEAL_LOCATION_DEWFORD_TOWN - 1] = {MAP_GROUP(DEWFORD_TOWN), MAP_NUM(DEWFORD_TOWN), 2, 11},
+ [HEAL_LOCATION_LAVARIDGE_TOWN - 1] = {MAP_GROUP(LAVARIDGE_TOWN), MAP_NUM(LAVARIDGE_TOWN), 9, 7},
+ [HEAL_LOCATION_FALLARBOR_TOWN - 1] = {MAP_GROUP(FALLARBOR_TOWN), MAP_NUM(FALLARBOR_TOWN), 14, 8},
+ [HEAL_LOCATION_VERDANTURF_TOWN - 1] = {MAP_GROUP(VERDANTURF_TOWN), MAP_NUM(VERDANTURF_TOWN), 16, 4},
+ [HEAL_LOCATION_PACIFIDLOG_TOWN - 1] = {MAP_GROUP(PACIFIDLOG_TOWN), MAP_NUM(PACIFIDLOG_TOWN), 8, 16},
+ [HEAL_LOCATION_EVER_GRANDE_CITY_POKEMON_LEAGUE - 1] = {MAP_GROUP(EVER_GRANDE_CITY), MAP_NUM(EVER_GRANDE_CITY), 18, 6},
+ [HEAL_LOCATION_BATTLE_TOWER_OUTSIDE - 1] = {MAP_GROUP(BATTLE_TOWER_OUTSIDE), MAP_NUM(BATTLE_TOWER_OUTSIDE), 14, 9},
+ [HEAL_LOCATION_SOUTHERN_ISLAND_EXTERIOR - 1] = {MAP_GROUP(SOUTHERN_ISLAND_EXTERIOR), MAP_NUM(SOUTHERN_ISLAND_EXTERIOR), 15, 20},
};
diff --git a/src/data/object_events/object_event_graphics_info.h b/src/data/object_events/object_event_graphics_info.h
index 87b26da64..687193566 100644
--- a/src/data/object_events/object_event_graphics_info.h
+++ b/src/data/object_events/object_event_graphics_info.h
@@ -99,7 +99,7 @@ const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_MayMachBike = {0xf
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_MayAcroBike = {0xffff, 0x1110, 0x1102, 512, 32, 32, 0, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_BIKE_TIRE, &gFieldOamData_32x32, gObjectEventSubspriteTables_32x32, gObjectEventImageAnimTable_AcroBike, gObjectEventPicTable_MayAcroBike, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_MaySurfing = {0xffff, 0x1110, 0x11ff, 512, 32, 32, 0, SHADOW_SIZE_M, FALSE, TRUE, TRACKS_FOOT, &gFieldOamData_32x32, gObjectEventSubspriteTables_32x32, gObjectEventImageAnimTable_Surfing, gObjectEventPicTable_MaySurfing, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_MayFieldMove = {0xffff, 0x1110, 0x1102, 512, 32, 32, 0, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_FOOT, &gFieldOamData_32x32, gObjectEventSubspriteTables_32x32, gObjectEventImageAnimTable_FieldMove, gObjectEventPicTable_MayFieldMove, gDummySpriteAffineAnimTable};
-const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_Truck = {0xffff, 0x110d, 0x11ff, 1152, 48, 48, 10, SHADOW_SIZE_M, TRUE, FALSE, TRACKS_NONE, &gFieldOamData_32x32, gObjectEventSubspriteTables_Truck, gObjectEventImageAnimTable_Inanimate, gObjectEventPicTable_Truck, gDummySpriteAffineAnimTable};
+const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_Truck = {0xffff, 0x110d, 0x11ff, 1152, 48, 48, 10, SHADOW_SIZE_M, TRUE, FALSE, TRACKS_NONE, &gFieldOamData_32x32, gObjectEventSubspriteTables_48x48, gObjectEventImageAnimTable_Inanimate, gObjectEventPicTable_Truck, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_MachokeCarryingBox = {0xffff, 0x110e, 0x11ff, 512, 32, 32, 10, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_FOOT, &gFieldOamData_32x32, gObjectEventSubspriteTables_32x32, gObjectEventImageAnimTable_Standard, gObjectEventPicTable_MachokeCarryingBox, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_MachokeFacingAway = {0xffff, 0x110e, 0x11ff, 512, 32, 32, 10, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_FOOT, &gFieldOamData_32x32, gObjectEventSubspriteTables_32x32, gObjectEventImageAnimTable_Standard, gObjectEventPicTable_MachokeFacingAway, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_BirchsBag = {0xffff, 0x1104, 0x11ff, 128, 16, 16, 3, SHADOW_SIZE_S, TRUE, FALSE, TRACKS_NONE, &gFieldOamData_16x16, gObjectEventSubspriteTables_16x16, gObjectEventImageAnimTable_Inanimate, gObjectEventPicTable_BirchsBag, gDummySpriteAffineAnimTable};
@@ -119,7 +119,7 @@ const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_Cameraman = {0xfff
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_BrendanUnderwater = {0xffff, 0x1115, 0x11ff, 512, 32, 32, 0, SHADOW_SIZE_M, FALSE, TRUE, TRACKS_FOOT, &gFieldOamData_32x32, gObjectEventSubspriteTables_32x32, gObjectEventImageAnimTable_Standard, gObjectEventPicTable_BrendanUnderwater, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_MayUnderwater = {0xffff, 0x1115, 0x11ff, 512, 32, 32, 10, SHADOW_SIZE_M, FALSE, TRUE, TRACKS_FOOT, &gFieldOamData_32x32, gObjectEventSubspriteTables_32x32, gObjectEventImageAnimTable_Standard, gObjectEventPicTable_MayUnderwater, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_MovingBox = {0xffff, 0x1112, 0x11ff, 128, 16, 16, 10, SHADOW_SIZE_S, TRUE, FALSE, TRACKS_NONE, &gFieldOamData_16x16, gObjectEventSubspriteTables_16x16, gObjectEventImageAnimTable_Inanimate, gObjectEventPicTable_MovingBox, gDummySpriteAffineAnimTable};
-const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_CableCar = {0xffff, 0x1113, 0x11ff, 2048, 64, 64, 10, SHADOW_SIZE_M, TRUE, FALSE, TRACKS_NONE, &gFieldOamData_64x64, gObjectEventSubspriteTables_CableCar, gObjectEventImageAnimTable_Inanimate, gObjectEventPicTable_CableCar, gDummySpriteAffineAnimTable};
+const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_CableCar = {0xffff, 0x1113, 0x11ff, 2048, 64, 64, 10, SHADOW_SIZE_M, TRUE, FALSE, TRACKS_NONE, &gFieldOamData_64x64, gObjectEventSubspriteTables_64x64, gObjectEventImageAnimTable_Inanimate, gObjectEventPicTable_CableCar, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_Scientist2 = {0xffff, 0x1103, 0x11ff, 256, 16, 32, 2, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_FOOT, &gFieldOamData_16x32, gObjectEventSubspriteTables_16x32, gObjectEventImageAnimTable_Standard, gObjectEventPicTable_Scientist2, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_Man7 = {0xffff, 0x1104, 0x11ff, 256, 16, 32, 3, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_FOOT, &gFieldOamData_16x32, gObjectEventSubspriteTables_16x32, gObjectEventImageAnimTable_Standard, gObjectEventPicTable_Man7, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_AquaMemberM = {0xffff, 0x1106, 0x11ff, 256, 16, 32, 5, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_FOOT, &gFieldOamData_16x32, gObjectEventSubspriteTables_16x32, gObjectEventImageAnimTable_Standard, gObjectEventPicTable_AquaMemberM, gDummySpriteAffineAnimTable};
@@ -145,8 +145,8 @@ const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_LittleBoy3 = {0xff
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_BrendanFishing = {0xffff, 0x1100, 0x1102, 512, 32, 32, 0, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_FOOT, &gFieldOamData_32x32, gObjectEventSubspriteTables_32x32, gObjectEventImageAnimTable_Fishing, gObjectEventPicTable_BrendanFishing, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_MayFishing = {0xffff, 0x1110, 0x1102, 512, 32, 32, 0, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_FOOT, &gFieldOamData_32x32, gObjectEventSubspriteTables_32x32, gObjectEventImageAnimTable_Fishing, gObjectEventPicTable_MayFishing, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_HotSpringsOldWoman = {0xffff, 0x1106, 0x11ff, 256, 16, 32, 5, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_FOOT, &gFieldOamData_16x32, gObjectEventSubspriteTables_16x32, gObjectEventImageAnimTable_Standard, gObjectEventPicTable_HotSpringsOldWoman, gDummySpriteAffineAnimTable};
-const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_SSTidal = {0xffff, 0x1114, 0x11ff, 1920, 96, 40, 10, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_NONE, &gFieldOamData_8x8, gObjectEventSubspriteTables_SSTidal, gObjectEventImageAnimTable_Standard, gObjectEventPicTable_SSTidal, gDummySpriteAffineAnimTable};
-const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_SubmarineShadow = {0xffff, 0x111a, 0x11ff, 1408, 88, 32, 10, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_NONE, &gFieldOamData_8x8, gObjectEventSubspriteTables_SubmarineShadow, gObjectEventImageAnimTable_Standard, gObjectEventPicTable_SubmarineShadow, gDummySpriteAffineAnimTable};
+const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_SSTidal = {0xffff, 0x1114, 0x11ff, 1920, 96, 40, 10, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_NONE, &gFieldOamData_8x8, gObjectEventSubspriteTables_96x40, gObjectEventImageAnimTable_Standard, gObjectEventPicTable_SSTidal, gDummySpriteAffineAnimTable};
+const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_SubmarineShadow = {0xffff, 0x111a, 0x11ff, 1408, 88, 32, 10, SHADOW_SIZE_M, FALSE, FALSE, TRACKS_NONE, &gFieldOamData_8x8, gObjectEventSubspriteTables_88x32, gObjectEventImageAnimTable_Standard, gObjectEventPicTable_SubmarineShadow, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_PichuDoll = {0xffff, 0x1104, 0x11ff, 128, 16, 16, 3, SHADOW_SIZE_S, TRUE, FALSE, TRACKS_NONE, &gFieldOamData_16x16, gObjectEventSubspriteTables_16x16, gObjectEventImageAnimTable_Inanimate, gObjectEventPicTable_PichuDoll, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_PikachuDoll = {0xffff, 0x1104, 0x11ff, 128, 16, 16, 3, SHADOW_SIZE_S, TRUE, FALSE, TRACKS_NONE, &gFieldOamData_16x16, gObjectEventSubspriteTables_16x16, gObjectEventImageAnimTable_Inanimate, gObjectEventPicTable_PikachuDoll, gDummySpriteAffineAnimTable};
const struct ObjectEventGraphicsInfo gObjectEventGraphicsInfo_MarillDoll = {0xffff, 0x1103, 0x11ff, 128, 16, 16, 2, SHADOW_SIZE_S, TRUE, FALSE, TRACKS_NONE, &gFieldOamData_16x16, gObjectEventSubspriteTables_16x16, gObjectEventImageAnimTable_Inanimate, gObjectEventPicTable_MarillDoll, gDummySpriteAffineAnimTable};
diff --git a/src/data/object_events/object_event_subsprites.h b/src/data/object_events/object_event_subsprites.h
index 49238f674..b9b05165f 100644
--- a/src/data/object_events/object_event_subsprites.h
+++ b/src/data/object_events/object_event_subsprites.h
@@ -103,7 +103,7 @@ const struct SubspriteTable gObjectEventSubspriteTables_32x32[] = {
{2, gObjectEventSubspriteTable_32x32_4}
};
-const struct Subsprite gObjectEventSubspriteTable_Truck_0[] = {
+const struct Subsprite gObjectEventSubspriteTable_48x48[] = {
{-24, -24, 1, 1, 0, 2},
{ 8, -24, 1, 0, 4, 2},
{-24, -16, 1, 1, 6, 2},
@@ -118,66 +118,67 @@ const struct Subsprite gObjectEventSubspriteTable_Truck_0[] = {
{ 8, 16, 1, 0, 34, 2}
};
-const struct SubspriteTable gObjectEventSubspriteTables_Truck[] = {
- {12, gObjectEventSubspriteTable_Truck_0},
- {12, gObjectEventSubspriteTable_Truck_0},
- {12, gObjectEventSubspriteTable_Truck_0},
- {12, gObjectEventSubspriteTable_Truck_0},
- {12, gObjectEventSubspriteTable_Truck_0},
- {12, gObjectEventSubspriteTable_Truck_0}
+const struct SubspriteTable gObjectEventSubspriteTables_48x48[] = {
+ {12, gObjectEventSubspriteTable_48x48},
+ {12, gObjectEventSubspriteTable_48x48},
+ {12, gObjectEventSubspriteTable_48x48},
+ {12, gObjectEventSubspriteTable_48x48},
+ {12, gObjectEventSubspriteTable_48x48},
+ {12, gObjectEventSubspriteTable_48x48}
};
-const struct Subsprite gObjectEventSubspriteTable_Unused_0[] = {
+const struct Subsprite gObjectEventSubspriteTable_64x32_0[] = {
{-32, -16, 1, 3, 0, 2}
};
-const struct Subsprite gObjectEventSubspriteTable_Unused_1[] = {
+const struct Subsprite gObjectEventSubspriteTable_64x32_1[] = {
{-32, -16, 1, 3, 0, 1}
};
-const struct Subsprite gObjectEventSubspriteTable_Unused_2[] = {
+const struct Subsprite gObjectEventSubspriteTable_64x32_2[] = {
{-32, -16, 1, 3, 0, 2}
};
-const struct Subsprite gObjectEventSubspriteTable_Unused_3[] = {
+const struct Subsprite gObjectEventSubspriteTable_64x32_3[] = {
{-32, -16, 1, 3, 0, 2}
};
-const struct SubspriteTable gObjectEventSubspriteTables_Unused[] = {
+// Unused
+const struct SubspriteTable gObjectEventSubspriteTables_64x32[] = {
{0, NULL},
- {1, gObjectEventSubspriteTable_Unused_0},
- {1, gObjectEventSubspriteTable_Unused_1},
- {1, gObjectEventSubspriteTable_Unused_2},
- {1, gObjectEventSubspriteTable_Unused_3},
- {1, gObjectEventSubspriteTable_Unused_3}
+ {1, gObjectEventSubspriteTable_64x32_0},
+ {1, gObjectEventSubspriteTable_64x32_1},
+ {1, gObjectEventSubspriteTable_64x32_2},
+ {1, gObjectEventSubspriteTable_64x32_3},
+ {1, gObjectEventSubspriteTable_64x32_3}
};
-const struct Subsprite gObjectEventSubspriteTable_CableCar_0[] = {
+const struct Subsprite gObjectEventSubspriteTable_64x64_0[] = {
{-32, -32, 0, 3, 0, 2}
};
-const struct Subsprite gObjectEventSubspriteTable_CableCar_1[] = {
+const struct Subsprite gObjectEventSubspriteTable_64x64_1[] = {
{-32, -32, 0, 3, 0, 1}
};
-const struct Subsprite gObjectEventSubspriteTable_CableCar_2[] = {
+const struct Subsprite gObjectEventSubspriteTable_64x64_2[] = {
{-32, -32, 0, 3, 0, 2}
};
-const struct Subsprite gObjectEventSubspriteTable_CableCar_3[] = {
+const struct Subsprite gObjectEventSubspriteTable_64x64_3[] = {
{-32, -32, 0, 3, 0, 2}
};
-const struct SubspriteTable gObjectEventSubspriteTables_CableCar[] = {
+const struct SubspriteTable gObjectEventSubspriteTables_64x64[] = {
{0, NULL},
- {1, gObjectEventSubspriteTable_CableCar_0},
- {1, gObjectEventSubspriteTable_CableCar_1},
- {1, gObjectEventSubspriteTable_CableCar_2},
- {1, gObjectEventSubspriteTable_CableCar_3},
- {1, gObjectEventSubspriteTable_CableCar_3}
+ {1, gObjectEventSubspriteTable_64x64_0},
+ {1, gObjectEventSubspriteTable_64x64_1},
+ {1, gObjectEventSubspriteTable_64x64_2},
+ {1, gObjectEventSubspriteTable_64x64_3},
+ {1, gObjectEventSubspriteTable_64x64_3}
};
-const struct Subsprite gObjectEventSubspriteTable_SSTidal_0[] = {
+const struct Subsprite gObjectEventSubspriteTable_96x40_0[] = {
{-48, -20, 1, 1, 0, 2},
{-16, -20, 1, 1, 4, 2},
{ 16, -20, 1, 1, 8, 2},
@@ -195,7 +196,7 @@ const struct Subsprite gObjectEventSubspriteTable_SSTidal_0[] = {
{ 16, 12, 1, 1, 56, 2}
};
-const struct Subsprite gObjectEventSubspriteTable_SSTidal_1[] = {
+const struct Subsprite gObjectEventSubspriteTable_96x40_1[] = {
{-48, -20, 1, 1, 0, 1},
{-16, -20, 1, 1, 4, 1},
{ 16, -20, 1, 1, 8, 1},
@@ -213,7 +214,7 @@ const struct Subsprite gObjectEventSubspriteTable_SSTidal_1[] = {
{ 16, 12, 1, 1, 56, 1}
};
-const struct Subsprite gObjectEventSubspriteTable_SSTidal_2[] = {
+const struct Subsprite gObjectEventSubspriteTable_96x40_2[] = {
{-48, -20, 1, 1, 0, 2},
{-16, -20, 1, 1, 4, 2},
{ 16, -20, 1, 1, 8, 2},
@@ -231,7 +232,7 @@ const struct Subsprite gObjectEventSubspriteTable_SSTidal_2[] = {
{ 16, 12, 1, 1, 56, 2}
};
-const struct Subsprite gObjectEventSubspriteTable_SSTidal_3[] = {
+const struct Subsprite gObjectEventSubspriteTable_96x40_3[] = {
{-48, -20, 1, 1, 0, 1},
{-16, -20, 1, 1, 4, 1},
{ 16, -20, 1, 1, 8, 1},
@@ -249,16 +250,17 @@ const struct Subsprite gObjectEventSubspriteTable_SSTidal_3[] = {
{ 16, 12, 1, 1, 56, 2}
};
-const struct SubspriteTable gObjectEventSubspriteTables_SSTidal[] = {
- {15, gObjectEventSubspriteTable_SSTidal_0},
- {15, gObjectEventSubspriteTable_SSTidal_0},
- {15, gObjectEventSubspriteTable_SSTidal_1},
- {15, gObjectEventSubspriteTable_SSTidal_2},
- {15, gObjectEventSubspriteTable_SSTidal_3},
- {15, gObjectEventSubspriteTable_SSTidal_3}
+// Used by SS Tidal
+const struct SubspriteTable gObjectEventSubspriteTables_96x40[] = {
+ {15, gObjectEventSubspriteTable_96x40_0},
+ {15, gObjectEventSubspriteTable_96x40_0},
+ {15, gObjectEventSubspriteTable_96x40_1},
+ {15, gObjectEventSubspriteTable_96x40_2},
+ {15, gObjectEventSubspriteTable_96x40_3},
+ {15, gObjectEventSubspriteTable_96x40_3}
};
-const struct Subsprite gObjectEventSubspriteTable_SubmarineShadow_0[] = {
+const struct Subsprite gObjectEventSubspriteTable_88x32_0[] = {
{-48, -20, 1, 1, 0, 2},
{-16, -20, 1, 1, 4, 2},
{ 16, -20, 1, 0, 8, 2},
@@ -277,7 +279,7 @@ const struct Subsprite gObjectEventSubspriteTable_SubmarineShadow_0[] = {
{ 32, 4, 0, 0, 43, 2}
};
-const struct Subsprite gObjectEventSubspriteTable_SubmarineShadow_1[] = {
+const struct Subsprite gObjectEventSubspriteTable_88x32_1[] = {
{-48, -20, 1, 1, 0, 1},
{-16, -20, 1, 1, 4, 1},
{ 16, -20, 1, 0, 8, 1},
@@ -296,7 +298,7 @@ const struct Subsprite gObjectEventSubspriteTable_SubmarineShadow_1[] = {
{ 32, 4, 0, 0, 43, 1}
};
-const struct Subsprite gObjectEventSubspriteTable_SubmarineShadow_2[] = {
+const struct Subsprite gObjectEventSubspriteTable_88x32_2[] = {
{-48, -20, 1, 1, 0, 2},
{-16, -20, 1, 1, 4, 2},
{ 16, -20, 1, 0, 8, 2},
@@ -315,7 +317,7 @@ const struct Subsprite gObjectEventSubspriteTable_SubmarineShadow_2[] = {
{ 32, 4, 0, 0, 43, 2}
};
-const struct Subsprite gObjectEventSubspriteTable_SubmarineShadow_3[] = {
+const struct Subsprite gObjectEventSubspriteTable_88x32_3[] = {
{-48, -20, 1, 1, 0, 1},
{-16, -20, 1, 1, 4, 1},
{ 16, -20, 1, 0, 8, 1},
@@ -334,12 +336,13 @@ const struct Subsprite gObjectEventSubspriteTable_SubmarineShadow_3[] = {
{ 32, 4, 0, 0, 43, 2}
};
-const struct SubspriteTable gObjectEventSubspriteTables_SubmarineShadow[] = {
- {16, gObjectEventSubspriteTable_SubmarineShadow_0},
- {16, gObjectEventSubspriteTable_SubmarineShadow_0},
- {16, gObjectEventSubspriteTable_SubmarineShadow_1},
- {16, gObjectEventSubspriteTable_SubmarineShadow_2},
- {16, gObjectEventSubspriteTable_SubmarineShadow_3},
- {16, gObjectEventSubspriteTable_SubmarineShadow_3}
+// Used by the submarine shadow
+const struct SubspriteTable gObjectEventSubspriteTables_88x32[] = {
+ {16, gObjectEventSubspriteTable_88x32_0},
+ {16, gObjectEventSubspriteTable_88x32_0},
+ {16, gObjectEventSubspriteTable_88x32_1},
+ {16, gObjectEventSubspriteTable_88x32_2},
+ {16, gObjectEventSubspriteTable_88x32_3},
+ {16, gObjectEventSubspriteTable_88x32_3}
};
#endif //POKERUBY_OBJECT_EVENT_SUBSPRITES_H
diff --git a/src/data/wild_encounters.json.txt b/src/data/wild_encounters.json.txt
index c6bbdd34e..522bbe756 100644
--- a/src/data/wild_encounters.json.txt
+++ b/src/data/wild_encounters.json.txt
@@ -65,7 +65,7 @@ const struct WildPokemon {{ encounter.base_label }}_FishingMons[] =
const struct WildPokemonInfo {{ encounter.base_label }}_FishingMonsInfo = { {{encounter.fishing_mons.encounter_rate}}, {{ encounter.base_label }}_FishingMons };
{% endif %}
-#endif
+{% if contains(encounter.base_label, "Sapphire") or contains(encounter.base_label, "Ruby") %}#endif{% endif %}
## endfor
@@ -82,7 +82,7 @@ const struct WildPokemonHeader {{ wild_encounter_group.label }}[] =
.rockSmashMonsInfo = {% if existsIn(encounter, "rock_smash_mons") %}&{{ encounter.base_label }}_RockSmashMonsInfo{% else %}NULL{% endif %},
.fishingMonsInfo = {% if existsIn(encounter, "fishing_mons") %}&{{ encounter.base_label }}_FishingMonsInfo{% else %}NULL{% endif %},
},
-#endif
+{% if contains(encounter.base_label, "Sapphire") or contains(encounter.base_label, "Ruby") %}#endif{% endif %}
## endfor
{
.mapGroup = MAP_GROUP(UNDEFINED),
diff --git a/src/decompress.c b/src/decompress.c
index d6c52439f..c0158ada8 100644
--- a/src/decompress.c
+++ b/src/decompress.c
@@ -111,3 +111,147 @@ void Unused_LZDecompressWramIndirect(const void **src, void *dest)
{
LZ77UnCompWram(*src, dest);
}
+
+void unref_sub_800D42C(s32 object_size, s32 object_count, u8 *src_tiles, u8 *dest_tiles)
+{
+ /*
+ This function appears to emulate behaviour found in the GB(C) versions regarding how the Pokemon images
+ are stitched together to be displayed on the battle screen.
+ Given "compacted" tiles, an object count and a bounding box/object size, place the tiles in such a way
+ that the result will have each object centered in a 8x8 tile canvas.
+ */
+ s32 i, j, k, l;
+ u8 *src = src_tiles, *dest = dest_tiles;
+ u8 bottom_off;
+
+ if (object_size & 1)
+ {
+ // Object size is odd
+ bottom_off = (object_size >> 1) + 4;
+ for (l = 0; l < object_count; l++)
+ {
+ // Clear all unused rows of tiles plus the half-tile required due to centering
+ for (j = 0; j < 8-object_size; j++)
+ {
+ for (k = 0; k < 8; k++)
+ {
+ for (i = 0; i < 16; i++)
+ {
+ if (j % 2 == 0)
+ {
+ // Clear top half of top tile and bottom half of bottom tile when on even j
+ ((dest+i) + (k << 5))[((j >> 1) << 8)] = 0;
+ ((bottom_off << 8) + (dest+i) + (k << 5) + 16)[((j >> 1) << 8)] = 0;
+ }
+ else
+ {
+ // Clear bottom half of top tile and top half of tile following bottom tile when on odd j
+ ((dest+i) + (k << 5) + 16)[((j >> 1) << 8)] = 0;
+ ((bottom_off << 8) + (dest+i) + (k << 5) + 256)[((j >> 1) << 8)] = 0;
+ }
+ }
+ }
+ }
+
+ // Clear the columns to the left and right that wont be used completely
+ // Unlike the previous loops, this will clear the later used space as well
+ for (j = 0; j < 2; j++)
+ {
+ for (i = 0; i < 8; i++)
+ {
+ for (k = 0; k < 32; k++)
+ {
+ // Left side
+ ((dest+k) + (i << 8))[(j << 5)] = 0;
+ // Right side
+ ((dest+k) + (i << 8))[(j << 5)+192] = 0;
+ }
+ }
+ }
+
+ // Skip the top row and first tile on the second row for objects of size 5
+ if (object_size == 5) dest += 0x120;
+
+ // Copy tile data
+ for (j = 0; j < object_size; j++)
+ {
+ for (k = 0; k < object_size; k++)
+ {
+ for (i = 0; i < 4; i++)
+ {
+ // Offset the tile by +4px in both x and y directions
+ (dest + (i << 2))[18] = (src + (i << 2))[0];
+ (dest + (i << 2))[19] = (src + (i << 2))[1];
+ (dest + (i << 2))[48] = (src + (i << 2))[2];
+ (dest + (i << 2))[49] = (src + (i << 2))[3];
+
+ (dest + (i << 2))[258] = (src + (i << 2))[16];
+ (dest + (i << 2))[259] = (src + (i << 2))[17];
+ (dest + (i << 2))[288] = (src + (i << 2))[18];
+ (dest + (i << 2))[289] = (src + (i << 2))[19];
+ }
+ src += 32;
+ dest += 32;
+ }
+
+ // At the end of a row, skip enough tiles to get to the beginning of the next row
+ if (object_size == 7) dest += 0x20;
+ else if (object_size == 5) dest += 0x60;
+ }
+
+ // Skip remaining unused space to go to the beginning of the next object
+ if (object_size == 7) dest += 0x100;
+ else if (object_size == 5) dest += 0x1e0;
+ }
+ }
+ else
+ {
+ // Object size is even
+ for (i = 0; i < object_count; i++)
+ {
+ // For objects of size 6, the first and last row and column will be cleared
+ // While the remaining space will be filled with actual data
+ if (object_size == 6)
+ {
+ for (k = 0; k < 256; k++) {
+ *dest = 0;
+ dest++;
+ }
+ }
+
+ for (j = 0; j < object_size; j++)
+ {
+ if (object_size == 6)
+ {
+ for (k = 0; k < 32; k++) {
+ *dest = 0;
+ dest++;
+ }
+ }
+
+ // Copy tile data
+ for (k = 0; k < 32 * object_size; k++) {
+ *dest = *src;
+ src++;
+ dest++;
+ }
+
+ if (object_size == 6)
+ {
+ for (k = 0; k < 32; k++) {
+ *dest = 0;
+ dest++;
+ }
+ }
+ }
+
+ if (object_size == 6)
+ {
+ for (k = 0; k < 256; k++) {
+ *dest = 0;
+ dest++;
+ }
+ }
+ }
+ }
+}
diff --git a/src/event_object_movement.c b/src/event_object_movement.c
index 81e352e70..91e9da961 100644
--- a/src/event_object_movement.c
+++ b/src/event_object_movement.c
@@ -17,6 +17,7 @@
#include "constants/maps.h"
#include "constants/event_object_movement.h"
#include "constants/event_objects.h"
+#include "constants/trainer_types.h"
// this file was known as evobjmv.c in Game Freak's original source
@@ -1386,7 +1387,7 @@ u8 SpawnSpecialObjectEventParametrized(u8 graphicsId, u8 movementType, u8 localI
objectEventTemplate.movementType = movementType;
objectEventTemplate.movementRangeX = 0;
objectEventTemplate.movementRangeY = 0;
- objectEventTemplate.trainerType = 0;
+ objectEventTemplate.trainerType = TRAINER_TYPE_NONE;
objectEventTemplate.trainerRange_berryTreeId = 0;
return SpawnSpecialObjectEvent(&objectEventTemplate);
}
@@ -2225,7 +2226,8 @@ static u16 GetObjectEventFlagIdByObjectEventId(u8 objectEventId)
return GetObjectEventFlagIdByLocalIdAndMap(gObjectEvents[objectEventId].localId, gObjectEvents[objectEventId].mapNum, gObjectEvents[objectEventId].mapGroup);
}
-u8 unref_sub_805C5D0(u8 localId, u8 mapNum, u8 mapGroup)
+// Unused
+u8 GetObjectTrainerTypeByLocalIdAndMap(u8 localId, u8 mapNum, u8 mapGroup)
{
u8 objectEventId;
@@ -2235,7 +2237,8 @@ u8 unref_sub_805C5D0(u8 localId, u8 mapNum, u8 mapGroup)
return gObjectEvents[objectEventId].trainerType;
}
-u8 unref_sub_805C60C(u8 objectEventId)
+// Unused
+u8 GetObjectTrainerTypeByObjectEventId(u8 objectEventId)
{
return gObjectEvents[objectEventId].trainerType;
}
@@ -2435,7 +2438,7 @@ bool8 ObjectEventIsTrainerAndCloseToPlayer(struct ObjectEvent *objectEvent)
{
return FALSE;
}
- if (objectEvent->trainerType != 1 && objectEvent->trainerType != 3)
+ if (objectEvent->trainerType != TRAINER_TYPE_NORMAL && objectEvent->trainerType != TRAINER_TYPE_BURIED)
{
return FALSE;
}
diff --git a/src/field_effect_helpers.c b/src/field_effect_helpers.c
index 4e4ff7432..c757a4798 100644
--- a/src/field_effect_helpers.c
+++ b/src/field_effect_helpers.c
@@ -1009,19 +1009,19 @@ static void sub_8127FD4(struct ObjectEvent *objectEvent, struct Sprite *sprite)
StartSpriteAnimIfDifferent(sprite, surfBlobDirectionAnims[objectEvent->movementDirection]);
}
-#ifdef NONMATCHING
static void sub_812800C(struct ObjectEvent *objectEvent, struct Sprite *sprite)
{
- s16 x;
- s16 y;
u8 i;
+ s16 x = objectEvent->currentCoords.x;
+ s16 y = objectEvent->currentCoords.y;
+ s32 spriteY = sprite->pos2.y;
- x = objectEvent->currentCoords.x;
- y = objectEvent->currentCoords.y;
- if (sprite->pos2.y == 0 && (x != sprite->data[6] || y != sprite->data[7]))
+ if (spriteY == 0 && (x != sprite->data[6] || y != sprite->data[7]))
{
- sprite->data[5] = sprite->pos2.y;
- for (sprite->data[6] = x, sprite->data[7] = y, i = DIR_SOUTH; i <= DIR_EAST; i ++, x = sprite->data[6], y = sprite->data[7])
+ sprite->data[5] = spriteY;
+ sprite->data[6] = x;
+ sprite->data[7] = y;
+ for (i = DIR_SOUTH; i <= DIR_EAST; i++, x = sprite->data[6], y = sprite->data[7])
{
MoveCoords(i, &x, &y);
if (MapGridGetZCoordAt(x, y) == 3)
@@ -1032,87 +1032,6 @@ static void sub_812800C(struct ObjectEvent *objectEvent, struct Sprite *sprite)
}
}
}
-#else
-NAKED static void sub_812800C(struct ObjectEvent *objectEvent, struct Sprite *sprite)
-{
- asm_unified("\tpush {r4-r7,lr}\n"
- "\tmov r7, r8\n"
- "\tpush {r7}\n"
- "\tsub sp, 0x4\n"
- "\tadds r4, r1, 0\n"
- "\tldrh r2, [r0, 0x10]\n"
- "\tmov r1, sp\n"
- "\tstrh r2, [r1]\n"
- "\tldrh r1, [r0, 0x12]\n"
- "\tmov r0, sp\n"
- "\tadds r0, 0x2\n"
- "\tstrh r1, [r0]\n"
- "\tmovs r2, 0x26\n"
- "\tldrsh r3, [r4, r2]\n"
- "\tmov r8, r0\n"
- "\tcmp r3, 0\n"
- "\tbne _08128094\n"
- "\tmov r0, sp\n"
- "\tmovs r5, 0\n"
- "\tldrsh r2, [r0, r5]\n"
- "\tmovs r5, 0x3A\n"
- "\tldrsh r0, [r4, r5]\n"
- "\tcmp r2, r0\n"
- "\tbne _08128048\n"
- "\tlsls r0, r1, 16\n"
- "\tasrs r0, 16\n"
- "\tmovs r5, 0x3C\n"
- "\tldrsh r1, [r4, r5]\n"
- "\tcmp r0, r1\n"
- "\tbeq _08128094\n"
- "_08128048:\n"
- "\tstrh r3, [r4, 0x38]\n"
- "\tstrh r2, [r4, 0x3A]\n"
- "\tmov r1, r8\n"
- "\tmovs r2, 0\n"
- "\tldrsh r0, [r1, r2]\n"
- "\tstrh r0, [r4, 0x3C]\n"
- "\tmovs r5, 0x1\n"
- "\tmov r7, r8\n"
- "\tmov r6, sp\n"
- "_0812805A:\n"
- "\tadds r0, r5, 0\n"
- "\tmov r1, sp\n"
- "\tadds r2, r7, 0\n"
- "\tbl MoveCoords\n"
- "\tmovs r1, 0\n"
- "\tldrsh r0, [r6, r1]\n"
- "\tmovs r2, 0\n"
- "\tldrsh r1, [r7, r2]\n"
- "\tbl MapGridGetZCoordAt\n"
- "\tlsls r0, 24\n"
- "\tlsrs r0, 24\n"
- "\tcmp r0, 0x3\n"
- "\tbne _08128080\n"
- "\tldrh r0, [r4, 0x38]\n"
- "\tadds r0, 0x1\n"
- "\tstrh r0, [r4, 0x38]\n"
- "\tb _08128094\n"
- "_08128080:\n"
- "\tadds r0, r5, 0x1\n"
- "\tlsls r0, 24\n"
- "\tlsrs r5, r0, 24\n"
- "\tldrh r0, [r4, 0x3A]\n"
- "\tstrh r0, [r6]\n"
- "\tldrh r0, [r4, 0x3C]\n"
- "\tmov r1, r8\n"
- "\tstrh r0, [r1]\n"
- "\tcmp r5, 0x4\n"
- "\tbls _0812805A\n"
- "_08128094:\n"
- "\tadd sp, 0x4\n"
- "\tpop {r3}\n"
- "\tmov r8, r3\n"
- "\tpop {r4-r7}\n"
- "\tpop {r0}\n"
- "\tbx r0");
-}
-#endif
static void sub_81280A0(struct ObjectEvent *objectEvent, struct Sprite *linkedSprite, struct Sprite *sprite)
{
@@ -1453,152 +1372,35 @@ void WaitFieldEffectSpriteAnim(struct Sprite *sprite)
UpdateObjectEventSpriteVisibility(sprite, FALSE);
}
-#ifdef NONMATCHING
static void sub_812882C(struct Sprite *sprite /*r6*/, u8 z, u8 offset)
{
u8 i;
- s16 xlo;
- s16 xhi;
- s16 lx;
- s16 lyhi;
- s16 ly;
- s16 ylo;
- s16 yhi;
- struct ObjectEvent *objectEvent; // r4
- const struct ObjectEventGraphicsInfo *graphicsInfo; // destroyed
- struct Sprite *linkedSprite; // r5
+ s16 var, xhi, lyhi, yhi, ylo;
+ const struct ObjectEventGraphicsInfo *graphicsInfo; // Unused Variable
+ struct Sprite *linkedSprite;
SetObjectSubpriorityByZCoord(z, sprite, offset);
- for (i = 0; i < 16; i ++)
+ for (i = 0; i < OBJECT_EVENTS_COUNT; i ++)
{
- objectEvent = &gObjectEvents[i];
+ struct ObjectEvent *objectEvent = &gObjectEvents[i];
if (objectEvent->active)
{
graphicsInfo = GetObjectEventGraphicsInfo(objectEvent->graphicsId);
linkedSprite = &gSprites[objectEvent->spriteId];
xhi = sprite->pos1.x + sprite->centerToCornerVecX;
- xlo = sprite->pos1.x - sprite->centerToCornerVecX;
- lx = linkedSprite->pos1.x;
- if (xhi < lx && xlo > lx)
+ var = sprite->pos1.x - sprite->centerToCornerVecX;
+ if (xhi < linkedSprite->pos1.x && var > linkedSprite->pos1.x)
{
lyhi = linkedSprite->pos1.y + linkedSprite->centerToCornerVecY;
- ly = linkedSprite->pos1.y;
+ var = linkedSprite->pos1.y;
ylo = sprite->pos1.y - sprite->centerToCornerVecY;
yhi = ylo + linkedSprite->centerToCornerVecY;
- if ((lyhi < yhi || lyhi < ylo) && ly > yhi)
+ if ((lyhi < yhi || lyhi < ylo) && var > yhi && sprite->subpriority <= linkedSprite->subpriority)
{
- if (sprite->subpriority <= linkedSprite->subpriority)
- {
- sprite->subpriority = linkedSprite->subpriority + 2;
- break;
- }
+ sprite->subpriority = linkedSprite->subpriority + 2;
+ break;
}
}
}
}
-}
-#else
-NAKED static void sub_812882C(struct Sprite *sprite /*r6*/, u8 z, u8 offset)
-{
- asm_unified("\tpush {r4-r7,lr}\n"
- "\tadds r6, r0, 0\n"
- "\tadds r0, r1, 0\n"
- "\tlsls r0, 24\n"
- "\tlsrs r0, 24\n"
- "\tlsls r2, 24\n"
- "\tlsrs r2, 24\n"
- "\tadds r1, r6, 0\n"
- "\tbl SetObjectSubpriorityByZCoord\n"
- "\tmovs r7, 0\n"
- "_08128842:\n"
- "\tlsls r0, r7, 3\n"
- "\tadds r0, r7\n"
- "\tlsls r0, 2\n"
- "\tldr r1, _081288DC @ =gObjectEvents\n"
- "\tadds r4, r0, r1\n"
- "\tldrb r0, [r4]\n"
- "\tlsls r0, 31\n"
- "\tcmp r0, 0\n"
- "\tbeq _081288E4\n"
- "\tldrb r0, [r4, 0x5]\n"
- "\tbl GetObjectEventGraphicsInfo\n"
- "\tldrb r1, [r4, 0x4]\n"
- "\tlsls r0, r1, 4\n"
- "\tadds r0, r1\n"
- "\tlsls r0, 2\n"
- "\tldr r1, _081288E0 @ =gSprites\n"
- "\tadds r5, r0, r1\n"
- "\tadds r0, r6, 0\n"
- "\tadds r0, 0x28\n"
- "\tmovs r2, 0\n"
- "\tldrsb r2, [r0, r2]\n"
- "\tldrh r0, [r6, 0x20]\n"
- "\tadds r1, r0, r2\n"
- "\tsubs r0, r2\n"
- "\tlsls r0, 16\n"
- "\tlsrs r4, r0, 16\n"
- "\tlsls r1, 16\n"
- "\tasrs r1, 16\n"
- "\tmovs r0, 0x20\n"
- "\tldrsh r2, [r5, r0]\n"
- "\tcmp r1, r2\n"
- "\tbge _081288E4\n"
- "\tlsls r0, r4, 16\n"
- "\tasrs r0, 16\n"
- "\tcmp r0, r2\n"
- "\tble _081288E4\n"
- "\tadds r0, r5, 0\n"
- "\tadds r0, 0x29\n"
- "\tmovs r3, 0\n"
- "\tldrsb r3, [r0, r3]\n"
- "\tldrh r2, [r5, 0x22]\n"
- "\tadds r2, r3\n"
- "\tldrh r4, [r5, 0x22]\n"
- "\tadds r0, r6, 0\n"
- "\tadds r0, 0x29\n"
- "\tmovs r1, 0\n"
- "\tldrsb r1, [r0, r1]\n"
- "\tldrh r0, [r6, 0x22]\n"
- "\tsubs r0, r1\n"
- "\tlsls r0, 16\n"
- "\tasrs r0, 16\n"
- "\tadds r3, r0, r3\n"
- "\tlsls r2, 16\n"
- "\tasrs r2, 16\n"
- "\tlsls r3, 16\n"
- "\tasrs r3, 16\n"
- "\tcmp r2, r3\n"
- "\tblt _081288BC\n"
- "\tcmp r2, r0\n"
- "\tbge _081288E4\n"
- "_081288BC:\n"
- "\tlsls r0, r4, 16\n"
- "\tasrs r0, 16\n"
- "\tcmp r0, r3\n"
- "\tble _081288E4\n"
- "\tadds r2, r6, 0\n"
- "\tadds r2, 0x43\n"
- "\tadds r0, r5, 0\n"
- "\tadds r0, 0x43\n"
- "\tldrb r1, [r0]\n"
- "\tldrb r0, [r2]\n"
- "\tcmp r0, r1\n"
- "\tbhi _081288E4\n"
- "\tadds r0, r1, 0x2\n"
- "\tstrb r0, [r2]\n"
- "\tb _081288EE\n"
- "\t.align 2, 0\n"
- "_081288DC: .4byte gObjectEvents\n"
- "_081288E0: .4byte gSprites\n"
- "_081288E4:\n"
- "\tadds r0, r7, 0x1\n"
- "\tlsls r0, 24\n"
- "\tlsrs r7, r0, 24\n"
- "\tcmp r7, 0xF\n"
- "\tbls _08128842\n"
- "_081288EE:\n"
- "\tpop {r4-r7}\n"
- "\tpop {r0}\n"
- "\tbx r0");
-}
-#endif
+} \ No newline at end of file
diff --git a/src/field_player_avatar.c b/src/field_player_avatar.c
index 324dab9c8..cd6e67c8c 100644
--- a/src/field_player_avatar.c
+++ b/src/field_player_avatar.c
@@ -26,6 +26,7 @@
#include "constants/moves.h"
#include "constants/songs.h"
#include "constants/species.h"
+#include "constants/trainer_types.h"
EWRAM_DATA struct PlayerAvatar gPlayerAvatar = {0};
@@ -1197,7 +1198,7 @@ void InitPlayerAvatar(s16 x, s16 y, u8 direction, u8 gender)
playerObjEventTemplate.movementType = MOVEMENT_TYPE_PLAYER;
playerObjEventTemplate.movementRangeX = 0;
playerObjEventTemplate.movementRangeY = 0;
- playerObjEventTemplate.trainerType = 0;
+ playerObjEventTemplate.trainerType = TRAINER_TYPE_NONE;
playerObjEventTemplate.trainerRange_berryTreeId = 0;
playerObjEventTemplate.script = NULL;
playerObjEventTemplate.flagId = 0;
diff --git a/src/heal_location.c b/src/heal_location.c
index 3bb24e1a1..5eda24d67 100644
--- a/src/heal_location.c
+++ b/src/heal_location.c
@@ -1,6 +1,8 @@
#include "global.h"
#include "heal_location.h"
#include "constants/maps.h"
+#include "constants/heal_locations.h"
+
#include "data/heal_locations.h"
u32 GetHealLocationIndexByMap(u16 mapGroup, u16 mapNum)
diff --git a/src/pokedex.c b/src/pokedex.c
index 8d7ecb896..ea6c69478 100644
--- a/src/pokedex.c
+++ b/src/pokedex.c
@@ -1961,8 +1961,8 @@ static void sub_808D640(void)
static void SortPokedex(u8 dexMode, u8 sortMode)
{
+ s16 i, r5, r10;
u16 vars[3]; //I have no idea why three regular variables are stored in an array, but whatever.
- s16 i;
gPokedexView->pokemonListCount = 0;
@@ -2004,18 +2004,13 @@ static void SortPokedex(u8 dexMode, u8 sortMode)
}
else
{
- bool32 r10;
- s16 r5;
-
- r10 = r5 = i = 0;
- for (i = 0; i < vars[0]; i++)
+ for (i = 0, r5= 0, r10 = 0; i < vars[0]; i++)
{
vars[2] = i + 1;
if (GetSetPokedexFlag(vars[2], 0))
r10 = 1;
if (r10)
{
- asm(""); //Needed to match for some reason
gPokedexView->unk0[r5].dexNum = vars[2];
gPokedexView->unk0[r5].seen = GetSetPokedexFlag(vars[2], 0);
gPokedexView->unk0[r5].owned = GetSetPokedexFlag(vars[2], 1);
diff --git a/src/region_map.c b/src/region_map.c
index 7ec1b1976..8c4e694bc 100644
--- a/src/region_map.c
+++ b/src/region_map.c
@@ -1187,7 +1187,7 @@ static const u8 sMapHealLocations[][3] =
{MAP_GROUP(LILYCOVE_CITY), MAP_NUM(LILYCOVE_CITY), HEAL_LOCATION_LILYCOVE_CITY},
{MAP_GROUP(MOSSDEEP_CITY), MAP_NUM(MOSSDEEP_CITY), HEAL_LOCATION_MOSSDEEP_CITY},
{MAP_GROUP(SOOTOPOLIS_CITY), MAP_NUM(SOOTOPOLIS_CITY), HEAL_LOCATION_SOOTOPOLIS_CITY},
- {MAP_GROUP(EVER_GRANDE_CITY), MAP_NUM(EVER_GRANDE_CITY), HEAL_LOCATION_EVER_GRANDE_CITY_1},
+ {MAP_GROUP(EVER_GRANDE_CITY), MAP_NUM(EVER_GRANDE_CITY), HEAL_LOCATION_EVER_GRANDE_CITY},
{MAP_GROUP(ROUTE101), MAP_NUM(ROUTE101), 0},
{MAP_GROUP(ROUTE102), MAP_NUM(ROUTE102), 0},
{MAP_GROUP(ROUTE103), MAP_NUM(ROUTE103), 0},
@@ -1633,10 +1633,10 @@ void sub_80FC69C(void)
sub_8053538(HEAL_LOCATION_BATTLE_TOWER_OUTSIDE);
break;
case MAPSEC_LITTLEROOT_TOWN:
- sub_8053538((gSaveBlock2.playerGender == MALE) ? HEAL_LOCATION_LITTLEROOT_TOWN_1 : HEAL_LOCATION_LITTLEROOT_TOWN_2);
+ sub_8053538((gSaveBlock2.playerGender == MALE) ? HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE : HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE);
break;
case MAPSEC_EVER_GRANDE_CITY:
- sub_8053538((FlagGet(FLAG_SYS_POKEMON_LEAGUE_FLY) && sFlyDataPtr->regionMap.everGrandeCityArea == 0) ? HEAL_LOCATION_EVER_GRANDE_CITY_2 : HEAL_LOCATION_EVER_GRANDE_CITY_1);
+ sub_8053538((FlagGet(FLAG_SYS_POKEMON_LEAGUE_FLY) && sFlyDataPtr->regionMap.everGrandeCityArea == 0) ? HEAL_LOCATION_EVER_GRANDE_CITY_POKEMON_LEAGUE : HEAL_LOCATION_EVER_GRANDE_CITY);
break;
default:
if (sMapHealLocations[sFlyDataPtr->regionMap.mapSectionId][2] != 0)
diff --git a/src/trainer_see.c b/src/trainer_see.c
index f70eeb3a9..30d8d2794 100644
--- a/src/trainer_see.c
+++ b/src/trainer_see.c
@@ -10,6 +10,7 @@
#include "util.h"
#include "constants/event_object_movement.h"
#include "constants/field_effects.h"
+#include "constants/trainer_types.h"
static bool8 CheckTrainer(u8);
static void sub_8084894(struct Sprite *sprite, u16 a2, u8 a3);
@@ -43,7 +44,7 @@ bool8 CheckTrainers(void)
for (objEventId = 0; objEventId < 16; objEventId++)
{
if (gObjectEvents[objEventId].active
- && (gObjectEvents[objEventId].trainerType == 1 || gObjectEvents[objEventId].trainerType == 3)
+ && (gObjectEvents[objEventId].trainerType == TRAINER_TYPE_NORMAL || gObjectEvents[objEventId].trainerType == TRAINER_TYPE_BURIED)
&& CheckTrainer(objEventId))
return TRUE;
}
@@ -83,14 +84,14 @@ static bool8 TrainerCanApproachPlayer(struct ObjectEvent *trainerObj)
u8 approachDistance;
PlayerGetDestCoords(&x, &y);
- if (trainerObj->trainerType == 1) // can only see in one direction
+ if (trainerObj->trainerType == TRAINER_TYPE_NORMAL) // can only see in one direction
{
approachDistance = sDirectionalApproachDistanceFuncs[trainerObj->facingDirection - 1](trainerObj, trainerObj->trainerRange_berryTreeId, x, y);
return CheckPathBetweenTrainerAndPlayer(trainerObj, approachDistance, trainerObj->facingDirection);
}
- else // can see in all directions
+ else // TRAINER_TYPE_SEE_ALL_DIRECTIONS, TRAINER_TYPE_BURIED
{
- for (i = 0; i < 4; i++)
+ for (i = 0; i < ARRAY_COUNT(sDirectionalApproachDistanceFuncs); i++)
{
approachDistance = sDirectionalApproachDistanceFuncs[i](trainerObj, trainerObj->trainerRange_berryTreeId, x, y);
if (CheckPathBetweenTrainerAndPlayer(trainerObj, approachDistance, i + 1)) // directions are 1-4 instead of 0-3. south north west east
diff --git a/src/tv.c b/src/tv.c
index 6e67662bd..3ee9434fd 100644
--- a/src/tv.c
+++ b/src/tv.c
@@ -2367,11 +2367,12 @@ s8 sub_80C019C(TVShow tvShows[])
return -1;
}
-#ifdef NONMATCHING
void sub_80C01D4(void)
{
u16 i;
- for (i=0; i<24; i++)
+ u16 j;
+
+ for (i = 0; i < 24; i++)
{
switch (gSaveBlock1.tvShows[i].common.kind)
{
@@ -2381,251 +2382,58 @@ void sub_80C01D4(void)
case TVSHOW_MASS_OUTBREAK:
break;
case TVSHOW_FAN_CLUB_LETTER:
- sub_80C03C8((&gSaveBlock1.tvShows[i])->fanclubLetter.species, i);
+ j = (&gSaveBlock1.tvShows[i])->fanclubLetter.species;
+ sub_80C03C8(j, i);
break;
case TVSHOW_PKMN_FAN_CLUB_OPINIONS:
- sub_80C03C8((&gSaveBlock1.tvShows[i])->fanclubOpinions.var02, i);
+ j = (&gSaveBlock1.tvShows[i])->fanclubOpinions.var02;
+ sub_80C03C8(j, i);
break;
case TVSHOW_UNKN_SHOWTYPE_04:
- sub_80C03C8((&gSaveBlock1.tvShows[i])->unkShow04.var06, i);
+ j = (&gSaveBlock1.tvShows[i])->unkShow04.var06;
+ sub_80C03C8(j, i);
break;
case TVSHOW_NAME_RATER_SHOW:
- sub_80C03C8((&gSaveBlock1.tvShows[i])->nameRaterShow.species, i);
- sub_80C03C8((&gSaveBlock1.tvShows[i])->nameRaterShow.var1C, i);
+ j = (&gSaveBlock1.tvShows[i])->nameRaterShow.species;
+ sub_80C03C8(j, i);
+ j = (&gSaveBlock1.tvShows[i])->nameRaterShow.var1C;
+ sub_80C03C8(j, i);
break;
case TVSHOW_BRAVO_TRAINER_POKEMON_PROFILE:
- sub_80C03C8((&gSaveBlock1.tvShows[i])->bravoTrainer.species, i);
+ j = (&gSaveBlock1.tvShows[i])->bravoTrainer.species;
+ sub_80C03C8(j, i);
break;
case TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE:
- sub_80C03C8((&gSaveBlock1.tvShows[i])->bravoTrainerTower.species, i);
- sub_80C03C8((&gSaveBlock1.tvShows[i])->bravoTrainerTower.defeatedSpecies, i);
+ j = (&gSaveBlock1.tvShows[i])->bravoTrainerTower.species;
+ sub_80C03C8(j, i);
+ j = (&gSaveBlock1.tvShows[i])->bravoTrainerTower.defeatedSpecies;
+ sub_80C03C8(j, i);
break;
case TVSHOW_POKEMON_TODAY_CAUGHT:
- sub_80C03C8((&gSaveBlock1.tvShows[i])->pokemonToday.species, i);
+ j = (&gSaveBlock1.tvShows[i])->pokemonToday.species;
+ sub_80C03C8(j, i);
break;
case TVSHOW_POKEMON_TODAY_FAILED:
- sub_80C03C8((&gSaveBlock1.tvShows[i])->pokemonTodayFailed.species, i);
- sub_80C03C8((&gSaveBlock1.tvShows[i])->pokemonTodayFailed.species2, i);
+ j = (&gSaveBlock1.tvShows[i])->pokemonTodayFailed.species;
+ sub_80C03C8(j, i);
+ j = (&gSaveBlock1.tvShows[i])->pokemonTodayFailed.species2;
+ sub_80C03C8(j, i);
break;
case TVSHOW_FISHING_ADVICE:
- sub_80C03C8((&gSaveBlock1.tvShows[i])->pokemonAngler.var04, i);
+ j = (&gSaveBlock1.tvShows[i])->pokemonAngler.var04;
+ sub_80C03C8(j, i);
break;
case TVSHOW_WORLD_OF_MASTERS:
- sub_80C03C8((&gSaveBlock1.tvShows[i])->worldOfMasters.var08, i);
- sub_80C03C8((&gSaveBlock1.tvShows[i])->worldOfMasters.var04, i);
+ j = (&gSaveBlock1.tvShows[i])->worldOfMasters.var08;
+ sub_80C03C8(j, i);
+ j = (&gSaveBlock1.tvShows[i])->worldOfMasters.var04;
+ sub_80C03C8(j, i);
break;
default:
sub_80C03A8(i);
}
}
}
-#else
-NAKED
-void sub_80C01D4(void) {
- asm(".syntax unified\n\
- push {r4-r6,lr}\n\
- movs r6, 0\n\
-_080C01D8:\n\
- ldr r0, _080C01F8 @ =gSaveBlock1\n\
- lsls r2, r6, 3\n\
- adds r1, r2, r6\n\
- lsls r1, 2\n\
- adds r1, r0\n\
- ldr r0, _080C01FC @ =0x00002738\n\
- adds r1, r0\n\
- ldrb r0, [r1]\n\
- cmp r0, 0x29\n\
- bls _080C01EE\n\
- b _default\n\
-_080C01EE:\n\
- lsls r0, 2\n\
- ldr r1, _080C0200 @ =_080C0204\n\
- adds r0, r1\n\
- ldr r0, [r0]\n\
- mov pc, r0\n\
- .align 2, 0\n\
-_080C01F8: .4byte gSaveBlock1\n\
-_080C01FC: .4byte 0x00002738\n\
-_080C0200: .4byte _080C0204\n\
- .align 2, 0\n\
-_080C0204:\n\
- .4byte _break\n\
- .4byte _fanclubLetter @ TVSHOW_FAN_CLUB_LETTER\n\
- .4byte _break @ TVSHOW_RECENT_HAPPENINGS\n\
- .4byte _fanclubOpinions @ TVSHOW_PKMN_FAN_CLUB_OPINIONS\n\
- .4byte _showtype4 @ TVSHOW_UNKN_SHOWTYPE_04\n\
- .4byte _nameRater @ TVSHOW_NAME_RATER_SHOW\n\
- .4byte _bravoTrainerContest @ TVSHOW_BRAVO_TRAINER_POKEMON_PROFILE\n\
- .4byte _bravoTrainerTower @ TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _pokemonTodayS @ TVSHOW_POKEMON_TODAY_CAUGHT\n\
- .4byte _break @ TVSHOW_SMART_SHOPPER\n\
- .4byte _pokemonTodayF @ TVSHOW_POKEMON_TODAY_FAILED\n\
- .4byte _fishing @ TVSHOW_FISHING_ADVICE\n\
- .4byte _worldOfMasters @ TVSHOW_WORLD_OF_MASTERS\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _default\n\
- .4byte _break @ TVSHOW_MASS_OUTBREAK\n\
-_fanclubLetter:\n\
- adds r0, r2, r6\n\
- lsls r0, 2\n\
- ldr r1, _080C02B8 @ =gSaveBlock1 + 0x2738\n\
- adds r0, r1\n\
- ldrh r0, [r0, 0x2]\n\
- b _checkSpecies1 @ sub_80C03C8(r0, i)\n\
- .align 2, 0\n\
-_080C02B8: .4byte gSaveBlock1 + 0x2738\n\
-_fanclubOpinions:\n\
- adds r0, r2, r6\n\
- lsls r0, 2\n\
- ldr r1, _080C02C8 @ =gSaveBlock1 + 0x2738\n\
- adds r0, r1\n\
- ldrh r0, [r0, 0x2]\n\
- b _checkSpecies1 @ sub_80C03C8(r0, i)\n\
- .align 2, 0\n\
-_080C02C8: .4byte gSaveBlock1 + 0x2738\n\
-_showtype4:\n\
- adds r0, r2, r6\n\
- lsls r0, 2\n\
- ldr r1, _080C02D8 @ =gSaveBlock1 + 0x2738\n\
- adds r0, r1\n\
- ldrh r0, [r0, 0x6]\n\
- b _checkSpecies1 @ sub_80C03C8(r0, i)\n\
- .align 2, 0\n\
-_080C02D8: .4byte gSaveBlock1 + 0x2738\n\
-_nameRater:\n\
- adds r4, r2, r6\n\
- lsls r4, 2\n\
- ldr r0, _080C02F4 @ =gSaveBlock1 + 0x2738\n\
- adds r4, r0\n\
- ldrh r0, [r4, 0x2]\n\
- lsls r5, r6, 24\n\
- lsrs r5, 24\n\
- adds r1, r5, 0\n\
- bl sub_80C03C8\n\
- ldrh r0, [r4, 0x1C]\n\
- b _checkSpecies2 @ sub_80C03C8(r0, i)\n\
- .align 2, 0\n\
-_080C02F4: .4byte gSaveBlock1 + 0x2738\n\
-_bravoTrainerContest:\n\
- adds r0, r2, r6\n\
- lsls r0, 2\n\
- ldr r1, _080C0304 @ =gSaveBlock1 + 0x2738\n\
- adds r0, r1\n\
- ldrh r0, [r0, 0x2]\n\
- b _checkSpecies1 @ sub_80C03C8(r0, i)\n\
- .align 2, 0\n\
-_080C0304: .4byte gSaveBlock1 + 0x2738\n\
-_bravoTrainerTower:\n\
- adds r4, r2, r6\n\
- lsls r4, 2\n\
- ldr r0, _080C0320 @ =gSaveBlock1 + 0x2738\n\
- adds r4, r0\n\
- ldrh r0, [r4, 0xA]\n\
- lsls r5, r6, 24\n\
- lsrs r5, 24\n\
- adds r1, r5, 0\n\
- bl sub_80C03C8\n\
- ldrh r0, [r4, 0x14]\n\
- b _checkSpecies2 @ sub_80C03C8(r0, i)\n\
- .align 2, 0\n\
-_080C0320: .4byte gSaveBlock1 + 0x2738\n\
-_pokemonTodayS:\n\
- adds r0, r2, r6\n\
- lsls r0, 2\n\
- ldr r1, _080C0330 @ =gSaveBlock1 + 0x2738\n\
- adds r0, r1\n\
- ldrh r0, [r0, 0x10]\n\
- b _checkSpecies1 @ sub_80C03C8(r0, i)\n\
- .align 2, 0\n\
-_080C0330: .4byte gSaveBlock1 + 0x2738\n\
-_pokemonTodayF:\n\
- adds r4, r2, r6\n\
- lsls r4, 2\n\
- ldr r0, _080C034C @ =gSaveBlock1 + 0x2738\n\
- adds r4, r0\n\
- ldrh r0, [r4, 0xC]\n\
- lsls r5, r6, 24\n\
- lsrs r5, 24\n\
- adds r1, r5, 0\n\
- bl sub_80C03C8\n\
- ldrh r0, [r4, 0xE]\n\
- b _checkSpecies2 @ sub_80C03C8(r0, i)\n\
- .align 2, 0\n\
-_080C034C: .4byte gSaveBlock1 + 0x2738\n\
-_fishing:\n\
- adds r0, r2, r6\n\
- lsls r0, 2\n\
- ldr r1, _080C0364 @ =gSaveBlock1 + 0x2738\n\
- adds r0, r1\n\
- ldrh r0, [r0, 0x4]\n\
-_checkSpecies1:\n\
- lsls r1, r6, 24\n\
- lsrs r1, 24\n\
- bl sub_80C03C8\n\
- b _break\n\
- .align 2, 0\n\
-_080C0364: .4byte gSaveBlock1 + 0x2738\n\
-_worldOfMasters:\n\
- adds r4, r2, r6\n\
- lsls r4, 2\n\
- ldr r0, _080C0388 @ =gSaveBlock1 + 0x2738\n\
- adds r4, r0\n\
- ldrh r0, [r4, 0x8]\n\
- lsls r5, r6, 24\n\
- lsrs r5, 24\n\
- adds r1, r5, 0\n\
- bl sub_80C03C8\n\
- ldrh r0, [r4, 0x4]\n\
-_checkSpecies2:\n\
- adds r1, r5, 0\n\
- bl sub_80C03C8\n\
- b _break\n\
- .align 2, 0\n\
-_080C0388: .4byte gSaveBlock1 + 0x2738\n\
-_default:\n\
- lsls r0, r6, 24\n\
- lsrs r0, 24\n\
- bl sub_80C03A8\n\
-_break:\n\
- adds r0, r6, 0x1\n\
- lsls r0, 16\n\
- lsrs r6, r0, 16\n\
- cmp r6, 0x17\n\
- bhi _080C03A0\n\
- b _080C01D8\n\
-_080C03A0:\n\
- pop {r4-r6}\n\
- pop {r0}\n\
- bx r0\n\
-.syntax divided\n");
-}
-#endif
void sub_80C03A8(u8 showidx)
{
diff --git a/src/wild_encounter.c b/src/wild_encounter.c
index 47eb81541..1ad55dbee 100644
--- a/src/wild_encounter.c
+++ b/src/wild_encounter.c
@@ -86,20 +86,12 @@ static bool8 CheckFeebas(void)
x -= 7;
y -= 7;
-#ifdef NONMATCHING
+ if (y >= gRoute119WaterTileData[3 * 0 + 0] && y <= gRoute119WaterTileData[3 * 0 + 1])
+ route119section = 0;
if (y >= gRoute119WaterTileData[3 * 1 + 0] && y <= gRoute119WaterTileData[3 * 1 + 1])
route119section = 1;
if (y >= gRoute119WaterTileData[3 * 2 + 0] && y <= gRoute119WaterTileData[3 * 2 + 1])
route119section = 2;
-#else
- {
- register const u16 *arr asm("r0");
- if (y >= (arr = gRoute119WaterTileData)[3 * 1 + 0] && y <= arr[3 * 1 + 1])
- route119section = 1;
- if (y >= arr[3 * 2 + 0] && y <= arr[3 * 2 + 1])
- route119section = 2;
- }
-#endif
if (Random() % 100 > 49) //50% chance of encountering Feebas
return FALSE;
diff --git a/tools/gbagfx/Makefile b/tools/gbagfx/Makefile
index c10b258de..f0638414d 100644
--- a/tools/gbagfx/Makefile
+++ b/tools/gbagfx/Makefile
@@ -1,16 +1,19 @@
CC = gcc
-CFLAGS = -Wall -Wextra -Werror -std=c11 -O2 -s -DPNG_SKIP_SETJMP_CHECK
+CFLAGS = -Wall -Wextra -Werror -Wno-sign-compare -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK
LIBS = -lpng -lz
-SRCS = main.c convert_png.c gfx.c jasc_pal.c lz.c rl.c util.c font.c
+SRCS = main.c convert_png.c gfx.c jasc_pal.c lz.c rl.c util.c font.c huff.c
.PHONY: all clean
all: gbagfx
@:
+gbagfx-debug: $(SRCS) convert_png.h gfx.h global.h jasc_pal.h lz.h rl.h util.h font.h
+ $(CC) $(CFLAGS) -DDEBUG $(SRCS) -o $@ $(LDFLAGS) $(LIBS)
+
gbagfx: $(SRCS) convert_png.h gfx.h global.h jasc_pal.h lz.h rl.h util.h font.h
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS)
diff --git a/tools/gbagfx/huff.c b/tools/gbagfx/huff.c
new file mode 100644
index 000000000..143ed79be
--- /dev/null
+++ b/tools/gbagfx/huff.c
@@ -0,0 +1,398 @@
+#include <stdbool.h>
+#include <string.h>
+#include <assert.h>
+#include <stdio.h>
+#include <stdint.h>
+#include "global.h"
+#include "huff.h"
+
+static int cmp_tree(const void * a0, const void * b0) {
+ return ((struct HuffData *)a0)->value - ((struct HuffData *)b0)->value;
+}
+
+typedef int (*cmpfun)(const void *, const void *);
+
+int msort_r(void * data, size_t count, size_t size, cmpfun cmp, void * buffer) {
+ /*
+ * Out-of-place mergesort (stable sort)
+ * Returns 1 on success, 0 on failure
+ */
+ void * leftPtr;
+ void * rightPtr;
+ void * leftEnd;
+ void * rightEnd;
+ int i;
+
+ switch (count) {
+ case 0:
+ // Should never be here
+ return 0;
+
+ case 1:
+ // Nothing to do here
+ break;
+
+ case 2:
+ // Swap the two entries if the right one compares higher.
+ if (cmp(data, data + size) > 0) {
+ memcpy(buffer, data, size);
+ memcpy(data, data + size, size);
+ memcpy(data + size, buffer, size);
+ }
+ break;
+ default:
+ // Merge sort out-of-place.
+ leftPtr = data;
+ leftEnd = rightPtr = data + count / 2 * size;
+ rightEnd = data + count * size;
+
+ // Sort the left half
+ if (!msort_r(leftPtr, count / 2, size, cmp, buffer))
+ return 0;
+
+ // Sort the right half
+ if (!msort_r(rightPtr, count / 2 + (count & 1), size, cmp, buffer))
+ return 0;
+
+ // Merge the sorted halves out of place
+ i = 0;
+ do {
+ if (cmp(leftPtr, rightPtr) <= 0) {
+ memcpy(buffer + i * size, leftPtr, size);
+ leftPtr += size;
+ } else {
+ memcpy(buffer + i * size, rightPtr, size);
+ rightPtr += size;
+ }
+
+ } while (++i < count && leftPtr < leftEnd && rightPtr < rightEnd);
+
+ // Copy the remainder
+ if (i < count) {
+ if (leftPtr < leftEnd) {
+ memcpy(buffer + i * size, leftPtr, leftEnd - leftPtr);
+ }
+ else {
+ memcpy(buffer + i * size, rightPtr, rightEnd - rightPtr);
+ }
+ }
+
+ // Copy the merged data back
+ memcpy(data, buffer, count * size);
+ break;
+ }
+
+ return 1;
+}
+
+int msort(void * data, size_t count, size_t size, cmpfun cmp) {
+ void * buffer = malloc(count * size);
+ if (buffer == NULL) return 0;
+ int result = msort_r(data, count, size, cmp, buffer);
+ free(buffer);
+ return result;
+}
+
+static void write_tree(unsigned char * dest, HuffNode_t * tree, int nitems, struct BitEncoding * encoding) {
+ /*
+ * The example used to guide this function encodes the tree in a
+ * breadth-first manner. We attempt to emulate that here.
+ */
+
+ int i, j, k;
+
+ // There are (2 * nitems - 1) nodes in the binary tree. Allocate that.
+ HuffNode_t * traversal = calloc(2 * nitems - 1, sizeof(HuffNode_t));
+ if (traversal == NULL)
+ FATAL_ERROR("Fatal error while compressing Huff file.\n");
+
+ // The first node is the root of the tree.
+ traversal[0] = *tree;
+ i = 1;
+
+ // Copy the tree into a breadth-first ordering using brute force.
+ for (int depth = 1; i < 2 * nitems - 1; depth++) {
+ // Consider every possible path up to the current depth.
+ for (j = 0; i < 2 * nitems - 1 && j < 1 << depth; j++) {
+ // The index of the path is used to encode the path itself.
+ // Start from the most significant relevant bit and work our way down.
+ // Keep track of the current and previous nodes.
+ HuffNode_t * currNode = traversal;
+ HuffNode_t * parent = NULL;
+ for (k = 0; k < depth; k++) {
+ if (currNode->header.isLeaf)
+ break;
+ parent = currNode;
+ if ((j >> (depth - k - 1)) & 1)
+ currNode = currNode->branch.right;
+ else
+ currNode = currNode->branch.left;
+ }
+ // Check that the length of the current path equals the current depth.
+ if (k == depth) {
+ // Make sure we can encode the current branch.
+ // Bail here if we cannot.
+ // This is only applicable for 8-bit encodings.
+ if (traversal + i - parent > 128)
+ FATAL_ERROR("Fatal error while compressing Huff file: unable to encode binary tree.\n");
+ // Copy the current node, and update its parent.
+ traversal[i] = *currNode;
+ if (parent != NULL) {
+ if ((j & 1) == 1)
+ parent->branch.right = traversal + i;
+ else
+ parent->branch.left = traversal + i;
+ }
+ // Encode the path through the tree in the lookup table
+ if (traversal[i].header.isLeaf) {
+ encoding[traversal[i].leaf.key].nbits = depth;
+ encoding[traversal[i].leaf.key].bitstring = j;
+ }
+ i++;
+ }
+ }
+ }
+
+ // Encode the size of the tree.
+ // This is used by the decompressor to skip the tree.
+ dest[4] = nitems - 1;
+
+ // Encode each node in the tree.
+ for (i = 0; i < 2 * nitems - 1; i++) {
+ HuffNode_t * currNode = traversal + i;
+ if (currNode->header.isLeaf) {
+ dest[5 + i] = traversal[i].leaf.key;
+ } else {
+ dest[5 + i] = (((currNode->branch.right - traversal - i) / 2) - 1);
+ if (currNode->branch.left->header.isLeaf)
+ dest[5 + i] |= 0x80;
+ if (currNode->branch.right->header.isLeaf)
+ dest[5 + i] |= 0x40;
+ }
+ }
+
+ free(traversal);
+}
+
+static inline void write_32_le(unsigned char * dest, int * destPos, uint32_t * buff, int * buffPos) {
+ dest[*destPos] = *buff;
+ dest[*destPos + 1] = *buff >> 8;
+ dest[*destPos + 2] = *buff >> 16;
+ dest[*destPos + 3] = *buff >> 24;
+ *destPos += 4;
+ *buff = 0;
+ *buffPos = 0;
+}
+
+static inline void read_32_le(unsigned char * src, int * srcPos, uint32_t * buff) {
+ uint32_t tmp = src[*srcPos];
+ tmp |= src[*srcPos + 1] << 8;
+ tmp |= src[*srcPos + 2] << 16;
+ tmp |= src[*srcPos + 3] << 24;
+ *srcPos += 4;
+ *buff = tmp;
+}
+
+static void write_bits(unsigned char * dest, int * destPos, struct BitEncoding * encoding, int value, uint32_t * buff, int * buffBits) {
+ int nbits = encoding[value].nbits;
+ uint32_t bitstring = encoding[value].bitstring;
+
+ if (*buffBits + nbits >= 32) {
+ int diff = *buffBits + nbits - 32;
+ *buff <<= nbits - diff;
+ *buff |= bitstring >> diff;
+ bitstring &= ~(1 << diff);
+ nbits = diff;
+ write_32_le(dest, destPos, buff, buffBits);
+ }
+ if (nbits != 0) {
+ *buff <<= nbits;
+ *buff |= bitstring;
+ *buffBits += nbits;
+ }
+}
+
+/*
+=======================================
+MAIN COMPRESSION/DECOMPRESSION ROUTINES
+=======================================
+ */
+
+unsigned char * HuffCompress(unsigned char * src, int srcSize, int * compressedSize_p, int bitDepth) {
+ if (srcSize <= 0)
+ goto fail;
+
+ int worstCaseDestSize = 4 + (2 << bitDepth) + srcSize * 3;
+
+ unsigned char *dest = malloc(worstCaseDestSize);
+ if (dest == NULL)
+ goto fail;
+
+ int nitems = 1 << bitDepth;
+
+ HuffNode_t * freqs = calloc(nitems, sizeof(HuffNode_t));
+ if (freqs == NULL)
+ goto fail;
+
+ struct BitEncoding * encoding = calloc(nitems, sizeof(struct BitEncoding));
+ if (encoding == NULL)
+ goto fail;
+
+ // Set up the frequencies table. This will inform the tree.
+ for (int i = 0; i < nitems; i++) {
+ freqs[i].header.isLeaf = 1;
+ freqs[i].header.value = 0;
+ freqs[i].leaf.key = i;
+ }
+
+ // Count each nybble or byte.
+ for (int i = 0; i < srcSize; i++) {
+ if (bitDepth == 8) {
+ freqs[src[i]].header.value++;
+ } else {
+ freqs[src[i] >> 4].header.value++;
+ freqs[src[i] & 0xF].header.value++;
+ }
+ }
+
+#ifdef DEBUG
+ for (int i = 0; i < nitems; i++) {
+ fprintf(stderr, "%d: %d\n", i, freqs[i].header.value);
+ }
+#endif // DEBUG
+
+ // Sort the frequency table.
+ if (!msort(freqs, nitems, sizeof(HuffNode_t), cmp_tree))
+ goto fail;
+
+ // Prune zero-frequency values.
+ for (int i = 0; i < nitems; i++) {
+ if (freqs[i].header.value != 0) {
+ if (i > 0) {
+ for (int j = i; j < nitems; j++) {
+ freqs[j - i] = freqs[j];
+ }
+ nitems -= i;
+ }
+ break;
+ }
+ // This should never happen:
+ if (i == nitems - 1)
+ goto fail;
+ }
+
+ HuffNode_t * tree = calloc(nitems * 2 - 1, sizeof(HuffNode_t));
+ if (tree == NULL)
+ goto fail;
+
+ // Iteratively collapse the two least frequent nodes.
+ HuffNode_t * endptr = freqs + nitems - 2;
+
+ for (int i = 0; i < nitems - 1; i++) {
+ HuffNode_t * left = freqs;
+ HuffNode_t * right = freqs + 1;
+ tree[i * 2] = *right;
+ tree[i * 2 + 1] = *left;
+ for (int j = 0; j < nitems - i - 2; j++)
+ freqs[j] = freqs[j + 2];
+ endptr->header.isLeaf = 0;
+ endptr->header.value = tree[i * 2].header.value + tree[i * 2 + 1].header.value;
+ endptr->branch.left = tree + i * 2;
+ endptr->branch.right = tree + i * 2 + 1;
+ endptr--;
+ if (i < nitems - 2 && !msort(freqs, nitems - i - 1, sizeof(HuffNode_t), cmp_tree))
+ goto fail;
+ }
+
+ // Write the tree breadth-first, and create the path lookup table.
+ write_tree(dest, freqs, nitems, encoding);
+
+ free(tree);
+ free(freqs);
+
+ // Encode the data itself.
+ int destPos = 4 + nitems * 2;
+ uint32_t destBuf = 0;
+ uint32_t srcBuf = 0;
+ int destBitPos = 0;
+
+ for (int srcPos = 0; srcPos < srcSize;) {
+ read_32_le(src, &srcPos, &srcBuf);
+ for (int i = 0; i < 32 / bitDepth; i++) {
+ write_bits(dest, &destPos, encoding, srcBuf & (0xFF >> (8 - bitDepth)), &destBuf, &destBitPos);
+ srcBuf >>= bitDepth;
+ }
+ }
+
+ if (destBitPos != 0) {
+ write_32_le(dest, &destPos, &destBuf, &destBitPos);
+ }
+
+ free(encoding);
+
+ // Write the header.
+ dest[0] = bitDepth | 0x20;
+ dest[1] = srcSize;
+ dest[2] = srcSize >> 8;
+ dest[3] = srcSize >> 16;
+ *compressedSize_p = (destPos + 3) & ~3;
+ return dest;
+
+fail:
+ FATAL_ERROR("Fatal error while compressing Huff file.\n");
+}
+
+unsigned char * HuffDecompress(unsigned char * src, int srcSize, int * uncompressedSize_p) {
+ if (srcSize < 4)
+ goto fail;
+
+ int bitDepth = *src & 15;
+ if (bitDepth != 4 && bitDepth != 8)
+ goto fail;
+
+ int destSize = (src[3] << 16) | (src[2] << 8) | src[1];
+
+ unsigned char *dest = malloc(destSize);
+
+ if (dest == NULL)
+ goto fail;
+
+ int treePos = 5;
+ int treeSize = (src[4] + 1) * 2;
+ int srcPos = 4 + treeSize;
+ int destPos = 0;
+ int curValPos = 0;
+ uint32_t destTmp = 0;
+ uint32_t window;
+
+ for (;;)
+ {
+ if (srcPos >= srcSize)
+ goto fail;
+ read_32_le(src, &srcPos, &window);
+ for (int i = 0; i < 32; i++) {
+ int curBit = (window >> 31) & 1;
+ unsigned char treeView = src[treePos];
+ bool isLeaf = ((treeView << curBit) & 0x80) != 0;
+ treePos &= ~1; // align
+ treePos += ((treeView & 0x3F) + 1) * 2 + curBit;
+ if (isLeaf) {
+ destTmp >>= bitDepth;
+ destTmp |= (src[treePos] << (32 - bitDepth));
+ curValPos++;
+ if (curValPos == 32 / bitDepth) {
+ write_32_le(dest, &destPos, &destTmp, &curValPos);
+ if (destPos == destSize) {
+ *uncompressedSize_p = destSize;
+ return dest;
+ }
+ }
+ treePos = 5;
+ }
+ window <<= 1;
+ }
+ }
+
+fail:
+ FATAL_ERROR("Fatal error while decompressing Huff file.\n");
+}
diff --git a/tools/gbagfx/huff.h b/tools/gbagfx/huff.h
new file mode 100644
index 000000000..6002fe954
--- /dev/null
+++ b/tools/gbagfx/huff.h
@@ -0,0 +1,38 @@
+#ifndef HUFF_H
+#define HUFF_H
+
+union HuffNode;
+
+struct HuffData {
+ unsigned value:31;
+ unsigned isLeaf:1;
+};
+
+struct HuffLeaf {
+ struct HuffData header;
+ unsigned char key;
+};
+
+struct HuffBranch {
+ struct HuffData header;
+ union HuffNode * left;
+ union HuffNode * right;
+};
+
+union HuffNode {
+ struct HuffData header;
+ struct HuffLeaf leaf;
+ struct HuffBranch branch;
+};
+
+typedef union HuffNode HuffNode_t;
+
+struct BitEncoding {
+ unsigned long long nbits:6;
+ unsigned long long bitstring:58;
+};
+
+unsigned char * HuffCompress(unsigned char * buffer, int srcSize, int * compressedSize_p, int bitDepth);
+unsigned char * HuffDecompress(unsigned char * buffer, int srcSize, int * uncompressedSize_p);
+
+#endif //HUFF_H
diff --git a/tools/gbagfx/lz.c b/tools/gbagfx/lz.c
index c2ba3e327..97434ce50 100644
--- a/tools/gbagfx/lz.c
+++ b/tools/gbagfx/lz.c
@@ -69,10 +69,8 @@ fail:
FATAL_ERROR("Fatal error while decompressing LZ file.\n");
}
-unsigned char *LZCompress(unsigned char *src, int srcSize, int *compressedSize)
+unsigned char *LZCompress(unsigned char *src, int srcSize, int *compressedSize, const int minDistance)
{
- const int minDistance = 2; // for compatibility with LZ77UnCompVram()
-
if (srcSize <= 0)
goto fail;
diff --git a/tools/gbagfx/lz.h b/tools/gbagfx/lz.h
index 164d62279..90f56b643 100644
--- a/tools/gbagfx/lz.h
+++ b/tools/gbagfx/lz.h
@@ -4,6 +4,6 @@
#define LZ_H
unsigned char *LZDecompress(unsigned char *src, int srcSize, int *uncompressedSize);
-unsigned char *LZCompress(unsigned char *src, int srcSize, int *compressedSize);
+unsigned char *LZCompress(unsigned char *src, int srcSize, int *compressedSize, const int minDistance);
#endif // LZ_H
diff --git a/tools/gbagfx/main.c b/tools/gbagfx/main.c
index 86b0afa53..957918505 100644
--- a/tools/gbagfx/main.c
+++ b/tools/gbagfx/main.c
@@ -12,6 +12,7 @@
#include "lz.h"
#include "rl.h"
#include "font.h"
+#include "huff.h"
struct CommandHandler
{
@@ -26,7 +27,17 @@ void ConvertGbaToPng(char *inputPath, char *outputPath, struct GbaToPngOptions *
if (options->paletteFilePath != NULL)
{
- ReadGbaPalette(options->paletteFilePath, &image.palette);
+ char *paletteFileExtension = GetFileExtensionAfterDot(options->paletteFilePath);
+
+ if (strcmp(paletteFileExtension, "gbapal") == 0)
+ {
+ ReadGbaPalette(options->paletteFilePath, &image.palette);
+ }
+ else
+ {
+ ReadJascPalette(options->paletteFilePath, &image.palette);
+ }
+
image.hasPalette = true;
}
else
@@ -58,7 +69,7 @@ void ConvertPngToGba(char *inputPath, char *outputPath, struct PngToGbaOptions *
void HandleGbaToPngCommand(char *inputPath, char *outputPath, int argc, char **argv)
{
- char *inputFileExtension = GetFileExtension(inputPath);
+ char *inputFileExtension = GetFileExtensionAfterDot(inputPath);
struct GbaToPngOptions options;
options.paletteFilePath = NULL;
options.bitDepth = inputFileExtension[0] - '0';
@@ -137,7 +148,7 @@ void HandleGbaToPngCommand(char *inputPath, char *outputPath, int argc, char **a
void HandlePngToGbaCommand(char *inputPath, char *outputPath, int argc, char **argv)
{
- char *outputFileExtension = GetFileExtension(outputPath);
+ char *outputFileExtension = GetFileExtensionAfterDot(outputPath);
int bitDepth = outputFileExtension[0] - '0';
struct PngToGbaOptions options;
options.numTiles = 0;
@@ -197,9 +208,17 @@ void HandlePngToGbaCommand(char *inputPath, char *outputPath, int argc, char **a
ConvertPngToGba(inputPath, outputPath, &options);
}
+void HandlePngToJascPaletteCommand(char *inputPath, char *outputPath, int argc UNUSED, char **argv UNUSED)
+{
+ struct Palette palette = {};
+
+ ReadPngPalette(inputPath, &palette);
+ WriteJascPalette(outputPath, &palette);
+}
+
void HandlePngToGbaPaletteCommand(char *inputPath, char *outputPath, int argc UNUSED, char **argv UNUSED)
{
- struct Palette palette;
+ struct Palette palette = {};
ReadPngPalette(inputPath, &palette);
WriteGbaPalette(outputPath, &palette);
@@ -207,7 +226,7 @@ void HandlePngToGbaPaletteCommand(char *inputPath, char *outputPath, int argc UN
void HandleGbaToJascPaletteCommand(char *inputPath, char *outputPath, int argc UNUSED, char **argv UNUSED)
{
- struct Palette palette;
+ struct Palette palette = {};
ReadGbaPalette(inputPath, &palette);
WriteJascPalette(outputPath, &palette);
@@ -240,7 +259,7 @@ void HandleJascToGbaPaletteCommand(char *inputPath, char *outputPath, int argc,
}
}
- struct Palette palette;
+ struct Palette palette = {};
ReadJascPalette(inputPath, &palette);
@@ -319,6 +338,7 @@ void HandlePngToFullwidthJapaneseFontCommand(char *inputPath, char *outputPath,
void HandleLZCompressCommand(char *inputPath, char *outputPath, int argc, char **argv)
{
int overflowSize = 0;
+ int minDistance = 2; // default, for compatibility with LZ77UnCompVram()
for (int i = 3; i < argc; i++)
{
@@ -337,6 +357,19 @@ void HandleLZCompressCommand(char *inputPath, char *outputPath, int argc, char *
if (overflowSize < 1)
FATAL_ERROR("Overflow size must be positive.\n");
}
+ else if (strcmp(option, "-search") == 0)
+ {
+ if (i + 1 >= argc)
+ FATAL_ERROR("No size following \"-overflow\".\n");
+
+ i++;
+
+ if (!ParseNumber(argv[i], NULL, 10, &minDistance))
+ FATAL_ERROR("Failed to parse LZ min search distance.\n");
+
+ if (minDistance < 1)
+ FATAL_ERROR("LZ min search distance must be positive.\n");
+ }
else
{
FATAL_ERROR("Unrecognized option \"%s\".\n", option);
@@ -353,7 +386,7 @@ void HandleLZCompressCommand(char *inputPath, char *outputPath, int argc, char *
unsigned char *buffer = ReadWholeFileZeroPadded(inputPath, &fileSize, overflowSize);
int compressedSize;
- unsigned char *compressedData = LZCompress(buffer, fileSize + overflowSize, &compressedSize);
+ unsigned char *compressedData = LZCompress(buffer, fileSize + overflowSize, &compressedSize, minDistance);
compressedData[1] = (unsigned char)fileSize;
compressedData[2] = (unsigned char)(fileSize >> 8);
@@ -411,8 +444,65 @@ void HandleRLDecompressCommand(char *inputPath, char *outputPath, int argc UNUSE
free(uncompressedData);
}
+void HandleHuffCompressCommand(char *inputPath, char *outputPath, int argc, char **argv)
+{
+ int fileSize;
+ int bitDepth = 4;
+
+ for (int i = 3; i < argc; i++)
+ {
+ char *option = argv[i];
+
+ if (strcmp(option, "-depth") == 0)
+ {
+ if (i + 1 >= argc)
+ FATAL_ERROR("No size following \"-depth\".\n");
+
+ i++;
+
+ if (!ParseNumber(argv[i], NULL, 10, &bitDepth))
+ FATAL_ERROR("Failed to parse bit depth.\n");
+
+ if (bitDepth != 4 && bitDepth != 8)
+ FATAL_ERROR("GBA only supports bit depth of 4 or 8.\n");
+ }
+ else
+ {
+ FATAL_ERROR("Unrecognized option \"%s\".\n", option);
+ }
+ }
+
+ unsigned char *buffer = ReadWholeFile(inputPath, &fileSize);
+
+ int compressedSize;
+ unsigned char *compressedData = HuffCompress(buffer, fileSize, &compressedSize, bitDepth);
+
+ free(buffer);
+
+ WriteWholeFile(outputPath, compressedData, compressedSize);
+
+ free(compressedData);
+}
+
+void HandleHuffDecompressCommand(char *inputPath, char *outputPath, int argc UNUSED, char **argv UNUSED)
+{
+ int fileSize;
+ unsigned char *buffer = ReadWholeFile(inputPath, &fileSize);
+
+ int uncompressedSize;
+ unsigned char *uncompressedData = HuffDecompress(buffer, fileSize, &uncompressedSize);
+
+ free(buffer);
+
+ WriteWholeFile(outputPath, uncompressedData, uncompressedSize);
+
+ free(uncompressedData);
+}
+
int main(int argc, char **argv)
{
+ char converted = 0;
+
if (argc < 3)
FATAL_ERROR("Usage: gbagfx INPUT_PATH OUTPUT_PATH [options...]\n");
@@ -425,6 +515,7 @@ int main(int argc, char **argv)
{ "png", "4bpp", HandlePngToGbaCommand },
{ "png", "8bpp", HandlePngToGbaCommand },
{ "png", "gbapal", HandlePngToGbaPaletteCommand },
+ { "png", "pal", HandlePngToJascPaletteCommand },
{ "gbapal", "pal", HandleGbaToJascPaletteCommand },
{ "pal", "gbapal", HandleJascToGbaPaletteCommand },
{ "latfont", "png", HandleLatinFontToPngCommand },
@@ -433,7 +524,9 @@ int main(int argc, char **argv)
{ "png", "hwjpnfont", HandlePngToHalfwidthJapaneseFontCommand },
{ "fwjpnfont", "png", HandleFullwidthJapaneseFontToPngCommand },
{ "png", "fwjpnfont", HandlePngToFullwidthJapaneseFontCommand },
+ { NULL, "huff", HandleHuffCompressCommand },
{ NULL, "lz", HandleLZCompressCommand },
+ { "huff", NULL, HandleHuffDecompressCommand },
{ "lz", NULL, HandleLZDecompressCommand },
{ NULL, "rl", HandleRLCompressCommand },
{ "rl", NULL, HandleRLDecompressCommand },
@@ -442,14 +535,39 @@ int main(int argc, char **argv)
char *inputPath = argv[1];
char *outputPath = argv[2];
- char *inputFileExtension = GetFileExtension(inputPath);
- char *outputFileExtension = GetFileExtension(outputPath);
+ char *inputFileExtension = GetFileExtensionAfterDot(inputPath);
+ char *outputFileExtension = GetFileExtensionAfterDot(outputPath);
if (inputFileExtension == NULL)
FATAL_ERROR("Input file \"%s\" has no extension.\n", inputPath);
if (outputFileExtension == NULL)
- FATAL_ERROR("Output file \"%s\" has no extension.\n", outputPath);
+ {
+ outputFileExtension = GetFileExtension(outputPath);
+
+ if (*outputFileExtension == '.')
+ outputFileExtension++;
+
+ if (*outputFileExtension == 0)
+ FATAL_ERROR("Output file \"%s\" has no extension.\n", outputPath);
+
+ size_t newOutputPathSize = strlen(inputPath) - strlen(inputFileExtension) + strlen(outputFileExtension);
+ outputPath = malloc(newOutputPathSize);
+
+ if (outputPath == NULL)
+ FATAL_ERROR("Failed to allocate memory for new output path.\n");
+
+ for (int i = 0; i < newOutputPathSize; i++)
+ {
+ outputPath[i] = inputPath[i];
+
+ if (outputPath[i] == '.')
+ {
+ strcpy(&outputPath[i + 1], outputFileExtension);
+ break;
+ }
+ }
+ }
for (int i = 0; handlers[i].function != NULL; i++)
{
@@ -457,9 +575,16 @@ int main(int argc, char **argv)
&& (handlers[i].outputFileExtension == NULL || strcmp(handlers[i].outputFileExtension, outputFileExtension) == 0))
{
handlers[i].function(inputPath, outputPath, argc, argv);
- return 0;
+ converted = 1;
+ break;
}
}
- FATAL_ERROR("Don't know how to convert \"%s\" to \"%s\".\n", inputPath, outputPath);
+ if (outputPath != argv[2])
+ free(outputPath);
+
+ if (!converted)
+ FATAL_ERROR("Don't know how to convert \"%s\" to \"%s\".\n", argv[1], argv[2]);
+
+ return 0;
}
diff --git a/tools/gbagfx/util.c b/tools/gbagfx/util.c
index 87abeb31c..735037692 100644
--- a/tools/gbagfx/util.c
+++ b/tools/gbagfx/util.c
@@ -47,6 +47,13 @@ char *GetFileExtension(char *path)
while (extension > path && *extension != '.')
extension--;
+ return extension;
+}
+
+char *GetFileExtensionAfterDot(char *path)
+{
+ char *extension = GetFileExtension(path);
+
if (extension == path)
return NULL;
diff --git a/tools/gbagfx/util.h b/tools/gbagfx/util.h
index 6d7a9c21e..7802f1d21 100644
--- a/tools/gbagfx/util.h
+++ b/tools/gbagfx/util.h
@@ -7,6 +7,7 @@
bool ParseNumber(char *s, char **end, int radix, int *intValue);
char *GetFileExtension(char *path);
+char *GetFileExtensionAfterDot(char *path);
unsigned char *ReadWholeFile(char *path, int *size);
unsigned char *ReadWholeFileZeroPadded(char *path, int *size, int padAmount);
void WriteWholeFile(char *path, void *buffer, int bufferSize);
diff --git a/tools/preproc/asm_file.cpp b/tools/preproc/asm_file.cpp
index 98805c952..7756cadc5 100644
--- a/tools/preproc/asm_file.cpp
+++ b/tools/preproc/asm_file.cpp
@@ -20,6 +20,7 @@
#include <cstdio>
#include <cstdarg>
+#include <stdexcept>
#include "preproc.h"
#include "asm_file.h"
#include "char_util.h"
diff --git a/tools/preproc/c_file.cpp b/tools/preproc/c_file.cpp
index b550a53fa..50c2dab71 100644
--- a/tools/preproc/c_file.cpp
+++ b/tools/preproc/c_file.cpp
@@ -20,6 +20,7 @@
#include <cstdio>
#include <cstdarg>
+#include <stdexcept>
#include <string>
#include <memory>
#include <iostream>