The Dink Network

Reply to why does this script not work?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
June 4th 2005, 10:30 AM
pig.gif
sorry to pester ye's all again, but i've got this script that just freezes dink, plays a midi, and then becomes unresponsive. I know its full of bugs, but i cant see any at the start. thanks.

void main (void)
{
playmidi("2.mid");
&fight = 1;
Freeze(1);
wait(2000);
int_&tifany = Create_sprite(210, 400, 16, 227, 1);
sp_base_walk(&tifany, 220);
sp_speed(&tifany, 1);
freeze(&tifany);
say("`4------" &tifany);
wait(2500);
say("`4-------------------------------------------------------" &tifany);
move("&tifany, 8, 200, 1);
wait(4000);
move_Stop("1, 8, 200, 1);
wait(500);
int_gaurd = Create_sprite("300, 0, 16, 293, 1);
sp_base_walk(&gaurd, 290);
sp_speed(&gaurd, 1);
move_stop("&gaurd, 2, 130, 1);
say_stop("`6-----------------------------------------------------", &gaurd);
say_stop("`4-------------------------------------------", &tifany);
say_stop("`6------------------------------------------", &gaurd);
say_stop("--------");
say_stop("-----------------------", &gaurd);
say("---------", 1);
int_gaurd2 = Create_sprite("200, 0, 16, 293, 1);
sp_base_walk(&gaurd2, 290);
sp_speed(&gaurd2, 1);
move("&gaurd2, 2, 130, 1);
int_gaurd3 = Create_sprite("400, 0, 16, 293, 1);
sp_base_walk(&gaurd3, 290);
sp_speed(&gaurd3, 1);
move("&gaurd3, 2, 130, 1);
wait(2000);
playmidi("3.mid");
&player_map = 1;
fade_down();
load_screen();
draw_screen();
fade_up();
kill_this_task();
}