2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-18 09:25:33 +00:00

CDrone: Implement AttackOver

This commit is contained in:
2020-09-09 02:29:58 -04:00
parent aba51246d8
commit fb7e8cd65a
2 changed files with 3 additions and 0 deletions

View File

@@ -768,6 +768,8 @@ bool CDrone::SpotPlayer(CStateManager& mgr, float arg) {
bool CDrone::AnimOver(CStateManager& mgr, float arg) { return x7c8_ == 2; }
bool CDrone::AttackOver(CStateManager& mgr, float arg) { return x834_31_attackOver; }
bool CDrone::ShouldAttack(CStateManager& mgr, float arg) {
if (x5d0_ > 0.f)
return false;