![]() |
Routines |
| Prev: CEBB | Up: Map | Next: CEE5 |
|
Used by the routine at UpdateMonster.
Kills the player by turning both of the player's objects into bursts. The position and the direction of the player are kept in the template at PlayerTemplate so that the next life starts in the same place.
|
||||
|
Keep the place of the player for the next life.
|
||||
| KillPlayer | CEC4 | LD A,($BC90) | Keep the column of the player in the template for the next life. | |
| CEC7 | LD ($CC38),A | |||
| CECA | LD A,($BC92) | Keep the row of the player in the template. | ||
| CECD | LD ($CC3A),A | |||
| CED0 | LD A,($BC94) | Keep the direction and timer of the player in the template. | ||
| CED3 | LD ($CC3C),A | |||
| CED6 | LD A,($BC95) | Keep the flags of the player in the template. | ||
| CED9 | LD ($CC3D),A | |||
|
Turn both of the player's objects into bursts.
|
||||
| CEDC | LD A,$0C | Turn both of the player's objects into bursts. | ||
| CEDE | LD ($BC8E),A | |||
| CEE1 | LD ($BC9E),A | |||
| CEE4 | RET | Return. | ||
| Prev: CEBB | Up: Map | Next: CEE5 |