The Dink Network

Reply to Re: He won't unfreeze!

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:
 
 
May 11th 2008, 02:17 PM
pillbug.gif
pillbug
Peasant He/Him United States
Love! True love! 
=( No, the space didn't fix it.

Alright, heres all the script.

void talk(void)
{
if(&story == 2)
{
freeze(1);
say_stop("`4Dink! You made it!",&current_sprite);
wait(200);

startloop:
choice_start();

{

"Long Sword - 100g"
"Claw Sword - 500g"
"Light Sword - 1500g"
"Fireball - 250g"
"Super Fireball - 300"
"Stat Boost (raises all stats by 1) - 500g"
"Super Stat Boost (raises all stats by 5) - 1000g"
"Bomb - 50g"
"Herb Boots - 500g"
"Fire Bow - 5000g"
"Leave"
choice_end();
}
}
}

if(&result == 1)
{
if(&gold < 100)
{
say_stop("`4You need more money.",&current_sprite);
goto startloop;
}
&gold -= 100;
add_item("item-sw1", 438, 7);
say_stop("`4Good choice.",&current_sprite);

unfreeze(1);
return;
}
}
}

if(&result == 2)
{
if(&gold < 500)
{
say_stop("`4Need more money to buy that.",&current_sprite);'
goto startloop;
}
&gold -= 500;
add_item("item-sw2", 438, 20);
unfreeze(1);
return;
}
}

if(&result == 3)
{
if(&gold < 1500)
{
say_stop("`4You don't have enough money.",&current_sprite);
goto startloop;
}
&gold -= 1500;
add_item("item-sw3", 438, 21);
say_stop("`4Keep going! I encourage you to buy something more expensive.",&current_sprite);
unfreeze(1);
return;
}
}

if(&result == 4)
{
if(&gold < 250)
{
say_stop("`4Not enough money.",&current_sprite);
goto startloop;
}
&gold -= 250;
add_magic("item-fb", 437, 1);
say_stop("`4That's it! Buy some more!",&current_sprite);
unfreeze(1);
return;
}
}

if(&result == 5)
{
if(&gold < 300)
{
say_stop("I don't have enough money!",1);
goto startloop;
}

&gold -= 300;
add_magic("item-sfb", 437, 2);
say("Yahoo! Super Fireball!",1);
unfreeze(1);
return;
}
}

if(&result == 6)
{
if(&gold < 500)
{
say_stop("`4No stat boost for you!",&current_sprite);
goto startloop;
}

&gold -= 500;
&defense += 1;
&strength += 1;
&magic += 1;
say("I feel strong!",1);
unfreeze(1);
return;
}
}

if(&result == 7)
{
if(&gold < 1000)
{
say_stop("<sniff> Not enough money!",1);
goto startloop;
}
&gold -= 1000;
&defense += 5;
&strength += 5;
&magic += 5;
say_stop("It's Super Dink!",1);
unfreeze(1);
return;
}
}

if(&result == 8)
{
if(&gold < 50)
{
say_stop("I'm to low on cash!",1);
goto startloop;
}
&gold -= 50;
add_item("item-bom", 438, 3);
say_stop("Yeah!",1);
unfreeze(1);
return;
}
}

if(&result == 9)
{
if(&gold < 500)
{
say_stop("No Herb Boots! <sob>",1);
goto startloop;
}
&gold -= 500;
add_item("item-bt", 438, 22);
say_stop("SPEED!",1);
unfreeze(1);
return;
}
}
}

if(&result == 10)
{
if(&gold < 5000)
{
say_stop("Well, it's 20,000 bucks less than in the main game. I don't have a lot of money.",1);
goto startloop;
}
&gold -= 5000;
add_item("item-b3", 438, 13);
say_stop("FIREBOW!",1);
unfreeze(1);
return;
}
}

if (&result == 11)
{
say_stop("`4See ya, Dink!",&current_sprite);
unfreeze(1);

}
}