![]() |
Routines |
| Prev: 92F5 | Up: Map | Next: 934C |
|
Used by the routine at PICK_UP.
Writes four bytes into the first slot at $5E30: the address of the object's own record, then its sprite and its drawing mode. Keeping the address rather than a copy is what lets DROP_CARRIED put the thing back exactly as it was.
|
||||
| REMEMBER_CARRIED | 9326 | LD HL,$5E30 | ||
| 9329 | PUSH IX | |||
| 932B | POP DE | |||
| 932C | LD (HL),E | |||
| 932D | INC HL | |||
| 932E | LD (HL),D | |||
| 932F | INC HL | |||
| 9330 | LD A,(IX+$00) | |||
| 9333 | LD (HL),A | |||
| 9334 | INC HL | |||
| 9335 | LD A,(IX+$05) | |||
| 9338 | LD (HL),A | |||
| 9339 | CALL ERASE_THING | |||
| 933C | LD A,($5E1A) | |||
| 933F | LD (IX+$05),A | |||
| 9342 | CALL DRAW_FROM_RECORD | |||
| 9345 | LD (IX+$00),$00 | |||
| 9349 | JP BEEP_ENTRIES | |||
| Prev: 92F5 | Up: Map | Next: 934C |