Reply to Bah, humbug.
If you don't have an account, just leave the password field blank.
I'm realy sorry about posting so much on this site, but, you know, i'm learning.
. I've got a script that just wont do what its told, the arrow wont move up or down. its realy piddling me off.
void main (void)
{
draw_status();
freeze(1);
if(&tifany==1)
{
int &tifanytwo = Create_sprite(110, 290, 16, 227, 1);
}
if(&fight==1)
{
int &arrowposition = 1;
int &arrow = create_sprite(510, 350, 0, 192, 2);
int &saya = say_xy("Hitpoints, &life", 90, 340);
int &sayb = say_xy("Attack", 550, 330);
int &sayc = say_xy("Magic", 550, 350);
int &sayd = say_xy("Item", 550, 370);
int &saye = say_xy("Flee", 550, 390);
sp_kill(&saya, 0);
sp_kill(&sayb, 0);
sp_kill(&sayc, 0);
sp_kill(&sayd, 0);
sp_kill(&saye, 0);
int &controlbox = create_sprite(58, 341, 0, 192, 1);
sp_depth_que(&controlbox, 5);
int &arrowy;
loop:
wait_for_button();
&arrowy = sp_y(&arrow, -1);
if (&result == 18)
&arrowy -= 20;
if (&result == 12)
&arrowy += 20;
if (&arrowy > 330)
&arrowy = 390;
if (&arrowy < 390)
&arrowy = 330;
sp_y(&arrowy, &cury);
goto loop;
}
}
}
Thank you all so much, all this help is realy great, and it's realy appretiated. thanks

void main (void)
{
draw_status();
freeze(1);
if(&tifany==1)
{
int &tifanytwo = Create_sprite(110, 290, 16, 227, 1);
}
if(&fight==1)
{
int &arrowposition = 1;
int &arrow = create_sprite(510, 350, 0, 192, 2);
int &saya = say_xy("Hitpoints, &life", 90, 340);
int &sayb = say_xy("Attack", 550, 330);
int &sayc = say_xy("Magic", 550, 350);
int &sayd = say_xy("Item", 550, 370);
int &saye = say_xy("Flee", 550, 390);
sp_kill(&saya, 0);
sp_kill(&sayb, 0);
sp_kill(&sayc, 0);
sp_kill(&sayd, 0);
sp_kill(&saye, 0);
int &controlbox = create_sprite(58, 341, 0, 192, 1);
sp_depth_que(&controlbox, 5);
int &arrowy;
loop:
wait_for_button();
&arrowy = sp_y(&arrow, -1);
if (&result == 18)
&arrowy -= 20;
if (&result == 12)
&arrowy += 20;
if (&arrowy > 330)
&arrowy = 390;
if (&arrowy < 390)
&arrowy = 330;
sp_y(&arrowy, &cury);
goto loop;
}
}
}
Thank you all so much, all this help is realy great, and it's realy appretiated. thanks