From 1af9f2b94a5ba305ad50a4807625790c9a41deba Mon Sep 17 00:00:00 2001 From: Tubular Bells <60239773+MSpiller7@users.noreply.github.com> Date: Wed, 21 Sep 2022 18:49:23 -0500 Subject: [PATCH] Restores dither effect on teleport (#476) --- 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 d4d4e7fe..b6fa44b1 100644 --- a/src/game/mario_misc.c +++ b/src/game/mario_misc.c @@ -309,7 +309,7 @@ static Gfx *make_gfx_mario_alpha(struct GraphNodeGenerated *node, s16 alpha) { SET_GRAPH_NODE_LAYER(node->fnNode.node.flags, LAYER_TRANSPARENT); gfxHead = alloc_display_list(3 * sizeof(*gfxHead)); gfx = gfxHead; - if (gMarioState->flags & MARIO_VANISH_CAP) { + if (gMarioState->flags & (MARIO_VANISH_CAP | MARIO_TELEPORTING)) { gDPSetAlphaCompare(gfx++, G_AC_DITHER); } else { gDPSetAlphaCompare(gfx++, G_AC_NONE);