Difference between revisions of "Not"
Jump to navigation
Jump to search
(Removed redirect to If) Tag: Removed redirect |
(Added a note about what seems to be a major bug with this command.) |
||
Line 9: | Line 9: | ||
See also: [[Event_Instruction_01|{01} {{IE_01}}]] | See also: [[Event_Instruction_01|{01} {{IE_01}}]] | ||
+ | |||
+ | Note: If placed inside an If block, may yank passing command runs into the If block at that point in time even when they should be skipping over it. Tested by putting a SoundEffect/Pause combo immediately before and after the Not command when it shouldn't have been being run; only the one after the Not command was processed, followed by the rest of the commands after it. |
Revision as of 05:16, 23 August 2023
Contents
{00} Not
Not()
Variable 0 = (Variable 0 <= 0)
Or in other words, a TRUE becomes a FALSE, and a FALSE becomes a TRUE.
See also: {01} If
Note: If placed inside an If block, may yank passing command runs into the If block at that point in time even when they should be skipping over it. Tested by putting a SoundEffect/Pause combo immediately before and after the Not command when it shouldn't have been being run; only the one after the Not command was processed, followed by the rest of the commands after it.