mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
Make each Mario blink 1 cycle ahead of the last (unsynced blinking)
This commit is contained in:
parent
3567e5b62c
commit
c358e5eff2
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue