Aero88ZFGC is like the Hotel California. You can come in but you can never leave!
pulling=0switch (global.facing){ case 'D': direction=270;y+=10;speed=5; break; case 'U': direction=90;y-=10;speed=5; break; case 'R': direction=0;x+=10;speed=5; break; case 'L': direction=180;x-=10;speed=5; break;}direction=direction+180depth=-yalarm[0]=30
switch (global.facing){ case 'D': direction=180;y+=10; break; case 'U': direction=0;y-=10; break; case 'R': direction=270;x+=10;y+=4; break; case 'L': direction=90;x-=10;y+=4; break;}depth=-yinstance_create(x,y,objHookshot)
if (direction < 180){direction += 180;}else{direction -= 180;}
Your community is a bunch of stuck up turds.
yeah, try:directon += 180;first though, check if that's possible, so:Code: [Select]if (direction < 180){direction += 180;}else{direction -= 180;}that keeps it from going over 360, and should reset it to 0 if it is exactly 180.
Quote from: Darklight on September 08, 2009, 06:46:54 amyeah, try:directon += 180;first though, check if that's possible, so:Code: [Select]if (direction < 180){direction += 180;}else{direction -= 180;}that keeps it from going over 360, and should reset it to 0 if it is exactly 180.Said this 3 posts ago >_>