core2/code_5C870.c

This commit is contained in:
Banjo Kazooie
2022-08-03 15:20:56 -05:00
parent dd088afb72
commit 11073b4bca
10 changed files with 428 additions and 88 deletions

View File

@@ -2,6 +2,12 @@
#include "functions.h"
#include "variables.h"
/* .data */
s16 D_80368930[3] = {
ASSET_700_SPRITE_DUST,
ASSET_702_SPRITE_UNKNOWN,
ASSET_70D_SPRITE_SMOKE_1
};
/* .bss */
u8 D_80380910[3];
@@ -19,8 +25,20 @@ bool func_802EE5F0(s32 arg0){
return (arg0 < 3) ? !func_802EF648(func_802F0EF0(D_80380910[arg0])) : FALSE;
}
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_67650/func_802EE63C.s")
void func_802EE63C(void) {
s32 i;
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_67650/func_802EE684.s")
for(i = 0; i < 3; i++){
D_80380910[i] = func_802F0F78(0x20);
}
}
void func_802EE684(void) {
s32 i;
for(i = 0; i < 3; i++){
func_802F1190(D_80380910[i]);
}
}
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_67650/func_802EE6CC.s")