instead of the returns he could simply change the 3rd conditional to
elseif (%8ball.status) {