![]() |
Routines |
| Prev: C591 | Up: Map | Next: C5B7 |
|
Used by the routine at save_spec_obj_next.
|
||||
| save_spec_obj_loop | C595 | LD A,(IY+$00) | empty | |
| C598 | AND A | |||
| C599 | JR Z,save_spec_obj_next | |||
| C59B | LD E,(IY+$10) | the type, through the pointer at +$10 | ||
| C59E | LD D,(IY+$11) | |||
| C5A1 | LD A,(IY+$00) | |||
| C5A4 | LD (DE),A | |||
| C5A5 | INC DE | on to +5 | ||
| C5A6 | INC DE | |||
| C5A7 | INC DE | |||
| C5A8 | INC DE | |||
| C5A9 | INC DE | |||
| C5AA | PUSH IY | x, y and z | ||
| C5AC | POP HL | |||
| C5AD | INC HL | |||
| C5AE | LD BC,$0003 | |||
| C5B1 | LDIR | |||
| C5B3 | LD A,(IY+$08) | the room | ||
| C5B6 | LD (DE),A | |||
| Prev: C591 | Up: Map | Next: C5B7 |