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

6 lines
310 B
Plaintext

/// platformCharacterIs()
if (argument0 == ON_GROUND && (state == RUNNING || state == STANDING || state == DUCKING || state == BALL)) return 1;
if (argument0 == IN_AIR && (state == JUMPING || state == FALLING || state == AIRBALL)) return 1;
if (argument0 == ON_LADDER && state == CLIMBING) return 1;
return 0;