The problem with the following code is that the battle won't take place with the given background. Can I use BKGND$ in the #Fight command and if so then am i typing it wrong. Any help will be apreceated. Thanks.
#GetBoardName(Name$)
#BKGND$=BoardBackground$
#Random(20, Fightornot!)
#If(Fightornot!==20)
{
#if(Name$=="!_1PlaneMap_Forest.brd")
{
#GetPlayerCoords(0,MyX!,MyY!)
#GetBoardTile(MyX!,MyY!,1,TileName$)
#if(TileName$=="RPGMaker951.tst4")
{
#BKGND$="!_World1_Grass1.bkg"
}
#if(TileName$="RPGMaker951.tst2")
{
#BKGND$="!_World1_Forest1.bkg"
}
#And(result!, MyX!>=1, MyY!>=1, MyX!<=9, MyY!<=3)
#If(result!==1)
{
#Fight(2,BKGND$)
}
#Fight(boardskill!, BKGND$)
}
#Fight(boardskill!, BoardBackground$)