Code: Select all
define MC = Character('player_name', window_left_padding=160,
show_side_image=ConditionSwitch(
"express == 'what'", "Char_What.png",
"express == 'happy'", "Char_Happy.png",
"express == 'sad'", "Char_Sad.png",
"express == 'normal'", "player.png",
), color='#ECCEF5', what_color='#ECCEF5')
image side Char_Happy = "Char_Happy.png"
image side Char_Sad = "Char_Sad.png"
image side player = "player.png"
image side Char_What = "Char_What.png"However, when I run the game, I get this error message:
Can someone help me fix this? I've tried fiddling around with it but I can't fix it. (line 66 is just a line of dialogue the character says)File "game/script.rpy", line 66, in script
MC "%(player_name)s."
Exception: Unknown keyword arguments: side_image