I had trouble keeping the title brief, so I apologize if the actual problem seems different to the title.
I'm currently implementing item pickups in my game, with 1ups being placed in fixed locations around the map. There is only one actual 1up object that is copy/pasted around in different places.
The problem I'm having is whenever the player dies, the frame restarts and loads from the last checkpoint using the ini object (i'm not sure if the ini object is even relevant in this situation) I want the game to remember which 1ups the player has already picked up, and whenever the frame reloads, the 1ups that have been collected are no longer loaded.
Any tips? I've been stuck and have no idea how I should go about this, even thought it seems so simple.