Memory layout

| 0x07 | P / F | |——|———|

Arguments

Description

Stops the active script loop for this entity and also any script loops (except the main) that are queuing to be executed after the current script. This is essentially the same as adding a RET onto each of the active / queued scripts next execution position and returning the current op index to index for each script.

THEN the script control is passed to the script F within the current entity with the priority P.