summaryrefslogtreecommitdiff
path: root/data/scripts/field_move_scripts.inc
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-11-02 12:34:53 -0400
committerhuderlem <huderlem@gmail.com>2019-11-02 16:36:43 -0500
commit033c6cea3bbd982b7c60ee4fe5bee477e8d8773e (patch)
tree973d57f63ac5dfcd2cde5e59e6fd7c2fa22a3219 /data/scripts/field_move_scripts.inc
parenta90b828bb8838f4500a4d91899bce2bc946e847b (diff)
Use YES/NO constants for MSGBOX_YESNO
Diffstat (limited to 'data/scripts/field_move_scripts.inc')
-rw-r--r--data/scripts/field_move_scripts.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/data/scripts/field_move_scripts.inc b/data/scripts/field_move_scripts.inc
index bd98a3676..56e3297b6 100644
--- a/data/scripts/field_move_scripts.inc
+++ b/data/scripts/field_move_scripts.inc
@@ -9,7 +9,7 @@ EventScript_CutTree:: @ 82906BB
bufferpartymonnick 0, VAR_RESULT
buffermovename 1, MOVE_CUT
msgbox Text_WantToCut, MSGBOX_YESNO
- compare VAR_RESULT, 0
+ compare VAR_RESULT, NO
goto_if_eq EventScript_CancelCut
msgbox Text_MonUsedFieldMove, MSGBOX_DEFAULT
closemessage
@@ -68,7 +68,7 @@ EventScript_RockSmash:: @ 82907A6
bufferpartymonnick 0, VAR_RESULT
buffermovename 1, MOVE_ROCK_SMASH
msgbox Text_WantToSmash, MSGBOX_YESNO
- compare VAR_RESULT, 0
+ compare VAR_RESULT, NO
goto_if_eq EventScript_CancelSmash
msgbox Text_MonUsedFieldMove, MSGBOX_DEFAULT
closemessage
@@ -133,7 +133,7 @@ EventScript_StrengthBoulder:: @ 82908BA
goto_if_eq EventScript_CantStrength
setfieldeffectargument 0, VAR_RESULT
msgbox Text_WantToStrength, MSGBOX_YESNO
- compare VAR_RESULT, 0
+ compare VAR_RESULT, NO
goto_if_eq EventScript_CancelStrength
closemessage
dofieldeffect FLDEFF_USE_STRENGTH
@@ -195,7 +195,7 @@ EventScript_UseWaterfall:: @ 8290A49
bufferpartymonnick 0, VAR_RESULT
setfieldeffectargument 0, VAR_RESULT
msgbox Text_WantToWaterfall, MSGBOX_YESNO
- compare VAR_RESULT, 0
+ compare VAR_RESULT, NO
goto_if_eq EventScript_EndWaterfall
msgbox Text_MonUsedWaterfall, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_WATERFALL
@@ -231,7 +231,7 @@ EventScript_UseDive:: @ 8290B0F
setfieldeffectargument 0, VAR_RESULT
setfieldeffectargument 1, 1
msgbox Text_WantToDive, MSGBOX_YESNO
- compare VAR_RESULT, 0
+ compare VAR_RESULT, NO
goto_if_eq EventScript_EndDive
msgbox Text_MonUsedDive, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_DIVE
@@ -256,7 +256,7 @@ EventScript_UseDiveUnderwater:: @ 8290B5A
setfieldeffectargument 0, VAR_RESULT
setfieldeffectargument 1, 1
msgbox Text_WantToSurface, MSGBOX_YESNO
- compare VAR_RESULT, 0
+ compare VAR_RESULT, NO
goto_if_eq EventScript_EndSurface
msgbox Text_MonUsedDive, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_DIVE