diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2022-02-06 20:01:41 +0100 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2022-02-12 20:03:27 +0100 |
| commit | d6c79aa26346afc85bcfa724d3c086fb06c888dc (patch) | |
| tree | 72b882ddb8ba879c7ab3a405641965bdf4fdf79b /src/enemy/fallingBoulder.c | |
| parent | 75c57e31240c706e1ca9364954970861c1a85e78 (diff) | |
Rename enemy functions
Diffstat (limited to 'src/enemy/fallingBoulder.c')
| -rw-r--r-- | src/enemy/fallingBoulder.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/enemy/fallingBoulder.c b/src/enemy/fallingBoulder.c index 1bb932af..5c483e4b 100644 --- a/src/enemy/fallingBoulder.c +++ b/src/enemy/fallingBoulder.c @@ -11,7 +11,7 @@ void sub_0802C4B0(Entity*); void sub_0802C62C(Entity*); -extern void (*const gUnk_080CD540[])(Entity*); +extern void (*const FallingBoulder_Functions[])(Entity*); extern void (*const gUnk_080CD558[])(Entity*); extern const u16 gUnk_080CD568[]; extern const u8 gUnk_080CD580[]; @@ -20,18 +20,18 @@ extern const s16 gUnk_080CD58C[]; extern void sub_080AEFB4(Entity*); void FallingBoulder(Entity* this) { - EnemyFunctionHandler(this, gUnk_080CD540); + EnemyFunctionHandler(this, FallingBoulder_Functions); } -void sub_0802C238(Entity* this) { +void FallingBoulder_OnTick(Entity* this) { gUnk_080CD558[this->action](this); } -void sub_0802C250(Entity* this) { +void FallingBoulder_OnCollision(Entity* this) { /* ... */ } -void sub_0802C254(Entity* this) { +void FallingBoulder_OnGrabbed(Entity* this) { /* ... */ } @@ -219,13 +219,13 @@ void sub_0802C62C(Entity* this) { } // clang-format off -void (*const gUnk_080CD540[])(Entity*) = { - sub_0802C238, - sub_0802C250, - sub_08001324, - sub_0804A7D4, - sub_08001242, - sub_0802C254, +void (*const FallingBoulder_Functions[])(Entity*) = { + FallingBoulder_OnTick, + FallingBoulder_OnCollision, + GenericKnockback, + GenericDeath, + GenericConfused, + FallingBoulder_OnGrabbed, }; void (*const gUnk_080CD558[])(Entity*) = { |
