I played my game, took a break then played it again, but when I went to play it again it stated:
Could not close nest at line 106
Every time I deleted a line of code the error changed from 106 to the last line and if the last line is a "Rem" Command it will change to the line after "Rem" even if it doesn't exist!
I copyed and pasted the code to a new file in case the old file was corrupted, the error remained!
Here's the code:
Goto Setup
Setup:
Load Music "Isaac-Greed.mp3",1
Load Image "Title1.png",1,0
Load Image "Static.png",2,0
SM$="ON"
Goto Intro
Intro:
Cls
Play music 1
If SM$
Wait 1000*3
Ink RGB(255,255,255),RGB(0,0,0)
Center Text 320,172,"Jack Ellis Presents..."
Wait 750*3
Center Text 320,192,"Greed"
Wait 1000*4
Cls RGB(255,255,255)
Ink RGB(0,0,0),RGB(255,255,255)
Paste Image 1,95,20,1
Print "OUT OF ORDER"
Print "2 = Options"
T=0
Do
T=T+1
Rem If scancode()=2 then goto Start
If scancode()=3 then goto Options
If T=300000 then goto Intro3
Loop
Intro2:
Play Music 1
Cls RGB(255,255,255)
Ink RGB(0,0,0),RGB(255,255,255)
Paste Image 1,95,20,1
Print "OUT OF ORDER"
Print "2 = Options"
Do
Rem If scancode()=2 then goto Start
If scancode()=3 then goto Options
Loop
Intro3:
Cls
Center Text 320,182,"brINg ThEM thE $&@%"
Wait 1000*8
Cls
Stop Music 1
Center Text 320,182,"ERROR, 3RROR, 3RR@R..."
Wait 1000*2
Paste Image 2,0,0,0
Wait 1000*5
Goto Intro
Secret1:
Cls
If SM$="ON" then SM$="OFF"
Print " OPTIONS"
Print ""
Print "Press 1 to EXIT"
Print "Press 2 to TOGGLE the Waiting Screen at the Title. CURRENT STATUS: ",SM$
Print ""
Print "Waiting screen is now off!"
Wait 750*2
Goto Options
Secret2:
Cls
If SM$="OFF" then SM$="ON"
Print " OPTIONS"
Print ""
Print "Press 1 to EXIT"
Print "Press 2 to TOGGLE the Waiting Screen at the Title. CURRENT STATUS: ",SM$
Print ""
Print "Waiting screen is now on!"
Wait 750*2
Goto Options
Options:
Cls
Stop Music 1
Ink RGB(255,255,255),RGB(0,0,0)
Print " OPTIONS"
Print ""
Print "Press 1 to EXIT"
Print "Press 2 to TOGGLE the Waiting Screen at the Title. CURRENT STATUS: ",SM$
Wait 250*2
do
if scancode()=2 then goto Intro
if scancode()=3 and SM$="ON" then goto Secret1
if scancode()=3 and SM$="OFF" then goto Secret2
loop
(EDIT 1) Ignore the Useless "Goto's" before I die of laughter!
Jack the human