Reply to Re: Choice Error
If you don't have an account, just leave the password field blank.
*sigh* Got more crap messed up. I'm such a n00b scripter. Anyways, this is the script:
For no reason at all, choice three freezes the game and nothing happens.
EDIT: I swear! I see no errors. WTF?!
void talk ( void )
{
freeze(1)
freeze(¤t_sprite)
choice_start();
"Say Hi"
"Rumors"
"Brag"
choice_end();
}
if (&result == 1)
{
say_stop("Hey." ,1);
say_stop("`2Go away!" , ¤t_sprite);
say_stop("Geez, whatever." ,1);
unfreeze(1)
unfreeze(¤t_sprite)
}
if (&result == 2)
{
say_stop("Anything new?" ,1);
say_stop("`2There are a lot of Boncas as of late." , ¤t_sprite);
say_stop("Yeah?" ,1);
say_stop("`2But they're not bothering us so it doesn't matter." , ¤t_sprite);
unfreeze(1)
unfreeze(¤t_sprite)
if (&result == 3)
{
say_stop("I have Super Strength!" ,1);
say_stop("`2Super Strength?! Are you insane!?" , ¤t_sprite);
say_stop("<grumble>" ,1);
unfreeze(1)
unfreeze(¤t_sprite);
}
void hit ( void )
{
playsound(16, 21050, 4000, ¤t_sprite, 0);
say("`2Ow! Bloody hell that hurts!" , ¤t_sprite);
}
For no reason at all, choice three freezes the game and nothing happens.
EDIT: I swear! I see no errors. WTF?!







