![]() |
Routines |
| Prev: C1EE | Up: Map | Next: C202 |
|
A charm dropped from high up in the wizard's room (room_to_drop) becomes one of these. Each frame it moves one unit in x and one in y towards the centre of the room, $80,$80, and rises to a height of $98; once over the centre it falls straight down into the cauldron (centre_of_room).
|
||||
| upd_104_to_110 | C1F1 | CALL adj_m4_m12 | ||
| C1F4 | LD A,(IX+$01) | dX = +1, -1 or 0 towards x = $80 | ||
| C1F7 | SUB $80 | |||
| C1F9 | JR Z,steer_to_centre_y | |||
| C1FB | LD A,$01 | |||
| C1FD | JP M,steer_to_centre_y | |||
| C200 | NEG | |||
| Prev: C1EE | Up: Map | Next: C202 |