summaryrefslogtreecommitdiff
path: root/src/enemy/spearMoblin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/enemy/spearMoblin.c')
-rw-r--r--src/enemy/spearMoblin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/enemy/spearMoblin.c b/src/enemy/spearMoblin.c
index 089f0ba8..ac61f57e 100644
--- a/src/enemy/spearMoblin.c
+++ b/src/enemy/spearMoblin.c
@@ -42,7 +42,7 @@ extern const Hitbox* const gUnk_080CC944[];
void SpearMoblin(SpearMoblinEntity* this) {
EnemyFunctionHandler(super, (EntityActionArray)SpearMoblin_Functions);
- SetChildOffset(super, 0, 1, -0x20);
+ EnemySetFXOffset(super, 0, 1, -0x20);
if (super->child && super->child->next) {
CopyPosition(super, super->child);
}
@@ -54,7 +54,7 @@ void SpearMoblin_OnTick(SpearMoblinEntity* this) {
void SpearMoblin_OnCollision(SpearMoblinEntity* this) {
if (super->confusedTime != 0)
- Create0x68FX(super, FX_STARS);
+ EnemyCreateFX(super, FX_STARS);
EnemyFunctionHandlerAfterCollision(super, SpearMoblin_Functions);
if (super->contactFlags & 0x80) {