It's the same error without the if close tag, and seemingly just this one line (line 20 of the common route .rpy file) line is broken? (the other if-tag line I have a little bit later in the same file works perfectly)
on ren'py 8.3.2