I'm trying to make an AI for my fighting game that stops his combo when he misses and I tried this method but realized when a new combo starts the old combo starts again.
Develop games in your browser. Powerful, performant & highly capable.