summaryrefslogtreecommitdiff
path: root/data/scripts/maps
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-01-04 16:19:02 -0800
committerMarcus Huderle <huderlem@gmail.com>2018-01-04 18:54:20 -0800
commitf0097860b0098ae465204152fb3a38d69422b27e (patch)
tree56a6c81cbd68b15009218b3aefa301bfddf8e86f /data/scripts/maps
parent27024647438c3cfeb6218965821ac2c07122e132 (diff)
Use MSGBOX_YESNO and YES/NO constants for yes/no message boxes
Diffstat (limited to 'data/scripts/maps')
-rw-r--r--data/scripts/maps/BattleTower_BattleRoom.inc18
-rw-r--r--data/scripts/maps/BattleTower_Lobby.inc12
-rw-r--r--data/scripts/maps/BattleTower_Outside.inc8
-rw-r--r--data/scripts/maps/DewfordTown.inc16
-rw-r--r--data/scripts/maps/DewfordTown_Hall.inc6
-rw-r--r--data/scripts/maps/FallarborTown_House1.inc6
-rw-r--r--data/scripts/maps/FallarborTown_House2.inc4
-rw-r--r--data/scripts/maps/FortreeCity.inc4
-rw-r--r--data/scripts/maps/FortreeCity_House1.inc4
-rw-r--r--data/scripts/maps/LavaridgeTown.inc4
-rw-r--r--data/scripts/maps/LilycoveCity.inc12
-rw-r--r--data/scripts/maps/LilycoveCity_ContestLobby.inc24
-rw-r--r--data/scripts/maps/LilycoveCity_DepartmentStore_1F.inc4
-rw-r--r--data/scripts/maps/LilycoveCity_Harbor.inc8
-rw-r--r--data/scripts/maps/LilycoveCity_House3.inc4
-rw-r--r--data/scripts/maps/LilycoveCity_LilycoveMuseum_1F.inc6
-rw-r--r--data/scripts/maps/LilycoveCity_MoveDeletersHouse.inc12
-rw-r--r--data/scripts/maps/LittlerootTown_ProfessorBirchsLab.inc18
-rw-r--r--data/scripts/maps/MauvilleCity.inc8
-rw-r--r--data/scripts/maps/MauvilleCity_BikeShop.inc18
-rw-r--r--data/scripts/maps/MauvilleCity_GameCorner.inc12
-rw-r--r--data/scripts/maps/MauvilleCity_House2.inc6
-rw-r--r--data/scripts/maps/MossdeepCity.inc4
-rw-r--r--data/scripts/maps/MossdeepCity_GameCorner_1F.inc8
-rw-r--r--data/scripts/maps/MossdeepCity_House3.inc4
-rw-r--r--data/scripts/maps/MossdeepCity_StevensHouse.inc8
-rw-r--r--data/scripts/maps/MtChimney.inc8
-rw-r--r--data/scripts/maps/MtChimney_CableCarStation.inc6
-rw-r--r--data/scripts/maps/MtPyre_Summit.inc24
-rw-r--r--data/scripts/maps/NewMauville_Entrance.inc4
-rw-r--r--data/scripts/maps/PacifidlogTown_House3.inc4
-rw-r--r--data/scripts/maps/PacifidlogTown_House4.inc6
-rw-r--r--data/scripts/maps/PetalburgCity_Gym.inc72
-rw-r--r--data/scripts/maps/Route104_MrBrineysHouse.inc12
-rw-r--r--data/scripts/maps/Route104_PrettyPetalFlowerShop.inc12
-rw-r--r--data/scripts/maps/Route109.inc4
-rw-r--r--data/scripts/maps/Route109_SeashoreHouse.inc4
-rw-r--r--data/scripts/maps/Route110_TrickHouseEntrance.inc4
-rw-r--r--data/scripts/maps/Route111.inc12
-rw-r--r--data/scripts/maps/Route111_OldLadysRestStop.inc12
-rw-r--r--data/scripts/maps/Route112_CableCarStation.inc6
-rw-r--r--data/scripts/maps/Route113_GlassWorkshop.inc28
-rw-r--r--data/scripts/maps/Route114_LanettesHouse.inc8
-rw-r--r--data/scripts/maps/Route118.inc6
-rw-r--r--data/scripts/maps/Route120.inc14
-rw-r--r--data/scripts/maps/Route121_SafariZoneEntrance.inc8
-rw-r--r--data/scripts/maps/Route124_DivingTreasureHuntersHouse.inc8
-rw-r--r--data/scripts/maps/RustboroCity_DevonCorp_2F.inc16
-rw-r--r--data/scripts/maps/RustboroCity_House1.inc4
-rw-r--r--data/scripts/maps/SafariZone_Southeast.inc4
-rw-r--r--data/scripts/maps/ShoalCave_LowTideEntranceRoom.inc4
-rw-r--r--data/scripts/maps/SlateportCity.inc6
-rw-r--r--data/scripts/maps/SlateportCity_Harbor.inc16
-rw-r--r--data/scripts/maps/SlateportCity_House1.inc12
-rw-r--r--data/scripts/maps/SlateportCity_OceanicMuseum_1F.inc4
-rw-r--r--data/scripts/maps/SootopolisCity.inc4
-rw-r--r--data/scripts/maps/SootopolisCity_House2.inc6
-rw-r--r--data/scripts/maps/SootopolisCity_House3.inc4
-rw-r--r--data/scripts/maps/SootopolisCity_House6.inc4
-rw-r--r--data/scripts/maps/SouthernIsland_Exterior.inc4
60 files changed, 294 insertions, 294 deletions
diff --git a/data/scripts/maps/BattleTower_BattleRoom.inc b/data/scripts/maps/BattleTower_BattleRoom.inc
index 1ee0d35d2..ce7d7c0e9 100644
--- a/data/scripts/maps/BattleTower_BattleRoom.inc
+++ b/data/scripts/maps/BattleTower_BattleRoom.inc
@@ -59,24 +59,24 @@ BattleTower_BattleRoom_EventScript_160961:: @ 8160961
special ScrSpecial_HealPlayerParty
BattleTower_BattleRoom_EventScript_1609B2:: @ 81609B2
- msgbox BattleTower_BattleRoom_Text_19AD09, 5
+ msgbox BattleTower_BattleRoom_Text_19AD09, MSGBOX_YESNO
switch RESULT
- case 0, BattleTower_BattleRoom_EventScript_1609E0
- case 1, BattleTower_BattleRoom_EventScript_160A3C
+ case NO, BattleTower_BattleRoom_EventScript_1609E0
+ case YES, BattleTower_BattleRoom_EventScript_160A3C
case 127, BattleTower_BattleRoom_EventScript_1609E0
BattleTower_BattleRoom_EventScript_1609E0:: @ 81609E0
- msgbox BattleTower_BattleRoom_Text_19AD3C, 5
+ msgbox BattleTower_BattleRoom_Text_19AD3C, MSGBOX_YESNO
switch RESULT
- case 0, BattleTower_BattleRoom_EventScript_160A0E
- case 1, BattleTower_BattleRoom_EventScript_160A94
+ case NO, BattleTower_BattleRoom_EventScript_160A0E
+ case YES, BattleTower_BattleRoom_EventScript_160A94
case 127, BattleTower_BattleRoom_EventScript_160A0E
BattleTower_BattleRoom_EventScript_160A0E:: @ 8160A0E
- msgbox BattleTower_BattleRoom_Text_19AD66, 5
+ msgbox BattleTower_BattleRoom_Text_19AD66, MSGBOX_YESNO
switch RESULT
- case 0, BattleTower_BattleRoom_EventScript_1609B2
- case 1, BattleTower_BattleRoom_EventScript_160AB1
+ case NO, BattleTower_BattleRoom_EventScript_1609B2
+ case YES, BattleTower_BattleRoom_EventScript_160AB1
case 127, BattleTower_BattleRoom_EventScript_1609B2
BattleTower_BattleRoom_EventScript_160A3C:: @ 8160A3C
diff --git a/data/scripts/maps/BattleTower_Lobby.inc b/data/scripts/maps/BattleTower_Lobby.inc
index 5700480e2..14b85c5b0 100644
--- a/data/scripts/maps/BattleTower_Lobby.inc
+++ b/data/scripts/maps/BattleTower_Lobby.inc
@@ -221,10 +221,10 @@ BattleTower_Lobby_EventScript_1604FA:: @ 81604FA
waitstate
compare RESULT, 0
goto_if_eq BattleTower_Lobby_EventScript_16064F
- msgbox BattleTower_Lobby_Text_199FDA, 5
+ msgbox BattleTower_Lobby_Text_199FDA, MSGBOX_YESNO
switch RESULT
- case 0, BattleTower_Lobby_EventScript_16064F
- case 1, BattleTower_Lobby_EventScript_160587
+ case NO, BattleTower_Lobby_EventScript_16064F
+ case YES, BattleTower_Lobby_EventScript_160587
case 127, BattleTower_Lobby_EventScript_16064F
BattleTower_Lobby_EventScript_160587:: @ 8160587
@@ -334,10 +334,10 @@ BattleTower_Lobby_Movement_16069A:: @ 816069A
BattleTower_Lobby_EventScript_1606A5:: @ 81606A5
lock
faceplayer
- msgbox BattleTower_Lobby_Text_19A747, 5
+ msgbox BattleTower_Lobby_Text_19A747, MSGBOX_YESNO
switch RESULT
- case 1, BattleTower_Lobby_EventScript_1606CC
- case 0, BattleTower_Lobby_EventScript_1606F7
+ case YES, BattleTower_Lobby_EventScript_1606CC
+ case NO, BattleTower_Lobby_EventScript_1606F7
release
end
diff --git a/data/scripts/maps/BattleTower_Outside.inc b/data/scripts/maps/BattleTower_Outside.inc
index 3992ffd2c..8f6cb4305 100644
--- a/data/scripts/maps/BattleTower_Outside.inc
+++ b/data/scripts/maps/BattleTower_Outside.inc
@@ -35,8 +35,8 @@ BattleTower_Outside_EventScript_1601C6:: @ 81601C6
end
BattleTower_Outside_EventScript_1601D0:: @ 81601D0
- msgbox BattleTower_Outside_Text_199DF2, 5
- compare RESULT, 0
+ msgbox BattleTower_Outside_Text_199DF2, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq BattleTower_Outside_EventScript_160226
msgbox BattleTower_Outside_Text_199E4B, 4
call BattleTower_Outside_EventScript_160232
@@ -46,8 +46,8 @@ BattleTower_Outside_EventScript_1601D0:: @ 81601D0
end
BattleTower_Outside_EventScript_1601FB:: @ 81601FB
- msgbox BattleTower_Outside_Text_199E0E, 5
- compare RESULT, 0
+ msgbox BattleTower_Outside_Text_199E0E, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq BattleTower_Outside_EventScript_160226
msgbox BattleTower_Outside_Text_199E4B, 4
call BattleTower_Outside_EventScript_160232
diff --git a/data/scripts/maps/DewfordTown.inc b/data/scripts/maps/DewfordTown.inc
index dc733071f..50c9d8991 100644
--- a/data/scripts/maps/DewfordTown.inc
+++ b/data/scripts/maps/DewfordTown.inc
@@ -42,8 +42,8 @@ DewfordTown_EventScript_14E06B:: @ 814E06B
end
DewfordTown_EventScript_14E076:: @ 814E076
- msgbox DewfordTown_Text_16B3BC, 5
- compare RESULT, 1
+ msgbox DewfordTown_Text_16B3BC, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq DewfordTown_EventScript_14E093
msgbox DewfordTown_Text_16B471, 4
release
@@ -76,10 +76,10 @@ DewfordTown_EventScript_14E0C6:: @ 814E0C6
faceplayer
checkflag FLAG_RECEIVED_OLD_ROD
goto_if_eq DewfordTown_EventScript_14E11B
- msgbox DewfordTown_Text_16B665, 5
- compare RESULT, 1
+ msgbox DewfordTown_Text_16B665, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq DewfordTown_EventScript_14E0F0
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq DewfordTown_EventScript_14E111
end
@@ -598,10 +598,10 @@ DewfordTown_EventScript_14E413:: @ 814E413
lock
faceplayer
call DewfordTown_EventScript_1A0102
- msgbox DewfordTown_Text_16B9CE, 5
- compare RESULT, 1
+ msgbox DewfordTown_Text_16B9CE, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq DewfordTown_EventScript_14E439
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq DewfordTown_EventScript_14E443
end
diff --git a/data/scripts/maps/DewfordTown_Hall.inc b/data/scripts/maps/DewfordTown_Hall.inc
index 530a4e04d..c4ccc769c 100644
--- a/data/scripts/maps/DewfordTown_Hall.inc
+++ b/data/scripts/maps/DewfordTown_Hall.inc
@@ -30,10 +30,10 @@ DewfordTown_Hall_EventScript_1532CD:: @ 81532CD
faceplayer
call DewfordTown_Hall_EventScript_1A0102
special BufferRandomHobbyOrLifestyleString
- msgbox DewfordTown_Hall_Text_1755F9, 5
- compare RESULT, 1
+ msgbox DewfordTown_Hall_Text_1755F9, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq DewfordTown_Hall_EventScript_1532F6
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq DewfordTown_Hall_EventScript_153300
end
diff --git a/data/scripts/maps/FallarborTown_House1.inc b/data/scripts/maps/FallarborTown_House1.inc
index 3c5345f8f..d2b27f478 100644
--- a/data/scripts/maps/FallarborTown_House1.inc
+++ b/data/scripts/maps/FallarborTown_House1.inc
@@ -22,7 +22,7 @@ FallarborTown_House1_EventScript_153BDA:: @ 8153BDA
call_if 0, FallarborTown_House1_EventScript_153C2D
checkflag FLAG_TEMP_2
call_if 1, FallarborTown_House1_EventScript_153C3E
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq FallarborTown_House1_EventScript_153C47
msgbox FallarborTown_House1_Text_1778C4, 4
giveitem_std ITEM_TM27
@@ -37,11 +37,11 @@ FallarborTown_House1_EventScript_153BDA:: @ 8153BDA
FallarborTown_House1_EventScript_153C2D:: @ 8153C2D
msgbox FallarborTown_House1_Text_177755, 4
- msgbox FallarborTown_House1_Text_17780E, 5
+ msgbox FallarborTown_House1_Text_17780E, MSGBOX_YESNO
return
FallarborTown_House1_EventScript_153C3E:: @ 8153C3E
- msgbox FallarborTown_House1_Text_1779B8, 5
+ msgbox FallarborTown_House1_Text_1779B8, MSGBOX_YESNO
return
FallarborTown_House1_EventScript_153C47:: @ 8153C47
diff --git a/data/scripts/maps/FallarborTown_House2.inc b/data/scripts/maps/FallarborTown_House2.inc
index 0546ef5be..7ceaabdef 100644
--- a/data/scripts/maps/FallarborTown_House2.inc
+++ b/data/scripts/maps/FallarborTown_House2.inc
@@ -16,9 +16,9 @@ FallarborTown_House2_EventScript_153CB6:: @ 8153CB6
checkitem ITEM_HEART_SCALE, 1
compare RESULT, 0
goto_if_eq FallarborTown_House2_EventScript_153D60
- msgbox FallarborTown_House2_Text_177BDB, 5
+ msgbox FallarborTown_House2_Text_177BDB, MSGBOX_YESNO
switch RESULT
- case 0, FallarborTown_House2_EventScript_153D60
+ case NO, FallarborTown_House2_EventScript_153D60
goto FallarborTown_House2_EventScript_153CE4
end
diff --git a/data/scripts/maps/FortreeCity.inc b/data/scripts/maps/FortreeCity.inc
index 239c1410d..937b435a6 100644
--- a/data/scripts/maps/FortreeCity.inc
+++ b/data/scripts/maps/FortreeCity.inc
@@ -64,8 +64,8 @@ FortreeCity_EventScript_14C9B3:: @ 814C9B3
end
FortreeCity_EventScript_14C9CF:: @ 814C9CF
- msgbox FortreeCity_Text_16788B, 5
- compare RESULT, 1
+ msgbox FortreeCity_Text_16788B, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq FortreeCity_EventScript_14C9E4
release
end
diff --git a/data/scripts/maps/FortreeCity_House1.inc b/data/scripts/maps/FortreeCity_House1.inc
index f6f8aafa6..b308aa836 100644
--- a/data/scripts/maps/FortreeCity_House1.inc
+++ b/data/scripts/maps/FortreeCity_House1.inc
@@ -10,8 +10,8 @@ FortreeCity_House1_EventScript_157E13:: @ 8157E13
copyvar VAR_SPECIAL_4, VAR_SPECIAL_8
specialvar RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_SPECIAL_9, RESULT
- msgbox FortreeCity_House1_Text_18568C, 5
- compare RESULT, 0
+ msgbox FortreeCity_House1_Text_18568C, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq FortreeCity_House1_EventScript_157E95
special SelectMonForNPCTrade
waitstate
diff --git a/data/scripts/maps/LavaridgeTown.inc b/data/scripts/maps/LavaridgeTown.inc
index f1a6deed0..44a1e141b 100644
--- a/data/scripts/maps/LavaridgeTown.inc
+++ b/data/scripts/maps/LavaridgeTown.inc
@@ -274,8 +274,8 @@ LavaridgeTown_EventScript_14E75A:: @ 814E75A
faceplayer
checkflag FLAG_RECEIVED_LAVARIDGE_EGG
goto_if_eq LavaridgeTown_EventScript_14E79E
- msgbox LavaridgeTown_Text_16C174, 5
- compare RESULT, 0
+ msgbox LavaridgeTown_Text_16C174, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq LavaridgeTown_EventScript_14E7B2
getpartysize
compare RESULT, 6
diff --git a/data/scripts/maps/LilycoveCity.inc b/data/scripts/maps/LilycoveCity.inc
index 0d714003e..6ed8054f8 100644
--- a/data/scripts/maps/LilycoveCity.inc
+++ b/data/scripts/maps/LilycoveCity.inc
@@ -260,7 +260,7 @@ LilycoveCity_EventScript_14CD60:: @ 814CD60
call_if 1, LilycoveCity_EventScript_14CDB0
checkflag FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE
call_if 0, LilycoveCity_EventScript_14CDB9
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq LilycoveCity_EventScript_14CDC2
msgbox LilycoveCity_Text_167B94, 4
switch VAR_STARTER_MON
@@ -270,11 +270,11 @@ LilycoveCity_EventScript_14CD60:: @ 814CD60
end
LilycoveCity_EventScript_14CDB0:: @ 814CDB0
- msgbox LilycoveCity_Text_167B55, 5
+ msgbox LilycoveCity_Text_167B55, MSGBOX_YESNO
return
LilycoveCity_EventScript_14CDB9:: @ 814CDB9
- msgbox LilycoveCity_Text_1679BF, 5
+ msgbox LilycoveCity_Text_1679BF, MSGBOX_YESNO
return
LilycoveCity_EventScript_14CDC2:: @ 814CDC2
@@ -291,7 +291,7 @@ LilycoveCity_EventScript_14CDD3:: @ 814CDD3
call_if 1, LilycoveCity_EventScript_14CE23
checkflag FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE
call_if 0, LilycoveCity_EventScript_14CE2C
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq LilycoveCity_EventScript_14CE35
msgbox LilycoveCity_Text_1680A9, 4
switch VAR_STARTER_MON
@@ -301,11 +301,11 @@ LilycoveCity_EventScript_14CDD3:: @ 814CDD3
end
LilycoveCity_EventScript_14CE23:: @ 814CE23
- msgbox LilycoveCity_Text_168067, 5
+ msgbox LilycoveCity_Text_168067, MSGBOX_YESNO
return
LilycoveCity_EventScript_14CE2C:: @ 814CE2C
- msgbox LilycoveCity_Text_167F75, 5
+ msgbox LilycoveCity_Text_167F75, MSGBOX_YESNO
return
LilycoveCity_EventScript_14CE35:: @ 814CE35
diff --git a/data/scripts/maps/LilycoveCity_ContestLobby.inc b/data/scripts/maps/LilycoveCity_ContestLobby.inc
index bb13b95be..7aceecef6 100644
--- a/data/scripts/maps/LilycoveCity_ContestLobby.inc
+++ b/data/scripts/maps/LilycoveCity_ContestLobby.inc
@@ -30,10 +30,10 @@ LilycoveCity_ContestLobby_EventScript_158898:: @ 8158898
fadescreen 1
drawcontestwinner 0
lockall
- msgbox LilycoveCity_ContestLobby_Text_1889FD, 5
- compare RESULT, 1
+ msgbox LilycoveCity_ContestLobby_Text_1889FD, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq LilycoveCity_ContestLobby_EventScript_1588DE
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq LilycoveCity_ContestLobby_EventScript_158918
releaseall
end
@@ -55,8 +55,8 @@ LilycoveCity_ContestLobby_EventScript_1588DE:: @ 81588DE
end
LilycoveCity_ContestLobby_EventScript_158918:: @ 8158918
- msgbox LilycoveCity_ContestLobby_Text_188C41, 5
- compare RESULT, 1
+ msgbox LilycoveCity_ContestLobby_Text_188C41, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq LilycoveCity_ContestLobby_EventScript_1588DE
msgbox LilycoveCity_ContestLobby_Text_188CBD, 4
closemessage
@@ -204,10 +204,10 @@ LilycoveCity_ContestLobby_EventScript_158A6A:: @ 8158A6A
lockall
fadescreen 1
drawcontestwinner 0
- msgbox LilycoveCity_ContestLobby_Text_1889FD, 5
- compare RESULT, 1
+ msgbox LilycoveCity_ContestLobby_Text_1889FD, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq LilycoveCity_ContestLobby_EventScript_158AAE
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq LilycoveCity_ContestLobby_EventScript_158AE8
end
@@ -228,8 +228,8 @@ LilycoveCity_ContestLobby_EventScript_158AAE:: @ 8158AAE
end
LilycoveCity_ContestLobby_EventScript_158AE8:: @ 8158AE8
- msgbox LilycoveCity_ContestLobby_Text_188C41, 5
- compare RESULT, 1
+ msgbox LilycoveCity_ContestLobby_Text_188C41, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq LilycoveCity_ContestLobby_EventScript_158AAE
msgbox LilycoveCity_ContestLobby_Text_188CBD, 4
closemessage
@@ -327,8 +327,8 @@ LilycoveCity_ContestLobby_EventScript_158BBA:: @ 8158BBA
end
LilycoveCity_ContestLobby_EventScript_158BC4:: @ 8158BC4
- msgbox LilycoveCity_ContestLobby_Text_188521, 5
- compare RESULT, 0
+ msgbox LilycoveCity_ContestLobby_Text_188521, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq LilycoveCity_ContestLobby_EventScript_158C35
call S_DoSaveDialog
erasebox 0, 0, 15, 9
diff --git a/data/scripts/maps/LilycoveCity_DepartmentStore_1F.inc b/data/scripts/maps/LilycoveCity_DepartmentStore_1F.inc
index 12d8bfb4e..db2b8edf9 100644
--- a/data/scripts/maps/LilycoveCity_DepartmentStore_1F.inc
+++ b/data/scripts/maps/LilycoveCity_DepartmentStore_1F.inc
@@ -13,8 +13,8 @@ LilycoveCity_DepartmentStore_1F_EventScript_159D5E:: @ 8159D5E
goto_if 5, LilycoveCity_DepartmentStore_1F_EventScript_159EB1
checkflag FLAG_DAILY_PICKED_LOTTO_TICKET
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_159E4C
- msgbox LilycoveCity_DepartmentStore_1F_Text_1C4B5E, 5
- compare RESULT, 0
+ msgbox LilycoveCity_DepartmentStore_1F_Text_1C4B5E, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_159E56
setflag FLAG_DAILY_PICKED_LOTTO_TICKET
message LilycoveCity_DepartmentStore_1F_Text_1C4CC6
diff --git a/data/scripts/maps/LilycoveCity_Harbor.inc b/data/scripts/maps/LilycoveCity_Harbor.inc
index 9554b8fa4..3b884c233 100644
--- a/data/scripts/maps/LilycoveCity_Harbor.inc
+++ b/data/scripts/maps/LilycoveCity_Harbor.inc
@@ -47,8 +47,8 @@ LilycoveCity_Harbor_EventScript_159929:: @ 8159929
end
LilycoveCity_Harbor_EventScript_159933:: @ 8159933
- msgbox LilycoveCity_Harbor_Text_18B47D, 5
- compare RESULT, 0
+ msgbox LilycoveCity_Harbor_Text_18B47D, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq LilycoveCity_Harbor_EventScript_15997E
setvar VAR_PORTHOLE_STATE, 5
call LilycoveCity_Harbor_EventScript_15998A
@@ -58,8 +58,8 @@ LilycoveCity_Harbor_EventScript_159933:: @ 8159933
end
LilycoveCity_Harbor_EventScript_15995B:: @ 815995B
- msgbox LilycoveCity_Harbor_Text_18B499, 5
- compare RESULT, 0
+ msgbox LilycoveCity_Harbor_Text_18B499, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq LilycoveCity_Harbor_EventScript_15997E
call LilycoveCity_Harbor_EventScript_15998A
warp MAP_BATTLE_TOWER_OUTSIDE, 255, 19, 23
diff --git a/data/scripts/maps/LilycoveCity_House3.inc b/data/scripts/maps/LilycoveCity_House3.inc
index 03203ed47..1a569bf5b 100644
--- a/data/scripts/maps/LilycoveCity_House3.inc
+++ b/data/scripts/maps/LilycoveCity_House3.inc
@@ -10,8 +10,8 @@ LilycoveCity_House3_MapScript1_159BEA:: @ 8159BEA
LilycoveCity_House3_EventScript_159BF3:: @ 8159BF3
lock
faceplayer
- msgbox LilycoveCity_House3_Text_18B8CC, 5
- compare RESULT, 0
+ msgbox LilycoveCity_House3_Text_18B8CC, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq LilycoveCity_House3_EventScript_159C1D
msgbox LilycoveCity_House3_Text_18BA2B, 4
closemessage
diff --git a/data/scripts/maps/LilycoveCity_LilycoveMuseum_1F.inc b/data/scripts/maps/LilycoveCity_LilycoveMuseum_1F.inc
index 5d5b04114..95338f231 100644
--- a/data/scripts/maps/LilycoveCity_LilycoveMuseum_1F.inc
+++ b/data/scripts/maps/LilycoveCity_LilycoveMuseum_1F.inc
@@ -22,10 +22,10 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_15844F:: @ 815844F
end
LilycoveCity_LilycoveMuseum_1F_EventScript_158458:: @ 8158458
- msgbox LilycoveCity_LilycoveMuseum_1F_Text_187495, 5
- compare RESULT, 0
+ msgbox LilycoveCity_LilycoveMuseum_1F_Text_187495, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq LilycoveCity_LilycoveMuseum_1F_EventScript_158477
- compare RESULT, 1
+ compare RESULT, YES
goto_if_eq LilycoveCity_LilycoveMuseum_1F_EventScript_158481
end
diff --git a/data/scripts/maps/LilycoveCity_MoveDeletersHouse.inc b/data/scripts/maps/LilycoveCity_MoveDeletersHouse.inc
index 0c9a9054b..8b8500a9c 100644
--- a/data/scripts/maps/LilycoveCity_MoveDeletersHouse.inc
+++ b/data/scripts/maps/LilycoveCity_MoveDeletersHouse.inc
@@ -5,10 +5,10 @@ LilycoveCity_MoveDeletersHouse_EventScript_159AAE:: @ 8159AAE
lockall
applymovement 1, LilycoveCity_MoveDeletersHouse_Movement_1A0839
waitmovement 0
- msgbox LilycoveCity_MoveDeletersHouse_Text_18B622, 5
+ msgbox LilycoveCity_MoveDeletersHouse_Text_18B622, MSGBOX_YESNO
switch RESULT
- case 1, LilycoveCity_MoveDeletersHouse_EventScript_159ADE
- case 0, LilycoveCity_MoveDeletersHouse_EventScript_159B7B
+ case YES, LilycoveCity_MoveDeletersHouse_EventScript_159ADE
+ case NO, LilycoveCity_MoveDeletersHouse_EventScript_159B7B
releaseall
end
@@ -31,10 +31,10 @@ LilycoveCity_MoveDeletersHouse_EventScript_159ADE:: @ 8159ADE
compare VAR_SPECIAL_5, 4
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_159ADE
special ScrSpecial_GetPokemonNicknameAndMoveName
- msgbox LilycoveCity_MoveDeletersHouse_Text_18B6F2, 5
+ msgbox LilycoveCity_MoveDeletersHouse_Text_18B6F2, MSGBOX_YESNO
switch RESULT
- case 1, LilycoveCity_MoveDeletersHouse_EventScript_159B53
- case 0, LilycoveCity_MoveDeletersHouse_EventScript_159B7B
+ case YES, LilycoveCity_MoveDeletersHouse_EventScript_159B53
+ case NO, LilycoveCity_MoveDeletersHouse_EventScript_159B7B
releaseall
end
diff --git a/data/scripts/maps/LittlerootTown_ProfessorBirchsLab.inc b/data/scripts/maps/LittlerootTown_ProfessorBirchsLab.inc
index e1cb348fd..10e4712bb 100644
--- a/data/scripts/maps/LittlerootTown_ProfessorBirchsLab.inc
+++ b/data/scripts/maps/LittlerootTown_ProfessorBirchsLab.inc
@@ -29,10 +29,10 @@ LittlerootTown_ProfessorBirchsLab_EventScript_152CBE:: @ 8152CBE
waitmessage
playfanfare BGM_FANFA4
waitfanfare
- msgbox LittlerootTown_ProfessorBirchsLab_Text_173EF8, 5
- compare RESULT, 1
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_173EF8, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_152CEA
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_152CFA
end
@@ -43,10 +43,10 @@ LittlerootTown_ProfessorBirchsLab_EventScript_152CEA:: @ 8152CEA
end
LittlerootTown_ProfessorBirchsLab_EventScript_152CFA:: @ 8152CFA
- msgbox LittlerootTown_ProfessorBirchsLab_Text_173F3D, 5
- compare RESULT, 1
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_173F3D, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_152D19
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_152D2B
end
@@ -58,10 +58,10 @@ LittlerootTown_ProfessorBirchsLab_EventScript_152D19:: @ 8152D19
end
LittlerootTown_ProfessorBirchsLab_EventScript_152D2B:: @ 8152D2B
- msgbox LittlerootTown_ProfessorBirchsLab_Text_174075, 5
- compare RESULT, 1
+ msgbox LittlerootTown_ProfessorBirchsLab_Text_174075, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_152D19
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_152D2B
end
diff --git a/data/scripts/maps/MauvilleCity.inc b/data/scripts/maps/MauvilleCity.inc
index d7f0611e1..652a25f6f 100644
--- a/data/scripts/maps/MauvilleCity.inc
+++ b/data/scripts/maps/MauvilleCity.inc
@@ -100,14 +100,14 @@ MauvilleCity_EventScript_14C0F9:: @ 814C0F9
waitmovement 0
applymovement 6, MauvilleCity_Movement_1A0835
waitmovement 0
- msgbox MauvilleCity_Text_165D50, 5
+ msgbox MauvilleCity_Text_165D50, MSGBOX_YESNO
goto MauvilleCity_EventScript_14C154
end
MauvilleCity_EventScript_14C154:: @ 814C154
- compare RESULT, 1
+ compare RESULT, YES
call_if 1, MauvilleCity_EventScript_14C23C
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq MauvilleCity_EventScript_14C285
closemessage
switch FACING
@@ -185,7 +185,7 @@ MauvilleCity_EventScript_14C285:: @ 814C285
MauvilleCity_EventScript_14C292:: @ 814C292
applymovement 6, MauvilleCity_Movement_1A0839
waitmovement 0
- msgbox MauvilleCity_Text_165EE2, 5
+ msgbox MauvilleCity_Text_165EE2, MSGBOX_YESNO
goto MauvilleCity_EventScript_14C154
end
diff --git a/data/scripts/maps/MauvilleCity_BikeShop.inc b/data/scripts/maps/MauvilleCity_BikeShop.inc
index 6c2dc57e1..6bd7f0f4f 100644
--- a/data/scripts/maps/MauvilleCity_BikeShop.inc
+++ b/data/scripts/maps/MauvilleCity_BikeShop.inc
@@ -9,18 +9,18 @@ MauvilleCity_BikeShop_EventScript_156796:: @ 8156796
checkflag FLAG_DECLINED_BIKE
goto_if_eq MauvilleCity_BikeShop_EventScript_1567D1
msgbox MauvilleCity_BikeShop_Text_180F9F, 4
- msgbox MauvilleCity_BikeShop_Text_181016, 5
- compare RESULT, 1
+ msgbox MauvilleCity_BikeShop_Text_181016, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq MauvilleCity_BikeShop_EventScript_156824
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq MauvilleCity_BikeShop_EventScript_156817
end
MauvilleCity_BikeShop_EventScript_1567D1:: @ 81567D1
- msgbox MauvilleCity_BikeShop_Text_181016, 5
- compare RESULT, 1
+ msgbox MauvilleCity_BikeShop_Text_181016, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq MauvilleCity_BikeShop_EventScript_156824
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq MauvilleCity_BikeShop_EventScript_156817
end
@@ -63,10 +63,10 @@ MauvilleCity_BikeShop_EventScript_156861:: @ 8156861
end
MauvilleCity_BikeShop_EventScript_15686E:: @ 815686E
- msgbox MauvilleCity_BikeShop_Text_1813A0, 5
- compare RESULT, 1
+ msgbox MauvilleCity_BikeShop_Text_1813A0, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq MauvilleCity_BikeShop_EventScript_15688D
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq MauvilleCity_BikeShop_EventScript_1568BF
end
diff --git a/data/scripts/maps/MauvilleCity_GameCorner.inc b/data/scripts/maps/MauvilleCity_GameCorner.inc
index d150e1508..e938a1b4c 100644
--- a/data/scripts/maps/MauvilleCity_GameCorner.inc
+++ b/data/scripts/maps/MauvilleCity_GameCorner.inc
@@ -143,8 +143,8 @@ MauvilleCity_GameCorner_EventScript_156BFE:: @ 8156BFE
goto MauvilleCity_GameCorner_EventScript_156C0C
MauvilleCity_GameCorner_EventScript_156C0C:: @ 8156C0C
- msgbox MauvilleCity_GameCorner_Text_181E33, 5
- compare RESULT, 0
+ msgbox MauvilleCity_GameCorner_Text_181E33, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq MauvilleCity_GameCorner_EventScript_156D0D
switch VAR_TEMP_1
case 1, MauvilleCity_GameCorner_EventScript_156C46
@@ -276,8 +276,8 @@ MauvilleCity_GameCorner_EventScript_156DDE:: @ 8156DDE
goto MauvilleCity_GameCorner_EventScript_156DEC
MauvilleCity_GameCorner_EventScript_156DEC:: @ 8156DEC
- msgbox MauvilleCity_GameCorner_Text_181E33, 5
- compare RESULT, 0
+ msgbox MauvilleCity_GameCorner_Text_181E33, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq MauvilleCity_GameCorner_EventScript_156F77
switch VAR_TEMP_1
case 1, MauvilleCity_GameCorner_EventScript_156E3C
@@ -391,8 +391,8 @@ MauvilleCity_GameCorner_EventScript_156F96:: @ 8156F96
faceplayer
checkflag FLAG_RECEIVED_STARTER_DOLL
goto_if_eq MauvilleCity_GameCorner_EventScript_157072
- msgbox MauvilleCity_GameCorner_Text_181F3D, 5
- compare RESULT, 0
+ msgbox MauvilleCity_GameCorner_Text_181F3D, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq MauvilleCity_GameCorner_EventScript_157068
switch VAR_STARTER_MON
case 0, MauvilleCity_GameCorner_EventScript_156FDB
diff --git a/data/scripts/maps/MauvilleCity_House2.inc b/data/scripts/maps/MauvilleCity_House2.inc
index 32269ab89..9d3bce68a 100644
--- a/data/scripts/maps/MauvilleCity_House2.inc
+++ b/data/scripts/maps/MauvilleCity_House2.inc
@@ -19,10 +19,10 @@ MauvilleCity_House2_EventScript_1572E5:: @ 81572E5
waitmovement 0
applymovement LAST_TALKED, MauvilleCity_House2_Movement_1A0835
waitmovement 0
- msgbox MauvilleCity_House2_Text_1824D8, 5
- compare RESULT, 1
+ msgbox MauvilleCity_House2_Text_1824D8, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq MauvilleCity_House2_EventScript_15731B
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq MauvilleCity_House2_EventScript_157347
end
diff --git a/data/scripts/maps/MossdeepCity.inc b/data/scripts/maps/MossdeepCity.inc
index fd4b8cfbf..3d1baf143 100644
--- a/data/scripts/maps/MossdeepCity.inc
+++ b/data/scripts/maps/MossdeepCity.inc
@@ -70,8 +70,8 @@ MossdeepCity_EventScript_14D027:: @ 814D027
faceplayer
checkflag FLAG_RECEIVED_KINGS_ROCK
goto_if_eq MossdeepCity_EventScript_14D069
- msgbox MossdeepCity_Text_1690A9, 5
- compare RESULT, 0
+ msgbox MossdeepCity_Text_1690A9, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq MossdeepCity_EventScript_14D073
msgbox MossdeepCity_Text_169117, 4
giveitem_std ITEM_KINGS_ROCK
diff --git a/data/scripts/maps/MossdeepCity_GameCorner_1F.inc b/data/scripts/maps/MossdeepCity_GameCorner_1F.inc
index ad3b366a8..eac7f4adb 100644
--- a/data/scripts/maps/MossdeepCity_GameCorner_1F.inc
+++ b/data/scripts/maps/MossdeepCity_GameCorner_1F.inc
@@ -93,14 +93,14 @@ MossdeepCity_GameCorner_1F_EventScript_15AD42:: @ 815AD42
MossdeepCity_GameCorner_1F_EventScript_15AD59:: @ 815AD59
special SavePlayerParty
special BufferEReaderTrainerName
- msgbox MossdeepCity_GameCorner_1F_Text_18E650, 5
- compare RESULT, 0
+ msgbox MossdeepCity_GameCorner_1F_Text_18E650, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq MossdeepCity_GameCorner_1F_EventScript_15ADE8
call MossdeepCity_GameCorner_1F_EventScript_15ADF5
compare RESULT, 0
goto_if_eq MossdeepCity_GameCorner_1F_EventScript_15ADE8
- msgbox MossdeepCity_GameCorner_1F_Text_18E741, 5
- compare RESULT, 0
+ msgbox MossdeepCity_GameCorner_1F_Text_18E741, MSGBOX_YESNO
+ compare RESULT, NO
call_if 1, MossdeepCity_GameCorner_1F_EventScript_15ADE8
special LoadPlayerParty
call S_DoSaveDialog
diff --git a/data/scripts/maps/MossdeepCity_House3.inc b/data/scripts/maps/MossdeepCity_House3.inc
index 6632ac793..fb44685d8 100644
--- a/data/scripts/maps/MossdeepCity_House3.inc
+++ b/data/scripts/maps/MossdeepCity_House3.inc
@@ -6,8 +6,8 @@ MossdeepCity_House3_EventScript_15A972:: @ 815A972
faceplayer
checkflag FLAG_RECEIVED_SUPER_ROD
goto_if_eq MossdeepCity_House3_EventScript_15A9B1
- msgbox MossdeepCity_House3_Text_18D909, 5
- compare RESULT, 0
+ msgbox MossdeepCity_House3_Text_18D909, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq MossdeepCity_House3_EventScript_15A9BB
msgbox MossdeepCity_House3_Text_18D9A9, 4
giveitem_std ITEM_SUPER_ROD
diff --git a/data/scripts/maps/MossdeepCity_StevensHouse.inc b/data/scripts/maps/MossdeepCity_StevensHouse.inc
index 9aa9d8ef3..ce2f2aad5 100644
--- a/data/scripts/maps/MossdeepCity_StevensHouse.inc
+++ b/data/scripts/maps/MossdeepCity_StevensHouse.inc
@@ -71,8 +71,8 @@ MossdeepCity_StevensHouse_Movement_15AA76:: @ 815AA76
MossdeepCity_StevensHouse_EventScript_15AA7C:: @ 815AA7C
lockall
- msgbox MossdeepCity_StevensHouse_Text_18DD12, 5
- compare RESULT, 0
+ msgbox MossdeepCity_StevensHouse_Text_18DD12, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq MossdeepCity_StevensHouse_EventScript_15AAE6
getpartysize
compare RESULT, 6
@@ -85,8 +85,8 @@ MossdeepCity_StevensHouse_EventScript_15AA7C:: @ 815AA7C
waitmessage
givemon SPECIES_BELDUM, 5, ITEM_NONE, 0x0, 0x0, 0
bufferspeciesname 1, SPECIES_BELDUM
- msgbox MossdeepCity_StevensHouse_Text_1A1102, 5
- compare RESULT, 1
+ msgbox MossdeepCity_StevensHouse_Text_1A1102, MSGBOX_YESNO
+ compare RESULT, YES
call_if 1, MossdeepCity_StevensHouse_EventScript_1A0678
setflag FLAG_HIDE_BELDUM_BALL_STEVENS_HOUSE
setflag FLAG_RECEIVED_BELDUM
diff --git a/data/scripts/maps/MtChimney.inc b/data/scripts/maps/MtChimney.inc
index d93ec772a..be4799a45 100644
--- a/data/scripts/maps/MtChimney.inc
+++ b/data/scripts/maps/MtChimney.inc
@@ -17,8 +17,8 @@ MtChimney_EventScript_15CF95:: @ 815CF95
faceplayer
showmoneybox 0, 0
nop
- msgbox MtChimney_Text_195760, 5
- compare RESULT, 0
+ msgbox MtChimney_Text_195760, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq MtChimney_EventScript_15D00B
checkmoney 0xc8, 0
compare RESULT, 0
@@ -410,8 +410,8 @@ MtChimney_EventScript_15D17D:: @ 815D17D
goto_if 0, MtChimney_EventScript_15D1D0
checkflag FLAG_RECEIVED_METEORITE
goto_if_eq MtChimney_EventScript_15D1C6
- msgbox MtChimney_Text_195870, 5
- compare RESULT, 0
+ msgbox MtChimney_Text_195870, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq MtChimney_EventScript_15D1BC
msgbox MtChimney_Text_1958C6, 4
giveitem_std ITEM_METEORITE
diff --git a/data/scripts/maps/MtChimney_CableCarStation.inc b/data/scripts/maps/MtChimney_CableCarStation.inc
index 6b919f2ca..aefc68bda 100644
--- a/data/scripts/maps/MtChimney_CableCarStation.inc
+++ b/data/scripts/maps/MtChimney_CableCarStation.inc
@@ -31,10 +31,10 @@ MtChimney_CableCarStation_EventScript_15C127:: @ 815C127
MtChimney_CableCarStation_EventScript_15C14B:: @ 815C14B
lock
faceplayer
- msgbox MtChimney_CableCarStation_Text_19256A, 5
- compare RESULT, 1
+ msgbox MtChimney_CableCarStation_Text_19256A, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq MtChimney_CableCarStation_EventScript_15C16C
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq MtChimney_CableCarStation_EventScript_15C19B
end
diff --git a/data/scripts/maps/MtPyre_Summit.inc b/data/scripts/maps/MtPyre_Summit.inc
index 9cd4eecd1..56ef5db79 100644
--- a/data/scripts/maps/MtPyre_Summit.inc
+++ b/data/scripts/maps/MtPyre_Summit.inc
@@ -139,13 +139,13 @@ MtPyre_Summit_EventScript_15D5EF:: @ 815D5EF
lock
faceplayer
.ifdef SAPPHIRE
- msgbox UnknownString_81B586F, 5
+ msgbox UnknownString_81B586F, MSGBOX_YESNO
.else
- msgbox MtPyre_Summit_Text_1B64B3, 5
+ msgbox MtPyre_Summit_Text_1B64B3, MSGBOX_YESNO
.endif
- compare RESULT, 1
+ compare RESULT, YES
call_if 1, MtPyre_Summit_EventScript_15D611
- compare RESULT, 0
+ compare RESULT, NO
call_if 1, MtPyre_Summit_EventScript_15D61A
release
end
@@ -185,13 +185,13 @@ MtPyre_Summit_EventScript_15D623:: @ 815D623
MtPyre_Summit_EventScript_15D64A:: @ 815D64A
.ifdef SAPPHIRE
- msgbox UnknownString_81B5647, 5
+ msgbox UnknownString_81B5647, MSGBOX_YESNO
.else
- msgbox MtPyre_Summit_Text_1B6283, 5
+ msgbox MtPyre_Summit_Text_1B6283, MSGBOX_YESNO
.endif
- compare RESULT, 1
+ compare RESULT, YES
goto_if_eq MtPyre_Summit_EventScript_15D669
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq MtPyre_Summit_EventScript_15D69B
end
@@ -216,13 +216,13 @@ MtPyre_Summit_EventScript_15D669:: @ 815D669
MtPyre_Summit_EventScript_15D69B:: @ 815D69B
.ifdef SAPPHIRE
- msgbox UnknownString_81B56AB, 5
+ msgbox UnknownString_81B56AB, MSGBOX_YESNO
.else
- msgbox MtPyre_Summit_Text_1B62E7, 5
+ msgbox MtPyre_Summit_Text_1B62E7, MSGBOX_YESNO
.endif
- compare RESULT, 1
+ compare RESULT, YES
goto_if_eq MtPyre_Summit_EventScript_15D669
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq MtPyre_Summit_EventScript_15D69B
end
diff --git a/data/scripts/maps/NewMauville_Entrance.inc b/data/scripts/maps/NewMauville_Entrance.inc
index b7d68b257..2a4d8afce 100644
--- a/data/scripts/maps/NewMauville_Entrance.inc
+++ b/data/scripts/maps/NewMauville_Entrance.inc
@@ -29,8 +29,8 @@ NewMauville_Entrance_EventScript_15E4DC:: @ 815E4DC
checkitem ITEM_BASEMENT_KEY, 1
compare RESULT, 0
goto_if_eq NewMauville_Entrance_EventScript_15E55D
- msgbox NewMauville_Entrance_Text_1982D4, 5
- compare RESULT, 0
+ msgbox NewMauville_Entrance_Text_1982D4, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq NewMauville_Entrance_EventScript_15E55D
msgbox NewMauville_Entrance_Text_1982EA, 4
setmetatile 3, 0, 707, 0
diff --git a/data/scripts/maps/PacifidlogTown_House3.inc b/data/scripts/maps/PacifidlogTown_House3.inc
index f5f93f05a..f51aea6f7 100644
--- a/data/scripts/maps/PacifidlogTown_House3.inc
+++ b/data/scripts/maps/PacifidlogTown_House3.inc
@@ -10,8 +10,8 @@ PacifidlogTown_House3_EventScript_15429E:: @ 815429E
copyvar VAR_SPECIAL_4, VAR_SPECIAL_8
specialvar RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_SPECIAL_9, RESULT
- msgbox PacifidlogTown_House3_Text_17940E, 5
- compare RESULT, 0
+ msgbox PacifidlogTown_House3_Text_17940E, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq PacifidlogTown_House3_EventScript_154320
special SelectMonForNPCTrade
waitstate
diff --git a/data/scripts/maps/PacifidlogTown_House4.inc b/data/scripts/maps/PacifidlogTown_House4.inc
index b7a6c9f86..584366c88 100644
--- a/data/scripts/maps/PacifidlogTown_House4.inc
+++ b/data/scripts/maps/PacifidlogTown_House4.inc
@@ -12,10 +12,10 @@ PacifidlogTown_House4_EventScript_154355:: @ 8154355
PacifidlogTown_House4_EventScript_15435E:: @ 815435E
lock
faceplayer
- msgbox PacifidlogTown_House4_Text_17963D, 5
- compare RESULT, 1
+ msgbox PacifidlogTown_House4_Text_17963D, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PacifidlogTown_House4_EventScript_15437F
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PacifidlogTown_House4_EventScript_154389
end
diff --git a/data/scripts/maps/PetalburgCity_Gym.inc b/data/scripts/maps/PetalburgCity_Gym.inc
index de141daf9..406f260b0 100644
--- a/data/scripts/maps/PetalburgCity_Gym.inc
+++ b/data/scripts/maps/PetalburgCity_Gym.inc
@@ -596,10 +596,10 @@ PetalburgCity_Gym_EventScript_154B73:: @ 8154B73
goto_if 0, PetalburgCity_Gym_EventScript_154BB9
setvar VAR_SPECIAL_8, 7
setvar VAR_SPECIAL_9, 85
- msgbox PetalburgCity_Gym_Text_17B870, 5
- compare RESULT, 1
+ msgbox PetalburgCity_Gym_Text_17B870, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PetalburgCity_Gym_EventScript_154BA8
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PetalburgCity_Gym_EventScript_154BB7
end
@@ -626,10 +626,10 @@ PetalburgCity_Gym_EventScript_154BC3:: @ 8154BC3
goto_if 0, PetalburgCity_Gym_EventScript_154BB9
setvar VAR_SPECIAL_8, 1
setvar VAR_SPECIAL_9, 98
- msgbox PetalburgCity_Gym_Text_17B8D4, 5
- compare RESULT, 1
+ msgbox PetalburgCity_Gym_Text_17B8D4, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PetalburgCity_Gym_EventScript_154BA8
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PetalburgCity_Gym_EventScript_154BB7
end
@@ -639,10 +639,10 @@ PetalburgCity_Gym_EventScript_154BF8:: @ 8154BF8
goto_if 0, PetalburgCity_Gym_EventScript_154BB9
setvar VAR_SPECIAL_8, 7
setvar VAR_SPECIAL_9, 46
- msgbox PetalburgCity_Gym_Text_17B90F, 5
- compare RESULT, 1
+ msgbox PetalburgCity_Gym_Text_17B90F, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PetalburgCity_Gym_EventScript_154BA8
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PetalburgCity_Gym_EventScript_154BB7
end
@@ -652,10 +652,10 @@ PetalburgCity_Gym_EventScript_154C2B:: @ 8154C2B
goto_if 0, PetalburgCity_Gym_EventScript_154BB9
setvar VAR_SPECIAL_8, 1
setvar VAR_SPECIAL_9, 59
- msgbox PetalburgCity_Gym_Text_17B950, 5
- compare RESULT, 1
+ msgbox PetalburgCity_Gym_Text_17B950, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PetalburgCity_Gym_EventScript_154BA8
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PetalburgCity_Gym_EventScript_154BB7
end
@@ -665,10 +665,10 @@ PetalburgCity_Gym_EventScript_154C5E:: @ 8154C5E
goto_if 0, PetalburgCity_Gym_EventScript_154BB9
setvar VAR_SPECIAL_8, 7
setvar VAR_SPECIAL_9, 59
- msgbox PetalburgCity_Gym_Text_17B950, 5
- compare RESULT, 1
+ msgbox PetalburgCity_Gym_Text_17B950, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PetalburgCity_Gym_EventScript_154BA8
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PetalburgCity_Gym_EventScript_154BB7
end
@@ -678,10 +678,10 @@ PetalburgCity_Gym_EventScript_154C91:: @ 8154C91
goto_if 0, PetalburgCity_Gym_EventScript_154BB9
setvar VAR_SPECIAL_8, 1
setvar VAR_SPECIAL_9, 72
- msgbox PetalburgCity_Gym_Text_17B98A, 5
- compare RESULT, 1
+ msgbox PetalburgCity_Gym_Text_17B98A, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PetalburgCity_Gym_EventScript_154BA8
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PetalburgCity_Gym_EventScript_154BB7
end
@@ -691,10 +691,10 @@ PetalburgCity_Gym_EventScript_154CC4:: @ 8154CC4
goto_if 0, PetalburgCity_Gym_EventScript_154BB9
setvar VAR_SPECIAL_8, 1
setvar VAR_SPECIAL_9, 20
- msgbox PetalburgCity_Gym_Text_17B9C5, 5
- compare RESULT, 1
+ msgbox PetalburgCity_Gym_Text_17B9C5, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PetalburgCity_Gym_EventScript_154BA8
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PetalburgCity_Gym_EventScript_154BB7
end
@@ -704,10 +704,10 @@ PetalburgCity_Gym_EventScript_154CF7:: @ 8154CF7
goto_if 0, PetalburgCity_Gym_EventScript_154BB9
setvar VAR_SPECIAL_8, 7
setvar VAR_SPECIAL_9, 20
- msgbox PetalburgCity_Gym_Text_17B9C5, 5
- compare RESULT, 1
+ msgbox PetalburgCity_Gym_Text_17B9C5, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PetalburgCity_Gym_EventScript_154BA8
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PetalburgCity_Gym_EventScript_154BB7
end
@@ -717,10 +717,10 @@ PetalburgCity_Gym_EventScript_154D2A:: @ 8154D2A
goto_if 0, PetalburgCity_Gym_EventScript_154BB9
setvar VAR_SPECIAL_8, 1
setvar VAR_SPECIAL_9, 33
- msgbox PetalburgCity_Gym_Text_17BA00, 5
- compare RESULT, 1
+ msgbox PetalburgCity_Gym_Text_17BA00, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PetalburgCity_Gym_EventScript_154BA8
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PetalburgCity_Gym_EventScript_154BB7
end
@@ -730,10 +730,10 @@ PetalburgCity_Gym_EventScript_154D5D:: @ 8154D5D
goto_if 0, PetalburgCity_Gym_EventScript_154BB9
setvar VAR_SPECIAL_8, 7
setvar VAR_SPECIAL_9, 33
- msgbox PetalburgCity_Gym_Text_17BA00, 5
- compare RESULT, 1
+ msgbox PetalburgCity_Gym_Text_17BA00, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PetalburgCity_Gym_EventScript_154BA8
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PetalburgCity_Gym_EventScript_154BB7
end
@@ -743,10 +743,10 @@ PetalburgCity_Gym_EventScript_154D90:: @ 8154D90
goto_if 0, PetalburgCity_Gym_EventScript_154BB9
setvar VAR_SPECIAL_8, 1
setvar VAR_SPECIAL_9, 7
- msgbox PetalburgCity_Gym_Text_17BA3D, 5
- compare RESULT, 1
+ msgbox PetalburgCity_Gym_Text_17BA3D, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PetalburgCity_Gym_EventScript_154BA8
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PetalburgCity_Gym_EventScript_154BB7
end
@@ -756,10 +756,10 @@ PetalburgCity_Gym_EventScript_154DC3:: @ 8154DC3
goto_if 0, PetalburgCity_Gym_EventScript_154BB9
setvar VAR_SPECIAL_8, 7
setvar VAR_SPECIAL_9, 7
- msgbox PetalburgCity_Gym_Text_17BA3D, 5
- compare RESULT, 1
+ msgbox PetalburgCity_Gym_Text_17BA3D, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq PetalburgCity_Gym_EventScript_154BA8
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq PetalburgCity_Gym_EventScript_154BB7
end
diff --git a/data/scripts/maps/Route104_MrBrineysHouse.inc b/data/scripts/maps/Route104_MrBrineysHouse.inc
index cb52908f5..4718f9bb9 100644
--- a/data/scripts/maps/Route104_MrBrineysHouse.inc
+++ b/data/scripts/maps/Route104_MrBrineysHouse.inc
@@ -36,8 +36,8 @@ 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_191AAD, 5
- compare RESULT, 0
+ msgbox Route104_MrBrineysHouse_Text_191AAD, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route104_MrBrineysHouse_EventScript_15BD97
goto Route104_MrBrineysHouse_EventScript_15BDAB
end
@@ -53,15 +53,15 @@ Route104_MrBrineysHouse_EventScript_15BD32:: @ 815BD32
end
Route104_MrBrineysHouse_EventScript_15BD65:: @ 815BD65
- msgbox Route104_MrBrineysHouse_Text_191CC3, 5
- compare RESULT, 0
+ msgbox Route104_MrBrineysHouse_Text_191CC3, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route104_MrBrineysHouse_EventScript_15BD97
goto Route104_MrBrineysHouse_EventScript_15BDAB
end
Route104_MrBrineysHouse_EventScript_15BD7E:: @ 815BD7E
- msgbox Route104_MrBrineysHouse_Text_191DA6, 5
- compare RESULT, 0
+ msgbox Route104_MrBrineysHouse_Text_191DA6, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route104_MrBrineysHouse_EventScript_15BD97
goto Route104_MrBrineysHouse_EventScript_15BDAB
end
diff --git a/data/scripts/maps/Route104_PrettyPetalFlowerShop.inc b/data/scripts/maps/Route104_PrettyPetalFlowerShop.inc
index 2de6bf51f..f7fbb58b5 100644
--- a/data/scripts/maps/Route104_PrettyPetalFlowerShop.inc
+++ b/data/scripts/maps/Route104_PrettyPetalFlowerShop.inc
@@ -24,19 +24,19 @@ Route104_PrettyPetalFlowerShop_EventScript_15BE0B:: @ 815BE0B
checkflag FLAG_MET_PRETTY_PETAL_SHOP_OWNER
goto_if_eq Route104_PrettyPetalFlowerShop_EventScript_15BE4A
setflag FLAG_MET_PRETTY_PETAL_SHOP_OWNER
- msgbox Route104_PrettyPetalFlowerShop_Text_1C5F48, 5
- compare RESULT, 1
+ msgbox Route104_PrettyPetalFlowerShop_Text_1C5F48, MSGBOX_YESNO
+ compare RESULT, YES
call_if 1, Route104_PrettyPetalFlowerShop_EventScript_15BE6A
- compare RESULT, 0
+ compare RESULT, NO
call_if 1, Route104_PrettyPetalFlowerShop_EventScript_15BE73
release
end
Route104_PrettyPetalFlowerShop_EventScript_15BE4A:: @ 815BE4A
- msgbox Route104_PrettyPetalFlowerShop_Text_1C5F1B, 5
- compare RESULT, 1
+ msgbox Route104_PrettyPetalFlowerShop_Text_1C5F1B, MSGBOX_YESNO
+ compare RESULT, YES
call_if 1, Route104_PrettyPetalFlowerShop_EventScript_15BE6A
- compare RESULT, 0
+ compare RESULT, NO
call_if 1, Route104_PrettyPetalFlowerShop_EventScript_15BE73
release
end
diff --git a/data/scripts/maps/Route109.inc b/data/scripts/maps/Route109.inc
index 28bf046a4..c0344f150 100644
--- a/data/scripts/maps/Route109.inc
+++ b/data/scripts/maps/Route109.inc
@@ -278,8 +278,8 @@ Route109_EventScript_14F680:: @ 814F680
Route109_EventScript_14F691:: @ 814F691
message Route109_Text_16E0F9
- msgbox Route109_Text_16E0F9, 5
- compare RESULT, 0
+ msgbox Route109_Text_16E0F9, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route109_EventScript_14F6F1
goto Route109_EventScript_14F6E2
end
diff --git a/data/scripts/maps/Route109_SeashoreHouse.inc b/data/scripts/maps/Route109_SeashoreHouse.inc
index 7a12f5850..4c1574824 100644
--- a/data/scripts/maps/Route109_SeashoreHouse.inc
+++ b/data/scripts/maps/Route109_SeashoreHouse.inc
@@ -42,8 +42,8 @@ Route109_SeashoreHouse_EventScript_160E2C:: @ 8160E2C
Route109_SeashoreHouse_EventScript_160E36:: @ 8160E36
showmoneybox 0, 0
nop
- msgbox Route109_SeashoreHouse_Text_19B702, 5
- compare RESULT, 1
+ msgbox Route109_SeashoreHouse_Text_19B702, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq Route109_SeashoreHouse_EventScript_160E5A
msgbox Route109_SeashoreHouse_Text_19B773, 4
hidemoneybox 0, 0
diff --git a/data/scripts/maps/Route110_TrickHouseEntrance.inc b/data/scripts/maps/Route110_TrickHouseEntrance.inc
index f34bba6e6..232d324a4 100644
--- a/data/scripts/maps/Route110_TrickHouseEntrance.inc
+++ b/data/scripts/maps/Route110_TrickHouseEntrance.inc
@@ -493,9 +493,9 @@ Route110_TrickHouseEntrance_EventScript_1615BD:: @ 81615BD
end
Route110_TrickHouseEntrance_EventScript_1615C7:: @ 81615C7
- msgbox Route110_TrickHouseEntrance_Text_19BE7D, 5
+ msgbox Route110_TrickHouseEntrance_Text_19BE7D, MSGBOX_YESNO
closemessage
- compare RESULT, 1
+ compare RESULT, YES
goto_if_eq Route110_TrickHouseEntrance_EventScript_1615DD
releaseall
end
diff --git a/data/scripts/maps/Route111.inc b/data/scripts/maps/Route111.inc
index c3d807f66..c338091a0 100644
--- a/data/scripts/maps/Route111.inc
+++ b/data/scripts/maps/Route111.inc
@@ -51,8 +51,8 @@ Route111_EventScript_15000D:: @ 815000D
Route111_EventScript_150023:: @ 8150023
lockall
- msgbox Route111_Text_16FA54, 5
- compare RESULT, 0
+ msgbox Route111_Text_16FA54, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route111_EventScript_15005F
giveitem_std ITEM_ROOT_FOSSIL
closemessage
@@ -73,8 +73,8 @@ Route111_EventScript_15005F:: @ 815005F
Route111_EventScript_150069:: @ 8150069
lockall
- msgbox Route111_Text_16FAED, 5
- compare RESULT, 0
+ msgbox Route111_Text_16FAED, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route111_EventScript_1500A5
giveitem_std ITEM_CLAW_FOSSIL
closemessage
@@ -237,8 +237,8 @@ Route111_EventScript_1501D1:: @ 81501D1
lock
faceplayer
setflag FLAG_LANDMARK_WINSTRATE_FAMILY
- msgbox Route111_Text_16F705, 5
- compare RESULT, 1
+ msgbox Route111_Text_16F705, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq Route111_EventScript_1501F3
msgbox Route111_Text_16F785, 4
release
diff --git a/data/scripts/maps/Route111_OldLadysRestStop.inc b/data/scripts/maps/Route111_OldLadysRestStop.inc
index c0fb6f489..1263c4b83 100644
--- a/data/scripts/maps/Route111_OldLadysRestStop.inc
+++ b/data/scripts/maps/Route111_OldLadysRestStop.inc
@@ -9,10 +9,10 @@ Route111_OldLadysRestStop_MapScript1_15BFD7:: @ 815BFD7
Route111_OldLadysRestStop_EventScript_15BFDB:: @ 815BFDB
lock
faceplayer
- msgbox Route111_OldLadysRestStop_Text_1923AF, 5
- compare RESULT, 1
+ msgbox Route111_OldLadysRestStop_Text_1923AF, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq Route111_OldLadysRestStop_EventScript_15BFFC
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq Route111_OldLadysRestStop_EventScript_15C029
end
@@ -20,10 +20,10 @@ Route111_OldLadysRestStop_EventScript_15BFFC:: @ 815BFFC
msgbox Route111_OldLadysRestStop_Text_192423, 4
closemessage
call Route111_OldLadysRestStop_EventScript_1A02CA
- msgbox Route111_OldLadysRestStop_Text_19244D, 5
- compare RESULT, 1
+ msgbox Route111_OldLadysRestStop_Text_19244D, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq Route111_OldLadysRestStop_EventScript_15BFFC
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq Route111_OldLadysRestStop_EventScript_15C029
end
diff --git a/data/scripts/maps/Route112_CableCarStation.inc b/data/scripts/maps/Route112_CableCarStation.inc
index cba6c33e8..adbea780e 100644
--- a/data/scripts/maps/Route112_CableCarStation.inc
+++ b/data/scripts/maps/Route112_CableCarStation.inc
@@ -32,10 +32,10 @@ Route112_CableCarStation_EventScript_15C068:: @ 815C068
Route112_CableCarStation_EventScript_15C08C:: @ 815C08C
lock
faceplayer
- msgbox Route112_CableCarStation_Text_1924F5, 5
- compare RESULT, 1
+ msgbox Route112_CableCarStation_Text_1924F5, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq Route112_CableCarStation_EventScript_15C0AD
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq Route112_CableCarStation_EventScript_15C0DC
end
diff --git a/data/scripts/maps/Route113_GlassWorkshop.inc b/data/scripts/maps/Route113_GlassWorkshop.inc
index e1bb038e3..3f991277f 100644
--- a/data/scripts/maps/Route113_GlassWorkshop.inc
+++ b/data/scripts/maps/Route113_GlassWorkshop.inc
@@ -72,8 +72,8 @@ Route113_GlassWorkshop_EventScript_163660:: @ 8163660
setvar VAR_SPECIAL_A, 250
compare VAR_ASH_GATHER_COUNT, 250
goto_if 0, Route113_GlassWorkshop_EventScript_163830
- msgbox Route113_GlassWorkshop_Text_19E7CD, 5
- compare RESULT, 0
+ msgbox Route113_GlassWorkshop_Text_19E7CD, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route113_GlassWorkshop_EventScript_163845
setvar VAR_GLASS_WORKSHOP_STATE, 10
subvar VAR_ASH_GATHER_COUNT, 250
@@ -86,8 +86,8 @@ Route113_GlassWorkshop_EventScript_16369C:: @ 816369C
setvar VAR_SPECIAL_A, 500
compare VAR_ASH_GATHER_COUNT, 500
goto_if 0, Route113_GlassWorkshop_EventScript_163830
- msgbox Route113_GlassWorkshop_Text_19E7CD, 5
- compare RESULT, 0
+ msgbox Route113_GlassWorkshop_Text_19E7CD, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route113_GlassWorkshop_EventScript_163845
setvar VAR_GLASS_WORKSHOP_STATE, 11
subvar VAR_ASH_GATHER_COUNT, 500
@@ -100,8 +100,8 @@ Route113_GlassWorkshop_EventScript_1636D8:: @ 81636D8
setvar VAR_SPECIAL_A, 500
compare VAR_ASH_GATHER_COUNT, 500
goto_if 0, Route113_GlassWorkshop_EventScript_163830
- msgbox Route113_GlassWorkshop_Text_19E7CD, 5
- compare RESULT, 0
+ msgbox Route113_GlassWorkshop_Text_19E7CD, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route113_GlassWorkshop_EventScript_163845
setvar VAR_GLASS_WORKSHOP_STATE, 12
subvar VAR_ASH_GATHER_COUNT, 500
@@ -114,8 +114,8 @@ Route113_GlassWorkshop_EventScript_163714:: @ 8163714
setvar VAR_SPECIAL_A, 1000
compare VAR_ASH_GATHER_COUNT, 1000
goto_if 0, Route113_GlassWorkshop_EventScript_163830
- msgbox Route113_GlassWorkshop_Text_19E7CD, 5
- compare RESULT, 0
+ msgbox Route113_GlassWorkshop_Text_19E7CD, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route113_GlassWorkshop_EventScript_163845
setvar VAR_GLASS_WORKSHOP_STATE, 13
subvar VAR_ASH_GATHER_COUNT, 1000
@@ -128,8 +128,8 @@ Route113_GlassWorkshop_EventScript_163750:: @ 8163750
setvar VAR_SPECIAL_A, 1000
compare VAR_ASH_GATHER_COUNT, 1000
goto_if 0, Route113_GlassWorkshop_EventScript_163830
- msgbox Route113_GlassWorkshop_Text_19E7CD, 5
- compare RESULT, 0
+ msgbox Route113_GlassWorkshop_Text_19E7CD, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route113_GlassWorkshop_EventScript_163845
setvar VAR_GLASS_WORKSHOP_STATE, 14
subvar VAR_ASH_GATHER_COUNT, 1000
@@ -143,8 +143,8 @@ Route113_GlassWorkshop_EventScript_16378C:: @ 816378C
setvar VAR_SPECIAL_A, 6000
compare VAR_ASH_GATHER_COUNT, 6000
goto_if 0, Route113_GlassWorkshop_EventScript_163830
- msgbox Route113_GlassWorkshop_Text_19E7CD, 5
- compare RESULT, 0
+ msgbox Route113_GlassWorkshop_Text_19E7CD, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route113_GlassWorkshop_EventScript_163845
setvar VAR_GLASS_WORKSHOP_STATE, 15
subvar VAR_ASH_GATHER_COUNT, 6000
@@ -158,8 +158,8 @@ Route113_GlassWorkshop_EventScript_1637CD:: @ 81637CD
setvar VAR_SPECIAL_A, 8000
compare VAR_ASH_GATHER_COUNT, 8000
goto_if 0, Route113_GlassWorkshop_EventScript_163830
- msgbox Route113_GlassWorkshop_Text_19E7CD, 5
- compare RESULT, 0
+ msgbox Route113_GlassWorkshop_Text_19E7CD, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route113_GlassWorkshop_EventScript_163845
setvar VAR_GLASS_WORKSHOP_STATE, 16
subvar VAR_ASH_GATHER_COUNT, 8000
diff --git a/data/scripts/maps/Route114_LanettesHouse.inc b/data/scripts/maps/Route114_LanettesHouse.inc
index f8ff5de73..c34d4fc7e 100644
--- a/data/scripts/maps/Route114_LanettesHouse.inc
+++ b/data/scripts/maps/Route114_LanettesHouse.inc
@@ -31,16 +31,16 @@ Route114_LanettesHouse_EventScript_15C28F:: @ 815C28F
Route114_LanettesHouse_EventScript_15C299:: @ 815C299
lockall
- msgbox Route114_LanettesHouse_Text_192B4A, 5
- compare RESULT, 1
+ msgbox Route114_LanettesHouse_Text_192B4A, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq Route114_LanettesHouse_EventScript_15C2B7
msgbox Route114_LanettesHouse_Text_192DA9, 4
releaseall
end
Route114_LanettesHouse_EventScript_15C2B7:: @ 815C2B7
- msgbox Route114_LanettesHouse_Text_192C01, 5
- compare RESULT, 1
+ msgbox Route114_LanettesHouse_Text_192C01, MSGBOX_YESNO
+ compare RESULT, YES
call_if 1, Route114_LanettesHouse_EventScript_15C2CC
releaseall
end
diff --git a/data/scripts/maps/Route118.inc b/data/scripts/maps/Route118.inc
index 0ed9e9b01..a4452d989 100644
--- a/data/scripts/maps/Route118.inc
+++ b/data/scripts/maps/Route118.inc
@@ -11,10 +11,10 @@ Route118_EventScript_150F34:: @ 8150F34
faceplayer
checkflag FLAG_RECEIVED_GOOD_ROD
goto_if_eq Route118_EventScript_150F89
- msgbox Route118_Text_170F12, 5
- compare RESULT, 1
+ msgbox Route118_Text_170F12, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq Route118_EventScript_150F5E
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq Route118_EventScript_150F7F
end
diff --git a/data/scripts/maps/Route120.inc b/data/scripts/maps/Route120.inc
index 3858c0e4f..bacdcd7dd 100644
--- a/data/scripts/maps/Route120.inc
+++ b/data/scripts/maps/Route120.inc
@@ -115,10 +115,10 @@ Route120_EventScript_151739:: @ 8151739
dodailyevents
checkflag FLAG_DAILY_RECEIVED_BERRY_ROUTE120
goto_if_eq Route120_EventScript_151837
- msgbox Route120_Text_1C58F1, 5
- compare RESULT, 1
+ msgbox Route120_Text_1C58F1, MSGBOX_YESNO
+ compare RESULT, YES
call_if 1, Route120_EventScript_151841
- compare RESULT, 0
+ compare RESULT, NO
call_if 1, Route120_EventScript_15184A
specialvar RESULT, GetPlayerTrainerIdOnesDigit
switch RESULT
@@ -186,8 +186,8 @@ Route120_EventScript_151853:: @ 8151853
faceplayer
checkflag FLAG_NOT_READY_FOR_BATTLE_ROUTE120
goto_if_eq Route120_EventScript_151884
- msgbox Route120_Text_171827, 5
- compare RESULT, 0
+ msgbox Route120_Text_171827, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route120_EventScript_151877
goto Route120_EventScript_15189D
end
@@ -199,8 +199,8 @@ Route120_EventScript_151877:: @ 8151877
end
Route120_EventScript_151884:: @ 8151884
- msgbox Route120_Text_17196F, 5
- compare RESULT, 0
+ msgbox Route120_Text_17196F, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route120_EventScript_151877
goto Route120_EventScript_15189D
end
diff --git a/data/scripts/maps/Route121_SafariZoneEntrance.inc b/data/scripts/maps/Route121_SafariZoneEntrance.inc
index 67fa830e9..ded372aa6 100644
--- a/data/scripts/maps/Route121_SafariZoneEntrance.inc
+++ b/data/scripts/maps/Route121_SafariZoneEntrance.inc
@@ -33,8 +33,8 @@ Route121_SafariZoneEntrance_EventScript_15C351:: @ 815C351
Route121_SafariZoneEntrance_EventScript_15C35A:: @ 815C35A
lock
faceplayer
- msgbox Route121_SafariZoneEntrance_Text_1C3704, 5
- compare RESULT, 1
+ msgbox Route121_SafariZoneEntrance_Text_1C3704, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq Route121_SafariZoneEntrance_EventScript_15C379
msgbox Route121_SafariZoneEntrance_Text_1C373C, 4
release
@@ -51,8 +51,8 @@ Route121_SafariZoneEntrance_EventScript_15C383:: @ 815C383
waitmovement 0
showmoneybox 0, 0
nop
- msgbox Route121_SafariZoneEntrance_Text_1C3832, 5
- compare RESULT, 1
+ msgbox Route121_SafariZoneEntrance_Text_1C3832, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq Route121_SafariZoneEntrance_EventScript_15C3B3
msgbox Route121_SafariZoneEntrance_Text_1C3895, 4
goto Route121_SafariZoneEntrance_EventScript_15C46C
diff --git a/data/scripts/maps/Route124_DivingTreasureHuntersHouse.inc b/data/scripts/maps/Route124_DivingTreasureHuntersHouse.inc
index bc71fac41..9423cf845 100644
--- a/data/scripts/maps/Route124_DivingTreasureHuntersHouse.inc
+++ b/data/scripts/maps/Route124_DivingTreasureHuntersHouse.inc
@@ -246,8 +246,8 @@ Route124_DivingTreasureHuntersHouse_EventScript_164283:: @ 8164283
Route124_DivingTreasureHuntersHouse_EventScript_164292:: @ 8164292
bufferitemname 0, VAR_SPECIAL_8
bufferitemname 1, VAR_SPECIAL_9
- msgbox Route124_DivingTreasureHuntersHouse_Text_19F5E0, 5
- compare RESULT, 0
+ msgbox Route124_DivingTreasureHuntersHouse_Text_19F5E0, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq Route124_DivingTreasureHuntersHouse_EventScript_16431F
checkitemspace VAR_SPECIAL_9, 1
compare RESULT, 1
@@ -265,8 +265,8 @@ Route124_DivingTreasureHuntersHouse_EventScript_1642D3:: @ 81642D3
call Route124_DivingTreasureHuntersHouse_EventScript_163E44
compare VAR_TEMP_1, 0
goto_if_eq Route124_DivingTreasureHuntersHouse_EventScript_164333
- msgbox Route124_DivingTreasureHuntersHouse_Text_19F629, 5
- compare RESULT, 1
+ msgbox Route124_DivingTreasureHuntersHouse_Text_19F629, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq Route124_DivingTreasureHuntersHouse_EventScript_163EB0
goto Route124_DivingTreasureHuntersHouse_EventScript_16431F
end
diff --git a/data/scripts/maps/RustboroCity_DevonCorp_2F.inc b/data/scripts/maps/RustboroCity_DevonCorp_2F.inc
index 9bbbaacfa..179140378 100644
--- a/data/scripts/maps/RustboroCity_DevonCorp_2F.inc
+++ b/data/scripts/maps/RustboroCity_DevonCorp_2F.inc
@@ -85,8 +85,8 @@ RustboroCity_DevonCorp_2F_EventScript_1575A6:: @ 81575A6
waitmovement 0
applymovement 5, RustboroCity_DevonCorp_2F_Movement_1A0835
waitmovement 0
- msgbox RustboroCity_DevonCorp_2F_Text_182F35, 5
- compare RESULT, 0
+ msgbox RustboroCity_DevonCorp_2F_Text_182F35, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_157636
bufferitemname 0, ITEM_ROOT_FOSSIL
msgbox RustboroCity_DevonCorp_2F_Text_183023, 4
@@ -103,8 +103,8 @@ RustboroCity_DevonCorp_2F_EventScript_1575EE:: @ 81575EE
waitmovement 0
applymovement 5, RustboroCity_DevonCorp_2F_Movement_1A0835
waitmovement 0
- msgbox RustboroCity_DevonCorp_2F_Text_182F35, 5
- compare RESULT, 0
+ msgbox RustboroCity_DevonCorp_2F_Text_182F35, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_157636
bufferitemname 0, ITEM_CLAW_FOSSIL
msgbox RustboroCity_DevonCorp_2F_Text_183023, 4
@@ -145,8 +145,8 @@ RustboroCity_DevonCorp_2F_EventScript_157661:: @ 8157661
waitfanfare
waitmessage
givemon SPECIES_LILEEP, 20, ITEM_NONE, 0x0, 0x0, 0
- msgbox RustboroCity_DevonCorp_2F_Text_1A1102, 5
- compare RESULT, 1
+ msgbox RustboroCity_DevonCorp_2F_Text_1A1102, MSGBOX_YESNO
+ compare RESULT, YES
call_if 1, RustboroCity_DevonCorp_2F_EventScript_1A0678
release
end
@@ -165,8 +165,8 @@ RustboroCity_DevonCorp_2F_EventScript_1576B4:: @ 81576B4
waitfanfare
waitmessage
givemon SPECIES_ANORITH, 20, ITEM_NONE, 0x0, 0x0, 0
- msgbox RustboroCity_DevonCorp_2F_Text_1A1102, 5
- compare RESULT, 1
+ msgbox RustboroCity_DevonCorp_2F_Text_1A1102, MSGBOX_YESNO
+ compare RESULT, YES
call_if 1, RustboroCity_DevonCorp_2F_EventScript_1A0678
release
end
diff --git a/data/scripts/maps/RustboroCity_House1.inc b/data/scripts/maps/RustboroCity_House1.inc
index 2e0d106bb..c0f1bc689 100644
--- a/data/scripts/maps/RustboroCity_House1.inc
+++ b/data/scripts/maps/RustboroCity_House1.inc
@@ -10,8 +10,8 @@ RustboroCity_House1_EventScript_157C7D:: @ 8157C7D
copyvar VAR_SPECIAL_4, VAR_SPECIAL_8
specialvar RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_SPECIAL_9, RESULT
- msgbox RustboroCity_House1_Text_184EBA, 5
- compare RESULT, 0
+ msgbox RustboroCity_House1_Text_184EBA, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq RustboroCity_House1_EventScript_157CFB
special SelectMonForNPCTrade
waitstate
diff --git a/data/scripts/maps/SafariZone_Southeast.inc b/data/scripts/maps/SafariZone_Southeast.inc
index 2dbd716cb..b3eb297e9 100644
--- a/data/scripts/maps/SafariZone_Southeast.inc
+++ b/data/scripts/maps/SafariZone_Southeast.inc
@@ -54,8 +54,8 @@ SafariZone_Southeast_EventScript_1600A7:: @ 81600A7
faceplayer
compare VAR_TEMP_1, 0
goto_if_eq SafariZone_Southeast_EventScript_1600D1
- msgbox SafariZone_Southeast_Text_1C3A56, 5
- compare RESULT, 1
+ msgbox SafariZone_Southeast_Text_1C3A56, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq SafariZone_Southeast_EventScript_1600E0
msgbox SafariZone_Southeast_Text_1C3A9C, 4
release
diff --git a/data/scripts/maps/ShoalCave_LowTideEntranceRoom.inc b/data/scripts/maps/ShoalCave_LowTideEntranceRoom.inc
index 533c46850..4dcd88761 100644
--- a/data/scripts/maps/ShoalCave_LowTideEntranceRoom.inc
+++ b/data/scripts/maps/ShoalCave_LowTideEntranceRoom.inc
@@ -28,8 +28,8 @@ ShoalCave_LowTideEntranceRoom_EventScript_15E076:: @ 815E076
checkitem ITEM_SHOAL_SHELL, 4
compare RESULT, 0
goto_if_eq ShoalCave_LowTideEntranceRoom_EventScript_15E138
- msgbox ShoalCave_LowTideEntranceRoom_Text_1C6793, 5
- compare RESULT, 0
+ msgbox ShoalCave_LowTideEntranceRoom_Text_1C6793, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq ShoalCave_LowTideEntranceRoom_EventScript_15E16C
checkitemspace ITEM_SHELL_BELL, 1
compare RESULT, 0
diff --git a/data/scripts/maps/SlateportCity.inc b/data/scripts/maps/SlateportCity.inc
index d39f788d8..ae8534ad9 100644
--- a/data/scripts/maps/SlateportCity.inc
+++ b/data/scripts/maps/SlateportCity.inc
@@ -287,10 +287,10 @@ SlateportCity_EventScript_14BCFD:: @ 814BCFD
SlateportCity_EventScript_14BD06:: @ 814BD06
lock
faceplayer
- msgbox SlateportCity_Text_1650F1, 5
- compare RESULT, 1
+ msgbox SlateportCity_Text_1650F1, MSGBOX_YESNO
+ compare RESULT, YES
call_if 1, SlateportCity_EventScript_14BD28
- compare RESULT, 0
+ compare RESULT, NO
call_if 1, SlateportCity_EventScript_14BD31
release
end
diff --git a/data/scripts/maps/SlateportCity_Harbor.inc b/data/scripts/maps/SlateportCity_Harbor.inc
index 72f2d0382..4be5c6daf 100644
--- a/data/scripts/maps/SlateportCity_Harbor.inc
+++ b/data/scripts/maps/SlateportCity_Harbor.inc
@@ -190,8 +190,8 @@ SlateportCity_Harbor_EventScript_156135:: @ 8156135
end
SlateportCity_Harbor_EventScript_15613F:: @ 815613F
- msgbox SlateportCity_Harbor_Text_17FB81, 5
- compare RESULT, 0
+ msgbox SlateportCity_Harbor_Text_17FB81, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_15618A
setvar VAR_PORTHOLE_STATE, 1
call SlateportCity_Harbor_EventScript_156196
@@ -201,8 +201,8 @@ SlateportCity_Harbor_EventScript_15613F:: @ 815613F
end
SlateportCity_Harbor_EventScript_156167:: @ 8156167
- msgbox SlateportCity_Harbor_Text_17FB9C, 5
- compare RESULT, 0
+ msgbox SlateportCity_Harbor_Text_17FB9C, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_15618A
call SlateportCity_Harbor_EventScript_156196
warp MAP_BATTLE_TOWER_OUTSIDE, 255, 19, 23
@@ -332,8 +332,8 @@ SlateportCity_Harbor_EventScript_1562B3:: @ 81562B3
end
SlateportCity_Harbor_EventScript_1562EA:: @ 81562EA
- msgbox SlateportCity_Harbor_Text_1803DD, 5
- compare RESULT, 0
+ msgbox SlateportCity_Harbor_Text_1803DD, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_156374
giveitem_std ITEM_DEEP_SEA_TOOTH
compare RESULT, 0
@@ -345,8 +345,8 @@ SlateportCity_Harbor_EventScript_1562EA:: @ 81562EA
end
SlateportCity_Harbor_EventScript_15632A:: @ 815632A
- msgbox SlateportCity_Harbor_Text_180412, 5
- compare RESULT, 0
+ msgbox SlateportCity_Harbor_Text_180412, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_156374
giveitem_std ITEM_DEEP_SEA_SCALE
compare RESULT, 0
diff --git a/data/scripts/maps/SlateportCity_House1.inc b/data/scripts/maps/SlateportCity_House1.inc
index aa1157d7e..13de091cb 100644
--- a/data/scripts/maps/SlateportCity_House1.inc
+++ b/data/scripts/maps/SlateportCity_House1.inc
@@ -4,10 +4,10 @@ SlateportCity_House1_MapScripts:: @ 815567A
SlateportCity_House1_EventScript_15567B:: @ 815567B
lock
faceplayer
- msgbox SlateportCity_House1_Text_17D46A, 5
- compare RESULT, 1
+ msgbox SlateportCity_House1_Text_17D46A, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq SlateportCity_House1_EventScript_15569C
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq SlateportCity_House1_EventScript_1556BF
end
@@ -38,10 +38,10 @@ SlateportCity_House1_EventScript_1556C9:: @ 81556C9
special TV_CopyNicknameToStringVar1AndEnsureTerminated
compare RESULT, 1
goto_if_eq SlateportCity_House1_EventScript_155726
- msgbox SlateportCity_House1_Text_17D505, 5
- compare RESULT, 1
+ msgbox SlateportCity_House1_Text_17D505, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq SlateportCity_House1_EventScript_155730
- compare RESULT, 0
+ compare RESULT, NO
goto_if_eq SlateportCity_House1_EventScript_1556BF
end
diff --git a/data/scripts/maps/SlateportCity_OceanicMuseum_1F.inc b/data/scripts/maps/SlateportCity_OceanicMuseum_1F.inc
index ad349932a..5d0fdb411 100644
--- a/data/scripts/maps/SlateportCity_OceanicMuseum_1F.inc
+++ b/data/scripts/maps/SlateportCity_OceanicMuseum_1F.inc
@@ -33,8 +33,8 @@ SlateportCity_OceanicMuseum_1F_EventScript_155AF5:: @ 8155AF5
SlateportCity_OceanicMuseum_1F_EventScript_155B06:: @ 8155B06
showmoneybox 0, 0
nop
- msgbox SlateportCity_OceanicMuseum_1F_Text_17E18D, 5
- compare RESULT, 1
+ msgbox SlateportCity_OceanicMuseum_1F_Text_17E18D, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_155B2D
closemessage
hidemoneybox 0, 0
diff --git a/data/scripts/maps/SootopolisCity.inc b/data/scripts/maps/SootopolisCity.inc
index f2ccc9484..367677751 100644
--- a/data/scripts/maps/SootopolisCity.inc
+++ b/data/scripts/maps/SootopolisCity.inc
@@ -127,8 +127,8 @@ SootopolisCity_EventScript_14D220:: @ 814D220
end
SootopolisCity_EventScript_14D241:: @ 814D241
- msgbox SootopolisCity_Text_1C6540, 5
- compare RESULT, 1
+ msgbox SootopolisCity_Text_1C6540, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq SootopolisCity_EventScript_14D25E
msgbox SootopolisCity_Text_1C6626, 4
release
diff --git a/data/scripts/maps/SootopolisCity_House2.inc b/data/scripts/maps/SootopolisCity_House2.inc
index 011806291..e32e993dd 100644
--- a/data/scripts/maps/SootopolisCity_House2.inc
+++ b/data/scripts/maps/SootopolisCity_House2.inc
@@ -4,10 +4,10 @@ SootopolisCity_House2_MapScripts:: @ 815B2E4
SootopolisCity_House2_EventScript_15B2E5:: @ 815B2E5
lock
faceplayer
- msgbox SootopolisCity_House2_Text_18FA66, 5
- compare RESULT, 1
+ msgbox SootopolisCity_House2_Text_18FA66, MSGBOX_YESNO
+ compare RESULT, YES
call_if 1, SootopolisCity_House2_EventScript_15B307
- compare RESULT, 0
+ compare RESULT, NO
call_if 1, SootopolisCity_House2_EventScript_15B310
release
end
diff --git a/data/scripts/maps/SootopolisCity_House3.inc b/data/scripts/maps/SootopolisCity_House3.inc
index f1bf0bf19..6ffa30d3d 100644
--- a/data/scripts/maps/SootopolisCity_House3.inc
+++ b/data/scripts/maps/SootopolisCity_House3.inc
@@ -4,8 +4,8 @@ SootopolisCity_House3_MapScripts:: @ 815B319
SootopolisCity_House3_EventScript_15B31A:: @ 815B31A
lock
faceplayer
- msgbox SootopolisCity_House3_Text_18FB36, 5
- compare RESULT, 1
+ msgbox SootopolisCity_House3_Text_18FB36, MSGBOX_YESNO
+ compare RESULT, YES
goto_if_eq SootopolisCity_House3_EventScript_15B339
msgbox SootopolisCity_House3_Text_18FBC0, 4
release
diff --git a/data/scripts/maps/SootopolisCity_House6.inc b/data/scripts/maps/SootopolisCity_House6.inc
index fb91202f3..d2fb4ed7b 100644
--- a/data/scripts/maps/SootopolisCity_House6.inc
+++ b/data/scripts/maps/SootopolisCity_House6.inc
@@ -6,8 +6,8 @@ SootopolisCity_House6_EventScript_15B386:: @ 815B386
faceplayer
checkflag FLAG_RECEIVED_WAILMER_DOLL
goto_if_eq SootopolisCity_House6_EventScript_15B3CD
- msgbox SootopolisCity_House6_Text_18FEA1, 5
- compare RESULT, 0
+ msgbox SootopolisCity_House6_Text_18FEA1, MSGBOX_YESNO
+ compare RESULT, NO
call_if 1, SootopolisCity_House6_EventScript_15B3C3
msgbox SootopolisCity_House6_Text_18FF12, 4
givedecoration_std DECOR_WAILMER_DOLL
diff --git a/data/scripts/maps/SouthernIsland_Exterior.inc b/data/scripts/maps/SouthernIsland_Exterior.inc
index ab2a73460..874e3e901 100644
--- a/data/scripts/maps/SouthernIsland_Exterior.inc
+++ b/data/scripts/maps/SouthernIsland_Exterior.inc
@@ -9,8 +9,8 @@ SouthernIsland_Exterior_MapScript1_160ADC:: @ 8160ADC
SouthernIsland_Exterior_EventScript_160AE0:: @ 8160AE0
lock
faceplayer
- msgbox SouthernIsland_Exterior_Text_1C5215, 5
- compare RESULT, 0
+ msgbox SouthernIsland_Exterior_Text_1C5215, MSGBOX_YESNO
+ compare RESULT, NO
goto_if_eq SouthernIsland_Exterior_EventScript_160B25
msgbox SouthernIsland_Exterior_Text_1C5281, 4
closemessage