Match sub_080AA320

This commit is contained in:
hatal175
2022-01-11 14:17:58 +01:00
parent 688508b1af
commit 91e58924d6
2 changed files with 3 additions and 45 deletions
+3 -4
View File
@@ -275,7 +275,7 @@ bool32 sub_080AA2E0(Entity* this) {
return TRUE;
}
NONMATCH("asm/non_matching/mandiblesProjectile/sub_080AA320.inc", void sub_080AA320(Entity* this)) {
void sub_080AA320(Entity* this) {
u32 uVar2;
Entity* parent;
@@ -289,13 +289,12 @@ NONMATCH("asm/non_matching/mandiblesProjectile/sub_080AA320.inc", void sub_080AA
parent->speed = 0;
parent->direction = sub_08049F84(parent, 0);
// TODO regalloc
uVar2 = parent->direction + 4;
this->animationState = Direction8Round(uVar2) >> 2;
uVar2 = Direction8Round(parent->direction + 4);
this->animationState = uVar2 >> 2;
parent->animationState = DirectionRound(uVar2) >> 2;
sub_080AA3E0(parent, 1);
sub_080AA1D8(this);
}
END_NONMATCH
NONMATCH("asm/non_matching/mandiblesProjectile/sub_080AA374.inc", bool32 sub_080AA374(Entity* this)) {
u32 uVar1;