![]() |
Routines |
| Prev: C60D | Up: Map | Next: C628 |
|
Used by the routine at ProcessDisplayRecordFromScript.
Counts from zero and stores the room graphics parameter until the graphics limit.
|
||||
| RecordResultRoomGraphics_CountGraphicsSteps | C613 | PUSH BC | Save BC and start the graphics count at zero. | |
| C614 | LD B,$00 | |||
| RecordResultRoomGraphics_TestDisplayParameter | C616 | CALL CheckDisplayParameter | Go to RecordResultRoomGraphics_Save if the count has reached the graphics limit. | |
| C619 | JR Z,RecordResultRoomGraphics_Save | |||
| C61B | LD ($A035),A | Store it in the room graphics parameter, then call ProcessObjectDisplayWithPointer to run object display with pointer. | ||
| C61E | CALL ProcessObjectDisplayWithPointer | |||
| C621 | JR NZ,RecordResultRoomGraphics_Save | Jump ahead to RecordResultRoomGraphics_Save to return if ProcessObjectDisplayWithPointer does not return 00. | ||
| C623 | INC B | Try the next graphics value from RecordResultRoomGraphics_TestDisplayParameter. | ||
| C624 | JR RecordResultRoomGraphics_TestDisplayParameter | |||
|
Return.
|
||||
| RecordResultRoomGraphics_Save | C626 | POP BC | Restore BC from the stack. | |
| C627 | RET | Return. | ||
| Prev: C60D | Up: Map | Next: C628 |