Prev: 70D1 Up: Map Next: 70DF
70D6: Set Objects Inactive
Used by the routines at ResetFlowerLeaf, Message_Eaten, 668E and 66D7.
Input
B Loop counter
HL Object to be updated
SetObjectInactive 70D6 LD DE,$0008 Increment value.
SetObjectInactive_Loop 70D9 LD (HL),$00 Reset first byte of object.
70DB ADD HL,DE Set HL to beginning of next object.
70DC DJNZ SetObjectInactive_Loop Decrease counter by one and loop back to SetObjectInactive_Loop until counter is zero.
70DE RET Return.
Prev: 70D1 Up: Map Next: 70DF