The Dink Network

Reply to Game crash

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:
 
 
October 9th 2009, 09:41 AM
custom_iplaydink.gif
iplaydink
Peasant He/Him Sweden
Hmm.. 
Why does this game crash after Dink says "I'll try"?
Just can't find out what's wrong...

void main(void)
{
	wait(1);
	freeze(1);
	dink_can_walk_off_screen(1);	
	int &girl;
	sp_dir(1, 6);
	wait(500);
	say_stop("What a lovely morning!", 1);
	say_stop("Hmm, what to do...", 1);
	say_stop("I'll think I'll go for a walk!", 1);
	wait(800);
	move_stop(1, 6, 523, 1);
	
	fade_down();
	script_attach(1000);
	&player_map = 015;
	load_screen();
	draw_screen();
	freeze(1);
	sp_x(1, 147);
	sp_y(1, 270);
	sp_dir(1, 6);
	&girl = create_sprite(147, 480, 0, 221, 1);
	sp_base_walk(&girl, 220);
	sp_dir(&girl, 7);
	sp_speed(&girl, 3);
	fade_up();
	
	
	wait(500);
	say_stop("`1Dink! Dink!", &girl);
	say_stop("Huh?", 1);
	sp_dir(1, 2);
	wait(200);
	move_stop(&girl, 8, 320, 1);
	say_stop("`1Dink! Thank god you are awake!", &girl);
	say_stop("`1You have to save us!", &girl); 
	say_stop("What's wrong?", 1);
	wait(200);
	say_stop("`1Can't explain now, just follow me!", &girl);
	sp_dir(&girl, 3);
	sp_dir( 1, 2);
	move_stop(&girl, 2, 500, 1);
	
	fade_down();
	script_attach(1000);
	&player_map = 047;
	load_screen();
	draw_screen();
	wait(1);
	freeze(1);
	sp_x(1, 147);
	sp_y(1, 69);
	sp_dir(1, 2);
	&girl = create_sprite(226, 200, 0, 221, 1);
	sp_base_walk(&girl, 220);
	sp_dir(&girl, 7);
	sp_speed(&girl, 3);
	fade_up();
	
	say_stop("`1Hurry up dink!", &girl);
	wait(500);
	sp_dir(&girl, 3);
	wait(200);
	move_stop(&girl, 2, 500, 1);
	move_stop(1, 2, 153, 1);
	wait(200);
	sp_dir(1, 6);
	wait(200);
	move_stop(1, 6, 220, 1);
	wait(200);
	sp_dir(1, 2);
	move_stop(1, 2, 500, 1);
	
	fade_down();
	script_attach(1000);
	&player_map = 079;
	load_screen();
	draw_screen();
	wait(1);
	freeze(1);
	sp_x(1, 220);
	sp_y(1, 69);
	sp_dir(1, 2);
	fade_up();
	
	wait(200);
	say_stop("`2Dink!", &m1);
	move_stop(1, 2, 251, 1);
	sp_dir(1, 6);
	say_stop("`8TIME TO KILL!!", &m2);
	wait(200);
	say_stop("`3Forgive him, he is a bit overenthusiastic...", &m3);
	wait(200);
	say_stop("What exactly is going on?", 1);
	wait(200);
	say_stop("`8A WAAAAAAAAAAR!", &m3);
	wait(500);
	say_stop("`1Dink... The goblins will attack us any minute now!", &g);
	wait(200);
	say_stop("Oh really? Where are your so called goblins then?", 1);
	wait(200);
	say_stop("`2East of here...", &m1);
	wait(100);
	say_stop("Yea, sure, I'll check it out", 1);
	move_stop(1, 6, 620, 1);
	
	
	fade_down();
	script_attach(1000);
	&player_map = 080;
	load_screen();
	draw_screen();
	wait(1);
	freeze(1);
	sp_x(1, 34);
	sp_y(1, 251);
	sp_dir(1, 6);
	fade_up();
	
	wait(1000);
	say_stop("Oh my...", 1);
	say_stop("`4What are you looking at, human?", &go1);
	say_stop("`5We will kill you all soon enough so just wait will ya'?", &go2);
	wait(2000);
	sp_dir(1, 4);
	wait(300);
	move_stop(1, 4, 0, 1);
	
	fade_down();
	script_attach(1000);
	&player_map = 079;
	load_screen();
	draw_screen();
	wait(1);
	freeze(1);
	sp_x(1, 604);
	sp_y(1, 251);
	sp_dir(1, 4);
	fade_up();
	
	wait(200);
	say_stop("We can't fight them!!", 1);
	say("`8WHY NOT!?", &m2);
	say("`2What?", &m1);
	say("`3Excuse me?", &m3);
	wait(2000);
	say_stop("`1But Dink, you are a Hero! With your help we can fight them!", &g);
	say_stop("Hey I'm not a hero! I WAS I hero but I'm not anymore!", 1);
	say_stop("I sold my sword to buy this house,", 1);
	say_stop("I haven't done any heroic deeds in ages,", 1);
	say_stop("and I somehow lost all my levels!", 1);
	wait(3000);
	say_stop("`8PANIC!", &m2);
	wait(500);
	say_stop("`8PANIC!", &m2);
	wait(500);
	say_stop("`8PANIC!", &m2);
	wait(500);
	say_stop("Calm down, I've got a plan!", 1);
	wait(200);
	say_stop("`8PANIC!", &m2);
	say_stop("*Cough*", 1);
	say_stop("Anyway, we just have to sneak out of the town and then run for our lifes!", 1);
	wait(2000);
	say_stop("`1Dink...", &g);
	wait(500);
	say_stop("`1They are blocking the only exit...", &g);
	wait(2000);
	say_stop("PANIC!", 1);
	say_stop("`3Dink, you have to find another way out of the town!", &m3);
	say_stop("I'll try...", 1);
	&story = 1;
	dink_can_walk_off_screen(0);
	draw_status();
	&update_status = 1;           
	unfreeze(1);            
	kill_this_task();
}