Your game has a really cool color scheme! I love those pastels.
The first thing that comes to mind, is maybe you could try specifying the UID of the 'tree slime'. I think right now, it just triggers all enemies of that type when the player walks under the boxes. Specifying the UID or the XY coordinates might do the trick.