<commit_before>var ratio_use = ratio;
//functia principala
function main_call_setupContent() {
	//Arma
	$('#SZ1').css('width', 150 * ratio);
	$('#SZ1').css('height', 150 * ratio);
	
	//Incarcator
	$('#SZ2').css('width', 200 * ratio);
	$('#SZ2').css('height', 90 * ratio);
	
	//Scorul
	$('#SZ3').css('width', 235 * ratio);
	$('#SZ3').css('height', 100 * ratio);
	
	//var image_ids= ["#SZ1","#SZ2","#SZ3"];
	//var image_sizes = [ [150, 150], [200, 90], [235, 100] ];
	
	//Intro si sfarsit joc
	if($(window).height() < $(window).width()) {
		ratio_use = $(window).height() / 800;
	}
	
	$('#SZ4').css('width', 868 * ratio_use);
	$('#SZ4').css('height', 701 * ratio_use);
	$('#SZ4').css('left', ($(window).width() / 2) - ((868 * ratio_use) / 2));
	$('#SZ4').css('top', ($(window).height() / 2) - ((701 * ratio_use) / 2));
	
	//Arma
	setup_gun_SS();
	
	//Zombie
	SZ_createZombie(1);
	
	//Creare zombie
	for(i = 1 ; i < 7; i++) {
		SZ_createZombie(i);
	}
	
	start_end_game(0);
}

var gameEnded = 0;
function start_end_game(whichOne) {
	for (i = 1; i < 4; i++) {
		$('#SZ0_'+i).css({opacity:0});
	}
	for (i = 1; i < 7; i++) {
		
		$('#zombie_'+i).stop();
		$('#zombie_'+i).css({opacity:0});
		$('#bubble_zombie_'+i).css({opacity:0});
	}
	if(whichOne==0){
		$('#SZ4').css('background-image', 'url(images/splash_intro.png)');
	} else {
		$('#SZ3').css({opacity:1});
		$('#SZ4').css('background-image','url(images/splash_gameover.png)');
	}

	$('#SZ4').css('top', ($(window).height()/2)-((701 * ratio_use)/2));
	
	$('#SZ4').css({opacity:1});
	gameEnded= 1;<commit_msg>Fixed bug<commit_after>var ratio_use = ratio;
//functia principala
function main_call_setupContent() {
	//Arma
	$('#SZ1').css('width', 150 * ratio);
	$('#SZ1').css('height', 150 * ratio);
	
	//Incarcator
	$('#SZ2').css('width', 200 * ratio);
	$('#SZ2').css('height', 90 * ratio);
	
	//Scorul
	$('#SZ3').css('width', 235 * ratio);
	$('#SZ3').css('height', 100 * ratio);
	
	//var image_ids= ["#SZ1","#SZ2","#SZ3"];
	//var image_sizes = [ [150, 150], [200, 90], [235, 100] ];
	
	//Intro si sfarsit joc
	if($(window).height() < $(window).width()) {
		ratio_use = $(window).height() / 800;
	}
	
	$('#SZ4').css('width', 868 * ratio_use);
	$('#SZ4').css('height', 701 * ratio_use);
	$('#SZ4').css('left', ($(window).width() / 2) - ((868 * ratio_use) / 2));
	$('#SZ4').css('top', ($(window).height() / 2) - ((701 * ratio_use) / 2));
	
	//Arma
	setup_gun_SS();
	
	//Zombie
	SZ_createZombie(1);
	
	//Creare zombie
	for(i = 1 ; i < 7; i++) {
		SZ_createZombie(i);
	}
	
	start_end_game(0);
}

var gameEnded = 0;
function start_end_game(whichOne) {
	for (i = 1; i < 4; i++) {
		$('#SZ0_'+i).css({opacity:0});
	}
	for (i = 1; i < 7; i++) {
		
		$('#zombie_'+i).stop();
		$('#zombie_'+i).css({opacity:0});
		$('#bubble_zombie_'+i).css({opacity:0});
	}
	if(whichOne==0){
		$('#SZ4').css('background-image', 'url(Images/splash_intro.png)');
	} else {
		$('#SZ3').css({opacity:1});
		$('#SZ4').css('background-image','url(Images/splash_gameover.png)');
	}

	$('#SZ4').css('top', ($(window).height()/2)-((701 * ratio_use)/2));
	
	$('#SZ4').css({opacity:1});
	gameEnded= 1;
{'fraction_non_alphanumeric': 0.2958199356913183, 'fraction_numerical': 0.05980707395498392, 'mean_word_length': 4.219798657718121, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6579728', 'n_tokens_mistral': 1512, 'n_tokens_neox': 1314, 'n_words': 224}