mirror of https://github.com/pret/pokeemerald.git
Updated Surfing Dismount Ground Effects (markdown)
parent
bcfbcf6a14
commit
d3e4c8f5ab
|
@ -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!
|
Loading…
Reference in New Issue