NScumm.Sky.Logic.FnSpeakMe C# (CSharp) Method

FnSpeakMe() private method

private FnSpeakMe ( uint targetId, uint mesgNum, uint animNum ) : bool
targetId uint
mesgNum uint
animNum uint
return bool
        private bool FnSpeakMe(uint targetId, uint mesgNum, uint animNum)
        {
            /* WORKAROUND for #2687172: When Mrs. Piermont is talking
               on the phone in her apartment, ignore her fnSpeakMe calls
               on other screens, as the lack of speech files for these lines
               will cause Foster's speech to be aborted if the timing is bad.
            */
            if (targetId == 0x4039 && animNum == 0x9B && _scriptVariables[SCREEN] != 38)
            {
                return false;
            }

            StdSpeak(_skyCompact.FetchCpt((ushort)targetId), mesgNum, animNum);
            return false;   //drop out of script
        }
Logic