public void EndConversation(string entityName)
{
this.currentConversation = null;
this.currentConversationState = 0;
// If there is an active text bubble, remember to kill it before nulling.
if (this.currentConversationBubble != null)
{
this.currentConversationBubble.isReadyForDeletion = true;
this.currentConversationBubble = null;
}
// Switch the NPC's talking state off.
this.npcStates[entityName] = DialogueManager.STATE_NONE;
}