What determines the priority of "immediately before" revealing your maneuver?
Advanced Sensors states: "Immediately before you reveal your maneuver, you may perform 1 free action."
The Decloak reference card states: "A ship may spend a cloak token to decloak immediately before revealing its maneuver dial."
So the scenario is:
-A TIE Phantom is Cloaked.
-It chooses to Decloak, spending its Cloak token and getting the barrel roll/movement that accompanies it.
-It uses Advanced Sensors to execute it's action: Cloak (taking a new Cloak token).
-It chooses to Decloak again, spending the second Cloak token and getting the barrel roll/movement that accompanies it (because Decloaking is not an action, it can be theoretically be executed twice in a turn).
-It then reveals and executes its normal maneuver.
Sure, the TIE doesn't end cloaked, but if it went forward 2 with each decloak then executed a forward 4 maneuver, it's almost halfway across the play area from where it started.
In my mind, the word "immediately" means that nothing can intercede between that game action and revealing maneuver, but a friend argues the above scenario is possible. Thoughts?