I'm encountering a strange issue where a use of disable_when() does not get applied when I use it in one function but not another. Please refer to the following code:
I expect this to create a ResetNextIf + AndNext + PauseIf chain, but it doesn't do that, per this screenshot:
Bizarrely, though, when I move the function one level lower in the call stack, it does create the chain as expected:
I've attached a version of the script that demonstrates the behavior.
Legend of Zelda, The Skyward Sword - Copy.rascript.txt