core2/code_5DBC0.c done

This commit is contained in:
Banjo Kazooie 2022-11-27 13:21:33 -06:00
parent 1f8c460fe1
commit d0fd443274
5 changed files with 10 additions and 16 deletions

View File

@ -1,4 +1,4 @@
# banjo (94.6127%)
# banjo (94.6191%)
<img src="./progress/progress_total.svg">

View File

@ -686,7 +686,7 @@ segments:
- [0xFB1810, c, code_5BEB0]
- [0xFB1BA0, c, code_5C240] #DONE
- [0xFB21D0, c, code_5C870] #DONE
- [0xFB3520, c, code_5DBC0]
- [0xFB3520, c, code_5DBC0] #DONE
- [0xFB5460, c, code_5FB00] #DONE
- [0xFB56E0, c, code_5FD80] #DONE
- [0xFB56F0, c, code_5FD90]

View File

@ -17,7 +17,7 @@
<text x="22.0" y="14">core2</text>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">93.1420%</text>
<text x="77.5" y="14">93.1420%</text>
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">93.1531%</text>
<text x="77.5" y="14">93.1531%</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -17,7 +17,7 @@
<text x="75.0" y="14">Banjo-Kazooie (us.v10)</text>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">94.6127%</text>
<text x="183.5" y="14">94.6127%</text>
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">94.6191%</text>
<text x="183.5" y="14">94.6191%</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -97,22 +97,16 @@ void func_802E4C78(void){
D_8037E900 = NULL;
}
#ifndef NONMATCHING
s32 func_802E4CF8(u8);
#pragma GLOBAL_ASM("asm/nonmatchings/core2/code_5DBC0/func_802E4CF8.s")
#else
s32 func_802E4CF8(u8 arg0) {
u32 var_v1;
for(var_v1 = D_8037E900->unk10; var_v1 > 0; var_v1--){
if (arg0 == D_8037E900->unk4[var_v1 - 1].font_id) {
return var_v1 - 1;
var_v1 = D_8037E900->unk10;
while(var_v1--){
if (arg0 == D_8037E900->unk4[var_v1].font_id) {
return var_v1;
}
}
return -1;
}
#endif
BKSpriteTextureBlock *func_802E4D5C(s32 arg0, char arg1){
return D_8037E900->unk4[arg0].letter_texture[arg1 - 0x21];