r/RenPy•
Moonlight_vui

Help!! My label isn't found

Question

I'm making a game for my friend and it's my first time using renpy, plus I don't know that much about python. I made a screen with image buttons in a script in which after a condition is met a text button appears that hides the screen then jumps to a label from the script the screen was called from. But whenever the text button is pressed, the game crashes and says that the label isn't found. I've tried changing names, moving blocks and how the jump is done but it just doesn't seem to work. (Sorry if the code looks stupid I'm posting this from my phone)

# in the main script

# ... dialogue

call shop

label shopcon

# ... dialogue

# in the shop screen script

if .... # the condition

textbutton "Leave":

align (0.5, 0.8)

action [Hide("items"), Jump("shopcon")]

label shop:

stop music

play music "audio/Crumbs.mp3"

call screen items

Posted Jul 3, 2026, 6:23 PM UTC

111
Loading comments…