# Handling of doll transitions in dialogue define sprite_pos = { "x": { "base": 1538, "default": 1538, "far_right": 1556, "mid": 960, "left": 756, "far_left": 444, "right": 1111, "close": 1360 }, "y": { "base": 1080, "default": 1080, "head": 1680, "low": 1880 } } init python: def replace_text(s): s = s.replace('--', u'\u2014') # em dash return s config.replace_text = replace_text