Prev: 52923 Up: Map Next: 52965
52932: Kill Player
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 52932 LD A,(48272) Keep the column of the player in the template for the next life.
52935 LD (52280),A
52938 LD A,(48274) Keep the row of the player in the template.
52941 LD (52282),A
52944 LD A,(48276) Keep the direction and timer of the player in the template.
52947 LD (52284),A
52950 LD A,(48277) Keep the flags of the player in the template.
52953 LD (52285),A
Turn both of the player's objects into bursts.
52956 LD A,12 Turn both of the player's objects into bursts.
52958 LD (48270),A
52961 LD (48286),A
52964 RET Return.
Prev: 52923 Up: Map Next: 52965