diff options
| author | theo3 <arisstephenson2@gmail.com> | 2023-12-30 20:05:32 -0800 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2023-12-30 20:05:32 -0800 |
| commit | 201955ea052a5188f2e59bdcdbf6c52ff158ee66 (patch) | |
| tree | 66474a7515b56c90e1d0b94a0a39f42da6677d71 /src/enemy/rope.c | |
| parent | 37714644960c56650dd1067b86aafa685eaf01f4 (diff) | |
create enemy struct and enemy flags
Diffstat (limited to 'src/enemy/rope.c')
| -rw-r--r-- | src/enemy/rope.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/enemy/rope.c b/src/enemy/rope.c index 79fa291b..51e71250 100644 --- a/src/enemy/rope.c +++ b/src/enemy/rope.c @@ -42,7 +42,7 @@ u32 sub_0803163C(RopeEntity* this); void Rope(RopeEntity* this) { EnemyFunctionHandler(super, (EntityActionArray)Rope_Functions); - SetChildOffset(super, 0, 1, -16); + EnemySetFXOffset(super, 0, 1, -16); } void Rope_OnTick(RopeEntity* this) { @@ -62,7 +62,7 @@ void Rope_OnCollision(RopeEntity* this) { sub_08031600(this); } if (super->confusedTime) { - Create0x68FX(super, FX_STARS); + EnemyCreateFX(super, FX_STARS); } EnemyFunctionHandlerAfterCollision(super, Rope_Functions); } |
