Routines
| Prev: C5FC | Up: Map | Next: C628 |
C60D: Guess the indirect object for a numbered record
|
||||||||||
| C60D | CALL $C5FC | (numbered..." (C5FC) | ||||||||
| C610 | JP Z,$C989 | If the zero flag is set, jump on to the routine "Run the numbered action record IX" (C989) | ||||||||
|
This entry point is used by the routine at C583.
|
||||||||||
| C613 | PUSH BC | |||||||||
| C614 | LD B,$00 | Load B with $00 | ||||||||
| C616 | CALL $C45E | Call the routine "Is B below the last number for this object slot?" (C45E) - Out of range (C45E)? Then give up | ||||||||
| C619 | JR Z,$C626 | If the zero flag is set, skip ahead to C626 | ||||||||
| C61B | LD ($A035),A | Try it as the indirect object ($A035)... | ||||||||
| C61E | CALL $C989 | ...by running the record (C989) | ||||||||
| C621 | JR NZ,$C626 | |||||||||
| C623 | INC B | Add one to B - Else the next candidate | ||||||||
| C624 | JR $C616 | Go back to C616 | ||||||||
| C626 | POP BC | Restore BC from the stack | ||||||||
| C627 | RET | Return to the caller | ||||||||
| Prev: C5FC | Up: Map | Next: C628 |