reset func for kafei (#255)

This commit is contained in:
Archez
2024-05-22 09:05:02 -05:00
committed by Garrett Cox
parent bbb0e2a4e0
commit 5860f829db
@@ -38,6 +38,7 @@ void EnTest3_Init(Actor* thisx, PlayState* play2);
void EnTest3_Destroy(Actor* thisx, PlayState* play2);
void EnTest3_Update(Actor* thisx, PlayState* play2);
void EnTest3_Draw(Actor* thisx, PlayState* play2);
void EnTest3_Reset(void);
// Functions used in D_80A4169C and D_80A416C0. Purpose unclear, but related to Schedule
s32 func_80A3E870(EnTest3* this, PlayState* play);
@@ -178,6 +179,7 @@ ActorInit En_Test3_InitVars = {
/**/ EnTest3_Destroy,
/**/ EnTest3_Update,
/**/ NULL,
/**/ EnTest3_Reset,
};
static struct_80A4168C D_80A4168C[] = {
@@ -1310,3 +1312,12 @@ void EnTest3_Draw(Actor* thisx, PlayState* play2) {
}
CLOSE_DISPS(play->state.gfxCtx);
}
void EnTest3_Reset(void) {
D_80A41D20 = 0;
D_80A41D24 = 0;
D_80A41D5C = 0;
D_80A41D60 = 0;
D_80A41D64 = 0;
D_80A41D68 = 0;
}