home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CyberMycha 2003 October
/
cmycha200310.iso
/
Szkola
/
Szkola_Koziolka.exe
/
dane
/
PRZYGODA
/
Pilka
/
Pilka.cnv
< prev
next >
Wrap
Text File
|
2003-09-09
|
30KB
|
1,003 lines
OBJECT=VARDFORCEX
VARDFORCEX:TYPE=DOUBLE
VARDFORCEX:VALUE=0
OBJECT=VARDFORCEY
VARDFORCEY:TYPE=DOUBLE
VARDFORCEY:VALUE=0
OBJECT=VARPLAYER
VARPLAYER:TYPE=INTEGER
OBJECT=VARPUNKTYLEFT
VARPUNKTYLEFT:TYPE=INTEGER
VARPUNKTYLEFT:ONCHANGED={SNDGWAR^STOP();SNDSIATKA^PLAY();}
OBJECT=VARPUNKTYRIGHT
VARPUNKTYRIGHT:TYPE=INTEGER
VARPUNKTYRIGHT:ONCHANGED={SNDGWAR^STOP();SNDSIATKA^PLAY();}
OBJECT=VARDTEMP1
VARDTEMP1:TYPE=DOUBLE
OBJECT=VARDTEMP2
VARDTEMP2:TYPE=DOUBLE
OBJECT=VARDTEMP3
VARDTEMP3:TYPE=DOUBLE
OBJECT=VARITEMP1
VARITEMP1:TYPE=INTEGER
OBJECT=VARITEMP2
VARITEMP2:TYPE=INTEGER
OBJECT=VARDFORCE
VARDFORCE:TYPE=INTEGER
VARDFORCE:VALUE=10000
OBJECT=VARSTEMP
VARSTEMP:TYPE=STRING
OBJECT=VARSTEMP1
VARSTEMP1:TYPE=STRING
OBJECT=VARSTEMP2
VARSTEMP2:TYPE=STRING
OBJECT=VARBTEMP1
VARBTEMP1:TYPE=BOOL
OBJECT=VARTIME
VARTIME:TYPE=INTEGER
VARTIME:ONCHANGED=BEHUPDATETIME
OBJECT=VARGOOL
VARGOOL:TYPE=INTEGER
OBJECT=VARTEMPGOOL
VARTEMPGOOL:TYPE=INTEGER
OBJECT=VARLASTTIME
VARLASTTIME:TYPE=INTEGER
OBJECT=VARHEADSX
VARHEADSX:TYPE=INTEGER
VARHEADSX:ONCHANGED^0=BEHHEADSX
VARHEADSX:ONCHANGED^1=BEHHEADSX
VARHEADSX:ONCHANGED^2=BEHHEADSX
VARHEADSX:ONCHANGED^3=BEHHEADSX
VARHEADSX:ONCHANGED^4=BEHHEADSX
VARHEADSX:ONCHANGED^5=BEHHEADSX
VARHEADSX:ONCHANGED^6=BEHHEADSX
VARHEADSX:ONCHANGED^7=BEHHEADSX
OBJECT=VARHEADSY
VARHEADSY:TYPE=INTEGER
VARHEADSY:ONCHANGED^0=BEHHEADSY
VARHEADSY:ONCHANGED^1=BEHHEADSY
VARHEADSY:ONCHANGED^2=BEHHEADSY
VARHEADSY:ONCHANGED^3=BEHHEADSY
VARHEADSY:ONCHANGED^4=BEHHEADSY
VARHEADSY:ONCHANGED^5=BEHHEADSY
VARHEADSY:ONCHANGED^6=BEHHEADSY
VARHEADSY:ONCHANGED^7=BEHHEADSY
OBJECT=VARELAPSED
VARELAPSED:TYPE=DOUBLE
OBJECT=VARWHOSHOT
VARWHOSHOT:TYPE=INTEGER
OBJECT=VARBALLPOSY
VARBALLPOSY:TYPE=INTEGER
OBJECT=VARHELP
VARHELP:TYPE=INTEGER
OBJECT=ANNPL0
ANNPL0:TYPE=ANIMO
ANNPL0:VISIBLE=TRUE
ANNPL0:FILENAME=KOZA1.ANN
ANNPL0:TOCANVAS=TRUE
ANNPL0:PRIORITY=0
ANNPL0:FPS=16
ANNPL0:PRELOAD=TRUE
ANNPL0:RELEASE=TRUE
ANNPL0:MONITORCOLLISION=FALSE
ANNPL0:MONITORCOLLISIONALPHA=FALSE
ANNPL0:ONSIGNAL^105=BEHKICK(0)
OBJECT=ANNPL1
ANNPL1:TYPE=ANIMO
ANNPL1:VISIBLE=TRUE
ANNPL1:FILENAME=KOZA3.ANN
ANNPL1:TOCANVAS=TRUE
ANNPL1:PRIORITY=0
ANNPL1:FPS=16
ANNPL1:PRELOAD=TRUE
ANNPL1:RELEASE=TRUE
ANNPL1:MONITORCOLLISION=FALSE
ANNPL1:MONITORCOLLISIONALPHA=FALSE
ANNPL1:ONSIGNAL^105=BEHKICK(1)
OBJECT=ANNPL2
ANNPL2:TYPE=ANIMO
ANNPL2:VISIBLE=TRUE
ANNPL2:FILENAME=KOZA2.ANN
ANNPL2:TOCANVAS=TRUE
ANNPL2:PRIORITY=0
ANNPL2:FPS=16
ANNPL2:PRELOAD=TRUE
ANNPL2:RELEASE=TRUE
ANNPL2:MONITORCOLLISION=FALSE
ANNPL2:MONITORCOLLISIONALPHA=FALSE
ANNPL2:ONSIGNAL^105=BEHKICK(2)
OBJECT=ANNPL3
ANNPL3:TYPE=ANIMO
ANNPL3:VISIBLE=TRUE
ANNPL3:FILENAME=KOZA4.ANN
ANNPL3:TOCANVAS=TRUE
ANNPL3:PRIORITY=0
ANNPL3:FPS=16
ANNPL3:PRELOAD=TRUE
ANNPL3:RELEASE=TRUE
ANNPL3:MONITORCOLLISION=FALSE
ANNPL3:MONITORCOLLISIONALPHA=FALSE
ANNPL3:ONSIGNAL^105=BEHKICK(3)
OBJECT=ANNST
ANNST:TYPE=ANIMO
ANNST:VISIBLE=TRUE
ANNST:FILENAME=$COMMON\ST.ANN
ANNST:TOCANVAS=TRUE
ANNST:PRIORITY=0
ANNST:FPS=16
ANNST:PRELOAD=TRUE
ANNST:RELEASE=TRUE
ANNST:MONITORCOLLISION=FALSE
ANNST:MONITORCOLLISIONALPHA=FALSE
ANNST:ONFINISHED^ELAPSE={THIS^PLAY("ELAPSE");}
ANNST:ONFRAMECHANGED^ELAPSE=BEHMOVESCENE
OBJECT=ANNBALL
ANNBALL:TYPE=ANIMO
ANNBALL:VISIBLE=TRUE
ANNBALL:FILENAME=BALL.ANN
ANNBALL:TOCANVAS=TRUE
ANNBALL:PRIORITY=1
ANNBALL:FPS=16
ANNBALL:PRELOAD=TRUE
ANNBALL:RELEASE=TRUE
ANNBALL:MONITORCOLLISION=FALSE
ANNBALL:MONITORCOLLISIONALPHA=FALSE
ANNBALL:ONSIGNAL^7=BEHBALLHIT(7)
ANNBALL:ONSIGNAL^8=BEHBALLHIT(8)
OBJECT=ANNLSCORE10
ANNLSCORE10:TYPE=ANIMO
ANNLSCORE10:VISIBLE=TRUE
ANNLSCORE10:FILENAME=LSCORE10.ANN
ANNLSCORE10:TOCANVAS=TRUE
ANNLSCORE10:PRIORITY=10
ANNLSCORE10:FPS=16
ANNLSCORE10:PRELOAD=TRUE
ANNLSCORE10:RELEASE=TRUE
ANNLSCORE10:MONITORCOLLISION=FALSE
ANNLSCORE10:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNLSCORE01
ANNLSCORE01:TYPE=ANIMO
ANNLSCORE01:VISIBLE=TRUE
ANNLSCORE01:FILENAME=LSCORE01.ANN
ANNLSCORE01:TOCANVAS=TRUE
ANNLSCORE01:PRIORITY=10
ANNLSCORE01:FPS=16
ANNLSCORE01:PRELOAD=TRUE
ANNLSCORE01:RELEASE=TRUE
ANNLSCORE01:MONITORCOLLISION=FALSE
ANNLSCORE01:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNRSCORE10
ANNRSCORE10:TYPE=ANIMO
ANNRSCORE10:VISIBLE=TRUE
ANNRSCORE10:FILENAME=RSCORE10.ANN
ANNRSCORE10:TOCANVAS=TRUE
ANNRSCORE10:PRIORITY=10
ANNRSCORE10:FPS=16
ANNRSCORE10:PRELOAD=TRUE
ANNRSCORE10:RELEASE=TRUE
ANNRSCORE10:MONITORCOLLISION=FALSE
ANNRSCORE10:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNRSCORE01
ANNRSCORE01:TYPE=ANIMO
ANNRSCORE01:VISIBLE=TRUE
ANNRSCORE01:FILENAME=RSCORE01.ANN
ANNRSCORE01:TOCANVAS=TRUE
ANNRSCORE01:PRIORITY=10
ANNRSCORE01:FPS=16
ANNRSCORE01:PRELOAD=TRUE
ANNRSCORE01:RELEASE=TRUE
ANNRSCORE01:MONITORCOLLISION=FALSE
ANNRSCORE01:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNTIME
ANNTIME:TYPE=ANIMO
ANNTIME:VISIBLE=TRUE
ANNTIME:FILENAME=TIME.ANN
ANNTIME:TOCANVAS=TRUE
ANNTIME:PRIORITY=0
ANNTIME:FPS=16
ANNTIME:PRELOAD=TRUE
ANNTIME:RELEASE=TRUE
ANNTIME:MONITORCOLLISION=FALSE
ANNTIME:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNPUB0
ANNPUB0:TYPE=ANIMO
ANNPUB0:VISIBLE=TRUE
ANNPUB0:FILENAME=N_PUB1.ANN
ANNPUB0:TOCANVAS=TRUE
ANNPUB0:PRIORITY=1
ANNPUB0:FPS=16
ANNPUB0:PRELOAD=TRUE
ANNPUB0:RELEASE=TRUE
ANNPUB0:MONITORCOLLISION=FALSE
ANNPUB0:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNPUB1
ANNPUB1:TYPE=ANIMO
ANNPUB1:VISIBLE=TRUE
ANNPUB1:FILENAME=N_PUB2.ANN
ANNPUB1:TOCANVAS=TRUE
ANNPUB1:PRIORITY=1
ANNPUB1:FPS=16
ANNPUB1:PRELOAD=TRUE
ANNPUB1:RELEASE=TRUE
ANNPUB1:MONITORCOLLISION=FALSE
ANNPUB1:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNPUB2
ANNPUB2:TYPE=ANIMO
ANNPUB2:VISIBLE=TRUE
ANNPUB2:FILENAME=N_PUB3.ANN
ANNPUB2:TOCANVAS=TRUE
ANNPUB2:PRIORITY=1
ANNPUB2:FPS=16
ANNPUB2:PRELOAD=TRUE
ANNPUB2:RELEASE=TRUE
ANNPUB2:MONITORCOLLISION=FALSE
ANNPUB2:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNPUB3
ANNPUB3:TYPE=ANIMO
ANNPUB3:VISIBLE=TRUE
ANNPUB3:FILENAME=P_PUB1.ANN
ANNPUB3:TOCANVAS=TRUE
ANNPUB3:PRIORITY=1
ANNPUB3:FPS=16
ANNPUB3:PRELOAD=TRUE
ANNPUB3:RELEASE=TRUE
ANNPUB3:MONITORCOLLISION=FALSE
ANNPUB3:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNPUB4
ANNPUB4:TYPE=ANIMO
ANNPUB4:VISIBLE=TRUE
ANNPUB4:FILENAME=P_PUB2.ANN
ANNPUB4:TOCANVAS=TRUE
ANNPUB4:PRIORITY=1
ANNPUB4:FPS=16
ANNPUB4:PRELOAD=TRUE
ANNPUB4:RELEASE=TRUE
ANNPUB4:MONITORCOLLISION=FALSE
ANNPUB4:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNPUB5
ANNPUB5:TYPE=ANIMO
ANNPUB5:VISIBLE=TRUE
ANNPUB5:FILENAME=P_PUB3.ANN
ANNPUB5:TOCANVAS=TRUE
ANNPUB5:PRIORITY=1
ANNPUB5:FPS=16
ANNPUB5:PRELOAD=TRUE
ANNPUB5:RELEASE=TRUE
ANNPUB5:MONITORCOLLISION=FALSE
ANNPUB5:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNPUB6
ANNPUB6:TYPE=ANIMO
ANNPUB6:VISIBLE=TRUE
ANNPUB6:FILENAME=P_PUB4.ANN
ANNPUB6:TOCANVAS=TRUE
ANNPUB6:PRIORITY=1
ANNPUB6:FPS=16
ANNPUB6:PRELOAD=TRUE
ANNPUB6:RELEASE=TRUE
ANNPUB6:MONITORCOLLISION=FALSE
ANNPUB6:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNFISH
ANNFISH:TYPE=ANIMO
ANNFISH:VISIBLE=FALSE
ANNFISH:FILENAME=RYBA.ANN
ANNFISH:TOCANVAS=TRUE
ANNFISH:PRIORITY=30
ANNFISH:FPS=16
ANNFISH:PRELOAD=TRUE
ANNFISH:RELEASE=TRUE
ANNFISH:MONITORCOLLISION=FALSE
ANNFISH:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNHAND
ANNHAND:TYPE=ANIMO
ANNHAND:VISIBLE=FALSE
ANNHAND:FILENAME=HAND.ANN
ANNHAND:TOCANVAS=TRUE
ANNHAND:PRIORITY=100
ANNHAND:FPS=16
ANNHAND:PRELOAD=TRUE
ANNHAND:RELEASE=TRUE
ANNHAND:MONITORCOLLISION=FALSE
ANNHAND:MONITORCOLLISIONALPHA=FALSE
OBJECT=ANNHANDSALA
ANNHANDSALA:TYPE=ANIMO
ANNHANDSALA:VISIBLE=FALSE
ANNHANDSALA:FILENAME=HANDPNS.ANN
ANNHANDSALA:TOCANVAS=TRUE
ANNHANDSALA:PRIORITY=100
ANNHANDSALA:FPS=16
ANNHANDSALA:PRELOAD=TRUE
ANNHANDSALA:RELEASE=TRUE
ANNHANDSALA:MONITORCOLLISION=FALSE
ANNHANDSALA:MONITORCOLLISIONALPHA=FALSE
OBJECT=IMGSIATKALEFT
IMGSIATKALEFT:TYPE=IMAGE
IMGSIATKALEFT:VISIBLE=TRUE
IMGSIATKALEFT:FILENAME=SIATKA_L.IMG
IMGSIATKALEFT:TOCANVAS=TRUE
IMGSIATKALEFT:PRIORITY=20
IMGSIATKALEFT:PRELOAD=TRUE
IMGSIATKALEFT:RELEASE=TRUE
IMGSIATKALEFT:MONITORCOLLISION=FALSE
IMGSIATKALEFT:MONITORCOLLISIONALPHA=FALSE
OBJECT=IMGSIATKARIGHT
IMGSIATKARIGHT:TYPE=IMAGE
IMGSIATKARIGHT:VISIBLE=TRUE
IMGSIATKARIGHT:FILENAME=SIATKA_R.IMG
IMGSIATKARIGHT:TOCANVAS=TRUE
IMGSIATKARIGHT:PRIORITY=20
IMGSIATKARIGHT:PRELOAD=TRUE
IMGSIATKARIGHT:RELEASE=TRUE
IMGSIATKARIGHT:MONITORCOLLISION=FALSE
IMGSIATKARIGHT:MONITORCOLLISIONALPHA=FALSE
OBJECT=IMGMENUSTD
IMGMENUSTD:TYPE=IMAGE
IMGMENUSTD:VISIBLE=TRUE
IMGMENUSTD:FILENAME=$COMMON\EXIT_MOD_STD.IMG
IMGMENUSTD:TOCANVAS=TRUE
IMGMENUSTD:PRIORITY=90
IMGMENUSTD:PRELOAD=TRUE
IMGMENUSTD:RELEASE=TRUE
IMGMENUSTD:MONITORCOLLISION=FALSE
IMGMENUSTD:MONITORCOLLISIONALPHA=FALSE
OBJECT=IMGMENUGLOW
IMGMENUGLOW:TYPE=IMAGE
IMGMENUGLOW:VISIBLE=TRUE
IMGMENUGLOW:FILENAME=$COMMON\EXIT_MOD_GLOW.IMG
IMGMENUGLOW:TOCANVAS=TRUE
IMGMENUGLOW:PRIORITY=90
IMGMENUGLOW:PRELOAD=TRUE
IMGMENUGLOW:RELEASE=TRUE
IMGMENUGLOW:MONITORCOLLISION=FALSE
IMGMENUGLOW:MONITORCOLLISIONALPHA=FALSE
OBJECT=IMGHELPSTD
IMGHELPSTD:TYPE=IMAGE
IMGHELPSTD:VISIBLE=TRUE
IMGHELPSTD:FILENAME=HELP_STD.IMG
IMGHELPSTD:TOCANVAS=TRUE
IMGHELPSTD:PRIORITY=90
IMGHELPSTD:PRELOAD=TRUE
IMGHELPSTD:RELEASE=TRUE
IMGHELPSTD:MONITORCOLLISION=FALSE
IMGHELPSTD:MONITORCOLLISIONALPHA=FALSE
OBJECT=IMGHELPGLOW
IMGHELPGLOW:TYPE=IMAGE
IMGHELPGLOW:VISIBLE=TRUE
IMGHELPGLOW:FILENAME=HELP_GLOW.IMG
IMGHELPGLOW:TOCANVAS=TRUE
IMGHELPGLOW:PRIORITY=90
IMGHELPGLOW:PRELOAD=TRUE
IMGHELPGLOW:RELEASE=TRUE
IMGHELPGLOW:MONITORCOLLISION=FALSE
IMGHELPGLOW:MONITORCOLLISIONALPHA=FALSE
OBJECT=IMGKLAWISZE
IMGKLAWISZE:TYPE=IMAGE
IMGKLAWISZE:VISIBLE=FALSE
IMGKLAWISZE:FILENAME=KLAWISZE.IMG
IMGKLAWISZE:TOCANVAS=TRUE
IMGKLAWISZE:PRIORITY=100
IMGKLAWISZE:PRELOAD=TRUE
IMGKLAWISZE:RELEASE=TRUE
IMGKLAWISZE:MONITORCOLLISION=FALSE
IMGKLAWISZE:MONITORCOLLISIONALPHA=FALSE
OBJECT=BTNMENU
BTNMENU:TYPE=BUTTON
BTNMENU:VISIBLE=TRUE
BTNMENU:ENABLE=TRUE
BTNMENU:DRAGGABLE=FALSE
BTNMENU:GFXSTANDARD=IMGMENUSTD
BTNMENU:GFXONCLICK=IMGMENUGLOW
BTNMENU:GFXONMOVE=IMGMENUGLOW
BTNMENU:ONRELEASED={PRZYGODA^GOTO("PILKAWYBOR");}
OBJECT=BTNHELP
BTNHELP:TYPE=BUTTON
BTNHELP:VISIBLE=TRUE
BTNHELP:ENABLE=TRUE
BTNHELP:DRAGGABLE=FALSE
BTNHELP:GFXSTANDARD=IMGHELPSTD
BTNHELP:GFXONCLICK=IMGHELPGLOW
BTNHELP:GFXONMOVE=IMGHELPGLOW
BTNHELP:ONRELEASED=BEHHELPON
OBJECT=SEQNARR
SEQNARR:TYPE=SEQUENCE
SEQNARR:FILENAME=NARRPILKA.SEQ
SEQNARR:ONFINISHED^START=BEHSTART
SEQNARR:ONFINISHED^GOOOL=BEHRESUMEGOOL
SEQNARR:ONFINISHED^ZWYCLEWY_3={PRZYGODA^GOTO("PILKAWYBOR");}
SEQNARR:ONFINISHED^ZWYCPRAWY_3={PRZYGODA^GOTO("PILKAWYBOR");}
SEQNARR:ONFINISHED^REMIS_2={PRZYGODA^GOTO("PILKAWYBOR");}
OBJECT=SEQHELP
SEQHELP:TYPE=SEQUENCE
SEQHELP:FILENAME=HELP.SEQ
SEQHELP:ONFINISHED^GADA_4=BEHHELPOFF
SEQHELP:ONSTARTED^GADA_4={IMGKLAWISZE^SHOW();}
OBJECT=SEQHELPSALA
SEQHELPSALA:TYPE=SEQUENCE
SEQHELPSALA:FILENAME=HELPPNS.SEQ
SEQHELPSALA:ONFINISHED^GADA_4=BEHHELPOFF
SEQHELPSALA:ONSTARTED^GADA_4={IMGKLAWISZE^SHOW();}
OBJECT=TIMTIME
TIMTIME:TYPE=TIMER
TIMTIME:ELAPSE=10000
TIMTIME:TICKS=0
TIMTIME:ONTICK={VARTIME^INC(););}
OBJECT=SNDGWAR
SNDGWAR:TYPE=SOUND
SNDGWAR:FILENAME=GWAR.WAV
SNDGWAR:PRELOAD=TRUE
SNDGWAR:FLUSHAFTERPLAYED=FALSE
SNDGWAR:ONFINISHED={THIS^PLAY();}
OBJECT=SNDGOL
SNDGOL:TYPE=SOUND
SNDGOL:FILENAME=GOL.WAV
SNDGOL:PRELOAD=TRUE
SNDGOL:FLUSHAFTERPLAYED=FALSE
SNDGOL:ONFINISHED={SNDGWAR^PLAY();}
SNDGOL:ONSTARTED=BEHHURA
OBJECT=SNDSIATKA
SNDSIATKA:TYPE=SOUND
SNDSIATKA:FILENAME=SIATKA.WAV
SNDSIATKA:PRELOAD=TRUE
SNDSIATKA:FLUSHAFTERPLAYED=FALSE
SNDSIATKA:ONFINISHED={SNDGOL^PLAY();SEQNARR^PLAY("GOOOL");}
SNDSIATKA:ONSTARTED=BEHGOOL
OBJECT=SNDKOP
SNDKOP:TYPE=SOUND
SNDKOP:FILENAME=KOPNIECIE.WAV
SNDKOP:PRELOAD=TRUE
SNDKOP:FLUSHAFTERPLAYED=FALSE
OBJECT=SNDBANDA
SNDBANDA:TYPE=SOUND
SNDBANDA:FILENAME=BANDA.WAV
SNDBANDA:PRELOAD=TRUE
SNDBANDA:FLUSHAFTERPLAYED=FALSE
OBJECT=ARRKEYS
ARRKEYS:TYPE=ARRAY
OBJECT=ARRPLAYERS
ARRPLAYERS:TYPE=ARRAY
OBJECT=ARRANGLES
ARRANGLES:TYPE=ARRAY
OBJECT=ARROBJECTS
ARROBJECTS:TYPE=ARRAY
OBJECT=ARRAITARGET
ARRAITARGET:TYPE=ARRAY
OBJECT=ARRTARGETGOAL
ARRTARGETGOAL:TYPE=ARRAY
OBJECT=ARRGOALX
ARRGOALX:TYPE=ARRAY
OBJECT=ARRGOALY
ARRGOALY:TYPE=ARRAY
OBJECT=ARRKICK
ARRKICK:TYPE=ARRAY
OBJECT=ARRBALLDISP
ARRBALLDISP:TYPE=ARRAY
OBJECT=MOUSE
MOUSE:TYPE=MOUSE
MOUSE:ONCLICK=BEHHELPOFF
OBJECT=CNVLOADER
CNVLOADER:TYPE=CNVLOADER
OBJECT=CANVASOBSERVER
CANVASOBSERVER:TYPE=CANVAS_OBSERVER
CANVASOBSERVER:ONWINDOWFOCUSON=BEHSTART
CANVASOBSERVER:ONWINDOWFOCUSOFF=BEHPAUSE
OBJECT=CONDISPLAYERACTIVE
CONDISPLAYERACTIVE:TYPE=CONDITION
CONDISPLAYERACTIVE:OPERAND1=VARPLAYER
CONDISPLAYERACTIVE:OPERATOR=LESS
CONDISPLAYERACTIVE:OPERAND2=VARNUMPLAYERS
OBJECT=WRLDBOISKO
WRLDBOISKO:TYPE=WORLD
WRLDBOISKO:FILENAME=BOISKO.SEK
OBJECT=KEYBOARD
KEYBOARD:TYPE=KEYBOARD
OBJECT=__INIT__
__INIT__:TYPE=BEHAVIOUR
__INIT__:CODE={PILKA^SETMINHSPRIORITY(0);CANVASOBSERVER^ENABLENOTIFY(TRUE);VARITEMP1^SET([ARRCONTROL^GET(0)+ARRCONTROL^GET(2)]);@IF("VARITEMP1","_","1","BFITMP0","BFITMP1");@IF("VARKLASA",">","0","BFITMP5","BFITMP6");ARRPLAYERS^ADD("ANNPL0","ANNPL1","ANNPL2","ANNPL3");ARROBJECTS^ADD(100,101,102,103);ARRBALLDISP^ADD(-20,20,-20,20);ARRANGLES^ADD(180.0,0.0,180.0,0.0);ARRAITARGET^ADD(0,0,0,0);ARRTARGETGOAL^ADD(0,1,0,1);ARRGOALX^ADD(20,300);ARRGOALY^ADD(780,300);ARRKICK^ADD(0,0,0,0);ANNST^SETFPS(60);ANNPL0^SETANCHOR("CENTER");ANNPL1^SETANCHOR("CENTER");ANNPL2^SETANCHOR("CENTER");ANNPL3^SETANCHOR("CENTER");ANNBALL^SETANCHOR("CENTER");WRLDBOISKO^SETGRAVITY(0,0,0);WRLDBOISKO^ADDOBJECT(100,200,300,0,32,32,32,20,20,120);WRLDBOISKO^ADDOBJECT(101,600,300,0,32,32,32,20,20,120);WRLDBOISKO^SETDISPERSION(100,120.0);WRLDBOISKO^SETDISPERSION(101,120.0);WRLDBOISKO^LINK(100,"ANNPL0");WRLDBOISKO^LINK(101,"ANNPL1");WRLDBOISKO^SETLIMIT(100,0,0,0,800,600,0);WRLDBOISKO^SETLIMIT(101,0,0,0,800,600,0);WRLDBOISKO^USEFF(TRUE);@IF("VARNUMPLAYERS","_","4","BFITMP7","BFITMP8");WRLDBOISKO^ADDOBJECT(105,400,VARBALLPOSY,0,10,10,10,1,2,450);WRLDBOISKO^SETDISPERSION(105,350);WRLDBOISKO^SETCOLLISIONTYPE(105,2);WRLDBOISKO^LINK(105,"ANNBALL");WRLDBOISKO^SETLIMIT(105,0,40,0,800,580,0);@IF("VARNUMPLAYERS","_","2","BFITMP9","BFITMP10");BEHSTART^RUN();BEHPAUSE^RUN();SNDGWAR^PLAY();SEQNARR^PLAY("START");}
OBJECT=BEHINITFOUR
BEHINITFOUR:TYPE=BEHAVIOUR
BEHINITFOUR:CODE={WRLDBOISKO^ADDOBJECT(102,200,300,0,32,32,32,20,1.0,120);WRLDBOISKO^ADDOBJECT(103,600,300,0,32,32,32,20,1.0,120);WRLDBOISKO^SETDISPERSION(102,120.0);WRLDBOISKO^SETDISPERSION(103,120.0);WRLDBOISKO^LINK(102,"ANNPL2");WRLDBOISKO^LINK(103,"ANNPL3");WRLDBOISKO^SETLIMIT(102,0,0,0,800,600,0);WRLDBOISKO^SETLIMIT(103,0,0,0,800,600,0);}
OBJECT=BEHSETINITIALPOS2
BEHSETINITIALPOS2:TYPE=BEHAVIOUR
BEHSETINITIALPOS2:CODE={WRLDBOISKO^SETPOSITION(100,80,300,0);WRLDBOISKO^SETANGLE(100,0);WRLDBOISKO^SETVELOCITY(100,0,0,0);ARRANGLES^CHANGEAT(0,0);WRLDBOISKO^SETPOSITION(101,720,300,0);WRLDBOISKO^SETANGLE(101,180);WRLDBOISKO^SETVELOCITY(101,0,0,0);ARRANGLES^CHANGEAT(1,180);WRLDBOISKO^SETPOSITION(105,400,VARBALLPOSY,0);WRLDBOISKO^SETVELOCITY(105,0,0,0);BEHSETSCORE^RUN();}
OBJECT=BEHSETINITIALPOS4
BEHSETINITIALPOS4:TYPE=BEHAVIOUR
BEHSETINITIALPOS4:CODE={WRLDBOISKO^SETPOSITION(100,80,200,0);WRLDBOISKO^SETANGLE(100,0);WRLDBOISKO^SETVELOCITY(100,0,0,0);ARRANGLES^CHANGEAT(0,0);WRLDBOISKO^SETPOSITION(101,720,200,0);WRLDBOISKO^SETANGLE(101,180);WRLDBOISKO^SETVELOCITY(101,0,0,0);ARRANGLES^CHANGEAT(1,180);WRLDBOISKO^SETPOSITION(102,80,400,0);WRLDBOISKO^SETANGLE(102,0);WRLDBOISKO^SETVELOCITY(102,0,0,0);ARRANGLES^CHANGEAT(2,0);WRLDBOISKO^SETPOSITION(103,720,400,0);WRLDBOISKO^SETANGLE(103,180);WRLDBOISKO^SETVELOCITY(103,0,0,0);ARRANGLES^CHANGEAT(3,180);WRLDBOISKO^SETPOSITION(105,200,300,0);WRLDBOISKO^SETVELOCITY(105,0,0,0);BEHSETSCORE^RUN();}
OBJECT=BEHMOVESCENE
BEHMOVESCENE:TYPE=BEHAVIOUR
BEHMOVESCENE:CODE={VARELAPSED^SET(WRLDBOISKO^MOVEOBJECTS());@IF("VARGOOL","_","1","BFITMP11","");@LOOP("{VARPLAYER^SET(_I_);BEHMOVEPLAYER^RUN();}",0,VARNUMPLAYERS,1);VARHEADSX^SET([WRLDBOISKO^GETPOSITIONX(105)@115]);@IF("VARKLASA","_","0","BFITMP12","");}
OBJECT=BEHMOVEPLAYER
BEHMOVEPLAYER:TYPE=BEHAVIOUR
BEHMOVEPLAYER:CODE={VARITEMP1^SET(ARRCONTROL^GET(VARPLAYER));@IF("VARITEMP1","_","1","BFITMP13","BFITMP14");BEHSETORIENTATION^RUN();}
OBJECT=BEHSETORIENTATION
BEHSETORIENTATION:TYPE=BEHAVIOUR
BEHSETORIENTATION:CODE={VARDTEMP1^SET(ARRANGLES^GET(VARPLAYER));VARDTEMP1^DIV(11.25);VARITEMP1^SET(VARDTEMP1);VARITEMP1^MOD(32);@IF("VARITEMP1","<","0","BFITMP15","");VARSTEMP^SET(ARRPLAYERS^GET(VARPLAYER));VARITEMP2^SET(*VARSTEMP^GETFRAMENAME());VARSTEMP1^SET(*VARSTEMP^GETEVENTNAME());VARSTEMP2^SET(*VARSTEMP^GETEVENTNAME(VARITEMP1));@IF("VARSTEMP1","!_","VARSTEMP2","BFITMP17","");}
OBJECT=BEHFORCEORIENTATION
BEHFORCEORIENTATION:TYPE=BEHAVIOUR
BEHFORCEORIENTATION:CODE={VARDTEMP1^SET(ARRANGLES^GET(VARPLAYER));VARDTEMP1^DIV(11.25);VARITEMP1^SET(VARDTEMP1);VARITEMP1^MOD(32);@IF("VARITEMP1","<","0","BFITMP18","");VARSTEMP^SET(ARRPLAYERS^GET(VARPLAYER));VARITEMP2^SET(*VARSTEMP^GETFRAMENAME());VARSTEMP1^SET(*VARSTEMP^GETEVENTNAME());VARSTEMP2^SET(*VARSTEMP^GETEVENTNAME(VARITEMP1));*VARSTEMP^PLAY(VARITEMP1);*VARSTEMP^SETFRAME(VARITEMP1,VARITEMP2);}
OBJECT=BEHSETCIESZY
BEHSETCIESZY:TYPE=BEHAVIOUR
BEHSETCIESZY:CODE={VARDTEMP1^SET(ARRANGLES^GET($1));VARDTEMP1^DIV(11.25);VARITEMP1^SET(VARDTEMP1);VARITEMP1^MOD(32);@IF("VARITEMP1","<","0","BFITMP19","");VARSTEMP^SET(ARRPLAYERS^GET($1));VARSTEMP1^SET(["C"+VARITEMP1]);*VARSTEMP^PLAY(VARSTEMP1);}
OBJECT=BEHHUMAN
BEHHUMAN:TYPE=BEHAVIOUR
BEHHUMAN:CODE={VARBTEMP1^SET(KEYBOARD^ISKEYDOWN(ARRKEYS^GET([12+VARPLAYER])));@IF("VARBTEMP1","_","TRUE","BFITMP20","BFITMP21");VARBTEMP1^SET(KEYBOARD^ISKEYDOWN(ARRKEYS^GET([4+VARPLAYER])));@IF("VARBTEMP1","_","TRUE","BFITMP23","");VARBTEMP1^SET(KEYBOARD^ISKEYDOWN(ARRKEYS^GET([8+VARPLAYER])));@IF("VARBTEMP1","_","TRUE","BFITMP25","");VARDFORCEX^COSINUS(ARRANGLES^GET(VARPLAYER));VARDFORCEY^SINUS(ARRANGLES^GET(VARPLAYER));VARDFORCEX^MUL(VARDFORCE);VARDFORCEY^MUL(VARDFORCE);WRLDBOISKO^SETOBJECTFORCE(ARROBJECTS^GET(VARPLAYER),VARDFORCEX,VARDFORCEY,0.0);}
OBJECT=BEHAI
BEHAI:TYPE=BEHAVIOUR
BEHAI:CODE={VARITEMP1^SET(WRLDBOISKO^GETPOSITIONX(105));VARITEMP2^SET(WRLDBOISKO^GETPOSITIONX(ARROBJECTS^GET(VARPLAYER)));@IF("VARITEMP1","<","VARITEMP2","BFITMP34","BFITMP35");}
OBJECT=BEHAITARGET1
BEHAITARGET1:TYPE=BEHAVIOUR
BEHAITARGET1:CODE={VARITEMP1^SET([ANNBALL^GETPOSITIONX()+ARRBALLDISP^GET(VARPLAYER)]);VARITEMP2^SET([WRLDBOISKO^GETPOSITIONY(ARROBJECTS^GET(VARPLAYER))-300]);VARITEMP2^DIV(10);VARITEMP2^ADD(ANNBALL^GETPOSITIONY());}
OBJECT=BEHAITARGET2
BEHAITARGET2:TYPE=BEHAVIOUR
BEHAITARGET2:CODE={VARITEMP1^SET(ARRGOALX^GET(ARRTARGETGOAL^GET(VARPLAYER)));VARITEMP2^SET(ARRGOALY^GET(ARRTARGETGOAL^GET(VARPLAYER)));}
OBJECT=BEHAITARGET3
BEHAITARGET3:TYPE=BEHAVIOUR
BEHAITARGET3:CODE={VARITEMP1^SET(ARRGOALX^GET(ARRTARGETGOAL^GET(VARPLAYER)));VARITEMP1^SUB([ARRBALLDISP^GET(VARPLAYER)*3]);VARITEMP2^SET(WRLDBOISKO^GETPOSITIONY(ARROBJECTS^GET(VARPLAYER)));@IF("VARITEMP2","<","300","BFITMP36","BFITMP37");}
OBJECT=BEHSETSCORE
BEHSETSCORE:TYPE=BEHAVIOUR
BEHSETSCORE:CODE={VARITEMP1^SET([VARPUNKTYRIGHT@10]);ANNLSCORE10^SETFRAME("SCORE",VARITEMP1);VARITEMP1^SET([VARPUNKTYRIGHT-[VARITEMP1*10]]);ANNLSCORE01^SETFRAME("SCORE",VARITEMP1);VARITEMP1^SET([VARPUNKTYLEFT@10]);ANNRSCORE10^SETFRAME("SCORE",VARITEMP1);VARITEMP1^SET([VARPUNKTYLEFT-[VARITEMP1*10]]);ANNRSCORE01^SETFRAME("SCORE",VARITEMP1);}
OBJECT=BEHSTART
BEHSTART:TYPE=BEHAVIOUR
BEHSTART:CODE={WRLDBOISKO^START();ANNST^PLAY("ELAPSE");TIMTIME^ENABLE();ANNPL0^SETFRAME("31",0);ANNPL1^SETFRAME("31",0);ANNPL2^SETFRAME("31",0);ANNPL3^SETFRAME("31",0);BEHFORCEORIENTATION^RUN();BEHFORCEORIENTATION^RUN();BEHFORCEORIENTATION^RUN();BEHFORCEORIENTATION^RUN();BTNHELP^ENABLE();PILKA^SETMINHSPRIORITY(0);}
OBJECT=BEHEND
BEHEND:TYPE=BEHAVIOUR
BEHEND:CODE={BEHPAUSE^RUN();SNDGOL^PLAY();BTNHELP^DISABLEBUTVISIBLE();@IF("VARPUNKTYLEFT","<","VARPUNKTYRIGHT","BFITMP38","");@IF("VARPUNKTYLEFT",">","VARPUNKTYRIGHT","BFITMP39","");@IF("VARPUNKTYLEFT","_","VARPUNKTYRIGHT","BFITMP40","");}
OBJECT=BEHHEADSX
BEHHEADSX:TYPE=BEHAVIOUR
BEHHEADSX:CODE={ANNPUB0^SETFRAME("OBROT",VARHEADSX);ANNPUB1^SETFRAME("OBROT",VARHEADSX);ANNPUB2^SETFRAME("OBROT",VARHEADSX);ANNPUB3^SETFRAME("OBROT",VARHEADSX);@IF("VARKLASA","!_","0","BFITMP41","");}
OBJECT=BEHHEADSY
BEHHEADSY:TYPE=BEHAVIOUR
BEHHEADSY:CODE={ANNPUB4^SETFRAME("OBROT",[7-VARHEADSY]);ANNPUB5^SETFRAME("OBROT",VARHEADSY);ANNPUB6^SETFRAME("OBROT",[7-VARHEADSY]);}
OBJECT=BEHHURA
BEHHURA:TYPE=BEHAVIOUR
BEHHURA:CODE={ANNPUB0^PLAY("CIESZY");ANNPUB1^PLAY("CIESZY");ANNPUB2^PLAY("CIESZY");ANNPUB3^PLAY("CIESZY");ANNPUB4^PLAY("CIESZY");@IF("VARKLASA","_","0","BFITMP42","");}
OBJECT=BEHKICK
BEHKICK:TYPE=BEHAVIOUR
BEHKICK:CODE={VARBTEMP1^SET(SNDKOP^ISPLAYING());@IF(ARRKICK^GET($1),"_","0","BFITMP44","");@DOUBLE("FORCEX",0);@DOUBLE("FORCEY",0);@DOUBLE("ANGLE",0);VARDTEMP3^SET(WRLDBOISKO^GETANGLE(ARROBJECTS^GET($1)));VARDTEMP1^COSINUS(VARDTEMP3);VARDTEMP2^SINUS(VARDTEMP3);VARDTEMP1^MUL(100000);VARDTEMP2^MUL(100000);WRLDBOISKO^SETOBJECTFORCE(105,VARDTEMP1,VARDTEMP2,0.0);@IF("VARBTEMP1","_","FALSE","BFITMP45","");}
OBJECT=BEHGOOL
BEHGOOL:TYPE=BEHAVIOUR
BEHGOOL:CODE={BEHPAUSE^RUN();VARGOOL^SET(1);VARTEMPGOOL^SET(1);BEHSETCIESZY^RUN(VARWHOSHOT);@IF("VARNUMPLAYERS","_","4","BFITMP46","");}
OBJECT=BEHRESUMEGOOL
BEHRESUMEGOOL:TYPE=BEHAVIOUR
BEHRESUMEGOOL:CODE={VARGOOL^SET(0);@IF("VARNUMPLAYERS","_","2","BFITMP47","BFITMP48");BEHSTART^RUN();}
OBJECT=BEHBALLHIT
BEHBALLHIT:TYPE=BEHAVIOUR
BEHBALLHIT:CODE={@IF("VARGOOL","_","1","BFITMP49","");@IF("$1","_","7","BFITMP50","BFITMP51");}
OBJECT=BEHTEST
BEHTEST:TYPE=BEHAVIOUR
BEHTEST:CODE={VARPLAYER^SET(0);}
OBJECT=BEHPAUSE
BEHPAUSE:TYPE=BEHAVIOUR
BEHPAUSE:CODE={ANNPL0^PAUSE();ANNPL1^PAUSE();ANNPL2^PAUSE();ANNPL3^PAUSE();ANNST^PAUSE();WRLDBOISKO^STOP();PILKA^SETMINHSPRIORITY(1000);BTNHELP^DISABLEBUTVISIBLE();}
OBJECT=BEHUPDATETIME
BEHUPDATETIME:TYPE=BEHAVIOUR
BEHUPDATETIME:CODE={ANNTIME^SETFRAME("LABEL",VARTIME);@IF("VARTIME","_","27","BFITMP52","");}
OBJECT=BEHREMIS
BEHREMIS:TYPE=BEHAVIOUR
BEHREMIS:CODE={VARTIME^SET(21);BEHRESUMEGOOL^RUN();}
OBJECT=BEHHELPON
BEHHELPON:TYPE=BEHAVIOUR
BEHHELPON:CODE={BEHPAUSE^RUN();@IF("VARKLASA",">","0","BFITMP53","BFITMP54");PILKA^SETMINHSPRIORITY(1000);VARHELP^SET(1);}
OBJECT=BEHHELPOFF
BEHHELPOFF:TYPE=BEHAVIOUR
BEHHELPOFF:CODE={@IF("VARHELP","_","0","BFITMP55","");BEHSTART^RUN();SEQHELP^STOP(FALSE);SEQHELPSALA^STOP(FALSE);ANNHAND^HIDE();ANNHANDSALA^HIDE();IMGKLAWISZE^HIDE();PILKA^SETMINHSPRIORITY(0);VARHELP^SET(0);}
OBJECT=BFITMP0
BFITMP0:TYPE=BEHAVIOUR
BFITMP0:CODE={ARRKEYS^ADD("S","UP","S","UP","D","RIGHT","D","RIGHT","A","LEFT","A","LEFT","W","P","W","P");}
OBJECT=BFITMP1
BFITMP1:TYPE=BEHAVIOUR
BFITMP1:CODE={ARRKEYS^ADD("S","S","UP","UP","D","D","RIGHT","RIGHT","A","A","LEFT","LEFT","W","W","P","P");}
OBJECT=BFITMP2
BFITMP2:TYPE=BEHAVIOUR
BFITMP2:CODE={ANNFISH^PLAY("PLAY");}
OBJECT=BFITMP3
BFITMP3:TYPE=BEHAVIOUR
BFITMP3:CODE={VARBALLPOSY^SET(300);}
OBJECT=BFITMP4
BFITMP4:TYPE=BEHAVIOUR
BFITMP4:CODE={VARBALLPOSY^SET(150);}
OBJECT=BFITMP5
BFITMP5:TYPE=BEHAVIOUR
BFITMP5:CODE={ANNPUB0^LOAD("N_PUB_KL1.ANN");ANNPUB1^LOAD("N_PUB_KL2.ANN");ANNPUB2^LOAD("N_PUB_KL3.ANN");ANNPUB3^LOAD("P_PUB_KL1.ANN");ANNPUB4^LOAD("P_PUB_KL2.ANN");ANNPUB5^HIDE();ANNPUB6^HIDE();ANNTIME^LOAD("TIME_KL.ANN");ANNLSCORE10^LOAD("LSCORE10_KL.ANN");ANNLSCORE01^LOAD("LSCORE01_KL.ANN");ANNRSCORE10^LOAD("RSCORE10_KL.ANN");ANNRSCORE01^LOAD("RSCORE01_KL.ANN");IMGSIATKALEFT^HIDE();IMGSIATKARIGHT^HIDE();VARITEMP1^SET([VARKLASA-1]);VARSTEMP^SET(["PLANSZA"+VARITEMP1+".IMG"]);CANVASOBSERVER^SETBACKGROUND(VARSTEMP);VARSTEMP^SET(["PLANSZA"+VARITEMP1+".SEK"]);WRLDBOISKO^LOAD(VARSTEMP);@IF("VARITEMP1","!_","0","BFITMP2","");@IF("VARITEMP1","_","2","BFITMP3","BFITMP4");};
OBJECT=BFITMP6
BFITMP6:TYPE=BEHAVIOUR
BFITMP6:CODE={VARBALLPOSY^SET(300);}
OBJECT=BFITMP7
BFITMP7:TYPE=BEHAVIOUR
BFITMP7:CODE={BEHINITFOUR^RUN();}
OBJECT=BFITMP8
BFITMP8:TYPE=BEHAVIOUR
BFITMP8:CODE={ANNPL2^HIDE();ANNPL3^HIDE();}
OBJECT=BFITMP9
BFITMP9:TYPE=BEHAVIOUR
BFITMP9:CODE={BEHSETINITIALPOS2^RUN();}
OBJECT=BFITMP10
BFITMP10:TYPE=BEHAVIOUR
BFITMP10:CODE={BEHSETINITIALPOS4^RUN();}
OBJECT=BFITMP11
BFITMP11:TYPE=BEHAVIOUR
BFITMP11:CODE={@BREAK();}
OBJECT=BFITMP12
BFITMP12:TYPE=BEHAVIOUR
BFITMP12:CODE={VARHEADSY^SET([WRLDBOISKO^GETPOSITIONY(105)@86]);}
OBJECT=BFITMP13
BFITMP13:TYPE=BEHAVIOUR
BFITMP13:CODE={BEHHUMAN^RUN();}
OBJECT=BFITMP14
BFITMP14:TYPE=BEHAVIOUR
BFITMP14:CODE={BEHAI^RUN();}
OBJECT=BFITMP15
BFITMP15:TYPE=BEHAVIOUR
BFITMP15:CODE={VARITEMP1^SET([32+VARITEMP1]);}
OBJECT=BFITMP16
BFITMP16:TYPE=BEHAVIOUR
BFITMP16:CODE={*VARSTEMP^PAUSE();}
OBJECT=BFITMP17
BFITMP17:TYPE=BEHAVIOUR
BFITMP17:CODE={*VARSTEMP^PLAY(VARITEMP1);*VARSTEMP^SETFRAME(VARITEMP1,VARITEMP2);@IF(WRLDBOISKO^GETSPEED([100+VARPLAYER]),"_","0.0","BFITMP16","");};
OBJECT=BFITMP18
BFITMP18:TYPE=BEHAVIOUR
BFITMP18:CODE={VARITEMP1^SET([32+VARITEMP1]);}
OBJECT=BFITMP19
BFITMP19:TYPE=BEHAVIOUR
BFITMP19:CODE={VARITEMP1^SET([32+VARITEMP1]);}
OBJECT=BFITMP20
BFITMP20:TYPE=BEHAVIOUR
BFITMP20:CODE={ARRKICK^CHANGEAT(VARPLAYER,1);}
OBJECT=BFITMP21
BFITMP21:TYPE=BEHAVIOUR
BFITMP21:CODE={ARRKICK^CHANGEAT(VARPLAYER,0);}
OBJECT=BFITMP22
BFITMP22:TYPE=BEHAVIOUR
BFITMP22:CODE={ARRANGLES^ADDAT(VARPLAYER,360.0);}
OBJECT=BFITMP23
BFITMP23:TYPE=BEHAVIOUR
BFITMP23:CODE={ARRANGLES^SUBAT(VARPLAYER,[350.0*VARELAPSED]);VARITEMP1^SET(ARRANGLES^GET(VARPLAYER));@IF("VARITEMP1","<","0","BFITMP22","");};
OBJECT=BFITMP24
BFITMP24:TYPE=BEHAVIOUR
BFITMP24:CODE={ARRANGLES^SUBAT(VARPLAYER,360.0);}
OBJECT=BFITMP25
BFITMP25:TYPE=BEHAVIOUR
BFITMP25:CODE={ARRANGLES^ADDAT(VARPLAYER,[350.0*VARELAPSED]);VARITEMP1^SET(ARRANGLES^GET(VARPLAYER));@IF("VARITEMP1",">_","360.0","BFITMP24","");};
OBJECT=BFITMP26
BFITMP26:TYPE=BEHAVIOUR
BFITMP26:CODE={BEHAITARGET1^RUN();ARRKICK^CHANGEAT(VARPLAYER,0);}
OBJECT=BFITMP27
BFITMP27:TYPE=BEHAVIOUR
BFITMP27:CODE={BEHAITARGET2^RUN();ARRKICK^CHANGEAT(VARPLAYER,1);}
OBJECT=BFITMP28
BFITMP28:TYPE=BEHAVIOUR
BFITMP28:CODE={ARRAITARGET^CHANGEAT(VARPLAYER,1);}
OBJECT=BFITMP29
BFITMP29:TYPE=BEHAVIOUR
BFITMP29:CODE={ARRAITARGET^CHANGEAT(VARPLAYER,0);}
OBJECT=BFITMP30
BFITMP30:TYPE=BEHAVIOUR
BFITMP30:CODE={BEHAITARGET1^RUN();ARRKICK^CHANGEAT(VARPLAYER,0);}
OBJECT=BFITMP31
BFITMP31:TYPE=BEHAVIOUR
BFITMP31:CODE={BEHAITARGET3^RUN();ARRKICK^CHANGEAT(VARPLAYER,1);}
OBJECT=BFITMP32
BFITMP32:TYPE=BEHAVIOUR
BFITMP32:CODE={ARRAITARGET^CHANGEAT(VARPLAYER,1);}
OBJECT=BFITMP33
BFITMP33:TYPE=BEHAVIOUR
BFITMP33:CODE={ARRAITARGET^CHANGEAT(VARPLAYER,0);}
OBJECT=BFITMP34
BFITMP34:TYPE=BEHAVIOUR
BFITMP34:CODE={VARITEMP1^SET(ARRAITARGET^GET(VARPLAYER));@IF("VARITEMP1","_","0","BFITMP26","BFITMP27");VARDTEMP1^SET(WRLDBOISKO^FOLLOW(ARROBJECTS^GET(VARPLAYER),VARITEMP1,VARITEMP2,0.0,10,[VARELAPSED*10.0],10000));@IF("VARDTEMP1","<","35","BFITMP28","BFITMP29");ARRANGLES^CHANGEAT(VARPLAYER,WRLDBOISKO^GETANGLE(ARROBJECTS^GET(VARPLAYER)));ARRANGLES^MODAT(VARPLAYER,360);};
OBJECT=BFITMP35
BFITMP35:TYPE=BEHAVIOUR
BFITMP35:CODE={VARITEMP1^SET(ARRAITARGET^GET(VARPLAYER));@IF("VARITEMP1","_","0","BFITMP30","BFITMP31");VARDTEMP1^SET(WRLDBOISKO^FOLLOW(ARROBJECTS^GET(VARPLAYER),VARITEMP1,VARITEMP2,0.0,10,[VARELAPSED*10.0],10000));@IF("VARDTEMP1","<","35","BFITMP32","BFITMP33");ARRANGLES^CHANGEAT(VARPLAYER,WRLDBOISKO^GETANGLE(ARROBJECTS^GET(VARPLAYER)));ARRANGLES^MODAT(VARPLAYER,360);};
OBJECT=BFITMP36
BFITMP36:TYPE=BEHAVIOUR
BFITMP36:CODE={VARITEMP2^SET([ARRGOALY^GET(ARRTARGETGOAL^GET(VARPLAYER))-300]);}
OBJECT=BFITMP37
BFITMP37:TYPE=BEHAVIOUR
BFITMP37:CODE={VARITEMP2^SET([ARRGOALY^GET(ARRTARGETGOAL^GET(VARPLAYER))+300]);}
OBJECT=BFITMP38
BFITMP38:TYPE=BEHAVIOUR
BFITMP38:CODE={SEQNARR^PLAY("ZWYCLEWY");}
OBJECT=BFITMP39
BFITMP39:TYPE=BEHAVIOUR
BFITMP39:CODE={SEQNARR^PLAY("ZWYCPRAWY");}
OBJECT=BFITMP40
BFITMP40:TYPE=BEHAVIOUR
BFITMP40:CODE={SEQNARR^PLAY("REMIS");}
OBJECT=BFITMP41
BFITMP41:TYPE=BEHAVIOUR
BFITMP41:CODE={ANNPUB4^SETFRAME("OBROT",VARHEADSX);}
OBJECT=BFITMP42
BFITMP42:TYPE=BEHAVIOUR
BFITMP42:CODE={ANNPUB5^PLAY("CIESZY");ANNPUB6^PLAY("CIESZY");}
OBJECT=BFITMP43
BFITMP43:TYPE=BEHAVIOUR
BFITMP43:CODE={SNDKOP^PLAY();}
OBJECT=BFITMP44
BFITMP44:TYPE=BEHAVIOUR
BFITMP44:CODE={@IF("VARBTEMP1","_","FALSE","BFITMP43","");@BREAK();};
OBJECT=BFITMP45
BFITMP45:TYPE=BEHAVIOUR
BFITMP45:CODE={SNDKOP^PLAY();}
OBJECT=BFITMP46
BFITMP46:TYPE=BEHAVIOUR
BFITMP46:CODE={VARWHOSHOT^ADD(2);BEHSETCIESZY^RUN(VARWHOSHOT);}
OBJECT=BFITMP47
BFITMP47:TYPE=BEHAVIOUR
BFITMP47:CODE={BEHSETINITIALPOS2^RUN();}
OBJECT=BFITMP48
BFITMP48:TYPE=BEHAVIOUR
BFITMP48:CODE={BEHSETINITIALPOS4^RUN();}
OBJECT=BFITMP49
BFITMP49:TYPE=BEHAVIOUR
BFITMP49:CODE={@BREAK();}
OBJECT=BFITMP50
BFITMP50:TYPE=BEHAVIOUR
BFITMP50:CODE={VARWHOSHOT^SET(1);VARPUNKTYLEFT^INC();}
OBJECT=BFITMP51
BFITMP51:TYPE=BEHAVIOUR
BFITMP51:CODE={VARWHOSHOT^SET(0);VARPUNKTYRIGHT^INC();}
OBJECT=BFITMP52
BFITMP52:TYPE=BEHAVIOUR
BFITMP52:CODE={BEHEND^RUN();}
OBJECT=BFITMP53
BFITMP53:TYPE=BEHAVIOUR
BFITMP53:CODE={SEQHELPSALA^PLAY("GADA");}
OBJECT=BFITMP54
BFITMP54:TYPE=BEHAVIOUR
BFITMP54:CODE={SEQHELP^PLAY("GADA");}
OBJECT=BFITMP55
BFITMP55:TYPE=BEHAVIOUR
BFITMP55:CODE={@BREAK();}