diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/core/events.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/zvision/core/events.cpp b/engines/zvision/core/events.cpp index 6cf0ae5d0d..f0cf3f0789 100644 --- a/engines/zvision/core/events.cpp +++ b/engines/zvision/core/events.cpp @@ -145,6 +145,11 @@ void ZVision::cheatCodes(uint8 key) { getBufferedKey(2), getBufferedKey(1), getBufferedKey(0), 0); + + // Show the Venus screen when "?" or "/" is pressed while inside the temple world + if (_scriptManager->getStateValue(StateKey_VenusEnable) == 1) + if ((checkCode("?") || checkCode("/")) && _scriptManager->getStateValue(StateKey_World) == 't') + _scriptManager->changeLocation('g', 'j', 'h', 'e', 0); } void ZVision::processEvents() { |