mirror of
https://github.com/pret/pokeemerald.git
synced 2026-10-01 22:38:10 -05:00
fix rock climb not unfreezing objects. Thx Sph. Ice
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user