Routines |
Prev: A893 | Up: Map | Next: A8D8 |
Used by the routine at DrawRoom.
|
||||
A8AF | PUSH HL | Stash HL on the stack. | ||
A8B0 | DEC A | Decrease A by one. | ||
A8B1 | LD ($BAA2),A | Write A to *BAA2. | ||
A8B4 | LD A,E | Write E to *BAA3. | ||
A8B5 | LD ($BAA3),A | |||
A8B8 | LD A,($BAA3) | E=*BAA3. | ||
A8BB | LD E,A | |||
A8BC | PUSH BC | Stash BC and DE on the stack. | ||
A8BD | PUSH DE | |||
A8BE | CALL $0DD9 | Call CL_SET. | ||
A8C1 | POP DE | Restore DE and BC from the stack. | ||
A8C2 | POP BC | |||
A8C3 | LD A,($BAA2) | Increment *BAA2 by one. | ||
A8C6 | INC A | |||
A8C7 | LD ($BAA2),A | |||
A8CA | CALL PrintUDG | Call PrintUDG. | ||
A8CD | DEC E | Decrease E by one. | ||
A8CE | JR NZ,$A8C3 | Jump to A8C3 until E is zero. | ||
A8D0 | DEC D | Decrease D by one. | ||
A8D1 | JR Z,$A8D6 | Jump to A8D6 if D is zero. | ||
A8D3 | DEC B | Decrease B by one. | ||
A8D4 | JR $A8B8 | Jump to A8B8. | ||
A8D6 | POP HL | Restore HL from the stack. | ||
A8D7 | RET | Return. |
Prev: A893 | Up: Map | Next: A8D8 |