In your mugen.cfg, there should be a random palette option for computer controlled characters and make sure its on.
Also make sure the character has the pal.defaults in the characters def file. If not, just add "pal.defaults = 1,2,3,4" (without quotes) to it and it should work. Thats all i know to help u.