diff options
| author | Eblo <7004497+Eblo@users.noreply.github.com> | 2026-01-16 18:37:43 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-16 17:37:43 -0600 |
| commit | c83b446bebec5b7d884d7136310897e1e836e4ac (patch) | |
| tree | 65192f3028a79ec22d1ae51c43add4627fec7a0a | |
| parent | 090bfc0a030aab5f3ccbb94d512a70c6c972a4a8 (diff) | |
Add EnOt reset function (#1457)develop-mion
| -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; +} |
