From 3650b8051e45ca0fa0476bcae2168ad246edd62a Mon Sep 17 00:00:00 2001 From: milesthenerd Date: Mon, 15 Feb 2021 15:07:37 -0600 Subject: [PATCH] Fixed 8-bit shader map color bug --- scripts/draw_map_surf.gml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/draw_map_surf.gml b/scripts/draw_map_surf.gml index 13ad81d..bc9f980 100644 --- a/scripts/draw_map_surf.gml +++ b/scripts/draw_map_surf.gml @@ -9,7 +9,9 @@ if (mystr != "0") { wallD = string_char_at(mystr, 3); wallL = string_char_at(mystr, 4); color = string_char_at(mystr, 5); - if (oControl.shader_on == true) color = "2"; + //This line seems to change the underlying map color when the 8-bit shader is active + //It causes the 8-bit shader to miscolor map blocks; commented out + //if (oControl.shader_on == true) color = "2"; special = string_char_at(mystr, 6); corner = string_char_at(mystr, 7); draw_mapblock(x, y, wallU, wallR, wallD, wallL, color, special, global.dmap[argument0, argument1], corner);