In reply to: huh... -- Cesque 05:05:07 08-12-2004
i know Posted by: Frankster_13 19:04:01 08-13-2004 |
i know u cant branch to that but i fixed the program a little and it still doesn't work, but heres the updated program
_________________________________________________________________
#autocommand
MidiPlay("SPLASH.wav")
SetImage("Battle 0.bmp", 210, 170, 200, 100)
Delay(.05)
SetImage("Battle 1.bmp", 210, 170, 200, 100)
Delay(.05)
SetImage("Battle 2.bmp", 210, 170, 200, 100)
Delay(.05)
SetImage("Battle 3.bmp", 210, 170, 200, 100)
Delay(.05)
SetImage("Battle 4.bmp", 210, 170, 200, 100)
Delay(.05)
SetImage("Battle 5.bmp", 210, 170, 200, 100)
Delay(.05)
SetImage("Battle 6.bmp", 210, 170, 200, 100)
Delay(1.0)
SetImage("newfightmenu.bmp", 1, 1, 190, 164)
:loop
cMap! = CreateCursorMap()
CursorMapAdd(45, 38, cMap!)
CursorMapAdd(45, 70, cMap!)
CursorMapAdd(45, 105, cMap!)
res! = CursorMapRun(cMap!)
KillCursorMap(cMap!)
if(res! == 0)
{
MWin("which direction? N S E W")
wait(q$)
MWinCls()
If(q$ == "up")
{
Push("N", "Aeron")
}
If(q$ == "down")
{
Push("S", "Aeron")
}
If(q$ == "Left")
{
Push("W", "Aeron")
}
If(q$ == "Right")
{
Push("E", "Aeron")
}
}
SetImage("newfightmenu.bmp", 1, 1, 190, 164)
if(res! == 1)
{
Animation("aeron att.anm", 210, 170)
}
SetImage("newfightmenu.bmp", 1, 1, 190, 164)
if(res! == 2)
{
#SetImage("fightmenumagic.bmp", 1, 1, 190, 164)
cMap! = CreateCursorMap()
CursorMapAdd(45, 38, cMap!)
CursorMapAdd(45, 70, cMap!)
CursorMapAdd(45, 105, cMap!)
res! = CursorMapRun(cMap!)
KillCursorMap(cMap!)
if(res! == 0)
{
Earthquake(5)
Animation("aeron fire.anm", 210, 170)
}
SetImage("newfightmenu.bmp", 1, 1, 190, 164)
if(res! == 1)
{
Earthquake(5)
Animation("aeron ice.anm", 210, 170)
}
SetImage("newfightmenu.bmp", 1, 1, 190, 164)
if(res! == 2)
{
Earthquake(5)
Animation("aeron bolt.anm", 210, 170)
}
}
SetImage("newfightmenu.bmp", 1, 1, 190, 164)
#branch(:loop)