Doing "player:transform(16)" is better.
what's the difference?
- setting character will directly change the character, so like if the player is fire mario, it'll change to fire samus
- using tranform will keep the corresponding powerup, if the player is fire mario and samaus was
previously super samus, it'll change to super samus instead of fire samus
This is important for scripts which keep track of per-character data, one such example is customPowerups.