![]() |
Routines |
| Prev: C2B9 | Up: Map | Next: C2C5 |
|
Used by the routine at CompareObjectDepths.
Swaps the first object for the second one, which has to be drawn before it.
|
||||||||
| ChooseOtherObject | C2BA | LD HL,($A24C) | Make the place in the list after the second object the place after the first object. | |||||
| C2BD | LD ($A24A),HL | |||||||
| C2C0 | PUSH IY | Copy the address of the second object into IX (using the stack). | ||||||
| C2C2 | POP IX | |||||||
| C2C4 | RET | Return. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: C2B9 | Up: Map | Next: C2C5 |