From 77d06397f5d0dd4a41c3f0758f3e134ca19b7ba8 Mon Sep 17 00:00:00 2001 From: Vhati Date: Mon, 24 Dec 2018 00:31:19 -0500 Subject: SCI32: Fix QFG4 statue item description Fixes an inaccurate message when examining the statue, bug #10770 --- engines/sci/engine/message.cpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'engines/sci') diff --git a/engines/sci/engine/message.cpp b/engines/sci/engine/message.cpp index 5d1607ccee..c182f6a9a6 100644 --- a/engines/sci/engine/message.cpp +++ b/engines/sci/engine/message.cpp @@ -249,6 +249,33 @@ bool MessageState::getRecord(CursorStack &stack, bool recurse, MessageRecord &re t.cond = 13; } + if (g_sci->getGameId() == GID_QFG4 && stack.getModule() == 16 && + t.noun == 49 && t.verb == 1 && t.cond == 0 && t.seq == 2) { + // Examining the statue inventory item from the monastery - bug #10770 + // The description says "squid-like monster", yet the icon is + // clearly an insect. It turned Chief into "an enormous beetle". We + // change the phrase to "monstrous insect". + // + // Note: The German string contains accented characters. + // 0x84 "a with diaeresis" + // 0x94 "o with diaeresis" + // + // Values were pulled from SCI Companion's raw message data. They + // are escaped that way here, as encoded bytes. + record.tuple = t; + record.refTuple = MessageTuple(); + record.talker = 99; + if (g_sci->getSciLanguage() == K_LANG_GERMAN) { + record.string = "Die groteske Skulptur eines schrecklichen, monstr\x94sen insekts ist sorgf\x84ltig in die Einkaufstasche eingewickelt."; + record.length = 112; + } else { + record.string = "Carefully wrapped in a shopping bag is the grotesque sculpture of a horrible, monstrous insect."; + record.length = 95; + } + delete reader; + return true; + } + if (g_sci->getGameId() == GID_QFG4 && stack.getModule() == 579 && t.noun == 0 && t.verb == 0 && t.cond == 0 && t.seq == 1) { // Talking with the Leshy and telling him about "bush in goo" - bug #10137 -- cgit v1.2.3