Code: Select all
I'm sorry, but an uncaught exception occurred.
After initialization, but before game start.
File "game/Gallery.rpy", line 27, in analyze_screen
screen gallery():
File "game/Gallery.rpy", line 27, in analyze
screen gallery():
File "game/Gallery.rpy", line 27, in analyze
screen gallery():
File "game/Gallery.rpy", line 36, in analyze
grid gui.file_slot_cols gui.file_slot_rows:
File "game/Gallery.rpy", line 36, in analyze
grid gui.file_slot_cols gui.file_slot_rows:
File "game/Gallery.rpy", line 43, in analyze
if $ curpage == "CG 01":
SyntaxError: invalid syntax (game/Gallery.rpy, line 43)
Code: Select all
init python:
g = Gallery()
g.transition = fade
g.button("cg_gallery01")
g.image("bg Park1 Purple")
g.unlock("bg Park1 Purple")
screen gallery():
tag menu
add "gui/BG/Gallery.png"
textbutton "Close" xpos 945 ypos 75 action Return()
textbutton "CG 01" xpos 1068 ypos 254 action SetScreenVariable("curpage", "CG 01")
textbutton "Scene" xpos 1068 ypos 294 action SetScreenVariable("curpage", "scenegallery")
textbutton "Video" xpos 1068 ypos 334 action SetScreenVariable("curpage", "videogallery")
grid gui.file_slot_cols gui.file_slot_rows:
style_prefix "gslot"
xpos 228
ypos 144
xspacing 37
yspacing 13
if $ curpage == "CG 01":
add g.make_button("cg_gallery01","gui/GS/null.png")