diff options
| author | theo3 <arisstephenson2@gmail.com> | 2022-03-28 19:51:32 -0700 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2022-03-28 20:10:22 -0700 |
| commit | 92240d43147dd36ed879ce1084f7ca6e35f1db96 (patch) | |
| tree | 78a3119e1cd63d4f3333a3cade6cc622cdcb6db1 /src/enemy/fallingBoulder.c | |
| parent | 755571834d4fc0e21fdd45b065728c87574a3a07 (diff) | |
name remaining entity fields
Diffstat (limited to 'src/enemy/fallingBoulder.c')
| -rw-r--r-- | src/enemy/fallingBoulder.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/enemy/fallingBoulder.c b/src/enemy/fallingBoulder.c index 828b3670..b8395ee5 100644 --- a/src/enemy/fallingBoulder.c +++ b/src/enemy/fallingBoulder.c @@ -36,7 +36,7 @@ void FallingBoulder_OnGrabbed(Entity* this) { void sub_0802C258(Entity* this) { sub_0804A720(this); this->zVelocity = Q_16_16(2.0); - this->actionDelay = 2; + this->timer = 2; this->field_0x7a.HWORD = Random() & 0x70; switch (this->type) { case 1: @@ -169,8 +169,8 @@ void sub_0802C4B0(Entity* this) { rand = Random() & 7; if (rand & 4) { - if (this->actionDelay != 0) { - this->actionDelay = 0; + if (this->timer != 0) { + this->timer = 0; InitializeAnimation(this, 0); } if (rand & 3) { @@ -179,8 +179,8 @@ void sub_0802C4B0(Entity* this) { this->direction = gUnk_080CD580[offset | 0]; } } else { - if (this->actionDelay != 1) { - this->actionDelay = 1; + if (this->timer != 1) { + this->timer = 1; InitializeAnimation(this, 1); } if (rand & 3) { |
