diff options
Diffstat (limited to 'engines/agos/verb.cpp')
-rw-r--r-- | engines/agos/verb.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/agos/verb.cpp b/engines/agos/verb.cpp index 7242cdb901..e3c06bc8a7 100644 --- a/engines/agos/verb.cpp +++ b/engines/agos/verb.cpp @@ -744,10 +744,17 @@ void AGOSEngine::boxController(uint x, uint y, uint mode) { if (getGameType() == GType_PP) { _variableArray[400] = x; _variableArray[401] = y; - } else { + } else if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2 || + getGameType() == GType_FF) { _variableArray[1] = x; _variableArray[2] = y; - } + } else if (getGameType() == GType_ELVIRA1) { + if (best_ha->verb & 0x4000) { + if (_variableArray[500] == 0) { + _variableArray[500] = best_ha->verb & 0xBFFF; + } + } + } } if (best_ha->flags & kBFNoTouchName) { |