Page 1 of 1

End of line excepted[Solved :D]

Posted: Mon May 17, 2021 1:41 pm
by PeachStar1
So, I'm using a layered image and I use this code

Code: Select all

layeredimage Doll:
    group head:
        if race == 1:
            "head1"
            pos(100,100)
        if race == 2:
            "head2"
            pos(100,100)
        if race == 3:
            "head3"
            pos(100,100)
and I got this

Code: Select all

I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


File "game/script.rpy", line 7: end of line expected.
    if race == 1:
    ^

Ren'Py Version: Ren'Py 7.4.0.1167
Mon May 17 13:41:03 2021