The Dink Network

Reply to Help with a Script

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
September 8th 2011, 11:40 PM
pillbug.gif
Pillbug
Peasant He/Him United States
Love! True love! 
Hello. After fiddling with this for a while, I have gotten all of the script to work except for the seat choosing problem. Please take a look and see if you can find what's wrong.

void friday()
{
int &bowl = get_sprite_with_this_brain(bowl);
int &cereal = get_sprite_with_this_brain(cereal);

if(&bowl == 1)
{
    if(&cereal == 1)
    {
    goto seat;
    }
}

if(&cereal == 1)
    {
    if(bowl == 1)
    {
    goto seat;
    }
}

seat:
choice_start();
set_y 240
set_title_color 3
title_start();
"Which seat should I take?"
title_end();
"Kick it in the Front Seat"
"Kick it in the Back Seat"
choice_end();

if(&result == 1)
{
&seat = 1;
goto partyin;
}

if(&result == 2)
{
&seat = 2;
goto partyin;
}

partyin:
if(&partyin < 2)
{
&partyin += 1;
goto partyin;

}

else
{
goto yeah;
}

yeah: 
say_stop("Yeah!",1);
goto partyin;

}