# Handling of doll transitions in dialogue define sprite_pos = { "x": { "base": 1480, "default": 1480, "far_right": 1490, "mid": 1140, "left": 1040, "far_left": 250, "right": 1240, "close": 1380 }, "y": { "base": 0, "default": 0, "head": 900, "low": 650 } } init python: def replace_text(s): s = s.replace('--', u'\u2014') # em dash return s config.replace_text = replace_text