summaryrefslogtreecommitdiff
path: root/data/scripts/field_move_scripts.inc
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2018-01-18 12:53:31 -0500
committerscnorton <scnorton@biociphers.org>2018-01-18 12:53:31 -0500
commitc6ff1a6ce39cb67c6de21f2e4938ea62c97ee7e5 (patch)
tree47e2f5eaa84c3cc97b96bdf06170136abe446d81 /data/scripts/field_move_scripts.inc
parent3c2b1731eeb7037a1b681444b1c126fc239a904e (diff)
parent24e0edee9f428a68715c47051ebba3cda5a3e5a7 (diff)
Merge branch 'master' into link
Diffstat (limited to 'data/scripts/field_move_scripts.inc')
-rw-r--r--data/scripts/field_move_scripts.inc28
1 files changed, 14 insertions, 14 deletions
diff --git a/data/scripts/field_move_scripts.inc b/data/scripts/field_move_scripts.inc
index 76f2aac6b..44631cc20 100644
--- a/data/scripts/field_move_scripts.inc
+++ b/data/scripts/field_move_scripts.inc
@@ -13,13 +13,13 @@ Route123_EventScript_2906BB:: @ 82906BB
checkflag FLAG_BADGE01_GET
goto_if 0, Route103_EventScript_290721
checkpartymove MOVE_CUT
- compare_var_to_value VAR_RESULT, 6
+ compare VAR_RESULT, 6
goto_eq Route103_EventScript_290721
setfieldeffectargument 0, VAR_RESULT
bufferpartymonnick 0, VAR_RESULT
buffermovename 1, MOVE_CUT
msgbox Route103_Text_29072E, 5
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_eq Route103_EventScript_29072B
msgbox Route103_Text_290771, 4
closemessage
@@ -87,13 +87,13 @@ VictoryRoad_B1F_EventScript_2907A6:: @ 82907A6
checkflag FLAG_BADGE03_GET
goto_if 0, Route111_EventScript_29082D
checkpartymove MOVE_ROCK_SMASH
- compare_var_to_value VAR_RESULT, 6
+ compare VAR_RESULT, 6
goto_eq Route111_EventScript_29082D
setfieldeffectargument 0, VAR_RESULT
bufferpartymonnick 0, VAR_RESULT
buffermovename 1, MOVE_ROCK_SMASH
msgbox Route111_Text_29083A, 5
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_eq Route111_EventScript_290837
msgbox Route111_Text_290771, 4
closemessage
@@ -114,10 +114,10 @@ Route111_EventScript_2907FB:: @ 82907FB
waitmovement 0
removeobject VAR_LAST_TALKED
specialvar VAR_RESULT, sub_81393FC
- compare_var_to_value VAR_RESULT, 1
+ compare VAR_RESULT, 1
goto_eq Route111_EventScript_290829
special RockSmashWildEncounter
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_eq Route111_EventScript_290829
waitstate
releaseall
@@ -165,11 +165,11 @@ VictoryRoad_B1F_EventScript_2908BA:: @ 82908BA
checkflag FLAG_SYS_USE_STRENGTH
goto_eq FieryPath_EventScript_29091F
checkpartymove MOVE_STRENGTH
- compare_var_to_value VAR_RESULT, 6
+ compare VAR_RESULT, 6
goto_eq FieryPath_EventScript_290915
setfieldeffectargument 0, VAR_RESULT
msgbox FieryPath_Text_29092C, 5
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_eq FieryPath_EventScript_290929
closemessage
dofieldeffect 40
@@ -226,12 +226,12 @@ FieryPath_Text_290A16: @ 8290A16
EventScript_290A49:: @ 8290A49
lockall
checkpartymove MOVE_WATERFALL
- compare_var_to_value VAR_RESULT, 6
+ compare VAR_RESULT, 6
goto_eq EventScript_290A84
bufferpartymonnick 0, VAR_RESULT
setfieldeffectargument 0, VAR_RESULT
msgbox Text_290AC3, 5
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_eq EventScript_290A8C
msgbox Text_290AFC, 4
dofieldeffect 43
@@ -261,13 +261,13 @@ Text_290AFC: @ 8290AFC
EventScript_290B0F:: @ 8290B0F
lockall
checkpartymove MOVE_DIVE
- compare_var_to_value VAR_RESULT, 6
+ compare VAR_RESULT, 6
goto_eq EventScript_290B4E
bufferpartymonnick 0, VAR_RESULT
setfieldeffectargument 0, VAR_RESULT
setfieldeffectargument 1, 1
msgbox Text_290BE8, 5
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_eq EventScript_290B58
msgbox Text_290C1A, 4
dofieldeffect 44
@@ -286,13 +286,13 @@ EventScript_290B58:: @ 8290B58
EventScript_290B5A:: @ 8290B5A
lockall
checkpartymove MOVE_DIVE
- compare_var_to_value VAR_RESULT, 6
+ compare VAR_RESULT, 6
goto_eq EventScript_290B99
bufferpartymonnick 0, VAR_RESULT
setfieldeffectargument 0, VAR_RESULT
setfieldeffectargument 1, 1
msgbox Text_290C6E, 5
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_eq EventScript_290BA8
msgbox Text_290C1A, 4
dofieldeffect 44