X-Git-Url: https://harishankar.org/repos/?p=butaba-adventures.git;a=blobdiff_plain;f=utility.py;h=f115374cfa0381c6fe50947cf70859910b5c9cc1;hp=f452e7ff31a2e03a3f3246a5a067465114e3c032;hb=63f74206e69c1147ed006ccadb359fc6e21fefbb;hpb=99f418a54ea2816559c23569fc880812d669644d diff --git a/utility.py b/utility.py index f452e7f..f115374 100644 --- a/utility.py +++ b/utility.py @@ -15,8 +15,6 @@ def dialogue_play (screen, bgscreen, npc, responder_portrait=None, # get the conversation as a dictionary convtree = xml_to_dict (npc.dialogues[npc.currentdialog]) - import pprint - pprint.pprint (convtree) scrwidth = screen.get_width () scrheight = screen.get_height () @@ -36,7 +34,6 @@ def dialogue_play (screen, bgscreen, npc, responder_portrait=None, # a dialgoue ID of 0 always exits the conversation # return the unique response ID if dlg_id == "0": - print current_resp return current_resp # not reply mode