summaryrefslogtreecommitdiff
path: root/src/enemy/spikedBeetle.c
diff options
context:
space:
mode:
authorHenny022p <info@henny022.de>2021-03-15 22:56:23 +0100
committerHenny022p <info@henny022.de>2021-03-15 22:56:23 +0100
commita2cdfd6d8dd910aa402b7e6bdf32278ac9b80c50 (patch)
treedd9524198ad151c49eb01e92f46743e6e306673e /src/enemy/spikedBeetle.c
parentaac7eb743646634c1476141ba5d07da53ab56193 (diff)
parente09678c6ab4d6c1070495cf8b49b8b3dffefc4af (diff)
Merge branch 'master' into cleanup_declarations
Diffstat (limited to 'src/enemy/spikedBeetle.c')
-rw-r--r--src/enemy/spikedBeetle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/enemy/spikedBeetle.c b/src/enemy/spikedBeetle.c
index 57d11579..6075879b 100644
--- a/src/enemy/spikedBeetle.c
+++ b/src/enemy/spikedBeetle.c
@@ -50,7 +50,7 @@ void sub_0802B628(Entity* this) {
if (this->action < 6) {
this->action = 6;
this->field_0x20 = 0x18000;
- this->nonPlanarMovement = 0xc0;
+ this->speed = 0xc0;
this->direction = this->field_0x3e;
this->field_0x42 = 0;
this->hurtBlinkTime = -8;
@@ -100,7 +100,7 @@ void sub_0802B7A4(Entity* this) {
if (--this->actionDelay == 0) {
this->action = 1;
this->actionDelay = gUnk_080CD314[Random() & 3];
- this->nonPlanarMovement = 0x60;
+ this->speed = 0x60;
sub_0802B960(this);
if (this->direction != 0xff) {
u32 animation = this->direction >> 3;
@@ -117,7 +117,7 @@ void sub_0802B7FC(Entity* this) {
if (--this->actionDelay == 0) {
this->action = 4;
this->actionDelay = 0x78;
- this->nonPlanarMovement = 0x1c0;
+ this->speed = 0x1c0;
}
}
@@ -167,7 +167,7 @@ void sub_0802B8E0(Entity* this) {
} else {
this->action = 8;
this->field_0x20 = 0x10000;
- this->nonPlanarMovement = 0x60;
+ this->speed = 0x60;
this->damageType = 99;
InitializeAnimation(this, this->animationState);
EnqueueSFX(299);