The Dink Network

codifex's Profile

2006-07-23 22:24:08
duckdie.gif
codifex
Peasant He/Him
 
The board maty have eaten your code, but you seem to have a few extra closing braces (}s) and are missing a semi-colon or two.
Try this for the woman's script.

void talk( void )
{
if (&story == 0)
{
freeze(1);
freeze(&current_sprite);
say_stop("Hi Mrs. Cornelison.",1);
say_stop("What happened to your house?",1);
say_stop("`4Oh, thank god you are here, Dink.", &current_sprite);
say_stop("IT'S BOPO!!",1);
say_stop("`4Oh... well... Bopo, could you please help me.", &current_sprite);
say_stop("`4I have a pest problem.",&current_sprite);
say_stop("What's in it for me?",1);
say_stop("`4Oh, well i do have these very nice boots, they used to be my husband's.", &current_sprite);
say_stop("Ok, i'll do it.",1);
say_stop("`4Great. Just be careful when you go inside.", &current_sprite);
&story = 1;
unfreeze(1);
unfreeze(&current_sprite);
return;
}
if (&story == 1)
{
say_stop("`4Good luck.",&current_sprite);
return;
}

if (&story == 2)
{
say_stop("`4Oh, I almost forgot, than you Bopo.", &current_sprite);
wait(1000);
add_item("item-bt" 464, 1);
}
}

void hit(void)
{
say_stop("`4Please stop, I'm just an old lady.", &current_sprite);
}

PS: You may want to add &story = 3; to when she gives Bopo the boots, so he only gets one pair.