diff options
Diffstat (limited to 'engines/titanic/npcs')
-rw-r--r-- | engines/titanic/npcs/deskbot.cpp | 22 | ||||
-rw-r--r-- | engines/titanic/npcs/deskbot.h | 2 |
2 files changed, 21 insertions, 3 deletions
diff --git a/engines/titanic/npcs/deskbot.cpp b/engines/titanic/npcs/deskbot.cpp index dcd27466db..548738d930 100644 --- a/engines/titanic/npcs/deskbot.cpp +++ b/engines/titanic/npcs/deskbot.cpp @@ -110,7 +110,6 @@ bool CDeskbot::MovieEndMsg(CMovieEndMsg *msg) { flag = true; } - bool flag = false; if (_npcFlags & NPCFLAG_40000) { _deskbotActive = false; _npcFlags &= ~(NPCFLAG_40000 | NPCFLAG_20000); @@ -155,7 +154,26 @@ bool CDeskbot::LeaveViewMsg(CLeaveViewMsg *msg) { } bool CDeskbot::TrueTalkTriggerActionMsg(CTrueTalkTriggerActionMsg *msg) { - // TODO + switch (msg->_action) { + case 19: + inc54(); + lockMouse(); + setPetArea(PET_CONVERSATION); + playClip("ReprogramPETInHand", 4); + _npcFlags |= NPCFLAG_10000; + _field10C = msg->_param1; + + switch (_field10C) { + case 1: + petDisplayMsg("You have been upgraded to 1st Class status. Enjoy hugely."); + + break; + case 2: + petDisplayMsg("You have been upgraded to 2nd Class status. Enjoy."); + break; + } + } + return true; } diff --git a/engines/titanic/npcs/deskbot.h b/engines/titanic/npcs/deskbot.h index 607255be57..8425f58f95 100644 --- a/engines/titanic/npcs/deskbot.h +++ b/engines/titanic/npcs/deskbot.h @@ -45,7 +45,7 @@ private: static int _v2; public: bool _deskbotActive; - bool _field10C; + int _field10C; public: CLASSDEF CDeskbot(); |