You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Turbo-X-Horde-AM2R/Export_Code/gml_Script_isCollisionUnmor...

14 lines
454 B

checkupl = position_meeting((x - 3), (y - 27), oSolid)
checkupr = position_meeting((x + 3), (y - 27), oSolid)
checkl = position_meeting((x - 6), (y - 27), oSolid)
checkr = position_meeting(((x + 6) - 1), (y - 27), oSolid)
if (checkl == 1 && checkr == 1)
return 0;
if (checkl == 0 && checkr == 0 && checkupl == 0 && checkupr == 0)
return 1;
if (checkupr == 0 && checkr == 1)
return 2;
if (checkupl == 0 && checkl == 1)
return 3;
return 0;