GameMode	jeeasy
GameType	QUEST

	WaterHeightCounter			H
	TotalBlocksOnScreenCounter		T
LivesRemaining02Counter		Q
Program0123

TEXTBUFFER      LEVS                  


        jeeasy.wbl


ENDBUFFER

Loop INIT
Do
	SendMessage	DEACTIVATESCORE
	SetParameter	BACKDROP	BACKDROP8
	SendMessage	SETBACKDROP

	SetParameter	NUMLINES	25
	SendMessage	SetStartLines

        SetParameter    BUFFERNAME              LEVS
        SetParameter    NUMLINES                25             
        SendMessage     LOADLEVEL

	SendMessage	PAUSELANDLEFT
	SendMessage	PAUSELANDRIGHT
	
	SetParameter	LIVES	0
	SendMessage	SETLIVES

	SetParameter 	POSITION   	0	-175	0	0
	SendMessage 	CHANGEWATERHEIGHT

	SetParameter	MESSAGE_ID	TIMER1
	SetParameter	INTERVAL	1000
	SetParameter	REPEAT		TRUE
	SendMessage	CREATETIMER




	Set A to 0
	Set B to 0
	Set Z to 60
	Set S to 0
	Set X to 2
	Set T to 0

	SendMessage	MUSIC_GROOVE_LOW

SetParameter    TEXT    jeeasy.wbw
SendMessage     LOADWEAPONLIST


	SendMessage	FIRINGOFF
	SendMessage	StartBriefing

	GotoLoop		FUN

EndLoop



Loop FUN
Do


	        SetParameter    Colour1         1.0     0.86    0.03    1.0
        SetParameter    Colour2         1.0     0.86    0.03    1.0
        SetParameter    Colour3         1.0     0.86    0.03    1.0
        SetParameter    Colour4         0.0     0.0     0.0     1.0
        SetParameter    Colour5         0.0     0.0     0.0     1.0
        SetParameter    Colour6         0.0     0.0     0.0     1.0
        
	SetParameter	Scale1		1.3	1.3	1.3	0.0
	SetParameter	Scale2		1.3	1.3	1.3	0.0
	SetParameter	Scale3		1.3	1.3	1.3	0.0
	SetParameter	Scale4		1.3	1.3	1.3	0.0
	SetParameter	Scale5		1.3	1.3	1.3	0.0

	SetParameter	Lifetime	0.0	0.0	0.0	0.0
	SetParameter	Justify		Centre

	SetParameter	Position	0.0	180.0	0.0	0.0
	SetParameter	Text		EASY_PEASY
FRE	SetParameter	TEXT		JEU_D'ENFANT
	SPA SetParameter	Text	PASE_MISÍ
	GER SetParameter	Text	PILLE_PALLE
	ITA SetParameter	TEXT	METTI_IN_ORDINE
	POL SetParameter	TEXT	£atwizna



	SendMessage 	CREATETEXT

	SetParameter	Colour1	1.0	1.0	1.0	1.0
	SetParameter	Colour2	1.0	1.0	1.0	1.0
	SetParameter	Colour3	1.0	1.0	1.0	1.0
	SetParameter	Colour4	0.0	0.0	0.0	1.0
	SetParameter	Colour5	0.0	0.0	0.0	1.0
	SetParameter	Colour6	0.0	0.0	0.0	1.0
	SetParameter	Scale1		0.8	0.8	0.8	0.0
	SetParameter	Scale2		0.8	0.8	0.8	0.0
	SetParameter	Scale3		0.8	0.8	0.8	0.0
	SetParameter	Scale4		0.8	0.8	0.8	0.0
	SetParameter	Scale5		0.8	0.8	0.8	0.0

	SetParameter	Lifetime	0.0	0.0	0.0	0.0
	SetParameter	Justify		Centre

	SetParameter	Position	0.0	115.0	0.0	0.0
	SetParameter	Text		you_have_3_minutes
FRE	SetParameter	TEXT		Vous_avez_3_minutes
	SPA SetParameter	Text	Tienes_3_minutos
	GER SetParameter	Text	Du_hast_3_Minuten_um
	ITA SetParameter	TEXT	Hai_3_minuti_per
	POL SetParameter	TEXT	Masz_3_minuty_



	SendMessage 	CREATETEXT

	SetParameter	Position	0.0	80.0	0.0	0.0
	SetParameter	Text		to_clear_the_screen
