You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
ui: fixed the HUD. If you aren't looking at your money, are you even playing?
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#define HUD_BOTTOM_Y 19 // Same height as the Lakitu icon
|
||||
|
||||
#define HUD_COINS_X 168
|
||||
#define HUD_CREDITS_X 100
|
||||
#define HUD_CREDITS_X 50
|
||||
#define HUD_STARS_X 78 // This starts counting from the right edge
|
||||
#define HUD_CAMERA_X 54 // This starts counting from the right edge
|
||||
|
||||
|
||||
@@ -958,7 +958,7 @@ void update_hud_values(void) {
|
||||
}
|
||||
}
|
||||
|
||||
if (gHudDisplay.numCredits < gMarioState->numCredits) {
|
||||
if (gHudDisplay.numCredits < (u32)gMarioState->numCredits) {
|
||||
if (gGlobalTimer & 1) {
|
||||
u32 coinSound;
|
||||
if (gMarioState->action & (ACT_FLAG_SWIMMING | ACT_FLAG_METAL_WATER)) {
|
||||
@@ -970,7 +970,7 @@ void update_hud_values(void) {
|
||||
gHudDisplay.numCredits++;
|
||||
play_sound(coinSound, gMarioState->marioObj->header.gfx.cameraToObject);
|
||||
}
|
||||
} else if (gHudDisplay.numCredits > gMarioState->numCredits) {
|
||||
} else if (gHudDisplay.numCredits > (u32)gMarioState->numCredits) {
|
||||
if (gGlobalTimer & 1) {
|
||||
u32 coinSound;
|
||||
if (gMarioState->action & (ACT_FLAG_SWIMMING | ACT_FLAG_METAL_WATER)) {
|
||||
|
||||
Reference in New Issue
Block a user