hey xorlak...need some coding help Posted by: spitfire_reborn 13:01:21 04-04-2004 |
See anything wrong with this? i cant seem to get it right....
***Main Menu***
#savescreen()
#Sword!=1
:sword1
#while(sword!=1)
{
#Setimage("Swordselector.gif",150,250,124,34)
#wait(choice$)
#If(choice$=="UP")
{
#Sword!=3
#Branch(:sword3)
}
#if(Choice$=="DOWN")
{
#Sword!=2
#Branch(:sword2)
}
#If(choice$=="ENTER")
{
#Run("NewGame.prg")
}
}
:sword2
#restorescreen
#while(Sword!=2)
{
#Setimage("Swordselector.gif",150,290,124,34)
#wait(choice$)
#If(choice$=="UP")
{
#Sword!=2
#Branch(:sword2)
}
#if(Choice$=="DOWN")
{
#Sword!==3
#Branch(:sword3)
}
#If(choice$=="ENTER")
{
#Run("Loadgame.prg")
}
}
:sword3
#RestoreScreen()
#while(sword!=3)
{
#Setimage("Swordselector.gif",150,330,124,34)
#wait(choice$)
#If(choice$=="UP")
{
#Sword!==2
#Branch(:sword2)
}
#if(Choice$=="DOWN")
{
#Sword!==1
#Branch(:sword1)
}
#If(choice$=="ENTER")
{
#Windows()
}
}