mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-17 21:35:11 +00:00
BgGanonOtyuka_Update
This commit is contained in:
parent
c20d8db4a8
commit
a03c89906b
2 changed files with 8 additions and 2 deletions
|
@ -131,7 +131,13 @@ void BgGanonOtyuka_Destroy(Actor* thisx, GlobalContext* globalCtx) {
|
||||||
|
|
||||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Ganon_Otyuka/func_808760DC.s")
|
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Ganon_Otyuka/func_808760DC.s")
|
||||||
|
|
||||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Ganon_Otyuka/BgGanonOtyuka_Update.s")
|
void BgGanonOtyuka_Update(Actor* thisx, GlobalContext* globalCtx) {
|
||||||
|
BgGanonOtyuka* this = THIS;
|
||||||
|
|
||||||
|
this->actionFunc(this, globalCtx);
|
||||||
|
this->unk_16D++;
|
||||||
|
DECR(this->unk_168);
|
||||||
|
}
|
||||||
|
|
||||||
void BgGanonOtyuka_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
void BgGanonOtyuka_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
||||||
BgGanonOtyuka* this = THIS;
|
BgGanonOtyuka* this = THIS;
|
||||||
|
|
|
@ -11,7 +11,7 @@ typedef void (*BgGanonOtyukaActionFunc)(struct BgGanonOtyuka*, GlobalContext*);
|
||||||
typedef struct BgGanonOtyuka {
|
typedef struct BgGanonOtyuka {
|
||||||
/* 0x0000 */ DynaPolyActor dyna;
|
/* 0x0000 */ DynaPolyActor dyna;
|
||||||
/* 0x0164 */ BgGanonOtyukaActionFunc actionFunc;
|
/* 0x0164 */ BgGanonOtyukaActionFunc actionFunc;
|
||||||
/* 0x0168 */ char unk_168[0x02];
|
/* 0x0168 */ s16 unk_168;
|
||||||
/* 0x016A */ u8 unk_16A;
|
/* 0x016A */ u8 unk_16A;
|
||||||
/* 0x016B */ u8 unk_16B;
|
/* 0x016B */ u8 unk_16B;
|
||||||
/* 0x016C */ u8 unk_16C;
|
/* 0x016C */ u8 unk_16C;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue