diff options
| author | theo3 <arisstephenson2@gmail.com> | 2021-12-28 12:08:30 -0800 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2021-12-28 12:08:30 -0800 |
| commit | 0f65f8fd5008d06defcfae6c9d66270ff45a8e49 (patch) | |
| tree | a00d4ffa13c5d1e950f38e1bb6fa0fdfc0a442c3 /src/enemy/vaatiWrath.c | |
| parent | 9456e38606b3ebfe388bd810a4187a5c06c97947 (diff) | |
Identify player functions and update asm.h
Diffstat (limited to 'src/enemy/vaatiWrath.c')
| -rw-r--r-- | src/enemy/vaatiWrath.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/enemy/vaatiWrath.c b/src/enemy/vaatiWrath.c index eef8e73e..49049925 100644 --- a/src/enemy/vaatiWrath.c +++ b/src/enemy/vaatiWrath.c @@ -1,13 +1,10 @@ #include "enemy.h" #include "object.h" #include "textbox.h" -#include "structures.h" #include "functions.h" #include "save.h" #include "screen.h" -extern u8 gEntCount; - void VaatiWrathType0PreAction(Entity*); u32 sub_08041FCC(Entity*); void sub_08042004(Entity*); @@ -380,7 +377,7 @@ void VaatiWrathType0Action7(Entity* this) { if (gRoomControls.roomOriginY + 0x48 != this->y.HALF.HI) { this->speed = 0x100; this->direction = ((gRoomControls.roomOriginY + 0x48) >= this->y.HALF.HI) ? 0x10 : 0; - sub_0806F69C(this); + LinearMoveUpdate(this); } else { if (--this->actionDelay == 0) { sub_08042050(this); @@ -391,7 +388,7 @@ void VaatiWrathType0Action7(Entity* this) { void VaatiWrathType0Action8(Entity* this) { sub_08042004(this); UpdateAnimationSingleFrame(this); - sub_0806F69C(this); + LinearMoveUpdate(this); if (((gRoomControls.roomOriginX + 0x20) > this->x.HALF.HI) || ((gRoomControls.roomOriginX + 0x140) < this->x.HALF.HI)) { if (0x3f < this->speed) { @@ -466,7 +463,7 @@ void VaatiWrathType0ActionA(Entity* this) { void VaatiWrathType0ActionB(Entity* this) { switch (this->subAction) { case 0: - sub_0806F69C(this); + LinearMoveUpdate(this); UpdateAnimationSingleFrame(this); GetNextFrame(((VaatiWrathHeapStruct*)this->myHeap)->type1); GetNextFrame(((VaatiWrathHeapStruct*)this->myHeap)->type2); @@ -527,7 +524,7 @@ void VaatiWrathType0ActionC(Entity* this) { if (this->actionDelay) { this->actionDelay--; } else { - sub_0806F69C(this); + LinearMoveUpdate(this); if (gRoomControls.roomOriginY + 0x48 == this->y.HALF.HI) { this->subAction = 2; InitializeAnimation(((VaatiWrathHeapStruct*)this->myHeap)->type1, 0x11); |
