// MTE MK1 (la Churrera) v5.0
// Copyleft 2010-2014, 2020 by the Mojon Twins

// This code is used to display the "new level" screen. You can customize it for your game:

{	
	bonus_time = 0; tiempo_nivel = 60;
	if (n_pant){
		if (n_pant == next_bonus) {
			bonus_time = 1;
			next_bonus += 11;
		}
	}
	_x = 11; _y = 12;
	if (bonus_time){
		_gp_gen = "BONUS TIME!"; print_str ();
		tiempo_nivel = 30;
	}else{
	 _gp_gen = "LEVEL"; print_str ();
	_x = 17; _y = 12; _t = n_pant+1; print_number2 ();
	}
	cpc_UpdateNow (0);
	music_stop();
	enemigos_matados = 0;
	old_score = 1;
	AY_PLAY_MUSIC (5);
	espera_activa (180);
	unpack ((unsigned int) levels [n_pant].c_map_bolts, (unsigned int) (mapa));
	unpack ((unsigned int) levels [n_pant].c_enems_hotspots, (unsigned int) (malotes));
	
	

}
