Prev: 42954 Up: Map Next: 42986
42972: Reset Wipe Flags
Used by the routine at RunGame.
Clears bit 5 of the flags of every object, once the screen has been refreshed.
Clear the wipe flag of every object.
ResetWipeFlags 42972 LD B,56 Set the number of objects to 56.
42974 LD DE,32 Set DE to 0032.
42977 LD HL,23439 Point HL at PlayerBottomObject_Flags.
ResetWipeFlags_Loop 42980 RES 5,(HL) Reset bit 5 of the flags.
42982 ADD HL,DE Move on to the next object.
42983 DJNZ ResetWipeFlags_Loop Jump to ResetWipeFlags_Loop until all of the objects are done.
42985 RET Return.
View the equivalent code in;
Prev: 42954 Up: Map Next: 42986