Skip to main content

(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)
ArgumentDescriptionTypesRequired
labelThe label to jump toStringRequired

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.