diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2025-06-26 02:24:16 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-25 20:24:16 -0600 |
| commit | 1b3977676fe0b33df48666d319915df748279fb8 (patch) | |
| tree | 8446e1b036ea238d9df7f7284a9d16550499fa76 | |
| parent | d8579a4d4d9c56bbaf1bbdc00d1c39249e3b35ad (diff) | |
fix trophy for 50 and 150 (#374)
| -rw-r--r-- | src/menu_items.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/menu_items.c b/src/menu_items.c index 9d58ddfa3..75291f8ab 100644 --- a/src/menu_items.c +++ b/src/menu_items.c @@ -802,14 +802,11 @@ MenuTexture* D_800E7DC4[] = { D_020051A0, }; -// Unused? +// trophy textures MkAnimation* D_800E7E14[] = { D_020020BC, D_020020CC, D_020020DC, -}; - -MkAnimation* D_800E7E20[] = { D_020020DC, D_020020EC, D_020020FC, D_0200210C, D_0200210C, }; @@ -5800,7 +5797,7 @@ void add_menu_item(s32 type, s32 column, s32 row, s8 priority) { var_ra->param1 = (s32) GetCupIndex(); var_ra->param2 = func_800B54C0(GetCupIndex(), gCCSelection); var_ra->D_8018DEE0_index = animate_character_select_menu( - segmented_to_virtual_dupe_2(D_800E7E20[((gCCSelection / 2) * 4) - var_ra->param2])); + segmented_to_virtual_dupe_2(D_800E7E14[((gCCSelection / 2) * 4) - var_ra->param2 + 3])); var_ra->column = D_800E7268[0].column; var_ra->row = D_800E7268[0].row; break; @@ -10770,7 +10767,7 @@ void func_800AB9B0(MenuItem* arg0) { arg0->param1 = GetCupIndex(); arg0->param2 = func_800B54C0((s32) GetCupIndex(), gCCSelection); func_8009A594(arg0->D_8018DEE0_index, 0, - segmented_to_virtual_dupe_2(D_800E7E20[((gCCSelection / 2) * 4) - arg0->param2])); + segmented_to_virtual_dupe_2(D_800E7E14[((gCCSelection / 2) * 4) - arg0->param2 + 3])); arg0->column = (s32) D_800E7268->column; arg0->row = D_800E7268->row; } |
