Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Jan 5, 2025

Conversation

shachar700
Copy link

Description

Issue:
The field effect for cutting grass is not behaving consistently. This is due to the gFieldEffectArguments[3] not getting set properly, which is then checked in Task_DoFieldMove_Init. The other field moves have an associated script that does

isfollowerfieldmoveuser VAR_0x8004
setfieldeffectargument 3, VAR_0x8004 @ skip pose if true

but as the field move cut grass doesn't have an associated event script, it's also missing this check
Fix:
Added a script to cut grass like the other field effects. This will set field argument for the field effect animation (the player pulling the pokeball) to display before cutting grass.

Images

2025-01-04.18-23-20.mp4

Issue(s) that this PR fixes

Fixes #5766

People who collaborated with me in this PR

@Kasenn for finding the source of the issue, @hedara90 for the help with github

Feature(s) this PR does NOT handle:

Things to note in the release changelog:

Discord contact info

shachar700 (Shahar#3810)

@hedara90 hedara90 added the bugfix Bugfixes label Jan 5, 2025
src/fldeff_cut.c Outdated Show resolved Hide resolved
@hedara90 hedara90 merged commit cbd0b3e into rh-hideout:master Jan 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Field effect for cutting grass is missing setfieldeffectargument
2 participants