if (canquit == 1) { if (quit > 20) { if (global.osflavor <= 2) game_end(); } }