From 7533dab7bab6458c12391a4e1e696ffe43963db6 Mon Sep 17 00:00:00 2001 From: jorgeche Date: Tue, 4 Sep 2018 15:22:08 -0500 Subject: [PATCH] Tweaked dark mask to prevent z sorting flickering. --- .../DarknessOverlay/Definition/DarknessOverlayDefinition.c | 2 +- .../stages/Level1/Definition/Level1TowerStageDefinition.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/images/DarknessOverlay/Definition/DarknessOverlayDefinition.c b/assets/images/DarknessOverlay/Definition/DarknessOverlayDefinition.c index e34d193b9..5ac82a741 100644 --- a/assets/images/DarknessOverlay/Definition/DarknessOverlayDefinition.c +++ b/assets/images/DarknessOverlay/Definition/DarknessOverlayDefinition.c @@ -98,7 +98,7 @@ BgmapSpriteROMDef DARKNESS_OVERLAY_IM_SPRITE = __TRANSPARENCY_NONE, // displacement - {0, 0, 0, 0}, + {0, 0, 0, 4}, }, // bgmap mode (__WORLD_BGMAP, __WORLD_AFFINE, __WORLD_OBJECT or __WORLD_HBIAS) diff --git a/assets/stages/Level1/Definition/Level1TowerStageDefinition.c b/assets/stages/Level1/Definition/Level1TowerStageDefinition.c index 48aacaff3..f87c14622 100644 --- a/assets/stages/Level1/Definition/Level1TowerStageDefinition.c +++ b/assets/stages/Level1/Definition/Level1TowerStageDefinition.c @@ -115,7 +115,7 @@ extern Size collision_48_28_4; PositionedEntityROMDef LAVA_CHILD_ENTITIES[] = { {&LAVA_TOP_AG, {0, -102, -1, 0}, 0, NULL, NULL, NULL, false}, - {&DARKNESS_OVERLAY_IM, {0, -460, -2, 0}, 0, NULL, NULL, NULL, false}, + {&DARKNESS_OVERLAY_IM, {0, -460, -4, 0}, 0, NULL, NULL, NULL, false}, {NULL, {0,0,0,0}, 0, NULL, NULL, NULL, false}, }; @@ -368,7 +368,7 @@ StageROMDef LEVEL_1_TOWER_STAGE_ST = // streaming { // load padding - 96, + 80, // unload padding 32, // streaming amplitude @@ -376,7 +376,7 @@ StageROMDef LEVEL_1_TOWER_STAGE_ST = // particle removal delay cycles 4, // deferred - true, + false, }, // rendering