aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2018-04-16 07:40:59 -0400
committerPaul Gilbert2018-04-16 07:40:59 -0400
commit5cba33c0526120d46b73531328d54d6f88c73201 (patch)
tree2b30bff5a7e08a3a196f1624e6182ea6124df6c1
parentc92561cd614616924d5c82b6d8d5a0ac7fff215a (diff)
downloadscummvm-rg350-5cba33c0526120d46b73531328d54d6f88c73201.tar.gz
scummvm-rg350-5cba33c0526120d46b73531328d54d6f88c73201.tar.bz2
scummvm-rg350-5cba33c0526120d46b73531328d54d6f88c73201.zip
XEEN: Add script patch for chest in Swords Hart
-rw-r--r--engines/xeen/patcher.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/xeen/patcher.cpp b/engines/xeen/patcher.cpp
index 384b90ee9a..280724cb78 100644
--- a/engines/xeen/patcher.cpp
+++ b/engines/xeen/patcher.cpp
@@ -35,11 +35,13 @@ struct ScriptEntry {
const byte *_data;
};
-const byte MAP54_LINE8[] = { 8, 10, 10, DIR_EAST, 8, OP_MoveWallObj, 20, 100, 100 };
+const byte DS_MAP54_LINE8[] = { 8, 10, 10, DIR_EAST, 8, OP_MoveWallObj, 20, 100, 100 };
+const byte SW_MAP53_LINE8[] = { 5, 14, 6, DIR_EAST, 8, OP_Exit };
-#define SCRIPT_PATCHES_COUNT 1
+#define SCRIPT_PATCHES_COUNT 2
static const ScriptEntry SCRIPT_PATCHES[] = {
- { GType_DarkSide, 54, MAP54_LINE8 }
+ { GType_DarkSide, 54, DS_MAP54_LINE8 }, // Fix curtain on level 2 of Ellinger's Tower
+ { GType_Swords, 53, SW_MAP53_LINE8 } // Fix chest in Hart having gems, but saying "Nothing Here"
};
/*------------------------------------------------------------------------*/