mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-25 19:24:16 +01:00
Fix by ghoulslash for surf dismount ground effects
This commit is contained in:
parent
88a2e3a957
commit
0a2aacd446
@ -1701,6 +1701,7 @@ static void Task_WaitStopSurfing(u8 taskId)
|
|||||||
gPlayerAvatar.preventStep = FALSE;
|
gPlayerAvatar.preventStep = FALSE;
|
||||||
UnlockPlayerFieldControls();
|
UnlockPlayerFieldControls();
|
||||||
DestroySprite(&gSprites[playerObjEvent->fieldEffectSpriteId]);
|
DestroySprite(&gSprites[playerObjEvent->fieldEffectSpriteId]);
|
||||||
|
playerObjEvent->triggerGroundEffectsOnMove = TRUE;
|
||||||
DestroyTask(taskId);
|
DestroyTask(taskId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user