![]() |
Routines |
| Prev: 45486 | Up: Map | Next: 45562 |
|
Used by the routine at HandleMouseSecondPart.
Copies the position of the object before this one in the table to this object, with the height lowered by 12.
|
||||||||
|
Copy x, y and height from the previous object.
|
||||||||
| CopyPreviousPosition | 45541 | LD A,(IX-31) | Fetch the x position of the previous object. | |||||
| 45544 | LD (IX+1),A | Set the x position of this object. | ||||||
| 45547 | LD A,(IX-30) | Fetch the y position of the previous object. | ||||||
| 45550 | LD (IX+2),A | Set the y position of this object. | ||||||
| 45553 | LD A,(IX-29) | Fetch the height of the previous object. | ||||||
| 45556 | SUB 12 | Subtract 12. | ||||||
| 45558 | LD (IX+3),A | Set the height of this object. | ||||||
| 45561 | RET | Return. | ||||||
| Prev: 45486 | Up: Map | Next: 45562 |