From 204064ca3cd305ce90ef70a70375ceeaaa41b8ed Mon Sep 17 00:00:00 2001 From: milesthenerd Date: Mon, 15 Feb 2021 15:20:17 -0600 Subject: [PATCH 1/2] 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 a5fa0ca3..91690539 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); From da4efbdacf92d0d9c8f6544695fa79104ac84629 Mon Sep 17 00:00:00 2001 From: Lojical <33508026+Lojemiru@users.noreply.github.com> Date: Mon, 15 Feb 2021 20:56:53 -0600 Subject: [PATCH 2/2] Update draw_map_surf.gml --- scripts/draw_map_surf.gml | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/draw_map_surf.gml b/scripts/draw_map_surf.gml index 91690539..871f80a4 100644 --- a/scripts/draw_map_surf.gml +++ b/scripts/draw_map_surf.gml @@ -9,9 +9,6 @@ if (mystr != "0") { wallD = string_char_at(mystr, 3); wallL = string_char_at(mystr, 4); color = string_char_at(mystr, 5); - //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);