Add OnActorKill & OnEnemyDefeat hooks (#3112)
* Add OnActorKill & OnEnemyDefeat hooks * Remove commented out code * Re-run build * Add missing include statements
This commit is contained in:
@@ -1147,6 +1147,7 @@ s32 func_8002D53C(PlayState* play, TitleCardContext* titleCtx) {
|
||||
}
|
||||
|
||||
void Actor_Kill(Actor* actor) {
|
||||
GameInteractor_ExecuteOnActorKill(actor);
|
||||
actor->draw = NULL;
|
||||
actor->update = NULL;
|
||||
actor->flags &= ~ACTOR_FLAG_TARGETABLE;
|
||||
|
||||
Reference in New Issue
Block a user