mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-04-26 10:25:49 -05:00
Fix follower NPC sidewaystair movement (#7909)
This commit is contained in:
parent
f8eed27ed0
commit
f6c6ed6956
|
|
@ -6591,7 +6591,7 @@ bool8 ObjectEventIsHeldMovementActive(struct ObjectEvent *objectEvent)
|
|||
|
||||
static u8 TryUpdateMovementActionOnStairs(struct ObjectEvent *objectEvent, u8 movementActionId)
|
||||
{
|
||||
if (objectEvent->isPlayer || objectEvent->localId == OBJ_EVENT_ID_FOLLOWER)
|
||||
if (objectEvent->isPlayer || objectEvent->localId == OBJ_EVENT_ID_FOLLOWER || objectEvent->localId == OBJ_EVENT_ID_NPC_FOLLOWER)
|
||||
return movementActionId; // handled separately
|
||||
|
||||
if (!ObjectMovingOnRockStairs(objectEvent, objectEvent->movementDirection))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user