summaryrefslogtreecommitdiff
path: root/src/projectile/stalfosProjectile.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-11-04 20:56:03 -0700
committertheo3 <arisstephenson2@gmail.com>2021-11-04 20:56:03 -0700
commit9cfbb3a27a4c8be6adad1ab060db777b30d52ec2 (patch)
treef76a10c993a59a7775eea09f23b441746d9ceeb1 /src/projectile/stalfosProjectile.c
parent9ef31544e24c8b0a43b0d712eb77e9210d2641d3 (diff)
entity changes, textbox changes
Diffstat (limited to 'src/projectile/stalfosProjectile.c')
-rw-r--r--src/projectile/stalfosProjectile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/projectile/stalfosProjectile.c b/src/projectile/stalfosProjectile.c
index 0c48006f..fb75691e 100644
--- a/src/projectile/stalfosProjectile.c
+++ b/src/projectile/stalfosProjectile.c
@@ -33,7 +33,7 @@ void sub_080A9A34(Entity* this) {
if (this->bitfield == 0x9d) {
this->action = 3;
this->flags &= 0x7f;
- this->field_0x20 = 0x2a000;
+ this->hVelocity = 0x2a000;
this->spritePriority.b1 = 1;
}
}
@@ -77,7 +77,7 @@ void StalfosProjectile_Init(Entity* this) {
break;
case 2:
this->action = 3;
- this->field_0x20 = 0x2a000;
+ this->hVelocity = 0x2a000;
this->spritePriority.b1 = 1;
break;
default:
@@ -117,7 +117,7 @@ void StalfosProjectile_Action2(Entity* this) {
}
void StalfosProjectile_Action3(Entity* this) {
- if (this->field_0x20 < 0) {
+ if (this->hVelocity < 0) {
this->spriteSettings.b.flipY = 1;
}
if (sub_08003FC4(this, 0x2000) == 0) {