From df5e1c63c08d74c7c558f7863e7fc1feac39aa2c Mon Sep 17 00:00:00 2001 From: mzxrules Date: Wed, 28 Jul 2021 17:59:52 -0400 Subject: z_en_ko OK (#869) * .data OK * Progress * push some old stuff * Finish a chain * Progress * Progress * Run mathfixer.py * Progress * match one more * Up to date * Match func_80A97610 * func_80A96FD0 * most of the way through the mega switch * small formatting thing. still stuck on the switch * start a big switch function * a little closer * done with matching for now starting objects * func_80A97738 OK! * func_80A995CC OK! * func_80A99864 OK! * en_ko OK! * Code clean-up pass * more EnKo cleanups, object_fa and object_kw1 textures documented * complete object_km1, more EnKo documentation * More documentation * delete asm * Clean-up rebase issues * bleh * Implement Dragorn's suggestions * fix spec, implement fig's suggestions * whoops (ill leave it for the docs tho lol) * whoops again * i made an ouchie * smile * last one for real Co-authored-by: Louis <35883445+louist103@users.noreply.github.com> Co-authored-by: fig02 --- src/code/code_800EC960.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/code/code_800EC960.c') diff --git a/src/code/code_800EC960.c b/src/code/code_800EC960.c index f6cd65611..dfd5fc01b 100644 --- a/src/code/code_800EC960.c +++ b/src/code/code_800EC960.c @@ -812,8 +812,9 @@ void func_800EDD68(u8 arg0) { for (j = 0; j < 9 - gOcarinaSongNotes[i].len; j++) { for (k = 0; k < gOcarinaSongNotes[i].len && k + j < 8 && gOcarinaSongNotes[i].notesIdx[k] == gOcarinaSongNotes[0xC].notesIdx[k + j]; - k++) + k++) { ; + } if (k == gOcarinaSongNotes[i].len) { D_80131858 = 0xFF; @@ -1445,8 +1446,9 @@ void func_800F2464(void) { phi_v1 = 9; } D_8016E2E0[D_80131F04] = D_8016E2E0[phi_v1]; - if (!D_80131F08) + if (!D_80131F08) { ; + } D_8016E2F8[D_80131F04] = D_8016E2F8[phi_v1]; } } else { -- cgit v1.2.3