Sorry it took so long. Just be careful with your braces... (Heh...)
Code: [Select]
done! = false
button! = 1
mainMenuImage()
while (!done!)
{
wait(result)
if (result == "UP")
{
button! = button! - 1
if (button! < 1)
{
button! = 1
}
mainMenuImage()
} // <-- This brace was flipped!
if (result == "DOWN")
{
button! = button! + 1
if (button! > 9)
{
button! = 9
}
mainMenuImage()
} // <-- This too!
if (result == "X")
{
delay(0.25)
fade(2)
fontSize(20)
done! = true
}
}