this is a test press 1 to set a custom ai level 0 will always fail a movement, anything above 20 will always garantee a movement this is nothing big...!!!
sounds by scratch if you're curious on how this works... a random number between 0 and 20 is rolled. this is compared to an ai value (ai_level). if its higher than it, a movement will fail. otherwise, it will succeed.