summaryrefslogtreecommitdiff
path: root/src/enemy/enemy4D.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2022-02-06 20:01:41 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2022-02-12 20:03:27 +0100
commitd6c79aa26346afc85bcfa724d3c086fb06c888dc (patch)
tree72b882ddb8ba879c7ab3a405641965bdf4fdf79b /src/enemy/enemy4D.c
parent75c57e31240c706e1ca9364954970861c1a85e78 (diff)
Rename enemy functions
Diffstat (limited to 'src/enemy/enemy4D.c')
-rw-r--r--src/enemy/enemy4D.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/enemy/enemy4D.c b/src/enemy/enemy4D.c
index d06ec59c..616a52a2 100644
--- a/src/enemy/enemy4D.c
+++ b/src/enemy/enemy4D.c
@@ -12,31 +12,31 @@
extern void sub_0803EE8C(Entity*);
-extern void (*const gUnk_080D0880[])(Entity*);
+extern void (*const Enemy4D_Functions[])(Entity*);
extern void (*const gUnk_080D0898[])(Entity*);
void Enemy4D(Entity* this) {
- EnemyFunctionHandler(this, gUnk_080D0880);
+ EnemyFunctionHandler(this, Enemy4D_Functions);
}
-void sub_0803EAFC(Entity* this) {
+void Enemy4D_OnTick(Entity* this) {
gUnk_080D0898[this->action](this);
}
-void sub_0803EB14(Entity* this) {
- sub_0804AA30(this, gUnk_080D0880);
+void Enemy4D_OnCollision(Entity* this) {
+ EnemyFunctionHandlerAfterCollision(this, Enemy4D_Functions);
}
-void sub_0803EB24(Entity* this) {
- sub_08001324(this);
- sub_0803EAFC(this);
+void Enemy4D_OnKnockback(Entity* this) {
+ GenericKnockback(this);
+ Enemy4D_OnTick(this);
}
-void sub_0803EB34(Entity* this) {
+void Enemy4D_OnDeath(Entity* this) {
CreateDeathFx(this, 0xff, 0x57);
}
-void nullsub_21(Entity* this) {
+void Enemy4D_OnGrabbed(Entity* this) {
}
void sub_0803EB44(Entity* this) {