diff options
| author | Theo <65437533+notyourav@users.noreply.github.com> | 2023-12-30 20:07:35 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-30 20:07:35 -0800 |
| commit | bd1be092aa85e4eb1d368bef05c88eaae2a0ae84 (patch) | |
| tree | 66474a7515b56c90e1d0b94a0a39f42da6677d71 /src/enemy/pesto.c | |
| parent | 37714644960c56650dd1067b86aafa685eaf01f4 (diff) | |
| parent | 201955ea052a5188f2e59bdcdbf6c52ff158ee66 (diff) | |
Merge pull request #681 from notyourav/em
create enemy struct and enemy flags
Diffstat (limited to 'src/enemy/pesto.c')
| -rw-r--r-- | src/enemy/pesto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/enemy/pesto.c b/src/enemy/pesto.c index 037bd7db..b3f6cfdc 100644 --- a/src/enemy/pesto.c +++ b/src/enemy/pesto.c @@ -185,7 +185,7 @@ void sub_080240B8(PestoEntity* this) { Entity* entity; this->unk_83 = 0; - entity = CreateProjectileWithParent(super, DIRT_BALL_PROJECTILE, this->unk_83); + entity = EnemyCreateProjectile(super, DIRT_BALL_PROJECTILE, this->unk_83); if (entity != NULL) { super->child = entity; entity->parent = super; @@ -428,7 +428,7 @@ void sub_080244E8(PestoEntity* this) { super->z.HALF.HI -= 0xe; this->unk_78 -= 0xe; - entity = CreateProjectileWithParent(super, DIRT_BALL_PROJECTILE, this->unk_83); + entity = EnemyCreateProjectile(super, DIRT_BALL_PROJECTILE, this->unk_83); if (entity != NULL) { entity->parent = super; entity->z.HALF.HI += 0xe; @@ -451,7 +451,7 @@ void sub_080244E8(PestoEntity* this) { super->z.HALF.HI -= 0xe; this->unk_78 -= 0xe; - entity = CreateProjectileWithParent(super, DIRT_BALL_PROJECTILE, this->unk_83); + entity = EnemyCreateProjectile(super, DIRT_BALL_PROJECTILE, this->unk_83); if (entity != NULL) { entity->parent = super; entity->z.HALF.HI += 0xe; |
