Skip to content

Commit

Permalink
225
Browse files Browse the repository at this point in the history
  • Loading branch information
Niko committed Oct 15, 2024
1 parent e0ff9d1 commit 175e073
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions decompile/General/225/225_Full.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ void DECOMP_VB_EndEvent_DrawMenu(void)
int iVar11;
u_int uVar13;
int iVar14;
char acStack160[24];
short asStack128[4];
u_short uStack112;
short sStack104;
u_short uStack96;
Expand All @@ -61,7 +59,9 @@ void DECOMP_VB_EndEvent_DrawMenu(void)
uStack88 = 1;
sStack80 = 0;

memset(asStack128, 0, 8);
short asStack128[4];
*(int*)&asStack128[0] = 0;
*(int*)&asStack128[2] = 0;

sStack72 = 0;
gGT = sdata->gGT;
Expand Down Expand Up @@ -263,12 +263,12 @@ void DECOMP_VB_EndEvent_DrawMenu(void)
iVar2 = iVar10 + 1;

// string for each player rank and count from standings (0x1e80)
sprintf(acStack160, "%d%s-%2.02ld", iVar2,
sdata->lngStrings[((short *)0x800a0200)[iVar10]],
sprintf(0x1f800000, "%d%s-%2.02ld", iVar2,
sdata->lngStrings[0x19+iVar10],
(gGT->standingsPoints[gGT->battleSetup.unk1dc8[iVar11] * 3 + iVar10]));

// Draw string
DecalFont_DrawLine(acStack160, (pos[0] + 0x79), ((uStack112 - (iVar6 * 4 + -0xd)) + iVar10 * 8), 2, uVar7);
DecalFont_DrawLine(0x1f800000, (pos[0] + 0x79), ((uStack112 - (iVar6 * 4 + -0xd)) + iVar10 * 8), 2, uVar7);
}
}

Expand All @@ -291,10 +291,10 @@ void DECOMP_VB_EndEvent_DrawMenu(void)
iStack44 = iStack44 + FPS_DOUBLE(5);

sStack80 = gGT->battleSetup.unk_afterTeams[gGT->battleSetup.unk1dc8[iVar11]];
sprintf(acStack160, "%d%s", sVar1 + 1, sdata->lngStrings[((short *)0x800a0200)[sVar1]]);
sprintf(0x1f800000, "%d%s", sVar1 + 1, sdata->lngStrings[0x19+sVar1]);

// Draw String
DecalFont_DrawLine(acStack160, (pos[0] - 0x24), (uStack112 + 5), 1, 0xffff8000);
DecalFont_DrawLine(0x1f800000, (pos[0] - 0x24), (uStack112 + 5), 1, 0xffff8000);
}
}

Expand Down

0 comments on commit 175e073

Please sign in to comment.