Difference between revisions of "GT"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
m (Xifanie moved page Event Instruction A5 to GT)
 
(No difference)

Latest revision as of 04:57, 23 February 2021

{A5} GT

GT()

Greater Than | Variable 0x0000 = If ( Variable 0x0000 > Variable 0x0001 )


Compares Variables x0000 & x0001.

If x0000's value is greater than (and not equal to) x0001's, x0000 is set to a value of 0001. If not, 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{A3} NEQ{A4} LT