Difference between revisions of "NEQ"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "= {A3} {{IE_A3}} = {{IE_A3_ex}} {{IE_A3_desc}} See also: {A0} {{IE_A0}}{A1} {{IE_A1}} ― Event_Instruction_A2|{A2}...")
 
Line 4: Line 4:
 
{{IE_A3_desc}}
 
{{IE_A3_desc}}
  
 +
----
 +
 +
Compares Variables x0000 & x0001.
 +
 +
If x0000's value is not equal to x0001's, x0000 is set to a value of 0001.
 +
If they are equal, x0000 is set to a value of 0000.
 +
 +
[[Event_Instruction_D0|{{IE_D0}}]] can then be used to make the event do different things depending on the result.
 +
 +
Comparison commands can ''only'' be used to compare Variables x0000 & x0001.
 +
 +
----
  
 
See also: [[Event_Instruction_A0|{A0} {{IE_A0}}]] ― [[Event_Instruction_A1|{A1} {{IE_A1}}]] ― [[Event_Instruction_A2|{A2} {{IE_A2}}]] ― [[Event_Instruction_A4|{A4} {{IE_A4}}]] ― [[Event_Instruction_A5|{A5} {{IE_A5}}]]
 
See also: [[Event_Instruction_A0|{A0} {{IE_A0}}]] ― [[Event_Instruction_A1|{A1} {{IE_A1}}]] ― [[Event_Instruction_A2|{A2} {{IE_A2}}]] ― [[Event_Instruction_A4|{A4} {{IE_A4}}]] ― [[Event_Instruction_A5|{A5} {{IE_A5}}]]

Revision as of 03:46, 23 April 2019

{A3} NEQ

NEQ()

Not Equal | Variable 0x0000 = If ( Variable 0x0000 != Variable 0x0001 )


Compares Variables x0000 & x0001.

If x0000's value is not equal to x0001's, x0000 is set to a value of 0001. If they are equal, x0000 is set to a value of 0000.

JumpForwardIfZero can then be used to make the event do different things depending on the result.

Comparison commands can only be used to compare Variables x0000 & x0001.


See also: {A0} LTE{A1} GTE{A2} EQ{A4} LT{A5} GT