The Dink Network

Reply to yet another mystery script problem.

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:
 
 
September 19th 2004, 02:56 AM
pig.gif
theres another wierd problem that i can't figure out. this script freezes when you choose option 2. here goes;

void main (void)
{
say("`6hello there young man.", &current_sprite);
}

void talk (void)
{
freeze(1);
freeze(&current_sprite);
choice_start();
"be nice."
"be somewhat less nice."
"leave"
choice_end();

if (&result == 1)
{
say_stop("hi, your looking very old today", 1);
say_stop("`6why thank you.", &current_sprite);
say_stop("...", 1);
say_stop("`6hmmm...", &current_sprite);
say_stop("i'll go now.", 1);
unfreeze(1);
unfreeze(&current_sprite);
}

if (&result == 2)
{
say_stop("I HATE YOU!", 1);
say_stop("`6fair enough...", &current_sprite);
wait(700);
say_stop("hmmm.. i wasnt expecting that...", 1);
say_stop("i know!", 1);
wait(500);
hurt(&current_sprite, 500);
playsound(9, 8000,0,0,0);
say_stop("that'l teach him to talk back to me!", 1);
unfreeze(1);
}
}

thanks.