2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
# Handling of doll transitions in dialogue
|
|
|
|
|
|
|
|
define sprite_pos = {
|
|
|
|
"x": {
|
|
|
|
"base": 640,
|
|
|
|
"default": 640,
|
|
|
|
"far_right": 650,
|
|
|
|
"mid": 300,
|
|
|
|
"left": 200,
|
|
|
|
"far_left": 25,
|
|
|
|
"right": 400,
|
|
|
|
"wardrobe": 540,
|
2024-09-24 17:00:40 +00:00
|
|
|
"close": 540,
|
|
|
|
"left_corner": -100,
|
|
|
|
"right_corner": 675,
|
2022-05-16 23:48:22 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"y": {
|
|
|
|
"base": 0,
|
|
|
|
"default": 0,
|
|
|
|
"head": 200,
|
|
|
|
"low": 170
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-20 18:41:04 +00:00
|
|
|
init python:
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
def replace_text(s):
|
|
|
|
s = s.replace('--', u'\u2014') # em dash
|
|
|
|
return s
|
|
|
|
|
|
|
|
config.replace_text = replace_text
|