FRE	SetParameter	TEXT		pour_déblayer_l'écran.
	SPA SetParameter	Text	para_despejar_la_pantalla.
	GER SetParameter	Text	den_Bildschirm_abzuräumen.
	ITA SetParameter	TEXT	ripulire_lo_schermo.
	POL SetParameter	TEXT	na_oczyszczenie_ekranu.



	SendMessage 	CREATETEXT


        SetParameter    Colour1         1.0     0.22    0.07    1.0
        SetParameter    Colour2         1.0     0.22    0.07    1.0
        SetParameter    Colour3         1.0     0.22    0.07    1.0
        SetParameter    Colour4         0.0     0.0     0.0     1.0
        SetParameter    Colour5         0.0     0.0     0.0     1.0
        SetParameter    Colour6         0.0     0.0     0.0     1.0
        
	SetParameter	Scale1		1.0	1.0	1.0	0.0
	SetParameter	Scale2		1.0	1.0	1.0	0.0
	SetParameter	Scale3		1.0	1.0	1.0	0.0
	SetParameter	Scale4		1.0	1.0	1.0	0.0
	SetParameter	Scale5		1.0	1.0	1.0	0.0

	SetParameter	Position	0.0	-125.0	0.0	0.0
	SetParameter	Text		Press_fire_to_start
FRE	SetParameter	TEXT		Appuyez_sur_Tir_pour_commencer!
	GER SetParameter	Text	Zum_Starten_Feuer_drücken
	ITA SetParameter	TEXT	Premi_fuoco_per_cominciare
	POL SetParameter	TEXT	Naciœnij_"Strza³"



	SPA	SetParameter	Scale1		0.8	0.8	0.8	0.0
	SPA	SetParameter	Scale2		0.8	0.8	0.8	0.0
	SPA	SetParameter	Scale3		0.8	0.8	0.8	0.0
	SPA	SetParameter	Scale4		0.8	0.8	0.8	0.0
	SPA	SetParameter	Scale5		0.8	0.8	0.8	0.0

	SPA SetParameter	Text	Pulsa_el_disparo_para_empezar
	SendMessage 	CREATETEXT

	SPA	SetParameter	Scale1		1.0	1.0	1.0	0.0
	SPA	SetParameter	Scale2		1.0	1.0	1.0	0.0
	SPA	SetParameter	Scale3		1.0	1.0	1.0	0.0
	SPA	SetParameter	Scale4		1.0	1.0	1.0	0.0
	SPA	SetParameter	Scale5		1.0	1.0	1.0	0.0



	SetParameter 	POSITION   	0	-175	0	0
	SendMessage 	CHANGEWATERHEIGHT



	OnMessage FIREPRESSED
	Do
		SendMessage FIRINGON
		SendMessage	EndBriefing
		SendMessage	MUSIC_GROOVE_MED_LOW			

	SetParameter	MESSAGE_ID	TIMER9
	SetParameter	INTERVAL	1000
	SetParameter	REPEAT		TRUE
	SendMessage	CREATETIMER




		GotoLoop MAIN


	EndResponse	

EndLoop


Loop MAIN
Do
	SetParameter	Scale1		1.0	1.0	1.0	1.0
	SetParameter	Scale2		1.0	1.0	1.0	1.0
	SetParameter	Scale3		1.0	1.0	1.0	1.0
	SetParameter	Scale4		1.0	1.0	1.0	1.0
	SetParameter	Scale5		1.0	1.0	1.0	1.0
	SetParameter	FRAME		3
	SetParameter	Lifetime	0.0	0.0	0.0	0.0
	SetParameter	Position	180.0	210.0	0.0	0.0
	SendMessage	CREATEICON

	SetParameter	Scale1		0.8	0.8	0.8	0.8
	SetParameter	Scale2		0.8	0.8	0.8	0.8
	SetParameter	Scale3		0.8	0.8	0.8	0.8
	SetParameter	Scale4		0.8	0.8	0.8	0.8
	SetParameter	Scale5		0.8	0.8	0.8	0.8



	OnMessage TIMER9
	Do
	

		SetParameter	Velocity	0.0	0.0	0.0	0.0


		If Z IsGreaterThan 60
		Then
			Subtract 60 From Z
			Add 1 to X
			
		EndIf

		Subtract 1 from Z

		SetParameter	Lifetime	0.0	0.0	1.0	0.0
		SetParameter	Position	240.0	210.0	0.0	0.0






		If Z IsLessThan 0
		Then
			Subtract 1 from X

			Set Z To 59
			
		EndIf

		If X IsEqualTo 0
		Then

			If Z IsLessThan 11
			Then

				SetParameter	Colour1		1.0	0.22	0.07	1.0
				SetParameter	Colour2		1.0	0.22	0.07	1.0
				SetParameter	Colour3		1.0	0.22	0.07	1.0
			
			EndIf

		EndIf

		If Z IsLessThan 10
		Then
			SetParameter	Text		0
			SetParameter	Position	240.0	210.0	0.0	0.0
			SendMessage	CREATETEXT
			SetParameter	Position	255.0	210.0	0.0	0.0
		EndIf

		If Z IsEqualTo 60 
		Then

			Set Z TO 00
			ConvertToText   Z
			SendMessage	CREATETEXT
			
			Set Z To 60

		EndIf
		


		If X IsEqualTo -1
		Then

			Set Z To 0

			SetParameter	Scale1		0.8	0.8	0.8	0.0
			SetParameter	Scale2		0.8	0.8	0.8	0.0
			SetParameter	Scale3		0.8	0.8	0.8	0.0
			SetParameter	Scale4		0.8	0.8	0.8	0.0
			SetParameter	Scale5		0.8	0.8	0.8	0.0
			SetParameter	TEXT	0
			SetParameter	Position	240.0	210.0	0.0	0.0
			SendMessage	CREATETEXT

			SetParameter	Scale1		0.8	0.8	0.8	0.0
			SetParameter	Scale2		0.8	0.8	0.8	0.0
			SetParameter	Scale3		0.8	0.8	0.8	0.0
			SetParameter	Scale4		0.8	0.8	0.8	0.0
			SetParameter	Scale5		0.8	0.8	0.8	0.0
			SetParameter	TEXT	0
			SetParameter	Position	255.0	210.0	0.0	0.0
			SendMessage	CREATETEXT

			Set X To 0
