Files
AM2R-Community-Updates/scripts/isCollisionLeftSlope.gml
2020-12-22 20:54:55 -06:00

5 lines
286 B
Plaintext

/// isCollisionLeftSlope(offset_0_1)
if (argument0 == 0 && collision_line(round(x), round(y - 1), round(x - 10), round(y - 1), oSlope, true, true) > 0
|| argument0 == 1 && collision_line(round(x - 8), round(y), round(x - 8), round(y - 27), oSlope, true, true) > 0) return 1;
return 0;