Add combat_ai_num

This commit is contained in:
Alexander Batalov 2023-07-24 08:27:42 +03:00
parent f93aa710a4
commit e0e0db219c
2 changed files with 7 additions and 0 deletions

View File

@ -701,6 +701,12 @@ static int aiPacketWrite(File* stream, AiPacket* ai)
return 0; return 0;
} }
// 0x428058
int combat_ai_num()
{
return gAiPacketsLength;
}
// Get ai from object // Get ai from object
// //
// 0x4280B4 // 0x4280B4

View File

@ -30,6 +30,7 @@ void aiReset();
int aiExit(); int aiExit();
int aiLoad(File* stream); int aiLoad(File* stream);
int aiSave(File* stream); int aiSave(File* stream);
int combat_ai_num();
int aiGetAreaAttackMode(Object* obj); int aiGetAreaAttackMode(Object* obj);
int aiGetRunAwayMode(Object* obj); int aiGetRunAwayMode(Object* obj);
int aiGetBestWeapon(Object* obj); int aiGetBestWeapon(Object* obj);