Search found 5 matches

by Loraty
Fri May 17, 2019 1:20 am
Forum: Ren'Py Questions and Announcements
Topic: Local labels and from clause in calls
Replies: 6
Views: 230

Re: Local labels and from clause in calls

No one? I guess since it's been a year I'll post a new ticket.

Here: https://github.com/renpy/renpy/issues/1824
by Loraty
Thu May 16, 2019 1:30 am
Forum: Ren'Py Questions and Announcements
Topic: Local labels and from clause in calls
Replies: 6
Views: 230

Re: Local labels and from clause in calls

Good call.

There is already a closed issue about it: https://github.com/renpy/renpy/issues/1398

I don't know github. Is it possible to see which version of RenPy has the fix? I'm using the current production version (7.2.0)...
by Loraty
Wed May 15, 2019 4:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Local labels and from clause in calls
Replies: 6
Views: 230

Re: Local labels and from clause in calls

OK, I made a little progress: Apparently the "call from" creates an implicit label. This label is ignored when creating local labels, but not ignored when jumping to labels. This works fine: label start: call two from _call_two label the_fix: jump .one return label .one: "Done" return label two: ret...
by Loraty
Wed May 15, 2019 6:02 am
Forum: Ren'Py Questions and Announcements
Topic: Local labels and from clause in calls
Replies: 6
Views: 230

Re: Local labels and from clause in calls

That only adds two underscores to the error message:

Code: Select all

  File "game/script.rpy", line 4, in script
    jump .one
ScriptError: could not find label '__call__two.one'.
by Loraty
Wed May 15, 2019 3:35 am
Forum: Ren'Py Questions and Announcements
Topic: Local labels and from clause in calls
Replies: 6
Views: 230

Local labels and from clause in calls

I am using the following code: label start: call two from _call_two jump .one return label .one: "Done" return label two: return It fails with the error: File "game/script.rpy", line 4, in script jump .one ScriptError: could not find label '_call_two.one'. Removing the "from clause" from the call fi...