Condition - r0ah/vitacheat GitHub Wiki
The condition code type checks if the specific requirement is met then execute the code. Read Conditional (computer programming) for more details.
Currently only support static address.

- D: Code-Type Identifier
-
X: Operators
-
0- (=) Equal to X 8bit -
1- (=) Equal to X 16bit -
2- (=) Equal to X 32bit -
3- (<>) Unequal to X (8bit) -
4- (<>) Unequal to X (16bit) -
5- (<>) Unequal to X (32bit) -
6- (>) Greater than X (8bit) -
7- (>) Greater than X (16bit) -
8- (>) Greater than X (32bit) -
9- (<) Less than X (8bit) -
A- (<) Less than X (16bit) -
B- (<) Less than X (32bit)
-
- A3-A4: Related Lines
- B1-B8: Valid Memory Address
- C1-C8: Value
_V0 Condition Operators
$D201 81000000 FFA8FF2D #CODE-TYPE IDENTIFIER
$0200 8xxxxxxx xxxxxxxx #LINE #1
If 0x81000000's value is equal to 0xFFA8FF2D (32bit) then execute the following 0x01 related lines of code.
_V0 Condition Operators
$D301 81000000 00000005 #CODE-TYPE IDENTIFIER
$0200 8xxxxxxx xxxxxxxx #LINE #1
If 0x81000000's value is unequal to 0x00000005 (8bit) then execute the following 0x01 related lines of code.
_V0 Condition Operators
$D605 81000000 00000005 #CODE-TYPE IDENTIFIER
$0200 8xxxxxxx xxxxxxxx #LINE #1
$0200 8xxxxxxx xxxxxxxx #LINE #2
$0200 8xxxxxxx xxxxxxxx #LINE #3
$0200 8xxxxxxx xxxxxxxx #LINE #4
$0200 8xxxxxxx xxxxxxxx #LINE #5
If 0x81000000's value is greater than 0x00000005 (8bit) then execute the following 0x05 related lines of code.
_V0 Condition Operators
$D90A 81000000 00000005 #CODE-TYPE IDENTIFIER
$0200 8xxxxxxx xxxxxxxx #LINE #1
$0200 8xxxxxxx xxxxxxxx #LINE #2
$0200 8xxxxxxx xxxxxxxx #LINE #3
$0200 8xxxxxxx xxxxxxxx #LINE #4
$0200 8xxxxxxx xxxxxxxx #LINE #5
$0200 8xxxxxxx xxxxxxxx #LINE #6
$0200 8xxxxxxx xxxxxxxx #LINE #7
$0200 8xxxxxxx xxxxxxxx #LINE #8
$0200 8xxxxxxx xxxxxxxx #LINE #9
$0200 8xxxxxxx xxxxxxxx #LINE #10
If 0x81000000's value is less than 0x00000005 (8bit) then execute the following 0x0A related lines of code.