forked from DizzyEggg/pokeemerald
-
Notifications
You must be signed in to change notification settings - Fork 3
Surfing Dismount Ground Effects
ghoulslash edited this page Jul 24, 2020
·
2 revisions
In vanilla emerald, the ground effects are not updated at the end of the surf dismount code. So if you dismount into tall grass, for example, you will appear over the grass. This is subtle but easily fixable so why not do so for consistency!
Before After
This fix is very simple. Open src/field_player_avatar.c and find the function Task_WaitStopSurfing
. Before the line DestroyTask(taskId)
, add the following:
playerObjEvent->triggerGroundEffectsOnMove = TRUE;
That's it!