Prev: 28881 Up: Map Next: 28895
28886: Set Objects Inactive
Used by the routines at ResetFlowerLeaf, Message_Eaten, 26254 and 26327.
Input
B Loop counter
HL Object to be updated
SetObjectInactive 28886 LD DE,8 Increment value.
SetObjectInactive_Loop 28889 LD (HL),0 Reset first byte of object.
28891 ADD HL,DE Set HL to beginning of next object.
28892 DJNZ SetObjectInactive_Loop Decrease counter by one and loop back to SetObjectInactive_Loop until counter is zero.
28894 RET Return.
Prev: 28881 Up: Map Next: 28895