Reply to Re: Choices.. The heart of all evil...
If you don't have an account, just leave the password field blank.
VOID MAIN(VOID)
{
sp_base_walk(¤t_sprite, 340);
sp_speed(¤t_sprite, 1);
}
VOID TALK(VOID)
{
if (&plant == 0)
{
freeze(1);
choice_start()
"Do you know what day it is?"
"Return"
choice_end()
if (&result == 1)
{
say_stop("Hello sir! Do you have any idea when or what day it is?",1);
wait(500);
say_stop("`2When sun up. Me Ramen, like some bug? Lots for dinner!",¤t_sprite);
wait(500);
say_stop("Err, no thank you",1);
wait(500);
say_stop("`2Leader have shiny cold wood, he use for kill, me only have rock",¤t_sprite);
wait(500);
say_stop("(Hmmm.. I'd better see what he's talking about, it could be metal..) oh, I see",1);
wait(500);
say_stop("Well gotta go, Ramen!",1);
wait(500);
say_stop("`2Bye",¤t_sprite);
unfreeze(1);
}
return;
}
if (&result == 2)
{
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("`2When me have to go can, me do it in cave and use leaves to..",¤t_sprite);
wait(2000);
say_stop("OK! You really don't need to tell me any more!",1);
wait(2000);
say_stop("`2whatever skinny man say",¤t_sprite);
unfreeze(1);
return;
}
if (&result == 2)
{
say_stop("`2It fun! You want to try?",¤t_sprite);
choice_start()
"Yeah!"
"Are you crazy??"
choice_end()
if (&result == 1)
{
say_stop("`2Good! Me take you to kill fields!",¤t_sprite);
fade_down();
&player_map = 206;
sp_x(1, 348);
sp_y(1, 326);
script_attach(1000);
load_screen();
draw_screen();
draw_status();
}
}
}
}
Hmm... After only very minor changes the script will still not work. Am I still doing something wrong?
{
sp_base_walk(¤t_sprite, 340);
sp_speed(¤t_sprite, 1);
}
VOID TALK(VOID)
{
if (&plant == 0)
{
freeze(1);
choice_start()
"Do you know what day it is?"
"Return"
choice_end()
if (&result == 1)
{
say_stop("Hello sir! Do you have any idea when or what day it is?",1);
wait(500);
say_stop("`2When sun up. Me Ramen, like some bug? Lots for dinner!",¤t_sprite);
wait(500);
say_stop("Err, no thank you",1);
wait(500);
say_stop("`2Leader have shiny cold wood, he use for kill, me only have rock",¤t_sprite);
wait(500);
say_stop("(Hmmm.. I'd better see what he's talking about, it could be metal..) oh, I see",1);
wait(500);
say_stop("Well gotta go, Ramen!",1);
wait(500);
say_stop("`2Bye",¤t_sprite);
unfreeze(1);
}
return;
}
if (&result == 2)
{
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("`2When me have to go can, me do it in cave and use leaves to..",¤t_sprite);
wait(2000);
say_stop("OK! You really don't need to tell me any more!",1);
wait(2000);
say_stop("`2whatever skinny man say",¤t_sprite);
unfreeze(1);
return;
}
if (&result == 2)
{
say_stop("`2It fun! You want to try?",¤t_sprite);
choice_start()
"Yeah!"
"Are you crazy??"
choice_end()
if (&result == 1)
{
say_stop("`2Good! Me take you to kill fields!",¤t_sprite);
fade_down();
&player_map = 206;
sp_x(1, 348);
sp_y(1, 326);
script_attach(1000);
load_screen();
draw_screen();
draw_status();
}
}
}
}
Hmm... After only very minor changes the script will still not work. Am I still doing something wrong?