![]() |
Routines |
| Prev: A8F9 | Up: Map | Next: A971 |
|
The update routine for the top half of the robot in the game completed scene (object 5D). The bottom half (object 5C) is the previous object, handled by HandleEndingRobotBottom. This copies its pixel y position, colour and flags, 10 pixels higher.
|
||||||||
|
Sit on top of the bottom half and colour the cells.
|
||||||||
| HandleEndingRobotTop | A95A | LD A,(IX-$05) | Fetch the pixel y position of the previous object. | |||||
| A95D | ADD A,$10 | Add 10. | ||||||
| A95F | LD (IX+$1B),A | Store it as the pixel y position. | ||||||
| A962 | LD A,(IX-$10) | Fetch the colour of the previous object. | ||||||
| A965 | LD (IX+$10),A | Use the same colour. | ||||||
| A968 | LD A,(IX-$19) | Fetch the flags of the previous object. | ||||||
| A96B | LD (IX+$07),A | Use the same flags. | ||||||
| A96E | JP ColourCells | Jump to ColourCells. | ||||||
| Prev: A8F9 | Up: Map | Next: A971 |