fix rock climb not unfreezing objects. Thx Sph. Ice

This commit is contained in:
Evan 2021-02-07 11:44:40 -07:00
parent 1df5aef162
commit df145ecb24

View File

@ -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);