The Dink Network

Reply to Re: Yargh, bumwaffle!

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:
 
 
August 6th 2005, 06:42 PM
spike.gif
Local variables only work inside the same script... simple fix is to do the following in the bonca script:

int &bonx = sp_x(&current_sprite, -1);
if (&bonx == 270)
move_stop(&current_sprite, 6, 370, 1);
if (&bonx == 370)
move_stop(&current_sprite, 4, 270, 1);

btw, your script is quite unnecessarily complex.