Code: Select all
yli34:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "10+15=25"
DrawScreen
Forever
yli35:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "10+16=26"
DrawScreen
Forever
yli36:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "10+17=27"
DrawScreen
Forever
yli37:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "10+18=28"
DrawScreen
Forever
yli38:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "10+19=29"
DrawScreen
Forever
yli39:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "10+20=30"
DrawScreen
Forever
yli19:
CloseInput()
Repeat
Text 100, 100, "11+"
txt = Input("toka:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto yli1
If txt = "2" Then Goto yli2
If txt = "3" Then Goto yli3
If txt = "4" Then Goto yli4
If txt = "5" Then Goto yli5
If txt = "6" Then Goto yli6
If txt = "7" Then Goto yli7
If txt = "8" Then Goto yli8
If txt = "9" Then Goto yli9
If txt = "10" Then Goto yli29
If txt = "11" Then Goto yli30
If txt = "12" Then Goto yli31
If txt = "13" Then Goto yli32
If txt = "14" Then Goto yli33
If txt = "15" Then Goto yli34
If txt = "16" Then Goto yli35
If txt = "17" Then Goto yli36
If txt = "18" Then Goto yli37
If txt = "19" Then Goto yli38
If txt = "20" Then Goto yli39
EndIf
DrawScreen
Forever
yli1:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+1=12"
DrawScreen
Forever
yli2:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+2=13"
DrawScreen
Forever
yli3:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+3=14"
DrawScreen
Forever
yli4:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+4=15"
DrawScreen
Forever
yli5:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+5=16"
DrawScreen
Forever
yli6:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+6=17"
DrawScreen
Forever
yli7:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+7=18"
DrawScreen
Forever
yli8:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+8=19"
DrawScreen
Forever
yli9:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+9=20"
DrawScreen
Forever
yli29:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+10=21"
DrawScreen
Forever
yli30:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+11=22"
DrawScreen
Forever
yli31:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+12=23"
DrawScreen
Forever
yli32:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+13=24"
DrawScreen
Forever
yli33:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+14=25"
DrawScreen
Forever
yli34:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+15=26"
DrawScreen
Forever
yli35:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+16=27"
DrawScreen
Forever
yli36:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+17=28"
DrawScreen
Forever
yli37:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+18=29"
DrawScreen
Forever
yli38:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+19=30"
DrawScreen
Forever
yli39:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "11+20=31"
DrawScreen
Forever
yli20:
CloseInput()
Repeat
Text 100, 100, "12+"
txt = Input("toka:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto yli1
If txt = "2" Then Goto yli2
If txt = "3" Then Goto yli3
If txt = "4" Then Goto yli4
If txt = "5" Then Goto yli5
If txt = "6" Then Goto yli6
If txt = "7" Then Goto yli7
If txt = "8" Then Goto yli8
If txt = "9" Then Goto yli9
If txt = "10" Then Goto yli29
If txt = "11" Then Goto yli30
If txt = "12" Then Goto yli31
If txt = "13" Then Goto yli32
If txt = "14" Then Goto yli33
If txt = "15" Then Goto yli34
If txt = "16" Then Goto yli35
If txt = "17" Then Goto yli36
If txt = "18" Then Goto yli37
If txt = "19" Then Goto yli38
If txt = "20" Then Goto yli39
EndIf
DrawScreen
Forever
yli1:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+1=13"
DrawScreen
Forever
yli2:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+2=14"
DrawScreen
Forever
yli3:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+3=15"
DrawScreen
Forever
yli4:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+4=16"
DrawScreen
Forever
yli5:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+5=17"
DrawScreen
Forever
yli6:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+6=18"
DrawScreen
Forever
yli7:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+7=19"
DrawScreen
Forever
yli8:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+8=20"
DrawScreen
Forever
yli9:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+9=21"
DrawScreen
Forever
yli29:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+10=22"
DrawScreen
Forever
yli30:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+11=23"
DrawScreen
Forever
yli31:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+12=24"
DrawScreen
Forever
yli32:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+13=25"
DrawScreen
Forever
yli33:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+14=26"
DrawScreen
Forever
yli34:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+15=27"
DrawScreen
Forever
yli35:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+16=28"
DrawScreen
Forever
yli36:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+17=29"
DrawScreen
Forever
yli37:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+18=30"
DrawScreen
Forever
yli38:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+19=31"
DrawScreen
Forever
yli39:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "12+20=32"
DrawScreen
Forever
yli21:
CloseInput()
Repeat
Text 100, 100, "13+"
txt = Input("toka:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto yli1
If txt = "2" Then Goto yli2
If txt = "3" Then Goto yli3
If txt = "4" Then Goto yli4
If txt = "5" Then Goto yli5
If txt = "6" Then Goto yli6
If txt = "7" Then Goto yli7
If txt = "8" Then Goto yli8
If txt = "9" Then Goto yli9
If txt = "10" Then Goto yli29
If txt = "11" Then Goto yli30
If txt = "12" Then Goto yli31
If txt = "13" Then Goto yli32
If txt = "14" Then Goto yli33
If txt = "15" Then Goto yli34
If txt = "16" Then Goto yli35
If txt = "17" Then Goto yli36
If txt = "18" Then Goto yli37
If txt = "19" Then Goto yli38
If txt = "20" Then Goto yli39
EndIf
DrawScreen
Forever
yli1:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+1=14"
DrawScreen
Forever
yli2:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+2=15"
DrawScreen
Forever
yli3:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+3=16"
DrawScreen
Forever
yli4:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+4=17"
DrawScreen
Forever
yli5:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+5=18"
DrawScreen
Forever
yli6:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+6=19"
DrawScreen
Forever
yli7:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+7=20"
DrawScreen
Forever
yli8:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+8=21"
DrawScreen
Forever
yli9:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+9=22"
DrawScreen
Forever
yli29:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+10=23"
DrawScreen
Forever
yli30:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+11=24"
DrawScreen
Forever
yli31:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+12=25"
DrawScreen
Forever
yli32:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+13=26"
DrawScreen
Forever
yli33:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+14=27"
DrawScreen
Forever
yli34:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+15=28"
DrawScreen
Forever
yli35:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+16=29"
DrawScreen
Forever
yli36:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+17=30"
DrawScreen
Forever
yli37:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+18=31"
DrawScreen
Forever
yli38:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+19=32"
DrawScreen
Forever
yli29:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "13+20=33"
DrawScreen
Forever
yli22:
CloseInput()
Repeat
Text 100, 100, "14+"
txt = Input("toka:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto yli1
If txt = "2" Then Goto yli2
If txt = "3" Then Goto yli3
If txt = "4" Then Goto yli4
If txt = "5" Then Goto yli5
If txt = "6" Then Goto yli6
If txt = "7" Then Goto yli7
If txt = "8" Then Goto yli8
If txt = "9" Then Goto yli9
If txt = "10" Then Goto yli29
If txt = "11" Then Goto yli30
If txt = "12" Then Goto yli31
If txt = "13" Then Goto yli32
If txt = "14" Then Goto yli33
If txt = "15" Then Goto yli34
If txt = "16" Then Goto yli35
If txt = "17" Then Goto yli36
If txt = "18" Then Goto yli37
If txt = "19" Then Goto yli38
If txt = "20" Then Goto yli39
EndIf
DrawScreen
Forever
yli1:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+1=15"
DrawScreen
Forever
yli2:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+2=16"
DrawScreen
Forever
yli3:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+3=17"
DrawScreen
Forever
yli4:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+4=18"
DrawScreen
Forever
yli5:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+5=19"
DrawScreen
Forever
yli6:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+6=20"
DrawScreen
Forever
yli7:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+7=21"
DrawScreen
Forever
yli8:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+8=22"
DrawScreen
Forever
yli9:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+9=23"
DrawScreen
Forever
yli29:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+10=24"
DrawScreen
Forever
yli30:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+11=25"
DrawScreen
Forever
yli31:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+12=26"
DrawScreen
Forever
yli32:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+13=27"
DrawScreen
Forever
yli33:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+14=28"
DrawScreen
Forever
yli34:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+15=29"
DrawScreen
Forever
yli35:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+16=30"
DrawScreen
Forever
yli36:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+17=31"
DrawScreen
Forever
yli37:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+18=32"
DrawScreen
Forever
yli38:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+19=33"
DrawScreen
Forever
yli29:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "14+20=34"
DrawScreen
Forever
yli23:
CloseInput()
Repeat
Text 100, 100, "15+"
txt = Input("toka:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto yli1
If txt = "2" Then Goto yli2
If txt = "3" Then Goto yli3
If txt = "4" Then Goto yli4
If txt = "5" Then Goto yli5
If txt = "6" Then Goto yli6
If txt = "7" Then Goto yli7
If txt = "8" Then Goto yli8
If txt = "9" Then Goto yli9
If txt = "10" Then Goto yli29
If txt = "11" Then Goto yli30
If txt = "12" Then Goto yli31
If txt = "13" Then Goto yli32
If txt = "14" Then Goto yli33
If txt = "15" Then Goto yli34
If txt = "16" Then Goto yli35
If txt = "17" Then Goto yli36
If txt = "18" Then Goto yli37
If txt = "19" Then Goto yli38
If txt = "20" Then Goto yli39
EndIf
DrawScreen
Forever
yli1:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+1=16"
DrawScreen
Forever
yli2:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+2=17"
DrawScreen
Forever
yli3:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+3=18"
DrawScreen
Forever
yli4:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+4=19"
DrawScreen
Forever
yli5:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+5=20"
DrawScreen
Forever
yli6:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+6=21"
DrawScreen
Forever
yli7:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+7=22"
DrawScreen
Forever
yli8:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+8=23"
DrawScreen
Forever
yli9:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+9=24"
DrawScreen
Forever
yli29:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+10=25"
DrawScreen
Forever
yli30:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+11=26"
DrawScreen
Forever
yli31:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+12=27"
DrawScreen
Forever
yli32:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+13=28"
DrawScreen
Forever
yli33:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+14=29"
DrawScreen
Forever
yli34:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+15=30"
DrawScreen
Forever
yli35:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+16=31"
DrawScreen
Forever
yli36:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+17=32"
DrawScreen
Forever
yli37:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+18=33"
DrawScreen
Forever
yli38:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+19=34"
DrawScreen
Forever
yli39:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "15+20=35"
DrawScreen
Forever
yli24:
CloseInput()
Repeat
Text 100, 100, "16+"
txt = Input("toka:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto yli1
If txt = "2" Then Goto yli2
If txt = "3" Then Goto yli3
If txt = "4" Then Goto yli4
If txt = "5" Then Goto yli5
If txt = "6" Then Goto yli6
If txt = "7" Then Goto yli7
If txt = "8" Then Goto yli8
If txt = "9" Then Goto yli9
If txt = "10" Then Goto yli29
If txt = "11" Then Goto yli30
If txt = "12" Then Goto yli31
If txt = "13" Then Goto yli32
If txt = "14" Then Goto yli33
If txt = "15" Then Goto yli34
If txt = "16" Then Goto yli35
If txt = "17" Then Goto yli36
If txt = "18" Then Goto yli37
If txt = "19" Then Goto yli38
If txt = "20" Then Goto yli39
EndIf
DrawScreen
Forever
yli1:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+1=17"
DrawScreen
Forever
yli2:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+2=18"
DrawScreen
Forever
yli3:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+3=19"
DrawScreen
Forever
yli4:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+4=20"
DrawScreen
Forever
yli5:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+5=21"
DrawScreen
Forever
yli6:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+6=22"
DrawScreen
Forever
yli7:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+7=23"
DrawScreen
Forever
yli8:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+8=24"
DrawScreen
Forever
yli9:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+9=25"
DrawScreen
Forever
yli29:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+10=26"
DrawScreen
Forever
yli30:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+11=27"
DrawScreen
Forever
yli31:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+12=28"
DrawScreen
Forever
yli32:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+13=29"
DrawScreen
Forever
yli33:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+14=30"
DrawScreen
Forever
yli34:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+15=31"
DrawScreen
Forever
yli35:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+16=32"
DrawScreen
Forever
yli36:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+17=33"
DrawScreen
Forever
yli37:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+18=34"
DrawScreen
Forever
yli38:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+19=35"
DrawScreen
Forever
yli39:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "16+20=36"
DrawScreen
Forever
yli25:
CloseInput()
Repeat
Text 100, 100, "17+"
txt = Input("toka:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto yli1
If txt = "2" Then Goto yli2
If txt = "3" Then Goto yli3
If txt = "4" Then Goto yli4
If txt = "5" Then Goto yli5
If txt = "6" Then Goto yli6
If txt = "7" Then Goto yli7
If txt = "8" Then Goto yli8
If txt = "9" Then Goto yli9
If txt = "10" Then Goto yli29
If txt = "11" Then Goto yli30
If txt = "12" Then Goto yli31
If txt = "13" Then Goto yli32
If txt = "14" Then Goto yli33
If txt = "15" Then Goto yli34
If txt = "16" Then Goto yli35
If txt = "17" Then Goto yli36
If txt = "18" Then Goto yli37
If txt = "19" Then Goto yli38
If txt = "20" Then Goto yli39
EndIf
DrawScreen
Forever
yli1:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+1=18"
DrawScreen
Forever
yli2:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+2=19"
DrawScreen
Forever
yli3:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+3=20"
DrawScreen
Forever
yli4:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+4=21"
DrawScreen
Forever
yli5:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+5=22"
DrawScreen
Forever
yli6:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+6=23"
DrawScreen
Forever
yli7:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+7=24"
DrawScreen
Forever
yli8:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+8=25"
DrawScreen
Forever
yli9:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+9=26"
DrawScreen
Forever
yli29:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+10=27"
DrawScreen
Forever
yli30:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+11=28"
DrawScreen
Forever
yli31:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+12=29"
DrawScreen
Forever
yli32:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+13=30"
DrawScreen
Forever
yli33:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+14=31"
DrawScreen
Forever
yli34:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "+15=32"
DrawScreen
Forever
yli35:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+16=33"
DrawScreen
Forever
yli36:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+17=34"
DrawScreen
Forever
yli37:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+18=35"
DrawScreen
Forever
yli38:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+19=36"
DrawScreen
Forever
yli39:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "17+20=37"
DrawScreen
Forever
yli26:
CloseInput()
Repeat
Text 100, 100, "18+"
txt = Input("toka:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto yli1
If txt = "2" Then Goto yli2
If txt = "3" Then Goto yli3
If txt = "4" Then Goto yli4
If txt = "5" Then Goto yli5
If txt = "6" Then Goto yli6
If txt = "7" Then Goto yli7
If txt = "8" Then Goto yli8
If txt = "9" Then Goto yli9
If txt = "10" Then Goto yli29
If txt = "11" Then Goto yli30
If txt = "12" Then Goto yli31
If txt = "13" Then Goto yli32
If txt = "14" Then Goto yli33
If txt = "15" Then Goto yli34
If txt = "16" Then Goto yli35
If txt = "17" Then Goto yli36
If txt = "18" Then Goto yli37
If txt = "19" Then Goto yli38
If txt = "20" Then Goto yli39
EndIf
DrawScreen
Forever
yli1:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+1=19"
DrawScreen
Forever
yli2:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+2=20"
DrawScreen
Forever
yli3:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+3=21"
DrawScreen
Forever
yli4:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+4=22"
DrawScreen
Forever
yli5:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+5=23"
DrawScreen
Forever
yli6:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+6=24"
DrawScreen
Forever
yli7:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+7=25"
DrawScreen
Forever
yli8:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+8=26"
DrawScreen
Forever
yli9:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+9=27"
DrawScreen
Forever
yli29:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+10=28"
DrawScreen
Forever
yli30:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+11=29"
DrawScreen
Forever
yli31:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+12=30"
DrawScreen
Forever
yli32:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+13=31"
DrawScreen
Forever
yli33:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+14=32"
DrawScreen
Forever
yli34:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+15=33"
DrawScreen
Forever
yli35:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+16=34"
DrawScreen
Forever
yli36:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+17=35"
DrawScreen
Forever
yli37:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+18=36"
DrawScreen
Forever
yli38:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+19=37"
DrawScreen
Forever
yli39:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "18+20=38"
DrawScreen
Forever
yli27:
CloseInput()
Repeat
Text 100, 100, "19+"
txt = Input("toka:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto yli1
If txt = "2" Then Goto yli2
If txt = "3" Then Goto yli3
If txt = "4" Then Goto yli4
If txt = "5" Then Goto yli5
If txt = "6" Then Goto yli6
If txt = "7" Then Goto yli7
If txt = "8" Then Goto yli8
If txt = "9" Then Goto yli9
If txt = "10" Then Goto yli29
If txt = "11" Then Goto yli30
If txt = "12" Then Goto yli31
If txt = "13" Then Goto yli32
If txt = "14" Then Goto yli33
If txt = "15" Then Goto yli34
If txt = "16" Then Goto yli35
If txt = "17" Then Goto yli36
If txt = "18" Then Goto yli37
If txt = "19" Then Goto yli38
If txt = "20" Then Goto yli39
EndIf
DrawScreen
Forever
yli1:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+1=20"
DrawScreen
Forever
yli2:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+2=21"
DrawScreen
Forever
yli3:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+3=22"
DrawScreen
Forever
yli4:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+4=23"
DrawScreen
Forever
yli5:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+5=24"
DrawScreen
Forever
yli6:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+6=25"
DrawScreen
Forever
yli7:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+7=26"
DrawScreen
Forever
yli8:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+8=27"
DrawScreen
Forever
yli9:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+9=28"
DrawScreen
Forever
yli29:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+10=29"
DrawScreen
Forever
yli30:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+11=30"
DrawScreen
Forever
yli31:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+12=31"
DrawScreen
Forever
yli32:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+13=32"
DrawScreen
Forever
yli33:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+14=33"
DrawScreen
Forever
yli34:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+15=34"
DrawScreen
Forever
yli35:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+16=35"
DrawScreen
Forever
yli36:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+17=36"
DrawScreen
Forever
yli37:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+18=37"
DrawScreen
Forever
yli38:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+19=38"
DrawScreen
Forever
yli39:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "19+20=39"
DrawScreen
Forever
yli28:
CloseInput()
Repeat
Text 100, 100, "20+"
txt = Input("toka:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto yli1
If txt = "2" Then Goto yli2
If txt = "3" Then Goto yli3
If txt = "4" Then Goto yli4
If txt = "5" Then Goto yli5
If txt = "6" Then Goto yli6
If txt = "7" Then Goto yli7
If txt = "8" Then Goto yli8
If txt = "9" Then Goto yli9
If txt = "10" Then Goto yli29
If txt = "11" Then Goto yli30
If txt = "12" Then Goto yli31
If txt = "13" Then Goto yli32
If txt = "14" Then Goto yli33
If txt = "15" Then Goto yli34
If txt = "16" Then Goto yli35
If txt = "17" Then Goto yli36
If txt = "18" Then Goto yli37
If txt = "19" Then Goto yli38
If txt = "20" Then Goto yli39
EndIf
DrawScreen
Forever
yli1:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+1=21"
DrawScreen
Forever
yli2:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+2=22"
DrawScreen
Forever
yli3:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+3=23"
DrawScreen
Forever
yli4:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+4=24"
DrawScreen
Forever
yli5:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+5=25"
DrawScreen
Forever
yli6:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+6=26"
DrawScreen
Forever
yli7:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+7=27"
DrawScreen
Forever
yli8:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+8=28"
DrawScreen
Forever
yli9:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+9=29"
DrawScreen
Forever
yli29:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+10=30"
DrawScreen
Forever
yli30:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+11=31"
DrawScreen
Forever
yli31:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+12=32"
DrawScreen
Forever
yli32:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+13=33"
DrawScreen
Forever
yli33:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+14=34"
DrawScreen
Forever
yli34:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+15=35"
DrawScreen
Forever
yli35:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+16=36"
DrawScreen
Forever
yli36:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+17=37"
DrawScreen
Forever
yli37:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+18=38"
DrawScreen
Forever
yli38:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+19=39"
DrawScreen
Forever
yli39:
CloseInput()
Repeat
txt = Input("takaisin 1:")
If KeyHit(cbkeyreturn) Then
If txt = "1" Then Goto alku
EndIf
Text 180, 130, "20+20=40"
DrawScreen
Forever