MZ Another Fun Question: Have a skill cost all TP but only usable at a specific TP?

As the title says, I'm trying to create a skill that uses all TP but cannot be used unless at a specific threshold. Heavily inspired by S-Crafts from Trails series where they become accessible at 100 - 200. If used, it consumes all TP.

In my game, I'm trying to designing it the same way essentially.

At the moment I already have the following completed:

The dmg formula scaling off the TP consumed.

Consuming all TP via JS script.


What's left is that I need to prevent it from being used when TP is below 100. After that, I think I'm finally done setting those skills up.

Thanks in advance.

EDIT:I should also mention in my game the max TP is 200.
It's just VS notetag:

<JS Skill Enable>
enabled = user.tp >= 100;
</JS Skill Enable>
Thank you again!

Original thread: https://forums.rpgmakerweb.com/threads/another-fun-question-have-a-skill-cost-all-tp-but-only-usable-at-a-specific-tp.182224/