The Dink Network

Reply to Re: Size Trouble

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 7th 2004, 06:27 AM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
hmmm...

Assumming &use2 is a global variable set to 10... I found this kinda worked

//It heals you

void main( void )
{
int &flow = get_sprite_with_this_brain(6, &current_sprite);
int &fiz = &use2;
&fiz * 10;
sp_size(&flow, &fiz);
}

void talk( void )
{
&use2 -= 1;
if (&use2 < 0)
{
say_stop("There's no more water", 1);
return;
}
if (&use2 == 0)
{
sp_size(&flow, 1);
sp_nodraw(&flow, 0);
int &hold = sp_editor_num(&flow);
if (&hold != 0)
editor_type(&hold, 1);
sp_active(&flow, 0);
}
int &fiz = &use2;
&fiz * 10;
sp_size(&flow, &fiz);
&life = &lifemax;
playsound(22, 22050, 0, 0, 0);
spawn("mag-star");
}