I just had the same problem playing as a Turtle Tamer. The script decided to get the cake, Equipped the Knob Elite Uniform, Then BumAdv swapped out the Polearm for a Mace of the Turtle and adventured until it ran out of turns trying to get Knob Frosting.