Thanks. Glad you enjoyed the game. I'm going to upload a version with the ending working properly after the jam. I'd like to say I'll also have the mana potions incorporated in that version, but I've done enough jams to know there is a good chance I won't have all the features I missed implemented in that timeframe. I did mention in the intro mana and food were not properly implemented, but that might have gone by.
The original intent was that a key mechanic would be Toru needs to keep his energy/food and magic levels high enough they won't deplete overnight, hence why the game starts with Toru needing to fetch food and mana. Near the end of the jam, I thought I would just focus on mana, but even that got kicked out due to time constraints. That's why the whole losing mana over time plot point became reduced to Toru feeling drained and saying he needed a potion the next morning. I'd also wanted Toru to camp in the cave so you'd have to survive two nights.