For seedling behavior,
in 'always', use this:
If ([wateredAmount > 0] AND [wateredAmount < 50] AND [animation of self =/= withered])
=>(you need to check up on what [animation of self] block returns to make sure it's comparing correctly)
-switch animation to withered
End
If ([wateredAmount <= 0] AND [alive == true])
-set alive to false
-switch animation to dead
Do after 4 seconds
-set amIdead? to true
End
In 'when created', set wateredAmount to 100.
You don't need the 'mouse released on self' event.
~
For dirt behavior,
under 'create seedling',
-add 'set cachePlant to last created actor' (cachePlant is a Actor attribute)
in 'always',
-remove the 'for each loop'
-add 'If cachePlant has value' as a condition check before going to the next 'If'
-in the second 'If' use cachePlant as the actor to get from
-under 'set planted? to false', add kill(cachePlant)
-add 'clear value of cachePlant' under the above
~
This should work. I didn't build the code, it's the logic/steps for it.