Reply to Re: dink x and y
If you don't have an account, just leave the password field blank.
It doesn't work. The Sprite doesn't appear at all. When i change brain to 6, reapeat, the first frame appear but the seq doesn't run.
void use(void)
{
say("Cure!!", 1);
int &dinkx = sp_x(1,-1);
int &dinky = sp_y(1,-1);
create_sprite(&dinkx,&dinky,7,890,1);
&life += 5;
&life += &magic;
If (&life > &lifemax)
{
&life = &lifemax;
}
playsound(24,22050,0,0,0);
&magic_level = 0;
draw_status();
}
void use(void)
{
say("Cure!!", 1);
int &dinkx = sp_x(1,-1);
int &dinky = sp_y(1,-1);
create_sprite(&dinkx,&dinky,7,890,1);
&life += 5;
&life += &magic;
If (&life > &lifemax)
{
&life = &lifemax;
}
playsound(24,22050,0,0,0);
&magic_level = 0;
draw_status();
}