Prev: C101 Up: Map Next: C164
C152: Turn Creature Into Spore
Turns the creature into a spore (a type 40 to 4F object), adds 10 hundred points to the score and turns the shot into a burst.
HitOutcome_Spore C152 LD A,(IX+$00) Fetch the type of the creature.
C155 AND %00000100 Keep only bit 2, which tells the two kinds of creature apart.
C157 OR %01000000 Make it the type of a spore (40 to 4F).
C159 LD (IX+$00),A Change the type of the creature.
C15C LD BC,$0010 Set the points for changing a creature.
C15F CALL AddToScore Add the points to the score.
C162 JR HitOutcome_BurstShot Jump to HitOutcome_BurstShot to turn the shot into a burst.
Prev: C101 Up: Map Next: C164