...
To modify the default behavior and move the tossing from the end of the utterance to the beginning of the utterance, move the two selected lines from the method <tt>npcBehavior_done</tt> to the method <tt>npcBehavior_begin</tt> as displayed in the following image:
Note On Debugging
...