Solved reading stage name

Question that is answered or resolved.
Hi every one, I want to create a barrel for my game with different palettes
Each level has a specific color, for example, for the sea stage, I want the barrel to be blue, and in the forest stage, it should be green, and in the desert stage, it should appear in red.
For this scenario I need to read the stage name in the barrel
could anyone tell me how I can read the name of the current stage?
 
Solution
Just with map command like this:
Code:
spawn    Barrel
map 2
coords    250 270
at    0

You'd need to define barrel use which map on which level.
Back
Top Bottom