codifex's Profile
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(¤t_sprite);
say_stop("Hi Mrs. Cornelison.",1);
say_stop("What happened to your house?",1);
say_stop("`4Oh, thank god you are here, Dink.", ¤t_sprite);
say_stop("IT'S BOPO!!",1);
say_stop("`4Oh... well... Bopo, could you please help me.", ¤t_sprite);
say_stop("`4I have a pest problem.",¤t_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.", ¤t_sprite);
say_stop("Ok, i'll do it.",1);
say_stop("`4Great. Just be careful when you go inside.", ¤t_sprite);
&story = 1;
unfreeze(1);
unfreeze(¤t_sprite);
return;
}
if (&story == 1)
{
say_stop("`4Good luck.",¤t_sprite);
return;
}
if (&story == 2)
{
say_stop("`4Oh, I almost forgot, than you Bopo.", ¤t_sprite);
wait(1000);
add_item("item-bt" 464, 1);
}
}
void hit(void)
{
say_stop("`4Please stop, I'm just an old lady.", ¤t_sprite);
}
PS: You may want to add &story = 3; to when she gives Bopo the boots, so he only gets one pair.
Try this for the woman's script.
void talk( void )
{
if (&story == 0)
{
freeze(1);
freeze(¤t_sprite);
say_stop("Hi Mrs. Cornelison.",1);
say_stop("What happened to your house?",1);
say_stop("`4Oh, thank god you are here, Dink.", ¤t_sprite);
say_stop("IT'S BOPO!!",1);
say_stop("`4Oh... well... Bopo, could you please help me.", ¤t_sprite);
say_stop("`4I have a pest problem.",¤t_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.", ¤t_sprite);
say_stop("Ok, i'll do it.",1);
say_stop("`4Great. Just be careful when you go inside.", ¤t_sprite);
&story = 1;
unfreeze(1);
unfreeze(¤t_sprite);
return;
}
if (&story == 1)
{
say_stop("`4Good luck.",¤t_sprite);
return;
}
if (&story == 2)
{
say_stop("`4Oh, I almost forgot, than you Bopo.", ¤t_sprite);
wait(1000);
add_item("item-bt" 464, 1);
}
}
void hit(void)
{
say_stop("`4Please stop, I'm just an old lady.", ¤t_sprite);
}
PS: You may want to add &story = 3; to when she gives Bopo the boots, so he only gets one pair.