Check for 'incorporeal' as part of the sprint/mount available

arr-p5
Liza 2024-06-19 09:46:08 +02:00
parent 0ac2757a57
commit 09d50b1305
Signed by: liza
GPG Key ID: 7199F8D727D55F67
1 changed files with 4 additions and 3 deletions

View File

@ -235,8 +235,6 @@ internal sealed unsafe class GameFunctions
public bool TeleportAetheryte(uint aetheryteId)
{
if (IsAetheryteUnlocked(aetheryteId, out var subIndex))
{
if (aetheryteId == PlayerState.Instance()->HomeAetheryteId &&
@ -518,7 +516,10 @@ internal sealed unsafe class GameFunctions
{
var battleChara = (BattleChara*)gameObject;
StatusManager* statusManager = battleChara->GetStatusManager;
return statusManager->HasStatus(565) || statusManager->HasStatus(404) || statusManager->HasStatus(2730);
return statusManager->HasStatus(565) ||
statusManager->HasStatus(404) ||
statusManager->HasStatus(2729) ||
statusManager->HasStatus(2730);
}
return false;