Prev: B2B6 Up: Map Next: B2EB
B2D9: Keep an object's position
Used by the routine at PUSHABLE.
Copies U, V and Z to SAVED_UVZ, for SAME_UVZ to compare after a move.
Input
IX the object
SAVE_UVZ B2D9 LD HL,SAVED_UVZ U, V and Z to SAVED_UVZ
B2DC LD A,(IX+$01)
B2DF LD (HL),A
B2E0 INC HL
B2E1 LD A,(IX+$02)
B2E4 LD (HL),A
B2E5 INC HL
B2E6 LD A,(IX+$03)
B2E9 LD (HL),A
B2EA RET
Prev: B2B6 Up: Map Next: B2EB