Prev: BA15 Up: Map Next: BA29
BA22: Game over
Used by the routines at spark_touch, inc_days and lose_life.
The one way out of a game, whichever way it ended: inc_days comes here when the fortieth day begins, lose_life when the last life is lost, and upd_131_to_133 when the final animation reaches the player after the fourteenth object has gone into the cauldron. The last case has set $5BC3, and the player sees the completion message at game_complete_msg before the same summary screen everyone else gets.
game_over BA22 LD A,($5BC3)
BA25 AND A
BA26 JP NZ,game_complete_msg
Prev: BA15 Up: Map Next: BA29