added a pulse effect to the berries
refactored mountain of copy/paste into a function and changed data handling so i don't lose everything useful