Reply to Re: i could use some help
If you don't have an account, just leave the password field blank.
High speed answers
I should be in bed.
//fixed hole of death
void touch( void )
{
//put this here then you only have to do it once
sp_touch_damage(¤t_sprite, 0);
//same here
freeze(1);
int &rand = random(4, 1);
if (&rand == 2)
{
//Take Dink to treasure room
script_attach(1000);
fade_down();
wait(200);
&player_map = 224;
sp_x(1, 300);
sp_y(1, 220);
load_screen();
draw_screen();
//draw_status(); unnecessary
fade_up();
say("Looks like I choose the right hole!", 1);
&boat = 10;
unfreeze(1);
kill_this_task();
}
//forgot above close bracket
//else - unnecessary, as the following will only happen
//if the above doesn't happen.
//Kill Dink off
script_attach(1000);
playsound(69, 11025, 0, 0, 0);
fade_down();
wait(4000);
&life = 0;
//Dink dies! This may be killing your script.
//Safer to make him invisible and play his death animation
//with a new sprite maybe?
wait(200);
&player_map = 416;
sp_x(1, 315);
sp_y(1, 220);
load_screen();
draw_screen();
//draw_status();
wait(200);
playsound(53, 22050, 0, 0, 0);
fade_up();
unfreeze(1);
kill_this_task();
}
Ok I hope this works now!

I should be in bed.
//fixed hole of death
void touch( void )
{
//put this here then you only have to do it once
sp_touch_damage(¤t_sprite, 0);
//same here
freeze(1);
int &rand = random(4, 1);
if (&rand == 2)
{
//Take Dink to treasure room
script_attach(1000);
fade_down();
wait(200);
&player_map = 224;
sp_x(1, 300);
sp_y(1, 220);
load_screen();
draw_screen();
//draw_status(); unnecessary
fade_up();
say("Looks like I choose the right hole!", 1);
&boat = 10;
unfreeze(1);
kill_this_task();
}
//forgot above close bracket
//else - unnecessary, as the following will only happen
//if the above doesn't happen.
//Kill Dink off
script_attach(1000);
playsound(69, 11025, 0, 0, 0);
fade_down();
wait(4000);
&life = 0;
//Dink dies! This may be killing your script.
//Safer to make him invisible and play his death animation
//with a new sprite maybe?
wait(200);
&player_map = 416;
sp_x(1, 315);
sp_y(1, 220);
load_screen();
draw_screen();
//draw_status();
wait(200);
playsound(53, 22050, 0, 0, 0);
fade_up();
unfreeze(1);
kill_this_task();
}
Ok I hope this works now!