Fixed the fight command. It's untested, but I think that should work better than Aminaga's. Wink
#Bitmap("testbkg.jpg")
#Put(15, 5, "char.tst005")
#Put(1, 5, "char.tst015")
#battledone!=0
#while(battledone! == 0)
{
#mwincls
character0[name]$ = "Bobbert"
character0[health]! = 100
#Mwin(1 - Fight)
#MWin(2 - Special Moves)
#MWin(3 - Item)
#MWin(4 - Run)
#Wait(a$)
******************************
#if (a$=="1")
{
#castlit(cnum!,cnum$)
#castlit(enum!,enum$)
#code$="#damage! = character"+cnum$+"[attack]! - enemy"+enum$+"[defense]!"
#rpgcode(code$)
#code$="#enemy"+enum$+"[health]!=enemy"+enum$+"[health]!-damage!"
#rpgcode(code$)
}
******************************
******************************
#if (a$=="2")
{
More text goes here.
}
******************************
******************************
#if (a$=="3")
{
More text goes here.
}
******************************
******************************
#if (a$=="4")
{
#battledone! = 1
#Send("start.brd", 8, 11, 1)
}
******************************
}