mirror of
https://github.com/HarbourMasters/2ship2harkinian.git
synced 2024-11-27 00:00:32 +00:00
Add reset functions to some great bay temple things (#387)
This commit is contained in:
parent
2bdce2e1e5
commit
0775c6e291
@ -17,6 +17,7 @@ void BgDblueMovebg_Init(Actor* thisx, PlayState* play);
|
||||
void BgDblueMovebg_Destroy(Actor* thisx, PlayState* play);
|
||||
void BgDblueMovebg_Update(Actor* thisx, PlayState* play);
|
||||
void BgDblueMovebg_Draw(Actor* thisx, PlayState* play2);
|
||||
void BgDblueMovebg_Reset(void);
|
||||
|
||||
void func_80A2A1E0(BgDblueMovebg* this, PlayState* play);
|
||||
void func_80A2A32C(BgDblueMovebg* this, PlayState* play);
|
||||
@ -55,6 +56,7 @@ ActorInit Bg_Dblue_Movebg_InitVars = {
|
||||
/**/ BgDblueMovebg_Destroy,
|
||||
/**/ BgDblueMovebg_Update,
|
||||
/**/ BgDblueMovebg_Draw,
|
||||
/**/ BgDblueMovebg_Reset,
|
||||
};
|
||||
|
||||
static Gfx* sOpaDLists[] = {
|
||||
@ -863,3 +865,9 @@ void BgDblueMovebg_Draw(Actor* thisx, PlayState* play2) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void BgDblueMovebg_Reset(void) {
|
||||
D_80A2BBF0 = NULL;
|
||||
D_80A2BBF4.unk_00 = 0;
|
||||
D_80A2BBF4.unk_01 = 0;
|
||||
}
|
||||
|
@ -15,6 +15,7 @@ void ObjHunsui_Init(Actor* thisx, PlayState* play);
|
||||
void ObjHunsui_Destroy(Actor* thisx, PlayState* play);
|
||||
void ObjHunsui_Update(Actor* thisx, PlayState* play);
|
||||
void ObjHunsui_Draw(Actor* thisx, PlayState* play);
|
||||
void ObjHunsui_Reset(void);
|
||||
|
||||
void func_80B9CE64(ObjHunsui* this, PlayState* play);
|
||||
void func_80B9D0FC(ObjHunsui* this, PlayState* play);
|
||||
@ -56,6 +57,7 @@ ActorInit Obj_Hunsui_InitVars = {
|
||||
/**/ ObjHunsui_Destroy,
|
||||
/**/ ObjHunsui_Update,
|
||||
/**/ ObjHunsui_Draw,
|
||||
/**/ ObjHunsui_Reset,
|
||||
};
|
||||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
@ -681,3 +683,9 @@ void func_80B9DA60(Actor* thisx, PlayState* play) {
|
||||
CLOSE_DISPS(play->state.gfxCtx);
|
||||
}
|
||||
}
|
||||
|
||||
void ObjHunsui_Reset(void) {
|
||||
D_80B9DED8.unk_00 = 0;
|
||||
D_80B9DED8.unk_01 = 0;
|
||||
D_80B9DED8.unk_02 = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user