Okay so in my game, there's caged frogs that you need to rescue. The first time you rescue each one, an animation plays and the global # of frogs you've rescued goes up by 1.
When re-visiting that layout, the frogs you haven't rescued yet should remain caged, but the ones you have should default to their rescued animation and no longer be free-able.
So far, I have it working for my one test frog, but I'm afraid my code could get out of hand if I were to put the rest of them in the game.
Froo1 is my placeholder name for whether or not frog #1 has been freed. My attempts to put them all in a family have been unsuccessful so far. (When one gets rescued, the animation triggers on every frog in the level)
Please advise. And I hope the answer isn't just "bite the bullet and make a global for each one" because I'm also planning on a 2nd one-time discovery in replayable levels and I don't want my globals list to be 500 miles long.