Field effect for cutting grass is missing setfieldeffectargument. Issue #5766 (#5952)

This commit is contained in:
shachar700
2025-01-05 17:45:21 +02:00
committed by GitHub
parent c6d92eaf80
commit cbd0b3ef0c
3 changed files with 14 additions and 1 deletions

View File

@@ -385,6 +385,18 @@ EventScript_UseDig::
lockall
goto EventScript_DigCommon
EventScript_CutGrassCommon:
isfollowerfieldmoveuser VAR_0x8004
setfieldeffectargument 3, VAR_0x8004 @ skip pose if true
dofieldeffect FLDEFF_USE_CUT_ON_GRASS
waitstate
@ Use Cut grass from party menu
EventScript_UseCutGrass::
lockall
goto EventScript_CutGrassCommon
Text_CantDive:
.string "The sea is deep here. A POKéMON\n"
.string "may be able to go underwater.$"