![]() |
Routines |
| Prev: CEDE | Up: Map | Next: CF03 |
|
Used by the routine at ProcessScriptCommandWithCounter.
Advances the script pointer past a command byte by the appropriate number of bytes based on the command type. Different command types have different data sizes, so the pointer must be advanced accordingly.
|
||||||||||||
|
Extended commands (bit 7 set) require an extra 2-byte advance before the normal command type advance.
|
||||||||||||
| AdvanceScriptPointerByCommandSize | CEFE | BIT 7,A | If bit 7 of the command is set, call StepNextByte to step past its two-byte address. | |||||||||
| CF00 | CALL NZ,StepNextByte | |||||||||||
| Prev: CEDE | Up: Map | Next: CF03 |