The Dink Network

Reply to Re: unfreezing when leaving (almost rhymes!)

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:
 
 
January 1st 2004, 09:18 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
I always do it like this:

void talk( void )
{
freeze(1);
freeze(&current_sprite);
choice_start()
"huh?
"blah"
"Leave"
choice_end()
if (&result == 1)
{
say_stop("poop", 1);
wait(200);
say_stop("`6shut up.", &current_sprite);
wait(200);
}
if (&result == 2)
{
say_stop("...", 1);
wait(200);
say_stop("`6i guess you'd like to know what the real content of this script is, right?", &current_sprite);
wait(200);
}
unfreeze(1);
unfreeze(&current_sprite);
return;
}

I know the return; is unnecessary, but I still add it for some reason.