diff options
| -rw-r--r-- | mm/src/overlays/actors/ovl_En_Ot/z_en_ot.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mm/src/overlays/actors/ovl_En_Ot/z_en_ot.c b/mm/src/overlays/actors/ovl_En_Ot/z_en_ot.c index 35daa0fa1..14c32690f 100644 --- a/mm/src/overlays/actors/ovl_En_Ot/z_en_ot.c +++ b/mm/src/overlays/actors/ovl_En_Ot/z_en_ot.c @@ -14,6 +14,7 @@ void EnOt_Init(Actor* thisx, PlayState* play); void EnOt_Destroy(Actor* thisx, PlayState* play); void EnOt_Update(Actor* thisx, PlayState* play); void EnOt_Draw(Actor* thisx, PlayState* play); +void EnOt_Reset(void); void func_80B5BDA8(EnOt* this, PlayState* play); void func_80B5BE04(EnOt* this, PlayState* play); @@ -70,6 +71,7 @@ ActorProfile En_Ot_Profile = { /**/ EnOt_Destroy, /**/ EnOt_Update, /**/ EnOt_Draw, + /**/ EnOt_Reset, }; static ColliderCylinderInit sCylinderInit = { @@ -1200,3 +1202,9 @@ void func_80B5E1D8(PlayState* play, EnOtUnkStruct* arg1, s32 arg2) { CLOSE_DISPS(play->state.gfxCtx); } + +void EnOt_Reset(void) { + D_80B5E880 = NULL; + D_80B5E884 = NULL; + D_80B5E888 = NULL; +} |
