Prev: 45562 Up: Map Next: 45596
45579: Restore Object Height
Used by the routines at HandleCircuitMouse and HandleBouncingMouse.
Undoes ExtendObjectDownwards by raising the object by 12 and halving its height.
Input
IX The address of the object
Restore the height and the next object's flags.
RestoreObjectHeight 45579 LD A,(IX+3) Fetch the height of the object.
45582 ADD A,12 Add 12.
45584 LD (IX+3),A Set the height of the object.
45587 SRL (IX+6) Halve the height of the object.
45591 RES 1,(IX+39) Reset bit 1 of the next object's flags.
45595 RET Return.
Prev: 45562 Up: Map Next: 45596