summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-04-23 18:08:40 -0400
committerGriffinR <griffin.g.richards@gmail.com>2020-04-23 18:08:40 -0400
commit214d9974979ded1b471a383dc2e9477141e90d15 (patch)
tree4b1828166e9785701176a6fb5b47f97235e72c3a
parent71094356313801bf20191f3db1efa0decd3c3dcb (diff)
Use msgbox constants
-rw-r--r--data-de/event_scripts.s232
-rw-r--r--data-de/field_move_scripts.inc30
-rw-r--r--data/event_scripts.s232
-rw-r--r--data/field_move_scripts.inc30
-rw-r--r--data/maps/AbandonedShip_CaptainsOffice/scripts.inc6
-rw-r--r--data/maps/AbandonedShip_Corridors_1F/scripts.inc4
-rw-r--r--data/maps/AbandonedShip_Corridors_B1F/scripts.inc10
-rw-r--r--data/maps/AbandonedShip_HiddenFloorCorridors/scripts.inc18
-rw-r--r--data/maps/AbandonedShip_HiddenFloorRooms/scripts.inc2
-rw-r--r--data/maps/AbandonedShip_Rooms2_1F/scripts.inc8
-rw-r--r--data/maps/AbandonedShip_Rooms2_B1F/scripts.inc2
-rw-r--r--data/maps/AbandonedShip_Rooms_1F/scripts.inc2
-rw-r--r--data/maps/AbandonedShip_Rooms_B1F/scripts.inc2
-rw-r--r--data/maps/AncientTomb/scripts.inc2
-rw-r--r--data/maps/AquaHideout_1F/scripts.inc12
-rw-r--r--data/maps/AquaHideout_B1F/scripts.inc10
-rw-r--r--data/maps/AquaHideout_B2F/scripts.inc12
-rw-r--r--data/maps/BattleTower_BattleRoom/scripts.inc6
-rw-r--r--data/maps/BattleTower_Lobby/scripts.inc54
-rw-r--r--data/maps/BattleTower_Outside/scripts.inc18
-rw-r--r--data/maps/CaveOfOrigin_B4F/scripts.inc8
-rw-r--r--data/maps/DesertRuins/scripts.inc2
-rw-r--r--data/maps/DewfordTown/scripts.inc44
-rw-r--r--data/maps/DewfordTown_Gym/scripts.inc20
-rw-r--r--data/maps/DewfordTown_Hall/scripts.inc50
-rw-r--r--data/maps/DewfordTown_House1/scripts.inc6
-rw-r--r--data/maps/DewfordTown_House2/scripts.inc8
-rw-r--r--data/maps/DewfordTown_PokemonCenter_1F/scripts.inc4
-rw-r--r--data/maps/EverGrandeCity/scripts.inc6
-rw-r--r--data/maps/EverGrandeCity_ChampionsRoom/scripts.inc24
-rw-r--r--data/maps/EverGrandeCity_DrakesRoom/scripts.inc6
-rw-r--r--data/maps/EverGrandeCity_GlaciasRoom/scripts.inc6
-rw-r--r--data/maps/EverGrandeCity_HallOfFame/scripts.inc4
-rw-r--r--data/maps/EverGrandeCity_PhoebesRoom/scripts.inc6
-rw-r--r--data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc4
-rw-r--r--data/maps/EverGrandeCity_PokemonLeague/scripts.inc6
-rw-r--r--data/maps/EverGrandeCity_SidneysRoom/scripts.inc6
-rw-r--r--data/maps/FallarborTown/scripts.inc16
-rw-r--r--data/maps/FallarborTown_ContestHall/scripts.inc8
-rw-r--r--data/maps/FallarborTown_ContestLobby/scripts.inc10
-rw-r--r--data/maps/FallarborTown_House1/scripts.inc18
-rw-r--r--data/maps/FallarborTown_House2/scripts.inc14
-rw-r--r--data/maps/FallarborTown_Mart/scripts.inc8
-rw-r--r--data/maps/FallarborTown_PokemonCenter_1F/scripts.inc6
-rw-r--r--data/maps/FortreeCity/scripts.inc22
-rw-r--r--data/maps/FortreeCity_DecorationShop/scripts.inc8
-rw-r--r--data/maps/FortreeCity_Gym/scripts.inc22
-rw-r--r--data/maps/FortreeCity_House1/scripts.inc12
-rw-r--r--data/maps/FortreeCity_House2/scripts.inc16
-rw-r--r--data/maps/FortreeCity_House3/scripts.inc4
-rw-r--r--data/maps/FortreeCity_House4/scripts.inc12
-rw-r--r--data/maps/FortreeCity_House5/scripts.inc6
-rw-r--r--data/maps/FortreeCity_Mart/scripts.inc8
-rw-r--r--data/maps/FortreeCity_PokemonCenter_1F/scripts.inc6
-rw-r--r--data/maps/GraniteCave_1F/scripts.inc6
-rw-r--r--data/maps/GraniteCave_StevensRoom/scripts.inc8
-rw-r--r--data/maps/InsideOfTruck/scripts.inc2
-rw-r--r--data/maps/IslandCave/scripts.inc2
-rw-r--r--data/maps/JaggedPass/scripts.inc10
-rw-r--r--data/maps/LavaridgeTown/scripts.inc36
-rw-r--r--data/maps/LavaridgeTown_Gym_1F/scripts.inc24
-rw-r--r--data/maps/LavaridgeTown_HerbShop/scripts.inc8
-rw-r--r--data/maps/LavaridgeTown_House/scripts.inc4
-rw-r--r--data/maps/LavaridgeTown_Mart/scripts.inc6
-rw-r--r--data/maps/LavaridgeTown_PokemonCenter_1F/scripts.inc6
-rw-r--r--data/maps/LilycoveCity/scripts.inc90
-rw-r--r--data/maps/LilycoveCity_ContestHall/scripts.inc70
-rw-r--r--data/maps/LilycoveCity_ContestLobby/scripts.inc72
-rw-r--r--data/maps/LilycoveCity_CoveLilyMotel_1F/scripts.inc14
-rw-r--r--data/maps/LilycoveCity_CoveLilyMotel_2F/scripts.inc12
-rw-r--r--data/maps/LilycoveCity_DepartmentStoreRooftop/scripts.inc26
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_1F/scripts.inc38
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_2F/scripts.inc10
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_3F/scripts.inc10
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_4F/scripts.inc10
-rw-r--r--data/maps/LilycoveCity_DepartmentStore_5F/scripts.inc14
-rw-r--r--data/maps/LilycoveCity_Harbor/scripts.inc18
-rw-r--r--data/maps/LilycoveCity_House1/scripts.inc4
-rw-r--r--data/maps/LilycoveCity_House2/scripts.inc6
-rw-r--r--data/maps/LilycoveCity_House3/scripts.inc14
-rw-r--r--data/maps/LilycoveCity_House4/scripts.inc4
-rw-r--r--data/maps/LilycoveCity_LilycoveMuseum_1F/scripts.inc42
-rw-r--r--data/maps/LilycoveCity_LilycoveMuseum_2F/scripts.inc48
-rw-r--r--data/maps/LilycoveCity_MoveDeletersHouse/scripts.inc12
-rw-r--r--data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc6
-rw-r--r--data/maps/LilycoveCity_PokemonTrainerFanClub/scripts.inc76
-rw-r--r--data/maps/LittlerootTown/scripts.inc40
-rw-r--r--data/maps/LittlerootTown_BrendansHouse_1F/scripts.inc4
-rw-r--r--data/maps/LittlerootTown_BrendansHouse_2F/scripts.inc12
-rw-r--r--data/maps/LittlerootTown_MaysHouse_1F/scripts.inc14
-rw-r--r--data/maps/LittlerootTown_MaysHouse_2F/scripts.inc20
-rw-r--r--data/maps/LittlerootTown_ProfessorBirchsLab/scripts.inc40
-rw-r--r--data/maps/MauvilleCity/scripts.inc56
-rw-r--r--data/maps/MauvilleCity_BikeShop/scripts.inc22
-rw-r--r--data/maps/MauvilleCity_GameCorner/scripts.inc76
-rw-r--r--data/maps/MauvilleCity_Gym/scripts.inc24
-rw-r--r--data/maps/MauvilleCity_House1/scripts.inc6
-rw-r--r--data/maps/MauvilleCity_House2/scripts.inc8
-rw-r--r--data/maps/MauvilleCity_Mart/scripts.inc6
-rw-r--r--data/maps/MauvilleCity_PokemonCenter_1F/scripts.inc6
-rw-r--r--data/maps/MauvilleCity_PokemonCenter_2F/scripts.inc2
-rw-r--r--data/maps/MeteorFalls_1F_1R/scripts.inc22
-rw-r--r--data/maps/MeteorFalls_1F_2R/scripts.inc12
-rw-r--r--data/maps/MossdeepCity/scripts.inc28
-rw-r--r--data/maps/MossdeepCity_GameCorner_1F/scripts.inc16
-rw-r--r--data/maps/MossdeepCity_GameCorner_B1F/scripts.inc4
-rw-r--r--data/maps/MossdeepCity_Gym/scripts.inc26
-rw-r--r--data/maps/MossdeepCity_House1/scripts.inc8
-rw-r--r--data/maps/MossdeepCity_House2/scripts.inc6
-rw-r--r--data/maps/MossdeepCity_House3/scripts.inc8
-rw-r--r--data/maps/MossdeepCity_House4/scripts.inc10
-rw-r--r--data/maps/MossdeepCity_Mart/scripts.inc8
-rw-r--r--data/maps/MossdeepCity_PokemonCenter_1F/scripts.inc4
-rw-r--r--data/maps/MossdeepCity_PokemonCenter_2F/scripts.inc2
-rw-r--r--data/maps/MossdeepCity_SpaceCenter_1F/scripts.inc16
-rw-r--r--data/maps/MossdeepCity_SpaceCenter_2F/scripts.inc6
-rw-r--r--data/maps/MossdeepCity_StevensHouse/scripts.inc16
-rw-r--r--data/maps/MtChimney/scripts.inc76
-rw-r--r--data/maps/MtChimney_CableCarStation/scripts.inc4
-rw-r--r--data/maps/MtPyre_1F/scripts.inc8
-rw-r--r--data/maps/MtPyre_2F/scripts.inc10
-rw-r--r--data/maps/MtPyre_3F/scripts.inc4
-rw-r--r--data/maps/MtPyre_4F/scripts.inc2
-rw-r--r--data/maps/MtPyre_5F/scripts.inc2
-rw-r--r--data/maps/MtPyre_6F/scripts.inc4
-rw-r--r--data/maps/MtPyre_Summit/scripts.inc36
-rw-r--r--data/maps/NewMauville_Entrance/scripts.inc4
-rw-r--r--data/maps/NewMauville_Inside/scripts.inc6
-rw-r--r--data/maps/OldaleTown/scripts.inc24
-rw-r--r--data/maps/OldaleTown_House1/scripts.inc2
-rw-r--r--data/maps/OldaleTown_House2/scripts.inc4
-rw-r--r--data/maps/OldaleTown_Mart/scripts.inc10
-rw-r--r--data/maps/OldaleTown_PokemonCenter_1F/scripts.inc8
-rw-r--r--data/maps/PacifidlogTown/scripts.inc8
-rw-r--r--data/maps/PacifidlogTown_House1/scripts.inc4
-rw-r--r--data/maps/PacifidlogTown_House2/scripts.inc26
-rw-r--r--data/maps/PacifidlogTown_House3/scripts.inc10
-rw-r--r--data/maps/PacifidlogTown_House4/scripts.inc8
-rw-r--r--data/maps/PacifidlogTown_House5/scripts.inc6
-rw-r--r--data/maps/PacifidlogTown_PokemonCenter_1F/scripts.inc6
-rw-r--r--data/maps/PetalburgCity/scripts.inc26
-rw-r--r--data/maps/PetalburgCity_Gym/scripts.inc88
-rw-r--r--data/maps/PetalburgCity_House1/scripts.inc4
-rw-r--r--data/maps/PetalburgCity_House2/scripts.inc4
-rw-r--r--data/maps/PetalburgCity_Mart/scripts.inc10
-rw-r--r--data/maps/PetalburgCity_PokemonCenter_1F/scripts.inc12
-rw-r--r--data/maps/PetalburgCity_WallysHouse/scripts.inc18
-rw-r--r--data/maps/PetalburgWoods/scripts.inc50
-rw-r--r--data/maps/Route101/scripts.inc18
-rw-r--r--data/maps/Route102/scripts.inc18
-rw-r--r--data/maps/Route103/scripts.inc34
-rw-r--r--data/maps/Route104/scripts.inc58
-rw-r--r--data/maps/Route104_MrBrineysHouse/scripts.inc10
-rw-r--r--data/maps/Route104_PrettyPetalFlowerShop/scripts.inc20
-rw-r--r--data/maps/Route104_Prototype/scripts.inc28
-rw-r--r--data/maps/Route104_PrototypePrettyPetalFlowerShop/scripts.inc2
-rw-r--r--data/maps/Route105/scripts.inc10
-rw-r--r--data/maps/Route106/scripts.inc12
-rw-r--r--data/maps/Route107/scripts.inc14
-rw-r--r--data/maps/Route108/scripts.inc8
-rw-r--r--data/maps/Route109/scripts.inc52
-rw-r--r--data/maps/Route109_SeashoreHouse/scripts.inc22
-rw-r--r--data/maps/Route110/scripts.inc104
-rw-r--r--data/maps/Route110_SeasideCyclingRoadNorthEntrance/scripts.inc4
-rw-r--r--data/maps/Route110_SeasideCyclingRoadSouthEntrance/scripts.inc4
-rw-r--r--data/maps/Route110_TrickHouseEnd/scripts.inc58
-rw-r--r--data/maps/Route110_TrickHouseEntrance/scripts.inc78
-rw-r--r--data/maps/Route110_TrickHousePuzzle1/scripts.inc6
-rw-r--r--data/maps/Route110_TrickHousePuzzle2/scripts.inc6
-rw-r--r--data/maps/Route110_TrickHousePuzzle3/scripts.inc6
-rw-r--r--data/maps/Route110_TrickHousePuzzle4/scripts.inc6
-rw-r--r--data/maps/Route110_TrickHousePuzzle5/scripts.inc48
-rw-r--r--data/maps/Route110_TrickHousePuzzle6/scripts.inc6
-rw-r--r--data/maps/Route110_TrickHousePuzzle7/scripts.inc6
-rw-r--r--data/maps/Route110_TrickHousePuzzle8/scripts.inc6
-rw-r--r--data/maps/Route111/scripts.inc72
-rw-r--r--data/maps/Route111_OldLadysRestStop/scripts.inc4
-rw-r--r--data/maps/Route111_WinstrateFamilysHouse/scripts.inc12
-rw-r--r--data/maps/Route112/scripts.inc22
-rw-r--r--data/maps/Route112_CableCarStation/scripts.inc4
-rw-r--r--data/maps/Route113/scripts.inc30
-rw-r--r--data/maps/Route113_GlassWorkshop/scripts.inc26
-rw-r--r--data/maps/Route114/scripts.inc44
-rw-r--r--data/maps/Route114_FossilManiacsHouse/scripts.inc8
-rw-r--r--data/maps/Route114_FossilManiacsTunnel/scripts.inc6
-rw-r--r--data/maps/Route114_LanettesHouse/scripts.inc10
-rw-r--r--data/maps/Route115/scripts.inc24
-rw-r--r--data/maps/Route116/scripts.inc56
-rw-r--r--data/maps/Route116_TunnelersRestHouse/scripts.inc8
-rw-r--r--data/maps/Route117/scripts.inc38
-rw-r--r--data/maps/Route118/scripts.inc32
-rw-r--r--data/maps/Route119/scripts.inc60
-rw-r--r--data/maps/Route119_House/scripts.inc4
-rw-r--r--data/maps/Route119_WeatherInstitute_1F/scripts.inc14
-rw-r--r--data/maps/Route119_WeatherInstitute_2F/scripts.inc16
-rw-r--r--data/maps/Route120/scripts.inc50
-rw-r--r--data/maps/Route121/scripts.inc24
-rw-r--r--data/maps/Route121_SafariZoneEntrance/scripts.inc22
-rw-r--r--data/maps/Route123/scripts.inc34
-rw-r--r--data/maps/Route123_BerryMastersHouse/scripts.inc30
-rw-r--r--data/maps/Route124/scripts.inc22
-rw-r--r--data/maps/Route124_DivingTreasureHuntersHouse/scripts.inc16
-rw-r--r--data/maps/Route125/scripts.inc16
-rw-r--r--data/maps/Route126/scripts.inc8
-rw-r--r--data/maps/Route127/scripts.inc14
-rw-r--r--data/maps/Route128/scripts.inc32
-rw-r--r--data/maps/Route129/scripts.inc8
-rw-r--r--data/maps/Route130/scripts.inc4
-rw-r--r--data/maps/Route131/scripts.inc12
-rw-r--r--data/maps/Route132/scripts.inc8
-rw-r--r--data/maps/Route133/scripts.inc10
-rw-r--r--data/maps/Route134/scripts.inc10
-rw-r--r--data/maps/RustboroCity/scripts.inc66
-rw-r--r--data/maps/RustboroCity_CuttersHouse/scripts.inc8
-rw-r--r--data/maps/RustboroCity_DevonCorp_1F/scripts.inc18
-rw-r--r--data/maps/RustboroCity_DevonCorp_2F/scripts.inc28
-rw-r--r--data/maps/RustboroCity_DevonCorp_3F/scripts.inc26
-rw-r--r--data/maps/RustboroCity_Flat1_1F/scripts.inc4
-rw-r--r--data/maps/RustboroCity_Flat1_2F/scripts.inc2
-rw-r--r--data/maps/RustboroCity_Flat2_1F/scripts.inc4
-rw-r--r--data/maps/RustboroCity_Flat2_2F/scripts.inc6
-rw-r--r--data/maps/RustboroCity_Flat2_3F/scripts.inc4
-rw-r--r--data/maps/RustboroCity_Gym/scripts.inc18
-rw-r--r--data/maps/RustboroCity_House1/scripts.inc10
-rw-r--r--data/maps/RustboroCity_House2/scripts.inc4
-rw-r--r--data/maps/RustboroCity_House3/scripts.inc6
-rw-r--r--data/maps/RustboroCity_Mart/scripts.inc10
-rw-r--r--data/maps/RustboroCity_PokemonCenter_1F/scripts.inc6
-rw-r--r--data/maps/RustboroCity_PokemonSchool/scripts.inc28
-rw-r--r--data/maps/RusturfTunnel/scripts.inc24
-rw-r--r--data/maps/SSTidalCorridor/scripts.inc38
-rw-r--r--data/maps/SSTidalLowerDeck/scripts.inc4
-rw-r--r--data/maps/SSTidalRooms/scripts.inc22
-rw-r--r--data/maps/SafariZone_Northeast/scripts.inc4
-rw-r--r--data/maps/SafariZone_Northwest/scripts.inc2
-rw-r--r--data/maps/SafariZone_RestHouse/scripts.inc6
-rw-r--r--data/maps/SafariZone_Southeast/scripts.inc12
-rw-r--r--data/maps/SafariZone_Southwest/scripts.inc4
-rw-r--r--data/maps/SeafloorCavern_Room1/scripts.inc4
-rw-r--r--data/maps/SeafloorCavern_Room3/scripts.inc2
-rw-r--r--data/maps/SeafloorCavern_Room4/scripts.inc2
-rw-r--r--data/maps/SeafloorCavern_Room9/scripts.inc56
-rw-r--r--data/maps/SealedChamber_InnerRoom/scripts.inc2
-rw-r--r--data/maps/SealedChamber_OuterRoom/scripts.inc2
-rw-r--r--data/maps/ShoalCave_LowTideEntranceRoom/scripts.inc12
-rw-r--r--data/maps/ShoalCave_LowTideInnerRoom/scripts.inc4
-rw-r--r--data/maps/ShoalCave_LowTideLowerRoom/scripts.inc6
-rw-r--r--data/maps/ShoalCave_LowTideStairsRoom/scripts.inc2
-rw-r--r--data/maps/SlateportCity/scripts.inc130
-rw-r--r--data/maps/SlateportCity_ContestHall/scripts.inc32
-rw-r--r--data/maps/SlateportCity_ContestLobby/scripts.inc14
-rw-r--r--data/maps/SlateportCity_Harbor/scripts.inc38
-rw-r--r--data/maps/SlateportCity_House1/scripts.inc14
-rw-r--r--data/maps/SlateportCity_House2/scripts.inc6
-rw-r--r--data/maps/SlateportCity_Mart/scripts.inc6
-rw-r--r--data/maps/SlateportCity_OceanicMuseum_1F/scripts.inc52
-rw-r--r--data/maps/SlateportCity_OceanicMuseum_2F/scripts.inc50
-rw-r--r--data/maps/SlateportCity_PokemonCenter_1F/scripts.inc4
-rw-r--r--data/maps/SlateportCity_PokemonFanClub/scripts.inc48
-rw-r--r--data/maps/SlateportCity_SternsShipyard_1F/scripts.inc18
-rw-r--r--data/maps/SlateportCity_SternsShipyard_2F/scripts.inc4
-rw-r--r--data/maps/SootopolisCity/scripts.inc78
-rw-r--r--data/maps/SootopolisCity_Gym_1F/scripts.inc16
-rw-r--r--data/maps/SootopolisCity_Gym_B1F/scripts.inc16
-rw-r--r--data/maps/SootopolisCity_House1/scripts.inc8
-rw-r--r--data/maps/SootopolisCity_House2/scripts.inc4
-rw-r--r--data/maps/SootopolisCity_House3/scripts.inc6
-rw-r--r--data/maps/SootopolisCity_House4/scripts.inc6
-rw-r--r--data/maps/SootopolisCity_House5/scripts.inc4
-rw-r--r--data/maps/SootopolisCity_House6/scripts.inc10
-rw-r--r--data/maps/SootopolisCity_House7/scripts.inc4
-rw-r--r--data/maps/SootopolisCity_House8/scripts.inc28
-rw-r--r--data/maps/SootopolisCity_Mart/scripts.inc10
-rw-r--r--data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc8
-rw-r--r--data/maps/SouthernIsland_Exterior/scripts.inc6
-rw-r--r--data/maps/SouthernIsland_Interior/scripts.inc2
-rw-r--r--data/maps/Underwater_SeafloorCavern/scripts.inc2
-rw-r--r--data/maps/VerdanturfTown/scripts.inc20
-rw-r--r--data/maps/VerdanturfTown_ContestHall/scripts.inc8
-rw-r--r--data/maps/VerdanturfTown_ContestLobby/scripts.inc10
-rw-r--r--data/maps/VerdanturfTown_FriendshipRatersHouse/scripts.inc18
-rw-r--r--data/maps/VerdanturfTown_House/scripts.inc4
-rw-r--r--data/maps/VerdanturfTown_Mart/scripts.inc8
-rw-r--r--data/maps/VerdanturfTown_PokemonCenter_1F/scripts.inc4
-rw-r--r--data/maps/VerdanturfTown_WandasHouse/scripts.inc26
-rw-r--r--data/maps/VictoryRoad_1F/scripts.inc16
-rw-r--r--data/maps/VictoryRoad_B1F/scripts.inc6
-rw-r--r--data/maps/VictoryRoad_B2F/scripts.inc8
-rw-r--r--data/scripts/cable_club.inc6
-rw-r--r--data/scripts/contest_hall.inc68
-rw-r--r--data/scripts/day_care.inc50
-rw-r--r--data/scripts/gabby_and_ty.inc34
-rw-r--r--data/scripts/magma_chimney.inc24
-rw-r--r--data/scripts/magma_summit.inc12
-rw-r--r--data/scripts/mauville_man.inc54
-rw-r--r--data/scripts/mystery_event_club.inc26
-rw-r--r--data/scripts/players_house.inc54
-rw-r--r--data/scripts/pokeblocks.inc48
-rw-r--r--data/scripts/secret_power_tm.inc6
-rw-r--r--data/scripts/tv.inc10
300 files changed, 2936 insertions, 2936 deletions
diff --git a/data-de/event_scripts.s b/data-de/event_scripts.s
index 15c304c37..b372d0bb9 100644
--- a/data-de/event_scripts.s
+++ b/data-de/event_scripts.s
@@ -498,7 +498,7 @@ EventScript_15F4A1:
msgbox UnknownString_81A3958, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_15F452
- msgbox UnknownString_81A3A22, 3
+ msgbox UnknownString_81A3A22, MSGBOX_SIGN
special sub_80BC5BC
special DoSecretBasePCTurnOffEffect
releaseall
@@ -508,14 +508,14 @@ EventScript_15F4E0:
msgbox UnknownString_81A3982, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_15F452
- msgbox UnknownString_81A3A3A, 3
+ msgbox UnknownString_81A3A3A, MSGBOX_SIGN
special sub_80BC5BC
special DoSecretBasePCTurnOffEffect
releaseall
end
EventScript_15F503:
- msgbox UnknownString_81A39C0, 3
+ msgbox UnknownString_81A39C0, MSGBOX_SIGN
special DoSecretBasePCTurnOffEffect
closemessage
releaseall
@@ -551,19 +551,19 @@ gUnknown_0815F528:: @ 815F528
end
EventScript_15F558:
- msgbox UnknownString_81A3B5B, 3
+ msgbox UnknownString_81A3B5B, MSGBOX_SIGN
end
EventScript_15F561:
- msgbox UnknownString_81A3BA4, 3
+ msgbox UnknownString_81A3BA4, MSGBOX_SIGN
end
EventScript_15F56A:
- msgbox UnknownString_81A3BE8, 3
+ msgbox UnknownString_81A3BE8, MSGBOX_SIGN
end
EventScript_15F573:
- msgbox UnknownString_81A3C31, 3
+ msgbox UnknownString_81A3C31, MSGBOX_SIGN
end
.include "data/maps/SingleBattleColosseum/scripts.inc"
@@ -1684,7 +1684,7 @@ gUnknown_081A0009:: @ 81A0009
setvar VAR_0x8004, 0
special DoPCTurnOnEffect
playse SE_PC_ON
- msgbox UnknownString_81A09EC, 4
+ msgbox UnknownString_81A09EC, MSGBOX_DEFAULT
goto EventScript_1A0023
end
@@ -1707,7 +1707,7 @@ EventScript_1A0033:
EventScript_1A0070:
playse SE_PC_LOGON
- msgbox UnknownString_81A0A54, 4
+ msgbox UnknownString_81A0A54, MSGBOX_DEFAULT
special PlayerPC
waitstate
goto EventScript_1A0023
@@ -1717,18 +1717,18 @@ EventScript_1A0085:
playse SE_PC_LOGON
call_if_unset FLAG_SYS_PC_LANETTE, EventScript_1A00AC
call_if_set FLAG_SYS_PC_LANETTE, EventScript_1A00B5
- msgbox UnknownString_81A0A35, 4
+ msgbox UnknownString_81A0A35, MSGBOX_DEFAULT
special ShowPokemonStorageSystem
waitstate
goto EventScript_1A0023
end
EventScript_1A00AC:
- msgbox UnknownString_81A0A1E, 4
+ msgbox UnknownString_81A0A1E, MSGBOX_DEFAULT
return
EventScript_1A00B5:
- msgbox UnknownString_81A0A66, 4
+ msgbox UnknownString_81A0A66, MSGBOX_DEFAULT
return
EventScript_1A00BE:
@@ -1757,7 +1757,7 @@ RustboroCity_EventScript_1A00E1:: @ 81A00E1
SlateportCity_EventScript_1A00E1:: @ 81A00E1
SootopolisCity_EventScript_1A00E1:: @ 81A00E1
VerdanturfTown_EventScript_1A00E1:: @ 81A00E1
- msgbox PetalburgCity_Text_1A0D41, 3
+ msgbox PetalburgCity_Text_1A0D41, MSGBOX_SIGN
end
DewfordTown_EventScript_1A00EA:: @ 81A00EA
@@ -1775,7 +1775,7 @@ RustboroCity_EventScript_1A00EA:: @ 81A00EA
SlateportCity_EventScript_1A00EA:: @ 81A00EA
SootopolisCity_EventScript_1A00EA:: @ 81A00EA
VerdanturfTown_EventScript_1A00EA:: @ 81A00EA
- msgbox PetalburgCity_Text_1A0D75, 3
+ msgbox PetalburgCity_Text_1A0D75, MSGBOX_SIGN
end
BattleTower_Lobby_EventScript_1A00F3:: @ 81A00F3
@@ -1824,7 +1824,7 @@ UseSurfScript:: @ 81A0117
msgbox UseSurfPromptText, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq UseSurfScript_No
- msgbox UsedSurfText, 4
+ msgbox UsedSurfText, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_SURF
UseSurfScript_No: @ 81A014C
releaseall
@@ -2051,7 +2051,7 @@ SlateportCity_PokemonFanClub_EventScript_1A029B:: @ 81A029B
SootopolisCity_EventScript_1A029B:: @ 81A029B
SootopolisCity_Gym_1F_EventScript_1A029B:: @ 81A029B
VerdanturfTown_ContestLobby_EventScript_1A029B:: @ 81A029B
- msgbox MauvilleCity_Text_1A0CC2, 4
+ msgbox MauvilleCity_Text_1A0CC2, MSGBOX_DEFAULT
release
end
@@ -2059,11 +2059,11 @@ MauvilleCity_GameCorner_EventScript_1A02A5:: @ 81A02A5
Route110_TrickHouseEnd_EventScript_1A02A5:: @ 81A02A5
Route110_TrickHouseEntrance_EventScript_1A02A5:: @ 81A02A5
Route113_GlassWorkshop_EventScript_1A02A5:: @ 81A02A5
- msgbox MauvilleCity_GameCorner_Text_1A0CC2, 4
+ msgbox MauvilleCity_GameCorner_Text_1A0CC2, MSGBOX_DEFAULT
return
Route114_LanettesHouse_EventScript_1A02AE:: @ 81A02AE
- msgbox Route114_LanettesHouse_Text_1A0CEF, 4
+ msgbox Route114_LanettesHouse_Text_1A0CEF, MSGBOX_DEFAULT
release
end
@@ -2072,7 +2072,7 @@ MauvilleCity_GameCorner_EventScript_1A02B8:: @ 81A02B8
Route110_TrickHouseEnd_EventScript_1A02B8:: @ 81A02B8
Route110_TrickHouseEntrance_EventScript_1A02B8:: @ 81A02B8
Route113_GlassWorkshop_EventScript_1A02B8:: @ 81A02B8
- msgbox MauvilleCity_GameCorner_Text_1A0CEF, 4
+ msgbox MauvilleCity_GameCorner_Text_1A0CEF, MSGBOX_DEFAULT
return
EverGrandeCity_EventScript_1A02C1:: @ 81A02C1
@@ -2117,7 +2117,7 @@ SSTidalRooms_EventScript_1A02CA:: @ 81A02CA
Event_WorldMap:: @ 81A02D6
lockall
- msgbox UnknownString_817303D, 4
+ msgbox UnknownString_817303D, MSGBOX_DEFAULT
fadescreen 1
special FieldShowRegionMap
waitstate
@@ -2195,7 +2195,7 @@ Route103_EventScript_1A037F:: @ 81A037F
end
Route101_EventScript_1A039B:: @ 81A039B
- msgbox Route101_Text_1C449B, 4
+ msgbox Route101_Text_1C449B, MSGBOX_DEFAULT
release
end
@@ -2215,7 +2215,7 @@ Route101_EventScript_1A03B0:: @ 81A03B0
copyvar VAR_0x800A, VAR_RESULT
buffernumberstring 0, VAR_0x8008
buffernumberstring 1, VAR_0x8009
- msgbox Route101_Text_1C44DC, 4
+ msgbox Route101_Text_1C44DC, MSGBOX_DEFAULT
call Route101_EventScript_1A03A5
compare VAR_0x800A, 0
goto_if_eq Route101_EventScript_1A14DC
@@ -2225,7 +2225,7 @@ Route101_EventScript_1A03B0:: @ 81A03B0
copyvar VAR_0x8009, VAR_0x8006
buffernumberstring 0, VAR_0x8008
buffernumberstring 1, VAR_0x8009
- msgbox Route101_Text_1C4B05, 4
+ msgbox Route101_Text_1C4B05, MSGBOX_DEFAULT
return
BattleTower_Outside_EventScript_1A040E:: @ 81A040E
@@ -2431,7 +2431,7 @@ Route120_EventScript_1A0594:: @ 81A0594
checkitem ITEM_DEVON_SCOPE, 1
compare VAR_RESULT, 1
goto_if_eq Route119_EventScript_1A05AE
- msgbox Route119_Text_171B93, 4
+ msgbox Route119_Text_171B93, MSGBOX_DEFAULT
release
end
@@ -2443,7 +2443,7 @@ Route119_EventScript_1A05AE:: @ 81A05AE
end
Route119_EventScript_1A05C3:: @ 81A05C3
- msgbox Route119_Text_171BF6, 4
+ msgbox Route119_Text_171BF6, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Route119_Movement_1A0839
waitmovement 0
@@ -2915,31 +2915,31 @@ Route110_TrickHouseEntrance_Movement_1A0856:: @ 81A0856
end_movement
PictureBookShelfScript:: @ 81A085B
- msgbox PictureBookShelfText, 3
+ msgbox PictureBookShelfText, MSGBOX_SIGN
end
BookshelfScript:: @ 81A0864
- msgbox BookshelfText, 3
+ msgbox BookshelfText, MSGBOX_SIGN
end
PokemonCenterBookshelfScript:: @ 81A086D
- msgbox PokemonCenterBookshelfText, 3
+ msgbox PokemonCenterBookshelfText, MSGBOX_SIGN
end
VaseScript:: @ 81A0876
- msgbox VaseText, 3
+ msgbox VaseText, MSGBOX_SIGN
end
TrashCanScript:: @ 81A087F
- msgbox TrashCanText, 3
+ msgbox TrashCanText, MSGBOX_SIGN
end
ShopShelfScript:: @ 81A0888
- msgbox ShopShelfText, 3
+ msgbox ShopShelfText, MSGBOX_SIGN
end
BlueprintScript:: @ 81A0891
- msgbox BlueprintText, 3
+ msgbox BlueprintText, MSGBOX_SIGN
end
SampleMessage1:: @ 81A089A
@@ -3255,7 +3255,7 @@ FallarborTown_House1_Text_1A1498:: @ 81A1498
.string "{STR_VAR_1}.$"
Event_NoRegisteredItem:: @ 81A14AF
- msgbox Text_NoRegisteredItem, 3
+ msgbox Text_NoRegisteredItem, MSGBOX_SIGN
end
gUnknown_081A14B8:: @ 81A14B8
@@ -3645,7 +3645,7 @@ EventScript_1A2CB0:
msgbox UnknownString_8198F34, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1A2F3A
- msgbox UsedCutRockSmashText, 4
+ msgbox UsedCutRockSmashText, MSGBOX_DEFAULT
closemessage
dofieldeffect FLDEFF_USE_SECRET_POWER_CAVE
waitstate
@@ -3660,11 +3660,11 @@ DoSecretBaseCaveFieldEffectScript:: @ 81A2CE6
end
EventScript_1A2CF1:
- msgbox UnknownString_8198F10, 3
+ msgbox UnknownString_8198F10, MSGBOX_SIGN
end
EventScript_1A2CFA:
- msgbox UnknownString_8198F6E, 4
+ msgbox UnknownString_8198F6E, MSGBOX_DEFAULT
goto EventScript_1A2DB8
end
@@ -3676,7 +3676,7 @@ EventScript_1A2D08:
msgbox UnknownString_81A197B, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1A2F3A
- msgbox UsedCutRockSmashText, 4
+ msgbox UsedCutRockSmashText, MSGBOX_DEFAULT
closemessage
dofieldeffect FLDEFF_USE_SECRET_POWER_TREE
waitstate
@@ -3691,11 +3691,11 @@ DoSecretBaseTreeFieldEffectScript:: @ 81A2D3E
end
EventScript_1A2D49:
- msgbox UnknownString_81A1948, 3
+ msgbox UnknownString_81A1948, MSGBOX_SIGN
end
EventScript_1A2D52:
- msgbox UnknownString_81A19C4, 4
+ msgbox UnknownString_81A19C4, MSGBOX_DEFAULT
goto EventScript_1A2DB8
end
@@ -3707,7 +3707,7 @@ EventScript_1A2D60:
msgbox UnknownString_81A1A4B, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1A2F3A
- msgbox UsedCutRockSmashText, 4
+ msgbox UsedCutRockSmashText, MSGBOX_DEFAULT
closemessage
dofieldeffect FLDEFF_USE_SECRET_POWER_SHRUB
waitstate
@@ -3722,11 +3722,11 @@ DoSecretBaseShrubFieldEffectScript:: @ 81A2D96
end
EventScript_1A2DA1:
- msgbox UnknownString_81A1A03, 3
+ msgbox UnknownString_81A1A03, MSGBOX_SIGN
end
EventScript_1A2DAA:
- msgbox UnknownString_81A1AA9, 4
+ msgbox UnknownString_81A1AA9, MSGBOX_DEFAULT
goto EventScript_1A2DB8
end
@@ -3811,7 +3811,7 @@ AskToMoveSecretBase:
goto_if_eq EventScript_1A2F3A
bufferpartymonnick 0, VAR_0x8004
buffermovename 1, MOVE_SECRET_POWER
- msgbox UsedCutRockSmashText, 4
+ msgbox UsedCutRockSmashText, MSGBOX_DEFAULT
closemessage
closemessage
compare VAR_0x8007, 1
@@ -3968,23 +3968,23 @@ SecretBase_RedCave1_EventScript_1A3032:: @ 81A3032
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A308F
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A1B83, 4
+ msgbox SecretBase_RedCave1_Text_1A1B83, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A3086:: @ 81A3086
- msgbox SecretBase_RedCave1_Text_1A1C3B, 2
+ msgbox SecretBase_RedCave1_Text_1A1C3B, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A308F:: @ 81A308F
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A1B97, 2
+ msgbox SecretBase_RedCave1_Text_1A1B97, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A30A5:: @ 81A30A5
- msgbox SecretBase_RedCave1_Text_1A1BF8, 2
+ msgbox SecretBase_RedCave1_Text_1A1BF8, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A30AE:: @ 81A30AE
@@ -4002,23 +4002,23 @@ SecretBase_RedCave1_EventScript_1A30AE:: @ 81A30AE
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A310B
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A1F04, 4
+ msgbox SecretBase_RedCave1_Text_1A1F04, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A3102:: @ 81A3102
- msgbox SecretBase_RedCave1_Text_1A1FBD, 2
+ msgbox SecretBase_RedCave1_Text_1A1FBD, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A310B:: @ 81A310B
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A1F2E, 2
+ msgbox SecretBase_RedCave1_Text_1A1F2E, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3121:: @ 81A3121
- msgbox SecretBase_RedCave1_Text_1A1F88, 2
+ msgbox SecretBase_RedCave1_Text_1A1F88, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A312A:: @ 81A312A
@@ -4036,23 +4036,23 @@ SecretBase_RedCave1_EventScript_1A312A:: @ 81A312A
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A3187
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2220, 4
+ msgbox SecretBase_RedCave1_Text_1A2220, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A317E:: @ 81A317E
- msgbox SecretBase_RedCave1_Text_1A22FA, 2
+ msgbox SecretBase_RedCave1_Text_1A22FA, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3187:: @ 81A3187
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2230, 2
+ msgbox SecretBase_RedCave1_Text_1A2230, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A319D:: @ 81A319D
- msgbox SecretBase_RedCave1_Text_1A2280, 2
+ msgbox SecretBase_RedCave1_Text_1A2280, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A31A6:: @ 81A31A6
@@ -4070,23 +4070,23 @@ SecretBase_RedCave1_EventScript_1A31A6:: @ 81A31A6
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A3203
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A256F, 4
+ msgbox SecretBase_RedCave1_Text_1A256F, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A31FA:: @ 81A31FA
- msgbox SecretBase_RedCave1_Text_1A2609, 2
+ msgbox SecretBase_RedCave1_Text_1A2609, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3203:: @ 81A3203
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A258A, 2
+ msgbox SecretBase_RedCave1_Text_1A258A, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3219:: @ 81A3219
- msgbox SecretBase_RedCave1_Text_1A25D2, 2
+ msgbox SecretBase_RedCave1_Text_1A25D2, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3222:: @ 81A3222
@@ -4104,23 +4104,23 @@ SecretBase_RedCave1_EventScript_1A3222:: @ 81A3222
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A327F
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A28D7, 4
+ msgbox SecretBase_RedCave1_Text_1A28D7, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A3276:: @ 81A3276
- msgbox SecretBase_RedCave1_Text_1A297C, 2
+ msgbox SecretBase_RedCave1_Text_1A297C, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A327F:: @ 81A327F
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A28F4, 2
+ msgbox SecretBase_RedCave1_Text_1A28F4, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3295:: @ 81A3295
- msgbox SecretBase_RedCave1_Text_1A294D, 2
+ msgbox SecretBase_RedCave1_Text_1A294D, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A329E:: @ 81A329E
@@ -4138,23 +4138,23 @@ SecretBase_RedCave1_EventScript_1A329E:: @ 81A329E
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A32FB
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A1D48, 4
+ msgbox SecretBase_RedCave1_Text_1A1D48, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A32F2:: @ 81A32F2
- msgbox SecretBase_RedCave1_Text_1A1DF6, 2
+ msgbox SecretBase_RedCave1_Text_1A1DF6, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A32FB:: @ 81A32FB
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A1D59, 2
+ msgbox SecretBase_RedCave1_Text_1A1D59, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3311:: @ 81A3311
- msgbox SecretBase_RedCave1_Text_1A1DC0, 2
+ msgbox SecretBase_RedCave1_Text_1A1DC0, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A331A:: @ 81A331A
@@ -4172,23 +4172,23 @@ SecretBase_RedCave1_EventScript_1A331A:: @ 81A331A
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A3377
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2095, 4
+ msgbox SecretBase_RedCave1_Text_1A2095, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A336E:: @ 81A336E
- msgbox SecretBase_RedCave1_Text_1A2147, 2
+ msgbox SecretBase_RedCave1_Text_1A2147, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3377:: @ 81A3377
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A20AE, 2
+ msgbox SecretBase_RedCave1_Text_1A20AE, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A338D:: @ 81A338D
- msgbox SecretBase_RedCave1_Text_1A2109, 2
+ msgbox SecretBase_RedCave1_Text_1A2109, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3396:: @ 81A3396
@@ -4206,23 +4206,23 @@ SecretBase_RedCave1_EventScript_1A3396:: @ 81A3396
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A33F3
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2405, 4
+ msgbox SecretBase_RedCave1_Text_1A2405, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A33EA:: @ 81A33EA
- msgbox SecretBase_RedCave1_Text_1A2480, 2
+ msgbox SecretBase_RedCave1_Text_1A2480, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A33F3:: @ 81A33F3
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2420, 2
+ msgbox SecretBase_RedCave1_Text_1A2420, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3409:: @ 81A3409
- msgbox SecretBase_RedCave1_Text_1A2446, 2
+ msgbox SecretBase_RedCave1_Text_1A2446, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3412:: @ 81A3412
@@ -4240,23 +4240,23 @@ SecretBase_RedCave1_EventScript_1A3412:: @ 81A3412
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A346F
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2710, 4
+ msgbox SecretBase_RedCave1_Text_1A2710, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A3466:: @ 81A3466
- msgbox SecretBase_RedCave1_Text_1A27A4, 2
+ msgbox SecretBase_RedCave1_Text_1A27A4, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A346F:: @ 81A346F
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2736, 2
+ msgbox SecretBase_RedCave1_Text_1A2736, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3485:: @ 81A3485
- msgbox SecretBase_RedCave1_Text_1A276A, 2
+ msgbox SecretBase_RedCave1_Text_1A276A, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A348E:: @ 81A348E
@@ -4274,23 +4274,23 @@ SecretBase_RedCave1_EventScript_1A348E:: @ 81A348E
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A34EB
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2AE2, 4
+ msgbox SecretBase_RedCave1_Text_1A2AE2, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A34E2:: @ 81A34E2
- msgbox SecretBase_RedCave1_Text_1A2BA4, 2
+ msgbox SecretBase_RedCave1_Text_1A2BA4, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A34EB:: @ 81A34EB
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2AFB, 2
+ msgbox SecretBase_RedCave1_Text_1A2AFB, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3501:: @ 81A3501
- msgbox SecretBase_RedCave1_Text_1A2B69, 2
+ msgbox SecretBase_RedCave1_Text_1A2B69, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A350A:: @ 81A350A
@@ -4414,7 +4414,7 @@ SlateportCity_PokemonFanClub_EventScript_1ADE4D:: @ 81ADE4D
end
SlateportCity_PokemonFanClub_EventScript_1ADE84:: @ 81ADE84
- msgbox SlateportCity_PokemonFanClub_Text_1A87CA, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A87CA, MSGBOX_DEFAULT
setvar VAR_0x8004, 5
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, 1
@@ -4428,18 +4428,18 @@ SlateportCity_PokemonFanClub_EventScript_1ADE84:: @ 81ADE84
end
SlateportCity_PokemonFanClub_EventScript_1ADEB9:: @ 81ADEB9
- msgbox SlateportCity_PokemonFanClub_Text_1A8667, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A8667, MSGBOX_DEFAULT
release
end
SlateportCity_PokemonFanClub_EventScript_1ADEC3:: @ 81ADEC3
- msgbox SlateportCity_PokemonFanClub_Text_1A8818, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A8818, MSGBOX_DEFAULT
setvar VAR_0x8005, 1
goto SlateportCity_PokemonFanClub_EventScript_1ADE46
end
SlateportCity_PokemonFanClub_EventScript_1ADED6:: @ 81ADED6
- msgbox SlateportCity_PokemonFanClub_Text_1A86B5, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A86B5, MSGBOX_DEFAULT
release
end
@@ -4469,7 +4469,7 @@ SlateportCity_OceanicMuseum_1F_EventScript_1ADF25:: @ 81ADF25
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF44:: @ 81ADF44
- msgbox SlateportCity_OceanicMuseum_1F_Text_1A93D1, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_1A93D1, MSGBOX_DEFAULT
setvar VAR_0x8004, 5
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, 0
@@ -4483,18 +4483,18 @@ SlateportCity_OceanicMuseum_1F_EventScript_1ADF44:: @ 81ADF44
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF79:: @ 81ADF79
- msgbox SlateportCity_OceanicMuseum_1F_Text_1A9446, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_1A9446, MSGBOX_DEFAULT
release
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF83:: @ 81ADF83
- msgbox SlateportCity_OceanicMuseum_1F_Text_1A949A, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_1A949A, MSGBOX_DEFAULT
setvar VAR_0x8005, 2
goto SlateportCity_OceanicMuseum_1F_EventScript_1ADE46
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF96:: @ 81ADF96
- msgbox SlateportCity_OceanicMuseum_1F_Text_1A952E, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_1A952E, MSGBOX_DEFAULT
release
end
@@ -4517,7 +4517,7 @@ SlateportCity_PokemonFanClub_EventScript_1ADFA0:: @ 81ADFA0
end
SlateportCity_PokemonFanClub_EventScript_1ADFE9:: @ 81ADFE9
- msgbox SlateportCity_PokemonFanClub_Text_1A83D0, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A83D0, MSGBOX_DEFAULT
random 3
copyvar VAR_0x800A, VAR_RESULT
switch VAR_RESULT
@@ -4527,17 +4527,17 @@ SlateportCity_PokemonFanClub_EventScript_1ADFE9:: @ 81ADFE9
end
SlateportCity_PokemonFanClub_EventScript_1AE020:: @ 81AE020
- msgbox SlateportCity_PokemonFanClub_Text_1A8414, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A8414, MSGBOX_DEFAULT
goto SlateportCity_PokemonFanClub_EventScript_1AE04A
end
SlateportCity_PokemonFanClub_EventScript_1AE02E:: @ 81AE02E
- msgbox SlateportCity_PokemonFanClub_Text_1A8470, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A8470, MSGBOX_DEFAULT
goto SlateportCity_PokemonFanClub_EventScript_1AE04A
end
SlateportCity_PokemonFanClub_EventScript_1AE03C:: @ 81AE03C
- msgbox SlateportCity_PokemonFanClub_Text_1A84D5, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A84D5, MSGBOX_DEFAULT
goto SlateportCity_PokemonFanClub_EventScript_1AE04A
end
@@ -4550,26 +4550,26 @@ SlateportCity_PokemonFanClub_EventScript_1AE04A:: @ 81AE04A
faceplayer
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1AE0A2
- msgbox SlateportCity_PokemonFanClub_Text_1A852D, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A852D, MSGBOX_DEFAULT
setvar VAR_0x8006, 1
call SlateportCity_PokemonFanClub_EventScript_1A00F3
lock
faceplayer
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1AE0A2
- msgbox SlateportCity_PokemonFanClub_Text_1A85A6, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A85A6, MSGBOX_DEFAULT
copyvar VAR_0x8007, VAR_0x800A
setvar VAR_0x8005, 3
goto SlateportCity_PokemonFanClub_EventScript_1ADE46
end
SlateportCity_PokemonFanClub_EventScript_1AE0A2:: @ 81AE0A2
- msgbox SlateportCity_PokemonFanClub_Text_1A8667, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A8667, MSGBOX_DEFAULT
release
end
SlateportCity_PokemonFanClub_EventScript_1AE0AC:: @ 81AE0AC
- msgbox SlateportCity_PokemonFanClub_Text_1A86B5, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A86B5, MSGBOX_DEFAULT
release
end
@@ -4593,7 +4593,7 @@ VerdanturfTown_ContestLobby_EventScript_1AE0B6:: @ 81AE0B6
end
FallarborTown_ContestLobby_EventScript_1AE0F8:: @ 81AE0F8
- msgbox FallarborTown_ContestLobby_Text_1A704E, 4
+ msgbox FallarborTown_ContestLobby_Text_1A704E, MSGBOX_DEFAULT
setvar VAR_0x8004, 11
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, 0
@@ -4607,14 +4607,14 @@ FallarborTown_ContestLobby_EventScript_1AE0F8:: @ 81AE0F8
end
FallarborTown_ContestLobby_EventScript_1AE12D:: @ 81AE12D
- msgbox FallarborTown_ContestLobby_Text_1A7256, 4
+ msgbox FallarborTown_ContestLobby_Text_1A7256, MSGBOX_DEFAULT
release
end
FallarborTown_ContestLobby_EventScript_1AE137:: @ 81AE137
setvar VAR_0x8004, 24
special SetContestCategoryStringVarForInterview
- msgbox FallarborTown_ContestLobby_Text_1A70A5, 4
+ msgbox FallarborTown_ContestLobby_Text_1A70A5, MSGBOX_DEFAULT
setvar VAR_0x8004, 11
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, 1
@@ -4623,14 +4623,14 @@ FallarborTown_ContestLobby_EventScript_1AE137:: @ 81AE137
faceplayer
compare VAR_RESULT, 0
goto_if_eq FallarborTown_ContestLobby_EventScript_1AE12D
- msgbox FallarborTown_ContestLobby_Text_1A7153, 4
+ msgbox FallarborTown_ContestLobby_Text_1A7153, MSGBOX_DEFAULT
setflag FLAG_TEMP_2
setvar VAR_0x8005, 6
goto FallarborTown_ContestLobby_EventScript_1ADE46
end
FallarborTown_ContestLobby_EventScript_1AE17E:: @ 81AE17E
- msgbox FallarborTown_ContestLobby_Text_1A72A8, 4
+ msgbox FallarborTown_ContestLobby_Text_1A72A8, MSGBOX_DEFAULT
release
end
@@ -4697,7 +4697,7 @@ BattleTower_Lobby_EventScript_1AE241:: @ 81AE241
call_if_eq BattleTower_Lobby_EventScript_1AE2A1
compare VAR_RESULT, 1
call_if_eq BattleTower_Lobby_EventScript_1AE2AA
- msgbox BattleTower_Lobby_Text_1A79EB, 4
+ msgbox BattleTower_Lobby_Text_1A79EB, MSGBOX_DEFAULT
setvar VAR_0x8004, 12
copyvar VAR_0x8005, VAR_0x8009
call BattleTower_Lobby_EventScript_1A00F3
@@ -4710,22 +4710,22 @@ BattleTower_Lobby_EventScript_1AE241:: @ 81AE241
end
BattleTower_Lobby_EventScript_1AE297:: @ 81AE297
- msgbox BattleTower_Lobby_Text_1A78B7, 4
+ msgbox BattleTower_Lobby_Text_1A78B7, MSGBOX_DEFAULT
release
end
BattleTower_Lobby_EventScript_1AE2A1:: @ 81AE2A1
- msgbox BattleTower_Lobby_Text_1A791B, 4
+ msgbox BattleTower_Lobby_Text_1A791B, MSGBOX_DEFAULT
return
BattleTower_Lobby_EventScript_1AE2AA:: @ 81AE2AA
- msgbox BattleTower_Lobby_Text_1A7990, 4
+ msgbox BattleTower_Lobby_Text_1A7990, MSGBOX_DEFAULT
return
BattleTower_Lobby_EventScript_1AE2B3:: @ 81AE2B3
compare VAR_RESULT, 0
goto_if_eq BattleTower_Lobby_EventScript_1AE2D9
- msgbox BattleTower_Lobby_Text_1A7A6E, 4
+ msgbox BattleTower_Lobby_Text_1A7A6E, MSGBOX_DEFAULT
setflag FLAG_TEMP_2
copyvar VAR_0x8004, VAR_0x8008
setvar VAR_0x8005, 7
@@ -4733,12 +4733,12 @@ BattleTower_Lobby_EventScript_1AE2B3:: @ 81AE2B3
end
BattleTower_Lobby_EventScript_1AE2D9:: @ 81AE2D9
- msgbox BattleTower_Lobby_Text_1A7AE0, 4
+ msgbox BattleTower_Lobby_Text_1A7AE0, MSGBOX_DEFAULT
release
end
BattleTower_Lobby_EventScript_1AE2E3:: @ 81AE2E3
- msgbox BattleTower_Lobby_Text_1A7B66, 4
+ msgbox BattleTower_Lobby_Text_1A7B66, MSGBOX_DEFAULT
release
end
@@ -4789,7 +4789,7 @@ gUnknown_081B694A:: @ 81B694A
.include "data/scripts/players_house.inc"
S_RunningShoesManual:: @ 81B6E5A
- msgbox UnknownString_81728E3, 3
+ msgbox UnknownString_81728E3, MSGBOX_SIGN
end
.include "data/text/pokeblocks.inc"
@@ -4798,7 +4798,7 @@ S_RunningShoesManual:: @ 81B6E5A
.include "data/text/trainers.inc"
S_RepelWoreOff:: @ 81C33E6
- msgbox Text_RepelWoreOff, 3
+ msgbox Text_RepelWoreOff, MSGBOX_SIGN
end
Text_RepelWoreOff: @ 81C33EF
@@ -4914,18 +4914,18 @@ GraniteCave_B1F_Movement_1C6BF7:: @ 81C6BF7
end_movement
@ 81C6BF9
- msgbox Text_1C6C2B, 2
+ msgbox Text_1C6C2B, MSGBOX_NPC
end
gUnknown_081C6C02:: @ 81C6C02
- msgbox Text_1C6C4B, 3
+ msgbox Text_1C6C4B, MSGBOX_SIGN
end
@ 81C6C0B
end
@ 81C6C0C
- msgbox Text_1C6C62, 3
+ msgbox Text_1C6C62, MSGBOX_SIGN
end
@ 81C6C15
diff --git a/data-de/field_move_scripts.inc b/data-de/field_move_scripts.inc
index 24d77e6f8..7efd06e84 100644
--- a/data-de/field_move_scripts.inc
+++ b/data-de/field_move_scripts.inc
@@ -10,7 +10,7 @@ S_CuttableTree:: @ 81B0DCC
msgbox UseCutPromptText, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq Cut_ChoseNo
- msgbox UsedCutRockSmashText, 4
+ msgbox UsedCutRockSmashText, MSGBOX_DEFAULT
closemessage
dofieldeffect FLDEFF_USE_CUT_ON_TREE
waitstate
@@ -36,7 +36,7 @@ TreeCutMovement: @ 81B0E30
end_movement
CannotUseCut: @ 81B0E32
- msgbox CannotUseCutText, 3
+ msgbox CannotUseCutText, MSGBOX_SIGN
releaseall
end
@@ -70,7 +70,7 @@ S_BreakableRock:: @ 81B0EB7
msgbox UseRockSmashPromptText, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq RockSmash_ChoseNo
- msgbox UsedCutRockSmashText, 4
+ msgbox UsedCutRockSmashText, MSGBOX_DEFAULT
closemessage
dofieldeffect FLDEFF_USE_ROCK_SMASH
waitstate
@@ -107,7 +107,7 @@ RockSmashMovement: @ 81B0F3C
end_movement
CannotUseRockSmash: @ 81B0F3E
- msgbox CannotUseRockSmashText, 3
+ msgbox CannotUseRockSmashText, MSGBOX_SIGN
releaseall
end
@@ -150,17 +150,17 @@ S_UseStrength:: @ 81B100E
UsedStrength: @ 81B1019
setflag FLAG_SYS_USE_STRENGTH
- msgbox UsedStrengthText, 3
+ msgbox UsedStrengthText, MSGBOX_SIGN
releaseall
end
CannotUseStrength: @ 81B1026
- msgbox CannotUseStrengthText, 3
+ msgbox CannotUseStrengthText, MSGBOX_SIGN
releaseall
end
AlreadyUsedStrength: @ 81B1030
- msgbox AlreadyUsedStrengthText, 3
+ msgbox AlreadyUsedStrengthText, MSGBOX_SIGN
releaseall
end
@@ -197,14 +197,14 @@ S_UseWaterfall:: @ 81B115A
msgbox UseWaterfallPromptText, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq Waterfall_Done
- msgbox UsedWaterfallText, 4
+ msgbox UsedWaterfallText, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_WATERFALL
goto Waterfall_Done
S_CannotUseWaterfall:: @ 81B1194
lockall
Waterfall_NoMonKnows: @ 81B1195
- msgbox CannotUseWaterfallText, 4
+ msgbox CannotUseWaterfallText, MSGBOX_DEFAULT
Waterfall_Done: @ 81B119D
releaseall
end
@@ -231,13 +231,13 @@ UseDiveScript:: @ 81B1220
msgbox UseDivePromptText, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq Dive_Done
- msgbox UsedDiveText, 4
+ msgbox UsedDiveText, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_DIVE
goto Dive_Done
lockall
CannotUseDive: @ 81B125F
- msgbox CannotUseDiveText, 4
+ msgbox CannotUseDiveText, MSGBOX_DEFAULT
Dive_Done: @ 81B1267
releaseall
@@ -254,19 +254,19 @@ S_UseDiveUnderwater:: @ 81B1269
msgbox UnderwaterUseDivePromptText, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq UnderwaterDive_Done
- msgbox UsedDiveText, 4
+ msgbox UsedDiveText, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_DIVE
goto UnderwaterDive_Done
UnderwaterCannotUseDive: @ 81B12A7
lockall
- msgbox UnderwaterCannotUseDiveText, 4
+ msgbox UnderwaterCannotUseDiveText, MSGBOX_DEFAULT
goto UnderwaterDive_Done
@ not used
SurfacingBlocked: @ 81B12B5
lockall
- msgbox SurfacingBlockedText, 4
+ msgbox SurfacingBlockedText, MSGBOX_DEFAULT
UnderwaterDive_Done: @ 81B12BE
releaseall
@@ -297,7 +297,7 @@ SurfacingBlockedText: @ 81B13CE
.string "eingesetzt werden.$"
SweetScentNothingHereScript:: @ 81B140C
- msgbox SweetScentNothingHereText, 3
+ msgbox SweetScentNothingHereText, MSGBOX_SIGN
end
SweetScentNothingHereText: @ 81B1415
diff --git a/data/event_scripts.s b/data/event_scripts.s
index 361173f75..b9e89cc05 100644
--- a/data/event_scripts.s
+++ b/data/event_scripts.s
@@ -498,7 +498,7 @@ EventScript_15F4A1:
msgbox UnknownString_81A3958, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_15F452
- msgbox UnknownString_81A3A22, 3
+ msgbox UnknownString_81A3A22, MSGBOX_SIGN
special sub_80BC5BC
special DoSecretBasePCTurnOffEffect
releaseall
@@ -508,14 +508,14 @@ EventScript_15F4E0:
msgbox UnknownString_81A3982, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_15F452
- msgbox UnknownString_81A3A3A, 3
+ msgbox UnknownString_81A3A3A, MSGBOX_SIGN
special sub_80BC5BC
special DoSecretBasePCTurnOffEffect
releaseall
end
EventScript_15F503:
- msgbox UnknownString_81A39C0, 3
+ msgbox UnknownString_81A39C0, MSGBOX_SIGN
special DoSecretBasePCTurnOffEffect
closemessage
releaseall
@@ -551,19 +551,19 @@ gUnknown_0815F528:: @ 815F528
end
EventScript_15F558:
- msgbox UnknownString_81A3B5B, 3
+ msgbox UnknownString_81A3B5B, MSGBOX_SIGN
end
EventScript_15F561:
- msgbox UnknownString_81A3BA4, 3
+ msgbox UnknownString_81A3BA4, MSGBOX_SIGN
end
EventScript_15F56A:
- msgbox UnknownString_81A3BE8, 3
+ msgbox UnknownString_81A3BE8, MSGBOX_SIGN
end
EventScript_15F573:
- msgbox UnknownString_81A3C31, 3
+ msgbox UnknownString_81A3C31, MSGBOX_SIGN
end
.include "data/maps/SingleBattleColosseum/scripts.inc"
@@ -1678,7 +1678,7 @@ gUnknown_081A0009:: @ 81A0009
setvar VAR_0x8004, 0
special DoPCTurnOnEffect
playse SE_PC_ON
- msgbox UnknownString_81A09EC, 4
+ msgbox UnknownString_81A09EC, MSGBOX_DEFAULT
goto EventScript_1A0023
end
@@ -1701,7 +1701,7 @@ EventScript_1A0033:
EventScript_1A0070:
playse SE_PC_LOGON
- msgbox UnknownString_81A0A54, 4
+ msgbox UnknownString_81A0A54, MSGBOX_DEFAULT
special PlayerPC
waitstate
goto EventScript_1A0023
@@ -1711,18 +1711,18 @@ EventScript_1A0085:
playse SE_PC_LOGON
call_if_unset FLAG_SYS_PC_LANETTE, EventScript_1A00AC
call_if_set FLAG_SYS_PC_LANETTE, EventScript_1A00B5
- msgbox UnknownString_81A0A35, 4
+ msgbox UnknownString_81A0A35, MSGBOX_DEFAULT
special ShowPokemonStorageSystem
waitstate
goto EventScript_1A0023
end
EventScript_1A00AC:
- msgbox UnknownString_81A0A1E, 4
+ msgbox UnknownString_81A0A1E, MSGBOX_DEFAULT
return
EventScript_1A00B5:
- msgbox UnknownString_81A0A66, 4
+ msgbox UnknownString_81A0A66, MSGBOX_DEFAULT
return
EventScript_1A00BE:
@@ -1751,7 +1751,7 @@ RustboroCity_EventScript_1A00E1:: @ 81A00E1
SlateportCity_EventScript_1A00E1:: @ 81A00E1
SootopolisCity_EventScript_1A00E1:: @ 81A00E1
VerdanturfTown_EventScript_1A00E1:: @ 81A00E1
- msgbox PetalburgCity_Text_1A0D41, 3
+ msgbox PetalburgCity_Text_1A0D41, MSGBOX_SIGN
end
DewfordTown_EventScript_1A00EA:: @ 81A00EA
@@ -1769,7 +1769,7 @@ RustboroCity_EventScript_1A00EA:: @ 81A00EA
SlateportCity_EventScript_1A00EA:: @ 81A00EA
SootopolisCity_EventScript_1A00EA:: @ 81A00EA
VerdanturfTown_EventScript_1A00EA:: @ 81A00EA
- msgbox PetalburgCity_Text_1A0D75, 3
+ msgbox PetalburgCity_Text_1A0D75, MSGBOX_SIGN
end
BattleTower_Lobby_EventScript_1A00F3:: @ 81A00F3
@@ -1818,7 +1818,7 @@ UseSurfScript:: @ 81A0117
msgbox UseSurfPromptText, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq UseSurfScript_No
- msgbox UsedSurfText, 4
+ msgbox UsedSurfText, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_SURF
UseSurfScript_No: @ 81A014C
releaseall
@@ -2045,7 +2045,7 @@ SlateportCity_PokemonFanClub_EventScript_1A029B:: @ 81A029B
SootopolisCity_EventScript_1A029B:: @ 81A029B
SootopolisCity_Gym_1F_EventScript_1A029B:: @ 81A029B
VerdanturfTown_ContestLobby_EventScript_1A029B:: @ 81A029B
- msgbox MauvilleCity_Text_1A0CC2, 4
+ msgbox MauvilleCity_Text_1A0CC2, MSGBOX_DEFAULT
release
end
@@ -2053,11 +2053,11 @@ MauvilleCity_GameCorner_EventScript_1A02A5:: @ 81A02A5
Route110_TrickHouseEnd_EventScript_1A02A5:: @ 81A02A5
Route110_TrickHouseEntrance_EventScript_1A02A5:: @ 81A02A5
Route113_GlassWorkshop_EventScript_1A02A5:: @ 81A02A5
- msgbox MauvilleCity_GameCorner_Text_1A0CC2, 4
+ msgbox MauvilleCity_GameCorner_Text_1A0CC2, MSGBOX_DEFAULT
return
Route114_LanettesHouse_EventScript_1A02AE:: @ 81A02AE
- msgbox Route114_LanettesHouse_Text_1A0CEF, 4
+ msgbox Route114_LanettesHouse_Text_1A0CEF, MSGBOX_DEFAULT
release
end
@@ -2066,7 +2066,7 @@ MauvilleCity_GameCorner_EventScript_1A02B8:: @ 81A02B8
Route110_TrickHouseEnd_EventScript_1A02B8:: @ 81A02B8
Route110_TrickHouseEntrance_EventScript_1A02B8:: @ 81A02B8
Route113_GlassWorkshop_EventScript_1A02B8:: @ 81A02B8
- msgbox MauvilleCity_GameCorner_Text_1A0CEF, 4
+ msgbox MauvilleCity_GameCorner_Text_1A0CEF, MSGBOX_DEFAULT
return
EverGrandeCity_EventScript_1A02C1:: @ 81A02C1
@@ -2111,7 +2111,7 @@ SSTidalRooms_EventScript_1A02CA:: @ 81A02CA
Event_WorldMap:: @ 81A02D6
lockall
- msgbox UnknownString_817303D, 4
+ msgbox UnknownString_817303D, MSGBOX_DEFAULT
fadescreen 1
special FieldShowRegionMap
waitstate
@@ -2189,7 +2189,7 @@ Route103_EventScript_1A037F:: @ 81A037F
end
Route101_EventScript_1A039B:: @ 81A039B
- msgbox Route101_Text_1C449B, 4
+ msgbox Route101_Text_1C449B, MSGBOX_DEFAULT
release
end
@@ -2209,7 +2209,7 @@ Route101_EventScript_1A03B0:: @ 81A03B0
copyvar VAR_0x800A, VAR_RESULT
buffernumberstring 0, VAR_0x8008
buffernumberstring 1, VAR_0x8009
- msgbox Route101_Text_1C44DC, 4
+ msgbox Route101_Text_1C44DC, MSGBOX_DEFAULT
call Route101_EventScript_1A03A5
compare VAR_0x800A, 0
goto_if_eq Route101_EventScript_1A14DC
@@ -2219,7 +2219,7 @@ Route101_EventScript_1A03B0:: @ 81A03B0
copyvar VAR_0x8009, VAR_0x8006
buffernumberstring 0, VAR_0x8008
buffernumberstring 1, VAR_0x8009
- msgbox Route101_Text_1C4B05, 4
+ msgbox Route101_Text_1C4B05, MSGBOX_DEFAULT
return
BattleTower_Outside_EventScript_1A040E:: @ 81A040E
@@ -2425,7 +2425,7 @@ Route120_EventScript_1A0594:: @ 81A0594
checkitem ITEM_DEVON_SCOPE, 1
compare VAR_RESULT, 1
goto_if_eq Route119_EventScript_1A05AE
- msgbox Route119_Text_171B93, 4
+ msgbox Route119_Text_171B93, MSGBOX_DEFAULT
release
end
@@ -2437,7 +2437,7 @@ Route119_EventScript_1A05AE:: @ 81A05AE
end
Route119_EventScript_1A05C3:: @ 81A05C3
- msgbox Route119_Text_171BF6, 4
+ msgbox Route119_Text_171BF6, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Route119_Movement_1A0839
waitmovement 0
@@ -2909,31 +2909,31 @@ Route110_TrickHouseEntrance_Movement_1A0856:: @ 81A0856
end_movement
PictureBookShelfScript:: @ 81A085B
- msgbox PictureBookShelfText, 3
+ msgbox PictureBookShelfText, MSGBOX_SIGN
end
BookshelfScript:: @ 81A0864
- msgbox BookshelfText, 3
+ msgbox BookshelfText, MSGBOX_SIGN
end
PokemonCenterBookshelfScript:: @ 81A086D
- msgbox PokemonCenterBookshelfText, 3
+ msgbox PokemonCenterBookshelfText, MSGBOX_SIGN
end
VaseScript:: @ 81A0876
- msgbox VaseText, 3
+ msgbox VaseText, MSGBOX_SIGN
end
TrashCanScript:: @ 81A087F
- msgbox TrashCanText, 3
+ msgbox TrashCanText, MSGBOX_SIGN
end
ShopShelfScript:: @ 81A0888
- msgbox ShopShelfText, 3
+ msgbox ShopShelfText, MSGBOX_SIGN
end
BlueprintScript:: @ 81A0891
- msgbox BlueprintText, 3
+ msgbox BlueprintText, MSGBOX_SIGN
end
SampleMessage1:: @ 81A089A
@@ -3245,7 +3245,7 @@ FallarborTown_House1_Text_1A1498:: @ 81A1498
.string "{STR_VAR_1}.$"
Event_NoRegisteredItem:: @ 81A14AF
- msgbox Text_NoRegisteredItem, 3
+ msgbox Text_NoRegisteredItem, MSGBOX_SIGN
end
gUnknown_081A14B8:: @ 81A14B8
@@ -3624,7 +3624,7 @@ EventScript_1A2CB0:
msgbox UnknownString_8198F34, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1A2F3A
- msgbox UsedCutRockSmashText, 4
+ msgbox UsedCutRockSmashText, MSGBOX_DEFAULT
closemessage
dofieldeffect FLDEFF_USE_SECRET_POWER_CAVE
waitstate
@@ -3639,11 +3639,11 @@ DoSecretBaseCaveFieldEffectScript:: @ 81A2CE6
end
EventScript_1A2CF1:
- msgbox UnknownString_8198F10, 3
+ msgbox UnknownString_8198F10, MSGBOX_SIGN
end
EventScript_1A2CFA:
- msgbox UnknownString_8198F6E, 4
+ msgbox UnknownString_8198F6E, MSGBOX_DEFAULT
goto EventScript_1A2DB8
end
@@ -3655,7 +3655,7 @@ EventScript_1A2D08:
msgbox UnknownString_81A197B, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1A2F3A
- msgbox UsedCutRockSmashText, 4
+ msgbox UsedCutRockSmashText, MSGBOX_DEFAULT
closemessage
dofieldeffect FLDEFF_USE_SECRET_POWER_TREE
waitstate
@@ -3670,11 +3670,11 @@ DoSecretBaseTreeFieldEffectScript:: @ 81A2D3E
end
EventScript_1A2D49:
- msgbox UnknownString_81A1948, 3
+ msgbox UnknownString_81A1948, MSGBOX_SIGN
end
EventScript_1A2D52:
- msgbox UnknownString_81A19C4, 4
+ msgbox UnknownString_81A19C4, MSGBOX_DEFAULT
goto EventScript_1A2DB8
end
@@ -3686,7 +3686,7 @@ EventScript_1A2D60:
msgbox UnknownString_81A1A4B, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1A2F3A
- msgbox UsedCutRockSmashText, 4
+ msgbox UsedCutRockSmashText, MSGBOX_DEFAULT
closemessage
dofieldeffect FLDEFF_USE_SECRET_POWER_SHRUB
waitstate
@@ -3701,11 +3701,11 @@ DoSecretBaseShrubFieldEffectScript:: @ 81A2D96
end
EventScript_1A2DA1:
- msgbox UnknownString_81A1A03, 3
+ msgbox UnknownString_81A1A03, MSGBOX_SIGN
end
EventScript_1A2DAA:
- msgbox UnknownString_81A1AA9, 4
+ msgbox UnknownString_81A1AA9, MSGBOX_DEFAULT
goto EventScript_1A2DB8
end
@@ -3790,7 +3790,7 @@ AskToMoveSecretBase:
goto_if_eq EventScript_1A2F3A
bufferpartymonnick 0, VAR_0x8004
buffermovename 1, MOVE_SECRET_POWER
- msgbox UsedCutRockSmashText, 4
+ msgbox UsedCutRockSmashText, MSGBOX_DEFAULT
closemessage
closemessage
compare VAR_0x8007, 1
@@ -3947,23 +3947,23 @@ SecretBase_RedCave1_EventScript_1A3032:: @ 81A3032
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A308F
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A1B83, 4
+ msgbox SecretBase_RedCave1_Text_1A1B83, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A3086:: @ 81A3086
- msgbox SecretBase_RedCave1_Text_1A1C3B, 2
+ msgbox SecretBase_RedCave1_Text_1A1C3B, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A308F:: @ 81A308F
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A1B97, 2
+ msgbox SecretBase_RedCave1_Text_1A1B97, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A30A5:: @ 81A30A5
- msgbox SecretBase_RedCave1_Text_1A1BF8, 2
+ msgbox SecretBase_RedCave1_Text_1A1BF8, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A30AE:: @ 81A30AE
@@ -3981,23 +3981,23 @@ SecretBase_RedCave1_EventScript_1A30AE:: @ 81A30AE
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A310B
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A1F04, 4
+ msgbox SecretBase_RedCave1_Text_1A1F04, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A3102:: @ 81A3102
- msgbox SecretBase_RedCave1_Text_1A1FBD, 2
+ msgbox SecretBase_RedCave1_Text_1A1FBD, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A310B:: @ 81A310B
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A1F2E, 2
+ msgbox SecretBase_RedCave1_Text_1A1F2E, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3121:: @ 81A3121
- msgbox SecretBase_RedCave1_Text_1A1F88, 2
+ msgbox SecretBase_RedCave1_Text_1A1F88, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A312A:: @ 81A312A
@@ -4015,23 +4015,23 @@ SecretBase_RedCave1_EventScript_1A312A:: @ 81A312A
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A3187
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2220, 4
+ msgbox SecretBase_RedCave1_Text_1A2220, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A317E:: @ 81A317E
- msgbox SecretBase_RedCave1_Text_1A22FA, 2
+ msgbox SecretBase_RedCave1_Text_1A22FA, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3187:: @ 81A3187
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2230, 2
+ msgbox SecretBase_RedCave1_Text_1A2230, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A319D:: @ 81A319D
- msgbox SecretBase_RedCave1_Text_1A2280, 2
+ msgbox SecretBase_RedCave1_Text_1A2280, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A31A6:: @ 81A31A6
@@ -4049,23 +4049,23 @@ SecretBase_RedCave1_EventScript_1A31A6:: @ 81A31A6
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A3203
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A256F, 4
+ msgbox SecretBase_RedCave1_Text_1A256F, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A31FA:: @ 81A31FA
- msgbox SecretBase_RedCave1_Text_1A2609, 2
+ msgbox SecretBase_RedCave1_Text_1A2609, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3203:: @ 81A3203
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A258A, 2
+ msgbox SecretBase_RedCave1_Text_1A258A, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3219:: @ 81A3219
- msgbox SecretBase_RedCave1_Text_1A25D2, 2
+ msgbox SecretBase_RedCave1_Text_1A25D2, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3222:: @ 81A3222
@@ -4083,23 +4083,23 @@ SecretBase_RedCave1_EventScript_1A3222:: @ 81A3222
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A327F
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A28D7, 4
+ msgbox SecretBase_RedCave1_Text_1A28D7, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A3276:: @ 81A3276
- msgbox SecretBase_RedCave1_Text_1A297C, 2
+ msgbox SecretBase_RedCave1_Text_1A297C, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A327F:: @ 81A327F
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A28F4, 2
+ msgbox SecretBase_RedCave1_Text_1A28F4, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3295:: @ 81A3295
- msgbox SecretBase_RedCave1_Text_1A294D, 2
+ msgbox SecretBase_RedCave1_Text_1A294D, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A329E:: @ 81A329E
@@ -4117,23 +4117,23 @@ SecretBase_RedCave1_EventScript_1A329E:: @ 81A329E
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A32FB
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A1D48, 4
+ msgbox SecretBase_RedCave1_Text_1A1D48, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A32F2:: @ 81A32F2
- msgbox SecretBase_RedCave1_Text_1A1DF6, 2
+ msgbox SecretBase_RedCave1_Text_1A1DF6, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A32FB:: @ 81A32FB
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A1D59, 2
+ msgbox SecretBase_RedCave1_Text_1A1D59, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3311:: @ 81A3311
- msgbox SecretBase_RedCave1_Text_1A1DC0, 2
+ msgbox SecretBase_RedCave1_Text_1A1DC0, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A331A:: @ 81A331A
@@ -4151,23 +4151,23 @@ SecretBase_RedCave1_EventScript_1A331A:: @ 81A331A
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A3377
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2095, 4
+ msgbox SecretBase_RedCave1_Text_1A2095, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A336E:: @ 81A336E
- msgbox SecretBase_RedCave1_Text_1A2147, 2
+ msgbox SecretBase_RedCave1_Text_1A2147, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3377:: @ 81A3377
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A20AE, 2
+ msgbox SecretBase_RedCave1_Text_1A20AE, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A338D:: @ 81A338D
- msgbox SecretBase_RedCave1_Text_1A2109, 2
+ msgbox SecretBase_RedCave1_Text_1A2109, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3396:: @ 81A3396
@@ -4185,23 +4185,23 @@ SecretBase_RedCave1_EventScript_1A3396:: @ 81A3396
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A33F3
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2405, 4
+ msgbox SecretBase_RedCave1_Text_1A2405, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A33EA:: @ 81A33EA
- msgbox SecretBase_RedCave1_Text_1A2480, 2
+ msgbox SecretBase_RedCave1_Text_1A2480, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A33F3:: @ 81A33F3
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2420, 2
+ msgbox SecretBase_RedCave1_Text_1A2420, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3409:: @ 81A3409
- msgbox SecretBase_RedCave1_Text_1A2446, 2
+ msgbox SecretBase_RedCave1_Text_1A2446, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3412:: @ 81A3412
@@ -4219,23 +4219,23 @@ SecretBase_RedCave1_EventScript_1A3412:: @ 81A3412
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A346F
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2710, 4
+ msgbox SecretBase_RedCave1_Text_1A2710, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A3466:: @ 81A3466
- msgbox SecretBase_RedCave1_Text_1A27A4, 2
+ msgbox SecretBase_RedCave1_Text_1A27A4, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A346F:: @ 81A346F
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2736, 2
+ msgbox SecretBase_RedCave1_Text_1A2736, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3485:: @ 81A3485
- msgbox SecretBase_RedCave1_Text_1A276A, 2
+ msgbox SecretBase_RedCave1_Text_1A276A, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A348E:: @ 81A348E
@@ -4253,23 +4253,23 @@ SecretBase_RedCave1_EventScript_1A348E:: @ 81A348E
compare VAR_RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A34EB
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2AE2, 4
+ msgbox SecretBase_RedCave1_Text_1A2AE2, MSGBOX_DEFAULT
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A34E2:: @ 81A34E2
- msgbox SecretBase_RedCave1_Text_1A2BA4, 2
+ msgbox SecretBase_RedCave1_Text_1A2BA4, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A34EB:: @ 81A34EB
setvar VAR_RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
- msgbox SecretBase_RedCave1_Text_1A2AFB, 2
+ msgbox SecretBase_RedCave1_Text_1A2AFB, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A3501:: @ 81A3501
- msgbox SecretBase_RedCave1_Text_1A2B69, 2
+ msgbox SecretBase_RedCave1_Text_1A2B69, MSGBOX_NPC
end
SecretBase_RedCave1_EventScript_1A350A:: @ 81A350A
@@ -4382,7 +4382,7 @@ SlateportCity_PokemonFanClub_EventScript_1ADE4D:: @ 81ADE4D
end
SlateportCity_PokemonFanClub_EventScript_1ADE84:: @ 81ADE84
- msgbox SlateportCity_PokemonFanClub_Text_1A87CA, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A87CA, MSGBOX_DEFAULT
setvar VAR_0x8004, 5
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, 1
@@ -4396,18 +4396,18 @@ SlateportCity_PokemonFanClub_EventScript_1ADE84:: @ 81ADE84
end
SlateportCity_PokemonFanClub_EventScript_1ADEB9:: @ 81ADEB9
- msgbox SlateportCity_PokemonFanClub_Text_1A8667, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A8667, MSGBOX_DEFAULT
release
end
SlateportCity_PokemonFanClub_EventScript_1ADEC3:: @ 81ADEC3
- msgbox SlateportCity_PokemonFanClub_Text_1A8818, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A8818, MSGBOX_DEFAULT
setvar VAR_0x8005, 1
goto SlateportCity_PokemonFanClub_EventScript_1ADE46
end
SlateportCity_PokemonFanClub_EventScript_1ADED6:: @ 81ADED6
- msgbox SlateportCity_PokemonFanClub_Text_1A86B5, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A86B5, MSGBOX_DEFAULT
release
end
@@ -4437,7 +4437,7 @@ SlateportCity_OceanicMuseum_1F_EventScript_1ADF25:: @ 81ADF25
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF44:: @ 81ADF44
- msgbox SlateportCity_OceanicMuseum_1F_Text_1A93D1, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_1A93D1, MSGBOX_DEFAULT
setvar VAR_0x8004, 5
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, 0
@@ -4451,18 +4451,18 @@ SlateportCity_OceanicMuseum_1F_EventScript_1ADF44:: @ 81ADF44
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF79:: @ 81ADF79
- msgbox SlateportCity_OceanicMuseum_1F_Text_1A9446, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_1A9446, MSGBOX_DEFAULT
release
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF83:: @ 81ADF83
- msgbox SlateportCity_OceanicMuseum_1F_Text_1A949A, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_1A949A, MSGBOX_DEFAULT
setvar VAR_0x8005, 2
goto SlateportCity_OceanicMuseum_1F_EventScript_1ADE46
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF96:: @ 81ADF96
- msgbox SlateportCity_OceanicMuseum_1F_Text_1A952E, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_1A952E, MSGBOX_DEFAULT
release
end
@@ -4485,7 +4485,7 @@ SlateportCity_PokemonFanClub_EventScript_1ADFA0:: @ 81ADFA0
end
SlateportCity_PokemonFanClub_EventScript_1ADFE9:: @ 81ADFE9
- msgbox SlateportCity_PokemonFanClub_Text_1A83D0, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A83D0, MSGBOX_DEFAULT
random 3
copyvar VAR_0x800A, VAR_RESULT
switch VAR_RESULT
@@ -4495,17 +4495,17 @@ SlateportCity_PokemonFanClub_EventScript_1ADFE9:: @ 81ADFE9
end
SlateportCity_PokemonFanClub_EventScript_1AE020:: @ 81AE020
- msgbox SlateportCity_PokemonFanClub_Text_1A8414, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A8414, MSGBOX_DEFAULT
goto SlateportCity_PokemonFanClub_EventScript_1AE04A
end
SlateportCity_PokemonFanClub_EventScript_1AE02E:: @ 81AE02E
- msgbox SlateportCity_PokemonFanClub_Text_1A8470, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A8470, MSGBOX_DEFAULT
goto SlateportCity_PokemonFanClub_EventScript_1AE04A
end
SlateportCity_PokemonFanClub_EventScript_1AE03C:: @ 81AE03C
- msgbox SlateportCity_PokemonFanClub_Text_1A84D5, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A84D5, MSGBOX_DEFAULT
goto SlateportCity_PokemonFanClub_EventScript_1AE04A
end
@@ -4518,26 +4518,26 @@ SlateportCity_PokemonFanClub_EventScript_1AE04A:: @ 81AE04A
faceplayer
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1AE0A2
- msgbox SlateportCity_PokemonFanClub_Text_1A852D, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A852D, MSGBOX_DEFAULT
setvar VAR_0x8006, 1
call SlateportCity_PokemonFanClub_EventScript_1A00F3
lock
faceplayer
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1AE0A2
- msgbox SlateportCity_PokemonFanClub_Text_1A85A6, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A85A6, MSGBOX_DEFAULT
copyvar VAR_0x8007, VAR_0x800A
setvar VAR_0x8005, 3
goto SlateportCity_PokemonFanClub_EventScript_1ADE46
end
SlateportCity_PokemonFanClub_EventScript_1AE0A2:: @ 81AE0A2
- msgbox SlateportCity_PokemonFanClub_Text_1A8667, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A8667, MSGBOX_DEFAULT
release
end
SlateportCity_PokemonFanClub_EventScript_1AE0AC:: @ 81AE0AC
- msgbox SlateportCity_PokemonFanClub_Text_1A86B5, 4
+ msgbox SlateportCity_PokemonFanClub_Text_1A86B5, MSGBOX_DEFAULT
release
end
@@ -4561,7 +4561,7 @@ VerdanturfTown_ContestLobby_EventScript_1AE0B6:: @ 81AE0B6
end
FallarborTown_ContestLobby_EventScript_1AE0F8:: @ 81AE0F8
- msgbox FallarborTown_ContestLobby_Text_1A704E, 4
+ msgbox FallarborTown_ContestLobby_Text_1A704E, MSGBOX_DEFAULT
setvar VAR_0x8004, 11
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, 0
@@ -4575,14 +4575,14 @@ FallarborTown_ContestLobby_EventScript_1AE0F8:: @ 81AE0F8
end
FallarborTown_ContestLobby_EventScript_1AE12D:: @ 81AE12D
- msgbox FallarborTown_ContestLobby_Text_1A7256, 4
+ msgbox FallarborTown_ContestLobby_Text_1A7256, MSGBOX_DEFAULT
release
end
FallarborTown_ContestLobby_EventScript_1AE137:: @ 81AE137
setvar VAR_0x8004, 24
special SetContestCategoryStringVarForInterview
- msgbox FallarborTown_ContestLobby_Text_1A70A5, 4
+ msgbox FallarborTown_ContestLobby_Text_1A70A5, MSGBOX_DEFAULT
setvar VAR_0x8004, 11
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, 1
@@ -4591,14 +4591,14 @@ FallarborTown_ContestLobby_EventScript_1AE137:: @ 81AE137
faceplayer
compare VAR_RESULT, 0
goto_if_eq FallarborTown_ContestLobby_EventScript_1AE12D
- msgbox FallarborTown_ContestLobby_Text_1A7153, 4
+ msgbox FallarborTown_ContestLobby_Text_1A7153, MSGBOX_DEFAULT
setflag FLAG_TEMP_2
setvar VAR_0x8005, 6
goto FallarborTown_ContestLobby_EventScript_1ADE46
end
FallarborTown_ContestLobby_EventScript_1AE17E:: @ 81AE17E
- msgbox FallarborTown_ContestLobby_Text_1A72A8, 4
+ msgbox FallarborTown_ContestLobby_Text_1A72A8, MSGBOX_DEFAULT
release
end
@@ -4665,7 +4665,7 @@ BattleTower_Lobby_EventScript_1AE241:: @ 81AE241
call_if_eq BattleTower_Lobby_EventScript_1AE2A1
compare VAR_RESULT, 1
call_if_eq BattleTower_Lobby_EventScript_1AE2AA
- msgbox BattleTower_Lobby_Text_1A79EB, 4
+ msgbox BattleTower_Lobby_Text_1A79EB, MSGBOX_DEFAULT
setvar VAR_0x8004, 12
copyvar VAR_0x8005, VAR_0x8009
call BattleTower_Lobby_EventScript_1A00F3
@@ -4678,22 +4678,22 @@ BattleTower_Lobby_EventScript_1AE241:: @ 81AE241
end
BattleTower_Lobby_EventScript_1AE297:: @ 81AE297
- msgbox BattleTower_Lobby_Text_1A78B7, 4
+ msgbox BattleTower_Lobby_Text_1A78B7, MSGBOX_DEFAULT
release
end
BattleTower_Lobby_EventScript_1AE2A1:: @ 81AE2A1
- msgbox BattleTower_Lobby_Text_1A791B, 4
+ msgbox BattleTower_Lobby_Text_1A791B, MSGBOX_DEFAULT
return
BattleTower_Lobby_EventScript_1AE2AA:: @ 81AE2AA
- msgbox BattleTower_Lobby_Text_1A7990, 4
+ msgbox BattleTower_Lobby_Text_1A7990, MSGBOX_DEFAULT
return
BattleTower_Lobby_EventScript_1AE2B3:: @ 81AE2B3
compare VAR_RESULT, 0
goto_if_eq BattleTower_Lobby_EventScript_1AE2D9
- msgbox BattleTower_Lobby_Text_1A7A6E, 4
+ msgbox BattleTower_Lobby_Text_1A7A6E, MSGBOX_DEFAULT
setflag FLAG_TEMP_2
copyvar VAR_0x8004, VAR_0x8008
setvar VAR_0x8005, 7
@@ -4701,12 +4701,12 @@ BattleTower_Lobby_EventScript_1AE2B3:: @ 81AE2B3
end
BattleTower_Lobby_EventScript_1AE2D9:: @ 81AE2D9
- msgbox BattleTower_Lobby_Text_1A7AE0, 4
+ msgbox BattleTower_Lobby_Text_1A7AE0, MSGBOX_DEFAULT
release
end
BattleTower_Lobby_EventScript_1AE2E3:: @ 81AE2E3
- msgbox BattleTower_Lobby_Text_1A7B66, 4
+ msgbox BattleTower_Lobby_Text_1A7B66, MSGBOX_DEFAULT
release
end
@@ -4757,7 +4757,7 @@ gUnknown_081B694A:: @ 81B694A
.include "data/scripts/players_house.inc"
S_RunningShoesManual:: @ 81B6E5A
- msgbox UnknownString_81728E3, 3
+ msgbox UnknownString_81728E3, MSGBOX_SIGN
end
.include "data/text/pokeblocks.inc"
@@ -4766,7 +4766,7 @@ S_RunningShoesManual:: @ 81B6E5A
.include "data/text/trainers.inc"
S_RepelWoreOff:: @ 81C33E6
- msgbox Text_RepelWoreOff, 3
+ msgbox Text_RepelWoreOff, MSGBOX_SIGN
end
Text_RepelWoreOff: @ 81C33EF
@@ -4882,18 +4882,18 @@ GraniteCave_B1F_Movement_1C6BF7:: @ 81C6BF7
end_movement
@ 81C6BF9
- msgbox Text_1C6C2B, 2
+ msgbox Text_1C6C2B, MSGBOX_NPC
end
gUnknown_081C6C02:: @ 81C6C02
- msgbox Text_1C6C4B, 3
+ msgbox Text_1C6C4B, MSGBOX_SIGN
end
@ 81C6C0B
end
@ 81C6C0C
- msgbox Text_1C6C62, 3
+ msgbox Text_1C6C62, MSGBOX_SIGN
end
@ 81C6C15
diff --git a/data/field_move_scripts.inc b/data/field_move_scripts.inc
index b4a8af413..b412af095 100644
--- a/data/field_move_scripts.inc
+++ b/data/field_move_scripts.inc
@@ -10,7 +10,7 @@ S_CuttableTree:: @ 81B0DCC
msgbox UseCutPromptText, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq Cut_ChoseNo
- msgbox UsedCutRockSmashText, 4
+ msgbox UsedCutRockSmashText, MSGBOX_DEFAULT
closemessage
dofieldeffect FLDEFF_USE_CUT_ON_TREE
waitstate
@@ -36,7 +36,7 @@ TreeCutMovement: @ 81B0E30
end_movement
CannotUseCut: @ 81B0E32
- msgbox CannotUseCutText, 3
+ msgbox CannotUseCutText, MSGBOX_SIGN
releaseall
end
@@ -67,7 +67,7 @@ S_BreakableRock:: @ 81B0EB7
msgbox UseRockSmashPromptText, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq RockSmash_ChoseNo
- msgbox UsedCutRockSmashText, 4
+ msgbox UsedCutRockSmashText, MSGBOX_DEFAULT
closemessage
dofieldeffect FLDEFF_USE_ROCK_SMASH
waitstate
@@ -104,7 +104,7 @@ RockSmashMovement: @ 81B0F3C
end_movement
CannotUseRockSmash: @ 81B0F3E
- msgbox CannotUseRockSmashText, 3
+ msgbox CannotUseRockSmashText, MSGBOX_SIGN
releaseall
end
@@ -147,17 +147,17 @@ S_UseStrength:: @ 81B100E
UsedStrength: @ 81B1019
setflag FLAG_SYS_USE_STRENGTH
- msgbox UsedStrengthText, 3
+ msgbox UsedStrengthText, MSGBOX_SIGN
releaseall
end
CannotUseStrength: @ 81B1026
- msgbox CannotUseStrengthText, 3
+ msgbox CannotUseStrengthText, MSGBOX_SIGN
releaseall
end
AlreadyUsedStrength: @ 81B1030
- msgbox AlreadyUsedStrengthText, 3
+ msgbox AlreadyUsedStrengthText, MSGBOX_SIGN
releaseall
end
@@ -194,14 +194,14 @@ S_UseWaterfall:: @ 81B115A
msgbox UseWaterfallPromptText, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq Waterfall_Done
- msgbox UsedWaterfallText, 4
+ msgbox UsedWaterfallText, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_WATERFALL
goto Waterfall_Done
S_CannotUseWaterfall:: @ 81B1194
lockall
Waterfall_NoMonKnows: @ 81B1195
- msgbox CannotUseWaterfallText, 4
+ msgbox CannotUseWaterfallText, MSGBOX_DEFAULT
Waterfall_Done: @ 81B119D
releaseall
end
@@ -228,13 +228,13 @@ UseDiveScript:: @ 81B1220
msgbox UseDivePromptText, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq Dive_Done
- msgbox UsedDiveText, 4
+ msgbox UsedDiveText, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_DIVE
goto Dive_Done
lockall
CannotUseDive: @ 81B125F
- msgbox CannotUseDiveText, 4
+ msgbox CannotUseDiveText, MSGBOX_DEFAULT
Dive_Done: @ 81B1267
releaseall
@@ -251,19 +251,19 @@ S_UseDiveUnderwater:: @ 81B1269
msgbox UnderwaterUseDivePromptText, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq UnderwaterDive_Done
- msgbox UsedDiveText, 4
+ msgbox UsedDiveText, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_DIVE
goto UnderwaterDive_Done
UnderwaterCannotUseDive: @ 81B12A7
lockall
- msgbox UnderwaterCannotUseDiveText, 4
+ msgbox UnderwaterCannotUseDiveText, MSGBOX_DEFAULT
goto UnderwaterDive_Done
@ not used
SurfacingBlocked: @ 81B12B5
lockall
- msgbox SurfacingBlockedText, 4
+ msgbox SurfacingBlockedText, MSGBOX_DEFAULT
UnderwaterDive_Done: @ 81B12BE
releaseall
@@ -293,7 +293,7 @@ SurfacingBlockedText: @ 81B13CE
.string "DIVE can't be used here.$"
SweetScentNothingHereScript:: @ 81B140C
- msgbox SweetScentNothingHereText, 3
+ msgbox SweetScentNothingHereText, MSGBOX_SIGN
end
SweetScentNothingHereText: @ 81B1415
diff --git a/data/maps/AbandonedShip_CaptainsOffice/scripts.inc b/data/maps/AbandonedShip_CaptainsOffice/scripts.inc
index c7be02801..b9335025d 100644
--- a/data/maps/AbandonedShip_CaptainsOffice/scripts.inc
+++ b/data/maps/AbandonedShip_CaptainsOffice/scripts.inc
@@ -9,16 +9,16 @@ AbandonedShip_CaptainsOffice_EventScript_15EAF5:: @ 815EAF5
compare VAR_RESULT, 1
goto_if_eq AbandonedShip_CaptainsOffice_EventScript_15EB23
goto_if_set FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS_2, AbandonedShip_CaptainsOffice_EventScript_15EB2D
- msgbox AbandonedShip_CaptainsOffice_Text_198C85, 4
+ msgbox AbandonedShip_CaptainsOffice_Text_198C85, MSGBOX_DEFAULT
release
end
AbandonedShip_CaptainsOffice_EventScript_15EB23:: @ 815EB23
- msgbox AbandonedShip_CaptainsOffice_Text_198D00, 4
+ msgbox AbandonedShip_CaptainsOffice_Text_198D00, MSGBOX_DEFAULT
release
end
AbandonedShip_CaptainsOffice_EventScript_15EB2D:: @ 815EB2D
- msgbox AbandonedShip_CaptainsOffice_Text_198D7B, 4
+ msgbox AbandonedShip_CaptainsOffice_Text_198D7B, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/AbandonedShip_Corridors_1F/scripts.inc b/data/maps/AbandonedShip_Corridors_1F/scripts.inc
index c82a598b7..e48f730f9 100644
--- a/data/maps/AbandonedShip_Corridors_1F/scripts.inc
+++ b/data/maps/AbandonedShip_Corridors_1F/scripts.inc
@@ -2,10 +2,10 @@ AbandonedShip_Corridors_1F_MapScripts:: @ 815E964
.byte 0
AbandonedShip_Corridors_1F_EventScript_15E965:: @ 815E965
- msgbox AbandonedShip_Corridors_1F_Text_1984D8, 2
+ msgbox AbandonedShip_Corridors_1F_Text_1984D8, MSGBOX_NPC
end
AbandonedShip_Corridors_1F_EventScript_15E96E:: @ 815E96E
trainerbattle_single TRAINER_CHARLIE, AbandonedShip_Corridors_1F_Text_19843D, AbandonedShip_Corridors_1F_Text_198479
- msgbox AbandonedShip_Corridors_1F_Text_198493, 6
+ msgbox AbandonedShip_Corridors_1F_Text_198493, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/AbandonedShip_Corridors_B1F/scripts.inc b/data/maps/AbandonedShip_Corridors_B1F/scripts.inc
index 854368639..3b288e213 100644
--- a/data/maps/AbandonedShip_Corridors_B1F/scripts.inc
+++ b/data/maps/AbandonedShip_Corridors_B1F/scripts.inc
@@ -21,7 +21,7 @@ AbandonedShip_Corridors_B1F_EventScript_15E9C0:: @ 815E9C0
return
AbandonedShip_Corridors_B1F_EventScript_15E9CA:: @ 815E9CA
- msgbox AbandonedShip_Corridors_B1F_Text_19864A, 2
+ msgbox AbandonedShip_Corridors_B1F_Text_19864A, MSGBOX_NPC
end
AbandonedShip_Corridors_B1F_EventScript_15E9D3:: @ 815E9D3
@@ -30,7 +30,7 @@ AbandonedShip_Corridors_B1F_EventScript_15E9D3:: @ 815E9D3
checkitem ITEM_STORAGE_KEY, 1
compare VAR_RESULT, 0
goto_if_eq AbandonedShip_Corridors_B1F_EventScript_15EA0A
- msgbox AbandonedShip_Corridors_B1F_Text_198692, 4
+ msgbox AbandonedShip_Corridors_B1F_Text_198692, MSGBOX_DEFAULT
playse SE_PIN
removeitem ITEM_STORAGE_KEY, 1
setflag FLAG_USED_STORAGE_KEY
@@ -40,16 +40,16 @@ AbandonedShip_Corridors_B1F_EventScript_15E9D3:: @ 815E9D3
end
AbandonedShip_Corridors_B1F_EventScript_15EA0A:: @ 815EA0A
- msgbox AbandonedShip_Corridors_B1F_Text_19865C, 4
+ msgbox AbandonedShip_Corridors_B1F_Text_19865C, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_Corridors_B1F_EventScript_15EA14:: @ 815EA14
- msgbox AbandonedShip_Corridors_B1F_Text_1986EC, 4
+ msgbox AbandonedShip_Corridors_B1F_Text_1986EC, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_Corridors_B1F_EventScript_15EA1E:: @ 815EA1E
trainerbattle_single TRAINER_DUNCAN, AbandonedShip_Corridors_B1F_Text_19856F, AbandonedShip_Corridors_B1F_Text_1985C5
- msgbox AbandonedShip_Corridors_B1F_Text_1985D7, 6
+ msgbox AbandonedShip_Corridors_B1F_Text_1985D7, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/AbandonedShip_HiddenFloorCorridors/scripts.inc b/data/maps/AbandonedShip_HiddenFloorCorridors/scripts.inc
index 0dcc72cfe..d87482f3a 100644
--- a/data/maps/AbandonedShip_HiddenFloorCorridors/scripts.inc
+++ b/data/maps/AbandonedShip_HiddenFloorCorridors/scripts.inc
@@ -56,7 +56,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_15EBF3:: @ 815EBF3
checkitem ITEM_ROOM_1_KEY, 1
compare VAR_RESULT, 0
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_15ECCF
- msgbox AbandonedShip_HiddenFloorCorridors_Text_198E90, 4
+ msgbox AbandonedShip_HiddenFloorCorridors_Text_198E90, MSGBOX_DEFAULT
playse SE_PIN
removeitem ITEM_ROOM_1_KEY
setflag FLAG_USED_ROOM_1_KEY
@@ -71,7 +71,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_15EC2A:: @ 815EC2A
checkitem ITEM_ROOM_2_KEY, 1
compare VAR_RESULT, 0
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_15ECD9
- msgbox AbandonedShip_HiddenFloorCorridors_Text_198E90, 4
+ msgbox AbandonedShip_HiddenFloorCorridors_Text_198E90, MSGBOX_DEFAULT
playse SE_PIN
removeitem ITEM_ROOM_2_KEY
setflag FLAG_USED_ROOM_2_KEY
@@ -86,7 +86,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_15EC61:: @ 815EC61
checkitem ITEM_ROOM_4_KEY, 1
compare VAR_RESULT, 0
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_15ECE3
- msgbox AbandonedShip_HiddenFloorCorridors_Text_198E90, 4
+ msgbox AbandonedShip_HiddenFloorCorridors_Text_198E90, MSGBOX_DEFAULT
playse SE_PIN
removeitem ITEM_ROOM_4_KEY
setflag FLAG_USED_ROOM_4_KEY
@@ -101,7 +101,7 @@ AbandonedShip_HiddenFloorCorridors_EventScript_15EC98:: @ 815EC98
checkitem ITEM_ROOM_6_KEY, 1
compare VAR_RESULT, 0
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_15ECED
- msgbox AbandonedShip_HiddenFloorCorridors_Text_198E90, 4
+ msgbox AbandonedShip_HiddenFloorCorridors_Text_198E90, MSGBOX_DEFAULT
playse SE_PIN
removeitem ITEM_ROOM_6_KEY
setflag FLAG_USED_ROOM_6_KEY
@@ -111,26 +111,26 @@ AbandonedShip_HiddenFloorCorridors_EventScript_15EC98:: @ 815EC98
end
AbandonedShip_HiddenFloorCorridors_EventScript_15ECCF:: @ 815ECCF
- msgbox AbandonedShip_HiddenFloorCorridors_Text_198DC0, 4
+ msgbox AbandonedShip_HiddenFloorCorridors_Text_198DC0, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_HiddenFloorCorridors_EventScript_15ECD9:: @ 815ECD9
- msgbox AbandonedShip_HiddenFloorCorridors_Text_198DF4, 4
+ msgbox AbandonedShip_HiddenFloorCorridors_Text_198DF4, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_HiddenFloorCorridors_EventScript_15ECE3:: @ 815ECE3
- msgbox AbandonedShip_HiddenFloorCorridors_Text_198E28, 4
+ msgbox AbandonedShip_HiddenFloorCorridors_Text_198E28, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_HiddenFloorCorridors_EventScript_15ECED:: @ 815ECED
- msgbox AbandonedShip_HiddenFloorCorridors_Text_198E5C, 4
+ msgbox AbandonedShip_HiddenFloorCorridors_Text_198E5C, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_HiddenFloorCorridors_EventScript_15ECF7:: @ 815ECF7
- msgbox AbandonedShip_HiddenFloorCorridors_Text_1986EC, 4
+ msgbox AbandonedShip_HiddenFloorCorridors_Text_1986EC, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/AbandonedShip_HiddenFloorRooms/scripts.inc b/data/maps/AbandonedShip_HiddenFloorRooms/scripts.inc
index 0c2e900c3..4b9b61ca0 100644
--- a/data/maps/AbandonedShip_HiddenFloorRooms/scripts.inc
+++ b/data/maps/AbandonedShip_HiddenFloorRooms/scripts.inc
@@ -138,6 +138,6 @@ AbandonedShip_HiddenFloorRooms_EventScript_15EE9B:: @ 815EE9B
AbandonedShip_HiddenFloorRooms_EventScript_15EEAB:: @ 815EEAB
lockall
- msgbox AbandonedShip_HiddenFloorRooms_Text_198EE2, 4
+ msgbox AbandonedShip_HiddenFloorRooms_Text_198EE2, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/AbandonedShip_Rooms2_1F/scripts.inc b/data/maps/AbandonedShip_Rooms2_1F/scripts.inc
index 08fd6520c..a1bad74b4 100644
--- a/data/maps/AbandonedShip_Rooms2_1F/scripts.inc
+++ b/data/maps/AbandonedShip_Rooms2_1F/scripts.inc
@@ -6,12 +6,12 @@ AbandonedShip_Rooms2_1F_EventScript_15EA68:: @ 815EA68
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq AbandonedShip_Rooms2_1F_EventScript_15EA93
- msgbox AbandonedShip_Rooms2_1F_Text_198835, 6
+ msgbox AbandonedShip_Rooms2_1F_Text_198835, MSGBOX_AUTOCLOSE
end
AbandonedShip_Rooms2_1F_EventScript_15EA93:: @ 815EA93
trainerbattle_rematch_double TRAINER_LOIS_AND_HAL_1, AbandonedShip_Rooms2_1F_Text_1989DF, AbandonedShip_Rooms2_1F_Text_198A53, AbandonedShip_Rooms2_1F_Text_198AEE
- msgbox AbandonedShip_Rooms2_1F_Text_198A70, 6
+ msgbox AbandonedShip_Rooms2_1F_Text_198A70, MSGBOX_AUTOCLOSE
end
AbandonedShip_Rooms2_1F_EventScript_15EAAE:: @ 815EAAE
@@ -19,10 +19,10 @@ AbandonedShip_Rooms2_1F_EventScript_15EAAE:: @ 815EAAE
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq AbandonedShip_Rooms2_1F_EventScript_15EAD9
- msgbox AbandonedShip_Rooms2_1F_Text_198934, 6
+ msgbox AbandonedShip_Rooms2_1F_Text_198934, MSGBOX_AUTOCLOSE
end
AbandonedShip_Rooms2_1F_EventScript_15EAD9:: @ 815EAD9
trainerbattle_rematch_double TRAINER_LOIS_AND_HAL_1, AbandonedShip_Rooms2_1F_Text_198B3B, AbandonedShip_Rooms2_1F_Text_198BCF, AbandonedShip_Rooms2_1F_Text_198C40
- msgbox AbandonedShip_Rooms2_1F_Text_198BEA, 6
+ msgbox AbandonedShip_Rooms2_1F_Text_198BEA, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/AbandonedShip_Rooms2_B1F/scripts.inc b/data/maps/AbandonedShip_Rooms2_B1F/scripts.inc
index 0c8f3ffc9..073b78a38 100644
--- a/data/maps/AbandonedShip_Rooms2_B1F/scripts.inc
+++ b/data/maps/AbandonedShip_Rooms2_B1F/scripts.inc
@@ -2,5 +2,5 @@ AbandonedShip_Rooms2_B1F_MapScripts:: @ 815EA4D
.byte 0
AbandonedShip_Rooms2_B1F_EventScript_15EA4E:: @ 815EA4E
- msgbox AbandonedShip_Rooms2_B1F_Text_198759, 2
+ msgbox AbandonedShip_Rooms2_B1F_Text_198759, MSGBOX_NPC
end
diff --git a/data/maps/AbandonedShip_Rooms_1F/scripts.inc b/data/maps/AbandonedShip_Rooms_1F/scripts.inc
index c5f9ad3f5..2db19af0d 100644
--- a/data/maps/AbandonedShip_Rooms_1F/scripts.inc
+++ b/data/maps/AbandonedShip_Rooms_1F/scripts.inc
@@ -2,5 +2,5 @@ AbandonedShip_Rooms_1F_MapScripts:: @ 815E985
.byte 0
AbandonedShip_Rooms_1F_EventScript_15E986:: @ 815E986
- msgbox AbandonedShip_Rooms_1F_Text_19850A, 2
+ msgbox AbandonedShip_Rooms_1F_Text_19850A, MSGBOX_NPC
end
diff --git a/data/maps/AbandonedShip_Rooms_B1F/scripts.inc b/data/maps/AbandonedShip_Rooms_B1F/scripts.inc
index 4299c7da4..abdb2ae8e 100644
--- a/data/maps/AbandonedShip_Rooms_B1F/scripts.inc
+++ b/data/maps/AbandonedShip_Rooms_B1F/scripts.inc
@@ -7,5 +7,5 @@ AbandonedShip_Rooms_B1F_MapScript1_15EA3B:: @ 815EA3B
end
AbandonedShip_Rooms_B1F_EventScript_15EA44:: @ 815EA44
- msgbox AbandonedShip_Rooms_B1F_Text_1986FE, 2
+ msgbox AbandonedShip_Rooms_B1F_Text_1986FE, MSGBOX_NPC
end
diff --git a/data/maps/AncientTomb/scripts.inc b/data/maps/AncientTomb/scripts.inc
index 01b04bf27..c83b61dac 100644
--- a/data/maps/AncientTomb/scripts.inc
+++ b/data/maps/AncientTomb/scripts.inc
@@ -39,7 +39,7 @@ AncientTomb_EventScript_15F021:: @ 815F021
end
AncientTomb_EventScript_15F038:: @ 815F038
- msgbox AncientTomb_Text_1A13BE, 4
+ msgbox AncientTomb_Text_1A13BE, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/AquaHideout_1F/scripts.inc b/data/maps/AquaHideout_1F/scripts.inc
index 628293e9d..5c173aa4d 100644
--- a/data/maps/AquaHideout_1F/scripts.inc
+++ b/data/maps/AquaHideout_1F/scripts.inc
@@ -11,12 +11,12 @@ MagmaHideout_1F_EventScript_15D7CE:: @ 815D7CE
lock
faceplayer
goto_if_set FLAG_MT_PYRE_ORB_STOLEN, AquaHideout_1F_EventScript_15D7E3
- msgbox AquaHideout_1F_Text_196AFD, 4
+ msgbox AquaHideout_1F_Text_196AFD, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_15D7E3:: @ 815D7E3
- msgbox AquaHideout_1F_Text_196BC5, 4
+ msgbox AquaHideout_1F_Text_196BC5, MSGBOX_DEFAULT
release
end
@@ -25,22 +25,22 @@ MagmaHideout_1F_EventScript_15D7ED:: @ 815D7ED
lock
faceplayer
goto_if_set FLAG_MT_PYRE_ORB_STOLEN, AquaHideout_1F_EventScript_15D802
- msgbox AquaHideout_1F_Text_196C83, 4
+ msgbox AquaHideout_1F_Text_196C83, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_15D802:: @ 815D802
- msgbox AquaHideout_1F_Text_196D46, 4
+ msgbox AquaHideout_1F_Text_196D46, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_15D80C:: @ 815D80C
MagmaHideout_1F_EventScript_15D80C:: @ 815D80C
trainerbattle_single TRAINER_HIDEOUT_1F_GRUNT, AquaHideout_1F_Text_196E01, AquaHideout_1F_Text_196E28, AquaHideout_1F_EventScript_15D827
- msgbox AquaHideout_1F_Text_196E3D, 6
+ msgbox AquaHideout_1F_Text_196E3D, MSGBOX_AUTOCLOSE
end
AquaHideout_1F_EventScript_15D827:: @ 815D827
- msgbox AquaHideout_1F_Text_196E3D, 4
+ msgbox AquaHideout_1F_Text_196E3D, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/AquaHideout_B1F/scripts.inc b/data/maps/AquaHideout_B1F/scripts.inc
index 705abec2a..228587775 100644
--- a/data/maps/AquaHideout_B1F/scripts.inc
+++ b/data/maps/AquaHideout_B1F/scripts.inc
@@ -18,27 +18,27 @@ AquaHideout_B1F_MapScript1_15D84A:: @ 815D84A
AquaHideout_B1F_EventScript_15D850:: @ 815D850
MagmaHideout_B1F_EventScript_15D850:: @ 815D850
trainerbattle_single TRAINER_HIDEOUT_B1F_GRUNT_1, AquaHideout_B1F_Text_196E6F, AquaHideout_B1F_Text_196EB6, AquaHideout_B1F_EventScript_15D86B
- msgbox AquaHideout_B1F_Text_196ECC, 6
+ msgbox AquaHideout_B1F_Text_196ECC, MSGBOX_AUTOCLOSE
end
AquaHideout_B1F_EventScript_15D86B:: @ 815D86B
- msgbox AquaHideout_B1F_Text_196ECC, 4
+ msgbox AquaHideout_B1F_Text_196ECC, MSGBOX_DEFAULT
release
end
AquaHideout_B1F_EventScript_15D875:: @ 815D875
MagmaHideout_B1F_EventScript_15D875:: @ 815D875
trainerbattle_single TRAINER_HIDEOUT_B1F_GRUNT_2, AquaHideout_B1F_Text_196F39, AquaHideout_B1F_Text_196F9B, AquaHideout_B1F_EventScript_15D890
- msgbox AquaHideout_B1F_Text_196FB5, 6
+ msgbox AquaHideout_B1F_Text_196FB5, MSGBOX_AUTOCLOSE
end
AquaHideout_B1F_EventScript_15D890:: @ 815D890
- msgbox AquaHideout_B1F_Text_196FB5, 4
+ msgbox AquaHideout_B1F_Text_196FB5, MSGBOX_DEFAULT
release
end
AquaHideout_B1F_EventScript_15D89A:: @ 815D89A
MagmaHideout_B1F_EventScript_15D89A:: @ 815D89A
trainerbattle_single TRAINER_HIDEOUT_B1F_GRUNT_3, AquaHideout_B1F_Text_196FFD, AquaHideout_B1F_Text_197040
- msgbox AquaHideout_B1F_Text_197056, 6
+ msgbox AquaHideout_B1F_Text_197056, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/AquaHideout_B2F/scripts.inc b/data/maps/AquaHideout_B2F/scripts.inc
index 5d924bf61..c9287b1f1 100644
--- a/data/maps/AquaHideout_B2F/scripts.inc
+++ b/data/maps/AquaHideout_B2F/scripts.inc
@@ -26,7 +26,7 @@ MagmaHideout_B2F_EventScript_15D8BD:: @ 815D8BD
AquaHideout_B2F_EventScript_15D8E1:: @ 815D8E1
MagmaHideout_B2F_EventScript_15D8E1:: @ 815D8E1
trainerbattle_single TRAINER_HIDEOUT_B2F_GRUNT_1, AquaHideout_B2F_Text_197093, AquaHideout_B2F_Text_197145, AquaHideout_B2F_EventScript_15D8FD
- msgbox AquaHideout_B2F_Text_1971AE, 4
+ msgbox AquaHideout_B2F_Text_1971AE, MSGBOX_DEFAULT
release
end
@@ -46,7 +46,7 @@ AquaHideout_B2F_EventScript_15D8FD:: @ 815D8FD
delay 20
applymovement VAR_0x8008, AquaHideout_B2F_Movement_1A0839
waitmovement 0
- msgbox AquaHideout_B2F_Text_197162, 4
+ msgbox AquaHideout_B2F_Text_197162, MSGBOX_DEFAULT
closemessage
.ifdef SAPPHIRE
applymovement VAR_0x8008, Movement_1A083F
@@ -63,7 +63,7 @@ AquaHideout_B2F_EventScript_15D8FD:: @ 815D8FD
delay 20
applymovement VAR_0x8008, AquaHideout_B2F_Movement_1A0839
waitmovement 0
- msgbox AquaHideout_B2F_Text_1971AE, 4
+ msgbox AquaHideout_B2F_Text_1971AE, MSGBOX_DEFAULT
setflag FLAG_EVIL_TEAM_ESCAPED_IN_SUBMARINE
setflag FLAG_HIDE_GRUNTS_LILYCOVE
release
@@ -86,16 +86,16 @@ AquaHideout_B2F_Movement_15D95D:: @ 815D95D
AquaHideout_B2F_EventScript_15D962:: @ 815D962
MagmaHideout_B2F_EventScript_15D962:: @ 815D962
trainerbattle_single TRAINER_HIDEOUT_B2F_GRUNT_2, AquaHideout_B2F_Text_197270, AquaHideout_B2F_Text_1972AC, AquaHideout_B2F_EventScript_15D97D
- msgbox AquaHideout_B2F_Text_1972D2, 6
+ msgbox AquaHideout_B2F_Text_1972D2, MSGBOX_AUTOCLOSE
end
AquaHideout_B2F_EventScript_15D97D:: @ 815D97D
- msgbox AquaHideout_B2F_Text_1972D2, 4
+ msgbox AquaHideout_B2F_Text_1972D2, MSGBOX_DEFAULT
release
end
AquaHideout_B2F_EventScript_15D987:: @ 815D987
MagmaHideout_B2F_EventScript_15D987:: @ 815D987
trainerbattle_single TRAINER_HIDEOUT_B2F_GRUNT_3, AquaHideout_B2F_Text_1972EF, AquaHideout_B2F_Text_197390
- msgbox AquaHideout_B2F_Text_1973C0, 6
+ msgbox AquaHideout_B2F_Text_1973C0, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/BattleTower_BattleRoom/scripts.inc b/data/maps/BattleTower_BattleRoom/scripts.inc
index 589438fa3..1c7471cd2 100644
--- a/data/maps/BattleTower_BattleRoom/scripts.inc
+++ b/data/maps/BattleTower_BattleRoom/scripts.inc
@@ -17,7 +17,7 @@ BattleTower_BattleRoom_EventScript_1608FA:: @ 81608FA
applymovement 1, BattleTower_BattleRoom_Movement_160AC0
waitmovement 0
special PrintBattleTowerTrainerGreeting
- msgbox gStringVar4, 4
+ msgbox gStringVar4, MSGBOX_DEFAULT
waitmessage
closemessage
special ScrSpecial_HealPlayerParty
@@ -50,7 +50,7 @@ BattleTower_BattleRoom_EventScript_160961:: @ 8160961
waitmovement 0
applymovement 255, BattleTower_BattleRoom_Movement_160ABC
waitmovement 0
- msgbox BattleTower_BattleRoom_Text_19ACDC, 4
+ msgbox BattleTower_BattleRoom_Text_19ACDC, MSGBOX_DEFAULT
special LoadPlayerParty
special SavePlayerParty
special SetBattleTowerParty
@@ -112,7 +112,7 @@ BattleTower_BattleRoom_EventScript_160A94:: @ 8160A94
waitmessage
playse SE_SAVE
waitse
- msgbox BattleTower_BattleRoom_Text_1C6D05, 4
+ msgbox BattleTower_BattleRoom_Text_1C6D05, MSGBOX_DEFAULT
BattleTower_BattleRoom_EventScript_160AB1:: @ 8160AB1
fadescreen 1
diff --git a/data/maps/BattleTower_Lobby/scripts.inc b/data/maps/BattleTower_Lobby/scripts.inc
index 3fc44a626..23cf05a09 100644
--- a/data/maps/BattleTower_Lobby/scripts.inc
+++ b/data/maps/BattleTower_Lobby/scripts.inc
@@ -62,7 +62,7 @@ BattleTower_Lobby_EventScript_16032C:: @ 816032C
BattleTower_Lobby_EventScript_160330:: @ 8160330
lock
faceplayer
- msgbox BattleTower_Lobby_Text_19A3FD, 4
+ msgbox BattleTower_Lobby_Text_19A3FD, MSGBOX_DEFAULT
closemessage
setvar VAR_TEMP_0, 5
release
@@ -84,7 +84,7 @@ BattleTower_Lobby_EventScript_160342:: @ 8160342
waitmessage
playfanfare MUS_FANFA4
waitfanfare
- msgbox BattleTower_Lobby_Text_19A719, 4
+ msgbox BattleTower_Lobby_Text_19A719, MSGBOX_DEFAULT
BattleTower_Lobby_EventScript_16037D:: @ 816037D
setvar VAR_0x8004, 8
@@ -118,17 +118,17 @@ BattleTower_Lobby_EventScript_1603AD:: @ 81603AD
special BattleTowerUtil
compare VAR_RESULT, 49
goto_if_ne BattleTower_Lobby_EventScript_1603F8
- msgbox BattleTower_Lobby_Text_19A617, 4
+ msgbox BattleTower_Lobby_Text_19A617, MSGBOX_DEFAULT
BattleTower_Lobby_EventScript_1603F8:: @ 81603F8
- msgbox BattleTower_Lobby_Text_199FA9, 4
+ msgbox BattleTower_Lobby_Text_199FA9, MSGBOX_DEFAULT
closemessage
setvar VAR_TEMP_0, 5
release
end
BattleTower_Lobby_EventScript_160408:: @ 8160408
- msgbox BattleTower_Lobby_Text_19A520, 4
+ msgbox BattleTower_Lobby_Text_19A520, MSGBOX_DEFAULT
waitmessage
closemessage
setvar VAR_TEMP_0, 5
@@ -148,7 +148,7 @@ BattleTower_Lobby_EventScript_160419:: @ 8160419
special SaveBattleTowerProgress
playse SE_SAVE
waitse
- msgbox BattleTower_Lobby_Text_199FA9, 4
+ msgbox BattleTower_Lobby_Text_199FA9, MSGBOX_DEFAULT
closemessage
setvar VAR_TEMP_0, 5
release
@@ -172,7 +172,7 @@ BattleTower_Lobby_EventScript_16044B:: @ 816044B
setvar VAR_TEMP_0, 5
special SavePlayerParty
special SetBattleTowerParty
- msgbox BattleTower_Lobby_Text_19A0A8, 4
+ msgbox BattleTower_Lobby_Text_19A0A8, MSGBOX_DEFAULT
closemessage
call BattleTower_Lobby_EventScript_160664
warp MAP_BATTLE_TOWER_ELEVATOR, 255, 1, 6
@@ -187,7 +187,7 @@ BattleTower_Lobby_EventScript_16049E:: @ 816049E
compare VAR_RESULT, 6
goto_if_eq BattleTower_Lobby_EventScript_160342
special SavePlayerParty
- msgbox BattleTower_Lobby_Text_199F2C, 4
+ msgbox BattleTower_Lobby_Text_199F2C, MSGBOX_DEFAULT
BattleTower_Lobby_EventScript_1604BE:: @ 81604BE
message BattleTower_Lobby_Text_199F79
@@ -213,7 +213,7 @@ BattleTower_Lobby_EventScript_1604FA:: @ 81604FA
copyvar VAR_0x8005, VAR_RESULT
copyvar VAR_0x8006, VAR_RESULT
special SetBattleTowerProperty
- msgbox BattleTower_Lobby_Text_19A07B, 4
+ msgbox BattleTower_Lobby_Text_19A07B, MSGBOX_DEFAULT
fadescreen 1
special ChooseBattleTowerPlayerParty
waitstate
@@ -249,7 +249,7 @@ BattleTower_Lobby_EventScript_160587:: @ 8160587
special SavePlayerParty
special SetBattleTowerParty
setvar VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 1
- msgbox BattleTower_Lobby_Text_19A0A8, 4
+ msgbox BattleTower_Lobby_Text_19A0A8, MSGBOX_DEFAULT
closemessage
call BattleTower_Lobby_EventScript_160664
warp MAP_BATTLE_TOWER_ELEVATOR, 255, 1, 6
@@ -257,7 +257,7 @@ BattleTower_Lobby_EventScript_160587:: @ 8160587
waitstate
BattleTower_Lobby_EventScript_160600:: @ 8160600
- msgbox BattleTower_Lobby_Text_19A0D1, 4
+ msgbox BattleTower_Lobby_Text_19A0D1, MSGBOX_DEFAULT
goto BattleTower_Lobby_EventScript_1604BE
BattleTower_Lobby_EventScript_16060D:: @ 816060D
@@ -266,11 +266,11 @@ BattleTower_Lobby_EventScript_16060D:: @ 816060D
case 1, BattleTower_Lobby_EventScript_160635
BattleTower_Lobby_EventScript_160628:: @ 8160628
- msgbox BattleTower_Lobby_Text_19A249, 4
+ msgbox BattleTower_Lobby_Text_19A249, MSGBOX_DEFAULT
goto BattleTower_Lobby_EventScript_160662
BattleTower_Lobby_EventScript_160635:: @ 8160635
- msgbox BattleTower_Lobby_Text_19A32D, 4
+ msgbox BattleTower_Lobby_Text_19A32D, MSGBOX_DEFAULT
goto BattleTower_Lobby_EventScript_160662
BattleTower_Lobby_EventScript_160642:: @ 8160642
@@ -282,7 +282,7 @@ BattleTower_Lobby_EventScript_16064F:: @ 816064F
special LoadPlayerParty
BattleTower_Lobby_EventScript_160652:: @ 8160652
- msgbox BattleTower_Lobby_Text_199FA9, 4
+ msgbox BattleTower_Lobby_Text_199FA9, MSGBOX_DEFAULT
setvar VAR_0x8004, 11
special SetBattleTowerProperty
@@ -340,7 +340,7 @@ BattleTower_Lobby_EventScript_1606A5:: @ 81606A5
end
BattleTower_Lobby_EventScript_1606CC:: @ 81606CC
- msgbox BattleTower_Lobby_Text_19A7C3, 4
+ msgbox BattleTower_Lobby_Text_19A7C3, MSGBOX_DEFAULT
setvar VAR_0x8004, 1
call BattleTower_Lobby_EventScript_1A00F3
lock
@@ -352,26 +352,26 @@ BattleTower_Lobby_EventScript_1606CC:: @ 81606CC
end
BattleTower_Lobby_EventScript_1606F7:: @ 81606F7
- msgbox BattleTower_Lobby_Text_19A7FD, 4
+ msgbox BattleTower_Lobby_Text_19A7FD, MSGBOX_DEFAULT
release
end
BattleTower_Lobby_EventScript_160701:: @ 8160701
- msgbox BattleTower_Lobby_Text_19A83D, 4
+ msgbox BattleTower_Lobby_Text_19A83D, MSGBOX_DEFAULT
release
end
BattleTower_Lobby_EventScript_16070B:: @ 816070B
- msgbox BattleTower_Lobby_Text_19A871, 4
+ msgbox BattleTower_Lobby_Text_19A871, MSGBOX_DEFAULT
release
end
BattleTower_Lobby_EventScript_160715:: @ 8160715
- msgbox BattleTower_Lobby_Text_19A8AE, 2
+ msgbox BattleTower_Lobby_Text_19A8AE, MSGBOX_NPC
end
BattleTower_Lobby_EventScript_16071E:: @ 816071E
- msgbox BattleTower_Lobby_Text_19A946, 2
+ msgbox BattleTower_Lobby_Text_19A946, MSGBOX_NPC
end
BattleTower_Lobby_EventScript_160727:: @ 8160727
@@ -387,13 +387,13 @@ BattleTower_Lobby_EventScript_160733:: @ 8160733
faceplayer
goto_if_set FLAG_RECEIVED_GOLD_SHIELD, BattleTower_Lobby_EventScript_1607C5
goto_if_set FLAG_RECEIVED_SILVER_SHIELD, BattleTower_Lobby_EventScript_160773
- msgbox BattleTower_Lobby_Text_19A9EE, 4
+ msgbox BattleTower_Lobby_Text_19A9EE, MSGBOX_DEFAULT
setvar VAR_0x8008, DECOR_SILVER_SHIELD
givedecoration DECOR_SILVER_SHIELD
compare VAR_RESULT, 0
goto_if_eq BattleTower_Lobby_EventScript_1607AF
setflag FLAG_RECEIVED_SILVER_SHIELD
- msgbox BattleTower_Lobby_Text_19ABAA, 4
+ msgbox BattleTower_Lobby_Text_19ABAA, MSGBOX_DEFAULT
release
end
@@ -401,24 +401,24 @@ BattleTower_Lobby_EventScript_160773:: @ 8160773
specialvar VAR_RESULT, GetBestBattleTowerStreak
compare VAR_RESULT, 100
goto_if_lt BattleTower_Lobby_EventScript_1607C5
- msgbox BattleTower_Lobby_Text_19AAC4, 4
+ msgbox BattleTower_Lobby_Text_19AAC4, MSGBOX_DEFAULT
setvar VAR_0x8008, DECOR_GOLD_SHIELD
givedecoration DECOR_GOLD_SHIELD
compare VAR_RESULT, 0
goto_if_eq BattleTower_Lobby_EventScript_1607AF
setflag FLAG_RECEIVED_GOLD_SHIELD
- msgbox BattleTower_Lobby_Text_19ABAA, 4
+ msgbox BattleTower_Lobby_Text_19ABAA, MSGBOX_DEFAULT
release
end
BattleTower_Lobby_EventScript_1607AF:: @ 81607AF
bufferdecorationname 1, VAR_0x8008
- msgbox BattleTower_Lobby_Text_1A0CEF, 4
- msgbox BattleTower_Lobby_Text_19ABED, 4
+ msgbox BattleTower_Lobby_Text_1A0CEF, MSGBOX_DEFAULT
+ msgbox BattleTower_Lobby_Text_19ABED, MSGBOX_DEFAULT
release
end
BattleTower_Lobby_EventScript_1607C5:: @ 81607C5
- msgbox BattleTower_Lobby_Text_19AC55, 4
+ msgbox BattleTower_Lobby_Text_19AC55, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/BattleTower_Outside/scripts.inc b/data/maps/BattleTower_Outside/scripts.inc
index 680738272..4786b2213 100644
--- a/data/maps/BattleTower_Outside/scripts.inc
+++ b/data/maps/BattleTower_Outside/scripts.inc
@@ -11,7 +11,7 @@ BattleTower_Outside_MapScript1_16015C:: @ 816015C
BattleTower_Outside_EventScript_160168:: @ 8160168
lock
faceplayer
- msgbox BattleTower_Outside_Text_199D06, 4
+ msgbox BattleTower_Outside_Text_199D06, MSGBOX_DEFAULT
checkitem ITEM_SS_TICKET, 1
compare VAR_RESULT, 0
goto_if_eq BattleTower_Outside_EventScript_1601C6
@@ -30,7 +30,7 @@ BattleTower_Outside_EventScript_16018E:: @ 816018E
end
BattleTower_Outside_EventScript_1601C6:: @ 81601C6
- msgbox BattleTower_Outside_Text_199D40, 4
+ msgbox BattleTower_Outside_Text_199D40, MSGBOX_DEFAULT
release
end
@@ -38,7 +38,7 @@ BattleTower_Outside_EventScript_1601D0:: @ 81601D0
msgbox BattleTower_Outside_Text_199DF2, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleTower_Outside_EventScript_160226
- msgbox BattleTower_Outside_Text_199E4B, 4
+ msgbox BattleTower_Outside_Text_199E4B, MSGBOX_DEFAULT
call BattleTower_Outside_EventScript_160232
warp MAP_SLATEPORT_CITY_HARBOR, 255, 8, 11
waitstate
@@ -49,7 +49,7 @@ BattleTower_Outside_EventScript_1601FB:: @ 81601FB
msgbox BattleTower_Outside_Text_199E0E, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleTower_Outside_EventScript_160226
- msgbox BattleTower_Outside_Text_199E4B, 4
+ msgbox BattleTower_Outside_Text_199E4B, MSGBOX_DEFAULT
call BattleTower_Outside_EventScript_160232
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
waitstate
@@ -73,22 +73,22 @@ BattleTower_Outside_EventScript_160232:: @ 8160232
return
BattleTower_Outside_EventScript_160250:: @ 8160250
- msgbox BattleTower_Outside_Text_199E29, 4
+ msgbox BattleTower_Outside_Text_199E29, MSGBOX_DEFAULT
release
end
BattleTower_Outside_EventScript_16025A:: @ 816025A
- msgbox BattleTower_Outside_Text_199C6F, 3
+ msgbox BattleTower_Outside_Text_199C6F, MSGBOX_SIGN
end
BattleTower_Outside_EventScript_160263:: @ 8160263
- msgbox BattleTower_Outside_Text_199CA4, 2
+ msgbox BattleTower_Outside_Text_199CA4, MSGBOX_NPC
end
BattleTower_Outside_EventScript_16026C:: @ 816026C
- msgbox BattleTower_Outside_Text_199E9C, 2
+ msgbox BattleTower_Outside_Text_199E9C, MSGBOX_NPC
end
BattleTower_Outside_EventScript_160275:: @ 8160275
- msgbox BattleTower_Outside_Text_199ED4, 2
+ msgbox BattleTower_Outside_Text_199ED4, MSGBOX_NPC
end
diff --git a/data/maps/CaveOfOrigin_B4F/scripts.inc b/data/maps/CaveOfOrigin_B4F/scripts.inc
index b689d5158..1c5ef8c67 100644
--- a/data/maps/CaveOfOrigin_B4F/scripts.inc
+++ b/data/maps/CaveOfOrigin_B4F/scripts.inc
@@ -26,9 +26,9 @@ CaveOfOrigin_B4F_EventScript_15DDD7:: @ 815DDD7
applymovement 255, CaveOfOrigin_B4F_Movement_1A0841
waitmovement 0
.ifdef SAPPHIRE
- msgbox UnknownString_81B4F03, 4
+ msgbox UnknownString_81B4F03, MSGBOX_DEFAULT
.else
- msgbox CaveOfOrigin_B4F_Text_1B4FE4, 4
+ msgbox CaveOfOrigin_B4F_Text_1B4FE4, MSGBOX_DEFAULT
.endif
closemessage
setweather WEATHER_NONE
@@ -81,9 +81,9 @@ CaveOfOrigin_B4F_EventScript_15DDD7:: @ 815DDD7
CaveOfOrigin_B4F_EventScript_15DE73:: @ 815DE73
.ifdef SAPPHIRE
- msgbox UnknownString_81B4F29, 4
+ msgbox UnknownString_81B4F29, MSGBOX_DEFAULT
.else
- msgbox CaveOfOrigin_B4F_Text_1B5009, 4
+ msgbox CaveOfOrigin_B4F_Text_1B5009, MSGBOX_DEFAULT
.endif
closemessage
return
diff --git a/data/maps/DesertRuins/scripts.inc b/data/maps/DesertRuins/scripts.inc
index fefb24228..63c453726 100644
--- a/data/maps/DesertRuins/scripts.inc
+++ b/data/maps/DesertRuins/scripts.inc
@@ -39,7 +39,7 @@ DesertRuins_EventScript_15CB56:: @ 815CB56
end
DesertRuins_EventScript_15CB6D:: @ 815CB6D
- msgbox DesertRuins_Text_1A13BE, 4
+ msgbox DesertRuins_Text_1A13BE, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/DewfordTown/scripts.inc b/data/maps/DewfordTown/scripts.inc
index 6edcebc0d..b8fd5258f 100644
--- a/data/maps/DewfordTown/scripts.inc
+++ b/data/maps/DewfordTown/scripts.inc
@@ -21,21 +21,21 @@ DewfordTown_EventScript_14E002:: @ 814E002
end
DewfordTown_EventScript_14E04B:: @ 814E04B
- msgbox DewfordTown_Text_16B57D, 4
+ msgbox DewfordTown_Text_16B57D, MSGBOX_DEFAULT
closemessage
goto DewfordTown_EventScript_14E151
release
end
DewfordTown_EventScript_14E05B:: @ 814E05B
- msgbox DewfordTown_Text_16B5D2, 4
+ msgbox DewfordTown_Text_16B5D2, MSGBOX_DEFAULT
closemessage
goto DewfordTown_EventScript_14E1D8
release
end
DewfordTown_EventScript_14E06B:: @ 814E06B
- msgbox DewfordTown_Text_16B627, 4
+ msgbox DewfordTown_Text_16B627, MSGBOX_DEFAULT
closemessage
release
end
@@ -44,30 +44,30 @@ DewfordTown_EventScript_14E076:: @ 814E076
msgbox DewfordTown_Text_16B3BC, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq DewfordTown_EventScript_14E093
- msgbox DewfordTown_Text_16B471, 4
+ msgbox DewfordTown_Text_16B471, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_14E093:: @ 814E093
- msgbox DewfordTown_Text_16B417, 4
+ msgbox DewfordTown_Text_16B417, MSGBOX_DEFAULT
closemessage
goto DewfordTown_EventScript_14E151
end
DewfordTown_EventScript_14E0A2:: @ 814E0A2
- msgbox DewfordTown_Text_16B23B, 2
+ msgbox DewfordTown_Text_16B23B, MSGBOX_NPC
end
DewfordTown_EventScript_14E0AB:: @ 814E0AB
- msgbox DewfordTown_Text_16B2A7, 3
+ msgbox DewfordTown_Text_16B2A7, MSGBOX_SIGN
end
DewfordTown_EventScript_14E0B4:: @ 814E0B4
- msgbox DewfordTown_Text_16B2D5, 3
+ msgbox DewfordTown_Text_16B2D5, MSGBOX_SIGN
end
DewfordTown_EventScript_14E0BD:: @ 814E0BD
- msgbox DewfordTown_Text_16B317, 3
+ msgbox DewfordTown_Text_16B317, MSGBOX_SIGN
end
DewfordTown_EventScript_14E0C6:: @ 814E0C6
@@ -82,15 +82,15 @@ DewfordTown_EventScript_14E0C6:: @ 814E0C6
end
DewfordTown_EventScript_14E0F0:: @ 814E0F0
- msgbox DewfordTown_Text_16B6A8, 4
+ msgbox DewfordTown_Text_16B6A8, MSGBOX_DEFAULT
giveitem ITEM_OLD_ROD
setflag FLAG_RECEIVED_OLD_ROD
- msgbox DewfordTown_Text_16B6F9, 4
+ msgbox DewfordTown_Text_16B6F9, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_14E111:: @ 814E111
- msgbox DewfordTown_Text_16B828, 4
+ msgbox DewfordTown_Text_16B828, MSGBOX_DEFAULT
release
end
@@ -105,12 +105,12 @@ DewfordTown_EventScript_14E11B:: @ 814E11B
end
DewfordTown_EventScript_14E13D:: @ 814E13D
- msgbox DewfordTown_Text_16B866, 4
+ msgbox DewfordTown_Text_16B866, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_14E147:: @ 814E147
- msgbox DewfordTown_Text_16B89A, 4
+ msgbox DewfordTown_Text_16B89A, MSGBOX_DEFAULT
release
end
@@ -185,11 +185,11 @@ DewfordTown_EventScript_14E1D8:: @ 814E1D8
end
DewfordTown_EventScript_14E281:: @ 814E281
- msgbox DewfordTown_Text_16E080, 4
+ msgbox DewfordTown_Text_16E080, MSGBOX_DEFAULT
return
DewfordTown_EventScript_14E28A:: @ 814E28A
- msgbox DewfordTown_Text_16E1FA, 4
+ msgbox DewfordTown_Text_16E1FA, MSGBOX_DEFAULT
return
DewfordTown_Movement_14E293:: @ 814E293
@@ -602,12 +602,12 @@ DewfordTown_EventScript_14E413:: @ 814E413
end
DewfordTown_EventScript_14E439:: @ 814E439
- msgbox DewfordTown_Text_16BD37, 4
+ msgbox DewfordTown_Text_16BD37, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_14E443:: @ 814E443
- msgbox DewfordTown_Text_16BADC, 4
+ msgbox DewfordTown_Text_16BADC, MSGBOX_DEFAULT
setvar VAR_0x8004, 9
call DewfordTown_EventScript_1A00F3
lock
@@ -622,21 +622,21 @@ DewfordTown_EventScript_14E46E:: @ 814E46E
incrementgamestat GAME_STAT_STARTED_TRENDS
compare VAR_0x8004, 0
goto_if_eq DewfordTown_EventScript_14E48F
- msgbox DewfordTown_Text_16BB44, 4
+ msgbox DewfordTown_Text_16BB44, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_14E485:: @ 814E485
- msgbox DewfordTown_Text_16BCE9, 4
+ msgbox DewfordTown_Text_16BCE9, MSGBOX_DEFAULT
release
end
DewfordTown_EventScript_14E48F:: @ 814E48F
- msgbox DewfordTown_Text_16BCA2, 4
+ msgbox DewfordTown_Text_16BCA2, MSGBOX_DEFAULT
release
end
@ 814E499
- msgbox DewfordTown_Text_16BD79, 4
+ msgbox DewfordTown_Text_16BD79, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/DewfordTown_Gym/scripts.inc b/data/maps/DewfordTown_Gym/scripts.inc
index 5ed358647..993211980 100644
--- a/data/maps/DewfordTown_Gym/scripts.inc
+++ b/data/maps/DewfordTown_Gym/scripts.inc
@@ -97,7 +97,7 @@ DewfordTown_Gym_EventScript_153151:: @ 8153151
DewfordTown_Gym_EventScript_153152:: @ 8153152
trainerbattle_single TRAINER_BRAWLY, DewfordTown_Gym_Text_175182, DewfordTown_Gym_Text_175246, DewfordTown_Gym_EventScript_153177, NO_MUSIC
goto_if_unset FLAG_RECEIVED_TM08, DewfordTown_Gym_EventScript_1531B5
- msgbox DewfordTown_Gym_Text_175412, 4
+ msgbox DewfordTown_Gym_Text_175412, MSGBOX_DEFAULT
release
end
@@ -106,7 +106,7 @@ DewfordTown_Gym_EventScript_153177:: @ 8153177
message DewfordTown_Gym_Text_1752BB
waitmessage
call DewfordTown_Gym_EventScript_1A02C5
- msgbox DewfordTown_Gym_Text_1752E6, 4
+ msgbox DewfordTown_Gym_Text_1752E6, MSGBOX_DEFAULT
setflag FLAG_DEFEATED_DEWFORD_GYM
setflag FLAG_BADGE02_GET
addvar VAR_PETALBURG_GYM_STATE, 1
@@ -121,14 +121,14 @@ DewfordTown_Gym_EventScript_1531B5:: @ 81531B5
giveitem ITEM_TM08_BULK_UP
compare VAR_RESULT, 0
goto_if_eq DewfordTown_Gym_EventScript_1A029B
- msgbox DewfordTown_Gym_Text_1753BF, 4
+ msgbox DewfordTown_Gym_Text_1753BF, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_TM08
release
end
DewfordTown_Gym_EventScript_1531D9:: @ 81531D9
trainerbattle_single TRAINER_HIDEKI, DewfordTown_Gym_Text_174F61, DewfordTown_Gym_Text_174F7A, DewfordTown_Gym_EventScript_1531F4
- msgbox DewfordTown_Gym_Text_174F8E, 6
+ msgbox DewfordTown_Gym_Text_174F8E, MSGBOX_AUTOCLOSE
end
DewfordTown_Gym_EventScript_1531F4:: @ 81531F4
@@ -138,7 +138,7 @@ DewfordTown_Gym_EventScript_1531F4:: @ 81531F4
DewfordTown_Gym_EventScript_1531FB:: @ 81531FB
trainerbattle_single TRAINER_TESSA, DewfordTown_Gym_Text_174FCE, DewfordTown_Gym_Text_175009, DewfordTown_Gym_EventScript_153216
- msgbox DewfordTown_Gym_Text_175031, 6
+ msgbox DewfordTown_Gym_Text_175031, MSGBOX_AUTOCLOSE
end
DewfordTown_Gym_EventScript_153216:: @ 8153216
@@ -148,7 +148,7 @@ DewfordTown_Gym_EventScript_153216:: @ 8153216
DewfordTown_Gym_EventScript_15321D:: @ 815321D
trainerbattle_single TRAINER_LAURA, DewfordTown_Gym_Text_1750C9, DewfordTown_Gym_Text_175104, DewfordTown_Gym_EventScript_153238
- msgbox DewfordTown_Gym_Text_175117, 6
+ msgbox DewfordTown_Gym_Text_175117, MSGBOX_AUTOCLOSE
end
DewfordTown_Gym_EventScript_153238:: @ 8153238
@@ -160,12 +160,12 @@ DewfordTown_Gym_EventScript_15323F:: @ 815323F
lock
faceplayer
goto_if_set FLAG_DEFEATED_DEWFORD_GYM, DewfordTown_Gym_EventScript_153254
- msgbox DewfordTown_Gym_Text_174D98, 4
+ msgbox DewfordTown_Gym_Text_174D98, MSGBOX_DEFAULT
release
end
DewfordTown_Gym_EventScript_153254:: @ 8153254
- msgbox DewfordTown_Gym_Text_174F1E, 4
+ msgbox DewfordTown_Gym_Text_174F1E, MSGBOX_DEFAULT
release
end
@@ -182,11 +182,11 @@ DewfordTown_Gym_EventScript_15326E:: @ 815326E
end
DewfordTown_Gym_EventScript_15327E:: @ 815327E
- msgbox DewfordTown_Gym_Text_175490, 4
+ msgbox DewfordTown_Gym_Text_175490, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Gym_EventScript_153288:: @ 8153288
- msgbox DewfordTown_Gym_Text_175477, 4
+ msgbox DewfordTown_Gym_Text_175477, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/DewfordTown_Hall/scripts.inc b/data/maps/DewfordTown_Hall/scripts.inc
index 580d2275f..1c564f7ec 100644
--- a/data/maps/DewfordTown_Hall/scripts.inc
+++ b/data/maps/DewfordTown_Hall/scripts.inc
@@ -8,12 +8,12 @@ DewfordTown_Hall_EventScript_153293:: @ 8153293
special TrendyPhraseIsOld
compare VAR_RESULT, 1
goto_if_eq DewfordTown_Hall_EventScript_1532B2
- msgbox DewfordTown_Hall_Text_1754C9, 4
+ msgbox DewfordTown_Hall_Text_1754C9, MSGBOX_DEFAULT
release
end
DewfordTown_Hall_EventScript_1532B2:: @ 81532B2
- msgbox DewfordTown_Hall_Text_175528, 4
+ msgbox DewfordTown_Hall_Text_175528, MSGBOX_DEFAULT
release
end
@@ -21,7 +21,7 @@ DewfordTown_Hall_EventScript_1532BC:: @ 81532BC
lock
faceplayer
call DewfordTown_Hall_EventScript_1A0102
- msgbox DewfordTown_Hall_Text_17559E, 4
+ msgbox DewfordTown_Hall_Text_17559E, MSGBOX_DEFAULT
release
end
@@ -38,12 +38,12 @@ DewfordTown_Hall_EventScript_1532CD:: @ 81532CD
end
DewfordTown_Hall_EventScript_1532F6:: @ 81532F6
- msgbox DewfordTown_Hall_Text_175664, 4
+ msgbox DewfordTown_Hall_Text_175664, MSGBOX_DEFAULT
release
end
DewfordTown_Hall_EventScript_153300:: @ 8153300
- msgbox DewfordTown_Hall_Text_1756B7, 4
+ msgbox DewfordTown_Hall_Text_1756B7, MSGBOX_DEFAULT
release
end
@@ -51,7 +51,7 @@ DewfordTown_Hall_EventScript_15330A:: @ 815330A
lock
faceplayer
call DewfordTown_Hall_EventScript_1A0102
- msgbox DewfordTown_Hall_Text_17570D, 4
+ msgbox DewfordTown_Hall_Text_17570D, MSGBOX_DEFAULT
closemessage
applymovement 4, DewfordTown_Hall_Movement_1A0841
waitmovement 0
@@ -62,7 +62,7 @@ DewfordTown_Hall_EventScript_153326:: @ 8153326
lock
faceplayer
call DewfordTown_Hall_EventScript_1A0102
- msgbox DewfordTown_Hall_Text_17574C, 4
+ msgbox DewfordTown_Hall_Text_17574C, MSGBOX_DEFAULT
closemessage
applymovement 5, DewfordTown_Hall_Movement_1A0841
waitmovement 0
@@ -73,14 +73,14 @@ DewfordTown_Hall_EventScript_153342:: @ 8153342
lock
faceplayer
call DewfordTown_Hall_EventScript_1A0102
- msgbox DewfordTown_Hall_Text_175779, 4
+ msgbox DewfordTown_Hall_Text_175779, MSGBOX_DEFAULT
release
end
DewfordTown_Hall_EventScript_153353:: @ 8153353
lockall
call DewfordTown_Hall_EventScript_1A0102
- msgbox DewfordTown_Hall_Text_175842, 4
+ msgbox DewfordTown_Hall_Text_175842, MSGBOX_DEFAULT
releaseall
end
@@ -100,22 +100,22 @@ DewfordTown_Hall_EventScript_153363:: @ 8153363
end
DewfordTown_Hall_EventScript_1533CA:: @ 81533CA
- msgbox DewfordTown_Hall_Text_1758C4, 4
+ msgbox DewfordTown_Hall_Text_1758C4, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1533D4:: @ 81533D4
- msgbox DewfordTown_Hall_Text_1758E0, 4
+ msgbox DewfordTown_Hall_Text_1758E0, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1533DE:: @ 81533DE
- msgbox DewfordTown_Hall_Text_1758FB, 4
+ msgbox DewfordTown_Hall_Text_1758FB, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1533E8:: @ 81533E8
- msgbox DewfordTown_Hall_Text_175916, 4
+ msgbox DewfordTown_Hall_Text_175916, MSGBOX_DEFAULT
releaseall
end
@@ -147,41 +147,41 @@ DewfordTown_Hall_EventScript_15340A:: @ 815340A
DewfordTown_Hall_EventScript_153470:: @ 8153470
call DewfordTown_Hall_EventScript_1534FD
- msgbox DewfordTown_Hall_Text_175935, 4
+ msgbox DewfordTown_Hall_Text_175935, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_153535
- msgbox DewfordTown_Hall_Text_1759A1, 4
+ msgbox DewfordTown_Hall_Text_1759A1, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_15348C:: @ 815348C
call DewfordTown_Hall_EventScript_1534FD
- msgbox DewfordTown_Hall_Text_175A5C, 4
+ msgbox DewfordTown_Hall_Text_175A5C, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_153535
- msgbox DewfordTown_Hall_Text_175AD9, 4
+ msgbox DewfordTown_Hall_Text_175AD9, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1534A8:: @ 81534A8
call DewfordTown_Hall_EventScript_1534FD
- msgbox DewfordTown_Hall_Text_175B46, 4
+ msgbox DewfordTown_Hall_Text_175B46, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_153535
- msgbox DewfordTown_Hall_Text_175BA7, 4
+ msgbox DewfordTown_Hall_Text_175BA7, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1534C4:: @ 81534C4
call DewfordTown_Hall_EventScript_1534FD
- msgbox DewfordTown_Hall_Text_175C41, 4
+ msgbox DewfordTown_Hall_Text_175C41, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_153535
- msgbox DewfordTown_Hall_Text_175CC2, 4
+ msgbox DewfordTown_Hall_Text_175CC2, MSGBOX_DEFAULT
releaseall
end
DewfordTown_Hall_EventScript_1534E0:: @ 81534E0
call DewfordTown_Hall_EventScript_1534FD
- msgbox DewfordTown_Hall_Text_175D6B, 4
+ msgbox DewfordTown_Hall_Text_175D6B, MSGBOX_DEFAULT
call DewfordTown_Hall_EventScript_153535
- msgbox DewfordTown_Hall_Text_175DC3, 4
+ msgbox DewfordTown_Hall_Text_175DC3, MSGBOX_DEFAULT
releaseall
end
@@ -253,7 +253,7 @@ DewfordTown_Hall_EventScript_15359D:: @ 815359D
faceplayer
call DewfordTown_Hall_EventScript_1A0102
goto_if_set FLAG_RECEIVED_TM36, DewfordTown_Hall_EventScript_1535D1
- msgbox DewfordTown_Hall_Text_175E13, 4
+ msgbox DewfordTown_Hall_Text_175E13, MSGBOX_DEFAULT
giveitem ITEM_TM36_SLUDGE_BOMB
compare VAR_RESULT, 0
goto_if_eq DewfordTown_Hall_EventScript_1A029B
@@ -262,6 +262,6 @@ DewfordTown_Hall_EventScript_15359D:: @ 815359D
end
DewfordTown_Hall_EventScript_1535D1:: @ 81535D1
- msgbox DewfordTown_Hall_Text_175EBE, 4
+ msgbox DewfordTown_Hall_Text_175EBE, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/DewfordTown_House1/scripts.inc b/data/maps/DewfordTown_House1/scripts.inc
index 4a112eea2..808d0fdf7 100644
--- a/data/maps/DewfordTown_House1/scripts.inc
+++ b/data/maps/DewfordTown_House1/scripts.inc
@@ -2,11 +2,11 @@ DewfordTown_House1_MapScripts:: @ 8152FEE
.byte 0
DewfordTown_House1_EventScript_152FEF:: @ 8152FEF
- msgbox DewfordTown_House1_Text_174BA5, 2
+ msgbox DewfordTown_House1_Text_174BA5, MSGBOX_NPC
end
DewfordTown_House1_EventScript_152FF8:: @ 8152FF8
- msgbox DewfordTown_House1_Text_174C0D, 2
+ msgbox DewfordTown_House1_Text_174C0D, MSGBOX_NPC
end
DewfordTown_House1_EventScript_153001:: @ 8153001
@@ -14,7 +14,7 @@ DewfordTown_House1_EventScript_153001:: @ 8153001
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
- msgbox DewfordTown_House1_Text_174CC8, 4
+ msgbox DewfordTown_House1_Text_174CC8, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/DewfordTown_House2/scripts.inc b/data/maps/DewfordTown_House2/scripts.inc
index e5a4820cc..6748fb5e1 100644
--- a/data/maps/DewfordTown_House2/scripts.inc
+++ b/data/maps/DewfordTown_House2/scripts.inc
@@ -5,7 +5,7 @@ DewfordTown_House2_EventScript_1535DC:: @ 81535DC
lock
faceplayer
goto_if_set FLAG_RECEIVED_SILK_SCARF, DewfordTown_House2_EventScript_153615
- msgbox DewfordTown_House2_Text_175EFE, 4
+ msgbox DewfordTown_House2_Text_175EFE, MSGBOX_DEFAULT
giveitem ITEM_SILK_SCARF
compare VAR_RESULT, 0
goto_if_eq DewfordTown_House2_EventScript_15360B
@@ -14,15 +14,15 @@ DewfordTown_House2_EventScript_1535DC:: @ 81535DC
end
DewfordTown_House2_EventScript_15360B:: @ 815360B
- msgbox DewfordTown_House2_Text_175FDA, 4
+ msgbox DewfordTown_House2_Text_175FDA, MSGBOX_DEFAULT
release
end
DewfordTown_House2_EventScript_153615:: @ 8153615
- msgbox DewfordTown_House2_Text_176055, 4
+ msgbox DewfordTown_House2_Text_176055, MSGBOX_DEFAULT
release
end
DewfordTown_House2_EventScript_15361F:: @ 815361F
- msgbox DewfordTown_House2_Text_1760C8, 2
+ msgbox DewfordTown_House2_Text_1760C8, MSGBOX_NPC
end
diff --git a/data/maps/DewfordTown_PokemonCenter_1F/scripts.inc b/data/maps/DewfordTown_PokemonCenter_1F/scripts.inc
index 5408bef63..7c8434533 100644
--- a/data/maps/DewfordTown_PokemonCenter_1F/scripts.inc
+++ b/data/maps/DewfordTown_PokemonCenter_1F/scripts.inc
@@ -16,9 +16,9 @@ DewfordTown_PokemonCenter_1F_EventScript_153023:: @ 8153023
end
DewfordTown_PokemonCenter_1F_EventScript_153031:: @ 8153031
- msgbox DewfordTown_PokemonCenter_1F_Text_174CDB, 2
+ msgbox DewfordTown_PokemonCenter_1F_Text_174CDB, MSGBOX_NPC
end
DewfordTown_PokemonCenter_1F_EventScript_15303A:: @ 815303A
- msgbox DewfordTown_PokemonCenter_1F_Text_174D32, 2
+ msgbox DewfordTown_PokemonCenter_1F_Text_174D32, MSGBOX_NPC
end
diff --git a/data/maps/EverGrandeCity/scripts.inc b/data/maps/EverGrandeCity/scripts.inc
index 293780716..298f6cbb9 100644
--- a/data/maps/EverGrandeCity/scripts.inc
+++ b/data/maps/EverGrandeCity/scripts.inc
@@ -7,15 +7,15 @@ EverGrandeCity_MapScript1_14D4DB:: @ 814D4DB
end
EverGrandeCity_EventScript_14D4E5:: @ 814D4E5
- msgbox EverGrandeCity_Text_16A74D, 3
+ msgbox EverGrandeCity_Text_16A74D, MSGBOX_SIGN
end
EverGrandeCity_EventScript_14D4EE:: @ 814D4EE
- msgbox EverGrandeCity_Text_16A787, 3
+ msgbox EverGrandeCity_Text_16A787, MSGBOX_SIGN
end
EverGrandeCity_EventScript_14D4F7:: @ 814D4F7
- msgbox EverGrandeCity_Text_16A763, 3
+ msgbox EverGrandeCity_Text_16A763, MSGBOX_SIGN
end
EverGrandeCity_EventScript_14D500:: @ 814D500
diff --git a/data/maps/EverGrandeCity_ChampionsRoom/scripts.inc b/data/maps/EverGrandeCity_ChampionsRoom/scripts.inc
index 677f50997..69feb09a6 100644
--- a/data/maps/EverGrandeCity_ChampionsRoom/scripts.inc
+++ b/data/maps/EverGrandeCity_ChampionsRoom/scripts.inc
@@ -39,7 +39,7 @@ EverGrandeCity_ChampionsRoom_Movement_15B802:: @ 815B802
EverGrandeCity_ChampionsRoom_EventScript_15B805:: @ 815B805
playbgm MUS_DAIGO, FALSE
- msgbox EverGrandeCity_ChampionsRoom_Text_190F9C, 4
+ msgbox EverGrandeCity_ChampionsRoom_Text_190F9C, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_STEVEN, EverGrandeCity_ChampionsRoom_Text_1910A0
goto EverGrandeCity_ChampionsRoom_EventScript_15B821
end
@@ -49,7 +49,7 @@ EverGrandeCity_ChampionsRoom_EventScript_15B821:: @ 815B821
setmetatile 6, 1, METATILE_EliteFour_OpenDoorChampion_Frame, 0
setmetatile 6, 2, METATILE_EliteFour_OpenDoorChampion_Opening, 0
special DrawWholeMapView
- msgbox EverGrandeCity_ChampionsRoom_Text_1910FE, 4
+ msgbox EverGrandeCity_ChampionsRoom_Text_1910FE, MSGBOX_DEFAULT
closemessage
playse SE_DOOR
checkplayergender
@@ -75,7 +75,7 @@ EverGrandeCity_ChampionsRoom_EventScript_15B881:: @ 815B881
return
EverGrandeCity_ChampionsRoom_EventScript_15B886:: @ 815B886
- msgbox EverGrandeCity_ChampionsRoom_Text_191225, 4
+ msgbox EverGrandeCity_ChampionsRoom_Text_191225, MSGBOX_DEFAULT
delay 40
playse SE_PIN
applymovement 2, EverGrandeCity_ChampionsRoom_Movement_1A0833
@@ -83,12 +83,12 @@ EverGrandeCity_ChampionsRoom_EventScript_15B886:: @ 815B886
applymovement 2, EverGrandeCity_ChampionsRoom_Movement_1A0835
waitmovement 0
call EverGrandeCity_ChampionsRoom_EventScript_15B9D2
- msgbox EverGrandeCity_ChampionsRoom_Text_191268, 4
+ msgbox EverGrandeCity_ChampionsRoom_Text_191268, MSGBOX_DEFAULT
goto EverGrandeCity_ChampionsRoom_EventScript_15B8F0
end
EverGrandeCity_ChampionsRoom_EventScript_15B8BB:: @ 815B8BB
- msgbox EverGrandeCity_ChampionsRoom_Text_1912B3, 4
+ msgbox EverGrandeCity_ChampionsRoom_Text_1912B3, MSGBOX_DEFAULT
delay 40
playse SE_PIN
applymovement 2, EverGrandeCity_ChampionsRoom_Movement_1A0833
@@ -96,7 +96,7 @@ EverGrandeCity_ChampionsRoom_EventScript_15B8BB:: @ 815B8BB
applymovement 2, EverGrandeCity_ChampionsRoom_Movement_1A0835
waitmovement 0
call EverGrandeCity_ChampionsRoom_EventScript_15B9D2
- msgbox EverGrandeCity_ChampionsRoom_Text_191305, 4
+ msgbox EverGrandeCity_ChampionsRoom_Text_191305, MSGBOX_DEFAULT
goto EverGrandeCity_ChampionsRoom_EventScript_15B8F0
end
@@ -107,15 +107,15 @@ EverGrandeCity_ChampionsRoom_EventScript_15B8F0:: @ 815B8F0
waitmovement 0
applymovement 255, EverGrandeCity_ChampionsRoom_Movement_1A0843
waitmovement 0
- msgbox EverGrandeCity_ChampionsRoom_Text_19134D, 4
+ msgbox EverGrandeCity_ChampionsRoom_Text_19134D, MSGBOX_DEFAULT
call EverGrandeCity_ChampionsRoom_EventScript_1A03B0
- msgbox EverGrandeCity_ChampionsRoom_Text_1914C6, 4
+ msgbox EverGrandeCity_ChampionsRoom_Text_1914C6, MSGBOX_DEFAULT
applymovement 1, EverGrandeCity_ChampionsRoom_Movement_1A0841
waitmovement 0
delay 20
applymovement 1, EverGrandeCity_ChampionsRoom_Movement_1A0845
waitmovement 0
- msgbox EverGrandeCity_ChampionsRoom_Text_191512, 4
+ msgbox EverGrandeCity_ChampionsRoom_Text_191512, MSGBOX_DEFAULT
closemessage
delay 30
applymovement 1, EverGrandeCity_ChampionsRoom_Movement_15B9FB
@@ -126,7 +126,7 @@ EverGrandeCity_ChampionsRoom_EventScript_15B8F0:: @ 815B8F0
delay 20
applymovement 255, EverGrandeCity_ChampionsRoom_Movement_1A0845
waitmovement 0
- msgbox EverGrandeCity_ChampionsRoom_Text_191546, 4
+ msgbox EverGrandeCity_ChampionsRoom_Text_191546, MSGBOX_DEFAULT
checkplayergender
compare VAR_RESULT, 0
call_if_eq EverGrandeCity_ChampionsRoom_EventScript_15B9AB
@@ -143,11 +143,11 @@ EverGrandeCity_ChampionsRoom_EventScript_15B8F0:: @ 815B8F0
end
EverGrandeCity_ChampionsRoom_EventScript_15B9AB:: @ 815B9AB
- msgbox EverGrandeCity_ChampionsRoom_Text_1915D7, 4
+ msgbox EverGrandeCity_ChampionsRoom_Text_1915D7, MSGBOX_DEFAULT
return
EverGrandeCity_ChampionsRoom_EventScript_15B9B4:: @ 815B9B4
- msgbox EverGrandeCity_ChampionsRoom_Text_191675, 4
+ msgbox EverGrandeCity_ChampionsRoom_Text_191675, MSGBOX_DEFAULT
return
EverGrandeCity_ChampionsRoom_EventScript_15B9BD:: @ 815B9BD
diff --git a/data/maps/EverGrandeCity_DrakesRoom/scripts.inc b/data/maps/EverGrandeCity_DrakesRoom/scripts.inc
index a3661751c..e5e772e71 100644
--- a/data/maps/EverGrandeCity_DrakesRoom/scripts.inc
+++ b/data/maps/EverGrandeCity_DrakesRoom/scripts.inc
@@ -42,13 +42,13 @@ EverGrandeCity_DrakesRoom_EventScript_15B764:: @ 815B764
faceplayer
goto_if_set FLAG_DEFEATED_ELITE_4_DRAKE, EverGrandeCity_DrakesRoom_EventScript_15B78B
playbgm MUS_SITENNOU, FALSE
- msgbox EverGrandeCity_DrakesRoom_Text_190CEB, 4
+ msgbox EverGrandeCity_DrakesRoom_Text_190CEB, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_DRAKE, EverGrandeCity_DrakesRoom_Text_190E42
goto EverGrandeCity_DrakesRoom_EventScript_15B795
end
EverGrandeCity_DrakesRoom_EventScript_15B78B:: @ 815B78B
- msgbox EverGrandeCity_DrakesRoom_Text_190E5D, 4
+ msgbox EverGrandeCity_DrakesRoom_Text_190E5D, MSGBOX_DEFAULT
release
end
@@ -57,6 +57,6 @@ EverGrandeCity_DrakesRoom_EventScript_15B795:: @ 815B795
special sub_810FF60
setflag FLAG_DEFEATED_ELITE_4_DRAKE
call EverGrandeCity_DrakesRoom_EventScript_1A0693
- msgbox EverGrandeCity_DrakesRoom_Text_190E5D, 4
+ msgbox EverGrandeCity_DrakesRoom_Text_190E5D, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/EverGrandeCity_GlaciasRoom/scripts.inc b/data/maps/EverGrandeCity_GlaciasRoom/scripts.inc
index 572617e5c..4d51d98a1 100644
--- a/data/maps/EverGrandeCity_GlaciasRoom/scripts.inc
+++ b/data/maps/EverGrandeCity_GlaciasRoom/scripts.inc
@@ -42,19 +42,19 @@ EverGrandeCity_GlaciasRoom_EventScript_15B6CA:: @ 815B6CA
faceplayer
goto_if_set FLAG_DEFEATED_ELITE_4_GLACIA, EverGrandeCity_GlaciasRoom_EventScript_15B6F1
playbgm MUS_SITENNOU, FALSE
- msgbox EverGrandeCity_GlaciasRoom_Text_190AF9, 4
+ msgbox EverGrandeCity_GlaciasRoom_Text_190AF9, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GLACIA, EverGrandeCity_GlaciasRoom_Text_190C01
goto EverGrandeCity_GlaciasRoom_EventScript_15B6FB
end
EverGrandeCity_GlaciasRoom_EventScript_15B6F1:: @ 815B6F1
- msgbox EverGrandeCity_GlaciasRoom_Text_190C8F, 4
+ msgbox EverGrandeCity_GlaciasRoom_Text_190C8F, MSGBOX_DEFAULT
release
end
EverGrandeCity_GlaciasRoom_EventScript_15B6FB:: @ 815B6FB
setflag FLAG_DEFEATED_ELITE_4_GLACIA
call EverGrandeCity_GlaciasRoom_EventScript_1A0693
- msgbox EverGrandeCity_GlaciasRoom_Text_190C8F, 4
+ msgbox EverGrandeCity_GlaciasRoom_Text_190C8F, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/EverGrandeCity_HallOfFame/scripts.inc b/data/maps/EverGrandeCity_HallOfFame/scripts.inc
index 22cd64497..6dbb3f68e 100644
--- a/data/maps/EverGrandeCity_HallOfFame/scripts.inc
+++ b/data/maps/EverGrandeCity_HallOfFame/scripts.inc
@@ -23,7 +23,7 @@ EverGrandeCity_HallOfFame_EventScript_15BBA8:: @ 815BBA8
applymovement 1, EverGrandeCity_HallOfFame_Movement_1A0843
applymovement 255, EverGrandeCity_HallOfFame_Movement_1A083F
waitmovement 0
- msgbox EverGrandeCity_HallOfFame_Text_191841, 4
+ msgbox EverGrandeCity_HallOfFame_Text_191841, MSGBOX_DEFAULT
closemessage
applymovement 1, EverGrandeCity_HallOfFame_Movement_15BC60
applymovement 255, EverGrandeCity_HallOfFame_Movement_15BC60
@@ -32,7 +32,7 @@ EverGrandeCity_HallOfFame_EventScript_15BBA8:: @ 815BBA8
applymovement 1, EverGrandeCity_HallOfFame_Movement_1A0843
applymovement 255, EverGrandeCity_HallOfFame_Movement_1A083F
waitmovement 0
- msgbox EverGrandeCity_HallOfFame_Text_1918D7, 4
+ msgbox EverGrandeCity_HallOfFame_Text_1918D7, MSGBOX_DEFAULT
closemessage
applymovement 1, EverGrandeCity_HallOfFame_Movement_1A0841
applymovement 255, EverGrandeCity_HallOfFame_Movement_1A0841
diff --git a/data/maps/EverGrandeCity_PhoebesRoom/scripts.inc b/data/maps/EverGrandeCity_PhoebesRoom/scripts.inc
index a833bbeb9..e36247e07 100644
--- a/data/maps/EverGrandeCity_PhoebesRoom/scripts.inc
+++ b/data/maps/EverGrandeCity_PhoebesRoom/scripts.inc
@@ -42,19 +42,19 @@ EverGrandeCity_PhoebesRoom_EventScript_15B630:: @ 815B630
faceplayer
goto_if_set FLAG_DEFEATED_ELITE_4_PHOEBE, EverGrandeCity_PhoebesRoom_EventScript_15B657
playbgm MUS_SITENNOU, FALSE
- msgbox EverGrandeCity_PhoebesRoom_Text_1908F5, 4
+ msgbox EverGrandeCity_PhoebesRoom_Text_1908F5, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_PHOEBE, EverGrandeCity_PhoebesRoom_Text_190A0C
goto EverGrandeCity_PhoebesRoom_EventScript_15B661
end
EverGrandeCity_PhoebesRoom_EventScript_15B657:: @ 815B657
- msgbox EverGrandeCity_PhoebesRoom_Text_190A2A, 4
+ msgbox EverGrandeCity_PhoebesRoom_Text_190A2A, MSGBOX_DEFAULT
release
end
EverGrandeCity_PhoebesRoom_EventScript_15B661:: @ 815B661
setflag FLAG_DEFEATED_ELITE_4_PHOEBE
call EverGrandeCity_PhoebesRoom_EventScript_1A0693
- msgbox EverGrandeCity_PhoebesRoom_Text_190A2A, 4
+ msgbox EverGrandeCity_PhoebesRoom_Text_190A2A, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc b/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc
index 75793b737..d45441711 100644
--- a/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/EverGrandeCity_PokemonCenter_1F/scripts.inc
@@ -16,9 +16,9 @@ SootopolisCity_PokemonCenter_1F_EventScript_15BC70:: @ 815BC70
end
EverGrandeCity_PokemonCenter_1F_EventScript_15BC7E:: @ 815BC7E
- msgbox EverGrandeCity_PokemonCenter_1F_Text_191967, 2
+ msgbox EverGrandeCity_PokemonCenter_1F_Text_191967, MSGBOX_NPC
end
EverGrandeCity_PokemonCenter_1F_EventScript_15BC87:: @ 815BC87
- msgbox EverGrandeCity_PokemonCenter_1F_Text_1919EF, 2
+ msgbox EverGrandeCity_PokemonCenter_1F_Text_1919EF, MSGBOX_NPC
end
diff --git a/data/maps/EverGrandeCity_PokemonLeague/scripts.inc b/data/maps/EverGrandeCity_PokemonLeague/scripts.inc
index 7191b6e3e..26fd460eb 100644
--- a/data/maps/EverGrandeCity_PokemonLeague/scripts.inc
+++ b/data/maps/EverGrandeCity_PokemonLeague/scripts.inc
@@ -27,7 +27,7 @@ EverGrandeCity_PokemonLeague_EventScript_15BAA8:: @ 815BAA8
message EverGrandeCity_PokemonLeague_Text_1A0BE4
waitmessage
pokemart EverGrandeCity_PokemonLeague_Items
- msgbox EverGrandeCity_PokemonLeague_Text_1A0C02, 4
+ msgbox EverGrandeCity_PokemonLeague_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -84,14 +84,14 @@ EverGrandeCity_PokemonLeague_EventScript_15BB3F:: @ 815BB3F
EverGrandeCity_PokemonLeague_EventScript_15BB4A:: @ 815BB4A
playse SE_HAZURE
- msgbox EverGrandeCity_PokemonLeague_Text_19179C, 4
+ msgbox EverGrandeCity_PokemonLeague_Text_19179C, MSGBOX_DEFAULT
releaseall
end
EverGrandeCity_PokemonLeague_EventScript_15BB57:: @ 815BB57
applymovement VAR_LAST_TALKED, EverGrandeCity_PokemonLeague_Movement_1A0839
waitmovement 0
- msgbox EverGrandeCity_PokemonLeague_Text_191804, 4
+ msgbox EverGrandeCity_PokemonLeague_Text_191804, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, EverGrandeCity_PokemonLeague_Movement_1A083D
waitmovement 0
diff --git a/data/maps/EverGrandeCity_SidneysRoom/scripts.inc b/data/maps/EverGrandeCity_SidneysRoom/scripts.inc
index 5af0e7dcd..041854255 100644
--- a/data/maps/EverGrandeCity_SidneysRoom/scripts.inc
+++ b/data/maps/EverGrandeCity_SidneysRoom/scripts.inc
@@ -43,19 +43,19 @@ EverGrandeCity_SidneysRoom_EventScript_15B596:: @ 815B596
faceplayer
goto_if_set FLAG_DEFEATED_ELITE_4_SYDNEY, EverGrandeCity_SidneysRoom_EventScript_15B5BD
playbgm MUS_SITENNOU, FALSE
- msgbox EverGrandeCity_SidneysRoom_Text_190728, 4
+ msgbox EverGrandeCity_SidneysRoom_Text_190728, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_SIDNEY, EverGrandeCity_SidneysRoom_Text_190823
goto EverGrandeCity_SidneysRoom_EventScript_15B5C7
end
EverGrandeCity_SidneysRoom_EventScript_15B5BD:: @ 815B5BD
- msgbox EverGrandeCity_SidneysRoom_Text_19086D, 4
+ msgbox EverGrandeCity_SidneysRoom_Text_19086D, MSGBOX_DEFAULT
release
end
EverGrandeCity_SidneysRoom_EventScript_15B5C7:: @ 815B5C7
setflag FLAG_DEFEATED_ELITE_4_SYDNEY
call EverGrandeCity_SidneysRoom_EventScript_1A0693
- msgbox EverGrandeCity_SidneysRoom_Text_19086D, 4
+ msgbox EverGrandeCity_SidneysRoom_Text_19086D, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/FallarborTown/scripts.inc b/data/maps/FallarborTown/scripts.inc
index a168a0ef5..7ffa4863a 100644
--- a/data/maps/FallarborTown/scripts.inc
+++ b/data/maps/FallarborTown/scripts.inc
@@ -13,21 +13,21 @@ FallarborTown_EventScript_14E7F5:: @ 814E7F5
lock
faceplayer
goto_if_set FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY, FallarborTown_EventScript_14E80A
- msgbox FallarborTown_Text_16C7FF, 4
+ msgbox FallarborTown_Text_16C7FF, MSGBOX_DEFAULT
release
end
FallarborTown_EventScript_14E80A:: @ 814E80A
- msgbox FallarborTown_Text_16C855, 4
+ msgbox FallarborTown_Text_16C855, MSGBOX_DEFAULT
release
end
FallarborTown_EventScript_14E814:: @ 814E814
- msgbox FallarborTown_Text_16C8D6, 2
+ msgbox FallarborTown_Text_16C8D6, MSGBOX_NPC
end
FallarborTown_EventScript_14E81D:: @ 814E81D
- msgbox FallarborTown_Text_16C941, 2
+ msgbox FallarborTown_Text_16C941, MSGBOX_NPC
end
FallarborTown_EventScript_14E826:: @ 814E826
@@ -35,21 +35,21 @@ FallarborTown_EventScript_14E826:: @ 814E826
faceplayer
waitse
playmoncry SPECIES_AZURILL, 0
- msgbox FallarborTown_Text_16C92C, 4
+ msgbox FallarborTown_Text_16C92C, MSGBOX_DEFAULT
waitmoncry
release
end
FallarborTown_EventScript_14E839:: @ 814E839
- msgbox FallarborTown_Text_16CA39, 3
+ msgbox FallarborTown_Text_16CA39, MSGBOX_SIGN
end
FallarborTown_EventScript_14E842:: @ 814E842
MeteorFalls_1F_1R_EventScript_14E842:: @ 814E842
MeteorFalls_1F_2R_EventScript_14E842:: @ 814E842
- msgbox FallarborTown_Text_16CA83, 3
+ msgbox FallarborTown_Text_16CA83, MSGBOX_SIGN
end
FallarborTown_EventScript_14E84B:: @ 814E84B
- msgbox FallarborTown_Text_16CAB9, 3
+ msgbox FallarborTown_Text_16CAB9, MSGBOX_SIGN
end
diff --git a/data/maps/FallarborTown_ContestHall/scripts.inc b/data/maps/FallarborTown_ContestHall/scripts.inc
index e3fcfd9bc..34ece82e2 100644
--- a/data/maps/FallarborTown_ContestHall/scripts.inc
+++ b/data/maps/FallarborTown_ContestHall/scripts.inc
@@ -2,17 +2,17 @@ FallarborTown_ContestHall_MapScripts:: @ 8153ACE
.byte 0
FallarborTown_ContestHall_EventScript_153ACF:: @ 8153ACF
- msgbox FallarborTown_ContestHall_Text_177335, 2
+ msgbox FallarborTown_ContestHall_Text_177335, MSGBOX_NPC
end
FallarborTown_ContestHall_EventScript_153AD8:: @ 8153AD8
- msgbox FallarborTown_ContestHall_Text_1773C6, 2
+ msgbox FallarborTown_ContestHall_Text_1773C6, MSGBOX_NPC
end
FallarborTown_ContestHall_EventScript_153AE1:: @ 8153AE1
- msgbox FallarborTown_ContestHall_Text_177437, 2
+ msgbox FallarborTown_ContestHall_Text_177437, MSGBOX_NPC
end
FallarborTown_ContestHall_EventScript_153AEA:: @ 8153AEA
- msgbox FallarborTown_ContestHall_Text_1774B1, 3
+ msgbox FallarborTown_ContestHall_Text_1774B1, MSGBOX_SIGN
end
diff --git a/data/maps/FallarborTown_ContestLobby/scripts.inc b/data/maps/FallarborTown_ContestLobby/scripts.inc
index 2f71a6f3b..8c6bc3f44 100644
--- a/data/maps/FallarborTown_ContestLobby/scripts.inc
+++ b/data/maps/FallarborTown_ContestLobby/scripts.inc
@@ -37,7 +37,7 @@ FallarborTown_ContestLobby_EventScript_1539F8:: @ 81539F8
waitmovement 0
applymovement 255, FallarborTown_ContestLobby_Movement_153A7A
waitmovement 0
- msgbox FallarborTown_ContestLobby_Text_1A6832, 4
+ msgbox FallarborTown_ContestLobby_Text_1A6832, MSGBOX_DEFAULT
closemessage
applymovement 1, FallarborTown_ContestLobby_Movement_153A83
applymovement 255, FallarborTown_ContestLobby_Movement_153A70
@@ -88,20 +88,20 @@ FallarborTown_ContestLobby_Movement_153A8C:: @ 8153A8C
end_movement
FallarborTown_ContestLobby_EventScript_153A8E:: @ 8153A8E
- msgbox FallarborTown_ContestLobby_Text_177141, 2
+ msgbox FallarborTown_ContestLobby_Text_177141, MSGBOX_NPC
end
FallarborTown_ContestLobby_EventScript_153A97:: @ 8153A97
goto_if_set FLAG_CONTEST_SKETCH_CREATED, FallarborTown_ContestLobby_EventScript_153AA9
- msgbox FallarborTown_ContestLobby_Text_177246, 2
+ msgbox FallarborTown_ContestLobby_Text_177246, MSGBOX_NPC
end
FallarborTown_ContestLobby_EventScript_153AA9:: @ 8153AA9
- msgbox FallarborTown_ContestLobby_Text_1772D8, 2
+ msgbox FallarborTown_ContestLobby_Text_1772D8, MSGBOX_NPC
end
FallarborTown_ContestLobby_EventScript_153AB2:: @ 8153AB2
- msgbox FallarborTown_ContestLobby_Text_1771F2, 2
+ msgbox FallarborTown_ContestLobby_Text_1771F2, MSGBOX_NPC
end
FallarborTown_ContestLobby_EventScript_153ABB:: @ 8153ABB
diff --git a/data/maps/FallarborTown_House1/scripts.inc b/data/maps/FallarborTown_House1/scripts.inc
index c2d1b5af7..46eeb0968 100644
--- a/data/maps/FallarborTown_House1/scripts.inc
+++ b/data/maps/FallarborTown_House1/scripts.inc
@@ -12,7 +12,7 @@ FallarborTown_House1_EventScript_153BB5:: @ 8153BB5
checkitem ITEM_METEORITE, 1
compare VAR_RESULT, 1
goto_if_eq FallarborTown_House1_EventScript_153BDA
- msgbox FallarborTown_House1_Text_177755, 4
+ msgbox FallarborTown_House1_Text_177755, MSGBOX_DEFAULT
release
end
@@ -21,19 +21,19 @@ FallarborTown_House1_EventScript_153BDA:: @ 8153BDA
call_if_set FLAG_TEMP_2, FallarborTown_House1_EventScript_153C3E
compare VAR_RESULT, NO
goto_if_eq FallarborTown_House1_EventScript_153C47
- msgbox FallarborTown_House1_Text_1778C4, 4
+ msgbox FallarborTown_House1_Text_1778C4, MSGBOX_DEFAULT
giveitem ITEM_TM27_RETURN
compare VAR_RESULT, 0
goto_if_eq FallarborTown_House1_EventScript_1A029B
setvar VAR_0x8004, 280
call FallarborTown_House1_EventScript_1A067F
setflag FLAG_RECEIVED_TM27
- msgbox FallarborTown_House1_Text_177910, 4
+ msgbox FallarborTown_House1_Text_177910, MSGBOX_DEFAULT
release
end
FallarborTown_House1_EventScript_153C2D:: @ 8153C2D
- msgbox FallarborTown_House1_Text_177755, 4
+ msgbox FallarborTown_House1_Text_177755, MSGBOX_DEFAULT
msgbox FallarborTown_House1_Text_17780E, MSGBOX_YESNO
return
@@ -43,12 +43,12 @@ FallarborTown_House1_EventScript_153C3E:: @ 8153C3E
FallarborTown_House1_EventScript_153C47:: @ 8153C47
setflag FLAG_TEMP_2
- msgbox FallarborTown_House1_Text_17797D, 4
+ msgbox FallarborTown_House1_Text_17797D, MSGBOX_DEFAULT
release
end
FallarborTown_House1_EventScript_153C54:: @ 8153C54
- msgbox FallarborTown_House1_Text_177910, 4
+ msgbox FallarborTown_House1_Text_177910, MSGBOX_DEFAULT
release
end
@@ -57,16 +57,16 @@ FallarborTown_House1_EventScript_153C5E:: @ 8153C5E
faceplayer
goto_if_set FLAG_RECEIVED_TM27, FallarborTown_House1_EventScript_153C86
goto_if_set FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY, FallarborTown_House1_EventScript_153C7C
- msgbox FallarborTown_House1_Text_177A2B, 4
+ msgbox FallarborTown_House1_Text_177A2B, MSGBOX_DEFAULT
release
end
FallarborTown_House1_EventScript_153C7C:: @ 8153C7C
- msgbox FallarborTown_House1_Text_177A7C, 4
+ msgbox FallarborTown_House1_Text_177A7C, MSGBOX_DEFAULT
release
end
FallarborTown_House1_EventScript_153C86:: @ 8153C86
- msgbox FallarborTown_House1_Text_177ABB, 4
+ msgbox FallarborTown_House1_Text_177ABB, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/FallarborTown_House2/scripts.inc b/data/maps/FallarborTown_House2/scripts.inc
index d6281293c..2f573c08d 100644
--- a/data/maps/FallarborTown_House2/scripts.inc
+++ b/data/maps/FallarborTown_House2/scripts.inc
@@ -6,7 +6,7 @@ FallarborTown_House2_EventScript_153C91:: @ 8153C91
applymovement 1, FallarborTown_House2_Movement_1A0839
waitmovement 0
goto_if_set FLAG_TEMP_1, FallarborTown_House2_EventScript_153CB6
- msgbox FallarborTown_House2_Text_177AF4, 4
+ msgbox FallarborTown_House2_Text_177AF4, MSGBOX_DEFAULT
setflag FLAG_TEMP_1
goto FallarborTown_House2_EventScript_153CB6
end
@@ -22,7 +22,7 @@ FallarborTown_House2_EventScript_153CB6:: @ 8153CB6
end
FallarborTown_House2_EventScript_153CE4:: @ 8153CE4
- msgbox FallarborTown_House2_Text_177C3F, 4
+ msgbox FallarborTown_House2_Text_177C3F, MSGBOX_DEFAULT
special SelectMoveTutorMon
waitstate
compare VAR_0x8004, 255
@@ -36,27 +36,27 @@ FallarborTown_House2_EventScript_153CE4:: @ 8153CE4
end
FallarborTown_House2_EventScript_153D1A:: @ 8153D1A
- msgbox FallarborTown_House2_Text_177C5D, 4
+ msgbox FallarborTown_House2_Text_177C5D, MSGBOX_DEFAULT
special DisplayMoveTutorMenu
waitstate
compare VAR_0x8004, 0
goto_if_eq FallarborTown_House2_EventScript_153CE4
- msgbox FallarborTown_House2_Text_177CC3, 4
+ msgbox FallarborTown_House2_Text_177CC3, MSGBOX_DEFAULT
removeitem ITEM_HEART_SCALE
goto FallarborTown_House2_EventScript_153D60
end
FallarborTown_House2_EventScript_153D44:: @ 8153D44
- msgbox FallarborTown_House2_Text_177C78, 4
+ msgbox FallarborTown_House2_Text_177C78, MSGBOX_DEFAULT
goto FallarborTown_House2_EventScript_153CE4
end
FallarborTown_House2_EventScript_153D52:: @ 8153D52
- msgbox FallarborTown_House2_Text_177D33, 4
+ msgbox FallarborTown_House2_Text_177D33, MSGBOX_DEFAULT
goto FallarborTown_House2_EventScript_153CE4
end
FallarborTown_House2_EventScript_153D60:: @ 8153D60
- msgbox FallarborTown_House2_Text_177CEF, 4
+ msgbox FallarborTown_House2_Text_177CEF, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/FallarborTown_Mart/scripts.inc b/data/maps/FallarborTown_Mart/scripts.inc
index cfd239e8a..ba49b95f3 100644
--- a/data/maps/FallarborTown_Mart/scripts.inc
+++ b/data/maps/FallarborTown_Mart/scripts.inc
@@ -7,7 +7,7 @@ FallarborTown_Mart_EventScript_153967:: @ 8153967
message FallarborTown_Mart_Text_1A0BE4
waitmessage
pokemart FallarborTown_Mart_Items
- msgbox FallarborTown_Mart_Text_1A0C02, 4
+ msgbox FallarborTown_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -30,11 +30,11 @@ FallarborTown_Mart_Items:: @ 8153980
end
FallarborTown_Mart_EventScript_15399C:: @ 815399C
- msgbox FallarborTown_Mart_Text_176FF0, 2
+ msgbox FallarborTown_Mart_Text_176FF0, MSGBOX_NPC
end
FallarborTown_Mart_EventScript_1539A5:: @ 81539A5
- msgbox FallarborTown_Mart_Text_1770E2, 2
+ msgbox FallarborTown_Mart_Text_1770E2, MSGBOX_NPC
end
FallarborTown_Mart_EventScript_1539AE:: @ 81539AE
@@ -42,7 +42,7 @@ FallarborTown_Mart_EventScript_1539AE:: @ 81539AE
faceplayer
waitse
playmoncry SPECIES_SKITTY, 0
- msgbox FallarborTown_Mart_Text_1770D3, 4
+ msgbox FallarborTown_Mart_Text_1770D3, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/FallarborTown_PokemonCenter_1F/scripts.inc b/data/maps/FallarborTown_PokemonCenter_1F/scripts.inc
index 9e4fa7579..6a13abc15 100644
--- a/data/maps/FallarborTown_PokemonCenter_1F/scripts.inc
+++ b/data/maps/FallarborTown_PokemonCenter_1F/scripts.inc
@@ -16,17 +16,17 @@ FallarborTown_PokemonCenter_1F_EventScript_153B02:: @ 8153B02
end
FallarborTown_PokemonCenter_1F_EventScript_153B10:: @ 8153B10
- msgbox FallarborTown_PokemonCenter_1F_Text_17768C, 2
+ msgbox FallarborTown_PokemonCenter_1F_Text_17768C, MSGBOX_NPC
end
FallarborTown_PokemonCenter_1F_EventScript_153B19:: @ 8153B19
- msgbox FallarborTown_PokemonCenter_1F_Text_1776F5, 2
+ msgbox FallarborTown_PokemonCenter_1F_Text_1776F5, MSGBOX_NPC
end
FallarborTown_PokemonCenter_1F_EventScript_153B22:: @ 8153B22
lock
faceplayer
- msgbox FallarborTown_PokemonCenter_1F_Text_1774D4, 4
+ msgbox FallarborTown_PokemonCenter_1F_Text_1774D4, MSGBOX_DEFAULT
closemessage
switch VAR_FACING
case 2, FallarborTown_PokemonCenter_1F_EventScript_153B49
diff --git a/data/maps/FortreeCity/scripts.inc b/data/maps/FortreeCity/scripts.inc
index 5fe0b96a3..19df69ccc 100644
--- a/data/maps/FortreeCity/scripts.inc
+++ b/data/maps/FortreeCity/scripts.inc
@@ -12,44 +12,44 @@ FortreeCity_MapScript1_14C952:: @ 814C952
end
FortreeCity_EventScript_14C955:: @ 814C955
- msgbox FortreeCity_Text_167577, 2
+ msgbox FortreeCity_Text_167577, MSGBOX_NPC
end
FortreeCity_EventScript_14C95E:: @ 814C95E
lock
faceplayer
goto_if_set FLAG_KECLEON_FLED_FORTREE, FortreeCity_EventScript_14C973
- msgbox FortreeCity_Text_1675C2, 4
+ msgbox FortreeCity_Text_1675C2, MSGBOX_DEFAULT
release
end
FortreeCity_EventScript_14C973:: @ 814C973
- msgbox FortreeCity_Text_167642, 4
+ msgbox FortreeCity_Text_167642, MSGBOX_DEFAULT
release
end
FortreeCity_EventScript_14C97D:: @ 814C97D
- msgbox FortreeCity_Text_16768A, 2
+ msgbox FortreeCity_Text_16768A, MSGBOX_NPC
end
FortreeCity_EventScript_14C986:: @ 814C986
- msgbox FortreeCity_Text_16770E, 2
+ msgbox FortreeCity_Text_16770E, MSGBOX_NPC
end
FortreeCity_EventScript_14C98F:: @ 814C98F
- msgbox FortreeCity_Text_1677BD, 2
+ msgbox FortreeCity_Text_1677BD, MSGBOX_NPC
end
FortreeCity_EventScript_14C998:: @ 814C998
- msgbox FortreeCity_Text_16782C, 2
+ msgbox FortreeCity_Text_16782C, MSGBOX_NPC
end
FortreeCity_EventScript_14C9A1:: @ 814C9A1
- msgbox FortreeCity_Text_16792F, 3
+ msgbox FortreeCity_Text_16792F, MSGBOX_SIGN
end
FortreeCity_EventScript_14C9AA:: @ 814C9AA
- msgbox FortreeCity_Text_167969, 3
+ msgbox FortreeCity_Text_167969, MSGBOX_SIGN
end
FortreeCity_EventScript_14C9B3:: @ 814C9B3
@@ -58,7 +58,7 @@ FortreeCity_EventScript_14C9B3:: @ 814C9B3
checkitem ITEM_DEVON_SCOPE, 1
compare VAR_RESULT, 1
goto_if_eq FortreeCity_EventScript_14C9CF
- msgbox FortreeCity_Text_167868, 4
+ msgbox FortreeCity_Text_167868, MSGBOX_DEFAULT
release
end
@@ -70,7 +70,7 @@ FortreeCity_EventScript_14C9CF:: @ 814C9CF
end
FortreeCity_EventScript_14C9E4:: @ 814C9E4
- msgbox FortreeCity_Text_1678CB, 4
+ msgbox FortreeCity_Text_1678CB, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, FortreeCity_Movement_1A0662
waitmovement 0
diff --git a/data/maps/FortreeCity_DecorationShop/scripts.inc b/data/maps/FortreeCity_DecorationShop/scripts.inc
index 56a360708..9594e14c2 100644
--- a/data/maps/FortreeCity_DecorationShop/scripts.inc
+++ b/data/maps/FortreeCity_DecorationShop/scripts.inc
@@ -2,11 +2,11 @@ FortreeCity_DecorationShop_MapScripts:: @ 8158257
.byte 0
FortreeCity_DecorationShop_EventScript_158258:: @ 8158258
- msgbox FortreeCity_DecorationShop_Text_186A61, 2
+ msgbox FortreeCity_DecorationShop_Text_186A61, MSGBOX_NPC
end
FortreeCity_DecorationShop_EventScript_158261:: @ 8158261
- msgbox FortreeCity_DecorationShop_Text_186AD6, 2
+ msgbox FortreeCity_DecorationShop_Text_186AD6, MSGBOX_NPC
end
FortreeCity_DecorationShop_EventScript_15826A:: @ 815826A
@@ -15,7 +15,7 @@ FortreeCity_DecorationShop_EventScript_15826A:: @ 815826A
message FortreeCity_DecorationShop_Text_1A0BE4
waitmessage
pokemartdecoration FortreeCity_DecorationShop_Decorations1
- msgbox FortreeCity_DecorationShop_Text_1A0C02, 4
+ msgbox FortreeCity_DecorationShop_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -39,7 +39,7 @@ FortreeCity_DecorationShop_EventScript_158298:: @ 8158298
message FortreeCity_DecorationShop_Text_1A0BE4
waitmessage
pokemartdecoration FortreeCity_DecorationShop_Decorations2
- msgbox FortreeCity_DecorationShop_Text_1A0C02, 4
+ msgbox FortreeCity_DecorationShop_Text_1A0C02, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/FortreeCity_Gym/scripts.inc b/data/maps/FortreeCity_Gym/scripts.inc
index fc5197325..965a57532 100644
--- a/data/maps/FortreeCity_Gym/scripts.inc
+++ b/data/maps/FortreeCity_Gym/scripts.inc
@@ -18,7 +18,7 @@ FortreeCity_Gym_EventScript_157EEC:: @ 8157EEC
FortreeCity_Gym_EventScript_157EF0:: @ 8157EF0
trainerbattle_single TRAINER_WINONA, FortreeCity_Gym_Text_185CCB, FortreeCity_Gym_Text_185DBA, FortreeCity_Gym_EventScript_157F15, NO_MUSIC
goto_if_unset FLAG_RECEIVED_TM40, FortreeCity_Gym_EventScript_157F3E
- msgbox FortreeCity_Gym_Text_185F98, 4
+ msgbox FortreeCity_Gym_Text_185F98, MSGBOX_DEFAULT
release
end
@@ -26,7 +26,7 @@ FortreeCity_Gym_EventScript_157F15:: @ 8157F15
message FortreeCity_Gym_Text_185E48
waitmessage
call FortreeCity_Gym_EventScript_1A02C5
- msgbox FortreeCity_Gym_Text_185E73, 4
+ msgbox FortreeCity_Gym_Text_185E73, MSGBOX_DEFAULT
setflag FLAG_DEFEATED_FORTREE_GYM
setflag FLAG_BADGE06_GET
setvar VAR_0x8008, 6
@@ -38,41 +38,41 @@ FortreeCity_Gym_EventScript_157F3E:: @ 8157F3E
giveitem ITEM_TM40_AERIAL_ACE
compare VAR_RESULT, 0
goto_if_eq FortreeCity_Gym_EventScript_1A029B
- msgbox FortreeCity_Gym_Text_185F4A, 4
+ msgbox FortreeCity_Gym_Text_185F4A, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_TM40
release
end
FortreeCity_Gym_EventScript_157F62:: @ 8157F62
trainerbattle_single TRAINER_JARED, FortreeCity_Gym_Text_1859B9, FortreeCity_Gym_Text_1859EA
- msgbox FortreeCity_Gym_Text_185A02, 6
+ msgbox FortreeCity_Gym_Text_185A02, MSGBOX_AUTOCLOSE
end
FortreeCity_Gym_EventScript_157F79:: @ 8157F79
trainerbattle_single TRAINER_WILL, FortreeCity_Gym_Text_185A7F, FortreeCity_Gym_Text_185AEC
- msgbox FortreeCity_Gym_Text_185B18, 6
+ msgbox FortreeCity_Gym_Text_185B18, MSGBOX_AUTOCLOSE
end
FortreeCity_Gym_EventScript_157F90:: @ 8157F90
trainerbattle_single TRAINER_TERRELL, FortreeCity_Gym_Text_185B8D, FortreeCity_Gym_Text_185BEB
- msgbox FortreeCity_Gym_Text_185C00, 6
+ msgbox FortreeCity_Gym_Text_185C00, MSGBOX_AUTOCLOSE
end
FortreeCity_Gym_EventScript_157FA7:: @ 8157FA7
trainerbattle_single TRAINER_KYLEE, FortreeCity_Gym_Text_185C45, FortreeCity_Gym_Text_185C7C
- msgbox FortreeCity_Gym_Text_185C8C, 6
+ msgbox FortreeCity_Gym_Text_185C8C, MSGBOX_AUTOCLOSE
end
FortreeCity_Gym_EventScript_157FBE:: @ 8157FBE
lock
faceplayer
goto_if_set FLAG_DEFEATED_FORTREE_GYM, FortreeCity_Gym_EventScript_157FD3
- msgbox FortreeCity_Gym_Text_18589C, 4
+ msgbox FortreeCity_Gym_Text_18589C, MSGBOX_DEFAULT
release
end
FortreeCity_Gym_EventScript_157FD3:: @ 8157FD3
- msgbox FortreeCity_Gym_Text_185994, 4
+ msgbox FortreeCity_Gym_Text_185994, MSGBOX_DEFAULT
release
end
@@ -89,11 +89,11 @@ FortreeCity_Gym_EventScript_157FED:: @ 8157FED
end
FortreeCity_Gym_EventScript_157FFD:: @ 8157FFD
- msgbox FortreeCity_Gym_Text_185FEE, 4
+ msgbox FortreeCity_Gym_Text_185FEE, MSGBOX_DEFAULT
releaseall
end
FortreeCity_Gym_EventScript_158007:: @ 8158007
- msgbox FortreeCity_Gym_Text_185FD5, 4
+ msgbox FortreeCity_Gym_Text_185FD5, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/FortreeCity_House1/scripts.inc b/data/maps/FortreeCity_House1/scripts.inc
index 475905070..0af969a06 100644
--- a/data/maps/FortreeCity_House1/scripts.inc
+++ b/data/maps/FortreeCity_House1/scripts.inc
@@ -28,29 +28,29 @@ FortreeCity_House1_EventScript_157E13:: @ 8157E13
special DoInGameTradeScene
waitstate
bufferspeciesname 0, VAR_0x8009
- msgbox FortreeCity_House1_Text_1856F7, 4
+ msgbox FortreeCity_House1_Text_1856F7, MSGBOX_DEFAULT
setflag FLAG_FORTREE_NPC_TRADE_COMPLETED
release
end
FortreeCity_House1_EventScript_157E95:: @ 8157E95
- msgbox FortreeCity_House1_Text_18577F, 4
+ msgbox FortreeCity_House1_Text_18577F, MSGBOX_DEFAULT
release
end
FortreeCity_House1_EventScript_157E9F:: @ 8157E9F
bufferspeciesname 0, VAR_0x8009
- msgbox FortreeCity_House1_Text_185737, 4
+ msgbox FortreeCity_House1_Text_185737, MSGBOX_DEFAULT
release
end
FortreeCity_House1_EventScript_157EAD:: @ 8157EAD
- msgbox FortreeCity_House1_Text_1857C7, 4
+ msgbox FortreeCity_House1_Text_1857C7, MSGBOX_DEFAULT
release
end
FortreeCity_House1_EventScript_157EB7:: @ 8157EB7
- msgbox FortreeCity_House1_Text_18582A, 2
+ msgbox FortreeCity_House1_Text_18582A, MSGBOX_NPC
end
FortreeCity_House1_EventScript_157EC0:: @ 8157EC0
@@ -58,7 +58,7 @@ FortreeCity_House1_EventScript_157EC0:: @ 8157EC0
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
- msgbox FortreeCity_House1_Text_185888, 4
+ msgbox FortreeCity_House1_Text_185888, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/FortreeCity_House2/scripts.inc b/data/maps/FortreeCity_House2/scripts.inc
index f66f6189c..0284e8201 100644
--- a/data/maps/FortreeCity_House2/scripts.inc
+++ b/data/maps/FortreeCity_House2/scripts.inc
@@ -6,38 +6,38 @@ FortreeCity_House2_EventScript_1580B4:: @ 81580B4
faceplayer
goto_if_set FLAG_RECEIVED_TM10, FortreeCity_House2_EventScript_158157
call_if_unset FLAG_MET_HIDDEN_POWER_GIVER, FortreeCity_House2_EventScript_15814B
- msgbox FortreeCity_House2_Text_186360, 4
+ msgbox FortreeCity_House2_Text_186360, MSGBOX_DEFAULT
multichoice 21, 8, 54, 1
switch VAR_RESULT
case 1, FortreeCity_House2_EventScript_158161
- msgbox FortreeCity_House2_Text_1863F6, 4
+ msgbox FortreeCity_House2_Text_1863F6, MSGBOX_DEFAULT
multichoice 21, 8, 54, 1
switch VAR_RESULT
case 1, FortreeCity_House2_EventScript_158161
- msgbox FortreeCity_House2_Text_186455, 4
+ msgbox FortreeCity_House2_Text_186455, MSGBOX_DEFAULT
multichoice 21, 8, 54, 1
switch VAR_RESULT
case 0, FortreeCity_House2_EventScript_158161
- msgbox FortreeCity_House2_Text_1864C6, 4
+ msgbox FortreeCity_House2_Text_1864C6, MSGBOX_DEFAULT
giveitem ITEM_TM10_HIDDEN_POWER
compare VAR_RESULT, 0
goto_if_eq FortreeCity_House2_EventScript_1A029B
setflag FLAG_RECEIVED_TM10
- msgbox FortreeCity_House2_Text_18652F, 4
+ msgbox FortreeCity_House2_Text_18652F, MSGBOX_DEFAULT
release
end
FortreeCity_House2_EventScript_15814B:: @ 815814B
- msgbox FortreeCity_House2_Text_186306, 4
+ msgbox FortreeCity_House2_Text_186306, MSGBOX_DEFAULT
setflag FLAG_MET_HIDDEN_POWER_GIVER
return
FortreeCity_House2_EventScript_158157:: @ 8158157
- msgbox FortreeCity_House2_Text_18652F, 4
+ msgbox FortreeCity_House2_Text_18652F, MSGBOX_DEFAULT
release
end
FortreeCity_House2_EventScript_158161:: @ 8158161
- msgbox FortreeCity_House2_Text_186565, 4
+ msgbox FortreeCity_House2_Text_186565, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/FortreeCity_House3/scripts.inc b/data/maps/FortreeCity_House3/scripts.inc
index f5d11ffa7..3786fe5cf 100644
--- a/data/maps/FortreeCity_House3/scripts.inc
+++ b/data/maps/FortreeCity_House3/scripts.inc
@@ -2,9 +2,9 @@ FortreeCity_House3_MapScripts:: @ 815816B
.byte 0
FortreeCity_House3_EventScript_15816C:: @ 815816C
- msgbox FortreeCity_House3_Text_186624, 2
+ msgbox FortreeCity_House3_Text_186624, MSGBOX_NPC
end
FortreeCity_House3_EventScript_158175:: @ 8158175
- msgbox FortreeCity_House3_Text_186745, 2
+ msgbox FortreeCity_House3_Text_186745, MSGBOX_NPC
end
diff --git a/data/maps/FortreeCity_House4/scripts.inc b/data/maps/FortreeCity_House4/scripts.inc
index 47c0ce0b5..ddad4919c 100644
--- a/data/maps/FortreeCity_House4/scripts.inc
+++ b/data/maps/FortreeCity_House4/scripts.inc
@@ -2,7 +2,7 @@ FortreeCity_House4_MapScripts:: @ 815817E
.byte 0
FortreeCity_House4_EventScript_15817F:: @ 815817F
- msgbox FortreeCity_House4_Text_1867AF, 2
+ msgbox FortreeCity_House4_Text_1867AF, MSGBOX_NPC
end
FortreeCity_House4_EventScript_158188:: @ 8158188
@@ -10,7 +10,7 @@ FortreeCity_House4_EventScript_158188:: @ 8158188
goto_if_set FLAG_RECEIVED_MENTAL_HERB, FortreeCity_House4_EventScript_158204
goto_if_set FLAG_WINGULL_DELIVERED_MAIL, FortreeCity_House4_EventScript_1581D6
goto_if_set FLAG_WINGULL_SENT_ON_ERRAND, FortreeCity_House4_EventScript_1581C2
- msgbox FortreeCity_House4_Text_186835, 4
+ msgbox FortreeCity_House4_Text_186835, MSGBOX_DEFAULT
closemessage
setflag FLAG_WINGULL_SENT_ON_ERRAND
clearflag FLAG_HIDE_WINGULL_MOSSDEEP_HOUSE
@@ -23,14 +23,14 @@ FortreeCity_House4_EventScript_158188:: @ 8158188
FortreeCity_House4_EventScript_1581C2:: @ 81581C2
applymovement VAR_LAST_TALKED, FortreeCity_House4_Movement_1A0839
waitmovement 0
- msgbox FortreeCity_House4_Text_18684E, 4
+ msgbox FortreeCity_House4_Text_18684E, MSGBOX_DEFAULT
releaseall
end
FortreeCity_House4_EventScript_1581D6:: @ 81581D6
applymovement VAR_LAST_TALKED, FortreeCity_House4_Movement_1A0839
waitmovement 0
- msgbox FortreeCity_House4_Text_186881, 4
+ msgbox FortreeCity_House4_Text_186881, MSGBOX_DEFAULT
giveitem ITEM_MENTAL_HERB
compare VAR_RESULT, 0
goto_if_eq FortreeCity_House4_EventScript_1A029B
@@ -41,7 +41,7 @@ FortreeCity_House4_EventScript_1581D6:: @ 81581D6
FortreeCity_House4_EventScript_158204:: @ 8158204
applymovement VAR_LAST_TALKED, FortreeCity_House4_Movement_1A0839
waitmovement 0
- msgbox FortreeCity_House4_Text_186924, 4
+ msgbox FortreeCity_House4_Text_186924, MSGBOX_DEFAULT
releaseall
end
@@ -58,7 +58,7 @@ FortreeCity_House4_EventScript_15821E:: @ 815821E
faceplayer
waitse
playmoncry SPECIES_WINGULL, 0
- msgbox FortreeCity_House4_Text_18695C, 4
+ msgbox FortreeCity_House4_Text_18695C, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/FortreeCity_House5/scripts.inc b/data/maps/FortreeCity_House5/scripts.inc
index 888ebe0e2..3b4b1d436 100644
--- a/data/maps/FortreeCity_House5/scripts.inc
+++ b/data/maps/FortreeCity_House5/scripts.inc
@@ -2,11 +2,11 @@ FortreeCity_House5_MapScripts:: @ 8158231
.byte 0
FortreeCity_House5_EventScript_158232:: @ 8158232
- msgbox FortreeCity_House5_Text_18696D, 2
+ msgbox FortreeCity_House5_Text_18696D, MSGBOX_NPC
end
FortreeCity_House5_EventScript_15823B:: @ 815823B
- msgbox FortreeCity_House5_Text_1869D6, 2
+ msgbox FortreeCity_House5_Text_1869D6, MSGBOX_NPC
end
FortreeCity_House5_EventScript_158244:: @ 8158244
@@ -14,7 +14,7 @@ FortreeCity_House5_EventScript_158244:: @ 8158244
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
- msgbox FortreeCity_House5_Text_186A4F, 4
+ msgbox FortreeCity_House5_Text_186A4F, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/FortreeCity_Mart/scripts.inc b/data/maps/FortreeCity_Mart/scripts.inc
index 076f702af..f267791a6 100644
--- a/data/maps/FortreeCity_Mart/scripts.inc
+++ b/data/maps/FortreeCity_Mart/scripts.inc
@@ -7,7 +7,7 @@ FortreeCity_Mart_EventScript_158067:: @ 8158067
message FortreeCity_Mart_Text_1A0BE4
waitmessage
pokemart FortreeCity_Mart_Items
- msgbox FortreeCity_Mart_Text_1A0C02, 4
+ msgbox FortreeCity_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -28,13 +28,13 @@ FortreeCity_Mart_Items:: @ 8158080
end
FortreeCity_Mart_EventScript_158098:: @ 8158098
- msgbox FortreeCity_Mart_Text_1861EF, 2
+ msgbox FortreeCity_Mart_Text_1861EF, MSGBOX_NPC
end
FortreeCity_Mart_EventScript_1580A1:: @ 81580A1
- msgbox FortreeCity_Mart_Text_186251, 2
+ msgbox FortreeCity_Mart_Text_186251, MSGBOX_NPC
end
FortreeCity_Mart_EventScript_1580AA:: @ 81580AA
- msgbox FortreeCity_Mart_Text_1862CA, 2
+ msgbox FortreeCity_Mart_Text_1862CA, MSGBOX_NPC
end
diff --git a/data/maps/FortreeCity_PokemonCenter_1F/scripts.inc b/data/maps/FortreeCity_PokemonCenter_1F/scripts.inc
index 53f47a324..6110d7ba6 100644
--- a/data/maps/FortreeCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/FortreeCity_PokemonCenter_1F/scripts.inc
@@ -15,13 +15,13 @@ FortreeCity_PokemonCenter_1F_EventScript_15801B:: @ 815801B
end
FortreeCity_PokemonCenter_1F_EventScript_158029:: @ 8158029
- msgbox FortreeCity_PokemonCenter_1F_Text_186027, 2
+ msgbox FortreeCity_PokemonCenter_1F_Text_186027, MSGBOX_NPC
end
FortreeCity_PokemonCenter_1F_EventScript_158032:: @ 8158032
- msgbox FortreeCity_PokemonCenter_1F_Text_186086, 2
+ msgbox FortreeCity_PokemonCenter_1F_Text_186086, MSGBOX_NPC
end
FortreeCity_PokemonCenter_1F_EventScript_15803B:: @ 815803B
- msgbox FortreeCity_PokemonCenter_1F_Text_186138, 2
+ msgbox FortreeCity_PokemonCenter_1F_Text_186138, MSGBOX_NPC
end
diff --git a/data/maps/GraniteCave_1F/scripts.inc b/data/maps/GraniteCave_1F/scripts.inc
index 18a96635c..3cf5c2d6f 100644
--- a/data/maps/GraniteCave_1F/scripts.inc
+++ b/data/maps/GraniteCave_1F/scripts.inc
@@ -5,14 +5,14 @@ GraniteCave_1F_EventScript_15CBA7:: @ 815CBA7
lock
faceplayer
goto_if_set FLAG_RECEIVED_HM05, GraniteCave_1F_EventScript_15CBD3
- msgbox GraniteCave_1F_Text_194917, 4
+ msgbox GraniteCave_1F_Text_194917, MSGBOX_DEFAULT
giveitem ITEM_HM05_FLASH
setflag FLAG_RECEIVED_HM05
- msgbox GraniteCave_1F_Text_194A3E, 4
+ msgbox GraniteCave_1F_Text_194A3E, MSGBOX_DEFAULT
release
end
GraniteCave_1F_EventScript_15CBD3:: @ 815CBD3
- msgbox GraniteCave_1F_Text_194A3E, 4
+ msgbox GraniteCave_1F_Text_194A3E, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/GraniteCave_StevensRoom/scripts.inc b/data/maps/GraniteCave_StevensRoom/scripts.inc
index 489fb640b..9e61a5c2e 100644
--- a/data/maps/GraniteCave_StevensRoom/scripts.inc
+++ b/data/maps/GraniteCave_StevensRoom/scripts.inc
@@ -4,15 +4,15 @@ GraniteCave_StevensRoom_MapScripts:: @ 815CBF9
GraniteCave_StevensRoom_EventScript_15CBFA:: @ 815CBFA
lock
faceplayer
- msgbox GraniteCave_StevensRoom_Text_194AE5, 4
+ msgbox GraniteCave_StevensRoom_Text_194AE5, MSGBOX_DEFAULT
setvar VAR_0x8004, ITEM_LETTER
call GraniteCave_StevensRoom_EventScript_1A067F
setflag FLAG_DELIVERED_STEVEN_LETTER
- msgbox GraniteCave_StevensRoom_Text_194BDD, 4
+ msgbox GraniteCave_StevensRoom_Text_194BDD, MSGBOX_DEFAULT
giveitem ITEM_TM47_STEEL_WING
compare VAR_RESULT, 0
call_if_eq GraniteCave_StevensRoom_EventScript_15CC83
- msgbox GraniteCave_StevensRoom_Text_194C8D, 4
+ msgbox GraniteCave_StevensRoom_Text_194C8D, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, 2
call_if_eq GraniteCave_StevensRoom_EventScript_15CC6D
@@ -38,7 +38,7 @@ GraniteCave_StevensRoom_EventScript_15CC78:: @ 815CC78
return
GraniteCave_StevensRoom_EventScript_15CC83:: @ 815CC83
- msgbox GraniteCave_StevensRoom_Text_194D43, 4
+ msgbox GraniteCave_StevensRoom_Text_194D43, MSGBOX_DEFAULT
return
GraniteCave_StevensRoom_Movement_15CC8C:: @ 815CC8C
diff --git a/data/maps/InsideOfTruck/scripts.inc b/data/maps/InsideOfTruck/scripts.inc
index 59a4e79ee..bea103c45 100644
--- a/data/maps/InsideOfTruck/scripts.inc
+++ b/data/maps/InsideOfTruck/scripts.inc
@@ -48,5 +48,5 @@ InsideOfTruck_EventScript_15FC68:: @ 815FC68
end
InsideOfTruck_EventScript_15FC8B:: @ 815FC8B
- msgbox InsideOfTruck_Text_198FAD, 3
+ msgbox InsideOfTruck_Text_198FAD, MSGBOX_SIGN
end
diff --git a/data/maps/IslandCave/scripts.inc b/data/maps/IslandCave/scripts.inc
index 77392a4e7..daf6962e6 100644
--- a/data/maps/IslandCave/scripts.inc
+++ b/data/maps/IslandCave/scripts.inc
@@ -51,7 +51,7 @@ IslandCave_EventScript_15EF59:: @ 815EF59
end
IslandCave_EventScript_15EF72:: @ 815EF72
- msgbox IslandCave_Text_1A13BE, 4
+ msgbox IslandCave_Text_1A13BE, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/JaggedPass/scripts.inc b/data/maps/JaggedPass/scripts.inc
index c6d150fd8..39cf6e039 100644
--- a/data/maps/JaggedPass/scripts.inc
+++ b/data/maps/JaggedPass/scripts.inc
@@ -19,7 +19,7 @@ JaggedPass_EventScript_15D280:: @ 815D280
JaggedPass_EventScript_15D285:: @ 815D285
trainerbattle_single TRAINER_ERIC, JaggedPass_Text_195DAC, JaggedPass_Text_195E27
- msgbox JaggedPass_Text_195E3E, 6
+ msgbox JaggedPass_Text_195E3E, MSGBOX_AUTOCLOSE
end
JaggedPass_EventScript_15D29C:: @ 815D29C
@@ -27,12 +27,12 @@ JaggedPass_EventScript_15D29C:: @ 815D29C
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq JaggedPass_EventScript_15D2C3
- msgbox JaggedPass_Text_195F04, 6
+ msgbox JaggedPass_Text_195F04, MSGBOX_AUTOCLOSE
end
JaggedPass_EventScript_15D2C3:: @ 815D2C3
trainerbattle_rematch TRAINER_DIANA_1, JaggedPass_Text_195F58, JaggedPass_Text_195F8C
- msgbox JaggedPass_Text_195FB9, 6
+ msgbox JaggedPass_Text_195FB9, MSGBOX_AUTOCLOSE
end
JaggedPass_EventScript_15D2DA:: @ 815D2DA
@@ -40,10 +40,10 @@ JaggedPass_EventScript_15D2DA:: @ 815D2DA
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq JaggedPass_EventScript_15D301
- msgbox JaggedPass_Text_196077, 6
+ msgbox JaggedPass_Text_196077, MSGBOX_AUTOCLOSE
end
JaggedPass_EventScript_15D301:: @ 815D301
trainerbattle_rematch TRAINER_ETHAN_1, JaggedPass_Text_1960AA, JaggedPass_Text_1960E2
- msgbox JaggedPass_Text_196118, 6
+ msgbox JaggedPass_Text_196118, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/LavaridgeTown/scripts.inc b/data/maps/LavaridgeTown/scripts.inc
index 4e737d91d..6a533e47d 100644
--- a/data/maps/LavaridgeTown/scripts.inc
+++ b/data/maps/LavaridgeTown/scripts.inc
@@ -81,18 +81,18 @@ LavaridgeTown_EventScript_14E575:: @ 814E575
end
LavaridgeTown_EventScript_14E5AB:: @ 814E5AB
- msgbox LavaridgeTown_Text_16BDA4, 4
+ msgbox LavaridgeTown_Text_16BDA4, MSGBOX_DEFAULT
giveitem ITEM_GO_GOGGLES
setflag FLAG_RECEIVED_GO_GOGGLES
- msgbox LavaridgeTown_Text_16BE7D, 4
+ msgbox LavaridgeTown_Text_16BE7D, MSGBOX_DEFAULT
goto LavaridgeTown_EventScript_14E5F5
end
LavaridgeTown_EventScript_14E5D0:: @ 814E5D0
- msgbox LavaridgeTown_Text_16BF92, 4
+ msgbox LavaridgeTown_Text_16BF92, MSGBOX_DEFAULT
giveitem ITEM_GO_GOGGLES
setflag FLAG_RECEIVED_GO_GOGGLES
- msgbox LavaridgeTown_Text_16C020, 4
+ msgbox LavaridgeTown_Text_16C020, MSGBOX_DEFAULT
goto LavaridgeTown_EventScript_14E5F5
end
@@ -245,27 +245,27 @@ LavaridgeTown_EventScript_14E721:: @ 814E721
end
LavaridgeTown_EventScript_14E724:: @ 814E724
- msgbox LavaridgeTown_Text_16C3FD, 2
+ msgbox LavaridgeTown_Text_16C3FD, MSGBOX_NPC
end
LavaridgeTown_EventScript_14E72D:: @ 814E72D
- msgbox LavaridgeTown_Text_16C4DB, 3
+ msgbox LavaridgeTown_Text_16C4DB, MSGBOX_SIGN
end
LavaridgeTown_EventScript_14E736:: @ 814E736
- msgbox LavaridgeTown_Text_16C59B, 2
+ msgbox LavaridgeTown_Text_16C59B, MSGBOX_NPC
end
LavaridgeTown_EventScript_14E73F:: @ 814E73F
- msgbox LavaridgeTown_Text_16C603, 2
+ msgbox LavaridgeTown_Text_16C603, MSGBOX_NPC
end
LavaridgeTown_EventScript_14E748:: @ 814E748
- msgbox LavaridgeTown_Text_16C694, 2
+ msgbox LavaridgeTown_Text_16C694, MSGBOX_NPC
end
LavaridgeTown_EventScript_14E751:: @ 814E751
- msgbox LavaridgeTown_Text_16C54E, 2
+ msgbox LavaridgeTown_Text_16C54E, MSGBOX_NPC
end
LavaridgeTown_EventScript_14E75A:: @ 814E75A
@@ -278,7 +278,7 @@ LavaridgeTown_EventScript_14E75A:: @ 814E75A
getpartysize
compare VAR_RESULT, 6
goto_if_eq LavaridgeTown_EventScript_14E7A8
- msgbox LavaridgeTown_Text_16C2B6, 4
+ msgbox LavaridgeTown_Text_16C2B6, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_LAVARIDGE_EGG
playfanfare MUS_FANFA4
message LavaridgeTown_Text_16C2EA
@@ -289,32 +289,32 @@ LavaridgeTown_EventScript_14E75A:: @ 814E75A
end
LavaridgeTown_EventScript_14E79E:: @ 814E79E
- msgbox LavaridgeTown_Text_16C398, 4
+ msgbox LavaridgeTown_Text_16C398, MSGBOX_DEFAULT
release
end
LavaridgeTown_EventScript_14E7A8:: @ 814E7A8
- msgbox LavaridgeTown_Text_16C2FF, 4
+ msgbox LavaridgeTown_Text_16C2FF, MSGBOX_DEFAULT
release
end
LavaridgeTown_EventScript_14E7B2:: @ 814E7B2
- msgbox LavaridgeTown_Text_16C33C, 4
+ msgbox LavaridgeTown_Text_16C33C, MSGBOX_DEFAULT
release
end
LavaridgeTown_EventScript_14E7BC:: @ 814E7BC
- msgbox LavaridgeTown_Text_16C72F, 3
+ msgbox LavaridgeTown_Text_16C72F, MSGBOX_SIGN
end
LavaridgeTown_EventScript_14E7C5:: @ 814E7C5
- msgbox LavaridgeTown_Text_16C77C, 3
+ msgbox LavaridgeTown_Text_16C77C, MSGBOX_SIGN
end
@ 814E7CE
- msgbox LavaridgeTown_Text_16C7CF, 3
+ msgbox LavaridgeTown_Text_16C7CF, MSGBOX_SIGN
end
LavaridgeTown_EventScript_14E7D7:: @ 814E7D7
- msgbox LavaridgeTown_Text_16C7CF, 3
+ msgbox LavaridgeTown_Text_16C7CF, MSGBOX_SIGN
end
diff --git a/data/maps/LavaridgeTown_Gym_1F/scripts.inc b/data/maps/LavaridgeTown_Gym_1F/scripts.inc
index 3cf8fa111..4131a8c0f 100644
--- a/data/maps/LavaridgeTown_Gym_1F/scripts.inc
+++ b/data/maps/LavaridgeTown_Gym_1F/scripts.inc
@@ -61,7 +61,7 @@ LavaridgeTown_Gym_1F_EventScript_153740:: @ 8153740
LavaridgeTown_Gym_1F_EventScript_153741:: @ 8153741
trainerbattle_single TRAINER_FLANNERY, LavaridgeTown_Gym_1F_Text_176801, LavaridgeTown_Gym_1F_Text_176960, LavaridgeTown_Gym_1F_EventScript_153766, NO_MUSIC
goto_if_unset FLAG_RECEIVED_TM50, LavaridgeTown_Gym_1F_EventScript_1537A7
- msgbox LavaridgeTown_Gym_1F_Text_176C4A, 4
+ msgbox LavaridgeTown_Gym_1F_Text_176C4A, MSGBOX_DEFAULT
release
end
@@ -69,7 +69,7 @@ LavaridgeTown_Gym_1F_EventScript_153766:: @ 8153766
message LavaridgeTown_Gym_1F_Text_176A62
waitmessage
call LavaridgeTown_Gym_1F_EventScript_1A02C5
- msgbox LavaridgeTown_Gym_1F_Text_176A8C, 4
+ msgbox LavaridgeTown_Gym_1F_Text_176A8C, MSGBOX_DEFAULT
setflag FLAG_DEFEATED_LAVARIDGE_GYM
setflag FLAG_BADGE04_GET
addvar VAR_PETALBURG_GYM_STATE, 1
@@ -86,14 +86,14 @@ LavaridgeTown_Gym_1F_EventScript_1537A7:: @ 81537A7
giveitem ITEM_TM50_OVERHEAT
compare VAR_RESULT, 0
goto_if_eq LavaridgeTown_Gym_1F_EventScript_1A029B
- msgbox LavaridgeTown_Gym_1F_Text_176B8F, 4
+ msgbox LavaridgeTown_Gym_1F_Text_176B8F, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_TM50
release
end
LavaridgeTown_Gym_1F_EventScript_1537CB:: @ 81537CB
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_COLE, 2, LavaridgeTown_Gym_1F_Text_176432, LavaridgeTown_Gym_1F_Text_17644F, LavaridgeTown_Gym_1F_EventScript_1537E6
- msgbox LavaridgeTown_Gym_1F_Text_176472, 6
+ msgbox LavaridgeTown_Gym_1F_Text_176472, MSGBOX_AUTOCLOSE
end
LavaridgeTown_Gym_1F_EventScript_1537E6:: @ 81537E6
@@ -103,34 +103,34 @@ LavaridgeTown_Gym_1F_EventScript_1537E6:: @ 81537E6
LavaridgeTown_Gym_1F_EventScript_1537ED:: @ 81537ED
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_AXLE, 4, LavaridgeTown_Gym_1F_Text_1764D1, LavaridgeTown_Gym_1F_Text_176516, LavaridgeTown_Gym_1F_EventScript_1537E6
- msgbox LavaridgeTown_Gym_1F_Text_176537, 6
+ msgbox LavaridgeTown_Gym_1F_Text_176537, MSGBOX_AUTOCLOSE
end
LavaridgeTown_Gym_1F_EventScript_153808:: @ 8153808
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_ANDY, 7, LavaridgeTown_Gym_1F_Text_17658D, LavaridgeTown_Gym_1F_Text_17663F, LavaridgeTown_Gym_1F_EventScript_1537E6
- msgbox LavaridgeTown_Gym_1F_Text_176660, 6
+ msgbox LavaridgeTown_Gym_1F_Text_176660, MSGBOX_AUTOCLOSE
end
LavaridgeTown_Gym_1F_EventScript_153823:: @ 8153823
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_SADIE, 5, LavaridgeTown_Gym_1F_Text_176784, LavaridgeTown_Gym_1F_Text_1767A6, LavaridgeTown_Gym_1F_EventScript_1537E6
- msgbox LavaridgeTown_Gym_1F_Text_1767C1, 6
+ msgbox LavaridgeTown_Gym_1F_Text_1767C1, MSGBOX_AUTOCLOSE
end
LavaridgeTown_Gym_1F_EventScript_15383E:: @ 815383E
trainerbattle TRAINER_BATTLE_CONTINUE_SCRIPT, TRAINER_ZANE, 3, LavaridgeTown_Gym_1F_Text_1766D2, LavaridgeTown_Gym_1F_Text_1766FE, LavaridgeTown_Gym_1F_EventScript_1537E6
- msgbox LavaridgeTown_Gym_1F_Text_17671D, 6
+ msgbox LavaridgeTown_Gym_1F_Text_17671D, MSGBOX_AUTOCLOSE
end
LavaridgeTown_Gym_1F_EventScript_153859:: @ 8153859
lock
faceplayer
goto_if_set FLAG_DEFEATED_LAVARIDGE_GYM, LavaridgeTown_Gym_1F_EventScript_15386E
- msgbox LavaridgeTown_Gym_1F_Text_176312, 4
+ msgbox LavaridgeTown_Gym_1F_Text_176312, MSGBOX_DEFAULT
release
end
LavaridgeTown_Gym_1F_EventScript_15386E:: @ 815386E
- msgbox LavaridgeTown_Gym_1F_Text_17640C, 4
+ msgbox LavaridgeTown_Gym_1F_Text_17640C, MSGBOX_DEFAULT
release
end
@@ -147,11 +147,11 @@ LavaridgeTown_Gym_1F_EventScript_153888:: @ 8153888
end
LavaridgeTown_Gym_1F_EventScript_153898:: @ 8153898
- msgbox LavaridgeTown_Gym_1F_Text_176CCA, 4
+ msgbox LavaridgeTown_Gym_1F_Text_176CCA, MSGBOX_DEFAULT
releaseall
end
LavaridgeTown_Gym_1F_EventScript_1538A2:: @ 81538A2
- msgbox LavaridgeTown_Gym_1F_Text_176CAF, 4
+ msgbox LavaridgeTown_Gym_1F_Text_176CAF, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/LavaridgeTown_HerbShop/scripts.inc b/data/maps/LavaridgeTown_HerbShop/scripts.inc
index 6add8afd7..22a0a7e80 100644
--- a/data/maps/LavaridgeTown_HerbShop/scripts.inc
+++ b/data/maps/LavaridgeTown_HerbShop/scripts.inc
@@ -7,7 +7,7 @@ LavaridgeTown_HerbShop_EventScript_153629:: @ 8153629
message LavaridgeTown_HerbShop_Text_17615C
waitmessage
pokemart LavaridgeTown_HerbShop_Items
- msgbox LavaridgeTown_HerbShop_Text_1A0C02, 4
+ msgbox LavaridgeTown_HerbShop_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -22,14 +22,14 @@ LavaridgeTown_HerbShop_Items:: @ 8153640
end
LavaridgeTown_HerbShop_EventScript_15364C:: @ 815364C
- msgbox LavaridgeTown_HerbShop_Text_1762A3, 2
+ msgbox LavaridgeTown_HerbShop_Text_1762A3, MSGBOX_NPC
end
LavaridgeTown_HerbShop_EventScript_153655:: @ 8153655
lock
faceplayer
goto_if_set FLAG_RECEIVED_CHARCOAL, LavaridgeTown_HerbShop_EventScript_153684
- msgbox LavaridgeTown_HerbShop_Text_1761A2, 4
+ msgbox LavaridgeTown_HerbShop_Text_1761A2, MSGBOX_DEFAULT
giveitem ITEM_CHARCOAL
compare VAR_RESULT, 0
goto_if_eq LavaridgeTown_HerbShop_EventScript_1A029B
@@ -38,6 +38,6 @@ LavaridgeTown_HerbShop_EventScript_153655:: @ 8153655
end
LavaridgeTown_HerbShop_EventScript_153684:: @ 8153684
- msgbox LavaridgeTown_HerbShop_Text_176209, 4
+ msgbox LavaridgeTown_HerbShop_Text_176209, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/LavaridgeTown_House/scripts.inc b/data/maps/LavaridgeTown_House/scripts.inc
index 6fc14e0b6..dc881a380 100644
--- a/data/maps/LavaridgeTown_House/scripts.inc
+++ b/data/maps/LavaridgeTown_House/scripts.inc
@@ -2,7 +2,7 @@ LavaridgeTown_House_MapScripts:: @ 81538AD
.byte 0
LavaridgeTown_House_EventScript_1538AE:: @ 81538AE
- msgbox LavaridgeTown_House_Text_176D07, 2
+ msgbox LavaridgeTown_House_Text_176D07, MSGBOX_NPC
end
LavaridgeTown_House_EventScript_1538B7:: @ 81538B7
@@ -10,7 +10,7 @@ LavaridgeTown_House_EventScript_1538B7:: @ 81538B7
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
- msgbox LavaridgeTown_House_Text_176D94, 4
+ msgbox LavaridgeTown_House_Text_176D94, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/LavaridgeTown_Mart/scripts.inc b/data/maps/LavaridgeTown_Mart/scripts.inc
index 99b567e06..be6b4ef3e 100644
--- a/data/maps/LavaridgeTown_Mart/scripts.inc
+++ b/data/maps/LavaridgeTown_Mart/scripts.inc
@@ -7,7 +7,7 @@ LavaridgeTown_Mart_EventScript_1538CB:: @ 81538CB
message LavaridgeTown_Mart_Text_1A0BE4
waitmessage
pokemart LavaridgeTown_Mart_Items
- msgbox LavaridgeTown_Mart_Text_1A0C02, 4
+ msgbox LavaridgeTown_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -27,9 +27,9 @@ LavaridgeTown_Mart_Items:: @ 81538E4
end
LavaridgeTown_Mart_EventScript_1538FA:: @ 81538FA
- msgbox LavaridgeTown_Mart_Text_176DA6, 2
+ msgbox LavaridgeTown_Mart_Text_176DA6, MSGBOX_NPC
end
LavaridgeTown_Mart_EventScript_153903:: @ 8153903
- msgbox LavaridgeTown_Mart_Text_176E1A, 2
+ msgbox LavaridgeTown_Mart_Text_176E1A, MSGBOX_NPC
end
diff --git a/data/maps/LavaridgeTown_PokemonCenter_1F/scripts.inc b/data/maps/LavaridgeTown_PokemonCenter_1F/scripts.inc
index 22382ad54..df737a862 100644
--- a/data/maps/LavaridgeTown_PokemonCenter_1F/scripts.inc
+++ b/data/maps/LavaridgeTown_PokemonCenter_1F/scripts.inc
@@ -16,13 +16,13 @@ LavaridgeTown_PokemonCenter_1F_EventScript_15391B:: @ 815391B
end
LavaridgeTown_PokemonCenter_1F_EventScript_153929:: @ 8153929
- msgbox LavaridgeTown_PokemonCenter_1F_Text_176F08, 2
+ msgbox LavaridgeTown_PokemonCenter_1F_Text_176F08, MSGBOX_NPC
end
LavaridgeTown_PokemonCenter_1F_EventScript_153932:: @ 8153932
- msgbox LavaridgeTown_PokemonCenter_1F_Text_176E92, 2
+ msgbox LavaridgeTown_PokemonCenter_1F_Text_176E92, MSGBOX_NPC
end
LavaridgeTown_PokemonCenter_1F_EventScript_15393B:: @ 815393B
- msgbox LavaridgeTown_PokemonCenter_1F_Text_176F7A, 2
+ msgbox LavaridgeTown_PokemonCenter_1F_Text_176F7A, MSGBOX_NPC
end
diff --git a/data/maps/LilycoveCity/scripts.inc b/data/maps/LilycoveCity/scripts.inc
index f53efbf94..d83a8e0b3 100644
--- a/data/maps/LilycoveCity/scripts.inc
+++ b/data/maps/LilycoveCity/scripts.inc
@@ -62,53 +62,53 @@ LilycoveCity_EventScript_14CB74:: @ 814CB74
faceplayer
dotimebasedevents
goto_if_set FLAG_DAILY_RECEIVED_BERRY_LILYCOVE, LilycoveCity_EventScript_14CBB4
- msgbox LilycoveCity_Text_1C5A7A, 4
+ msgbox LilycoveCity_Text_1C5A7A, MSGBOX_DEFAULT
random 10
addvar VAR_RESULT, ITEM_CHERI_BERRY
giveitem VAR_RESULT
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_EventScript_1A029B
setflag FLAG_DAILY_RECEIVED_BERRY_LILYCOVE
- msgbox LilycoveCity_Text_1C5B1D, 4
+ msgbox LilycoveCity_Text_1C5B1D, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_14CBB4:: @ 814CBB4
- msgbox LilycoveCity_Text_1C5B5D, 4
+ msgbox LilycoveCity_Text_1C5B5D, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_14CBBE:: @ 814CBBE
- msgbox LilycoveCity_Text_1686C9, 2
+ msgbox LilycoveCity_Text_1686C9, MSGBOX_NPC
end
LilycoveCity_EventScript_14CBC7:: @ 814CBC7
lock
faceplayer
goto_if_set FLAG_BADGE07_GET, LilycoveCity_EventScript_14CBDC
- msgbox LilycoveCity_Text_168750, 4
+ msgbox LilycoveCity_Text_168750, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_14CBDC:: @ 814CBDC
- msgbox LilycoveCity_Text_168791, 4
+ msgbox LilycoveCity_Text_168791, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_14CBE6:: @ 814CBE6
- msgbox LilycoveCity_Text_168819, 2
+ msgbox LilycoveCity_Text_168819, MSGBOX_NPC
end
LilycoveCity_EventScript_14CBEF:: @ 814CBEF
lock
faceplayer
goto_if_set FLAG_EVIL_TEAM_ESCAPED_IN_SUBMARINE, LilycoveCity_EventScript_14CC04
- msgbox LilycoveCity_Text_1688C1, 4
+ msgbox LilycoveCity_Text_1688C1, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_14CC04:: @ 814CC04
- msgbox LilycoveCity_Text_168934, 4
+ msgbox LilycoveCity_Text_168934, MSGBOX_DEFAULT
release
end
@@ -116,50 +116,50 @@ LilycoveCity_EventScript_14CC0E:: @ 814CC0E
lock
faceplayer
goto_if_set FLAG_EVIL_TEAM_ESCAPED_IN_SUBMARINE, LilycoveCity_EventScript_14CC23
- msgbox LilycoveCity_Text_1689BF, 4
+ msgbox LilycoveCity_Text_1689BF, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_14CC23:: @ 814CC23
- msgbox LilycoveCity_Text_168A55, 4
+ msgbox LilycoveCity_Text_168A55, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_14CC2D:: @ 814CC2D
- msgbox LilycoveCity_Text_168A8D, 2
+ msgbox LilycoveCity_Text_168A8D, MSGBOX_NPC
end
LilycoveCity_EventScript_14CC36:: @ 814CC36
- msgbox LilycoveCity_Text_168B1F, 3
+ msgbox LilycoveCity_Text_168B1F, MSGBOX_SIGN
end
LilycoveCity_EventScript_14CC3F:: @ 814CC3F
- msgbox LilycoveCity_Text_168B9B, 3
+ msgbox LilycoveCity_Text_168B9B, MSGBOX_SIGN
end
LilycoveCity_EventScript_14CC48:: @ 814CC48
lock
faceplayer
goto_if_set FLAG_BADGE07_GET, LilycoveCity_EventScript_14CC5D
- msgbox LilycoveCity_Text_168C16, 4
+ msgbox LilycoveCity_Text_168C16, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_14CC5D:: @ 814CC5D
- msgbox LilycoveCity_Text_168D15, 4
+ msgbox LilycoveCity_Text_168D15, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_14CC67:: @ 814CC67
- msgbox LilycoveCity_Text_168DA9, 3
+ msgbox LilycoveCity_Text_168DA9, MSGBOX_SIGN
end
LilycoveCity_EventScript_14CC70:: @ 814CC70
- msgbox LilycoveCity_Text_168DE1, 3
+ msgbox LilycoveCity_Text_168DE1, MSGBOX_SIGN
end
LilycoveCity_EventScript_14CC79:: @ 814CC79
- msgbox LilycoveCity_Text_168E2F, 3
+ msgbox LilycoveCity_Text_168E2F, MSGBOX_SIGN
end
LilycoveCity_EventScript_14CC82:: @ 814CC82
@@ -167,46 +167,46 @@ LilycoveCity_EventScript_14CC82:: @ 814CC82
specialvar VAR_0x8004, sub_80C4D50
switch VAR_0x8004
case 0, LilycoveCity_EventScript_14CCA2
- msgbox LilycoveCity_Text_168EA4, 4
+ msgbox LilycoveCity_Text_168EA4, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_EventScript_14CCA2:: @ 814CCA2
- msgbox LilycoveCity_Text_168E67, 4
+ msgbox LilycoveCity_Text_168E67, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_EventScript_14CCAC:: @ 814CCAC
lockall
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_14CCC0
- msgbox LilycoveCity_Text_168EDA, 4
+ msgbox LilycoveCity_Text_168EDA, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_EventScript_14CCC0:: @ 814CCC0
- msgbox LilycoveCity_Text_168F57, 4
+ msgbox LilycoveCity_Text_168F57, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_EventScript_14CCCA:: @ 814CCCA
- msgbox LilycoveCity_Text_168FA1, 3
+ msgbox LilycoveCity_Text_168FA1, MSGBOX_SIGN
end
LilycoveCity_EventScript_14CCD3:: @ 814CCD3
- msgbox LilycoveCity_Text_168FF3, 3
+ msgbox LilycoveCity_Text_168FF3, MSGBOX_SIGN
end
LilycoveCity_EventScript_14CCDC:: @ 814CCDC
- msgbox LilycoveCity_Text_169072, 3
+ msgbox LilycoveCity_Text_169072, MSGBOX_SIGN
end
LilycoveCity_EventScript_14CCE5:: @ 814CCE5
lockall
goto_if_set FLAG_MET_WAILMER_TRAINER, LilycoveCity_EventScript_14CD18
- msgbox LilycoveCity_Text_16864A, 4
+ msgbox LilycoveCity_Text_16864A, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, LilycoveCity_Movement_1A0839
waitmovement 0
- msgbox LilycoveCity_Text_168675, 4
+ msgbox LilycoveCity_Text_168675, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, LilycoveCity_Movement_1A083D
waitmovement 0
setflag FLAG_MET_WAILMER_TRAINER
@@ -214,24 +214,24 @@ LilycoveCity_EventScript_14CCE5:: @ 814CCE5
end
LilycoveCity_EventScript_14CD18:: @ 814CD18
- msgbox LilycoveCity_Text_16864A, 4
+ msgbox LilycoveCity_Text_16864A, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_EventScript_14CD22:: @ 814CD22
- msgbox LilycoveCity_Text_168455, 2
+ msgbox LilycoveCity_Text_168455, MSGBOX_NPC
end
LilycoveCity_EventScript_14CD2B:: @ 814CD2B
- msgbox LilycoveCity_Text_1684C2, 2
+ msgbox LilycoveCity_Text_1684C2, MSGBOX_NPC
end
LilycoveCity_EventScript_14CD34:: @ 814CD34
- msgbox LilycoveCity_Text_168573, 2
+ msgbox LilycoveCity_Text_168573, MSGBOX_NPC
end
LilycoveCity_EventScript_14CD3D:: @ 814CD3D
- msgbox LilycoveCity_Text_1685EB, 2
+ msgbox LilycoveCity_Text_1685EB, MSGBOX_NPC
end
LilycoveCity_EventScript_14CD46:: @ 814CD46
@@ -250,7 +250,7 @@ LilycoveCity_EventScript_14CD60:: @ 814CD60
call_if_unset FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_14CDB9
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_EventScript_14CDC2
- msgbox LilycoveCity_Text_167B94, 4
+ msgbox LilycoveCity_Text_167B94, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, LilycoveCity_EventScript_14CE46
case 1, LilycoveCity_EventScript_14CE56
@@ -267,7 +267,7 @@ LilycoveCity_EventScript_14CDB9:: @ 814CDB9
LilycoveCity_EventScript_14CDC2:: @ 814CDC2
setflag FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE
- msgbox LilycoveCity_Text_167AEB, 4
+ msgbox LilycoveCity_Text_167AEB, MSGBOX_DEFAULT
savebgm 0
fadedefaultbgm
release
@@ -279,7 +279,7 @@ LilycoveCity_EventScript_14CDD3:: @ 814CDD3
call_if_unset FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_14CE2C
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_EventScript_14CE35
- msgbox LilycoveCity_Text_1680A9, 4
+ msgbox LilycoveCity_Text_1680A9, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, LilycoveCity_EventScript_14CE76
case 1, LilycoveCity_EventScript_14CE86
@@ -296,7 +296,7 @@ LilycoveCity_EventScript_14CE2C:: @ 814CE2C
LilycoveCity_EventScript_14CE35:: @ 814CE35
setflag FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE
- msgbox LilycoveCity_Text_16802C, 4
+ msgbox LilycoveCity_Text_16802C, MSGBOX_DEFAULT
savebgm 0
fadedefaultbgm
release
@@ -333,7 +333,7 @@ LilycoveCity_EventScript_14CE96:: @ 814CE96
end
LilycoveCity_EventScript_14CEA6:: @ 814CEA6
- msgbox LilycoveCity_Text_167C6B, 4
+ msgbox LilycoveCity_Text_167C6B, MSGBOX_DEFAULT
setvar VAR_RESULT, 0
call_if_set FLAG_BADGE06_GET, LilycoveCity_EventScript_14CEDE
compare VAR_RESULT, 0
@@ -354,20 +354,20 @@ LilycoveCity_EventScript_14CEE8:: @ 814CEE8
return
LilycoveCity_EventScript_14CEEE:: @ 814CEEE
- msgbox LilycoveCity_Text_167D08, 4
+ msgbox LilycoveCity_Text_167D08, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_14CEF7:: @ 814CEF7
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_14CF09
- msgbox LilycoveCity_Text_167DDD, 4
+ msgbox LilycoveCity_Text_167DDD, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_14CF09:: @ 814CF09
- msgbox LilycoveCity_Text_167EAA, 4
+ msgbox LilycoveCity_Text_167EAA, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_14CF12:: @ 814CF12
- msgbox LilycoveCity_Text_168149, 4
+ msgbox LilycoveCity_Text_168149, MSGBOX_DEFAULT
setvar VAR_RESULT, 0
call_if_set FLAG_BADGE06_GET, LilycoveCity_EventScript_14CEDE
compare VAR_RESULT, 0
@@ -379,16 +379,16 @@ LilycoveCity_EventScript_14CF12:: @ 814CF12
end
LilycoveCity_EventScript_14CF47:: @ 814CF47
- msgbox LilycoveCity_Text_1681EA, 4
+ msgbox LilycoveCity_Text_1681EA, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_14CF50:: @ 814CF50
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_14CF62
- msgbox LilycoveCity_Text_168282, 4
+ msgbox LilycoveCity_Text_168282, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_14CF62:: @ 814CF62
- msgbox LilycoveCity_Text_16835A, 4
+ msgbox LilycoveCity_Text_16835A, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_14CF6B:: @ 814CF6B
diff --git a/data/maps/LilycoveCity_ContestHall/scripts.inc b/data/maps/LilycoveCity_ContestHall/scripts.inc
index 944857a21..8eff4731c 100644
--- a/data/maps/LilycoveCity_ContestHall/scripts.inc
+++ b/data/maps/LilycoveCity_ContestHall/scripts.inc
@@ -4,23 +4,23 @@ LilycoveCity_ContestHall_MapScripts:: @ 8159099
.byte 0 @ XXX
LilycoveCity_ContestHall_EventScript_15909B:: @ 815909B
- msgbox LilycoveCity_ContestHall_Text_1890D4, 2
+ msgbox LilycoveCity_ContestHall_Text_1890D4, MSGBOX_NPC
end
LilycoveCity_ContestHall_EventScript_1590A4:: @ 81590A4
- msgbox LilycoveCity_ContestHall_Text_18915F, 2
+ msgbox LilycoveCity_ContestHall_Text_18915F, MSGBOX_NPC
end
LilycoveCity_ContestHall_EventScript_1590AD:: @ 81590AD
- msgbox LilycoveCity_ContestHall_Text_189221, 2
+ msgbox LilycoveCity_ContestHall_Text_189221, MSGBOX_NPC
end
LilycoveCity_ContestHall_EventScript_1590B6:: @ 81590B6
- msgbox LilycoveCity_ContestHall_Text_189299, 2
+ msgbox LilycoveCity_ContestHall_Text_189299, MSGBOX_NPC
end
LilycoveCity_ContestHall_EventScript_1590BF:: @ 81590BF
- msgbox LilycoveCity_ContestHall_Text_189301, 2
+ msgbox LilycoveCity_ContestHall_Text_189301, MSGBOX_NPC
lockall
applymovement 4, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -28,7 +28,7 @@ LilycoveCity_ContestHall_EventScript_1590BF:: @ 81590BF
end
LilycoveCity_ContestHall_EventScript_1590D4:: @ 81590D4
- msgbox LilycoveCity_ContestHall_Text_189366, 2
+ msgbox LilycoveCity_ContestHall_Text_189366, MSGBOX_NPC
lockall
applymovement 5, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -36,7 +36,7 @@ LilycoveCity_ContestHall_EventScript_1590D4:: @ 81590D4
end
LilycoveCity_ContestHall_EventScript_1590E9:: @ 81590E9
- msgbox LilycoveCity_ContestHall_Text_1893CE, 2
+ msgbox LilycoveCity_ContestHall_Text_1893CE, MSGBOX_NPC
lockall
applymovement 6, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -44,7 +44,7 @@ LilycoveCity_ContestHall_EventScript_1590E9:: @ 81590E9
end
LilycoveCity_ContestHall_EventScript_1590FE:: @ 81590FE
- msgbox LilycoveCity_ContestHall_Text_189463, 2
+ msgbox LilycoveCity_ContestHall_Text_189463, MSGBOX_NPC
lockall
applymovement 7, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -52,7 +52,7 @@ LilycoveCity_ContestHall_EventScript_1590FE:: @ 81590FE
end
LilycoveCity_ContestHall_EventScript_159113:: @ 8159113
- msgbox LilycoveCity_ContestHall_Text_189512, 2
+ msgbox LilycoveCity_ContestHall_Text_189512, MSGBOX_NPC
lockall
applymovement 8, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -60,7 +60,7 @@ LilycoveCity_ContestHall_EventScript_159113:: @ 8159113
end
LilycoveCity_ContestHall_EventScript_159128:: @ 8159128
- msgbox LilycoveCity_ContestHall_Text_18956B, 2
+ msgbox LilycoveCity_ContestHall_Text_18956B, MSGBOX_NPC
lockall
applymovement 9, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -68,11 +68,11 @@ LilycoveCity_ContestHall_EventScript_159128:: @ 8159128
end
LilycoveCity_ContestHall_EventScript_15913D:: @ 815913D
- msgbox LilycoveCity_ContestHall_Text_1895F3, 3
+ msgbox LilycoveCity_ContestHall_Text_1895F3, MSGBOX_SIGN
end
LilycoveCity_ContestHall_EventScript_159146:: @ 8159146
- msgbox LilycoveCity_ContestHall_Text_189617, 2
+ msgbox LilycoveCity_ContestHall_Text_189617, MSGBOX_NPC
lockall
applymovement 12, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -80,7 +80,7 @@ LilycoveCity_ContestHall_EventScript_159146:: @ 8159146
end
LilycoveCity_ContestHall_EventScript_15915B:: @ 815915B
- msgbox LilycoveCity_ContestHall_Text_1896BE, 2
+ msgbox LilycoveCity_ContestHall_Text_1896BE, MSGBOX_NPC
lockall
applymovement 22, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -88,7 +88,7 @@ LilycoveCity_ContestHall_EventScript_15915B:: @ 815915B
end
LilycoveCity_ContestHall_EventScript_159170:: @ 8159170
- msgbox LilycoveCity_ContestHall_Text_1896FE, 2
+ msgbox LilycoveCity_ContestHall_Text_1896FE, MSGBOX_NPC
lockall
applymovement 11, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -96,7 +96,7 @@ LilycoveCity_ContestHall_EventScript_159170:: @ 8159170
end
LilycoveCity_ContestHall_EventScript_159185:: @ 8159185
- msgbox LilycoveCity_ContestHall_Text_189771, 2
+ msgbox LilycoveCity_ContestHall_Text_189771, MSGBOX_NPC
lockall
applymovement 13, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -104,7 +104,7 @@ LilycoveCity_ContestHall_EventScript_159185:: @ 8159185
end
LilycoveCity_ContestHall_EventScript_15919A:: @ 815919A
- msgbox LilycoveCity_ContestHall_Text_1897AA, 2
+ msgbox LilycoveCity_ContestHall_Text_1897AA, MSGBOX_NPC
lockall
applymovement 14, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -112,7 +112,7 @@ LilycoveCity_ContestHall_EventScript_15919A:: @ 815919A
end
LilycoveCity_ContestHall_EventScript_1591AF:: @ 81591AF
- msgbox LilycoveCity_ContestHall_Text_18980B, 2
+ msgbox LilycoveCity_ContestHall_Text_18980B, MSGBOX_NPC
lockall
applymovement 15, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -120,7 +120,7 @@ LilycoveCity_ContestHall_EventScript_1591AF:: @ 81591AF
end
LilycoveCity_ContestHall_EventScript_1591C4:: @ 81591C4
- msgbox LilycoveCity_ContestHall_Text_189874, 2
+ msgbox LilycoveCity_ContestHall_Text_189874, MSGBOX_NPC
lockall
applymovement 16, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -128,7 +128,7 @@ LilycoveCity_ContestHall_EventScript_1591C4:: @ 81591C4
end
LilycoveCity_ContestHall_EventScript_1591D9:: @ 81591D9
- msgbox LilycoveCity_ContestHall_Text_18990A, 2
+ msgbox LilycoveCity_ContestHall_Text_18990A, MSGBOX_NPC
lockall
applymovement 17, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -136,7 +136,7 @@ LilycoveCity_ContestHall_EventScript_1591D9:: @ 81591D9
end
LilycoveCity_ContestHall_EventScript_1591EE:: @ 81591EE
- msgbox LilycoveCity_ContestHall_Text_189981, 2
+ msgbox LilycoveCity_ContestHall_Text_189981, MSGBOX_NPC
lockall
applymovement 18, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -144,7 +144,7 @@ LilycoveCity_ContestHall_EventScript_1591EE:: @ 81591EE
end
LilycoveCity_ContestHall_EventScript_159203:: @ 8159203
- msgbox LilycoveCity_ContestHall_Text_189A1D, 2
+ msgbox LilycoveCity_ContestHall_Text_189A1D, MSGBOX_NPC
lockall
applymovement 19, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -152,7 +152,7 @@ LilycoveCity_ContestHall_EventScript_159203:: @ 8159203
end
LilycoveCity_ContestHall_EventScript_159218:: @ 8159218
- msgbox LilycoveCity_ContestHall_Text_189A82, 2
+ msgbox LilycoveCity_ContestHall_Text_189A82, MSGBOX_NPC
lockall
applymovement 21, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -160,7 +160,7 @@ LilycoveCity_ContestHall_EventScript_159218:: @ 8159218
end
LilycoveCity_ContestHall_EventScript_15922D:: @ 815922D
- msgbox LilycoveCity_ContestHall_Text_189AE1, 2
+ msgbox LilycoveCity_ContestHall_Text_189AE1, MSGBOX_NPC
lockall
applymovement 20, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -168,7 +168,7 @@ LilycoveCity_ContestHall_EventScript_15922D:: @ 815922D
end
LilycoveCity_ContestHall_EventScript_159242:: @ 8159242
- msgbox LilycoveCity_ContestHall_Text_189B4E, 2
+ msgbox LilycoveCity_ContestHall_Text_189B4E, MSGBOX_NPC
lockall
applymovement 23, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -176,7 +176,7 @@ LilycoveCity_ContestHall_EventScript_159242:: @ 8159242
end
LilycoveCity_ContestHall_EventScript_159257:: @ 8159257
- msgbox LilycoveCity_ContestHall_Text_189BBF, 2
+ msgbox LilycoveCity_ContestHall_Text_189BBF, MSGBOX_NPC
lockall
applymovement 24, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -184,7 +184,7 @@ LilycoveCity_ContestHall_EventScript_159257:: @ 8159257
end
LilycoveCity_ContestHall_EventScript_15926C:: @ 815926C
- msgbox LilycoveCity_ContestHall_Text_189C29, 2
+ msgbox LilycoveCity_ContestHall_Text_189C29, MSGBOX_NPC
lockall
applymovement 25, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -192,7 +192,7 @@ LilycoveCity_ContestHall_EventScript_15926C:: @ 815926C
end
LilycoveCity_ContestHall_EventScript_159281:: @ 8159281
- msgbox LilycoveCity_ContestHall_Text_189C67, 2
+ msgbox LilycoveCity_ContestHall_Text_189C67, MSGBOX_NPC
lockall
applymovement 26, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -200,7 +200,7 @@ LilycoveCity_ContestHall_EventScript_159281:: @ 8159281
end
LilycoveCity_ContestHall_EventScript_159296:: @ 8159296
- msgbox LilycoveCity_ContestHall_Text_189CB3, 2
+ msgbox LilycoveCity_ContestHall_Text_189CB3, MSGBOX_NPC
lockall
applymovement 27, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -208,7 +208,7 @@ LilycoveCity_ContestHall_EventScript_159296:: @ 8159296
end
LilycoveCity_ContestHall_EventScript_1592AB:: @ 81592AB
- msgbox LilycoveCity_ContestHall_Text_189D11, 2
+ msgbox LilycoveCity_ContestHall_Text_189D11, MSGBOX_NPC
lockall
applymovement 28, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -222,12 +222,12 @@ LilycoveCity_ContestHall_EventScript_1592C0:: @ 81592C0
delay 25
applymovement 29, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
- msgbox LilycoveCity_ContestHall_Text_189DA2, 3
+ msgbox LilycoveCity_ContestHall_Text_189DA2, MSGBOX_SIGN
releaseall
end
LilycoveCity_ContestHall_EventScript_1592E2:: @ 81592E2
- msgbox LilycoveCity_ContestHall_Text_189E5F, 2
+ msgbox LilycoveCity_ContestHall_Text_189E5F, MSGBOX_NPC
lockall
applymovement 31, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -235,7 +235,7 @@ LilycoveCity_ContestHall_EventScript_1592E2:: @ 81592E2
end
LilycoveCity_ContestHall_EventScript_1592F7:: @ 81592F7
- msgbox LilycoveCity_ContestHall_Text_189DF3, 2
+ msgbox LilycoveCity_ContestHall_Text_189DF3, MSGBOX_NPC
lockall
applymovement 30, LilycoveCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -243,13 +243,13 @@ LilycoveCity_ContestHall_EventScript_1592F7:: @ 81592F7
end
LilycoveCity_ContestHall_EventScript_15930C:: @ 815930C
- msgbox LilycoveCity_ContestHall_Text_189EF3, 3
+ msgbox LilycoveCity_ContestHall_Text_189EF3, MSGBOX_SIGN
end
LilycoveCity_ContestHall_EventScript_159315:: @ 8159315
- msgbox LilycoveCity_ContestHall_Text_189F29, 3
+ msgbox LilycoveCity_ContestHall_Text_189F29, MSGBOX_SIGN
end
LilycoveCity_ContestHall_EventScript_15931E:: @ 815931E
- msgbox LilycoveCity_ContestHall_Text_189F5C, 3
+ msgbox LilycoveCity_ContestHall_Text_189F5C, MSGBOX_SIGN
end
diff --git a/data/maps/LilycoveCity_ContestLobby/scripts.inc b/data/maps/LilycoveCity_ContestLobby/scripts.inc
index eb559f3fe..9336616c3 100644
--- a/data/maps/LilycoveCity_ContestLobby/scripts.inc
+++ b/data/maps/LilycoveCity_ContestLobby/scripts.inc
@@ -24,7 +24,7 @@ LilycoveCity_ContestLobby_EventScript_158898:: @ 8158898
waitmovement 4
applymovement 255, LilycoveCity_ContestLobby_Movement_158A4C
waitmovement 0
- msgbox LilycoveCity_ContestLobby_Text_18890F, 4
+ msgbox LilycoveCity_ContestLobby_Text_18890F, MSGBOX_DEFAULT
lockall
fadescreen 1
showcontestwinner 0
@@ -38,7 +38,7 @@ LilycoveCity_ContestLobby_EventScript_158898:: @ 8158898
end
LilycoveCity_ContestLobby_EventScript_1588DE:: @ 81588DE
- msgbox LilycoveCity_ContestLobby_Text_188AE8, 4
+ msgbox LilycoveCity_ContestLobby_Text_188AE8, MSGBOX_DEFAULT
closemessage
special sub_80C4CEC
setvar VAR_LILYCOVE_CONTEST_LOBBY_STATE, 0
@@ -57,7 +57,7 @@ LilycoveCity_ContestLobby_EventScript_158918:: @ 8158918
msgbox LilycoveCity_ContestLobby_Text_188C41, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq LilycoveCity_ContestLobby_EventScript_1588DE
- msgbox LilycoveCity_ContestLobby_Text_188CBD, 4
+ msgbox LilycoveCity_ContestLobby_Text_188CBD, MSGBOX_DEFAULT
closemessage
applymovement 4, LilycoveCity_ContestLobby_Movement_158A43
waitmovement 0
@@ -76,12 +76,12 @@ LilycoveCity_ContestLobby_EventScript_158948:: @ 8158948
waitmovement 0
applymovement 4, LilycoveCity_ContestLobby_Movement_158A52
waitmovement 0
- msgbox LilycoveCity_ContestLobby_Text_188BB5, 4
+ msgbox LilycoveCity_ContestLobby_Text_188BB5, MSGBOX_DEFAULT
playfanfare MUS_FANFA4
- msgbox LilycoveCity_ContestLobby_Text_188C03, 4
+ msgbox LilycoveCity_ContestLobby_Text_188C03, MSGBOX_DEFAULT
waitfanfare
- msgbox LilycoveCity_ContestLobby_Text_188C19, 4
- msgbox LilycoveCity_ContestLobby_Text_188C32, 4
+ msgbox LilycoveCity_ContestLobby_Text_188C19, MSGBOX_DEFAULT
+ msgbox LilycoveCity_ContestLobby_Text_188C32, MSGBOX_DEFAULT
closemessage
return
@@ -198,7 +198,7 @@ LilycoveCity_ContestLobby_EventScript_158A6A:: @ 8158A6A
waitmovement 11
applymovement 255, LilycoveCity_ContestLobby_Movement_158B76
waitmovement 0
- msgbox LilycoveCity_ContestLobby_Text_18890F, 4
+ msgbox LilycoveCity_ContestLobby_Text_18890F, MSGBOX_DEFAULT
lockall
fadescreen 1
showcontestwinner 0
@@ -210,7 +210,7 @@ LilycoveCity_ContestLobby_EventScript_158A6A:: @ 8158A6A
end
LilycoveCity_ContestLobby_EventScript_158AAE:: @ 8158AAE
- msgbox LilycoveCity_ContestLobby_Text_188AE8, 4
+ msgbox LilycoveCity_ContestLobby_Text_188AE8, MSGBOX_DEFAULT
closemessage
special sub_80C4CEC
setvar VAR_LILYCOVE_CONTEST_LOBBY_STATE, 0
@@ -229,7 +229,7 @@ LilycoveCity_ContestLobby_EventScript_158AE8:: @ 8158AE8
msgbox LilycoveCity_ContestLobby_Text_188C41, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq LilycoveCity_ContestLobby_EventScript_158AAE
- msgbox LilycoveCity_ContestLobby_Text_188CBD, 4
+ msgbox LilycoveCity_ContestLobby_Text_188CBD, MSGBOX_DEFAULT
closemessage
applymovement 11, LilycoveCity_ContestLobby_Movement_158B6D
waitmovement 0
@@ -248,12 +248,12 @@ LilycoveCity_ContestLobby_EventScript_158B18:: @ 8158B18
waitmovement 0
applymovement 11, LilycoveCity_ContestLobby_Movement_158B7C
waitmovement 0
- msgbox LilycoveCity_ContestLobby_Text_188BB5, 4
+ msgbox LilycoveCity_ContestLobby_Text_188BB5, MSGBOX_DEFAULT
playfanfare MUS_FANFA4
- msgbox LilycoveCity_ContestLobby_Text_188C03, 4
+ msgbox LilycoveCity_ContestLobby_Text_188C03, MSGBOX_DEFAULT
waitfanfare
- msgbox LilycoveCity_ContestLobby_Text_188C19, 4
- msgbox LilycoveCity_ContestLobby_Text_188C32, 4
+ msgbox LilycoveCity_ContestLobby_Text_188C19, MSGBOX_DEFAULT
+ msgbox LilycoveCity_ContestLobby_Text_188C32, MSGBOX_DEFAULT
closemessage
return
@@ -319,7 +319,7 @@ LilycoveCity_ContestLobby_EventScript_158BAE:: @ 8158BAE
end
LilycoveCity_ContestLobby_EventScript_158BBA:: @ 8158BBA
- msgbox LilycoveCity_ContestLobby_Text_1A63F4, 4
+ msgbox LilycoveCity_ContestLobby_Text_1A63F4, MSGBOX_DEFAULT
releaseall
end
@@ -344,18 +344,18 @@ LilycoveCity_ContestLobby_EventScript_158BF0:: @ 8158BF0
end
LilycoveCity_ContestLobby_EventScript_158C27:: @ 8158C27
- msgbox LilycoveCity_ContestLobby_Text_1885A7, 4
+ msgbox LilycoveCity_ContestLobby_Text_1885A7, MSGBOX_DEFAULT
goto LilycoveCity_ContestLobby_EventScript_158B85
end
LilycoveCity_ContestLobby_EventScript_158C35:: @ 8158C35
- msgbox LilycoveCity_ContestLobby_Text_188559, 4
+ msgbox LilycoveCity_ContestLobby_Text_188559, MSGBOX_DEFAULT
releaseall
clearflag FLAG_TEMP_3
end
LilycoveCity_ContestLobby_EventScript_158C42:: @ 8158C42
- msgbox LilycoveCity_ContestLobby_Text_188703, 4
+ msgbox LilycoveCity_ContestLobby_Text_188703, MSGBOX_DEFAULT
setvar VAR_CONTEST_RANK, 0
choosecontestmon
compare VAR_0x8004, 255
@@ -374,17 +374,17 @@ LilycoveCity_ContestLobby_EventScript_158C42:: @ 8158C42
end
LilycoveCity_ContestLobby_EventScript_158C96:: @ 8158C96
- msgbox LilycoveCity_ContestLobby_Text_1A664A, 4
+ msgbox LilycoveCity_ContestLobby_Text_1A664A, MSGBOX_DEFAULT
goto LilycoveCity_ContestLobby_EventScript_158C42
end
LilycoveCity_ContestLobby_EventScript_158CA4:: @ 8158CA4
- msgbox LilycoveCity_ContestLobby_Text_1A669F, 4
+ msgbox LilycoveCity_ContestLobby_Text_1A669F, MSGBOX_DEFAULT
goto LilycoveCity_ContestLobby_EventScript_158C42
end
LilycoveCity_ContestLobby_EventScript_158CB2:: @ 8158CB2
- msgbox LilycoveCity_ContestLobby_Text_1A66DC, 4
+ msgbox LilycoveCity_ContestLobby_Text_1A66DC, MSGBOX_DEFAULT
goto LilycoveCity_ContestLobby_EventScript_158C42
end
@@ -432,13 +432,13 @@ LilycoveCity_ContestLobby_EventScript_158D24:: @ 8158D24
end
LilycoveCity_ContestLobby_EventScript_158D82:: @ 8158D82
- msgbox LilycoveCity_ContestLobby_Text_188750, 4
+ msgbox LilycoveCity_ContestLobby_Text_188750, MSGBOX_DEFAULT
goto LilycoveCity_ContestLobby_EventScript_158CEA
end
LilycoveCity_ContestLobby_EventScript_158D90:: @ 8158D90
special CloseLink
- msgbox LilycoveCity_ContestLobby_Text_18878D, 4
+ msgbox LilycoveCity_ContestLobby_Text_18878D, MSGBOX_DEFAULT
closemessage
releaseall
clearflag FLAG_TEMP_3
@@ -446,7 +446,7 @@ LilycoveCity_ContestLobby_EventScript_158D90:: @ 8158D90
LilycoveCity_ContestLobby_EventScript_158DA1:: @ 8158DA1
special CloseLink
- msgbox LilycoveCity_ContestLobby_Text_1887F4, 4
+ msgbox LilycoveCity_ContestLobby_Text_1887F4, MSGBOX_DEFAULT
closemessage
releaseall
clearflag FLAG_TEMP_3
@@ -454,14 +454,14 @@ LilycoveCity_ContestLobby_EventScript_158DA1:: @ 8158DA1
LilycoveCity_ContestLobby_EventScript_158DB2:: @ 8158DB2
special CloseLink
- msgbox LilycoveCity_ContestLobby_Text_18881F, 4
+ msgbox LilycoveCity_ContestLobby_Text_18881F, MSGBOX_DEFAULT
closemessage
releaseall
clearflag FLAG_TEMP_3
end
LilycoveCity_ContestLobby_EventScript_158DC3:: @ 8158DC3
- msgbox LilycoveCity_ContestLobby_Text_18873A, 4
+ msgbox LilycoveCity_ContestLobby_Text_18873A, MSGBOX_DEFAULT
goto LilycoveCity_ContestLobby_EventScript_158CEA
end
@@ -646,7 +646,7 @@ LilycoveCity_ContestLobby_EventScript_158F86:: @ 8158F86
waitmovement 0
applymovement 255, LilycoveCity_ContestLobby_Movement_159008
waitmovement 0
- msgbox LilycoveCity_ContestLobby_Text_1A6832, 4
+ msgbox LilycoveCity_ContestLobby_Text_1A6832, MSGBOX_DEFAULT
closemessage
applymovement 1, LilycoveCity_ContestLobby_Movement_159013
applymovement 255, LilycoveCity_ContestLobby_Movement_158FFE
@@ -699,32 +699,32 @@ LilycoveCity_ContestLobby_Movement_15901C:: @ 815901C
end_movement
LilycoveCity_ContestLobby_EventScript_15901E:: @ 815901E
- msgbox LilycoveCity_ContestLobby_Text_188D3C, 2
+ msgbox LilycoveCity_ContestLobby_Text_188D3C, MSGBOX_NPC
end
LilycoveCity_ContestLobby_EventScript_159027:: @ 8159027
goto_if_unset FLAG_RECEIVED_CONTEST_PASS, LilycoveCity_ContestLobby_EventScript_159039
- msgbox LilycoveCity_ContestLobby_Text_188DDA, 2
+ msgbox LilycoveCity_ContestLobby_Text_188DDA, MSGBOX_NPC
end
LilycoveCity_ContestLobby_EventScript_159039:: @ 8159039
- msgbox LilycoveCity_ContestLobby_Text_188E47, 2
+ msgbox LilycoveCity_ContestLobby_Text_188E47, MSGBOX_NPC
end
LilycoveCity_ContestLobby_EventScript_159042:: @ 8159042
- msgbox LilycoveCity_ContestLobby_Text_188F07, 2
+ msgbox LilycoveCity_ContestLobby_Text_188F07, MSGBOX_NPC
end
LilycoveCity_ContestLobby_EventScript_15904B:: @ 815904B
- msgbox LilycoveCity_ContestLobby_Text_188F81, 2
+ msgbox LilycoveCity_ContestLobby_Text_188F81, MSGBOX_NPC
end
LilycoveCity_ContestLobby_EventScript_159054:: @ 8159054
- msgbox LilycoveCity_ContestLobby_Text_188FE3, 2
+ msgbox LilycoveCity_ContestLobby_Text_188FE3, MSGBOX_NPC
end
LilycoveCity_ContestLobby_EventScript_15905D:: @ 815905D
- msgbox LilycoveCity_ContestLobby_Text_18904D, 2
+ msgbox LilycoveCity_ContestLobby_Text_18904D, MSGBOX_NPC
end
LilycoveCity_ContestLobby_EventScript_159066:: @ 8159066
@@ -749,11 +749,11 @@ LilycoveCity_ContestLobby_EventScript_159074:: @ 8159074
end
LilycoveCity_ContestLobby_EventScript_15907B:: @ 815907B
- msgbox LilycoveCity_ContestLobby_Text_1B7225, 2
+ msgbox LilycoveCity_ContestLobby_Text_1B7225, MSGBOX_NPC
end
LilycoveCity_ContestLobby_EventScript_159084:: @ 8159084
- msgbox LilycoveCity_ContestLobby_Text_1B7241, 2
+ msgbox LilycoveCity_ContestLobby_Text_1B7241, MSGBOX_NPC
end
LilycoveCity_ContestLobby_EventScript_15908D:: @ 815908D
diff --git a/data/maps/LilycoveCity_CoveLilyMotel_1F/scripts.inc b/data/maps/LilycoveCity_CoveLilyMotel_1F/scripts.inc
index c3eca04f4..012c4800c 100644
--- a/data/maps/LilycoveCity_CoveLilyMotel_1F/scripts.inc
+++ b/data/maps/LilycoveCity_CoveLilyMotel_1F/scripts.inc
@@ -5,10 +5,10 @@ LilycoveCity_CoveLilyMotel_1F_EventScript_1582C5:: @ 81582C5
lockall
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_CoveLilyMotel_1F_EventScript_158326
goto_if_set FLAG_BADGE07_GET, LilycoveCity_CoveLilyMotel_1F_EventScript_1582FF
- msgbox LilycoveCity_CoveLilyMotel_1F_Text_186B71, 4
+ msgbox LilycoveCity_CoveLilyMotel_1F_Text_186B71, MSGBOX_DEFAULT
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_1A0839
waitmovement 0
- msgbox LilycoveCity_CoveLilyMotel_1F_Text_186C2B, 4
+ msgbox LilycoveCity_CoveLilyMotel_1F_Text_186C2B, MSGBOX_DEFAULT
closemessage
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_1A083D
waitmovement 0
@@ -16,10 +16,10 @@ LilycoveCity_CoveLilyMotel_1F_EventScript_1582C5:: @ 81582C5
end
LilycoveCity_CoveLilyMotel_1F_EventScript_1582FF:: @ 81582FF
- msgbox LilycoveCity_CoveLilyMotel_1F_Text_186CCE, 4
+ msgbox LilycoveCity_CoveLilyMotel_1F_Text_186CCE, MSGBOX_DEFAULT
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_1A0839
waitmovement 0
- msgbox LilycoveCity_CoveLilyMotel_1F_Text_186D7F, 4
+ msgbox LilycoveCity_CoveLilyMotel_1F_Text_186D7F, MSGBOX_DEFAULT
closemessage
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_1A083D
waitmovement 0
@@ -27,10 +27,10 @@ LilycoveCity_CoveLilyMotel_1F_EventScript_1582FF:: @ 81582FF
end
LilycoveCity_CoveLilyMotel_1F_EventScript_158326:: @ 8158326
- msgbox LilycoveCity_CoveLilyMotel_1F_Text_186E57, 4
+ msgbox LilycoveCity_CoveLilyMotel_1F_Text_186E57, MSGBOX_DEFAULT
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_1A0839
waitmovement 0
- msgbox LilycoveCity_CoveLilyMotel_1F_Text_186F09, 4
+ msgbox LilycoveCity_CoveLilyMotel_1F_Text_186F09, MSGBOX_DEFAULT
closemessage
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_1A083D
waitmovement 0
@@ -46,7 +46,7 @@ LilycoveCity_CoveLilyMotel_1F_EventScript_15834D:: @ 815834D
waitmovement 0
applymovement 255, LilycoveCity_CoveLilyMotel_1F_Movement_1A0845
waitmovement 0
- msgbox LilycoveCity_CoveLilyMotel_1F_Text_186CA6, 4
+ msgbox LilycoveCity_CoveLilyMotel_1F_Text_186CA6, MSGBOX_DEFAULT
closemessage
applymovement 255, LilycoveCity_CoveLilyMotel_1F_Movement_158395
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_15839A
diff --git a/data/maps/LilycoveCity_CoveLilyMotel_2F/scripts.inc b/data/maps/LilycoveCity_CoveLilyMotel_2F/scripts.inc
index 40d757c4a..f1222843f 100644
--- a/data/maps/LilycoveCity_CoveLilyMotel_2F/scripts.inc
+++ b/data/maps/LilycoveCity_CoveLilyMotel_2F/scripts.inc
@@ -13,7 +13,7 @@ LilycoveCity_CoveLilyMotel_2F_EventScript_1583A1:: @ 81583A1
end
LilycoveCity_CoveLilyMotel_2F_EventScript_1583C7:: @ 81583C7
- msgbox LilycoveCity_CoveLilyMotel_2F_Text_186FE7, 4
+ msgbox LilycoveCity_CoveLilyMotel_2F_Text_186FE7, MSGBOX_DEFAULT
return
LilycoveCity_CoveLilyMotel_2F_EventScript_1583D0:: @ 81583D0
@@ -33,21 +33,21 @@ LilycoveCity_CoveLilyMotel_2F_EventScript_1583DD:: @ 81583DD
end
LilycoveCity_CoveLilyMotel_2F_EventScript_1583EE:: @ 81583EE
- msgbox LilycoveCity_CoveLilyMotel_2F_Text_187149, 2
+ msgbox LilycoveCity_CoveLilyMotel_2F_Text_187149, MSGBOX_NPC
end
LilycoveCity_CoveLilyMotel_2F_EventScript_1583F7:: @ 81583F7
- msgbox LilycoveCity_CoveLilyMotel_2F_Text_18719E, 2
+ msgbox LilycoveCity_CoveLilyMotel_2F_Text_18719E, MSGBOX_NPC
end
LilycoveCity_CoveLilyMotel_2F_EventScript_158400:: @ 8158400
- msgbox LilycoveCity_CoveLilyMotel_2F_Text_1871DF, 2
+ msgbox LilycoveCity_CoveLilyMotel_2F_Text_1871DF, MSGBOX_NPC
end
LilycoveCity_CoveLilyMotel_2F_EventScript_158409:: @ 8158409
- msgbox LilycoveCity_CoveLilyMotel_2F_Text_18729A, 2
+ msgbox LilycoveCity_CoveLilyMotel_2F_Text_18729A, MSGBOX_NPC
end
LilycoveCity_CoveLilyMotel_2F_EventScript_158412:: @ 8158412
- msgbox LilycoveCity_CoveLilyMotel_2F_Text_1872D4, 2
+ msgbox LilycoveCity_CoveLilyMotel_2F_Text_1872D4, MSGBOX_NPC
end
diff --git a/data/maps/LilycoveCity_DepartmentStoreRooftop/scripts.inc b/data/maps/LilycoveCity_DepartmentStoreRooftop/scripts.inc
index a21fcffd6..6edde5a39 100644
--- a/data/maps/LilycoveCity_DepartmentStoreRooftop/scripts.inc
+++ b/data/maps/LilycoveCity_DepartmentStoreRooftop/scripts.inc
@@ -24,7 +24,7 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_15A167:: @ 815A167
message LilycoveCity_DepartmentStoreRooftop_Text_1A0BE4
waitmessage
pokemartdecoration LilycoveCity_DepartmentStoreRooftop_Decorations
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_1A0C02, 4
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -54,17 +54,17 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_15A1A0:: @ 815A1A0
getpricereduction 3
compare VAR_RESULT, 1
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_15A1BA
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C61F, 4
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C61F, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStoreRooftop_EventScript_15A1BA:: @ 815A1BA
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C685, 4
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C685, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStoreRooftop_EventScript_15A1C4:: @ 815A1C4
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C70E, 2
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C70E, MSGBOX_NPC
end
LilycoveCity_DepartmentStoreRooftop_EventScript_15A1CD:: @ 815A1CD
@@ -83,7 +83,7 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_15A1DE:: @ 815A1DE
case 0, LilycoveCity_DepartmentStoreRooftop_EventScript_15A21C
case 1, LilycoveCity_DepartmentStoreRooftop_EventScript_15A227
case 2, LilycoveCity_DepartmentStoreRooftop_EventScript_15A232
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C7C3, 4
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C7C3, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStoreRooftop_EventScript_15A396
end
@@ -148,11 +148,11 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_15A267:: @ 815A267
nop
bufferitemname 0, VAR_TEMP_0
playse SE_JIHANKI
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C75F, 4
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C75F, MSGBOX_DEFAULT
additem VAR_TEMP_0
bufferitemname 1, VAR_TEMP_0
bufferstdstring 2, 14
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_1A0C8C, 4
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_1A0C8C, MSGBOX_DEFAULT
random 64
compare VAR_RESULT, 0
goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_15A36E
@@ -160,11 +160,11 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_15A267:: @ 815A267
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_15A388
playse SE_JIHANKI
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C780, 4
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C780, MSGBOX_DEFAULT
additem VAR_TEMP_0
bufferitemname 1, VAR_TEMP_0
bufferstdstring 2, 14
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_1A0C8C, 4
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_1A0C8C, MSGBOX_DEFAULT
random 64
compare VAR_RESULT, 0
goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_15A36E
@@ -172,11 +172,11 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_15A267:: @ 815A267
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_15A388
playse SE_JIHANKI
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C780, 4
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C780, MSGBOX_DEFAULT
additem VAR_TEMP_0
bufferitemname 1, VAR_TEMP_0
bufferstdstring 2, 14
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_1A0C8C, 4
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_1A0C8C, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStoreRooftop_EventScript_15A36E
end
@@ -187,12 +187,12 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_15A36E:: @ 815A36E
end
LilycoveCity_DepartmentStoreRooftop_EventScript_15A37A:: @ 815A37A
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C7AF, 4
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_18C7AF, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStoreRooftop_EventScript_15A396
end
LilycoveCity_DepartmentStoreRooftop_EventScript_15A388:: @ 815A388
- msgbox LilycoveCity_DepartmentStoreRooftop_Text_1A0C79, 4
+ msgbox LilycoveCity_DepartmentStoreRooftop_Text_1A0C79, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStoreRooftop_EventScript_15A396
end
diff --git a/data/maps/LilycoveCity_DepartmentStore_1F/scripts.inc b/data/maps/LilycoveCity_DepartmentStore_1F/scripts.inc
index cb38c0043..0958c23e6 100644
--- a/data/maps/LilycoveCity_DepartmentStore_1F/scripts.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_1F/scripts.inc
@@ -2,7 +2,7 @@ LilycoveCity_DepartmentStore_1F_MapScripts:: @ 8159D54
.byte 0
LilycoveCity_DepartmentStore_1F_EventScript_159D55:: @ 8159D55
- msgbox LilycoveCity_DepartmentStore_1F_Text_18BFB5, 2
+ msgbox LilycoveCity_DepartmentStore_1F_Text_18BFB5, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_1F_EventScript_159D5E:: @ 8159D5E
@@ -21,7 +21,7 @@ LilycoveCity_DepartmentStore_1F_EventScript_159D5E:: @ 8159D5E
special RetrieveLotteryNumber
copyvar VAR_0x8008, VAR_RESULT
special BufferLottoTicketNumber
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4CF6, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4CF6, MSGBOX_DEFAULT
applymovement 2, LilycoveCity_DepartmentStore_1F_Movement_1A0843
waitmovement 0
playse SE_PC_ON
@@ -55,47 +55,47 @@ LilycoveCity_DepartmentStore_1F_EventScript_159D5E:: @ 8159D5E
end
LilycoveCity_DepartmentStore_1F_EventScript_159E3A:: @ 8159E3A
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4D7D, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4D7D, MSGBOX_DEFAULT
return
LilycoveCity_DepartmentStore_1F_EventScript_159E43:: @ 8159E43
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4DD1, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4DD1, MSGBOX_DEFAULT
return
LilycoveCity_DepartmentStore_1F_EventScript_159E4C:: @ 8159E4C
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4C6A, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4C6A, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStore_1F_EventScript_159E56:: @ 8159E56
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4C85, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4C85, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStore_1F_EventScript_159E60:: @ 8159E60
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4E27, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4E27, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStore_1F_EventScript_159E6E
end
LilycoveCity_DepartmentStore_1F_EventScript_159E6E:: @ 8159E6E
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C501C, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C501C, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStore_1F_EventScript_159E78:: @ 8159E78
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4E4F, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4E4F, MSGBOX_DEFAULT
return
LilycoveCity_DepartmentStore_1F_EventScript_159E81:: @ 8159E81
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4E92, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4E92, MSGBOX_DEFAULT
return
LilycoveCity_DepartmentStore_1F_EventScript_159E8A:: @ 8159E8A
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4ED8, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4ED8, MSGBOX_DEFAULT
return
LilycoveCity_DepartmentStore_1F_EventScript_159E93:: @ 8159E93
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4F1C, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4F1C, MSGBOX_DEFAULT
return
LilycoveCity_DepartmentStore_1F_EventScript_159E9C:: @ 8159E9C
@@ -104,12 +104,12 @@ LilycoveCity_DepartmentStore_1F_EventScript_159E9C:: @ 8159E9C
end
LilycoveCity_DepartmentStore_1F_EventScript_159EA7:: @ 8159EA7
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4F77, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4F77, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStore_1F_EventScript_159EB1:: @ 8159EB1
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4FCC, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4FCC, MSGBOX_DEFAULT
giveitem VAR_LOTTERY_PRIZE
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_159EA7
@@ -118,15 +118,15 @@ LilycoveCity_DepartmentStore_1F_EventScript_159EB1:: @ 8159EB1
end
LilycoveCity_DepartmentStore_1F_EventScript_159ED7:: @ 8159ED7
- msgbox LilycoveCity_DepartmentStore_1F_Text_18BFDB, 2
+ msgbox LilycoveCity_DepartmentStore_1F_Text_18BFDB, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_1F_EventScript_159EE0:: @ 8159EE0
- msgbox LilycoveCity_DepartmentStore_1F_Text_18C044, 2
+ msgbox LilycoveCity_DepartmentStore_1F_Text_18C044, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_1F_EventScript_159EE9:: @ 8159EE9
- msgbox LilycoveCity_DepartmentStore_1F_Text_18C07A, 2
+ msgbox LilycoveCity_DepartmentStore_1F_Text_18C07A, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_1F_EventScript_159EF2:: @ 8159EF2
@@ -134,11 +134,11 @@ LilycoveCity_DepartmentStore_1F_EventScript_159EF2:: @ 8159EF2
faceplayer
waitse
playmoncry SPECIES_AZUMARILL, 0
- msgbox LilycoveCity_DepartmentStore_1F_Text_18C0C3, 4
+ msgbox LilycoveCity_DepartmentStore_1F_Text_18C0C3, MSGBOX_DEFAULT
waitmoncry
release
end
LilycoveCity_DepartmentStore_1F_EventScript_159F05:: @ 8159F05
- msgbox LilycoveCity_DepartmentStore_1F_Text_18C0D9, 3
+ msgbox LilycoveCity_DepartmentStore_1F_Text_18C0D9, MSGBOX_SIGN
end
diff --git a/data/maps/LilycoveCity_DepartmentStore_2F/scripts.inc b/data/maps/LilycoveCity_DepartmentStore_2F/scripts.inc
index 25e981628..5b882a834 100644
--- a/data/maps/LilycoveCity_DepartmentStore_2F/scripts.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_2F/scripts.inc
@@ -2,15 +2,15 @@ LilycoveCity_DepartmentStore_2F_MapScripts:: @ 8159F0E
.byte 0
LilycoveCity_DepartmentStore_2F_EventScript_159F0F:: @ 8159F0F
- msgbox LilycoveCity_DepartmentStore_2F_Text_18C162, 2
+ msgbox LilycoveCity_DepartmentStore_2F_Text_18C162, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_2F_EventScript_159F18:: @ 8159F18
- msgbox LilycoveCity_DepartmentStore_2F_Text_18C195, 2
+ msgbox LilycoveCity_DepartmentStore_2F_Text_18C195, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_2F_EventScript_159F21:: @ 8159F21
- msgbox LilycoveCity_DepartmentStore_2F_Text_18C1D9, 2
+ msgbox LilycoveCity_DepartmentStore_2F_Text_18C1D9, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_2F_EventScript_159F2A:: @ 8159F2A
@@ -19,7 +19,7 @@ LilycoveCity_DepartmentStore_2F_EventScript_159F2A:: @ 8159F2A
message LilycoveCity_DepartmentStore_2F_Text_1A0BE4
waitmessage
pokemart LilycoveCity_DepartmentStore_2F_Items1
- msgbox LilycoveCity_DepartmentStore_2F_Text_1A0C02, 4
+ msgbox LilycoveCity_DepartmentStore_2F_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -46,7 +46,7 @@ LilycoveCity_DepartmentStore_2F_EventScript_159F5E:: @ 8159F5E
message LilycoveCity_DepartmentStore_2F_Text_1A0BE4
waitmessage
pokemart LilycoveCity_DepartmentStore_2F_Items2
- msgbox LilycoveCity_DepartmentStore_2F_Text_1A0C02, 4
+ msgbox LilycoveCity_DepartmentStore_2F_Text_1A0C02, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/LilycoveCity_DepartmentStore_3F/scripts.inc b/data/maps/LilycoveCity_DepartmentStore_3F/scripts.inc
index 1f55f5018..ff8687c03 100644
--- a/data/maps/LilycoveCity_DepartmentStore_3F/scripts.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_3F/scripts.inc
@@ -7,7 +7,7 @@ LilycoveCity_DepartmentStore_3F_EventScript_159F91:: @ 8159F91
message LilycoveCity_DepartmentStore_3F_Text_1A0BE4
waitmessage
pokemart LilycoveCity_DepartmentStore_3F_Items1
- msgbox LilycoveCity_DepartmentStore_3F_Text_1A0C02, 4
+ msgbox LilycoveCity_DepartmentStore_3F_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -29,7 +29,7 @@ LilycoveCity_DepartmentStore_3F_EventScript_159FB8:: @ 8159FB8
message LilycoveCity_DepartmentStore_3F_Text_1A0BE4
waitmessage
pokemart LilycoveCity_DepartmentStore_3F_Items2
- msgbox LilycoveCity_DepartmentStore_3F_Text_1A0C02, 4
+ msgbox LilycoveCity_DepartmentStore_3F_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -48,13 +48,13 @@ LilycoveCity_DepartmentStore_3F_Items2:: @ 8159FD0
end
LilycoveCity_DepartmentStore_3F_EventScript_159FE2:: @ 8159FE2
- msgbox LilycoveCity_DepartmentStore_3F_Text_18C24B, 2
+ msgbox LilycoveCity_DepartmentStore_3F_Text_18C24B, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_3F_EventScript_159FEB:: @ 8159FEB
- msgbox LilycoveCity_DepartmentStore_3F_Text_18C2B5, 2
+ msgbox LilycoveCity_DepartmentStore_3F_Text_18C2B5, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_3F_EventScript_159FF4:: @ 8159FF4
- msgbox LilycoveCity_DepartmentStore_3F_Text_18C32E, 2
+ msgbox LilycoveCity_DepartmentStore_3F_Text_18C32E, MSGBOX_NPC
end
diff --git a/data/maps/LilycoveCity_DepartmentStore_4F/scripts.inc b/data/maps/LilycoveCity_DepartmentStore_4F/scripts.inc
index 907b79847..21b73ce84 100644
--- a/data/maps/LilycoveCity_DepartmentStore_4F/scripts.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_4F/scripts.inc
@@ -2,15 +2,15 @@ LilycoveCity_DepartmentStore_4F_MapScripts:: @ 8159FFD
.byte 0
LilycoveCity_DepartmentStore_4F_EventScript_159FFE:: @ 8159FFE
- msgbox LilycoveCity_DepartmentStore_4F_Text_18C39C, 2
+ msgbox LilycoveCity_DepartmentStore_4F_Text_18C39C, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_4F_EventScript_15A007:: @ 815A007
- msgbox LilycoveCity_DepartmentStore_4F_Text_18C41B, 2
+ msgbox LilycoveCity_DepartmentStore_4F_Text_18C41B, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_4F_EventScript_15A010:: @ 815A010
- msgbox LilycoveCity_DepartmentStore_4F_Text_18C481, 2
+ msgbox LilycoveCity_DepartmentStore_4F_Text_18C481, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_4F_EventScript_15A019:: @ 815A019
@@ -19,7 +19,7 @@ LilycoveCity_DepartmentStore_4F_EventScript_15A019:: @ 815A019
message LilycoveCity_DepartmentStore_4F_Text_1A0BE4
waitmessage
pokemart LilycoveCity_DepartmentStore_4F_Items1
- msgbox LilycoveCity_DepartmentStore_4F_Text_1A0C02, 4
+ msgbox LilycoveCity_DepartmentStore_4F_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -39,7 +39,7 @@ LilycoveCity_DepartmentStore_4F_EventScript_15A03C:: @ 815A03C
message LilycoveCity_DepartmentStore_4F_Text_1A0BE4
waitmessage
pokemart LilycoveCity_DepartmentStore_4F_Items2
- msgbox LilycoveCity_DepartmentStore_4F_Text_1A0C02, 4
+ msgbox LilycoveCity_DepartmentStore_4F_Text_1A0C02, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/LilycoveCity_DepartmentStore_5F/scripts.inc b/data/maps/LilycoveCity_DepartmentStore_5F/scripts.inc
index 184d3b816..b33bc8787 100644
--- a/data/maps/LilycoveCity_DepartmentStore_5F/scripts.inc
+++ b/data/maps/LilycoveCity_DepartmentStore_5F/scripts.inc
@@ -7,7 +7,7 @@ LilycoveCity_DepartmentStore_5F_EventScript_15A061:: @ 815A061
message LilycoveCity_DepartmentStore_5F_Text_1A0BE4
waitmessage
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Items1
- msgbox LilycoveCity_DepartmentStore_5F_Text_1A0C02, 4
+ msgbox LilycoveCity_DepartmentStore_5F_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -35,7 +35,7 @@ LilycoveCity_DepartmentStore_5F_EventScript_15A094:: @ 815A094
message LilycoveCity_DepartmentStore_5F_Text_1A0BE4
waitmessage
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Items2
- msgbox LilycoveCity_DepartmentStore_5F_Text_1A0C02, 4
+ msgbox LilycoveCity_DepartmentStore_5F_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -60,7 +60,7 @@ LilycoveCity_DepartmentStore_5F_EventScript_15A0C2:: @ 815A0C2
message LilycoveCity_DepartmentStore_5F_Text_1A0BE4
waitmessage
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Items3
- msgbox LilycoveCity_DepartmentStore_5F_Text_1A0C02, 4
+ msgbox LilycoveCity_DepartmentStore_5F_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -85,7 +85,7 @@ LilycoveCity_DepartmentStore_5F_EventScript_15A0F2:: @ 815A0F2
message LilycoveCity_DepartmentStore_5F_Text_1A0BE4
waitmessage
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Items4
- msgbox LilycoveCity_DepartmentStore_5F_Text_1A0C02, 4
+ msgbox LilycoveCity_DepartmentStore_5F_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -106,13 +106,13 @@ LilycoveCity_DepartmentStore_5F_Items4:: @ 815A10C
end
LilycoveCity_DepartmentStore_5F_EventScript_15A124:: @ 815A124
- msgbox LilycoveCity_DepartmentStore_5F_Text_18C4F9, 2
+ msgbox LilycoveCity_DepartmentStore_5F_Text_18C4F9, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_5F_EventScript_15A12D:: @ 815A12D
- msgbox LilycoveCity_DepartmentStore_5F_Text_18C59F, 2
+ msgbox LilycoveCity_DepartmentStore_5F_Text_18C59F, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_5F_EventScript_15A136:: @ 815A136
- msgbox LilycoveCity_DepartmentStore_5F_Text_18C556, 2
+ msgbox LilycoveCity_DepartmentStore_5F_Text_18C556, MSGBOX_NPC
end
diff --git a/data/maps/LilycoveCity_Harbor/scripts.inc b/data/maps/LilycoveCity_Harbor/scripts.inc
index 3bb6d47c8..ee952b2d6 100644
--- a/data/maps/LilycoveCity_Harbor/scripts.inc
+++ b/data/maps/LilycoveCity_Harbor/scripts.inc
@@ -17,12 +17,12 @@ LilycoveCity_Harbor_EventScript_1598A2:: @ 81598A2
LilycoveCity_Harbor_EventScript_1598BA:: @ 81598BA
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_Harbor_EventScript_1598CD
- msgbox LilycoveCity_Harbor_Text_18B306, 4
+ msgbox LilycoveCity_Harbor_Text_18B306, MSGBOX_DEFAULT
release
end
LilycoveCity_Harbor_EventScript_1598CD:: @ 81598CD
- msgbox LilycoveCity_Harbor_Text_18B36F, 4
+ msgbox LilycoveCity_Harbor_Text_18B36F, MSGBOX_DEFAULT
checkitem ITEM_SS_TICKET, 1
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_Harbor_EventScript_159929
@@ -41,7 +41,7 @@ LilycoveCity_Harbor_EventScript_1598F1:: @ 81598F1
end
LilycoveCity_Harbor_EventScript_159929:: @ 8159929
- msgbox LilycoveCity_Harbor_Text_18B3A9, 4
+ msgbox LilycoveCity_Harbor_Text_18B3A9, MSGBOX_DEFAULT
release
end
@@ -73,7 +73,7 @@ LilycoveCity_Harbor_EventScript_15997E:: @ 815997E
end
LilycoveCity_Harbor_EventScript_15998A:: @ 815998A
- msgbox LilycoveCity_Harbor_Text_18B4B3, 4
+ msgbox LilycoveCity_Harbor_Text_18B4B3, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, LilycoveCity_Harbor_Movement_1A0841
waitmovement 0
@@ -100,7 +100,7 @@ LilycoveCity_Harbor_EventScript_1599D9:: @ 81599D9
return
LilycoveCity_Harbor_EventScript_1599E4:: @ 81599E4
- msgbox LilycoveCity_Harbor_Text_18B45B, 4
+ msgbox LilycoveCity_Harbor_Text_18B45B, MSGBOX_DEFAULT
release
end
@@ -108,7 +108,7 @@ LilycoveCity_Harbor_EventScript_1599EE:: @ 81599EE
goto_if_unset FLAG_SYS_GAME_CLEAR, LilycoveCity_Harbor_EventScript_1598BA
goto_if_set FLAG_ENCOUNTERED_LATIAS_OR_LATIOS, LilycoveCity_Harbor_EventScript_1598BA
goto_if_unset FLAG_SYS_HAS_EON_TICKET, LilycoveCity_Harbor_EventScript_1598BA
- msgbox LilycoveCity_Harbor_Text_1C50F2, 4
+ msgbox LilycoveCity_Harbor_Text_1C50F2, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, LilycoveCity_Harbor_Movement_1A0841
waitmovement 0
@@ -119,7 +119,7 @@ LilycoveCity_Harbor_EventScript_1599EE:: @ 81599EE
delay 30
applymovement 4, LilycoveCity_Harbor_Movement_1A0839
waitmovement 0
- msgbox LilycoveCity_Harbor_Text_1C5120, 4
+ msgbox LilycoveCity_Harbor_Text_1C5120, MSGBOX_DEFAULT
closemessage
applymovement 4, LilycoveCity_Harbor_Movement_1A0841
waitmovement 0
@@ -156,11 +156,11 @@ LilycoveCity_Harbor_EventScript_159A8D:: @ 8159A8D
lock
faceplayer
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_Harbor_EventScript_159AA2
- msgbox LilycoveCity_Harbor_Text_18B504, 4
+ msgbox LilycoveCity_Harbor_Text_18B504, MSGBOX_DEFAULT
release
end
LilycoveCity_Harbor_EventScript_159AA2:: @ 8159AA2
- msgbox LilycoveCity_Harbor_Text_18B58E, 4
+ msgbox LilycoveCity_Harbor_Text_18B58E, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/LilycoveCity_House1/scripts.inc b/data/maps/LilycoveCity_House1/scripts.inc
index 15535a122..86b37ecd7 100644
--- a/data/maps/LilycoveCity_House1/scripts.inc
+++ b/data/maps/LilycoveCity_House1/scripts.inc
@@ -2,7 +2,7 @@ LilycoveCity_House1_MapScripts:: @ 8159B85
.byte 0
LilycoveCity_House1_EventScript_159B86:: @ 8159B86
- msgbox LilycoveCity_House1_Text_18B7B0, 2
+ msgbox LilycoveCity_House1_Text_18B7B0, MSGBOX_NPC
end
LilycoveCity_House1_EventScript_159B8F:: @ 8159B8F
@@ -10,7 +10,7 @@ LilycoveCity_House1_EventScript_159B8F:: @ 8159B8F
faceplayer
waitse
playmoncry SPECIES_KECLEON, 0
- msgbox LilycoveCity_House1_Text_18B82B, 4
+ msgbox LilycoveCity_House1_Text_18B82B, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/LilycoveCity_House2/scripts.inc b/data/maps/LilycoveCity_House2/scripts.inc
index 6816b9847..704da6693 100644
--- a/data/maps/LilycoveCity_House2/scripts.inc
+++ b/data/maps/LilycoveCity_House2/scripts.inc
@@ -5,16 +5,16 @@ LilycoveCity_House2_EventScript_159BA3:: @ 8159BA3
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM44, LilycoveCity_House2_EventScript_159BDA
- msgbox LilycoveCity_House2_Text_18B83C, 4
+ msgbox LilycoveCity_House2_Text_18B83C, MSGBOX_DEFAULT
giveitem ITEM_TM44_REST
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_House2_EventScript_1A029B
setflag FLAG_RECEIVED_TM44
- msgbox LilycoveCity_House2_Text_18B883, 4
+ msgbox LilycoveCity_House2_Text_18B883, MSGBOX_DEFAULT
release
end
LilycoveCity_House2_EventScript_159BDA:: @ 8159BDA
- msgbox LilycoveCity_House2_Text_18B883, 4
+ msgbox LilycoveCity_House2_Text_18B883, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/LilycoveCity_House3/scripts.inc b/data/maps/LilycoveCity_House3/scripts.inc
index f771ab1d4..62d3e8842 100644
--- a/data/maps/LilycoveCity_House3/scripts.inc
+++ b/data/maps/LilycoveCity_House3/scripts.inc
@@ -13,7 +13,7 @@ LilycoveCity_House3_EventScript_159BF3:: @ 8159BF3
msgbox LilycoveCity_House3_Text_18B8CC, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_House3_EventScript_159C1D
- msgbox LilycoveCity_House3_Text_18BA2B, 4
+ msgbox LilycoveCity_House3_Text_18BA2B, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, LilycoveCity_House3_Movement_1A083D
waitmovement 0
@@ -21,7 +21,7 @@ LilycoveCity_House3_EventScript_159BF3:: @ 8159BF3
end
LilycoveCity_House3_EventScript_159C1D:: @ 8159C1D
- msgbox LilycoveCity_House3_Text_18B9DC, 4
+ msgbox LilycoveCity_House3_Text_18B9DC, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, LilycoveCity_House3_Movement_1A083D
waitmovement 0
@@ -31,7 +31,7 @@ LilycoveCity_House3_EventScript_159C1D:: @ 8159C1D
LilycoveCity_House3_EventScript_159C32:: @ 8159C32
lock
faceplayer
- msgbox LilycoveCity_House3_Text_18BD64, 4
+ msgbox LilycoveCity_House3_Text_18BD64, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, LilycoveCity_House3_Movement_1A083D
waitmovement 0
@@ -79,21 +79,21 @@ LilycoveCity_House3_EventScript_159CE5:: @ 8159CE5
end
LilycoveCity_House3_EventScript_159D19:: @ 8159D19
- msgbox LilycoveCity_House3_Text_18BDDB, 4
+ msgbox LilycoveCity_House3_Text_18BDDB, MSGBOX_DEFAULT
release
end
LilycoveCity_House3_EventScript_159D23:: @ 8159D23
- msgbox LilycoveCity_House3_Text_18BE14, 4
+ msgbox LilycoveCity_House3_Text_18BE14, MSGBOX_DEFAULT
release
end
LilycoveCity_House3_EventScript_159D2D:: @ 8159D2D
- msgbox LilycoveCity_House3_Text_18BE57, 4
+ msgbox LilycoveCity_House3_Text_18BE57, MSGBOX_DEFAULT
release
end
LilycoveCity_House3_EventScript_159D37:: @ 8159D37
- msgbox LilycoveCity_House3_Text_18BE8E, 4
+ msgbox LilycoveCity_House3_Text_18BE8E, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/LilycoveCity_House4/scripts.inc b/data/maps/LilycoveCity_House4/scripts.inc
index 13bc95dfa..4a1759b59 100644
--- a/data/maps/LilycoveCity_House4/scripts.inc
+++ b/data/maps/LilycoveCity_House4/scripts.inc
@@ -2,9 +2,9 @@ LilycoveCity_House4_MapScripts:: @ 8159D41
.byte 0
LilycoveCity_House4_EventScript_159D42:: @ 8159D42
- msgbox LilycoveCity_House4_Text_18BEE8, 2
+ msgbox LilycoveCity_House4_Text_18BEE8, MSGBOX_NPC
end
LilycoveCity_House4_EventScript_159D4B:: @ 8159D4B
- msgbox LilycoveCity_House4_Text_18BF4E, 2
+ msgbox LilycoveCity_House4_Text_18BF4E, MSGBOX_NPC
end
diff --git a/data/maps/LilycoveCity_LilycoveMuseum_1F/scripts.inc b/data/maps/LilycoveCity_LilycoveMuseum_1F/scripts.inc
index 0d115eff8..f99507dbe 100644
--- a/data/maps/LilycoveCity_LilycoveMuseum_1F/scripts.inc
+++ b/data/maps/LilycoveCity_LilycoveMuseum_1F/scripts.inc
@@ -2,7 +2,7 @@ LilycoveCity_LilycoveMuseum_1F_MapScripts:: @ 815841B
.byte 0
LilycoveCity_LilycoveMuseum_1F_EventScript_15841C:: @ 815841C
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_187348, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_187348, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158425:: @ 8158425
@@ -18,7 +18,7 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_158425:: @ 8158425
end
LilycoveCity_LilycoveMuseum_1F_EventScript_15844F:: @ 815844F
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_187459, 2
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_187459, MSGBOX_NPC
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158458:: @ 8158458
@@ -30,12 +30,12 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_158458:: @ 8158458
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158477:: @ 8158477
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_1874F5, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_1874F5, MSGBOX_SIGN
releaseall
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158481:: @ 8158481
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_187534, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_187534, MSGBOX_SIGN
applymovement 2, LilycoveCity_LilycoveMuseum_1F_Movement_1584FC
waitmovement 0
removeobject 2
@@ -89,68 +89,68 @@ LilycoveCity_LilycoveMuseum_1F_Movement_158504:: @ 8158504
end_movement
LilycoveCity_LilycoveMuseum_1F_EventScript_158507:: @ 8158507
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_18757F, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_18757F, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158510:: @ 8158510
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_1875BE, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_1875BE, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158519:: @ 8158519
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_1875F8, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_1875F8, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158522:: @ 8158522
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_187641, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_187641, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_1F_EventScript_15852B:: @ 815852B
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_1876A1, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_1876A1, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158534:: @ 8158534
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_18770C, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_18770C, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_1F_EventScript_15853D:: @ 815853D
LilycoveCity_LilycoveMuseum_2F_EventScript_15853D:: @ 815853D
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_18775F, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_18775F, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158546:: @ 8158546
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_1877A9, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_1877A9, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_1F_EventScript_15854F:: @ 815854F
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_187810, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_187810, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158558:: @ 8158558
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_1878B7, 2
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_1878B7, MSGBOX_NPC
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158561:: @ 8158561
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_18791D, 2
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_18791D, MSGBOX_NPC
end
LilycoveCity_LilycoveMuseum_1F_EventScript_15856A:: @ 815856A
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_1879BF, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_1879BF, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158573:: @ 8158573
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_1879E6, 3
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_1879E6, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_1F_EventScript_15857C:: @ 815857C
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_187A1A, 2
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_187A1A, MSGBOX_NPC
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158585:: @ 8158585
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_187AA0, 2
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_187AA0, MSGBOX_NPC
end
LilycoveCity_LilycoveMuseum_1F_EventScript_15858E:: @ 815858E
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_187B04, 2
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_187B04, MSGBOX_NPC
lockall
applymovement 8, LilycoveCity_LilycoveMuseum_1F_Movement_1A083D
waitmovement 0
@@ -158,5 +158,5 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_15858E:: @ 815858E
end
LilycoveCity_LilycoveMuseum_1F_EventScript_1585A3:: @ 81585A3
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_187B7F, 2
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_187B7F, MSGBOX_NPC
end
diff --git a/data/maps/LilycoveCity_LilycoveMuseum_2F/scripts.inc b/data/maps/LilycoveCity_LilycoveMuseum_2F/scripts.inc
index 0a9aba9dc..23134f1ec 100644
--- a/data/maps/LilycoveCity_LilycoveMuseum_2F/scripts.inc
+++ b/data/maps/LilycoveCity_LilycoveMuseum_2F/scripts.inc
@@ -65,17 +65,17 @@ LilycoveCity_LilycoveMuseum_2F_EventScript_15867A:: @ 815867A
applymovement 1, LilycoveCity_LilycoveMuseum_2F_Movement_1A0839
applymovement 255, LilycoveCity_LilycoveMuseum_2F_Movement_1586D3
waitmovement 0
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_187C42, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_187C42, MSGBOX_SIGN
applymovement 1, LilycoveCity_LilycoveMuseum_2F_Movement_1586D5
waitmovement 0
applymovement 255, LilycoveCity_LilycoveMuseum_2F_Movement_1586D5
waitmovement 0
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_187C64, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_187C64, MSGBOX_SIGN
applymovement 1, LilycoveCity_LilycoveMuseum_2F_Movement_1A0839
waitmovement 0
applymovement 255, LilycoveCity_LilycoveMuseum_2F_Movement_1586D3
waitmovement 0
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_187E1D, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_187E1D, MSGBOX_SIGN
copyvar VAR_LILYCOVE_MUSEUM_2F_STATE, 0x1
releaseall
end
@@ -99,25 +99,25 @@ LilycoveCity_LilycoveMuseum_2F_EventScript_1586D8:: @ 81586D8
case 3, LilycoveCity_LilycoveMuseum_2F_EventScript_15872C
case 4, LilycoveCity_LilycoveMuseum_2F_EventScript_15872C
case 5, LilycoveCity_LilycoveMuseum_2F_EventScript_158735
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_187F4E, 2
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_187F4E, MSGBOX_NPC
end
LilycoveCity_LilycoveMuseum_2F_EventScript_15872C:: @ 815872C
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_187F9D, 2
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_187F9D, MSGBOX_NPC
end
LilycoveCity_LilycoveMuseum_2F_EventScript_158735:: @ 8158735
applymovement 1, LilycoveCity_LilycoveMuseum_2F_Movement_1A0839
waitmovement 0
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_18802F, 4
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_18802F, MSGBOX_DEFAULT
applymovement 1, LilycoveCity_LilycoveMuseum_2F_Movement_1586D5
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_188041, 4
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_188041, MSGBOX_DEFAULT
goto LilycoveCity_LilycoveMuseum_2F_EventScript_15875C
end
LilycoveCity_LilycoveMuseum_2F_EventScript_15875C:: @ 815875C
applymovement 1, LilycoveCity_LilycoveMuseum_2F_Movement_1A0839
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_188120, 4
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_188120, MSGBOX_DEFAULT
givedecoration DECOR_GLASS_ORNAMENT
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_LilycoveMuseum_2F_EventScript_158783
@@ -128,92 +128,92 @@ LilycoveCity_LilycoveMuseum_2F_EventScript_15875C:: @ 815875C
LilycoveCity_LilycoveMuseum_2F_EventScript_158783:: @ 8158783
call LilycoveCity_LilycoveMuseum_2F_EventScript_1A02B8
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_188166, 4
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_188166, MSGBOX_DEFAULT
closemessage
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_158793:: @ 8158793
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_188194, 2
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_188194, MSGBOX_NPC
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_15879D:: @ 815879D
lockall
goto_if_set FLAG_CUTE_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_15883C
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_188219, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_188219, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_2F_EventScript_1587B0:: @ 81587B0
lockall
goto_if_set FLAG_TOUGH_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_158858
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_18824C, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_18824C, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_2F_EventScript_1587C3:: @ 81587C3
lockall
goto_if_set FLAG_COOL_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_158820
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_1882B4, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_1882B4, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_2F_EventScript_1587D6:: @ 81587D6
lockall
goto_if_set FLAG_BEAUTY_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_15882E
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_188281, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_188281, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_2F_EventScript_1587E9:: @ 81587E9
lockall
goto_if_set FLAG_SMART_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_15884A
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_1882E6, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_1882E6, MSGBOX_SIGN
end
@ 81587FC
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_18831A, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_18831A, MSGBOX_SIGN
end
LilycoveCity_LilycoveMuseum_2F_EventScript_158805:: @ 8158805
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_188336, 2
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_188336, MSGBOX_NPC
end
LilycoveCity_LilycoveMuseum_2F_EventScript_15880E:: @ 815880E
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_1883AB, 2
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_1883AB, MSGBOX_NPC
end
LilycoveCity_LilycoveMuseum_2F_EventScript_158817:: @ 8158817
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_188423, 2
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_188423, MSGBOX_NPC
end
LilycoveCity_LilycoveMuseum_2F_EventScript_158820:: @ 8158820
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_18831A, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_18831A, MSGBOX_SIGN
fadescreen 1
showcontestwinner 9
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_15882E:: @ 815882E
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_18831A, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_18831A, MSGBOX_SIGN
fadescreen 1
showcontestwinner 10
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_15883C:: @ 815883C
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_18831A, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_18831A, MSGBOX_SIGN
fadescreen 1
showcontestwinner 11
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_15884A:: @ 815884A
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_18831A, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_18831A, MSGBOX_SIGN
fadescreen 1
showcontestwinner 12
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_158858:: @ 8158858
- msgbox LilycoveCity_LilycoveMuseum_2F_Text_18831A, 3
+ msgbox LilycoveCity_LilycoveMuseum_2F_Text_18831A, MSGBOX_SIGN
fadescreen 1
showcontestwinner 13
releaseall
diff --git a/data/maps/LilycoveCity_MoveDeletersHouse/scripts.inc b/data/maps/LilycoveCity_MoveDeletersHouse/scripts.inc
index 8adf8b559..30a8596c0 100644
--- a/data/maps/LilycoveCity_MoveDeletersHouse/scripts.inc
+++ b/data/maps/LilycoveCity_MoveDeletersHouse/scripts.inc
@@ -13,7 +13,7 @@ LilycoveCity_MoveDeletersHouse_EventScript_159AAE:: @ 8159AAE
end
LilycoveCity_MoveDeletersHouse_EventScript_159ADE:: @ 8159ADE
- msgbox LilycoveCity_MoveDeletersHouse_Text_18B68C, 4
+ msgbox LilycoveCity_MoveDeletersHouse_Text_18B68C, MSGBOX_DEFAULT
special SelectMonForNPCTrade
waitstate
compare VAR_0x8004, 255
@@ -24,7 +24,7 @@ LilycoveCity_MoveDeletersHouse_EventScript_159ADE:: @ 8159ADE
special ScrSpecial_CountPokemonMoves
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_159B64
- msgbox LilycoveCity_MoveDeletersHouse_Text_18B6B0, 4
+ msgbox LilycoveCity_MoveDeletersHouse_Text_18B6B0, MSGBOX_DEFAULT
fadescreen 1
special SelectMove
fadescreen 0
@@ -42,22 +42,22 @@ LilycoveCity_MoveDeletersHouse_EventScript_159B53:: @ 8159B53
special DeleteMonMove
playfanfare MUS_ME_WASURE
waitfanfare
- msgbox LilycoveCity_MoveDeletersHouse_Text_18B71E, 4
+ msgbox LilycoveCity_MoveDeletersHouse_Text_18B71E, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_MoveDeletersHouse_EventScript_159B64:: @ 8159B64
special ScrSpecial_GetPokemonNicknameAndMoveName
- msgbox LilycoveCity_MoveDeletersHouse_Text_18B6D0, 4
+ msgbox LilycoveCity_MoveDeletersHouse_Text_18B6D0, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_MoveDeletersHouse_EventScript_159B71:: @ 8159B71
- msgbox LilycoveCity_MoveDeletersHouse_Text_18B78C, 4
+ msgbox LilycoveCity_MoveDeletersHouse_Text_18B78C, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_MoveDeletersHouse_EventScript_159B7B:: @ 8159B7B
- msgbox LilycoveCity_MoveDeletersHouse_Text_18B757, 4
+ msgbox LilycoveCity_MoveDeletersHouse_Text_18B757, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc b/data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc
index 61c6db9aa..66c027dd6 100644
--- a/data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc
@@ -15,18 +15,18 @@ LilycoveCity_PokemonCenter_1F_EventScript_159331:: @ 8159331
end
LilycoveCity_PokemonCenter_1F_EventScript_15933F:: @ 815933F
- msgbox LilycoveCity_PokemonCenter_1F_Text_189FC9, 2
+ msgbox LilycoveCity_PokemonCenter_1F_Text_189FC9, MSGBOX_NPC
end
LilycoveCity_PokemonCenter_1F_EventScript_159348:: @ 8159348
lock
faceplayer
goto_if_set FLAG_BADGE07_GET, LilycoveCity_PokemonCenter_1F_EventScript_15935D
- msgbox LilycoveCity_PokemonCenter_1F_Text_18A048, 4
+ msgbox LilycoveCity_PokemonCenter_1F_Text_18A048, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonCenter_1F_EventScript_15935D:: @ 815935D
- msgbox LilycoveCity_PokemonCenter_1F_Text_18A0A1, 4
+ msgbox LilycoveCity_PokemonCenter_1F_Text_18A0A1, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/LilycoveCity_PokemonTrainerFanClub/scripts.inc b/data/maps/LilycoveCity_PokemonTrainerFanClub/scripts.inc
index eeb5669ae..c0ccb0c50 100644
--- a/data/maps/LilycoveCity_PokemonTrainerFanClub/scripts.inc
+++ b/data/maps/LilycoveCity_PokemonTrainerFanClub/scripts.inc
@@ -11,13 +11,13 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_15939F:: @ 815939F
lockall
applymovement 1, LilycoveCity_PokemonTrainerFanClub_Movement_1A0845
waitmovement 0
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A1D6, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A1D6, MSGBOX_DEFAULT
applymovement 4, LilycoveCity_PokemonTrainerFanClub_Movement_159402
applymovement 2, LilycoveCity_PokemonTrainerFanClub_Movement_1593FA
waitmovement 0
applymovement 255, LilycoveCity_PokemonTrainerFanClub_Movement_1A0843
waitmovement 0
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A1E8, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A1E8, MSGBOX_DEFAULT
applymovement 4, LilycoveCity_PokemonTrainerFanClub_Movement_159409
waitmovement 0
applymovement 255, LilycoveCity_PokemonTrainerFanClub_Movement_1A083F
@@ -156,7 +156,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_15952F:: @ 815952F
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_159592
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A400, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A400, MSGBOX_DEFAULT
release
end
@@ -164,22 +164,22 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_15956E:: @ 815956E
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_159588
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A36A, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A36A, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_159588:: @ 8159588
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A391, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A391, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_159592:: @ 8159592
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A48D, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A48D, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_15959C:: @ 815959C
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A4EA, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A4EA, MSGBOX_DEFAULT
release
end
@@ -196,7 +196,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_1595A6:: @ 81595A6
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_159609
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A629, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A629, MSGBOX_DEFAULT
release
end
@@ -204,22 +204,22 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_1595E5:: @ 81595E5
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_1595FF
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A584, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A584, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_1595FF:: @ 81595FF
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A5AC, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A5AC, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_159609:: @ 8159609
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A65B, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A65B, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_159613:: @ 8159613
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A6D4, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A6D4, MSGBOX_DEFAULT
release
end
@@ -236,7 +236,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_15961D:: @ 815961D
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_159680
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A814, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A814, MSGBOX_DEFAULT
release
end
@@ -244,22 +244,22 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_15965C:: @ 815965C
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_159676
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A71E, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A71E, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_159676:: @ 8159676
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A789, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A789, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_159680:: @ 8159680
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A8C4, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A8C4, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_15968A:: @ 815968A
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A984, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18A984, MSGBOX_DEFAULT
release
end
@@ -276,7 +276,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_159694:: @ 8159694
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_1596F7
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AB0A, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AB0A, MSGBOX_DEFAULT
release
end
@@ -284,22 +284,22 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_1596D3:: @ 81596D3
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_1596ED
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AA39, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AA39, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_1596ED:: @ 81596ED
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AA83, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AA83, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_1596F7:: @ 81596F7
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AB41, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AB41, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_159701:: @ 8159701
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18ABAE, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18ABAE, MSGBOX_DEFAULT
release
end
@@ -314,7 +314,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_15970B:: @ 815970B
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_159763
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18ACC7, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18ACC7, MSGBOX_DEFAULT
release
end
@@ -322,17 +322,17 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_15973F:: @ 815973F
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_159759
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AC15, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AC15, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_159759:: @ 8159759
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AC5E, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AC5E, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_159763:: @ 8159763
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AD05, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AD05, MSGBOX_DEFAULT
release
end
@@ -347,7 +347,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_15976D:: @ 815976D
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_1597C5
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AE63, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AE63, MSGBOX_DEFAULT
release
end
@@ -355,17 +355,17 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_1597A1:: @ 81597A1
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_1597BB
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AD6D, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AD6D, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_1597BB:: @ 81597BB
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18ADEF, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18ADEF, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_1597C5:: @ 81597C5
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AEF5, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AEF5, MSGBOX_DEFAULT
release
end
@@ -380,7 +380,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_1597CF:: @ 81597CF
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_159827
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18B030, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18B030, MSGBOX_DEFAULT
release
end
@@ -388,17 +388,17 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_159803:: @ 8159803
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_15981D
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AF62, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AF62, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_15981D:: @ 815981D
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AFD0, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18AFD0, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_159827:: @ 8159827
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18B0C8, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18B0C8, MSGBOX_DEFAULT
release
end
@@ -413,7 +413,7 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_159831:: @ 8159831
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 7
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_159889
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18B1FD, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18B1FD, MSGBOX_DEFAULT
release
end
@@ -421,16 +421,16 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_159865:: @ 8159865
specialvar VAR_RESULT, GetNumMovedLilycoveFanClubMembers
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_15987F
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18B16E, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18B16E, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_15987F:: @ 815987F
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18B181, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18B181, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonTrainerFanClub_EventScript_159889:: @ 8159889
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_18B24F, 4
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_18B24F, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/LittlerootTown/scripts.inc b/data/maps/LittlerootTown/scripts.inc
index d0b82f8ef..c923770b4 100644
--- a/data/maps/LittlerootTown/scripts.inc
+++ b/data/maps/LittlerootTown/scripts.inc
@@ -111,7 +111,7 @@ LittlerootTown_EventScript_14D62B:: @ 814D62B
delay 10
applymovement 4, LittlerootTown_Movement_14D6AE
waitmovement 0
- msgbox LittlerootTown_Text_16A7C9, 4
+ msgbox LittlerootTown_Text_16A7C9, MSGBOX_DEFAULT
closemessage
applymovement 4, LittlerootTown_Movement_14D6B1
applymovement 255, LittlerootTown_Movement_14D6B8
@@ -176,11 +176,11 @@ LittlerootTown_EventScript_14D6C5:: @ 814D6C5
end
LittlerootTown_EventScript_14D6CD:: @ 814D6CD
- msgbox LittlerootTown_Text_16AC00, 2
+ msgbox LittlerootTown_Text_16AC00, MSGBOX_NPC
end
LittlerootTown_EventScript_14D6D6:: @ 814D6D6
- msgbox LittlerootTown_Text_16AC56, 2
+ msgbox LittlerootTown_Text_16AC56, MSGBOX_NPC
end
LittlerootTown_EventScript_14D6DF:: @ 814D6DF
@@ -190,12 +190,12 @@ LittlerootTown_EventScript_14D6DF:: @ 814D6DF
goto_if_set FLAG_RESCUED_BIRCH, LittlerootTown_EventScript_14D722
compare VAR_LITTLEROOT_STATE, 0
goto_if_ne LittlerootTown_EventScript_14D708
- msgbox LittlerootTown_Text_16ACEB, 4
+ msgbox LittlerootTown_Text_16ACEB, MSGBOX_DEFAULT
release
end
LittlerootTown_EventScript_14D708:: @ 814D708
- msgbox LittlerootTown_Text_16AD82, 4
+ msgbox LittlerootTown_Text_16AD82, MSGBOX_DEFAULT
closemessage
applymovement 1, LittlerootTown_Movement_1A083D
waitmovement 0
@@ -205,12 +205,12 @@ LittlerootTown_EventScript_14D708:: @ 814D708
LittlerootTown_EventScript_14D722:: @ 814D722
special GetPlayerBigGuyGirlString
- msgbox LittlerootTown_Text_16ADF2, 4
+ msgbox LittlerootTown_Text_16ADF2, MSGBOX_DEFAULT
release
end
LittlerootTown_EventScript_14D72F:: @ 814D72F
- msgbox LittlerootTown_Text_16AE25, 4
+ msgbox LittlerootTown_Text_16AE25, MSGBOX_DEFAULT
release
end
@@ -225,12 +225,12 @@ LittlerootTown_EventScript_14D739:: @ 814D739
end
LittlerootTown_EventScript_14D755:: @ 814D755
- msgbox LittlerootTown_Text_16ACEB, 4
+ msgbox LittlerootTown_Text_16ACEB, MSGBOX_DEFAULT
closemessage
applymovement 1, LittlerootTown_Movement_14D787
applymovement 255, LittlerootTown_Movement_14D793
waitmovement 0
- msgbox LittlerootTown_Text_16AD3C, 4
+ msgbox LittlerootTown_Text_16AD3C, MSGBOX_DEFAULT
closemessage
return
@@ -312,7 +312,7 @@ LittlerootTown_EventScript_14D7C7:: @ 814D7C7
waitmovement 0
applymovement 255, LittlerootTown_Movement_1A083F
waitmovement 0
- msgbox LittlerootTown_Text_16AD82, 4
+ msgbox LittlerootTown_Text_16AD82, MSGBOX_DEFAULT
closemessage
applymovement 1, LittlerootTown_Movement_1A083D
waitmovement 0
@@ -321,11 +321,11 @@ LittlerootTown_EventScript_14D7C7:: @ 814D7C7
end
LittlerootTown_EventScript_14D7F6:: @ 814D7F6
- msgbox LittlerootTown_Text_16AE50, 3
+ msgbox LittlerootTown_Text_16AE50, MSGBOX_SIGN
end
LittlerootTown_EventScript_14D7FF:: @ 814D7FF
- msgbox LittlerootTown_Text_16AE87, 3
+ msgbox LittlerootTown_Text_16AE87, MSGBOX_SIGN
end
LittlerootTown_EventScript_14D808:: @ 814D808
@@ -339,11 +339,11 @@ LittlerootTown_EventScript_14D808:: @ 814D808
end
LittlerootTown_EventScript_14D822:: @ 814D822
- msgbox LittlerootTown_Text_16AEA1, 4
+ msgbox LittlerootTown_Text_16AEA1, MSGBOX_DEFAULT
return
LittlerootTown_EventScript_14D82B:: @ 814D82B
- msgbox LittlerootTown_Text_16AEAC, 4
+ msgbox LittlerootTown_Text_16AEAC, MSGBOX_DEFAULT
return
LittlerootTown_EventScript_14D834:: @ 814D834
@@ -357,11 +357,11 @@ LittlerootTown_EventScript_14D834:: @ 814D834
end
LittlerootTown_EventScript_14D84E:: @ 814D84E
- msgbox LittlerootTown_Text_16AEAC, 4
+ msgbox LittlerootTown_Text_16AEAC, MSGBOX_DEFAULT
return
LittlerootTown_EventScript_14D857:: @ 814D857
- msgbox LittlerootTown_Text_16AEA1, 4
+ msgbox LittlerootTown_Text_16AEA1, MSGBOX_DEFAULT
return
LittlerootTown_EventScript_14D860:: @ 814D860
@@ -413,7 +413,7 @@ LittlerootTown_EventScript_14D8B6:: @ 814D8B6
call_if_eq LittlerootTown_EventScript_14D926
compare VAR_RESULT, 1
call_if_eq LittlerootTown_EventScript_14D931
- msgbox LittlerootTown_Text_16A8EE, 4
+ msgbox LittlerootTown_Text_16A8EE, MSGBOX_DEFAULT
closemessage
checkplayergender
compare VAR_RESULT, 0
@@ -864,14 +864,14 @@ LittlerootTown_EventScript_14DD2B:: @ 814DD2B
end
LittlerootTown_EventScript_14DD38:: @ 814DD38
- msgbox LittlerootTown_Text_16A8FD, 4
+ msgbox LittlerootTown_Text_16A8FD, MSGBOX_DEFAULT
playfanfare MUS_FANFA4
message LittlerootTown_Text_16AA32
waitfanfare
waitmessage
setflag FLAG_RECEIVED_RUNNING_SHOES
- msgbox LittlerootTown_Text_16AA5C, 4
- msgbox LittlerootTown_Text_16AB10, 4
+ msgbox LittlerootTown_Text_16AA5C, MSGBOX_DEFAULT
+ msgbox LittlerootTown_Text_16AB10, MSGBOX_DEFAULT
closemessage
delay 30
return
diff --git a/data/maps/LittlerootTown_BrendansHouse_1F/scripts.inc b/data/maps/LittlerootTown_BrendansHouse_1F/scripts.inc
index b712826f3..312a9ebe4 100644
--- a/data/maps/LittlerootTown_BrendansHouse_1F/scripts.inc
+++ b/data/maps/LittlerootTown_BrendansHouse_1F/scripts.inc
@@ -59,7 +59,7 @@ LittlerootTown_BrendansHouse_1F_MapScript2_1526D0:: @ 81526D0
LittlerootTown_BrendansHouse_1F_EventScript_1526FA:: @ 81526FA
lockall
- msgbox LittlerootTown_BrendansHouse_1F_Text_172574, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172574, MSGBOX_DEFAULT
closemessage
applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_152720
applymovement 1, LittlerootTown_BrendansHouse_1F_Movement_152720
@@ -98,7 +98,7 @@ LittlerootTown_BrendansHouse_1F_EventScript_152744:: @ 8152744
applymovement 4, LittlerootTown_BrendansHouse_1F_Movement_152782
waitmovement 0
special GetRivalSonDaughterString
- msgbox LittlerootTown_BrendansHouse_1F_Text_1730C2, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_1730C2, MSGBOX_DEFAULT
setflag FLAG_MET_RIVAL_MOM
setvar VAR_LITTLEROOT_HOUSES_STATE, 2
releaseall
diff --git a/data/maps/LittlerootTown_BrendansHouse_2F/scripts.inc b/data/maps/LittlerootTown_BrendansHouse_2F/scripts.inc
index 932334f02..2f23c2747 100644
--- a/data/maps/LittlerootTown_BrendansHouse_2F/scripts.inc
+++ b/data/maps/LittlerootTown_BrendansHouse_2F/scripts.inc
@@ -36,12 +36,12 @@ LittlerootTown_BrendansHouse_2F_EventScript_1527E4:: @ 81527E4
end
LittlerootTown_BrendansHouse_2F_EventScript_15280A:: @ 815280A
- msgbox UnknownString_8172F31, 4
+ msgbox UnknownString_8172F31, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_152814:: @ 8152814
- msgbox UnknownString_8173A76, 4
+ msgbox UnknownString_8173A76, MSGBOX_DEFAULT
releaseall
end
@@ -60,7 +60,7 @@ LittlerootTown_BrendansHouse_2F_EventScript_152837:: @ 8152837
setvar VAR_0x8004, 1
special DoPCTurnOnEffect
playse SE_PC_ON
- msgbox LittlerootTown_BrendansHouse_2F_Text_1A10D6, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_1A10D6, MSGBOX_DEFAULT
special BedroomPC
waitstate
releaseall
@@ -74,16 +74,16 @@ gBrendanHouse_TurnPCOff:: @ 8152850
end
LittlerootTown_BrendansHouse_2F_EventScript_15285D:: @ 815285D
- msgbox LittlerootTown_BrendansHouse_2F_Text_1A100C, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_1A100C, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_152867:: @ 8152867
LittlerootTown_MaysHouse_2F_EventScript_152867:: @ 8152867
- msgbox LittlerootTown_BrendansHouse_2F_Text_172F9A, 3
+ msgbox LittlerootTown_BrendansHouse_2F_Text_172F9A, MSGBOX_SIGN
end
LittlerootTown_BrendansHouse_2F_EventScript_152870:: @ 8152870
LittlerootTown_MaysHouse_2F_EventScript_152870:: @ 8152870
- msgbox LittlerootTown_BrendansHouse_2F_Text_17306C, 3
+ msgbox LittlerootTown_BrendansHouse_2F_Text_17306C, MSGBOX_SIGN
end
diff --git a/data/maps/LittlerootTown_MaysHouse_1F/scripts.inc b/data/maps/LittlerootTown_MaysHouse_1F/scripts.inc
index 587695bcc..2d92deb00 100644
--- a/data/maps/LittlerootTown_MaysHouse_1F/scripts.inc
+++ b/data/maps/LittlerootTown_MaysHouse_1F/scripts.inc
@@ -59,7 +59,7 @@ LittlerootTown_MaysHouse_1F_MapScript2_15290E:: @ 815290E
LittlerootTown_MaysHouse_1F_EventScript_152938:: @ 8152938
lockall
- msgbox LittlerootTown_MaysHouse_1F_Text_172574, 4
+ msgbox LittlerootTown_MaysHouse_1F_Text_172574, MSGBOX_DEFAULT
closemessage
applymovement 255, LittlerootTown_MaysHouse_1F_Movement_15295E
applymovement 1, LittlerootTown_MaysHouse_1F_Movement_15295E
@@ -98,7 +98,7 @@ LittlerootTown_MaysHouse_1F_EventScript_152982:: @ 8152982
applymovement 4, LittlerootTown_MaysHouse_1F_Movement_1529C0
waitmovement 0
special GetRivalSonDaughterString
- msgbox LittlerootTown_MaysHouse_1F_Text_1730C2, 4
+ msgbox LittlerootTown_MaysHouse_1F_Text_1730C2, MSGBOX_DEFAULT
setflag FLAG_MET_RIVAL_MOM
setvar VAR_LITTLEROOT_HOUSES_STATE_2, 2
releaseall
@@ -127,7 +127,7 @@ LittlerootTown_MaysHouse_1F_EventScript_1529E1:: @ 81529E1
return
LittlerootTown_MaysHouse_1F_EventScript_1529E2:: @ 81529E2
- msgbox LittlerootTown_BrendansHouse_1F_Text_172841, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172841, MSGBOX_DEFAULT
return
LittlerootTown_BrendansHouse_1F_EventScript_1529EB:: @ 81529EB
@@ -139,22 +139,22 @@ LittlerootTown_MaysHouse_1F_EventScript_1529EB:: @ 81529EB
compare VAR_LITTLEROOT_RIVAL_STATE, 3
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_152A2B
special GetRivalSonDaughterString
- msgbox LittlerootTown_BrendansHouse_1F_Text_1731C6, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_1731C6, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_152A17:: @ 8152A17
- msgbox LittlerootTown_BrendansHouse_1F_Text_173262, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_173262, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_152A21:: @ 8152A21
- msgbox LittlerootTown_BrendansHouse_1F_Text_1732B9, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_1732B9, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_152A2B:: @ 8152A2B
- msgbox LittlerootTown_BrendansHouse_1F_Text_1731E3, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_1731E3, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/LittlerootTown_MaysHouse_2F/scripts.inc b/data/maps/LittlerootTown_MaysHouse_2F/scripts.inc
index 628f3b18e..e5ed8eea2 100644
--- a/data/maps/LittlerootTown_MaysHouse_2F/scripts.inc
+++ b/data/maps/LittlerootTown_MaysHouse_2F/scripts.inc
@@ -45,7 +45,7 @@ LittlerootTown_MaysHouse_2F_EventScript_152A9D:: @ 8152A9D
end
LittlerootTown_BrendansHouse_2F_EventScript_152AD4:: @ 8152AD4
- msgbox LittlerootTown_BrendansHouse_2F_Text_17337E, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_17337E, MSGBOX_DEFAULT
playbgm MUS_GIRL_SUP, TRUE
applymovement VAR_LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_1A0839
waitmovement 0
@@ -53,7 +53,7 @@ LittlerootTown_BrendansHouse_2F_EventScript_152AD4:: @ 8152AD4
waitmovement 0
applymovement VAR_LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_1A0835
waitmovement 0
- msgbox LittlerootTown_BrendansHouse_2F_Text_1733AF, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_1733AF, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, 4
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_152B29
@@ -79,7 +79,7 @@ LittlerootTown_BrendansHouse_2F_EventScript_152B3F:: @ 8152B3F
return
LittlerootTown_BrendansHouse_2F_EventScript_152B4A:: @ 8152B4A
- msgbox LittlerootTown_BrendansHouse_2F_Text_1735C9, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_1735C9, MSGBOX_DEFAULT
playbgm MUS_BOY_SUP, TRUE
applymovement VAR_LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_1A0839
waitmovement 0
@@ -87,7 +87,7 @@ LittlerootTown_BrendansHouse_2F_EventScript_152B4A:: @ 8152B4A
waitmovement 0
applymovement VAR_LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_1A0835
waitmovement 0
- msgbox LittlerootTown_BrendansHouse_2F_Text_1735FC, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_1735FC, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, 4
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_152B9F
@@ -121,20 +121,20 @@ LittlerootTown_BrendansHouse_2F_EventScript_152BB5:: @ 8152BB5
LittlerootTown_BrendansHouse_2F_EventScript_152BDB:: @ 8152BDB
goto_if_set FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE, LittlerootTown_BrendansHouse_2F_EventScript_152BFF
- msgbox LittlerootTown_BrendansHouse_2F_Text_1737AE, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_1737AE, MSGBOX_DEFAULT
return
LittlerootTown_BrendansHouse_2F_EventScript_152BED:: @ 8152BED
goto_if_set FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE, LittlerootTown_BrendansHouse_2F_EventScript_152C08
- msgbox LittlerootTown_BrendansHouse_2F_Text_1738F2, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_1738F2, MSGBOX_DEFAULT
return
LittlerootTown_BrendansHouse_2F_EventScript_152BFF:: @ 8152BFF
- msgbox LittlerootTown_BrendansHouse_2F_Text_173883, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_173883, MSGBOX_DEFAULT
return
LittlerootTown_BrendansHouse_2F_EventScript_152C08:: @ 8152C08
- msgbox LittlerootTown_BrendansHouse_2F_Text_1739CC, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_1739CC, MSGBOX_DEFAULT
return
LittlerootTown_BrendansHouse_2F_Movement_152C11:: @ 8152C11
@@ -197,7 +197,7 @@ LittlerootTown_MaysHouse_2F_EventScript_152C39:: @ 8152C39
end
LittlerootTown_MaysHouse_2F_EventScript_152C52:: @ 8152C52
- msgbox LittlerootTown_MaysHouse_2F_Text_1A100C, 4
+ msgbox LittlerootTown_MaysHouse_2F_Text_1A100C, MSGBOX_DEFAULT
releaseall
end
@@ -205,7 +205,7 @@ LittlerootTown_MaysHouse_2F_EventScript_152C5C:: @ 8152C5C
setvar VAR_0x8004, 2
special DoPCTurnOnEffect
playse SE_PC_ON
- msgbox LittlerootTown_MaysHouse_2F_Text_1A10D6, 4
+ msgbox LittlerootTown_MaysHouse_2F_Text_1A10D6, MSGBOX_DEFAULT
special BedroomPC
waitstate
releaseall
diff --git a/data/maps/LittlerootTown_ProfessorBirchsLab/scripts.inc b/data/maps/LittlerootTown_ProfessorBirchsLab/scripts.inc
index 89a24e1b2..919405bdc 100644
--- a/data/maps/LittlerootTown_ProfessorBirchsLab/scripts.inc
+++ b/data/maps/LittlerootTown_ProfessorBirchsLab/scripts.inc
@@ -51,7 +51,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_152CFA:: @ 8152CFA
end
LittlerootTown_ProfessorBirchsLab_EventScript_152D19:: @ 8152D19
- msgbox LittlerootTown_ProfessorBirchsLab_Text_174015, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_174015, MSGBOX_DEFAULT
clearflag FLAG_HIDE_BOY_ROUTE101
setvar VAR_BIRCH_LAB_STATE, 3
releaseall
@@ -88,18 +88,18 @@ LittlerootTown_ProfessorBirchsLab_EventScript_152D63:: @ 8152D63
compare VAR_BIRCH_LAB_STATE, 3
goto_if_ge LittlerootTown_ProfessorBirchsLab_EventScript_152D90
goto_if_set FLAG_BIRCH_AIDE_MET, LittlerootTown_ProfessorBirchsLab_EventScript_152D86
- msgbox LittlerootTown_ProfessorBirchsLab_Text_173B29, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_173B29, MSGBOX_DEFAULT
setflag FLAG_BIRCH_AIDE_MET
release
end
LittlerootTown_ProfessorBirchsLab_EventScript_152D86:: @ 8152D86
- msgbox LittlerootTown_ProfessorBirchsLab_Text_173C88, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_173C88, MSGBOX_DEFAULT
release
end
LittlerootTown_ProfessorBirchsLab_EventScript_152D90:: @ 8152D90
- msgbox LittlerootTown_ProfessorBirchsLab_Text_173D15, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_173D15, MSGBOX_DEFAULT
release
end
@@ -109,14 +109,14 @@ LittlerootTown_ProfessorBirchsLab_EventScript_152D9A:: @ 8152D9A
goto_if_unset FLAG_UNKNOWN_BIRCH_380, LittlerootTown_ProfessorBirchsLab_EventScript_1A037F
compare VAR_BIRCH_LAB_STATE, 5
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_152E7B
- msgbox LittlerootTown_ProfessorBirchsLab_Text_1740B4, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_1740B4, MSGBOX_DEFAULT
release
end
LittlerootTown_ProfessorBirchsLab_EventScript_152DBA:: @ 8152DBA
- msgbox LittlerootTown_ProfessorBirchsLab_Text_17411F, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_17411F, MSGBOX_DEFAULT
call LittlerootTown_ProfessorBirchsLab_EventScript_152E6D
- msgbox LittlerootTown_ProfessorBirchsLab_Text_174248, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_174248, MSGBOX_DEFAULT
applymovement 3, LittlerootTown_ProfessorBirchsLab_Movement_152E97
waitmovement 0
applymovement 255, LittlerootTown_ProfessorBirchsLab_Movement_1A0843
@@ -135,20 +135,20 @@ LittlerootTown_ProfessorBirchsLab_EventScript_152DBA:: @ 8152DBA
end
LittlerootTown_ProfessorBirchsLab_EventScript_152E13:: @ 8152E13
- msgbox LittlerootTown_ProfessorBirchsLab_Text_1743D4, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_1743D4, MSGBOX_DEFAULT
giveitem ITEM_POKE_BALL, 5
compare VAR_RESULT, 0
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_152E85
- msgbox LittlerootTown_ProfessorBirchsLab_Text_17443D, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_17443D, MSGBOX_DEFAULT
setvar VAR_RESULT, 0
return
LittlerootTown_ProfessorBirchsLab_EventScript_152E40:: @ 8152E40
- msgbox LittlerootTown_ProfessorBirchsLab_Text_17453C, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_17453C, MSGBOX_DEFAULT
giveitem ITEM_POKE_BALL, 5
compare VAR_RESULT, 0
call_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_152E8E
- msgbox LittlerootTown_ProfessorBirchsLab_Text_17458C, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_17458C, MSGBOX_DEFAULT
setvar VAR_RESULT, 1
return
@@ -161,16 +161,16 @@ LittlerootTown_ProfessorBirchsLab_EventScript_152E6D:: @ 8152E6D
return
LittlerootTown_ProfessorBirchsLab_EventScript_152E7B:: @ 8152E7B
- msgbox LittlerootTown_ProfessorBirchsLab_Text_17436C, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_17436C, MSGBOX_DEFAULT
release
end
LittlerootTown_ProfessorBirchsLab_EventScript_152E85:: @ 8152E85
- msgbox LittlerootTown_ProfessorBirchsLab_Text_1744F0, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_1744F0, MSGBOX_DEFAULT
return
LittlerootTown_ProfessorBirchsLab_EventScript_152E8E:: @ 8152E8E
- msgbox LittlerootTown_ProfessorBirchsLab_Text_17465B, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_17465B, MSGBOX_DEFAULT
return
LittlerootTown_ProfessorBirchsLab_Movement_152E97:: @ 8152E97
@@ -179,7 +179,7 @@ LittlerootTown_ProfessorBirchsLab_Movement_152E97:: @ 8152E97
end_movement
LittlerootTown_ProfessorBirchsLab_EventScript_152E9A:: @ 8152E9A
- msgbox LittlerootTown_ProfessorBirchsLab_Text_1746A2, 3
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_1746A2, MSGBOX_SIGN
end
LittlerootTown_ProfessorBirchsLab_EventScript_152EA3:: @ 8152EA3
@@ -194,21 +194,21 @@ LittlerootTown_ProfessorBirchsLab_EventScript_152EA3:: @ 8152EA3
end
LittlerootTown_ProfessorBirchsLab_EventScript_152EBE:: @ 8152EBE
- msgbox LittlerootTown_ProfessorBirchsLab_Text_174505, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_174505, MSGBOX_DEFAULT
return
LittlerootTown_ProfessorBirchsLab_EventScript_152EC7:: @ 8152EC7
- msgbox LittlerootTown_ProfessorBirchsLab_Text_174671, 4
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_174671, MSGBOX_DEFAULT
return
LittlerootTown_ProfessorBirchsLab_EventScript_152ED0:: @ 8152ED0
- msgbox LittlerootTown_ProfessorBirchsLab_Text_1746E7, 3
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_1746E7, MSGBOX_SIGN
end
LittlerootTown_ProfessorBirchsLab_EventScript_152ED9:: @ 8152ED9
- msgbox LittlerootTown_ProfessorBirchsLab_Text_174724, 3
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_174724, MSGBOX_SIGN
end
LittlerootTown_ProfessorBirchsLab_EventScript_152EE2:: @ 8152EE2
- msgbox LittlerootTown_ProfessorBirchsLab_Text_174748, 3
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_174748, MSGBOX_SIGN
end
diff --git a/data/maps/MauvilleCity/scripts.inc b/data/maps/MauvilleCity/scripts.inc
index 0c81ec2ae..88e9248b6 100644
--- a/data/maps/MauvilleCity/scripts.inc
+++ b/data/maps/MauvilleCity/scripts.inc
@@ -17,48 +17,48 @@ MauvilleCity_EventScript_14C053:: @ 814C053
return
MauvilleCity_EventScript_14C05A:: @ 814C05A
- msgbox MauvilleCity_Text_1664DF, 2
+ msgbox MauvilleCity_Text_1664DF, MSGBOX_NPC
end
MauvilleCity_EventScript_14C063:: @ 814C063
- msgbox MauvilleCity_Text_16655C, 2
+ msgbox MauvilleCity_Text_16655C, MSGBOX_NPC
end
MauvilleCity_EventScript_14C06C:: @ 814C06C
- msgbox MauvilleCity_Text_1665DB, 2
+ msgbox MauvilleCity_Text_1665DB, MSGBOX_NPC
end
MauvilleCity_EventScript_14C075:: @ 814C075
- msgbox MauvilleCity_Text_16662A, 2
+ msgbox MauvilleCity_Text_16662A, MSGBOX_NPC
end
MauvilleCity_EventScript_14C07E:: @ 814C07E
- msgbox MauvilleCity_Text_166665, 3
+ msgbox MauvilleCity_Text_166665, MSGBOX_SIGN
end
MauvilleCity_EventScript_14C087:: @ 814C087
- msgbox MauvilleCity_Text_166697, 3
+ msgbox MauvilleCity_Text_166697, MSGBOX_SIGN
end
MauvilleCity_EventScript_14C090:: @ 814C090
- msgbox MauvilleCity_Text_1666E4, 3
+ msgbox MauvilleCity_Text_1666E4, MSGBOX_SIGN
end
MauvilleCity_EventScript_14C099:: @ 814C099
- msgbox MauvilleCity_Text_16671C, 3
+ msgbox MauvilleCity_Text_16671C, MSGBOX_SIGN
end
MauvilleCity_EventScript_14C0A2:: @ 814C0A2
lock
faceplayer
goto_if_set FLAG_TV_EXPLAINED, MauvilleCity_EventScript_14C0BA
- msgbox MauvilleCity_Text_16674A, 4
+ msgbox MauvilleCity_Text_16674A, MSGBOX_DEFAULT
setflag FLAG_TV_EXPLAINED
release
end
MauvilleCity_EventScript_14C0BA:: @ 814C0BA
- msgbox MauvilleCity_Text_166879, 4
+ msgbox MauvilleCity_Text_166879, MSGBOX_DEFAULT
release
end
@@ -66,7 +66,7 @@ MauvilleCity_EventScript_14C0C4:: @ 814C0C4
lock
faceplayer
goto_if_set FLAG_DECLINED_WALLY_BATTLE_MAUVILLE, MauvilleCity_EventScript_14C0E4
- msgbox MauvilleCity_Text_165B76, 4
+ msgbox MauvilleCity_Text_165B76, MSGBOX_DEFAULT
closemessage
applymovement 7, MauvilleCity_Movement_1A083D
waitmovement 0
@@ -74,7 +74,7 @@ MauvilleCity_EventScript_14C0C4:: @ 814C0C4
end
MauvilleCity_EventScript_14C0E4:: @ 814C0E4
- msgbox MauvilleCity_Text_165E45, 4
+ msgbox MauvilleCity_Text_165E45, MSGBOX_DEFAULT
closemessage
applymovement 7, MauvilleCity_Movement_1A083D
waitmovement 0
@@ -86,9 +86,9 @@ MauvilleCity_EventScript_14C0F9:: @ 814C0F9
goto_if_set FLAG_DECLINED_WALLY_BATTLE_MAUVILLE, MauvilleCity_EventScript_14C292
applymovement 6, MauvilleCity_Movement_1A0843
waitmovement 0
- msgbox MauvilleCity_Text_165BE3, 4
- msgbox MauvilleCity_Text_165C57, 4
- msgbox MauvilleCity_Text_165D01, 4
+ msgbox MauvilleCity_Text_165BE3, MSGBOX_DEFAULT
+ msgbox MauvilleCity_Text_165C57, MSGBOX_DEFAULT
+ msgbox MauvilleCity_Text_165D01, MSGBOX_DEFAULT
applymovement 6, MauvilleCity_Movement_1A0839
waitmovement 0
playse SE_PIN
@@ -122,7 +122,7 @@ MauvilleCity_EventScript_14C187:: @ 814C187
waitmovement 0
applymovement 255, MauvilleCity_Movement_1A0845
waitmovement 0
- msgbox MauvilleCity_Text_1660FA, 4
+ msgbox MauvilleCity_Text_1660FA, MSGBOX_DEFAULT
closemessage
applymovement 6, MauvilleCity_Movement_14C2B6
applymovement 7, MauvilleCity_Movement_14C2DF
@@ -141,7 +141,7 @@ MauvilleCity_EventScript_14C1D9:: @ 814C1D9
waitmovement 0
applymovement 255, MauvilleCity_Movement_1A0845
waitmovement 0
- msgbox MauvilleCity_Text_1660FA, 4
+ msgbox MauvilleCity_Text_1660FA, MSGBOX_DEFAULT
closemessage
applymovement 6, MauvilleCity_Movement_14C2C1
applymovement 7, MauvilleCity_Movement_14C2E8
@@ -159,22 +159,22 @@ MauvilleCity_EventScript_14C22B:: @ 814C22B
end
MauvilleCity_EventScript_14C23C:: @ 814C23C
- msgbox MauvilleCity_Text_165F0D, 4
+ msgbox MauvilleCity_Text_165F0D, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_WALLY_2, MauvilleCity_Text_165F38
applymovement 6, MauvilleCity_Movement_1A0843
waitmovement 0
- msgbox MauvilleCity_Text_165F85, 4
+ msgbox MauvilleCity_Text_165F85, MSGBOX_DEFAULT
applymovement 6, MauvilleCity_Movement_1A0839
waitmovement 0
- msgbox MauvilleCity_Text_165FB3, 4
+ msgbox MauvilleCity_Text_165FB3, MSGBOX_DEFAULT
applymovement 6, MauvilleCity_Movement_1A0843
waitmovement 0
- msgbox MauvilleCity_Text_166050, 4
+ msgbox MauvilleCity_Text_166050, MSGBOX_DEFAULT
return
MauvilleCity_EventScript_14C285:: @ 814C285
setflag FLAG_DECLINED_WALLY_BATTLE_MAUVILLE
- msgbox MauvilleCity_Text_165DE8, 4
+ msgbox MauvilleCity_Text_165DE8, MSGBOX_DEFAULT
release
end
@@ -284,29 +284,29 @@ MauvilleCity_EventScript_14C2F2:: @ 814C2F2
compare VAR_NEW_MAUVILLE_STATE, 2
goto_if_eq MauvilleCity_EventScript_14C33C
goto_if_set FLAG_RECEIVED_BASEMENT_KEY, MauvilleCity_EventScript_14C332
- msgbox MauvilleCity_Text_1661C1, 4
+ msgbox MauvilleCity_Text_1661C1, MSGBOX_DEFAULT
giveitem ITEM_BASEMENT_KEY
setflag FLAG_RECEIVED_BASEMENT_KEY
- msgbox MauvilleCity_Text_166331, 4
+ msgbox MauvilleCity_Text_166331, MSGBOX_DEFAULT
release
end
MauvilleCity_EventScript_14C332:: @ 814C332
- msgbox MauvilleCity_Text_166331, 4
+ msgbox MauvilleCity_Text_166331, MSGBOX_DEFAULT
release
end
MauvilleCity_EventScript_14C33C:: @ 814C33C
- msgbox MauvilleCity_Text_1663EB, 4
+ msgbox MauvilleCity_Text_1663EB, MSGBOX_DEFAULT
giveitem ITEM_TM24_THUNDERBOLT
compare VAR_RESULT, 0
goto_if_eq MauvilleCity_EventScript_1A029B
setflag FLAG_RECEIVED_TM24
- msgbox MauvilleCity_Text_166488, 4
+ msgbox MauvilleCity_Text_166488, MSGBOX_DEFAULT
release
end
MauvilleCity_EventScript_14C368:: @ 814C368
- msgbox MauvilleCity_Text_166488, 4
+ msgbox MauvilleCity_Text_166488, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/MauvilleCity_BikeShop/scripts.inc b/data/maps/MauvilleCity_BikeShop/scripts.inc
index b34d4ea93..4dd54a000 100644
--- a/data/maps/MauvilleCity_BikeShop/scripts.inc
+++ b/data/maps/MauvilleCity_BikeShop/scripts.inc
@@ -6,7 +6,7 @@ MauvilleCity_BikeShop_EventScript_156796:: @ 8156796
faceplayer
goto_if_set FLAG_RECEIVED_BIKE, MauvilleCity_BikeShop_EventScript_15686E
goto_if_set FLAG_DECLINED_BIKE, MauvilleCity_BikeShop_EventScript_1567D1
- msgbox MauvilleCity_BikeShop_Text_180F9F, 4
+ msgbox MauvilleCity_BikeShop_Text_180F9F, MSGBOX_DEFAULT
msgbox MauvilleCity_BikeShop_Text_181016, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq MauvilleCity_BikeShop_EventScript_156824
@@ -33,7 +33,7 @@ MauvilleCity_BikeShop_EventScript_1567F0:: @ 81567F0
MauvilleCity_BikeShop_EventScript_156817:: @ 8156817
setflag FLAG_DECLINED_BIKE
- msgbox MauvilleCity_BikeShop_Text_181067, 4
+ msgbox MauvilleCity_BikeShop_Text_181067, MSGBOX_DEFAULT
release
end
@@ -43,19 +43,19 @@ MauvilleCity_BikeShop_EventScript_156824:: @ 8156824
end
MauvilleCity_BikeShop_EventScript_15682D:: @ 815682D
- msgbox MauvilleCity_BikeShop_Text_181332, 4
+ msgbox MauvilleCity_BikeShop_Text_181332, MSGBOX_DEFAULT
giveitem ITEM_MACH_BIKE
goto MauvilleCity_BikeShop_EventScript_156861
end
MauvilleCity_BikeShop_EventScript_156847:: @ 8156847
- msgbox MauvilleCity_BikeShop_Text_18134A, 4
+ msgbox MauvilleCity_BikeShop_Text_18134A, MSGBOX_DEFAULT
giveitem ITEM_ACRO_BIKE
goto MauvilleCity_BikeShop_EventScript_156861
end
MauvilleCity_BikeShop_EventScript_156861:: @ 8156861
- msgbox MauvilleCity_BikeShop_Text_181362, 4
+ msgbox MauvilleCity_BikeShop_Text_181362, MSGBOX_DEFAULT
special SwapRegisteredBike
release
end
@@ -69,25 +69,25 @@ MauvilleCity_BikeShop_EventScript_15686E:: @ 815686E
end
MauvilleCity_BikeShop_EventScript_15688D:: @ 815688D
- msgbox MauvilleCity_BikeShop_Text_1813D4, 4
+ msgbox MauvilleCity_BikeShop_Text_1813D4, MSGBOX_DEFAULT
checkitem ITEM_ACRO_BIKE, 1
compare VAR_RESULT, 1
goto_if_eq MauvilleCity_BikeShop_EventScript_1568C9
checkitem ITEM_MACH_BIKE, 1
compare VAR_RESULT, 1
goto_if_eq MauvilleCity_BikeShop_EventScript_1568EA
- msgbox MauvilleCity_BikeShop_Text_181498, 4
+ msgbox MauvilleCity_BikeShop_Text_181498, MSGBOX_DEFAULT
release
end
MauvilleCity_BikeShop_EventScript_1568BF:: @ 81568BF
- msgbox MauvilleCity_BikeShop_Text_181469, 4
+ msgbox MauvilleCity_BikeShop_Text_181469, MSGBOX_DEFAULT
release
end
MauvilleCity_BikeShop_EventScript_1568C9:: @ 81568C9
incrementgamestat GAME_STAT_TRADED_BIKES
- msgbox MauvilleCity_BikeShop_Text_181439, 4
+ msgbox MauvilleCity_BikeShop_Text_181439, MSGBOX_DEFAULT
removeitem ITEM_ACRO_BIKE
giveitem ITEM_MACH_BIKE
goto MauvilleCity_BikeShop_EventScript_156861
@@ -95,14 +95,14 @@ MauvilleCity_BikeShop_EventScript_1568C9:: @ 81568C9
MauvilleCity_BikeShop_EventScript_1568EA:: @ 81568EA
incrementgamestat GAME_STAT_TRADED_BIKES
- msgbox MauvilleCity_BikeShop_Text_181408, 4
+ msgbox MauvilleCity_BikeShop_Text_181408, MSGBOX_DEFAULT
removeitem ITEM_MACH_BIKE
giveitem ITEM_ACRO_BIKE
goto MauvilleCity_BikeShop_EventScript_156861
end
MauvilleCity_BikeShop_EventScript_15690B:: @ 815690B
- msgbox MauvilleCity_BikeShop_Text_181568, 2
+ msgbox MauvilleCity_BikeShop_Text_181568, MSGBOX_NPC
end
MauvilleCity_BikeShop_EventScript_156914:: @ 8156914
diff --git a/data/maps/MauvilleCity_GameCorner/scripts.inc b/data/maps/MauvilleCity_GameCorner/scripts.inc
index 091620c91..e3f29307f 100644
--- a/data/maps/MauvilleCity_GameCorner/scripts.inc
+++ b/data/maps/MauvilleCity_GameCorner/scripts.inc
@@ -4,7 +4,7 @@ MauvilleCity_GameCorner_MapScripts:: @ 8156A33
MauvilleCity_GameCorner_EventScript_156A34:: @ 8156A34
lock
faceplayer
- msgbox MauvilleCity_GameCorner_Text_181C35, 4
+ msgbox MauvilleCity_GameCorner_Text_181C35, MSGBOX_DEFAULT
checkitem ITEM_COIN_CASE, 1
compare VAR_RESULT, 0
goto_if_eq MauvilleCity_GameCorner_EventScript_156B32
@@ -44,7 +44,7 @@ MauvilleCity_GameCorner_EventScript_156AAE:: @ 8156AAE
nop
updatecoinsbox 0, 5
playse SE_REGI
- msgbox MauvilleCity_GameCorner_Text_181CFE, 4
+ msgbox MauvilleCity_GameCorner_Text_181CFE, MSGBOX_DEFAULT
hidemoneybox 0, 0
hidecoinsbox 0, 5
release
@@ -63,33 +63,33 @@ MauvilleCity_GameCorner_EventScript_156AF0:: @ 8156AF0
nop
updatecoinsbox 0, 5
playse SE_REGI
- msgbox MauvilleCity_GameCorner_Text_181CFE, 4
+ msgbox MauvilleCity_GameCorner_Text_181CFE, MSGBOX_DEFAULT
hidemoneybox 0, 0
hidecoinsbox 0, 5
release
end
MauvilleCity_GameCorner_EventScript_156B32:: @ 8156B32
- msgbox MauvilleCity_GameCorner_Text_181C53, 4
+ msgbox MauvilleCity_GameCorner_Text_181C53, MSGBOX_DEFAULT
release
end
MauvilleCity_GameCorner_EventScript_156B3C:: @ 8156B3C
- msgbox MauvilleCity_GameCorner_Text_181D28, 4
+ msgbox MauvilleCity_GameCorner_Text_181D28, MSGBOX_DEFAULT
hidemoneybox 0, 0
hidecoinsbox 0, 5
release
end
MauvilleCity_GameCorner_EventScript_156B4C:: @ 8156B4C
- msgbox MauvilleCity_GameCorner_Text_181D73, 4
+ msgbox MauvilleCity_GameCorner_Text_181D73, MSGBOX_DEFAULT
hidemoneybox 0, 0
hidecoinsbox 0, 5
release
end
MauvilleCity_GameCorner_EventScript_156B5C:: @ 8156B5C
- msgbox MauvilleCity_GameCorner_Text_181D57, 4
+ msgbox MauvilleCity_GameCorner_Text_181D57, MSGBOX_DEFAULT
hidemoneybox 0, 0
hidecoinsbox 0, 5
release
@@ -98,7 +98,7 @@ MauvilleCity_GameCorner_EventScript_156B5C:: @ 8156B5C
MauvilleCity_GameCorner_EventScript_156B6C:: @ 8156B6C
lock
faceplayer
- msgbox MauvilleCity_GameCorner_Text_181DE1, 4
+ msgbox MauvilleCity_GameCorner_Text_181DE1, MSGBOX_DEFAULT
checkitem ITEM_COIN_CASE, 1
compare VAR_RESULT, 1
goto_if_eq MauvilleCity_GameCorner_EventScript_156B88
@@ -164,7 +164,7 @@ MauvilleCity_GameCorner_EventScript_156C46:: @ 8156C46
adddecoration DECOR_TREECKO_DOLL
updatecoinsbox 0, 0
playse SE_REGI
- msgbox MauvilleCity_GameCorner_Text_181E49, 4
+ msgbox MauvilleCity_GameCorner_Text_181E49, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_156B9B
end
@@ -180,7 +180,7 @@ MauvilleCity_GameCorner_EventScript_156C80:: @ 8156C80
adddecoration DECOR_TORCHIC_DOLL
updatecoinsbox 0, 0
playse SE_REGI
- msgbox MauvilleCity_GameCorner_Text_181E49, 4
+ msgbox MauvilleCity_GameCorner_Text_181E49, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_156B9B
end
@@ -196,12 +196,12 @@ MauvilleCity_GameCorner_EventScript_156CBA:: @ 8156CBA
adddecoration DECOR_MUDKIP_DOLL
updatecoinsbox 0, 0
playse SE_REGI
- msgbox MauvilleCity_GameCorner_Text_181E49, 4
+ msgbox MauvilleCity_GameCorner_Text_181E49, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_156B9B
end
MauvilleCity_GameCorner_EventScript_156CF4:: @ 8156CF4
- msgbox MauvilleCity_GameCorner_Text_181E76, 4
+ msgbox MauvilleCity_GameCorner_Text_181E76, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_156B9B
end
@@ -211,7 +211,7 @@ MauvilleCity_GameCorner_EventScript_156D02:: @ 8156D02
end
MauvilleCity_GameCorner_EventScript_156D0D:: @ 8156D0D
- msgbox MauvilleCity_GameCorner_Text_181EC2, 4
+ msgbox MauvilleCity_GameCorner_Text_181EC2, MSGBOX_DEFAULT
hidecoinsbox 0, 0
release
end
@@ -219,7 +219,7 @@ MauvilleCity_GameCorner_EventScript_156D0D:: @ 8156D0D
MauvilleCity_GameCorner_EventScript_156D1A:: @ 8156D1A
lock
faceplayer
- msgbox MauvilleCity_GameCorner_Text_181DE1, 4
+ msgbox MauvilleCity_GameCorner_Text_181DE1, MSGBOX_DEFAULT
checkitem ITEM_COIN_CASE, 1
compare VAR_RESULT, 1
goto_if_eq MauvilleCity_GameCorner_EventScript_156D36
@@ -298,7 +298,7 @@ MauvilleCity_GameCorner_EventScript_156E3C:: @ 8156E3C
additem ITEM_TM32_DOUBLE_TEAM
updatecoinsbox 0, 0
playse SE_REGI
- msgbox MauvilleCity_GameCorner_Text_181F08, 4
+ msgbox MauvilleCity_GameCorner_Text_181F08, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_156D49
end
@@ -313,7 +313,7 @@ MauvilleCity_GameCorner_EventScript_156E76:: @ 8156E76
additem ITEM_TM29_PSYCHIC
updatecoinsbox 0, 0
playse SE_REGI
- msgbox MauvilleCity_GameCorner_Text_181F08, 4
+ msgbox MauvilleCity_GameCorner_Text_181F08, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_156D49
end
@@ -328,7 +328,7 @@ MauvilleCity_GameCorner_EventScript_156EB0:: @ 8156EB0
additem ITEM_TM35_FLAMETHROWER
updatecoinsbox 0, 0
playse SE_REGI
- msgbox MauvilleCity_GameCorner_Text_181F08, 4
+ msgbox MauvilleCity_GameCorner_Text_181F08, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_156D49
end
@@ -343,7 +343,7 @@ MauvilleCity_GameCorner_EventScript_156EEA:: @ 8156EEA
additem ITEM_TM24_THUNDERBOLT
updatecoinsbox 0, 0
playse SE_REGI
- msgbox MauvilleCity_GameCorner_Text_181F08, 4
+ msgbox MauvilleCity_GameCorner_Text_181F08, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_156D49
end
@@ -358,12 +358,12 @@ MauvilleCity_GameCorner_EventScript_156F24:: @ 8156F24
additem ITEM_TM13_ICE_BEAM
updatecoinsbox 0, 0
playse SE_REGI
- msgbox MauvilleCity_GameCorner_Text_181F08, 4
+ msgbox MauvilleCity_GameCorner_Text_181F08, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_156D49
end
MauvilleCity_GameCorner_EventScript_156F5E:: @ 8156F5E
- msgbox MauvilleCity_GameCorner_Text_181E76, 4
+ msgbox MauvilleCity_GameCorner_Text_181E76, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_156D49
end
@@ -373,17 +373,17 @@ MauvilleCity_GameCorner_EventScript_156F6C:: @ 8156F6C
end
MauvilleCity_GameCorner_EventScript_156F77:: @ 8156F77
- msgbox MauvilleCity_GameCorner_Text_181EC2, 4
+ msgbox MauvilleCity_GameCorner_Text_181EC2, MSGBOX_DEFAULT
hidecoinsbox 0, 0
release
end
MauvilleCity_GameCorner_EventScript_156F84:: @ 8156F84
- msgbox MauvilleCity_GameCorner_Text_1821C1, 2
+ msgbox MauvilleCity_GameCorner_Text_1821C1, MSGBOX_NPC
end
MauvilleCity_GameCorner_EventScript_156F8D:: @ 8156F8D
- msgbox MauvilleCity_GameCorner_Text_1821F3, 2
+ msgbox MauvilleCity_GameCorner_Text_1821F3, MSGBOX_NPC
end
MauvilleCity_GameCorner_EventScript_156F96:: @ 8156F96
@@ -404,7 +404,7 @@ MauvilleCity_GameCorner_EventScript_156FDB:: @ 8156FDB
checkdecorspace DECOR_TREECKO_DOLL
compare VAR_RESULT, 0
goto_if_eq MauvilleCity_GameCorner_EventScript_157059
- msgbox MauvilleCity_GameCorner_Text_181F89, 4
+ msgbox MauvilleCity_GameCorner_Text_181F89, MSGBOX_DEFAULT
givedecoration DECOR_TREECKO_DOLL
setflag FLAG_RECEIVED_STARTER_DOLL
goto MauvilleCity_GameCorner_EventScript_157072
@@ -415,7 +415,7 @@ MauvilleCity_GameCorner_EventScript_157005:: @ 8157005
checkdecorspace DECOR_TORCHIC_DOLL
compare VAR_RESULT, 0
goto_if_eq MauvilleCity_GameCorner_EventScript_157059
- msgbox MauvilleCity_GameCorner_Text_181F89, 4
+ msgbox MauvilleCity_GameCorner_Text_181F89, MSGBOX_DEFAULT
givedecoration DECOR_TORCHIC_DOLL
setflag FLAG_RECEIVED_STARTER_DOLL
goto MauvilleCity_GameCorner_EventScript_157072
@@ -426,7 +426,7 @@ MauvilleCity_GameCorner_EventScript_15702F:: @ 815702F
checkdecorspace DECOR_MUDKIP_DOLL
compare VAR_RESULT, 0
goto_if_eq MauvilleCity_GameCorner_EventScript_157059
- msgbox MauvilleCity_GameCorner_Text_181F89, 4
+ msgbox MauvilleCity_GameCorner_Text_181F89, MSGBOX_DEFAULT
givedecoration DECOR_MUDKIP_DOLL
setflag FLAG_RECEIVED_STARTER_DOLL
goto MauvilleCity_GameCorner_EventScript_157072
@@ -434,17 +434,17 @@ MauvilleCity_GameCorner_EventScript_15702F:: @ 815702F
MauvilleCity_GameCorner_EventScript_157059:: @ 8157059
call MauvilleCity_GameCorner_EventScript_1A02B8
- msgbox MauvilleCity_GameCorner_Text_181F97, 4
+ msgbox MauvilleCity_GameCorner_Text_181F97, MSGBOX_DEFAULT
release
end
MauvilleCity_GameCorner_EventScript_157068:: @ 8157068
- msgbox MauvilleCity_GameCorner_Text_181FBC, 4
+ msgbox MauvilleCity_GameCorner_Text_181FBC, MSGBOX_DEFAULT
release
end
MauvilleCity_GameCorner_EventScript_157072:: @ 8157072
- msgbox MauvilleCity_GameCorner_Text_181FE9, 4
+ msgbox MauvilleCity_GameCorner_Text_181FE9, MSGBOX_DEFAULT
release
end
@@ -454,7 +454,7 @@ MauvilleCity_GameCorner_EventScript_15707C:: @ 815707C
checkitem ITEM_COIN_CASE, 1
compare VAR_RESULT, 1
goto_if_eq MauvilleCity_GameCorner_EventScript_15709C
- msgbox MauvilleCity_GameCorner_Text_18201E, 4
+ msgbox MauvilleCity_GameCorner_Text_18201E, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_157108
end
@@ -465,34 +465,34 @@ MauvilleCity_GameCorner_EventScript_15709C:: @ 815709C
goto_if_ge MauvilleCity_GameCorner_EventScript_1570CA
setflag FLAG_RECEIVED_20_COINS
addcoins 20
- msgbox MauvilleCity_GameCorner_Text_18208E, 4
+ msgbox MauvilleCity_GameCorner_Text_18208E, MSGBOX_DEFAULT
playse SE_REGI
goto MauvilleCity_GameCorner_EventScript_1570CA
end
MauvilleCity_GameCorner_EventScript_1570CA:: @ 81570CA
- msgbox MauvilleCity_GameCorner_Text_1820DD, 4
+ msgbox MauvilleCity_GameCorner_Text_1820DD, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_157108
end
MauvilleCity_GameCorner_EventScript_1570D8:: @ 81570D8
lock
faceplayer
- msgbox MauvilleCity_GameCorner_Text_182120, 4
+ msgbox MauvilleCity_GameCorner_Text_182120, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_157108
end
MauvilleCity_GameCorner_EventScript_1570E8:: @ 81570E8
lock
faceplayer
- msgbox MauvilleCity_GameCorner_Text_18217C, 4
+ msgbox MauvilleCity_GameCorner_Text_18217C, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_157108
end
MauvilleCity_GameCorner_EventScript_1570F8:: @ 81570F8
lock
faceplayer
- msgbox MauvilleCity_GameCorner_Text_182241, 4
+ msgbox MauvilleCity_GameCorner_Text_182241, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_157108
end
@@ -506,14 +506,14 @@ MauvilleCity_GameCorner_EventScript_157108:: @ 8157108
MauvilleCity_GameCorner_EventScript_157115:: @ 8157115
lock
faceplayer
- msgbox MauvilleCity_GameCorner_Text_182272, 4
+ msgbox MauvilleCity_GameCorner_Text_182272, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_157108
end
MauvilleCity_GameCorner_EventScript_157125:: @ 8157125
lock
faceplayer
- msgbox MauvilleCity_GameCorner_Text_1822F4, 4
+ msgbox MauvilleCity_GameCorner_Text_1822F4, MSGBOX_DEFAULT
goto MauvilleCity_GameCorner_EventScript_157108
end
@@ -650,6 +650,6 @@ MauvilleCity_GameCorner_EventScript_157295:: @ 8157295
end
MauvilleCity_GameCorner_EventScript_1572B5:: @ 81572B5
- msgbox MauvilleCity_GameCorner_Text_182420, 4
+ msgbox MauvilleCity_GameCorner_Text_182420, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/MauvilleCity_Gym/scripts.inc b/data/maps/MauvilleCity_Gym/scripts.inc
index 1c0e417fe..111dad2d8 100644
--- a/data/maps/MauvilleCity_Gym/scripts.inc
+++ b/data/maps/MauvilleCity_Gym/scripts.inc
@@ -70,7 +70,7 @@ MauvilleCity_Gym_EventScript_1565AB:: @ 81565AB
goto_if_unset FLAG_RECEIVED_TM34, MauvilleCity_Gym_EventScript_15661D
compare VAR_NEW_MAUVILLE_STATE, 2
goto_if_eq MauvilleCity_Gym_EventScript_156641
- msgbox MauvilleCity_Gym_Text_180EDB, 4
+ msgbox MauvilleCity_Gym_Text_180EDB, MSGBOX_DEFAULT
release
end
@@ -78,7 +78,7 @@ MauvilleCity_Gym_EventScript_1565DB:: @ 81565DB
message MauvilleCity_Gym_Text_180DAF
waitmessage
call MauvilleCity_Gym_EventScript_1A02C5
- msgbox MauvilleCity_Gym_Text_180DDA, 4
+ msgbox MauvilleCity_Gym_Text_180DDA, MSGBOX_DEFAULT
setflag FLAG_DEFEATED_MAUVILLE_GYM
setflag FLAG_BADGE03_GET
addvar VAR_PETALBURG_GYM_STATE, 1
@@ -96,13 +96,13 @@ MauvilleCity_Gym_EventScript_15661D:: @ 815661D
giveitem ITEM_TM34_SHOCK_WAVE
compare VAR_RESULT, 0
goto_if_eq MauvilleCity_Gym_EventScript_1A029B
- msgbox MauvilleCity_Gym_Text_180E76, 4
+ msgbox MauvilleCity_Gym_Text_180E76, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_TM34
release
end
MauvilleCity_Gym_EventScript_156641:: @ 8156641
- msgbox MauvilleCity_Gym_Text_180F1D, 4
+ msgbox MauvilleCity_Gym_Text_180F1D, MSGBOX_DEFAULT
release
end
@@ -162,34 +162,34 @@ MauvilleCity_Gym_EventScript_1566E1:: @ 81566E1
MauvilleCity_Gym_EventScript_1566E6:: @ 81566E6
trainerbattle_single TRAINER_KIRK, MauvilleCity_Gym_Text_180956, MauvilleCity_Gym_Text_180997
- msgbox MauvilleCity_Gym_Text_1809D1, 6
+ msgbox MauvilleCity_Gym_Text_1809D1, MSGBOX_AUTOCLOSE
end
MauvilleCity_Gym_EventScript_1566FD:: @ 81566FD
trainerbattle_single TRAINER_SHAWN, MauvilleCity_Gym_Text_180A05, MauvilleCity_Gym_Text_180A42
- msgbox MauvilleCity_Gym_Text_180A5E, 6
+ msgbox MauvilleCity_Gym_Text_180A5E, MSGBOX_AUTOCLOSE
end
MauvilleCity_Gym_EventScript_156714:: @ 8156714
trainerbattle_single TRAINER_BEN, MauvilleCity_Gym_Text_180AE0, MauvilleCity_Gym_Text_180B06
- msgbox MauvilleCity_Gym_Text_180B1D, 6
+ msgbox MauvilleCity_Gym_Text_180B1D, MSGBOX_AUTOCLOSE
end
MauvilleCity_Gym_EventScript_15672B:: @ 815672B
trainerbattle_single TRAINER_VIVIAN, MauvilleCity_Gym_Text_180B5A, MauvilleCity_Gym_Text_180B93
- msgbox MauvilleCity_Gym_Text_180BAE, 6
+ msgbox MauvilleCity_Gym_Text_180BAE, MSGBOX_AUTOCLOSE
end
MauvilleCity_Gym_EventScript_156742:: @ 8156742
lock
faceplayer
goto_if_set FLAG_DEFEATED_MAUVILLE_GYM, MauvilleCity_Gym_EventScript_156757
- msgbox MauvilleCity_Gym_Text_180815, 4
+ msgbox MauvilleCity_Gym_Text_180815, MSGBOX_DEFAULT
release
end
MauvilleCity_Gym_EventScript_156757:: @ 8156757
- msgbox MauvilleCity_Gym_Text_18091D, 4
+ msgbox MauvilleCity_Gym_Text_18091D, MSGBOX_DEFAULT
release
end
@@ -206,11 +206,11 @@ MauvilleCity_Gym_EventScript_156771:: @ 8156771
end
MauvilleCity_Gym_EventScript_156781:: @ 8156781
- msgbox MauvilleCity_Gym_Text_180F64, 4
+ msgbox MauvilleCity_Gym_Text_180F64, MSGBOX_DEFAULT
releaseall
end
MauvilleCity_Gym_EventScript_15678B:: @ 815678B
- msgbox MauvilleCity_Gym_Text_180F4A, 4
+ msgbox MauvilleCity_Gym_Text_180F4A, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/MauvilleCity_House1/scripts.inc b/data/maps/MauvilleCity_House1/scripts.inc
index ac251e64c..b49e103f3 100644
--- a/data/maps/MauvilleCity_House1/scripts.inc
+++ b/data/maps/MauvilleCity_House1/scripts.inc
@@ -5,14 +5,14 @@ MauvilleCity_House1_EventScript_1569FD:: @ 81569FD
lock
faceplayer
goto_if_set FLAG_RECEIVED_HM06, MauvilleCity_House1_EventScript_156A29
- msgbox MauvilleCity_House1_Text_181B1A, 4
+ msgbox MauvilleCity_House1_Text_181B1A, MSGBOX_DEFAULT
giveitem ITEM_HM06_ROCK_SMASH
setflag FLAG_RECEIVED_HM06
- msgbox MauvilleCity_House1_Text_181B64, 4
+ msgbox MauvilleCity_House1_Text_181B64, MSGBOX_DEFAULT
release
end
MauvilleCity_House1_EventScript_156A29:: @ 8156A29
- msgbox MauvilleCity_House1_Text_181BF6, 4
+ msgbox MauvilleCity_House1_Text_181BF6, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/MauvilleCity_House2/scripts.inc b/data/maps/MauvilleCity_House2/scripts.inc
index ec2a1dc0a..c47951a68 100644
--- a/data/maps/MauvilleCity_House2/scripts.inc
+++ b/data/maps/MauvilleCity_House2/scripts.inc
@@ -5,7 +5,7 @@ MauvilleCity_House2_EventScript_1572C0:: @ 81572C0
lock
faceplayer
goto_if_set FLAG_RECEIVED_COIN_CASE, MauvilleCity_House2_EventScript_15733D
- msgbox MauvilleCity_House2_Text_18244E, 4
+ msgbox MauvilleCity_House2_Text_18244E, MSGBOX_DEFAULT
checkitem ITEM_HARBOR_MAIL, 1
compare VAR_RESULT, 1
goto_if_eq MauvilleCity_House2_EventScript_1572E5
@@ -26,7 +26,7 @@ MauvilleCity_House2_EventScript_1572E5:: @ 81572E5
end
MauvilleCity_House2_EventScript_15731B:: @ 815731B
- msgbox MauvilleCity_House2_Text_182515, 4
+ msgbox MauvilleCity_House2_Text_182515, MSGBOX_DEFAULT
removeitem ITEM_HARBOR_MAIL
giveitem ITEM_COIN_CASE
setflag FLAG_RECEIVED_COIN_CASE
@@ -34,11 +34,11 @@ MauvilleCity_House2_EventScript_15731B:: @ 815731B
end
MauvilleCity_House2_EventScript_15733D:: @ 815733D
- msgbox MauvilleCity_House2_Text_182549, 4
+ msgbox MauvilleCity_House2_Text_182549, MSGBOX_DEFAULT
release
end
MauvilleCity_House2_EventScript_157347:: @ 8157347
- msgbox MauvilleCity_House2_Text_182578, 4
+ msgbox MauvilleCity_House2_Text_182578, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/MauvilleCity_Mart/scripts.inc b/data/maps/MauvilleCity_Mart/scripts.inc
index 0dd66eddf..b3214b070 100644
--- a/data/maps/MauvilleCity_Mart/scripts.inc
+++ b/data/maps/MauvilleCity_Mart/scripts.inc
@@ -7,7 +7,7 @@ MauvilleCity_Mart_EventScript_1573BE:: @ 81573BE
message MauvilleCity_Mart_Text_1A0BE4
waitmessage
pokemart MauvilleCity_Mart_Items
- msgbox MauvilleCity_Mart_Text_1A0C02, 4
+ msgbox MauvilleCity_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -30,9 +30,9 @@ MauvilleCity_Mart_Items:: @ 81573D8
end
MauvilleCity_Mart_EventScript_1573F4:: @ 81573F4
- msgbox MauvilleCity_Mart_Text_1827D3, 2
+ msgbox MauvilleCity_Mart_Text_1827D3, MSGBOX_NPC
end
MauvilleCity_Mart_EventScript_1573FD:: @ 81573FD
- msgbox MauvilleCity_Mart_Text_18287F, 2
+ msgbox MauvilleCity_Mart_Text_18287F, MSGBOX_NPC
end
diff --git a/data/maps/MauvilleCity_PokemonCenter_1F/scripts.inc b/data/maps/MauvilleCity_PokemonCenter_1F/scripts.inc
index 29fcc1278..a65c962bc 100644
--- a/data/maps/MauvilleCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/MauvilleCity_PokemonCenter_1F/scripts.inc
@@ -21,13 +21,13 @@ MauvilleCity_PokemonCenter_1F_EventScript_157369:: @ 8157369
end
MauvilleCity_PokemonCenter_1F_EventScript_157377:: @ 8157377
- msgbox MauvilleCity_PokemonCenter_1F_Text_1825BD, 2
+ msgbox MauvilleCity_PokemonCenter_1F_Text_1825BD, MSGBOX_NPC
end
MauvilleCity_PokemonCenter_1F_EventScript_157380:: @ 8157380
- msgbox MauvilleCity_PokemonCenter_1F_Text_182622, 2
+ msgbox MauvilleCity_PokemonCenter_1F_Text_182622, MSGBOX_NPC
end
MauvilleCity_PokemonCenter_1F_EventScript_157389:: @ 8157389
- msgbox MauvilleCity_PokemonCenter_1F_Text_1826A6, 2
+ msgbox MauvilleCity_PokemonCenter_1F_Text_1826A6, MSGBOX_NPC
end
diff --git a/data/maps/MauvilleCity_PokemonCenter_2F/scripts.inc b/data/maps/MauvilleCity_PokemonCenter_2F/scripts.inc
index e85e80308..a78f436a1 100644
--- a/data/maps/MauvilleCity_PokemonCenter_2F/scripts.inc
+++ b/data/maps/MauvilleCity_PokemonCenter_2F/scripts.inc
@@ -17,5 +17,5 @@ MauvilleCity_PokemonCenter_2F_EventScript_1573AE:: @ 81573AE
end
MauvilleCity_PokemonCenter_2F_EventScript_1573B4:: @ 81573B4
- msgbox MauvilleCity_PokemonCenter_2F_Text_182724, 2
+ msgbox MauvilleCity_PokemonCenter_2F_Text_182724, MSGBOX_NPC
end
diff --git a/data/maps/MeteorFalls_1F_1R/scripts.inc b/data/maps/MeteorFalls_1F_1R/scripts.inc
index ee2c5b1dc..7b092a2cd 100644
--- a/data/maps/MeteorFalls_1F_1R/scripts.inc
+++ b/data/maps/MeteorFalls_1F_1R/scripts.inc
@@ -13,7 +13,7 @@ MeteorFalls_1F_1R_EventScript_15C49C:: @ 815C49C
delay 30
applymovement 5, MeteorFalls_1F_1R_Movement_1A0845
waitmovement 0
- msgbox MeteorFalls_1F_1R_Text_193237, 4
+ msgbox MeteorFalls_1F_1R_Text_193237, MSGBOX_DEFAULT
closemessage
applymovement 5, MeteorFalls_1F_1R_Movement_1A0841
applymovement 6, MeteorFalls_1F_1R_Movement_1A0841
@@ -23,11 +23,11 @@ MeteorFalls_1F_1R_EventScript_15C49C:: @ 815C49C
waitmovement 0
applymovement 5, MeteorFalls_1F_1R_Movement_1A0835
waitmovement 0
- msgbox MeteorFalls_1F_1R_Text_193268, 4
+ msgbox MeteorFalls_1F_1R_Text_193268, MSGBOX_DEFAULT
closemessage
applymovement 5, MeteorFalls_1F_1R_Movement_15C5EE
waitmovement 0
- msgbox MeteorFalls_1F_1R_Text_1932C5, 4
+ msgbox MeteorFalls_1F_1R_Text_1932C5, MSGBOX_DEFAULT
closemessage
applymovement 255, MeteorFalls_1F_1R_Movement_1A083F
applymovement 5, MeteorFalls_1F_1R_Movement_1A083F
@@ -43,7 +43,7 @@ MeteorFalls_1F_1R_EventScript_15C49C:: @ 815C49C
applymovement 5, MeteorFalls_1F_1R_Movement_1A083F
applymovement 6, MeteorFalls_1F_1R_Movement_1A083F
waitmovement 0
- msgbox MeteorFalls_1F_1R_Text_193320, 4
+ msgbox MeteorFalls_1F_1R_Text_193320, MSGBOX_DEFAULT
closemessage
applymovement 255, MeteorFalls_1F_1R_Movement_15C64F
applymovement 5, MeteorFalls_1F_1R_Movement_15C5F1
@@ -54,21 +54,21 @@ MeteorFalls_1F_1R_EventScript_15C49C:: @ 815C49C
applymovement 7, MeteorFalls_1F_1R_Movement_15C628
waitmovement 0
.ifdef SAPPHIRE
- msgbox MeteorFalls_1F_1R_Text_1933EC, 4
+ msgbox MeteorFalls_1F_1R_Text_1933EC, MSGBOX_DEFAULT
.else
- msgbox MeteorFalls_1F_1R_Text_193584, 4
+ msgbox MeteorFalls_1F_1R_Text_193584, MSGBOX_DEFAULT
.endif
closemessage
applymovement 8, MeteorFalls_1F_1R_Movement_15C639
applymovement 9, MeteorFalls_1F_1R_Movement_15C64A
waitmovement 0
- msgbox MeteorFalls_1F_1R_Text_193720, 4
+ msgbox MeteorFalls_1F_1R_Text_193720, MSGBOX_DEFAULT
applymovement 7, MeteorFalls_1F_1R_Movement_1A0845
waitmovement 0
- msgbox MeteorFalls_1F_1R_Text_193747, 4
+ msgbox MeteorFalls_1F_1R_Text_193747, MSGBOX_DEFAULT
applymovement 7, MeteorFalls_1F_1R_Movement_1A083F
waitmovement 0
- msgbox MeteorFalls_1F_1R_Text_1937AA, 4
+ msgbox MeteorFalls_1F_1R_Text_1937AA, MSGBOX_DEFAULT
closemessage
applymovement 7, MeteorFalls_1F_1R_Movement_15C61F
applymovement 8, MeteorFalls_1F_1R_Movement_15C62E
@@ -217,11 +217,11 @@ MeteorFalls_1F_1R_EventScript_15C656:: @ 815C656
faceplayer
goto_if_set FLAG_MET_PROF_COSMO, MeteorFalls_1F_1R_EventScript_15C66E
setflag FLAG_MET_PROF_COSMO
- msgbox MeteorFalls_1F_1R_Text_1937EB, 4
+ msgbox MeteorFalls_1F_1R_Text_1937EB, MSGBOX_DEFAULT
release
end
MeteorFalls_1F_1R_EventScript_15C66E:: @ 815C66E
- msgbox MeteorFalls_1F_1R_Text_19396A, 4
+ msgbox MeteorFalls_1F_1R_Text_19396A, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/MeteorFalls_1F_2R/scripts.inc b/data/maps/MeteorFalls_1F_2R/scripts.inc
index 2b9b813ce..f0adda971 100644
--- a/data/maps/MeteorFalls_1F_2R/scripts.inc
+++ b/data/maps/MeteorFalls_1F_2R/scripts.inc
@@ -6,12 +6,12 @@ MeteorFalls_1F_2R_EventScript_15C679:: @ 815C679
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq MeteorFalls_1F_2R_EventScript_15C6A0
- msgbox MeteorFalls_1F_2R_Text_193A60, 6
+ msgbox MeteorFalls_1F_2R_Text_193A60, MSGBOX_AUTOCLOSE
end
MeteorFalls_1F_2R_EventScript_15C6A0:: @ 815C6A0
trainerbattle_rematch TRAINER_NICOLAS_1, MeteorFalls_1F_2R_Text_193AB3, MeteorFalls_1F_2R_Text_193B21
- msgbox MeteorFalls_1F_2R_Text_193B4C, 6
+ msgbox MeteorFalls_1F_2R_Text_193B4C, MSGBOX_AUTOCLOSE
end
MeteorFalls_1F_2R_EventScript_15C6B7:: @ 815C6B7
@@ -19,12 +19,12 @@ MeteorFalls_1F_2R_EventScript_15C6B7:: @ 815C6B7
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq MeteorFalls_1F_2R_EventScript_15C6E2
- msgbox MeteorFalls_1F_2R_Text_193C35, 6
+ msgbox MeteorFalls_1F_2R_Text_193C35, MSGBOX_AUTOCLOSE
end
MeteorFalls_1F_2R_EventScript_15C6E2:: @ 815C6E2
trainerbattle_rematch_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_193E75, MeteorFalls_1F_2R_Text_193ECE, MeteorFalls_1F_2R_Text_193F59
- msgbox MeteorFalls_1F_2R_Text_193EF3, 6
+ msgbox MeteorFalls_1F_2R_Text_193EF3, MSGBOX_AUTOCLOSE
end
MeteorFalls_1F_2R_EventScript_15C6FD:: @ 815C6FD
@@ -32,10 +32,10 @@ MeteorFalls_1F_2R_EventScript_15C6FD:: @ 815C6FD
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq MeteorFalls_1F_2R_EventScript_15C728
- msgbox MeteorFalls_1F_2R_Text_193D9A, 6
+ msgbox MeteorFalls_1F_2R_Text_193D9A, MSGBOX_AUTOCLOSE
end
MeteorFalls_1F_2R_EventScript_15C728:: @ 815C728
trainerbattle_rematch_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_193FCA, MeteorFalls_1F_2R_Text_19403A, MeteorFalls_1F_2R_Text_1940DF
- msgbox MeteorFalls_1F_2R_Text_194066, 6
+ msgbox MeteorFalls_1F_2R_Text_194066, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/MossdeepCity/scripts.inc b/data/maps/MossdeepCity/scripts.inc
index 82b8e65d8..50131a67a 100644
--- a/data/maps/MossdeepCity/scripts.inc
+++ b/data/maps/MossdeepCity/scripts.inc
@@ -11,43 +11,43 @@ MossdeepCity_MapScript1_14CF98:: @ 814CF98
end
MossdeepCity_EventScript_14CFAE:: @ 814CFAE
- msgbox MossdeepCity_Text_169266, 2
+ msgbox MossdeepCity_Text_169266, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFB7:: @ 814CFB7
- msgbox MossdeepCity_Text_1692A1, 2
+ msgbox MossdeepCity_Text_1692A1, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFC0:: @ 814CFC0
- msgbox MossdeepCity_Text_1691F2, 2
+ msgbox MossdeepCity_Text_1691F2, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFC9:: @ 814CFC9
- msgbox MossdeepCity_Text_169370, 2
+ msgbox MossdeepCity_Text_169370, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFD2:: @ 814CFD2
- msgbox MossdeepCity_Text_169314, 2
+ msgbox MossdeepCity_Text_169314, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFDB:: @ 814CFDB
- msgbox MossdeepCity_Text_1694DA, 2
+ msgbox MossdeepCity_Text_1694DA, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFE4:: @ 814CFE4
- msgbox MossdeepCity_Text_1695D3, 3
+ msgbox MossdeepCity_Text_1695D3, MSGBOX_SIGN
end
MossdeepCity_EventScript_14CFED:: @ 814CFED
- msgbox MossdeepCity_Text_1695E6, 3
+ msgbox MossdeepCity_Text_1695E6, MSGBOX_SIGN
end
MossdeepCity_EventScript_14CFF6:: @ 814CFF6
- msgbox MossdeepCity_Text_16962F, 3
+ msgbox MossdeepCity_Text_16962F, MSGBOX_SIGN
end
MossdeepCity_EventScript_14CFFF:: @ 814CFFF
- msgbox MossdeepCity_Text_16965C, 3
+ msgbox MossdeepCity_Text_16965C, MSGBOX_SIGN
end
MossdeepCity_EventScript_14D008:: @ 814D008
@@ -58,7 +58,7 @@ MossdeepCity_EventScript_14D008:: @ 814D008
MossdeepCity_EventScript_14D011:: @ 814D011
lock
faceplayer
- msgbox MossdeepCity_Text_16944E, 4
+ msgbox MossdeepCity_Text_16944E, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, MossdeepCity_Movement_1A083D
waitmovement 0
release
@@ -71,7 +71,7 @@ MossdeepCity_EventScript_14D027:: @ 814D027
msgbox MossdeepCity_Text_1690A9, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq MossdeepCity_EventScript_14D073
- msgbox MossdeepCity_Text_169117, 4
+ msgbox MossdeepCity_Text_169117, MSGBOX_DEFAULT
giveitem ITEM_KINGS_ROCK
compare VAR_RESULT, 0
goto_if_eq MossdeepCity_EventScript_1A029B
@@ -80,11 +80,11 @@ MossdeepCity_EventScript_14D027:: @ 814D027
end
MossdeepCity_EventScript_14D069:: @ 814D069
- msgbox MossdeepCity_Text_16916F, 4
+ msgbox MossdeepCity_Text_16916F, MSGBOX_DEFAULT
release
end
MossdeepCity_EventScript_14D073:: @ 814D073
- msgbox MossdeepCity_Text_1691A7, 4
+ msgbox MossdeepCity_Text_1691A7, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/MossdeepCity_GameCorner_1F/scripts.inc b/data/maps/MossdeepCity_GameCorner_1F/scripts.inc
index 38366ac43..3c9381cce 100644
--- a/data/maps/MossdeepCity_GameCorner_1F/scripts.inc
+++ b/data/maps/MossdeepCity_GameCorner_1F/scripts.inc
@@ -61,15 +61,15 @@ MossdeepCity_GameCorner_1F_EventScript_15ACD5:: @ 815ACD5
end
MossdeepCity_GameCorner_1F_EventScript_15AD22:: @ 815AD22
- msgbox MossdeepCity_GameCorner_1F_Text_18E80E, 4
+ msgbox MossdeepCity_GameCorner_1F_Text_18E80E, MSGBOX_DEFAULT
return
MossdeepCity_GameCorner_1F_EventScript_15AD2B:: @ 815AD2B
- msgbox MossdeepCity_GameCorner_1F_Text_18E859, 4
+ msgbox MossdeepCity_GameCorner_1F_Text_18E859, MSGBOX_DEFAULT
return
MossdeepCity_GameCorner_1F_EventScript_15AD34:: @ 815AD34
- msgbox MossdeepCity_GameCorner_1F_Text_18E7B1, 4
+ msgbox MossdeepCity_GameCorner_1F_Text_18E7B1, MSGBOX_DEFAULT
return
MossdeepCity_GameCorner_1F_Movement_15AD3D:: @ 815AD3D
@@ -86,7 +86,7 @@ MossdeepCity_GameCorner_1F_EventScript_15AD42:: @ 815AD42
faceplayer
compare VAR_TEMP_1, 1
goto_if_eq MossdeepCity_GameCorner_1F_EventScript_15AD59
- msgbox MossdeepCity_GameCorner_1F_Text_18E59A, 4
+ msgbox MossdeepCity_GameCorner_1F_Text_18E59A, MSGBOX_DEFAULT
release
end
@@ -109,7 +109,7 @@ MossdeepCity_GameCorner_1F_EventScript_15AD59:: @ 815AD59
erasebox 0, 0, 15, 10
special SavePlayerParty
special ReducePlayerPartyToThree
- msgbox MossdeepCity_GameCorner_1F_Text_18E777, 4
+ msgbox MossdeepCity_GameCorner_1F_Text_18E777, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, 2
call_if_eq MossdeepCity_GameCorner_1F_EventScript_15AE04
@@ -124,12 +124,12 @@ MossdeepCity_GameCorner_1F_EventScript_15AD59:: @ 815AD59
MossdeepCity_GameCorner_1F_EventScript_15ADE8:: @ 815ADE8
special LoadPlayerParty
- msgbox MossdeepCity_GameCorner_1F_Text_18E698, 4
+ msgbox MossdeepCity_GameCorner_1F_Text_18E698, MSGBOX_DEFAULT
release
end
MossdeepCity_GameCorner_1F_EventScript_15ADF5:: @ 815ADF5
- msgbox MossdeepCity_GameCorner_1F_Text_18E6DA, 4
+ msgbox MossdeepCity_GameCorner_1F_Text_18E6DA, MSGBOX_DEFAULT
fadescreen 1
special sub_80C5568
waitstate
@@ -182,5 +182,5 @@ MossdeepCity_GameCorner_1F_Movement_15AE49:: @ 815AE49
end_movement
MossdeepCity_GameCorner_1F_EventScript_15AE4C:: @ 815AE4C
- msgbox MossdeepCity_GameCorner_1F_Text_18E631, 3
+ msgbox MossdeepCity_GameCorner_1F_Text_18E631, MSGBOX_SIGN
end
diff --git a/data/maps/MossdeepCity_GameCorner_B1F/scripts.inc b/data/maps/MossdeepCity_GameCorner_B1F/scripts.inc
index aa604b493..a338890cb 100644
--- a/data/maps/MossdeepCity_GameCorner_B1F/scripts.inc
+++ b/data/maps/MossdeepCity_GameCorner_B1F/scripts.inc
@@ -16,7 +16,7 @@ MossdeepCity_GameCorner_B1F_EventScript_15AE6E:: @ 815AE6E
applymovement 255, MossdeepCity_GameCorner_B1F_Movement_15AEF9
waitmovement 0
special PrintEReaderTrainerGreeting
- msgbox gStringVar4, 4
+ msgbox gStringVar4, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 2
setvar VAR_0x8005, 0
@@ -41,7 +41,7 @@ MossdeepCity_GameCorner_B1F_EventScript_15AE6E:: @ 815AE6E
MossdeepCity_GameCorner_B1F_EventScript_15AED5:: @ 815AED5
setvar VAR_GAME_CORNER_STATE, 3
- msgbox MossdeepCity_GameCorner_B1F_Text_18E796, 4
+ msgbox MossdeepCity_GameCorner_B1F_Text_18E796, MSGBOX_DEFAULT
return
MossdeepCity_GameCorner_B1F_EventScript_15AEE3:: @ 815AEE3
diff --git a/data/maps/MossdeepCity_Gym/scripts.inc b/data/maps/MossdeepCity_Gym/scripts.inc
index efbd35d79..41b3174e5 100644
--- a/data/maps/MossdeepCity_Gym/scripts.inc
+++ b/data/maps/MossdeepCity_Gym/scripts.inc
@@ -47,7 +47,7 @@ MossdeepCity_Gym_EventScript_15A558:: @ 815A558
MossdeepCity_Gym_EventScript_15A56B:: @ 815A56B
trainerbattle_double TRAINER_TATE_AND_LIZA, MossdeepCity_Gym_Text_18CF02, MossdeepCity_Gym_Text_18D077, MossdeepCity_Gym_Text_18D324, MossdeepCity_Gym_EventScript_15A594, NO_MUSIC
goto_if_unset FLAG_RECEIVED_TM04, MossdeepCity_Gym_EventScript_15A5C6
- msgbox MossdeepCity_Gym_Text_18D273, 4
+ msgbox MossdeepCity_Gym_Text_18D273, MSGBOX_DEFAULT
release
end
@@ -55,7 +55,7 @@ MossdeepCity_Gym_EventScript_15A594:: @ 815A594
message MossdeepCity_Gym_Text_18D0F9
waitmessage
call MossdeepCity_Gym_EventScript_1A02C5
- msgbox MossdeepCity_Gym_Text_18D128, 4
+ msgbox MossdeepCity_Gym_Text_18D128, MSGBOX_DEFAULT
setflag FLAG_DEFEATED_MOSSDEEP_GYM
setflag FLAG_BADGE07_GET
clearflag FLAG_HIDE_BRINEY_SLATEPORT_SHIPYARD
@@ -70,7 +70,7 @@ MossdeepCity_Gym_EventScript_15A5C6:: @ 815A5C6
giveitem ITEM_TM04_CALM_MIND
compare VAR_RESULT, 0
goto_if_eq MossdeepCity_Gym_EventScript_1A029B
- msgbox MossdeepCity_Gym_Text_18D1CF, 4
+ msgbox MossdeepCity_Gym_Text_18D1CF, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_TM04
release
end
@@ -170,44 +170,44 @@ MossdeepCity_Gym_EventScript_15A742:: @ 815A742
MossdeepCity_Gym_EventScript_15A74E:: @ 815A74E
trainerbattle_single TRAINER_PRESTON, MossdeepCity_Gym_Text_18C96A, MossdeepCity_Gym_Text_18C9BA
- msgbox MossdeepCity_Gym_Text_18C9E1, 6
+ msgbox MossdeepCity_Gym_Text_18C9E1, MSGBOX_AUTOCLOSE
end
MossdeepCity_Gym_EventScript_15A765:: @ 815A765
trainerbattle_single TRAINER_VIRGIL, MossdeepCity_Gym_Text_18CA10, MossdeepCity_Gym_Text_18CA28
- msgbox MossdeepCity_Gym_Text_18CA48, 6
+ msgbox MossdeepCity_Gym_Text_18CA48, MSGBOX_AUTOCLOSE
end
MossdeepCity_Gym_EventScript_15A77C:: @ 815A77C
trainerbattle_single TRAINER_FRITZ, MossdeepCity_Gym_Text_18CAC0, MossdeepCity_Gym_Text_18CB46
- msgbox MossdeepCity_Gym_Text_18CB77, 6
+ msgbox MossdeepCity_Gym_Text_18CB77, MSGBOX_AUTOCLOSE
end
MossdeepCity_Gym_EventScript_15A793:: @ 815A793
trainerbattle_single TRAINER_HANNAH, MossdeepCity_Gym_Text_18CC1E, MossdeepCity_Gym_Text_18CC83
- msgbox MossdeepCity_Gym_Text_18CC9B, 6
+ msgbox MossdeepCity_Gym_Text_18CC9B, MSGBOX_AUTOCLOSE
end
MossdeepCity_Gym_EventScript_15A7AA:: @ 815A7AA
trainerbattle_single TRAINER_SAMANTHA, MossdeepCity_Gym_Text_18CD14, MossdeepCity_Gym_Text_18CD66
- msgbox MossdeepCity_Gym_Text_18CD73, 6
+ msgbox MossdeepCity_Gym_Text_18CD73, MSGBOX_AUTOCLOSE
end
MossdeepCity_Gym_EventScript_15A7C1:: @ 815A7C1
trainerbattle_single TRAINER_MAURA, MossdeepCity_Gym_Text_18CDE0, MossdeepCity_Gym_Text_18CE47
- msgbox MossdeepCity_Gym_Text_18CE6C, 6
+ msgbox MossdeepCity_Gym_Text_18CE6C, MSGBOX_AUTOCLOSE
end
MossdeepCity_Gym_EventScript_15A7D8:: @ 815A7D8
lock
faceplayer
goto_if_set FLAG_DEFEATED_MOSSDEEP_GYM, MossdeepCity_Gym_EventScript_15A7ED
- msgbox MossdeepCity_Gym_Text_18C7E3, 4
+ msgbox MossdeepCity_Gym_Text_18C7E3, MSGBOX_DEFAULT
release
end
MossdeepCity_Gym_EventScript_15A7ED:: @ 815A7ED
- msgbox MossdeepCity_Gym_Text_18C938, 4
+ msgbox MossdeepCity_Gym_Text_18C938, MSGBOX_DEFAULT
release
end
@@ -229,11 +229,11 @@ MossdeepCity_Gym_EventScript_15A80A:: @ 815A80A
end
MossdeepCity_Gym_EventScript_15A81A:: @ 815A81A
- msgbox MossdeepCity_Gym_Text_18D424, 4
+ msgbox MossdeepCity_Gym_Text_18D424, MSGBOX_DEFAULT
releaseall
end
MossdeepCity_Gym_EventScript_15A824:: @ 815A824
- msgbox MossdeepCity_Gym_Text_18D40A, 4
+ msgbox MossdeepCity_Gym_Text_18D40A, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/MossdeepCity_House1/scripts.inc b/data/maps/MossdeepCity_House1/scripts.inc
index 12b2bc2a5..585120fea 100644
--- a/data/maps/MossdeepCity_House1/scripts.inc
+++ b/data/maps/MossdeepCity_House1/scripts.inc
@@ -5,19 +5,19 @@ MossdeepCity_House1_EventScript_15A82F:: @ 815A82F
lock
faceplayer
bufferleadmonspeciesname 0
- msgbox MossdeepCity_House1_Text_18D465, 4
+ msgbox MossdeepCity_House1_Text_18D465, MSGBOX_DEFAULT
specialvar VAR_RESULT, GetPokeblockNameByMonNature
compare VAR_RESULT, 0
goto_if_eq MossdeepCity_House1_EventScript_15A855
- msgbox MossdeepCity_House1_Text_18D475, 4
+ msgbox MossdeepCity_House1_Text_18D475, MSGBOX_DEFAULT
release
end
MossdeepCity_House1_EventScript_15A855:: @ 815A855
- msgbox MossdeepCity_House1_Text_18D4C0, 4
+ msgbox MossdeepCity_House1_Text_18D4C0, MSGBOX_DEFAULT
release
end
MossdeepCity_House1_EventScript_15A85F:: @ 815A85F
- msgbox MossdeepCity_House1_Text_18D4F1, 2
+ msgbox MossdeepCity_House1_Text_18D4F1, MSGBOX_NPC
end
diff --git a/data/maps/MossdeepCity_House2/scripts.inc b/data/maps/MossdeepCity_House2/scripts.inc
index 53cb4511b..84e80453f 100644
--- a/data/maps/MossdeepCity_House2/scripts.inc
+++ b/data/maps/MossdeepCity_House2/scripts.inc
@@ -2,11 +2,11 @@ MossdeepCity_House2_MapScripts:: @ 815A868
.byte 0
MossdeepCity_House2_EventScript_15A869:: @ 815A869
- msgbox MossdeepCity_House2_Text_18D536, 2
+ msgbox MossdeepCity_House2_Text_18D536, MSGBOX_NPC
end
MossdeepCity_House2_EventScript_15A872:: @ 815A872
- msgbox MossdeepCity_House2_Text_18D596, 2
+ msgbox MossdeepCity_House2_Text_18D596, MSGBOX_NPC
end
MossdeepCity_House2_EventScript_15A87B:: @ 815A87B
@@ -14,7 +14,7 @@ MossdeepCity_House2_EventScript_15A87B:: @ 815A87B
faceplayer
waitse
playmoncry SPECIES_WINGULL, 0
- msgbox MossdeepCity_House2_Text_18D61E, 4
+ msgbox MossdeepCity_House2_Text_18D61E, MSGBOX_DEFAULT
waitmoncry
closemessage
setflag FLAG_WINGULL_DELIVERED_MAIL
diff --git a/data/maps/MossdeepCity_House3/scripts.inc b/data/maps/MossdeepCity_House3/scripts.inc
index 70e37c927..68e3e28b2 100644
--- a/data/maps/MossdeepCity_House3/scripts.inc
+++ b/data/maps/MossdeepCity_House3/scripts.inc
@@ -8,19 +8,19 @@ MossdeepCity_House3_EventScript_15A972:: @ 815A972
msgbox MossdeepCity_House3_Text_18D909, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq MossdeepCity_House3_EventScript_15A9BB
- msgbox MossdeepCity_House3_Text_18D9A9, 4
+ msgbox MossdeepCity_House3_Text_18D9A9, MSGBOX_DEFAULT
giveitem ITEM_SUPER_ROD
setflag FLAG_RECEIVED_SUPER_ROD
- msgbox MossdeepCity_House3_Text_18D9E3, 4
+ msgbox MossdeepCity_House3_Text_18D9E3, MSGBOX_DEFAULT
release
end
MossdeepCity_House3_EventScript_15A9B1:: @ 815A9B1
- msgbox MossdeepCity_House3_Text_18DA44, 4
+ msgbox MossdeepCity_House3_Text_18DA44, MSGBOX_DEFAULT
release
end
MossdeepCity_House3_EventScript_15A9BB:: @ 815A9BB
- msgbox MossdeepCity_House3_Text_18DA26, 4
+ msgbox MossdeepCity_House3_Text_18DA26, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/MossdeepCity_House4/scripts.inc b/data/maps/MossdeepCity_House4/scripts.inc
index dc5063c15..42acadb4a 100644
--- a/data/maps/MossdeepCity_House4/scripts.inc
+++ b/data/maps/MossdeepCity_House4/scripts.inc
@@ -5,12 +5,12 @@ MossdeepCity_House4_EventScript_15AB31:: @ 815AB31
lock
faceplayer
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_House4_EventScript_15AB46
- msgbox MossdeepCity_House4_Text_18E0E3, 4
+ msgbox MossdeepCity_House4_Text_18E0E3, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_15AB46:: @ 815AB46
- msgbox MossdeepCity_House4_Text_18E125, 4
+ msgbox MossdeepCity_House4_Text_18E125, MSGBOX_DEFAULT
release
end
@@ -21,12 +21,12 @@ MossdeepCity_House4_EventScript_15AB50:: @ 815AB50
compare VAR_RESULT, 0
goto_if_eq MossdeepCity_House4_EventScript_15AB6D
special GetSecretBaseNearbyMapName
- msgbox MossdeepCity_House4_Text_18E17E, 4
+ msgbox MossdeepCity_House4_Text_18E17E, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_15AB6D:: @ 815AB6D
- msgbox MossdeepCity_House4_Text_18E1A7, 4
+ msgbox MossdeepCity_House4_Text_18E1A7, MSGBOX_DEFAULT
release
end
@@ -35,7 +35,7 @@ MossdeepCity_House4_EventScript_15AB77:: @ 815AB77
faceplayer
waitse
playmoncry SPECIES_SKITTY, 0
- msgbox MossdeepCity_House4_Text_18E1E1, 4
+ msgbox MossdeepCity_House4_Text_18E1E1, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/MossdeepCity_Mart/scripts.inc b/data/maps/MossdeepCity_Mart/scripts.inc
index ce5845c81..672a53cfa 100644
--- a/data/maps/MossdeepCity_Mart/scripts.inc
+++ b/data/maps/MossdeepCity_Mart/scripts.inc
@@ -7,7 +7,7 @@ MossdeepCity_Mart_EventScript_15A926:: @ 815A926
message MossdeepCity_Mart_Text_1A0BE4
waitmessage
pokemart MossdeepCity_Mart_Items
- msgbox MossdeepCity_Mart_Text_1A0C02, 4
+ msgbox MossdeepCity_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -27,13 +27,13 @@ MossdeepCity_Mart_Items:: @ 815A940
end
MossdeepCity_Mart_EventScript_15A956:: @ 815A956
- msgbox MossdeepCity_Mart_Text_18D758, 2
+ msgbox MossdeepCity_Mart_Text_18D758, MSGBOX_NPC
end
MossdeepCity_Mart_EventScript_15A95F:: @ 815A95F
- msgbox MossdeepCity_Mart_Text_18D7E7, 2
+ msgbox MossdeepCity_Mart_Text_18D7E7, MSGBOX_NPC
end
MossdeepCity_Mart_EventScript_15A968:: @ 815A968
- msgbox MossdeepCity_Mart_Text_18D841, 2
+ msgbox MossdeepCity_Mart_Text_18D841, MSGBOX_NPC
end
diff --git a/data/maps/MossdeepCity_PokemonCenter_1F/scripts.inc b/data/maps/MossdeepCity_PokemonCenter_1F/scripts.inc
index 5fe72062f..7e53ff360 100644
--- a/data/maps/MossdeepCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/MossdeepCity_PokemonCenter_1F/scripts.inc
@@ -15,9 +15,9 @@ MossdeepCity_PokemonCenter_1F_EventScript_15A8DA:: @ 815A8DA
end
MossdeepCity_PokemonCenter_1F_EventScript_15A8E8:: @ 815A8E8
- msgbox MossdeepCity_PokemonCenter_1F_Text_18D62F, 2
+ msgbox MossdeepCity_PokemonCenter_1F_Text_18D62F, MSGBOX_NPC
end
MossdeepCity_PokemonCenter_1F_EventScript_15A8F1:: @ 815A8F1
- msgbox MossdeepCity_PokemonCenter_1F_Text_18D69A, 2
+ msgbox MossdeepCity_PokemonCenter_1F_Text_18D69A, MSGBOX_NPC
end
diff --git a/data/maps/MossdeepCity_PokemonCenter_2F/scripts.inc b/data/maps/MossdeepCity_PokemonCenter_2F/scripts.inc
index a88147c08..db02ec5f5 100644
--- a/data/maps/MossdeepCity_PokemonCenter_2F/scripts.inc
+++ b/data/maps/MossdeepCity_PokemonCenter_2F/scripts.inc
@@ -5,7 +5,7 @@ MossdeepCity_PokemonCenter_2F_MapScripts:: @ 815A8FA
.byte 0
MossdeepCity_PokemonCenter_2F_EventScript_15A90A:: @ 815A90A
- msgbox MossdeepCity_PokemonCenter_2F_Text_18D6F5, 2
+ msgbox MossdeepCity_PokemonCenter_2F_Text_18D6F5, MSGBOX_NPC
end
MossdeepCity_PokemonCenter_2F_EventScript_15A913:: @ 815A913
diff --git a/data/maps/MossdeepCity_SpaceCenter_1F/scripts.inc b/data/maps/MossdeepCity_SpaceCenter_1F/scripts.inc
index aa6195738..c9c24b44b 100644
--- a/data/maps/MossdeepCity_SpaceCenter_1F/scripts.inc
+++ b/data/maps/MossdeepCity_SpaceCenter_1F/scripts.inc
@@ -18,43 +18,43 @@ MossdeepCity_SpaceCenter_1F_EventScript_15AB8B:: @ 815AB8B
end
MossdeepCity_SpaceCenter_1F_EventScript_15ABBA:: @ 815ABBA
- msgbox MossdeepCity_SpaceCenter_1F_Text_18E1F3, 4
+ msgbox MossdeepCity_SpaceCenter_1F_Text_18E1F3, MSGBOX_DEFAULT
return
MossdeepCity_SpaceCenter_1F_EventScript_15ABC3:: @ 815ABC3
- msgbox MossdeepCity_SpaceCenter_1F_Text_18E214, 4
+ msgbox MossdeepCity_SpaceCenter_1F_Text_18E214, MSGBOX_DEFAULT
return
MossdeepCity_SpaceCenter_1F_EventScript_15ABCC:: @ 815ABCC
- msgbox MossdeepCity_SpaceCenter_1F_Text_18E251, 2
+ msgbox MossdeepCity_SpaceCenter_1F_Text_18E251, MSGBOX_NPC
end
MossdeepCity_SpaceCenter_1F_EventScript_15ABD5:: @ 815ABD5
lock
faceplayer
goto_if_set FLAG_RECEIVED_SUN_STONE_MOSSDEEP, MossdeepCity_SpaceCenter_1F_EventScript_15AC0C
- msgbox MossdeepCity_SpaceCenter_1F_Text_18E335, 4
+ msgbox MossdeepCity_SpaceCenter_1F_Text_18E335, MSGBOX_DEFAULT
giveitem ITEM_SUN_STONE
compare VAR_RESULT, 0
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_1A029B
setflag FLAG_RECEIVED_SUN_STONE_MOSSDEEP
- msgbox MossdeepCity_SpaceCenter_1F_Text_18E39B, 4
+ msgbox MossdeepCity_SpaceCenter_1F_Text_18E39B, MSGBOX_DEFAULT
release
end
MossdeepCity_SpaceCenter_1F_EventScript_15AC0C:: @ 815AC0C
- msgbox MossdeepCity_SpaceCenter_1F_Text_18E39B, 4
+ msgbox MossdeepCity_SpaceCenter_1F_Text_18E39B, MSGBOX_DEFAULT
release
end
MossdeepCity_SpaceCenter_1F_EventScript_15AC16:: @ 815AC16
- msgbox MossdeepCity_SpaceCenter_1F_Text_18E3E5, 2
+ msgbox MossdeepCity_SpaceCenter_1F_Text_18E3E5, MSGBOX_NPC
end
MossdeepCity_SpaceCenter_1F_EventScript_15AC1F:: @ 815AC1F
lock
faceplayer
- msgbox MossdeepCity_SpaceCenter_1F_Text_18E427, 4
+ msgbox MossdeepCity_SpaceCenter_1F_Text_18E427, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, MossdeepCity_SpaceCenter_1F_Movement_1A083D
waitmovement 0
diff --git a/data/maps/MossdeepCity_SpaceCenter_2F/scripts.inc b/data/maps/MossdeepCity_SpaceCenter_2F/scripts.inc
index 97467f4e5..65b82ad02 100644
--- a/data/maps/MossdeepCity_SpaceCenter_2F/scripts.inc
+++ b/data/maps/MossdeepCity_SpaceCenter_2F/scripts.inc
@@ -2,13 +2,13 @@ MossdeepCity_SpaceCenter_2F_MapScripts:: @ 815AC36
.byte 0
MossdeepCity_SpaceCenter_2F_EventScript_15AC37:: @ 815AC37
- msgbox MossdeepCity_SpaceCenter_2F_Text_18E483, 2
+ msgbox MossdeepCity_SpaceCenter_2F_Text_18E483, MSGBOX_NPC
end
MossdeepCity_SpaceCenter_2F_EventScript_15AC40:: @ 815AC40
- msgbox MossdeepCity_SpaceCenter_2F_Text_18E4EE, 2
+ msgbox MossdeepCity_SpaceCenter_2F_Text_18E4EE, MSGBOX_NPC
end
MossdeepCity_SpaceCenter_2F_EventScript_15AC49:: @ 815AC49
- msgbox MossdeepCity_SpaceCenter_2F_Text_18E564, 2
+ msgbox MossdeepCity_SpaceCenter_2F_Text_18E564, MSGBOX_NPC
end
diff --git a/data/maps/MossdeepCity_StevensHouse/scripts.inc b/data/maps/MossdeepCity_StevensHouse/scripts.inc
index ed58ddd3a..9664c8ee4 100644
--- a/data/maps/MossdeepCity_StevensHouse/scripts.inc
+++ b/data/maps/MossdeepCity_StevensHouse/scripts.inc
@@ -37,11 +37,11 @@ MossdeepCity_StevensHouse_EventScript_15AA0B:: @ 815AA0B
waitmovement 0
applymovement 1, MossdeepCity_StevensHouse_Movement_15AA6E
waitmovement 0
- msgbox MossdeepCity_StevensHouse_Text_18DA77, 4
+ msgbox MossdeepCity_StevensHouse_Text_18DA77, MSGBOX_DEFAULT
giveitem ITEM_HM08_DIVE
setflag FLAG_RECEIVED_HM08
setflag FLAG_OMIT_DIVE_FROM_STEVEN_LETTER
- msgbox MossdeepCity_StevensHouse_Text_18DB22, 4
+ msgbox MossdeepCity_StevensHouse_Text_18DB22, MSGBOX_DEFAULT
closemessage
delay 20
applymovement 1, MossdeepCity_StevensHouse_Movement_15AA76
@@ -93,32 +93,32 @@ MossdeepCity_StevensHouse_EventScript_15AA7C:: @ 815AA7C
end
MossdeepCity_StevensHouse_EventScript_15AADC:: @ 815AADC
- msgbox MossdeepCity_StevensHouse_Text_18DD77, 4
+ msgbox MossdeepCity_StevensHouse_Text_18DD77, MSGBOX_DEFAULT
releaseall
end
MossdeepCity_StevensHouse_EventScript_15AAE6:: @ 815AAE6
- msgbox MossdeepCity_StevensHouse_Text_18DD9E, 4
+ msgbox MossdeepCity_StevensHouse_Text_18DD9E, MSGBOX_DEFAULT
releaseall
end
MossdeepCity_StevensHouse_EventScript_15AAF0:: @ 815AAF0
- msgbox MossdeepCity_StevensHouse_Text_18E0A3, 3
+ msgbox MossdeepCity_StevensHouse_Text_18E0A3, MSGBOX_SIGN
end
MossdeepCity_StevensHouse_EventScript_15AAF9:: @ 815AAF9
- msgbox MossdeepCity_StevensHouse_Text_18DC25, 2
+ msgbox MossdeepCity_StevensHouse_Text_18DC25, MSGBOX_NPC
end
MossdeepCity_StevensHouse_EventScript_15AB02:: @ 815AB02
lockall
goto_if_set FLAG_OMIT_DIVE_FROM_STEVEN_LETTER, MossdeepCity_StevensHouse_EventScript_15AB16
- msgbox MossdeepCity_StevensHouse_Text_18DF1A, 4
+ msgbox MossdeepCity_StevensHouse_Text_18DF1A, MSGBOX_DEFAULT
releaseall
end
MossdeepCity_StevensHouse_EventScript_15AB16:: @ 815AB16
- msgbox MossdeepCity_StevensHouse_Text_18DDC2, 4
+ msgbox MossdeepCity_StevensHouse_Text_18DDC2, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/MtChimney/scripts.inc b/data/maps/MtChimney/scripts.inc
index f967f9f2f..1d22b4779 100644
--- a/data/maps/MtChimney/scripts.inc
+++ b/data/maps/MtChimney/scripts.inc
@@ -23,7 +23,7 @@ MtChimney_EventScript_15CF95:: @ 815CF95
checkmoney 0xc8, 0
compare VAR_RESULT, 0
goto_if_eq MtChimney_EventScript_15D018
- msgbox MtChimney_Text_1957A9, 4
+ msgbox MtChimney_Text_1957A9, MSGBOX_DEFAULT
checkitemspace ITEM_LAVA_COOKIE, 1
compare VAR_RESULT, 1
call_if_eq MtChimney_EventScript_15D000
@@ -35,7 +35,7 @@ MtChimney_EventScript_15CF95:: @ 815CF95
end
MtChimney_EventScript_15CFF3:: @ 815CFF3
- msgbox MtChimney_Text_1A0CC2, 4
+ msgbox MtChimney_Text_1A0CC2, MSGBOX_DEFAULT
hidemoneybox 0, 0
release
end
@@ -47,13 +47,13 @@ MtChimney_EventScript_15D000:: @ 815D000
return
MtChimney_EventScript_15D00B:: @ 815D00B
- msgbox MtChimney_Text_1957F7, 4
+ msgbox MtChimney_Text_1957F7, MSGBOX_DEFAULT
hidemoneybox 0, 0
release
end
MtChimney_EventScript_15D018:: @ 815D018
- msgbox MtChimney_Text_1957BA, 4
+ msgbox MtChimney_Text_1957BA, MSGBOX_DEFAULT
hidemoneybox 0, 0
release
end
@@ -306,101 +306,101 @@ MtChimney_Movement_15D03E:: @ 815D03E
MtChimney_EventScript_15D0F5:: @ 815D0F5
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B36F1, 3
+ msgbox MtChimney_Text_1B36F1, MSGBOX_SIGN
.else
- msgbox MtChimney_Text_1B40EA, 3
+ msgbox MtChimney_Text_1B40EA, MSGBOX_SIGN
.endif
end
MtChimney_EventScript_15D0FE:: @ 815D0FE
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B372E, 3
+ msgbox MtChimney_Text_1B372E, MSGBOX_SIGN
.else
- msgbox MtChimney_Text_1B4128, 3
+ msgbox MtChimney_Text_1B4128, MSGBOX_SIGN
.endif
end
MtChimney_EventScript_15D107:: @ 815D107
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B3778, 3
+ msgbox MtChimney_Text_1B3778, MSGBOX_SIGN
.else
- msgbox MtChimney_Text_1B416E, 3
+ msgbox MtChimney_Text_1B416E, MSGBOX_SIGN
.endif
end
MtChimney_EventScript_15D110:: @ 815D110
.ifdef SAPPHIRE
trainerbattle_single TRAINER_MT_CHIMNEY_GRUNT_1, MtChimney_Text_1B3168, MtChimney_Text_1B31EA
- msgbox MtChimney_Text_1B3239, 6
+ msgbox MtChimney_Text_1B3239, MSGBOX_AUTOCLOSE
.else
trainerbattle_single TRAINER_MT_CHIMNEY_GRUNT_1, MtChimney_Text_1B3B36, MtChimney_Text_1B3BB8
- msgbox MtChimney_Text_1B3C07, 6
+ msgbox MtChimney_Text_1B3C07, MSGBOX_AUTOCLOSE
.endif
end
MtChimney_EventScript_15D127:: @ 815D127
.ifdef SAPPHIRE
trainerbattle_single TRAINER_MT_CHIMNEY_GRUNT_2, MtChimney_Text_1B32C8, MtChimney_Text_1B336E
- msgbox MtChimney_Text_1B338D, 6
+ msgbox MtChimney_Text_1B338D, MSGBOX_AUTOCLOSE
.else
trainerbattle_single TRAINER_MT_CHIMNEY_GRUNT_2, MtChimney_Text_1B3C96, MtChimney_Text_1B3D1E
- msgbox MtChimney_Text_1B3D3D, 6
+ msgbox MtChimney_Text_1B3D3D, MSGBOX_AUTOCLOSE
.endif
end
MtChimney_EventScript_15D13E:: @ 815D13E
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B33EA, 3
+ msgbox MtChimney_Text_1B33EA, MSGBOX_SIGN
.else
- msgbox MtChimney_Text_1B3D9A, 3
+ msgbox MtChimney_Text_1B3D9A, MSGBOX_SIGN
.endif
end
@ 815D147
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B3427, 3
+ msgbox MtChimney_Text_1B3427, MSGBOX_SIGN
.else
- msgbox MtChimney_Text_1B3DD6, 3
+ msgbox MtChimney_Text_1B3DD6, MSGBOX_SIGN
.endif
end
MtChimney_EventScript_15D150:: @ 815D150
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B3446, 3
+ msgbox MtChimney_Text_1B3446, MSGBOX_SIGN
.else
- msgbox MtChimney_Text_1B3DF5, 3
+ msgbox MtChimney_Text_1B3DF5, MSGBOX_SIGN
.endif
end
MtChimney_EventScript_15D159:: @ 815D159
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B3470, 3
+ msgbox MtChimney_Text_1B3470, MSGBOX_SIGN
.else
- msgbox MtChimney_Text_1B3E1F, 3
+ msgbox MtChimney_Text_1B3E1F, MSGBOX_SIGN
.endif
end
MtChimney_EventScript_15D162:: @ 815D162
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B34C6, 3
+ msgbox MtChimney_Text_1B34C6, MSGBOX_SIGN
.else
- msgbox MtChimney_Text_1B3E7A, 3
+ msgbox MtChimney_Text_1B3E7A, MSGBOX_SIGN
.endif
end
MtChimney_EventScript_15D16B:: @ 815D16B
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B3503, 3
+ msgbox MtChimney_Text_1B3503, MSGBOX_SIGN
.else
- msgbox MtChimney_Text_1B3EBA, 3
+ msgbox MtChimney_Text_1B3EBA, MSGBOX_SIGN
.endif
end
MtChimney_EventScript_15D174:: @ 815D174
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B37B4, 3
+ msgbox MtChimney_Text_1B37B4, MSGBOX_SIGN
.else
- msgbox MtChimney_Text_1B41B0, 3
+ msgbox MtChimney_Text_1B41B0, MSGBOX_SIGN
.endif
end
@@ -411,29 +411,29 @@ MtChimney_EventScript_15D17D:: @ 815D17D
msgbox MtChimney_Text_195870, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq MtChimney_EventScript_15D1BC
- msgbox MtChimney_Text_1958C6, 4
+ msgbox MtChimney_Text_1958C6, MSGBOX_DEFAULT
giveitem ITEM_METEORITE
setflag FLAG_RECEIVED_METEORITE
releaseall
end
MtChimney_EventScript_15D1BC:: @ 815D1BC
- msgbox MtChimney_Text_1958FC, 4
+ msgbox MtChimney_Text_1958FC, MSGBOX_DEFAULT
releaseall
end
MtChimney_EventScript_15D1C6:: @ 815D1C6
- msgbox MtChimney_Text_195920, 4
+ msgbox MtChimney_Text_195920, MSGBOX_DEFAULT
releaseall
end
MtChimney_EventScript_15D1D0:: @ 815D1D0
- msgbox MtChimney_Text_195806, 4
+ msgbox MtChimney_Text_195806, MSGBOX_DEFAULT
releaseall
end
MtChimney_EventScript_15D1DA:: @ 815D1DA
- msgbox MtChimney_Text_19595C, 3
+ msgbox MtChimney_Text_19595C, MSGBOX_SIGN
end
MtChimney_EventScript_15D1E3:: @ 815D1E3
@@ -441,25 +441,25 @@ MtChimney_EventScript_15D1E3:: @ 815D1E3
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq MtChimney_EventScript_15D20A
- msgbox MtChimney_Text_195A04, 6
+ msgbox MtChimney_Text_195A04, MSGBOX_AUTOCLOSE
end
MtChimney_EventScript_15D20A:: @ 815D20A
trainerbattle_rematch TRAINER_SHELBY_1, MtChimney_Text_195A45, MtChimney_Text_195AAD
- msgbox MtChimney_Text_195AD9, 6
+ msgbox MtChimney_Text_195AD9, MSGBOX_AUTOCLOSE
end
MtChimney_EventScript_15D221:: @ 815D221
trainerbattle_single TRAINER_MELISSA, MtChimney_Text_195B1C, MtChimney_Text_195B5F
- msgbox MtChimney_Text_195B84, 6
+ msgbox MtChimney_Text_195B84, MSGBOX_AUTOCLOSE
end
MtChimney_EventScript_15D238:: @ 815D238
trainerbattle_single TRAINER_SHEILA, MtChimney_Text_195BB2, MtChimney_Text_195BF9
- msgbox MtChimney_Text_195C31, 6
+ msgbox MtChimney_Text_195C31, MSGBOX_AUTOCLOSE
end
MtChimney_EventScript_15D24F:: @ 815D24F
trainerbattle_single TRAINER_SHIRLEY, MtChimney_Text_195CD8, MtChimney_Text_195D2F
- msgbox MtChimney_Text_195D5C, 6
+ msgbox MtChimney_Text_195D5C, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/MtChimney_CableCarStation/scripts.inc b/data/maps/MtChimney_CableCarStation/scripts.inc
index cf80ed39c..98461167c 100644
--- a/data/maps/MtChimney_CableCarStation/scripts.inc
+++ b/data/maps/MtChimney_CableCarStation/scripts.inc
@@ -39,7 +39,7 @@ MtChimney_CableCarStation_EventScript_15C14B:: @ 815C14B
end
MtChimney_CableCarStation_EventScript_15C16C:: @ 815C16C
- msgbox MtChimney_CableCarStation_Text_1925A9, 4
+ msgbox MtChimney_CableCarStation_Text_1925A9, MSGBOX_DEFAULT
closemessage
applymovement 1, MtChimney_CableCarStation_Movement_15C1A5
applymovement 255, MtChimney_CableCarStation_Movement_15C1AF
@@ -54,7 +54,7 @@ MtChimney_CableCarStation_EventScript_15C16C:: @ 815C16C
end
MtChimney_CableCarStation_EventScript_15C19B:: @ 815C19B
- msgbox MtChimney_CableCarStation_Text_1925BF, 4
+ msgbox MtChimney_CableCarStation_Text_1925BF, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/MtPyre_1F/scripts.inc b/data/maps/MtPyre_1F/scripts.inc
index 1b65ebc35..a456033fc 100644
--- a/data/maps/MtPyre_1F/scripts.inc
+++ b/data/maps/MtPyre_1F/scripts.inc
@@ -5,7 +5,7 @@ MtPyre_1F_EventScript_15D323:: @ 815D323
lock
faceplayer
goto_if_set FLAG_RECEIVED_CLEANSE_TAG, MtPyre_1F_EventScript_15D352
- msgbox MtPyre_1F_Text_196151, 4
+ msgbox MtPyre_1F_Text_196151, MSGBOX_DEFAULT
giveitem ITEM_CLEANSE_TAG
compare VAR_RESULT, 0
goto_if_eq MtPyre_1F_EventScript_1A029B
@@ -14,14 +14,14 @@ MtPyre_1F_EventScript_15D323:: @ 815D323
end
MtPyre_1F_EventScript_15D352:: @ 815D352
- msgbox MtPyre_1F_Text_1961CE, 4
+ msgbox MtPyre_1F_Text_1961CE, MSGBOX_DEFAULT
release
end
MtPyre_1F_EventScript_15D35C:: @ 815D35C
- msgbox MtPyre_1F_Text_196218, 2
+ msgbox MtPyre_1F_Text_196218, MSGBOX_NPC
end
MtPyre_1F_EventScript_15D365:: @ 815D365
- msgbox MtPyre_1F_Text_196283, 2
+ msgbox MtPyre_1F_Text_196283, MSGBOX_NPC
end
diff --git a/data/maps/MtPyre_2F/scripts.inc b/data/maps/MtPyre_2F/scripts.inc
index 956962251..2a892c7f2 100644
--- a/data/maps/MtPyre_2F/scripts.inc
+++ b/data/maps/MtPyre_2F/scripts.inc
@@ -10,24 +10,24 @@ MtPyre_2F_MapScript1_15D37E:: @ 815D37E
end
MtPyre_2F_EventScript_15D389:: @ 815D389
- msgbox MtPyre_2F_Text_1965BB, 2
+ msgbox MtPyre_2F_Text_1965BB, MSGBOX_NPC
end
MtPyre_2F_EventScript_15D392:: @ 815D392
- msgbox MtPyre_2F_Text_196600, 2
+ msgbox MtPyre_2F_Text_196600, MSGBOX_NPC
end
MtPyre_2F_EventScript_15D39B:: @ 815D39B
trainerbattle_single TRAINER_MARK, MtPyre_2F_Text_196674, MtPyre_2F_Text_1966BE
- msgbox MtPyre_2F_Text_1966E7, 6
+ msgbox MtPyre_2F_Text_1966E7, MSGBOX_AUTOCLOSE
end
MtPyre_2F_EventScript_15D3B2:: @ 815D3B2
trainerbattle_double TRAINER_DEZ_AND_LUKE, MtPyre_2F_Text_1962C6, MtPyre_2F_Text_196358, MtPyre_2F_Text_1963CB
- msgbox MtPyre_2F_Text_196368, 6
+ msgbox MtPyre_2F_Text_196368, MSGBOX_AUTOCLOSE
end
MtPyre_2F_EventScript_15D3CD:: @ 815D3CD
trainerbattle_double TRAINER_DEZ_AND_LUKE, MtPyre_2F_Text_196449, MtPyre_2F_Text_1964EB, MtPyre_2F_Text_196539
- msgbox MtPyre_2F_Text_196504, 6
+ msgbox MtPyre_2F_Text_196504, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/MtPyre_3F/scripts.inc b/data/maps/MtPyre_3F/scripts.inc
index 260a672e8..69410b4ae 100644
--- a/data/maps/MtPyre_3F/scripts.inc
+++ b/data/maps/MtPyre_3F/scripts.inc
@@ -3,10 +3,10 @@ MtPyre_3F_MapScripts:: @ 815D3E8
MtPyre_3F_EventScript_15D3E9:: @ 815D3E9
trainerbattle_single TRAINER_WILLIAM, MtPyre_3F_Text_19672B, MtPyre_3F_Text_19679D
- msgbox MtPyre_3F_Text_1967B5, 6
+ msgbox MtPyre_3F_Text_1967B5, MSGBOX_AUTOCLOSE
end
MtPyre_3F_EventScript_15D400:: @ 815D400
trainerbattle_single TRAINER_KAYLA, MtPyre_3F_Text_1967EF, MtPyre_3F_Text_19682B
- msgbox MtPyre_3F_Text_196842, 6
+ msgbox MtPyre_3F_Text_196842, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/MtPyre_4F/scripts.inc b/data/maps/MtPyre_4F/scripts.inc
index 50f9ddf01..228e6f6c9 100644
--- a/data/maps/MtPyre_4F/scripts.inc
+++ b/data/maps/MtPyre_4F/scripts.inc
@@ -3,5 +3,5 @@ MtPyre_4F_MapScripts:: @ 815D417
MtPyre_4F_EventScript_15D418:: @ 815D418
trainerbattle_single TRAINER_ATSUSHI, MtPyre_4F_Text_1968A6, MtPyre_4F_Text_1968D0
- msgbox MtPyre_4F_Text_1968EE, 6
+ msgbox MtPyre_4F_Text_1968EE, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/MtPyre_5F/scripts.inc b/data/maps/MtPyre_5F/scripts.inc
index 2b9a6665a..709a2f810 100644
--- a/data/maps/MtPyre_5F/scripts.inc
+++ b/data/maps/MtPyre_5F/scripts.inc
@@ -3,5 +3,5 @@ MtPyre_5F_MapScripts:: @ 815D42F
MtPyre_5F_EventScript_15D430:: @ 815D430
trainerbattle_single TRAINER_TASHA, MtPyre_5F_Text_196939, MtPyre_5F_Text_196997
- msgbox MtPyre_5F_Text_1969AC, 6
+ msgbox MtPyre_5F_Text_1969AC, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/MtPyre_6F/scripts.inc b/data/maps/MtPyre_6F/scripts.inc
index 39e322ffb..1a92d5b02 100644
--- a/data/maps/MtPyre_6F/scripts.inc
+++ b/data/maps/MtPyre_6F/scripts.inc
@@ -6,10 +6,10 @@ MtPyre_6F_EventScript_15D448:: @ 815D448
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq MtPyre_6F_EventScript_15D46F
- msgbox MtPyre_6F_Text_196A4C, 6
+ msgbox MtPyre_6F_Text_196A4C, MSGBOX_AUTOCLOSE
end
MtPyre_6F_EventScript_15D46F:: @ 815D46F
trainerbattle_rematch TRAINER_VALERIE_1, MtPyre_6F_Text_196A95, MtPyre_6F_Text_196AB1
- msgbox MtPyre_6F_Text_196AC9, 6
+ msgbox MtPyre_6F_Text_196AC9, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/MtPyre_Summit/scripts.inc b/data/maps/MtPyre_Summit/scripts.inc
index 872e87136..060933978 100644
--- a/data/maps/MtPyre_Summit/scripts.inc
+++ b/data/maps/MtPyre_Summit/scripts.inc
@@ -37,9 +37,9 @@ MtPyre_Summit_EventScript_15D4E1:: @ 815D4E1
compare VAR_0x8008, 2
call_if_eq MtPyre_Summit_EventScript_15D59F
.ifdef SAPPHIRE
- msgbox UnknownString_81B52B0, 4
+ msgbox UnknownString_81B52B0, MSGBOX_DEFAULT
.else
- msgbox MtPyre_Summit_Text_1B5EEC, 4
+ msgbox MtPyre_Summit_Text_1B5EEC, MSGBOX_DEFAULT
.endif
closemessage
fadescreen 1
@@ -59,9 +59,9 @@ MtPyre_Summit_EventScript_15D4E1:: @ 815D4E1
compare VAR_0x8008, 2
call_if_eq MtPyre_Summit_EventScript_15D5CA
.ifdef SAPPHIRE
- msgbox UnknownString_81B53AB, 4
+ msgbox UnknownString_81B53AB, MSGBOX_DEFAULT
.else
- msgbox MtPyre_Summit_Text_1B5FE6, 4
+ msgbox MtPyre_Summit_Text_1B5FE6, MSGBOX_DEFAULT
.endif
giveitem ITEM_RED_OR_BLUE_ORB
setflag FLAG_RECEIVED_RED_OR_BLUE_ORB
@@ -152,17 +152,17 @@ MtPyre_Summit_EventScript_15D5EF:: @ 815D5EF
MtPyre_Summit_EventScript_15D611:: @ 815D611
.ifdef SAPPHIRE
- msgbox UnknownString_81B5992, 4
+ msgbox UnknownString_81B5992, MSGBOX_DEFAULT
.else
- msgbox MtPyre_Summit_Text_1B65D6, 4
+ msgbox MtPyre_Summit_Text_1B65D6, MSGBOX_DEFAULT
.endif
return
MtPyre_Summit_EventScript_15D61A:: @ 815D61A
.ifdef SAPPHIRE
- msgbox UnknownString_81B5BD7, 4
+ msgbox UnknownString_81B5BD7, MSGBOX_DEFAULT
.else
- msgbox MtPyre_Summit_Text_1B6823, 4
+ msgbox MtPyre_Summit_Text_1B6823, MSGBOX_DEFAULT
.endif
return
@@ -173,9 +173,9 @@ MtPyre_Summit_EventScript_15D623:: @ 815D623
goto_if_set FLAG_LEGENDARY_BATTLE_COMPLETED, MtPyre_Summit_EventScript_15D64A
goto_if_set FLAG_LEGEND_ESCAPED_SEAFLOOR_CAVERN, MtPyre_Summit_EventScript_15D6BA
.ifdef SAPPHIRE
- msgbox UnknownString_81B54BE, 4
+ msgbox UnknownString_81B54BE, MSGBOX_DEFAULT
.else
- msgbox MtPyre_Summit_Text_1B60F9, 4
+ msgbox MtPyre_Summit_Text_1B60F9, MSGBOX_DEFAULT
.endif
release
end
@@ -203,9 +203,9 @@ MtPyre_Summit_EventScript_15D669:: @ 815D669
waitmovement 0
delay 10
.ifdef SAPPHIRE
- msgbox UnknownString_81B5762, 4
+ msgbox UnknownString_81B5762, MSGBOX_DEFAULT
.else
- msgbox MtPyre_Summit_Text_1B639C, 4
+ msgbox MtPyre_Summit_Text_1B639C, MSGBOX_DEFAULT
.endif
setflag FLAG_RETURNED_RED_OR_BLUE_ORB
release
@@ -225,18 +225,18 @@ MtPyre_Summit_EventScript_15D69B:: @ 815D69B
MtPyre_Summit_EventScript_15D6BA:: @ 815D6BA
.ifdef SAPPHIRE
- msgbox UnknownString_81B5540, 4
+ msgbox UnknownString_81B5540, MSGBOX_DEFAULT
.else
- msgbox MtPyre_Summit_Text_1B617B, 4
+ msgbox MtPyre_Summit_Text_1B617B, MSGBOX_DEFAULT
.endif
release
end
MtPyre_Summit_EventScript_15D6C4:: @ 815D6C4
.ifdef SAPPHIRE
- msgbox UnknownString_81B57BE, 4
+ msgbox UnknownString_81B57BE, MSGBOX_DEFAULT
.else
- msgbox MtPyre_Summit_Text_1B63F8, 4
+ msgbox MtPyre_Summit_Text_1B63F8, MSGBOX_DEFAULT
.endif
release
end
@@ -272,9 +272,9 @@ MtPyre_Summit_EventScript_15D6F2:: @ 815D6F2
compare VAR_0x8008, 2
call_if_eq MtPyre_Summit_EventScript_15D774
.ifdef SAPPHIRE
- msgbox UnknownString_81B5BFC, 4
+ msgbox UnknownString_81B5BFC, MSGBOX_DEFAULT
.else
- msgbox MtPyre_Summit_Text_1B6848, 4
+ msgbox MtPyre_Summit_Text_1B6848, MSGBOX_DEFAULT
.endif
closemessage
compare VAR_0x8008, 0
diff --git a/data/maps/NewMauville_Entrance/scripts.inc b/data/maps/NewMauville_Entrance/scripts.inc
index b954c69c8..ef5d0cbf0 100644
--- a/data/maps/NewMauville_Entrance/scripts.inc
+++ b/data/maps/NewMauville_Entrance/scripts.inc
@@ -25,14 +25,14 @@ NewMauville_Entrance_EventScript_15E4DC:: @ 815E4DC
lockall
applymovement 255, NewMauville_Entrance_Movement_1A0841
waitmovement 0
- msgbox NewMauville_Entrance_Text_1982C0, 4
+ msgbox NewMauville_Entrance_Text_1982C0, MSGBOX_DEFAULT
checkitem ITEM_BASEMENT_KEY, 1
compare VAR_RESULT, 0
goto_if_eq NewMauville_Entrance_EventScript_15E55D
msgbox NewMauville_Entrance_Text_1982D4, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq NewMauville_Entrance_EventScript_15E55D
- msgbox NewMauville_Entrance_Text_1982EA, 4
+ msgbox NewMauville_Entrance_Text_1982EA, MSGBOX_DEFAULT
setmetatile 3, 0, METATILE_Facility_NewMauvilleDoor_Open_Tile0, 0
setmetatile 4, 0, METATILE_Facility_NewMauvilleDoor_Open_Tile1, 0
setmetatile 5, 0, METATILE_Facility_NewMauvilleDoor_Open_Tile2, 0
diff --git a/data/maps/NewMauville_Inside/scripts.inc b/data/maps/NewMauville_Inside/scripts.inc
index d995b1f69..733510cf0 100644
--- a/data/maps/NewMauville_Inside/scripts.inc
+++ b/data/maps/NewMauville_Inside/scripts.inc
@@ -128,7 +128,7 @@ NewMauville_Inside_EventScript_15E728:: @ 815E728
NewMauville_Inside_EventScript_15E876:: @ 815E876
lockall
- msgbox NewMauville_Inside_Text_1983B1, 4
+ msgbox NewMauville_Inside_Text_1983B1, MSGBOX_DEFAULT
call NewMauville_Inside_EventScript_15E88B
setvar VAR_NEW_MAUVILLE_STATE, 2
releaseall
@@ -151,12 +151,12 @@ NewMauville_Inside_EventScript_15E8E0:: @ 815E8E0
lockall
compare VAR_NEW_MAUVILLE_STATE, 2
goto_if_eq NewMauville_Inside_EventScript_15E8F6
- msgbox NewMauville_Inside_Text_198315, 4
+ msgbox NewMauville_Inside_Text_198315, MSGBOX_DEFAULT
releaseall
end
NewMauville_Inside_EventScript_15E8F6:: @ 815E8F6
- msgbox NewMauville_Inside_Text_198395, 4
+ msgbox NewMauville_Inside_Text_198395, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/OldaleTown/scripts.inc b/data/maps/OldaleTown/scripts.inc
index e531342b5..f67dfcd1b 100644
--- a/data/maps/OldaleTown/scripts.inc
+++ b/data/maps/OldaleTown/scripts.inc
@@ -25,11 +25,11 @@ OldaleTown_EventScript_14DD9E:: @ 814DD9E
return
OldaleTown_EventScript_14DDAA:: @ 814DDAA
- msgbox OldaleTown_Text_16B20E, 3
+ msgbox OldaleTown_Text_16B20E, MSGBOX_SIGN
end
OldaleTown_EventScript_14DDB3:: @ 814DDB3
- msgbox OldaleTown_Text_16AEC0, 2
+ msgbox OldaleTown_Text_16AEC0, MSGBOX_NPC
end
OldaleTown_EventScript_14DDBC:: @ 814DDBC
@@ -39,7 +39,7 @@ OldaleTown_EventScript_14DDBC:: @ 814DDBC
goto_if_set FLAG_TEMP_1, OldaleTown_EventScript_14DE79
setflag FLAG_TEMP_1
playbgm MUS_TSURETEK, FALSE
- msgbox OldaleTown_Text_16AEF2, 4
+ msgbox OldaleTown_Text_16AEF2, MSGBOX_DEFAULT
closemessage
switch VAR_FACING
case 1, OldaleTown_EventScript_14DE07
@@ -69,23 +69,23 @@ OldaleTown_EventScript_14DE35:: @ 814DE35
end
OldaleTown_EventScript_14DE4C:: @ 814DE4C
- msgbox OldaleTown_Text_16AF2F, 4
+ msgbox OldaleTown_Text_16AF2F, MSGBOX_DEFAULT
giveitem ITEM_POTION
compare VAR_RESULT, 0
goto_if_eq OldaleTown_EventScript_14DE83
- msgbox OldaleTown_Text_16AFE1, 4
+ msgbox OldaleTown_Text_16AFE1, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_POTION_OLDALE
fadedefaultbgm
release
end
OldaleTown_EventScript_14DE79:: @ 814DE79
- msgbox OldaleTown_Text_16AFE1, 4
+ msgbox OldaleTown_Text_16AFE1, MSGBOX_DEFAULT
release
end
OldaleTown_EventScript_14DE83:: @ 814DE83
- msgbox OldaleTown_Text_1A0CC2, 4
+ msgbox OldaleTown_Text_1A0CC2, MSGBOX_DEFAULT
fadedefaultbgm
release
end
@@ -191,7 +191,7 @@ OldaleTown_EventScript_14DEDF:: @ 814DEDF
lock
faceplayer
goto_if_set FLAG_ADVENTURE_STARTED, OldaleTown_EventScript_14DF26
- msgbox OldaleTown_Text_16B0CC, 4
+ msgbox OldaleTown_Text_16B0CC, MSGBOX_DEFAULT
closemessage
applymovement 3, OldaleTown_Movement_1A083D
waitmovement 0
@@ -203,7 +203,7 @@ OldaleTown_EventScript_14DEFF:: @ 814DEFF
applymovement 255, OldaleTown_Movement_14DFEC
applymovement 3, OldaleTown_Movement_14DFEF
waitmovement 0
- msgbox OldaleTown_Text_16B045, 4
+ msgbox OldaleTown_Text_16B045, MSGBOX_DEFAULT
closemessage
applymovement 3, OldaleTown_Movement_14DFF5
waitmovement 0
@@ -211,7 +211,7 @@ OldaleTown_EventScript_14DEFF:: @ 814DEFF
end
OldaleTown_EventScript_14DF26:: @ 814DF26
- msgbox OldaleTown_Text_16B12A, 4
+ msgbox OldaleTown_Text_16B12A, MSGBOX_DEFAULT
release
end
@@ -258,12 +258,12 @@ OldaleTown_EventScript_14DF92:: @ 814DF92
end
OldaleTown_EventScript_14DFAA:: @ 814DFAA
- msgbox OldaleTown_Text_16B196, 4
+ msgbox OldaleTown_Text_16B196, MSGBOX_DEFAULT
goto OldaleTown_EventScript_14DFC6
end
OldaleTown_EventScript_14DFB8:: @ 814DFB8
- msgbox OldaleTown_Text_16B1BE, 4
+ msgbox OldaleTown_Text_16B1BE, MSGBOX_DEFAULT
goto OldaleTown_EventScript_14DFC6
end
diff --git a/data/maps/OldaleTown_House1/scripts.inc b/data/maps/OldaleTown_House1/scripts.inc
index 1e519a737..96cc583a5 100644
--- a/data/maps/OldaleTown_House1/scripts.inc
+++ b/data/maps/OldaleTown_House1/scripts.inc
@@ -2,5 +2,5 @@ OldaleTown_House1_MapScripts:: @ 8152EEB
.byte 0
OldaleTown_House1_EventScript_152EEC:: @ 8152EEC
- msgbox OldaleTown_House1_Text_17476D, 2
+ msgbox OldaleTown_House1_Text_17476D, MSGBOX_NPC
end
diff --git a/data/maps/OldaleTown_House2/scripts.inc b/data/maps/OldaleTown_House2/scripts.inc
index 57a9ab8ac..a8679e59f 100644
--- a/data/maps/OldaleTown_House2/scripts.inc
+++ b/data/maps/OldaleTown_House2/scripts.inc
@@ -2,9 +2,9 @@ OldaleTown_House2_MapScripts:: @ 8152EF5
.byte 0
OldaleTown_House2_EventScript_152EF6:: @ 8152EF6
- msgbox OldaleTown_House2_Text_174838, 2
+ msgbox OldaleTown_House2_Text_174838, MSGBOX_NPC
end
OldaleTown_House2_EventScript_152EFF:: @ 8152EFF
- msgbox OldaleTown_House2_Text_17487B, 2
+ msgbox OldaleTown_House2_Text_17487B, MSGBOX_NPC
end
diff --git a/data/maps/OldaleTown_Mart/scripts.inc b/data/maps/OldaleTown_Mart/scripts.inc
index 15cf40027..8a62100be 100644
--- a/data/maps/OldaleTown_Mart/scripts.inc
+++ b/data/maps/OldaleTown_Mart/scripts.inc
@@ -8,7 +8,7 @@ OldaleTown_Mart_EventScript_152F79:: @ 8152F79
waitmessage
goto_if_set FLAG_ADVENTURE_STARTED, OldaleTown_Mart_EventScript_152FA8
pokemart OldaleTown_Mart_Items1
- msgbox OldaleTown_Mart_Text_1A0C02, 4
+ msgbox OldaleTown_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -24,7 +24,7 @@ OldaleTown_Mart_Items1:: @ 8152F9C
OldaleTown_Mart_EventScript_152FA8:: @ 8152FA8
pokemart OldaleTown_Mart_Items2
- msgbox OldaleTown_Mart_Text_1A0C02, 4
+ msgbox OldaleTown_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -43,15 +43,15 @@ OldaleTown_Mart_EventScript_152FC6:: @ 8152FC6
lock
faceplayer
goto_if_set FLAG_ADVENTURE_STARTED, OldaleTown_Mart_EventScript_152FDB
- msgbox OldaleTown_Mart_Text_174A8A, 4
+ msgbox OldaleTown_Mart_Text_174A8A, MSGBOX_DEFAULT
release
end
OldaleTown_Mart_EventScript_152FDB:: @ 8152FDB
- msgbox OldaleTown_Mart_Text_174ACB, 4
+ msgbox OldaleTown_Mart_Text_174ACB, MSGBOX_DEFAULT
release
end
OldaleTown_Mart_EventScript_152FE5:: @ 8152FE5
- msgbox OldaleTown_Mart_Text_174B10, 2
+ msgbox OldaleTown_Mart_Text_174B10, MSGBOX_NPC
end
diff --git a/data/maps/OldaleTown_PokemonCenter_1F/scripts.inc b/data/maps/OldaleTown_PokemonCenter_1F/scripts.inc
index a3f05e593..ab0068068 100644
--- a/data/maps/OldaleTown_PokemonCenter_1F/scripts.inc
+++ b/data/maps/OldaleTown_PokemonCenter_1F/scripts.inc
@@ -16,22 +16,22 @@ OldaleTown_PokemonCenter_1F_EventScript_152F17:: @ 8152F17
end
OldaleTown_PokemonCenter_1F_EventScript_152F25:: @ 8152F25
- msgbox OldaleTown_PokemonCenter_1F_Text_1748D1, 2
+ msgbox OldaleTown_PokemonCenter_1F_Text_1748D1, MSGBOX_NPC
end
OldaleTown_PokemonCenter_1F_EventScript_152F2E:: @ 8152F2E
- msgbox OldaleTown_PokemonCenter_1F_Text_174945, 2
+ msgbox OldaleTown_PokemonCenter_1F_Text_174945, MSGBOX_NPC
end
OldaleTown_PokemonCenter_1F_EventScript_152F37:: @ 8152F37
lock
faceplayer
goto_if_set FLAG_SYS_POKEDEX_GET, OldaleTown_PokemonCenter_1F_EventScript_152F4C
- msgbox OldaleTown_PokemonCenter_1F_Text_1749C0, 4
+ msgbox OldaleTown_PokemonCenter_1F_Text_1749C0, MSGBOX_DEFAULT
release
end
OldaleTown_PokemonCenter_1F_EventScript_152F4C:: @ 8152F4C
- msgbox OldaleTown_PokemonCenter_1F_Text_174A2E, 4
+ msgbox OldaleTown_PokemonCenter_1F_Text_174A2E, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/PacifidlogTown/scripts.inc b/data/maps/PacifidlogTown/scripts.inc
index d7ac80a0a..a2326e1d4 100644
--- a/data/maps/PacifidlogTown/scripts.inc
+++ b/data/maps/PacifidlogTown/scripts.inc
@@ -12,17 +12,17 @@ PacifidlogTown_MapScript1_14E8FD:: @ 814E8FD
end
PacifidlogTown_EventScript_14E900:: @ 814E900
- msgbox PacifidlogTown_Text_16D04A, 2
+ msgbox PacifidlogTown_Text_16D04A, MSGBOX_NPC
end
PacifidlogTown_EventScript_14E909:: @ 814E909
- msgbox PacifidlogTown_Text_16CFC5, 2
+ msgbox PacifidlogTown_Text_16CFC5, MSGBOX_NPC
end
PacifidlogTown_EventScript_14E912:: @ 814E912
- msgbox PacifidlogTown_Text_16D08A, 2
+ msgbox PacifidlogTown_Text_16D08A, MSGBOX_NPC
end
PacifidlogTown_EventScript_14E91B:: @ 814E91B
- msgbox PacifidlogTown_Text_16D0CE, 3
+ msgbox PacifidlogTown_Text_16D0CE, MSGBOX_SIGN
end
diff --git a/data/maps/PacifidlogTown_House1/scripts.inc b/data/maps/PacifidlogTown_House1/scripts.inc
index 4b3586a16..eb0d30057 100644
--- a/data/maps/PacifidlogTown_House1/scripts.inc
+++ b/data/maps/PacifidlogTown_House1/scripts.inc
@@ -2,9 +2,9 @@ PacifidlogTown_House1_MapScripts:: @ 8154154
.byte 0
PacifidlogTown_House1_EventScript_154155:: @ 8154155
- msgbox PacifidlogTown_House1_Text_178F9F, 2
+ msgbox PacifidlogTown_House1_Text_178F9F, MSGBOX_NPC
end
PacifidlogTown_House1_EventScript_15415E:: @ 815415E
- msgbox PacifidlogTown_House1_Text_17906A, 2
+ msgbox PacifidlogTown_House1_Text_17906A, MSGBOX_NPC
end
diff --git a/data/maps/PacifidlogTown_House2/scripts.inc b/data/maps/PacifidlogTown_House2/scripts.inc
index b546caa60..2f74f4cc1 100644
--- a/data/maps/PacifidlogTown_House2/scripts.inc
+++ b/data/maps/PacifidlogTown_House2/scripts.inc
@@ -27,12 +27,12 @@ PacifidlogTown_House2_EventScript_1541B4:: @ 81541B4
return
PacifidlogTown_House2_EventScript_1541CE:: @ 81541CE
- msgbox PacifidlogTown_House2_Text_179155, 4
+ msgbox PacifidlogTown_House2_Text_179155, MSGBOX_DEFAULT
return
PacifidlogTown_House2_EventScript_1541D7:: @ 81541D7
- msgbox PacifidlogTown_House2_Text_1790C1, 4
- msgbox PacifidlogTown_House2_Text_179155, 4
+ msgbox PacifidlogTown_House2_Text_1790C1, MSGBOX_DEFAULT
+ msgbox PacifidlogTown_House2_Text_179155, MSGBOX_DEFAULT
return
PacifidlogTown_House2_EventScript_1541E8:: @ 81541E8
@@ -40,36 +40,36 @@ PacifidlogTown_House2_EventScript_1541E8:: @ 81541E8
return
PacifidlogTown_House2_EventScript_1541EC:: @ 81541EC
- msgbox PacifidlogTown_House2_Text_179169, 4
+ msgbox PacifidlogTown_House2_Text_179169, MSGBOX_DEFAULT
giveitem ITEM_TM27_RETURN
compare VAR_RESULT, 0
goto_if_eq PacifidlogTown_House2_EventScript_1A029B
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
special SetPacifidlogTMReceivedDay
- msgbox PacifidlogTown_House2_Text_179283, 4
+ msgbox PacifidlogTown_House2_Text_179283, MSGBOX_DEFAULT
release
end
PacifidlogTown_House2_EventScript_15421B:: @ 815421B
- msgbox PacifidlogTown_House2_Text_1791CA, 4
+ msgbox PacifidlogTown_House2_Text_1791CA, MSGBOX_DEFAULT
release
end
PacifidlogTown_House2_EventScript_154225:: @ 8154225
- msgbox PacifidlogTown_House2_Text_17922D, 4
+ msgbox PacifidlogTown_House2_Text_17922D, MSGBOX_DEFAULT
giveitem ITEM_TM21_FRUSTRATION
compare VAR_RESULT, 0
goto_if_eq PacifidlogTown_House2_EventScript_1A029B
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
special SetPacifidlogTMReceivedDay
- msgbox PacifidlogTown_House2_Text_179283, 4
+ msgbox PacifidlogTown_House2_Text_179283, MSGBOX_DEFAULT
release
end
PacifidlogTown_House2_EventScript_154254:: @ 8154254
specialvar VAR_RESULT, GetDaysUntilPacifidlogTMAvailable
buffernumberstring 0, VAR_RESULT
- msgbox PacifidlogTown_House2_Text_1792F2, 4
+ msgbox PacifidlogTown_House2_Text_1792F2, MSGBOX_DEFAULT
release
end
@@ -78,9 +78,9 @@ PacifidlogTown_House2_EventScript_154267:: @ 8154267
faceplayer
waitse
playmoncry SPECIES_AZURILL, 0
- msgbox PacifidlogTown_House2_Text_17938B, 4
+ msgbox PacifidlogTown_House2_Text_17938B, MSGBOX_DEFAULT
waitmoncry
- msgbox PacifidlogTown_House2_Text_17939B, 4
+ msgbox PacifidlogTown_House2_Text_17939B, MSGBOX_DEFAULT
release
end
@@ -89,8 +89,8 @@ PacifidlogTown_House2_EventScript_154282:: @ 8154282
faceplayer
waitse
playmoncry SPECIES_AZURILL, 2
- msgbox PacifidlogTown_House2_Text_1793CC, 4
+ msgbox PacifidlogTown_House2_Text_1793CC, MSGBOX_DEFAULT
waitmoncry
- msgbox PacifidlogTown_House2_Text_1793DD, 4
+ msgbox PacifidlogTown_House2_Text_1793DD, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/PacifidlogTown_House3/scripts.inc b/data/maps/PacifidlogTown_House3/scripts.inc
index 055287bfb..fdb64f50a 100644
--- a/data/maps/PacifidlogTown_House3/scripts.inc
+++ b/data/maps/PacifidlogTown_House3/scripts.inc
@@ -28,27 +28,27 @@ PacifidlogTown_House3_EventScript_15429E:: @ 815429E
special DoInGameTradeScene
waitstate
bufferspeciesname 0, VAR_0x8009
- msgbox PacifidlogTown_House3_Text_1794C4, 4
+ msgbox PacifidlogTown_House3_Text_1794C4, MSGBOX_DEFAULT
setflag FLAG_PACIFIDLOG_NPC_TRADE_COMPLETED
release
end
PacifidlogTown_House3_EventScript_154320:: @ 8154320
- msgbox PacifidlogTown_House3_Text_1794ED, 4
+ msgbox PacifidlogTown_House3_Text_1794ED, MSGBOX_DEFAULT
release
end
PacifidlogTown_House3_EventScript_15432A:: @ 815432A
bufferspeciesname 0, VAR_0x8009
- msgbox PacifidlogTown_House3_Text_1794DF, 4
+ msgbox PacifidlogTown_House3_Text_1794DF, MSGBOX_DEFAULT
release
end
PacifidlogTown_House3_EventScript_154338:: @ 8154338
- msgbox PacifidlogTown_House3_Text_17950A, 4
+ msgbox PacifidlogTown_House3_Text_17950A, MSGBOX_DEFAULT
release
end
PacifidlogTown_House3_EventScript_154342:: @ 8154342
- msgbox PacifidlogTown_House3_Text_179541, 2
+ msgbox PacifidlogTown_House3_Text_179541, MSGBOX_NPC
end
diff --git a/data/maps/PacifidlogTown_House4/scripts.inc b/data/maps/PacifidlogTown_House4/scripts.inc
index 84a477156..f8e0d6e26 100644
--- a/data/maps/PacifidlogTown_House4/scripts.inc
+++ b/data/maps/PacifidlogTown_House4/scripts.inc
@@ -2,11 +2,11 @@ PacifidlogTown_House4_MapScripts:: @ 815434B
.byte 0
PacifidlogTown_House4_EventScript_15434C:: @ 815434C
- msgbox PacifidlogTown_House4_Text_17961F, 2
+ msgbox PacifidlogTown_House4_Text_17961F, MSGBOX_NPC
end
PacifidlogTown_House4_EventScript_154355:: @ 8154355
- msgbox PacifidlogTown_House4_Text_17959B, 2
+ msgbox PacifidlogTown_House4_Text_17959B, MSGBOX_NPC
end
PacifidlogTown_House4_EventScript_15435E:: @ 815435E
@@ -20,11 +20,11 @@ PacifidlogTown_House4_EventScript_15435E:: @ 815435E
end
PacifidlogTown_House4_EventScript_15437F:: @ 815437F
- msgbox PacifidlogTown_House4_Text_179656, 4
+ msgbox PacifidlogTown_House4_Text_179656, MSGBOX_DEFAULT
release
end
PacifidlogTown_House4_EventScript_154389:: @ 8154389
- msgbox PacifidlogTown_House4_Text_17968C, 4
+ msgbox PacifidlogTown_House4_Text_17968C, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/PacifidlogTown_House5/scripts.inc b/data/maps/PacifidlogTown_House5/scripts.inc
index 8c24cddcb..2219e51b8 100644
--- a/data/maps/PacifidlogTown_House5/scripts.inc
+++ b/data/maps/PacifidlogTown_House5/scripts.inc
@@ -7,15 +7,15 @@ PacifidlogTown_House5_EventScript_154394:: @ 8154394
specialvar VAR_RESULT, IsMirageIslandPresent
compare VAR_RESULT, 1
goto_if_eq PacifidlogTown_House5_EventScript_1543B0
- msgbox PacifidlogTown_House5_Text_179718, 4
+ msgbox PacifidlogTown_House5_Text_179718, MSGBOX_DEFAULT
release
end
PacifidlogTown_House5_EventScript_1543B0:: @ 81543B0
- msgbox PacifidlogTown_House5_Text_17973B, 4
+ msgbox PacifidlogTown_House5_Text_17973B, MSGBOX_DEFAULT
release
end
PacifidlogTown_House5_EventScript_1543BA:: @ 81543BA
- msgbox PacifidlogTown_House5_Text_179765, 2
+ msgbox PacifidlogTown_House5_Text_179765, MSGBOX_NPC
end
diff --git a/data/maps/PacifidlogTown_PokemonCenter_1F/scripts.inc b/data/maps/PacifidlogTown_PokemonCenter_1F/scripts.inc
index e5756cd71..8b40d1926 100644
--- a/data/maps/PacifidlogTown_PokemonCenter_1F/scripts.inc
+++ b/data/maps/PacifidlogTown_PokemonCenter_1F/scripts.inc
@@ -15,13 +15,13 @@ PacifidlogTown_PokemonCenter_1F_MapScript1_154105:: @ 8154105
end
PacifidlogTown_PokemonCenter_1F_EventScript_154117:: @ 8154117
- msgbox PacifidlogTown_PokemonCenter_1F_Text_178E47, 2
+ msgbox PacifidlogTown_PokemonCenter_1F_Text_178E47, MSGBOX_NPC
end
PacifidlogTown_PokemonCenter_1F_EventScript_154120:: @ 8154120
- msgbox PacifidlogTown_PokemonCenter_1F_Text_178E79, 2
+ msgbox PacifidlogTown_PokemonCenter_1F_Text_178E79, MSGBOX_NPC
end
PacifidlogTown_PokemonCenter_1F_EventScript_154129:: @ 8154129
- msgbox PacifidlogTown_PokemonCenter_1F_Text_178ED9, 2
+ msgbox PacifidlogTown_PokemonCenter_1F_Text_178ED9, MSGBOX_NPC
end
diff --git a/data/maps/PetalburgCity/scripts.inc b/data/maps/PetalburgCity/scripts.inc
index 1c69280c7..70a91a22f 100644
--- a/data/maps/PetalburgCity/scripts.inc
+++ b/data/maps/PetalburgCity/scripts.inc
@@ -31,14 +31,14 @@ PetalburgCity_EventScript_14B747:: @ 814B747
applymovement 2, PetalburgCity_Movement_14B7ED
applymovement 255, PetalburgCity_Movement_14B7CC
waitmovement 0
- msgbox PetalburgCity_Text_16D361, 4
+ msgbox PetalburgCity_Text_16D361, MSGBOX_DEFAULT
special ScrSpecial_StartWallyTutorialBattle
waitstate
- msgbox PetalburgCity_Text_16D3DE, 4
+ msgbox PetalburgCity_Text_16D3DE, MSGBOX_DEFAULT
applymovement 2, PetalburgCity_Movement_1A083F, MAP_PETALBURG_CITY
@ Local id and map num were swapped here (0, 0, 2 vs 2, 0, 0). Fixed to waitmovement 2, MAP_PETALBURG_CITY in Emerald
waitmovement 0, MAP_MAUVILLE_CITY
- msgbox PetalburgCity_Text_16D408, 4
+ msgbox PetalburgCity_Text_16D408, MSGBOX_DEFAULT
closemessage
clearflag FLAG_SPECIAL_FLAG_0
setvar VAR_PETALBURG_STATE, 3
@@ -54,7 +54,7 @@ PetalburgCity_EventScript_14B747:: @ 814B747
PetalburgCity_EventScript_14B7AC:: @ 814B7AC
lock
faceplayer
- msgbox PetalburgCity_Text_164490, 4
+ msgbox PetalburgCity_Text_164490, MSGBOX_DEFAULT
closemessage
applymovement 3, PetalburgCity_Movement_1A083D
waitmovement 0
@@ -62,7 +62,7 @@ PetalburgCity_EventScript_14B7AC:: @ 814B7AC
end
PetalburgCity_EventScript_14B7C3:: @ 814B7C3
- msgbox PetalburgCity_Text_16433E, 2
+ msgbox PetalburgCity_Text_16433E, MSGBOX_NPC
end
PetalburgCity_Movement_14B7CC:: @ 814B7CC
@@ -140,19 +140,19 @@ PetalburgCity_Movement_14B7ED:: @ 814B7ED
end_movement
PetalburgCity_EventScript_14B812:: @ 814B812
- msgbox PetalburgCity_Text_1645BB, 3
+ msgbox PetalburgCity_Text_1645BB, MSGBOX_SIGN
end
PetalburgCity_EventScript_14B81B:: @ 814B81B
- msgbox PetalburgCity_Text_164602, 3
+ msgbox PetalburgCity_Text_164602, MSGBOX_SIGN
end
PetalburgCity_EventScript_14B824:: @ 814B824
- msgbox PetalburgCity_Text_16453F, 2
+ msgbox PetalburgCity_Text_16453F, MSGBOX_NPC
end
PetalburgCity_EventScript_14B82D:: @ 814B82D
- msgbox PetalburgCity_Text_164634, 3
+ msgbox PetalburgCity_Text_164634, MSGBOX_SIGN
end
PetalburgCity_EventScript_14B836:: @ 814B836
@@ -196,7 +196,7 @@ PetalburgCity_EventScript_14B866:: @ 814B866
call_if_eq PetalburgCity_EventScript_14B93B
compare VAR_0x8008, 3
call_if_eq PetalburgCity_EventScript_14B950
- msgbox PetalburgCity_Text_16438A, 4
+ msgbox PetalburgCity_Text_16438A, MSGBOX_DEFAULT
closemessage
compare VAR_0x8008, 0
call_if_eq PetalburgCity_EventScript_14B965
@@ -206,11 +206,11 @@ PetalburgCity_EventScript_14B866:: @ 814B866
call_if_eq PetalburgCity_EventScript_14B989
compare VAR_0x8008, 3
call_if_eq PetalburgCity_EventScript_14B99B
- msgbox PetalburgCity_Text_164426, 4
+ msgbox PetalburgCity_Text_164426, MSGBOX_DEFAULT
applymovement 9, PetalburgCity_Movement_1A0843
applymovement 255, PetalburgCity_Movement_1A0843
waitmovement 0
- msgbox PetalburgCity_Text_164449, 4
+ msgbox PetalburgCity_Text_164449, MSGBOX_DEFAULT
closemessage
applymovement 9, PetalburgCity_Movement_14B9F4
waitmovement 0
@@ -425,5 +425,5 @@ PetalburgCity_Movement_14BA22:: @ 814BA22
end_movement
PetalburgCity_EventScript_14BA2D:: @ 814BA2D
- msgbox PetalburgCity_Text_16438A, 2
+ msgbox PetalburgCity_Text_16438A, MSGBOX_NPC
end
diff --git a/data/maps/PetalburgCity_Gym/scripts.inc b/data/maps/PetalburgCity_Gym/scripts.inc
index 897725c42..9e5c148af 100644
--- a/data/maps/PetalburgCity_Gym/scripts.inc
+++ b/data/maps/PetalburgCity_Gym/scripts.inc
@@ -70,8 +70,8 @@ PetalburgCity_Gym_MapScript2_154562:: @ 8154562
PetalburgCity_Gym_EventScript_15456C:: @ 815456C
lockall
- msgbox PetalburgCity_Gym_Text_17A196, 4
- msgbox PetalburgCity_Gym_Text_17A1B0, 4
+ msgbox PetalburgCity_Gym_Text_17A196, MSGBOX_DEFAULT
+ msgbox PetalburgCity_Gym_Text_17A1B0, MSGBOX_DEFAULT
closemessage
applymovement 255, PetalburgCity_Gym_Movement_1A0845
applymovement 10, PetalburgCity_Gym_Movement_1545B4
@@ -82,7 +82,7 @@ PetalburgCity_Gym_EventScript_15456C:: @ 815456C
delay 30
applymovement 255, PetalburgCity_Gym_Movement_1A0841
waitmovement 0
- msgbox PetalburgCity_Gym_Text_17A2A4, 4
+ msgbox PetalburgCity_Gym_Text_17A2A4, MSGBOX_DEFAULT
setvar VAR_PETALBURG_GYM_STATE, 2
releaseall
end
@@ -104,7 +104,7 @@ PetalburgCity_Gym_EventScript_1545B9:: @ 81545B9
case 5, PetalburgCity_Gym_EventScript_154925
case 6, PetalburgCity_Gym_EventScript_1549D6
case 7, PetalburgCity_Gym_EventScript_15493D
- msgbox PetalburgCity_Gym_Text_179DF6, 4
+ msgbox PetalburgCity_Gym_Text_179DF6, MSGBOX_DEFAULT
closemessage
switch VAR_FACING
case 1, PetalburgCity_Gym_EventScript_15463D
@@ -144,10 +144,10 @@ PetalburgCity_Gym_EventScript_154669:: @ 8154669
call_if_eq PetalburgCity_Gym_EventScript_15481C
compare VAR_0x8008, 3
call_if_eq PetalburgCity_Gym_EventScript_15481C
- msgbox PetalburgCity_Gym_Text_179F07, 4
- msgbox PetalburgCity_Gym_Text_179F37, 4
- msgbox PetalburgCity_Gym_Text_179F70, 4
- msgbox PetalburgCity_Gym_Text_17A03A, 4
+ msgbox PetalburgCity_Gym_Text_179F07, MSGBOX_DEFAULT
+ msgbox PetalburgCity_Gym_Text_179F37, MSGBOX_DEFAULT
+ msgbox PetalburgCity_Gym_Text_179F70, MSGBOX_DEFAULT
+ msgbox PetalburgCity_Gym_Text_17A03A, MSGBOX_DEFAULT
compare VAR_0x8008, 0
call_if_eq PetalburgCity_Gym_EventScript_154884
compare VAR_0x8008, 1
@@ -156,7 +156,7 @@ PetalburgCity_Gym_EventScript_154669:: @ 8154669
call_if_eq PetalburgCity_Gym_EventScript_1548A1
compare VAR_0x8008, 3
call_if_eq PetalburgCity_Gym_EventScript_1548B3
- msgbox PetalburgCity_Gym_Text_17A04A, 4
+ msgbox PetalburgCity_Gym_Text_17A04A, MSGBOX_DEFAULT
compare VAR_0x8008, 0
call_if_eq PetalburgCity_Gym_EventScript_1548C5
compare VAR_0x8008, 1
@@ -165,9 +165,9 @@ PetalburgCity_Gym_EventScript_154669:: @ 8154669
call_if_eq PetalburgCity_Gym_EventScript_1548DB
compare VAR_0x8008, 3
call_if_eq PetalburgCity_Gym_EventScript_1548E6
- msgbox PetalburgCity_Gym_Text_17A0A8, 4
- msgbox PetalburgCity_Gym_Text_17A0EB, 4
- msgbox PetalburgCity_Gym_Text_17A156, 4
+ msgbox PetalburgCity_Gym_Text_17A0A8, MSGBOX_DEFAULT
+ msgbox PetalburgCity_Gym_Text_17A0EB, MSGBOX_DEFAULT
+ msgbox PetalburgCity_Gym_Text_17A156, MSGBOX_DEFAULT
compare VAR_0x8008, 0
call_if_eq PetalburgCity_Gym_EventScript_15492F
compare VAR_0x8008, 1
@@ -184,7 +184,7 @@ PetalburgCity_Gym_EventScript_154669:: @ 8154669
call_if_eq PetalburgCity_Gym_EventScript_1548F1
compare VAR_0x8008, 3
call_if_eq PetalburgCity_Gym_EventScript_1548F1
- msgbox PetalburgCity_Gym_Text_17A171, 4
+ msgbox PetalburgCity_Gym_Text_17A171, MSGBOX_DEFAULT
closemessage
setflag FLAG_SPECIAL_FLAG_1
playbgm MUS_TSURETEK, FALSE
@@ -309,22 +309,22 @@ PetalburgCity_Gym_EventScript_1548FC:: @ 81548FC
return
PetalburgCity_Gym_EventScript_154907:: @ 8154907
- msgbox PetalburgCity_Gym_Text_17A41E, 4
+ msgbox PetalburgCity_Gym_Text_17A41E, MSGBOX_DEFAULT
release
end
PetalburgCity_Gym_EventScript_154911:: @ 8154911
- msgbox PetalburgCity_Gym_Text_17A518, 4
+ msgbox PetalburgCity_Gym_Text_17A518, MSGBOX_DEFAULT
release
end
PetalburgCity_Gym_EventScript_15491B:: @ 815491B
- msgbox PetalburgCity_Gym_Text_17A5F3, 4
+ msgbox PetalburgCity_Gym_Text_17A5F3, MSGBOX_DEFAULT
release
end
PetalburgCity_Gym_EventScript_154925:: @ 8154925
- msgbox PetalburgCity_Gym_Text_17A5F3, 4
+ msgbox PetalburgCity_Gym_Text_17A5F3, MSGBOX_DEFAULT
release
end
@@ -348,7 +348,7 @@ PetalburgCity_Gym_EventScript_15493D:: @ 815493D
goto_if_eq PetalburgCity_Gym_EventScript_1549B8
goto_if_unset FLAG_RECEIVED_TM42, PetalburgCity_Gym_EventScript_154A2C
goto_if_set FLAG_SYS_GAME_CLEAR, PetalburgCity_Gym_EventScript_154B69
- msgbox PetalburgCity_Gym_Text_17AA6B, 4
+ msgbox PetalburgCity_Gym_Text_17AA6B, MSGBOX_DEFAULT
release
end
@@ -364,7 +364,7 @@ PetalburgCity_Gym_EventScript_154969:: @ 8154969
goto_if_eq PetalburgCity_Gym_EventScript_1549B2
compare VAR_ENIGMA_BERRY_AVAILABLE, 0
goto_if_eq PetalburgCity_Gym_EventScript_1549B2
- msgbox PetalburgCity_Gym_Text_1C5570, 4
+ msgbox PetalburgCity_Gym_Text_1C5570, MSGBOX_DEFAULT
setvar VAR_RESULT, 1
return
@@ -381,12 +381,12 @@ PetalburgCity_Gym_EventScript_1549B8:: @ 81549B8
end
PetalburgCity_Gym_EventScript_1549D6:: @ 81549D6
- msgbox PetalburgCity_Gym_Text_17A653, 4
+ msgbox PetalburgCity_Gym_Text_17A653, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_NORMAN, PetalburgCity_Gym_Text_17A77A
message PetalburgCity_Gym_Text_17A7DD
waitmessage
call PetalburgCity_Gym_EventScript_1A02C5
- msgbox PetalburgCity_Gym_Text_17A805, 4
+ msgbox PetalburgCity_Gym_Text_17A805, MSGBOX_DEFAULT
setflag FLAG_DEFEATED_PETALBURG_GYM
setvar VAR_PETALBURG_GYM_STATE, 7
setflag FLAG_BADGE05_GET
@@ -406,8 +406,8 @@ PetalburgCity_Gym_EventScript_154A2C:: @ 8154A2C
compare VAR_RESULT, 0
goto_if_eq PetalburgCity_Gym_EventScript_1A029B
setflag FLAG_RECEIVED_TM42
- msgbox PetalburgCity_Gym_Text_17A8CF, 4
- msgbox PetalburgCity_Gym_Text_17A976, 4
+ msgbox PetalburgCity_Gym_Text_17A8CF, MSGBOX_DEFAULT
+ msgbox PetalburgCity_Gym_Text_17A976, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, 2
call_if_eq PetalburgCity_Gym_EventScript_154ABC
@@ -426,7 +426,7 @@ PetalburgCity_Gym_EventScript_154A2C:: @ 8154A2C
call_if_eq PetalburgCity_Gym_EventScript_154AFE
compare VAR_FACING, 4
call_if_eq PetalburgCity_Gym_EventScript_154B09
- msgbox PetalburgCity_Gym_Text_17A9F6, 4
+ msgbox PetalburgCity_Gym_Text_17A9F6, MSGBOX_DEFAULT
release
end
@@ -576,7 +576,7 @@ PetalburgCity_Gym_Movement_154B5F:: @ 8154B5F
end_movement
PetalburgCity_Gym_EventScript_154B69:: @ 8154B69
- msgbox PetalburgCity_Gym_Text_17AB17, 4
+ msgbox PetalburgCity_Gym_Text_17AB17, MSGBOX_DEFAULT
release
end
@@ -606,7 +606,7 @@ PetalburgCity_Gym_EventScript_154BB7:: @ 8154BB7
end
PetalburgCity_Gym_EventScript_154BB9:: @ 8154BB9
- msgbox PetalburgCity_Gym_Text_17B844, 4
+ msgbox PetalburgCity_Gym_Text_17B844, MSGBOX_DEFAULT
releaseall
end
@@ -746,7 +746,7 @@ PetalburgCity_Gym_EventScript_154DC3:: @ 8154DC3
PetalburgCity_Gym_EventScript_154DF6:: @ 8154DF6
trainerbattle_single TRAINER_RANDALL, PetalburgCity_Gym_Text_17ADA5, PetalburgCity_Gym_Text_17AE11, PetalburgCity_Gym_EventScript_154E1A
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, PetalburgCity_Gym_EventScript_154E29
- msgbox PetalburgCity_Gym_Text_17AE30, 6
+ msgbox PetalburgCity_Gym_Text_17AE30, MSGBOX_AUTOCLOSE
end
PetalburgCity_Gym_EventScript_154E1A:: @ 8154E1A
@@ -757,13 +757,13 @@ PetalburgCity_Gym_EventScript_154E1A:: @ 8154E1A
end
PetalburgCity_Gym_EventScript_154E29:: @ 8154E29
- msgbox PetalburgCity_Gym_Text_17AEBB, 2
+ msgbox PetalburgCity_Gym_Text_17AEBB, MSGBOX_NPC
end
PetalburgCity_Gym_EventScript_154E32:: @ 8154E32
trainerbattle_single TRAINER_PARKER, PetalburgCity_Gym_Text_17AF5A, PetalburgCity_Gym_Text_17AF98, PetalburgCity_Gym_EventScript_154E56
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, PetalburgCity_Gym_EventScript_154E65
- msgbox PetalburgCity_Gym_Text_17AFD3, 6
+ msgbox PetalburgCity_Gym_Text_17AFD3, MSGBOX_AUTOCLOSE
end
PetalburgCity_Gym_EventScript_154E56:: @ 8154E56
@@ -774,13 +774,13 @@ PetalburgCity_Gym_EventScript_154E56:: @ 8154E56
end
PetalburgCity_Gym_EventScript_154E65:: @ 8154E65
- msgbox PetalburgCity_Gym_Text_17B016, 2
+ msgbox PetalburgCity_Gym_Text_17B016, MSGBOX_NPC
end
PetalburgCity_Gym_EventScript_154E6E:: @ 8154E6E
trainerbattle_single TRAINER_GEORGE, PetalburgCity_Gym_Text_17B058, PetalburgCity_Gym_Text_17B0F7, PetalburgCity_Gym_EventScript_154E92
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, PetalburgCity_Gym_EventScript_154EA1
- msgbox PetalburgCity_Gym_Text_17B12C, 6
+ msgbox PetalburgCity_Gym_Text_17B12C, MSGBOX_AUTOCLOSE
end
PetalburgCity_Gym_EventScript_154E92:: @ 8154E92
@@ -791,13 +791,13 @@ PetalburgCity_Gym_EventScript_154E92:: @ 8154E92
end
PetalburgCity_Gym_EventScript_154EA1:: @ 8154EA1
- msgbox PetalburgCity_Gym_Text_17B1F4, 2
+ msgbox PetalburgCity_Gym_Text_17B1F4, MSGBOX_NPC
end
PetalburgCity_Gym_EventScript_154EAA:: @ 8154EAA
trainerbattle_single TRAINER_BERKE, PetalburgCity_Gym_Text_17B237, PetalburgCity_Gym_Text_17B2C0, PetalburgCity_Gym_EventScript_154ECE
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, PetalburgCity_Gym_EventScript_154EDD
- msgbox PetalburgCity_Gym_Text_17B2E4, 6
+ msgbox PetalburgCity_Gym_Text_17B2E4, MSGBOX_AUTOCLOSE
end
PetalburgCity_Gym_EventScript_154ECE:: @ 8154ECE
@@ -808,13 +808,13 @@ PetalburgCity_Gym_EventScript_154ECE:: @ 8154ECE
end
PetalburgCity_Gym_EventScript_154EDD:: @ 8154EDD
- msgbox PetalburgCity_Gym_Text_17B39B, 2
+ msgbox PetalburgCity_Gym_Text_17B39B, MSGBOX_NPC
end
PetalburgCity_Gym_EventScript_154EE6:: @ 8154EE6
trainerbattle_single TRAINER_MARY, PetalburgCity_Gym_Text_17B3F7, PetalburgCity_Gym_Text_17B454, PetalburgCity_Gym_EventScript_154F0A
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, PetalburgCity_Gym_EventScript_154F19
- msgbox PetalburgCity_Gym_Text_17B46F, 6
+ msgbox PetalburgCity_Gym_Text_17B46F, MSGBOX_AUTOCLOSE
end
PetalburgCity_Gym_EventScript_154F0A:: @ 8154F0A
@@ -825,13 +825,13 @@ PetalburgCity_Gym_EventScript_154F0A:: @ 8154F0A
end
PetalburgCity_Gym_EventScript_154F19:: @ 8154F19
- msgbox PetalburgCity_Gym_Text_17B521, 2
+ msgbox PetalburgCity_Gym_Text_17B521, MSGBOX_NPC
end
PetalburgCity_Gym_EventScript_154F22:: @ 8154F22
trainerbattle_single TRAINER_LORI, PetalburgCity_Gym_Text_17B58D, PetalburgCity_Gym_Text_17B5CB, PetalburgCity_Gym_EventScript_154F46
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, PetalburgCity_Gym_EventScript_154F55
- msgbox PetalburgCity_Gym_Text_17B5EA, 6
+ msgbox PetalburgCity_Gym_Text_17B5EA, MSGBOX_AUTOCLOSE
end
PetalburgCity_Gym_EventScript_154F46:: @ 8154F46
@@ -842,13 +842,13 @@ PetalburgCity_Gym_EventScript_154F46:: @ 8154F46
end
PetalburgCity_Gym_EventScript_154F55:: @ 8154F55
- msgbox PetalburgCity_Gym_Text_17B6B5, 2
+ msgbox PetalburgCity_Gym_Text_17B6B5, MSGBOX_NPC
end
PetalburgCity_Gym_EventScript_154F5E:: @ 8154F5E
trainerbattle_single TRAINER_JODY, PetalburgCity_Gym_Text_17B6D4, PetalburgCity_Gym_Text_17B732, PetalburgCity_Gym_EventScript_154F82
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, PetalburgCity_Gym_EventScript_154F91
- msgbox PetalburgCity_Gym_Text_17B749, 6
+ msgbox PetalburgCity_Gym_Text_17B749, MSGBOX_AUTOCLOSE
end
PetalburgCity_Gym_EventScript_154F82:: @ 8154F82
@@ -859,7 +859,7 @@ PetalburgCity_Gym_EventScript_154F82:: @ 8154F82
end
PetalburgCity_Gym_EventScript_154F91:: @ 8154F91
- msgbox PetalburgCity_Gym_Text_17B7C0, 2
+ msgbox PetalburgCity_Gym_Text_17B7C0, MSGBOX_NPC
end
PetalburgCity_Gym_EventScript_154F9A:: @ 8154F9A
@@ -995,12 +995,12 @@ PetalburgCity_Gym_EventScript_15518B:: @ 815518B
lock
faceplayer
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, PetalburgCity_Gym_EventScript_1551A0
- msgbox PetalburgCity_Gym_Text_17AB96, 4
+ msgbox PetalburgCity_Gym_Text_17AB96, MSGBOX_DEFAULT
release
end
PetalburgCity_Gym_EventScript_1551A0:: @ 81551A0
- msgbox PetalburgCity_Gym_Text_17AD49, 4
+ msgbox PetalburgCity_Gym_Text_17AD49, MSGBOX_DEFAULT
release
end
@@ -1017,11 +1017,11 @@ PetalburgCity_Gym_EventScript_1551BA:: @ 81551BA
end
PetalburgCity_Gym_EventScript_1551CA:: @ 81551CA
- msgbox PetalburgCity_Gym_Text_17BAC0, 4
+ msgbox PetalburgCity_Gym_Text_17BAC0, MSGBOX_DEFAULT
releaseall
end
PetalburgCity_Gym_EventScript_1551D4:: @ 81551D4
- msgbox PetalburgCity_Gym_Text_17BAA5, 4
+ msgbox PetalburgCity_Gym_Text_17BAA5, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/PetalburgCity_House1/scripts.inc b/data/maps/PetalburgCity_House1/scripts.inc
index 7a3b7c1b1..f398a86bc 100644
--- a/data/maps/PetalburgCity_House1/scripts.inc
+++ b/data/maps/PetalburgCity_House1/scripts.inc
@@ -2,9 +2,9 @@ PetalburgCity_House1_MapScripts:: @ 81551DE
.byte 0
PetalburgCity_House1_EventScript_1551DF:: @ 81551DF
- msgbox PetalburgCity_House1_Text_17BAFB, 2
+ msgbox PetalburgCity_House1_Text_17BAFB, MSGBOX_NPC
end
PetalburgCity_House1_EventScript_1551E8:: @ 81551E8
- msgbox PetalburgCity_House1_Text_17BB4A, 2
+ msgbox PetalburgCity_House1_Text_17BB4A, MSGBOX_NPC
end
diff --git a/data/maps/PetalburgCity_House2/scripts.inc b/data/maps/PetalburgCity_House2/scripts.inc
index 4cc1325a2..a526b9d1d 100644
--- a/data/maps/PetalburgCity_House2/scripts.inc
+++ b/data/maps/PetalburgCity_House2/scripts.inc
@@ -2,9 +2,9 @@ PetalburgCity_House2_MapScripts:: @ 81551F1
.byte 0
PetalburgCity_House2_EventScript_1551F2:: @ 81551F2
- msgbox PetalburgCity_House2_Text_17BC4F, 2
+ msgbox PetalburgCity_House2_Text_17BC4F, MSGBOX_NPC
end
PetalburgCity_House2_EventScript_1551FB:: @ 81551FB
- msgbox PetalburgCity_House2_Text_17BCB1, 2
+ msgbox PetalburgCity_House2_Text_17BCB1, MSGBOX_NPC
end
diff --git a/data/maps/PetalburgCity_Mart/scripts.inc b/data/maps/PetalburgCity_Mart/scripts.inc
index 7584f6f19..841fbaf3e 100644
--- a/data/maps/PetalburgCity_Mart/scripts.inc
+++ b/data/maps/PetalburgCity_Mart/scripts.inc
@@ -8,7 +8,7 @@ PetalburgCity_Mart_EventScript_1552B0:: @ 81552B0
waitmessage
goto_if_set FLAG_PETALBURG_MART_EXPANDED_ITEMS, PetalburgCity_Mart_EventScript_1552EA
pokemart PetalburgCity_Mart_Items1
- msgbox PetalburgCity_Mart_Text_1A0C02, 4
+ msgbox PetalburgCity_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -31,7 +31,7 @@ PetalburgCity_Mart_Items1:: @ 81552D0
PetalburgCity_Mart_EventScript_1552EA:: @ 81552EA
pokemart PetalburgCity_Mart_Items2
- msgbox PetalburgCity_Mart_Text_1A0C02, 4
+ msgbox PetalburgCity_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -55,13 +55,13 @@ PetalburgCity_Mart_Items2:: @ 81552FC
end
PetalburgCity_Mart_EventScript_15531A:: @ 815531A
- msgbox PetalburgCity_Mart_Text_17BFFD, 2
+ msgbox PetalburgCity_Mart_Text_17BFFD, MSGBOX_NPC
end
PetalburgCity_Mart_EventScript_155323:: @ 8155323
- msgbox PetalburgCity_Mart_Text_17C06C, 2
+ msgbox PetalburgCity_Mart_Text_17C06C, MSGBOX_NPC
end
PetalburgCity_Mart_EventScript_15532C:: @ 815532C
- msgbox PetalburgCity_Mart_Text_17C0BC, 2
+ msgbox PetalburgCity_Mart_Text_17C0BC, MSGBOX_NPC
end
diff --git a/data/maps/PetalburgCity_PokemonCenter_1F/scripts.inc b/data/maps/PetalburgCity_PokemonCenter_1F/scripts.inc
index eff4c8650..0f10265ce 100644
--- a/data/maps/PetalburgCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/PetalburgCity_PokemonCenter_1F/scripts.inc
@@ -16,17 +16,17 @@ PetalburgCity_PokemonCenter_1F_EventScript_155213:: @ 8155213
end
PetalburgCity_PokemonCenter_1F_EventScript_155221:: @ 8155221
- msgbox PetalburgCity_PokemonCenter_1F_Text_17BD30, 2
+ msgbox PetalburgCity_PokemonCenter_1F_Text_17BD30, MSGBOX_NPC
end
PetalburgCity_PokemonCenter_1F_EventScript_15522A:: @ 815522A
- msgbox PetalburgCity_PokemonCenter_1F_Text_17BD92, 2
+ msgbox PetalburgCity_PokemonCenter_1F_Text_17BD92, MSGBOX_NPC
end
PetalburgCity_PokemonCenter_1F_EventScript_155233:: @ 8155233
lock
faceplayer
- msgbox PetalburgCity_PokemonCenter_1F_Text_17BDC5, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_17BDC5, MSGBOX_DEFAULT
specialvar VAR_RESULT, IsStarterInParty
compare VAR_RESULT, 1
goto_if_eq PetalburgCity_PokemonCenter_1F_EventScript_15524F
@@ -44,13 +44,13 @@ PetalburgCity_PokemonCenter_1F_EventScript_15524F:: @ 815524F
end
PetalburgCity_PokemonCenter_1F_EventScript_155272:: @ 8155272
- msgbox PetalburgCity_PokemonCenter_1F_Text_17BE6C, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_17BE6C, MSGBOX_DEFAULT
return
PetalburgCity_PokemonCenter_1F_EventScript_15527B:: @ 815527B
- msgbox PetalburgCity_PokemonCenter_1F_Text_17BEF1, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_17BEF1, MSGBOX_DEFAULT
return
PetalburgCity_PokemonCenter_1F_EventScript_155284:: @ 8155284
- msgbox PetalburgCity_PokemonCenter_1F_Text_17BF73, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_17BF73, MSGBOX_DEFAULT
return
diff --git a/data/maps/PetalburgCity_WallysHouse/scripts.inc b/data/maps/PetalburgCity_WallysHouse/scripts.inc
index 399787135..cfc7c0e80 100644
--- a/data/maps/PetalburgCity_WallysHouse/scripts.inc
+++ b/data/maps/PetalburgCity_WallysHouse/scripts.inc
@@ -8,7 +8,7 @@ PetalburgCity_WallysHouse_EventScript_1543C4:: @ 81543C4
goto_if_set FLAG_RECEIVED_HM03, PetalburgCity_WallysHouse_EventScript_154427
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, PetalburgCity_WallysHouse_EventScript_154406
goto_if_set FLAG_THANKED_FOR_PLAYING_WITH_WALLY, PetalburgCity_WallysHouse_EventScript_15443B
- msgbox PetalburgCity_WallysHouse_Text_179805, 4
+ msgbox PetalburgCity_WallysHouse_Text_179805, MSGBOX_DEFAULT
setflag FLAG_THANKED_FOR_PLAYING_WITH_WALLY
release
end
@@ -19,25 +19,25 @@ PetalburgCity_WallysHouse_EventScript_1543F7:: @ 81543F7
end
PetalburgCity_WallysHouse_EventScript_154406:: @ 8154406
- msgbox PetalburgCity_WallysHouse_Text_179996, 4
+ msgbox PetalburgCity_WallysHouse_Text_179996, MSGBOX_DEFAULT
giveitem ITEM_HM03_SURF
setflag FLAG_RECEIVED_HM03
- msgbox PetalburgCity_WallysHouse_Text_179B14, 4
+ msgbox PetalburgCity_WallysHouse_Text_179B14, MSGBOX_DEFAULT
release
end
PetalburgCity_WallysHouse_EventScript_154427:: @ 8154427
- msgbox PetalburgCity_WallysHouse_Text_179B5B, 4
+ msgbox PetalburgCity_WallysHouse_Text_179B5B, MSGBOX_DEFAULT
release
end
PetalburgCity_WallysHouse_EventScript_154431:: @ 8154431
- msgbox PetalburgCity_WallysHouse_Text_179B92, 4
+ msgbox PetalburgCity_WallysHouse_Text_179B92, MSGBOX_DEFAULT
release
end
PetalburgCity_WallysHouse_EventScript_15443B:: @ 815443B
- msgbox PetalburgCity_WallysHouse_Text_179975, 4
+ msgbox PetalburgCity_WallysHouse_Text_179975, MSGBOX_DEFAULT
release
end
@@ -46,16 +46,16 @@ PetalburgCity_WallysHouse_EventScript_154445:: @ 8154445
faceplayer
goto_if_set FLAG_RECEIVED_HM03, PetalburgCity_WallysHouse_EventScript_15446D
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, PetalburgCity_WallysHouse_EventScript_154463
- msgbox PetalburgCity_WallysHouse_Text_179C2C, 4
+ msgbox PetalburgCity_WallysHouse_Text_179C2C, MSGBOX_DEFAULT
release
end
PetalburgCity_WallysHouse_EventScript_154463:: @ 8154463
- msgbox PetalburgCity_WallysHouse_Text_179CA1, 4
+ msgbox PetalburgCity_WallysHouse_Text_179CA1, MSGBOX_DEFAULT
release
end
PetalburgCity_WallysHouse_EventScript_15446D:: @ 815446D
- msgbox PetalburgCity_WallysHouse_Text_179D12, 4
+ msgbox PetalburgCity_WallysHouse_Text_179D12, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/PetalburgWoods/scripts.inc b/data/maps/PetalburgWoods/scripts.inc
index c93886f13..da53434da 100644
--- a/data/maps/PetalburgWoods/scripts.inc
+++ b/data/maps/PetalburgWoods/scripts.inc
@@ -11,25 +11,25 @@ PetalburgWoods_EventScript_15CCA8:: @ 815CCA8
call PetalburgWoods_EventScript_15CDE6
applymovement 4, PetalburgWoods_Movement_15CE89
waitmovement 0
- msgbox PetalburgWoods_Text_194D92, 4
+ msgbox PetalburgWoods_Text_194D92, MSGBOX_DEFAULT
closemessage
playbgm MUS_EVIL_TEAM, FALSE
applymovement 3, PetalburgWoods_Movement_15CEC3
waitmovement 0
- msgbox PetalburgWoods_Text_194DED, 4
+ msgbox PetalburgWoods_Text_194DED, MSGBOX_DEFAULT
closemessage
applymovement 3, PetalburgWoods_Movement_15CEB0
waitmovement 0
applymovement 4, PetalburgWoods_Movement_1A0841
waitmovement 0
- msgbox PetalburgWoods_Text_194E6B, 4
+ msgbox PetalburgWoods_Text_194E6B, MSGBOX_DEFAULT
closemessage
applymovement 4, PetalburgWoods_Movement_15CE9E
waitmovement 0
- msgbox PetalburgWoods_Text_194E9A, 4
+ msgbox PetalburgWoods_Text_194E9A, MSGBOX_DEFAULT
applymovement 3, PetalburgWoods_Movement_15CEC8
waitmovement 0
- msgbox PetalburgWoods_Text_194EE8, 4
+ msgbox PetalburgWoods_Text_194EE8, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_PETALBURG_WOODS_GRUNT, PetalburgWoods_Text_194F83
applymovement 3, PetalburgWoods_Movement_15CEB3
waitmovement 0
@@ -46,25 +46,25 @@ PetalburgWoods_EventScript_15CD42:: @ 815CD42
waitmovement 0
applymovement 255, PetalburgWoods_Movement_1A083F
waitmovement 0
- msgbox PetalburgWoods_Text_194D92, 4
+ msgbox PetalburgWoods_Text_194D92, MSGBOX_DEFAULT
closemessage
playbgm MUS_EVIL_TEAM, FALSE
applymovement 3, PetalburgWoods_Movement_15CEC3
waitmovement 0
- msgbox PetalburgWoods_Text_194DED, 4
+ msgbox PetalburgWoods_Text_194DED, MSGBOX_DEFAULT
closemessage
applymovement 3, PetalburgWoods_Movement_15CEBF
waitmovement 0
applymovement 4, PetalburgWoods_Movement_1A0841
waitmovement 0
- msgbox PetalburgWoods_Text_194E6B, 4
+ msgbox PetalburgWoods_Text_194E6B, MSGBOX_DEFAULT
closemessage
applymovement 4, PetalburgWoods_Movement_15CEA4
waitmovement 0
- msgbox PetalburgWoods_Text_194E9A, 4
+ msgbox PetalburgWoods_Text_194E9A, MSGBOX_DEFAULT
applymovement 255, PetalburgWoods_Movement_1A0841
waitmovement 0
- msgbox PetalburgWoods_Text_194EE8, 4
+ msgbox PetalburgWoods_Text_194EE8, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_PETALBURG_WOODS_GRUNT, PetalburgWoods_Text_194F83
applymovement 3, PetalburgWoods_Movement_15CEB3
waitmovement 0
@@ -77,19 +77,19 @@ PetalburgWoods_EventScript_15CD42:: @ 815CD42
PetalburgWoods_EventScript_15CDE6:: @ 815CDE6
applymovement 4, PetalburgWoods_Movement_15CE73
waitmovement 0
- msgbox PetalburgWoods_Text_194D71, 4
+ msgbox PetalburgWoods_Text_194D71, MSGBOX_DEFAULT
closemessage
return
PetalburgWoods_EventScript_15CDFA:: @ 815CDFA
- msgbox PetalburgWoods_Text_194FA4, 4
+ msgbox PetalburgWoods_Text_194FA4, MSGBOX_DEFAULT
closemessage
applymovement 3, PetalburgWoods_Movement_15CEB7
waitmovement 0
removeobject 3
applymovement 255, PetalburgWoods_Movement_1A0845
waitmovement 0
- msgbox PetalburgWoods_Text_19507E, 4
+ msgbox PetalburgWoods_Text_19507E, MSGBOX_DEFAULT
giveitem ITEM_GREAT_BALL
compare VAR_RESULT, 0
goto_if_eq PetalburgWoods_EventScript_15CE3F
@@ -97,15 +97,15 @@ PetalburgWoods_EventScript_15CDFA:: @ 815CDFA
end
PetalburgWoods_EventScript_15CE3F:: @ 815CE3F
- msgbox PetalburgWoods_Text_195182, 4
+ msgbox PetalburgWoods_Text_195182, MSGBOX_DEFAULT
goto PetalburgWoods_EventScript_15CE4D
end
PetalburgWoods_EventScript_15CE4D:: @ 815CE4D
- msgbox PetalburgWoods_Text_19510A, 4
+ msgbox PetalburgWoods_Text_19510A, MSGBOX_DEFAULT
applymovement 4, PetalburgWoods_Movement_15CEA8
waitmovement 0
- msgbox PetalburgWoods_Text_195153, 4
+ msgbox PetalburgWoods_Text_195153, MSGBOX_DEFAULT
closemessage
return
@@ -231,18 +231,18 @@ PetalburgWoods_Movement_15CEC8:: @ 815CEC8
end_movement
PetalburgWoods_EventScript_15CECA:: @ 815CECA
- msgbox PetalburgWoods_Text_1953AC, 2
+ msgbox PetalburgWoods_Text_1953AC, MSGBOX_NPC
end
PetalburgWoods_EventScript_15CED3:: @ 815CED3
- msgbox PetalburgWoods_Text_19542B, 2
+ msgbox PetalburgWoods_Text_19542B, MSGBOX_NPC
end
PetalburgWoods_EventScript_15CEDC:: @ 815CEDC
lock
faceplayer
goto_if_set FLAG_RECEIVED_MIRACLE_SEED, PetalburgWoods_EventScript_15CF0B
- msgbox PetalburgWoods_Text_19549E, 4
+ msgbox PetalburgWoods_Text_19549E, MSGBOX_DEFAULT
giveitem ITEM_MIRACLE_SEED
compare VAR_RESULT, 0
goto_if_eq PetalburgWoods_EventScript_1A029B
@@ -251,21 +251,21 @@ PetalburgWoods_EventScript_15CEDC:: @ 815CEDC
end
PetalburgWoods_EventScript_15CF0B:: @ 815CF0B
- msgbox PetalburgWoods_Text_195503, 4
+ msgbox PetalburgWoods_Text_195503, MSGBOX_DEFAULT
release
end
PetalburgWoods_EventScript_15CF15:: @ 815CF15
- msgbox PetalburgWoods_Text_1955B0, 3
+ msgbox PetalburgWoods_Text_1955B0, MSGBOX_SIGN
end
PetalburgWoods_EventScript_15CF1E:: @ 815CF1E
- msgbox PetalburgWoods_Text_1956A6, 3
+ msgbox PetalburgWoods_Text_1956A6, MSGBOX_SIGN
end
PetalburgWoods_EventScript_15CF27:: @ 815CF27
trainerbattle_single TRAINER_LYLE, PetalburgWoods_Text_1951BE, PetalburgWoods_Text_195202
- msgbox PetalburgWoods_Text_195232, 6
+ msgbox PetalburgWoods_Text_195232, MSGBOX_AUTOCLOSE
end
PetalburgWoods_EventScript_15CF3E:: @ 815CF3E
@@ -273,10 +273,10 @@ PetalburgWoods_EventScript_15CF3E:: @ 815CF3E
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq PetalburgWoods_EventScript_15CF65
- msgbox PetalburgWoods_Text_1952CC, 6
+ msgbox PetalburgWoods_Text_1952CC, MSGBOX_AUTOCLOSE
end
PetalburgWoods_EventScript_15CF65:: @ 815CF65
trainerbattle_rematch TRAINER_JAMES_1, PetalburgWoods_Text_195306, PetalburgWoods_Text_195338
- msgbox PetalburgWoods_Text_195356, 6
+ msgbox PetalburgWoods_Text_195356, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route101/scripts.inc b/data/maps/Route101/scripts.inc
index c7f570044..ae8babe9a 100644
--- a/data/maps/Route101/scripts.inc
+++ b/data/maps/Route101/scripts.inc
@@ -19,7 +19,7 @@ Route101_EventScript_14E93F:: @ 814E93F
Route101_EventScript_14E948:: @ 814E948
lockall
playbgm MUS_EVENT0, TRUE
- msgbox Route101_Text_16D10E, 4
+ msgbox Route101_Text_16D10E, MSGBOX_DEFAULT
closemessage
setobjectxy 2, 0, 15
setobjectxy 4, 0, 16
@@ -35,7 +35,7 @@ Route101_EventScript_14E948:: @ 814E948
applymovement 4, Route101_Movement_14EA27
applymovement 2, Route101_Movement_14EA58
waitmovement 0
- msgbox Route101_Text_16D119, 4
+ msgbox Route101_Text_16D119, MSGBOX_DEFAULT
closemessage
setvar VAR_ROUTE101_STATE, 2
releaseall
@@ -43,7 +43,7 @@ Route101_EventScript_14E948:: @ 814E948
Route101_EventScript_14E9B8:: @ 814E9B8
lockall
- msgbox Route101_Text_16D15E, 4
+ msgbox Route101_Text_16D15E, MSGBOX_DEFAULT
closemessage
applymovement 255, Route101_Movement_14E9FA
waitmovement 0
@@ -52,7 +52,7 @@ Route101_EventScript_14E9B8:: @ 814E9B8
Route101_EventScript_14E9CE:: @ 814E9CE
lockall
- msgbox Route101_Text_16D15E, 4
+ msgbox Route101_Text_16D15E, MSGBOX_DEFAULT
closemessage
applymovement 255, Route101_Movement_14E9FC
waitmovement 0
@@ -61,7 +61,7 @@ Route101_EventScript_14E9CE:: @ 814E9CE
Route101_EventScript_14E9E4:: @ 814E9E4
lockall
- msgbox Route101_Text_16D15E, 4
+ msgbox Route101_Text_16D15E, MSGBOX_DEFAULT
closemessage
applymovement 255, Route101_Movement_14E9FE
waitmovement 0
@@ -203,15 +203,15 @@ Route101_Movement_14EA58:: @ 814EA58
end_movement
Route101_EventScript_14EA64:: @ 814EA64
- msgbox Route101_Text_16D25E, 2
+ msgbox Route101_Text_16D25E, MSGBOX_NPC
end
Route101_EventScript_14EA6D:: @ 814EA6D
- msgbox Route101_Text_16D2CB, 2
+ msgbox Route101_Text_16D2CB, MSGBOX_NPC
end
Route101_EventScript_14EA76:: @ 814EA76
- msgbox Route101_Text_16D349, 3
+ msgbox Route101_Text_16D349, MSGBOX_SIGN
end
Route101_EventScript_14EA7F:: @ 814EA7F
@@ -228,7 +228,7 @@ Route101_EventScript_14EA7F:: @ 814EA7F
waitstate
applymovement 2, Route101_Movement_14EAD7
waitmovement 0
- msgbox Route101_Text_16D191, 4
+ msgbox Route101_Text_16D191, MSGBOX_DEFAULT
special ScrSpecial_HealPlayerParty
setflag FLAG_HIDE_BIRCH_BATTLE_POOCHYENA
clearflag FLAG_HIDE_BIRCH_IN_LAB
diff --git a/data/maps/Route102/scripts.inc b/data/maps/Route102/scripts.inc
index d83db818a..56a788780 100644
--- a/data/maps/Route102/scripts.inc
+++ b/data/maps/Route102/scripts.inc
@@ -2,19 +2,19 @@ Route102_MapScripts:: @ 814EAD9
.byte 0
Route102_EventScript_14EADA:: @ 814EADA
- msgbox Route102_Text_16D431, 2
+ msgbox Route102_Text_16D431, MSGBOX_NPC
end
Route102_EventScript_14EAE3:: @ 814EAE3
- msgbox Route102_Text_16D547, 3
+ msgbox Route102_Text_16D547, MSGBOX_SIGN
end
Route102_EventScript_14EAEC:: @ 814EAEC
- msgbox Route102_Text_16D55F, 3
+ msgbox Route102_Text_16D55F, MSGBOX_SIGN
end
Route102_EventScript_14EAF5:: @ 814EAF5
- msgbox Route102_Text_16D51A, 2
+ msgbox Route102_Text_16D51A, MSGBOX_NPC
end
Route102_EventScript_14EAFE:: @ 814EAFE
@@ -22,25 +22,25 @@ Route102_EventScript_14EAFE:: @ 814EAFE
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route102_EventScript_14EB25
- msgbox Route102_Text_1B7A60, 6
+ msgbox Route102_Text_1B7A60, MSGBOX_AUTOCLOSE
end
Route102_EventScript_14EB25:: @ 814EB25
trainerbattle_rematch TRAINER_CALVIN_1, Route102_Text_1B7A9F, Route102_Text_1B7AFD
- msgbox Route102_Text_1B7B2F, 6
+ msgbox Route102_Text_1B7B2F, MSGBOX_AUTOCLOSE
end
Route102_EventScript_14EB3C:: @ 814EB3C
trainerbattle_single TRAINER_RICK, Route102_Text_1B7C05, Route102_Text_1B7C40
- msgbox Route102_Text_1B7C52, 6
+ msgbox Route102_Text_1B7C52, MSGBOX_AUTOCLOSE
end
Route102_EventScript_14EB53:: @ 814EB53
trainerbattle_single TRAINER_TIANA, Route102_Text_1B7C97, Route102_Text_1B7CEC
- msgbox Route102_Text_1B7D11, 6
+ msgbox Route102_Text_1B7D11, MSGBOX_AUTOCLOSE
end
Route102_EventScript_14EB6A:: @ 814EB6A
trainerbattle_single TRAINER_ALLEN, Route102_Text_1B7B68, Route102_Text_1B7B9D
- msgbox Route102_Text_1B7BD0, 6
+ msgbox Route102_Text_1B7BD0, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route103/scripts.inc b/data/maps/Route103/scripts.inc
index a5c0ae0c4..3c21922bb 100644
--- a/data/maps/Route103/scripts.inc
+++ b/data/maps/Route103/scripts.inc
@@ -17,7 +17,7 @@ Route103_EventScript_14EB92:: @ 814EB92
end
Route103_EventScript_14EBAB:: @ 814EBAB
- msgbox Route103_Text_16D57A, 4
+ msgbox Route103_Text_16D57A, MSGBOX_DEFAULT
playbgm MUS_GIRL_SUP, TRUE
applymovement 2, Route103_Movement_1A0839
waitmovement 0
@@ -25,7 +25,7 @@ Route103_EventScript_14EBAB:: @ 814EBAB
waitmovement 0
applymovement 2, Route103_Movement_1A0835
waitmovement 0
- msgbox Route103_Text_16D5B6, 4
+ msgbox Route103_Text_16D5B6, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, Route103_EventScript_14EC5D
case 1, Route103_EventScript_14EC6D
@@ -33,7 +33,7 @@ Route103_EventScript_14EBAB:: @ 814EBAB
end
Route103_EventScript_14EC04:: @ 814EC04
- msgbox Route103_Text_16D762, 4
+ msgbox Route103_Text_16D762, MSGBOX_DEFAULT
playbgm MUS_BOY_SUP, TRUE
applymovement 2, Route103_Movement_1A0839
waitmovement 0
@@ -41,7 +41,7 @@ Route103_EventScript_14EC04:: @ 814EC04
waitmovement 0
applymovement 2, Route103_Movement_1A0835
waitmovement 0
- msgbox Route103_Text_16D7A9, 4
+ msgbox Route103_Text_16D7A9, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, Route103_EventScript_14EC8D
case 1, Route103_EventScript_14EC9D
@@ -79,12 +79,12 @@ Route103_EventScript_14ECAD:: @ 814ECAD
end
Route103_EventScript_14ECBD:: @ 814ECBD
- msgbox Route103_Text_16D688, 4
+ msgbox Route103_Text_16D688, MSGBOX_DEFAULT
goto Route103_EventScript_14ECD9
end
Route103_EventScript_14ECCB:: @ 814ECCB
- msgbox Route103_Text_16D856, 4
+ msgbox Route103_Text_16D856, MSGBOX_DEFAULT
goto Route103_EventScript_14ECD9
end
@@ -155,20 +155,20 @@ Route103_Movement_14ED74:: @ 814ED74
end_movement
Route103_EventScript_14ED79:: @ 814ED79
- msgbox Route103_Text_16D950, 2
+ msgbox Route103_Text_16D950, MSGBOX_NPC
end
Route103_EventScript_14ED82:: @ 814ED82
- msgbox Route103_Text_16D996, 2
+ msgbox Route103_Text_16D996, MSGBOX_NPC
end
Route103_EventScript_14ED8B:: @ 814ED8B
- msgbox Route103_Text_16D9FB, 3
+ msgbox Route103_Text_16D9FB, MSGBOX_SIGN
end
Route103_EventScript_14ED94:: @ 814ED94
trainerbattle_single TRAINER_DAISY, Route103_Text_1B7D55, Route103_Text_1B7D8B
- msgbox Route103_Text_1B7DB2, 6
+ msgbox Route103_Text_1B7DB2, MSGBOX_AUTOCLOSE
end
Route103_EventScript_14EDAB:: @ 814EDAB
@@ -176,12 +176,12 @@ Route103_EventScript_14EDAB:: @ 814EDAB
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route103_EventScript_14EDD6
- msgbox Route103_Text_1B7E50, 6
+ msgbox Route103_Text_1B7E50, MSGBOX_AUTOCLOSE
end
Route103_EventScript_14EDD6:: @ 814EDD6
trainerbattle_rematch_double TRAINER_AMY_AND_LIV_1, Route103_Text_1B7FE7, Route103_Text_1B802B, Route103_Text_1B80AF
- msgbox Route103_Text_1B8053, 6
+ msgbox Route103_Text_1B8053, MSGBOX_AUTOCLOSE
end
Route103_EventScript_14EDF1:: @ 814EDF1
@@ -189,17 +189,17 @@ Route103_EventScript_14EDF1:: @ 814EDF1
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route103_EventScript_14EE1C
- msgbox Route103_Text_1B7F40, 6
+ msgbox Route103_Text_1B7F40, MSGBOX_AUTOCLOSE
end
Route103_EventScript_14EE1C:: @ 814EE1C
trainerbattle_rematch_double TRAINER_AMY_AND_LIV_1, Route103_Text_1B80FE, Route103_Text_1B8123, Route103_Text_1B81A1
- msgbox Route103_Text_1B814D, 6
+ msgbox Route103_Text_1B814D, MSGBOX_AUTOCLOSE
end
Route103_EventScript_14EE37:: @ 814EE37
trainerbattle_single TRAINER_ANDREW, Route103_Text_1B81FA, Route103_Text_1B8258
- msgbox Route103_Text_1B8281, 6
+ msgbox Route103_Text_1B8281, MSGBOX_AUTOCLOSE
end
Route103_EventScript_14EE4E:: @ 814EE4E
@@ -207,10 +207,10 @@ Route103_EventScript_14EE4E:: @ 814EE4E
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route103_EventScript_14EE75
- msgbox Route103_Text_1B830D, 6
+ msgbox Route103_Text_1B830D, MSGBOX_AUTOCLOSE
end
Route103_EventScript_14EE75:: @ 814EE75
trainerbattle_rematch TRAINER_MIGUEL_1, Route103_Text_1B8349, Route103_Text_1B838C
- msgbox Route103_Text_1B83A4, 6
+ msgbox Route103_Text_1B83A4, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route104/scripts.inc b/data/maps/Route104/scripts.inc
index 9e9789287..37a815526 100644
--- a/data/maps/Route104/scripts.inc
+++ b/data/maps/Route104/scripts.inc
@@ -30,17 +30,17 @@ Route104_EventScript_14EEC8:: @ 814EEC8
lock
faceplayer
goto_if_set FLAG_RECEIVED_CHESTO_BERRY_ROUTE104, Route104_EventScript_14EEFF
- msgbox Route104_Text_1C55B9, 4
+ msgbox Route104_Text_1C55B9, MSGBOX_DEFAULT
giveitem ITEM_CHESTO_BERRY
compare VAR_RESULT, 0
goto_if_eq Route104_EventScript_1A029B
setflag FLAG_RECEIVED_CHESTO_BERRY_ROUTE104
- msgbox Route104_Text_1C5665, 4
+ msgbox Route104_Text_1C5665, MSGBOX_DEFAULT
release
end
Route104_EventScript_14EEFF:: @ 814EEFF
- msgbox Route104_Text_1C5665, 4
+ msgbox Route104_Text_1C5665, MSGBOX_DEFAULT
release
end
@@ -48,7 +48,7 @@ Route104_EventScript_14EF09:: @ 814EF09
lock
faceplayer
goto_if_set FLAG_RECEIVED_WHITE_HERB, Route104_EventScript_14EF38
- msgbox Route104_Text_16DD91, 4
+ msgbox Route104_Text_16DD91, MSGBOX_DEFAULT
giveitem ITEM_WHITE_HERB
compare VAR_RESULT, 0
goto_if_eq Route104_EventScript_1A029B
@@ -57,51 +57,51 @@ Route104_EventScript_14EF09:: @ 814EF09
end
Route104_EventScript_14EF38:: @ 814EF38
- msgbox Route104_Text_16DE36, 4
+ msgbox Route104_Text_16DE36, MSGBOX_DEFAULT
release
end
Route104_EventScript_14EF42:: @ 814EF42
- msgbox Route104_Text_16DA13, 2
+ msgbox Route104_Text_16DA13, MSGBOX_NPC
end
Route104_EventScript_14EF4B:: @ 814EF4B
- msgbox Route104_Text_16DA89, 3
+ msgbox Route104_Text_16DA89, MSGBOX_SIGN
end
Route104_EventScript_14EF54:: @ 814EF54
- msgbox Route104_Text_16DEB3, 3
+ msgbox Route104_Text_16DEB3, MSGBOX_SIGN
end
Route104_EventScript_14EF5D:: @ 814EF5D
- msgbox Route104_Text_16DEC8, 3
+ msgbox Route104_Text_16DEC8, MSGBOX_SIGN
end
Route104_EventScript_14EF66:: @ 814EF66
- msgbox Route104_Text_16DEE3, 3
+ msgbox Route104_Text_16DEE3, MSGBOX_SIGN
end
Route104_EventScript_14EF6F:: @ 814EF6F
- msgbox Route104_Text_16DEFD, 3
+ msgbox Route104_Text_16DEFD, MSGBOX_SIGN
end
Route104_EventScript_14EF78:: @ 814EF78
- msgbox Route104_Text_16DF16, 3
+ msgbox Route104_Text_16DF16, MSGBOX_SIGN
end
Route104_EventScript_14EF81:: @ 814EF81
- msgbox Route104_Text_16DAC9, 2
+ msgbox Route104_Text_16DAC9, MSGBOX_NPC
end
Route104_EventScript_14EF8A:: @ 814EF8A
- msgbox Route104_Text_16DB5C, 2
+ msgbox Route104_Text_16DB5C, MSGBOX_NPC
end
Route104_EventScript_14EF93:: @ 814EF93
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM09, Route104_EventScript_14EFC2
- msgbox Route104_Text_16DC5F, 4
+ msgbox Route104_Text_16DC5F, MSGBOX_DEFAULT
giveitem ITEM_TM09_BULLET_SEED
compare VAR_RESULT, 0
goto_if_eq Route104_EventScript_1A029B
@@ -110,12 +110,12 @@ Route104_EventScript_14EF93:: @ 814EF93
end
Route104_EventScript_14EFC2:: @ 814EFC2
- msgbox Route104_Text_16DD0E, 4
+ msgbox Route104_Text_16DD0E, MSGBOX_DEFAULT
release
end
Route104_EventScript_14EFCC:: @ 814EFCC
- msgbox Route104_Text_16DBC9, 2
+ msgbox Route104_Text_16DBC9, MSGBOX_NPC
end
Route104_EventScript_14EFD5:: @ 814EFD5
@@ -158,12 +158,12 @@ Route104_EventScript_14EFD5:: @ 814EFD5
end
Route104_EventScript_14F08B:: @ 814F08B
- msgbox Route104_Text_16B347, 4
+ msgbox Route104_Text_16B347, MSGBOX_DEFAULT
releaseall
end
Route104_EventScript_14F095:: @ 814F095
- msgbox Route104_Text_16B4B5, 4
+ msgbox Route104_Text_16B4B5, MSGBOX_DEFAULT
releaseall
end
@@ -392,12 +392,12 @@ Route104_Movement_14F16F:: @ 814F16F
Route104_EventScript_14F172:: @ 814F172
trainerbattle_single TRAINER_IVAN, Route104_Text_1B85EB, Route104_Text_1B8637
- msgbox Route104_Text_1B8680, 6
+ msgbox Route104_Text_1B8680, MSGBOX_AUTOCLOSE
end
Route104_EventScript_14F189:: @ 814F189
trainerbattle_single TRAINER_BILLY, Route104_Text_1B86BE, Route104_Text_1B86E8
- msgbox Route104_Text_1B871C, 6
+ msgbox Route104_Text_1B871C, MSGBOX_AUTOCLOSE
end
Route104_EventScript_14F1A0:: @ 814F1A0
@@ -405,12 +405,12 @@ Route104_EventScript_14F1A0:: @ 814F1A0
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route104_EventScript_14F1C7
- msgbox Route104_Text_1B87C3, 6
+ msgbox Route104_Text_1B87C3, MSGBOX_AUTOCLOSE
end
Route104_EventScript_14F1C7:: @ 814F1C7
trainerbattle_rematch TRAINER_HALEY_1, Route104_Text_1B8839, Route104_Text_1B8852
- msgbox Route104_Text_1B8872, 6
+ msgbox Route104_Text_1B8872, MSGBOX_AUTOCLOSE
end
Route104_EventScript_14F1DE:: @ 814F1DE
@@ -418,12 +418,12 @@ Route104_EventScript_14F1DE:: @ 814F1DE
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route104_EventScript_14F205
- msgbox Route104_Text_1B8925, 6
+ msgbox Route104_Text_1B8925, MSGBOX_AUTOCLOSE
end
Route104_EventScript_14F205:: @ 814F205
trainerbattle_rematch TRAINER_WINSTON_1, Route104_Text_1B895E, Route104_Text_1B899E
- msgbox Route104_Text_1B89C0, 6
+ msgbox Route104_Text_1B89C0, MSGBOX_AUTOCLOSE
end
Route104_EventScript_14F21C:: @ 814F21C
@@ -431,24 +431,24 @@ Route104_EventScript_14F21C:: @ 814F21C
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route104_EventScript_14F243
- msgbox Route104_Text_1B8A69, 6
+ msgbox Route104_Text_1B8A69, MSGBOX_AUTOCLOSE
end
Route104_EventScript_14F243:: @ 814F243
trainerbattle_rematch TRAINER_CINDY_1, Route104_Text_1B8AA7, Route104_Text_1B8AD9
- msgbox Route104_Text_1B8B02, 6
+ msgbox Route104_Text_1B8B02, MSGBOX_AUTOCLOSE
end
Route104_EventScript_14F25A:: @ 814F25A
trainerbattle_double TRAINER_GINA_AND_MIA_1, Route104_Text_1B83E9, Route104_Text_1B8414, Route104_Text_1B845C
special GetPlayerBigGuyGirlString
- msgbox Route104_Text_1B842C, 4
+ msgbox Route104_Text_1B842C, MSGBOX_DEFAULT
release
end
Route104_EventScript_14F279:: @ 814F279
trainerbattle_double TRAINER_GINA_AND_MIA_1, Route104_Text_1B84DB, Route104_Text_1B850D, Route104_Text_1B8577
special GetPlayerBigGuyGirlString
- msgbox Route104_Text_1B853B, 4
+ msgbox Route104_Text_1B853B, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/Route104_MrBrineysHouse/scripts.inc b/data/maps/Route104_MrBrineysHouse/scripts.inc
index 708cc249c..8999173ad 100644
--- a/data/maps/Route104_MrBrineysHouse/scripts.inc
+++ b/data/maps/Route104_MrBrineysHouse/scripts.inc
@@ -31,7 +31,7 @@ Route104_MrBrineysHouse_EventScript_15BCEB:: @ 815BCEB
Route104_MrBrineysHouse_EventScript_15BD0E:: @ 815BD0E
setflag FLAG_MR_BRINEY_SAILING_INTRO
- msgbox Route104_MrBrineysHouse_Text_191A82, 4
+ msgbox Route104_MrBrineysHouse_Text_191A82, MSGBOX_DEFAULT
msgbox Route104_MrBrineysHouse_Text_191AAD, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq Route104_MrBrineysHouse_EventScript_15BD97
@@ -63,17 +63,17 @@ Route104_MrBrineysHouse_EventScript_15BD7E:: @ 815BD7E
end
Route104_MrBrineysHouse_EventScript_15BD97:: @ 815BD97
- msgbox Route104_MrBrineysHouse_Text_191C57, 4
+ msgbox Route104_MrBrineysHouse_Text_191C57, MSGBOX_DEFAULT
release
end
Route104_MrBrineysHouse_EventScript_15BDA1:: @ 815BDA1
- msgbox Route104_MrBrineysHouse_Text_191EDB, 4
+ msgbox Route104_MrBrineysHouse_Text_191EDB, MSGBOX_DEFAULT
release
end
Route104_MrBrineysHouse_EventScript_15BDAB:: @ 815BDAB
- msgbox Route104_MrBrineysHouse_Text_191BFD, 4
+ msgbox Route104_MrBrineysHouse_Text_191BFD, MSGBOX_DEFAULT
call Route104_MrBrineysHouse_EventScript_1A010C
setvar VAR_BOARD_BRINEY_BOAT_ROUTE104_STATE, 1
clearflag FLAG_HIDE_MR_BRINEY_ROUTE104
@@ -89,7 +89,7 @@ Route104_MrBrineysHouse_EventScript_15BDD1:: @ 815BDD1
faceplayer
waitse
playmoncry SPECIES_WINGULL, 0
- msgbox Route104_MrBrineysHouse_Text_191FB9, 4
+ msgbox Route104_MrBrineysHouse_Text_191FB9, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/Route104_PrettyPetalFlowerShop/scripts.inc b/data/maps/Route104_PrettyPetalFlowerShop/scripts.inc
index 341ed1d6d..4a1bfd19f 100644
--- a/data/maps/Route104_PrettyPetalFlowerShop/scripts.inc
+++ b/data/maps/Route104_PrettyPetalFlowerShop/scripts.inc
@@ -17,7 +17,7 @@ Route104_PrettyPetalFlowerShop_EventScript_15BE0B:: @ 815BE0B
lock
faceplayer
goto_if_set FLAG_TEMP_1, Route104_PrettyPetalFlowerShop_EventScript_15BE7C
- msgbox Route104_PrettyPetalFlowerShop_Text_1C5EC6, 4
+ msgbox Route104_PrettyPetalFlowerShop_Text_1C5EC6, MSGBOX_DEFAULT
goto_if_set FLAG_MET_PRETTY_PETAL_SHOP_OWNER, Route104_PrettyPetalFlowerShop_EventScript_15BE4A
setflag FLAG_MET_PRETTY_PETAL_SHOP_OWNER
msgbox Route104_PrettyPetalFlowerShop_Text_1C5F48, MSGBOX_YESNO
@@ -38,18 +38,18 @@ Route104_PrettyPetalFlowerShop_EventScript_15BE4A:: @ 815BE4A
end
Route104_PrettyPetalFlowerShop_EventScript_15BE6A:: @ 815BE6A
- msgbox Route104_PrettyPetalFlowerShop_Text_1C5F9D, 4
+ msgbox Route104_PrettyPetalFlowerShop_Text_1C5F9D, MSGBOX_DEFAULT
return
Route104_PrettyPetalFlowerShop_EventScript_15BE73:: @ 815BE73
- msgbox Route104_PrettyPetalFlowerShop_Text_1C6121, 4
+ msgbox Route104_PrettyPetalFlowerShop_Text_1C6121, MSGBOX_DEFAULT
return
Route104_PrettyPetalFlowerShop_EventScript_15BE7C:: @ 815BE7C
message Route104_PrettyPetalFlowerShop_Text_1A0C42
waitmessage
pokemartdecoration2 Route104_PrettyPetalFlowerShop_Items
- msgbox Route104_PrettyPetalFlowerShop_Text_1A0C02, 4
+ msgbox Route104_PrettyPetalFlowerShop_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -69,14 +69,14 @@ Route104_PrettyPetalFlowerShop_EventScript_15BEA4:: @ 815BEA4
lock
faceplayer
goto_if_unset FLAG_RECEIVED_WAILMER_PAIL, Route104_PrettyPetalFlowerShop_EventScript_15BEB9
- msgbox Route104_PrettyPetalFlowerShop_Text_1C61E8, 4
+ msgbox Route104_PrettyPetalFlowerShop_Text_1C61E8, MSGBOX_DEFAULT
release
end
Route104_PrettyPetalFlowerShop_EventScript_15BEB9:: @ 815BEB9
- msgbox Route104_PrettyPetalFlowerShop_Text_1C6158, 4
+ msgbox Route104_PrettyPetalFlowerShop_Text_1C6158, MSGBOX_DEFAULT
giveitem ITEM_WAILMER_PAIL
- msgbox Route104_PrettyPetalFlowerShop_Text_1C61E8, 4
+ msgbox Route104_PrettyPetalFlowerShop_Text_1C61E8, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_WAILMER_PAIL
release
end
@@ -86,18 +86,18 @@ Route104_PrettyPetalFlowerShop_EventScript_15BEDA:: @ 815BEDA
faceplayer
dotimebasedevents
goto_if_set FLAG_DAILY_RECEIVED_BERRY_FLOWER_SHOP, Route104_PrettyPetalFlowerShop_EventScript_15BF1A
- msgbox Route104_PrettyPetalFlowerShop_Text_1C62DA, 4
+ msgbox Route104_PrettyPetalFlowerShop_Text_1C62DA, MSGBOX_DEFAULT
random 8
addvar VAR_RESULT, ITEM_CHERI_BERRY
giveitem VAR_RESULT
compare VAR_RESULT, 0
goto_if_eq Route104_PrettyPetalFlowerShop_EventScript_1A029B
setflag FLAG_DAILY_RECEIVED_BERRY_FLOWER_SHOP
- msgbox Route104_PrettyPetalFlowerShop_Text_1C6335, 4
+ msgbox Route104_PrettyPetalFlowerShop_Text_1C6335, MSGBOX_DEFAULT
release
end
Route104_PrettyPetalFlowerShop_EventScript_15BF1A:: @ 815BF1A
- msgbox Route104_PrettyPetalFlowerShop_Text_1C6335, 4
+ msgbox Route104_PrettyPetalFlowerShop_Text_1C6335, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/Route104_Prototype/scripts.inc b/data/maps/Route104_Prototype/scripts.inc
index daeca526a..014637336 100644
--- a/data/maps/Route104_Prototype/scripts.inc
+++ b/data/maps/Route104_Prototype/scripts.inc
@@ -11,13 +11,13 @@ Route104_Prototype_EventScript_160C4B:: @ 8160C4B
goto_if_not_defeated TRAINER_LUCAS_2, Route104_Prototype_EventScript_160C99
goto_if_not_defeated TRAINER_MIKE_1, Route104_Prototype_EventScript_160C99
setflag FLAG_ROUTE104_PROTOTYPE_COMPLETED_1
- msgbox Route104_Prototype_Text_19B267, 4
+ msgbox Route104_Prototype_Text_19B267, MSGBOX_DEFAULT
goto_if_set FLAG_ROUTE104_PROTOTYPE_COMPLETED_2, Route104_Prototype_EventScript_160CFB
release
end
Route104_Prototype_EventScript_160C99:: @ 8160C99
- msgbox Route104_Prototype_Text_19B22E, 4
+ msgbox Route104_Prototype_Text_19B22E, MSGBOX_DEFAULT
release
end
@@ -31,13 +31,13 @@ Route104_Prototype_EventScript_160CA3:: @ 8160CA3
goto_if_not_defeated TRAINER_LUCAS_2, Route104_Prototype_EventScript_160CF1
goto_if_not_defeated TRAINER_MIKE_1, Route104_Prototype_EventScript_160CF1
setflag FLAG_ROUTE104_PROTOTYPE_COMPLETED_2
- msgbox Route104_Prototype_Text_19B2E9, 4
+ msgbox Route104_Prototype_Text_19B2E9, MSGBOX_DEFAULT
goto_if_set FLAG_ROUTE104_PROTOTYPE_COMPLETED_1, Route104_Prototype_EventScript_160CFB
release
end
Route104_Prototype_EventScript_160CF1:: @ 8160CF1
- msgbox Route104_Prototype_Text_19B2B6, 4
+ msgbox Route104_Prototype_Text_19B2B6, MSGBOX_DEFAULT
release
end
@@ -52,47 +52,47 @@ Route104_Prototype_EventScript_160CFB:: @ 8160CFB
end
Route104_Prototype_EventScript_160D0A:: @ 8160D0A
- msgbox Route104_Prototype_Text_19B33B, 2
+ msgbox Route104_Prototype_Text_19B33B, MSGBOX_NPC
end
Route104_Prototype_EventScript_160D13:: @ 8160D13
- msgbox Route104_Prototype_Text_19B37F, 2
+ msgbox Route104_Prototype_Text_19B37F, MSGBOX_NPC
end
Route104_Prototype_EventScript_160D1C:: @ 8160D1C
- msgbox Route104_Prototype_Text_19B3DE, 3
+ msgbox Route104_Prototype_Text_19B3DE, MSGBOX_SIGN
end
Route104_Prototype_EventScript_160D25:: @ 8160D25
- msgbox Route104_Prototype_Text_19B3FF, 3
+ msgbox Route104_Prototype_Text_19B3FF, MSGBOX_SIGN
end
Route104_Prototype_EventScript_160D2E:: @ 8160D2E
trainerbattle_single TRAINER_CINDY_2, Route104_Prototype_Text_19AD9B, Route104_Prototype_Text_19ADDA
- msgbox Route104_Prototype_Text_19ADF7, 6
+ msgbox Route104_Prototype_Text_19ADF7, MSGBOX_AUTOCLOSE
end
Route104_Prototype_EventScript_160D45:: @ 8160D45
trainerbattle_double TRAINER_AMY_AND_LIV_3, Route104_Prototype_Text_19AE3E, Route104_Prototype_Text_19AE53, Route104_Prototype_Text_19AEA9
- msgbox Route104_Prototype_Text_19AE6A, 6
+ msgbox Route104_Prototype_Text_19AE6A, MSGBOX_AUTOCLOSE
end
Route104_Prototype_EventScript_160D60:: @ 8160D60
trainerbattle_double TRAINER_GINA_AND_MIA_2, Route104_Prototype_Text_19B148, Route104_Prototype_Text_19B17D, Route104_Prototype_Text_19B1DD
- msgbox Route104_Prototype_Text_19B18D, 6
+ msgbox Route104_Prototype_Text_19B18D, MSGBOX_AUTOCLOSE
end
Route104_Prototype_EventScript_160D7B:: @ 8160D7B
trainerbattle_single TRAINER_MIKE_1, Route104_Prototype_Text_19AEFB, Route104_Prototype_Text_19AF3E
- msgbox Route104_Prototype_Text_19AF56, 6
+ msgbox Route104_Prototype_Text_19AF56, MSGBOX_AUTOCLOSE
end
Route104_Prototype_EventScript_160D92:: @ 8160D92
trainerbattle_single TRAINER_BRIANNA_1, Route104_Prototype_Text_19AF8A, Route104_Prototype_Text_19AFDB
- msgbox Route104_Prototype_Text_19B00D, 6
+ msgbox Route104_Prototype_Text_19B00D, MSGBOX_AUTOCLOSE
end
Route104_Prototype_EventScript_160DA9:: @ 8160DA9
trainerbattle_single TRAINER_LUCAS_2, Route104_Prototype_Text_19B066, Route104_Prototype_Text_19B0D7
- msgbox Route104_Prototype_Text_19B0EF, 6
+ msgbox Route104_Prototype_Text_19B0EF, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route104_PrototypePrettyPetalFlowerShop/scripts.inc b/data/maps/Route104_PrototypePrettyPetalFlowerShop/scripts.inc
index f979ab60b..75c3ab742 100644
--- a/data/maps/Route104_PrototypePrettyPetalFlowerShop/scripts.inc
+++ b/data/maps/Route104_PrototypePrettyPetalFlowerShop/scripts.inc
@@ -2,5 +2,5 @@ Route104_PrototypePrettyPetalFlowerShop_MapScripts:: @ 8160DC0
.byte 0
Route104_PrototypePrettyPetalFlowerShop_EventScript_160DC1:: @ 8160DC1
- msgbox Route104_PrototypePrettyPetalFlowerShop_Text_19B436, 2
+ msgbox Route104_PrototypePrettyPetalFlowerShop_Text_19B436, MSGBOX_NPC
end
diff --git a/data/maps/Route105/scripts.inc b/data/maps/Route105/scripts.inc
index 8afe141d2..37aeda214 100644
--- a/data/maps/Route105/scripts.inc
+++ b/data/maps/Route105/scripts.inc
@@ -13,25 +13,25 @@ Route105_EventScript_14F2A8:: @ 814F2A8
Route105_EventScript_14F2BB:: @ 814F2BB
trainerbattle_single TRAINER_FOSTER, Route105_Text_1B8B40, Route105_Text_1B8B93
- msgbox Route105_Text_1B8BDE, 6
+ msgbox Route105_Text_1B8BDE, MSGBOX_AUTOCLOSE
end
Route105_EventScript_14F2D2:: @ 814F2D2
trainerbattle_single TRAINER_LUIS, Route105_Text_1B8C28, Route105_Text_1B8C99
- msgbox Route105_Text_1B8CA9, 6
+ msgbox Route105_Text_1B8CA9, MSGBOX_AUTOCLOSE
end
Route105_EventScript_14F2E9:: @ 814F2E9
trainerbattle_single TRAINER_AUSTIN, Route105_Text_1B8CEE, Route105_Text_1B8D23
- msgbox Route105_Text_1B8D45, 6
+ msgbox Route105_Text_1B8D45, MSGBOX_AUTOCLOSE
end
Route105_EventScript_14F300:: @ 814F300
trainerbattle_single TRAINER_BEVERLY, Route105_Text_1B8D99, Route105_Text_1B8DDD
- msgbox Route105_Text_1B8DED, 6
+ msgbox Route105_Text_1B8DED, MSGBOX_AUTOCLOSE
end
Route105_EventScript_14F317:: @ 814F317
trainerbattle_single TRAINER_DAWN, Route105_Text_1B8E66, Route105_Text_1B8EA0
- msgbox Route105_Text_1B8EBD, 6
+ msgbox Route105_Text_1B8EBD, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route106/scripts.inc b/data/maps/Route106/scripts.inc
index dba3041d6..8a6204f08 100644
--- a/data/maps/Route106/scripts.inc
+++ b/data/maps/Route106/scripts.inc
@@ -2,17 +2,17 @@ Route106_MapScripts:: @ 814F32E
.byte 0
Route106_EventScript_14F32F:: @ 814F32F
- msgbox Route106_Text_16E026, 3
+ msgbox Route106_Text_16E026, MSGBOX_SIGN
end
Route106_EventScript_14F338:: @ 814F338
trainerbattle_single TRAINER_DOUGLAS, Route106_Text_1B913D, Route106_Text_1B917F
- msgbox Route106_Text_1B918A, 6
+ msgbox Route106_Text_1B918A, MSGBOX_AUTOCLOSE
end
Route106_EventScript_14F34F:: @ 814F34F
trainerbattle_single TRAINER_NICOLE, Route106_Text_1B91AC, Route106_Text_1B91F8
- msgbox Route106_Text_1B9222, 6
+ msgbox Route106_Text_1B9222, MSGBOX_AUTOCLOSE
end
Route106_EventScript_14F366:: @ 814F366
@@ -20,15 +20,15 @@ Route106_EventScript_14F366:: @ 814F366
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route106_EventScript_14F38D
- msgbox Route106_Text_1B8F55, 6
+ msgbox Route106_Text_1B8F55, MSGBOX_AUTOCLOSE
end
Route106_EventScript_14F38D:: @ 814F38D
trainerbattle_rematch TRAINER_ELLIOT_1, Route106_Text_1B8FAC, Route106_Text_1B8FF5
- msgbox Route106_Text_1B9011, 6
+ msgbox Route106_Text_1B9011, MSGBOX_AUTOCLOSE
end
Route106_EventScript_14F3A4:: @ 814F3A4
trainerbattle_single TRAINER_NED, Route106_Text_1B9052, Route106_Text_1B90D3
- msgbox Route106_Text_1B910A, 6
+ msgbox Route106_Text_1B910A, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route107/scripts.inc b/data/maps/Route107/scripts.inc
index 657811fc6..43fc45825 100644
--- a/data/maps/Route107/scripts.inc
+++ b/data/maps/Route107/scripts.inc
@@ -3,7 +3,7 @@ Route107_MapScripts:: @ 814F3BB
Route107_EventScript_14F3BC:: @ 814F3BC
trainerbattle_single TRAINER_DARRIN, Route107_Text_1B926B, Route107_Text_1B92B7
- msgbox Route107_Text_1B92E7, 6
+ msgbox Route107_Text_1B92E7, MSGBOX_AUTOCLOSE
end
Route107_EventScript_14F3D3:: @ 814F3D3
@@ -11,30 +11,30 @@ Route107_EventScript_14F3D3:: @ 814F3D3
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route107_EventScript_14F3FA
- msgbox Route107_Text_1B938E, 6
+ msgbox Route107_Text_1B938E, MSGBOX_AUTOCLOSE
end
Route107_EventScript_14F3FA:: @ 814F3FA
trainerbattle_rematch TRAINER_TONY_1, Route107_Text_1B93EB, Route107_Text_1B9429
- msgbox Route107_Text_1B9477, 6
+ msgbox Route107_Text_1B9477, MSGBOX_AUTOCLOSE
end
Route107_EventScript_14F411:: @ 814F411
trainerbattle_single TRAINER_DENISE, Route107_Text_1B94C8, Route107_Text_1B94F2
- msgbox Route107_Text_1B94FF, 6
+ msgbox Route107_Text_1B94FF, MSGBOX_AUTOCLOSE
end
Route107_EventScript_14F428:: @ 814F428
trainerbattle_single TRAINER_BETH, Route107_Text_1B9538, Route107_Text_1B956B
- msgbox Route107_Text_1B9589, 6
+ msgbox Route107_Text_1B9589, MSGBOX_AUTOCLOSE
end
Route107_EventScript_14F43F:: @ 814F43F
trainerbattle_double TRAINER_LISA_AND_RAY, Route107_Text_1B95CB, Route107_Text_1B95FB, Route107_Text_1B9672
- msgbox Route107_Text_1B9630, 6
+ msgbox Route107_Text_1B9630, MSGBOX_AUTOCLOSE
end
Route107_EventScript_14F45A:: @ 814F45A
trainerbattle_double TRAINER_LISA_AND_RAY, Route107_Text_1B96AB, Route107_Text_1B9707, Route107_Text_1B9788
- msgbox Route107_Text_1B9735, 6
+ msgbox Route107_Text_1B9735, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route108/scripts.inc b/data/maps/Route108/scripts.inc
index 117291ffd..561aca8e8 100644
--- a/data/maps/Route108/scripts.inc
+++ b/data/maps/Route108/scripts.inc
@@ -3,20 +3,20 @@ Route108_MapScripts:: @ 814F475
Route108_EventScript_14F476:: @ 814F476
trainerbattle_single TRAINER_JEROME, Route108_Text_1B97C3, Route108_Text_1B97EF
- msgbox Route108_Text_1B9823, 6
+ msgbox Route108_Text_1B9823, MSGBOX_AUTOCLOSE
end
Route108_EventScript_14F48D:: @ 814F48D
trainerbattle_single TRAINER_MATTHEW, Route108_Text_1B9864, Route108_Text_1B989F
- msgbox Route108_Text_1B98BC, 6
+ msgbox Route108_Text_1B98BC, MSGBOX_AUTOCLOSE
end
Route108_EventScript_14F4A4:: @ 814F4A4
trainerbattle_single TRAINER_TARA, Route108_Text_1B98EC, Route108_Text_1B992C
- msgbox Route108_Text_1B9935, 6
+ msgbox Route108_Text_1B9935, MSGBOX_AUTOCLOSE
end
Route108_EventScript_14F4BB:: @ 814F4BB
trainerbattle_single TRAINER_MISSY, Route108_Text_1B9986, Route108_Text_1B99BB
- msgbox Route108_Text_1B99E9, 6
+ msgbox Route108_Text_1B99E9, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route109/scripts.inc b/data/maps/Route109/scripts.inc
index 20678714d..8a6f409a4 100644
--- a/data/maps/Route109/scripts.inc
+++ b/data/maps/Route109/scripts.inc
@@ -52,7 +52,7 @@ Route109_EventScript_14F548:: @ 814F548
clearflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
setflag FLAG_HIDE_MR_BRINEY_BOAT_ROUTE109
hideobjectat 1, MAP_ROUTE109
- msgbox Route109_Text_16B4B5, 4
+ msgbox Route109_Text_16B4B5, MSGBOX_DEFAULT
closemessage
copyvar VAR_BRINEY_LOCATION, VAR_0x8008
resetobjectpriority 255, MAP_ROUTE109
@@ -294,29 +294,29 @@ Route109_EventScript_14F6AF:: @ 814F6AF
end
Route109_EventScript_14F6E2:: @ 814F6E2
- msgbox Route109_Text_16E159, 4
+ msgbox Route109_Text_16E159, MSGBOX_DEFAULT
closemessage
goto Route109_EventScript_14F4D3
end
Route109_EventScript_14F6F1:: @ 814F6F1
- msgbox Route109_Text_16E1B1, 4
+ msgbox Route109_Text_16E1B1, MSGBOX_DEFAULT
release
end
Route109_EventScript_14F6FB:: @ 814F6FB
- msgbox Route109_Text_16E2C5, 4
+ msgbox Route109_Text_16E2C5, MSGBOX_DEFAULT
release
end
Route109_EventScript_14F705:: @ 814F705
- msgbox Route109_Text_16E307, 2
+ msgbox Route109_Text_16E307, MSGBOX_NPC
end
Route109_EventScript_14F70E:: @ 814F70E
lock
faceplayer
- msgbox Route109_Text_16E405, 4
+ msgbox Route109_Text_16E405, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Route109_Movement_1A083D
waitmovement 0
@@ -328,7 +328,7 @@ Route109_EventScript_14F725:: @ 814F725
faceplayer
special GetPlayerBigGuyGirlString
goto_if_set FLAG_RECEIVED_SOFT_SAND, Route109_EventScript_14F762
- msgbox Route109_Text_16E433, 4
+ msgbox Route109_Text_16E433, MSGBOX_DEFAULT
giveitem ITEM_SOFT_SAND
compare VAR_RESULT, 0
goto_if_eq Route109_EventScript_1A029B
@@ -340,18 +340,18 @@ Route109_EventScript_14F725:: @ 814F725
end
Route109_EventScript_14F762:: @ 814F762
- msgbox Route109_Text_16E446, 4
+ msgbox Route109_Text_16E446, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, Route109_Movement_1A083D
waitmovement 0
release
end
Route109_EventScript_14F776:: @ 814F776
- msgbox Route109_Text_16E35B, 2
+ msgbox Route109_Text_16E35B, MSGBOX_NPC
end
Route109_EventScript_14F77F:: @ 814F77F
- msgbox Route109_Text_16E4D5, 2
+ msgbox Route109_Text_16E4D5, MSGBOX_NPC
end
Route109_EventScript_14F788:: @ 814F788
@@ -359,37 +359,37 @@ Route109_EventScript_14F788:: @ 814F788
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
- msgbox Route109_Text_16E5CA, 4
+ msgbox Route109_Text_16E5CA, MSGBOX_DEFAULT
waitmoncry
release
end
Route109_EventScript_14F79B:: @ 814F79B
- msgbox Route109_Text_16E5DC, 3
+ msgbox Route109_Text_16E5DC, MSGBOX_SIGN
end
Route109_EventScript_14F7A4:: @ 814F7A4
- msgbox Route109_Text_16E62C, 3
+ msgbox Route109_Text_16E62C, MSGBOX_SIGN
end
Route109_EventScript_14F7AD:: @ 814F7AD
trainerbattle_single TRAINER_DAVID, Route109_Text_1B9A1C, Route109_Text_1B9A59
- msgbox Route109_Text_1B9A6D, 6
+ msgbox Route109_Text_1B9A6D, MSGBOX_AUTOCLOSE
end
Route109_EventScript_14F7C4:: @ 814F7C4
trainerbattle_single TRAINER_ALICE, Route109_Text_1B9AAD, Route109_Text_1B9AD9
- msgbox Route109_Text_1B9AEB, 6
+ msgbox Route109_Text_1B9AEB, MSGBOX_AUTOCLOSE
end
Route109_EventScript_14F7DB:: @ 814F7DB
trainerbattle_single TRAINER_HUEY, Route109_Text_1B9B11, Route109_Text_1B9B57
- msgbox Route109_Text_1B9B68, 6
+ msgbox Route109_Text_1B9B68, MSGBOX_AUTOCLOSE
end
Route109_EventScript_14F7F2:: @ 814F7F2
trainerbattle_single TRAINER_EDMOND, Route109_Text_1B9B91, Route109_Text_1B9BAE
- msgbox Route109_Text_1B9BD3, 6
+ msgbox Route109_Text_1B9BD3, MSGBOX_AUTOCLOSE
end
Route109_EventScript_14F809:: @ 814F809
@@ -397,12 +397,12 @@ Route109_EventScript_14F809:: @ 814F809
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route109_EventScript_14F830
- msgbox Route109_Text_1B9C6E, 6
+ msgbox Route109_Text_1B9C6E, MSGBOX_AUTOCLOSE
end
Route109_EventScript_14F830:: @ 814F830
trainerbattle_rematch TRAINER_RICKY_1, Route109_Text_1B9CB3, Route109_Text_1B9CEB
- msgbox Route109_Text_1B9D10, 6
+ msgbox Route109_Text_1B9D10, MSGBOX_AUTOCLOSE
end
Route109_EventScript_14F847:: @ 814F847
@@ -410,35 +410,35 @@ Route109_EventScript_14F847:: @ 814F847
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route109_EventScript_14F86E
- msgbox Route109_Text_1B9D8E, 6
+ msgbox Route109_Text_1B9D8E, MSGBOX_AUTOCLOSE
end
Route109_EventScript_14F86E:: @ 814F86E
trainerbattle_rematch TRAINER_LOLA_1, Route109_Text_1B9DD8, Route109_Text_1B9E16
- msgbox Route109_Text_1B9E1D, 6
+ msgbox Route109_Text_1B9E1D, MSGBOX_AUTOCLOSE
end
Route109_EventScript_14F885:: @ 814F885
trainerbattle_single TRAINER_CARMEN, Route109_Text_1B9E60, Route109_Text_1B9EA1
- msgbox Route109_Text_1B9ECA, 6
+ msgbox Route109_Text_1B9ECA, MSGBOX_AUTOCLOSE
end
Route109_EventScript_14F89C:: @ 814F89C
trainerbattle_single TRAINER_GWEN, Route109_Text_1B9F07, Route109_Text_1B9F31
- msgbox Route109_Text_1B9F44, 6
+ msgbox Route109_Text_1B9F44, MSGBOX_AUTOCLOSE
end
Route109_EventScript_14F8B3:: @ 814F8B3
trainerbattle_single TRAINER_CARTER, Route109_Text_1B9F65, Route109_Text_1B9F9C
- msgbox Route109_Text_1B9FB7, 6
+ msgbox Route109_Text_1B9FB7, MSGBOX_AUTOCLOSE
end
Route109_EventScript_14F8CA:: @ 814F8CA
trainerbattle_double TRAINER_MEL_AND_PAUL, Route109_Text_1B9FF6, Route109_Text_1BA052, Route109_Text_1BA0BF
- msgbox Route109_Text_1BA069, 6
+ msgbox Route109_Text_1BA069, MSGBOX_AUTOCLOSE
end
Route109_EventScript_14F8E5:: @ 814F8E5
trainerbattle_double TRAINER_MEL_AND_PAUL, Route109_Text_1BA114, Route109_Text_1BA15F, Route109_Text_1BA1D0
- msgbox Route109_Text_1BA193, 6
+ msgbox Route109_Text_1BA193, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route109_SeashoreHouse/scripts.inc b/data/maps/Route109_SeashoreHouse/scripts.inc
index 02449964b..1f78010e6 100644
--- a/data/maps/Route109_SeashoreHouse/scripts.inc
+++ b/data/maps/Route109_SeashoreHouse/scripts.inc
@@ -12,18 +12,18 @@ Route109_SeashoreHouse_EventScript_160DD4:: @ 8160DD4
goto_if_set FLAG_RECEIVED_6_SODA_POP, Route109_SeashoreHouse_EventScript_160E36
goto_if_set FLAG_DEFEATED_SEASHORE_HOUSE_TRAINERS, Route109_SeashoreHouse_EventScript_160E08
goto_if_set FLAG_TEMP_2, Route109_SeashoreHouse_EventScript_160DFE
- msgbox Route109_SeashoreHouse_Text_19B4D9, 4
+ msgbox Route109_SeashoreHouse_Text_19B4D9, MSGBOX_DEFAULT
setflag FLAG_TEMP_2
release
end
Route109_SeashoreHouse_EventScript_160DFE:: @ 8160DFE
- msgbox Route109_SeashoreHouse_Text_19B5B9, 4
+ msgbox Route109_SeashoreHouse_Text_19B5B9, MSGBOX_DEFAULT
release
end
Route109_SeashoreHouse_EventScript_160E08:: @ 8160E08
- msgbox Route109_SeashoreHouse_Text_19B609, 4
+ msgbox Route109_SeashoreHouse_Text_19B609, MSGBOX_DEFAULT
giveitem ITEM_SODA_POP, 6
compare VAR_RESULT, 0
goto_if_eq Route109_SeashoreHouse_EventScript_160E2C
@@ -32,7 +32,7 @@ Route109_SeashoreHouse_EventScript_160E08:: @ 8160E08
end
Route109_SeashoreHouse_EventScript_160E2C:: @ 8160E2C
- msgbox Route109_SeashoreHouse_Text_19B6BE, 4
+ msgbox Route109_SeashoreHouse_Text_19B6BE, MSGBOX_DEFAULT
release
end
@@ -42,7 +42,7 @@ Route109_SeashoreHouse_EventScript_160E36:: @ 8160E36
msgbox Route109_SeashoreHouse_Text_19B702, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route109_SeashoreHouse_EventScript_160E5A
- msgbox Route109_SeashoreHouse_Text_19B773, 4
+ msgbox Route109_SeashoreHouse_Text_19B773, MSGBOX_DEFAULT
hidemoneybox 0, 0
release
end
@@ -54,7 +54,7 @@ Route109_SeashoreHouse_EventScript_160E5A:: @ 8160E5A
checkitemspace ITEM_SODA_POP, 1
compare VAR_RESULT, 0
goto_if_eq Route109_SeashoreHouse_EventScript_160EAB
- msgbox Route109_SeashoreHouse_Text_19B74C, 4
+ msgbox Route109_SeashoreHouse_Text_19B74C, MSGBOX_DEFAULT
removemoney 300, 0
updatemoneybox 0, 0
nop
@@ -64,30 +64,30 @@ Route109_SeashoreHouse_EventScript_160E5A:: @ 8160E5A
end
Route109_SeashoreHouse_EventScript_160E9E:: @ 8160E9E
- msgbox Route109_SeashoreHouse_Text_19B759, 4
+ msgbox Route109_SeashoreHouse_Text_19B759, MSGBOX_DEFAULT
hidemoneybox 0, 0
release
end
Route109_SeashoreHouse_EventScript_160EAB:: @ 8160EAB
- msgbox Route109_SeashoreHouse_Text_1A0CC2, 4
+ msgbox Route109_SeashoreHouse_Text_1A0CC2, MSGBOX_DEFAULT
hidemoneybox 0, 0
release
end
Route109_SeashoreHouse_EventScript_160EB8:: @ 8160EB8
trainerbattle_single TRAINER_DWAYNE, Route109_SeashoreHouse_Text_19B809, Route109_SeashoreHouse_Text_19B869, Route109_SeashoreHouse_EventScript_160F09
- msgbox Route109_SeashoreHouse_Text_19B89F, 6
+ msgbox Route109_SeashoreHouse_Text_19B89F, MSGBOX_AUTOCLOSE
end
Route109_SeashoreHouse_EventScript_160ED3:: @ 8160ED3
trainerbattle_single TRAINER_JOHANNA, Route109_SeashoreHouse_Text_19B8E5, Route109_SeashoreHouse_Text_19B949, Route109_SeashoreHouse_EventScript_160F09
- msgbox Route109_SeashoreHouse_Text_19B955, 6
+ msgbox Route109_SeashoreHouse_Text_19B955, MSGBOX_AUTOCLOSE
end
Route109_SeashoreHouse_EventScript_160EEE:: @ 8160EEE
trainerbattle_single TRAINER_SIMON, Route109_SeashoreHouse_Text_19B988, Route109_SeashoreHouse_Text_19B9C7, Route109_SeashoreHouse_EventScript_160F09
- msgbox Route109_SeashoreHouse_Text_19B9E5, 6
+ msgbox Route109_SeashoreHouse_Text_19B9E5, MSGBOX_AUTOCLOSE
end
Route109_SeashoreHouse_EventScript_160F09:: @ 8160F09
diff --git a/data/maps/Route110/scripts.inc b/data/maps/Route110/scripts.inc
index 003377ab0..790192db0 100644
--- a/data/maps/Route110/scripts.inc
+++ b/data/maps/Route110/scripts.inc
@@ -32,7 +32,7 @@ Route110_EventScript_14F93D:: @ 814F93D
Route110_EventScript_14F946:: @ 814F946
lock
faceplayer
- msgbox Route110_Text_16E6C0, 4
+ msgbox Route110_Text_16E6C0, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, Route110_Movement_1A083D
waitmovement 0
release
@@ -41,7 +41,7 @@ Route110_EventScript_14F946:: @ 814F946
Route110_EventScript_14F95C:: @ 814F95C
lock
faceplayer
- msgbox Route110_Text_16E6F2, 4
+ msgbox Route110_Text_16E6F2, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, Route110_Movement_1A083D
waitmovement 0
release
@@ -50,7 +50,7 @@ Route110_EventScript_14F95C:: @ 814F95C
Route110_EventScript_14F972:: @ 814F972
lock
faceplayer
- msgbox Route110_Text_16E729, 4
+ msgbox Route110_Text_16E729, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, Route110_Movement_1A083D
waitmovement 0
release
@@ -59,74 +59,74 @@ Route110_EventScript_14F972:: @ 814F972
Route110_EventScript_14F988:: @ 814F988
lock
faceplayer
- msgbox Route110_Text_16E76A, 4
+ msgbox Route110_Text_16E76A, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, Route110_Movement_1A083D
waitmovement 0
release
end
Route110_EventScript_14F99E:: @ 814F99E
- msgbox Route110_Text_16EB22, 2
+ msgbox Route110_Text_16EB22, MSGBOX_NPC
end
Route110_EventScript_14F9A7:: @ 814F9A7
- msgbox Route110_Text_16EB65, 2
+ msgbox Route110_Text_16EB65, MSGBOX_NPC
end
Route110_EventScript_14F9B0:: @ 814F9B0
- msgbox Route110_Text_16EBC9, 2
+ msgbox Route110_Text_16EBC9, MSGBOX_NPC
end
Route110_EventScript_14F9B9:: @ 814F9B9
- msgbox Route110_Text_16EDC5, 2
+ msgbox Route110_Text_16EDC5, MSGBOX_NPC
end
Route110_EventScript_14F9C2:: @ 814F9C2
- msgbox Route110_Text_16EE30, 2
+ msgbox Route110_Text_16EE30, MSGBOX_NPC
end
Route110_EventScript_14F9CB:: @ 814F9CB
- msgbox Route110_Text_16EE74, 2
+ msgbox Route110_Text_16EE74, MSGBOX_NPC
end
Route110_EventScript_14F9D4:: @ 814F9D4
- msgbox Route110_Text_16EEF6, 2
+ msgbox Route110_Text_16EEF6, MSGBOX_NPC
end
Route110_EventScript_14F9DD:: @ 814F9DD
- msgbox Route110_Text_16F381, 3
+ msgbox Route110_Text_16F381, MSGBOX_SIGN
end
Route110_EventScript_14F9E6:: @ 814F9E6
- msgbox Route110_Text_16F39C, 3
+ msgbox Route110_Text_16F39C, MSGBOX_SIGN
end
Route110_EventScript_14F9EF:: @ 814F9EF
- msgbox Route110_Text_16F3B1, 3
+ msgbox Route110_Text_16F3B1, MSGBOX_SIGN
end
Route110_EventScript_14F9F8:: @ 814F9F8
- msgbox Route110_Text_16F3E9, 3
+ msgbox Route110_Text_16F3E9, MSGBOX_SIGN
end
Route110_EventScript_14FA01:: @ 814FA01
- msgbox Route110_Text_16F3FF, 3
+ msgbox Route110_Text_16F3FF, MSGBOX_SIGN
end
Route110_EventScript_14FA0A:: @ 814FA0A
- msgbox Route110_Text_16F40F, 3
+ msgbox Route110_Text_16F40F, MSGBOX_SIGN
end
Route110_EventScript_14FA13:: @ 814FA13
- msgbox Route110_Text_16F429, 3
+ msgbox Route110_Text_16F429, MSGBOX_SIGN
end
Route110_EventScript_14FA1C:: @ 814FA1C
- msgbox Route110_Text_16F4AE, 3
+ msgbox Route110_Text_16F4AE, MSGBOX_SIGN
end
Route110_EventScript_14FA25:: @ 814FA25
- msgbox Route110_Text_16F4F7, 3
+ msgbox Route110_Text_16F4F7, MSGBOX_SIGN
end
Route110_EventScript_14FA2E:: @ 814FA2E
@@ -134,12 +134,12 @@ Route110_EventScript_14FA2E:: @ 814FA2E
specialvar VAR_RESULT, GetRecordedCyclingRoadResults
compare VAR_RESULT, 0
goto_if_eq Route110_EventScript_14FA49
- msgbox Route110_Text_16F53A, 4
+ msgbox Route110_Text_16F53A, MSGBOX_DEFAULT
releaseall
end
Route110_EventScript_14FA49:: @ 814FA49
- msgbox Route110_Text_16F57C, 4
+ msgbox Route110_Text_16F57C, MSGBOX_DEFAULT
releaseall
end
@@ -151,28 +151,28 @@ Route110_EventScript_14FA53:: @ 814FA53
goto_if_eq Route110_EventScript_14FA84
compare VAR_CYCLING_CHALLENGE_STATE, 0
goto_if_eq Route110_EventScript_14FA7A
- msgbox Route110_Text_16F26A, 4
+ msgbox Route110_Text_16F26A, MSGBOX_DEFAULT
release
end
Route110_EventScript_14FA7A:: @ 814FA7A
- msgbox Route110_Text_16F1D0, 4
+ msgbox Route110_Text_16F1D0, MSGBOX_DEFAULT
release
end
Route110_EventScript_14FA84:: @ 814FA84
- msgbox Route110_Text_16F2C4, 4
+ msgbox Route110_Text_16F2C4, MSGBOX_DEFAULT
release
end
Route110_EventScript_14FA8E:: @ 814FA8E
trainerbattle_single TRAINER_EDWARD, Route110_Text_1BA699, Route110_Text_1BA6D2
- msgbox Route110_Text_1BA6F8, 6
+ msgbox Route110_Text_1BA6F8, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FAA5:: @ 814FAA5
trainerbattle_single TRAINER_JACLYN, Route110_Text_1BA72D, Route110_Text_1BA759
- msgbox Route110_Text_1BA76C, 6
+ msgbox Route110_Text_1BA76C, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FABC:: @ 814FABC
@@ -180,27 +180,27 @@ Route110_EventScript_14FABC:: @ 814FABC
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route110_EventScript_14FAE3
- msgbox Route110_Text_1BA829, 6
+ msgbox Route110_Text_1BA829, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FAE3:: @ 814FAE3
trainerbattle_rematch TRAINER_EDWIN_1, Route110_Text_1BA877, Route110_Text_1BA8CD
- msgbox Route110_Text_1BA8E9, 6
+ msgbox Route110_Text_1BA8E9, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FAFA:: @ 814FAFA
trainerbattle_single TRAINER_DALE, Route110_Text_1BA913, Route110_Text_1BA93C
- msgbox Route110_Text_1BA94A, 6
+ msgbox Route110_Text_1BA94A, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FB11:: @ 814FB11
trainerbattle_single TRAINER_JACOB, Route110_Text_1BA22C, Route110_Text_1BA264
- msgbox Route110_Text_1BA27C, 6
+ msgbox Route110_Text_1BA27C, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FB28:: @ 814FB28
trainerbattle_single TRAINER_ANTHONY, Route110_Text_1BA2D4, Route110_Text_1BA2FC
- msgbox Route110_Text_1BA30C, 6
+ msgbox Route110_Text_1BA30C, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FB3F:: @ 814FB3F
@@ -208,17 +208,17 @@ Route110_EventScript_14FB3F:: @ 814FB3F
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route110_EventScript_14FB66
- msgbox Route110_Text_1BA3A5, 6
+ msgbox Route110_Text_1BA3A5, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FB66:: @ 814FB66
trainerbattle_rematch TRAINER_BENJAMIN_1, Route110_Text_1BA3EF, Route110_Text_1BA432
- msgbox Route110_Text_1BA456, 6
+ msgbox Route110_Text_1BA456, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FB7D:: @ 814FB7D
trainerbattle_single TRAINER_JASMINE, Route110_Text_1BA5FF, Route110_Text_1BA63C
- msgbox Route110_Text_1BA65F, 6
+ msgbox Route110_Text_1BA65F, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FB94:: @ 814FB94
@@ -226,12 +226,12 @@ Route110_EventScript_14FB94:: @ 814FB94
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route110_EventScript_14FBBB
- msgbox Route110_Text_1BA52E, 6
+ msgbox Route110_Text_1BA52E, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FBBB:: @ 814FBBB
trainerbattle_rematch TRAINER_ABIGAIL_1, Route110_Text_1BA573, Route110_Text_1BA5A1
- msgbox Route110_Text_1BA5C4, 6
+ msgbox Route110_Text_1BA5C4, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FBD2:: @ 814FBD2
@@ -239,17 +239,17 @@ Route110_EventScript_14FBD2:: @ 814FBD2
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route110_EventScript_14FBF9
- msgbox Route110_Text_1BA9E9, 6
+ msgbox Route110_Text_1BA9E9, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FBF9:: @ 814FBF9
trainerbattle_rematch TRAINER_ISABEL_1, Route110_Text_1BAA2D, Route110_Text_1BAA76
- msgbox Route110_Text_1BAA8F, 6
+ msgbox Route110_Text_1BAA8F, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FC10:: @ 814FC10
trainerbattle_single TRAINER_TIMMY, Route110_Text_1BAAC3, Route110_Text_1BAAF7
- msgbox Route110_Text_1BAB19, 6
+ msgbox Route110_Text_1BAB19, MSGBOX_AUTOCLOSE
end
Route110_EventScript_14FC27:: @ 814FC27
@@ -262,7 +262,7 @@ Route110_EventScript_14FC27:: @ 814FC27
Route110_EventScript_14FC39:: @ 814FC39
special FinishCyclingRoadChallenge
- msgbox Route110_Text_16EF65, 4
+ msgbox Route110_Text_16EF65, MSGBOX_DEFAULT
switch VAR_RESULT
case 10, Route110_EventScript_14FCC3
case 9, Route110_EventScript_14FCD1
@@ -278,27 +278,27 @@ Route110_EventScript_14FC39:: @ 814FC39
end
Route110_EventScript_14FCC3:: @ 814FCC3
- msgbox Route110_Text_16EF9F, 4
+ msgbox Route110_Text_16EF9F, MSGBOX_DEFAULT
goto Route110_EventScript_14FD09
end
Route110_EventScript_14FCD1:: @ 814FCD1
- msgbox Route110_Text_16F012, 4
+ msgbox Route110_Text_16F012, MSGBOX_DEFAULT
goto Route110_EventScript_14FD09
end
Route110_EventScript_14FCDF:: @ 814FCDF
- msgbox Route110_Text_16F069, 4
+ msgbox Route110_Text_16F069, MSGBOX_DEFAULT
goto Route110_EventScript_14FD09
end
Route110_EventScript_14FCED:: @ 814FCED
- msgbox Route110_Text_16F0D0, 4
+ msgbox Route110_Text_16F0D0, MSGBOX_DEFAULT
goto Route110_EventScript_14FD09
end
Route110_EventScript_14FCFB:: @ 814FCFB
- msgbox Route110_Text_16F139, 4
+ msgbox Route110_Text_16F139, MSGBOX_DEFAULT
goto Route110_EventScript_14FD09
end
@@ -360,7 +360,7 @@ Route110_EventScript_14FDAC:: @ 814FDAC
return
Route110_EventScript_14FDB1:: @ 814FDB1
- msgbox Route110_Text_16E7A1, 4
+ msgbox Route110_Text_16E7A1, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, Route110_EventScript_14FDE0
case 1, Route110_EventScript_14FDF0
@@ -383,14 +383,14 @@ Route110_EventScript_14FE00:: @ 814FE00
end
Route110_EventScript_14FE10:: @ 814FE10
- msgbox Route110_Text_16E84C, 4
+ msgbox Route110_Text_16E84C, MSGBOX_DEFAULT
call Route110_EventScript_14FEA5
- msgbox Route110_Text_16E8B3, 4
+ msgbox Route110_Text_16E8B3, MSGBOX_DEFAULT
goto Route110_EventScript_14FEB2
end
Route110_EventScript_14FE2B:: @ 814FE2B
- msgbox Route110_Text_16E99A, 4
+ msgbox Route110_Text_16E99A, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, Route110_EventScript_14FE5A
case 1, Route110_EventScript_14FE6A
@@ -413,9 +413,9 @@ Route110_EventScript_14FE7A:: @ 814FE7A
end
Route110_EventScript_14FE8A:: @ 814FE8A
- msgbox Route110_Text_16EA2A, 4
+ msgbox Route110_Text_16EA2A, MSGBOX_DEFAULT
call Route110_EventScript_14FEA5
- msgbox Route110_Text_16EA7B, 4
+ msgbox Route110_Text_16EA7B, MSGBOX_DEFAULT
goto Route110_EventScript_14FEB2
end
diff --git a/data/maps/Route110_SeasideCyclingRoadNorthEntrance/scripts.inc b/data/maps/Route110_SeasideCyclingRoadNorthEntrance/scripts.inc
index 35809885d..639e4cbf0 100644
--- a/data/maps/Route110_SeasideCyclingRoadNorthEntrance/scripts.inc
+++ b/data/maps/Route110_SeasideCyclingRoadNorthEntrance/scripts.inc
@@ -16,7 +16,7 @@ Route110_SeasideCyclingRoadNorthEntrance_EventScript_1634E5:: @ 81634E5
Route110_SeasideCyclingRoadNorthEntrance_EventScript_1634EB:: @ 81634EB
lock
faceplayer
- msgbox Route110_SeasideCyclingRoadNorthEntrance_Text_19E406, 4
+ msgbox Route110_SeasideCyclingRoadNorthEntrance_Text_19E406, MSGBOX_DEFAULT
release
end
@@ -40,7 +40,7 @@ Route110_SeasideCyclingRoadNorthEntrance_EventScript_16351D:: @ 816351D
Route110_SeasideCyclingRoadNorthEntrance_EventScript_163523:: @ 8163523
@ You don't have a bike!
- msgbox Route110_SeasideCyclingRoadNorthEntrance_Text_19E3AD, 4
+ msgbox Route110_SeasideCyclingRoadNorthEntrance_Text_19E3AD, MSGBOX_DEFAULT
closemessage
applymovement 255, Route110_SeasideCyclingRoadNorthEntrance_Movement_163538
waitmovement 0
diff --git a/data/maps/Route110_SeasideCyclingRoadSouthEntrance/scripts.inc b/data/maps/Route110_SeasideCyclingRoadSouthEntrance/scripts.inc
index 67ef10af6..8e0f414c7 100644
--- a/data/maps/Route110_SeasideCyclingRoadSouthEntrance/scripts.inc
+++ b/data/maps/Route110_SeasideCyclingRoadSouthEntrance/scripts.inc
@@ -4,7 +4,7 @@ Route110_SeasideCyclingRoadSouthEntrance_MapScripts:: @ 816347E
Route110_SeasideCyclingRoadSouthEntrance_EventScript_16347F:: @ 816347F
lock
faceplayer
- msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_19E326, 4
+ msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_19E326, MSGBOX_DEFAULT
release
end
@@ -19,7 +19,7 @@ Route110_SeasideCyclingRoadSouthEntrance_EventScript_16348B:: @ 816348B
end
Route110_SeasideCyclingRoadSouthEntrance_EventScript_1634A6:: @ 81634A6
- msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_19E3AD, 4
+ msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_19E3AD, MSGBOX_DEFAULT
closemessage
applymovement 255, Route110_SeasideCyclingRoadSouthEntrance_Movement_1634BB
waitmovement 0
diff --git a/data/maps/Route110_TrickHouseEnd/scripts.inc b/data/maps/Route110_TrickHouseEnd/scripts.inc
index 0cf2a6a9a..44e00cbd9 100644
--- a/data/maps/Route110_TrickHouseEnd/scripts.inc
+++ b/data/maps/Route110_TrickHouseEnd/scripts.inc
@@ -43,7 +43,7 @@ Route110_TrickHouseEnd_EventScript_161994:: @ 8161994
Route110_TrickHouseEnd_EventScript_16199E:: @ 816199E
lock
faceplayer
- msgbox Route110_TrickHouseEnd_Text_19C281, 4
+ msgbox Route110_TrickHouseEnd_Text_19C281, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1
switch VAR_TRICK_HOUSE_ROOMS_COMPLETED
case 0, Route110_TrickHouseEnd_EventScript_161A0B
@@ -57,98 +57,98 @@ Route110_TrickHouseEnd_EventScript_16199E:: @ 816199E
end
Route110_TrickHouseEnd_EventScript_161A0B:: @ 8161A0B
- msgbox Route110_TrickHouseEnd_Text_19C2B2, 4
- msgbox Route110_TrickHouseEnd_Text_19C90B, 4
+ msgbox Route110_TrickHouseEnd_Text_19C2B2, MSGBOX_DEFAULT
+ msgbox Route110_TrickHouseEnd_Text_19C90B, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem ITEM_RARE_CANDY
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_161C4E
- msgbox Route110_TrickHouseEnd_Text_19C9BD, 4
+ msgbox Route110_TrickHouseEnd_Text_19C9BD, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_161C2E
release
end
Route110_TrickHouseEnd_EventScript_161A47:: @ 8161A47
- msgbox Route110_TrickHouseEnd_Text_19C333, 4
- msgbox Route110_TrickHouseEnd_Text_19C90B, 4
+ msgbox Route110_TrickHouseEnd_Text_19C333, MSGBOX_DEFAULT
+ msgbox Route110_TrickHouseEnd_Text_19C90B, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem ITEM_TIMER_BALL
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_161C4E
- msgbox Route110_TrickHouseEnd_Text_19C9BD, 4
+ msgbox Route110_TrickHouseEnd_Text_19C9BD, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_161C2E
release
end
Route110_TrickHouseEnd_EventScript_161A83:: @ 8161A83
- msgbox Route110_TrickHouseEnd_Text_19C3A7, 4
- msgbox Route110_TrickHouseEnd_Text_19C90B, 4
+ msgbox Route110_TrickHouseEnd_Text_19C3A7, MSGBOX_DEFAULT
+ msgbox Route110_TrickHouseEnd_Text_19C90B, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem ITEM_HARD_STONE
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_161C4E
- msgbox Route110_TrickHouseEnd_Text_19C9BD, 4
+ msgbox Route110_TrickHouseEnd_Text_19C9BD, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_161C2E
release
end
Route110_TrickHouseEnd_EventScript_161ABF:: @ 8161ABF
- msgbox Route110_TrickHouseEnd_Text_19C41F, 4
- msgbox Route110_TrickHouseEnd_Text_19C90B, 4
+ msgbox Route110_TrickHouseEnd_Text_19C41F, MSGBOX_DEFAULT
+ msgbox Route110_TrickHouseEnd_Text_19C90B, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem ITEM_SMOKE_BALL
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_161C4E
- msgbox Route110_TrickHouseEnd_Text_19C9BD, 4
+ msgbox Route110_TrickHouseEnd_Text_19C9BD, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_161C2E
release
end
Route110_TrickHouseEnd_EventScript_161AFB:: @ 8161AFB
- msgbox Route110_TrickHouseEnd_Text_19C491, 4
- msgbox Route110_TrickHouseEnd_Text_19C90B, 4
+ msgbox Route110_TrickHouseEnd_Text_19C491, MSGBOX_DEFAULT
+ msgbox Route110_TrickHouseEnd_Text_19C90B, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem ITEM_TM12_TAUNT
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_161C4E
- msgbox Route110_TrickHouseEnd_Text_19C9BD, 4
+ msgbox Route110_TrickHouseEnd_Text_19C9BD, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_161C2E
release
end
Route110_TrickHouseEnd_EventScript_161B37:: @ 8161B37
- msgbox Route110_TrickHouseEnd_Text_19C515, 4
- msgbox Route110_TrickHouseEnd_Text_19C90B, 4
+ msgbox Route110_TrickHouseEnd_Text_19C515, MSGBOX_DEFAULT
+ msgbox Route110_TrickHouseEnd_Text_19C90B, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem ITEM_MAGNET
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_161C4E
- msgbox Route110_TrickHouseEnd_Text_19C9BD, 4
+ msgbox Route110_TrickHouseEnd_Text_19C9BD, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_161C2E
release
end
Route110_TrickHouseEnd_EventScript_161B73:: @ 8161B73
- msgbox Route110_TrickHouseEnd_Text_19C567, 4
- msgbox Route110_TrickHouseEnd_Text_19C90B, 4
+ msgbox Route110_TrickHouseEnd_Text_19C567, MSGBOX_DEFAULT
+ msgbox Route110_TrickHouseEnd_Text_19C90B, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
giveitem ITEM_PP_MAX
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_161C4E
- msgbox Route110_TrickHouseEnd_Text_19C9BD, 4
+ msgbox Route110_TrickHouseEnd_Text_19C9BD, MSGBOX_DEFAULT
closemessage
call Route110_TrickHouseEnd_EventScript_161C2E
release
end
Route110_TrickHouseEnd_EventScript_161BAF:: @ 8161BAF
- msgbox Route110_TrickHouseEnd_Text_19C5AF, 4
+ msgbox Route110_TrickHouseEnd_Text_19C5AF, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, 1
call_if_eq Route110_TrickHouseEnd_EventScript_161C74
@@ -159,12 +159,12 @@ Route110_TrickHouseEnd_EventScript_161BAF:: @ 8161BAF
compare VAR_FACING, 4
call_if_eq Route110_TrickHouseEnd_EventScript_161C95
delay 30
- msgbox Route110_TrickHouseEnd_Text_19C602, 4
+ msgbox Route110_TrickHouseEnd_Text_19C602, MSGBOX_DEFAULT
closemessage
applymovement 1, Route110_TrickHouseEnd_Movement_1A0839
waitmovement 0
delay 30
- msgbox Route110_TrickHouseEnd_Text_19C691, 4
+ msgbox Route110_TrickHouseEnd_Text_19C691, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 0
.ifdef SAPPHIRE
givedecoration DECOR_BLUE_TENT
@@ -173,7 +173,7 @@ Route110_TrickHouseEnd_EventScript_161BAF:: @ 8161BAF
.endc
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEnd_EventScript_161C61
- msgbox Route110_TrickHouseEnd_Text_19C85C, 4
+ msgbox Route110_TrickHouseEnd_Text_19C85C, MSGBOX_DEFAULT
call Route110_TrickHouseEnd_EventScript_161C2E
special ResetTrickHouseEndRoomFlag
release
@@ -191,13 +191,13 @@ Route110_TrickHouseEnd_EventScript_161C2E:: @ 8161C2E
Route110_TrickHouseEnd_EventScript_161C4E:: @ 8161C4E
call Route110_TrickHouseEnd_EventScript_1A02A5
- msgbox Route110_TrickHouseEnd_Text_19C92E, 4
+ msgbox Route110_TrickHouseEnd_Text_19C92E, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 1
return
Route110_TrickHouseEnd_EventScript_161C61:: @ 8161C61
call Route110_TrickHouseEnd_EventScript_1A02B8
- msgbox Route110_TrickHouseEnd_Text_19C7D7, 4
+ msgbox Route110_TrickHouseEnd_Text_19C7D7, MSGBOX_DEFAULT
setvar VAR_TRICK_HOUSE_PRIZE_PICKUP, 1
return
@@ -233,7 +233,7 @@ Route110_TrickHouseEnd_EventScript_161CA0:: @ 8161CA0
playse SE_W153
applymovement 255, Route110_TrickHouseEnd_Movement_1A0845
waitmovement 0
- msgbox Route110_TrickHouseEnd_Text_19CA8B, 4
+ msgbox Route110_TrickHouseEnd_Text_19CA8B, MSGBOX_DEFAULT
closemessage
applymovement 255, Route110_TrickHouseEnd_Movement_161CE8
waitmovement 0
diff --git a/data/maps/Route110_TrickHouseEntrance/scripts.inc b/data/maps/Route110_TrickHouseEntrance/scripts.inc
index 93588f2d1..491825db6 100644
--- a/data/maps/Route110_TrickHouseEntrance/scripts.inc
+++ b/data/maps/Route110_TrickHouseEntrance/scripts.inc
@@ -208,7 +208,7 @@ Route110_TrickHouseEntrance_EventScript_1611D7:: @ 81611D7
delay 20
compare VAR_TRICK_HOUSE_ROOMS_COMPLETED, 0
call_if_eq Route110_TrickHouseEntrance_EventScript_161327
- msgbox Route110_TrickHouseEntrance_Text_19BD82, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BD82, MSGBOX_DEFAULT
closemessage
delay 20
applymovement 1, Route110_TrickHouseEntrance_Movement_161315
@@ -265,35 +265,35 @@ Route110_TrickHouseEntrance_EventScript_16124D:: @ 816124D
end
Route110_TrickHouseEntrance_EventScript_1612CD:: @ 81612CD
- msgbox Route110_TrickHouseEntrance_Text_19BA6E, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BA6E, MSGBOX_DEFAULT
return
Route110_TrickHouseEntrance_EventScript_1612D6:: @ 81612D6
- msgbox Route110_TrickHouseEntrance_Text_19BAC0, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BAC0, MSGBOX_DEFAULT
return
Route110_TrickHouseEntrance_EventScript_1612DF:: @ 81612DF
- msgbox Route110_TrickHouseEntrance_Text_19BB11, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BB11, MSGBOX_DEFAULT
return
Route110_TrickHouseEntrance_EventScript_1612E8:: @ 81612E8
- msgbox Route110_TrickHouseEntrance_Text_19BB61, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BB61, MSGBOX_DEFAULT
return
Route110_TrickHouseEntrance_EventScript_1612F1:: @ 81612F1
- msgbox Route110_TrickHouseEntrance_Text_19BBB4, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BBB4, MSGBOX_DEFAULT
return
Route110_TrickHouseEntrance_EventScript_1612FA:: @ 81612FA
- msgbox Route110_TrickHouseEntrance_Text_19BC04, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BC04, MSGBOX_DEFAULT
return
Route110_TrickHouseEntrance_EventScript_161303:: @ 8161303
- msgbox Route110_TrickHouseEntrance_Text_19BC55, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BC55, MSGBOX_DEFAULT
return
Route110_TrickHouseEntrance_EventScript_16130C:: @ 816130C
- msgbox Route110_TrickHouseEntrance_Text_19BCA8, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BCA8, MSGBOX_DEFAULT
return
Route110_TrickHouseEnd_Movement_161315:: @ 8161315
@@ -321,11 +321,11 @@ Route110_TrickHouseEntrance_Movement_16131E:: @ 816131E
end_movement
Route110_TrickHouseEntrance_EventScript_161327:: @ 8161327
- msgbox Route110_TrickHouseEntrance_Text_19BCFD, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BCFD, MSGBOX_DEFAULT
return
Route110_TrickHouseEntrance_EventScript_161330:: @ 8161330
- msgbox Route110_TrickHouseEntrance_Text_19BF19, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BF19, MSGBOX_DEFAULT
closemessage
applymovement 1, Route110_TrickHouseEntrance_Movement_1A0839
waitmovement 0
@@ -334,7 +334,7 @@ Route110_TrickHouseEntrance_EventScript_161330:: @ 8161330
waitmovement 0
applymovement 1, Route110_TrickHouseEntrance_Movement_1A0835
waitmovement 0
- msgbox Route110_TrickHouseEntrance_Text_19BFAB, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BFAB, MSGBOX_DEFAULT
applymovement 1, Route110_TrickHouseEntrance_Movement_1A0841
waitmovement 0
releaseall
@@ -343,7 +343,7 @@ Route110_TrickHouseEntrance_EventScript_161330:: @ 8161330
Route110_TrickHouseEntrance_EventScript_16136E:: @ 816136E
applymovement 1, Route110_TrickHouseEntrance_Movement_1A0839
waitmovement 0
- msgbox Route110_TrickHouseEntrance_Text_19C07E, 4
+ msgbox Route110_TrickHouseEntrance_Text_19C07E, MSGBOX_DEFAULT
compare VAR_TRICK_HOUSE_ROOMS_COMPLETED, 1
goto_if_eq Route110_TrickHouseEntrance_EventScript_1613CE
compare VAR_TRICK_HOUSE_ROOMS_COMPLETED, 2
@@ -366,7 +366,7 @@ Route110_TrickHouseEntrance_EventScript_1613CE:: @ 81613CE
goto_if_eq Route110_TrickHouseEntrance_EventScript_161502
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEntrance_EventScript_1A02A5
- msgbox Route110_TrickHouseEntrance_Text_19C0FC, 4
+ msgbox Route110_TrickHouseEntrance_Text_19C0FC, MSGBOX_DEFAULT
releaseall
end
@@ -376,7 +376,7 @@ Route110_TrickHouseEntrance_EventScript_1613FA:: @ 81613FA
goto_if_eq Route110_TrickHouseEntrance_EventScript_161502
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEntrance_EventScript_1A02A5
- msgbox Route110_TrickHouseEntrance_Text_19C0FC, 4
+ msgbox Route110_TrickHouseEntrance_Text_19C0FC, MSGBOX_DEFAULT
releaseall
end
@@ -386,7 +386,7 @@ Route110_TrickHouseEntrance_EventScript_161426:: @ 8161426
goto_if_eq Route110_TrickHouseEntrance_EventScript_161502
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEntrance_EventScript_1A02A5
- msgbox Route110_TrickHouseEntrance_Text_19C0FC, 4
+ msgbox Route110_TrickHouseEntrance_Text_19C0FC, MSGBOX_DEFAULT
releaseall
end
@@ -396,7 +396,7 @@ Route110_TrickHouseEntrance_EventScript_161452:: @ 8161452
goto_if_eq Route110_TrickHouseEntrance_EventScript_161502
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEntrance_EventScript_1A02A5
- msgbox Route110_TrickHouseEntrance_Text_19C0FC, 4
+ msgbox Route110_TrickHouseEntrance_Text_19C0FC, MSGBOX_DEFAULT
releaseall
end
@@ -406,7 +406,7 @@ Route110_TrickHouseEntrance_EventScript_16147E:: @ 816147E
goto_if_eq Route110_TrickHouseEntrance_EventScript_161502
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEntrance_EventScript_1A02A5
- msgbox Route110_TrickHouseEntrance_Text_19C0FC, 4
+ msgbox Route110_TrickHouseEntrance_Text_19C0FC, MSGBOX_DEFAULT
releaseall
end
@@ -416,7 +416,7 @@ Route110_TrickHouseEntrance_EventScript_1614AA:: @ 81614AA
goto_if_eq Route110_TrickHouseEntrance_EventScript_161502
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEntrance_EventScript_1A02A5
- msgbox Route110_TrickHouseEntrance_Text_19C0FC, 4
+ msgbox Route110_TrickHouseEntrance_Text_19C0FC, MSGBOX_DEFAULT
releaseall
end
@@ -426,7 +426,7 @@ Route110_TrickHouseEntrance_EventScript_1614D6:: @ 81614D6
goto_if_eq Route110_TrickHouseEntrance_EventScript_161502
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEntrance_EventScript_1A02A5
- msgbox Route110_TrickHouseEntrance_Text_19C0FC, 4
+ msgbox Route110_TrickHouseEntrance_Text_19C0FC, MSGBOX_DEFAULT
releaseall
end
@@ -441,7 +441,7 @@ Route110_TrickHouseEntrance_EventScript_161502:: @ 8161502
Route110_TrickHouseEntrance_EventScript_161518:: @ 8161518
applymovement 1, Route110_TrickHouseEntrance_Movement_1A0839
waitmovement 0
- msgbox Route110_TrickHouseEntrance_Text_19C128, 4
+ msgbox Route110_TrickHouseEntrance_Text_19C128, MSGBOX_DEFAULT
.ifdef SAPPHIRE
givedecoration DECOR_BLUE_TENT
.else
@@ -451,12 +451,12 @@ Route110_TrickHouseEntrance_EventScript_161518:: @ 8161518
goto_if_eq Route110_TrickHouseEntrance_EventScript_161551
compare VAR_RESULT, 0
call_if_eq Route110_TrickHouseEntrance_EventScript_1A02B8
- msgbox Route110_TrickHouseEntrance_Text_19C18D, 4
+ msgbox Route110_TrickHouseEntrance_Text_19C18D, MSGBOX_DEFAULT
releaseall
end
Route110_TrickHouseEntrance_EventScript_161551:: @ 8161551
- msgbox Route110_TrickHouseEntrance_Text_19C17E, 4
+ msgbox Route110_TrickHouseEntrance_Text_19C17E, MSGBOX_DEFAULT
closemessage
applymovement 1, Route110_TrickHouseEntrance_Movement_16309F
waitmovement 0
@@ -481,7 +481,7 @@ Route110_TrickHouseEntrance_EventScript_16158A:: @ 816158A
end
Route110_TrickHouseEntrance_EventScript_1615BD:: @ 81615BD
- msgbox Route110_TrickHouseEntrance_Text_19BE6E, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BE6E, MSGBOX_DEFAULT
releaseall
end
@@ -565,19 +565,19 @@ Route110_TrickHouseEntrance_EventScript_1616AD:: @ 81616AD
end
Route110_TrickHouseEntrance_EventScript_1616B8:: @ 81616B8
- msgbox Route110_TrickHouseEntrance_Text_19BEB3, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BEB3, MSGBOX_DEFAULT
releaseall
end
Route110_TrickHouseEntrance_EventScript_1616C2:: @ 81616C2
compare VAR_TRICK_HOUSE_ROOMS_COMPLETED, 8
goto_if_eq Route110_TrickHouseEntrance_EventScript_1616D7
- msgbox Route110_TrickHouseEntrance_Text_19BE6E, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BE6E, MSGBOX_DEFAULT
releaseall
end
Route110_TrickHouseEntrance_EventScript_1616D7:: @ 81616D7
- msgbox Route110_TrickHouseEntrance_Text_19BEB3, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BEB3, MSGBOX_DEFAULT
releaseall
end
@@ -597,7 +597,7 @@ gUnknown_081616E1:: @ 81616E1
Route110_TrickHouseEntrance_EventScript_161740:: @ 8161740
compare VAR_TRICK_HOUSE_PUZZLE_1_STATE, 0
goto_if_eq Route110_TrickHouseEntrance_EventScript_161888
- msgbox UnknownString_819CAD1, 4
+ msgbox UnknownString_819CAD1, MSGBOX_DEFAULT
playse SE_PIN
setvar VAR_TRICK_HOUSE_PUZZLE_1_STATE, 2
setmetatile 13, 1, METATILE_TrickHousePuzzle_Stairs_Down, 0
@@ -608,7 +608,7 @@ Route110_TrickHouseEntrance_EventScript_161740:: @ 8161740
Route110_TrickHouseEntrance_EventScript_161769:: @ 8161769
compare VAR_TRICK_HOUSE_PUZZLE_2_STATE, 0
goto_if_eq Route110_TrickHouseEntrance_EventScript_161888
- msgbox UnknownString_819CCCB, 4
+ msgbox UnknownString_819CCCB, MSGBOX_DEFAULT
playse SE_PIN
setvar VAR_TRICK_HOUSE_PUZZLE_2_STATE, 2
setmetatile 13, 1, METATILE_TrickHousePuzzle_Stairs_Down, 0
@@ -619,7 +619,7 @@ Route110_TrickHouseEntrance_EventScript_161769:: @ 8161769
Route110_TrickHouseEntrance_EventScript_161792:: @ 8161792
compare VAR_TRICK_HOUSE_PUZZLE_3_STATE, 0
goto_if_eq Route110_TrickHouseEntrance_EventScript_161888
- msgbox UnknownString_819CEF9, 4
+ msgbox UnknownString_819CEF9, MSGBOX_DEFAULT
playse SE_PIN
setvar VAR_TRICK_HOUSE_PUZZLE_3_STATE, 2
setmetatile 13, 1, METATILE_TrickHousePuzzle_Stairs_Down, 0
@@ -630,7 +630,7 @@ Route110_TrickHouseEntrance_EventScript_161792:: @ 8161792
Route110_TrickHouseEntrance_EventScript_1617BB:: @ 81617BB
compare VAR_TRICK_HOUSE_PUZZLE_4_STATE, 0
goto_if_eq Route110_TrickHouseEntrance_EventScript_161888
- msgbox UnknownString_819D164, 4
+ msgbox UnknownString_819D164, MSGBOX_DEFAULT
playse SE_PIN
setvar VAR_TRICK_HOUSE_PUZZLE_4_STATE, 2
setmetatile 13, 1, METATILE_TrickHousePuzzle_Stairs_Down, 0
@@ -641,7 +641,7 @@ Route110_TrickHouseEntrance_EventScript_1617BB:: @ 81617BB
Route110_TrickHouseEntrance_EventScript_1617E4:: @ 81617E4
compare VAR_TRICK_HOUSE_PUZZLE_5_STATE, 0
goto_if_eq Route110_TrickHouseEntrance_EventScript_161888
- msgbox UnknownString_819D3A5, 4
+ msgbox UnknownString_819D3A5, MSGBOX_DEFAULT
playse SE_PIN
setvar VAR_TRICK_HOUSE_PUZZLE_5_STATE, 2
setmetatile 13, 1, METATILE_TrickHousePuzzle_Stairs_Down, 0
@@ -652,7 +652,7 @@ Route110_TrickHouseEntrance_EventScript_1617E4:: @ 81617E4
Route110_TrickHouseEntrance_EventScript_16180D:: @ 816180D
compare VAR_TRICK_HOUSE_PUZZLE_6_STATE, 0
goto_if_eq Route110_TrickHouseEntrance_EventScript_161888
- msgbox UnknownString_819DC0A, 4
+ msgbox UnknownString_819DC0A, MSGBOX_DEFAULT
playse SE_PIN
setvar VAR_TRICK_HOUSE_PUZZLE_6_STATE, 2
setmetatile 13, 1, METATILE_TrickHousePuzzle_Stairs_Down, 0
@@ -663,7 +663,7 @@ Route110_TrickHouseEntrance_EventScript_16180D:: @ 816180D
Route110_TrickHouseEntrance_EventScript_161836:: @ 8161836
compare VAR_TRICK_HOUSE_PUZZLE_7_STATE, 0
goto_if_eq Route110_TrickHouseEntrance_EventScript_161888
- msgbox UnknownString_819DE8D, 4
+ msgbox UnknownString_819DE8D, MSGBOX_DEFAULT
playse SE_PIN
setvar VAR_TRICK_HOUSE_PUZZLE_7_STATE, 2
setmetatile 13, 1, METATILE_TrickHousePuzzle_Stairs_Down, 0
@@ -674,7 +674,7 @@ Route110_TrickHouseEntrance_EventScript_161836:: @ 8161836
Route110_TrickHouseEntrance_EventScript_16185F:: @ 816185F
compare VAR_TRICK_HOUSE_PUZZLE_8_STATE, 0
goto_if_eq Route110_TrickHouseEntrance_EventScript_161888
- msgbox UnknownString_819E0FF, 4
+ msgbox UnknownString_819E0FF, MSGBOX_DEFAULT
playse SE_PIN
setvar VAR_TRICK_HOUSE_PUZZLE_8_STATE, 2
setmetatile 13, 1, METATILE_TrickHousePuzzle_Stairs_Down, 0
@@ -683,7 +683,7 @@ Route110_TrickHouseEntrance_EventScript_16185F:: @ 816185F
end
Route110_TrickHouseEntrance_EventScript_161888:: @ 8161888
- msgbox UnknownString_819C21F, 4
+ msgbox UnknownString_819C21F, MSGBOX_DEFAULT
releaseall
end
@@ -695,7 +695,7 @@ Route110_TrickHousePuzzle5_EventScript_161892:: @ 8161892
Route110_TrickHousePuzzle6_EventScript_161892:: @ 8161892
Route110_TrickHousePuzzle7_EventScript_161892:: @ 8161892
Route110_TrickHousePuzzle8_EventScript_161892:: @ 8161892
- msgbox Route110_TrickHousePuzzle1_Text_19C1FF, 4
+ msgbox Route110_TrickHousePuzzle1_Text_19C1FF, MSGBOX_DEFAULT
releaseall
end
@@ -711,13 +711,13 @@ Route110_TrickHousePuzzle8_EventScript_16189C:: @ 816189C
message Route110_TrickHousePuzzle1_Text_19C1B8
waitfanfare
waitmessage
- msgbox Route110_TrickHousePuzzle1_Text_19C1CB, 4
+ msgbox Route110_TrickHousePuzzle1_Text_19C1CB, MSGBOX_DEFAULT
releaseall
end
Route110_TrickHouseEntrance_EventScript_1618B0:: @ 81618B0
lockall
- msgbox Route110_TrickHouseEntrance_Text_19BA56, 4
+ msgbox Route110_TrickHouseEntrance_Text_19BA56, MSGBOX_DEFAULT
releaseall
compare VAR_TRICK_HOUSE_ROOMS_COMPLETED, 0
call_if_eq Route110_TrickHouseEntrance_EventScript_1618E1
diff --git a/data/maps/Route110_TrickHousePuzzle1/scripts.inc b/data/maps/Route110_TrickHousePuzzle1/scripts.inc
index 690df6056..950392e84 100644
--- a/data/maps/Route110_TrickHousePuzzle1/scripts.inc
+++ b/data/maps/Route110_TrickHousePuzzle1/scripts.inc
@@ -25,15 +25,15 @@ Route110_TrickHousePuzzle1_EventScript_161D26:: @ 8161D26
Route110_TrickHousePuzzle1_EventScript_161D31:: @ 8161D31
trainerbattle_single TRAINER_SALLY, Route110_TrickHousePuzzle1_Text_19CB4F, Route110_TrickHousePuzzle1_Text_19CB93
- msgbox Route110_TrickHousePuzzle1_Text_19CBAB, 6
+ msgbox Route110_TrickHousePuzzle1_Text_19CBAB, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle1_EventScript_161D48:: @ 8161D48
trainerbattle_single TRAINER_EDDIE, Route110_TrickHousePuzzle1_Text_19CBD6, Route110_TrickHousePuzzle1_Text_19CC06
- msgbox Route110_TrickHousePuzzle1_Text_19CC1B, 6
+ msgbox Route110_TrickHousePuzzle1_Text_19CC1B, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle1_EventScript_161D5F:: @ 8161D5F
trainerbattle_single TRAINER_ROBIN, Route110_TrickHousePuzzle1_Text_19CC68, Route110_TrickHousePuzzle1_Text_19CC86
- msgbox Route110_TrickHousePuzzle1_Text_19CCAA, 6
+ msgbox Route110_TrickHousePuzzle1_Text_19CCAA, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route110_TrickHousePuzzle2/scripts.inc b/data/maps/Route110_TrickHousePuzzle2/scripts.inc
index 457e64a2f..d2456d823 100644
--- a/data/maps/Route110_TrickHousePuzzle2/scripts.inc
+++ b/data/maps/Route110_TrickHousePuzzle2/scripts.inc
@@ -91,15 +91,15 @@ Route110_TrickHousePuzzle2_EventScript_161E65:: @ 8161E65
Route110_TrickHousePuzzle2_EventScript_161E78:: @ 8161E78
trainerbattle_single TRAINER_TED, Route110_TrickHousePuzzle2_Text_19CD46, Route110_TrickHousePuzzle2_Text_19CD66
- msgbox Route110_TrickHousePuzzle2_Text_19CD91, 6
+ msgbox Route110_TrickHousePuzzle2_Text_19CD91, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle2_EventScript_161E8F:: @ 8161E8F
trainerbattle_single TRAINER_PAUL, Route110_TrickHousePuzzle2_Text_19CDBF, Route110_TrickHousePuzzle2_Text_19CDF0
- msgbox Route110_TrickHousePuzzle2_Text_19CE0D, 6
+ msgbox Route110_TrickHousePuzzle2_Text_19CE0D, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle2_EventScript_161EA6:: @ 8161EA6
trainerbattle_single TRAINER_GEORGIA, Route110_TrickHousePuzzle2_Text_19CE52, Route110_TrickHousePuzzle2_Text_19CE98
- msgbox Route110_TrickHousePuzzle2_Text_19CEB8, 6
+ msgbox Route110_TrickHousePuzzle2_Text_19CEB8, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route110_TrickHousePuzzle3/scripts.inc b/data/maps/Route110_TrickHousePuzzle3/scripts.inc
index 621277a19..30446e7e6 100644
--- a/data/maps/Route110_TrickHousePuzzle3/scripts.inc
+++ b/data/maps/Route110_TrickHousePuzzle3/scripts.inc
@@ -382,15 +382,15 @@ Route110_TrickHousePuzzle3_EventScript_1626FD:: @ 81626FD
Route110_TrickHousePuzzle3_EventScript_162708:: @ 8162708
trainerbattle_single TRAINER_JUSTIN, Route110_TrickHousePuzzle3_Text_19CF76, Route110_TrickHousePuzzle3_Text_19CF9D
- msgbox Route110_TrickHousePuzzle3_Text_19CFE6, 6
+ msgbox Route110_TrickHousePuzzle3_Text_19CFE6, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle3_EventScript_16271F:: @ 816271F
trainerbattle_single TRAINER_MARTHA, Route110_TrickHousePuzzle3_Text_19D026, Route110_TrickHousePuzzle3_Text_19D065
- msgbox Route110_TrickHousePuzzle3_Text_19D07A, 6
+ msgbox Route110_TrickHousePuzzle3_Text_19D07A, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle3_EventScript_162736:: @ 8162736
trainerbattle_single TRAINER_ALAN, Route110_TrickHousePuzzle3_Text_19D0AE, Route110_TrickHousePuzzle3_Text_19D0F0
- msgbox Route110_TrickHousePuzzle3_Text_19D110, 6
+ msgbox Route110_TrickHousePuzzle3_Text_19D110, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route110_TrickHousePuzzle4/scripts.inc b/data/maps/Route110_TrickHousePuzzle4/scripts.inc
index c58c3c553..fdf7d6b1a 100644
--- a/data/maps/Route110_TrickHousePuzzle4/scripts.inc
+++ b/data/maps/Route110_TrickHousePuzzle4/scripts.inc
@@ -15,15 +15,15 @@ Route110_TrickHousePuzzle4_EventScript_162760:: @ 8162760
Route110_TrickHousePuzzle4_EventScript_16276B:: @ 816276B
trainerbattle_single TRAINER_CORA, Route110_TrickHousePuzzle4_Text_19D1DE, Route110_TrickHousePuzzle4_Text_19D21F
- msgbox Route110_TrickHousePuzzle4_Text_19D253, 6
+ msgbox Route110_TrickHousePuzzle4_Text_19D253, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_EventScript_162782:: @ 8162782
trainerbattle_single TRAINER_YUJI, Route110_TrickHousePuzzle4_Text_19D295, Route110_TrickHousePuzzle4_Text_19D2D1
- msgbox Route110_TrickHousePuzzle4_Text_19D306, 6
+ msgbox Route110_TrickHousePuzzle4_Text_19D306, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_EventScript_162799:: @ 8162799
trainerbattle_single TRAINER_JILL, Route110_TrickHousePuzzle4_Text_19D351, Route110_TrickHousePuzzle4_Text_19D380
- msgbox Route110_TrickHousePuzzle4_Text_19D386, 6
+ msgbox Route110_TrickHousePuzzle4_Text_19D386, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route110_TrickHousePuzzle5/scripts.inc b/data/maps/Route110_TrickHousePuzzle5/scripts.inc
index 51fdc9afb..87851a5cb 100644
--- a/data/maps/Route110_TrickHousePuzzle5/scripts.inc
+++ b/data/maps/Route110_TrickHousePuzzle5/scripts.inc
@@ -171,7 +171,7 @@ Route110_TrickHousePuzzle5_EventScript_16293F:: @ 816293F
call_if_eq Route110_TrickHousePuzzle5_EventScript_162E2B
compare VAR_TEMP_9, 3
call_if_eq Route110_TrickHousePuzzle5_EventScript_162E63
- msgbox Route110_TrickHousePuzzle5_Text_19D423, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D423, MSGBOX_DEFAULT
random 3
switch VAR_RESULT
case 0, Route110_TrickHousePuzzle5_EventScript_162B83
@@ -193,7 +193,7 @@ Route110_TrickHousePuzzle5_EventScript_1629B3:: @ 81629B3
call_if_eq Route110_TrickHousePuzzle5_EventScript_162ED3
compare VAR_TEMP_9, 3
call_if_eq Route110_TrickHousePuzzle5_EventScript_162F0B
- msgbox Route110_TrickHousePuzzle5_Text_19D636, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D636, MSGBOX_DEFAULT
random 3
switch VAR_RESULT
case 0, Route110_TrickHousePuzzle5_EventScript_162BEC
@@ -215,7 +215,7 @@ Route110_TrickHousePuzzle5_EventScript_162A27:: @ 8162A27
call_if_eq Route110_TrickHousePuzzle5_EventScript_162E2B
compare VAR_TEMP_9, 3
call_if_eq Route110_TrickHousePuzzle5_EventScript_162E63
- msgbox Route110_TrickHousePuzzle5_Text_19D7D3, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D7D3, MSGBOX_DEFAULT
random 3
switch VAR_RESULT
case 0, Route110_TrickHousePuzzle5_EventScript_162C55
@@ -237,7 +237,7 @@ Route110_TrickHousePuzzle5_EventScript_162A9B:: @ 8162A9B
call_if_eq Route110_TrickHousePuzzle5_EventScript_162E2B
compare VAR_TEMP_9, 3
call_if_eq Route110_TrickHousePuzzle5_EventScript_162E63
- msgbox Route110_TrickHousePuzzle5_Text_19D93D, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D93D, MSGBOX_DEFAULT
random 3
switch VAR_RESULT
case 0, Route110_TrickHousePuzzle5_EventScript_162CBE
@@ -259,7 +259,7 @@ Route110_TrickHousePuzzle5_EventScript_162B0F:: @ 8162B0F
call_if_eq Route110_TrickHousePuzzle5_EventScript_162ED3
compare VAR_TEMP_9, 3
call_if_eq Route110_TrickHousePuzzle5_EventScript_162F0B
- msgbox Route110_TrickHousePuzzle5_Text_19DA9A, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19DA9A, MSGBOX_DEFAULT
random 3
switch VAR_RESULT
case 0, Route110_TrickHousePuzzle5_EventScript_162D27
@@ -268,7 +268,7 @@ Route110_TrickHousePuzzle5_EventScript_162B0F:: @ 8162B0F
end
Route110_TrickHousePuzzle5_EventScript_162B83:: @ 8162B83
- msgbox Route110_TrickHousePuzzle5_Text_19D4AE, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D4AE, MSGBOX_DEFAULT
multichoice 0, 0, 25, 1
switch VAR_RESULT
case 1, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -276,7 +276,7 @@ Route110_TrickHousePuzzle5_EventScript_162B83:: @ 8162B83
end
Route110_TrickHousePuzzle5_EventScript_162BA6:: @ 8162BA6
- msgbox Route110_TrickHousePuzzle5_Text_19D501, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D501, MSGBOX_DEFAULT
multichoice 0, 0, 26, 1
switch VAR_RESULT
case 0, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -284,7 +284,7 @@ Route110_TrickHousePuzzle5_EventScript_162BA6:: @ 8162BA6
end
Route110_TrickHousePuzzle5_EventScript_162BC9:: @ 8162BC9
- msgbox Route110_TrickHousePuzzle5_Text_19D553, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D553, MSGBOX_DEFAULT
multichoice 0, 0, 27, 1
switch VAR_RESULT
case 1, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -292,7 +292,7 @@ Route110_TrickHousePuzzle5_EventScript_162BC9:: @ 8162BC9
end
Route110_TrickHousePuzzle5_EventScript_162BEC:: @ 8162BEC
- msgbox Route110_TrickHousePuzzle5_Text_19D68E, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D68E, MSGBOX_DEFAULT
multichoice 0, 0, 28, 1
switch VAR_RESULT
case 2, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -300,7 +300,7 @@ Route110_TrickHousePuzzle5_EventScript_162BEC:: @ 8162BEC
end
Route110_TrickHousePuzzle5_EventScript_162C0F:: @ 8162C0F
- msgbox Route110_TrickHousePuzzle5_Text_19D6EC, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D6EC, MSGBOX_DEFAULT
multichoice 0, 0, 29, 1
switch VAR_RESULT
case 0, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -308,7 +308,7 @@ Route110_TrickHousePuzzle5_EventScript_162C0F:: @ 8162C0F
end
Route110_TrickHousePuzzle5_EventScript_162C32:: @ 8162C32
- msgbox Route110_TrickHousePuzzle5_Text_19D745, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D745, MSGBOX_DEFAULT
multichoice 0, 0, 30, 1
switch VAR_RESULT
case 0, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -316,7 +316,7 @@ Route110_TrickHousePuzzle5_EventScript_162C32:: @ 8162C32
end
Route110_TrickHousePuzzle5_EventScript_162C55:: @ 8162C55
- msgbox Route110_TrickHousePuzzle5_Text_19D81B, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D81B, MSGBOX_DEFAULT
multichoice 0, 0, 31, 1
switch VAR_RESULT
case 1, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -324,7 +324,7 @@ Route110_TrickHousePuzzle5_EventScript_162C55:: @ 8162C55
end
Route110_TrickHousePuzzle5_EventScript_162C78:: @ 8162C78
- msgbox Route110_TrickHousePuzzle5_Text_19D865, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D865, MSGBOX_DEFAULT
multichoice 0, 0, 32, 1
switch VAR_RESULT
case 2, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -332,7 +332,7 @@ Route110_TrickHousePuzzle5_EventScript_162C78:: @ 8162C78
end
Route110_TrickHousePuzzle5_EventScript_162C9B:: @ 8162C9B
- msgbox Route110_TrickHousePuzzle5_Text_19D8BA, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D8BA, MSGBOX_DEFAULT
multichoice 0, 0, 33, 1
switch VAR_RESULT
case 1, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -340,7 +340,7 @@ Route110_TrickHousePuzzle5_EventScript_162C9B:: @ 8162C9B
end
Route110_TrickHousePuzzle5_EventScript_162CBE:: @ 8162CBE
- msgbox Route110_TrickHousePuzzle5_Text_19D987, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D987, MSGBOX_DEFAULT
multichoice 0, 0, 34, 1
switch VAR_RESULT
case 1, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -348,7 +348,7 @@ Route110_TrickHousePuzzle5_EventScript_162CBE:: @ 8162CBE
end
Route110_TrickHousePuzzle5_EventScript_162CE1:: @ 8162CE1
- msgbox Route110_TrickHousePuzzle5_Text_19D9DC, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D9DC, MSGBOX_DEFAULT
multichoice 0, 0, 35, 1
switch VAR_RESULT
case 0, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -356,7 +356,7 @@ Route110_TrickHousePuzzle5_EventScript_162CE1:: @ 8162CE1
end
Route110_TrickHousePuzzle5_EventScript_162D04:: @ 8162D04
- msgbox Route110_TrickHousePuzzle5_Text_19DA1D, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19DA1D, MSGBOX_DEFAULT
multichoice 0, 0, 36, 1
switch VAR_RESULT
case 1, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -364,7 +364,7 @@ Route110_TrickHousePuzzle5_EventScript_162D04:: @ 8162D04
end
Route110_TrickHousePuzzle5_EventScript_162D27:: @ 8162D27
- msgbox Route110_TrickHousePuzzle5_Text_19DAEF, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19DAEF, MSGBOX_DEFAULT
multichoice 0, 0, 37, 1
switch VAR_RESULT
case 1, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -372,7 +372,7 @@ Route110_TrickHousePuzzle5_EventScript_162D27:: @ 8162D27
end
Route110_TrickHousePuzzle5_EventScript_162D4A:: @ 8162D4A
- msgbox Route110_TrickHousePuzzle5_Text_19DB43, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19DB43, MSGBOX_DEFAULT
multichoice 0, 0, 38, 1
switch VAR_RESULT
case 0, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -380,7 +380,7 @@ Route110_TrickHousePuzzle5_EventScript_162D4A:: @ 8162D4A
end
Route110_TrickHousePuzzle5_EventScript_162D6D:: @ 8162D6D
- msgbox Route110_TrickHousePuzzle5_Text_19DB97, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19DB97, MSGBOX_DEFAULT
multichoice 0, 0, 39, 1
switch VAR_RESULT
case 2, Route110_TrickHousePuzzle5_EventScript_162DDF
@@ -390,16 +390,16 @@ Route110_TrickHousePuzzle5_EventScript_162D6D:: @ 8162D6D
Route110_TrickHousePuzzle5_EventScript_162D90:: @ 8162D90
waitse
playse SE_HAZURE
- msgbox Route110_TrickHousePuzzle5_Text_19D5CF, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D5CF, MSGBOX_DEFAULT
applymovement 1, Route110_TrickHousePuzzle5_Movement_16309F
applymovement 2, Route110_TrickHousePuzzle5_Movement_16309F
applymovement 3, Route110_TrickHousePuzzle5_Movement_16309F
applymovement 4, Route110_TrickHousePuzzle5_Movement_16309F
applymovement 5, Route110_TrickHousePuzzle5_Movement_16309F
- msgbox Route110_TrickHousePuzzle5_Text_19D5ED, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D5ED, MSGBOX_DEFAULT
waitmovement 0
closemessage
- msgbox Route110_TrickHousePuzzle5_Text_19D615, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D615, MSGBOX_DEFAULT
closemessage
warp MAP_ROUTE110_TRICK_HOUSE_PUZZLE5, 255, 0, 21
waitstate
@@ -413,7 +413,7 @@ Route110_TrickHousePuzzle5_EventScript_162DDF:: @ 8162DDF
end
Route110_TrickHousePuzzle5_EventScript_162DE9:: @ 8162DE9
- msgbox Route110_TrickHousePuzzle5_Text_19D599, 4
+ msgbox Route110_TrickHousePuzzle5_Text_19D599, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/Route110_TrickHousePuzzle6/scripts.inc b/data/maps/Route110_TrickHousePuzzle6/scripts.inc
index 0478119e1..da37ff54c 100644
--- a/data/maps/Route110_TrickHousePuzzle6/scripts.inc
+++ b/data/maps/Route110_TrickHousePuzzle6/scripts.inc
@@ -29,15 +29,15 @@ Route110_TrickHousePuzzle6_EventScript_1630FC:: @ 81630FC
Route110_TrickHousePuzzle6_EventScript_163107:: @ 8163107
trainerbattle_single TRAINER_SOPHIA, Route110_TrickHousePuzzle6_Text_19DC87, Route110_TrickHousePuzzle6_Text_19DCC6
- msgbox Route110_TrickHousePuzzle6_Text_19DCE7, 6
+ msgbox Route110_TrickHousePuzzle6_Text_19DCE7, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle6_EventScript_16311E:: @ 816311E
trainerbattle_single TRAINER_BENNY, Route110_TrickHousePuzzle6_Text_19DD49, Route110_TrickHousePuzzle6_Text_19DD83
- msgbox Route110_TrickHousePuzzle6_Text_19DD96, 6
+ msgbox Route110_TrickHousePuzzle6_Text_19DD96, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle6_EventScript_163135:: @ 8163135
trainerbattle_single TRAINER_SEBASTIAN, Route110_TrickHousePuzzle6_Text_19DDCF, Route110_TrickHousePuzzle6_Text_19DDFE
- msgbox Route110_TrickHousePuzzle6_Text_19DE44, 6
+ msgbox Route110_TrickHousePuzzle6_Text_19DE44, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route110_TrickHousePuzzle7/scripts.inc b/data/maps/Route110_TrickHousePuzzle7/scripts.inc
index a26aff40b..5a87149d8 100644
--- a/data/maps/Route110_TrickHousePuzzle7/scripts.inc
+++ b/data/maps/Route110_TrickHousePuzzle7/scripts.inc
@@ -220,15 +220,15 @@ Route110_TrickHousePuzzle7_EventScript_1633D1:: @ 81633D1
Route110_TrickHousePuzzle7_EventScript_1633D6:: @ 81633D6
trainerbattle_single TRAINER_JOSHUA, Route110_TrickHousePuzzle7_Text_19DF0B, Route110_TrickHousePuzzle7_Text_19DF4B
- msgbox Route110_TrickHousePuzzle7_Text_19DF7E, 6
+ msgbox Route110_TrickHousePuzzle7_Text_19DF7E, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_1633ED:: @ 81633ED
trainerbattle_single TRAINER_PATRICIA, Route110_TrickHousePuzzle7_Text_19DFBB, Route110_TrickHousePuzzle7_Text_19DFF2
- msgbox Route110_TrickHousePuzzle7_Text_19E00F, 6
+ msgbox Route110_TrickHousePuzzle7_Text_19E00F, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_163404:: @ 8163404
trainerbattle_single TRAINER_ALEXIS, Route110_TrickHousePuzzle7_Text_19E054, Route110_TrickHousePuzzle7_Text_19E098
- msgbox Route110_TrickHousePuzzle7_Text_19E0B2, 6
+ msgbox Route110_TrickHousePuzzle7_Text_19E0B2, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route110_TrickHousePuzzle8/scripts.inc b/data/maps/Route110_TrickHousePuzzle8/scripts.inc
index 8159e4343..fd8dbfb85 100644
--- a/data/maps/Route110_TrickHousePuzzle8/scripts.inc
+++ b/data/maps/Route110_TrickHousePuzzle8/scripts.inc
@@ -15,15 +15,15 @@ Route110_TrickHousePuzzle8_EventScript_16342E:: @ 816342E
Route110_TrickHousePuzzle8_EventScript_163439:: @ 8163439
trainerbattle_single TRAINER_VINCENT, Route110_TrickHousePuzzle8_Text_19E178, Route110_TrickHousePuzzle8_Text_19E1A1
- msgbox Route110_TrickHousePuzzle8_Text_19E1C5, 6
+ msgbox Route110_TrickHousePuzzle8_Text_19E1C5, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle8_EventScript_163450:: @ 8163450
trainerbattle_single TRAINER_ELAINE, Route110_TrickHousePuzzle8_Text_19E201, Route110_TrickHousePuzzle8_Text_19E22C
- msgbox Route110_TrickHousePuzzle8_Text_19E24C, 6
+ msgbox Route110_TrickHousePuzzle8_Text_19E24C, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle8_EventScript_163467:: @ 8163467
trainerbattle_single TRAINER_LEROY, Route110_TrickHousePuzzle8_Text_19E284, Route110_TrickHousePuzzle8_Text_19E2C1
- msgbox Route110_TrickHousePuzzle8_Text_19E2EE, 6
+ msgbox Route110_TrickHousePuzzle8_Text_19E2EE, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route111/scripts.inc b/data/maps/Route111/scripts.inc
index 5c7f361cc..d8fab138a 100644
--- a/data/maps/Route111/scripts.inc
+++ b/data/maps/Route111/scripts.inc
@@ -65,7 +65,7 @@ Route111_EventScript_150023:: @ 8150023
end
Route111_EventScript_15005F:: @ 815005F
- msgbox Route111_Text_16FACE, 4
+ msgbox Route111_Text_16FACE, MSGBOX_DEFAULT
releaseall
end
@@ -87,7 +87,7 @@ Route111_EventScript_150069:: @ 8150069
end
Route111_EventScript_1500A5:: @ 81500A5
- msgbox Route111_Text_16FB67, 4
+ msgbox Route111_Text_16FB67, MSGBOX_DEFAULT
releaseall
end
@@ -120,18 +120,18 @@ Route111_EventScript_1500C5:: @ 81500C5
faceplayer
dotimebasedevents
goto_if_set FLAG_DAILY_RECEIVED_BERRY_ROUTE111, Route111_EventScript_150100
- msgbox Route111_Text_1C56F0, 4
+ msgbox Route111_Text_1C56F0, MSGBOX_DEFAULT
giveitem ITEM_RAZZ_BERRY
compare VAR_RESULT, 0
goto_if_eq Route111_EventScript_1A029B
setflag FLAG_DAILY_RECEIVED_BERRY_ROUTE111
special GetPlayerBigGuyGirlString
- msgbox Route111_Text_1C5781, 4
+ msgbox Route111_Text_1C5781, MSGBOX_DEFAULT
release
end
Route111_EventScript_150100:: @ 8150100
- msgbox Route111_Text_1C57D2, 4
+ msgbox Route111_Text_1C57D2, MSGBOX_DEFAULT
release
end
@@ -168,7 +168,7 @@ Route111_EventScript_15013A:: @ 815013A
end
Route111_EventScript_150151:: @ 8150151
- msgbox Route111_Text_1A0F93, 4
+ msgbox Route111_Text_1A0F93, MSGBOX_DEFAULT
closemessage
compare VAR_0x8004, 0
call_if_eq Route111_EventScript_150188
@@ -237,17 +237,17 @@ Route111_EventScript_1501D1:: @ 81501D1
msgbox Route111_Text_16F705, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route111_EventScript_1501F3
- msgbox Route111_Text_16F785, 4
+ msgbox Route111_Text_16F785, MSGBOX_DEFAULT
release
end
Route111_EventScript_1501F3:: @ 81501F3
- msgbox Route111_Text_16F7B3, 4
+ msgbox Route111_Text_16F7B3, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_VICTOR, Route111_Text_16F7D2
applymovement 1, Route111_Movement_1A0841
waitmovement 0
call Route111_EventScript_150348
- msgbox Route111_Text_16F7FF, 4
+ msgbox Route111_Text_16F7FF, MSGBOX_DEFAULT
closemessage
applymovement 1, Route111_Movement_150356
waitmovement 0
@@ -260,12 +260,12 @@ Route111_EventScript_1501F3:: @ 81501F3
applymovement 2, Route111_Movement_150359
waitmovement 0
call Route111_EventScript_15034F
- msgbox Route111_Text_16F82D, 4
+ msgbox Route111_Text_16F82D, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_VICTORIA, Route111_Text_16F8A6
applymovement 2, Route111_Movement_1A0841
waitmovement 0
call Route111_EventScript_150348
- msgbox Route111_Text_16F8D5, 4
+ msgbox Route111_Text_16F8D5, MSGBOX_DEFAULT
closemessage
applymovement 2, Route111_Movement_150356
waitmovement 0
@@ -278,12 +278,12 @@ Route111_EventScript_1501F3:: @ 81501F3
applymovement 3, Route111_Movement_150359
waitmovement 0
call Route111_EventScript_15034F
- msgbox Route111_Text_16F90E, 4
+ msgbox Route111_Text_16F90E, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_VIVI, Route111_Text_16F956
applymovement 3, Route111_Movement_1A0841
waitmovement 0
call Route111_EventScript_150348
- msgbox Route111_Text_16F96C, 4
+ msgbox Route111_Text_16F96C, MSGBOX_DEFAULT
closemessage
applymovement 3, Route111_Movement_150356
waitmovement 0
@@ -296,9 +296,9 @@ Route111_EventScript_1501F3:: @ 81501F3
applymovement 4, Route111_Movement_150359
waitmovement 0
call Route111_EventScript_15034F
- msgbox Route111_Text_16F991, 4
+ msgbox Route111_Text_16F991, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_VICKY, Route111_Text_16F9EC
- msgbox Route111_Text_16FA22, 4
+ msgbox Route111_Text_16FA22, MSGBOX_DEFAULT
closemessage
applymovement 4, Route111_Movement_1A0841
waitmovement 0
@@ -336,55 +336,55 @@ Route111_Movement_15035B:: @ 815035B
end_movement
Route111_EventScript_15035F:: @ 815035F
- msgbox Route111_Text_16FC9C, 3
+ msgbox Route111_Text_16FC9C, MSGBOX_SIGN
end
Route111_EventScript_150368:: @ 8150368
- msgbox Route111_Text_16FCB6, 3
+ msgbox Route111_Text_16FCB6, MSGBOX_SIGN
end
Route111_EventScript_150371:: @ 8150371
- msgbox Route111_Text_16FCEF, 3
+ msgbox Route111_Text_16FCEF, MSGBOX_SIGN
end
Route111_EventScript_15037A:: @ 815037A
- msgbox Route111_Text_16FD05, 3
+ msgbox Route111_Text_16FD05, MSGBOX_SIGN
end
Route111_EventScript_150383:: @ 8150383
- msgbox Route111_Text_16FD1B, 3
+ msgbox Route111_Text_16FD1B, MSGBOX_SIGN
end
Route111_EventScript_15038C:: @ 815038C
- msgbox Route111_Text_16FD55, 3
+ msgbox Route111_Text_16FD55, MSGBOX_SIGN
end
Route111_EventScript_150395:: @ 8150395
- msgbox Route111_Text_16FB86, 2
+ msgbox Route111_Text_16FB86, MSGBOX_NPC
end
Route111_EventScript_15039E:: @ 815039E
- msgbox Route111_Text_16FC3A, 2
+ msgbox Route111_Text_16FC3A, MSGBOX_NPC
end
Route111_EventScript_1503A7:: @ 81503A7
trainerbattle_single TRAINER_DREW, Route111_Text_1BAB4B, Route111_Text_1BABC7
- msgbox Route111_Text_1BAC10, 6
+ msgbox Route111_Text_1BAC10, MSGBOX_AUTOCLOSE
end
Route111_EventScript_1503BE:: @ 81503BE
trainerbattle_single TRAINER_HEIDI, Route111_Text_1BAC60, Route111_Text_1BACC5
- msgbox Route111_Text_1BACD8, 6
+ msgbox Route111_Text_1BACD8, MSGBOX_AUTOCLOSE
end
Route111_EventScript_1503D5:: @ 81503D5
trainerbattle_single TRAINER_CLIFF, Route111_Text_1BAD4B, Route111_Text_1BADA3
- msgbox Route111_Text_1BADC2, 6
+ msgbox Route111_Text_1BADC2, MSGBOX_AUTOCLOSE
end
Route111_EventScript_1503EC:: @ 81503EC
trainerbattle_single TRAINER_BECKY, Route111_Text_1BAE24, Route111_Text_1BAE6E
- msgbox Route111_Text_1BAE81, 6
+ msgbox Route111_Text_1BAE81, MSGBOX_AUTOCLOSE
end
Route111_EventScript_150403:: @ 8150403
@@ -392,27 +392,27 @@ Route111_EventScript_150403:: @ 8150403
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route111_EventScript_15042A
- msgbox Route111_Text_1BAF5B, 6
+ msgbox Route111_Text_1BAF5B, MSGBOX_AUTOCLOSE
end
Route111_EventScript_15042A:: @ 815042A
trainerbattle_rematch TRAINER_DUSTY_1, Route111_Text_1BAFC1, Route111_Text_1BB034
- msgbox Route111_Text_1BB070, 6
+ msgbox Route111_Text_1BB070, MSGBOX_AUTOCLOSE
end
Route111_EventScript_150441:: @ 8150441
trainerbattle_single TRAINER_TRAVIS, Route111_Text_1BB111, Route111_Text_1BB140
- msgbox Route111_Text_1BB15B, 6
+ msgbox Route111_Text_1BB15B, MSGBOX_AUTOCLOSE
end
Route111_EventScript_150458:: @ 8150458
trainerbattle_single TRAINER_IRENE, Route111_Text_1BB199, Route111_Text_1BB1D8
- msgbox Route111_Text_1BB1F6, 6
+ msgbox Route111_Text_1BB1F6, MSGBOX_AUTOCLOSE
end
Route111_EventScript_15046F:: @ 815046F
trainerbattle_single TRAINER_DAISUKE, Route111_Text_1BB250, Route111_Text_1BB27E
- msgbox Route111_Text_1BB290, 6
+ msgbox Route111_Text_1BB290, MSGBOX_AUTOCLOSE
end
Route111_EventScript_150486:: @ 8150486
@@ -420,12 +420,12 @@ Route111_EventScript_150486:: @ 8150486
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route111_EventScript_1504AD
- msgbox Route111_Text_1BB33E, 6
+ msgbox Route111_Text_1BB33E, MSGBOX_AUTOCLOSE
end
Route111_EventScript_1504AD:: @ 81504AD
trainerbattle_rematch TRAINER_WILTON_1, Route111_Text_1BB3A7, Route111_Text_1BB3FA
- msgbox Route111_Text_1BB40E, 6
+ msgbox Route111_Text_1BB40E, MSGBOX_AUTOCLOSE
end
Route111_EventScript_1504C4:: @ 81504C4
@@ -433,10 +433,10 @@ Route111_EventScript_1504C4:: @ 81504C4
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route111_EventScript_1504EB
- msgbox Route111_Text_1BB4CE, 6
+ msgbox Route111_Text_1BB4CE, MSGBOX_AUTOCLOSE
end
Route111_EventScript_1504EB:: @ 81504EB
trainerbattle_rematch TRAINER_BROOKE_1, Route111_Text_1BB529, Route111_Text_1BB5A2
- msgbox Route111_Text_1BB5C1, 6
+ msgbox Route111_Text_1BB5C1, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route111_OldLadysRestStop/scripts.inc b/data/maps/Route111_OldLadysRestStop/scripts.inc
index 277b0402c..8c668c3e1 100644
--- a/data/maps/Route111_OldLadysRestStop/scripts.inc
+++ b/data/maps/Route111_OldLadysRestStop/scripts.inc
@@ -17,7 +17,7 @@ Route111_OldLadysRestStop_EventScript_15BFDB:: @ 815BFDB
end
Route111_OldLadysRestStop_EventScript_15BFFC:: @ 815BFFC
- msgbox Route111_OldLadysRestStop_Text_192423, 4
+ msgbox Route111_OldLadysRestStop_Text_192423, MSGBOX_DEFAULT
closemessage
call Route111_OldLadysRestStop_EventScript_1A02CA
msgbox Route111_OldLadysRestStop_Text_19244D, MSGBOX_YESNO
@@ -28,6 +28,6 @@ Route111_OldLadysRestStop_EventScript_15BFFC:: @ 815BFFC
end
Route111_OldLadysRestStop_EventScript_15C029:: @ 815C029
- msgbox Route111_OldLadysRestStop_Text_1924C6, 4
+ msgbox Route111_OldLadysRestStop_Text_1924C6, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/Route111_WinstrateFamilysHouse/scripts.inc b/data/maps/Route111_WinstrateFamilysHouse/scripts.inc
index 20a1a1e89..24eee1218 100644
--- a/data/maps/Route111_WinstrateFamilysHouse/scripts.inc
+++ b/data/maps/Route111_WinstrateFamilysHouse/scripts.inc
@@ -5,7 +5,7 @@ Route111_WinstrateFamilysHouse_EventScript_15BF25:: @ 815BF25
lock
faceplayer
setvar VAR_0x8008, 2
- msgbox Route111_WinstrateFamilysHouse_Text_191FCE, 4
+ msgbox Route111_WinstrateFamilysHouse_Text_191FCE, MSGBOX_DEFAULT
goto Route111_WinstrateFamilysHouse_EventScript_15BFC4
end
@@ -14,7 +14,7 @@ Route111_WinstrateFamilysHouse_EventScript_15BF3A:: @ 815BF3A
faceplayer
setvar VAR_0x8008, 3
goto_if_set FLAG_RECEIVED_MACHO_BRACE, Route111_WinstrateFamilysHouse_EventScript_15BF72
- msgbox Route111_WinstrateFamilysHouse_Text_19208A, 4
+ msgbox Route111_WinstrateFamilysHouse_Text_19208A, MSGBOX_DEFAULT
giveitem ITEM_MACHO_BRACE
compare VAR_RESULT, 0
goto_if_eq Route111_WinstrateFamilysHouse_EventScript_1A029B
@@ -23,7 +23,7 @@ Route111_WinstrateFamilysHouse_EventScript_15BF3A:: @ 815BF3A
end
Route111_WinstrateFamilysHouse_EventScript_15BF72:: @ 815BF72
- msgbox Route111_WinstrateFamilysHouse_Text_19214D, 4
+ msgbox Route111_WinstrateFamilysHouse_Text_19214D, MSGBOX_DEFAULT
goto Route111_WinstrateFamilysHouse_EventScript_15BFC4
end
@@ -31,7 +31,7 @@ Route111_WinstrateFamilysHouse_EventScript_15BF80:: @ 815BF80
lock
faceplayer
setvar VAR_0x8008, 1
- msgbox Route111_WinstrateFamilysHouse_Text_192190, 4
+ msgbox Route111_WinstrateFamilysHouse_Text_192190, MSGBOX_DEFAULT
goto Route111_WinstrateFamilysHouse_EventScript_15BFC4
end
@@ -40,13 +40,13 @@ Route111_WinstrateFamilysHouse_EventScript_15BF95:: @ 815BF95
faceplayer
setvar VAR_0x8008, 4
goto_if_set FLAG_TEMP_4, Route111_WinstrateFamilysHouse_EventScript_15BFB6
- msgbox Route111_WinstrateFamilysHouse_Text_192219, 4
+ msgbox Route111_WinstrateFamilysHouse_Text_192219, MSGBOX_DEFAULT
setflag FLAG_TEMP_4
goto Route111_WinstrateFamilysHouse_EventScript_15BFC4
end
Route111_WinstrateFamilysHouse_EventScript_15BFB6:: @ 815BFB6
- msgbox Route111_WinstrateFamilysHouse_Text_192334, 4
+ msgbox Route111_WinstrateFamilysHouse_Text_192334, MSGBOX_DEFAULT
goto Route111_WinstrateFamilysHouse_EventScript_15BFC4
end
diff --git a/data/maps/Route112/scripts.inc b/data/maps/Route112/scripts.inc
index f3464e139..0f51dc827 100644
--- a/data/maps/Route112/scripts.inc
+++ b/data/maps/Route112/scripts.inc
@@ -8,32 +8,32 @@ Route112_MapScript1_150508:: @ 8150508
end
Route112_EventScript_150513:: @ 8150513
- msgbox Route112_Text_16FDF0, 2
+ msgbox Route112_Text_16FDF0, MSGBOX_NPC
end
Route112_EventScript_15051C:: @ 815051C
- msgbox Route112_Text_16FE3E, 2
+ msgbox Route112_Text_16FE3E, MSGBOX_NPC
end
Route112_EventScript_150525:: @ 8150525
- msgbox Route112_Text_16FEED, 3
+ msgbox Route112_Text_16FEED, MSGBOX_SIGN
end
Route112_EventScript_15052E:: @ 815052E
- msgbox Route112_Text_16FF19, 3
+ msgbox Route112_Text_16FF19, MSGBOX_SIGN
end
Route112_EventScript_150537:: @ 8150537
- msgbox Route112_Text_16FF64, 3
+ msgbox Route112_Text_16FF64, MSGBOX_SIGN
end
Route112_EventScript_150540:: @ 8150540
- msgbox Route112_Text_16FE7A, 2
+ msgbox Route112_Text_16FE7A, MSGBOX_NPC
end
Route112_EventScript_150549:: @ 8150549
trainerbattle_single TRAINER_BRICE, Route112_Text_1BB619, Route112_Text_1BB655
- msgbox Route112_Text_1BB667, 6
+ msgbox Route112_Text_1BB667, MSGBOX_AUTOCLOSE
end
Route112_EventScript_150560:: @ 8150560
@@ -41,20 +41,20 @@ Route112_EventScript_150560:: @ 8150560
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route112_EventScript_150587
- msgbox Route112_Text_1BB721, 6
+ msgbox Route112_Text_1BB721, MSGBOX_AUTOCLOSE
end
Route112_EventScript_150587:: @ 8150587
trainerbattle_rematch TRAINER_TRENT_1, Route112_Text_1BB7C7, Route112_Text_1BB801
- msgbox Route112_Text_1BB819, 6
+ msgbox Route112_Text_1BB819, MSGBOX_AUTOCLOSE
end
Route112_EventScript_15059E:: @ 815059E
trainerbattle_single TRAINER_LARRY, Route112_Text_1BB893, Route112_Text_1BB8B6
- msgbox Route112_Text_1BB8BE, 6
+ msgbox Route112_Text_1BB8BE, MSGBOX_AUTOCLOSE
end
Route112_EventScript_1505B5:: @ 81505B5
trainerbattle_single TRAINER_CAROL, Route112_Text_1BB8F0, Route112_Text_1BB942
- msgbox Route112_Text_1BB958, 6
+ msgbox Route112_Text_1BB958, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route112_CableCarStation/scripts.inc b/data/maps/Route112_CableCarStation/scripts.inc
index 2460aada9..3561f96e3 100644
--- a/data/maps/Route112_CableCarStation/scripts.inc
+++ b/data/maps/Route112_CableCarStation/scripts.inc
@@ -40,7 +40,7 @@ Route112_CableCarStation_EventScript_15C08C:: @ 815C08C
end
Route112_CableCarStation_EventScript_15C0AD:: @ 815C0AD
- msgbox Route112_CableCarStation_Text_1925A9, 4
+ msgbox Route112_CableCarStation_Text_1925A9, MSGBOX_DEFAULT
closemessage
applymovement 1, Route112_CableCarStation_Movement_15C0E6
applymovement 255, Route112_CableCarStation_Movement_15C0F0
@@ -55,7 +55,7 @@ Route112_CableCarStation_EventScript_15C0AD:: @ 815C0AD
end
Route112_CableCarStation_EventScript_15C0DC:: @ 815C0DC
- msgbox Route112_CableCarStation_Text_192548, 4
+ msgbox Route112_CableCarStation_Text_192548, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/Route113/scripts.inc b/data/maps/Route113/scripts.inc
index c7435bf3d..1fedf01fc 100644
--- a/data/maps/Route113/scripts.inc
+++ b/data/maps/Route113/scripts.inc
@@ -25,37 +25,37 @@ Route113_EventScript_150604:: @ 8150604
return
Route113_EventScript_150605:: @ 8150605
- msgbox Route113_Text_16FF7F, 2
+ msgbox Route113_Text_16FF7F, MSGBOX_NPC
end
Route113_EventScript_15060E:: @ 815060E
- msgbox Route113_Text_16FFEE, 2
+ msgbox Route113_Text_16FFEE, MSGBOX_NPC
end
Route113_EventScript_150617:: @ 8150617
- msgbox Route113_Text_170065, 3
+ msgbox Route113_Text_170065, MSGBOX_SIGN
end
Route113_EventScript_150620:: @ 8150620
- msgbox Route113_Text_17007B, 3
+ msgbox Route113_Text_17007B, MSGBOX_SIGN
end
Route113_EventScript_150629:: @ 8150629
- msgbox Route113_Text_17011D, 3
+ msgbox Route113_Text_17011D, MSGBOX_SIGN
end
Route113_EventScript_150632:: @ 8150632
- msgbox Route113_Text_170096, 3
+ msgbox Route113_Text_170096, MSGBOX_SIGN
end
Route113_EventScript_15063B:: @ 815063B
trainerbattle_single TRAINER_NEAL, Route113_Text_1BB9BA, Route113_Text_1BB9E6
- msgbox Route113_Text_1BB9FB, 6
+ msgbox Route113_Text_1BB9FB, MSGBOX_AUTOCLOSE
end
Route113_EventScript_150652:: @ 8150652
trainerbattle_single TRAINER_DILLON, Route113_Text_1BBA62, Route113_Text_1BBA9B
- msgbox Route113_Text_1BBAB7, 6
+ msgbox Route113_Text_1BBAB7, MSGBOX_AUTOCLOSE
end
Route113_EventScript_150669:: @ 8150669
@@ -63,12 +63,12 @@ Route113_EventScript_150669:: @ 8150669
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route113_EventScript_150690
- msgbox Route113_Text_1BBB9A, 6
+ msgbox Route113_Text_1BBB9A, MSGBOX_AUTOCLOSE
end
Route113_EventScript_150690:: @ 8150690
trainerbattle_rematch TRAINER_MADELINE_1, Route113_Text_1BBBCE, Route113_Text_1BBC0D
- msgbox Route113_Text_1BBC1C, 6
+ msgbox Route113_Text_1BBC1C, MSGBOX_AUTOCLOSE
end
Route113_EventScript_1506A7:: @ 81506A7
@@ -76,25 +76,25 @@ Route113_EventScript_1506A7:: @ 81506A7
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route113_EventScript_1506CE
- msgbox Route113_Text_1BBCAB, 6
+ msgbox Route113_Text_1BBCAB, MSGBOX_AUTOCLOSE
end
Route113_EventScript_1506CE:: @ 81506CE
trainerbattle_rematch TRAINER_LAO_1, Route113_Text_1BBCE6, Route113_Text_1BBD1D
- msgbox Route113_Text_1BBD38, 6
+ msgbox Route113_Text_1BBD38, MSGBOX_AUTOCLOSE
end
Route113_EventScript_1506E5:: @ 81506E5
trainerbattle_single TRAINER_LUNG, Route113_Text_1BBD92, Route113_Text_1BBDC6
- msgbox Route113_Text_1BBE1D, 6
+ msgbox Route113_Text_1BBE1D, MSGBOX_AUTOCLOSE
end
Route113_EventScript_1506FC:: @ 81506FC
trainerbattle_double TRAINER_TORI_AND_TIA, Route113_Text_1BBE65, Route113_Text_1BBEA1, Route113_Text_1BBF25
- msgbox Route113_Text_1BBEE4, 6
+ msgbox Route113_Text_1BBEE4, MSGBOX_AUTOCLOSE
end
Route113_EventScript_150717:: @ 8150717
trainerbattle_double TRAINER_TORI_AND_TIA, Route113_Text_1BBF62, Route113_Text_1BBF9D, Route113_Text_1BC021
- msgbox Route113_Text_1BBFE2, 6
+ msgbox Route113_Text_1BBFE2, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route113_GlassWorkshop/scripts.inc b/data/maps/Route113_GlassWorkshop/scripts.inc
index a41544354..99bf58081 100644
--- a/data/maps/Route113_GlassWorkshop/scripts.inc
+++ b/data/maps/Route113_GlassWorkshop/scripts.inc
@@ -21,15 +21,15 @@ Route113_GlassWorkshop_EventScript_163565:: @ 8163565
goto_if_eq Route113_GlassWorkshop_EventScript_1635B5
compare VAR_GLASS_WORKSHOP_STATE, 1
goto_if_eq Route113_GlassWorkshop_EventScript_1635AB
- msgbox Route113_GlassWorkshop_Text_19E4E6, 4
+ msgbox Route113_GlassWorkshop_Text_19E4E6, MSGBOX_DEFAULT
giveitem ITEM_SOOT_SACK
setvar VAR_GLASS_WORKSHOP_STATE, 1
- msgbox Route113_GlassWorkshop_Text_19E59B, 4
+ msgbox Route113_GlassWorkshop_Text_19E59B, MSGBOX_DEFAULT
release
end
Route113_GlassWorkshop_EventScript_1635AB:: @ 81635AB
- msgbox Route113_GlassWorkshop_Text_19E59B, 4
+ msgbox Route113_GlassWorkshop_Text_19E59B, MSGBOX_DEFAULT
release
end
@@ -37,7 +37,7 @@ Route113_GlassWorkshop_EventScript_1635B5:: @ 81635B5
checkitem ITEM_SOOT_SACK, 1
compare VAR_RESULT, 0
goto_if_eq Route113_GlassWorkshop_EventScript_1635E4
- msgbox Route113_GlassWorkshop_Text_19E65B, 4
+ msgbox Route113_GlassWorkshop_Text_19E65B, MSGBOX_DEFAULT
compare VAR_ASH_GATHER_COUNT, 250
goto_if_lt Route113_GlassWorkshop_EventScript_163818
message Route113_GlassWorkshop_Text_19E757
@@ -46,7 +46,7 @@ Route113_GlassWorkshop_EventScript_1635B5:: @ 81635B5
end
Route113_GlassWorkshop_EventScript_1635E4:: @ 81635E4
- msgbox Route113_GlassWorkshop_Text_19EAC1, 4
+ msgbox Route113_GlassWorkshop_Text_19EAC1, MSGBOX_DEFAULT
release
end
@@ -167,7 +167,7 @@ Route113_GlassWorkshop_EventScript_1637CD:: @ 81637CD
end
Route113_GlassWorkshop_EventScript_16380E:: @ 816380E
- msgbox Route113_GlassWorkshop_Text_19E990, 4
+ msgbox Route113_GlassWorkshop_Text_19E990, MSGBOX_DEFAULT
release
end
@@ -175,7 +175,7 @@ Route113_GlassWorkshop_EventScript_163818:: @ 8163818
setvar VAR_0x800A, 250
subvar VAR_0x800A, 16456
buffernumberstring 0, 32778
- msgbox Route113_GlassWorkshop_Text_19E697, 4
+ msgbox Route113_GlassWorkshop_Text_19E697, MSGBOX_DEFAULT
release
end
@@ -194,13 +194,13 @@ Route113_GlassWorkshop_EventScript_163845:: @ 8163845
end
Route113_GlassWorkshop_EventScript_163851:: @ 8163851
- msgbox Route113_GlassWorkshop_Text_19E827, 4
+ msgbox Route113_GlassWorkshop_Text_19E827, MSGBOX_DEFAULT
closemessage
fadescreen 1
playse SE_SELECT
delay 30
fadescreen 0
- msgbox Route113_GlassWorkshop_Text_19E9D7, 4
+ msgbox Route113_GlassWorkshop_Text_19E9D7, MSGBOX_DEFAULT
compare VAR_0x8009, 0
call_if_eq Route113_GlassWorkshop_EventScript_163889
compare VAR_0x8009, 1
@@ -223,13 +223,13 @@ Route113_GlassWorkshop_EventScript_1638A1:: @ 81638A1
Route113_GlassWorkshop_EventScript_1638B4:: @ 81638B4
call Route113_GlassWorkshop_EventScript_1A02A5
- msgbox Route113_GlassWorkshop_Text_19EA06, 4
+ msgbox Route113_GlassWorkshop_Text_19EA06, MSGBOX_DEFAULT
release
end
Route113_GlassWorkshop_EventScript_1638C3:: @ 81638C3
call Route113_GlassWorkshop_EventScript_1A02B8
- msgbox Route113_GlassWorkshop_Text_19EA64, 4
+ msgbox Route113_GlassWorkshop_Text_19EA64, MSGBOX_DEFAULT
release
end
@@ -294,7 +294,7 @@ Route113_GlassWorkshop_EventScript_16399D:: @ 816399D
end
Route113_GlassWorkshop_EventScript_1639B1:: @ 81639B1
- msgbox Route113_GlassWorkshop_Text_19E9D7, 4
+ msgbox Route113_GlassWorkshop_Text_19E9D7, MSGBOX_DEFAULT
compare VAR_0x8009, 0
call_if_eq Route113_GlassWorkshop_EventScript_163889
compare VAR_0x8009, 1
@@ -304,5 +304,5 @@ Route113_GlassWorkshop_EventScript_1639B1:: @ 81639B1
end
Route113_GlassWorkshop_EventScript_1639D6:: @ 81639D6
- msgbox Route113_GlassWorkshop_Text_19EB3B, 2
+ msgbox Route113_GlassWorkshop_Text_19EB3B, MSGBOX_NPC
end
diff --git a/data/maps/Route114/scripts.inc b/data/maps/Route114/scripts.inc
index 2b6b3f56c..c31ddeb83 100644
--- a/data/maps/Route114/scripts.inc
+++ b/data/maps/Route114/scripts.inc
@@ -6,7 +6,7 @@ Route114_EventScript_150733:: @ 8150733
faceplayer
dotimebasedevents
goto_if_set FLAG_DAILY_RECEIVED_BERRY_ROUTE114, Route114_EventScript_150778
- msgbox Route114_Text_1C5803, 4
+ msgbox Route114_Text_1C5803, MSGBOX_DEFAULT
random 5
addvar VAR_RESULT, 15
addvar VAR_RESULT, 133
@@ -14,12 +14,12 @@ Route114_EventScript_150733:: @ 8150733
compare VAR_RESULT, 0
goto_if_eq Route114_EventScript_1A029B
setflag FLAG_DAILY_RECEIVED_BERRY_ROUTE114
- msgbox Route114_Text_1C5861, 4
+ msgbox Route114_Text_1C5861, MSGBOX_DEFAULT
release
end
Route114_EventScript_150778:: @ 8150778
- msgbox Route114_Text_1C5878, 4
+ msgbox Route114_Text_1C5878, MSGBOX_DEFAULT
release
end
@@ -27,17 +27,17 @@ Route114_EventScript_150782:: @ 8150782
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM05, Route114_EventScript_1507B9
- msgbox Route114_Text_170154, 4
+ msgbox Route114_Text_170154, MSGBOX_DEFAULT
giveitem ITEM_TM05_ROAR
compare VAR_RESULT, 0
goto_if_eq Route114_EventScript_1A029B
setflag FLAG_RECEIVED_TM05
- msgbox Route114_Text_1701C5, 4
+ msgbox Route114_Text_1701C5, MSGBOX_DEFAULT
release
end
Route114_EventScript_1507B9:: @ 81507B9
- msgbox Route114_Text_1701C5, 4
+ msgbox Route114_Text_1701C5, MSGBOX_DEFAULT
release
end
@@ -46,41 +46,41 @@ Route114_EventScript_1507C3:: @ 81507C3
faceplayer
waitse
playmoncry SPECIES_POOCHYENA, 2
- msgbox Route114_Text_1701F9, 4
+ msgbox Route114_Text_1701F9, MSGBOX_DEFAULT
waitmoncry
release
end
Route114_EventScript_1507D6:: @ 81507D6
- msgbox Route114_Text_170206, 3
+ msgbox Route114_Text_170206, MSGBOX_SIGN
end
Route114_EventScript_1507DF:: @ 81507DF
- msgbox Route114_Text_17022E, 3
+ msgbox Route114_Text_17022E, MSGBOX_SIGN
end
Route114_EventScript_1507E8:: @ 81507E8
- msgbox Route114_Text_170263, 3
+ msgbox Route114_Text_170263, MSGBOX_SIGN
end
Route114_EventScript_1507F1:: @ 81507F1
trainerbattle_single TRAINER_LENNY, Route114_Text_1BC05B, Route114_Text_1BC0B5
- msgbox Route114_Text_1BC0C3, 6
+ msgbox Route114_Text_1BC0C3, MSGBOX_AUTOCLOSE
end
Route114_EventScript_150808:: @ 8150808
trainerbattle_single TRAINER_LUCAS_1, Route114_Text_1BC125, Route114_Text_1BC163
- msgbox Route114_Text_1BC184, 6
+ msgbox Route114_Text_1BC184, MSGBOX_AUTOCLOSE
end
Route114_EventScript_15081F:: @ 815081F
trainerbattle_single TRAINER_SHANE, Route114_Text_1BC1C8, Route114_Text_1BC23F
- msgbox Route114_Text_1BC24F, 6
+ msgbox Route114_Text_1BC24F, MSGBOX_AUTOCLOSE
end
Route114_EventScript_150836:: @ 8150836
trainerbattle_single TRAINER_NANCY, Route114_Text_1BC289, Route114_Text_1BC2BE
- msgbox Route114_Text_1BC2C6, 6
+ msgbox Route114_Text_1BC2C6, MSGBOX_AUTOCLOSE
end
Route114_EventScript_15084D:: @ 815084D
@@ -88,12 +88,12 @@ Route114_EventScript_15084D:: @ 815084D
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route114_EventScript_150874
- msgbox Route114_Text_1BC337, 6
+ msgbox Route114_Text_1BC337, MSGBOX_AUTOCLOSE
end
Route114_EventScript_150874:: @ 8150874
trainerbattle_rematch TRAINER_STEVE_1, Route114_Text_1BC3B3, Route114_Text_1BC3E0
- msgbox Route114_Text_1BC40F, 6
+ msgbox Route114_Text_1BC40F, MSGBOX_AUTOCLOSE
end
Route114_EventScript_15088B:: @ 815088B
@@ -101,30 +101,30 @@ Route114_EventScript_15088B:: @ 815088B
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route114_EventScript_1508B2
- msgbox Route114_Text_1BC4B5, 6
+ msgbox Route114_Text_1BC4B5, MSGBOX_AUTOCLOSE
end
Route114_EventScript_1508B2:: @ 81508B2
trainerbattle_rematch TRAINER_BERNIE_1, Route114_Text_1BC525, Route114_Text_1BC559
- msgbox Route114_Text_1BC58C, 6
+ msgbox Route114_Text_1BC58C, MSGBOX_AUTOCLOSE
end
Route114_EventScript_1508C9:: @ 81508C9
trainerbattle_single TRAINER_CLAUDE, Route114_Text_1BC5FC, Route114_Text_1BC653
- msgbox Route114_Text_1BC679, 6
+ msgbox Route114_Text_1BC679, MSGBOX_AUTOCLOSE
end
Route114_EventScript_1508E0:: @ 81508E0
trainerbattle_single TRAINER_NOLAN, Route114_Text_1BC6EC, Route114_Text_1BC750
- msgbox Route114_Text_1BC78A, 6
+ msgbox Route114_Text_1BC78A, MSGBOX_AUTOCLOSE
end
Route114_EventScript_1508F7:: @ 81508F7
trainerbattle_double TRAINER_TYRA_AND_IVY, Route114_Text_1BC7E3, Route114_Text_1BC834, Route114_Text_1BC88A
- msgbox Route114_Text_1BC858, 6
+ msgbox Route114_Text_1BC858, MSGBOX_AUTOCLOSE
end
Route114_EventScript_150912:: @ 8150912
trainerbattle_double TRAINER_TYRA_AND_IVY, Route114_Text_1BC8D8, Route114_Text_1BC8FB, Route114_Text_1BC96A
- msgbox Route114_Text_1BC91E, 6
+ msgbox Route114_Text_1BC91E, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route114_FossilManiacsHouse/scripts.inc b/data/maps/Route114_FossilManiacsHouse/scripts.inc
index 39882bfa8..f191f19d8 100644
--- a/data/maps/Route114_FossilManiacsHouse/scripts.inc
+++ b/data/maps/Route114_FossilManiacsHouse/scripts.inc
@@ -10,7 +10,7 @@ Route114_FossilManiacsHouse_EventScript_15C1C3:: @ 815C1C3
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM28, Route114_FossilManiacsHouse_EventScript_15C1F2
- msgbox Route114_FossilManiacsHouse_Text_1925E1, 4
+ msgbox Route114_FossilManiacsHouse_Text_1925E1, MSGBOX_DEFAULT
giveitem ITEM_TM28_DIG
compare VAR_RESULT, 0
goto_if_eq Route114_FossilManiacsHouse_EventScript_1A029B
@@ -19,14 +19,14 @@ Route114_FossilManiacsHouse_EventScript_15C1C3:: @ 815C1C3
end
Route114_FossilManiacsHouse_EventScript_15C1F2:: @ 815C1F2
- msgbox Route114_FossilManiacsHouse_Text_1926AE, 4
+ msgbox Route114_FossilManiacsHouse_Text_1926AE, MSGBOX_DEFAULT
release
end
Route114_FossilManiacsHouse_EventScript_15C1FC:: @ 815C1FC
- msgbox Route114_FossilManiacsHouse_Text_1926FA, 3
+ msgbox Route114_FossilManiacsHouse_Text_1926FA, MSGBOX_SIGN
end
Route114_FossilManiacsHouse_EventScript_15C205:: @ 815C205
- msgbox Route114_FossilManiacsHouse_Text_192729, 3
+ msgbox Route114_FossilManiacsHouse_Text_192729, MSGBOX_SIGN
end
diff --git a/data/maps/Route114_FossilManiacsTunnel/scripts.inc b/data/maps/Route114_FossilManiacsTunnel/scripts.inc
index 23440b191..44b0b9315 100644
--- a/data/maps/Route114_FossilManiacsTunnel/scripts.inc
+++ b/data/maps/Route114_FossilManiacsTunnel/scripts.inc
@@ -11,16 +11,16 @@ Route114_FossilManiacsTunnel_EventScript_15C20F:: @ 815C20F
checkitem ITEM_CLAW_FOSSIL, 1
compare VAR_RESULT, 1
goto_if_eq Route114_FossilManiacsTunnel_EventScript_15C244
- msgbox Route114_FossilManiacsTunnel_Text_192795, 4
+ msgbox Route114_FossilManiacsTunnel_Text_192795, MSGBOX_DEFAULT
release
end
Route114_FossilManiacsTunnel_EventScript_15C244:: @ 815C244
- msgbox Route114_FossilManiacsTunnel_Text_1928DE, 4
+ msgbox Route114_FossilManiacsTunnel_Text_1928DE, MSGBOX_DEFAULT
release
end
Route114_FossilManiacsTunnel_EventScript_15C24E:: @ 815C24E
- msgbox Route114_FossilManiacsTunnel_Text_1929DC, 4
+ msgbox Route114_FossilManiacsTunnel_Text_1929DC, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/Route114_LanettesHouse/scripts.inc b/data/maps/Route114_LanettesHouse/scripts.inc
index 1dbfde334..98f88e6f4 100644
--- a/data/maps/Route114_LanettesHouse/scripts.inc
+++ b/data/maps/Route114_LanettesHouse/scripts.inc
@@ -11,7 +11,7 @@ Route114_LanettesHouse_EventScript_15C262:: @ 815C262
faceplayer
goto_if_set FLAG_RECEIVED_DOLL_LANETTE, Route114_LanettesHouse_EventScript_15C28F
setflag FLAG_SYS_PC_LANETTE
- msgbox Route114_LanettesHouse_Text_192A0D, 4
+ msgbox Route114_LanettesHouse_Text_192A0D, MSGBOX_DEFAULT
.ifdef SAPPHIRE
givedecoration DECOR_LOTAD_DOLL
.else
@@ -24,7 +24,7 @@ Route114_LanettesHouse_EventScript_15C262:: @ 815C262
end
Route114_LanettesHouse_EventScript_15C28F:: @ 815C28F
- msgbox Route114_LanettesHouse_Text_192ACC, 4
+ msgbox Route114_LanettesHouse_Text_192ACC, MSGBOX_DEFAULT
release
end
@@ -33,7 +33,7 @@ Route114_LanettesHouse_EventScript_15C299:: @ 815C299
msgbox Route114_LanettesHouse_Text_192B4A, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route114_LanettesHouse_EventScript_15C2B7
- msgbox Route114_LanettesHouse_Text_192DA9, 4
+ msgbox Route114_LanettesHouse_Text_192DA9, MSGBOX_DEFAULT
releaseall
end
@@ -45,9 +45,9 @@ Route114_LanettesHouse_EventScript_15C2B7:: @ 815C2B7
end
Route114_LanettesHouse_EventScript_15C2CC:: @ 815C2CC
- msgbox Route114_LanettesHouse_Text_192CB4, 4
+ msgbox Route114_LanettesHouse_Text_192CB4, MSGBOX_DEFAULT
return
Route114_LanettesHouse_EventScript_15C2D5:: @ 815C2D5
- msgbox Route114_LanettesHouse_Text_192DC1, 3
+ msgbox Route114_LanettesHouse_Text_192DC1, MSGBOX_SIGN
end
diff --git a/data/maps/Route115/scripts.inc b/data/maps/Route115/scripts.inc
index 31d4a2860..e24898475 100644
--- a/data/maps/Route115/scripts.inc
+++ b/data/maps/Route115/scripts.inc
@@ -2,15 +2,15 @@ Route115_MapScripts:: @ 815092D
.byte 0
Route115_EventScript_15092E:: @ 815092E
- msgbox Route115_Text_170273, 2
+ msgbox Route115_Text_170273, MSGBOX_NPC
end
Route115_EventScript_150937:: @ 8150937
- msgbox Route115_Text_1702E7, 3
+ msgbox Route115_Text_1702E7, MSGBOX_SIGN
end
Route115_EventScript_150940:: @ 8150940
- msgbox Route115_Text_170301, 3
+ msgbox Route115_Text_170301, MSGBOX_SIGN
end
Route115_EventScript_150949:: @ 8150949
@@ -18,17 +18,17 @@ Route115_EventScript_150949:: @ 8150949
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route115_EventScript_150970
- msgbox Route115_Text_1BCA0E, 6
+ msgbox Route115_Text_1BCA0E, MSGBOX_AUTOCLOSE
end
Route115_EventScript_150970:: @ 8150970
trainerbattle_rematch TRAINER_TIMOTHY_1, Route115_Text_1BCA6B, Route115_Text_1BCAB3
- msgbox Route115_Text_1BCAC6, 6
+ msgbox Route115_Text_1BCAC6, MSGBOX_AUTOCLOSE
end
Route115_EventScript_150987:: @ 8150987
trainerbattle_single TRAINER_KOICHI, Route115_Text_1BCB0D, Route115_Text_1BCB2E
- msgbox Route115_Text_1BCB40, 6
+ msgbox Route115_Text_1BCB40, MSGBOX_AUTOCLOSE
end
Route115_EventScript_15099E:: @ 815099E
@@ -36,12 +36,12 @@ Route115_EventScript_15099E:: @ 815099E
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route115_EventScript_1509C5
- msgbox Route115_Text_1BCBDE, 6
+ msgbox Route115_Text_1BCBDE, MSGBOX_AUTOCLOSE
end
Route115_EventScript_1509C5:: @ 81509C5
trainerbattle_rematch TRAINER_NOB_1, Route115_Text_1BCC4C, Route115_Text_1BCCA2
- msgbox Route115_Text_1BCCBA, 6
+ msgbox Route115_Text_1BCCBA, MSGBOX_AUTOCLOSE
end
Route115_EventScript_1509DC:: @ 81509DC
@@ -49,20 +49,20 @@ Route115_EventScript_1509DC:: @ 81509DC
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route115_EventScript_150A03
- msgbox Route115_Text_1BCD4C, 6
+ msgbox Route115_Text_1BCD4C, MSGBOX_AUTOCLOSE
end
Route115_EventScript_150A03:: @ 8150A03
trainerbattle_rematch TRAINER_CYNDY_1, Route115_Text_1BCDB0, Route115_Text_1BCDD0
- msgbox Route115_Text_1BCDEF, 6
+ msgbox Route115_Text_1BCDEF, MSGBOX_AUTOCLOSE
end
Route115_EventScript_150A1A:: @ 8150A1A
.ifdef SAPPHIRE
trainerbattle_single TRAINER_514, UnknownString_81BCE47, UnknownString_81BCE7D
- msgbox UnknownString_81BCEA4, 6
+ msgbox UnknownString_81BCEA4, MSGBOX_AUTOCLOSE
.else
trainerbattle_single TRAINER_514, Route115_Text_1BCEE0, Route115_Text_1BCF16
- msgbox Route115_Text_1BCF3D, 6
+ msgbox Route115_Text_1BCF3D, MSGBOX_AUTOCLOSE
.endc
end
diff --git a/data/maps/Route116/scripts.inc b/data/maps/Route116/scripts.inc
index 280a0e664..91e4d71e1 100644
--- a/data/maps/Route116/scripts.inc
+++ b/data/maps/Route116/scripts.inc
@@ -15,17 +15,17 @@ Route116_EventScript_150A49:: @ 8150A49
faceplayer
goto_if_set FLAG_RECOVERED_DEVON_GOODS, Route116_EventScript_150A67
goto_if_set FLAG_DEVON_GOODS_STOLEN, Route116_EventScript_150A71
- msgbox Route116_Text_1703CF, 4
+ msgbox Route116_Text_1703CF, MSGBOX_DEFAULT
release
end
Route116_EventScript_150A67:: @ 8150A67
- msgbox Route116_Text_170556, 4
+ msgbox Route116_Text_170556, MSGBOX_DEFAULT
release
end
Route116_EventScript_150A71:: @ 8150A71
- msgbox Route116_Text_1703F7, 4
+ msgbox Route116_Text_1703F7, MSGBOX_DEFAULT
release
end
@@ -33,7 +33,7 @@ Route116_EventScript_150A7B:: @ 8150A7B
lock
faceplayer
goto_if_set FLAG_MET_DEVON_EMPLOYEE, Route116_EventScript_150B04
- msgbox Route116_Text_1705AE, 4
+ msgbox Route116_Text_1705AE, MSGBOX_DEFAULT
goto Route116_EventScript_150A94
end
@@ -42,7 +42,7 @@ Route116_EventScript_150A94:: @ 8150A94
giveitem ITEM_REPEAT_BALL
compare VAR_RESULT, 0
goto_if_eq Route116_EventScript_150B12
- msgbox Route116_Text_1707B8, 4
+ msgbox Route116_Text_1707B8, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, 2
call_if_eq Route116_EventScript_150AEE
@@ -69,12 +69,12 @@ Route116_EventScript_150AF9:: @ 8150AF9
return
Route116_EventScript_150B04:: @ 8150B04
- msgbox Route116_Text_170865, 4
+ msgbox Route116_Text_170865, MSGBOX_DEFAULT
goto Route116_EventScript_150A94
end
Route116_EventScript_150B12:: @ 8150B12
- msgbox Route116_Text_17082A, 4
+ msgbox Route116_Text_17082A, MSGBOX_DEFAULT
release
end
@@ -103,29 +103,29 @@ Route116_Movement_150B25:: @ 8150B25
end_movement
Route116_EventScript_150B30:: @ 8150B30
- msgbox Route116_Text_170A46, 3
+ msgbox Route116_Text_170A46, MSGBOX_SIGN
end
Route116_EventScript_150B39:: @ 8150B39
- msgbox Route116_Text_170A60, 3
+ msgbox Route116_Text_170A60, MSGBOX_SIGN
end
Route116_EventScript_150B42:: @ 8150B42
- msgbox Route116_Text_170AB8, 3
+ msgbox Route116_Text_170AB8, MSGBOX_SIGN
end
Route116_EventScript_150B4B:: @ 8150B4B
- msgbox Route116_Text_170ACE, 3
+ msgbox Route116_Text_170ACE, MSGBOX_SIGN
end
Route116_EventScript_150B54:: @ 8150B54
- msgbox Route116_Text_170B7D, 3
+ msgbox Route116_Text_170B7D, MSGBOX_SIGN
end
Route116_EventScript_150B5D:: @ 8150B5D
lock
faceplayer
- msgbox Route116_Text_17032A, 4
+ msgbox Route116_Text_17032A, MSGBOX_DEFAULT
setvar VAR_ROUTE116_STATE, 2
release
end
@@ -135,7 +135,7 @@ Route116_EventScript_150B6E:: @ 8150B6E
applymovement 11, Route116_Movement_1A0843
applymovement 255, Route116_Movement_1A083F
waitmovement 0
- msgbox Route116_Text_17032A, 4
+ msgbox Route116_Text_17032A, MSGBOX_DEFAULT
setvar VAR_ROUTE116_STATE, 2
releaseall
end
@@ -149,28 +149,28 @@ Route116_EventScript_150B8F:: @ 8150B8F
specialvar VAR_RESULT, FoundBlackGlasses
compare VAR_RESULT, 1
goto_if_eq Route116_EventScript_150BBB
- msgbox Route116_Text_1708EE, 4
+ msgbox Route116_Text_1708EE, MSGBOX_DEFAULT
release
end
Route116_EventScript_150BBB:: @ 8150BBB
- msgbox Route116_Text_1709B7, 4
+ msgbox Route116_Text_1709B7, MSGBOX_DEFAULT
closemessage
goto Route116_EventScript_150C03
end
Route116_EventScript_150BCA:: @ 8150BCA
- msgbox Route116_Text_1708EE, 4
- msgbox Route116_Text_170921, 4
+ msgbox Route116_Text_1708EE, MSGBOX_DEFAULT
+ msgbox Route116_Text_170921, MSGBOX_DEFAULT
specialvar VAR_RESULT, FoundBlackGlasses
compare VAR_RESULT, 1
goto_if_eq Route116_EventScript_150BF4
- msgbox Route116_Text_170A03, 4
+ msgbox Route116_Text_170A03, MSGBOX_DEFAULT
release
end
Route116_EventScript_150BF4:: @ 8150BF4
- msgbox Route116_Text_17094D, 4
+ msgbox Route116_Text_17094D, MSGBOX_DEFAULT
closemessage
goto Route116_EventScript_150C03
end
@@ -226,12 +226,12 @@ Route116_Movement_150C57:: @ 8150C57
Route116_EventScript_150C62:: @ 8150C62
trainerbattle_single TRAINER_JOEY, Route116_Text_1BD02B, Route116_Text_1BD04C
- msgbox Route116_Text_1BD078, 6
+ msgbox Route116_Text_1BD078, MSGBOX_AUTOCLOSE
end
Route116_EventScript_150C79:: @ 8150C79
trainerbattle_single TRAINER_JOSE, Route116_Text_1BD0AF, Route116_Text_1BD0D7
- msgbox Route116_Text_1BD0F4, 6
+ msgbox Route116_Text_1BD0F4, MSGBOX_AUTOCLOSE
end
Route116_EventScript_150C90:: @ 8150C90
@@ -239,22 +239,22 @@ Route116_EventScript_150C90:: @ 8150C90
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route116_EventScript_150CB7
- msgbox Route116_Text_1BD248, 6
+ msgbox Route116_Text_1BD248, MSGBOX_AUTOCLOSE
end
Route116_EventScript_150CB7:: @ 8150CB7
trainerbattle_rematch TRAINER_JERRY_1, Route116_Text_1BD2A5, Route116_Text_1BD2FE
- msgbox Route116_Text_1BD31A, 6
+ msgbox Route116_Text_1BD31A, MSGBOX_AUTOCLOSE
end
Route116_EventScript_150CCE:: @ 8150CCE
trainerbattle_single TRAINER_CLARK, Route116_Text_1BCF79, Route116_Text_1BCFBB
- msgbox Route116_Text_1BCFE3, 6
+ msgbox Route116_Text_1BCFE3, MSGBOX_AUTOCLOSE
end
Route116_EventScript_150CE5:: @ 8150CE5
trainerbattle_single TRAINER_JANICE, Route116_Text_1BD131, Route116_Text_1BD165
- msgbox Route116_Text_1BD180, 6
+ msgbox Route116_Text_1BD180, MSGBOX_AUTOCLOSE
end
Route116_EventScript_150CFC:: @ 8150CFC
@@ -262,10 +262,10 @@ Route116_EventScript_150CFC:: @ 8150CFC
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route116_EventScript_150D23
- msgbox Route116_Text_1BD3C3, 6
+ msgbox Route116_Text_1BD3C3, MSGBOX_AUTOCLOSE
end
Route116_EventScript_150D23:: @ 8150D23
trainerbattle_rematch TRAINER_KAREN_1, Route116_Text_1BD405, Route116_Text_1BD44A
- msgbox Route116_Text_1BD466, 6
+ msgbox Route116_Text_1BD466, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route116_TunnelersRestHouse/scripts.inc b/data/maps/Route116_TunnelersRestHouse/scripts.inc
index 5ec6ef642..e380d4fd3 100644
--- a/data/maps/Route116_TunnelersRestHouse/scripts.inc
+++ b/data/maps/Route116_TunnelersRestHouse/scripts.inc
@@ -7,22 +7,22 @@ Route116_TunnelersRestHouse_MapScript1_15C2E4:: @ 815C2E4
end
Route116_TunnelersRestHouse_EventScript_15C2E8:: @ 815C2E8
- msgbox Route116_TunnelersRestHouse_Text_192F33, 2
+ msgbox Route116_TunnelersRestHouse_Text_192F33, MSGBOX_NPC
end
Route116_TunnelersRestHouse_EventScript_15C2F1:: @ 815C2F1
- msgbox Route116_TunnelersRestHouse_Text_193049, 2
+ msgbox Route116_TunnelersRestHouse_Text_193049, MSGBOX_NPC
end
Route116_TunnelersRestHouse_EventScript_15C2FA:: @ 815C2FA
lock
faceplayer
goto_if_set FLAG_RUSTURF_TUNNEL_OPENED, Route116_TunnelersRestHouse_EventScript_15C30F
- msgbox Route116_TunnelersRestHouse_Text_193135, 4
+ msgbox Route116_TunnelersRestHouse_Text_193135, MSGBOX_DEFAULT
release
end
Route116_TunnelersRestHouse_EventScript_15C30F:: @ 815C30F
- msgbox Route116_TunnelersRestHouse_Text_1931C1, 4
+ msgbox Route116_TunnelersRestHouse_Text_1931C1, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/Route117/scripts.inc b/data/maps/Route117/scripts.inc
index 96c549eee..785987e64 100644
--- a/data/maps/Route117/scripts.inc
+++ b/data/maps/Route117/scripts.inc
@@ -14,27 +14,27 @@ Route117_EventScript_150D56:: @ 8150D56
return
Route117_EventScript_150D57:: @ 8150D57
- msgbox Route117_Text_170CA7, 2
+ msgbox Route117_Text_170CA7, MSGBOX_NPC
end
Route117_EventScript_150D60:: @ 8150D60
- msgbox Route117_Text_170CEB, 2
+ msgbox Route117_Text_170CEB, MSGBOX_NPC
end
Route117_EventScript_150D69:: @ 8150D69
- msgbox Route117_Text_170C26, 2
+ msgbox Route117_Text_170C26, MSGBOX_NPC
end
Route117_EventScript_150D72:: @ 8150D72
- msgbox Route117_Text_170D02, 3
+ msgbox Route117_Text_170D02, MSGBOX_SIGN
end
Route117_EventScript_150D7B:: @ 8150D7B
- msgbox Route117_Text_170D1E, 3
+ msgbox Route117_Text_170D1E, MSGBOX_SIGN
end
Route117_EventScript_150D84:: @ 8150D84
- msgbox Route117_Text_170D38, 3
+ msgbox Route117_Text_170D38, MSGBOX_SIGN
end
Route117_EventScript_150D8D:: @ 8150D8D
@@ -42,12 +42,12 @@ Route117_EventScript_150D8D:: @ 8150D8D
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route117_EventScript_150DB4
- msgbox Route117_Text_1BD4F9, 6
+ msgbox Route117_Text_1BD4F9, MSGBOX_AUTOCLOSE
end
Route117_EventScript_150DB4:: @ 8150DB4
trainerbattle_rematch TRAINER_ISAAC_1, Route117_Text_1BD569, Route117_Text_1BD5AB
- msgbox Route117_Text_1BD5F2, 6
+ msgbox Route117_Text_1BD5F2, MSGBOX_AUTOCLOSE
end
Route117_EventScript_150DCB:: @ 8150DCB
@@ -55,12 +55,12 @@ Route117_EventScript_150DCB:: @ 8150DCB
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route117_EventScript_150DF2
- msgbox Route117_Text_1BD69B, 6
+ msgbox Route117_Text_1BD69B, MSGBOX_AUTOCLOSE
end
Route117_EventScript_150DF2:: @ 8150DF2
trainerbattle_rematch TRAINER_LYDIA_1, Route117_Text_1BD6F2, Route117_Text_1BD733
- msgbox Route117_Text_1BD74F, 6
+ msgbox Route117_Text_1BD74F, MSGBOX_AUTOCLOSE
end
Route117_EventScript_150E09:: @ 8150E09
@@ -68,12 +68,12 @@ Route117_EventScript_150E09:: @ 8150E09
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route117_EventScript_150E30
- msgbox Route117_Text_1BD7F5, 6
+ msgbox Route117_Text_1BD7F5, MSGBOX_AUTOCLOSE
end
Route117_EventScript_150E30:: @ 8150E30
trainerbattle_rematch TRAINER_DYLAN_1, Route117_Text_1BD83F, Route117_Text_1BD8A2
- msgbox Route117_Text_1BD8BD, 6
+ msgbox Route117_Text_1BD8BD, MSGBOX_AUTOCLOSE
end
Route117_EventScript_150E47:: @ 8150E47
@@ -81,17 +81,17 @@ Route117_EventScript_150E47:: @ 8150E47
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route117_EventScript_150E6E
- msgbox Route117_Text_1BD98F, 6
+ msgbox Route117_Text_1BD98F, MSGBOX_AUTOCLOSE
end
Route117_EventScript_150E6E:: @ 8150E6E
trainerbattle_rematch TRAINER_MARIA_1, Route117_Text_1BD9F1, Route117_Text_1BDA41
- msgbox Route117_Text_1BDA6B, 6
+ msgbox Route117_Text_1BDA6B, MSGBOX_AUTOCLOSE
end
Route117_EventScript_150E85:: @ 8150E85
trainerbattle_single TRAINER_DEREK, Route117_Text_1BDAA7, Route117_Text_1BDAFC
- msgbox Route117_Text_1BDB24, 6
+ msgbox Route117_Text_1BDB24, MSGBOX_AUTOCLOSE
end
Route117_EventScript_150E9C:: @ 8150E9C
@@ -99,12 +99,12 @@ Route117_EventScript_150E9C:: @ 8150E9C
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route117_EventScript_150EC7
- msgbox Route117_Text_1BDC44, 6
+ msgbox Route117_Text_1BDC44, MSGBOX_AUTOCLOSE
end
Route117_EventScript_150EC7:: @ 8150EC7
trainerbattle_rematch_double TRAINER_ANNA_AND_MEG_1, Route117_Text_1BDDEF, Route117_Text_1BDE2F, Route117_Text_1BDEA7
- msgbox Route117_Text_1BDE55, 6
+ msgbox Route117_Text_1BDE55, MSGBOX_AUTOCLOSE
end
Route117_EventScript_150EE2:: @ 8150EE2
@@ -112,10 +112,10 @@ Route117_EventScript_150EE2:: @ 8150EE2
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route117_EventScript_150F0D
- msgbox Route117_Text_1BDD4E, 6
+ msgbox Route117_Text_1BDD4E, MSGBOX_AUTOCLOSE
end
Route117_EventScript_150F0D:: @ 8150F0D
trainerbattle_rematch_double TRAINER_ANNA_AND_MEG_1, Route117_Text_1BDEE3, Route117_Text_1BDF26, Route117_Text_1BDF90
- msgbox Route117_Text_1BDF37, 6
+ msgbox Route117_Text_1BDF37, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route118/scripts.inc b/data/maps/Route118/scripts.inc
index fa27a4697..b3aaaa404 100644
--- a/data/maps/Route118/scripts.inc
+++ b/data/maps/Route118/scripts.inc
@@ -18,33 +18,33 @@ Route118_EventScript_150F34:: @ 8150F34
end
Route118_EventScript_150F5E:: @ 8150F5E
- msgbox Route118_Text_170F46, 4
+ msgbox Route118_Text_170F46, MSGBOX_DEFAULT
giveitem ITEM_GOOD_ROD
setflag FLAG_RECEIVED_GOOD_ROD
- msgbox Route118_Text_170F7E, 4
+ msgbox Route118_Text_170F7E, MSGBOX_DEFAULT
release
end
Route118_EventScript_150F7F:: @ 8150F7F
- msgbox Route118_Text_170FB0, 4
+ msgbox Route118_Text_170FB0, MSGBOX_DEFAULT
release
end
Route118_EventScript_150F89:: @ 8150F89
- msgbox Route118_Text_170FC8, 4
+ msgbox Route118_Text_170FC8, MSGBOX_DEFAULT
release
end
Route118_EventScript_150F93:: @ 8150F93
- msgbox Route118_Text_170FFE, 2
+ msgbox Route118_Text_170FFE, MSGBOX_NPC
end
Route118_EventScript_150F9C:: @ 8150F9C
- msgbox Route118_Text_17108B, 3
+ msgbox Route118_Text_17108B, MSGBOX_SIGN
end
Route118_EventScript_150FA5:: @ 8150FA5
- msgbox Route118_Text_1710A5, 3
+ msgbox Route118_Text_1710A5, MSGBOX_SIGN
end
Route118_EventScript_150FAE:: @ 8150FAE
@@ -80,7 +80,7 @@ Route118_EventScript_151004:: @ 8151004
applymovement 19, Route118_Movement_15106D
waitmovement 0
delay 30
- msgbox Route118_Text_170D66, 4
+ msgbox Route118_Text_170D66, MSGBOX_DEFAULT
closemessage
compare VAR_0x8008, 0
call_if_eq Route118_EventScript_151048
@@ -163,22 +163,22 @@ Route118_EventScript_15108F:: @ 815108F
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route118_EventScript_1510B6
- msgbox Route118_Text_1BE05E, 6
+ msgbox Route118_Text_1BE05E, MSGBOX_AUTOCLOSE
end
Route118_EventScript_1510B6:: @ 81510B6
trainerbattle_rematch TRAINER_ROSE_1, Route118_Text_1BE0AB, Route118_Text_1BE0D3
- msgbox Route118_Text_1BE104, 6
+ msgbox Route118_Text_1BE104, MSGBOX_AUTOCLOSE
end
Route118_EventScript_1510CD:: @ 81510CD
trainerbattle_single TRAINER_BARNY, Route118_Text_1BE24A, Route118_Text_1BE291
- msgbox Route118_Text_1BE2BE, 6
+ msgbox Route118_Text_1BE2BE, MSGBOX_AUTOCLOSE
end
Route118_EventScript_1510E4:: @ 81510E4
trainerbattle_single TRAINER_WADE, Route118_Text_1BE318, Route118_Text_1BE385
- msgbox Route118_Text_1BE39C, 6
+ msgbox Route118_Text_1BE39C, MSGBOX_AUTOCLOSE
end
Route118_EventScript_1510FB:: @ 81510FB
@@ -186,20 +186,20 @@ Route118_EventScript_1510FB:: @ 81510FB
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route118_EventScript_151122
- msgbox Route118_Text_1BE413, 6
+ msgbox Route118_Text_1BE413, MSGBOX_AUTOCLOSE
end
Route118_EventScript_151122:: @ 8151122
trainerbattle_rematch TRAINER_DALTON_1, Route118_Text_1BE489, Route118_Text_1BE4CC
- msgbox Route118_Text_1BE4D9, 6
+ msgbox Route118_Text_1BE4D9, MSGBOX_AUTOCLOSE
end
Route118_EventScript_151139:: @ 8151139
trainerbattle_single TRAINER_PERRY, Route118_Text_1BE148, Route118_Text_1BE188
- msgbox Route118_Text_1BE19D, 6
+ msgbox Route118_Text_1BE19D, MSGBOX_AUTOCLOSE
end
Route118_EventScript_151150:: @ 8151150
trainerbattle_single TRAINER_CHESTER, Route118_Text_1BE1D7, Route118_Text_1BE1F5
- msgbox Route118_Text_1BE20D, 6
+ msgbox Route118_Text_1BE20D, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route119/scripts.inc b/data/maps/Route119/scripts.inc
index 5b6d7fbba..e4d4cc6b1 100644
--- a/data/maps/Route119/scripts.inc
+++ b/data/maps/Route119/scripts.inc
@@ -87,7 +87,7 @@ Route119_EventScript_151259:: @ 8151259
return
Route119_EventScript_15125E:: @ 815125E
- msgbox Route119_Text_1710BB, 4
+ msgbox Route119_Text_1710BB, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, Route119_EventScript_15128D
case 1, Route119_EventScript_15129D
@@ -110,14 +110,14 @@ Route119_EventScript_1512AD:: @ 81512AD
end
Route119_EventScript_1512BD:: @ 81512BD
- msgbox Route119_Text_1711B1, 4
+ msgbox Route119_Text_1711B1, MSGBOX_DEFAULT
call Route119_EventScript_151352
- msgbox Route119_Text_171214, 4
+ msgbox Route119_Text_171214, MSGBOX_DEFAULT
goto Route119_EventScript_151362
end
Route119_EventScript_1512D8:: @ 81512D8
- msgbox Route119_Text_171358, 4
+ msgbox Route119_Text_171358, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, Route119_EventScript_151307
case 1, Route119_EventScript_151317
@@ -140,9 +140,9 @@ Route119_EventScript_151327:: @ 8151327
end
Route119_EventScript_151337:: @ 8151337
- msgbox Route119_Text_17140B, 4
+ msgbox Route119_Text_17140B, MSGBOX_DEFAULT
call Route119_EventScript_151352
- msgbox Route119_Text_171475, 4
+ msgbox Route119_Text_171475, MSGBOX_DEFAULT
goto Route119_EventScript_151362
end
@@ -252,45 +252,45 @@ Route119_Movement_15140F:: @ 815140F
end_movement
Route119_EventScript_15141A:: @ 815141A
- msgbox Route119_Text_171698, 2
+ msgbox Route119_Text_171698, MSGBOX_NPC
end
Route119_EventScript_151423:: @ 8151423
- msgbox Route119_Text_171749, 3
+ msgbox Route119_Text_171749, MSGBOX_SIGN
end
Route119_EventScript_15142C:: @ 815142C
- msgbox Route119_Text_171762, 3
+ msgbox Route119_Text_171762, MSGBOX_SIGN
end
Route119_EventScript_151435:: @ 8151435
trainerbattle_single TRAINER_BRENT, Route119_Text_1BE521, Route119_Text_1BE54F
- msgbox Route119_Text_1BE561, 6
+ msgbox Route119_Text_1BE561, MSGBOX_AUTOCLOSE
end
Route119_EventScript_15144C:: @ 815144C
trainerbattle_single TRAINER_DONALD, Route119_Text_1BE5A4, Route119_Text_1BE5DF
- msgbox Route119_Text_1BE5F8, 6
+ msgbox Route119_Text_1BE5F8, MSGBOX_AUTOCLOSE
end
Route119_EventScript_151463:: @ 8151463
trainerbattle_single TRAINER_TAYLOR, Route119_Text_1BE632, Route119_Text_1BE67B
- msgbox Route119_Text_1BE695, 6
+ msgbox Route119_Text_1BE695, MSGBOX_AUTOCLOSE
end
Route119_EventScript_15147A:: @ 815147A
trainerbattle_single TRAINER_DOUG, Route119_Text_1BE6EA, Route119_Text_1BE729
- msgbox Route119_Text_1BE748, 6
+ msgbox Route119_Text_1BE748, MSGBOX_AUTOCLOSE
end
Route119_EventScript_151491:: @ 8151491
trainerbattle_single TRAINER_GREG, Route119_Text_1BE784, Route119_Text_1BE7D3
- msgbox Route119_Text_1BE7E9, 6
+ msgbox Route119_Text_1BE7E9, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1514A8:: @ 81514A8
trainerbattle_single TRAINER_KENT, Route119_Text_1BE82F, Route119_Text_1BE88D
- msgbox Route119_Text_1BE89A, 6
+ msgbox Route119_Text_1BE89A, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1514BF:: @ 81514BF
@@ -298,12 +298,12 @@ Route119_EventScript_1514BF:: @ 81514BF
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route119_EventScript_1514E6
- msgbox Route119_Text_1BE937, 6
+ msgbox Route119_Text_1BE937, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1514E6:: @ 81514E6
trainerbattle_rematch TRAINER_JACKSON_1, Route119_Text_1BE98D, Route119_Text_1BE9D0
- msgbox Route119_Text_1BE9E8, 6
+ msgbox Route119_Text_1BE9E8, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1514FD:: @ 81514FD
@@ -311,48 +311,48 @@ Route119_EventScript_1514FD:: @ 81514FD
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route119_EventScript_151524
- msgbox Route119_Text_1BEAB3, 6
+ msgbox Route119_Text_1BEAB3, MSGBOX_AUTOCLOSE
end
Route119_EventScript_151524:: @ 8151524
trainerbattle_rematch TRAINER_CATHERINE_1, Route119_Text_1BEB22, Route119_Text_1BEB49
- msgbox Route119_Text_1BEB68, 6
+ msgbox Route119_Text_1BEB68, MSGBOX_AUTOCLOSE
end
Route119_EventScript_15153B:: @ 815153B
trainerbattle_single TRAINER_HUGH, Route119_Text_1BEBC0, Route119_Text_1BEC1C
- msgbox Route119_Text_1BEC2A, 6
+ msgbox Route119_Text_1BEC2A, MSGBOX_AUTOCLOSE
end
Route119_EventScript_151552:: @ 8151552
trainerbattle_single TRAINER_PHIL, Route119_Text_1BEC5E, Route119_Text_1BEC9A
- msgbox Route119_Text_1BECB1, 6
+ msgbox Route119_Text_1BECB1, MSGBOX_AUTOCLOSE
end
Route119_EventScript_151569:: @ 8151569
trainerbattle_single TRAINER_YASU, Route119_Text_1BECF1, Route119_Text_1BED4C
- msgbox Route119_Text_1BED5C, 6
+ msgbox Route119_Text_1BED5C, MSGBOX_AUTOCLOSE
end
Route119_EventScript_151580:: @ 8151580
trainerbattle_single TRAINER_TAKASHI, Route119_Text_1BEDB6, Route119_Text_1BEDEC
- msgbox Route119_Text_1BEE06, 6
+ msgbox Route119_Text_1BEE06, MSGBOX_AUTOCLOSE
end
Route119_EventScript_151597:: @ 8151597
trainerbattle_single TRAINER_HIDEO_2, Route119_Text_1BEE2D, Route119_Text_1BEE4B
- msgbox Route119_Text_1BEE66, 6
+ msgbox Route119_Text_1BEE66, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1515AE:: @ 81515AE
trainerbattle_single TRAINER_EUGENE, Route119_Text_1BEED0, Route119_Text_1BEF37
- msgbox Route119_Text_1BEF67, 6
+ msgbox Route119_Text_1BEF67, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1515C5:: @ 81515C5
lock
faceplayer
- msgbox Route119_Text_171520, 4
+ msgbox Route119_Text_171520, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Route119_Movement_1A083D
waitmovement 0
@@ -362,7 +362,7 @@ Route119_EventScript_1515C5:: @ 81515C5
Route119_EventScript_1515DC:: @ 81515DC
lock
faceplayer
- msgbox Route119_Text_17157C, 4
+ msgbox Route119_Text_17157C, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Route119_Movement_1A083D
waitmovement 0
@@ -370,13 +370,13 @@ Route119_EventScript_1515DC:: @ 81515DC
end
Route119_EventScript_1515F3:: @ 81515F3
- msgbox Route119_Text_1715D7, 2
+ msgbox Route119_Text_1715D7, MSGBOX_NPC
end
Route119_EventScript_1515FC:: @ 81515FC
- msgbox Route119_Text_1716F4, 2
+ msgbox Route119_Text_1716F4, MSGBOX_NPC
end
Route119_EventScript_151605:: @ 8151605
- msgbox Route119_Text_171774, 3
+ msgbox Route119_Text_171774, MSGBOX_SIGN
end
diff --git a/data/maps/Route119_House/scripts.inc b/data/maps/Route119_House/scripts.inc
index 76763c68e..5de9135c6 100644
--- a/data/maps/Route119_House/scripts.inc
+++ b/data/maps/Route119_House/scripts.inc
@@ -2,7 +2,7 @@ Route119_House_MapScripts:: @ 8163DDD
.byte 0
Route119_House_EventScript_163DDE:: @ 8163DDE
- msgbox Route119_House_Text_19F371, 2
+ msgbox Route119_House_Text_19F371, MSGBOX_NPC
end
Route119_House_EventScript_163DE7:: @ 8163DE7
@@ -10,7 +10,7 @@ Route119_House_EventScript_163DE7:: @ 8163DE7
faceplayer
waitse
playmoncry SPECIES_WINGULL, 0
- msgbox Route119_House_Text_19F406, 4
+ msgbox Route119_House_Text_19F406, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/Route119_WeatherInstitute_1F/scripts.inc b/data/maps/Route119_WeatherInstitute_1F/scripts.inc
index 4bdf722a9..817b01df1 100644
--- a/data/maps/Route119_WeatherInstitute_1F/scripts.inc
+++ b/data/maps/Route119_WeatherInstitute_1F/scripts.inc
@@ -19,26 +19,26 @@ Route119_WeatherInstitute_1F_EventScript_163C4D:: @ 8163C4D
special GetPlayerBigGuyGirlString
compare VAR_WEATHER_INSTITUTE_STATE, 0
goto_if_eq Route119_WeatherInstitute_1F_EventScript_163C67
- msgbox Route119_WeatherInstitute_1F_Text_19ED22, 4
+ msgbox Route119_WeatherInstitute_1F_Text_19ED22, MSGBOX_DEFAULT
release
end
Route119_WeatherInstitute_1F_EventScript_163C67:: @ 8163C67
- msgbox Route119_WeatherInstitute_1F_Text_19ECF4, 4
+ msgbox Route119_WeatherInstitute_1F_Text_19ECF4, MSGBOX_DEFAULT
release
end
Route119_WeatherInstitute_1F_EventScript_163C71:: @ 8163C71
- msgbox Route119_WeatherInstitute_1F_Text_19ED6B, 2
+ msgbox Route119_WeatherInstitute_1F_Text_19ED6B, MSGBOX_NPC
end
Route119_WeatherInstitute_1F_EventScript_163C7A:: @ 8163C7A
- msgbox Route119_WeatherInstitute_1F_Text_19EE25, 2
+ msgbox Route119_WeatherInstitute_1F_Text_19EE25, MSGBOX_NPC
end
Route119_WeatherInstitute_1F_EventScript_163C83:: @ 8163C83
lockall
- msgbox Route119_WeatherInstitute_1F_Text_19EE8B, 4
+ msgbox Route119_WeatherInstitute_1F_Text_19EE8B, MSGBOX_DEFAULT
closemessage
call Route119_WeatherInstitute_1F_EventScript_1A02CA
releaseall
@@ -46,10 +46,10 @@ Route119_WeatherInstitute_1F_EventScript_163C83:: @ 8163C83
Route119_WeatherInstitute_1F_EventScript_163C94:: @ 8163C94
trainerbattle_single TRAINER_WEATHER_INSTITUTE_GRUNT_1, Route119_WeatherInstitute_1F_Text_19EB8A, Route119_WeatherInstitute_1F_Text_19EBEE
- msgbox Route119_WeatherInstitute_1F_Text_19EC0E, 6
+ msgbox Route119_WeatherInstitute_1F_Text_19EC0E, MSGBOX_AUTOCLOSE
end
Route119_WeatherInstitute_1F_EventScript_163CAB:: @ 8163CAB
trainerbattle_single TRAINER_WEATHER_INSTITUTE_GRUNT_2, Route119_WeatherInstitute_1F_Text_19EC6B, Route119_WeatherInstitute_1F_Text_19EC89
- msgbox Route119_WeatherInstitute_1F_Text_19EC97, 6
+ msgbox Route119_WeatherInstitute_1F_Text_19EC97, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route119_WeatherInstitute_2F/scripts.inc b/data/maps/Route119_WeatherInstitute_2F/scripts.inc
index c546e69f5..c50555d31 100644
--- a/data/maps/Route119_WeatherInstitute_2F/scripts.inc
+++ b/data/maps/Route119_WeatherInstitute_2F/scripts.inc
@@ -22,21 +22,21 @@ Route119_WeatherInstitute_2F_EventScript_163CF0:: @ 8163CF0
Route119_WeatherInstitute_2F_EventScript_163CFC:: @ 8163CFC
trainerbattle_single TRAINER_WEATHER_INSTITUTE_GRUNT_3, Route119_WeatherInstitute_2F_Text_19EEAF, Route119_WeatherInstitute_2F_Text_19EF1B
- msgbox Route119_WeatherInstitute_2F_Text_19EF3E, 6
+ msgbox Route119_WeatherInstitute_2F_Text_19EF3E, MSGBOX_AUTOCLOSE
end
Route119_WeatherInstitute_2F_EventScript_163D13:: @ 8163D13
trainerbattle_single TRAINER_WEATHER_INSTITUTE_GRUNT_4, Route119_WeatherInstitute_2F_Text_19EFA3, Route119_WeatherInstitute_2F_Text_19EFDD
- msgbox Route119_WeatherInstitute_2F_Text_19EFE9, 6
+ msgbox Route119_WeatherInstitute_2F_Text_19EFE9, MSGBOX_AUTOCLOSE
end
Route119_WeatherInstitute_2F_EventScript_163D2A:: @ 8163D2A
trainerbattle_single TRAINER_WEATHER_INSTITUTE_GRUNT_5, Route119_WeatherInstitute_2F_Text_19F042, Route119_WeatherInstitute_2F_Text_19F0F4, Route119_WeatherInstitute_2F_EventScript_163D45
- msgbox Route119_WeatherInstitute_2F_Text_19F11B, 6
+ msgbox Route119_WeatherInstitute_2F_Text_19F11B, MSGBOX_AUTOCLOSE
end
Route119_WeatherInstitute_2F_EventScript_163D45:: @ 8163D45
- msgbox Route119_WeatherInstitute_2F_Text_19F11B, 4
+ msgbox Route119_WeatherInstitute_2F_Text_19F11B, MSGBOX_DEFAULT
closemessage
setvar VAR_WEATHER_INSTITUTE_STATE, 1
clearflag FLAG_HIDE_WEATHER_INSTITUTE_WORKERS_2F
@@ -54,7 +54,7 @@ Route119_WeatherInstitute_2F_EventScript_163D45:: @ 8163D45
end
Route119_WeatherInstitute_2F_EventScript_163D7A:: @ 8163D7A
- msgbox Route119_WeatherInstitute_2F_Text_19F1CF, 4
+ msgbox Route119_WeatherInstitute_2F_Text_19F1CF, MSGBOX_DEFAULT
getpartysize
compare VAR_RESULT, 6
goto_if_eq Route119_WeatherInstitute_2F_EventScript_163DB4
@@ -64,17 +64,17 @@ Route119_WeatherInstitute_2F_EventScript_163D7A:: @ 8163D7A
waitmessage
givemon SPECIES_CASTFORM, 25, ITEM_MYSTIC_WATER
setflag FLAG_RECEIVED_CASTFORM
- msgbox Route119_WeatherInstitute_2F_Text_19F27D, 4
+ msgbox Route119_WeatherInstitute_2F_Text_19F27D, MSGBOX_DEFAULT
release
end
Route119_WeatherInstitute_2F_EventScript_163DB4:: @ 8163DB4
- msgbox Route119_WeatherInstitute_2F_Text_19F231, 4
+ msgbox Route119_WeatherInstitute_2F_Text_19F231, MSGBOX_DEFAULT
release
end
Route119_WeatherInstitute_2F_EventScript_163DBE:: @ 8163DBE
- msgbox Route119_WeatherInstitute_2F_Text_19F2FE, 4
+ msgbox Route119_WeatherInstitute_2F_Text_19F2FE, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/Route120/scripts.inc b/data/maps/Route120/scripts.inc
index 6ddeec03e..c0656954d 100644
--- a/data/maps/Route120/scripts.inc
+++ b/data/maps/Route120/scripts.inc
@@ -159,21 +159,21 @@ Route120_EventScript_151813:: @ 8151813
compare VAR_RESULT, 0
goto_if_eq Route120_EventScript_1A029B
setflag FLAG_DAILY_RECEIVED_BERRY_ROUTE120
- msgbox Route120_Text_1C5A0B, 4
+ msgbox Route120_Text_1C5A0B, MSGBOX_DEFAULT
release
end
Route120_EventScript_151837:: @ 8151837
- msgbox Route120_Text_1C5A4D, 4
+ msgbox Route120_Text_1C5A4D, MSGBOX_DEFAULT
release
end
Route120_EventScript_151841:: @ 8151841
- msgbox Route120_Text_1C5979, 4
+ msgbox Route120_Text_1C5979, MSGBOX_DEFAULT
return
Route120_EventScript_15184A:: @ 815184A
- msgbox Route120_Text_1C59B5, 4
+ msgbox Route120_Text_1C59B5, MSGBOX_DEFAULT
return
Route120_EventScript_151853:: @ 8151853
@@ -187,7 +187,7 @@ Route120_EventScript_151853:: @ 8151853
end
Route120_EventScript_151877:: @ 8151877
- msgbox Route120_Text_17193D, 4
+ msgbox Route120_Text_17193D, MSGBOX_DEFAULT
setflag FLAG_NOT_READY_FOR_BATTLE_ROUTE120
release
end
@@ -200,7 +200,7 @@ Route120_EventScript_151884:: @ 8151884
end
Route120_EventScript_15189D:: @ 815189D
- msgbox Route120_Text_1719A0, 4
+ msgbox Route120_Text_1719A0, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, 2
call_if_eq Route120_EventScript_15197F
@@ -209,7 +209,7 @@ Route120_EventScript_15189D:: @ 815189D
applymovement 31, Route120_Movement_1A083F
waitmovement 0
delay 20
- msgbox Route120_Text_1719D4, 4
+ msgbox Route120_Text_1719D4, MSGBOX_DEFAULT
closemessage
applymovement 30, Route120_Movement_1A0843
waitmovement 0
@@ -231,10 +231,10 @@ Route120_EventScript_151908:: @ 8151908
applymovement 31, Route120_Movement_1A0845
applymovement 255, Route120_Movement_1A0841
waitmovement 0
- msgbox Route120_Text_171A40, 4
+ msgbox Route120_Text_171A40, MSGBOX_DEFAULT
giveitem ITEM_DEVON_SCOPE
setflag FLAG_RECEIVED_DEVON_SCOPE
- msgbox Route120_Text_171B0E, 4
+ msgbox Route120_Text_171B0E, MSGBOX_DEFAULT
closemessage
applymovement 31, Route120_Movement_1A0845
waitmovement 0
@@ -268,20 +268,20 @@ Route120_Movement_151995:: @ 8151995
end_movement
Route120_EventScript_151998:: @ 8151998
- msgbox Route120_Text_171B93, 2
+ msgbox Route120_Text_171B93, MSGBOX_NPC
end
Route120_EventScript_1519A1:: @ 81519A1
- msgbox Route120_Text_171C5E, 3
+ msgbox Route120_Text_171C5E, MSGBOX_SIGN
end
Route120_EventScript_1519AA:: @ 81519AA
- msgbox Route120_Text_171C77, 3
+ msgbox Route120_Text_171C77, MSGBOX_SIGN
end
Route120_EventScript_1519B3:: @ 81519B3
trainerbattle_single TRAINER_COLIN, Route120_Text_1BEFC8, Route120_Text_1BF000
- msgbox Route120_Text_1BF015, 6
+ msgbox Route120_Text_1BF015, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1519CA:: @ 81519CA
@@ -289,22 +289,22 @@ Route120_EventScript_1519CA:: @ 81519CA
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route120_EventScript_1519F1
- msgbox Route120_Text_1BF0C3, 6
+ msgbox Route120_Text_1BF0C3, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1519F1:: @ 81519F1
trainerbattle_rematch TRAINER_ROBERT_1, Route120_Text_1BF0FA, Route120_Text_1BF131
- msgbox Route120_Text_1BF154, 6
+ msgbox Route120_Text_1BF154, MSGBOX_AUTOCLOSE
end
Route120_EventScript_151A08:: @ 8151A08
trainerbattle_single TRAINER_CARLOS, Route120_Text_1BF193, Route120_Text_1BF1D4
- msgbox Route120_Text_1BF215, 6
+ msgbox Route120_Text_1BF215, MSGBOX_AUTOCLOSE
end
Route120_EventScript_151A1F:: @ 8151A1F
trainerbattle_single TRAINER_JENNA, Route120_Text_1BF26E, Route120_Text_1BF2D2
- msgbox Route120_Text_1BF2EA, 6
+ msgbox Route120_Text_1BF2EA, MSGBOX_AUTOCLOSE
end
Route120_EventScript_151A36:: @ 8151A36
@@ -312,40 +312,40 @@ Route120_EventScript_151A36:: @ 8151A36
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route120_EventScript_151A5D
- msgbox Route120_Text_1BF38D, 6
+ msgbox Route120_Text_1BF38D, MSGBOX_AUTOCLOSE
end
Route120_EventScript_151A5D:: @ 8151A5D
trainerbattle_rematch TRAINER_BRANDON_1, Route120_Text_1BF3D0, Route120_Text_1BF416
- msgbox Route120_Text_1BF43E, 6
+ msgbox Route120_Text_1BF43E, MSGBOX_AUTOCLOSE
end
Route120_EventScript_151A74:: @ 8151A74
trainerbattle_single TRAINER_JENNIFER, Route120_Text_1BF4A0, Route120_Text_1BF504
- msgbox Route120_Text_1BF51F, 6
+ msgbox Route120_Text_1BF51F, MSGBOX_AUTOCLOSE
end
Route120_EventScript_151A8B:: @ 8151A8B
trainerbattle_single TRAINER_CHIP, Route120_Text_1BF560, Route120_Text_1BF5D6
- msgbox Route120_Text_1BF5F4, 6
+ msgbox Route120_Text_1BF5F4, MSGBOX_AUTOCLOSE
end
Route120_EventScript_151AA2:: @ 8151AA2
trainerbattle_single TRAINER_CLARISSA, Route120_Text_1BF65B, Route120_Text_1BF6A4
- msgbox Route120_Text_1BF6D0, 6
+ msgbox Route120_Text_1BF6D0, MSGBOX_AUTOCLOSE
end
Route120_EventScript_151AB9:: @ 8151AB9
trainerbattle_single TRAINER_ANGELICA, Route120_Text_1BF728, Route120_Text_1BF78C
- msgbox Route120_Text_1BF7B2, 6
+ msgbox Route120_Text_1BF7B2, MSGBOX_AUTOCLOSE
end
Route120_EventScript_151AD0:: @ 8151AD0
trainerbattle_single TRAINER_KEIGO, Route120_Text_1BF80B, Route120_Text_1BF852
- msgbox Route120_Text_1BF891, 6
+ msgbox Route120_Text_1BF891, MSGBOX_AUTOCLOSE
end
Route120_EventScript_151AE7:: @ 8151AE7
trainerbattle_single TRAINER_TSUNAO, Route120_Text_1BF8C5, Route120_Text_1BF920
- msgbox Route120_Text_1BF946, 6
+ msgbox Route120_Text_1BF946, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route121/scripts.inc b/data/maps/Route121/scripts.inc
index 92ca05aea..899616406 100644
--- a/data/maps/Route121/scripts.inc
+++ b/data/maps/Route121/scripts.inc
@@ -7,20 +7,20 @@ Route121_MapScript1_151B04:: @ 8151B04
end
Route121_EventScript_151B0A:: @ 8151B0A
- msgbox Route121_Text_171CB4, 2
+ msgbox Route121_Text_171CB4, MSGBOX_NPC
end
Route121_EventScript_151B13:: @ 8151B13
- msgbox Route121_Text_171D0C, 3
+ msgbox Route121_Text_171D0C, MSGBOX_SIGN
end
Route121_EventScript_151B1C:: @ 8151B1C
- msgbox Route121_Text_171D5B, 3
+ msgbox Route121_Text_171D5B, MSGBOX_SIGN
end
Route121_EventScript_151B25:: @ 8151B25
lockall
- msgbox Route121_Text_171C8F, 4
+ msgbox Route121_Text_171C8F, MSGBOX_DEFAULT
closemessage
applymovement 12, Route121_Movement_151B57
applymovement 13, Route121_Movement_151B60
@@ -68,7 +68,7 @@ Route121_Movement_151B69:: @ 8151B69
Route121_EventScript_151B72:: @ 8151B72
trainerbattle_single TRAINER_VANESSA, Route121_Text_1BF96E, Route121_Text_1BF9A1
- msgbox Route121_Text_1BF9BA, 6
+ msgbox Route121_Text_1BF9BA, MSGBOX_AUTOCLOSE
end
Route121_EventScript_151B89:: @ 8151B89
@@ -76,27 +76,27 @@ Route121_EventScript_151B89:: @ 8151B89
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route121_EventScript_151BB0
- msgbox Route121_Text_1BFA9D, 6
+ msgbox Route121_Text_1BFA9D, MSGBOX_AUTOCLOSE
end
Route121_EventScript_151BB0:: @ 8151BB0
trainerbattle_rematch TRAINER_WALTER_1, Route121_Text_1BFADA, Route121_Text_1BFB4B
- msgbox Route121_Text_1BFB5C, 6
+ msgbox Route121_Text_1BFB5C, MSGBOX_AUTOCLOSE
end
Route121_EventScript_151BC7:: @ 8151BC7
trainerbattle_single TRAINER_TAMMY, Route121_Text_1BFBB4, Route121_Text_1BFBEE
- msgbox Route121_Text_1BFBFD, 6
+ msgbox Route121_Text_1BFBFD, MSGBOX_AUTOCLOSE
end
Route121_EventScript_151BDE:: @ 8151BDE
trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_1BFC36, Route121_Text_1BFC7A, Route121_Text_1BFD08
- msgbox Route121_Text_1BFCB3, 6
+ msgbox Route121_Text_1BFCB3, MSGBOX_AUTOCLOSE
end
Route121_EventScript_151BF9:: @ 8151BF9
trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_1BFD60, Route121_Text_1BFDA3, Route121_Text_1BFE0D
- msgbox Route121_Text_1BFDC1, 6
+ msgbox Route121_Text_1BFDC1, MSGBOX_AUTOCLOSE
end
Route121_EventScript_151C14:: @ 8151C14
@@ -104,10 +104,10 @@ Route121_EventScript_151C14:: @ 8151C14
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route121_EventScript_151C3B
- msgbox Route121_Text_1BFEAE, 6
+ msgbox Route121_Text_1BFEAE, MSGBOX_AUTOCLOSE
end
Route121_EventScript_151C3B:: @ 8151C3B
trainerbattle_rematch TRAINER_JESSICA_1, Route121_Text_1BFEDE, Route121_Text_1BFF0A
- msgbox Route121_Text_1BFF3A, 6
+ msgbox Route121_Text_1BFF3A, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route121_SafariZoneEntrance/scripts.inc b/data/maps/Route121_SafariZoneEntrance/scripts.inc
index 7ccd075bb..ab2ea764a 100644
--- a/data/maps/Route121_SafariZoneEntrance/scripts.inc
+++ b/data/maps/Route121_SafariZoneEntrance/scripts.inc
@@ -27,7 +27,7 @@ Route121_SafariZoneEntrance_Movement_15C348:: @ 815C348
end_movement
Route121_SafariZoneEntrance_EventScript_15C351:: @ 815C351
- msgbox Route121_SafariZoneEntrance_Text_1C35D0, 2
+ msgbox Route121_SafariZoneEntrance_Text_1C35D0, MSGBOX_NPC
end
Route121_SafariZoneEntrance_EventScript_15C35A:: @ 815C35A
@@ -36,12 +36,12 @@ Route121_SafariZoneEntrance_EventScript_15C35A:: @ 815C35A
msgbox Route121_SafariZoneEntrance_Text_1C3704, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route121_SafariZoneEntrance_EventScript_15C379
- msgbox Route121_SafariZoneEntrance_Text_1C373C, 4
+ msgbox Route121_SafariZoneEntrance_Text_1C373C, MSGBOX_DEFAULT
release
end
Route121_SafariZoneEntrance_EventScript_15C379:: @ 815C379
- msgbox Route121_SafariZoneEntrance_Text_1C375F, 4
+ msgbox Route121_SafariZoneEntrance_Text_1C375F, MSGBOX_DEFAULT
release
end
@@ -54,7 +54,7 @@ Route121_SafariZoneEntrance_EventScript_15C383:: @ 815C383
msgbox Route121_SafariZoneEntrance_Text_1C3832, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route121_SafariZoneEntrance_EventScript_15C3B3
- msgbox Route121_SafariZoneEntrance_Text_1C3895, 4
+ msgbox Route121_SafariZoneEntrance_Text_1C3895, MSGBOX_DEFAULT
goto Route121_SafariZoneEntrance_EventScript_15C46C
end
@@ -66,16 +66,16 @@ Route121_SafariZoneEntrance_EventScript_15C3B3:: @ 815C3B3
checkmoney 500, 0
compare VAR_RESULT, 0
goto_if_eq Route121_SafariZoneEntrance_EventScript_15C45E
- msgbox Route121_SafariZoneEntrance_Text_1C38D9, 4
+ msgbox Route121_SafariZoneEntrance_Text_1C38D9, MSGBOX_DEFAULT
removemoney 500, 0
updatemoneybox 0, 0
nop
- msgbox Route121_SafariZoneEntrance_Text_1C38F4, 4
+ msgbox Route121_SafariZoneEntrance_Text_1C38F4, MSGBOX_DEFAULT
playfanfare MUS_FANFA4
message Route121_SafariZoneEntrance_Text_1C3910
waitfanfare
waitmessage
- msgbox Route121_SafariZoneEntrance_Text_1C392D, 4
+ msgbox Route121_SafariZoneEntrance_Text_1C392D, MSGBOX_DEFAULT
closemessage
hidemoneybox 0, 0
applymovement 255, Route121_SafariZoneEntrance_Movement_15C47E
@@ -93,7 +93,7 @@ Route121_SafariZoneEntrance_EventScript_15C425:: @ 815C425
specialvar VAR_RESULT, CheckFreePokemonStorageSpace
compare VAR_RESULT, 1
goto_if_eq Route121_SafariZoneEntrance_EventScript_15C44F
- msgbox Route121_SafariZoneEntrance_Text_1C39A3, 4
+ msgbox Route121_SafariZoneEntrance_Text_1C39A3, MSGBOX_DEFAULT
goto Route121_SafariZoneEntrance_EventScript_15C46C
end
@@ -101,12 +101,12 @@ Route121_SafariZoneEntrance_EventScript_15C44F:: @ 815C44F
return
Route121_SafariZoneEntrance_EventScript_15C450:: @ 815C450
- msgbox Route121_SafariZoneEntrance_Text_1C39C3, 4
+ msgbox Route121_SafariZoneEntrance_Text_1C39C3, MSGBOX_DEFAULT
goto Route121_SafariZoneEntrance_EventScript_15C46C
end
Route121_SafariZoneEntrance_EventScript_15C45E:: @ 815C45E
- msgbox Route121_SafariZoneEntrance_Text_1C38B5, 4
+ msgbox Route121_SafariZoneEntrance_Text_1C38B5, MSGBOX_DEFAULT
goto Route121_SafariZoneEntrance_EventScript_15C46C
end
@@ -134,5 +134,5 @@ Route121_SafariZoneEntrance_Movement_15C47E:: @ 815C47E
end_movement
Route121_SafariZoneEntrance_EventScript_15C487:: @ 815C487
- msgbox Route121_SafariZoneEntrance_Text_1C3E4B, 3
+ msgbox Route121_SafariZoneEntrance_Text_1C3E4B, MSGBOX_SIGN
end
diff --git a/data/maps/Route123/scripts.inc b/data/maps/Route123/scripts.inc
index 2f4819980..21909a637 100644
--- a/data/maps/Route123/scripts.inc
+++ b/data/maps/Route123/scripts.inc
@@ -10,16 +10,16 @@ Route123_EventScript_151C5D:: @ 8151C5D
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM19, Route123_EventScript_151CAC
- msgbox Route123_Text_171D83, 4
+ msgbox Route123_Text_171D83, MSGBOX_DEFAULT
special IsGrassTypeInParty
compare VAR_RESULT, 0
goto_if_eq Route123_EventScript_151CAA
- msgbox Route123_Text_171DC2, 4
+ msgbox Route123_Text_171DC2, MSGBOX_DEFAULT
giveitem ITEM_TM19_GIGA_DRAIN
compare VAR_RESULT, 0
goto_if_eq Route123_EventScript_1A029B
setflag FLAG_RECEIVED_TM19
- msgbox Route123_Text_171E34, 4
+ msgbox Route123_Text_171E34, MSGBOX_DEFAULT
release
end
@@ -28,35 +28,35 @@ Route123_EventScript_151CAA:: @ 8151CAA
end
Route123_EventScript_151CAC:: @ 8151CAC
- msgbox Route123_Text_171E34, 4
+ msgbox Route123_Text_171E34, MSGBOX_DEFAULT
release
end
Route123_EventScript_151CB6:: @ 8151CB6
- msgbox Route123_Text_171E76, 3
+ msgbox Route123_Text_171E76, MSGBOX_SIGN
end
Route123_EventScript_151CBF:: @ 8151CBF
- msgbox Route123_Text_171E8E, 3
+ msgbox Route123_Text_171E8E, MSGBOX_SIGN
end
Route123_EventScript_151CC8:: @ 8151CC8
- msgbox Route123_Text_171EBC, 3
+ msgbox Route123_Text_171EBC, MSGBOX_SIGN
end
Route123_EventScript_151CD1:: @ 8151CD1
trainerbattle_single TRAINER_WENDY, Route123_Text_1BFF6A, Route123_Text_1BFFA2
- msgbox Route123_Text_1BFFC1, 6
+ msgbox Route123_Text_1BFFC1, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151CE8:: @ 8151CE8
trainerbattle_single TRAINER_CLYDE, Route123_Text_1BFFF0, Route123_Text_1C0057
- msgbox Route123_Text_1C0075, 6
+ msgbox Route123_Text_1C0075, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151CFF:: @ 8151CFF
trainerbattle_single TRAINER_VIOLET, Route123_Text_1C009E, Route123_Text_1C00D4
- msgbox Route123_Text_1C0100, 6
+ msgbox Route123_Text_1C0100, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151D16:: @ 8151D16
@@ -64,12 +64,12 @@ Route123_EventScript_151D16:: @ 8151D16
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route123_EventScript_151D3D
- msgbox Route123_Text_1C01B1, 6
+ msgbox Route123_Text_1C01B1, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151D3D:: @ 8151D3D
trainerbattle_rematch TRAINER_CAMERON_1, Route123_Text_1C01F9, Route123_Text_1C0240
- msgbox Route123_Text_1C024E, 6
+ msgbox Route123_Text_1C024E, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151D54:: @ 8151D54
@@ -77,25 +77,25 @@ Route123_EventScript_151D54:: @ 8151D54
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route123_EventScript_151D7B
- msgbox Route123_Text_1C030F, 6
+ msgbox Route123_Text_1C030F, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151D7B:: @ 8151D7B
trainerbattle_rematch TRAINER_JACKI_1, Route123_Text_1C0351, Route123_Text_1C0380
- msgbox Route123_Text_1C038C, 6
+ msgbox Route123_Text_1C038C, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151D92:: @ 8151D92
trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_1C03CB, Route123_Text_1C040E, Route123_Text_1C0462
- msgbox Route123_Text_1C0423, 6
+ msgbox Route123_Text_1C0423, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151DAD:: @ 8151DAD
trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_1C049C, Route123_Text_1C04CD, Route123_Text_1C0519
- msgbox Route123_Text_1C04E3, 6
+ msgbox Route123_Text_1C04E3, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151DC8:: @ 8151DC8
trainerbattle_single TRAINER_KINDRA, Route123_Text_1C0554, Route123_Text_1C059F
- msgbox Route123_Text_1C05BC, 6
+ msgbox Route123_Text_1C05BC, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route123_BerryMastersHouse/scripts.inc b/data/maps/Route123_BerryMastersHouse/scripts.inc
index 796bcce13..6010b2076 100644
--- a/data/maps/Route123_BerryMastersHouse/scripts.inc
+++ b/data/maps/Route123_BerryMastersHouse/scripts.inc
@@ -11,7 +11,7 @@ Route123_BerryMastersHouse_EventScript_1639E9:: @ 81639E9
faceplayer
dotimebasedevents
goto_if_set FLAG_DAILY_RECEIVED_BERRY_FROM_BERRYMASTER, Route123_BerryMastersHouse_EventScript_163A5A
- msgbox Route123_BerryMastersHouse_Text_1C5BC4, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5BC4, MSGBOX_DEFAULT
random 10
addvar VAR_RESULT, 20
addvar VAR_RESULT, 133
@@ -19,19 +19,19 @@ Route123_BerryMastersHouse_EventScript_1639E9:: @ 81639E9
compare VAR_RESULT, 0
goto_if_eq Route123_BerryMastersHouse_EventScript_1A029B
setflag FLAG_DAILY_RECEIVED_BERRY_FROM_BERRYMASTER
- msgbox Route123_BerryMastersHouse_Text_1C5C66, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5C66, MSGBOX_DEFAULT
random 10
addvar VAR_RESULT, 20
addvar VAR_RESULT, 133
giveitem VAR_RESULT
compare VAR_RESULT, 0
goto_if_eq Route123_BerryMastersHouse_EventScript_1A029B
- msgbox Route123_BerryMastersHouse_Text_1C5C83, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5C83, MSGBOX_DEFAULT
release
end
Route123_BerryMastersHouse_EventScript_163A5A:: @ 8163A5A
- msgbox Route123_BerryMastersHouse_Text_1C5CDC, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5CDC, MSGBOX_DEFAULT
release
end
@@ -40,7 +40,7 @@ Route123_BerryMastersHouse_EventScript_163A64:: @ 8163A64
faceplayer
dotimebasedevents
goto_if_set FLAG_DAILY_RECEIVED_BERRY_FROM_BERRYMASTER_WIFE, Route123_BerryMastersHouse_EventScript_163C13
- msgbox Route123_BerryMastersHouse_Text_1C5D24, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5D24, MSGBOX_DEFAULT
setvar VAR_0x8004, 13
call Route123_BerryMastersHouse_EventScript_1A00F3
lock
@@ -52,8 +52,8 @@ Route123_BerryMastersHouse_EventScript_163A64:: @ 8163A64
end
Route123_BerryMastersHouse_EventScript_163A9B:: @ 8163A9B
- msgbox Route123_BerryMastersHouse_Text_1C5EC0, 4
- msgbox Route123_BerryMastersHouse_Text_1C5E59, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5EC0, MSGBOX_DEFAULT
+ msgbox Route123_BerryMastersHouse_Text_1C5E59, MSGBOX_DEFAULT
release
end
@@ -73,7 +73,7 @@ Route123_BerryMastersHouse_EventScript_163AAD:: @ 8163AAD
end
Route123_BerryMastersHouse_EventScript_163AF0:: @ 8163AF0
- msgbox Route123_BerryMastersHouse_Text_1C5E0E, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5E0E, MSGBOX_DEFAULT
random 10
addvar VAR_RESULT, ITEM_CHERI_BERRY
giveitem VAR_RESULT
@@ -85,7 +85,7 @@ Route123_BerryMastersHouse_EventScript_163AF0:: @ 8163AF0
Route123_BerryMastersHouse_EventScript_163B1E:: @ 8163B1E
goto_if_set FLAG_RECEIVED_SPELON_BERRY, Route123_BerryMastersHouse_EventScript_163AF0
- msgbox Route123_BerryMastersHouse_Text_1C5DC1, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5DC1, MSGBOX_DEFAULT
giveitem ITEM_SPELON_BERRY
compare VAR_RESULT, 0
goto_if_eq Route123_BerryMastersHouse_EventScript_1A029B
@@ -95,7 +95,7 @@ Route123_BerryMastersHouse_EventScript_163B1E:: @ 8163B1E
Route123_BerryMastersHouse_EventScript_163B4F:: @ 8163B4F
goto_if_set FLAG_RECEIVED_PAMTRE_BERRY, Route123_BerryMastersHouse_EventScript_163AF0
- msgbox Route123_BerryMastersHouse_Text_1C5DC1, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5DC1, MSGBOX_DEFAULT
giveitem ITEM_PAMTRE_BERRY
compare VAR_RESULT, 0
goto_if_eq Route123_BerryMastersHouse_EventScript_1A029B
@@ -105,7 +105,7 @@ Route123_BerryMastersHouse_EventScript_163B4F:: @ 8163B4F
Route123_BerryMastersHouse_EventScript_163B80:: @ 8163B80
goto_if_set FLAG_RECEIVED_WATMEL_BERRY, Route123_BerryMastersHouse_EventScript_163AF0
- msgbox Route123_BerryMastersHouse_Text_1C5DC1, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5DC1, MSGBOX_DEFAULT
giveitem ITEM_WATMEL_BERRY
compare VAR_RESULT, 0
goto_if_eq Route123_BerryMastersHouse_EventScript_1A029B
@@ -115,7 +115,7 @@ Route123_BerryMastersHouse_EventScript_163B80:: @ 8163B80
Route123_BerryMastersHouse_EventScript_163BB1:: @ 8163BB1
goto_if_set FLAG_RECEIVED_DURIN_BERRY, Route123_BerryMastersHouse_EventScript_163AF0
- msgbox Route123_BerryMastersHouse_Text_1C5DC1, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5DC1, MSGBOX_DEFAULT
giveitem ITEM_DURIN_BERRY
compare VAR_RESULT, 0
goto_if_eq Route123_BerryMastersHouse_EventScript_1A029B
@@ -125,7 +125,7 @@ Route123_BerryMastersHouse_EventScript_163BB1:: @ 8163BB1
Route123_BerryMastersHouse_EventScript_163BE2:: @ 8163BE2
goto_if_set FLAG_RECEIVED_BELUE_BERRY, Route123_BerryMastersHouse_EventScript_163AF0
- msgbox Route123_BerryMastersHouse_Text_1C5DC1, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5DC1, MSGBOX_DEFAULT
giveitem ITEM_BELUE_BERRY
compare VAR_RESULT, 0
goto_if_eq Route123_BerryMastersHouse_EventScript_1A029B
@@ -134,12 +134,12 @@ Route123_BerryMastersHouse_EventScript_163BE2:: @ 8163BE2
end
Route123_BerryMastersHouse_EventScript_163C13:: @ 8163C13
- msgbox Route123_BerryMastersHouse_Text_1C5E59, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5E59, MSGBOX_DEFAULT
release
end
Route123_BerryMastersHouse_EventScript_163C1D:: @ 8163C1D
setflag FLAG_DAILY_RECEIVED_BERRY_FROM_BERRYMASTER_WIFE
- msgbox Route123_BerryMastersHouse_Text_1C5E59, 4
+ msgbox Route123_BerryMastersHouse_Text_1C5E59, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/Route124/scripts.inc b/data/maps/Route124/scripts.inc
index e57ec4004..50b57bf89 100644
--- a/data/maps/Route124/scripts.inc
+++ b/data/maps/Route124/scripts.inc
@@ -7,17 +7,17 @@ Route124_MapScript1_151DE5:: @ 8151DE5
end
Route124_EventScript_151DEF:: @ 8151DEF
- msgbox Route124_Text_171ED1, 3
+ msgbox Route124_Text_171ED1, MSGBOX_SIGN
end
Route124_EventScript_151DF8:: @ 8151DF8
trainerbattle_single TRAINER_SPENCER, Route124_Text_1C0624, Route124_Text_1C0675
- msgbox Route124_Text_1C0693, 6
+ msgbox Route124_Text_1C0693, MSGBOX_AUTOCLOSE
end
Route124_EventScript_151E0F:: @ 8151E0F
trainerbattle_single TRAINER_ROLAND, Route124_Text_1C06F7, Route124_Text_1C0741
- msgbox Route124_Text_1C0750, 6
+ msgbox Route124_Text_1C0750, MSGBOX_AUTOCLOSE
end
Route124_EventScript_151E26:: @ 8151E26
@@ -25,22 +25,22 @@ Route124_EventScript_151E26:: @ 8151E26
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route124_EventScript_151E4D
- msgbox Route124_Text_1C080E, 6
+ msgbox Route124_Text_1C080E, MSGBOX_AUTOCLOSE
end
Route124_EventScript_151E4D:: @ 8151E4D
trainerbattle_rematch TRAINER_JENNY_1, Route124_Text_1C0888, Route124_Text_1C08C8
- msgbox Route124_Text_1C08EA, 6
+ msgbox Route124_Text_1C08EA, MSGBOX_AUTOCLOSE
end
Route124_EventScript_151E64:: @ 8151E64
trainerbattle_single TRAINER_GRACE, Route124_Text_1C0936, Route124_Text_1C096B
- msgbox Route124_Text_1C0994, 6
+ msgbox Route124_Text_1C0994, MSGBOX_AUTOCLOSE
end
Route124_EventScript_151E7B:: @ 8151E7B
trainerbattle_single TRAINER_CHAD, Route124_Text_1C09CE, Route124_Text_1C0A2F
- msgbox Route124_Text_1C0A52, 6
+ msgbox Route124_Text_1C0A52, MSGBOX_AUTOCLOSE
end
Route124_EventScript_151E92:: @ 8151E92
@@ -48,12 +48,12 @@ Route124_EventScript_151E92:: @ 8151E92
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route124_EventScript_151EBD
- msgbox Route124_Text_1C0B72, 6
+ msgbox Route124_Text_1C0B72, MSGBOX_AUTOCLOSE
end
Route124_EventScript_151EBD:: @ 8151EBD
trainerbattle_rematch_double TRAINER_RITA_AND_SAM_1, Route124_Text_1C0D1F, Route124_Text_1C0DB5, Route124_Text_1C0E5C
- msgbox Route124_Text_1C0E06, 6
+ msgbox Route124_Text_1C0E06, MSGBOX_AUTOCLOSE
end
Route124_EventScript_151ED8:: @ 8151ED8
@@ -61,10 +61,10 @@ Route124_EventScript_151ED8:: @ 8151ED8
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route124_EventScript_151F03
- msgbox Route124_Text_1C0C7F, 6
+ msgbox Route124_Text_1C0C7F, MSGBOX_AUTOCLOSE
end
Route124_EventScript_151F03:: @ 8151F03
trainerbattle_rematch_double TRAINER_RITA_AND_SAM_1, Route124_Text_1C0EA2, Route124_Text_1C0EE5, Route124_Text_1C0F90
- msgbox Route124_Text_1C0F19, 6
+ msgbox Route124_Text_1C0F19, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route124_DivingTreasureHuntersHouse/scripts.inc b/data/maps/Route124_DivingTreasureHuntersHouse/scripts.inc
index d3ba1d83a..cae701368 100644
--- a/data/maps/Route124_DivingTreasureHuntersHouse/scripts.inc
+++ b/data/maps/Route124_DivingTreasureHuntersHouse/scripts.inc
@@ -10,13 +10,13 @@ Route124_DivingTreasureHuntersHouse_EventScript_163E04:: @ 8163E04
lock
faceplayer
goto_if_set FLAG_MET_DIVING_TREASURE_HUNTER, Route124_DivingTreasureHuntersHouse_EventScript_163E20
- msgbox Route124_DivingTreasureHuntersHouse_Text_19F416, 4
+ msgbox Route124_DivingTreasureHuntersHouse_Text_19F416, MSGBOX_DEFAULT
setflag FLAG_MET_DIVING_TREASURE_HUNTER
goto Route124_DivingTreasureHuntersHouse_EventScript_163E2E
end
Route124_DivingTreasureHuntersHouse_EventScript_163E20:: @ 8163E20
- msgbox Route124_DivingTreasureHuntersHouse_Text_19F48F, 4
+ msgbox Route124_DivingTreasureHuntersHouse_Text_19F48F, MSGBOX_DEFAULT
goto Route124_DivingTreasureHuntersHouse_EventScript_163E2E
end
@@ -60,7 +60,7 @@ Route124_DivingTreasureHuntersHouse_EventScript_163E9C:: @ 8163E9C
return
Route124_DivingTreasureHuntersHouse_EventScript_163EA2:: @ 8163EA2
- msgbox Route124_DivingTreasureHuntersHouse_Text_19F544, 4
+ msgbox Route124_DivingTreasureHuntersHouse_Text_19F544, MSGBOX_DEFAULT
goto Route124_DivingTreasureHuntersHouse_EventScript_163EB0
end
@@ -260,7 +260,7 @@ Route124_DivingTreasureHuntersHouse_EventScript_164292:: @ 8164292
Route124_DivingTreasureHuntersHouse_EventScript_1642D3:: @ 81642D3
removeitem VAR_0x8008
giveitem VAR_0x8009
- msgbox Route124_DivingTreasureHuntersHouse_Text_19F606, 4
+ msgbox Route124_DivingTreasureHuntersHouse_Text_19F606, MSGBOX_DEFAULT
call Route124_DivingTreasureHuntersHouse_EventScript_163E44
compare VAR_TEMP_1, 0
goto_if_eq Route124_DivingTreasureHuntersHouse_EventScript_164333
@@ -271,17 +271,17 @@ Route124_DivingTreasureHuntersHouse_EventScript_1642D3:: @ 81642D3
end
Route124_DivingTreasureHuntersHouse_EventScript_164315:: @ 8164315
- msgbox Route124_DivingTreasureHuntersHouse_Text_19F64E, 4
+ msgbox Route124_DivingTreasureHuntersHouse_Text_19F64E, MSGBOX_DEFAULT
release
end
Route124_DivingTreasureHuntersHouse_EventScript_16431F:: @ 816431F
- msgbox Route124_DivingTreasureHuntersHouse_Text_19F686, 4
+ msgbox Route124_DivingTreasureHuntersHouse_Text_19F686, MSGBOX_DEFAULT
release
end
Route124_DivingTreasureHuntersHouse_EventScript_164329:: @ 8164329
- msgbox Route124_DivingTreasureHuntersHouse_Text_19F4D1, 4
+ msgbox Route124_DivingTreasureHuntersHouse_Text_19F4D1, MSGBOX_DEFAULT
release
end
@@ -290,5 +290,5 @@ Route124_DivingTreasureHuntersHouse_EventScript_164333:: @ 8164333
end
Route124_DivingTreasureHuntersHouse_EventScript_164335:: @ 8164335
- msgbox Route124_DivingTreasureHuntersHouse_Text_19F6C5, 3
+ msgbox Route124_DivingTreasureHuntersHouse_Text_19F6C5, MSGBOX_SIGN
end
diff --git a/data/maps/Route125/scripts.inc b/data/maps/Route125/scripts.inc
index 5abebc1ed..a5dcc83a1 100644
--- a/data/maps/Route125/scripts.inc
+++ b/data/maps/Route125/scripts.inc
@@ -8,22 +8,22 @@ Route125_MapScript1_151F24:: @ 8151F24
Route125_EventScript_151F2E:: @ 8151F2E
trainerbattle_single TRAINER_CODY, Route125_Text_1C0FCF, Route125_Text_1C1002
- msgbox Route125_Text_1C1013, 6
+ msgbox Route125_Text_1C1013, MSGBOX_AUTOCLOSE
end
Route125_EventScript_151F45:: @ 8151F45
trainerbattle_single TRAINER_STAN, Route125_Text_1C104B, Route125_Text_1C1073
- msgbox Route125_Text_1C1083, 6
+ msgbox Route125_Text_1C1083, MSGBOX_AUTOCLOSE
end
Route125_EventScript_151F5C:: @ 8151F5C
trainerbattle_single TRAINER_TANYA, Route125_Text_1C10C3, Route125_Text_1C10FB
- msgbox Route125_Text_1C110C, 6
+ msgbox Route125_Text_1C110C, MSGBOX_AUTOCLOSE
end
Route125_EventScript_151F73:: @ 8151F73
trainerbattle_single TRAINER_SHARON, Route125_Text_1C1136, Route125_Text_1C1175
- msgbox Route125_Text_1C117F, 6
+ msgbox Route125_Text_1C117F, MSGBOX_AUTOCLOSE
end
Route125_EventScript_151F8A:: @ 8151F8A
@@ -31,20 +31,20 @@ Route125_EventScript_151F8A:: @ 8151F8A
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route125_EventScript_151FB1
- msgbox Route125_Text_1C1208, 6
+ msgbox Route125_Text_1C1208, MSGBOX_AUTOCLOSE
end
Route125_EventScript_151FB1:: @ 8151FB1
trainerbattle_rematch TRAINER_ERNEST_1, Route125_Text_1C1282, Route125_Text_1C12C5
- msgbox Route125_Text_1C12EE, 6
+ msgbox Route125_Text_1C12EE, MSGBOX_AUTOCLOSE
end
Route125_EventScript_151FC8:: @ 8151FC8
trainerbattle_double TRAINER_KIM_AND_IRIS, Route125_Text_1C13A1, Route125_Text_1C13FF, Route125_Text_1C146E
- msgbox Route125_Text_1C141C, 6
+ msgbox Route125_Text_1C141C, MSGBOX_AUTOCLOSE
end
Route125_EventScript_151FE3:: @ 8151FE3
trainerbattle_double TRAINER_KIM_AND_IRIS, Route125_Text_1C14AB, Route125_Text_1C14E7, Route125_Text_1C154F
- msgbox Route125_Text_1C1508, 6
+ msgbox Route125_Text_1C1508, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route126/scripts.inc b/data/maps/Route126/scripts.inc
index f13989401..117f71466 100644
--- a/data/maps/Route126/scripts.inc
+++ b/data/maps/Route126/scripts.inc
@@ -8,20 +8,20 @@ Route126_MapScript1_152004:: @ 8152004
Route126_EventScript_15200E:: @ 815200E
trainerbattle_single TRAINER_BARRY, Route126_Text_1C1590, Route126_Text_1C15C3
- msgbox Route126_Text_1C15D8, 6
+ msgbox Route126_Text_1C15D8, MSGBOX_AUTOCLOSE
end
Route126_EventScript_152025:: @ 8152025
trainerbattle_single TRAINER_DEAN, Route126_Text_1C1627, Route126_Text_1C1660
- msgbox Route126_Text_1C166F, 6
+ msgbox Route126_Text_1C166F, MSGBOX_AUTOCLOSE
end
Route126_EventScript_15203C:: @ 815203C
trainerbattle_single TRAINER_NIKKI, Route126_Text_1C16AB, Route126_Text_1C16C5
- msgbox Route126_Text_1C1702, 6
+ msgbox Route126_Text_1C1702, MSGBOX_AUTOCLOSE
end
Route126_EventScript_152053:: @ 8152053
trainerbattle_single TRAINER_BRENDA, Route126_Text_1C1741, Route126_Text_1C1766
- msgbox Route126_Text_1C1773, 6
+ msgbox Route126_Text_1C1773, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route127/scripts.inc b/data/maps/Route127/scripts.inc
index d59f99d56..764001fd0 100644
--- a/data/maps/Route127/scripts.inc
+++ b/data/maps/Route127/scripts.inc
@@ -8,35 +8,35 @@ Route127_MapScript1_152070:: @ 8152070
Route127_EventScript_15207A:: @ 815207A
trainerbattle_single TRAINER_CALEB, Route127_Text_1C17A8, Route127_Text_1C17DD
- msgbox Route127_Text_1C17EC, 6
+ msgbox Route127_Text_1C17EC, MSGBOX_AUTOCLOSE
end
Route127_EventScript_152091:: @ 8152091
trainerbattle_single TRAINER_CONNOR, Route127_Text_1C1828, Route127_Text_1C1860
- msgbox Route127_Text_1C1877, 6
+ msgbox Route127_Text_1C1877, MSGBOX_AUTOCLOSE
end
Route127_EventScript_1520A8:: @ 81520A8
trainerbattle_single TRAINER_JONAH, Route127_Text_1C18CC, Route127_Text_1C1930
- msgbox Route127_Text_1C195D, 6
+ msgbox Route127_Text_1C195D, MSGBOX_AUTOCLOSE
end
Route127_EventScript_1520BF:: @ 81520BF
trainerbattle_single TRAINER_HENRY, Route127_Text_1C19A3, Route127_Text_1C19D6
- msgbox Route127_Text_1C19E7, 6
+ msgbox Route127_Text_1C19E7, MSGBOX_AUTOCLOSE
end
Route127_EventScript_1520D6:: @ 81520D6
trainerbattle_single TRAINER_ROGER, Route127_Text_1C1A2E, Route127_Text_1C1A73
- msgbox Route127_Text_1C1AA0, 6
+ msgbox Route127_Text_1C1AA0, MSGBOX_AUTOCLOSE
end
Route127_EventScript_1520ED:: @ 81520ED
trainerbattle_single TRAINER_KOJI, Route127_Text_1C1AE2, Route127_Text_1C1B2A
- msgbox Route127_Text_1C1B39, 6
+ msgbox Route127_Text_1C1B39, MSGBOX_AUTOCLOSE
end
Route127_EventScript_152104:: @ 8152104
trainerbattle_single TRAINER_BYRON, Route127_Text_1C1B92, Route127_Text_1C1BD9
- msgbox Route127_Text_1C1BEC, 6
+ msgbox Route127_Text_1C1BEC, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route128/scripts.inc b/data/maps/Route128/scripts.inc
index 70bf49888..98c18dd74 100644
--- a/data/maps/Route128/scripts.inc
+++ b/data/maps/Route128/scripts.inc
@@ -21,28 +21,28 @@ Route128_EventScript_15213F:: @ 815213F
.endif
applymovement 4, Route128_Movement_152271
waitmovement 0
- msgbox Route128_Text_171EE0, 4
+ msgbox Route128_Text_171EE0, MSGBOX_DEFAULT
applymovement 4, Route128_Movement_152279
waitmovement 0
- msgbox Route128_Text_171F35, 4
+ msgbox Route128_Text_171F35, MSGBOX_DEFAULT
closemessage
applymovement 5, Route128_Movement_152293
waitmovement 0
applymovement 4, Route128_Movement_1A0841
waitmovement 0
- msgbox Route128_Text_171F4B, 4
+ msgbox Route128_Text_171F4B, MSGBOX_DEFAULT
closemessage
applymovement 5, Route128_Movement_1522A1
waitmovement 0
applymovement 255, Route128_Movement_1A0841
waitmovement 0
- msgbox Route128_Text_172008, 4
+ msgbox Route128_Text_172008, MSGBOX_DEFAULT
closemessage
applymovement 4, Route128_Movement_15227E
applymovement 255, Route128_Movement_1A083F
applymovement 5, Route128_Movement_152290
waitmovement 0
- msgbox Route128_Text_17210B, 4
+ msgbox Route128_Text_17210B, MSGBOX_DEFAULT
closemessage
delay 40
applymovement 5, Route128_Movement_152296
@@ -59,19 +59,19 @@ Route128_EventScript_15213F:: @ 815213F
waitmovement 0
applymovement 255, Route128_Movement_1A0843
waitmovement 0
- msgbox Route128_Text_172181, 4
+ msgbox Route128_Text_172181, MSGBOX_DEFAULT
closemessage
applymovement 3, Route128_Movement_15226D
applymovement 255, Route128_Movement_1A0841
waitmovement 0
.ifdef SAPPHIRE
- msgbox Route128_Text_1721A2, 4
+ msgbox Route128_Text_1721A2, MSGBOX_DEFAULT
.else
- msgbox Route128_Text_1722A1, 4
+ msgbox Route128_Text_1722A1, MSGBOX_DEFAULT
.endif
applymovement 3, Route128_Movement_1A0845
waitmovement 0
- msgbox Route128_Text_1723BE, 4
+ msgbox Route128_Text_1723BE, MSGBOX_DEFAULT
closemessage
applymovement 3, Route128_Movement_1A0845
waitmovement 0
@@ -184,12 +184,12 @@ Route128_EventScript_1522A4:: @ 81522A4
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route128_EventScript_1522CB
- msgbox Route128_Text_1C1CC3, 6
+ msgbox Route128_Text_1C1CC3, MSGBOX_AUTOCLOSE
end
Route128_EventScript_1522CB:: @ 81522CB
trainerbattle_rematch TRAINER_ISAIAH_1, Route128_Text_1C1D02, Route128_Text_1C1D45
- msgbox Route128_Text_1C1D6B, 6
+ msgbox Route128_Text_1C1D6B, MSGBOX_AUTOCLOSE
end
Route128_EventScript_1522E2:: @ 81522E2
@@ -197,25 +197,25 @@ Route128_EventScript_1522E2:: @ 81522E2
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route128_EventScript_152309
- msgbox Route128_Text_1C1E4A, 6
+ msgbox Route128_Text_1C1E4A, MSGBOX_AUTOCLOSE
end
Route128_EventScript_152309:: @ 8152309
trainerbattle_rematch TRAINER_KATELYN_1, Route128_Text_1C1E90, Route128_Text_1C1EFA
- msgbox Route128_Text_1C1F2E, 6
+ msgbox Route128_Text_1C1F2E, MSGBOX_AUTOCLOSE
end
Route128_EventScript_152320:: @ 8152320
trainerbattle_single TRAINER_ALEXA, Route128_Text_1C1F6D, Route128_Text_1C1FCC
- msgbox Route128_Text_1C1FE8, 6
+ msgbox Route128_Text_1C1FE8, MSGBOX_AUTOCLOSE
end
Route128_EventScript_152337:: @ 8152337
trainerbattle_single TRAINER_RUBEN, Route128_Text_1C202C, Route128_Text_1C2051
- msgbox Route128_Text_1C2060, 6
+ msgbox Route128_Text_1C2060, MSGBOX_AUTOCLOSE
end
Route128_EventScript_15234E:: @ 815234E
trainerbattle_single TRAINER_WAYNE, Route128_Text_1C2090, Route128_Text_1C20FC
- msgbox Route128_Text_1C210D, 6
+ msgbox Route128_Text_1C210D, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route129/scripts.inc b/data/maps/Route129/scripts.inc
index 27e5f9364..8219d01c9 100644
--- a/data/maps/Route129/scripts.inc
+++ b/data/maps/Route129/scripts.inc
@@ -3,20 +3,20 @@ Route129_MapScripts:: @ 8152365
Route129_EventScript_152366:: @ 8152366
trainerbattle_single TRAINER_CHASE, Route129_Text_1C2161, Route129_Text_1C2198
- msgbox Route129_Text_1C21B4, 6
+ msgbox Route129_Text_1C21B4, MSGBOX_AUTOCLOSE
end
Route129_EventScript_15237D:: @ 815237D
trainerbattle_single TRAINER_ALLISON, Route129_Text_1C21ED, Route129_Text_1C222F
- msgbox Route129_Text_1C2243, 6
+ msgbox Route129_Text_1C2243, MSGBOX_AUTOCLOSE
end
Route129_EventScript_152394:: @ 8152394
trainerbattle_single TRAINER_REED, Route129_Text_1C22C8, Route129_Text_1C22EC
- msgbox Route129_Text_1C230F, 6
+ msgbox Route129_Text_1C230F, MSGBOX_AUTOCLOSE
end
Route129_EventScript_1523AB:: @ 81523AB
trainerbattle_single TRAINER_TISHA, Route129_Text_1C2349, Route129_Text_1C2378
- msgbox Route129_Text_1C23A3, 6
+ msgbox Route129_Text_1C23A3, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route130/scripts.inc b/data/maps/Route130/scripts.inc
index 4c2ec5797..101e1d05b 100644
--- a/data/maps/Route130/scripts.inc
+++ b/data/maps/Route130/scripts.inc
@@ -31,10 +31,10 @@ Route130_EventScript_15240C:: @ 815240C
Route130_EventScript_152410:: @ 8152410
trainerbattle_single TRAINER_RODNEY, Route130_Text_1C2401, Route130_Text_1C245D
- msgbox Route130_Text_1C2479, 6
+ msgbox Route130_Text_1C2479, MSGBOX_AUTOCLOSE
end
Route130_EventScript_152427:: @ 8152427
trainerbattle_single TRAINER_KATIE, Route130_Text_1C24DC, Route130_Text_1C2525
- msgbox Route130_Text_1C256E, 6
+ msgbox Route130_Text_1C256E, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route131/scripts.inc b/data/maps/Route131/scripts.inc
index 59cc9c596..d544aea37 100644
--- a/data/maps/Route131/scripts.inc
+++ b/data/maps/Route131/scripts.inc
@@ -12,30 +12,30 @@ Route131_EventScript_15244E:: @ 815244E
Route131_EventScript_152452:: @ 8152452
trainerbattle_single TRAINER_RICHARD, Route131_Text_1C25B3, Route131_Text_1C25F8
- msgbox Route131_Text_1C262A, 6
+ msgbox Route131_Text_1C262A, MSGBOX_AUTOCLOSE
end
Route131_EventScript_152469:: @ 8152469
trainerbattle_single TRAINER_HERMAN, Route131_Text_1C26B9, Route131_Text_1C271F
- msgbox Route131_Text_1C2726, 6
+ msgbox Route131_Text_1C2726, MSGBOX_AUTOCLOSE
end
Route131_EventScript_152480:: @ 8152480
trainerbattle_single TRAINER_SUSIE, Route131_Text_1C2774, Route131_Text_1C27A4
- msgbox Route131_Text_1C27CF, 6
+ msgbox Route131_Text_1C27CF, MSGBOX_AUTOCLOSE
end
Route131_EventScript_152497:: @ 8152497
trainerbattle_single TRAINER_KARA, Route131_Text_1C284A, Route131_Text_1C2883
- msgbox Route131_Text_1C2898, 6
+ msgbox Route131_Text_1C2898, MSGBOX_AUTOCLOSE
end
Route131_EventScript_1524AE:: @ 81524AE
trainerbattle_double TRAINER_RELI_AND_IAN, Route131_Text_1C28E2, Route131_Text_1C2918, Route131_Text_1C29B2
- msgbox Route131_Text_1C2950, 6
+ msgbox Route131_Text_1C2950, MSGBOX_AUTOCLOSE
end
Route131_EventScript_1524C9:: @ 81524C9
trainerbattle_double TRAINER_RELI_AND_IAN, Route131_Text_1C29F3, Route131_Text_1C2A20, Route131_Text_1C2ACA
- msgbox Route131_Text_1C2A5D, 6
+ msgbox Route131_Text_1C2A5D, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route132/scripts.inc b/data/maps/Route132/scripts.inc
index afbdc52ca..1db90a49b 100644
--- a/data/maps/Route132/scripts.inc
+++ b/data/maps/Route132/scripts.inc
@@ -3,20 +3,20 @@ Route132_MapScripts:: @ 81524E4
Route132_EventScript_1524E5:: @ 81524E5
trainerbattle_single TRAINER_GILBERT, Route132_Text_1C2AFB, Route132_Text_1C2B5B
- msgbox Route132_Text_1C2B71, 6
+ msgbox Route132_Text_1C2B71, MSGBOX_AUTOCLOSE
end
Route132_EventScript_1524FC:: @ 81524FC
trainerbattle_single TRAINER_DANA, Route132_Text_1C2BB5, Route132_Text_1C2BEA
- msgbox Route132_Text_1C2BFA, 6
+ msgbox Route132_Text_1C2BFA, MSGBOX_AUTOCLOSE
end
Route132_EventScript_152513:: @ 8152513
trainerbattle_single TRAINER_RONALD, Route132_Text_1C2C32, Route132_Text_1C2C60
- msgbox Route132_Text_1C2C78, 6
+ msgbox Route132_Text_1C2C78, MSGBOX_AUTOCLOSE
end
Route132_EventScript_15252A:: @ 815252A
trainerbattle_single TRAINER_KIYO, Route132_Text_1C2CD9, Route132_Text_1C2D1F
- msgbox Route132_Text_1C2D3E, 6
+ msgbox Route132_Text_1C2D3E, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route133/scripts.inc b/data/maps/Route133/scripts.inc
index eab0dd67a..a8ee44abc 100644
--- a/data/maps/Route133/scripts.inc
+++ b/data/maps/Route133/scripts.inc
@@ -3,25 +3,25 @@ Route133_MapScripts:: @ 8152541
Route133_EventScript_152542:: @ 8152542
trainerbattle_single TRAINER_FRANKLIN, Route133_Text_1C2DA5, Route133_Text_1C2DF4
- msgbox Route133_Text_1C2E09, 6
+ msgbox Route133_Text_1C2E09, MSGBOX_AUTOCLOSE
end
Route133_EventScript_152559:: @ 8152559
trainerbattle_single TRAINER_DEBRA, Route133_Text_1C2E61, Route133_Text_1C2EBD
- msgbox Route133_Text_1C2ECD, 6
+ msgbox Route133_Text_1C2ECD, MSGBOX_AUTOCLOSE
end
Route133_EventScript_152570:: @ 8152570
trainerbattle_single TRAINER_LINDA, Route133_Text_1C2EF7, Route133_Text_1C2F19
- msgbox Route133_Text_1C2F25, 6
+ msgbox Route133_Text_1C2F25, MSGBOX_AUTOCLOSE
end
Route133_EventScript_152587:: @ 8152587
trainerbattle_single TRAINER_WARREN, Route133_Text_1C2F53, Route133_Text_1C2FA3
- msgbox Route133_Text_1C2FC7, 6
+ msgbox Route133_Text_1C2FC7, MSGBOX_AUTOCLOSE
end
Route133_EventScript_15259E:: @ 815259E
trainerbattle_single TRAINER_BECK, Route133_Text_1C302D, Route133_Text_1C305F
- msgbox Route133_Text_1C307E, 6
+ msgbox Route133_Text_1C307E, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route134/scripts.inc b/data/maps/Route134/scripts.inc
index 6f286466d..506b6b78b 100644
--- a/data/maps/Route134/scripts.inc
+++ b/data/maps/Route134/scripts.inc
@@ -8,25 +8,25 @@ Route134_MapScript1_1525BB:: @ 81525BB
Route134_EventScript_1525C4:: @ 81525C4
trainerbattle_single TRAINER_JACK, Route134_Text_1C30C6, Route134_Text_1C3110
- msgbox Route134_Text_1C311A, 6
+ msgbox Route134_Text_1C311A, MSGBOX_AUTOCLOSE
end
Route134_EventScript_1525DB:: @ 81525DB
trainerbattle_single TRAINER_LAUREL, Route134_Text_1C315E, Route134_Text_1C3198
- msgbox Route134_Text_1C31A0, 6
+ msgbox Route134_Text_1C31A0, MSGBOX_AUTOCLOSE
end
Route134_EventScript_1525F2:: @ 81525F2
trainerbattle_single TRAINER_ALEX, Route134_Text_1C31D7, Route134_Text_1C3213
- msgbox Route134_Text_1C3229, 6
+ msgbox Route134_Text_1C3229, MSGBOX_AUTOCLOSE
end
Route134_EventScript_152609:: @ 8152609
trainerbattle_single TRAINER_AARON, Route134_Text_1C3319, Route134_Text_1C335C
- msgbox Route134_Text_1C336E, 6
+ msgbox Route134_Text_1C336E, MSGBOX_AUTOCLOSE
end
Route134_EventScript_152620:: @ 8152620
trainerbattle_single TRAINER_HITOSHI, Route134_Text_1C3262, Route134_Text_1C329E
- msgbox Route134_Text_1C32D6, 6
+ msgbox Route134_Text_1C32D6, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/RustboroCity/scripts.inc b/data/maps/RustboroCity/scripts.inc
index 231fb1722..d7a540494 100644
--- a/data/maps/RustboroCity/scripts.inc
+++ b/data/maps/RustboroCity/scripts.inc
@@ -12,36 +12,36 @@ RustboroCity_EventScript_14C386:: @ 814C386
lock
faceplayer
goto_if_set FLAG_DEVON_GOODS_STOLEN, RustboroCity_EventScript_14C39B
- msgbox RustboroCity_Text_16689D, 4
+ msgbox RustboroCity_Text_16689D, MSGBOX_DEFAULT
release
end
RustboroCity_EventScript_14C39B:: @ 814C39B
- msgbox RustboroCity_Text_16690C, 4
+ msgbox RustboroCity_Text_16690C, MSGBOX_DEFAULT
release
end
RustboroCity_EventScript_14C3A5:: @ 814C3A5
lock
faceplayer
- msgbox RustboroCity_Text_166A67, 4
+ msgbox RustboroCity_Text_166A67, MSGBOX_DEFAULT
release
end
RustboroCity_EventScript_14C3B1:: @ 814C3B1
- msgbox RustboroCity_Text_166AE0, 2
+ msgbox RustboroCity_Text_166AE0, MSGBOX_NPC
end
RustboroCity_EventScript_14C3BA:: @ 814C3BA
lock
faceplayer
goto_if_set FLAG_BADGE01_GET, RustboroCity_EventScript_14C3CF
- msgbox RustboroCity_Text_16696D, 4
+ msgbox RustboroCity_Text_16696D, MSGBOX_DEFAULT
release
end
RustboroCity_EventScript_14C3CF:: @ 814C3CF
- msgbox RustboroCity_Text_1669FE, 4
+ msgbox RustboroCity_Text_1669FE, MSGBOX_DEFAULT
release
end
@@ -49,55 +49,55 @@ RustboroCity_EventScript_14C3D9:: @ 814C3D9
lock
faceplayer
goto_if_set FLAG_RECEIVED_POKENAV, RustboroCity_EventScript_14C3EE
- msgbox RustboroCity_Text_166B86, 4
+ msgbox RustboroCity_Text_166B86, MSGBOX_DEFAULT
release
end
RustboroCity_EventScript_14C3EE:: @ 814C3EE
- msgbox RustboroCity_Text_166BEF, 4
+ msgbox RustboroCity_Text_166BEF, MSGBOX_DEFAULT
release
end
RustboroCity_EventScript_14C3F8:: @ 814C3F8
- msgbox RustboroCity_Text_166C98, 2
+ msgbox RustboroCity_Text_166C98, MSGBOX_NPC
end
RustboroCity_EventScript_14C401:: @ 814C401
- msgbox RustboroCity_Text_166CFA, 3
+ msgbox RustboroCity_Text_166CFA, MSGBOX_SIGN
end
RustboroCity_EventScript_14C40A:: @ 814C40A
- msgbox RustboroCity_Text_167374, 3
+ msgbox RustboroCity_Text_167374, MSGBOX_SIGN
end
RustboroCity_EventScript_14C413:: @ 814C413
- msgbox RustboroCity_Text_1673FA, 3
+ msgbox RustboroCity_Text_1673FA, MSGBOX_SIGN
end
RustboroCity_EventScript_14C41C:: @ 814C41C
- msgbox RustboroCity_Text_167439, 3
+ msgbox RustboroCity_Text_167439, MSGBOX_SIGN
end
@ 814C425
- msgbox RustboroCity_Text_167485, 3
+ msgbox RustboroCity_Text_167485, MSGBOX_SIGN
end
RustboroCity_EventScript_14C42E:: @ 814C42E
- msgbox RustboroCity_Text_1674DD, 3
+ msgbox RustboroCity_Text_1674DD, MSGBOX_SIGN
end
RustboroCity_EventScript_14C437:: @ 814C437
- msgbox RustboroCity_Text_167525, 3
+ msgbox RustboroCity_Text_167525, MSGBOX_SIGN
end
RustboroCity_EventScript_14C440:: @ 814C440
- msgbox RustboroCity_Text_167568, 3
+ msgbox RustboroCity_Text_167568, MSGBOX_SIGN
end
RustboroCity_EventScript_14C449:: @ 814C449
lock
faceplayer
- msgbox RustboroCity_Text_166D59, 4
+ msgbox RustboroCity_Text_166D59, MSGBOX_DEFAULT
applymovement 7, RustboroCity_Movement_1A083D
waitmovement 0
release
@@ -106,7 +106,7 @@ RustboroCity_EventScript_14C449:: @ 814C449
RustboroCity_EventScript_14C45F:: @ 814C45F
lock
faceplayer
- msgbox RustboroCity_Text_166DB0, 4
+ msgbox RustboroCity_Text_166DB0, MSGBOX_DEFAULT
applymovement 8, RustboroCity_Movement_1A083D
waitmovement 0
release
@@ -115,7 +115,7 @@ RustboroCity_EventScript_14C45F:: @ 814C45F
RustboroCity_EventScript_14C475:: @ 814C475
lock
faceplayer
- msgbox RustboroCity_Text_166DEE, 4
+ msgbox RustboroCity_Text_166DEE, MSGBOX_DEFAULT
release
end
@@ -160,7 +160,7 @@ RustboroCity_EventScript_14C4DD:: @ 814C4DD
end
RustboroCity_EventScript_14C4F4:: @ 814C4F4
- msgbox RustboroCity_Text_166E65, 4
+ msgbox RustboroCity_Text_166E65, MSGBOX_DEFAULT
closemessage
addobject 10
addobject 9
@@ -169,7 +169,7 @@ RustboroCity_EventScript_14C4F4:: @ 814C4F4
removeobject 10
applymovement 9, RustboroCity_Movement_14C5D3
waitmovement 0
- msgbox RustboroCity_Text_166E7E, 4
+ msgbox RustboroCity_Text_166E7E, MSGBOX_DEFAULT
closemessage
applymovement 9, RustboroCity_Movement_14C5DB
waitmovement 0
@@ -189,11 +189,11 @@ RustboroCity_EventScript_14C4F4:: @ 814C4F4
end
@ 814C55D
- msgbox RustboroCity_Text_166F6B, 4
+ msgbox RustboroCity_Text_166F6B, MSGBOX_DEFAULT
return
@ 814C566
- msgbox RustboroCity_Text_166FB4, 4
+ msgbox RustboroCity_Text_166FB4, MSGBOX_DEFAULT
return
@ 814C56F
@@ -324,7 +324,7 @@ RustboroCity_EventScript_14C5FF:: @ 814C5FF
lock
faceplayer
goto_if_set FLAG_RECOVERED_DEVON_GOODS, RustboroCity_EventScript_14C614
- msgbox RustboroCity_Text_166F6B, 4
+ msgbox RustboroCity_Text_166F6B, MSGBOX_DEFAULT
release
end
@@ -370,7 +370,7 @@ RustboroCity_EventScript_14C650:: @ 814C650
setflag FLAG_UNKNOWN_9F
setvar VAR_RUSTBORO_STATE, 3
moveobjectoffscreen 9
- msgbox RustboroCity_Text_166EA5, 4
+ msgbox RustboroCity_Text_166EA5, MSGBOX_DEFAULT
releaseall
end
@@ -463,11 +463,11 @@ RustboroCity_EventScript_14C77D:: @ 814C77D
call_if_eq RustboroCity_EventScript_14C882
compare VAR_TEMP_1, 4
call_if_eq RustboroCity_EventScript_14C8B8
- msgbox RustboroCity_Text_166FB4, 4
+ msgbox RustboroCity_Text_166FB4, MSGBOX_DEFAULT
giveitem ITEM_GREAT_BALL
compare VAR_RESULT, 0
call_if_eq RustboroCity_EventScript_14C7F5
- msgbox RustboroCity_Text_16707F, 4
+ msgbox RustboroCity_Text_16707F, MSGBOX_DEFAULT
closemessage
setflag FLAG_RETURNED_DEVON_GOODS
setflag FLAG_HIDE_DEVON_RUSTBORO
@@ -479,7 +479,7 @@ RustboroCity_EventScript_14C77D:: @ 814C77D
end
RustboroCity_EventScript_14C7F5:: @ 814C7F5
- msgbox RustboroCity_Text_16704C, 4
+ msgbox RustboroCity_Text_16704C, MSGBOX_DEFAULT
return
RustboroCity_EventScript_14C7FE:: @ 814C7FE
@@ -555,13 +555,13 @@ RustboroCity_EventScript_14C8DA:: @ 814C8DA
RustboroCity_EventScript_14C8FD:: @ 814C8FD
setflag FLAG_MET_RIVAL_RUSTBORO
- msgbox RustboroCity_Text_1670A7, 4
+ msgbox RustboroCity_Text_1670A7, MSGBOX_DEFAULT
release
end
RustboroCity_EventScript_14C90A:: @ 814C90A
setflag FLAG_MET_RIVAL_RUSTBORO
- msgbox RustboroCity_Text_167213, 4
+ msgbox RustboroCity_Text_167213, MSGBOX_DEFAULT
release
end
@@ -574,11 +574,11 @@ RustboroCity_EventScript_14C917:: @ 814C917
end
RustboroCity_EventScript_14C92F:: @ 814C92F
- msgbox RustboroCity_Text_16713C, 4
+ msgbox RustboroCity_Text_16713C, MSGBOX_DEFAULT
release
end
RustboroCity_EventScript_14C939:: @ 814C939
- msgbox RustboroCity_Text_1672B8, 4
+ msgbox RustboroCity_Text_1672B8, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/RustboroCity_CuttersHouse/scripts.inc b/data/maps/RustboroCity_CuttersHouse/scripts.inc
index bbf1adbab..21f797dab 100644
--- a/data/maps/RustboroCity_CuttersHouse/scripts.inc
+++ b/data/maps/RustboroCity_CuttersHouse/scripts.inc
@@ -5,18 +5,18 @@ RustboroCity_CuttersHouse_EventScript_157D27:: @ 8157D27
lock
faceplayer
goto_if_set FLAG_RECEIVED_HM01, RustboroCity_CuttersHouse_EventScript_157D53
- msgbox RustboroCity_CuttersHouse_Text_18509C, 4
+ msgbox RustboroCity_CuttersHouse_Text_18509C, MSGBOX_DEFAULT
giveitem ITEM_HM01_CUT
setflag FLAG_RECEIVED_HM01
- msgbox RustboroCity_CuttersHouse_Text_1851C9, 4
+ msgbox RustboroCity_CuttersHouse_Text_1851C9, MSGBOX_DEFAULT
release
end
RustboroCity_CuttersHouse_EventScript_157D53:: @ 8157D53
- msgbox RustboroCity_CuttersHouse_Text_1851C9, 4
+ msgbox RustboroCity_CuttersHouse_Text_1851C9, MSGBOX_DEFAULT
release
end
RustboroCity_CuttersHouse_EventScript_157D5D:: @ 8157D5D
- msgbox RustboroCity_CuttersHouse_Text_1852B3, 2
+ msgbox RustboroCity_CuttersHouse_Text_1852B3, MSGBOX_NPC
end
diff --git a/data/maps/RustboroCity_DevonCorp_1F/scripts.inc b/data/maps/RustboroCity_DevonCorp_1F/scripts.inc
index 7b56c72a2..a575ce7e2 100644
--- a/data/maps/RustboroCity_DevonCorp_1F/scripts.inc
+++ b/data/maps/RustboroCity_DevonCorp_1F/scripts.inc
@@ -16,17 +16,17 @@ RustboroCity_DevonCorp_1F_EventScript_157422:: @ 8157422
faceplayer
goto_if_set FLAG_RETURNED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_15744A
goto_if_set FLAG_DEVON_GOODS_STOLEN, RustboroCity_DevonCorp_1F_EventScript_157440
- msgbox RustboroCity_DevonCorp_1F_Text_1829A4, 4
+ msgbox RustboroCity_DevonCorp_1F_Text_1829A4, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_1F_EventScript_157440:: @ 8157440
- msgbox RustboroCity_DevonCorp_1F_Text_182A19, 4
+ msgbox RustboroCity_DevonCorp_1F_Text_182A19, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_1F_EventScript_15744A:: @ 815744A
- msgbox RustboroCity_DevonCorp_1F_Text_182AB3, 4
+ msgbox RustboroCity_DevonCorp_1F_Text_182AB3, MSGBOX_DEFAULT
release
end
@@ -36,17 +36,17 @@ RustboroCity_DevonCorp_1F_EventScript_157454:: @ 8157454
goto_if_set FLAG_RETURNED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_15747B
goto_if_set FLAG_RECOVERED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_157485
goto_if_set FLAG_DEVON_GOODS_STOLEN, RustboroCity_DevonCorp_1F_EventScript_157485
- msgbox RustboroCity_DevonCorp_1F_Text_182AF0, 4
+ msgbox RustboroCity_DevonCorp_1F_Text_182AF0, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_1F_EventScript_15747B:: @ 815747B
- msgbox RustboroCity_DevonCorp_1F_Text_182B5A, 4
+ msgbox RustboroCity_DevonCorp_1F_Text_182B5A, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_1F_EventScript_157485:: @ 8157485
- msgbox RustboroCity_DevonCorp_1F_Text_182B2D, 4
+ msgbox RustboroCity_DevonCorp_1F_Text_182B2D, MSGBOX_DEFAULT
release
end
@@ -56,16 +56,16 @@ RustboroCity_DevonCorp_1F_EventScript_15748F:: @ 815748F
goto_if_set FLAG_RETURNED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_1574B6
goto_if_set FLAG_RECOVERED_DEVON_GOODS, RustboroCity_DevonCorp_1F_EventScript_1574C0
goto_if_set FLAG_DEVON_GOODS_STOLEN, RustboroCity_DevonCorp_1F_EventScript_1574C0
- msgbox RustboroCity_DevonCorp_1F_Text_1828EE, 4
+ msgbox RustboroCity_DevonCorp_1F_Text_1828EE, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_1F_EventScript_1574B6:: @ 81574B6
- msgbox RustboroCity_DevonCorp_1F_Text_1828EE, 4
+ msgbox RustboroCity_DevonCorp_1F_Text_1828EE, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_1F_EventScript_1574C0:: @ 81574C0
- msgbox RustboroCity_DevonCorp_1F_Text_18295E, 4
+ msgbox RustboroCity_DevonCorp_1F_Text_18295E, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/RustboroCity_DevonCorp_2F/scripts.inc b/data/maps/RustboroCity_DevonCorp_2F/scripts.inc
index 31453acb9..6dd9e716c 100644
--- a/data/maps/RustboroCity_DevonCorp_2F/scripts.inc
+++ b/data/maps/RustboroCity_DevonCorp_2F/scripts.inc
@@ -16,7 +16,7 @@ RustboroCity_DevonCorp_2F_EventScript_1574E2:: @ 81574E2
faceplayer
compare VAR_FOSSIL_RESURRECTION_STATE, 1
call_if_eq RustboroCity_DevonCorp_2F_EventScript_1574DC
- msgbox RustboroCity_DevonCorp_2F_Text_182B81, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_182B81, MSGBOX_DEFAULT
release
end
@@ -26,12 +26,12 @@ RustboroCity_DevonCorp_2F_EventScript_1574F9:: @ 81574F9
compare VAR_FOSSIL_RESURRECTION_STATE, 1
call_if_eq RustboroCity_DevonCorp_2F_EventScript_1574DC
goto_if_set FLAG_MET_DEVON_EMPLOYEE, RustboroCity_DevonCorp_2F_EventScript_157519
- msgbox RustboroCity_DevonCorp_2F_Text_182BD8, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_182BD8, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_2F_EventScript_157519:: @ 8157519
- msgbox RustboroCity_DevonCorp_2F_Text_182C25, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_182C25, MSGBOX_DEFAULT
release
end
@@ -41,12 +41,12 @@ RustboroCity_DevonCorp_2F_EventScript_157523:: @ 8157523
compare VAR_FOSSIL_RESURRECTION_STATE, 1
call_if_eq RustboroCity_DevonCorp_2F_EventScript_1574DC
goto_if_set FLAG_RECEIVED_POKENAV, RustboroCity_DevonCorp_2F_EventScript_157543
- msgbox RustboroCity_DevonCorp_2F_Text_182D2A, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_182D2A, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_2F_EventScript_157543:: @ 8157543
- msgbox RustboroCity_DevonCorp_2F_Text_182D7E, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_182D7E, MSGBOX_DEFAULT
release
end
@@ -55,7 +55,7 @@ RustboroCity_DevonCorp_2F_EventScript_15754D:: @ 815754D
faceplayer
compare VAR_FOSSIL_RESURRECTION_STATE, 1
call_if_eq RustboroCity_DevonCorp_2F_EventScript_1574DC
- msgbox RustboroCity_DevonCorp_2F_Text_182E6B, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_182E6B, MSGBOX_DEFAULT
release
end
@@ -66,7 +66,7 @@ RustboroCity_DevonCorp_2F_EventScript_157564:: @ 8157564
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_15764A
compare VAR_FOSSIL_RESURRECTION_STATE, 1
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_157640
- msgbox RustboroCity_DevonCorp_2F_Text_182ED5, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_182ED5, MSGBOX_DEFAULT
checkitem ITEM_ROOT_FOSSIL, 1
compare VAR_RESULT, 1
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_1575A6
@@ -87,7 +87,7 @@ RustboroCity_DevonCorp_2F_EventScript_1575A6:: @ 81575A6
compare VAR_RESULT, NO
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_157636
bufferitemname 0, ITEM_ROOT_FOSSIL
- msgbox RustboroCity_DevonCorp_2F_Text_183023, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_183023, MSGBOX_DEFAULT
removeitem ITEM_ROOT_FOSSIL
setvar VAR_FOSSIL_RESURRECTION_STATE, 1
setvar VAR_WHICH_FOSSIL_REVIVED, 1
@@ -105,7 +105,7 @@ RustboroCity_DevonCorp_2F_EventScript_1575EE:: @ 81575EE
compare VAR_RESULT, NO
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_157636
bufferitemname 0, ITEM_CLAW_FOSSIL
- msgbox RustboroCity_DevonCorp_2F_Text_183023, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_183023, MSGBOX_DEFAULT
removeitem ITEM_CLAW_FOSSIL
setvar VAR_FOSSIL_RESURRECTION_STATE, 1
setvar VAR_WHICH_FOSSIL_REVIVED, 2
@@ -113,12 +113,12 @@ RustboroCity_DevonCorp_2F_EventScript_1575EE:: @ 81575EE
end
RustboroCity_DevonCorp_2F_EventScript_157636:: @ 8157636
- msgbox RustboroCity_DevonCorp_2F_Text_182FD7, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_182FD7, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_2F_EventScript_157640:: @ 8157640
- msgbox RustboroCity_DevonCorp_2F_Text_183072, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_183072, MSGBOX_DEFAULT
release
end
@@ -131,7 +131,7 @@ RustboroCity_DevonCorp_2F_EventScript_15764A:: @ 815764A
RustboroCity_DevonCorp_2F_EventScript_157661:: @ 8157661
bufferspeciesname 1, SPECIES_LILEEP
- msgbox RustboroCity_DevonCorp_2F_Text_183124, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_183124, MSGBOX_DEFAULT
getpartysize
compare VAR_RESULT, 6
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_157707
@@ -151,7 +151,7 @@ RustboroCity_DevonCorp_2F_EventScript_157661:: @ 8157661
RustboroCity_DevonCorp_2F_EventScript_1576B4:: @ 81576B4
bufferspeciesname 1, SPECIES_ANORITH
- msgbox RustboroCity_DevonCorp_2F_Text_183124, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_183124, MSGBOX_DEFAULT
getpartysize
compare VAR_RESULT, 6
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_157707
@@ -170,6 +170,6 @@ RustboroCity_DevonCorp_2F_EventScript_1576B4:: @ 81576B4
end
RustboroCity_DevonCorp_2F_EventScript_157707:: @ 8157707
- msgbox RustboroCity_DevonCorp_2F_Text_1831C8, 4
+ msgbox RustboroCity_DevonCorp_2F_Text_1831C8, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/RustboroCity_DevonCorp_3F/scripts.inc b/data/maps/RustboroCity_DevonCorp_3F/scripts.inc
index 8508aa548..0fb135c7e 100644
--- a/data/maps/RustboroCity_DevonCorp_3F/scripts.inc
+++ b/data/maps/RustboroCity_DevonCorp_3F/scripts.inc
@@ -28,35 +28,35 @@ RustboroCity_DevonCorp_3F_MapScript2_157748:: @ 8157748
RustboroCity_DevonCorp_3F_EventScript_157752:: @ 8157752
lockall
- msgbox RustboroCity_DevonCorp_3F_Text_18374C, 4
+ msgbox RustboroCity_DevonCorp_3F_Text_18374C, MSGBOX_DEFAULT
closemessage
applymovement 2, RustboroCity_DevonCorp_3F_Movement_157815
waitmovement 0
delay 80
applymovement 2, RustboroCity_DevonCorp_3F_Movement_15781E
waitmovement 0
- msgbox RustboroCity_DevonCorp_3F_Text_183903, 4
+ msgbox RustboroCity_DevonCorp_3F_Text_183903, MSGBOX_DEFAULT
closemessage
playbgm MUS_TSURETEK, FALSE
applymovement 2, RustboroCity_DevonCorp_3F_Movement_157803
applymovement 255, RustboroCity_DevonCorp_3F_Movement_157827
waitmovement 0
- msgbox RustboroCity_DevonCorp_3F_Text_18394A, 4
+ msgbox RustboroCity_DevonCorp_3F_Text_18394A, MSGBOX_DEFAULT
closemessage
fadedefaultbgm
applymovement 2, RustboroCity_DevonCorp_3F_Movement_157812
applymovement 255, RustboroCity_DevonCorp_3F_Movement_157835
waitmovement 0
- msgbox RustboroCity_DevonCorp_3F_Text_18320B, 4
+ msgbox RustboroCity_DevonCorp_3F_Text_18320B, MSGBOX_DEFAULT
giveitem ITEM_LETTER
- msgbox RustboroCity_DevonCorp_3F_Text_18337E, 4
+ msgbox RustboroCity_DevonCorp_3F_Text_18337E, MSGBOX_DEFAULT
playfanfare MUS_FANFA4
message RustboroCity_DevonCorp_3F_Text_183422
waitfanfare
waitmessage
setflag FLAG_SYS_POKENAV_GET
setflag FLAG_RECEIVED_POKENAV
- msgbox RustboroCity_DevonCorp_3F_Text_183439, 4
+ msgbox RustboroCity_DevonCorp_3F_Text_183439, MSGBOX_DEFAULT
setflag FLAG_HIDE_TUNNER_DIGGER_ROUTE116
clearflag FLAG_HIDE_BOYFRIEND_RUSTURF_TUNNEL
clearflag FLAG_HIDE_GIRLFRIEND_RUSTURF_TUNNEL
@@ -148,7 +148,7 @@ RustboroCity_DevonCorp_3F_EventScript_15783B:: @ 815783B
faceplayer
goto_if_set FLAG_RECEIVED_EXP_SHARE, RustboroCity_DevonCorp_3F_EventScript_15789B
goto_if_set FLAG_DELIVERED_STEVEN_LETTER, RustboroCity_DevonCorp_3F_EventScript_157864
- msgbox RustboroCity_DevonCorp_3F_Text_18351E, 4
+ msgbox RustboroCity_DevonCorp_3F_Text_18351E, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, RustboroCity_DevonCorp_3F_Movement_1A083D
waitmovement 0
@@ -156,12 +156,12 @@ RustboroCity_DevonCorp_3F_EventScript_15783B:: @ 815783B
end
RustboroCity_DevonCorp_3F_EventScript_157864:: @ 8157864
- msgbox RustboroCity_DevonCorp_3F_Text_18353E, 4
+ msgbox RustboroCity_DevonCorp_3F_Text_18353E, MSGBOX_DEFAULT
giveitem ITEM_EXP_SHARE
compare VAR_RESULT, 0
goto_if_eq RustboroCity_DevonCorp_3F_EventScript_1A029B
setflag FLAG_RECEIVED_EXP_SHARE
- msgbox RustboroCity_DevonCorp_3F_Text_1835B3, 4
+ msgbox RustboroCity_DevonCorp_3F_Text_1835B3, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, RustboroCity_DevonCorp_3F_Movement_1A083D
waitmovement 0
@@ -169,7 +169,7 @@ RustboroCity_DevonCorp_3F_EventScript_157864:: @ 8157864
end
RustboroCity_DevonCorp_3F_EventScript_15789B:: @ 815789B
- msgbox RustboroCity_DevonCorp_3F_Text_18368D, 4
+ msgbox RustboroCity_DevonCorp_3F_Text_18368D, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, RustboroCity_DevonCorp_3F_Movement_1A083D
waitmovement 0
@@ -180,15 +180,15 @@ RustboroCity_DevonCorp_3F_EventScript_1578B0:: @ 81578B0
lock
faceplayer
goto_if_set FLAG_RECEIVED_REPEAT_BALL, RustboroCity_DevonCorp_3F_EventScript_1578C5
- msgbox RustboroCity_DevonCorp_3F_Text_18395C, 4
+ msgbox RustboroCity_DevonCorp_3F_Text_18395C, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_3F_EventScript_1578C5:: @ 81578C5
- msgbox RustboroCity_DevonCorp_3F_Text_1839A3, 4
+ msgbox RustboroCity_DevonCorp_3F_Text_1839A3, MSGBOX_DEFAULT
release
end
RustboroCity_DevonCorp_3F_EventScript_1578CF:: @ 81578CF
- msgbox RustboroCity_DevonCorp_3F_Text_183A04, 3
+ msgbox RustboroCity_DevonCorp_3F_Text_183A04, MSGBOX_SIGN
end
diff --git a/data/maps/RustboroCity_Flat1_1F/scripts.inc b/data/maps/RustboroCity_Flat1_1F/scripts.inc
index dbbdf22b7..b8d4118d4 100644
--- a/data/maps/RustboroCity_Flat1_1F/scripts.inc
+++ b/data/maps/RustboroCity_Flat1_1F/scripts.inc
@@ -2,9 +2,9 @@ RustboroCity_Flat1_1F_MapScripts:: @ 8157C5F
.byte 0
RustboroCity_Flat1_1F_EventScript_157C60:: @ 8157C60
- msgbox RustboroCity_Flat1_1F_Text_184DB4, 2
+ msgbox RustboroCity_Flat1_1F_Text_184DB4, MSGBOX_NPC
end
RustboroCity_Flat1_1F_EventScript_157C69:: @ 8157C69
- msgbox RustboroCity_Flat1_1F_Text_184DE9, 2
+ msgbox RustboroCity_Flat1_1F_Text_184DE9, MSGBOX_NPC
end
diff --git a/data/maps/RustboroCity_Flat1_2F/scripts.inc b/data/maps/RustboroCity_Flat1_2F/scripts.inc
index 53672bb42..ddd48ddf7 100644
--- a/data/maps/RustboroCity_Flat1_2F/scripts.inc
+++ b/data/maps/RustboroCity_Flat1_2F/scripts.inc
@@ -2,5 +2,5 @@ RustboroCity_Flat1_2F_MapScripts:: @ 8157C72
.byte 0
RustboroCity_Flat1_2F_EventScript_157C73:: @ 8157C73
- msgbox RustboroCity_Flat1_2F_Text_184E0D, 2
+ msgbox RustboroCity_Flat1_2F_Text_184E0D, MSGBOX_NPC
end
diff --git a/data/maps/RustboroCity_Flat2_1F/scripts.inc b/data/maps/RustboroCity_Flat2_1F/scripts.inc
index a6ba54ce7..521d4d803 100644
--- a/data/maps/RustboroCity_Flat2_1F/scripts.inc
+++ b/data/maps/RustboroCity_Flat2_1F/scripts.inc
@@ -2,7 +2,7 @@ RustboroCity_Flat2_1F_MapScripts:: @ 8157D79
.byte 0
RustboroCity_Flat2_1F_EventScript_157D7A:: @ 8157D7A
- msgbox RustboroCity_Flat2_1F_Text_1853DD, 2
+ msgbox RustboroCity_Flat2_1F_Text_1853DD, MSGBOX_NPC
end
RustboroCity_Flat2_1F_EventScript_157D83:: @ 8157D83
@@ -10,7 +10,7 @@ RustboroCity_Flat2_1F_EventScript_157D83:: @ 8157D83
faceplayer
waitse
playmoncry SPECIES_SKITTY, 0
- msgbox RustboroCity_Flat2_1F_Text_185410, 4
+ msgbox RustboroCity_Flat2_1F_Text_185410, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/RustboroCity_Flat2_2F/scripts.inc b/data/maps/RustboroCity_Flat2_2F/scripts.inc
index 255164f4c..2f46e710a 100644
--- a/data/maps/RustboroCity_Flat2_2F/scripts.inc
+++ b/data/maps/RustboroCity_Flat2_2F/scripts.inc
@@ -2,14 +2,14 @@ RustboroCity_Flat2_2F_MapScripts:: @ 8157D96
.byte 0
RustboroCity_Flat2_2F_EventScript_157D97:: @ 8157D97
- msgbox RustboroCity_Flat2_2F_Text_185421, 2
+ msgbox RustboroCity_Flat2_2F_Text_185421, MSGBOX_NPC
end
RustboroCity_Flat2_2F_EventScript_157DA0:: @ 8157DA0
lock
faceplayer
goto_if_set FLAG_RECEIVED_PREMIER_BALL_RUSTBORO, RustboroCity_Flat2_2F_EventScript_157DCF
- msgbox RustboroCity_Flat2_2F_Text_185461, 4
+ msgbox RustboroCity_Flat2_2F_Text_185461, MSGBOX_DEFAULT
giveitem ITEM_PREMIER_BALL
compare VAR_RESULT, 0
goto_if_eq RustboroCity_Flat2_2F_EventScript_1A029B
@@ -18,6 +18,6 @@ RustboroCity_Flat2_2F_EventScript_157DA0:: @ 8157DA0
end
RustboroCity_Flat2_2F_EventScript_157DCF:: @ 8157DCF
- msgbox RustboroCity_Flat2_2F_Text_1854C4, 4
+ msgbox RustboroCity_Flat2_2F_Text_1854C4, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/RustboroCity_Flat2_3F/scripts.inc b/data/maps/RustboroCity_Flat2_3F/scripts.inc
index d3b05b5bf..fe3949181 100644
--- a/data/maps/RustboroCity_Flat2_3F/scripts.inc
+++ b/data/maps/RustboroCity_Flat2_3F/scripts.inc
@@ -2,9 +2,9 @@ RustboroCity_Flat2_3F_MapScripts:: @ 8157DD9
.byte 0
RustboroCity_Flat2_3F_EventScript_157DDA:: @ 8157DDA
- msgbox RustboroCity_Flat2_3F_Text_18551D, 2
+ msgbox RustboroCity_Flat2_3F_Text_18551D, MSGBOX_NPC
end
RustboroCity_Flat2_3F_EventScript_157DE3:: @ 8157DE3
- msgbox RustboroCity_Flat2_3F_Text_18554D, 2
+ msgbox RustboroCity_Flat2_3F_Text_18554D, MSGBOX_NPC
end
diff --git a/data/maps/RustboroCity_Gym/scripts.inc b/data/maps/RustboroCity_Gym/scripts.inc
index 7c7f8a316..443472dc7 100644
--- a/data/maps/RustboroCity_Gym/scripts.inc
+++ b/data/maps/RustboroCity_Gym/scripts.inc
@@ -4,7 +4,7 @@ RustboroCity_Gym_MapScripts:: @ 81578D8
RustboroCity_Gym_EventScript_1578D9:: @ 81578D9
trainerbattle_single TRAINER_ROXANNE, RustboroCity_Gym_Text_183EE5, RustboroCity_Gym_Text_183FC4, RustboroCity_Gym_EventScript_1578FE, NO_MUSIC
goto_if_unset FLAG_RECEIVED_TM39, RustboroCity_Gym_EventScript_15793C
- msgbox RustboroCity_Gym_Text_184252, 4
+ msgbox RustboroCity_Gym_Text_184252, MSGBOX_DEFAULT
release
end
@@ -12,7 +12,7 @@ RustboroCity_Gym_EventScript_1578FE:: @ 81578FE
message RustboroCity_Gym_Text_1840AB
waitmessage
call RustboroCity_Gym_EventScript_1A02C5
- msgbox RustboroCity_Gym_Text_1840D5, 4
+ msgbox RustboroCity_Gym_Text_1840D5, MSGBOX_DEFAULT
setflag FLAG_DEFEATED_RUSTBORO_GYM
setflag FLAG_BADGE01_GET
setvar VAR_RUSTBORO_STATE, 1
@@ -29,30 +29,30 @@ RustboroCity_Gym_EventScript_15793C:: @ 815793C
compare VAR_RESULT, 0
goto_if_eq RustboroCity_Gym_EventScript_1A029B
setflag FLAG_RECEIVED_TM39
- msgbox RustboroCity_Gym_Text_184170, 4
+ msgbox RustboroCity_Gym_Text_184170, MSGBOX_DEFAULT
release
end
RustboroCity_Gym_EventScript_157960:: @ 8157960
trainerbattle_single TRAINER_JOSH, RustboroCity_Gym_Text_183D99, RustboroCity_Gym_Text_183DDD
- msgbox RustboroCity_Gym_Text_183DF9, 6
+ msgbox RustboroCity_Gym_Text_183DF9, MSGBOX_AUTOCLOSE
end
RustboroCity_Gym_EventScript_157977:: @ 8157977
trainerbattle_single TRAINER_TOMMY, RustboroCity_Gym_Text_183E38, RustboroCity_Gym_Text_183E78
- msgbox RustboroCity_Gym_Text_183E98, 6
+ msgbox RustboroCity_Gym_Text_183E98, MSGBOX_AUTOCLOSE
end
RustboroCity_Gym_EventScript_15798E:: @ 815798E
lock
faceplayer
goto_if_set FLAG_DEFEATED_RUSTBORO_GYM, RustboroCity_Gym_EventScript_1579A3
- msgbox RustboroCity_Gym_Text_183A4B, 4
+ msgbox RustboroCity_Gym_Text_183A4B, MSGBOX_DEFAULT
release
end
RustboroCity_Gym_EventScript_1579A3:: @ 81579A3
- msgbox RustboroCity_Gym_Text_183C90, 4
+ msgbox RustboroCity_Gym_Text_183C90, MSGBOX_DEFAULT
release
end
@@ -69,11 +69,11 @@ RustboroCity_Gym_EventScript_1579BD:: @ 81579BD
end
RustboroCity_Gym_EventScript_1579CD:: @ 81579CD
- msgbox RustboroCity_Gym_Text_1842E6, 4
+ msgbox RustboroCity_Gym_Text_1842E6, MSGBOX_DEFAULT
releaseall
end
RustboroCity_Gym_EventScript_1579D7:: @ 81579D7
- msgbox RustboroCity_Gym_Text_1842CC, 4
+ msgbox RustboroCity_Gym_Text_1842CC, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/RustboroCity_House1/scripts.inc b/data/maps/RustboroCity_House1/scripts.inc
index f49581ef9..ee7399bcb 100644
--- a/data/maps/RustboroCity_House1/scripts.inc
+++ b/data/maps/RustboroCity_House1/scripts.inc
@@ -27,27 +27,27 @@ RustboroCity_House1_EventScript_157C7D:: @ 8157C7D
special CreateInGameTradePokemon
special DoInGameTradeScene
waitstate
- msgbox RustboroCity_House1_Text_184F6B, 4
+ msgbox RustboroCity_House1_Text_184F6B, MSGBOX_DEFAULT
setflag FLAG_RUSTBORO_NPC_TRADE_COMPLETED
release
end
RustboroCity_House1_EventScript_157CFB:: @ 8157CFB
- msgbox RustboroCity_House1_Text_184FC1, 4
+ msgbox RustboroCity_House1_Text_184FC1, MSGBOX_DEFAULT
release
end
RustboroCity_House1_EventScript_157D05:: @ 8157D05
bufferspeciesname 0, VAR_0x8009
- msgbox RustboroCity_House1_Text_184F8F, 4
+ msgbox RustboroCity_House1_Text_184F8F, MSGBOX_DEFAULT
release
end
RustboroCity_House1_EventScript_157D13:: @ 8157D13
- msgbox RustboroCity_House1_Text_184FDD, 4
+ msgbox RustboroCity_House1_Text_184FDD, MSGBOX_DEFAULT
release
end
RustboroCity_House1_EventScript_157D1D:: @ 8157D1D
- msgbox RustboroCity_House1_Text_185020, 2
+ msgbox RustboroCity_House1_Text_185020, MSGBOX_NPC
end
diff --git a/data/maps/RustboroCity_House2/scripts.inc b/data/maps/RustboroCity_House2/scripts.inc
index b448065f4..08cb32333 100644
--- a/data/maps/RustboroCity_House2/scripts.inc
+++ b/data/maps/RustboroCity_House2/scripts.inc
@@ -2,9 +2,9 @@ RustboroCity_House2_MapScripts:: @ 8157D66
.byte 0
RustboroCity_House2_EventScript_157D67:: @ 8157D67
- msgbox RustboroCity_House2_Text_18532D, 2
+ msgbox RustboroCity_House2_Text_18532D, MSGBOX_NPC
end
RustboroCity_House2_EventScript_157D70:: @ 8157D70
- msgbox RustboroCity_House2_Text_185388, 2
+ msgbox RustboroCity_House2_Text_185388, MSGBOX_NPC
end
diff --git a/data/maps/RustboroCity_House3/scripts.inc b/data/maps/RustboroCity_House3/scripts.inc
index 86d77c18e..e29414f1d 100644
--- a/data/maps/RustboroCity_House3/scripts.inc
+++ b/data/maps/RustboroCity_House3/scripts.inc
@@ -2,11 +2,11 @@ RustboroCity_House3_MapScripts:: @ 8157DEC
.byte 0
RustboroCity_House3_EventScript_157DED:: @ 8157DED
- msgbox RustboroCity_House3_Text_185584, 2
+ msgbox RustboroCity_House3_Text_185584, MSGBOX_NPC
end
RustboroCity_House3_EventScript_157DF6:: @ 8157DF6
- msgbox RustboroCity_House3_Text_1855FA, 2
+ msgbox RustboroCity_House3_Text_1855FA, MSGBOX_NPC
end
RustboroCity_House3_EventScript_157DFF:: @ 8157DFF
@@ -14,7 +14,7 @@ RustboroCity_House3_EventScript_157DFF:: @ 8157DFF
faceplayer
waitse
playmoncry SPECIES_PIKACHU, 0
- msgbox RustboroCity_House3_Text_18567D, 4
+ msgbox RustboroCity_House3_Text_18567D, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/RustboroCity_Mart/scripts.inc b/data/maps/RustboroCity_Mart/scripts.inc
index c8e3f3a43..419c93676 100644
--- a/data/maps/RustboroCity_Mart/scripts.inc
+++ b/data/maps/RustboroCity_Mart/scripts.inc
@@ -12,7 +12,7 @@ RustboroCity_Mart_EventScript_157BD4:: @ 8157BD4
RustboroCity_Mart_EventScript_157BEF:: @ 8157BEF
pokemart RustboroCity_Mart_Items1
- msgbox RustboroCity_Mart_Text_1A0C02, 4
+ msgbox RustboroCity_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -34,7 +34,7 @@ RustboroCity_Mart_Items1:: @ 8157C00
RustboroCity_Mart_EventScript_157C18:: @ 8157C18
pokemart RustboroCity_Mart_Items2
- msgbox RustboroCity_Mart_Text_1A0C02, 4
+ msgbox RustboroCity_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -57,13 +57,13 @@ RustboroCity_Mart_Items2:: @ 8157C28
end
RustboroCity_Mart_EventScript_157C44:: @ 8157C44
- msgbox RustboroCity_Mart_Text_184C76, 2
+ msgbox RustboroCity_Mart_Text_184C76, MSGBOX_NPC
end
RustboroCity_Mart_EventScript_157C4D:: @ 8157C4D
- msgbox RustboroCity_Mart_Text_184CD8, 2
+ msgbox RustboroCity_Mart_Text_184CD8, MSGBOX_NPC
end
RustboroCity_Mart_EventScript_157C56:: @ 8157C56
- msgbox RustboroCity_Mart_Text_184D43, 2
+ msgbox RustboroCity_Mart_Text_184D43, MSGBOX_NPC
end
diff --git a/data/maps/RustboroCity_PokemonCenter_1F/scripts.inc b/data/maps/RustboroCity_PokemonCenter_1F/scripts.inc
index 6da36aef8..93d1dd4c6 100644
--- a/data/maps/RustboroCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/RustboroCity_PokemonCenter_1F/scripts.inc
@@ -16,13 +16,13 @@ RustboroCity_PokemonCenter_1F_EventScript_157B88:: @ 8157B88
end
RustboroCity_PokemonCenter_1F_EventScript_157B96:: @ 8157B96
- msgbox RustboroCity_PokemonCenter_1F_Text_184B37, 2
+ msgbox RustboroCity_PokemonCenter_1F_Text_184B37, MSGBOX_NPC
end
RustboroCity_PokemonCenter_1F_EventScript_157B9F:: @ 8157B9F
- msgbox RustboroCity_PokemonCenter_1F_Text_184BAB, 2
+ msgbox RustboroCity_PokemonCenter_1F_Text_184BAB, MSGBOX_NPC
end
RustboroCity_PokemonCenter_1F_EventScript_157BA8:: @ 8157BA8
- msgbox RustboroCity_PokemonCenter_1F_Text_184C19, 2
+ msgbox RustboroCity_PokemonCenter_1F_Text_184C19, MSGBOX_NPC
end
diff --git a/data/maps/RustboroCity_PokemonSchool/scripts.inc b/data/maps/RustboroCity_PokemonSchool/scripts.inc
index 65fdb985b..d10e05fe8 100644
--- a/data/maps/RustboroCity_PokemonSchool/scripts.inc
+++ b/data/maps/RustboroCity_PokemonSchool/scripts.inc
@@ -3,7 +3,7 @@ RustboroCity_PokemonSchool_MapScripts:: @ 81579E1
RustboroCity_PokemonSchool_EventScript_1579E2:: @ 81579E2
lockall
- msgbox RustboroCity_PokemonSchool_Text_184321, 4
+ msgbox RustboroCity_PokemonSchool_Text_184321, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_1579F1
end
@@ -22,27 +22,27 @@ RustboroCity_PokemonSchool_EventScript_1579F1:: @ 81579F1
end
RustboroCity_PokemonSchool_EventScript_157A50:: @ 8157A50
- msgbox RustboroCity_PokemonSchool_Text_184389, 4
+ msgbox RustboroCity_PokemonSchool_Text_184389, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_1579F1
end
RustboroCity_PokemonSchool_EventScript_157A5E:: @ 8157A5E
- msgbox RustboroCity_PokemonSchool_Text_184447, 4
+ msgbox RustboroCity_PokemonSchool_Text_184447, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_1579F1
end
RustboroCity_PokemonSchool_EventScript_157A6C:: @ 8157A6C
- msgbox RustboroCity_PokemonSchool_Text_1844EC, 4
+ msgbox RustboroCity_PokemonSchool_Text_1844EC, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_1579F1
end
RustboroCity_PokemonSchool_EventScript_157A7A:: @ 8157A7A
- msgbox RustboroCity_PokemonSchool_Text_1845A5, 4
+ msgbox RustboroCity_PokemonSchool_Text_1845A5, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_1579F1
end
RustboroCity_PokemonSchool_EventScript_157A88:: @ 8157A88
- msgbox RustboroCity_PokemonSchool_Text_184627, 4
+ msgbox RustboroCity_PokemonSchool_Text_184627, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_1579F1
end
@@ -51,27 +51,27 @@ RustboroCity_PokemonSchool_EventScript_157A96:: @ 8157A96
end
RustboroCity_PokemonSchool_EventScript_157A98:: @ 8157A98
- msgbox RustboroCity_PokemonSchool_Text_18480E, 2
+ msgbox RustboroCity_PokemonSchool_Text_18480E, MSGBOX_NPC
end
RustboroCity_PokemonSchool_EventScript_157AA1:: @ 8157AA1
- msgbox RustboroCity_PokemonSchool_Text_18483C, 2
+ msgbox RustboroCity_PokemonSchool_Text_18483C, MSGBOX_NPC
end
RustboroCity_PokemonSchool_EventScript_157AAA:: @ 8157AAA
- msgbox RustboroCity_PokemonSchool_Text_184873, 2
+ msgbox RustboroCity_PokemonSchool_Text_184873, MSGBOX_NPC
end
RustboroCity_PokemonSchool_EventScript_157AB3:: @ 8157AB3
- msgbox RustboroCity_PokemonSchool_Text_1848D8, 2
+ msgbox RustboroCity_PokemonSchool_Text_1848D8, MSGBOX_NPC
end
RustboroCity_PokemonSchool_EventScript_157ABC:: @ 8157ABC
- msgbox RustboroCity_PokemonSchool_Text_184988, 2
+ msgbox RustboroCity_PokemonSchool_Text_184988, MSGBOX_NPC
end
RustboroCity_PokemonSchool_EventScript_157AC5:: @ 8157AC5
- msgbox RustboroCity_PokemonSchool_Text_184A17, 3
+ msgbox RustboroCity_PokemonSchool_Text_184A17, MSGBOX_SIGN
end
RustboroCity_PokemonSchool_EventScript_157ACE:: @ 8157ACE
@@ -82,7 +82,7 @@ RustboroCity_PokemonSchool_EventScript_157ACE:: @ 8157ACE
call_if_eq RustboroCity_PokemonSchool_EventScript_157B1E
compare VAR_FACING, 3
call_if_eq RustboroCity_PokemonSchool_EventScript_157B29
- msgbox RustboroCity_PokemonSchool_Text_1846A2, 4
+ msgbox RustboroCity_PokemonSchool_Text_1846A2, MSGBOX_DEFAULT
giveitem ITEM_QUICK_CLAW
compare VAR_RESULT, 0
goto_if_eq RustboroCity_PokemonSchool_EventScript_1A029B
@@ -104,7 +104,7 @@ RustboroCity_PokemonSchool_EventScript_157B29:: @ 8157B29
return
RustboroCity_PokemonSchool_EventScript_157B34:: @ 8157B34
- msgbox RustboroCity_PokemonSchool_Text_184737, 4
+ msgbox RustboroCity_PokemonSchool_Text_184737, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, RustboroCity_PokemonSchool_Movement_1A0845
waitmovement 0
diff --git a/data/maps/RusturfTunnel/scripts.inc b/data/maps/RusturfTunnel/scripts.inc
index 41d1c3d37..c329b5509 100644
--- a/data/maps/RusturfTunnel/scripts.inc
+++ b/data/maps/RusturfTunnel/scripts.inc
@@ -22,7 +22,7 @@ RusturfTunnel_EventScript_15C773:: @ 815C773
RusturfTunnel_EventScript_15C782:: @ 815C782
lock
faceplayer
- msgbox RusturfTunnel_Text_194766, 4
+ msgbox RusturfTunnel_Text_194766, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, RusturfTunnel_Movement_1A083D
waitmovement 0
@@ -34,7 +34,7 @@ RusturfTunnel_EventScript_15C799:: @ 815C799
faceplayer
goto_if_set FLAG_TEMP_1, RusturfTunnel_EventScript_15C7BC
setflag FLAG_TEMP_1
- msgbox RusturfTunnel_Text_1944C5, 4
+ msgbox RusturfTunnel_Text_1944C5, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, RusturfTunnel_Movement_1A083D
waitmovement 0
@@ -42,7 +42,7 @@ RusturfTunnel_EventScript_15C799:: @ 815C799
end
RusturfTunnel_EventScript_15C7BC:: @ 815C7BC
- msgbox RusturfTunnel_Text_1945B2, 4
+ msgbox RusturfTunnel_Text_1945B2, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, RusturfTunnel_Movement_1A083D
waitmovement 0
@@ -58,14 +58,14 @@ RusturfTunnel_EventScript_15C7D1:: @ 815C7D1
compare VAR_TEMP_1, 3
call_if_eq RusturfTunnel_EventScript_15C8EA
call RusturfTunnel_EventScript_15C92D
- msgbox RusturfTunnel_Text_19461D, 4
+ msgbox RusturfTunnel_Text_19461D, MSGBOX_DEFAULT
compare VAR_TEMP_1, 2
call_if_eq RusturfTunnel_EventScript_15C8EB
compare VAR_TEMP_1, 3
call_if_eq RusturfTunnel_EventScript_15C8EB
giveitem ITEM_HM04_STRENGTH
setflag FLAG_RECEIVED_HM04
- msgbox RusturfTunnel_Text_194693, 4
+ msgbox RusturfTunnel_Text_194693, MSGBOX_DEFAULT
closemessage
compare VAR_TEMP_1, 1
call_if_eq RusturfTunnel_EventScript_15C880
@@ -73,7 +73,7 @@ RusturfTunnel_EventScript_15C7D1:: @ 815C7D1
call_if_eq RusturfTunnel_EventScript_15C892
compare VAR_TEMP_1, 3
call_if_eq RusturfTunnel_EventScript_15C8AE
- msgbox RusturfTunnel_Text_194706, 4
+ msgbox RusturfTunnel_Text_194706, MSGBOX_DEFAULT
closemessage
compare VAR_TEMP_1, 1
call_if_eq RusturfTunnel_EventScript_15C8F7
@@ -278,7 +278,7 @@ RusturfTunnel_EventScript_15C9A5:: @ 815C9A5
RusturfTunnel_EventScript_15C9AB:: @ 815C9AB
lockall
- msgbox RusturfTunnel_Text_194159, 4
+ msgbox RusturfTunnel_Text_194159, MSGBOX_DEFAULT
closemessage
applymovement 6, RusturfTunnel_Movement_15C9D3
applymovement 7, RusturfTunnel_Movement_15C9D3
@@ -300,7 +300,7 @@ RusturfTunnel_EventScript_15C9D7:: @ 815C9D7
faceplayer
waitse
playmoncry SPECIES_WINGULL, 0
- msgbox RusturfTunnel_Text_194188, 4
+ msgbox RusturfTunnel_Text_194188, MSGBOX_DEFAULT
waitmoncry
release
end
@@ -309,9 +309,9 @@ RusturfTunnel_EventScript_15C9EA:: @ 815C9EA
lock
faceplayer
playbgm MUS_EVIL_TEAM, FALSE
- msgbox RusturfTunnel_Text_19419B, 4
+ msgbox RusturfTunnel_Text_19419B, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_RUSTURF_TUNNEL_GRUNT, RusturfTunnel_Text_194243
- msgbox RusturfTunnel_Text_194274, 4
+ msgbox RusturfTunnel_Text_194274, MSGBOX_DEFAULT
giveitem ITEM_DEVON_GOODS
closemessage
applymovement 255, RusturfTunnel_Movement_15CA99
@@ -325,7 +325,7 @@ RusturfTunnel_EventScript_15C9EA:: @ 815C9EA
applymovement 255, RusturfTunnel_Movement_15CA9F
applymovement 5, RusturfTunnel_Movement_15CAC0
waitmovement 0
- msgbox RusturfTunnel_Text_19432A, 4
+ msgbox RusturfTunnel_Text_19432A, MSGBOX_DEFAULT
applymovement 5, RusturfTunnel_Movement_1A0839
waitmovement 0
message RusturfTunnel_Text_19434F
@@ -416,5 +416,5 @@ RusturfTunnel_Movement_15CAC3:: @ 815CAC3
RusturfTunnel_EventScript_15CACD:: @ 815CACD
trainerbattle_single TRAINER_MIKE_2, RusturfTunnel_Text_194814, RusturfTunnel_Text_1948A2
- msgbox RusturfTunnel_Text_1948C4, 6
+ msgbox RusturfTunnel_Text_1948C4, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/SSTidalCorridor/scripts.inc b/data/maps/SSTidalCorridor/scripts.inc
index a9f0b6bae..64270aa55 100644
--- a/data/maps/SSTidalCorridor/scripts.inc
+++ b/data/maps/SSTidalCorridor/scripts.inc
@@ -14,7 +14,7 @@ SSTidalCorridor_EventScript_15FCBC:: @ 815FCBC
setvar VAR_PORTHOLE_STATE, 2
lockall
playse SE_PINPON
- msgbox SSTidalCorridor_Text_199007, 4
+ msgbox SSTidalCorridor_Text_199007, MSGBOX_DEFAULT
releaseall
end
@@ -22,7 +22,7 @@ SSTidalCorridor_EventScript_15FCD2:: @ 815FCD2
setvar VAR_PORTHOLE_STATE, 6
lockall
playse SE_PINPON
- msgbox SSTidalCorridor_Text_199088, 4
+ msgbox SSTidalCorridor_Text_199088, MSGBOX_DEFAULT
releaseall
end
@@ -30,14 +30,14 @@ SSTidalRooms_EventScript_15FCE5:: @ 815FCE5
special SetSSTidalFlag
setvar VAR_PORTHOLE_STATE, 7
playse SE_PINPON
- msgbox SSTidalRooms_Text_199007, 4
+ msgbox SSTidalRooms_Text_199007, MSGBOX_DEFAULT
return
SSTidalRooms_EventScript_15FCF9:: @ 815FCF9
special ResetSSTidalFlag
setvar VAR_PORTHOLE_STATE, 4
playse SE_PINPON
- msgbox SSTidalRooms_Text_1990F8, 4
+ msgbox SSTidalRooms_Text_1990F8, MSGBOX_DEFAULT
return
gUnknown_0815FD0D:: @ 815FD0D
@@ -52,7 +52,7 @@ SSTidalCorridor_EventScript_15FD24:: @ 815FD24
setvar VAR_PORTHOLE_STATE, 3
lockall
playse SE_PINPON
- msgbox SSTidalCorridor_Text_199088, 4
+ msgbox SSTidalCorridor_Text_199088, MSGBOX_DEFAULT
releaseall
end
@@ -61,7 +61,7 @@ SSTidalCorridor_EventScript_15FD3A:: @ 815FD3A
setvar VAR_PORTHOLE_STATE, 8
lockall
playse SE_PINPON
- msgbox SSTidalCorridor_Text_1990B4, 4
+ msgbox SSTidalCorridor_Text_1990B4, MSGBOX_DEFAULT
releaseall
end
@@ -69,7 +69,7 @@ SSTidalRooms_EventScript_15FD50:: @ 815FD50
special ResetSSTidalFlag
setvar VAR_PORTHOLE_STATE, 8
playse SE_PINPON
- msgbox SSTidalRooms_Text_1990B4, 4
+ msgbox SSTidalRooms_Text_1990B4, MSGBOX_DEFAULT
return
SSTidalRooms_EventScript_15FD64:: @ 815FD64
@@ -81,7 +81,7 @@ SSTidalRooms_EventScript_15FD64:: @ 815FD64
return
SSTidalCorridor_EventScript_15FD96:: @ 815FD96
- msgbox SSTidalCorridor_Text_199291, 2
+ msgbox SSTidalCorridor_Text_199291, MSGBOX_NPC
end
SSTidalCorridor_EventScript_15FD9F:: @ 815FD9F
@@ -89,25 +89,25 @@ SSTidalCorridor_EventScript_15FD9F:: @ 815FD9F
faceplayer
waitse
playmoncry SPECIES_WINGULL, 0
- msgbox SSTidalCorridor_Text_199388, 4
+ msgbox SSTidalCorridor_Text_199388, MSGBOX_DEFAULT
waitmoncry
release
end
SSTidalCorridor_EventScript_15FDB2:: @ 815FDB2
- msgbox SSTidalCorridor_Text_1993A1, 3
+ msgbox SSTidalCorridor_Text_1993A1, MSGBOX_SIGN
end
SSTidalCorridor_EventScript_15FDBB:: @ 815FDBB
- msgbox SSTidalCorridor_Text_1993A9, 3
+ msgbox SSTidalCorridor_Text_1993A9, MSGBOX_SIGN
end
SSTidalCorridor_EventScript_15FDC4:: @ 815FDC4
- msgbox SSTidalCorridor_Text_1993B1, 3
+ msgbox SSTidalCorridor_Text_1993B1, MSGBOX_SIGN
end
SSTidalCorridor_EventScript_15FDCD:: @ 815FDCD
- msgbox SSTidalCorridor_Text_1993B9, 3
+ msgbox SSTidalCorridor_Text_1993B9, MSGBOX_SIGN
end
SSTidalCorridor_EventScript_15FDD6:: @ 815FDD6
@@ -117,13 +117,13 @@ SSTidalCorridor_EventScript_15FDD6:: @ 815FDD6
goto_if_eq SSTidalCorridor_EventScript_15FDF8
compare VAR_PORTHOLE_STATE, 8
goto_if_eq SSTidalCorridor_EventScript_15FE17
- msgbox SSTidalCorridor_Text_19913B, 4
+ msgbox SSTidalCorridor_Text_19913B, MSGBOX_DEFAULT
release
end
SSTidalCorridor_EventScript_15FDF8:: @ 815FDF8
setrespawn HEAL_LOCATION_LILYCOVE_CITY
- msgbox SSTidalCorridor_Text_1991F4, 4
+ msgbox SSTidalCorridor_Text_1991F4, MSGBOX_DEFAULT
call_if_set FLAG_RECEIVED_TM49, SSTidalCorridor_EventScript_15FE36
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
waitstate
@@ -132,7 +132,7 @@ SSTidalCorridor_EventScript_15FDF8:: @ 815FDF8
SSTidalCorridor_EventScript_15FE17:: @ 815FE17
setrespawn HEAL_LOCATION_SLATEPORT_CITY
- msgbox SSTidalCorridor_Text_1991F4, 4
+ msgbox SSTidalCorridor_Text_1991F4, MSGBOX_DEFAULT
call_if_set FLAG_RECEIVED_TM49, SSTidalCorridor_EventScript_15FE36
warp MAP_SLATEPORT_CITY_HARBOR, 255, 8, 11
waitstate
@@ -149,7 +149,7 @@ SSTidalCorridor_EventScript_15FE3A:: @ 815FE3A
goto_if_eq SSTidalCorridor_EventScript_15FE5B
compare VAR_PORTHOLE_STATE, 7
goto_if_eq SSTidalCorridor_EventScript_15FE5B
- msgbox SSTidalCorridor_Text_199268, 4
+ msgbox SSTidalCorridor_Text_199268, MSGBOX_DEFAULT
releaseall
end
@@ -163,12 +163,12 @@ SSTidalCorridor_EventScript_15FE60:: @ 815FE60
faceplayer
goto_if_set FLAG_DEFEATED_SS_TIDAL_TRAINERS, SSTidalCorridor_EventScript_15FE7A
call SSTidalCorridor_EventScript_15FE84
- msgbox SSTidalCorridor_Text_199203, 4
+ msgbox SSTidalCorridor_Text_199203, MSGBOX_DEFAULT
release
end
SSTidalCorridor_EventScript_15FE7A:: @ 815FE7A
- msgbox SSTidalCorridor_Text_199255, 4
+ msgbox SSTidalCorridor_Text_199255, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/SSTidalLowerDeck/scripts.inc b/data/maps/SSTidalLowerDeck/scripts.inc
index 032c14dfd..a023350cf 100644
--- a/data/maps/SSTidalLowerDeck/scripts.inc
+++ b/data/maps/SSTidalLowerDeck/scripts.inc
@@ -3,10 +3,10 @@ SSTidalLowerDeck_MapScripts:: @ 815FED6
SSTidalLowerDeck_EventScript_15FED7:: @ 815FED7
trainerbattle_single TRAINER_PHILLIP, SSTidalLowerDeck_Text_1993C1, SSTidalLowerDeck_Text_19941A
- msgbox SSTidalLowerDeck_Text_19942E, 6
+ msgbox SSTidalLowerDeck_Text_19942E, MSGBOX_AUTOCLOSE
end
SSTidalLowerDeck_EventScript_15FEEE:: @ 815FEEE
trainerbattle_single TRAINER_LEONARD, SSTidalLowerDeck_Text_199491, SSTidalLowerDeck_Text_1994F7
- msgbox SSTidalLowerDeck_Text_199508, 6
+ msgbox SSTidalLowerDeck_Text_199508, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/SSTidalRooms/scripts.inc b/data/maps/SSTidalRooms/scripts.inc
index 68bbe86ee..d4c10ad31 100644
--- a/data/maps/SSTidalRooms/scripts.inc
+++ b/data/maps/SSTidalRooms/scripts.inc
@@ -5,23 +5,23 @@ SSTidalRooms_EventScript_15FF06:: @ 815FF06
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM49, SSTidalRooms_EventScript_15FF3D
- msgbox SSTidalRooms_Text_199B65, 4
+ msgbox SSTidalRooms_Text_199B65, MSGBOX_DEFAULT
giveitem ITEM_TM49_SNATCH
compare VAR_RESULT, 0
goto_if_eq SSTidalRooms_EventScript_1A029B
setflag FLAG_RECEIVED_TM49
- msgbox SSTidalRooms_Text_199C1A, 4
+ msgbox SSTidalRooms_Text_199C1A, MSGBOX_DEFAULT
release
end
SSTidalRooms_EventScript_15FF3D:: @ 815FF3D
- msgbox SSTidalRooms_Text_199C1A, 4
+ msgbox SSTidalRooms_Text_199C1A, MSGBOX_DEFAULT
release
end
SSTidalRooms_EventScript_15FF47:: @ 815FF47
lockall
- msgbox SSTidalRooms_Text_19956B, 4
+ msgbox SSTidalRooms_Text_19956B, MSGBOX_DEFAULT
closemessage
call SSTidalRooms_EventScript_1A02CA
call SSTidalRooms_EventScript_15FD64
@@ -30,35 +30,35 @@ SSTidalRooms_EventScript_15FF47:: @ 815FF47
SSTidalRooms_EventScript_15FF5D:: @ 815FF5D
trainerbattle_single TRAINER_COLTON, SSTidalRooms_Text_19958A, SSTidalRooms_Text_199613
- msgbox SSTidalRooms_Text_199630, 6
+ msgbox SSTidalRooms_Text_199630, MSGBOX_AUTOCLOSE
end
SSTidalRooms_EventScript_15FF74:: @ 815FF74
trainerbattle_single TRAINER_TUCKER, SSTidalRooms_Text_1996A6, SSTidalRooms_Text_1996BF
- msgbox SSTidalRooms_Text_1996E1, 6
+ msgbox SSTidalRooms_Text_1996E1, MSGBOX_AUTOCLOSE
end
SSTidalRooms_EventScript_15FF8B:: @ 815FF8B
trainerbattle_single TRAINER_THOMAS, SSTidalRooms_Text_199723, SSTidalRooms_Text_199747
- msgbox SSTidalRooms_Text_199778, 6
+ msgbox SSTidalRooms_Text_199778, MSGBOX_AUTOCLOSE
end
SSTidalRooms_EventScript_15FFA2:: @ 815FFA2
trainerbattle_double TRAINER_LEA_AND_JED, SSTidalRooms_Text_1997C1, SSTidalRooms_Text_199813, SSTidalRooms_Text_199887
- msgbox SSTidalRooms_Text_199820, 6
+ msgbox SSTidalRooms_Text_199820, MSGBOX_AUTOCLOSE
end
SSTidalRooms_EventScript_15FFBD:: @ 815FFBD
trainerbattle_double TRAINER_LEA_AND_JED, SSTidalRooms_Text_1998C5, SSTidalRooms_Text_19990E, SSTidalRooms_Text_199975
- msgbox SSTidalRooms_Text_19991C, 6
+ msgbox SSTidalRooms_Text_19991C, MSGBOX_AUTOCLOSE
end
SSTidalRooms_EventScript_15FFD8:: @ 815FFD8
trainerbattle_single TRAINER_GARRET, SSTidalRooms_Text_1999B7, SSTidalRooms_Text_1999FF
- msgbox SSTidalRooms_Text_199A10, 6
+ msgbox SSTidalRooms_Text_199A10, MSGBOX_AUTOCLOSE
end
SSTidalRooms_EventScript_15FFEF:: @ 815FFEF
trainerbattle_single TRAINER_ANETTE, SSTidalRooms_Text_199A62, SSTidalRooms_Text_199ABF
- msgbox SSTidalRooms_Text_199ADE, 6
+ msgbox SSTidalRooms_Text_199ADE, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/SafariZone_Northeast/scripts.inc b/data/maps/SafariZone_Northeast/scripts.inc
index 11e14da0f..31c23305d 100644
--- a/data/maps/SafariZone_Northeast/scripts.inc
+++ b/data/maps/SafariZone_Northeast/scripts.inc
@@ -2,9 +2,9 @@ SafariZone_Northeast_MapScripts:: @ 8160010
.byte 0
SafariZone_Northeast_EventScript_160011:: @ 8160011
- msgbox SafariZone_Northeast_Text_1C3D19, 2
+ msgbox SafariZone_Northeast_Text_1C3D19, MSGBOX_NPC
end
SafariZone_Northeast_EventScript_16001A:: @ 816001A
- msgbox SafariZone_Northeast_Text_1C3D80, 2
+ msgbox SafariZone_Northeast_Text_1C3D80, MSGBOX_NPC
end
diff --git a/data/maps/SafariZone_Northwest/scripts.inc b/data/maps/SafariZone_Northwest/scripts.inc
index f17b7078d..4d3250226 100644
--- a/data/maps/SafariZone_Northwest/scripts.inc
+++ b/data/maps/SafariZone_Northwest/scripts.inc
@@ -2,5 +2,5 @@ SafariZone_Northwest_MapScripts:: @ 8160006
.byte 0
SafariZone_Northwest_EventScript_160007:: @ 8160007
- msgbox SafariZone_Northwest_Text_1C3CAE, 2
+ msgbox SafariZone_Northwest_Text_1C3CAE, MSGBOX_NPC
end
diff --git a/data/maps/SafariZone_RestHouse/scripts.inc b/data/maps/SafariZone_RestHouse/scripts.inc
index edaee1580..cdbb2fc7d 100644
--- a/data/maps/SafariZone_RestHouse/scripts.inc
+++ b/data/maps/SafariZone_RestHouse/scripts.inc
@@ -2,13 +2,13 @@ SafariZone_RestHouse_MapScripts:: @ 8160C2E
.byte 0
SafariZone_RestHouse_EventScript_160C2F:: @ 8160C2F
- msgbox SafariZone_RestHouse_Text_1C3EC9, 2
+ msgbox SafariZone_RestHouse_Text_1C3EC9, MSGBOX_NPC
end
SafariZone_RestHouse_EventScript_160C38:: @ 8160C38
- msgbox SafariZone_RestHouse_Text_1C3F71, 2
+ msgbox SafariZone_RestHouse_Text_1C3F71, MSGBOX_NPC
end
SafariZone_RestHouse_EventScript_160C41:: @ 8160C41
- msgbox SafariZone_RestHouse_Text_1C3FF4, 2
+ msgbox SafariZone_RestHouse_Text_1C3FF4, MSGBOX_NPC
end
diff --git a/data/maps/SafariZone_Southeast/scripts.inc b/data/maps/SafariZone_Southeast/scripts.inc
index e989748b1..ea849354b 100644
--- a/data/maps/SafariZone_Southeast/scripts.inc
+++ b/data/maps/SafariZone_Southeast/scripts.inc
@@ -38,15 +38,15 @@ SafariZone_Southeast_Movement_160089:: @ 8160089
end_movement
SafariZone_Southeast_EventScript_16008C:: @ 816008C
- msgbox SafariZone_Southeast_Text_1C3B71, 2
+ msgbox SafariZone_Southeast_Text_1C3B71, MSGBOX_NPC
end
SafariZone_Southeast_EventScript_160095:: @ 8160095
- msgbox SafariZone_Southeast_Text_1C3BBD, 2
+ msgbox SafariZone_Southeast_Text_1C3BBD, MSGBOX_NPC
end
SafariZone_Southeast_EventScript_16009E:: @ 816009E
- msgbox SafariZone_Southeast_Text_1C3DCE, 2
+ msgbox SafariZone_Southeast_Text_1C3DCE, MSGBOX_NPC
end
SafariZone_Southeast_EventScript_1600A7:: @ 81600A7
@@ -57,18 +57,18 @@ SafariZone_Southeast_EventScript_1600A7:: @ 81600A7
msgbox SafariZone_Southeast_Text_1C3A56, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq SafariZone_Southeast_EventScript_1600E0
- msgbox SafariZone_Southeast_Text_1C3A9C, 4
+ msgbox SafariZone_Southeast_Text_1C3A9C, MSGBOX_DEFAULT
release
end
SafariZone_Southeast_EventScript_1600D1:: @ 81600D1
setvar VAR_TEMP_1, 1
- msgbox SafariZone_Southeast_Text_1C3B2D, 4
+ msgbox SafariZone_Southeast_Text_1C3B2D, MSGBOX_DEFAULT
release
end
SafariZone_Southeast_EventScript_1600E0:: @ 81600E0
- msgbox SafariZone_Southeast_Text_1C3ACA, 4
+ msgbox SafariZone_Southeast_Text_1C3ACA, MSGBOX_DEFAULT
closemessage
switch VAR_FACING
case 2, SafariZone_Southeast_EventScript_160105
diff --git a/data/maps/SafariZone_Southwest/scripts.inc b/data/maps/SafariZone_Southwest/scripts.inc
index 51bffeeab..70ce99973 100644
--- a/data/maps/SafariZone_Southwest/scripts.inc
+++ b/data/maps/SafariZone_Southwest/scripts.inc
@@ -2,9 +2,9 @@ SafariZone_Southwest_MapScripts:: @ 8160023
.byte 0
SafariZone_Southwest_EventScript_160024:: @ 8160024
- msgbox SafariZone_Southwest_Text_1C3C39, 2
+ msgbox SafariZone_Southwest_Text_1C3C39, MSGBOX_NPC
end
SafariZone_Southwest_EventScript_16002D:: @ 816002D
- msgbox SafariZone_Southwest_Text_1C3EA3, 3
+ msgbox SafariZone_Southwest_Text_1C3EA3, MSGBOX_SIGN
end
diff --git a/data/maps/SeafloorCavern_Room1/scripts.inc b/data/maps/SeafloorCavern_Room1/scripts.inc
index 9ae4077d3..d7136745f 100644
--- a/data/maps/SeafloorCavern_Room1/scripts.inc
+++ b/data/maps/SeafloorCavern_Room1/scripts.inc
@@ -8,10 +8,10 @@ SeafloorCavern_Room1_MapScript1_15DA67:: @ 815DA67
SeafloorCavern_Room1_EventScript_15DA6D:: @ 815DA6D
trainerbattle_single TRAINER_SEAFLOOR_CAVERN_GRUNT_1, SeafloorCavern_Room1_Text_1974BA, SeafloorCavern_Room1_Text_1974EA
- msgbox SeafloorCavern_Room1_Text_1974FF, 6
+ msgbox SeafloorCavern_Room1_Text_1974FF, MSGBOX_AUTOCLOSE
end
SeafloorCavern_Room1_EventScript_15DA84:: @ 815DA84
trainerbattle_single TRAINER_SEAFLOOR_CAVERN_GRUNT_2, SeafloorCavern_Room1_Text_19753C, SeafloorCavern_Room1_Text_197573
- msgbox SeafloorCavern_Room1_Text_197589, 6
+ msgbox SeafloorCavern_Room1_Text_197589, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/SeafloorCavern_Room3/scripts.inc b/data/maps/SeafloorCavern_Room3/scripts.inc
index 3a9f01bc0..43e58a55e 100644
--- a/data/maps/SeafloorCavern_Room3/scripts.inc
+++ b/data/maps/SeafloorCavern_Room3/scripts.inc
@@ -8,5 +8,5 @@ SeafloorCavern_Room3_MapScript1_15DAA2:: @ 815DAA2
SeafloorCavern_Room3_EventScript_15DAA8:: @ 815DAA8
trainerbattle_single TRAINER_SEAFLOOR_CAVERN_GRUNT_3, SeafloorCavern_Room3_Text_1975DC, SeafloorCavern_Room3_Text_1976F3
- msgbox SeafloorCavern_Room3_Text_197704, 6
+ msgbox SeafloorCavern_Room3_Text_197704, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/SeafloorCavern_Room4/scripts.inc b/data/maps/SeafloorCavern_Room4/scripts.inc
index db3547bd0..614c23b05 100644
--- a/data/maps/SeafloorCavern_Room4/scripts.inc
+++ b/data/maps/SeafloorCavern_Room4/scripts.inc
@@ -8,5 +8,5 @@ SeafloorCavern_Room4_MapScript1_15DAC5:: @ 815DAC5
SeafloorCavern_Room4_EventScript_15DACB:: @ 815DACB
trainerbattle_single TRAINER_SEAFLOOR_CAVERN_GRUNT_4, SeafloorCavern_Room4_Text_1977B9, SeafloorCavern_Room4_Text_1977E2
- msgbox SeafloorCavern_Room4_Text_1977ED, 6
+ msgbox SeafloorCavern_Room4_Text_1977ED, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/SeafloorCavern_Room9/scripts.inc b/data/maps/SeafloorCavern_Room9/scripts.inc
index bfaca303d..27ecf62b7 100644
--- a/data/maps/SeafloorCavern_Room9/scripts.inc
+++ b/data/maps/SeafloorCavern_Room9/scripts.inc
@@ -23,9 +23,9 @@ SeafloorCavern_Room9_EventScript_15DAFA:: @ 815DAFA
applymovement 255, SeafloorCavern_Room9_Movement_15DD68
waitmovement 0
.ifdef SAPPHIRE
- msgbox UnknownString_81B41B8, 4
+ msgbox UnknownString_81B41B8, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B4850, 4
+ msgbox SeafloorCavern_Room9_Text_1B4850, MSGBOX_DEFAULT
.endif
closemessage
addobject VAR_0x8004
@@ -34,23 +34,23 @@ SeafloorCavern_Room9_EventScript_15DAFA:: @ 815DAFA
applymovement VAR_0x8004, SeafloorCavern_Room9_Movement_15DD36
waitmovement 0
.ifdef SAPPHIRE
- msgbox UnknownString_81B41D5, 4
+ msgbox UnknownString_81B41D5, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B486C, 4
+ msgbox SeafloorCavern_Room9_Text_1B486C, MSGBOX_DEFAULT
.endif
applymovement VAR_0x8004, SeafloorCavern_Room9_Movement_1A0841
waitmovement 0
.ifdef SAPPHIRE
- msgbox UnknownString_81B4201, 4
+ msgbox UnknownString_81B4201, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B4897, 4
+ msgbox SeafloorCavern_Room9_Text_1B4897, MSGBOX_DEFAULT
.endif
applymovement VAR_0x8004, SeafloorCavern_Room9_Movement_1A0839
waitmovement 0
.ifdef SAPPHIRE
- msgbox UnknownString_81B4289, 4
+ msgbox UnknownString_81B4289, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B491F, 4
+ msgbox SeafloorCavern_Room9_Text_1B491F, MSGBOX_DEFAULT
.endif
.ifdef SAPPHIRE
trainerbattle_no_intro TRAINER_SEAFLOOR_CAVERN_GRUNT_5, UnknownString_81B4319
@@ -58,18 +58,18 @@ SeafloorCavern_Room9_EventScript_15DAFA:: @ 815DAFA
trainerbattle_no_intro TRAINER_SEAFLOOR_CAVERN_GRUNT_5, SeafloorCavern_Room9_Text_1B49AE
.endif
.ifdef SAPPHIRE
- msgbox UnknownString_81B432C, 4
+ msgbox UnknownString_81B432C, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B49C1, 4
+ msgbox SeafloorCavern_Room9_Text_1B49C1, MSGBOX_DEFAULT
.endif
setweather WEATHER_NONE
doweather
special sub_8081924
waitstate
.ifdef SAPPHIRE
- msgbox UnknownString_81B43C4, 4
+ msgbox UnknownString_81B43C4, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B4A5A, 4
+ msgbox SeafloorCavern_Room9_Text_1B4A5A, MSGBOX_DEFAULT
.endif
special WaitWeather
waitstate
@@ -122,25 +122,25 @@ SeafloorCavern_Room9_EventScript_15DAFA:: @ 815DAFA
setvar VAR_0x8006, 4
setvar VAR_0x8007, 5
.ifdef SAPPHIRE
- msgbox UnknownString_81B43F2, 4
+ msgbox UnknownString_81B43F2, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B4A89, 4
+ msgbox SeafloorCavern_Room9_Text_1B4A89, MSGBOX_DEFAULT
.endif
playse SE_PC_LOGON
applymovement 255, SeafloorCavern_Room9_Movement_1A083F
waitmovement 0
.ifdef SAPPHIRE
- msgbox UnknownString_81B4443, 4
+ msgbox UnknownString_81B4443, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B4ADB, 4
+ msgbox SeafloorCavern_Room9_Text_1B4ADB, MSGBOX_DEFAULT
.endif
closemessage
applymovement VAR_0x8004, SeafloorCavern_Room9_Movement_15DD41
waitmovement 0
.ifdef SAPPHIRE
- msgbox UnknownString_81B447A, 4
+ msgbox UnknownString_81B447A, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B4B11, 4
+ msgbox SeafloorCavern_Room9_Text_1B4B11, MSGBOX_DEFAULT
.endif
closemessage
playse SE_PC_OFF
@@ -148,9 +148,9 @@ SeafloorCavern_Room9_EventScript_15DAFA:: @ 815DAFA
applymovement VAR_0x8004, SeafloorCavern_Room9_Movement_1A0845
waitmovement 0
.ifdef SAPPHIRE
- msgbox UnknownString_81B45C6, 4
+ msgbox UnknownString_81B45C6, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B4C79, 4
+ msgbox SeafloorCavern_Room9_Text_1B4C79, MSGBOX_DEFAULT
.endif
closemessage
addobject VAR_0x8005
@@ -163,9 +163,9 @@ SeafloorCavern_Room9_EventScript_15DAFA:: @ 815DAFA
applymovement VAR_0x8004, SeafloorCavern_Room9_Movement_1A083F
waitmovement 0
.ifdef SAPPHIRE
- msgbox UnknownString_81B464D, 4
+ msgbox UnknownString_81B464D, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B4D02, 4
+ msgbox SeafloorCavern_Room9_Text_1B4D02, MSGBOX_DEFAULT
.endif
playse SE_PIN
applymovement VAR_0x8004, SeafloorCavern_Room9_Movement_1A0833
@@ -173,23 +173,23 @@ SeafloorCavern_Room9_EventScript_15DAFA:: @ 815DAFA
applymovement VAR_0x8004, SeafloorCavern_Room9_Movement_1A0835
waitmovement 0
.ifdef SAPPHIRE
- msgbox UnknownString_81B4723, 4
+ msgbox UnknownString_81B4723, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B4DD3, 4
+ msgbox SeafloorCavern_Room9_Text_1B4DD3, MSGBOX_DEFAULT
.endif
.ifdef SAPPHIRE
- msgbox UnknownString_81B4786, 4
+ msgbox UnknownString_81B4786, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B4E37, 4
+ msgbox SeafloorCavern_Room9_Text_1B4E37, MSGBOX_DEFAULT
.endif
closemessage
applymovement VAR_0x8005, SeafloorCavern_Room9_Movement_15DD60
applymovement VAR_0x8004, SeafloorCavern_Room9_Movement_15DD46
waitmovement 0
.ifdef SAPPHIRE
- msgbox UnknownString_81B4818, 4
+ msgbox UnknownString_81B4818, MSGBOX_DEFAULT
.else
- msgbox SeafloorCavern_Room9_Text_1B4ECA, 4
+ msgbox SeafloorCavern_Room9_Text_1B4ECA, MSGBOX_DEFAULT
.endif
setvar VAR_ROUTE128_STATE, 1
clearflag FLAG_HIDE_CAVE_OF_ORIGIN_ENTRANCE_WOMAN_1
diff --git a/data/maps/SealedChamber_InnerRoom/scripts.inc b/data/maps/SealedChamber_InnerRoom/scripts.inc
index c8d4929b9..d0f098566 100644
--- a/data/maps/SealedChamber_InnerRoom/scripts.inc
+++ b/data/maps/SealedChamber_InnerRoom/scripts.inc
@@ -27,7 +27,7 @@ SealedChamber_InnerRoom_EventScript_15F1E8:: @ 815F1E8
waitstate
playse SE_DOOR
delay 40
- msgbox SealedChamber_InnerRoom_Text_1A138B, 4
+ msgbox SealedChamber_InnerRoom_Text_1A138B, MSGBOX_DEFAULT
closemessage
fadeinbgm 0
setflag FLAG_REGI_DOORS_OPENED
diff --git a/data/maps/SealedChamber_OuterRoom/scripts.inc b/data/maps/SealedChamber_OuterRoom/scripts.inc
index d62a37f6a..df19f106e 100644
--- a/data/maps/SealedChamber_OuterRoom/scripts.inc
+++ b/data/maps/SealedChamber_OuterRoom/scripts.inc
@@ -116,7 +116,7 @@ SealedChamber_OuterRoom_EventScript_15F1B8:: @ 815F1B8
end
SealedChamber_OuterRoom_EventScript_15F1CF:: @ 815F1CF
- msgbox SealedChamber_OuterRoom_Text_1A13BE, 4
+ msgbox SealedChamber_OuterRoom_Text_1A13BE, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/ShoalCave_LowTideEntranceRoom/scripts.inc b/data/maps/ShoalCave_LowTideEntranceRoom/scripts.inc
index cfd306ec4..14ddee8ef 100644
--- a/data/maps/ShoalCave_LowTideEntranceRoom/scripts.inc
+++ b/data/maps/ShoalCave_LowTideEntranceRoom/scripts.inc
@@ -34,13 +34,13 @@ ShoalCave_LowTideEntranceRoom_EventScript_15E076:: @ 815E076
call_if_eq ShoalCave_LowTideEntranceRoom_EventScript_15E106
compare VAR_RESULT, 2
goto_if_eq ShoalCave_LowTideEntranceRoom_EventScript_15E12E
- msgbox ShoalCave_LowTideEntranceRoom_Text_1C6808, 4
+ msgbox ShoalCave_LowTideEntranceRoom_Text_1C6808, MSGBOX_DEFAULT
removeitem ITEM_SHOAL_SALT, 4
removeitem ITEM_SHOAL_SHELL, 4
giveitem ITEM_SHELL_BELL
compare VAR_RESULT, 0
goto_if_eq ShoalCave_LowTideEntranceRoom_EventScript_1A029B
- msgbox ShoalCave_LowTideEntranceRoom_Text_1C688E, 4
+ msgbox ShoalCave_LowTideEntranceRoom_Text_1C688E, MSGBOX_DEFAULT
setflag FLAG_TEMP_2
release
end
@@ -62,7 +62,7 @@ ShoalCave_LowTideEntranceRoom_EventScript_15E128:: @ 815E128
return
ShoalCave_LowTideEntranceRoom_EventScript_15E12E:: @ 815E12E
- msgbox ShoalCave_LowTideEntranceRoom_Text_1C69F5, 4
+ msgbox ShoalCave_LowTideEntranceRoom_Text_1C69F5, MSGBOX_DEFAULT
release
end
@@ -73,17 +73,17 @@ ShoalCave_LowTideEntranceRoom_EventScript_15E138:: @ 815E138
checkitem ITEM_SHOAL_SHELL, 1
compare VAR_RESULT, 1
goto_if_eq ShoalCave_LowTideEntranceRoom_EventScript_15E162
- msgbox ShoalCave_LowTideEntranceRoom_Text_1C6668, 4
+ msgbox ShoalCave_LowTideEntranceRoom_Text_1C6668, MSGBOX_DEFAULT
release
end
ShoalCave_LowTideEntranceRoom_EventScript_15E162:: @ 815E162
- msgbox ShoalCave_LowTideEntranceRoom_Text_1C670D, 4
+ msgbox ShoalCave_LowTideEntranceRoom_Text_1C670D, MSGBOX_DEFAULT
release
end
ShoalCave_LowTideEntranceRoom_EventScript_15E16C:: @ 815E16C
- msgbox ShoalCave_LowTideEntranceRoom_Text_1C6944, 4
+ msgbox ShoalCave_LowTideEntranceRoom_Text_1C6944, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/ShoalCave_LowTideInnerRoom/scripts.inc b/data/maps/ShoalCave_LowTideInnerRoom/scripts.inc
index 2c7c9f49a..d0b085d1e 100644
--- a/data/maps/ShoalCave_LowTideInnerRoom/scripts.inc
+++ b/data/maps/ShoalCave_LowTideInnerRoom/scripts.inc
@@ -72,7 +72,7 @@ ShoalCave_LowTideInnerRoom_EventScript_15E257:: @ 815E257
end
ShoalCave_LowTideInnerRoom_EventScript_15E289:: @ 815E289
- msgbox ShoalCave_LowTideInnerRoom_Text_1C69B8, 4
+ msgbox ShoalCave_LowTideInnerRoom_Text_1C69B8, MSGBOX_DEFAULT
releaseall
end
@@ -125,7 +125,7 @@ ShoalCave_LowTideInnerRoom_EventScript_15E329:: @ 815E329
end
ShoalCave_LowTideInnerRoom_EventScript_15E35B:: @ 815E35B
- msgbox ShoalCave_LowTideInnerRoom_Text_1C6979, 4
+ msgbox ShoalCave_LowTideInnerRoom_Text_1C6979, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/ShoalCave_LowTideLowerRoom/scripts.inc b/data/maps/ShoalCave_LowTideLowerRoom/scripts.inc
index 7debbc223..5d0043dd5 100644
--- a/data/maps/ShoalCave_LowTideLowerRoom/scripts.inc
+++ b/data/maps/ShoalCave_LowTideLowerRoom/scripts.inc
@@ -27,7 +27,7 @@ ShoalCave_LowTideLowerRoom_EventScript_15E413:: @ 815E413
end
ShoalCave_LowTideLowerRoom_EventScript_15E445:: @ 815E445
- msgbox ShoalCave_LowTideLowerRoom_Text_1C6979, 4
+ msgbox ShoalCave_LowTideLowerRoom_Text_1C6979, MSGBOX_DEFAULT
releaseall
end
@@ -35,7 +35,7 @@ ShoalCave_LowTideLowerRoom_EventScript_15E44F:: @ 815E44F
lock
faceplayer
goto_if_set FLAG_RECEIVED_FOCUS_BAND, ShoalCave_LowTideLowerRoom_EventScript_15E47E
- msgbox ShoalCave_LowTideLowerRoom_Text_198200, 4
+ msgbox ShoalCave_LowTideLowerRoom_Text_198200, MSGBOX_DEFAULT
giveitem ITEM_FOCUS_BAND
compare VAR_RESULT, 0
goto_if_eq ShoalCave_LowTideLowerRoom_EventScript_1A029B
@@ -44,6 +44,6 @@ ShoalCave_LowTideLowerRoom_EventScript_15E44F:: @ 815E44F
end
ShoalCave_LowTideLowerRoom_EventScript_15E47E:: @ 815E47E
- msgbox ShoalCave_LowTideLowerRoom_Text_1982A2, 4
+ msgbox ShoalCave_LowTideLowerRoom_Text_1982A2, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/ShoalCave_LowTideStairsRoom/scripts.inc b/data/maps/ShoalCave_LowTideStairsRoom/scripts.inc
index e855afc9d..e27e3a02c 100644
--- a/data/maps/ShoalCave_LowTideStairsRoom/scripts.inc
+++ b/data/maps/ShoalCave_LowTideStairsRoom/scripts.inc
@@ -27,6 +27,6 @@ ShoalCave_LowTideStairsRoom_EventScript_15E3B7:: @ 815E3B7
end
ShoalCave_LowTideStairsRoom_EventScript_15E3E9:: @ 815E3E9
- msgbox ShoalCave_LowTideStairsRoom_Text_1C6979, 4
+ msgbox ShoalCave_LowTideStairsRoom_Text_1C6979, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/SlateportCity/scripts.inc b/data/maps/SlateportCity/scripts.inc
index 1b5592f22..685d21c98 100644
--- a/data/maps/SlateportCity/scripts.inc
+++ b/data/maps/SlateportCity/scripts.inc
@@ -45,7 +45,7 @@ SlateportCity_EventScript_14BAB6:: @ 814BAB6
message SlateportCity_Text_164642
waitmessage
pokemart SlateportCity_Items1
- msgbox SlateportCity_Text_1A0C02, 4
+ msgbox SlateportCity_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -65,30 +65,30 @@ SlateportCity_EventScript_14BAE0:: @ 814BAE0
lock
faceplayer
bufferleadmonspeciesname 0
- msgbox SlateportCity_Text_164682, 4
+ msgbox SlateportCity_Text_164682, MSGBOX_DEFAULT
specialvar VAR_RESULT, LeadMonHasEffortRibbon
compare VAR_RESULT, 1
call_if_eq SlateportCity_EventScript_14BB35
specialvar VAR_RESULT, ScrSpecial_AreLeadMonEVsMaxedOut
compare VAR_RESULT, 0
call_if_eq SlateportCity_EventScript_14BB2B
- msgbox SlateportCity_Text_164691, 4
+ msgbox SlateportCity_Text_164691, MSGBOX_DEFAULT
playfanfare MUS_FANFA4
message SlateportCity_Text_1646DD
waitfanfare
waitmessage
- msgbox SlateportCity_Text_1646FC, 4
+ msgbox SlateportCity_Text_1646FC, MSGBOX_DEFAULT
special GivLeadMonEffortRibbon
release
end
SlateportCity_EventScript_14BB2B:: @ 814BB2B
- msgbox SlateportCity_Text_16471C, 4
+ msgbox SlateportCity_Text_16471C, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BB35:: @ 814BB35
- msgbox SlateportCity_Text_164775, 4
+ msgbox SlateportCity_Text_164775, MSGBOX_DEFAULT
release
end
@@ -97,12 +97,12 @@ SlateportCity_EventScript_14BB3F:: @ 814BB3F
faceplayer
compare VAR_SLATEPORT_STATE, 1
call_if_eq SlateportCity_EventScript_14BB56
- msgbox SlateportCity_Text_164814, 4
+ msgbox SlateportCity_Text_164814, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BB56:: @ 814BB56
- msgbox SlateportCity_Text_165376, 4
+ msgbox SlateportCity_Text_165376, MSGBOX_DEFAULT
release
end
@@ -111,12 +111,12 @@ SlateportCity_EventScript_14BB60:: @ 814BB60
faceplayer
compare VAR_SLATEPORT_STATE, 1
call_if_eq SlateportCity_EventScript_14BB77
- msgbox SlateportCity_Text_1648A0, 4
+ msgbox SlateportCity_Text_1648A0, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BB77:: @ 814BB77
- msgbox SlateportCity_Text_165222, 4
+ msgbox SlateportCity_Text_165222, MSGBOX_DEFAULT
release
end
@@ -126,17 +126,17 @@ SlateportCity_EventScript_14BB81:: @ 814BB81
compare VAR_SLATEPORT_STATE, 1
call_if_eq SlateportCity_EventScript_14BBA1
goto_if_set FLAG_RECEIVED_SECRET_POWER, SlateportCity_EventScript_14BBAB
- msgbox SlateportCity_Text_164937, 4
+ msgbox SlateportCity_Text_164937, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BBA1:: @ 814BBA1
- msgbox SlateportCity_Text_1652A0, 4
+ msgbox SlateportCity_Text_1652A0, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BBAB:: @ 814BBAB
- msgbox SlateportCity_Text_164995, 4
+ msgbox SlateportCity_Text_164995, MSGBOX_DEFAULT
release
end
@@ -145,23 +145,23 @@ SlateportCity_EventScript_14BBB5:: @ 814BBB5
faceplayer
compare VAR_SLATEPORT_STATE, 1
call_if_eq SlateportCity_EventScript_14BBCC
- msgbox SlateportCity_Text_164A30, 4
+ msgbox SlateportCity_Text_164A30, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BBCC:: @ 814BBCC
- msgbox SlateportCity_Text_16530A, 4
+ msgbox SlateportCity_Text_16530A, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BBD6:: @ 814BBD6
compare VAR_SLATEPORT_STATE, 1
goto_if_eq SlateportCity_EventScript_14BBEA
- msgbox SlateportCity_Text_164AA9, 2
+ msgbox SlateportCity_Text_164AA9, MSGBOX_NPC
end
SlateportCity_EventScript_14BBEA:: @ 814BBEA
- msgbox SlateportCity_Text_1653D1, 3
+ msgbox SlateportCity_Text_1653D1, MSGBOX_SIGN
end
SlateportCity_EventScript_14BBF3:: @ 814BBF3
@@ -169,12 +169,12 @@ SlateportCity_EventScript_14BBF3:: @ 814BBF3
faceplayer
compare VAR_SLATEPORT_STATE, 1
call_if_eq SlateportCity_EventScript_14BC0A
- msgbox SlateportCity_Text_164B34, 4
+ msgbox SlateportCity_Text_164B34, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BC0A:: @ 814BC0A
- msgbox SlateportCity_Text_1653F4, 4
+ msgbox SlateportCity_Text_1653F4, MSGBOX_DEFAULT
release
end
@@ -182,67 +182,67 @@ SlateportCity_EventScript_14BC14:: @ 814BC14
lock
faceplayer
goto_if_set FLAG_DOCK_REJECTED_DEVON_GOODS, SlateportCity_EventScript_14BC29
- msgbox SlateportCity_Text_164BBF, 4
+ msgbox SlateportCity_Text_164BBF, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BC29:: @ 814BC29
- msgbox SlateportCity_Text_164BEA, 4
+ msgbox SlateportCity_Text_164BEA, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BC33:: @ 814BC33
- msgbox SlateportCity_Text_165856, 3
+ msgbox SlateportCity_Text_165856, MSGBOX_SIGN
end
SlateportCity_EventScript_14BC3C:: @ 814BC3C
lockall
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_EventScript_14BC63
goto_if_set FLAG_BADGE07_GET, SlateportCity_EventScript_14BC59
- msgbox SlateportCity_Text_1658A0, 4
+ msgbox SlateportCity_Text_1658A0, MSGBOX_DEFAULT
releaseall
end
SlateportCity_EventScript_14BC59:: @ 814BC59
- msgbox SlateportCity_Text_1658E8, 4
+ msgbox SlateportCity_Text_1658E8, MSGBOX_DEFAULT
releaseall
end
SlateportCity_EventScript_14BC63:: @ 814BC63
- msgbox SlateportCity_Text_165952, 4
+ msgbox SlateportCity_Text_165952, MSGBOX_DEFAULT
releaseall
end
SlateportCity_EventScript_14BC6D:: @ 814BC6D
- msgbox SlateportCity_Text_1659B3, 3
+ msgbox SlateportCity_Text_1659B3, MSGBOX_SIGN
end
SlateportCity_EventScript_14BC76:: @ 814BC76
- msgbox SlateportCity_Text_1659E3, 3
+ msgbox SlateportCity_Text_1659E3, MSGBOX_SIGN
end
SlateportCity_EventScript_14BC7F:: @ 814BC7F
- msgbox SlateportCity_Text_165A17, 3
+ msgbox SlateportCity_Text_165A17, MSGBOX_SIGN
end
SlateportCity_EventScript_14BC88:: @ 814BC88
- msgbox SlateportCity_Text_165A57, 3
+ msgbox SlateportCity_Text_165A57, MSGBOX_SIGN
end
SlateportCity_EventScript_14BC91:: @ 814BC91
lockall
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_EventScript_14BCA5
- msgbox SlateportCity_Text_165A8B, 4
+ msgbox SlateportCity_Text_165A8B, MSGBOX_DEFAULT
releaseall
end
SlateportCity_EventScript_14BCA5:: @ 814BCA5
- msgbox SlateportCity_Text_165B02, 4
+ msgbox SlateportCity_Text_165B02, MSGBOX_DEFAULT
releaseall
end
SlateportCity_EventScript_14BCAF:: @ 814BCAF
- msgbox SlateportCity_Text_165B48, 3
+ msgbox SlateportCity_Text_165B48, MSGBOX_SIGN
end
SlateportCity_EventScript_14BCB8:: @ 814BCB8
@@ -250,33 +250,33 @@ SlateportCity_EventScript_14BCB8:: @ 814BCB8
faceplayer
compare VAR_SLATEPORT_STATE, 1
call_if_eq SlateportCity_EventScript_14BCCF
- msgbox SlateportCity_Text_164F9E, 4
+ msgbox SlateportCity_Text_164F9E, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BCCF:: @ 814BCCF
- msgbox SlateportCity_Text_164F9E, 4
+ msgbox SlateportCity_Text_164F9E, MSGBOX_DEFAULT
release
end
SlateportCity_EventScript_14BCD9:: @ 814BCD9
- msgbox SlateportCity_Text_164FFC, 2
+ msgbox SlateportCity_Text_164FFC, MSGBOX_NPC
end
SlateportCity_EventScript_14BCE2:: @ 814BCE2
- msgbox SlateportCity_Text_164E85, 2
+ msgbox SlateportCity_Text_164E85, MSGBOX_NPC
end
SlateportCity_EventScript_14BCEB:: @ 814BCEB
- msgbox SlateportCity_Text_164EDB, 2
+ msgbox SlateportCity_Text_164EDB, MSGBOX_NPC
end
SlateportCity_EventScript_14BCF4:: @ 814BCF4
- msgbox SlateportCity_Text_164F62, 2
+ msgbox SlateportCity_Text_164F62, MSGBOX_NPC
end
SlateportCity_EventScript_14BCFD:: @ 814BCFD
- msgbox SlateportCity_Text_16507C, 2
+ msgbox SlateportCity_Text_16507C, MSGBOX_NPC
end
SlateportCity_EventScript_14BD06:: @ 814BD06
@@ -291,17 +291,17 @@ SlateportCity_EventScript_14BD06:: @ 814BD06
end
SlateportCity_EventScript_14BD28:: @ 814BD28
- msgbox SlateportCity_Text_16511E, 4
+ msgbox SlateportCity_Text_16511E, MSGBOX_DEFAULT
return
SlateportCity_EventScript_14BD31:: @ 814BD31
- msgbox SlateportCity_Text_1651A1, 4
+ msgbox SlateportCity_Text_1651A1, MSGBOX_DEFAULT
return
SlateportCity_EventScript_14BD3A:: @ 814BD3A
lock
faceplayer
- msgbox SlateportCity_Text_164C64, 4
+ msgbox SlateportCity_Text_164C64, MSGBOX_DEFAULT
closemessage
applymovement 5, SlateportCity_Movement_1A083D
waitmovement 0
@@ -311,7 +311,7 @@ SlateportCity_EventScript_14BD3A:: @ 814BD3A
SlateportCity_EventScript_14BD51:: @ 814BD51
lock
faceplayer
- msgbox SlateportCity_Text_164C9F, 4
+ msgbox SlateportCity_Text_164C9F, MSGBOX_DEFAULT
closemessage
applymovement 19, SlateportCity_Movement_1A083D
waitmovement 0
@@ -321,7 +321,7 @@ SlateportCity_EventScript_14BD51:: @ 814BD51
SlateportCity_EventScript_14BD68:: @ 814BD68
lock
faceplayer
- msgbox SlateportCity_Text_164CE8, 4
+ msgbox SlateportCity_Text_164CE8, MSGBOX_DEFAULT
closemessage
applymovement 20, SlateportCity_Movement_1A083D
waitmovement 0
@@ -331,7 +331,7 @@ SlateportCity_EventScript_14BD68:: @ 814BD68
SlateportCity_EventScript_14BD7F:: @ 814BD7F
lock
faceplayer
- msgbox SlateportCity_Text_164D2B, 4
+ msgbox SlateportCity_Text_164D2B, MSGBOX_DEFAULT
closemessage
applymovement 27, SlateportCity_Movement_1A083D
waitmovement 0
@@ -341,7 +341,7 @@ SlateportCity_EventScript_14BD7F:: @ 814BD7F
SlateportCity_EventScript_14BD96:: @ 814BD96
lock
faceplayer
- msgbox SlateportCity_Text_164D92, 4
+ msgbox SlateportCity_Text_164D92, MSGBOX_DEFAULT
closemessage
applymovement 28, SlateportCity_Movement_1A083D
waitmovement 0
@@ -351,7 +351,7 @@ SlateportCity_EventScript_14BD96:: @ 814BD96
SlateportCity_EventScript_14BDAD:: @ 814BDAD
lock
faceplayer
- msgbox SlateportCity_Text_164DD5, 4
+ msgbox SlateportCity_Text_164DD5, MSGBOX_DEFAULT
closemessage
applymovement 29, SlateportCity_Movement_1A083D
waitmovement 0
@@ -361,7 +361,7 @@ SlateportCity_EventScript_14BDAD:: @ 814BDAD
SlateportCity_EventScript_14BDC4:: @ 814BDC4
lock
faceplayer
- msgbox SlateportCity_Text_164DF4, 4
+ msgbox SlateportCity_Text_164DF4, MSGBOX_DEFAULT
closemessage
applymovement 30, SlateportCity_Movement_1A083D
waitmovement 0
@@ -371,7 +371,7 @@ SlateportCity_EventScript_14BDC4:: @ 814BDC4
SlateportCity_EventScript_14BDDB:: @ 814BDDB
lock
faceplayer
- msgbox SlateportCity_Text_164E46, 4
+ msgbox SlateportCity_Text_164E46, MSGBOX_DEFAULT
closemessage
applymovement 31, SlateportCity_Movement_1A083D
waitmovement 0
@@ -384,7 +384,7 @@ SlateportCity_EventScript_14BDF2:: @ 814BDF2
message SlateportCity_Text_1A0BE4
waitmessage
pokemartdecoration SlateportCity_Decorations1
- msgbox SlateportCity_Text_1A0C02, 4
+ msgbox SlateportCity_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -398,7 +398,7 @@ SlateportCity_Decorations1:: @ 814BE0C
end
SlateportCity_EventScript_14BE16:: @ 814BE16
- msgbox SlateportCity_Text_1A116E, 4
+ msgbox SlateportCity_Text_1A116E, MSGBOX_DEFAULT
release
end
@@ -409,7 +409,7 @@ SlateportCity_EventScript_14BE20:: @ 814BE20
message SlateportCity_Text_1A0BE4
waitmessage
pokemartdecoration SlateportCity_Decorations2
- msgbox SlateportCity_Text_1A0C02, 4
+ msgbox SlateportCity_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -440,7 +440,7 @@ SlateportCity_Decorations2:: @ 814BE40
message SlateportCity_Text_1A0BE4
waitmessage
pokemartdecoration SlateportCity_Decorations3
- msgbox SlateportCity_Text_1A0C02, 4
+ msgbox SlateportCity_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -467,7 +467,7 @@ SlateportCity_EventScript_14BE9A:: @ 814BE9A
message SlateportCity_Text_1A0BE4
waitmessage
pokemart SlateportCity_Items2
- msgbox SlateportCity_Text_1A0C02, 4
+ msgbox SlateportCity_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -481,8 +481,8 @@ SlateportCity_Items2:: @ 814BEB4
SlateportCity_EventScript_14BEBC:: @ 814BEBC
lockall
- msgbox SlateportCity_Text_165498, 4
- msgbox SlateportCity_Text_1654E0, 4
+ msgbox SlateportCity_Text_165498, MSGBOX_DEFAULT
+ msgbox SlateportCity_Text_1654E0, MSGBOX_DEFAULT
closemessage
applymovement 10, SlateportCity_Movement_1A0843
waitmovement 0
@@ -497,12 +497,12 @@ SlateportCity_EventScript_14BEBC:: @ 814BEBC
waitmovement 0
removeobject 10
removeobject 9
- msgbox SlateportCity_Text_16558D, 4
+ msgbox SlateportCity_Text_16558D, MSGBOX_DEFAULT
applymovement 11, SlateportCity_Movement_1A0841
waitmovement 0
- msgbox SlateportCity_Text_1655E7, 4
+ msgbox SlateportCity_Text_1655E7, MSGBOX_DEFAULT
playbgm MUS_EVIL_TEAM, FALSE
- msgbox SlateportCity_Text_1656BC, 4
+ msgbox SlateportCity_Text_1656BC, MSGBOX_DEFAULT
applymovement 6, SlateportCity_Movement_1A083F
applymovement 1, SlateportCity_Movement_1A083F
applymovement 7, SlateportCity_Movement_14BFCD
@@ -511,16 +511,16 @@ SlateportCity_EventScript_14BEBC:: @ 814BEBC
waitmovement 0
applymovement 11, SlateportCity_Movement_1A0845
waitmovement 0
- msgbox SlateportCity_Text_16578F, 4
+ msgbox SlateportCity_Text_16578F, MSGBOX_DEFAULT
playse SE_PIN
applymovement 11, SlateportCity_Movement_1A0833
waitmovement 0
applymovement 11, SlateportCity_Movement_1A0835
waitmovement 0
- msgbox SlateportCity_Text_1657FA, 4
+ msgbox SlateportCity_Text_1657FA, MSGBOX_DEFAULT
applymovement 11, SlateportCity_Movement_1A0839
waitmovement 0
- msgbox SlateportCity_Text_16583A, 4
+ msgbox SlateportCity_Text_16583A, MSGBOX_DEFAULT
closemessage
applymovement 11, SlateportCity_Movement_14BFFB
applymovement 255, SlateportCity_Movement_14C008
@@ -629,13 +629,13 @@ SlateportCity_Movement_14C00E:: @ 814C00E
end_movement
SlateportCity_EventScript_14C017:: @ 814C017
- msgbox SlateportCity_Text_165425, 3
+ msgbox SlateportCity_Text_165425, MSGBOX_SIGN
end
SlateportCity_EventScript_14C020:: @ 814C020
- msgbox SlateportCity_Text_165458, 3
+ msgbox SlateportCity_Text_165458, MSGBOX_SIGN
end
SlateportCity_EventScript_14C029:: @ 814C029
- msgbox SlateportCity_Text_1647A7, 2
+ msgbox SlateportCity_Text_1647A7, MSGBOX_NPC
end
diff --git a/data/maps/SlateportCity_ContestHall/scripts.inc b/data/maps/SlateportCity_ContestHall/scripts.inc
index f0d1a7119..84b32703f 100644
--- a/data/maps/SlateportCity_ContestHall/scripts.inc
+++ b/data/maps/SlateportCity_ContestHall/scripts.inc
@@ -2,33 +2,33 @@ SlateportCity_ContestHall_MapScripts:: @ 815554B
.byte 0
SlateportCity_ContestHall_EventScript_15554C:: @ 815554C
- msgbox SlateportCity_ContestHall_Text_17CB71, 2
+ msgbox SlateportCity_ContestHall_Text_17CB71, MSGBOX_NPC
end
SlateportCity_ContestHall_EventScript_155555:: @ 8155555
- msgbox SlateportCity_ContestHall_Text_17CC80, 2
+ msgbox SlateportCity_ContestHall_Text_17CC80, MSGBOX_NPC
end
SlateportCity_ContestHall_EventScript_15555E:: @ 815555E
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM41, SlateportCity_ContestHall_EventScript_155595
- msgbox SlateportCity_ContestHall_Text_17CCE2, 4
+ msgbox SlateportCity_ContestHall_Text_17CCE2, MSGBOX_DEFAULT
giveitem ITEM_TM41_TORMENT
compare VAR_RESULT, 0
goto_if_eq SlateportCity_ContestHall_EventScript_1A029B
setflag FLAG_RECEIVED_TM41
- msgbox SlateportCity_ContestHall_Text_17CE28, 4
+ msgbox SlateportCity_ContestHall_Text_17CE28, MSGBOX_DEFAULT
release
end
SlateportCity_ContestHall_EventScript_155595:: @ 8155595
- msgbox SlateportCity_ContestHall_Text_17CE28, 4
+ msgbox SlateportCity_ContestHall_Text_17CE28, MSGBOX_DEFAULT
release
end
SlateportCity_ContestHall_EventScript_15559F:: @ 815559F
- msgbox SlateportCity_ContestHall_Text_17CEF3, 2
+ msgbox SlateportCity_ContestHall_Text_17CEF3, MSGBOX_NPC
lockall
applymovement 3, SlateportCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -36,7 +36,7 @@ SlateportCity_ContestHall_EventScript_15559F:: @ 815559F
end
SlateportCity_ContestHall_EventScript_1555B4:: @ 81555B4
- msgbox SlateportCity_ContestHall_Text_17CFA7, 2
+ msgbox SlateportCity_ContestHall_Text_17CFA7, MSGBOX_NPC
lockall
applymovement 4, SlateportCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -44,7 +44,7 @@ SlateportCity_ContestHall_EventScript_1555B4:: @ 81555B4
end
SlateportCity_ContestHall_EventScript_1555C9:: @ 81555C9
- msgbox SlateportCity_ContestHall_Text_17D054, 2
+ msgbox SlateportCity_ContestHall_Text_17D054, MSGBOX_NPC
lockall
applymovement 5, SlateportCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -52,7 +52,7 @@ SlateportCity_ContestHall_EventScript_1555C9:: @ 81555C9
end
SlateportCity_ContestHall_EventScript_1555DE:: @ 81555DE
- msgbox SlateportCity_ContestHall_Text_17D07F, 2
+ msgbox SlateportCity_ContestHall_Text_17D07F, MSGBOX_NPC
lockall
applymovement 6, SlateportCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -60,7 +60,7 @@ SlateportCity_ContestHall_EventScript_1555DE:: @ 81555DE
end
SlateportCity_ContestHall_EventScript_1555F3:: @ 81555F3
- msgbox SlateportCity_ContestHall_Text_17D0F9, 2
+ msgbox SlateportCity_ContestHall_Text_17D0F9, MSGBOX_NPC
lockall
applymovement 7, SlateportCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -68,7 +68,7 @@ SlateportCity_ContestHall_EventScript_1555F3:: @ 81555F3
end
SlateportCity_ContestHall_EventScript_155608:: @ 8155608
- msgbox SlateportCity_ContestHall_Text_17D222, 2
+ msgbox SlateportCity_ContestHall_Text_17D222, MSGBOX_NPC
lockall
applymovement 8, SlateportCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -76,7 +76,7 @@ SlateportCity_ContestHall_EventScript_155608:: @ 8155608
end
SlateportCity_ContestHall_EventScript_15561D:: @ 815561D
- msgbox SlateportCity_ContestHall_Text_17D39A, 2
+ msgbox SlateportCity_ContestHall_Text_17D39A, MSGBOX_NPC
lockall
applymovement 9, SlateportCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -84,7 +84,7 @@ SlateportCity_ContestHall_EventScript_15561D:: @ 815561D
end
SlateportCity_ContestHall_EventScript_155632:: @ 8155632
- msgbox SlateportCity_ContestHall_Text_17D3F0, 2
+ msgbox SlateportCity_ContestHall_Text_17D3F0, MSGBOX_NPC
lockall
applymovement 10, SlateportCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -92,7 +92,7 @@ SlateportCity_ContestHall_EventScript_155632:: @ 8155632
end
SlateportCity_ContestHall_EventScript_155647:: @ 8155647
- msgbox SlateportCity_ContestHall_Text_17D300, 2
+ msgbox SlateportCity_ContestHall_Text_17D300, MSGBOX_NPC
lockall
applymovement 12, SlateportCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -100,7 +100,7 @@ SlateportCity_ContestHall_EventScript_155647:: @ 8155647
end
SlateportCity_ContestHall_EventScript_15565C:: @ 815565C
- msgbox SlateportCity_ContestHall_Text_17D27F, 2
+ msgbox SlateportCity_ContestHall_Text_17D27F, MSGBOX_NPC
lockall
applymovement 11, SlateportCity_ContestHall_Movement_1A083D
waitmovement 0
@@ -108,5 +108,5 @@ SlateportCity_ContestHall_EventScript_15565C:: @ 815565C
end
SlateportCity_ContestHall_EventScript_155671:: @ 8155671
- msgbox SlateportCity_ContestHall_Text_17D447, 3
+ msgbox SlateportCity_ContestHall_Text_17D447, MSGBOX_SIGN
end
diff --git a/data/maps/SlateportCity_ContestLobby/scripts.inc b/data/maps/SlateportCity_ContestLobby/scripts.inc
index 5bd0f5d1a..eb3d8f21d 100644
--- a/data/maps/SlateportCity_ContestLobby/scripts.inc
+++ b/data/maps/SlateportCity_ContestLobby/scripts.inc
@@ -37,7 +37,7 @@ SlateportCity_ContestLobby_EventScript_155448:: @ 8155448
waitmovement 0
applymovement 255, SlateportCity_ContestLobby_Movement_1554CA
waitmovement 0
- msgbox SlateportCity_ContestLobby_Text_1A6832, 4
+ msgbox SlateportCity_ContestLobby_Text_1A6832, MSGBOX_DEFAULT
closemessage
applymovement 1, SlateportCity_ContestLobby_Movement_1554D3
applymovement 255, SlateportCity_ContestLobby_Movement_1554C0
@@ -88,15 +88,15 @@ SlateportCity_ContestLobby_Movement_1554DC:: @ 81554DC
end_movement
SlateportCity_ContestLobby_EventScript_1554DE:: @ 81554DE
- msgbox SlateportCity_ContestLobby_Text_17C937, 2
+ msgbox SlateportCity_ContestLobby_Text_17C937, MSGBOX_NPC
end
SlateportCity_ContestLobby_EventScript_1554E7:: @ 81554E7
- msgbox SlateportCity_ContestLobby_Text_17C9D5, 2
+ msgbox SlateportCity_ContestLobby_Text_17C9D5, MSGBOX_NPC
end
SlateportCity_ContestLobby_EventScript_1554F0:: @ 81554F0
- msgbox SlateportCity_ContestLobby_Text_17CAEC, 2
+ msgbox SlateportCity_ContestLobby_Text_17CAEC, MSGBOX_NPC
end
SlateportCity_ContestLobby_EventScript_1554F9:: @ 81554F9
@@ -104,14 +104,14 @@ SlateportCity_ContestLobby_EventScript_1554F9:: @ 81554F9
goto_if_set FLAG_RECEIVED_POKEBLOCK_CASE, SlateportCity_ContestLobby_EventScript_155526
applymovement 7, SlateportCity_ContestLobby_Movement_1A0839
waitmovement 0
- msgbox SlateportCity_ContestLobby_Text_17CA67, 4
+ msgbox SlateportCity_ContestLobby_Text_17CA67, MSGBOX_DEFAULT
giveitem ITEM_POKEBLOCK_CASE
setflag FLAG_RECEIVED_POKEBLOCK_CASE
releaseall
end
SlateportCity_ContestLobby_EventScript_155526:: @ 8155526
- msgbox SlateportCity_ContestLobby_Text_17CA88, 2
+ msgbox SlateportCity_ContestLobby_Text_17CA88, MSGBOX_NPC
end
SlateportCity_ContestLobby_EventScript_15552F:: @ 815552F
@@ -122,7 +122,7 @@ SlateportCity_ContestLobby_EventScript_15552F:: @ 815552F
end
SlateportCity_ContestLobby_EventScript_155536:: @ 8155536
- msgbox SlateportCity_ContestLobby_Text_1B7225, 2
+ msgbox SlateportCity_ContestLobby_Text_1B7225, MSGBOX_NPC
end
@ 815553F
diff --git a/data/maps/SlateportCity_Harbor/scripts.inc b/data/maps/SlateportCity_Harbor/scripts.inc
index 74e9e58f3..60c7b301f 100644
--- a/data/maps/SlateportCity_Harbor/scripts.inc
+++ b/data/maps/SlateportCity_Harbor/scripts.inc
@@ -52,7 +52,7 @@ SlateportCity_Harbor_EventScript_155FD5:: @ 8155FD5
waitmovement 0
applymovement 255, SlateportCity_Harbor_Movement_1A0841
waitmovement 0
- msgbox SlateportCity_Harbor_Text_17FD7D, 4
+ msgbox SlateportCity_Harbor_Text_17FD7D, MSGBOX_DEFAULT
closemessage
applymovement 6, SlateportCity_Harbor_Movement_15609B
applymovement 7, SlateportCity_Harbor_Movement_15609B
@@ -70,7 +70,7 @@ SlateportCity_Harbor_EventScript_155FD5:: @ 8155FD5
call_if_eq SlateportCity_Harbor_EventScript_156086
compare VAR_0x8008, 3
call_if_eq SlateportCity_Harbor_EventScript_156086
- msgbox SlateportCity_Harbor_Text_17FE60, 4
+ msgbox SlateportCity_Harbor_Text_17FE60, MSGBOX_DEFAULT
closemessage
setflag FLAG_HIDE_GRUNT_1_BLOCKING_HIDEOUT
setflag FLAG_HIDE_GRUNT_2_BLOCKING_HIDEOUT
@@ -159,12 +159,12 @@ SlateportCity_Harbor_EventScript_1560C4:: @ 81560C4
lock
faceplayer
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_1560D9
- msgbox SlateportCity_Harbor_Text_17FA0A, 4
+ msgbox SlateportCity_Harbor_Text_17FA0A, MSGBOX_DEFAULT
release
end
SlateportCity_Harbor_EventScript_1560D9:: @ 81560D9
- msgbox SlateportCity_Harbor_Text_17FA73, 4
+ msgbox SlateportCity_Harbor_Text_17FA73, MSGBOX_DEFAULT
checkitem ITEM_SS_TICKET, 1
compare VAR_RESULT, 0
goto_if_eq SlateportCity_Harbor_EventScript_156135
@@ -183,7 +183,7 @@ SlateportCity_Harbor_EventScript_1560FD:: @ 81560FD
end
SlateportCity_Harbor_EventScript_156135:: @ 8156135
- msgbox SlateportCity_Harbor_Text_17FAAD, 4
+ msgbox SlateportCity_Harbor_Text_17FAAD, MSGBOX_DEFAULT
release
end
@@ -215,7 +215,7 @@ SlateportCity_Harbor_EventScript_15618A:: @ 815618A
end
SlateportCity_Harbor_EventScript_156196:: @ 8156196
- msgbox SlateportCity_Harbor_Text_17FBB6, 4
+ msgbox SlateportCity_Harbor_Text_17FBB6, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, SlateportCity_Harbor_Movement_1A0841
waitmovement 0
@@ -232,7 +232,7 @@ SlateportCity_Harbor_EventScript_156196:: @ 8156196
return
SlateportCity_Harbor_EventScript_1561DA:: @ 81561DA
- msgbox SlateportCity_Harbor_Text_17FB5F, 4
+ msgbox SlateportCity_Harbor_Text_17FB5F, MSGBOX_DEFAULT
release
end
@@ -256,11 +256,11 @@ SlateportCity_Harbor_Movement_1561FD:: @ 81561FD
end_movement
SlateportCity_Harbor_EventScript_1561FF:: @ 81561FF
- msgbox SlateportCity_Harbor_Text_17FC07, 2
+ msgbox SlateportCity_Harbor_Text_17FC07, MSGBOX_NPC
end
SlateportCity_Harbor_EventScript_156208:: @ 8156208
- msgbox SlateportCity_Harbor_Text_17FC7C, 2
+ msgbox SlateportCity_Harbor_Text_17FC7C, MSGBOX_NPC
end
SlateportCity_Harbor_EventScript_156211:: @ 8156211
@@ -271,7 +271,7 @@ SlateportCity_Harbor_EventScript_156211:: @ 8156211
goto_if_set FLAG_EVIL_TEAM_ESCAPED_IN_SUBMARINE, SlateportCity_Harbor_EventScript_156258
compare VAR_SLATEPORT_HARBOR_STATE, 2
goto_if_eq SlateportCity_Harbor_EventScript_15624E
- msgbox SlateportCity_Harbor_Text_17FD1C, 4
+ msgbox SlateportCity_Harbor_Text_17FD1C, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, SlateportCity_Harbor_Movement_1A083D
waitmovement 0
@@ -279,18 +279,18 @@ SlateportCity_Harbor_EventScript_156211:: @ 8156211
end
SlateportCity_Harbor_EventScript_15624E:: @ 815624E
- msgbox SlateportCity_Harbor_Text_17FE60, 4
+ msgbox SlateportCity_Harbor_Text_17FE60, MSGBOX_DEFAULT
release
end
SlateportCity_Harbor_EventScript_156258:: @ 8156258
setflag FLAG_EVIL_TEAM_ESCAPED_STERN_SPOKE
- msgbox SlateportCity_Harbor_Text_17FF35, 4
+ msgbox SlateportCity_Harbor_Text_17FF35, MSGBOX_DEFAULT
release
end
SlateportCity_Harbor_EventScript_156265:: @ 8156265
- msgbox SlateportCity_Harbor_Text_1800A0, 4
+ msgbox SlateportCity_Harbor_Text_1800A0, MSGBOX_DEFAULT
release
end
@@ -301,12 +301,12 @@ SlateportCity_Harbor_EventScript_15626F:: @ 815626F
compare VAR_RESULT, 1
goto_if_eq SlateportCity_Harbor_EventScript_1562A7
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_15629D
- msgbox SlateportCity_Harbor_Text_18017B, 4
+ msgbox SlateportCity_Harbor_Text_18017B, MSGBOX_DEFAULT
release
end
SlateportCity_Harbor_EventScript_15629D:: @ 815629D
- msgbox SlateportCity_Harbor_Text_1801EA, 4
+ msgbox SlateportCity_Harbor_Text_1801EA, MSGBOX_DEFAULT
release
end
@@ -333,7 +333,7 @@ SlateportCity_Harbor_EventScript_1562EA:: @ 81562EA
compare VAR_RESULT, 0
goto_if_eq SlateportCity_Harbor_EventScript_1A029B
removeitem ITEM_SCANNER
- msgbox SlateportCity_Harbor_Text_18046B, 4
+ msgbox SlateportCity_Harbor_Text_18046B, MSGBOX_DEFAULT
setflag FLAG_EXCHANGED_SCANNER
goto SlateportCity_Harbor_EventScript_156380
end
@@ -346,13 +346,13 @@ SlateportCity_Harbor_EventScript_15632A:: @ 815632A
compare VAR_RESULT, 0
goto_if_eq SlateportCity_Harbor_EventScript_1A029B
removeitem ITEM_SCANNER
- msgbox SlateportCity_Harbor_Text_18046B, 4
+ msgbox SlateportCity_Harbor_Text_18046B, MSGBOX_DEFAULT
setflag FLAG_EXCHANGED_SCANNER
goto SlateportCity_Harbor_EventScript_156380
end
SlateportCity_Harbor_EventScript_15636A:: @ 815636A
- msgbox SlateportCity_Harbor_Text_180360, 4
+ msgbox SlateportCity_Harbor_Text_180360, MSGBOX_DEFAULT
release
end
@@ -364,6 +364,6 @@ SlateportCity_Harbor_EventScript_156374:: @ 8156374
SlateportCity_Harbor_EventScript_156380:: @ 8156380
setvar VAR_TEMP_1, 1
- msgbox SlateportCity_Harbor_Text_180491, 4
+ msgbox SlateportCity_Harbor_Text_180491, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/SlateportCity_House1/scripts.inc b/data/maps/SlateportCity_House1/scripts.inc
index 589800008..f047c80a5 100644
--- a/data/maps/SlateportCity_House1/scripts.inc
+++ b/data/maps/SlateportCity_House1/scripts.inc
@@ -12,7 +12,7 @@ SlateportCity_House1_EventScript_15567B:: @ 815567B
end
SlateportCity_House1_EventScript_15569C:: @ 815569C
- msgbox SlateportCity_House1_Text_17D4DB, 4
+ msgbox SlateportCity_House1_Text_17D4DB, MSGBOX_DEFAULT
special SelectMonForNPCTrade
waitstate
compare VAR_0x8004, 255
@@ -22,7 +22,7 @@ SlateportCity_House1_EventScript_15569C:: @ 815569C
end
SlateportCity_House1_EventScript_1556BF:: @ 81556BF
- msgbox SlateportCity_House1_Text_17D61E, 4
+ msgbox SlateportCity_House1_Text_17D61E, MSGBOX_DEFAULT
release
end
@@ -46,27 +46,27 @@ SlateportCity_House1_EventScript_1556C9:: @ 81556C9
end
SlateportCity_House1_EventScript_15571C:: @ 815571C
- msgbox SlateportCity_House1_Text_17D752, 4
+ msgbox SlateportCity_House1_Text_17D752, MSGBOX_DEFAULT
release
end
SlateportCity_House1_EventScript_155726:: @ 8155726
- msgbox SlateportCity_House1_Text_17D6CC, 4
+ msgbox SlateportCity_House1_Text_17D6CC, MSGBOX_DEFAULT
release
end
SlateportCity_House1_EventScript_155730:: @ 8155730
- msgbox SlateportCity_House1_Text_17D580, 4
+ msgbox SlateportCity_House1_Text_17D580, MSGBOX_DEFAULT
call SlateportCity_House1_EventScript_1A0678
specialvar VAR_RESULT, TV_PutNameRaterShowOnTheAirIfNicnkameChanged
special TV_CopyNicknameToStringVar1AndEnsureTerminated
compare VAR_RESULT, 1
goto_if_eq SlateportCity_House1_EventScript_15575A
- msgbox SlateportCity_House1_Text_17D63A, 4
+ msgbox SlateportCity_House1_Text_17D63A, MSGBOX_DEFAULT
release
end
SlateportCity_House1_EventScript_15575A:: @ 815575A
- msgbox SlateportCity_House1_Text_17D5B0, 4
+ msgbox SlateportCity_House1_Text_17D5B0, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/SlateportCity_House2/scripts.inc b/data/maps/SlateportCity_House2/scripts.inc
index 986b27124..7c4324b44 100644
--- a/data/maps/SlateportCity_House2/scripts.inc
+++ b/data/maps/SlateportCity_House2/scripts.inc
@@ -2,7 +2,7 @@ SlateportCity_House2_MapScripts:: @ 815638F
.byte 0
SlateportCity_House2_EventScript_156390:: @ 8156390
- msgbox SlateportCity_House2_Text_1804CF, 2
+ msgbox SlateportCity_House2_Text_1804CF, MSGBOX_NPC
end
SlateportCity_House2_EventScript_156399:: @ 8156399
@@ -11,11 +11,11 @@ SlateportCity_House2_EventScript_156399:: @ 8156399
checkitem ITEM_CONTEST_PASS, 1
compare VAR_RESULT, 1
goto_if_eq SlateportCity_House2_EventScript_1563B5
- msgbox SlateportCity_House2_Text_180567, 4
+ msgbox SlateportCity_House2_Text_180567, MSGBOX_DEFAULT
release
end
SlateportCity_House2_EventScript_1563B5:: @ 81563B5
- msgbox SlateportCity_House2_Text_1805CD, 4
+ msgbox SlateportCity_House2_Text_1805CD, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/SlateportCity_Mart/scripts.inc b/data/maps/SlateportCity_Mart/scripts.inc
index 39a1d5ba2..22edc532e 100644
--- a/data/maps/SlateportCity_Mart/scripts.inc
+++ b/data/maps/SlateportCity_Mart/scripts.inc
@@ -7,7 +7,7 @@ SlateportCity_Mart_EventScript_156411:: @ 8156411
message SlateportCity_Mart_Text_1A0BE4
waitmessage
pokemart SlateportCity_Mart_Items
- msgbox SlateportCity_Mart_Text_1A0C02, 4
+ msgbox SlateportCity_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -27,9 +27,9 @@ SlateportCity_Mart_Items:: @ 8156428
end
SlateportCity_Mart_EventScript_15643E:: @ 815643E
- msgbox SlateportCity_Mart_Text_180730, 2
+ msgbox SlateportCity_Mart_Text_180730, MSGBOX_NPC
end
SlateportCity_Mart_EventScript_156447:: @ 8156447
- msgbox SlateportCity_Mart_Text_18079D, 2
+ msgbox SlateportCity_Mart_Text_18079D, MSGBOX_NPC
end
diff --git a/data/maps/SlateportCity_OceanicMuseum_1F/scripts.inc b/data/maps/SlateportCity_OceanicMuseum_1F/scripts.inc
index da45b8378..e3dc3d333 100644
--- a/data/maps/SlateportCity_OceanicMuseum_1F/scripts.inc
+++ b/data/maps/SlateportCity_OceanicMuseum_1F/scripts.inc
@@ -13,7 +13,7 @@ SlateportCity_OceanicMuseum_1F_MapScript1_155AD0:: @ 8155AD0
end
SlateportCity_OceanicMuseum_1F_EventScript_155ADB:: @ 8155ADB
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E1DE, 2
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E1DE, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_1F_EventScript_155AE4:: @ 8155AE4
@@ -50,7 +50,7 @@ SlateportCity_OceanicMuseum_1F_EventScript_155B2D:: @ 8155B2D
removemoney 50, 0
updatemoneybox 0, 0
nop
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E1DE, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E1DE, MSGBOX_DEFAULT
setvar VAR_SLATEPORT_MUSEUM_1F_STATE, 1
hidemoneybox 0, 0
releaseall
@@ -58,7 +58,7 @@ SlateportCity_OceanicMuseum_1F_EventScript_155B2D:: @ 8155B2D
SlateportCity_OceanicMuseum_1F_EventScript_155B5A:: @ 8155B5A
goto_if_unset FLAG_DELIVERED_DEVON_GOODS, SlateportCity_OceanicMuseum_1F_EventScript_155B7B
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E1F5, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E1F5, MSGBOX_DEFAULT
closemessage
hidemoneybox 0, 0
applymovement 255, SlateportCity_OceanicMuseum_1F_Movement_155B8D
@@ -67,7 +67,7 @@ SlateportCity_OceanicMuseum_1F_EventScript_155B5A:: @ 8155B5A
end
SlateportCity_OceanicMuseum_1F_EventScript_155B7B:: @ 8155B7B
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E22D, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E22D, MSGBOX_DEFAULT
setvar VAR_SLATEPORT_MUSEUM_1F_STATE, 1
hidemoneybox 0, 0
releaseall
@@ -78,79 +78,79 @@ SlateportCity_OceanicMuseum_1F_Movement_155B8D:: @ 8155B8D
end_movement
SlateportCity_OceanicMuseum_1F_EventScript_155B8F:: @ 8155B8F
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E2BB, 2
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E2BB, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_1F_EventScript_155B98:: @ 8155B98
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E2E3, 2
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E2E3, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_1F_EventScript_155BA1:: @ 8155BA1
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E338, 2
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E338, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_1F_EventScript_155BAA:: @ 8155BAA
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E36F, 3
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E36F, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_1F_EventScript_155BB3:: @ 8155BB3
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E3A9, 2
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E3A9, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_1F_EventScript_155BBC:: @ 8155BBC
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E3ED, 2
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E3ED, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_1F_EventScript_155BC5:: @ 8155BC5
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E6C9, 3
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E6C9, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_1F_EventScript_155BCE:: @ 8155BCE
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E741, 3
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E741, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_1F_EventScript_155BD7:: @ 8155BD7
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E7C4, 3
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E7C4, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_1F_EventScript_155BE0:: @ 8155BE0
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E892, 3
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E892, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_1F_EventScript_155BE9:: @ 8155BE9
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E944, 3
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E944, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_1F_EventScript_155BF2:: @ 8155BF2
- msgbox SlateportCity_OceanicMuseum_1F_Text_17EA19, 3
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17EA19, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_1F_EventScript_155BFB:: @ 8155BFB
- msgbox SlateportCity_OceanicMuseum_1F_Text_17EB0D, 3
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17EB0D, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_1F_EventScript_155C04:: @ 8155C04
- msgbox SlateportCity_OceanicMuseum_1F_Text_17EBBC, 3
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17EBBC, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_1F_EventScript_155C0D:: @ 8155C0D
- msgbox SlateportCity_OceanicMuseum_1F_Text_17EC98, 3
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17EC98, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_1F_EventScript_155C16:: @ 8155C16
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E434, 2
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E434, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_1F_EventScript_155C1F:: @ 8155C1F
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E477, 2
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E477, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_1F_EventScript_155C28:: @ 8155C28
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E4D7, 2
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E4D7, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_1F_EventScript_155C31:: @ 8155C31
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E540, 2
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E540, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_1F_EventScript_155C3A:: @ 8155C3A
@@ -162,12 +162,12 @@ SlateportCity_OceanicMuseum_1F_EventScript_155C3A:: @ 8155C3A
waitmovement 0
applymovement 13, SlateportCity_OceanicMuseum_1F_Movement_1A0835
waitmovement 0
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E582, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E582, MSGBOX_DEFAULT
giveitem ITEM_TM46_THIEF
compare VAR_RESULT, 0
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_155CC2
setflag FLAG_RECEIVED_TM46
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E606, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E606, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, 2
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_155C98
@@ -194,7 +194,7 @@ SlateportCity_OceanicMuseum_1F_EventScript_155CAD:: @ 8155CAD
end
SlateportCity_OceanicMuseum_1F_EventScript_155CC2:: @ 8155CC2
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E695, 4
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E695, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/SlateportCity_OceanicMuseum_2F/scripts.inc b/data/maps/SlateportCity_OceanicMuseum_2F/scripts.inc
index cba7ca337..d9abd7dc9 100644
--- a/data/maps/SlateportCity_OceanicMuseum_2F/scripts.inc
+++ b/data/maps/SlateportCity_OceanicMuseum_2F/scripts.inc
@@ -9,7 +9,7 @@ SlateportCity_OceanicMuseum_2F_MapScript1_155CE0:: @ 8155CE0
SlateportCity_OceanicMuseum_2F_EventScript_155CE6:: @ 8155CE6
lock
faceplayer
- msgbox SlateportCity_OceanicMuseum_2F_Text_17ECFD, 4
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17ECFD, MSGBOX_DEFAULT
closemessage
playbgm MUS_EVIL_TEAM, TRUE
addobject 3
@@ -25,11 +25,11 @@ SlateportCity_OceanicMuseum_2F_EventScript_155CE6:: @ 8155CE6
call_if_eq SlateportCity_OceanicMuseum_2F_EventScript_155E62
compare VAR_FACING, 4
call_if_eq SlateportCity_OceanicMuseum_2F_EventScript_155E62
- msgbox SlateportCity_OceanicMuseum_2F_Text_17EDAE, 4
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17EDAE, MSGBOX_DEFAULT
compare VAR_FACING, 4
call_if_ne SlateportCity_OceanicMuseum_2F_EventScript_155E6D
- msgbox SlateportCity_OceanicMuseum_2F_Text_17EDD7, 4
- msgbox SlateportCity_OceanicMuseum_2F_Text_17EE01, 4
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17EDD7, MSGBOX_DEFAULT
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17EE01, MSGBOX_DEFAULT
closemessage
applymovement 4, SlateportCity_OceanicMuseum_2F_Movement_155EB2
waitmovement 0
@@ -38,13 +38,13 @@ SlateportCity_OceanicMuseum_2F_EventScript_155CE6:: @ 8155CE6
compare VAR_FACING, 3
call_if_eq SlateportCity_OceanicMuseum_2F_EventScript_155E83
trainerbattle_no_intro TRAINER_MUSEUM_2F_GRUNT_1, SlateportCity_OceanicMuseum_2F_Text_17EE4E
- msgbox SlateportCity_OceanicMuseum_2F_Text_17EE66, 4
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17EE66, MSGBOX_DEFAULT
closemessage
applymovement 4, SlateportCity_OceanicMuseum_2F_Movement_155EBF
waitmovement 0
applymovement 3, SlateportCity_OceanicMuseum_2F_Movement_155EB2
waitmovement 0
- msgbox SlateportCity_OceanicMuseum_2F_Text_17EEA5, 4
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17EEA5, MSGBOX_DEFAULT
savebgm 0
trainerbattle_no_intro TRAINER_MUSEUM_2F_GRUNT_2, SlateportCity_OceanicMuseum_2F_Text_17EED6
applymovement 3, SlateportCity_OceanicMuseum_2F_Movement_155EBF
@@ -52,20 +52,20 @@ SlateportCity_OceanicMuseum_2F_EventScript_155CE6:: @ 8155CE6
applymovement 3, SlateportCity_OceanicMuseum_2F_Movement_1A0845
applymovement 4, SlateportCity_OceanicMuseum_2F_Movement_1A0841
waitmovement 0
- msgbox SlateportCity_OceanicMuseum_2F_Text_17EEEA, 4
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17EEEA, MSGBOX_DEFAULT
closemessage
delay 35
addobject 2
applymovement 2, SlateportCity_OceanicMuseum_2F_Movement_155EA8
applymovement 4, SlateportCity_OceanicMuseum_2F_Movement_155ECE
waitmovement 0
- msgbox SlateportCity_OceanicMuseum_2F_Text_17EF62, 4
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17EF62, MSGBOX_DEFAULT
applymovement 2, SlateportCity_OceanicMuseum_2F_Movement_155EA6
waitmovement 0
.ifdef SAPPHIRE
- msgbox SlateportCity_OceanicMuseum_2F_Text_17EFC9, 4
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17EFC9, MSGBOX_DEFAULT
.else
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F17E, 4
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F17E, MSGBOX_DEFAULT
.endif
closemessage
fadescreen 1
@@ -77,10 +77,10 @@ SlateportCity_OceanicMuseum_2F_EventScript_155CE6:: @ 8155CE6
setflag FLAG_HIDE_EVIL_TEAM_OCEANIC_MUSEUM
applymovement 255, SlateportCity_OceanicMuseum_2F_Movement_1A0843
waitmovement 0
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F352, 4
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F352, MSGBOX_DEFAULT
setvar VAR_0x8004, 269
call SlateportCity_OceanicMuseum_2F_EventScript_1A067F
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F433, 4
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F433, MSGBOX_DEFAULT
closemessage
applymovement 1, SlateportCity_OceanicMuseum_2F_Movement_155E98
waitmovement 0
@@ -214,57 +214,57 @@ SlateportCity_OceanicMuseum_2F_Movement_155ECE:: @ 8155ECE
end_movement
SlateportCity_OceanicMuseum_2F_EventScript_155EDA:: @ 8155EDA
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F572, 3
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F572, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_155EE3:: @ 8155EE3
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F5E3, 3
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F5E3, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_155EEC:: @ 8155EEC
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F653, 3
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F653, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_155EF5:: @ 8155EF5
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F754, 3
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F754, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_155EFE:: @ 8155EFE
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F7BC, 3
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F7BC, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_155F07:: @ 8155F07
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F84E, 3
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F84E, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_155F10:: @ 8155F10
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F8BC, 3
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F8BC, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_155F19:: @ 8155F19
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F918, 3
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F918, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_155F22:: @ 8155F22
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F975, 3
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F975, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_155F2B:: @ 8155F2B
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F9C7, 3
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F9C7, MSGBOX_SIGN
end
SlateportCity_OceanicMuseum_2F_EventScript_155F34:: @ 8155F34
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F4B6, 2
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F4B6, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_2F_EventScript_155F3D:: @ 8155F3D
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F50E, 2
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F50E, MSGBOX_NPC
end
SlateportCity_OceanicMuseum_2F_EventScript_155F46:: @ 8155F46
lock
faceplayer
- msgbox SlateportCity_OceanicMuseum_2F_Text_17F53B, 4
+ msgbox SlateportCity_OceanicMuseum_2F_Text_17F53B, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, SlateportCity_OceanicMuseum_2F_Movement_1A083D
waitmovement 0
diff --git a/data/maps/SlateportCity_PokemonCenter_1F/scripts.inc b/data/maps/SlateportCity_PokemonCenter_1F/scripts.inc
index fef6401e7..ac9c801c6 100644
--- a/data/maps/SlateportCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/SlateportCity_PokemonCenter_1F/scripts.inc
@@ -16,9 +16,9 @@ SlateportCity_PokemonCenter_1F_EventScript_1563CE:: @ 81563CE
end
SlateportCity_PokemonCenter_1F_EventScript_1563DC:: @ 81563DC
- msgbox SlateportCity_PokemonCenter_1F_Text_180602, 2
+ msgbox SlateportCity_PokemonCenter_1F_Text_180602, MSGBOX_NPC
end
SlateportCity_PokemonCenter_1F_EventScript_1563E5:: @ 81563E5
- msgbox SlateportCity_PokemonCenter_1F_Text_1806CB, 2
+ msgbox SlateportCity_PokemonCenter_1F_Text_1806CB, MSGBOX_NPC
end
diff --git a/data/maps/SlateportCity_PokemonFanClub/scripts.inc b/data/maps/SlateportCity_PokemonFanClub/scripts.inc
index 19da9e3e4..2c90a7d5f 100644
--- a/data/maps/SlateportCity_PokemonFanClub/scripts.inc
+++ b/data/maps/SlateportCity_PokemonFanClub/scripts.inc
@@ -17,7 +17,7 @@ SlateportCity_PokemonFanClub_EventScript_15576B:: @ 815576B
SlateportCity_PokemonFanClub_EventScript_155795:: @ 8155795
setvar VAR_SLATEPORT_FAN_CLUB_STATE, 1
- msgbox SlateportCity_PokemonFanClub_Text_17D773, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17D773, MSGBOX_DEFAULT
goto SlateportCity_PokemonFanClub_EventScript_155808
end
@@ -32,17 +32,17 @@ SlateportCity_PokemonFanClub_EventScript_1557A8:: @ 81557A8
call_if_eq SlateportCity_PokemonFanClub_EventScript_15588D
compare VAR_SLATEPORT_FAN_CLUB_STATE, 2
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1557FE
- msgbox SlateportCity_PokemonFanClub_Text_17DA14, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DA14, MSGBOX_DEFAULT
goto SlateportCity_PokemonFanClub_EventScript_155808
end
SlateportCity_PokemonFanClub_EventScript_1557FE:: @ 81557FE
- msgbox SlateportCity_PokemonFanClub_Text_17DDD5, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DDD5, MSGBOX_DEFAULT
release
end
SlateportCity_PokemonFanClub_EventScript_155808:: @ 8155808
- msgbox SlateportCity_PokemonFanClub_Text_17DA49, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DA49, MSGBOX_DEFAULT
setvar VAR_TEMP_1, 0
call_if_unset FLAG_RECEIVED_YELLOW_SCARF, SlateportCity_PokemonFanClub_EventScript_1559FE
call_if_unset FLAG_RECEIVED_GREEN_SCARF, SlateportCity_PokemonFanClub_EventScript_1559E7
@@ -69,7 +69,7 @@ SlateportCity_PokemonFanClub_EventScript_155893:: @ 8155893
return
SlateportCity_PokemonFanClub_EventScript_155899:: @ 8155899
- msgbox SlateportCity_PokemonFanClub_Text_17DA5C, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DA5C, MSGBOX_DEFAULT
release
end
@@ -77,10 +77,10 @@ SlateportCity_PokemonFanClub_EventScript_1558A3:: @ 81558A3
checkitemspace ITEM_RED_SCARF, 1
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_155998
- msgbox SlateportCity_PokemonFanClub_Text_17DB89, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DB89, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_RED_SCARF
giveitem ITEM_RED_SCARF
- msgbox SlateportCity_PokemonFanClub_Text_17DC1B, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DC1B, MSGBOX_DEFAULT
release
end
@@ -88,10 +88,10 @@ SlateportCity_PokemonFanClub_EventScript_1558D4:: @ 81558D4
checkitemspace ITEM_BLUE_SCARF, 1
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_155998
- msgbox SlateportCity_PokemonFanClub_Text_17DB89, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DB89, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_BLUE_SCARF
giveitem ITEM_BLUE_SCARF
- msgbox SlateportCity_PokemonFanClub_Text_17DC74, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DC74, MSGBOX_DEFAULT
release
end
@@ -99,10 +99,10 @@ SlateportCity_PokemonFanClub_EventScript_155905:: @ 8155905
checkitemspace ITEM_PINK_SCARF, 1
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_155998
- msgbox SlateportCity_PokemonFanClub_Text_17DB89, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DB89, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_PINK_SCARF
giveitem ITEM_PINK_SCARF
- msgbox SlateportCity_PokemonFanClub_Text_17DCCB, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DCCB, MSGBOX_DEFAULT
release
end
@@ -110,10 +110,10 @@ SlateportCity_PokemonFanClub_EventScript_155936:: @ 8155936
checkitemspace ITEM_GREEN_SCARF, 1
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_155998
- msgbox SlateportCity_PokemonFanClub_Text_17DB89, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DB89, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_GREEN_SCARF
giveitem ITEM_GREEN_SCARF
- msgbox SlateportCity_PokemonFanClub_Text_17DD27, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DD27, MSGBOX_DEFAULT
release
end
@@ -121,15 +121,15 @@ SlateportCity_PokemonFanClub_EventScript_155967:: @ 8155967
checkitemspace ITEM_YELLOW_SCARF, 1
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_155998
- msgbox SlateportCity_PokemonFanClub_Text_17DB89, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DB89, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_YELLOW_SCARF
giveitem ITEM_YELLOW_SCARF
- msgbox SlateportCity_PokemonFanClub_Text_17DD78, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DD78, MSGBOX_DEFAULT
release
end
SlateportCity_PokemonFanClub_EventScript_155998:: @ 8155998
- msgbox SlateportCity_PokemonFanClub_Text_17DB0B, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DB0B, MSGBOX_DEFAULT
release
end
@@ -187,7 +187,7 @@ SlateportCity_PokemonFanClub_EventScript_155A15:: @ 8155A15
lock
faceplayer
goto_if_set FLAG_RECEIVED_SOOTHE_BELL, SlateportCity_PokemonFanClub_EventScript_155A75
- msgbox SlateportCity_PokemonFanClub_Text_17DE6B, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DE6B, MSGBOX_DEFAULT
specialvar VAR_RESULT, GetLeadMonFriendshipScore
compare VAR_RESULT, 4
goto_if_ge SlateportCity_PokemonFanClub_EventScript_155A3A
@@ -200,7 +200,7 @@ SlateportCity_PokemonFanClub_EventScript_155A3A:: @ 8155A3A
waitmovement 0
applymovement VAR_LAST_TALKED, SlateportCity_PokemonFanClub_Movement_1A0835
waitmovement 0
- msgbox SlateportCity_PokemonFanClub_Text_17DF57, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DF57, MSGBOX_DEFAULT
giveitem ITEM_SOOTHE_BELL
compare VAR_RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1A029B
@@ -209,16 +209,16 @@ SlateportCity_PokemonFanClub_EventScript_155A3A:: @ 8155A3A
end
SlateportCity_PokemonFanClub_EventScript_155A75:: @ 8155A75
- msgbox SlateportCity_PokemonFanClub_Text_17DFB8, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17DFB8, MSGBOX_DEFAULT
release
end
SlateportCity_PokemonFanClub_EventScript_155A7F:: @ 8155A7F
- msgbox SlateportCity_PokemonFanClub_Text_17E03B, 2
+ msgbox SlateportCity_PokemonFanClub_Text_17E03B, MSGBOX_NPC
end
SlateportCity_PokemonFanClub_EventScript_155A88:: @ 8155A88
- msgbox SlateportCity_PokemonFanClub_Text_17E0ED, 2
+ msgbox SlateportCity_PokemonFanClub_Text_17E0ED, MSGBOX_NPC
end
SlateportCity_PokemonFanClub_EventScript_155A91:: @ 8155A91
@@ -226,7 +226,7 @@ SlateportCity_PokemonFanClub_EventScript_155A91:: @ 8155A91
faceplayer
waitse
playmoncry SPECIES_SKITTY, 0
- msgbox SlateportCity_PokemonFanClub_Text_17E14E, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17E14E, MSGBOX_DEFAULT
waitmoncry
release
end
@@ -236,7 +236,7 @@ SlateportCity_PokemonFanClub_EventScript_155AA4:: @ 8155AA4
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
- msgbox SlateportCity_PokemonFanClub_Text_17E164, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17E164, MSGBOX_DEFAULT
waitmoncry
release
end
@@ -246,7 +246,7 @@ SlateportCity_PokemonFanClub_EventScript_155AB7:: @ 8155AB7
faceplayer
waitse
playmoncry SPECIES_AZUMARILL, 0
- msgbox SlateportCity_PokemonFanClub_Text_17E178, 4
+ msgbox SlateportCity_PokemonFanClub_Text_17E178, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/SlateportCity_SternsShipyard_1F/scripts.inc b/data/maps/SlateportCity_SternsShipyard_1F/scripts.inc
index dd31e8e26..07b5eab68 100644
--- a/data/maps/SlateportCity_SternsShipyard_1F/scripts.inc
+++ b/data/maps/SlateportCity_SternsShipyard_1F/scripts.inc
@@ -7,10 +7,10 @@ SlateportCity_SternsShipyard_1F_EventScript_155336:: @ 8155336
goto_if_set FLAG_BADGE07_GET, SlateportCity_SternsShipyard_1F_EventScript_15539C
goto_if_set FLAG_DELIVERED_DEVON_GOODS, SlateportCity_SternsShipyard_1F_EventScript_1553CF
goto_if_set FLAG_DOCK_REJECTED_DEVON_GOODS, SlateportCity_SternsShipyard_1F_EventScript_1553B0
- msgbox SlateportCity_SternsShipyard_1F_Text_17C14B, 4
+ msgbox SlateportCity_SternsShipyard_1F_Text_17C14B, MSGBOX_DEFAULT
applymovement 1, SlateportCity_SternsShipyard_1F_Movement_1A0839
waitmovement 0
- msgbox SlateportCity_SternsShipyard_1F_Text_17C1EC, 4
+ msgbox SlateportCity_SternsShipyard_1F_Text_17C1EC, MSGBOX_DEFAULT
closemessage
applymovement 1, SlateportCity_SternsShipyard_1F_Movement_1A083D
waitmovement 0
@@ -22,21 +22,21 @@ SlateportCity_SternsShipyard_1F_EventScript_155336:: @ 8155336
SlateportCity_SternsShipyard_1F_EventScript_155388:: @ 8155388
applymovement 1, SlateportCity_SternsShipyard_1F_Movement_1A0839
waitmovement 0
- msgbox SlateportCity_SternsShipyard_1F_Text_17C472, 4
+ msgbox SlateportCity_SternsShipyard_1F_Text_17C472, MSGBOX_DEFAULT
releaseall
end
SlateportCity_SternsShipyard_1F_EventScript_15539C:: @ 815539C
applymovement 1, SlateportCity_SternsShipyard_1F_Movement_1A0839
waitmovement 0
- msgbox SlateportCity_SternsShipyard_1F_Text_17C3F7, 4
+ msgbox SlateportCity_SternsShipyard_1F_Text_17C3F7, MSGBOX_DEFAULT
releaseall
end
SlateportCity_SternsShipyard_1F_EventScript_1553B0:: @ 81553B0
applymovement 1, SlateportCity_SternsShipyard_1F_Movement_1A0839
waitmovement 0
- msgbox SlateportCity_SternsShipyard_1F_Text_17C2F2, 4
+ msgbox SlateportCity_SternsShipyard_1F_Text_17C2F2, MSGBOX_DEFAULT
closemessage
applymovement 1, SlateportCity_SternsShipyard_1F_Movement_1A083D
waitmovement 0
@@ -46,18 +46,18 @@ SlateportCity_SternsShipyard_1F_EventScript_1553B0:: @ 81553B0
SlateportCity_SternsShipyard_1F_EventScript_1553CF:: @ 81553CF
applymovement 1, SlateportCity_SternsShipyard_1F_Movement_1A0839
waitmovement 0
- msgbox SlateportCity_SternsShipyard_1F_Text_17C360, 4
+ msgbox SlateportCity_SternsShipyard_1F_Text_17C360, MSGBOX_DEFAULT
releaseall
end
SlateportCity_SternsShipyard_1F_EventScript_1553E3:: @ 81553E3
- msgbox SlateportCity_SternsShipyard_1F_Text_17C6BB, 2
+ msgbox SlateportCity_SternsShipyard_1F_Text_17C6BB, MSGBOX_NPC
end
SlateportCity_SternsShipyard_1F_EventScript_1553EC:: @ 81553EC
- msgbox SlateportCity_SternsShipyard_1F_Text_17C764, 2
+ msgbox SlateportCity_SternsShipyard_1F_Text_17C764, MSGBOX_NPC
end
SlateportCity_SternsShipyard_1F_EventScript_1553F5:: @ 81553F5
- msgbox SlateportCity_SternsShipyard_1F_Text_17C53D, 2
+ msgbox SlateportCity_SternsShipyard_1F_Text_17C53D, MSGBOX_NPC
end
diff --git a/data/maps/SlateportCity_SternsShipyard_2F/scripts.inc b/data/maps/SlateportCity_SternsShipyard_2F/scripts.inc
index df9227dd3..851a6d324 100644
--- a/data/maps/SlateportCity_SternsShipyard_2F/scripts.inc
+++ b/data/maps/SlateportCity_SternsShipyard_2F/scripts.inc
@@ -2,9 +2,9 @@ SlateportCity_SternsShipyard_2F_MapScripts:: @ 81553FE
.byte 0
SlateportCity_SternsShipyard_2F_EventScript_1553FF:: @ 81553FF
- msgbox SlateportCity_SternsShipyard_2F_Text_17C7A2, 2
+ msgbox SlateportCity_SternsShipyard_2F_Text_17C7A2, MSGBOX_NPC
end
SlateportCity_SternsShipyard_2F_EventScript_155408:: @ 8155408
- msgbox SlateportCity_SternsShipyard_2F_Text_17C80C, 2
+ msgbox SlateportCity_SternsShipyard_2F_Text_17C80C, MSGBOX_NPC
end
diff --git a/data/maps/SootopolisCity/scripts.inc b/data/maps/SootopolisCity/scripts.inc
index 20a4bca5b..19b9d8dcc 100644
--- a/data/maps/SootopolisCity/scripts.inc
+++ b/data/maps/SootopolisCity/scripts.inc
@@ -64,21 +64,21 @@ SootopolisCity_EventScript_14D16E:: @ 814D16E
lock
faceplayer
goto_if_set FLAG_LEGENDARY_BATTLE_COMPLETED, SootopolisCity_EventScript_14D183
- msgbox SootopolisCity_Text_1696A4, 4
+ msgbox SootopolisCity_Text_1696A4, MSGBOX_DEFAULT
release
end
SootopolisCity_EventScript_14D183:: @ 814D183
- msgbox SootopolisCity_Text_16A455, 4
+ msgbox SootopolisCity_Text_16A455, MSGBOX_DEFAULT
release
end
SootopolisCity_EventScript_14D18D:: @ 814D18D
- msgbox SootopolisCity_Text_16A2B2, 2
+ msgbox SootopolisCity_Text_16A2B2, MSGBOX_NPC
end
SootopolisCity_EventScript_14D196:: @ 814D196
- msgbox SootopolisCity_Text_16A2FB, 2
+ msgbox SootopolisCity_Text_16A2FB, MSGBOX_NPC
end
SootopolisCity_EventScript_14D19F:: @ 814D19F
@@ -87,7 +87,7 @@ SootopolisCity_EventScript_14D19F:: @ 814D19F
dotimebasedevents
special GetPlayerBigGuyGirlString
goto_if_set FLAG_DAILY_RECEIVED_BERRY_SOOTOPOLIS, SootopolisCity_EventScript_14D241
- msgbox SootopolisCity_Text_1C63F2, 4
+ msgbox SootopolisCity_Text_1C63F2, MSGBOX_DEFAULT
random 10
addvar VAR_RESULT, 20
addvar VAR_RESULT, ITEM_CHERI_BERRY
@@ -95,7 +95,7 @@ SootopolisCity_EventScript_14D19F:: @ 814D19F
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_EventScript_1A029B
setflag FLAG_DAILY_RECEIVED_BERRY_SOOTOPOLIS
- msgbox SootopolisCity_Text_1C64D0, 4
+ msgbox SootopolisCity_Text_1C64D0, MSGBOX_DEFAULT
random 2
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_EventScript_14D1FF
@@ -107,7 +107,7 @@ SootopolisCity_EventScript_14D1FF:: @ 814D1FF
giveitem ITEM_FIGY_BERRY
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_EventScript_1A029B
- msgbox SootopolisCity_Text_1C650B, 4
+ msgbox SootopolisCity_Text_1C650B, MSGBOX_DEFAULT
release
end
@@ -115,7 +115,7 @@ SootopolisCity_EventScript_14D220:: @ 814D220
giveitem ITEM_IAPAPA_BERRY
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_EventScript_1A029B
- msgbox SootopolisCity_Text_1C650B, 4
+ msgbox SootopolisCity_Text_1C650B, MSGBOX_DEFAULT
release
end
@@ -123,12 +123,12 @@ SootopolisCity_EventScript_14D241:: @ 814D241
msgbox SootopolisCity_Text_1C6540, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq SootopolisCity_EventScript_14D25E
- msgbox SootopolisCity_Text_1C6626, 4
+ msgbox SootopolisCity_Text_1C6626, MSGBOX_DEFAULT
release
end
SootopolisCity_EventScript_14D25E:: @ 814D25E
- msgbox SootopolisCity_Text_1C65D4, 4
+ msgbox SootopolisCity_Text_1C65D4, MSGBOX_DEFAULT
release
end
@@ -136,12 +136,12 @@ SootopolisCity_EventScript_14D268:: @ 814D268
lock
faceplayer
goto_if_set FLAG_DEFEATED_SOOTOPOLIS_GYM, SootopolisCity_EventScript_14D27D
- msgbox SootopolisCity_Text_16A4D6, 4
+ msgbox SootopolisCity_Text_16A4D6, MSGBOX_DEFAULT
release
end
SootopolisCity_EventScript_14D27D:: @ 814D27D
- msgbox SootopolisCity_Text_16A531, 4
+ msgbox SootopolisCity_Text_16A531, MSGBOX_DEFAULT
release
end
@@ -149,12 +149,12 @@ SootopolisCity_EventScript_14D287:: @ 814D287
lock
faceplayer
goto_if_set FLAG_LEGENDARY_BATTLE_COMPLETED, SootopolisCity_EventScript_14D29C
- msgbox SootopolisCity_Text_169813, 4
+ msgbox SootopolisCity_Text_169813, MSGBOX_DEFAULT
release
end
SootopolisCity_EventScript_14D29C:: @ 814D29C
- msgbox SootopolisCity_Text_16A587, 4
+ msgbox SootopolisCity_Text_16A587, MSGBOX_DEFAULT
release
end
@@ -162,12 +162,12 @@ SootopolisCity_EventScript_14D2A6:: @ 814D2A6
lock
faceplayer
goto_if_set FLAG_LEGENDARY_BATTLE_COMPLETED, SootopolisCity_EventScript_14D2BB
- msgbox SootopolisCity_Text_1698A0, 4
+ msgbox SootopolisCity_Text_1698A0, MSGBOX_DEFAULT
release
end
SootopolisCity_EventScript_14D2BB:: @ 814D2BB
- msgbox SootopolisCity_Text_16A614, 4
+ msgbox SootopolisCity_Text_16A614, MSGBOX_DEFAULT
release
end
@@ -175,29 +175,29 @@ SootopolisCity_EventScript_14D2C5:: @ 814D2C5
lock
faceplayer
goto_if_set FLAG_LEGENDARY_BATTLE_COMPLETED, SootopolisCity_EventScript_14D2DA
- msgbox SootopolisCity_Text_1697A7, 4
+ msgbox SootopolisCity_Text_1697A7, MSGBOX_DEFAULT
release
end
SootopolisCity_EventScript_14D2DA:: @ 814D2DA
- msgbox SootopolisCity_Text_16A6AE, 4
+ msgbox SootopolisCity_Text_16A6AE, MSGBOX_DEFAULT
release
end
SootopolisCity_EventScript_14D2E4:: @ 814D2E4
- msgbox SootopolisCity_Text_16972B, 2
+ msgbox SootopolisCity_Text_16972B, MSGBOX_NPC
end
SootopolisCity_EventScript_14D2ED:: @ 814D2ED
- msgbox SootopolisCity_Text_16A6C7, 3
+ msgbox SootopolisCity_Text_16A6C7, MSGBOX_SIGN
end
SootopolisCity_EventScript_14D2F6:: @ 814D2F6
- msgbox SootopolisCity_Text_16A711, 3
+ msgbox SootopolisCity_Text_16A711, MSGBOX_SIGN
end
ClosedSootopolisDoorScript:: @ 814D2FF
- msgbox ClosedSootopolisDoorText, 3
+ msgbox ClosedSootopolisDoorText, MSGBOX_SIGN
end
SootopolisCity_EventScript_14D308:: @ 814D308
@@ -213,18 +213,18 @@ SootopolisCity_EventScript_14D308:: @ 814D308
applymovement 10, SootopolisCity_Movement_14D413
waitmovement 0
.ifdef SAPPHIRE
- msgbox SootopolisCity_Text_169988, 4
+ msgbox SootopolisCity_Text_169988, MSGBOX_DEFAULT
.else
- msgbox SootopolisCity_Text_169E0F, 4
+ msgbox SootopolisCity_Text_169E0F, MSGBOX_DEFAULT
.endif
closemessage
applymovement 10, SootopolisCity_Movement_14D417
applymovement 255, SootopolisCity_Movement_14D440
waitmovement 10
.ifdef SAPPHIRE
- msgbox SootopolisCity_Text_1699FD, 4
+ msgbox SootopolisCity_Text_1699FD, MSGBOX_DEFAULT
.else
- msgbox SootopolisCity_Text_169E82, 4
+ msgbox SootopolisCity_Text_169E82, MSGBOX_DEFAULT
.endif
playse SE_PIN
applymovement 5, SootopolisCity_Movement_1A0833
@@ -232,9 +232,9 @@ SootopolisCity_EventScript_14D308:: @ 814D308
applymovement 5, SootopolisCity_Movement_1A0835
waitmovement 0
.ifdef SAPPHIRE
- msgbox SootopolisCity_Text_169AB7, 4
+ msgbox SootopolisCity_Text_169AB7, MSGBOX_DEFAULT
.else
- msgbox SootopolisCity_Text_169F3C, 4
+ msgbox SootopolisCity_Text_169F3C, MSGBOX_DEFAULT
.endif
closemessage
delay 30
@@ -249,9 +249,9 @@ SootopolisCity_EventScript_14D308:: @ 814D308
applymovement 10, SootopolisCity_Movement_1A0845
waitmovement 0
.ifdef SAPPHIRE
- msgbox SootopolisCity_Text_169AE7, 4
+ msgbox SootopolisCity_Text_169AE7, MSGBOX_DEFAULT
.else
- msgbox SootopolisCity_Text_169F6B, 4
+ msgbox SootopolisCity_Text_169F6B, MSGBOX_DEFAULT
.endif
closemessage
delay 30
@@ -262,16 +262,16 @@ SootopolisCity_EventScript_14D308:: @ 814D308
applymovement 5, SootopolisCity_Movement_1A083F
waitmovement 0
.ifdef SAPPHIRE
- msgbox SootopolisCity_Text_169BC7, 4
+ msgbox SootopolisCity_Text_169BC7, MSGBOX_DEFAULT
.else
- msgbox SootopolisCity_Text_16A06C, 4
+ msgbox SootopolisCity_Text_16A06C, MSGBOX_DEFAULT
.endif
applymovement 255, SootopolisCity_Movement_1A083F
waitmovement 0
.ifdef SAPPHIRE
- msgbox SootopolisCity_Text_169C99, 4
+ msgbox SootopolisCity_Text_169C99, MSGBOX_DEFAULT
.else
- msgbox SootopolisCity_Text_16A13E, 4
+ msgbox SootopolisCity_Text_16A13E, MSGBOX_DEFAULT
.endif
moveobjectoffscreen 5
setobjectmovementtype 5, 9
@@ -425,9 +425,9 @@ SootopolisCity_Movement_14D47C:: @ 814D47C
SootopolisCity_EventScript_14D48F:: @ 814D48F
.ifdef SAPPHIRE
- msgbox SootopolisCity_Text_169D37, 2
+ msgbox SootopolisCity_Text_169D37, MSGBOX_NPC
.else
- msgbox SootopolisCity_Text_16A1DB, 2
+ msgbox SootopolisCity_Text_16A1DB, MSGBOX_NPC
.endif
end
@@ -436,15 +436,15 @@ SootopolisCity_EventScript_14D498:: @ 814D498
faceplayer
goto_if_set FLAG_LEGENDARY_BATTLE_COMPLETED, SootopolisCity_EventScript_14D4AD
.ifdef SAPPHIRE
- msgbox SootopolisCity_Text_169DA6, 4
+ msgbox SootopolisCity_Text_169DA6, MSGBOX_DEFAULT
.else
- msgbox SootopolisCity_Text_16A249, 4
+ msgbox SootopolisCity_Text_16A249, MSGBOX_DEFAULT
.endif
release
end
SootopolisCity_EventScript_14D4AD:: @ 814D4AD
- msgbox SootopolisCity_Text_16A33E, 4
+ msgbox SootopolisCity_Text_16A33E, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, SootopolisCity_Movement_1A0845
waitmovement 0
diff --git a/data/maps/SootopolisCity_Gym_1F/scripts.inc b/data/maps/SootopolisCity_Gym_1F/scripts.inc
index 296d10515..5800e6b6e 100644
--- a/data/maps/SootopolisCity_Gym_1F/scripts.inc
+++ b/data/maps/SootopolisCity_Gym_1F/scripts.inc
@@ -89,7 +89,7 @@ SootopolisCity_Gym_1F_EventScript_15AFFF:: @ 815AFFF
trainerbattle_single TRAINER_WALLACE, SootopolisCity_Gym_1F_Text_18F0CA, SootopolisCity_Gym_1F_Text_18F282, SootopolisCity_Gym_1F_EventScript_15B02D, NO_MUSIC
goto_if_unset FLAG_RECEIVED_TM03, SootopolisCity_Gym_1F_EventScript_15B056
goto_if_unset FLAG_BADGE06_GET, SootopolisCity_Gym_1F_EventScript_15B07A
- msgbox SootopolisCity_Gym_1F_Text_18F4D7, 4
+ msgbox SootopolisCity_Gym_1F_Text_18F4D7, MSGBOX_DEFAULT
release
end
@@ -97,7 +97,7 @@ SootopolisCity_Gym_1F_EventScript_15B02D:: @ 815B02D
message SootopolisCity_Gym_1F_Text_18F342
waitmessage
call SootopolisCity_Gym_1F_EventScript_1A02C5
- msgbox SootopolisCity_Gym_1F_Text_18F36B, 4
+ msgbox SootopolisCity_Gym_1F_Text_18F36B, MSGBOX_DEFAULT
setflag FLAG_DEFEATED_SOOTOPOLIS_GYM
setflag FLAG_BADGE08_GET
setvar VAR_0x8008, 8
@@ -109,13 +109,13 @@ SootopolisCity_Gym_1F_EventScript_15B056:: @ 815B056
giveitem ITEM_TM03_WATER_PULSE
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_Gym_1F_EventScript_1A029B
- msgbox SootopolisCity_Gym_1F_Text_18F466, 4
+ msgbox SootopolisCity_Gym_1F_Text_18F466, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_TM03
release
end
SootopolisCity_Gym_1F_EventScript_15B07A:: @ 815B07A
- msgbox SootopolisCity_Gym_1F_Text_18F5B4, 4
+ msgbox SootopolisCity_Gym_1F_Text_18F5B4, MSGBOX_DEFAULT
release
end
@@ -123,12 +123,12 @@ SootopolisCity_Gym_1F_EventScript_15B084:: @ 815B084
lock
faceplayer
goto_if_set FLAG_DEFEATED_SOOTOPOLIS_GYM, SootopolisCity_Gym_1F_EventScript_15B099
- msgbox SootopolisCity_Gym_1F_Text_18E8A5, 4
+ msgbox SootopolisCity_Gym_1F_Text_18E8A5, MSGBOX_DEFAULT
release
end
SootopolisCity_Gym_1F_EventScript_15B099:: @ 815B099
- msgbox SootopolisCity_Gym_1F_Text_18E9C9, 4
+ msgbox SootopolisCity_Gym_1F_Text_18E9C9, MSGBOX_DEFAULT
release
end
@@ -145,11 +145,11 @@ SootopolisCity_Gym_1F_EventScript_15B0B3:: @ 815B0B3
end
SootopolisCity_Gym_1F_EventScript_15B0C3:: @ 815B0C3
- msgbox SootopolisCity_Gym_1F_Text_18F665, 4
+ msgbox SootopolisCity_Gym_1F_Text_18F665, MSGBOX_DEFAULT
releaseall
end
SootopolisCity_Gym_1F_EventScript_15B0CD:: @ 815B0CD
- msgbox SootopolisCity_Gym_1F_Text_18F649, 4
+ msgbox SootopolisCity_Gym_1F_Text_18F649, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/SootopolisCity_Gym_B1F/scripts.inc b/data/maps/SootopolisCity_Gym_B1F/scripts.inc
index 48a6de21b..de082cbae 100644
--- a/data/maps/SootopolisCity_Gym_B1F/scripts.inc
+++ b/data/maps/SootopolisCity_Gym_B1F/scripts.inc
@@ -3,40 +3,40 @@ SootopolisCity_Gym_B1F_MapScripts:: @ 815B0D7
SootopolisCity_Gym_B1F_EventScript_15B0D8:: @ 815B0D8
trainerbattle_single TRAINER_ANDREA, SootopolisCity_Gym_B1F_Text_18EA87, SootopolisCity_Gym_B1F_Text_18EACF
- msgbox SootopolisCity_Gym_B1F_Text_18EAED, 6
+ msgbox SootopolisCity_Gym_B1F_Text_18EAED, MSGBOX_AUTOCLOSE
end
SootopolisCity_Gym_B1F_EventScript_15B0EF:: @ 815B0EF
trainerbattle_single TRAINER_CRISSY, SootopolisCity_Gym_B1F_Text_18EB22, SootopolisCity_Gym_B1F_Text_18EB81
- msgbox SootopolisCity_Gym_B1F_Text_18EBB1, 6
+ msgbox SootopolisCity_Gym_B1F_Text_18EBB1, MSGBOX_AUTOCLOSE
end
SootopolisCity_Gym_B1F_EventScript_15B106:: @ 815B106
trainerbattle_single TRAINER_BRIANNA_2, SootopolisCity_Gym_B1F_Text_18EBFA, SootopolisCity_Gym_B1F_Text_18EC5E
- msgbox SootopolisCity_Gym_B1F_Text_18EC92, 6
+ msgbox SootopolisCity_Gym_B1F_Text_18EC92, MSGBOX_AUTOCLOSE
end
SootopolisCity_Gym_B1F_EventScript_15B11D:: @ 815B11D
trainerbattle_single TRAINER_CONNIE, SootopolisCity_Gym_B1F_Text_18ECEB, SootopolisCity_Gym_B1F_Text_18ED18
- msgbox SootopolisCity_Gym_B1F_Text_18ED2B, 6
+ msgbox SootopolisCity_Gym_B1F_Text_18ED2B, MSGBOX_AUTOCLOSE
end
SootopolisCity_Gym_B1F_EventScript_15B134:: @ 815B134
trainerbattle_single TRAINER_BRIDGET, SootopolisCity_Gym_B1F_Text_18ED91, SootopolisCity_Gym_B1F_Text_18EDE8
- msgbox SootopolisCity_Gym_B1F_Text_18EE03, 6
+ msgbox SootopolisCity_Gym_B1F_Text_18EE03, MSGBOX_AUTOCLOSE
end
SootopolisCity_Gym_B1F_EventScript_15B14B:: @ 815B14B
trainerbattle_single TRAINER_OLIVIA, SootopolisCity_Gym_B1F_Text_18EE96, SootopolisCity_Gym_B1F_Text_18EEDC
- msgbox SootopolisCity_Gym_B1F_Text_18EEF7, 6
+ msgbox SootopolisCity_Gym_B1F_Text_18EEF7, MSGBOX_AUTOCLOSE
end
SootopolisCity_Gym_B1F_EventScript_15B162:: @ 815B162
trainerbattle_single TRAINER_TIFFANY, SootopolisCity_Gym_B1F_Text_18EF39, SootopolisCity_Gym_B1F_Text_18EFB8
- msgbox SootopolisCity_Gym_B1F_Text_18EFCA, 6
+ msgbox SootopolisCity_Gym_B1F_Text_18EFCA, MSGBOX_AUTOCLOSE
end
SootopolisCity_Gym_B1F_EventScript_15B179:: @ 815B179
trainerbattle_single TRAINER_MARISSA, SootopolisCity_Gym_B1F_Text_18F037, SootopolisCity_Gym_B1F_Text_18F07F
- msgbox SootopolisCity_Gym_B1F_Text_18F085, 6
+ msgbox SootopolisCity_Gym_B1F_Text_18F085, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/SootopolisCity_House1/scripts.inc b/data/maps/SootopolisCity_House1/scripts.inc
index 25133ab42..f49381a28 100644
--- a/data/maps/SootopolisCity_House1/scripts.inc
+++ b/data/maps/SootopolisCity_House1/scripts.inc
@@ -5,15 +5,15 @@ SootopolisCity_House1_EventScript_15B29B:: @ 815B29B
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM31, SootopolisCity_House1_EventScript_15B2C7
- msgbox SootopolisCity_House1_Text_18F991, 4
+ msgbox SootopolisCity_House1_Text_18F991, MSGBOX_DEFAULT
giveitem ITEM_TM31_BRICK_BREAK
setflag FLAG_RECEIVED_TM31
- msgbox SootopolisCity_House1_Text_18FA03, 4
+ msgbox SootopolisCity_House1_Text_18FA03, MSGBOX_DEFAULT
release
end
SootopolisCity_House1_EventScript_15B2C7:: @ 815B2C7
- msgbox SootopolisCity_House1_Text_18FA03, 4
+ msgbox SootopolisCity_House1_Text_18FA03, MSGBOX_DEFAULT
release
end
@@ -22,7 +22,7 @@ SootopolisCity_House1_EventScript_15B2D1:: @ 815B2D1
faceplayer
waitse
playmoncry SPECIES_KECLEON, 0
- msgbox SootopolisCity_House1_Text_18FA50, 4
+ msgbox SootopolisCity_House1_Text_18FA50, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/SootopolisCity_House2/scripts.inc b/data/maps/SootopolisCity_House2/scripts.inc
index 4fe8050a5..b3d7eb609 100644
--- a/data/maps/SootopolisCity_House2/scripts.inc
+++ b/data/maps/SootopolisCity_House2/scripts.inc
@@ -13,9 +13,9 @@ SootopolisCity_House2_EventScript_15B2E5:: @ 815B2E5
end
SootopolisCity_House2_EventScript_15B307:: @ 815B307
- msgbox SootopolisCity_House2_Text_18FAAE, 4
+ msgbox SootopolisCity_House2_Text_18FAAE, MSGBOX_DEFAULT
return
SootopolisCity_House2_EventScript_15B310:: @ 815B310
- msgbox SootopolisCity_House2_Text_18FB04, 4
+ msgbox SootopolisCity_House2_Text_18FB04, MSGBOX_DEFAULT
return
diff --git a/data/maps/SootopolisCity_House3/scripts.inc b/data/maps/SootopolisCity_House3/scripts.inc
index 20eeeb933..b466ecc1f 100644
--- a/data/maps/SootopolisCity_House3/scripts.inc
+++ b/data/maps/SootopolisCity_House3/scripts.inc
@@ -7,15 +7,15 @@ SootopolisCity_House3_EventScript_15B31A:: @ 815B31A
msgbox SootopolisCity_House3_Text_18FB36, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq SootopolisCity_House3_EventScript_15B339
- msgbox SootopolisCity_House3_Text_18FBC0, 4
+ msgbox SootopolisCity_House3_Text_18FBC0, MSGBOX_DEFAULT
release
end
SootopolisCity_House3_EventScript_15B339:: @ 815B339
- msgbox SootopolisCity_House3_Text_18FB9C, 4
+ msgbox SootopolisCity_House3_Text_18FB9C, MSGBOX_DEFAULT
release
end
SootopolisCity_House3_EventScript_15B343:: @ 815B343
- msgbox SootopolisCity_House3_Text_18FC1A, 2
+ msgbox SootopolisCity_House3_Text_18FC1A, MSGBOX_NPC
end
diff --git a/data/maps/SootopolisCity_House4/scripts.inc b/data/maps/SootopolisCity_House4/scripts.inc
index b552cc6d6..8ef51d2a5 100644
--- a/data/maps/SootopolisCity_House4/scripts.inc
+++ b/data/maps/SootopolisCity_House4/scripts.inc
@@ -2,11 +2,11 @@ SootopolisCity_House4_MapScripts:: @ 815B34C
.byte 0
SootopolisCity_House4_EventScript_15B34D:: @ 815B34D
- msgbox SootopolisCity_House4_Text_18FC92, 2
+ msgbox SootopolisCity_House4_Text_18FC92, MSGBOX_NPC
end
SootopolisCity_House4_EventScript_15B356:: @ 815B356
- msgbox SootopolisCity_House4_Text_18FD41, 2
+ msgbox SootopolisCity_House4_Text_18FD41, MSGBOX_NPC
end
SootopolisCity_House4_EventScript_15B35F:: @ 815B35F
@@ -14,7 +14,7 @@ SootopolisCity_House4_EventScript_15B35F:: @ 815B35F
faceplayer
waitse
playmoncry SPECIES_AZUMARILL, 0
- msgbox SootopolisCity_House4_Text_18FDD8, 4
+ msgbox SootopolisCity_House4_Text_18FDD8, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/SootopolisCity_House5/scripts.inc b/data/maps/SootopolisCity_House5/scripts.inc
index 26e5c7d5c..0d47e0ceb 100644
--- a/data/maps/SootopolisCity_House5/scripts.inc
+++ b/data/maps/SootopolisCity_House5/scripts.inc
@@ -2,9 +2,9 @@ SootopolisCity_House5_MapScripts:: @ 815B372
.byte 0
SootopolisCity_House5_EventScript_15B373:: @ 815B373
- msgbox SootopolisCity_House5_Text_18FDEC, 2
+ msgbox SootopolisCity_House5_Text_18FDEC, MSGBOX_NPC
end
SootopolisCity_House5_EventScript_15B37C:: @ 815B37C
- msgbox SootopolisCity_House5_Text_18FE7B, 2
+ msgbox SootopolisCity_House5_Text_18FE7B, MSGBOX_NPC
end
diff --git a/data/maps/SootopolisCity_House6/scripts.inc b/data/maps/SootopolisCity_House6/scripts.inc
index 19b0e9378..74a7778cf 100644
--- a/data/maps/SootopolisCity_House6/scripts.inc
+++ b/data/maps/SootopolisCity_House6/scripts.inc
@@ -8,7 +8,7 @@ SootopolisCity_House6_EventScript_15B386:: @ 815B386
msgbox SootopolisCity_House6_Text_18FEA1, MSGBOX_YESNO
compare VAR_RESULT, NO
call_if_eq SootopolisCity_House6_EventScript_15B3C3
- msgbox SootopolisCity_House6_Text_18FF12, 4
+ msgbox SootopolisCity_House6_Text_18FF12, MSGBOX_DEFAULT
givedecoration DECOR_WAILMER_DOLL
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_House6_EventScript_15B3D7
@@ -17,18 +17,18 @@ SootopolisCity_House6_EventScript_15B386:: @ 815B386
end
SootopolisCity_House6_EventScript_15B3C3:: @ 815B3C3
- msgbox SootopolisCity_House6_Text_18FF6D, 4
+ msgbox SootopolisCity_House6_Text_18FF6D, MSGBOX_DEFAULT
release
end
SootopolisCity_House6_EventScript_15B3CD:: @ 815B3CD
- msgbox SootopolisCity_House6_Text_18FF95, 4
+ msgbox SootopolisCity_House6_Text_18FF95, MSGBOX_DEFAULT
release
end
SootopolisCity_House6_EventScript_15B3D7:: @ 815B3D7
bufferdecorationname 1, DECOR_WAILMER_DOLL
- msgbox SootopolisCity_House6_Text_1A0CEF, 4
- msgbox SootopolisCity_House6_Text_18FF28, 4
+ msgbox SootopolisCity_House6_Text_1A0CEF, MSGBOX_DEFAULT
+ msgbox SootopolisCity_House6_Text_18FF28, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/SootopolisCity_House7/scripts.inc b/data/maps/SootopolisCity_House7/scripts.inc
index a9b06b176..6d55926dd 100644
--- a/data/maps/SootopolisCity_House7/scripts.inc
+++ b/data/maps/SootopolisCity_House7/scripts.inc
@@ -2,9 +2,9 @@ SootopolisCity_House7_MapScripts:: @ 815B3ED
.byte 0
SootopolisCity_House7_EventScript_15B3EE:: @ 815B3EE
- msgbox SootopolisCity_House7_Text_18FFA9, 2
+ msgbox SootopolisCity_House7_Text_18FFA9, MSGBOX_NPC
end
SootopolisCity_House7_EventScript_15B3F7:: @ 815B3F7
- msgbox SootopolisCity_House7_Text_19005B, 2
+ msgbox SootopolisCity_House7_Text_19005B, MSGBOX_NPC
end
diff --git a/data/maps/SootopolisCity_House8/scripts.inc b/data/maps/SootopolisCity_House8/scripts.inc
index fdb92eb91..0e00ae7d6 100644
--- a/data/maps/SootopolisCity_House8/scripts.inc
+++ b/data/maps/SootopolisCity_House8/scripts.inc
@@ -5,7 +5,7 @@ SootopolisCity_House8_EventScript_15B401:: @ 815B401
special GetShroomishSizeRecordInfo
lock
faceplayer
- msgbox SootopolisCity_House8_Text_1900F7, 4
+ msgbox SootopolisCity_House8_Text_1900F7, MSGBOX_DEFAULT
special SelectMonForNPCTrade
waitstate
copyvar VAR_RESULT, VAR_0x8004
@@ -22,22 +22,22 @@ SootopolisCity_House8_EventScript_15B401:: @ 815B401
end
SootopolisCity_House8_EventScript_15B448:: @ 815B448
- msgbox SootopolisCity_House8_Text_190366, 4
+ msgbox SootopolisCity_House8_Text_190366, MSGBOX_DEFAULT
release
end
SootopolisCity_House8_EventScript_15B452:: @ 815B452
- msgbox SootopolisCity_House8_Text_190329, 4
+ msgbox SootopolisCity_House8_Text_190329, MSGBOX_DEFAULT
release
end
SootopolisCity_House8_EventScript_15B45C:: @ 815B45C
- msgbox SootopolisCity_House8_Text_1902E4, 4
+ msgbox SootopolisCity_House8_Text_1902E4, MSGBOX_DEFAULT
release
end
SootopolisCity_House8_EventScript_15B466:: @ 815B466
- msgbox SootopolisCity_House8_Text_19021D, 4
+ msgbox SootopolisCity_House8_Text_19021D, MSGBOX_DEFAULT
giveitem ITEM_ELIXIR
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_House8_EventScript_15B488
@@ -46,7 +46,7 @@ SootopolisCity_House8_EventScript_15B466:: @ 815B466
end
SootopolisCity_House8_EventScript_15B488:: @ 815B488
- msgbox SootopolisCity_House8_Text_1902C4, 4
+ msgbox SootopolisCity_House8_Text_1902C4, MSGBOX_DEFAULT
release
end
@@ -54,7 +54,7 @@ SootopolisCity_House8_EventScript_15B492:: @ 815B492
special GetBarboachSizeRecordInfo
lock
faceplayer
- msgbox SootopolisCity_House8_Text_190431, 4
+ msgbox SootopolisCity_House8_Text_190431, MSGBOX_DEFAULT
special SelectMonForNPCTrade
waitstate
copyvar VAR_RESULT, VAR_0x8004
@@ -71,22 +71,22 @@ SootopolisCity_House8_EventScript_15B492:: @ 815B492
end
SootopolisCity_House8_EventScript_15B4D9:: @ 815B4D9
- msgbox SootopolisCity_House8_Text_19065A, 4
+ msgbox SootopolisCity_House8_Text_19065A, MSGBOX_DEFAULT
release
end
SootopolisCity_House8_EventScript_15B4E3:: @ 815B4E3
- msgbox SootopolisCity_House8_Text_190628, 4
+ msgbox SootopolisCity_House8_Text_190628, MSGBOX_DEFAULT
release
end
SootopolisCity_House8_EventScript_15B4ED:: @ 815B4ED
- msgbox SootopolisCity_House8_Text_1905E6, 4
+ msgbox SootopolisCity_House8_Text_1905E6, MSGBOX_DEFAULT
release
end
SootopolisCity_House8_EventScript_15B4F7:: @ 815B4F7
- msgbox SootopolisCity_House8_Text_190536, 4
+ msgbox SootopolisCity_House8_Text_190536, MSGBOX_DEFAULT
giveitem ITEM_ELIXIR
compare VAR_RESULT, 0
goto_if_eq SootopolisCity_House8_EventScript_15B519
@@ -95,20 +95,20 @@ SootopolisCity_House8_EventScript_15B4F7:: @ 815B4F7
end
SootopolisCity_House8_EventScript_15B519:: @ 815B519
- msgbox SootopolisCity_House8_Text_1905C1, 4
+ msgbox SootopolisCity_House8_Text_1905C1, MSGBOX_DEFAULT
release
end
SootopolisCity_House8_EventScript_15B523:: @ 815B523
special GetShroomishSizeRecordInfo
lockall
- msgbox SootopolisCity_House8_Text_1903C9, 4
+ msgbox SootopolisCity_House8_Text_1903C9, MSGBOX_DEFAULT
releaseall
end
SootopolisCity_House8_EventScript_15B531:: @ 815B531
special GetBarboachSizeRecordInfo
lockall
- msgbox SootopolisCity_House8_Text_1906BE, 4
+ msgbox SootopolisCity_House8_Text_1906BE, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/SootopolisCity_Mart/scripts.inc b/data/maps/SootopolisCity_Mart/scripts.inc
index 1687bd91e..cff0498da 100644
--- a/data/maps/SootopolisCity_Mart/scripts.inc
+++ b/data/maps/SootopolisCity_Mart/scripts.inc
@@ -7,7 +7,7 @@ SootopolisCity_Mart_EventScript_15B21B:: @ 815B21B
message SootopolisCity_Mart_Text_1A0BE4
waitmessage
pokemart SootopolisCity_Mart_Items
- msgbox SootopolisCity_Mart_Text_1A0C02, 4
+ msgbox SootopolisCity_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -31,12 +31,12 @@ SootopolisCity_Mart_EventScript_15B24A:: @ 815B24A
faceplayer
goto_if_set FLAG_LEGENDARY_BATTLE_COMPLETED, SootopolisCity_Mart_EventScript_15B268
goto_if_unset FLAG_LEGEND_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_15B268
- msgbox SootopolisCity_Mart_Text_18F8D7, 4
+ msgbox SootopolisCity_Mart_Text_18F8D7, MSGBOX_DEFAULT
release
end
SootopolisCity_Mart_EventScript_15B268:: @ 815B268
- msgbox SootopolisCity_Mart_Text_18F890, 4
+ msgbox SootopolisCity_Mart_Text_18F890, MSGBOX_DEFAULT
release
end
@@ -45,11 +45,11 @@ SootopolisCity_Mart_EventScript_15B272:: @ 815B272
faceplayer
goto_if_set FLAG_LEGENDARY_BATTLE_COMPLETED, SootopolisCity_Mart_EventScript_15B290
goto_if_unset FLAG_LEGEND_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_15B290
- msgbox SootopolisCity_Mart_Text_18F96B, 4
+ msgbox SootopolisCity_Mart_Text_18F96B, MSGBOX_DEFAULT
release
end
SootopolisCity_Mart_EventScript_15B290:: @ 815B290
- msgbox SootopolisCity_Mart_Text_18F8F2, 4
+ msgbox SootopolisCity_Mart_Text_18F8F2, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc b/data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc
index 96fbb9c5b..fae9c5fc3 100644
--- a/data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc
@@ -19,12 +19,12 @@ SootopolisCity_PokemonCenter_1F_EventScript_15B1A8:: @ 815B1A8
faceplayer
goto_if_set FLAG_LEGENDARY_BATTLE_COMPLETED, SootopolisCity_PokemonCenter_1F_EventScript_15B1C6
goto_if_unset FLAG_LEGEND_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_PokemonCenter_1F_EventScript_15B1C6
- msgbox SootopolisCity_PokemonCenter_1F_Text_18F770, 4
+ msgbox SootopolisCity_PokemonCenter_1F_Text_18F770, MSGBOX_DEFAULT
release
end
SootopolisCity_PokemonCenter_1F_EventScript_15B1C6:: @ 815B1C6
- msgbox SootopolisCity_PokemonCenter_1F_Text_18F6A2, 4
+ msgbox SootopolisCity_PokemonCenter_1F_Text_18F6A2, MSGBOX_DEFAULT
release
end
@@ -33,11 +33,11 @@ SootopolisCity_PokemonCenter_1F_EventScript_15B1D0:: @ 815B1D0
faceplayer
goto_if_set FLAG_LEGENDARY_BATTLE_COMPLETED, SootopolisCity_PokemonCenter_1F_EventScript_15B1EE
goto_if_unset FLAG_LEGEND_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_PokemonCenter_1F_EventScript_15B1EE
- msgbox SootopolisCity_PokemonCenter_1F_Text_18F860, 4
+ msgbox SootopolisCity_PokemonCenter_1F_Text_18F860, MSGBOX_DEFAULT
release
end
SootopolisCity_PokemonCenter_1F_EventScript_15B1EE:: @ 815B1EE
- msgbox SootopolisCity_PokemonCenter_1F_Text_18F7EA, 4
+ msgbox SootopolisCity_PokemonCenter_1F_Text_18F7EA, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/SouthernIsland_Exterior/scripts.inc b/data/maps/SouthernIsland_Exterior/scripts.inc
index abb25bda0..de2bbf697 100644
--- a/data/maps/SouthernIsland_Exterior/scripts.inc
+++ b/data/maps/SouthernIsland_Exterior/scripts.inc
@@ -12,7 +12,7 @@ SouthernIsland_Exterior_EventScript_160AE0:: @ 8160AE0
msgbox SouthernIsland_Exterior_Text_1C5215, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq SouthernIsland_Exterior_EventScript_160B25
- msgbox SouthernIsland_Exterior_Text_1C5281, 4
+ msgbox SouthernIsland_Exterior_Text_1C5281, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, SouthernIsland_Exterior_Movement_1A0845
waitmovement 0
@@ -26,7 +26,7 @@ SouthernIsland_Exterior_EventScript_160AE0:: @ 8160AE0
end
SouthernIsland_Exterior_EventScript_160B25:: @ 8160B25
- msgbox SouthernIsland_Exterior_Text_1C52A6, 4
+ msgbox SouthernIsland_Exterior_Text_1C52A6, MSGBOX_DEFAULT
release
end
@@ -50,5 +50,5 @@ BattleTower_Outside_Movement_160B47:: @ 8160B47
end_movement
SouthernIsland_Exterior_EventScript_160B4A:: @ 8160B4A
- msgbox SouthernIsland_Exterior_Text_1C52FB, 3
+ msgbox SouthernIsland_Exterior_Text_1C52FB, MSGBOX_SIGN
end
diff --git a/data/maps/SouthernIsland_Interior/scripts.inc b/data/maps/SouthernIsland_Interior/scripts.inc
index 1cd1d6f13..8cb32420e 100644
--- a/data/maps/SouthernIsland_Interior/scripts.inc
+++ b/data/maps/SouthernIsland_Interior/scripts.inc
@@ -71,7 +71,7 @@ SouthernIsland_Interior_EventScript_160BA7:: @ 8160BA7
end
SouthernIsland_Interior_EventScript_160C08:: @ 8160C08
- msgbox SouthernIsland_Interior_Text_1C52C5, 4
+ msgbox SouthernIsland_Interior_Text_1C52C5, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/Underwater_SeafloorCavern/scripts.inc b/data/maps/Underwater_SeafloorCavern/scripts.inc
index e66631fd6..ea48e5449 100644
--- a/data/maps/Underwater_SeafloorCavern/scripts.inc
+++ b/data/maps/Underwater_SeafloorCavern/scripts.inc
@@ -38,6 +38,6 @@ Underwater_SeafloorCavern_MapScript1_15DA36:: @ 815DA36
Underwater_SeafloorCavern_EventScript_15DA3F:: @ 815DA3F
lockall
- msgbox Underwater_SeafloorCavern_Text_197435, 4
+ msgbox Underwater_SeafloorCavern_Text_197435, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/maps/VerdanturfTown/scripts.inc b/data/maps/VerdanturfTown/scripts.inc
index c8adf85c3..4f75c44c1 100644
--- a/data/maps/VerdanturfTown/scripts.inc
+++ b/data/maps/VerdanturfTown/scripts.inc
@@ -12,52 +12,52 @@ VerdanturfTown_EventScript_14E866:: @ 814E866
lock
faceplayer
goto_if_set FLAG_RUSTURF_TUNNEL_OPENED, VerdanturfTown_EventScript_14E885
- msgbox VerdanturfTown_Text_16CAEB, 4
+ msgbox VerdanturfTown_Text_16CAEB, MSGBOX_DEFAULT
applymovement 2, VerdanturfTown_Movement_1A083D
waitmovement 0
release
end
VerdanturfTown_EventScript_14E885:: @ 814E885
- msgbox VerdanturfTown_Text_16CBCE, 4
+ msgbox VerdanturfTown_Text_16CBCE, MSGBOX_DEFAULT
applymovement 2, VerdanturfTown_Movement_1A083D
waitmovement 0
release
end
VerdanturfTown_EventScript_14E899:: @ 814E899
- msgbox VerdanturfTown_Text_16CC24, 2
+ msgbox VerdanturfTown_Text_16CC24, MSGBOX_NPC
end
VerdanturfTown_EventScript_14E8A2:: @ 814E8A2
- msgbox VerdanturfTown_Text_16CCD0, 2
+ msgbox VerdanturfTown_Text_16CCD0, MSGBOX_NPC
end
VerdanturfTown_EventScript_14E8AB:: @ 814E8AB
lock
faceplayer
goto_if_set FLAG_RUSTURF_TUNNEL_OPENED, VerdanturfTown_EventScript_14E8C0
- msgbox VerdanturfTown_Text_16CD4D, 4
+ msgbox VerdanturfTown_Text_16CD4D, MSGBOX_DEFAULT
release
end
VerdanturfTown_EventScript_14E8C0:: @ 814E8C0
- msgbox VerdanturfTown_Text_16CE30, 4
+ msgbox VerdanturfTown_Text_16CE30, MSGBOX_DEFAULT
release
end
VerdanturfTown_EventScript_14E8CA:: @ 814E8CA
- msgbox VerdanturfTown_Text_16CEC0, 3
+ msgbox VerdanturfTown_Text_16CEC0, MSGBOX_SIGN
end
VerdanturfTown_EventScript_14E8D3:: @ 814E8D3
- msgbox VerdanturfTown_Text_16CF0D, 3
+ msgbox VerdanturfTown_Text_16CF0D, MSGBOX_SIGN
end
VerdanturfTown_EventScript_14E8DC:: @ 814E8DC
- msgbox VerdanturfTown_Text_16CF1B, 3
+ msgbox VerdanturfTown_Text_16CF1B, MSGBOX_SIGN
end
VerdanturfTown_EventScript_14E8E5:: @ 814E8E5
- msgbox VerdanturfTown_Text_16CF6D, 3
+ msgbox VerdanturfTown_Text_16CF6D, MSGBOX_SIGN
end
diff --git a/data/maps/VerdanturfTown_ContestHall/scripts.inc b/data/maps/VerdanturfTown_ContestHall/scripts.inc
index 380385a88..86e914c63 100644
--- a/data/maps/VerdanturfTown_ContestHall/scripts.inc
+++ b/data/maps/VerdanturfTown_ContestHall/scripts.inc
@@ -4,17 +4,17 @@ VerdanturfTown_ContestHall_MapScripts:: @ 8153E95
.byte 0 @ XXX
VerdanturfTown_ContestHall_EventScript_153E97:: @ 8153E97
- msgbox VerdanturfTown_ContestHall_Text_177FB4, 2
+ msgbox VerdanturfTown_ContestHall_Text_177FB4, MSGBOX_NPC
end
VerdanturfTown_ContestHall_EventScript_153EA0:: @ 8153EA0
- msgbox VerdanturfTown_ContestHall_Text_178091, 2
+ msgbox VerdanturfTown_ContestHall_Text_178091, MSGBOX_NPC
end
VerdanturfTown_ContestHall_EventScript_153EA9:: @ 8153EA9
- msgbox VerdanturfTown_ContestHall_Text_178120, 2
+ msgbox VerdanturfTown_ContestHall_Text_178120, MSGBOX_NPC
end
VerdanturfTown_ContestHall_EventScript_153EB2:: @ 8153EB2
- msgbox VerdanturfTown_ContestHall_Text_1781A5, 3
+ msgbox VerdanturfTown_ContestHall_Text_1781A5, MSGBOX_SIGN
end
diff --git a/data/maps/VerdanturfTown_ContestLobby/scripts.inc b/data/maps/VerdanturfTown_ContestLobby/scripts.inc
index e8293f6ca..9834e8a5f 100644
--- a/data/maps/VerdanturfTown_ContestLobby/scripts.inc
+++ b/data/maps/VerdanturfTown_ContestLobby/scripts.inc
@@ -37,7 +37,7 @@ VerdanturfTown_ContestLobby_EventScript_153DA1:: @ 8153DA1
waitmovement 0
applymovement 255, VerdanturfTown_ContestLobby_Movement_153E23
waitmovement 0
- msgbox VerdanturfTown_ContestLobby_Text_1A6832, 4
+ msgbox VerdanturfTown_ContestLobby_Text_1A6832, MSGBOX_DEFAULT
closemessage
applymovement 1, VerdanturfTown_ContestLobby_Movement_153E2C
applymovement 255, VerdanturfTown_ContestLobby_Movement_153E19
@@ -95,14 +95,14 @@ VerdanturfTown_ContestLobby_EventScript_153E37:: @ 8153E37
end
VerdanturfTown_ContestLobby_EventScript_153E3E:: @ 8153E3E
- msgbox VerdanturfTown_ContestLobby_Text_177D6C, 2
+ msgbox VerdanturfTown_ContestLobby_Text_177D6C, MSGBOX_NPC
end
VerdanturfTown_ContestLobby_EventScript_153E47:: @ 8153E47
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM45, VerdanturfTown_ContestLobby_EventScript_153E76
- msgbox VerdanturfTown_ContestLobby_Text_177DEC, 4
+ msgbox VerdanturfTown_ContestLobby_Text_177DEC, MSGBOX_DEFAULT
giveitem ITEM_TM45_ATTRACT
compare VAR_RESULT, 0
goto_if_eq VerdanturfTown_ContestLobby_EventScript_1A029B
@@ -111,12 +111,12 @@ VerdanturfTown_ContestLobby_EventScript_153E47:: @ 8153E47
end
VerdanturfTown_ContestLobby_EventScript_153E76:: @ 8153E76
- msgbox VerdanturfTown_ContestLobby_Text_177E98, 4
+ msgbox VerdanturfTown_ContestLobby_Text_177E98, MSGBOX_DEFAULT
release
end
VerdanturfTown_ContestLobby_EventScript_153E80:: @ 8153E80
- msgbox VerdanturfTown_ContestLobby_Text_177ECD, 2
+ msgbox VerdanturfTown_ContestLobby_Text_177ECD, MSGBOX_NPC
end
VerdanturfTown_ContestLobby_EventScript_153E89:: @ 8153E89
diff --git a/data/maps/VerdanturfTown_FriendshipRatersHouse/scripts.inc b/data/maps/VerdanturfTown_FriendshipRatersHouse/scripts.inc
index 4ec0af464..2479bb5e7 100644
--- a/data/maps/VerdanturfTown_FriendshipRatersHouse/scripts.inc
+++ b/data/maps/VerdanturfTown_FriendshipRatersHouse/scripts.inc
@@ -4,7 +4,7 @@ VerdanturfTown_FriendshipRatersHouse_MapScripts:: @ 815402F
VerdanturfTown_FriendshipRatersHouse_EventScript_154030:: @ 8154030
lock
faceplayer
- msgbox VerdanturfTown_FriendshipRatersHouse_Text_178A9C, 4
+ msgbox VerdanturfTown_FriendshipRatersHouse_Text_178A9C, MSGBOX_DEFAULT
specialvar VAR_RESULT, GetLeadMonFriendshipScore
switch VAR_RESULT
case 0, VerdanturfTown_FriendshipRatersHouse_EventScript_154093
@@ -18,37 +18,37 @@ VerdanturfTown_FriendshipRatersHouse_EventScript_154030:: @ 8154030
end
VerdanturfTown_FriendshipRatersHouse_EventScript_154093:: @ 8154093
- msgbox VerdanturfTown_FriendshipRatersHouse_Text_178C90, 4
+ msgbox VerdanturfTown_FriendshipRatersHouse_Text_178C90, MSGBOX_DEFAULT
release
end
VerdanturfTown_FriendshipRatersHouse_EventScript_15409D:: @ 815409D
- msgbox VerdanturfTown_FriendshipRatersHouse_Text_178C39, 4
+ msgbox VerdanturfTown_FriendshipRatersHouse_Text_178C39, MSGBOX_DEFAULT
release
end
VerdanturfTown_FriendshipRatersHouse_EventScript_1540A7:: @ 81540A7
- msgbox VerdanturfTown_FriendshipRatersHouse_Text_178BFA, 4
+ msgbox VerdanturfTown_FriendshipRatersHouse_Text_178BFA, MSGBOX_DEFAULT
release
end
VerdanturfTown_FriendshipRatersHouse_EventScript_1540B1:: @ 81540B1
- msgbox VerdanturfTown_FriendshipRatersHouse_Text_178BC4, 4
+ msgbox VerdanturfTown_FriendshipRatersHouse_Text_178BC4, MSGBOX_DEFAULT
release
end
VerdanturfTown_FriendshipRatersHouse_EventScript_1540BB:: @ 81540BB
- msgbox VerdanturfTown_FriendshipRatersHouse_Text_178B82, 4
+ msgbox VerdanturfTown_FriendshipRatersHouse_Text_178B82, MSGBOX_DEFAULT
release
end
VerdanturfTown_FriendshipRatersHouse_EventScript_1540C5:: @ 81540C5
- msgbox VerdanturfTown_FriendshipRatersHouse_Text_178B43, 4
+ msgbox VerdanturfTown_FriendshipRatersHouse_Text_178B43, MSGBOX_DEFAULT
release
end
VerdanturfTown_FriendshipRatersHouse_EventScript_1540CF:: @ 81540CF
- msgbox VerdanturfTown_FriendshipRatersHouse_Text_178AF2, 4
+ msgbox VerdanturfTown_FriendshipRatersHouse_Text_178AF2, MSGBOX_DEFAULT
release
end
@@ -57,7 +57,7 @@ VerdanturfTown_FriendshipRatersHouse_EventScript_1540D9:: @ 81540D9
faceplayer
waitse
playmoncry SPECIES_PIKACHU, 0
- msgbox VerdanturfTown_FriendshipRatersHouse_Text_178CFD, 4
+ msgbox VerdanturfTown_FriendshipRatersHouse_Text_178CFD, MSGBOX_DEFAULT
waitmoncry
release
end
diff --git a/data/maps/VerdanturfTown_House/scripts.inc b/data/maps/VerdanturfTown_House/scripts.inc
index 45a22ae93..242a79f9d 100644
--- a/data/maps/VerdanturfTown_House/scripts.inc
+++ b/data/maps/VerdanturfTown_House/scripts.inc
@@ -2,9 +2,9 @@ VerdanturfTown_House_MapScripts:: @ 81540EC
.byte 0
VerdanturfTown_House_EventScript_1540ED:: @ 81540ED
- msgbox VerdanturfTown_House_Text_178D11, 2
+ msgbox VerdanturfTown_House_Text_178D11, MSGBOX_NPC
end
VerdanturfTown_House_EventScript_1540F6:: @ 81540F6
- msgbox VerdanturfTown_House_Text_178D8E, 2
+ msgbox VerdanturfTown_House_Text_178D8E, MSGBOX_NPC
end
diff --git a/data/maps/VerdanturfTown_Mart/scripts.inc b/data/maps/VerdanturfTown_Mart/scripts.inc
index db72de227..cf401483a 100644
--- a/data/maps/VerdanturfTown_Mart/scripts.inc
+++ b/data/maps/VerdanturfTown_Mart/scripts.inc
@@ -7,7 +7,7 @@ VerdanturfTown_Mart_EventScript_153EBC:: @ 8153EBC
message VerdanturfTown_Mart_Text_1A0BE4
waitmessage
pokemart VerdanturfTown_Mart_Items
- msgbox VerdanturfTown_Mart_Text_1A0C02, 4
+ msgbox VerdanturfTown_Mart_Text_1A0C02, MSGBOX_DEFAULT
release
end
@@ -29,13 +29,13 @@ VerdanturfTown_Mart_Items:: @ 8153ED4
end
VerdanturfTown_Mart_EventScript_153EEE:: @ 8153EEE
- msgbox VerdanturfTown_Mart_Text_1781C9, 2
+ msgbox VerdanturfTown_Mart_Text_1781C9, MSGBOX_NPC
end
VerdanturfTown_Mart_EventScript_153EF7:: @ 8153EF7
- msgbox VerdanturfTown_Mart_Text_178240, 2
+ msgbox VerdanturfTown_Mart_Text_178240, MSGBOX_NPC
end
VerdanturfTown_Mart_EventScript_153F00:: @ 8153F00
- msgbox VerdanturfTown_Mart_Text_1782C0, 2
+ msgbox VerdanturfTown_Mart_Text_1782C0, MSGBOX_NPC
end
diff --git a/data/maps/VerdanturfTown_PokemonCenter_1F/scripts.inc b/data/maps/VerdanturfTown_PokemonCenter_1F/scripts.inc
index 6aa3c746f..b34525f8c 100644
--- a/data/maps/VerdanturfTown_PokemonCenter_1F/scripts.inc
+++ b/data/maps/VerdanturfTown_PokemonCenter_1F/scripts.inc
@@ -17,9 +17,9 @@ VerdanturfTown_PokemonCenter_1F_EventScript_153F18:: @ 8153F18
end
VerdanturfTown_PokemonCenter_1F_EventScript_153F26:: @ 8153F26
- msgbox VerdanturfTown_PokemonCenter_1F_Text_17831D, 2
+ msgbox VerdanturfTown_PokemonCenter_1F_Text_17831D, MSGBOX_NPC
end
VerdanturfTown_PokemonCenter_1F_EventScript_153F2F:: @ 8153F2F
- msgbox VerdanturfTown_PokemonCenter_1F_Text_178389, 2
+ msgbox VerdanturfTown_PokemonCenter_1F_Text_178389, MSGBOX_NPC
end
diff --git a/data/maps/VerdanturfTown_WandasHouse/scripts.inc b/data/maps/VerdanturfTown_WandasHouse/scripts.inc
index 4410beaba..9d83597c1 100644
--- a/data/maps/VerdanturfTown_WandasHouse/scripts.inc
+++ b/data/maps/VerdanturfTown_WandasHouse/scripts.inc
@@ -5,13 +5,13 @@ VerdanturfTown_WandasHouse_EventScript_153F5B:: @ 8153F5B
lock
faceplayer
goto_if_set FLAG_WALLY_SPEECH, VerdanturfTown_WandasHouse_EventScript_153F73
- msgbox VerdanturfTown_WandasHouse_Text_1783F6, 4
+ msgbox VerdanturfTown_WandasHouse_Text_1783F6, MSGBOX_DEFAULT
setflag FLAG_WALLY_SPEECH
release
end
VerdanturfTown_WandasHouse_EventScript_153F73:: @ 8153F73
- msgbox VerdanturfTown_WandasHouse_Text_178521, 4
+ msgbox VerdanturfTown_WandasHouse_Text_178521, MSGBOX_DEFAULT
release
end
@@ -20,22 +20,22 @@ VerdanturfTown_WandasHouse_EventScript_153F7D:: @ 8153F7D
faceplayer
goto_if_set FLAG_DEFEATED_WALLY_VICTORY_ROAD, VerdanturfTown_WandasHouse_EventScript_153FA5
goto_if_set FLAG_DEFEATED_LAVARIDGE_GYM, VerdanturfTown_WandasHouse_EventScript_153F9B
- msgbox VerdanturfTown_WandasHouse_Text_17859A, 4
+ msgbox VerdanturfTown_WandasHouse_Text_17859A, MSGBOX_DEFAULT
release
end
VerdanturfTown_WandasHouse_EventScript_153F9B:: @ 8153F9B
- msgbox VerdanturfTown_WandasHouse_Text_178683, 4
+ msgbox VerdanturfTown_WandasHouse_Text_178683, MSGBOX_DEFAULT
release
end
VerdanturfTown_WandasHouse_EventScript_153FA5:: @ 8153FA5
- msgbox VerdanturfTown_WandasHouse_Text_1786B5, 4
+ msgbox VerdanturfTown_WandasHouse_Text_1786B5, MSGBOX_DEFAULT
release
end
VerdanturfTown_WandasHouse_EventScript_153FAF:: @ 8153FAF
- msgbox VerdanturfTown_WandasHouse_Text_17886A, 2
+ msgbox VerdanturfTown_WandasHouse_Text_17886A, MSGBOX_NPC
end
VerdanturfTown_WandasHouse_EventScript_153FB8:: @ 8153FB8
@@ -43,17 +43,17 @@ VerdanturfTown_WandasHouse_EventScript_153FB8:: @ 8153FB8
faceplayer
goto_if_set FLAG_DEFEATED_LAVARIDGE_GYM, VerdanturfTown_WandasHouse_EventScript_153FE0
goto_if_set FLAG_DEFEATED_WALLY_MAUVILLE, VerdanturfTown_WandasHouse_EventScript_153FD6
- msgbox VerdanturfTown_WandasHouse_Text_1787FB, 4
+ msgbox VerdanturfTown_WandasHouse_Text_1787FB, MSGBOX_DEFAULT
release
end
VerdanturfTown_WandasHouse_EventScript_153FD6:: @ 8153FD6
- msgbox VerdanturfTown_WandasHouse_Text_178739, 4
+ msgbox VerdanturfTown_WandasHouse_Text_178739, MSGBOX_DEFAULT
release
end
VerdanturfTown_WandasHouse_EventScript_153FE0:: @ 8153FE0
- msgbox VerdanturfTown_WandasHouse_Text_1787FB, 4
+ msgbox VerdanturfTown_WandasHouse_Text_1787FB, MSGBOX_DEFAULT
release
end
@@ -63,21 +63,21 @@ VerdanturfTown_WandasHouse_EventScript_153FEA:: @ 8153FEA
goto_if_set FLAG_DEFEATED_WALLY_VICTORY_ROAD, VerdanturfTown_WandasHouse_EventScript_154025
goto_if_set FLAG_DEFEATED_LAVARIDGE_GYM, VerdanturfTown_WandasHouse_EventScript_15401B
goto_if_set FLAG_RUSTURF_TUNNEL_OPENED, VerdanturfTown_WandasHouse_EventScript_154011
- msgbox VerdanturfTown_WandasHouse_Text_1788B1, 4
+ msgbox VerdanturfTown_WandasHouse_Text_1788B1, MSGBOX_DEFAULT
release
end
VerdanturfTown_WandasHouse_EventScript_154011:: @ 8154011
- msgbox VerdanturfTown_WandasHouse_Text_178983, 4
+ msgbox VerdanturfTown_WandasHouse_Text_178983, MSGBOX_DEFAULT
release
end
VerdanturfTown_WandasHouse_EventScript_15401B:: @ 815401B
- msgbox VerdanturfTown_WandasHouse_Text_1789DD, 4
+ msgbox VerdanturfTown_WandasHouse_Text_1789DD, MSGBOX_DEFAULT
release
end
VerdanturfTown_WandasHouse_EventScript_154025:: @ 8154025
- msgbox VerdanturfTown_WandasHouse_Text_178A47, 4
+ msgbox VerdanturfTown_WandasHouse_Text_178A47, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/VictoryRoad_1F/scripts.inc b/data/maps/VictoryRoad_1F/scripts.inc
index a48cf49b0..a01ae96b9 100644
--- a/data/maps/VictoryRoad_1F/scripts.inc
+++ b/data/maps/VictoryRoad_1F/scripts.inc
@@ -37,9 +37,9 @@ VictoryRoad_1F_EventScript_15DEBF:: @ 815DEBF
VictoryRoad_1F_EventScript_15DED3:: @ 815DED3
applymovement 255, VictoryRoad_1F_Movement_1A083F
waitmovement 0
- msgbox VictoryRoad_1F_Text_19782B, 4
+ msgbox VictoryRoad_1F_Text_19782B, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_WALLY_1, VictoryRoad_1F_Text_197943
- msgbox VictoryRoad_1F_Text_197967, 4
+ msgbox VictoryRoad_1F_Text_197967, MSGBOX_DEFAULT
clearflag FLAG_HIDE_WALLY_BATTLE_VICTORY_ROAD
moveobjectoffscreen 4
setflag FLAG_DEFEATED_WALLY_VICTORY_ROAD
@@ -87,7 +87,7 @@ VictoryRoad_1F_Movement_15DF1E:: @ 815DF1E
end_movement
VictoryRoad_1F_EventScript_15DF28:: @ 815DF28
- msgbox VictoryRoad_1F_Text_197967, 2
+ msgbox VictoryRoad_1F_Text_197967, MSGBOX_NPC
end
VictoryRoad_1F_EventScript_15DF31:: @ 815DF31
@@ -95,25 +95,25 @@ VictoryRoad_1F_EventScript_15DF31:: @ 815DF31
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq VictoryRoad_1F_EventScript_15DF58
- msgbox VictoryRoad_1F_Text_197A47, 6
+ msgbox VictoryRoad_1F_Text_197A47, MSGBOX_AUTOCLOSE
end
VictoryRoad_1F_EventScript_15DF58:: @ 815DF58
trainerbattle_rematch TRAINER_WALLY_3, VictoryRoad_1F_Text_1979BA, VictoryRoad_1F_Text_197A23
- msgbox VictoryRoad_1F_Text_197A47, 6
+ msgbox VictoryRoad_1F_Text_197A47, MSGBOX_AUTOCLOSE
end
VictoryRoad_1F_EventScript_15DF6F:: @ 815DF6F
trainerbattle_single TRAINER_EDGAR, VictoryRoad_1F_Text_197AD1, VictoryRoad_1F_Text_197B1A
- msgbox VictoryRoad_1F_Text_197B36, 6
+ msgbox VictoryRoad_1F_Text_197B36, MSGBOX_AUTOCLOSE
end
VictoryRoad_1F_EventScript_15DF86:: @ 815DF86
trainerbattle_single TRAINER_ALBERT, VictoryRoad_1F_Text_197B99, VictoryRoad_1F_Text_197BE1
- msgbox VictoryRoad_1F_Text_197BF7, 6
+ msgbox VictoryRoad_1F_Text_197BF7, MSGBOX_AUTOCLOSE
end
VictoryRoad_1F_EventScript_15DF9D:: @ 815DF9D
trainerbattle_single TRAINER_HOPE, VictoryRoad_1F_Text_197C45, VictoryRoad_1F_Text_197C8D
- msgbox VictoryRoad_1F_Text_197CAF, 6
+ msgbox VictoryRoad_1F_Text_197CAF, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/VictoryRoad_B1F/scripts.inc b/data/maps/VictoryRoad_B1F/scripts.inc
index c62a046b3..24430a300 100644
--- a/data/maps/VictoryRoad_B1F/scripts.inc
+++ b/data/maps/VictoryRoad_B1F/scripts.inc
@@ -3,15 +3,15 @@ VictoryRoad_B1F_MapScripts:: @ 815DFB4
VictoryRoad_B1F_EventScript_15DFB5:: @ 815DFB5
trainerbattle_single TRAINER_SAMUEL, VictoryRoad_B1F_Text_197CE9, VictoryRoad_B1F_Text_197D42
- msgbox VictoryRoad_B1F_Text_197D5B, 6
+ msgbox VictoryRoad_B1F_Text_197D5B, MSGBOX_AUTOCLOSE
end
VictoryRoad_B1F_EventScript_15DFCC:: @ 815DFCC
trainerbattle_single TRAINER_SHANNON, VictoryRoad_B1F_Text_197D98, VictoryRoad_B1F_Text_197DE8
- msgbox VictoryRoad_B1F_Text_197E13, 6
+ msgbox VictoryRoad_B1F_Text_197E13, MSGBOX_AUTOCLOSE
end
VictoryRoad_B1F_EventScript_15DFE3:: @ 815DFE3
trainerbattle_single TRAINER_MICHELLE, VictoryRoad_B1F_Text_197E5D, VictoryRoad_B1F_Text_197EA6
- msgbox VictoryRoad_B1F_Text_197EB6, 6
+ msgbox VictoryRoad_B1F_Text_197EB6, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/VictoryRoad_B2F/scripts.inc b/data/maps/VictoryRoad_B2F/scripts.inc
index 28a1272b5..6416ce7f3 100644
--- a/data/maps/VictoryRoad_B2F/scripts.inc
+++ b/data/maps/VictoryRoad_B2F/scripts.inc
@@ -3,20 +3,20 @@ VictoryRoad_B2F_MapScripts:: @ 815DFFA
VictoryRoad_B2F_EventScript_15DFFB:: @ 815DFFB
trainerbattle_single TRAINER_VITO, VictoryRoad_B2F_Text_197EF2, VictoryRoad_B2F_Text_197F46
- msgbox VictoryRoad_B2F_Text_197F71, 6
+ msgbox VictoryRoad_B2F_Text_197F71, MSGBOX_AUTOCLOSE
end
VictoryRoad_B2F_EventScript_15E012:: @ 815E012
trainerbattle_single TRAINER_OWEN, VictoryRoad_B2F_Text_197FE5, VictoryRoad_B2F_Text_19802B
- msgbox VictoryRoad_B2F_Text_198047, 6
+ msgbox VictoryRoad_B2F_Text_198047, MSGBOX_AUTOCLOSE
end
VictoryRoad_B2F_EventScript_15E029:: @ 815E029
trainerbattle_single TRAINER_CAROLINE, VictoryRoad_B2F_Text_198089, VictoryRoad_B2F_Text_1980AD
- msgbox VictoryRoad_B2F_Text_1980C8, 6
+ msgbox VictoryRoad_B2F_Text_1980C8, MSGBOX_AUTOCLOSE
end
VictoryRoad_B2F_EventScript_15E040:: @ 815E040
trainerbattle_single TRAINER_JULIE, VictoryRoad_B2F_Text_198121, VictoryRoad_B2F_Text_1981A3
- msgbox VictoryRoad_B2F_Text_1981BA, 6
+ msgbox VictoryRoad_B2F_Text_1981BA, MSGBOX_AUTOCLOSE
end
diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc
index 56a03f346..365992fb3 100644
--- a/data/scripts/cable_club.inc
+++ b/data/scripts/cable_club.inc
@@ -554,15 +554,15 @@ OldaleTown_PokemonCenter_2F_EventScript_1A432D:: @ 81A432D
end
OldaleTown_PokemonCenter_2F_EventScript_1A4339:: @ 81A4339
- msgbox OldaleTown_PokemonCenter_2F_Text_1A141C, 2
+ msgbox OldaleTown_PokemonCenter_2F_Text_1A141C, MSGBOX_NPC
end
OldaleTown_PokemonCenter_2F_EventScript_1A4342:: @ 81A4342
- msgbox OldaleTown_PokemonCenter_2F_Text_1A13DF, 2
+ msgbox OldaleTown_PokemonCenter_2F_Text_1A13DF, MSGBOX_NPC
end
OldaleTown_PokemonCenter_2F_EventScript_1A434B:: @ 81A434B
- msgbox OldaleTown_PokemonCenter_2F_Text_1A145C, 2
+ msgbox OldaleTown_PokemonCenter_2F_Text_1A145C, MSGBOX_NPC
end
OldaleTown_PokemonCenter_2F_Movement_1A4354:: @ 81A4354
diff --git a/data/scripts/contest_hall.inc b/data/scripts/contest_hall.inc
index 2f5634b8e..9053e3c59 100644
--- a/data/scripts/contest_hall.inc
+++ b/data/scripts/contest_hall.inc
@@ -11,7 +11,7 @@ VerdanturfTown_ContestLobby_EventScript_1A4E92:: @ 81A4E92
goto_if_ne FallarborTown_ContestLobby_EventScript_1A4F4E
goto_if_set FLAG_TEMP_1, FallarborTown_ContestLobby_EventScript_1A4F8F
bufferstdstring 0, VAR_0x800B
- msgbox FallarborTown_ContestLobby_Text_1A5DFC, 4
+ msgbox FallarborTown_ContestLobby_Text_1A5DFC, MSGBOX_DEFAULT
checkitem ITEM_CONTEST_PASS, 1
compare VAR_RESULT, 0
goto_if_eq FallarborTown_ContestLobby_EventScript_1A4EE1
@@ -26,7 +26,7 @@ FallarborTown_ContestLobby_EventScript_1A4EDD:: @ 81A4EDD
FallarborTown_ContestLobby_EventScript_1A4EE1:: @ 81A4EE1
compare VAR_CONTEST_RANK, 0
goto_if_eq FallarborTown_ContestLobby_EventScript_1A4EF6
- msgbox FallarborTown_ContestLobby_Text_1A6340, 4
+ msgbox FallarborTown_ContestLobby_Text_1A6340, MSGBOX_DEFAULT
releaseall
end
@@ -34,27 +34,27 @@ FallarborTown_ContestLobby_EventScript_1A4EF6:: @ 81A4EF6
msgbox FallarborTown_ContestLobby_Text_1A64F4, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq FallarborTown_ContestLobby_EventScript_1A4F13
- msgbox FallarborTown_ContestLobby_Text_1A65EA, 4
+ msgbox FallarborTown_ContestLobby_Text_1A65EA, MSGBOX_DEFAULT
releaseall
end
FallarborTown_ContestLobby_EventScript_1A4F13:: @ 81A4F13
goto_if_set FLAG_RECEIVED_CONTEST_PASS, FallarborTown_ContestLobby_EventScript_1A4F44
- msgbox FallarborTown_ContestLobby_Text_1A6583, 4
+ msgbox FallarborTown_ContestLobby_Text_1A6583, MSGBOX_DEFAULT
giveitem ITEM_CONTEST_PASS
setflag FLAG_RECEIVED_CONTEST_PASS
setflag FLAG_TEMP_1
- msgbox FallarborTown_ContestLobby_Text_1A5E98, 4
+ msgbox FallarborTown_ContestLobby_Text_1A5E98, MSGBOX_DEFAULT
goto FallarborTown_ContestLobby_EventScript_1A4F8F
end
FallarborTown_ContestLobby_EventScript_1A4F44:: @ 81A4F44
- msgbox FallarborTown_ContestLobby_Text_1A6590, 4
+ msgbox FallarborTown_ContestLobby_Text_1A6590, MSGBOX_DEFAULT
releaseall
end
FallarborTown_ContestLobby_EventScript_1A4F4E:: @ 81A4F4E
- msgbox FallarborTown_ContestLobby_Text_1A685A, 4
+ msgbox FallarborTown_ContestLobby_Text_1A685A, MSGBOX_DEFAULT
switch VAR_CONTEST_PRIZE_PICKUP
case 4, FallarborTown_ContestLobby_EventScript_1A4F67
end
@@ -69,7 +69,7 @@ FallarborTown_ContestLobby_EventScript_1A4F67:: @ 81A4F67
end
FallarborTown_ContestLobby_EventScript_1A4F86:: @ 81A4F86
- msgbox FallarborTown_ContestLobby_Text_1A68C6, 2
+ msgbox FallarborTown_ContestLobby_Text_1A68C6, MSGBOX_NPC
end
FallarborTown_ContestLobby_EventScript_1A4F8F:: @ 81A4F8F
@@ -96,27 +96,27 @@ FallarborTown_ContestLobby_EventScript_1A4FCC:: @ 81A4FCC
end
FallarborTown_ContestLobby_EventScript_1A5014:: @ 81A5014
- msgbox FallarborTown_ContestLobby_Text_1A5E98, 4
+ msgbox FallarborTown_ContestLobby_Text_1A5E98, MSGBOX_DEFAULT
goto FallarborTown_ContestLobby_EventScript_1A4FCC
end
FallarborTown_ContestLobby_EventScript_1A5022:: @ 81A5022
- msgbox FallarborTown_ContestLobby_Text_1A609B, 4
+ msgbox FallarborTown_ContestLobby_Text_1A609B, MSGBOX_DEFAULT
goto FallarborTown_ContestLobby_EventScript_1A4FCC
end
FallarborTown_ContestLobby_EventScript_1A5030:: @ 81A5030
- msgbox FallarborTown_ContestLobby_Text_1A613F, 4
+ msgbox FallarborTown_ContestLobby_Text_1A613F, MSGBOX_DEFAULT
goto FallarborTown_ContestLobby_EventScript_1A4FCC
end
FallarborTown_ContestLobby_EventScript_1A503E:: @ 81A503E
- msgbox FallarborTown_ContestLobby_Text_188559, 4
+ msgbox FallarborTown_ContestLobby_Text_188559, MSGBOX_DEFAULT
release
end
FallarborTown_ContestLobby_EventScript_1A5048:: @ 81A5048
- msgbox FallarborTown_ContestLobby_Text_1A6319, 4
+ msgbox FallarborTown_ContestLobby_Text_1A6319, MSGBOX_DEFAULT
choosecontestmon
compare VAR_0x8004, 255
goto_if_eq FallarborTown_ContestLobby_EventScript_1A5097
@@ -145,7 +145,7 @@ FallarborTown_ContestLobby_EventScript_1A5097:: @ 81A5097
end
FallarborTown_ContestLobby_EventScript_1A50C8:: @ 81A50C8
- msgbox FallarborTown_ContestLobby_Text_1A664A, 4
+ msgbox FallarborTown_ContestLobby_Text_1A664A, MSGBOX_DEFAULT
goto FallarborTown_ContestLobby_EventScript_1A5048
release
end
@@ -165,19 +165,19 @@ FallarborTown_ContestLobby_EventScript_1A50FB:: @ 81A50FB
end
FallarborTown_ContestLobby_EventScript_1A511F:: @ 81A511F
- msgbox FallarborTown_ContestLobby_Text_1A669F, 4
+ msgbox FallarborTown_ContestLobby_Text_1A669F, MSGBOX_DEFAULT
goto FallarborTown_ContestLobby_EventScript_1A5048
release
end
FallarborTown_ContestLobby_EventScript_1A512E:: @ 81A512E
- msgbox FallarborTown_ContestLobby_Text_1A66DC, 4
+ msgbox FallarborTown_ContestLobby_Text_1A66DC, MSGBOX_DEFAULT
goto FallarborTown_ContestLobby_EventScript_1A5048
release
end
FallarborTown_ContestLobby_EventScript_1A513D:: @ 81A513D
- msgbox FallarborTown_ContestLobby_Text_1A67C1, 4
+ msgbox FallarborTown_ContestLobby_Text_1A67C1, MSGBOX_DEFAULT
closemessage
releaseall
setvar VAR_LINK_CONTEST_ROOM_STATE, 1
@@ -270,7 +270,7 @@ LinkContestRoom1_EventScript_1A5245:: @ 81A5245
LinkContestRoom1_EventScript_1A525F:: @ 81A525F
compare VAR_CONTEST_LOCATION, 5
goto_if_eq LinkContestRoom1_EventScript_1A5273
- msgbox LinkContestRoom1_Text_1A68F0, 3
+ msgbox LinkContestRoom1_Text_1A68F0, MSGBOX_SIGN
return
LinkContestRoom1_EventScript_1A5273:: @ 81A5273
@@ -385,7 +385,7 @@ LinkContestRoom1_EventScript_1A5377:: @ 81A5377
LinkContestRoom1_EventScript_1A53B3:: @ 81A53B3
compare VAR_CONTEST_LOCATION, 5
goto_if_eq LinkContestRoom1_EventScript_1A53C7
- msgbox LinkContestRoom1_Text_1A6A1F, 4
+ msgbox LinkContestRoom1_Text_1A6A1F, MSGBOX_DEFAULT
return
LinkContestRoom1_EventScript_1A53C7:: @ 81A53C7
@@ -782,7 +782,7 @@ LinkContestRoom1_EventScript_1A58EE:: @ 81A58EE
LinkContestRoom1_EventScript_1A5930:: @ 81A5930
compare VAR_CONTEST_LOCATION, 5
goto_if_eq LinkContestRoom1_EventScript_1A5944
- msgbox LinkContestRoom1_Text_1A6AF5, 3
+ msgbox LinkContestRoom1_Text_1A6AF5, MSGBOX_SIGN
return
LinkContestRoom1_EventScript_1A5944:: @ 81A5944
@@ -809,7 +809,7 @@ LinkContestRoom1_EventScript_1A594A:: @ 81A594A
LinkContestRoom1_EventScript_1A5984:: @ 81A5984
compare VAR_CONTEST_LOCATION, 5
goto_if_eq LinkContestRoom1_EventScript_1A5998
- msgbox LinkContestRoom1_Text_1A6C06, 4
+ msgbox LinkContestRoom1_Text_1A6C06, MSGBOX_DEFAULT
return
LinkContestRoom1_EventScript_1A5998:: @ 81A5998
@@ -821,7 +821,7 @@ LinkContestRoom1_EventScript_1A5998:: @ 81A5998
LinkContestRoom1_EventScript_1A59A2:: @ 81A59A2
compare VAR_CONTEST_LOCATION, 5
goto_if_eq LinkContestRoom1_EventScript_1A59B6
- msgbox LinkContestRoom1_Text_1A6C21, 4
+ msgbox LinkContestRoom1_Text_1A6C21, MSGBOX_DEFAULT
return
LinkContestRoom1_EventScript_1A59B6:: @ 81A59B6
@@ -833,7 +833,7 @@ LinkContestRoom1_EventScript_1A59B6:: @ 81A59B6
LinkContestRoom1_EventScript_1A59C0:: @ 81A59C0
compare VAR_CONTEST_LOCATION, 5
goto_if_eq LinkContestRoom1_EventScript_1A59D4
- msgbox LinkContestRoom1_Text_1A6C9D, 4
+ msgbox LinkContestRoom1_Text_1A6C9D, MSGBOX_DEFAULT
return
LinkContestRoom1_EventScript_1A59D4:: @ 81A59D4
@@ -845,7 +845,7 @@ LinkContestRoom1_EventScript_1A59D4:: @ 81A59D4
LinkContestRoom1_EventScript_1A59DE:: @ 81A59DE
compare VAR_CONTEST_LOCATION, 5
goto_if_eq LinkContestRoom1_EventScript_1A59F2
- msgbox LinkContestRoom1_Text_1A6D16, 4
+ msgbox LinkContestRoom1_Text_1A6D16, MSGBOX_DEFAULT
return
LinkContestRoom1_EventScript_1A59F2:: @ 81A59F2
@@ -895,7 +895,7 @@ LinkContestRoom1_EventScript_1A5A49:: @ 81A5A49
LinkContestRoom1_EventScript_1A5A75:: @ 81A5A75
compare VAR_CONTEST_LOCATION, 5
goto_if_eq LinkContestRoom1_EventScript_1A5A89
- msgbox LinkContestRoom1_Text_1A6D3C, 4
+ msgbox LinkContestRoom1_Text_1A6D3C, MSGBOX_DEFAULT
return
LinkContestRoom1_EventScript_1A5A89:: @ 81A5A89
@@ -995,7 +995,7 @@ LinkContestRoom1_EventScript_1A5BAB:: @ 81A5BAB
goto_if_eq LinkContestRoom1_EventScript_1A5C4C
call LinkContestRoom1_EventScript_1A5C12
goto_if_set FLAG_TEMP_2, LinkContestRoom1_EventScript_1A5BF6
- msgbox LinkContestRoom1_Text_1A6DC5, 3
+ msgbox LinkContestRoom1_Text_1A6DC5, MSGBOX_SIGN
waitmessage
call LinkContestRoom1_EventScript_1A5C7F
call LinkContestRoom1_EventScript_1A5CE5
@@ -1010,7 +1010,7 @@ LinkContestRoom1_EventScript_1A5BAB:: @ 81A5BAB
LinkContestRoom1_EventScript_1A5BF6:: @ 81A5BF6
incrementgamestat GAME_STAT_WON_CONTEST
- msgbox LinkContestRoom1_Text_1A6DF1, 3
+ msgbox LinkContestRoom1_Text_1A6DF1, MSGBOX_SIGN
delay 90
special sub_80C4CF8
compare VAR_0x8004, 1
@@ -1110,7 +1110,7 @@ LinkContestRoom1_EventScript_1A5CE5:: @ 81A5CE5
special ScrSpecial_GetContestWinnerIdx
compare VAR_0x8005, 3
goto_if_eq LinkContestRoom1_EventScript_1A5CFC
- msgbox LinkContestRoom1_Text_1A6DF1, 3
+ msgbox LinkContestRoom1_Text_1A6DF1, MSGBOX_SIGN
return
LinkContestRoom1_EventScript_1A5CFC:: @ 81A5CFC
@@ -1122,11 +1122,11 @@ LinkContestRoom1_EventScript_1A5CFC:: @ 81A5CFC
goto_if_eq LinkContestRoom1_EventScript_1A5D5B
compare VAR_CONTEST_RANK, 3
goto_if_eq LinkContestRoom1_EventScript_1A5D3B
- msgbox LinkContestRoom1_Text_1A6DF1, 3
+ msgbox LinkContestRoom1_Text_1A6DF1, MSGBOX_SIGN
return
LinkContestRoom1_EventScript_1A5D2D:: @ 81A5D2D
- msgbox LinkContestRoom1_Text_1A6E1F, 3
+ msgbox LinkContestRoom1_Text_1A6E1F, MSGBOX_SIGN
setvar VAR_CONTEST_PRIZE_PICKUP, 4
return
@@ -1134,7 +1134,7 @@ LinkContestRoom1_EventScript_1A5D3B:: @ 81A5D3B
giveitem ITEM_LUXURY_BALL
compare VAR_RESULT, 0
goto_if_eq LinkContestRoom1_EventScript_1A5D2D
- msgbox LinkContestRoom1_Text_1A6DF1, 3
+ msgbox LinkContestRoom1_Text_1A6DF1, MSGBOX_SIGN
return
LinkContestRoom1_EventScript_1A5D5B:: @ 81A5D5B
@@ -1142,12 +1142,12 @@ LinkContestRoom1_EventScript_1A5D5B:: @ 81A5D5B
incrementgamestat GAME_STAT_RECEIVED_RIBBONS
setflag FLAG_SYS_RIBBON_GET
lockall
- msgbox LinkContestRoom1_Text_1A6D6A, 4
+ msgbox LinkContestRoom1_Text_1A6D6A, MSGBOX_DEFAULT
playfanfare MUS_FANFA4
- msgbox LinkContestRoom1_Text_1A6D96, 4
+ msgbox LinkContestRoom1_Text_1A6D96, MSGBOX_DEFAULT
waitfanfare
special ScrSpecial_GetContestWinnerNick
- msgbox LinkContestRoom1_Text_1A6DAC, 4
+ msgbox LinkContestRoom1_Text_1A6DAC, MSGBOX_DEFAULT
releaseall
return
diff --git a/data/scripts/day_care.inc b/data/scripts/day_care.inc
index 1a7e56cfd..c60ec488d 100644
--- a/data/scripts/day_care.inc
+++ b/data/scripts/day_care.inc
@@ -9,7 +9,7 @@ Route117_EventScript_1B222D:: @ 81B222D
goto_if_eq Route117_EventScript_1B22E7
compare VAR_RESULT, 3
goto_if_eq Route117_EventScript_1B22FE
- msgbox Route117_Text_1B25CB, 4
+ msgbox Route117_Text_1B25CB, MSGBOX_DEFAULT
release
end
@@ -20,7 +20,7 @@ Route117_EventScript_1B2262:: @ 81B2262
msgbox Route117_Text_1B28C4, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route117_EventScript_1B2298
- msgbox Route117_Text_1B2745, 4
+ msgbox Route117_Text_1B2745, MSGBOX_DEFAULT
clearflag FLAG_PENDING_DAYCARE_EGG
special RejectEggFromDayCare
release
@@ -30,7 +30,7 @@ Route117_EventScript_1B2298:: @ 81B2298
specialvar VAR_RESULT, CalculatePlayerPartyCount
compare VAR_RESULT, 6
goto_if_ne Route117_EventScript_1B22B2
- msgbox Route117_Text_1B2766, 4
+ msgbox Route117_Text_1B2766, MSGBOX_DEFAULT
release
end
@@ -40,7 +40,7 @@ Route117_EventScript_1B22B2:: @ 81B22B2
waitfanfare
waitmessage
waitbuttonpress
- msgbox Route117_Text_1B27CD, 4
+ msgbox Route117_Text_1B27CD, MSGBOX_DEFAULT
special GiveEggFromDaycare
clearflag FLAG_PENDING_DAYCARE_EGG
release
@@ -53,12 +53,12 @@ Route117_EventScript_1B22CD:: @ 81B22CD
return
Route117_EventScript_1B22DE:: @ 81B22DE
- msgbox Route117_Text_1B27E3, 4
+ msgbox Route117_Text_1B27E3, MSGBOX_DEFAULT
return
Route117_EventScript_1B22E7:: @ 81B22E7
special GetDaycareMonNicknames
- msgbox Route117_Text_1B2710, 4
+ msgbox Route117_Text_1B2710, MSGBOX_DEFAULT
setvar VAR_0x8004, 0
call Route117_EventScript_1B22CD
release
@@ -66,7 +66,7 @@ Route117_EventScript_1B22E7:: @ 81B22E7
Route117_EventScript_1B22FE:: @ 81B22FE
special GetDaycareMonNicknames
- msgbox Route117_Text_1B2897, 4
+ msgbox Route117_Text_1B2897, MSGBOX_DEFAULT
special SetDaycareCompatibilityString
special ShowFieldMessageStringVar4
waitmessage
@@ -91,7 +91,7 @@ Route117_PokemonDayCare_EventScript_1B2327:: @ 81B2327
msgbox Route117_PokemonDayCare_Text_1B28F2, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route117_PokemonDayCare_EventScript_1B236C
- msgbox Route117_PokemonDayCare_Text_1B2A14, 4
+ msgbox Route117_PokemonDayCare_Text_1B2A14, MSGBOX_DEFAULT
release
end
@@ -99,7 +99,7 @@ Route117_PokemonDayCare_EventScript_1B236C:: @ 81B236C
specialvar VAR_RESULT, GetNumValidDaycarePartyMons
compare VAR_RESULT, 1
goto_if_eq Route117_PokemonDayCare_EventScript_1B23F3
- msgbox Route117_PokemonDayCare_Text_1B2947, 4
+ msgbox Route117_PokemonDayCare_Text_1B2947, MSGBOX_DEFAULT
fadescreen 1
special ChooseSendDaycareMon
waitstate
@@ -111,7 +111,7 @@ Route117_PokemonDayCare_EventScript_1B236C:: @ 81B236C
specialvar VAR_0x8005, GetSelectedDaycareMonNickname
waitse
playmoncry VAR_0x8005, 0
- msgbox Route117_PokemonDayCare_Text_1B296E, 4
+ msgbox Route117_PokemonDayCare_Text_1B296E, MSGBOX_DEFAULT
waitmoncry
special StoreSelectedPokemonInDaycare
incrementgamestat GAME_STAT_USED_DAYCARE
@@ -122,7 +122,7 @@ Route117_PokemonDayCare_EventScript_1B236C:: @ 81B236C
end
Route117_PokemonDayCare_EventScript_1B23D0:: @ 81B23D0
- msgbox Route117_PokemonDayCare_Text_1B2A76, 4
+ msgbox Route117_PokemonDayCare_Text_1B2A76, MSGBOX_DEFAULT
release
end
@@ -134,22 +134,22 @@ Route117_PokemonDayCare_EventScript_1B23DA:: @ 81B23DA
end
Route117_PokemonDayCare_EventScript_1B23F3:: @ 81B23F3
- msgbox Route117_PokemonDayCare_Text_1B2BBB, 4
+ msgbox Route117_PokemonDayCare_Text_1B2BBB, MSGBOX_DEFAULT
release
end
Route117_PokemonDayCare_EventScript_1B23FD:: @ 81B23FD
- msgbox Route117_PokemonDayCare_Text_1B2C17, 4
+ msgbox Route117_PokemonDayCare_Text_1B2C17, MSGBOX_DEFAULT
release
end
Route117_PokemonDayCare_EventScript_1B2407:: @ 81B2407
- msgbox Route117_PokemonDayCare_Text_1B29F4, 4
+ msgbox Route117_PokemonDayCare_Text_1B29F4, MSGBOX_DEFAULT
release
end
Route117_PokemonDayCare_EventScript_1B2411:: @ 81B2411
- msgbox Route117_PokemonDayCare_Text_1B2ACC, 4
+ msgbox Route117_PokemonDayCare_Text_1B2ACC, MSGBOX_DEFAULT
return
Route117_PokemonDayCare_EventScript_1B241A:: @ 81B241A
@@ -159,7 +159,7 @@ Route117_PokemonDayCare_EventScript_1B241A:: @ 81B241A
return
Route117_PokemonDayCare_EventScript_1B242B:: @ 81B242B
- msgbox Route117_PokemonDayCare_Text_1B2A88, 4
+ msgbox Route117_PokemonDayCare_Text_1B2A88, MSGBOX_DEFAULT
setvar VAR_0x8004, 0
call Route117_PokemonDayCare_EventScript_1B241A
msgbox Route117_PokemonDayCare_Text_1B29AD, MSGBOX_YESNO
@@ -199,7 +199,7 @@ Route117_PokemonDayCare_EventScript_1B24C4:: @ 81B24C4
specialvar VAR_RESULT, HasEnoughMoneyFor
compare VAR_RESULT, 1
goto_if_eq Route117_PokemonDayCare_EventScript_1B24DE
- msgbox Route117_PokemonDayCare_Text_1B2A30, 4
+ msgbox Route117_PokemonDayCare_Text_1B2A30, MSGBOX_DEFAULT
release
end
@@ -209,10 +209,10 @@ Route117_PokemonDayCare_EventScript_1B24DE:: @ 81B24DE
specialvar VAR_RESULT, TakePokemonFromDaycare
special PayMoneyFor
playse SE_REGI
- msgbox Route117_PokemonDayCare_Text_1B2B75, 4
+ msgbox Route117_PokemonDayCare_Text_1B2B75, MSGBOX_DEFAULT
waitse
playmoncry VAR_RESULT, 0
- msgbox Route117_PokemonDayCare_Text_1B2B93, 4
+ msgbox Route117_PokemonDayCare_Text_1B2B93, MSGBOX_DEFAULT
waitmoncry
specialvar VAR_RESULT, GetDaycareState
compare VAR_RESULT, 2
@@ -228,7 +228,7 @@ Route117_PokemonDayCare_EventScript_1B2520:: @ 81B2520
end
Route117_PokemonDayCare_EventScript_1B2539:: @ 81B2539
- msgbox Route117_PokemonDayCare_Text_1B2AEF, 4
+ msgbox Route117_PokemonDayCare_Text_1B2AEF, MSGBOX_DEFAULT
release
end
@@ -258,7 +258,7 @@ Route117_PokemonDayCare_Movement_1B2543:: @ 81B2543
end
Route117_PokemonDayCare_EventScript_1B2558:: @ 81B2558
- msgbox Route117_PokemonDayCare_Text_1B2A88, 4
+ msgbox Route117_PokemonDayCare_Text_1B2A88, MSGBOX_DEFAULT
setvar VAR_0x8004, 0
call Route117_PokemonDayCare_EventScript_1B241A
setvar VAR_0x8004, 1
@@ -266,7 +266,7 @@ Route117_PokemonDayCare_EventScript_1B2558:: @ 81B2558
msgbox Route117_PokemonDayCare_Text_1B2BF6, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route117_PokemonDayCare_EventScript_1B2469
- msgbox Route117_PokemonDayCare_Text_1B2A76, 4
+ msgbox Route117_PokemonDayCare_Text_1B2A76, MSGBOX_DEFAULT
release
end
@@ -277,14 +277,14 @@ Route117_PokemonDayCare_EventScript_1B2558:: @ 81B2558
goto_if_eq Route117_PokemonDayCare_EventScript_1B23D0
copyvar VAR_0x8004, VAR_RESULT
specialvar VAR_RESULT, TakePokemonFromDaycare
- msgbox Route117_PokemonDayCare_Text_1B2B75, 4
- msgbox Route117_PokemonDayCare_Text_1B2A76, 4
+ msgbox Route117_PokemonDayCare_Text_1B2B75, MSGBOX_DEFAULT
+ msgbox Route117_PokemonDayCare_Text_1B2A76, MSGBOX_DEFAULT
release
end
S_EggHatch:: @ 81B25BC
lockall
- msgbox UnknownString_81B2C68, 4
+ msgbox UnknownString_81B2C68, MSGBOX_DEFAULT
special EggHatch
waitstate
releaseall
diff --git a/data/scripts/gabby_and_ty.inc b/data/scripts/gabby_and_ty.inc
index b2d0e598b..b8bc05b3b 100644
--- a/data/scripts/gabby_and_ty.inc
+++ b/data/scripts/gabby_and_ty.inc
@@ -125,61 +125,61 @@ Route111_EventScript_1AE41E:: @ 81AE41E
Route111_EventScript_1AE422:: @ 81AE422
trainerbattle_double TRAINER_GABBY_AND_TY_1, Route111_Text_1ABED8, Route111_Text_1ABFD3, Route111_Text_1AC5CA, Route111_EventScript_1AE5A2
- msgbox Route111_Text_1AC59E, 4
+ msgbox Route111_Text_1AC59E, MSGBOX_DEFAULT
release
end
Route111_EventScript_1AE442:: @ 81AE442
trainerbattle_double TRAINER_GABBY_AND_TY_1, Route111_Text_1AC73B, Route111_Text_1AC892, Route111_Text_1AC820, Route111_EventScript_1AE5A2
- msgbox Route111_Text_1AC7E4, 4
+ msgbox Route111_Text_1AC7E4, MSGBOX_DEFAULT
release
end
Route118_EventScript_1AE462:: @ 81AE462
trainerbattle_double TRAINER_GABBY_AND_TY_2, Route118_Text_1ABF50, Route118_Text_1AC6F8, Route118_Text_1AC5CA, Route118_EventScript_1AE60F
- msgbox Route118_Text_1AC59E, 4
+ msgbox Route118_Text_1AC59E, MSGBOX_DEFAULT
release
end
Route118_EventScript_1AE482:: @ 81AE482
trainerbattle_double TRAINER_GABBY_AND_TY_2, Route118_Text_1AC790, Route118_Text_1AC8D7, Route118_Text_1AC820, Route118_EventScript_1AE60F
- msgbox Route118_Text_1AC7E4, 4
+ msgbox Route118_Text_1AC7E4, MSGBOX_DEFAULT
release
end
Route120_EventScript_1AE4A2:: @ 81AE4A2
trainerbattle_double TRAINER_GABBY_AND_TY_3, Route120_Text_1ABF50, Route120_Text_1AC6F8, Route120_Text_1AC5CA, Route120_EventScript_1AE60F
- msgbox Route120_Text_1AC59E, 4
+ msgbox Route120_Text_1AC59E, MSGBOX_DEFAULT
release
end
Route120_EventScript_1AE4C2:: @ 81AE4C2
trainerbattle_double TRAINER_GABBY_AND_TY_3, Route120_Text_1AC790, Route120_Text_1AC8D7, Route120_Text_1AC820, Route120_EventScript_1AE60F
- msgbox Route120_Text_1AC7E4, 4
+ msgbox Route120_Text_1AC7E4, MSGBOX_DEFAULT
release
end
Route111_EventScript_1AE4E2:: @ 81AE4E2
trainerbattle_double TRAINER_GABBY_AND_TY_4, Route111_Text_1ABF50, Route111_Text_1AC6F8, Route111_Text_1AC5CA, Route111_EventScript_1AE60F
- msgbox Route111_Text_1AC59E, 4
+ msgbox Route111_Text_1AC59E, MSGBOX_DEFAULT
release
end
Route111_EventScript_1AE502:: @ 81AE502
trainerbattle_double TRAINER_GABBY_AND_TY_4, Route111_Text_1AC790, Route111_Text_1AC8D7, Route111_Text_1AC820, Route111_EventScript_1AE60F
- msgbox Route111_Text_1AC7E4, 4
+ msgbox Route111_Text_1AC7E4, MSGBOX_DEFAULT
release
end
Route118_EventScript_1AE522:: @ 81AE522
trainerbattle_double TRAINER_GABBY_AND_TY_5, Route118_Text_1ABF50, Route118_Text_1AC6F8, Route118_Text_1AC5CA, Route118_EventScript_1AE60F
- msgbox Route118_Text_1AC59E, 4
+ msgbox Route118_Text_1AC59E, MSGBOX_DEFAULT
release
end
Route118_EventScript_1AE542:: @ 81AE542
trainerbattle_double TRAINER_GABBY_AND_TY_5, Route118_Text_1AC790, Route118_Text_1AC8D7, Route118_Text_1AC820, Route118_EventScript_1AE60F
- msgbox Route118_Text_1AC7E4, 4
+ msgbox Route118_Text_1AC7E4, MSGBOX_DEFAULT
release
end
@@ -187,7 +187,7 @@ Route111_EventScript_1AE562:: @ 81AE562
Route118_EventScript_1AE562:: @ 81AE562
Route120_EventScript_1AE562:: @ 81AE562
trainerbattle_double TRAINER_GABBY_AND_TY_6, Route111_Text_1ABF50, Route111_Text_1AC6F8, Route111_Text_1AC5CA, Route111_EventScript_1AE60F
- msgbox Route111_Text_1AC59E, 4
+ msgbox Route111_Text_1AC59E, MSGBOX_DEFAULT
release
end
@@ -195,7 +195,7 @@ Route111_EventScript_1AE582:: @ 81AE582
Route118_EventScript_1AE582:: @ 81AE582
Route120_EventScript_1AE582:: @ 81AE582
trainerbattle_double TRAINER_GABBY_AND_TY_6, Route111_Text_1AC790, Route111_Text_1AC8D7, Route111_Text_1AC820, Route111_EventScript_1AE60F
- msgbox Route111_Text_1AC7E4, 4
+ msgbox Route111_Text_1AC7E4, MSGBOX_DEFAULT
release
end
@@ -245,7 +245,7 @@ Route120_EventScript_1AE60F:: @ 81AE60F
specialvar VAR_RESULT, GabbyAndTyGetLastQuote
compare VAR_RESULT, 0
goto_if_eq Route111_EventScript_1AE69F
- msgbox Route111_Text_1AC10A, 4
+ msgbox Route111_Text_1AC10A, MSGBOX_DEFAULT
specialvar VAR_RESULT, GabbyAndTyGetLastBattleTrivia
switch VAR_RESULT
case 0, Route111_EventScript_1AE6AD
@@ -300,26 +300,26 @@ Route111_EventScript_1AE6E5:: @ 81AE6E5
Route111_EventScript_1AE6F3:: @ 81AE6F3
compare VAR_RESULT, NO
goto_if_eq Route111_EventScript_1AE72D
- msgbox Route111_Text_1AC40F, 4
+ msgbox Route111_Text_1AC40F, MSGBOX_DEFAULT
setvar VAR_0x8004, 10
call Route111_EventScript_1A00F3
lock
faceplayer
compare VAR_RESULT, 0
goto_if_eq Route111_EventScript_1AE72D
- msgbox Route111_Text_1AC487, 4
+ msgbox Route111_Text_1AC487, MSGBOX_DEFAULT
special GabbyAndTyAfterInterview
setflag FLAG_TEMP_1
release
end
Route111_EventScript_1AE72D:: @ 81AE72D
- msgbox Route111_Text_1AC553, 4
+ msgbox Route111_Text_1AC553, MSGBOX_DEFAULT
setflag FLAG_TEMP_1
release
end
Route111_EventScript_1AE73A:: @ 81AE73A
- msgbox Route111_Text_1AC59E, 4
+ msgbox Route111_Text_1AC59E, MSGBOX_DEFAULT
release
end
diff --git a/data/scripts/magma_chimney.inc b/data/scripts/magma_chimney.inc
index 92a4c055a..11837cbc6 100644
--- a/data/scripts/magma_chimney.inc
+++ b/data/scripts/magma_chimney.inc
@@ -12,26 +12,26 @@ MtChimney_EventScript_1B2C95:: @ 81B2C95
MtChimney_EventScript_1B2CB9:: @ 81B2CB9
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B350B, 4
+ msgbox MtChimney_Text_1B350B, MSGBOX_DEFAULT
.else
- msgbox MtChimney_Text_1B3EC1, 4
+ msgbox MtChimney_Text_1B3EC1, MSGBOX_DEFAULT
.endif
return
MtChimney_EventScript_1B2CC2:: @ 81B2CC2
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B3598, 4
+ msgbox MtChimney_Text_1B3598, MSGBOX_DEFAULT
.else
- msgbox MtChimney_Text_1B3F8C, 4
+ msgbox MtChimney_Text_1B3F8C, MSGBOX_DEFAULT
.endif
return
MtChimney_EventScript_1B2CCB:: @ 81B2CCB
lockall
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B2DEE, 4
+ msgbox MtChimney_Text_1B2DEE, MSGBOX_DEFAULT
.else
- msgbox MtChimney_Text_1B37BB, 4
+ msgbox MtChimney_Text_1B37BB, MSGBOX_DEFAULT
.endif
applymovement 2, MtChimney_Movement_1A0839
waitmovement 0
@@ -41,9 +41,9 @@ MtChimney_EventScript_1B2CCB:: @ 81B2CCB
applymovement 2, MtChimney_Movement_1A0835
waitmovement 0
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B2ED9, 4
+ msgbox MtChimney_Text_1B2ED9, MSGBOX_DEFAULT
.else
- msgbox MtChimney_Text_1B38B3, 4
+ msgbox MtChimney_Text_1B38B3, MSGBOX_DEFAULT
.endif
.ifdef SAPPHIRE
trainerbattle_no_intro TRAINER_MT_CHIMNEY_GRUNT_3, MtChimney_Text_1B3099
@@ -51,9 +51,9 @@ MtChimney_EventScript_1B2CCB:: @ 81B2CCB
trainerbattle_no_intro TRAINER_MT_CHIMNEY_GRUNT_3, MtChimney_Text_1B3A68
.endif
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B30C2, 4
+ msgbox MtChimney_Text_1B30C2, MSGBOX_DEFAULT
.else
- msgbox MtChimney_Text_1B3A90, 4
+ msgbox MtChimney_Text_1B3A90, MSGBOX_DEFAULT
.endif
closemessage
delay 30
@@ -72,9 +72,9 @@ MtChimney_EventScript_1B2CCB:: @ 81B2CCB
applymovement 255, MtChimney_Movement_1A083F
waitmovement 0
.ifdef SAPPHIRE
- msgbox MtChimney_Text_1B3608, 4
+ msgbox MtChimney_Text_1B3608, MSGBOX_DEFAULT
.else
- msgbox MtChimney_Text_1B3FFE, 4
+ msgbox MtChimney_Text_1B3FFE, MSGBOX_DEFAULT
.endif
closemessage
compare VAR_FACING, 4
diff --git a/data/scripts/magma_summit.inc b/data/scripts/magma_summit.inc
index 766b1625e..403bf2e37 100644
--- a/data/scripts/magma_summit.inc
+++ b/data/scripts/magma_summit.inc
@@ -1,29 +1,29 @@
MtPyre_Summit_EventScript_1B2DA9:: @ 81B2DA9
.ifdef SAPPHIRE
trainerbattle_single TRAINER_MT_PYRE_SUMMIT_GRUNT_1, UnknownString_81B50C3, UnknownString_81B50F5
- msgbox UnknownString_81B5131, 6
+ msgbox UnknownString_81B5131, MSGBOX_AUTOCLOSE
.else
trainerbattle_single TRAINER_MT_PYRE_SUMMIT_GRUNT_1, MtPyre_Summit_Text_1B5CFD, MtPyre_Summit_Text_1B5D30
- msgbox MtPyre_Summit_Text_1B5D6D, 6
+ msgbox MtPyre_Summit_Text_1B5D6D, MSGBOX_AUTOCLOSE
.endif
end
MtPyre_Summit_EventScript_1B2DC0:: @ 81B2DC0
.ifdef SAPPHIRE
trainerbattle_single TRAINER_MT_PYRE_SUMMIT_GRUNT_2, UnknownString_81B5166, UnknownString_81B519F
- msgbox UnknownString_81B51B5, 6
+ msgbox UnknownString_81B51B5, MSGBOX_AUTOCLOSE
.else
trainerbattle_single TRAINER_MT_PYRE_SUMMIT_GRUNT_2, MtPyre_Summit_Text_1B5DA2, MtPyre_Summit_Text_1B5DDB
- msgbox MtPyre_Summit_Text_1B5DF1, 6
+ msgbox MtPyre_Summit_Text_1B5DF1, MSGBOX_AUTOCLOSE
.endif
end
MtPyre_Summit_EventScript_1B2DD7:: @ 81B2DD7
.ifdef SAPPHIRE
trainerbattle_single TRAINER_MT_PYRE_SUMMIT_GRUNT_3, UnknownString_81B51EB, UnknownString_81B5224
- msgbox UnknownString_81B5248, 6
+ msgbox UnknownString_81B5248, MSGBOX_AUTOCLOSE
.else
trainerbattle_single TRAINER_MT_PYRE_SUMMIT_GRUNT_3, MtPyre_Summit_Text_1B5E27, MtPyre_Summit_Text_1B5E60
- msgbox MtPyre_Summit_Text_1B5E84, 6
+ msgbox MtPyre_Summit_Text_1B5E84, MSGBOX_AUTOCLOSE
.endif
end
diff --git a/data/scripts/mauville_man.inc b/data/scripts/mauville_man.inc
index 9e2db94a1..cadab787d 100644
--- a/data/scripts/mauville_man.inc
+++ b/data/scripts/mauville_man.inc
@@ -34,12 +34,12 @@ yes_hear_song:
compare VAR_RESULT, FALSE
@ Prompt new lyrics only if song hasn't been changed
goto_if_eq prompt_write_lyrics
- msgbox gTextBard_OhWhatAMovingSong, 4
+ msgbox gTextBard_OhWhatAMovingSong, MSGBOX_DEFAULT
release
end
dont_hear_song:
- msgbox gTextBard_OhYouveLeftMe, 4
+ msgbox gTextBard_OhYouveLeftMe, MSGBOX_DEFAULT
release
end
@@ -58,7 +58,7 @@ write_lyrics:
faceplayer
compare VAR_RESULT, NO
goto_if_eq dont_write_lyrics
- msgbox gTextBard_ThankYouKindly, 4
+ msgbox gTextBard_ThankYouKindly, MSGBOX_DEFAULT
setvar VAR_0x8004, 1
@ Give the player ear rape again
special ScrSpecial_PlayBardSong
@@ -67,12 +67,12 @@ write_lyrics:
compare VAR_RESULT, NO
goto_if_eq write_lyrics @ Keep looping until player responds YES
special ScrSpecial_SaveBardSongLyrics
- msgbox gTextBard_OkayThatsIt, 4
+ msgbox gTextBard_OkayThatsIt, MSGBOX_DEFAULT
release
end
dont_write_lyrics:
- msgbox gTextBard_OhYouveLeftMe2, 4
+ msgbox gTextBard_OhYouveLeftMe2, MSGBOX_DEFAULT
release
end
@@ -85,11 +85,11 @@ SpeakToHipster:
lock
faceplayer
setflag FLAG_SYS_HIPSTER_MEET
- msgbox gTextHipster_TheyCallMeTheHipster, 4
+ msgbox gTextHipster_TheyCallMeTheHipster, MSGBOX_DEFAULT
special ScrSpecial_GetHipsterSpokenFlag
compare VAR_RESULT, FALSE
goto_if_eq hipster_first_time
- msgbox gTextHipster_TaughtYouAlready, 4
+ msgbox gTextHipster_TaughtYouAlready, MSGBOX_DEFAULT
release
end
@@ -97,12 +97,12 @@ hipster_first_time:
special ScrSpecial_HipsterTeachWord
compare VAR_RESULT, TRUE @ TRUE if player learned a new word
goto_if_eq teach_new_word
- msgbox gTextHipster_YouAlreadyKnowALot, 4
+ msgbox gTextHipster_YouAlreadyKnowALot, MSGBOX_DEFAULT
release
end
teach_new_word:
- msgbox gTextHipster_HaveYouHeardAbout, 4
+ msgbox gTextHipster_HaveYouHeardAbout, MSGBOX_DEFAULT
special ScrSpecial_SetHipsterSpokenFlag
release
end
@@ -129,11 +129,11 @@ SpeakToTrader:
end
dont_want_to_trade:
- msgbox gTextTrader_FeelUnwanted1, 2
+ msgbox gTextTrader_FeelUnwanted1, MSGBOX_NPC
end
already_traded:
- msgbox gTextTrader_TradedAlready, 2
+ msgbox gTextTrader_TradedAlready, MSGBOX_NPC
end
do_trader_menu_get:
@@ -153,7 +153,7 @@ do_trader_menu_get:
end
cancelled_get_menu:
- msgbox gTextTrader_DontWantAnything, 2
+ msgbox gTextTrader_DontWantAnything, MSGBOX_NPC
end
rare_item_cant_trade_away:
@@ -169,11 +169,11 @@ dont_want_item:
end
player_has_no_decorations:
- msgbox gTextTrader_YouDontHaveDecorations, 2
+ msgbox gTextTrader_YouDontHaveDecorations, MSGBOX_NPC
end
do_trader_menu_give:
- msgbox gTextTrader_PickDecorationYoullTrade, 4
+ msgbox gTextTrader_PickDecorationYoullTrade, MSGBOX_DEFAULT
special ScrSpecial_TraderMenuGiveDecoration
waitstate
compare VAR_0x8006, 0
@@ -187,20 +187,20 @@ do_trader_menu_give:
compare VAR_RESULT, NO
goto_if_eq do_trader_menu_give
special ScrSpecial_TraderDoDecorationTrade
- msgbox gTextTrader_ThenWellTrade, 2
+ msgbox gTextTrader_ThenWellTrade, MSGBOX_NPC
end
cancelled_give_menu:
- msgbox gTextTrader_FeelUnwanted2, 2
+ msgbox gTextTrader_FeelUnwanted2, MSGBOX_NPC
end
decoration_is_in_use:
- msgbox gTextTrader_InUseYouCantTradeIt, 4
+ msgbox gTextTrader_InUseYouCantTradeIt, MSGBOX_DEFAULT
goto do_trader_menu_give
end
decorations_full:
- msgbox gTextTrader_NoRoomForThis, 2
+ msgbox gTextTrader_NoRoomForThis, MSGBOX_NPC
end
@@ -243,7 +243,7 @@ cancel_story_menu:
goto_if_eq dont_hear_story
goto yes_hear_story
no_stat_update:
- msgbox gTextStoryteller_CouldThereBeOtherTrainers, 4
+ msgbox gTextStoryteller_CouldThereBeOtherTrainers, MSGBOX_DEFAULT
msgbox gTextStoryteller_HearAnotherLegendaryTale, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq choose_story
@@ -256,7 +256,7 @@ yes_hear_story:
goto_if_eq cant_record_story @ story list is full
goto prompt_record_story
no_stories_recorded:
- msgbox gTextStoryteller_ButIKnowOfNoLegendaryTrainers, 4
+ msgbox gTextStoryteller_ButIKnowOfNoLegendaryTrainers, MSGBOX_DEFAULT
prompt_record_story:
msgbox gTextStoryteller_HaveYouAnyTales, MSGBOX_YESNO
compare VAR_RESULT, NO
@@ -264,25 +264,25 @@ prompt_record_story:
specialvar VAR_RESULT, ScrSpecial_StorytellerInitializeRandomStat
compare VAR_RESULT, TRUE
goto_if_eq stat_update
- msgbox gTextStoryteller_ImNotSatisfied, 4
+ msgbox gTextStoryteller_ImNotSatisfied, MSGBOX_DEFAULT
closemessage
release
end
stat_update:
- msgbox gTextStoryteller_BirthOfANewLegend, 4
+ msgbox gTextStoryteller_BirthOfANewLegend, MSGBOX_DEFAULT
closemessage
release
end
dont_hear_story:
- msgbox gTextStoryteller_OhIFeelStifled, 4
+ msgbox gTextStoryteller_OhIFeelStifled, MSGBOX_DEFAULT
closemessage
release
end
cant_record_story:
- msgbox gTextStoryteller_WishMorePeopleWould, 4
+ msgbox gTextStoryteller_WishMorePeopleWould, MSGBOX_DEFAULT
closemessage
release
end
@@ -321,7 +321,7 @@ tell_another_giddy_tale:
end
also_i_was_thinking:
- msgbox gTextGiddy_AlsoIWasThinking, 4
+ msgbox gTextGiddy_AlsoIWasThinking, MSGBOX_DEFAULT
goto tell_giddy_tale
end
@@ -337,12 +337,12 @@ tell_giddy_tale:
end
dont_hear_giddy:
- msgbox gTextGiddy_YouveDeflatedMe, 4
+ msgbox gTextGiddy_YouveDeflatedMe, MSGBOX_DEFAULT
release
end
bye_bye:
- msgbox gTextGiddy_ByeBye, 4
+ msgbox gTextGiddy_ByeBye, MSGBOX_DEFAULT
release
end
diff --git a/data/scripts/mystery_event_club.inc b/data/scripts/mystery_event_club.inc
index 34c546a39..2aef98d27 100644
--- a/data/scripts/mystery_event_club.inc
+++ b/data/scripts/mystery_event_club.inc
@@ -2,12 +2,12 @@ PetalburgCity_PokemonCenter_1F_EventScript_1B1B14:: @ 81B1B14
lock
faceplayer
goto_if_set FLAG_SYS_CHAT_USED, PetalburgCity_PokemonCenter_1F_EventScript_1B1BDB
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B1C97, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B1C97, MSGBOX_DEFAULT
goto PetalburgCity_PokemonCenter_1F_EventScript_1B1B2D
end
PetalburgCity_PokemonCenter_1F_EventScript_1B1B2D:: @ 81B1B2D
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B1D10, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B1D10, MSGBOX_DEFAULT
multichoice 17, 6, 20, 0
switch VAR_RESULT
case 0, PetalburgCity_PokemonCenter_1F_EventScript_1B1B7A
@@ -17,12 +17,12 @@ PetalburgCity_PokemonCenter_1F_EventScript_1B1B2D:: @ 81B1B2D
end
PetalburgCity_PokemonCenter_1F_EventScript_1B1B6C:: @ 81B1B6C
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B1D3A, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B1D3A, MSGBOX_DEFAULT
goto PetalburgCity_PokemonCenter_1F_EventScript_1B1B2D
end
PetalburgCity_PokemonCenter_1F_EventScript_1B1B7A:: @ 81B1B7A
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B1F7B, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B1F7B, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 0
call PetalburgCity_PokemonCenter_1F_EventScript_1A00F3
@@ -37,7 +37,7 @@ PetalburgCity_PokemonCenter_1F_EventScript_1B1B7A:: @ 81B1B7A
end
PetalburgCity_PokemonCenter_1F_EventScript_1B1BB1:: @ 81B1BB1
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B1FF0, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B1FF0, MSGBOX_DEFAULT
release
end
@@ -46,22 +46,22 @@ PetalburgCity_PokemonCenter_1F_EventScript_1B1BBB:: @ 81B1BBB
special sub_80EB7C4
waitmessage
delay 80
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B2137, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B2137, MSGBOX_DEFAULT
release
end
PetalburgCity_PokemonCenter_1F_EventScript_1B1BD1:: @ 81B1BD1
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B1FA3, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B1FA3, MSGBOX_DEFAULT
release
end
PetalburgCity_PokemonCenter_1F_EventScript_1B1BDB:: @ 81B1BDB
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B202F, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B202F, MSGBOX_DEFAULT
goto PetalburgCity_PokemonCenter_1F_EventScript_1B1BE9
end
PetalburgCity_PokemonCenter_1F_EventScript_1B1BE9:: @ 81B1BE9
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B2063, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B2063, MSGBOX_DEFAULT
multichoice 17, 6, 20, 0
switch VAR_RESULT
case 0, PetalburgCity_PokemonCenter_1F_EventScript_1B1C36
@@ -71,12 +71,12 @@ PetalburgCity_PokemonCenter_1F_EventScript_1B1BE9:: @ 81B1BE9
end
PetalburgCity_PokemonCenter_1F_EventScript_1B1C28:: @ 81B1C28
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B1D3A, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B1D3A, MSGBOX_DEFAULT
goto PetalburgCity_PokemonCenter_1F_EventScript_1B1BE9
end
PetalburgCity_PokemonCenter_1F_EventScript_1B1C36:: @ 81B1C36
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B207F, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B207F, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 0
call PetalburgCity_PokemonCenter_1F_EventScript_1A00F3
@@ -91,7 +91,7 @@ PetalburgCity_PokemonCenter_1F_EventScript_1B1C36:: @ 81B1C36
end
PetalburgCity_PokemonCenter_1F_EventScript_1B1C6D:: @ 81B1C6D
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B20CE, 4
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B20CE, MSGBOX_DEFAULT
release
end
@@ -99,7 +99,7 @@ PetalburgCity_PokemonCenter_1F_EventScript_1B1C77:: @ 81B1C77
goto_if_unset FLAG_BADGE05_GET, PetalburgCity_PokemonCenter_1F_EventScript_1B1C96
goto_if_set FLAG_SYS_EXDATA_ENABLE, PetalburgCity_PokemonCenter_1F_EventScript_1B1C96
setflag FLAG_SYS_EXDATA_ENABLE
- msgbox PetalburgCity_PokemonCenter_1F_Text_1B21CC, 3
+ msgbox PetalburgCity_PokemonCenter_1F_Text_1B21CC, MSGBOX_SIGN
release
end
diff --git a/data/scripts/players_house.inc b/data/scripts/players_house.inc
index ab21dbba0..b64d86a70 100644
--- a/data/scripts/players_house.inc
+++ b/data/scripts/players_house.inc
@@ -5,14 +5,14 @@ LittlerootTown_MaysHouse_2F_EventScript_1B6950:: @ 81B6950
LittlerootTown_BrendansHouse_1F_EventScript_1B6956:: @ 81B6956
LittlerootTown_MaysHouse_1F_EventScript_1B6956:: @ 81B6956
- msgbox LittlerootTown_BrendansHouse_1F_Text_172429, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172429, MSGBOX_DEFAULT
applymovement VAR_0x8004, LittlerootTown_BrendansHouse_1F_Movement_1A0839
waitmovement 0
compare VAR_0x8005, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1B699F
compare VAR_0x8005, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1B69AA
- msgbox LittlerootTown_BrendansHouse_1F_Text_172453, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172453, MSGBOX_DEFAULT
closemessage
setvar VAR_LITTLEROOT_INTRO_STATE, 4
applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_1B69B5
@@ -37,7 +37,7 @@ LittlerootTown_BrendansHouse_1F_Movement_1B69B5:: @ 81B69B5
LittlerootTown_BrendansHouse_1F_EventScript_1B69B7:: @ 81B69B7
LittlerootTown_MaysHouse_1F_EventScript_1B69B7:: @ 81B69B7
- msgbox LittlerootTown_BrendansHouse_1F_Text_172531, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172531, MSGBOX_DEFAULT
closemessage
applymovement VAR_0x8004, LittlerootTown_BrendansHouse_1F_Movement_1A0841
applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_1B6CDC
@@ -60,7 +60,7 @@ LittlerootTown_MaysHouse_2F_EventScript_1B69DF:: @ 81B69DF
LittlerootTown_BrendansHouse_2F_EventScript_1B69EB:: @ 81B69EB
LittlerootTown_MaysHouse_2F_EventScript_1B69EB:: @ 81B69EB
goto_if_set FLAG_SET_WALL_CLOCK, LittlerootTown_BrendansHouse_2F_EventScript_1B6A91
- msgbox LittlerootTown_BrendansHouse_2F_Text_172E18, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_172E18, MSGBOX_DEFAULT
call LittlerootTown_BrendansHouse_2F_EventScript_1B6A9B
delay 30
setvar VAR_LITTLEROOT_INTRO_STATE, 6
@@ -84,7 +84,7 @@ LittlerootTown_BrendansHouse_2F_EventScript_1B6A31:: @ 81B6A31
waitmovement 0
applymovement 255, LittlerootTown_BrendansHouse_2F_Movement_1A0843
waitmovement 0
- msgbox LittlerootTown_BrendansHouse_2F_Text_172E4C, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_172E4C, MSGBOX_DEFAULT
closemessage
applymovement VAR_0x8008, LittlerootTown_BrendansHouse_2F_Movement_1B6AA9
waitmovement 0
@@ -97,7 +97,7 @@ LittlerootTown_BrendansHouse_2F_EventScript_1B6A61:: @ 81B6A61
waitmovement 0
applymovement 255, LittlerootTown_BrendansHouse_2F_Movement_1A083F
waitmovement 0
- msgbox LittlerootTown_BrendansHouse_2F_Text_172E4C, 4
+ msgbox LittlerootTown_BrendansHouse_2F_Text_172E4C, MSGBOX_DEFAULT
closemessage
applymovement VAR_0x8008, LittlerootTown_BrendansHouse_2F_Movement_1B6AB4
waitmovement 0
@@ -160,7 +160,7 @@ LittlerootTown_BrendansHouse_1F_EventScript_1B6ABF:: @ 81B6ABF
applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_1B6CCC
waitmovement 0
playbgm MUS_INTER_V, FALSE
- msgbox LittlerootTown_BrendansHouse_1F_Text_1725C9, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_1725C9, MSGBOX_DEFAULT
closemessage
applymovement VAR_0x8005, LittlerootTown_BrendansHouse_1F_Movement_1B6BDB
waitmovement 0
@@ -169,8 +169,8 @@ LittlerootTown_BrendansHouse_1F_EventScript_1B6ABF:: @ 81B6ABF
call LittlerootTown_BrendansHouse_1F_EventScript_1B6BBE
applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_1A083F
waitmovement 0
- msgbox LittlerootTown_BrendansHouse_1F_Text_1725FE, 4
- msgbox LittlerootTown_BrendansHouse_1F_Text_172644, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_1725FE, MSGBOX_DEFAULT
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172644, MSGBOX_DEFAULT
closemessage
setvar VAR_TEMP_1, 1
applymovement VAR_0x8005, LittlerootTown_BrendansHouse_1F_Movement_1B6BE1
@@ -185,7 +185,7 @@ LittlerootTown_MaysHouse_1F_EventScript_1B6B2E:: @ 81B6B2E
applymovement 255, LittlerootTown_MaysHouse_1F_Movement_1B6CD4
waitmovement 0
playbgm MUS_INTER_V, FALSE
- msgbox LittlerootTown_MaysHouse_1F_Text_1725C9, 4
+ msgbox LittlerootTown_MaysHouse_1F_Text_1725C9, MSGBOX_DEFAULT
closemessage
applymovement VAR_0x8005, LittlerootTown_MaysHouse_1F_Movement_1B6BDE
waitmovement 0
@@ -194,8 +194,8 @@ LittlerootTown_MaysHouse_1F_EventScript_1B6B2E:: @ 81B6B2E
call LittlerootTown_MaysHouse_1F_EventScript_1B6BBE
applymovement 255, LittlerootTown_MaysHouse_1F_Movement_1A0843
waitmovement 0
- msgbox LittlerootTown_MaysHouse_1F_Text_1725FE, 4
- msgbox LittlerootTown_MaysHouse_1F_Text_172644, 4
+ msgbox LittlerootTown_MaysHouse_1F_Text_1725FE, MSGBOX_DEFAULT
+ msgbox LittlerootTown_MaysHouse_1F_Text_172644, MSGBOX_DEFAULT
closemessage
setvar VAR_TEMP_1, 1
applymovement VAR_0x8005, LittlerootTown_MaysHouse_1F_Movement_1B6BE5
@@ -210,7 +210,7 @@ LittlerootTown_MaysHouse_1F_EventScript_1B6B9D:: @ 81B6B9D
waitmovement 0
applymovement VAR_0x8005, LittlerootTown_BrendansHouse_1F_Movement_1A0835
waitmovement 0
- msgbox LittlerootTown_BrendansHouse_1F_Text_1725A3, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_1725A3, MSGBOX_DEFAULT
closemessage
return
@@ -218,7 +218,7 @@ LittlerootTown_BrendansHouse_1F_EventScript_1B6BBE:: @ 81B6BBE
LittlerootTown_MaysHouse_1F_EventScript_1B6BBE:: @ 81B6BBE
applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_1A0841
waitmovement 0
- msgbox LittlerootTown_BrendansHouse_1F_Text_172841, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172841, MSGBOX_DEFAULT
fadedefaultbgm
special TurnOffTVScreen
setflag FLAG_SYS_TV_HOME
@@ -261,33 +261,33 @@ LittlerootTown_MaysHouse_1F_EventScript_1B6BE9:: @ 81B6BE9
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1B6C80
compare VAR_LITTLEROOT_INTRO_STATE, 7
goto_if_ge LittlerootTown_BrendansHouse_1F_EventScript_1B6C9C
- msgbox LittlerootTown_BrendansHouse_1F_Text_172429, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172429, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1B6C33:: @ 81B6C33
- msgbox LittlerootTown_BrendansHouse_1F_Text_172BBC, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172BBC, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1B6C3D:: @ 81B6C3D
goto_if_set FLAG_RECEIVED_AMULET_COIN, LittlerootTown_BrendansHouse_1F_EventScript_1B6C72
- msgbox LittlerootTown_BrendansHouse_1F_Text_172782, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172782, MSGBOX_DEFAULT
giveitem ITEM_AMULET_COIN
compare VAR_RESULT, 0
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1A029B
- msgbox LittlerootTown_BrendansHouse_1F_Text_1727CD, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_1727CD, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_AMULET_COIN
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1B6C72:: @ 81B6C72
- msgbox LittlerootTown_BrendansHouse_1F_Text_172717, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172717, MSGBOX_DEFAULT
goto LittlerootTown_BrendansHouse_1F_EventScript_1B6C8A
end
LittlerootTown_BrendansHouse_1F_EventScript_1B6C80:: @ 81B6C80
- msgbox LittlerootTown_BrendansHouse_1F_Text_1726D2, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_1726D2, MSGBOX_DEFAULT
release
end
@@ -295,12 +295,12 @@ LittlerootTown_BrendansHouse_1F_EventScript_1B6C8A:: @ 81B6C8A
closemessage
call LittlerootTown_BrendansHouse_1F_EventScript_1A02CA
incrementgamestat GAME_STAT_RESTED_AT_HOME
- msgbox LittlerootTown_BrendansHouse_1F_Text_17276B, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_17276B, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1B6C9C:: @ 81B6C9C
- msgbox LittlerootTown_BrendansHouse_1F_Text_1726E7, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_1726E7, MSGBOX_DEFAULT
release
end
@@ -310,7 +310,7 @@ LittlerootTown_MaysHouse_1F_EventScript_1B6CA6:: @ 81B6CA6
faceplayer
waitse
playmoncry SPECIES_MACHOKE, 0
- msgbox LittlerootTown_BrendansHouse_1F_Text_17281D, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_17281D, MSGBOX_DEFAULT
waitmoncry
release
end
@@ -321,7 +321,7 @@ LittlerootTown_MaysHouse_1F_EventScript_1B6CB9:: @ 81B6CB9
faceplayer
waitse
playmoncry SPECIES_MACHOKE, 0
- msgbox LittlerootTown_BrendansHouse_1F_Text_172831, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172831, MSGBOX_DEFAULT
waitmoncry
release
end
@@ -378,15 +378,15 @@ LittlerootTown_MaysHouse_1F_EventScript_1B6CDE:: @ 81B6CDE
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1B6DCD
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1B6DD8
- msgbox LittlerootTown_BrendansHouse_1F_Text_17298B, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_17298B, MSGBOX_DEFAULT
giveitem ITEM_SS_TICKET
- msgbox LittlerootTown_BrendansHouse_1F_Text_172A7D, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172A7D, MSGBOX_DEFAULT
closemessage
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1B6DE3
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1B6DEE
- msgbox LittlerootTown_BrendansHouse_1F_Text_172B5E, 4
+ msgbox LittlerootTown_BrendansHouse_1F_Text_172B5E, MSGBOX_DEFAULT
closemessage
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1B6DF9
diff --git a/data/scripts/pokeblocks.inc b/data/scripts/pokeblocks.inc
index f05821107..bd3323024 100644
--- a/data/scripts/pokeblocks.inc
+++ b/data/scripts/pokeblocks.inc
@@ -52,7 +52,7 @@ FallarborTown_ContestLobby_EventScript_1B76A1:: @ 81B76A1
specialvar VAR_RESULT, PlayerHasBerries
compare VAR_RESULT, 0
goto_if_eq FallarborTown_ContestLobby_EventScript_1B770E
- msgbox FallarborTown_ContestLobby_Text_1B6E9D, 4
+ msgbox FallarborTown_ContestLobby_Text_1B6E9D, MSGBOX_DEFAULT
specialvar VAR_RESULT, GetFirstFreePokeblockSlot
compare VAR_RESULT, -1
goto_if_ne FallarborTown_ContestLobby_EventScript_1B76EF
@@ -61,7 +61,7 @@ FallarborTown_ContestLobby_EventScript_1B76A1:: @ 81B76A1
end
FallarborTown_ContestLobby_EventScript_1B76E5:: @ 81B76E5
- msgbox FallarborTown_ContestLobby_Text_1B6EA8, 4
+ msgbox FallarborTown_ContestLobby_Text_1B6EA8, MSGBOX_DEFAULT
releaseall
end
@@ -74,19 +74,19 @@ FallarborTown_ContestLobby_EventScript_1B76EF:: @ 81B76EF
end
FallarborTown_ContestLobby_EventScript_1B770E:: @ 81B770E
- msgbox FallarborTown_ContestLobby_Text_1B6FF0, 4
+ msgbox FallarborTown_ContestLobby_Text_1B6FF0, MSGBOX_DEFAULT
dotimebasedevents
goto_if_set FLAG_DAILY_RECEIVED_BERRY_FALLARBOR, FallarborTown_ContestLobby_EventScript_1B774F
goto FallarborTown_ContestLobby_EventScript_1B7759
end
FallarborTown_ContestLobby_EventScript_1B7726:: @ 81B7726
- msgbox FallarborTown_ContestLobby_Text_1B6F1F, 4
+ msgbox FallarborTown_ContestLobby_Text_1B6F1F, MSGBOX_DEFAULT
goto FallarborTown_ContestLobby_EventScript_1B7734
end
FallarborTown_ContestLobby_EventScript_1B7734:: @ 81B7734
- msgbox FallarborTown_ContestLobby_Text_1B6EF1, 4
+ msgbox FallarborTown_ContestLobby_Text_1B6EF1, MSGBOX_DEFAULT
goto FallarborTown_ContestLobby_EventScript_1B7742
end
@@ -99,24 +99,24 @@ FallarborTown_ContestLobby_EventScript_1B7742:: @ 81B7742
end
FallarborTown_ContestLobby_EventScript_1B774F:: @ 81B774F
- msgbox FallarborTown_ContestLobby_Text_1B70F6, 4
+ msgbox FallarborTown_ContestLobby_Text_1B70F6, MSGBOX_DEFAULT
releaseall
end
FallarborTown_ContestLobby_EventScript_1B7759:: @ 81B7759
- msgbox FallarborTown_ContestLobby_Text_1B704A, 4
+ msgbox FallarborTown_ContestLobby_Text_1B704A, MSGBOX_DEFAULT
giveitem ITEM_PECHA_BERRY
setflag FLAG_DAILY_RECEIVED_BERRY_FALLARBOR
goto FallarborTown_ContestLobby_EventScript_1B76EF
end
FallarborTown_ContestLobby_EventScript_1B7776:: @ 81B7776
- msgbox FallarborTown_ContestLobby_Text_1B717C, 4
+ msgbox FallarborTown_ContestLobby_Text_1B717C, MSGBOX_DEFAULT
releaseall
end
FallarborTown_ContestLobby_EventScript_1B7780:: @ 81B7780
- msgbox FallarborTown_ContestLobby_Text_1B71D2, 4
+ msgbox FallarborTown_ContestLobby_Text_1B71D2, MSGBOX_DEFAULT
releaseall
end
@@ -146,7 +146,7 @@ SlateportCity_ContestLobby_EventScript_1B77B6:: @ 81B77B6
VerdanturfTown_ContestLobby_EventScript_1B77B6:: @ 81B77B6
lock
faceplayer
- msgbox FallarborTown_ContestLobby_Text_1B742F, 4
+ msgbox FallarborTown_ContestLobby_Text_1B742F, MSGBOX_DEFAULT
specialvar VAR_RESULT, PlayerHasBerries
compare VAR_RESULT, 1
goto_if_eq FallarborTown_ContestLobby_EventScript_1B77DC
@@ -155,7 +155,7 @@ VerdanturfTown_ContestLobby_EventScript_1B77B6:: @ 81B77B6
end
FallarborTown_ContestLobby_EventScript_1B77DC:: @ 81B77DC
- msgbox FallarborTown_ContestLobby_Text_1B7469, 4
+ msgbox FallarborTown_ContestLobby_Text_1B7469, MSGBOX_DEFAULT
release
end
@@ -166,15 +166,15 @@ FallarborTown_ContestLobby_EventScript_1B77E6:: @ 81B77E6
end
FallarborTown_ContestLobby_EventScript_1B77F6:: @ 81B77F6
- msgbox FallarborTown_ContestLobby_Text_1B7578, 4
+ msgbox FallarborTown_ContestLobby_Text_1B7578, MSGBOX_DEFAULT
release
end
FallarborTown_ContestLobby_EventScript_1B7800:: @ 81B7800
- msgbox FallarborTown_ContestLobby_Text_1B74B4, 4
+ msgbox FallarborTown_ContestLobby_Text_1B74B4, MSGBOX_DEFAULT
giveitem ITEM_PECHA_BERRY
setflag FLAG_DAILY_RECEIVED_BERRY_FALLARBOR
- msgbox FallarborTown_ContestLobby_Text_1B753A, 4
+ msgbox FallarborTown_ContestLobby_Text_1B753A, MSGBOX_DEFAULT
release
end
@@ -228,7 +228,7 @@ FallarborTown_ContestLobby_EventScript_1B7878:: @ 81B7878
end
FallarborTown_ContestLobby_EventScript_1B7897:: @ 81B7897
- msgbox FallarborTown_ContestLobby_Text_1B7381, 4
+ msgbox FallarborTown_ContestLobby_Text_1B7381, MSGBOX_DEFAULT
releaseall
end
@@ -253,17 +253,17 @@ FallarborTown_ContestLobby_EventScript_1B78A1:: @ 81B78A1
end
FallarborTown_ContestLobby_EventScript_1B78F3:: @ 81B78F3
- msgbox FallarborTown_ContestLobby_Text_1B733B, 4
+ msgbox FallarborTown_ContestLobby_Text_1B733B, MSGBOX_DEFAULT
goto FallarborTown_ContestLobby_EventScript_1B791D
end
FallarborTown_ContestLobby_EventScript_1B7901:: @ 81B7901
- msgbox FallarborTown_ContestLobby_Text_1B7347, 4
+ msgbox FallarborTown_ContestLobby_Text_1B7347, MSGBOX_DEFAULT
goto FallarborTown_ContestLobby_EventScript_1B791D
end
FallarborTown_ContestLobby_EventScript_1B790F:: @ 81B790F
- msgbox FallarborTown_ContestLobby_Text_1B735A, 4
+ msgbox FallarborTown_ContestLobby_Text_1B735A, MSGBOX_DEFAULT
goto FallarborTown_ContestLobby_EventScript_1B791D
end
@@ -284,36 +284,36 @@ FallarborTown_ContestLobby_EventScript_1B7936:: @ 81B7936
end
FallarborTown_ContestLobby_EventScript_1B7938:: @ 81B7938
- msgbox FallarborTown_ContestLobby_Text_1B73B7, 4
+ msgbox FallarborTown_ContestLobby_Text_1B73B7, MSGBOX_DEFAULT
releaseall
end
FallarborTown_ContestLobby_EventScript_1B7942:: @ 81B7942
- msgbox FallarborTown_ContestLobby_Text_1B73F1, 4
+ msgbox FallarborTown_ContestLobby_Text_1B73F1, MSGBOX_DEFAULT
releaseall
end
FallarborTown_ContestLobby_EventScript_1B794C:: @ 81B794C
special CloseLink
- msgbox FallarborTown_ContestLobby_Text_1A4A30, 4
+ msgbox FallarborTown_ContestLobby_Text_1A4A30, MSGBOX_DEFAULT
releaseall
end
FallarborTown_ContestLobby_EventScript_1B7959:: @ 81B7959
special CloseLink
- msgbox FallarborTown_ContestLobby_Text_1A4B1D, 4
+ msgbox FallarborTown_ContestLobby_Text_1A4B1D, MSGBOX_DEFAULT
releaseall
end
FallarborTown_ContestLobby_EventScript_1B7966:: @ 81B7966
special CloseLink
- msgbox FallarborTown_ContestLobby_Text_1A10EB, 4
+ msgbox FallarborTown_ContestLobby_Text_1A10EB, MSGBOX_DEFAULT
releaseall
end
FallarborTown_ContestLobby_EventScript_1B7973:: @ 81B7973
special CloseLink
- msgbox FallarborTown_ContestLobby_Text_1A4A85, 4
+ msgbox FallarborTown_ContestLobby_Text_1A4A85, MSGBOX_DEFAULT
releaseall
end
diff --git a/data/scripts/secret_power_tm.inc b/data/scripts/secret_power_tm.inc
index fab2bfbff..b13eeca6d 100644
--- a/data/scripts/secret_power_tm.inc
+++ b/data/scripts/secret_power_tm.inc
@@ -4,7 +4,7 @@ Route111_EventScript_1A3858:: @ 81A3858
msgbox Route111_Text_1A3520, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route111_EventScript_1A3877
- msgbox Route111_Text_1A37B5, 4
+ msgbox Route111_Text_1A37B5, MSGBOX_DEFAULT
release
end
@@ -12,7 +12,7 @@ Route111_EventScript_1A3877:: @ 81A3877
giveitem ITEM_TM43_SECRET_POWER
compare VAR_RESULT, 0
goto_if_eq Route111_EventScript_1A38D9
- msgbox Route111_Text_1A35C5, 4
+ msgbox Route111_Text_1A35C5, MSGBOX_DEFAULT
closemessage
setflag FLAG_RECEIVED_SECRET_POWER
clearflag FLAG_HIDE_TM_SALESMAN_SLATEPORT
@@ -37,7 +37,7 @@ Route111_EventScript_1A38CE:: @ 81A38CE
return
Route111_EventScript_1A38D9:: @ 81A38D9
- msgbox Route111_Text_1A37F6, 4
+ msgbox Route111_Text_1A37F6, MSGBOX_DEFAULT
release
end
diff --git a/data/scripts/tv.inc b/data/scripts/tv.inc
index 486e5d68c..9c22f6595 100644
--- a/data/scripts/tv.inc
+++ b/data/scripts/tv.inc
@@ -30,21 +30,21 @@ EventScript_1A6EBB:
EventScript_1A6EF1:
special GetMomOrDadStringForTVMessage
- msgbox UnknownString_81A0E68, 4
+ msgbox UnknownString_81A0E68, MSGBOX_DEFAULT
special TurnOffTVScreen
releaseall
end
EventScript_1A6F01:
- msgbox UnknownString_817288C, 4
+ msgbox UnknownString_817288C, MSGBOX_DEFAULT
releaseall
end
EventScript_1A6F0B:
.ifdef SAPPHIRE
- msgbox UnknownString_8172D30, 4
+ msgbox UnknownString_8172D30, MSGBOX_DEFAULT
.else
- msgbox UnknownString_8172C50, 4
+ msgbox UnknownString_8172C50, MSGBOX_DEFAULT
.endif
special InitRoamer
clearflag FLAG_SYS_TV_LATI
@@ -70,7 +70,7 @@ EventScript_1A6F37:
EventScript_1A6F3F:
special GetMomOrDadStringForTVMessage
- msgbox UnknownString_81A0E68, 4
+ msgbox UnknownString_81A0E68, MSGBOX_DEFAULT
goto EventScript_1A6F37
end