You can use certain items instead of spells if you run out of MP. For example, if your Black Mage wants to use Fire but is out of MP, go to the item screen and use the item Fire Staff. This seems to only work if your character is able to equip the item that is being used. Also, not all items work. Items that work include the Ice Staff, Fire Staff, Light Staff, and Salamd Sword.