Wanna bet?You forgot at least one thing.
A hint, when you detect that no score has been stored (location 0 <> 0x77) then you write zero as the lowest score, how can anyone get lower than zero?
Mike.
Edit, at least that's what I think the code is doing.