1
0
forked from liza/Questionable

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

This commit is contained in:
Liza 2024-06-19 09:46:08 +02:00
parent 0ac2757a57
commit 09d50b1305
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

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