mirror of
https://github.com/zeldaret/tmc
synced 2026-09-06 19:10:56 -04:00
Extract entity definitions
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "audio.h"
|
||||
|
||||
extern s32 sub_080AF090(Entity*);
|
||||
extern s32 sub_080A7EB0(Entity*);
|
||||
extern s32 IsProjectileOffScreen(Entity*);
|
||||
extern void sub_08016AD2(Entity*);
|
||||
|
||||
extern void (*const WindProjectile_Actions[])(Entity*);
|
||||
@@ -60,7 +60,7 @@ void WindProjectile_Action1(Entity* this) {
|
||||
void WindProjectile_Action2(Entity* this) {
|
||||
GetNextFrame(this);
|
||||
if (sub_080AF090(this) != 0) {
|
||||
if (sub_080A7EB0(this) != 0) {
|
||||
if (IsProjectileOffScreen(this) != 0) {
|
||||
DeleteEntity(this);
|
||||
} else {
|
||||
sub_08016AD2(this);
|
||||
|
||||
Reference in New Issue
Block a user