Prev: B37B Up: Map Next: B390
B385: Reset Alien States
Used by the routines at LevelNew and B52E.
Writes 00 to every alien state to clear it.
ResetAlienStates B385 LD HL,$61B0 HL=Alien_States.
There are six alien slots, each is 18 bytes long.
B388 LD B,$90 B=90.
ResetAlienStates_Loop B38A LD (HL),$00 Write 00 to HL.
B38C INC HL Increment HL by one.
B38D DJNZ ResetAlienStates_Loop Decrease counter by one and loop back to ResetAlienStates_Loop until counter is zero.
B38F RET Return.
Prev: B37B Up: Map Next: B390