through PlayerSetAnimId; some quest log doc

This commit is contained in:
PikalaxALT
2020-03-24 08:56:14 -04:00
parent 58535acf88
commit 87b2c7f34b
9 changed files with 284 additions and 326 deletions
+15
View File
@@ -764,3 +764,18 @@ u8 PlayerGetCopyableMovement(void)
{
return gObjectEvents[gPlayerAvatar.objectEventId].playerCopyableMovement;
}
void PlayerForceSetHeldMovement(u8 a)
{
ObjectEventForceSetHeldMovement(&gObjectEvents[gPlayerAvatar.objectEventId], a);
}
void PlayerSetAnimId(u8 movementActionId, u8 copyableMovement)
{
if (!PlayerIsAnimActive())
{
PlayerSetCopyableMovement(copyableMovement);
if (!ObjectEventSetHeldMovement(&gObjectEvents[gPlayerAvatar.objectEventId], movementActionId))
sub_8112628(movementActionId);
}
}