(24) _JUMP
Effect
Jumps to a script.
The position of the jump is not saved. Execution does not return to this command once a _RET is executed.
Syntax
_JUMP(label)
Argument | Description | Types | Required |
---|---|---|---|
label | The label to jump to | String | Required |
Example
_JUMP('ev_dummy')
_SE_PLAY('S_BOO')
ev_dummy:
_SE_PLAY('S_PINPON')
_RET()
The above script will jump to the ev_dummy script.
Once there, the sound effect 'S_PINPON' plays. Then, since there were no previous _CALL commands, execution ends. The sound effect 'S_BOO' will not play.