Im not sure how to do that. Im trying something now, making variables for each powerup animation frame.
with three powerups avaiable it looks like this:
On collision with s_powerup ->
s_powerup animation frame = 1 -> add 1 to var.powerup_1
s_powerup animation frame = 2 -> add 1 to var.powerup_2
s_powerup animation frame = 3 -> add 1 to var.powerup_3
So nows the game knows how much of each powerups are collected, but I still don't know how I should make them to be displayed in the next layouts