ItemHandlers::UseOnPokemon.add(:DARKCANDY,proc{|item,pokemon,scene|
pbChangeLevel(pokemon,pokemon.level-1,scene)
scene.pbHardRefresh
next true
})
Code:ItemHandlers::UseOnPokemon.add(:DARKCANDY,proc{|item,pokemon,scene| pbChangeLevel(pokemon,pokemon.level-1,scene) scene.pbHardRefresh next true })
search Rare Candy next time. The pbChangeLevel function already includes messages for if you're lowering the level.
Sorry, another question now. Where would I put this code?