Fujiwara
Sergeant at Arms

I've been testing some class-specific dialogs, in an effort to hand out class-specific missions, items, etc. My code for the module_dialogs.py file is below:
You will have to forgive the formatting; that came from a text file. Here is the output: You see Zithael in the Zendar merchant house:
http://www.geocities.com/mattfmcti/dialogbug01.jpg
You see me getting ready to talk to her:
http://www.geocities.com/mattfmcti/dialogbug02.jpg
But instead of the above dialog, I get this:
http://www.geocities.com/mattfmcti/dialogbug03.jpg
Any ideas as to what's going on here would be GREATLY appreciated. Thanks.
PS: bonus points to anyone who gets the hidden reference
[trp_zithael,"start",[(eq,"$zithael_conversation_start",0),],
"Greetings, {playername}.","zithael_conversation_2",[(assign,"$zithael_conversation_start",1)]],
[trp_zithael,"zithael_conversation_2",[],"I seek the Chosen One. Dost thou think\
thou art whom which I seek?","zithael_conversation_3",[]],
[trp_zithael|plyr,"zithael_conversation_2",[],"Yes, I am the Chosen One.",
"zithael_conversation_3",[(assign,"$chosen_one",1)]],
[trp_zithael|plyr,"zithael_conversation_2",[],"No, you have the wrong person.",
"zithael_conversation_3",[(assign,"$chosen_one",0)]],
[trp_zithael,"zithael_conversation_3",[(eq,"$character_class",0),(eq,"$chosen_one",1)],
"Thou hast great insight into thy character, {playername}.\
My search hath ended.","zithael_conversation_4",[(assign,"$chosen_one",2)]],
[trp_zithael,"zithael_conversation_3",[(eq,"$character_class",0),(eq,"$chosen_one",0)],
"Doubt clouds thy spirit, {playername}.\
Perhaps thou art not the Chosen One.","zithael_conversation_5",[]],
[trp_zithael,"zithael_conversation_3",[(neq,"$character_class",0),(eq,"$chosen_one",1)],
"Thou boasteth much, {playername}.\
However, thou art not the Chosen One.","zithael_conversation_5",[]],
[trp_zithael,"zithael_conversation_3",[(neq,"$character_class",0),(eq,"$chosen_one",0)],
"Thy humility is pleasing to me, {playername}.\
Thou art not the Chosen One.","zithael_conversation_5",[]],
[trp_zithael,"zithael_conversation_4",[(eq,"$chosen_one",2),(neq,"$chosen_one",3)],"I bestow upon thee this\
Sacred Gear, {playername} the Chosen. Use it well to bring\
peace and justice to Calradia.","zithael_conversation_5",[(troop_add_item, "trp_player","itm_mearas"),
(troop_add_item, "trp_player","itm_arrows_of_hope"),
(troop_add_item, "trp_player","itm_erdricks_gauntlets"),
(troop_add_item, "trp_player","itm_boots_of_athena"),
(troop_add_item, "trp_player","itm_erdricks_armor"),
(troop_add_item, "trp_player","itm_helm_of_athena"),
(troop_add_item, "trp_player","itm_hammer_of_peace"),
(troop_add_item, "trp_player","itm_sword_of_justice"),
(troop_add_item, "trp_player","itm_shield_of_victory"),
(troop_add_item, "trp_player","itm_arc_of_serenity"),
(assign,"$chosen_one",3)]],
[trp_zithael,"zithael_conversation_5",[],
"Good-bye, {playername}.","close_window",[]],
You will have to forgive the formatting; that came from a text file. Here is the output: You see Zithael in the Zendar merchant house:
http://www.geocities.com/mattfmcti/dialogbug01.jpg
You see me getting ready to talk to her:
http://www.geocities.com/mattfmcti/dialogbug02.jpg
But instead of the above dialog, I get this:
http://www.geocities.com/mattfmcti/dialogbug03.jpg
Any ideas as to what's going on here would be GREATLY appreciated. Thanks.
PS: bonus points to anyone who gets the hidden reference