Reply to Re: Choices.. The heart of all evil...
If you don't have an account, just leave the password field blank.
He doesn't mean semi-colon, he means a closing bracket. Here is the fixed script with the added bracket. I also moved two returns in order to keep the script from going places it shouldn't.
VOID MAIN(VOID)
{
sp_base_walk(¤t_sprite, 340);
sp_speed(¤t_sprite, 1);
return;
}
VOID TALK(VOID)
{
if(&plant == 0)
{
freeze(1);
choice_start()
"Blah?"
"Return"
choice_end()
if(&result == 1)
{
say_stop("blah",1);
wait(500);
say_stop("Well gotta go, Ramen!",1);
wait(500);
say_stop("`2Bye",¤t_sprite);
unfreeze(1);
}
return;
}
if(&plant == 1)
{
freeze(1);
choice_start()
"Do you know where I can find a water-can?"
"You people sure are brutal, killing a pillbug so slowly with a rock..."
choice_end()
if(&result == 1)
{
say_stop("blah",¤t_sprite);
wait(2000);
say_stop("OK! You really don't need to tell me any more!",1);
wait(2000);
say_stop("`2say",¤t_sprite);
unfreeze(1);
}
if(&result == 2)
{
say_stop("It fun! You want to try?",¤t_sprite);
choice_start()
"Yah!"
"Are you inhumane??"
choice_end()
if(&result == 1)
{
say_stop("Good! Me take you to kill fields!",¤t_sprite);
}
}
return;
}
}
VOID MAIN(VOID)
{
sp_base_walk(¤t_sprite, 340);
sp_speed(¤t_sprite, 1);
return;
}
VOID TALK(VOID)
{
if(&plant == 0)
{
freeze(1);
choice_start()
"Blah?"
"Return"
choice_end()
if(&result == 1)
{
say_stop("blah",1);
wait(500);
say_stop("Well gotta go, Ramen!",1);
wait(500);
say_stop("`2Bye",¤t_sprite);
unfreeze(1);
}
return;
}
if(&plant == 1)
{
freeze(1);
choice_start()
"Do you know where I can find a water-can?"
"You people sure are brutal, killing a pillbug so slowly with a rock..."
choice_end()
if(&result == 1)
{
say_stop("blah",¤t_sprite);
wait(2000);
say_stop("OK! You really don't need to tell me any more!",1);
wait(2000);
say_stop("`2say",¤t_sprite);
unfreeze(1);
}
if(&result == 2)
{
say_stop("It fun! You want to try?",¤t_sprite);
choice_start()
"Yah!"
"Are you inhumane??"
choice_end()
if(&result == 1)
{
say_stop("Good! Me take you to kill fields!",¤t_sprite);
}
}
return;
}
}