There are some AI coding tutorials, google is our friend. Basically you edit the CMD file and create situations where you want the cpu to use a specific move, and you do that for each and every move of your character.
None of them are worth a shit, though. You pretty much have to know how the character works so you can tell them what to do and when to do it. You may even require special variables so you can better keep track of situations.