![]() |
Routines |
| Prev: 39758 | Up: Map | Next: 39829 |
|
||||||||
| 39795 | SET 2,(IY+65) | Set characters-can't-move flag | ||||||
| 39799 | LD IX,24898 | Point IX at start of table of characters' current positions at 24898 | ||||||
| 39803 | LD BC,2048 | Load B with 8 and C (current character) with 0 | ||||||
| 39806 | LD A,(23702) | Load A with Magic Knight's current room | ||||||
| 39809 | CP (IX+0) | If Magic Knight and current character are in the same room... | ||||||
| 39812 | CALL Z,39883 | ...then draw character with index C | ||||||
| 39815 | INC C | Increase C to advance to next character | ||||||
| 39816 | INC IX | Advance IX to entry for next character... | ||||||
| 39818 | INC IX | ... | ||||||
| 39820 | INC IX | ... | ||||||
| 39822 | DJNZ 39806 | Loop back to 39806 for next character | ||||||
| 39824 | RES 2,(IY+65) | Reset characters-can't-move flag | ||||||
| 39828 | RET | Return | ||||||
| Prev: 39758 | Up: Map | Next: 39829 |