From 8e102a7dc76b6bbf73aef479e7832ef2c2af5cc9 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Tue, 23 Jul 2019 03:17:07 +0530 Subject: HDB: Add cheat to test MAP29 --- engines/hdb/hdb.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 3fb963af5a..ec99b7e0ae 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -213,6 +213,12 @@ bool HDBGame::restartMap() { _ai->setGemAmount(100); } + if (!strcmp(_currentLuaName, "MAP29.LUA")) { + // Finish MAP29 + + _ai->_numGooCups = 8; + } + #endif _lua->loadLua(_currentLuaName); -- cgit v1.2.3