Prev: C0DE Up: Map Next: C101
C0ED: Change Creature
Changes the creature into the next kind of creature, adds 20 hundred points to the score, and turns the shot into a burst.
HitOutcome_Change C0ED LD A,(IX+$00) Add four to the type of the creature, which makes it the next kind of creature.
C0F0 ADD A,$04
C0F2 AND %00001111 Keep the frame and kind of creature within 00 to 0F.
C0F4 OR %01110000 Make it the type of a creature (70 to 7F).
C0F6 LD (IX+$00),A Change the type of the creature.
C0F9 LD BC,$0020 Set the points for changing a creature.
C0FC CALL AddToScore Add the points to the score.
C0FF JR HitOutcome_BurstShot Jump to HitOutcome_BurstShot to turn the shot into a burst.
Prev: C0DE Up: Map Next: C101