The Dink Network

Reply to Re: Could someone look at this script?

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:
 
 
March 5th 2004, 02:25 AM
spike.gif
It could be some spaces in your script that screw it up... Anyway, you should do as below so that Dink is unfreezed if he chooses not to take a nap.

void talk(void)
{
choice_start()
"Lie down?"
"Nah... Sleep is overrated..."
choice_end()

if(&result == 1)
{
freeze(1);
fade_down();
fill_screen(0);
say_stop("`4Dink! Wake up!", &current_sprite);
wait(200);
script_attach(1000);
&player_map = 33;
sp_x(1, 300);
sp_y(1, 160);
load_screen();
draw_screen();
draw_status();
fade_up();
unfreeze(1);
kill_this_task();
}
return;
}