Updated Surfing Dismount Ground Effects (markdown)

ghoulslash 2020-07-24 11:23:13 -06:00
parent bcfbcf6a14
commit d3e4c8f5ab
1 changed files with 0 additions and 1 deletions

@ -10,7 +10,6 @@ In vanilla emerald, the ground effects are not updated at the end of the surf di
This fix is very simple. Open [src/field_player_avatar.c](../blob/master/src/field_player_avatar.c) and find the function `Task_WaitStopSurfing`. Before the line `DestroyTask(taskId)`, add the following: This fix is very simple. Open [src/field_player_avatar.c](../blob/master/src/field_player_avatar.c) and find the function `Task_WaitStopSurfing`. Before the line `DestroyTask(taskId)`, add the following:
```c ```c
playerObjEvent->triggerGroundEffectsOnMove = TRUE; playerObjEvent->triggerGroundEffectsOnMove = TRUE;
MovementType_Player(&gSprites[gPlayerAvatar.spriteId]);
``` ```
That's it! That's it!