fix rock climb not unfreezing objects. Thx Sph. Ice
This commit is contained in:
parent
1df5aef162
commit
df145ecb24
@ -4143,6 +4143,7 @@ static bool8 RockClimb_WaitStopRockClimb(struct Task *task, struct ObjectEvent *
|
||||
ObjectEventSetGraphicsId(objectEvent, GetPlayerAvatarGraphicsIdByStateId(PLAYER_AVATAR_STATE_NORMAL));
|
||||
ObjectEventSetHeldMovement(objectEvent, GetFaceDirectionMovementAction(objectEvent->facingDirection));
|
||||
gPlayerAvatar.preventStep = FALSE;
|
||||
UnfreezeObjectEvents();
|
||||
ScriptContext2_Disable();
|
||||
DestroySprite(&gSprites[objectEvent->fieldEffectSpriteId]);
|
||||
FieldEffectActiveListRemove(FLDEFF_USE_ROCK_CLIMB);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user