AI routine for Puyopuyo Quest