diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-04-10 14:51:55 -0700 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-04-10 14:51:55 -0700 |
commit | 38e8741b5a6f9f210a739c442b9db9f01bfba2e6 (patch) | |
tree | 163ae64ff9420ac7881bc6fc126c296c2f6dfccc /data-de/field_move_scripts.inc | |
parent | d96e37aa67e8eee13dab6db60f8e742e3eaff8d7 (diff) |
Use FLDEFF_* constants in scripts
Diffstat (limited to 'data-de/field_move_scripts.inc')
-rw-r--r-- | data-de/field_move_scripts.inc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/data-de/field_move_scripts.inc b/data-de/field_move_scripts.inc index 981e4fed9..63240a9fb 100644 --- a/data-de/field_move_scripts.inc +++ b/data-de/field_move_scripts.inc @@ -12,14 +12,14 @@ S_CuttableTree:: @ 81B0DCC goto_if_eq Cut_ChoseNo msgbox UsedCutRockSmashText, 4 closemessage - dofieldeffect 2 + dofieldeffect FLDEFF_USE_CUT_ON_TREE waitstate goto DoTreeCutMovement end DoCutFieldEffectScript:: @ 81B0E16 lockall - dofieldeffect 2 + dofieldeffect FLDEFF_USE_CUT_ON_TREE waitstate goto DoTreeCutMovement end @@ -72,14 +72,14 @@ S_BreakableRock:: @ 81B0EB7 goto_if_eq RockSmash_ChoseNo msgbox UsedCutRockSmashText, 4 closemessage - dofieldeffect 37 + dofieldeffect FLDEFF_USE_ROCK_SMASH waitstate goto DoRockSmashMovement end S_UseRockSmash:: @ 81B0F01 lockall - dofieldeffect 37 + dofieldeffect FLDEFF_USE_ROCK_SMASH waitstate goto DoRockSmashMovement end @@ -136,14 +136,14 @@ S_PushableBoulder:: @ 81B0FCB compare RESULT, NO goto_if_eq Strength_ChoseNo closemessage - dofieldeffect 40 + dofieldeffect FLDEFF_USE_STRENGTH waitstate goto UsedStrength end S_UseStrength:: @ 81B100E lockall - dofieldeffect 40 + dofieldeffect FLDEFF_USE_STRENGTH waitstate goto UsedStrength end @@ -198,7 +198,7 @@ S_UseWaterfall:: @ 81B115A compare RESULT, NO goto_if_eq Waterfall_Done msgbox UsedWaterfallText, 4 - dofieldeffect 43 + dofieldeffect FLDEFF_USE_WATERFALL goto Waterfall_Done S_CannotUseWaterfall:: @ 81B1194 @@ -232,7 +232,7 @@ UseDiveScript:: @ 81B1220 compare RESULT, NO goto_if_eq Dive_Done msgbox UsedDiveText, 4 - dofieldeffect 44 + dofieldeffect FLDEFF_USE_DIVE goto Dive_Done lockall @@ -255,7 +255,7 @@ S_UseDiveUnderwater:: @ 81B1269 compare RESULT, NO goto_if_eq UnderwaterDive_Done msgbox UsedDiveText, 4 - dofieldeffect 44 + dofieldeffect FLDEFF_USE_DIVE goto UnderwaterDive_Done UnderwaterCannotUseDive: @ 81B12A7 |