Reply to Re: Hold
If you don't have an account, just leave the password field blank.
The hold function? I don't think there is a hold function in Dink.
If you want a rock to be pushed out of the way permanently you'll have to use a global. Something like this:
If you want a rock to be pushed out of the way permanently you'll have to use a global. Something like this:
void main(void)
{
if (&story > 4)
{
sp_x(¤t_sprite,500);
draw_hard_map();
}
}
void push(void)
{
if (&story == 4)
{
int &ddir = sp_dir(1,-1);
if (&ddir == 6)
{
freeze(1);
sp_speed(¤t_sprite,1);
move_stop(¤t_sprite,6,500,1);
&story = 5;
draw_hard_map();
unfreeze(1);
}
}
}





