summaryrefslogtreecommitdiff
path: root/src/enemy/keaton.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2023-12-30 20:05:32 -0800
committertheo3 <arisstephenson2@gmail.com>2023-12-30 20:05:32 -0800
commit201955ea052a5188f2e59bdcdbf6c52ff158ee66 (patch)
tree66474a7515b56c90e1d0b94a0a39f42da6677d71 /src/enemy/keaton.c
parent37714644960c56650dd1067b86aafa685eaf01f4 (diff)
create enemy struct and enemy flags
Diffstat (limited to 'src/enemy/keaton.c')
-rw-r--r--src/enemy/keaton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/enemy/keaton.c b/src/enemy/keaton.c
index c92b2ade..d499adad 100644
--- a/src/enemy/keaton.c
+++ b/src/enemy/keaton.c
@@ -51,7 +51,7 @@ void sub_080327E0(KeatonEntity* this);
void Keaton(KeatonEntity* this) {
EnemyFunctionHandler(super, (EntityActionArray)Keaton_Functions);
- SetChildOffset(super, 0, 1, -18);
+ EnemySetFXOffset(super, 0, 1, -18);
}
void Keaton_OnTick(KeatonEntity* this) {
@@ -75,7 +75,7 @@ void Keaton_OnCollision(KeatonEntity* this) {
}
}
if (super->confusedTime != 0) {
- Create0x68FX(super, FX_STARS);
+ EnemyCreateFX(super, FX_STARS);
}
EnemyFunctionHandlerAfterCollision(super, Keaton_Functions);
}
@@ -262,7 +262,7 @@ void sub_08032794(KeatonEntity* this) {
void sub_080327C8(KeatonEntity* this) {
Entity* child;
- child = CreateProjectileWithParent(super, KEATON_DAGGER, 0);
+ child = EnemyCreateProjectile(super, KEATON_DAGGER, 0);
if (child != NULL) {
child->parent = super;
super->child = child;