home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CyberMycha 2003 October
/
cmycha200310.iso
/
Szkola
/
Szkola_Koziolka.exe
/
dane
/
PRZYGODA
/
mg2
/
MenuInside.cnv
< prev
next >
Wrap
Text File
|
2003-09-09
|
21KB
|
760 lines
OBJECT=MUSIC
MUSIC:TYPE=MUSIC
MUSIC:FILENAME=MUZA0.WAV
OBJECT=VPRAWO
VPRAWO:TYPE=INTEGER
VPRAWO:VALUE=0
VPRAWO:ONCHANGED^100={KONIECPRAWO;}
VPRAWO:ONCHANGED^90={KONIECLEWO;}
OBJECT=V_SCROLLSPEED1
V_SCROLLSPEED1:TYPE=INTEGER
OBJECT=V_SCROLLSPEED2
V_SCROLLSPEED2:TYPE=INTEGER
OBJECT=V_POS
V_POS:TYPE=INTEGER
OBJECT=TMPINT
TMPINT:TYPE=INTEGER
OBJECT=DOWYKONANIA
DOWYKONANIA:TYPE=STRING
OBJECT=V_SOUND
V_SOUND:TYPE=STRING
V_SOUND:ONCHANGED=SOUND_STOP
V_SOUND:ONCHANGED^NULL=UUU
OBJECT=V_HELP
V_HELP:TYPE=INTEGER
OBJECT=NOZZLEBUT
NOZZLEBUT:TYPE=ANIMO
NOZZLEBUT:VISIBLE=TRUE
NOZZLEBUT:FILENAME=NOZZLEBUT.ANN
NOZZLEBUT:TOCANVAS=TRUE
NOZZLEBUT:PRIORITY=2
NOZZLEBUT:FPS=16
NOZZLEBUT:PRELOAD=TRUE
NOZZLEBUT:RELEASE=TRUE
NOZZLEBUT:MONITORCOLLISION=FALSE
NOZZLEBUT:MONITORCOLLISIONALPHA=FALSE
NOZZLEBUT:ONFOCUSON={V_SOUND^SET("S_MALARZ");}
NOZZLEBUT:ONFINISHED^ONFOCUSOFF={NOZZLEBUT^PLAY("ONNOEVENT");}
NOZZLEBUT:ONCLICK={DOWYKONANIA^SET("BEHCLICKMALARZ");BEHKOZADOMODULU^RUN();}
OBJECT=PILKABUT
PILKABUT:TYPE=ANIMO
PILKABUT:VISIBLE=TRUE
PILKABUT:FILENAME=PILKABUT.ANN
PILKABUT:TOCANVAS=TRUE
PILKABUT:PRIORITY=2
PILKABUT:FPS=16
PILKABUT:PRELOAD=TRUE
PILKABUT:RELEASE=TRUE
PILKABUT:MONITORCOLLISION=FALSE
PILKABUT:MONITORCOLLISIONALPHA=FALSE
PILKABUT:ONFOCUSON={V_SOUND^SET("S_PILKANASALI");@IF("V_DEMO","_","1","BFITMP0","");}
PILKABUT:ONFINISHED^ONFOCUSOFF={PILKABUT^PLAY("ONNOEVENT");}
PILKABUT:ONCLICK={@IF("V_DEMO","_","0","BFITMP1","");}
PILKABUT:ONFOCUSOFF={@IF("V_DEMO","_","1","BFITMP2","");}
OBJECT=TEATRBUT
TEATRBUT:TYPE=ANIMO
TEATRBUT:VISIBLE=TRUE
TEATRBUT:FILENAME=TEATRBUT.ANN
TEATRBUT:TOCANVAS=TRUE
TEATRBUT:PRIORITY=2
TEATRBUT:FPS=16
TEATRBUT:PRELOAD=TRUE
TEATRBUT:RELEASE=TRUE
TEATRBUT:MONITORCOLLISION=FALSE
TEATRBUT:MONITORCOLLISIONALPHA=FALSE
TEATRBUT:ONFOCUSON={V_SOUND^SET("S_TEATRZYK");}
TEATRBUT:ONFINISHED^ONFOCUSOFF={TEATRBUT^PLAY("ONNOEVENT");}
TEATRBUT:ONCLICK={DOWYKONANIA^SET("BEHCLICKTEATR");BEHKOZADOMODULU^RUN();}
OBJECT=ANGLISTAMENU
ANGLISTAMENU:TYPE=ANIMO
ANGLISTAMENU:VISIBLE=TRUE
ANGLISTAMENU:FILENAME=ANGLISTAMENU.ANN
ANGLISTAMENU:TOCANVAS=TRUE
ANGLISTAMENU:PRIORITY=2
ANGLISTAMENU:FPS=16
ANGLISTAMENU:PRELOAD=TRUE
ANGLISTAMENU:RELEASE=TRUE
ANGLISTAMENU:MONITORCOLLISION=FALSE
ANGLISTAMENU:MONITORCOLLISIONALPHA=FALSE
OBJECT=BIOLAMENU
BIOLAMENU:TYPE=ANIMO
BIOLAMENU:VISIBLE=TRUE
BIOLAMENU:FILENAME=BIOLAMENU.ANN
BIOLAMENU:TOCANVAS=TRUE
BIOLAMENU:PRIORITY=2
BIOLAMENU:FPS=16
BIOLAMENU:PRELOAD=TRUE
BIOLAMENU:RELEASE=TRUE
BIOLAMENU:MONITORCOLLISION=FALSE
BIOLAMENU:MONITORCOLLISIONALPHA=FALSE
OBJECT=KROLIKIBUT
KROLIKIBUT:TYPE=ANIMO
KROLIKIBUT:VISIBLE=TRUE
KROLIKIBUT:FILENAME=KROLIKIBUT.ANN
KROLIKIBUT:TOCANVAS=TRUE
KROLIKIBUT:PRIORITY=2
KROLIKIBUT:FPS=16
KROLIKIBUT:PRELOAD=TRUE
KROLIKIBUT:RELEASE=TRUE
KROLIKIBUT:MONITORCOLLISION=FALSE
KROLIKIBUT:MONITORCOLLISIONALPHA=FALSE
KROLIKIBUT:ONFOCUSON={V_SOUND^SET("S_KROLIKI");@IF("V_DEMO","_","1","BFITMP3","");}
KROLIKIBUT:ONFINISHED^ONFOCUSOFF={KROLIKIBUT^PLAY("ONNOEVENT");}
KROLIKIBUT:ONCLICK={@IF("V_DEMO","_","0","BFITMP4","");}
KROLIKIBUT:ONFOCUSOFF={@IF("V_DEMO","_","1","BFITMP5","");}
OBJECT=MATMAMENU
MATMAMENU:TYPE=ANIMO
MATMAMENU:VISIBLE=TRUE
MATMAMENU:FILENAME=MATMAMENU.ANN
MATMAMENU:TOCANVAS=TRUE
MATMAMENU:PRIORITY=2
MATMAMENU:FPS=16
MATMAMENU:PRELOAD=TRUE
MATMAMENU:RELEASE=TRUE
MATMAMENU:MONITORCOLLISION=FALSE
MATMAMENU:MONITORCOLLISIONALPHA=FALSE
OBJECT=POLSKIMENU
POLSKIMENU:TYPE=ANIMO
POLSKIMENU:VISIBLE=TRUE
POLSKIMENU:FILENAME=POLSKIMENU.ANN
POLSKIMENU:TOCANVAS=TRUE
POLSKIMENU:PRIORITY=4
POLSKIMENU:FPS=16
POLSKIMENU:PRELOAD=TRUE
POLSKIMENU:RELEASE=TRUE
POLSKIMENU:MONITORCOLLISION=FALSE
POLSKIMENU:MONITORCOLLISIONALPHA=FALSE
OBJECT=KOZA
KOZA:TYPE=ANIMO
KOZA:VISIBLE=TRUE
KOZA:FILENAME=KOZA.ANN
KOZA:TOCANVAS=TRUE
KOZA:PRIORITY=2
KOZA:FPS=16
KOZA:PRELOAD=TRUE
KOZA:RELEASE=TRUE
KOZA:MONITORCOLLISION=FALSE
KOZA:MONITORCOLLISIONALPHA=FALSE
OBJECT=DRZWIBUT
DRZWIBUT:TYPE=ANIMO
DRZWIBUT:VISIBLE=TRUE
DRZWIBUT:FILENAME=DRZWIBUT.ANN
DRZWIBUT:TOCANVAS=TRUE
DRZWIBUT:PRIORITY=1
DRZWIBUT:FPS=16
DRZWIBUT:PRELOAD=TRUE
DRZWIBUT:RELEASE=TRUE
DRZWIBUT:MONITORCOLLISION=FALSE
DRZWIBUT:MONITORCOLLISIONALPHA=FALSE
DRZWIBUT:ONCLICK=BEHCLICKDRZWI
DRZWIBUT:ONFOCUSON={S_DRZWI^PLAY();UUU^RUN();}
OBJECT=EXITNO
EXITNO:TYPE=ANIMO
EXITNO:VISIBLE=FALSE
EXITNO:FILENAME=$COMMON\EXITNO.ANN
EXITNO:TOCANVAS=TRUE
EXITNO:PRIORITY=2001
EXITNO:FPS=16
EXITNO:PRELOAD=TRUE
EXITNO:RELEASE=TRUE
EXITNO:MONITORCOLLISION=FALSE
EXITNO:MONITORCOLLISIONALPHA=FALSE
OBJECT=EXITTAK
EXITTAK:TYPE=ANIMO
EXITTAK:VISIBLE=FALSE
EXITTAK:FILENAME=$COMMON\EXITTAK.ANN
EXITTAK:TOCANVAS=TRUE
EXITTAK:PRIORITY=2001
EXITTAK:FPS=16
EXITTAK:PRELOAD=TRUE
EXITTAK:RELEASE=TRUE
EXITTAK:MONITORCOLLISION=FALSE
EXITTAK:MONITORCOLLISIONALPHA=FALSE
OBJECT=EXITBUT
EXITBUT:TYPE=ANIMO
EXITBUT:VISIBLE=TRUE
EXITBUT:FILENAME=$COMMON\EXITBUT.ANN
EXITBUT:TOCANVAS=TRUE
EXITBUT:PRIORITY=2000
EXITBUT:FPS=16
EXITBUT:PRELOAD=TRUE
EXITBUT:RELEASE=TRUE
EXITBUT:MONITORCOLLISION=FALSE
EXITBUT:MONITORCOLLISIONALPHA=FALSE
EXITBUT:ONINIT={EXITBUT^SETFRAME("EXITBUT","EXITIN");}
EXITBUT:ONFOCUSON={EXITBUT^SETFRAME("EXITBUT","EXITAC");S_WYJSCIEZPROGRAMU^PLAY();}
EXITBUT:ONCLICK=BEHEXITDIALOG
EXITBUT:ONFOCUSOFF={EXITBUT^SETFRAME("EXITBUT","EXITIN");}
OBJECT=HELPBUT
HELPBUT:TYPE=ANIMO
HELPBUT:VISIBLE=TRUE
HELPBUT:FILENAME=$COMMON\HELPBUT.ANN
HELPBUT:TOCANVAS=TRUE
HELPBUT:PRIORITY=2000
HELPBUT:FPS=16
HELPBUT:PRELOAD=TRUE
HELPBUT:RELEASE=TRUE
HELPBUT:MONITORCOLLISION=FALSE
HELPBUT:MONITORCOLLISIONALPHA=FALSE
HELPBUT:ONINIT={HELPBUT^SETFRAME("HELPBUT","HELP_IN");}
HELPBUT:ONFOCUSON={HELPBUT^SETFRAME("HELPBUT","HELP_AC");}
HELPBUT:ONCLICK=BEHHELP
HELPBUT:ONFOCUSOFF={HELPBUT^SETFRAME("HELPBUT","HELP_IN");}
OBJECT=HAND
HAND:TYPE=ANIMO
HAND:VISIBLE=TRUE
HAND:FILENAME=HAND.ANN
HAND:TOCANVAS=TRUE
HAND:PRIORITY=2100
HAND:FPS=16
HAND:PRELOAD=TRUE
HAND:RELEASE=TRUE
HAND:MONITORCOLLISION=FALSE
HAND:MONITORCOLLISIONALPHA=FALSE
OBJECT=PIXEL
PIXEL:TYPE=ANIMO
PIXEL:VISIBLE=TRUE
PIXEL:FILENAME=PIXEL.ANN
PIXEL:TOCANVAS=TRUE
PIXEL:PRIORITY=0
PIXEL:FPS=16
PIXEL:PRELOAD=TRUE
PIXEL:RELEASE=TRUE
PIXEL:MONITORCOLLISION=FALSE
PIXEL:MONITORCOLLISIONALPHA=FALSE
OBJECT=I_PLAN2
I_PLAN2:TYPE=IMAGE
I_PLAN2:VISIBLE=TRUE
I_PLAN2:FILENAME=BKG1350.IMG
I_PLAN2:TOCANVAS=TRUE
I_PLAN2:PRIORITY=0
I_PLAN2:PRELOAD=TRUE
I_PLAN2:RELEASE=TRUE
I_PLAN2:MONITORCOLLISION=FALSE
I_PLAN2:MONITORCOLLISIONALPHA=FALSE
OBJECT=I_PLAN1
I_PLAN1:TYPE=IMAGE
I_PLAN1:VISIBLE=TRUE
I_PLAN1:FILENAME=BKG1500.IMG
I_PLAN1:TOCANVAS=TRUE
I_PLAN1:PRIORITY=1000
I_PLAN1:PRELOAD=TRUE
I_PLAN1:RELEASE=TRUE
I_PLAN1:MONITORCOLLISION=FALSE
I_PLAN1:MONITORCOLLISIONALPHA=FALSE
OBJECT=NAKLADKA_KORALIKI
NAKLADKA_KORALIKI:TYPE=IMAGE
NAKLADKA_KORALIKI:VISIBLE=TRUE
NAKLADKA_KORALIKI:FILENAME=NAKLADKA_KORALIKI.IMG
NAKLADKA_KORALIKI:TOCANVAS=TRUE
NAKLADKA_KORALIKI:PRIORITY=3
NAKLADKA_KORALIKI:PRELOAD=TRUE
NAKLADKA_KORALIKI:RELEASE=TRUE
NAKLADKA_KORALIKI:MONITORCOLLISION=FALSE
NAKLADKA_KORALIKI:MONITORCOLLISIONALPHA=FALSE
OBJECT=EXITDIALOG
EXITDIALOG:TYPE=IMAGE
EXITDIALOG:VISIBLE=FALSE
EXITDIALOG:FILENAME=$COMMON\EXITDIALOG.IMG
EXITDIALOG:TOCANVAS=TRUE
EXITDIALOG:PRIORITY=2000
EXITDIALOG:PRELOAD=TRUE
EXITDIALOG:RELEASE=TRUE
EXITDIALOG:MONITORCOLLISION=FALSE
EXITDIALOG:MONITORCOLLISIONALPHA=FALSE
OBJECT=I_DEMO_ALL
I_DEMO_ALL:TYPE=IMAGE
I_DEMO_ALL:VISIBLE=FALSE
I_DEMO_ALL:FILENAME=$COMMON\I_DEMO_ALL.IMG
I_DEMO_ALL:TOCANVAS=TRUE
I_DEMO_ALL:PRIORITY=1000
I_DEMO_ALL:PRELOAD=TRUE
I_DEMO_ALL:RELEASE=TRUE
I_DEMO_ALL:MONITORCOLLISION=FALSE
I_DEMO_ALL:MONITORCOLLISIONALPHA=FALSE
OBJECT=BUTTONLEWO
BUTTONLEWO:TYPE=BUTTON
BUTTONLEWO:VISIBLE=TRUE
BUTTONLEWO:RECT=0,40,100,600
BUTTONLEWO:ENABLE=TRUE
BUTTONLEWO:DRAGGABLE=FALSE
BUTTONLEWO:ONFOCUSON={TIMER1^ENABLE();}
BUTTONLEWO:ONFOCUSOFF={TIMER1^DISABLE();}
OBJECT=BUTTONPRAWO
BUTTONPRAWO:TYPE=BUTTON
BUTTONPRAWO:VISIBLE=TRUE
BUTTONPRAWO:RECT=700,40,800,600
BUTTONPRAWO:ENABLE=TRUE
BUTTONPRAWO:DRAGGABLE=FALSE
BUTTONPRAWO:ONFOCUSON={TIMER2^ENABLE();}
BUTTONPRAWO:ONFOCUSOFF={TIMER2^DISABLE();}
OBJECT=BUTTONANG
BUTTONANG:TYPE=BUTTON
BUTTONANG:VISIBLE=TRUE
BUTTONANG:ENABLE=TRUE
BUTTONANG:DRAGGABLE=FALSE
BUTTONANG:GFXSTANDARD=ANGLISTAMENU
BUTTONANG:ONFOCUSON={BEHANGON;@IF("V_DEMO","_","1","BFITMP6","");}
BUTTONANG:ONCLICKED={@IF("V_DEMO","_","0","BFITMP7","");}
BUTTONANG:ONFOCUSOFF={BEHANGOFF;@IF("V_DEMO","_","1","BFITMP8","");}
OBJECT=BUTTONBIOL
BUTTONBIOL:TYPE=BUTTON
BUTTONBIOL:VISIBLE=TRUE
BUTTONBIOL:ENABLE=TRUE
BUTTONBIOL:DRAGGABLE=FALSE
BUTTONBIOL:GFXSTANDARD=BIOLAMENU
BUTTONBIOL:ONFOCUSON=BEHBIOLON
BUTTONBIOL:ONFOCUSOFF=BEHBIOLOFF
BUTTONBIOL:ONCLICKED={DOWYKONANIA^SET("BEHCLICKBIOLA");BEHKOZADOMODULU^RUN();}
OBJECT=BUTTONMATMA
BUTTONMATMA:TYPE=BUTTON
BUTTONMATMA:VISIBLE=TRUE
BUTTONMATMA:ENABLE=TRUE
BUTTONMATMA:DRAGGABLE=FALSE
BUTTONMATMA:GFXSTANDARD=MATMAMENU
BUTTONMATMA:ONFOCUSON={BEHMATMAON;@IF("V_DEMO","_","1","BFITMP9","");}
BUTTONMATMA:ONFOCUSOFF={BEHMATMAOFF;@IF("V_DEMO","_","1","BFITMP10","");}
BUTTONMATMA:ONCLICKED={@IF("V_DEMO","_","0","BFITMP11","");}
OBJECT=BUTTONPOLSKI
BUTTONPOLSKI:TYPE=BUTTON
BUTTONPOLSKI:VISIBLE=TRUE
BUTTONPOLSKI:ENABLE=TRUE
BUTTONPOLSKI:DRAGGABLE=FALSE
BUTTONPOLSKI:GFXSTANDARD=POLSKIMENU
BUTTONPOLSKI:ONFOCUSON={BEHPOLON;@IF("V_DEMO","_","1","BFITMP12","");}
BUTTONPOLSKI:ONFOCUSOFF={BEHPOLOFF;@IF("V_DEMO","_","1","BFITMP13","");}
BUTTONPOLSKI:ONCLICKED={@IF("V_DEMO","_","0","BFITMP14","");}
OBJECT=BUTTAK
BUTTAK:TYPE=BUTTON
BUTTAK:VISIBLE=TRUE
BUTTAK:RECT=EXITTAK
BUTTAK:ENABLE=FALSE
BUTTAK:DRAGGABLE=FALSE
BUTTAK:GFXSTANDARD=EXITTAK
BUTTAK:ONINIT={EXITTAK^SETFRAME("EXITTAK","TAK_IN");}
BUTTAK:ONFOCUSON={EXITTAK^SETFRAME("EXITTAK","TAK_NAJ");S_TAK^PLAY();}
BUTTAK:ONCLICKED=BEHEXIT
BUTTAK:ONFOCUSOFF={EXITTAK^SETFRAME("EXITTAK","TAK_IN");}
OBJECT=BUTNIE
BUTNIE:TYPE=BUTTON
BUTNIE:VISIBLE=TRUE
BUTNIE:RECT=EXITNO
BUTNIE:ENABLE=FALSE
BUTNIE:DRAGGABLE=FALSE
BUTNIE:GFXSTANDARD=EXITNO
BUTNIE:ONINIT={EXITNO^SETFRAME("EXITNO","NIE_IN");}
BUTNIE:ONFOCUSON={EXITNO^SETFRAME("EXITNO","NIE_NAJ");S_NIE^PLAY();}
BUTNIE:ONCLICKED={EXITNO^SETFRAME("EXITNO","NIE_KLIK");BEHRESUME^RUN();}
BUTNIE:ONFOCUSOFF={EXITNO^SETFRAME("EXITNO","NIE_IN");}
OBJECT=BUTHELPBREAKER
BUTHELPBREAKER:TYPE=BUTTON
BUTHELPBREAKER:VISIBLE=TRUE
BUTHELPBREAKER:RECT=0,0,800,600
BUTHELPBREAKER:ENABLE=FALSE
BUTHELPBREAKER:DRAGGABLE=FALSE
BUTHELPBREAKER:ONCLICKED=BEHHELPEND
OBJECT=ANGMENUSEQ
ANGMENUSEQ:TYPE=SEQUENCE
ANGMENUSEQ:FILENAME=ANGMENUSEQ.SEQ
ANGMENUSEQ:ONINIT=BEHANGOFF
ANGMENUSEQ:ONFINISHED^IDLE=BEHANGOFF
OBJECT=BIOLAMENUSEQ
BIOLAMENUSEQ:TYPE=SEQUENCE
BIOLAMENUSEQ:FILENAME=BIOLAMENUSEQ.SEQ
BIOLAMENUSEQ:ONINIT=BEHBIOLOFF
BIOLAMENUSEQ:ONFINISHED^IDLE=BEHBIOLOFF
OBJECT=POLSKIMENUSEQ
POLSKIMENUSEQ:TYPE=SEQUENCE
POLSKIMENUSEQ:FILENAME=POLSKIMENUSEQ.SEQ
POLSKIMENUSEQ:ONINIT=BEHPOLOFF
POLSKIMENUSEQ:ONFINISHED^IDLE=BEHPOLOFF
OBJECT=MATMAMENUSEQ
MATMAMENUSEQ:TYPE=SEQUENCE
MATMAMENUSEQ:FILENAME=MATMENUSEQ.SEQ
MATMAMENUSEQ:ONINIT=BEHMATMAOFF
MATMAMENUSEQ:ONFINISHED^IDLE=BEHMATMAOFF
OBJECT=KOZAMENUSEQ
KOZAMENUSEQ:TYPE=SEQUENCE
KOZAMENUSEQ:FILENAME=KOZAMENUSEQ.SEQ
KOZAMENUSEQ:ONFINISHED={*DOWYKONANIA^RUN();}
OBJECT=HELP
HELP:TYPE=SEQUENCE
HELP:FILENAME=HELP.SEQ
HELP:ONFINISHED^GADA_4=BEHHELPEND
OBJECT=TIMER1
TIMER1:TYPE=TIMER
TIMER1:ELAPSE=25
TIMER1:TICKS=0
TIMER1:ONTICK=BEHLEWO
OBJECT=TIMER2
TIMER2:TYPE=TIMER
TIMER2:ELAPSE=25
TIMER2:TICKS=0
TIMER2:ONTICK=BEHPRAWO
OBJECT=TIMERKOZIOLKA
TIMERKOZIOLKA:TYPE=TIMER
TIMERKOZIOLKA:ELAPSE=10000
TIMERKOZIOLKA:TICKS=0
TIMERKOZIOLKA:ONTICK=BEHKOZARANDOM
OBJECT=G_SOUNDS
G_SOUNDS:TYPE=GROUP
OBJECT=G_SEQUENCE
G_SEQUENCE:TYPE=GROUP
OBJECT=S_TEATRZYK
S_TEATRZYK:TYPE=SOUND
S_TEATRZYK:FILENAME=IKO1.WAV
S_TEATRZYK:PRELOAD=FALSE
S_TEATRZYK:FLUSHAFTERPLAYED=FALSE
OBJECT=S_KROLIKI
S_KROLIKI:TYPE=SOUND
S_KROLIKI:FILENAME=IKO8.WAV
S_KROLIKI:PRELOAD=FALSE
S_KROLIKI:FLUSHAFTERPLAYED=FALSE
OBJECT=S_PILKANASALI
S_PILKANASALI:TYPE=SOUND
S_PILKANASALI:FILENAME=IKO10.WAV
S_PILKANASALI:PRELOAD=FALSE
S_PILKANASALI:FLUSHAFTERPLAYED=FALSE
OBJECT=S_MALARZ
S_MALARZ:TYPE=SOUND
S_MALARZ:FILENAME=IKO12.WAV
S_MALARZ:PRELOAD=FALSE
S_MALARZ:FLUSHAFTERPLAYED=FALSE
OBJECT=S_DRZWI
S_DRZWI:TYPE=SOUND
S_DRZWI:FILENAME=IKO70.WAV
S_DRZWI:PRELOAD=FALSE
S_DRZWI:FLUSHAFTERPLAYED=FALSE
OBJECT=S_TAK
S_TAK:TYPE=SOUND
S_TAK:FILENAME=IKO46.WAV
S_TAK:PRELOAD=FALSE
S_TAK:FLUSHAFTERPLAYED=FALSE
OBJECT=S_NIE
S_NIE:TYPE=SOUND
S_NIE:FILENAME=IKO47.WAV
S_NIE:PRELOAD=FALSE
S_NIE:FLUSHAFTERPLAYED=FALSE
OBJECT=S_RUSURE
S_RUSURE:TYPE=SOUND
S_RUSURE:FILENAME=IKO71.WAV
S_RUSURE:PRELOAD=FALSE
S_RUSURE:FLUSHAFTERPLAYED=FALSE
OBJECT=S_WELCOME
S_WELCOME:TYPE=SOUND
S_WELCOME:FILENAME=IKO72.WAV
S_WELCOME:PRELOAD=FALSE
S_WELCOME:FLUSHAFTERPLAYED=FALSE
OBJECT=S_WYJSCIEZPROGRAMU
S_WYJSCIEZPROGRAMU:TYPE=SOUND
S_WYJSCIEZPROGRAMU:FILENAME=IKO37.WAV
S_WYJSCIEZPROGRAMU:PRELOAD=FALSE
S_WYJSCIEZPROGRAMU:FLUSHAFTERPLAYED=FALSE
OBJECT=MOUSE
MOUSE:TYPE=MOUSE
OBJECT=CNVLOADER
CNVLOADER:TYPE=CNVLOADER
OBJECT=CANVASOBSERVER
CANVASOBSERVER:TYPE=CANVAS_OBSERVER
OBJECT=KEYBOARD
KEYBOARD:TYPE=KEYBOARD
OBJECT=BEHEXIT
BEHEXIT:TYPE=BEHAVIOUR
BEHEXIT:CODE={PRZYGODA^GOTO("CREDITS");}
OBJECT=BEHLEWO
BEHLEWO:TYPE=BEHAVIOUR
BEHLEWO:CODE={@IF("V_POS",">_","10","BFITMP15","");}
OBJECT=BEHPRAWO
BEHPRAWO:TYPE=BEHAVIOUR
BEHPRAWO:CODE={@IF("V_POS","<_","560","BFITMP16","");}
OBJECT=__INIT__
__INIT__:TYPE=BEHAVIOUR
__INIT__:CODE={TIMER1^DISABLE();TIMER2^DISABLE();BUTHELPBREAKER^DISABLE();HAND^HIDE();PILKABUT^SETASBUTTON(TRUE,TRUE);NOZZLEBUT^SETASBUTTON(TRUE,TRUE);TEATRBUT^SETASBUTTON(TRUE,TRUE);KROLIKIBUT^SETASBUTTON(TRUE,TRUE);DRZWIBUT^SETASBUTTON(TRUE,TRUE);EXITBUT^SETASBUTTON(TRUE,TRUE);HELPBUT^SETASBUTTON(TRUE,TRUE);I_PLAN2^MOVE(-275,0);PILKABUT^MOVE(-275,0);NOZZLEBUT^MOVE(-275,0);TEATRBUT^MOVE(-275,0);ANGLISTAMENU^MOVE(-275,0);BIOLAMENU^MOVE(-275,0);KROLIKIBUT^MOVE(-275,0);MATMAMENU^MOVE(-275,0);POLSKIMENU^MOVE(-275,0);DRZWIBUT^MOVE(-275,0);KOZA^MOVE(-275,0);NAKLADKA_KORALIKI^MOVE(-275,0);I_PLAN1^MOVE(-350,0);V_SCROLLSPEED1^SET(20);V_SCROLLSPEED2^SET(17);V_POS^SET(275);G_SOUNDS^ADD("S_TEATRZYK","S_KROLIKI","S_PILKANASALI","S_MALARZ");G_SEQUENCE^ADD("ANGMENUSEQ","BIOLAMENUSEQ","POLSKIMENUSEQ","MATMAMENUSEQ");@IF("V_WELCOMED","_","0","BFITMP17","");}
OBJECT=BEHANGON
BEHANGON:TYPE=BEHAVIOUR
BEHANGON:CODE={G_SOUNDS^STOP();V_SOUND^SET("NULL");ANGMENUSEQ^STOP(FALSE);ANGMENUSEQ^PLAY("GADA");}
OBJECT=BEHANGOFF
BEHANGOFF:TYPE=BEHAVIOUR
BEHANGOFF:CODE={ANGMENUSEQ^STOP(FALSE);ANGMENUSEQ^PLAY("IDLE");}
OBJECT=BEHBIOLON
BEHBIOLON:TYPE=BEHAVIOUR
BEHBIOLON:CODE={G_SOUNDS^STOP();V_SOUND^SET("NULL");BIOLAMENUSEQ^STOP(FALSE);BIOLAMENUSEQ^PLAY("GADA");}
OBJECT=BEHBIOLOFF
BEHBIOLOFF:TYPE=BEHAVIOUR
BEHBIOLOFF:CODE={BIOLAMENUSEQ^STOP(FALSE);BIOLAMENUSEQ^PLAY("IDLE");}
OBJECT=BEHMATMAON
BEHMATMAON:TYPE=BEHAVIOUR
BEHMATMAON:CODE={G_SOUNDS^STOP();V_SOUND^SET("NULL");MATMAMENUSEQ^STOP(FALSE);MATMAMENUSEQ^PLAY("GADA");}
OBJECT=BEHMATMAOFF
BEHMATMAOFF:TYPE=BEHAVIOUR
BEHMATMAOFF:CODE={MATMAMENUSEQ^STOP(FALSE);MATMAMENUSEQ^PLAY("IDLE");}
OBJECT=BEHPOLON
BEHPOLON:TYPE=BEHAVIOUR
BEHPOLON:CODE={G_SOUNDS^STOP();V_SOUND^SET("NULL");POLSKIMENUSEQ^STOP(FALSE);POLSKIMENUSEQ^PLAY("GADA");}
OBJECT=BEHPOLOFF
BEHPOLOFF:TYPE=BEHAVIOUR
BEHPOLOFF:CODE={POLSKIMENUSEQ^STOP(FALSE);POLSKIMENUSEQ^PLAY("IDLE");}
OBJECT=BEHCLICKMALARZ
BEHCLICKMALARZ:TYPE=BEHAVIOUR
BEHCLICKMALARZ:CODE={PRZYGODA^GOTO("NOZZLE");}
OBJECT=BEHCLICKPILKASALOWA
BEHCLICKPILKASALOWA:TYPE=BEHAVIOUR
BEHCLICKPILKASALOWA:CODE={VARKLASA^SET(1);PRZYGODA^GOTO("PILKAWYBOR");}
OBJECT=BEHCLICKKROLIKI
BEHCLICKKROLIKI:TYPE=BEHAVIOUR
BEHCLICKKROLIKI:CODE={PRZYGODA^GOTO("HOTEL_WYB");}
OBJECT=BEHCLICKTEATR
BEHCLICKTEATR:TYPE=BEHAVIOUR
BEHCLICKTEATR:CODE={PRZYGODA^GOTO("TEATR_WYB");}
OBJECT=BEHCLICKDRZWI
BEHCLICKDRZWI:TYPE=BEHAVIOUR
BEHCLICKDRZWI:CODE={PRZYGODA^GOTO("MENUOUTSIDE");}
OBJECT=BEHKOZARANDOM
BEHKOZARANDOM:TYPE=BEHAVIOUR
BEHKOZARANDOM:CODE={KOZAMENUSEQ^PLAY("RANDOM");}
OBJECT=BEHKOZADOMODULU
BEHKOZADOMODULU:TYPE=BEHAVIOUR
BEHKOZADOMODULU:CODE={TIMERKOZIOLKA^DISABLE();KOZAMENUSEQ^PLAY("DOMODULU");}
OBJECT=BEHCLICKANGOL
BEHCLICKANGOL:TYPE=BEHAVIOUR
BEHCLICKANGOL:CODE={VARTESTTYP^SET("ANGIELSKI");PRZYGODA^GOTO("TESTWYBOR");}
OBJECT=BEHCLICKPOLAK
BEHCLICKPOLAK:TYPE=BEHAVIOUR
BEHCLICKPOLAK:CODE={VARTESTTYP^SET("POLSKI");PRZYGODA^GOTO("TESTWYBOR");}
OBJECT=BEHCLICKBIOLA
BEHCLICKBIOLA:TYPE=BEHAVIOUR
BEHCLICKBIOLA:CODE={VARTESTTYP^SET("PRZYRODA");PRZYGODA^GOTO("TESTWYBOR");}
OBJECT=BEHCLICKMATMA
BEHCLICKMATMA:TYPE=BEHAVIOUR
BEHCLICKMATMA:CODE={VARTESTTYP^SET("MATEMATYK");PRZYGODA^GOTO("TESTWYBOR");}
OBJECT=SOUND_STOP
SOUND_STOP:TYPE=BEHAVIOUR
SOUND_STOP:CODE={G_SOUNDS^STOP();*V_SOUND^PLAY();}
OBJECT=UUU
UUU:TYPE=BEHAVIOUR
UUU:CODE={}
OBJECT=BEHEXITDIALOG
BEHEXITDIALOG:TYPE=BEHAVIOUR
BEHEXITDIALOG:CODE={MENUINSIDE^PAUSE();EXITDIALOG^SHOW();EXITNO^SHOW();EXITTAK^SHOW();BUTNIE^ENABLE();BUTTAK^ENABLE();BUTTONANG^DISABLEBUTVISIBLE();BUTTONPOLSKI^DISABLEBUTVISIBLE();BUTTONBIOL^DISABLEBUTVISIBLE();BUTTONMATMA^DISABLEBUTVISIBLE();S_RUSURE^PLAY();}
OBJECT=BEHRESUME
BEHRESUME:TYPE=BEHAVIOUR
BEHRESUME:CODE={EXITDIALOG^HIDE();EXITNO^HIDE();EXITTAK^HIDE();BUTNIE^DISABLE();BUTTAK^DISABLE();BUTTONANG^ENABLE();BUTTONPOLSKI^ENABLE();BUTTONBIOL^ENABLE();BUTTONMATMA^ENABLE();MENUINSIDE^RESUME();}
OBJECT=BEHHELP
BEHHELP:TYPE=BEHAVIOUR
BEHHELP:CODE={MENUINSIDE^PAUSE();BUTTONANG^DISABLEBUTVISIBLE();BUTTONPOLSKI^DISABLEBUTVISIBLE();BUTTONBIOL^DISABLEBUTVISIBLE();BUTTONMATMA^DISABLEBUTVISIBLE();HELP^PLAY("GADA");BUTHELPBREAKER^ENABLE();}
OBJECT=BEHHELPEND
BEHHELPEND:TYPE=BEHAVIOUR
BEHHELPEND:CODE={HELP^STOP(FALSE);BUTHELPBREAKER^DISABLE();BUTTONANG^ENABLE();BUTTONPOLSKI^ENABLE();BUTTONBIOL^ENABLE();BUTTONMATMA^ENABLE();MENUINSIDE^RESUME();MOUSE^SET("ACTIVE");MOUSE^SET("ARROW");}
OBJECT=BFITMP0
BFITMP0:TYPE=BEHAVIOUR
BFITMP0:CODE={I_DEMO_ALL^SHOW();}
OBJECT=BFITMP1
BFITMP1:TYPE=BEHAVIOUR
BFITMP1:CODE={DOWYKONANIA^SET("BEHCLICKPILKASALOWA");BEHKOZADOMODULU^RUN();}
OBJECT=BFITMP2
BFITMP2:TYPE=BEHAVIOUR
BFITMP2:CODE={I_DEMO_ALL^HIDE();}
OBJECT=BFITMP3
BFITMP3:TYPE=BEHAVIOUR
BFITMP3:CODE={I_DEMO_ALL^SHOW();}
OBJECT=BFITMP4
BFITMP4:TYPE=BEHAVIOUR
BFITMP4:CODE={DOWYKONANIA^SET("BEHCLICKKROLIKI");BEHKOZADOMODULU^RUN();}
OBJECT=BFITMP5
BFITMP5:TYPE=BEHAVIOUR
BFITMP5:CODE={I_DEMO_ALL^HIDE();}
OBJECT=BFITMP6
BFITMP6:TYPE=BEHAVIOUR
BFITMP6:CODE={I_DEMO_ALL^SHOW();}
OBJECT=BFITMP7
BFITMP7:TYPE=BEHAVIOUR
BFITMP7:CODE={DOWYKONANIA^SET("BEHCLICKANGOL");BEHKOZADOMODULU^RUN();}
OBJECT=BFITMP8
BFITMP8:TYPE=BEHAVIOUR
BFITMP8:CODE={I_DEMO_ALL^HIDE();}
OBJECT=BFITMP9
BFITMP9:TYPE=BEHAVIOUR
BFITMP9:CODE={I_DEMO_ALL^SHOW();}
OBJECT=BFITMP10
BFITMP10:TYPE=BEHAVIOUR
BFITMP10:CODE={I_DEMO_ALL^HIDE();}
OBJECT=BFITMP11
BFITMP11:TYPE=BEHAVIOUR
BFITMP11:CODE={DOWYKONANIA^SET("BEHCLICKMATMA");BEHKOZADOMODULU^RUN();}
OBJECT=BFITMP12
BFITMP12:TYPE=BEHAVIOUR
BFITMP12:CODE={I_DEMO_ALL^SHOW();}
OBJECT=BFITMP13
BFITMP13:TYPE=BEHAVIOUR
BFITMP13:CODE={I_DEMO_ALL^HIDE();}
OBJECT=BFITMP14
BFITMP14:TYPE=BEHAVIOUR
BFITMP14:CODE={DOWYKONANIA^SET("BEHCLICKPOLAK");BEHKOZADOMODULU^RUN();}
OBJECT=BFITMP15
BFITMP15:TYPE=BEHAVIOUR
BFITMP15:CODE={BUTTONPRAWO^ENABLE();I_PLAN2^MOVE(V_SCROLLSPEED2,0);PILKABUT^MOVE(V_SCROLLSPEED2,0);NOZZLEBUT^MOVE(V_SCROLLSPEED2,0);TEATRBUT^MOVE(V_SCROLLSPEED2,0);ANGLISTAMENU^MOVE(V_SCROLLSPEED2,0);BIOLAMENU^MOVE(V_SCROLLSPEED2,0);KROLIKIBUT^MOVE(V_SCROLLSPEED2,0);MATMAMENU^MOVE(V_SCROLLSPEED2,0);POLSKIMENU^MOVE(V_SCROLLSPEED2,0);DRZWIBUT^MOVE(V_SCROLLSPEED2,0);KOZA^MOVE(V_SCROLLSPEED2,0);NAKLADKA_KORALIKI^MOVE(V_SCROLLSPEED2,0);I_PLAN1^MOVE(V_SCROLLSPEED1,0);V_POS^SUB(V_SCROLLSPEED2);}
OBJECT=BFITMP16
BFITMP16:TYPE=BEHAVIOUR
BFITMP16:CODE={BUTTONLEWO^ENABLE();TMPINT^SET([0-V_SCROLLSPEED2]);I_PLAN2^MOVE(TMPINT,0);PILKABUT^MOVE(TMPINT,0);NOZZLEBUT^MOVE(TMPINT,0);TEATRBUT^MOVE(TMPINT,0);ANGLISTAMENU^MOVE(TMPINT,0);BIOLAMENU^MOVE(TMPINT,0);KROLIKIBUT^MOVE(TMPINT,0);MATMAMENU^MOVE(TMPINT,0);POLSKIMENU^MOVE(TMPINT,0);DRZWIBUT^MOVE(TMPINT,0);KOZA^MOVE(TMPINT,0);NAKLADKA_KORALIKI^MOVE(TMPINT,0);I_PLAN1^MOVE([0-V_SCROLLSPEED1],0);VPRAWO^INC();V_POS^ADD(V_SCROLLSPEED2);}
OBJECT=BFITMP17
BFITMP17:TYPE=BEHAVIOUR
BFITMP17:CODE={S_WELCOME^PLAY();V_WELCOMED^SET(1);}