summaryrefslogtreecommitdiff
path: root/data-de/field_move_scripts.inc
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2017-09-30 17:04:25 -0500
committercamthesaxman <cameronghall@cox.net>2017-09-30 17:04:25 -0500
commite926119b726839bc687c503db3680899906aad0d (patch)
tree2e906f0cfc5cdafbc25bc6d65ea1f6146b42b534 /data-de/field_move_scripts.inc
parent0f0f7856f135317f98de81675c98aa46564b59ee (diff)
update
Diffstat (limited to 'data-de/field_move_scripts.inc')
-rw-r--r--data-de/field_move_scripts.inc24
1 files changed, 12 insertions, 12 deletions
diff --git a/data-de/field_move_scripts.inc b/data-de/field_move_scripts.inc
index d218d834d..c2f933fe4 100644
--- a/data-de/field_move_scripts.inc
+++ b/data-de/field_move_scripts.inc
@@ -2,7 +2,7 @@ S_CuttableTree:: @ 81B0DCC
lockall
checkflag 2055
goto_if 0, CannotUseCut
- checkattack MOVE_CUT
+ checkpokemove MOVE_CUT
compare RESULT, 6
goto_if_eq CannotUseCut
setanimation 0, RESULT
@@ -12,7 +12,7 @@ S_CuttableTree:: @ 81B0DCC
compare RESULT, 0
goto_if_eq Cut_ChoseNo
msgbox UsedCutRockSmashText, 4
- closebutton
+ closemessage
doanimation 2
waitstate
goto DoTreeCutMovement
@@ -42,7 +42,7 @@ CannotUseCut: @ 81B0E32
end
Cut_ChoseNo: @ 81B0E3C
- closebutton
+ closemessage
releaseall
end
@@ -63,7 +63,7 @@ S_BreakableRock:: @ 81B0EB7
lockall
checkflag 2057
goto_if 0, CannotUseRockSmash
- checkattack MOVE_ROCK_SMASH
+ checkpokemove MOVE_ROCK_SMASH
compare RESULT, 6
goto_if_eq CannotUseRockSmash
setanimation 0, RESULT
@@ -73,7 +73,7 @@ S_BreakableRock:: @ 81B0EB7
compare RESULT, 0
goto_if_eq RockSmash_ChoseNo
msgbox UsedCutRockSmashText, 4
- closebutton
+ closemessage
doanimation 37
waitstate
goto DoRockSmashMovement
@@ -114,7 +114,7 @@ CannotUseRockSmash: @ 81B0F3E
end
RockSmash_ChoseNo: @ 81B0F48
- closebutton
+ closemessage
releaseall
end
@@ -132,14 +132,14 @@ S_PushableBoulder:: @ 81B0FCB
goto_if 0, CannotUseStrength
checkflag 2089
goto_if_eq AlreadyUsedStrength
- checkattack 70
+ checkpokemove 70
compare RESULT, 6
goto_if_eq CannotUseStrength
setanimation 0, RESULT
msgbox UseStrengthPromptText, 5
compare RESULT, 0
goto_if_eq Strength_ChoseNo
- closebutton
+ closemessage
doanimation 40
waitstate
goto UsedStrength
@@ -169,7 +169,7 @@ AlreadyUsedStrength: @ 81B1030
end
Strength_ChoseNo: @ 81B103A
- closebutton
+ closemessage
releaseall
end
@@ -193,7 +193,7 @@ AlreadyUsedStrengthText: @ 81B1127
S_UseWaterfall:: @ 81B115A
lockall
- checkattack MOVE_WATERFALL
+ checkpokemove MOVE_WATERFALL
compare RESULT, 6
goto_if_eq Waterfall_NoMonKnows
bufferpartypoke 0, RESULT
@@ -226,7 +226,7 @@ UsedWaterfallText: @ 81B120D
UseDiveScript:: @ 81B1220
lockall
- checkattack MOVE_DIVE
+ checkpokemove MOVE_DIVE
compare RESULT, 6
goto_if_eq CannotUseDive
bufferpartypoke 0, RESULT
@@ -249,7 +249,7 @@ Dive_Done: @ 81B1267
S_UseDiveUnderwater:: @ 81B1269
lockall
- checkattack MOVE_DIVE
+ checkpokemove MOVE_DIVE
compare RESULT, 6
goto_if_eq UnderwaterCannotUseDive
bufferpartypoke 0, RESULT