Treasure Chest (Wario Land 4)
From the Super Mario Wiki
The Treasure Chest is an object in the Game Boy Advance game Wario Land 4. There are a total of twelve Treasure Chests in the game. Three of them are found in each of the four main boss rooms, embedded into the wall in the background. They cannot be touched by Wario. During the boss battle, when time starts to run low (usually under a minute) the Treasure Chests in the background will begin to disappear, one by one. Once Wario defeats the boss, the Treasure Chests that are left over are collected and stored in the Golden Pyramid, for the final boss against the Golden Diva. After the Diva is defeated, the total Treasure Chests Wario has (out of twelve) at the end of the game will determine how beautiful Princess Shokora will appear in the game's ending cut-scene.
The following is a gallery of sprites showing all of Princess Shokora's forms and the amount of Treasure Chests needed.