summaryrefslogtreecommitdiff
path: root/src/enemy/peahat.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/enemy/peahat.c
parent9ef31544e24c8b0a43b0d712eb77e9210d2641d3 (diff)
entity changes, textbox changes
Diffstat (limited to 'src/enemy/peahat.c')
-rw-r--r--src/enemy/peahat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/enemy/peahat.c b/src/enemy/peahat.c
index 597ab1da..9a96a72d 100644
--- a/src/enemy/peahat.c
+++ b/src/enemy/peahat.c
@@ -260,7 +260,7 @@ void Peahat_RepairPropeller(Entity* this) {
return;
this->action = 9;
- this->field_0x20 = 0x18000;
+ this->hVelocity = 0x18000;
this->direction = Random() & 0x1f;
sub_0804AA1C(this);
this->animationState = PeahatAnimation_RepairPropeller;
@@ -286,7 +286,7 @@ void Peahat_Hop(Entity* this) {
if (--this->actionDelay == 0) {
if (this->frames.all & 0x80) {
this->action = 9;
- this->field_0x20 = 0x18000;
+ this->hVelocity = 0x18000;
this->animationState = PeahatAnimation_NewPropeller;
InitializeAnimation(this, this->animationState);
} else {