summaryrefslogtreecommitdiff
path: root/src/object/backgroundCloud.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2022-03-28 19:51:32 -0700
committertheo3 <arisstephenson2@gmail.com>2022-03-28 20:10:22 -0700
commit92240d43147dd36ed879ce1084f7ca6e35f1db96 (patch)
tree78a3119e1cd63d4f3333a3cade6cc622cdcb6db1 /src/object/backgroundCloud.c
parent755571834d4fc0e21fdd45b065728c87574a3a07 (diff)
name remaining entity fields
Diffstat (limited to 'src/object/backgroundCloud.c')
-rw-r--r--src/object/backgroundCloud.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object/backgroundCloud.c b/src/object/backgroundCloud.c
index 176bdd58..617ce505 100644
--- a/src/object/backgroundCloud.c
+++ b/src/object/backgroundCloud.c
@@ -21,7 +21,7 @@ void sub_0808F658(Entity* this) {
this->field_0x7a.HWORD = gRoomControls.origin_x + gRoomControls.width + 0x60;
this->animationState = 0;
this->x.HALF.HI += (Random() & 0xf) << 4;
- this->actionDelay = 0;
+ this->timer = 0;
this->subAction = 0;
}
@@ -35,7 +35,7 @@ void sub_0808F6E0(Entity* this) {
void sub_0808F70C(Entity* this) {
if (this->subAction == 0) {
this->subAction = 1;
- this->actionDelay = ((Random() & 7) << 3) + 31;
+ this->timer = ((Random() & 7) << 3) + 31;
if ((this->direction & 0x10)) {
this->x.HALF.HI = this->field_0x7a.HWORD;
@@ -48,7 +48,7 @@ void sub_0808F70C(Entity* this) {
}
if (this->subAction == 1) {
- if (--this->actionDelay == 0) {
+ if (--this->timer == 0) {
this->action = 1;
this->subAction = 0;
}