GotoLoop TIME


		EndIf


		If Z IsEqualTo 0
		Then

			If X IsEqualTo 0
			Then

GotoLoop TIME
			EndIf		

		EndIf


		If Z IsLessThan 60
		Then

			ConvertToText   Z
			SendMessage	CREATETEXT

		EndIf

		SetParameter	Scale1		0.8	0.8	0.8	0.0
		SetParameter	Scale2		0.8	0.8	0.8	0.0
		SetParameter	Scale3		0.8	0.8	0.8	0.0
		SetParameter	Scale4		0.8	0.8	0.8	0.0
		SetParameter	Scale5		0.8	0.8	0.8	0.0
		SetParameter	Lifetime	0.0	0.0	1.0	0.0

		ConvertToText	X
		SetParameter	Position	215.0	210.0	0.0	0.0
		SendMessage	CREATETEXT

	EndResponse

	If Q BecomesEqualTo -1
	Then

		SendMessage LOSECONDITION
	SetParameter    Velocity        0.0     0.0     0.0     0.0
        SetParameter    Gravity 0.0     0.0     0.0     0.0



      SetParameter	Position	0.0	0.0	0.0	0.0
SetParameter	Scale1		8.0	8.0	8.0	1.0
SetParameter	Scale2		5.0	5.0	5.0	1.0
SetParameter	Scale4		3.0	3.0	3.0	1.0
SetParameter	Colour1		1.0	0.22	0.07	1.0
SetParameter	Colour2		1.0	0.22	0.07	1.0
SetParameter	Colour3		1.0	0.22	0.07	1.0
SetParameter	Colour4		0.0	0.0	0.0	1.0
SetParameter	Colour5		0.0	0.0	0.0	1.0
SetParameter	Colour6		0.0	0.0	0.0	1.0
SetParameter	Lifetime	0.2	0.7	3.2	4.2
SetParameter	Text		FAILED!
FRE SetParameter	TEXT	ÉCHEC!
SPA SetParameter	Text	¡FALLASTE!
GER SetParameter	Text	VERLOREN!
ITA SetParameter	TEXT	HAI_FALLITO!
POL SetParameter	TEXT	Klêska



SendMessage	CREATETEXT
GotoLoop END
	EndIf



	If X BECOMESEQUALTO	1
	Then
		
	SendMessage	MUSIC_GROOVE_MED_HI			
			        SetParameter    Colour1         0.0     0.43    0.74    1.0
        SetParameter    Colour2         1.0     1.0    1.0    1.0
        SetParameter    Colour3        1.0     1.0    1.0    1.0
        SetParameter    Colour4         1.0     1.0    1.0    1.0
        SetParameter    Colour5         0.0     0.0     0.0     1.0
        SetParameter    Colour6         0.0     0.0     0.0     1.0
        
			SetParameter	Scale1		0.5	1.5	0.6	0.0
			SetParameter	Scale2		1.5	2.5	1.6	0.0
			SetParameter	Lifetime	1.1	1.5	2.5	2.9
			SetParameter	Position	0.0	25.0	0.0	0.0
			SetParameter	Text		2_minutes_remaining!
