Skip to content

Commit

Permalink
XEEN: Add script patch for chest in Swords Hart
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Apr 16, 2018
1 parent c92561c commit 5cba33c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions engines/xeen/patcher.cpp
Expand Up @@ -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"
};

/*------------------------------------------------------------------------*/
Expand Down

0 comments on commit 5cba33c

Please sign in to comment.