Action 0002 is a point within an action block that you may jump to via a return value or other action. They allow you to loop and execute commands in a particular order. It is the equilvelant of GoldenEye's action 02.
- 0002 Action Type.
- XX Label
This action merely sets a position within the action block you can jump to. The label value corresponds to return values in other action types or to the label values of the proceed to label and go to beginning; proceed to label commands.
Certain actions will return a value. The return value is similar to a proceed to label command; when a value is returned, code resumes at the next label that matches the return value. If there isn't a matching label, the loop terminates. For example: