Routines |
Prev: 84D8 | Up: Map | Next: 8506 |
Used by the routine at StartGame.
|
||||
ResetPlanet | 84F7 | LD HL,$6000 | HL=Laser_Param_1. | |
84FA | LD BC,$0480 | BC=0480 (counter). | ||
ResetPlanet_Loop | 84FD | LD (HL),$00 | Write 00 to HL. | |
84FF | INC HL | Increment HL by one. | ||
8500 | DEC BC | Decrease counter by one and loop back to ResetPlanet_Loop until counter is zero. | ||
8501 | LD A,B | |||
8502 | OR C | |||
8503 | JR NZ,ResetPlanet_Loop | |||
8505 | RET | Return. |
Prev: 84D8 | Up: Map | Next: 8506 |