The game sets the colors of the stones to be picked up via a simple formula, then POKEs this number to the color memory. On level 4, this produces flashing colors (but otherwise works fine). On level 5 however, the numbers become larger than 255, and the game stops with ?ILLEGAL QUANTITY ERROR.
To fix this, change line 1474 from
1474 XM=0:YM=0:FORA=1TOLE*5:J=J+(A/5)*5 to
1474 XM=0:YM=0:FORA=1TOLE*5:J=(J+(A/5)*5)AND127OR1 This ensures that the colors are valid, not flashing, and never black (which would be very difficult to find blindly). |