From c358e5eff2d1aa33f397f841c0050a13da6ac851 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Sun, 17 Mar 2024 21:20:42 -0400 Subject: [PATCH] Make each Mario blink 1 cycle ahead of the last (unsynced blinking) --- src/game/mario_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/mario_misc.c b/src/game/mario_misc.c index 0d0a7a94..bbd022e3 100644 --- a/src/game/mario_misc.c +++ b/src/game/mario_misc.c @@ -400,7 +400,7 @@ Gfx* geo_switch_mario_eyes(s32 callContext, struct GraphNode* node, UNUSED Mat4* if (callContext == GEO_CONTEXT_RENDER) { if (bodyState->eyeState == 0) { - blinkFrame = ((switchCase->numCases * 32 + gAreaUpdateCounter) >> 1) & 0x1F; + blinkFrame = ((switchCase->numCases * 32 + (gAreaUpdateCounter + geo_get_processing_object_index() * 32)) >> 1) & 0x1F; if (blinkFrame < 7) { switchCase->selectedCase = gMarioBlinkAnimation[blinkFrame]; }