Sora, along with his allies, both possess a Hit Point (HP) meter and a Magic Point (MP) meter, which increase as they gain experience and level up. The MP meter is divided into various segments that are used up whenever that character performs magic, with more powerful magic consuming more MP. MP can be replenished by performing melee attacks or using items. The HP meter determines the character's health, reducing whenever a character takes damage, although it can be replenished by using healing items or spells. If one of Sora's allies runs out of health, they will be knocked out temporarily until someone heals them. However, if Sora loses all of his health, the game ends and the player must resume play from the beginning of an area or boss. Defeating enemies causes various orbs to fall: green orbs which replenish health, blue orbs which restore MP, and yellow orbs which represent Munny, the game's currency, and can be used to purchase new items.