ksys/act: Implement the rest of AIClassDef

This commit is contained in:
Léo Lam
2020-12-05 12:39:29 +01:00
parent fd2f653b6f
commit d3b065bfa2
4 changed files with 291 additions and 26 deletions
@@ -375,7 +375,7 @@ bool AIProgram::parseDefParams(AIProgram::Definition* def, void* buffer, sead::H
} else if (&mBehaviors == buffer) {
AIClassDef::instance()->getDef(&aidef, def->mClassName, AIDefInstParamKind::Static,
AIDefType::Behavior);
*param1 = aidef.calc_timing;
*param1 = u16(aidef.calc_timing);
*param2 = aidef.no_stop;
} else {
AIClassDef::instance()->getDef(&aidef, def->mClassName, AIDefInstParamKind::Static,