ZarokInit

This commit is contained in:
Alejandro Javier Asenjo Nitti 2023-09-15 12:47:39 -03:00
parent 9c1e81ab74
commit f2cffdc7d4
3 changed files with 19 additions and 2 deletions

View File

@ -1,4 +1,5 @@
BoulderDestroy = 0x80011128;
BoulderSmash = 0x8001119C;
GargoyleInit = 0x8001138C;
GargoyleDestroy = 0x8001140C;
GargoyleDestroy = 0x8001140C;
ZarokInit = 0x800118A4;

View File

@ -77,7 +77,15 @@ INCLUDE_ASM("asm/ovl/ch/nonmatchings/B0", func_80011700);
INCLUDE_ASM("asm/ovl/ch/nonmatchings/B0", func_80011854);
INCLUDE_ASM("asm/ovl/ch/nonmatchings/B0", func_800118A4);
void ZarokInit(void) {
Zarok* temp_s0 = (Zarok*)g_CurrentEntity->unk90;
func_80047FC8();
func_80046D74(1, 1);
temp_s0->unk4 = func_80049B64(43660, 1);
temp_s0->unk8 = func_80049B64(43659, 1);
temp_s0->unk3C = 0;
}
INCLUDE_ASM("asm/ovl/ch/nonmatchings/B0", func_80011904);

View File

@ -16,6 +16,14 @@ typedef struct Gargoyle {
/* 0x08 */ s32 unk8;
} Gargoyle;
typedef struct Zarok {
/* 0x00 */ char pad_0[0x4];
/* 0x04 */ s32 unk4;
/* 0x08 */ s32 unk8;
/* 0x0C */ char pad_0C[0x30];
/* 0x3C */ s16 unk3C;
} Zarok;
extern CVECTOR D_80014F78;
extern void func_8002BA9C(s32);