slp-enforcer
Version:
Finds violations of the Melee Controller Ruleset by inspecting SLP files
20 lines (19 loc) • 463 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
// eslint-disable-next-line
function getDeathDirection(actionStateId) {
if (actionStateId > 0xa) {
return null;
}
switch (actionStateId) {
case 0:
return "down";
case 1:
return "left";
case 2:
return "right";
default:
return "up";
}
}
exports.getDeathDirection = getDeathDirection;