![]() |
Routines |
| Prev: 34008 | Up: Map | Next: 34054 |
|
Used by the routine at StartGame.
|
||||
| ResetPlanet | 34039 | LD HL,24576 | HL=Laser_Param_1. | |
| 34042 | LD BC,1152 | BC=1152 (counter). | ||
| ResetPlanet_Loop | 34045 | LD (HL),0 | Write 0 to HL. | |
| 34047 | INC HL | Increment HL by one. | ||
| 34048 | DEC BC | Decrease counter by one and loop back to ResetPlanet_Loop until counter is zero. | ||
| 34049 | LD A,B | |||
| 34050 | OR C | |||
| 34051 | JR NZ,ResetPlanet_Loop | |||
| 34053 | RET | Return. | ||
| Prev: 34008 | Up: Map | Next: 34054 |