summaryrefslogtreecommitdiff
path: root/src/object/heartContainer.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/heartContainer.c
parent755571834d4fc0e21fdd45b065728c87574a3a07 (diff)
name remaining entity fields
Diffstat (limited to 'src/object/heartContainer.c')
-rw-r--r--src/object/heartContainer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object/heartContainer.c b/src/object/heartContainer.c
index 421990cb..89f7cc8e 100644
--- a/src/object/heartContainer.c
+++ b/src/object/heartContainer.c
@@ -44,13 +44,13 @@ static void sub_0808E6E4(Entity* this) {
}
static void sub_0808E714(Entity* this) {
- int var0 = 0x400 - this->field_0xf * 8;
+ int var0 = 0x400 - this->subtimer * 8;
if (var0 > 0x100) {
- this->field_0xf++;
+ this->subtimer++;
SetAffineInfo(this, var0, var0, 0);
} else {
this->action = 3;
- this->field_0x3c |= 0x10;
+ this->collisionFlags |= 0x10;
sub_0805EC60(this);
SoundReq(SFX_HEART_CONTAINER_SPAWN);
}