FRE			SetParameter	TEXT		2_minutes_restantes!
			SPA SetParameter	Text	¡Quedan_dos_minutos!
			GER SetParameter	Text	Noch_2_Minuten!
			ITA SetParameter	TEXT	Ti_restano_2_minuti!
			POL SetParameter	TEXT	Pozosta³y_2_minuty




			SendMessage	CREATETEXT
	Endif


	IF X BECOMESEQUALTO	0
	Then
	
	SendMessage	MUSIC_GROOVE_HIGH
			
        SetParameter    Colour1        1.0     1.0    1.0    1.0
        SetParameter    Colour2         1.0     1.0    1.0    1.0
        SetParameter    Colour3        1.0     1.0    1.0    1.0
        SetParameter    Colour4         0.0     0.0     0.0     1.0
        SetParameter    Colour5         0.0     0.0     0.0     1.0
        SetParameter    Colour6         0.0     0.0     0.0     1.0
        
			SetParameter	Scale1		0.5	1.5	0.6	0.0
			SetParameter	Scale2		1.5	2.5	1.6	0.0
			SetParameter	Lifetime	1.1	1.5	2.5	2.9
			SetParameter	Position	0.0	25.0	0.0	0.0
			SetParameter	Text		1_minute_remaining!
FRE			SetParameter	TEXT		1_minute_restante!
			SPA SetParameter	Text	¡Queda_un_minuto!
			GER SetParameter	Text	Noch_1_Minuten!
			ITA SetParameter	TEXT	Ti_resta_1_minuto!
			POL SetParameter	TEXT	Pozosta³a_1_minuta


			SendMessage	CREATETEXT
	Endif


	
		SetParameter 	POSITION   	0	-175	0	0
		SendMessage 	CHANGEWATERHEIGHT

	If T BecomesEqualTo 7
	Then

	SetParameter	TEXT	G1
	SendMessage	SETNEXTGAMEMODE
	SendMessage	LOSECONDITION

	SetParameter	Position	0.0 	0.0	0.0	0.0
SetParameter	Lifetime	0.2	0.7	3.2	4.2
SetParameter	Scale1		0.4	0.4	0.4	0.0
SetParameter	Scale2		1.4	1.4	1.4	0.0
SetParameter	Scale3		3.4	3.4	3.4	0.0
SetParameter	Scale4		2.0	2.0	2.0	0.0
SetParameter	Scale5		1.8	1.8	1.8	0.0
SetParameter	Colour1		0.18	0.9	0.1	1.0
SetParameter	Colour2		0.18	0.9	0.1	1.0
SetParameter	Colour3		0.18	0.9	0.1	1.0
SetParameter	Colour4		1.0	1.0	1.0	1.0
SetParameter	Colour5		0.0	0.0	0.0	1.0
SetParameter	Colour6		0.0	0.0	0.0	1.0
SetParameter	Text	SUCCESS!
FRE SetParameter	TEXT	RÉUSSI!
SPA SetParameter	Text	¡LO_CONSEGUISTE!
GER SetParameter	Text	GESCHAFFT!
ITA SetParameter	TEXT	HAI_VINTO!
POL SetParameter	TEXT	Sukces!



SendMessage	CREATETEXT

SendMessage	FIRINGOFF
GotoLoop END

	EndIf

EndLoop


Loop END
Do

EndLoop

Loop TIME
Do

			SetParameter	Position	0.0	0.0	0.0	0.0
			SetParameter	Scale1		8.0	8.0	8.0	1.0
			SetParameter	Scale2		5.0	5.0	5.0	1.0
			SetParameter	Scale4		3.0	3.0	3.0	1.0
			SetParameter	Colour1		1.0	0.22	0.07	1.0
			SetParameter	Colour2		1.0	0.22	0.07	1.0
			SetParameter	Colour3		1.0	0.22	0.07	1.0
			SetParameter	Colour4		0.0	0.0	0.0	1.0
			SetParameter	Colour5		0.0	0.0	0.0	1.0
			SetParameter	Colour6		0.0	0.0	0.0	1.0
			SetParameter	Lifetime	0.2	0.7	3.2	4.2
			SetParameter	Text		TIME'S_UP!
FRE			SetParameter	TEXT		TEMPS_ÉCOULÉ!
			SPA SetParameter	Text	¡TIEMPO!
			GER SetParameter	Text	ENDE!
			ITA SetParameter	TEXT	TEMPO_ESAURITO!
			POL SetParameter	TEXT	Czas_up³yn¹³


			SendMessage	CREATETEXT

			SendMessage 	LOSECONDITION
			GotoLoop END

EndLoop


EndFile	
