summaryrefslogtreecommitdiff
path: root/data-de/field_move_scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data-de/field_move_scripts.inc')
-rw-r--r--data-de/field_move_scripts.inc42
1 files changed, 21 insertions, 21 deletions
diff --git a/data-de/field_move_scripts.inc b/data-de/field_move_scripts.inc
index 559eaf0ab..2b86dc4dc 100644
--- a/data-de/field_move_scripts.inc
+++ b/data-de/field_move_scripts.inc
@@ -2,12 +2,12 @@ S_CuttableTree:: @ 81B0DCC
lockall
checkflag FLAG_BADGE01_GET
goto_if 0, CannotUseCut
- checkpokemove MOVE_CUT
+ checkpartymove MOVE_CUT
compare RESULT, 6
goto_if_eq CannotUseCut
- setfieldeffect 0, RESULT
- getpartypokename 0, RESULT
- getmovename 1, MOVE_CUT
+ setfieldeffectargument 0, RESULT
+ bufferpartymonnick 0, RESULT
+ buffermovename 1, MOVE_CUT
msgbox UseCutPromptText, 5
compare RESULT, 0
goto_if_eq Cut_ChoseNo
@@ -63,12 +63,12 @@ S_BreakableRock:: @ 81B0EB7
lockall
checkflag FLAG_BADGE03_GET
goto_if 0, CannotUseRockSmash
- checkpokemove MOVE_ROCK_SMASH
+ checkpartymove MOVE_ROCK_SMASH
compare RESULT, 6
goto_if_eq CannotUseRockSmash
- setfieldeffect 0, RESULT
- getpartypokename 0, RESULT
- getmovename 1, MOVE_ROCK_SMASH
+ setfieldeffectargument 0, RESULT
+ bufferpartymonnick 0, RESULT
+ buffermovename 1, MOVE_ROCK_SMASH
msgbox UseRockSmashPromptText, 5
compare RESULT, 0
goto_if_eq RockSmash_ChoseNo
@@ -132,10 +132,10 @@ S_PushableBoulder:: @ 81B0FCB
goto_if 0, CannotUseStrength
checkflag FLAG_SYS_USE_STRENGTH
goto_if_eq AlreadyUsedStrength
- checkpokemove 70
+ checkpartymove 70
compare RESULT, 6
goto_if_eq CannotUseStrength
- setfieldeffect 0, RESULT
+ setfieldeffectargument 0, RESULT
msgbox UseStrengthPromptText, 5
compare RESULT, 0
goto_if_eq Strength_ChoseNo
@@ -193,11 +193,11 @@ AlreadyUsedStrengthText: @ 81B1127
S_UseWaterfall:: @ 81B115A
lockall
- checkpokemove MOVE_WATERFALL
+ checkpartymove MOVE_WATERFALL
compare RESULT, 6
goto_if_eq Waterfall_NoMonKnows
- getpartypokename 0, RESULT
- setfieldeffect 0, RESULT
+ bufferpartymonnick 0, RESULT
+ setfieldeffectargument 0, RESULT
msgbox UseWaterfallPromptText, 5
compare RESULT, 0
goto_if_eq Waterfall_Done
@@ -226,12 +226,12 @@ UsedWaterfallText: @ 81B120D
UseDiveScript:: @ 81B1220
lockall
- checkpokemove MOVE_DIVE
+ checkpartymove MOVE_DIVE
compare RESULT, 6
goto_if_eq CannotUseDive
- getpartypokename 0, RESULT
- setfieldeffect 0, RESULT
- setfieldeffect 1, 1
+ bufferpartymonnick 0, RESULT
+ setfieldeffectargument 0, RESULT
+ setfieldeffectargument 1, 1
msgbox UseDivePromptText, 5
compare RESULT, 0
goto_if_eq Dive_Done
@@ -249,12 +249,12 @@ Dive_Done: @ 81B1267
S_UseDiveUnderwater:: @ 81B1269
lockall
- checkpokemove MOVE_DIVE
+ checkpartymove MOVE_DIVE
compare RESULT, 6
goto_if_eq UnderwaterCannotUseDive
- getpartypokename 0, RESULT
- setfieldeffect 0, RESULT
- setfieldeffect 1, 1
+ bufferpartymonnick 0, RESULT
+ setfieldeffectargument 0, RESULT
+ setfieldeffectargument 1, 1
msgbox UnderwaterUseDivePromptText, 5
compare RESULT, 0
goto_if_eq UnderwaterDive_Done