Zebbi
the 2 sub-events should be same level.
like this:
Platform on landed
ACTION ----> Set Bounce to 1 - Bounce
--------sub-event: Bounce = 1
--------ACTION ----> Set Vector Y to -600
--------ACTION ----> Set Bounce to 0
--------sub-event: Bounce = 0 (same level as sub-event above)
--------ACTION ----> Set Bounce to 1
technically, the way you do it in your screenshot is working only because you have the "set Bounce to 0" action before the sub-event with condition "Bounce = 0". Codes are read top to bottom.
Just read the conditions from top to bottom, first check if landed, then Bounce = 1, then if Bounce = 0 ? The last 2 conditions are not possible to be true at the same time. So yeah the 2 sub-events should be same level
if Bounce = 1,
Bounce = 1 - Bounce
Bounce = 1 - 1
Bounce = 0
if Bounce = 0
Bounce = 1 - Bounce
Bounce = 1 - 0
Bounce = 1
Let's just say you chose to use values that aren't 0 and 1, then you can't use that 1-Bounce expression/formula
Quickly edited your screenshot here to match what I was saying