Reply to Please help I am so stuck
If you don't have an account, just leave the password field blank.
I am using this one. But I can not push the rock when I am level 10. When I am not level 10 but a lower level. When I push it It says I am not strong enough. But when I am level 10. I can not push the rock.
I have been busy with this script all weekend. And I made so many combinations. But I can not make the script work. Please help?
//Remember where it was pushed
void main(void)
{
int &dinkd;
int &newy;
int &myy = sp_y(¤t_sprite,-1);
int &hold = sp_editor_num(¤t_sprite);
&newy = editor_seq(&hold,-1);
if (&newy)
{
sp_y(¤t_sprite,&newy);
draw_hard_map();
}
{
sp_speed(¤t_sprite,2);
}
void push(void)
{
&dinkd = sp_dir(1,-1);
&newy = sp_y(¤t_sprite,-1);
if (&newy != &myy) goto nopush;
if (&level >= 10)
{
unfreeze(1);
&newy -= 50;
move_stop(¤t_sprite,8,&newy,1);
editor_seq(&hold,&newy);
draw_hard_map();
unfreeze(1);
return;
}
nopush:
say("I can't push it this way! I am not strong enough yet.", 1);
}
I have been busy with this script all weekend. And I made so many combinations. But I can not make the script work. Please help?
//Remember where it was pushed
void main(void)
{
int &dinkd;
int &newy;
int &myy = sp_y(¤t_sprite,-1);
int &hold = sp_editor_num(¤t_sprite);
&newy = editor_seq(&hold,-1);
if (&newy)
{
sp_y(¤t_sprite,&newy);
draw_hard_map();
}
{
sp_speed(¤t_sprite,2);
}
void push(void)
{
&dinkd = sp_dir(1,-1);
&newy = sp_y(¤t_sprite,-1);
if (&newy != &myy) goto nopush;
if (&level >= 10)
{
unfreeze(1);
&newy -= 50;
move_stop(¤t_sprite,8,&newy,1);
editor_seq(&hold,&newy);
draw_hard_map();
unfreeze(1);
return;
}
nopush:
say("I can't push it this way! I am not strong enough yet.", 1);
}