![]() |
Routines |
| Prev: C55A | Up: Map | Next: C571 |
|
Used by the routine at ProcessDisplayAction.
Counts from FF and stores each step in the room graphics parameter until the count runs out.
|
||||
| RecordResultRoomGraphics_CountCountRemaining | C560 | LD B,$FF | Start the count at FF so the first step is 00. | |
| RecordResultRoomGraphics_TestCountHasReached | C562 | INC B | Jump to RecordResultRoomGraphics_Return if the count has reached zero. | |
| C563 | CALL CheckDisplayParameter | |||
| C566 | JR Z,RecordResultRoomGraphics_Return | |||
| C568 | LD ($A035),A | Store the room graphics parameter and call ProcessObjectDisplayLogic. | ||
| C56B | CALL ProcessObjectDisplayLogic | |||
| C56E | JR Z,RecordResultRoomGraphics_TestCountHasReached | Jump back to RecordResultRoomGraphics_TestCountHasReached while the object has nothing to display. | ||
| RecordResultRoomGraphics_Return | C570 | RET | Return. | |
| Prev: C55A | Up: Map | Next: C571 |