![[PokeCommunity.com] Game crashing caused by a berry tree added before v15 [PokeCommunity.com] Game crashing caused by a berry tree added before v15](https://i.imgur.com/BaA9uXQ.gif)
The berry tree in the .gif doesn't seem to cause any problems because I added it after upgrading to v15. The berry tree that's causing my problem is located in a city a few steps away from the location shown and its berries were picked. The save file was created in an older version of my game (also before upgrading to v15).
Here's the error log (because it's kinda hard to catch it from my .gif):
Spoiler:
Code:
Exception: NameError
Message: undefined local variable or method `hours' for #<BerryPlantSprite:0x9459eb8>
PokemonBerryPlants:282:in `updatePlantDetails'
PokemonBerryPlants:252:in `loop'
PokemonBerryPlants:297:in `updatePlantDetails'
PokemonBerryPlants:150:in `initialize'
PokemonBerryPlants:8:in `new'
PokemonBerryPlants:8
PokemonBerryPlants:5:in `each'
PokemonBerryPlants:5
PokemonBerryPlants:1:in `call'
PBEvent:54:in `trigger'
Is there a way to fix this or is a new save file required?
Last edited: