summaryrefslogtreecommitdiff
path: root/src/enemy/sluggula.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/enemy/sluggula.c')
-rw-r--r--src/enemy/sluggula.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/enemy/sluggula.c b/src/enemy/sluggula.c
index a5bf26bb..c2cf7d5f 100644
--- a/src/enemy/sluggula.c
+++ b/src/enemy/sluggula.c
@@ -4,7 +4,7 @@
*
* @brief Sluggula enemy
*/
-
+#define NENT_DEPRECATED
#include "enemy.h"
#include "physics.h"
@@ -129,9 +129,9 @@ void sub_08023CE0(Entity* this) {
GetNextFrame(this);
if (this->frame) {
if (this->frame & ANIM_DONE) {
- Entity* ent = CreateEnemy(SLUGGULA, 1);
- if (ent != NULL) {
- sub_0804A4E4(this, ent);
+ Entity* entity = CreateEnemy(SLUGGULA, 1);
+ if (entity != NULL) {
+ sub_0804A4E4(this, entity);
DeleteThisEntity();
}
} else {
@@ -156,14 +156,14 @@ void sub_08023E10(Entity* this) {
}
void sub_08023E54(Entity* this) {
- Entity* ent;
+ Entity* entity;
if (this->subtimer++ > 27) {
this->subtimer = 0;
- ent = CreateEnemy(SLUGGULA, 2);
- if (ent != NULL) {
+ entity = CreateEnemy(SLUGGULA, 2);
+ if (entity != NULL) {
const s8* ptr = &gUnk_080CBDF7[this->animationState * 2];
- PositionRelative(this, ent, Q_16_16(ptr[0]), Q_16_16(ptr[1]));
+ PositionRelative(this, entity, Q_16_16(ptr[0]), Q_16_16(ptr[1]));
}
}
}