The Dink Network

Reply to Re: Another problem about external

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:
 
 
June 28th 2005, 04:44 PM
goblinm.gif
The "best" way to do this is with get sprite with this brain. So you'd have dot1.c:

void main( void )
{
//This is the same behavior as brain 0
sp_brain(&current_sprite, 501);
}

and then:
void change( void )
{
int &crap = get_sprite_with_this_brain(501, 0);
if (&crap > 1)
{
sp_frame(&crap, 2);
//just changing frame to 2 does nothing if seq isn't set.
//but evidently this isn't a problem
}
}