From 204064ca3cd305ce90ef70a70375ceeaaa41b8ed Mon Sep 17 00:00:00 2001 From: milesthenerd Date: Mon, 15 Feb 2021 15:20:17 -0600 Subject: [PATCH] Fixed #62 --- 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 a5fa0ca..9169053 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);