Prev: 6C58 Up: Map Next: 6C88
6C7A: Catch Actor
Used by the routine at CatchHitActor.
Called when an actor has fallen into the mixing bowl (see MoveHitActor). If it is one of the ingredients (an ID below 18) the rising notes are started and one ingredient is taken away from the number which is needed. Otherwise it is one of the nasties, so the falling notes are started and five is added to the number of ingredients which is needed (up to a maximum of 99).
Input
IX Actor
CatchActor 6C7A LD A,(IX+$00) Fetch the actor ID.
6C7D AND %00111111 Keep only bits 0-5.
6C7F CP $18 Jump to CatchNasty if the actor is not an ingredient.
6C81 JR NC,CatchNasty
6C83 CALL StartRisingNotes Start the rising notes using StartRisingNotes.
6C86 LD B,$01 Take one ingredient (B=01).
Prev: 6C58 Up: Map Next: 6C88