This commit is contained in:
Niko 2024-04-15 03:46:53 -07:00
parent a73c66eefc
commit 573bf85660
3 changed files with 5 additions and 5 deletions

View File

@ -118,7 +118,7 @@ void DECOMP_UI_JumpMeter_Draw(short posX, short posY, struct Driver* driver)
p->y2 = posY;
p->x3 = sVar9;
p->y3 = posY;
jumpMeter = posY - ((short)(jumpMeterHeight / 0x960) - (short)(jumpMeterHeight / 0x80000000));
jumpMeter = posY - ((short)(jumpMeterHeight / 0x960));
p->y0 = jumpMeter;
p->y1 = jumpMeter;

View File

@ -60,7 +60,7 @@ void DrawReservesMeter(short posX, short posY, struct Driver* driver)
p->x3 = posX;
p->y3 = bottomY;
reservesMeter = posX - ((short)(reservesMeterWidth / 0x960) - (short)(reservesMeterWidth / 0x80000000));
reservesMeter = posX - ((short)(reservesMeterWidth / 0x960));
if(reservesMeter < (posX - 0x31))
{
reservesMeter = posX - 0x31;
@ -190,7 +190,7 @@ void DrawReservesMeter(short posX, short posY, struct Driver* driver)
p->x3 = sVar9;
p->y3 = posY;
reservesMeter = posY - ((short)(reservesMeterHeight / 0x960) - (short)(reservesMeterHeight / 0x80000000));
reservesMeter = posY - ((short)(reservesMeterHeight / 0x960));
if(reservesMeter < (posY - 0x4C))
{
reservesMeter = posY - 0x4C;

View File

@ -62,7 +62,7 @@ void DrawReservesMeter(short posX, short posY, struct Driver* driver)
p->x3 = posX;
p->y3 = bottomY;
reservesMeter = posX - ((short)(reservesMeterWidth / 0x960) - (short)(reservesMeterWidth / 0x80000000));
reservesMeter = posX - ((short)(reservesMeterWidth / 0x960));
if(reservesMeter < (posX - 0x31))
{
reservesMeter = posX - 0x31;
@ -192,7 +192,7 @@ void DrawReservesMeter(short posX, short posY, struct Driver* driver)
p->x3 = sVar9;
p->y3 = posY;
reservesMeter = posY - ((short)(reservesMeterHeight / 0x960) - (short)(reservesMeterHeight / 0x80000000));
reservesMeter = posY - ((short)(reservesMeterHeight / 0x960));
if(reservesMeter < (posY - 0x4C))
{
reservesMeter = posY - 0x4C;