The Dink Network

Reply to Re: An issue with only Diag.

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:
 
 
July 31st 2002, 03:24 PM
wizardg.gif
Paul
Peasant He/Him United States
 
Stupid emiticons, Let's see...

void main( void )

{

 script_attach(1000);

 int &dx;

 int &dy;

 int &ldx;

 int &ldy;

loop:

 &dx = sp_x 1, -1);

 &dy = sp_y(1, -1);

 if (&dx == &ldx)

   &dy = &ldy;

 if (&dy == &ldy)

   &dx = &ldx;

 sp_> 1, &dx);

 sp_y(1, &dy);

 wait(1);

 &ldx = &dx;

 &ldy = &dy;

 goto loop;

}

If that still doesn't work, I'm sure you can figure out what it's supposed to say since the next line has sp_y.