|
19.
|
|
|
The return statement pops the top statement off of the call stack, and transfers control to it. If the call stack is empty, the return statement restarts Ren'Py, returning control to the main menu.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/label.rst:101
|
|
20.
|
|
|
If the optional expression is given to return, it is evaluated, and it's result is stored in the _return variable. This variable is dynamically scoped to each context.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/label.rst:105
|
|
21.
|
|
|
Special Labels
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/label.rst:110
|
|
22.
|
|
|
The following labels are used by Ren'Py:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/label.rst:112
|
|
23.
|
|
|
``start``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/label.rst:115
|
|
24.
|
|
|
By default, Ren'Py jumps to this label when the game starts.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/label.rst:115
|
|
25.
|
|
|
``quit``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/label.rst:119
|
|
26.
|
|
|
If it exists, this label is called in a new context when the user quits the game.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/label.rst:118
|
|
27.
|
|
|
``after_load``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/label.rst:123
|
|
28.
|
|
|
If it exists, this label is called when a game is loaded. It can be use to fix data when the game is updated.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/label.rst:122
|