This had me curious, so I tried making my own "Evberry" just for fun. Turns out the problem happens when
everyone is asleep or otherwise incapacitated. Here's what I came up with:
- Image 1: I can use it freely on anyone as long as at least one party member is awake (In this case, "Thunder") Note that the amount this item heals really doesn't matter, whether it be 100% or 1.
- Image 2: Now that Thunder is asleep, if I try to use it on anyone else again, even if their HP is all full...
- Image 3: Game explodes because nobody is awake/alive/available to "use" the item.
So basically, I'd consider the following options:
- Make the item only usable in battle.
- Remove the sleep component from the Effects box and instead, add this to the formula box:
Code:
if ($gameParty.inBattle()) b.addState(9); AMOUNT_HEALED_HERE
Of course, replacing AMOUNT_HEALED_HERE with however much your thing is supposed to restore, and replace the "9" in addState with whatever id corresponds to your sleep state. This will cause it to NOT sleep targets outside of battle, which honestly should be fine.
PS: If you're also using the Effects box to apply healing, remove that as well and instead use the formula box. (Necessary because we're also using the formula box to conditionally apply the state only when in combat.