It would probably be very close to:
- in the box:
In short:
- when Mario hits this block, we check which class it is
– if he is normal, weSelect
False
power
– if he is evolved, weSelect
True
power
– we store the result in a variablePower up To Spawn
for later - once TL completes, we spawn a new power using the variable
You should consider inheritance, so you do not need to script it again in every single block class.