Blank screen when count reaches 0

parent 71b50e18
......@@ -17,7 +17,12 @@ function retrieve_last_super_mario_count()
end
function draw_display()
disp.draw(super_mario_count, timer_id)
if super_mario_count == 0 then
disp.flash_title(" ", 1)
disp.draw(" ", timer_id)
else
disp.draw(super_mario_count, timer_id)
end
end
function change_super_mario_count(what)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment