Prev: F413 Up: Map Next: F46C
F460: Make the next command be the start of the command list
Used by command lists 0x16, 0x18, 0x1C and 0x4E. Copies the address of the point reached in the current command list (stored in bytes 0x19 and 0x1A of the character's buffer) into bytes 0x1B and 0x1C (where the start address of the current command list is stored). This means that whenever the command list is restarted, it will restart from this point instead of the actual beginning.
Input
H 0xCC (MISS TAKE) or 0xCD (ALBERT)
F460 LD L,$19 Copy the address reached in the current command list from bytes 0x19 and 0x1A into bytes 0x1B and 0x1C (where the command list's start address is usually stored)
F462 LD D,H
F463 LD E,$1B
F465 LDI
F467 LDI
F469 JP $638C Move to the next command in the command list
Prev: F413 Up: Map Next: F46C