improve the way that enemy revert mechanics work, indent complex conditional correctly