![]() |
Routines |
| Prev: 70D1 | Up: Map | Next: 70DF |
|
Writes 00 to the state of a number of objects, which makes them inactive.
|
||||||||||
| SetObjectInactive | 70D6 | LD DE,$0008 | DE=08 (the size of an object). | |||||||
| SetObjectInactive_Loop | 70D9 | LD (HL),$00 | Set the state of the object to inactive. | |||||||
| 70DB | ADD HL,DE | Move onto the next object. | ||||||||
| 70DC | DJNZ SetObjectInactive_Loop | Decrease the object counter by one and loop back to SetObjectInactive_Loop until all of the objects have been made inactive. | ||||||||
| 70DE | RET | Return. | ||||||||
| Prev: 70D1 | Up: Map | Next: 70DF |