From 2415d74a462032484d20a00dc44873f6a5fec7e6 Mon Sep 17 00:00:00 2001 From: dawnDus <96957561+dawndus@users.noreply.github.com> Date: Fri, 11 Mar 2022 17:11:25 -0500 Subject: [PATCH] Challenge original graphics fix (#83) --- src/engine_constants/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/engine_constants/mod.rs b/src/engine_constants/mod.rs index a19b7d7..3d7af8f 100644 --- a/src/engine_constants/mod.rs +++ b/src/engine_constants/mod.rs @@ -1726,6 +1726,12 @@ impl EngineConstants { mod_path.push_str("ogph/"); self.base_paths.insert(0, mod_path); } + + // Nicalis left a landmine of a file in the original graphics for the nemesis challenge + // It has 17 colors defined for a 4-bit color depth bitmap + if self.is_cs_plus && !self.is_switch { + self.base_paths.retain(|path| !path.contains("ogph/")); + } } }