summaryrefslogtreecommitdiff
path: root/src/enemy/peahat.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2022-01-03 23:58:02 -0800
committertheo3 <arisstephenson2@gmail.com>2022-01-03 23:58:02 -0800
commit52db70bb9d63a801f76b2fe6b359bd402a2c5b2a (patch)
treea38de84a806c50f765d0370a2668a695038eb894 /src/enemy/peahat.c
parentf26b2e286a7f462947b395da259e185fc8ecfa7f (diff)
naming work
Diffstat (limited to 'src/enemy/peahat.c')
-rw-r--r--src/enemy/peahat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enemy/peahat.c b/src/enemy/peahat.c
index 08ec53a4..e8353ae5 100644
--- a/src/enemy/peahat.c
+++ b/src/enemy/peahat.c
@@ -195,7 +195,7 @@ void Peahat_ChargeTarget(Entity* this) {
if (this->actionDelay & 1)
this->speed += 4;
- if ((gScreenTransition.frameCount & 3) == 0)
+ if ((gRoomTransition.frameCount & 3) == 0)
sub_08004596(this, GetFacingDirection(this, gUnk_020000B0));
}
sub_080AEFE0(this);