Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Script/Opcodes/07 RETTO

340 bytes added, 23:19, 23 November 2020
RETTO tweak to reflect stopping queued scripts
==== Arguments ====
* '''const Bit[3]''' ''P'': The [[FF7/Field/Script/Priorities|priority]] at which we want to execute the remote script (high 3 bits of byte).
* '''const Bit[5]''' ''F'': The ID of the specific member function of the currententity current entity to be executed to (low 5 bits of byte).
==== Description ====
Gives 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 another the script ''F'' within the current entity, selected by with the priority ''FP''.
50
edits