aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/eob.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/kyra/eob.cpp b/engines/kyra/eob.cpp
index 05b1e03b96..405ea2129a 100644
--- a/engines/kyra/eob.cpp
+++ b/engines/kyra/eob.cpp
@@ -178,13 +178,14 @@ void EoBEngine::runNpcDialogue(int npcIndex) {
case 1:
if (!checkScriptFlags(0x10000)) {
if (checkScriptFlags(0x8000)) {
- a = 1;
+ a = 13;
} else {
setScriptFlags(0x8000);
r = DLG2(3, 3);
+ a = 4;
}
if (!r)
- r = DLG2(a ? 13 : 4, 4);
+ r = DLG2(a, 4);
if (!r) {
for (a = 0; a < 6; a++)
@@ -214,8 +215,8 @@ void EoBEngine::runNpcDialogue(int npcIndex) {
if (!checkScriptFlags(0x100000)) {
if (deletePartyItems(6, -1)) {
- //_npcSequenceSub = 0;
- //drawNpcScene(npcIndex);
+ _npcSequenceSub = 0;
+ drawNpcScene(npcIndex);
TXT(28);
createItemOnCurrentBlock(32);
setScriptFlags(0x100000);