EvilEngine/COND

A conditional is an asset which evaluates a condition upon receiving the Evaluate event. It will fire a different event depending on the result (true or false). The "input value" (value of variable) is checked against the Evaluation Amount using the operation specified in Operation.

For example, if the Evaluation Amount is 500, the Variable is D6FCCFE7 (Shiny Objects) and the operation is NOT_EQUAL_TO (5), the conditional will evaluate to true if the shiny object count is not equal to 500, and false otherwise (when it's equal to 500). Clam gates and level warps usually check if your shiny object or spatula count is GREATER_THAN_OR_EQUAL_TO (3) their specified amount.

The Sub Variable is usually null but can be the asset ID of a CNTR for the Counter Value variable, for example.

Format
Conditionals are object assets, so they start with their 0x8 byte header, then are followed by:

Operations

 * EQUAL_TO = 0,
 * GREATER_THAN = 1
 * LESS_THAN = 2
 * GREATER_THAN_OR_EQUAL_TO = 3
 * LESS_THAN_OR_EQUAL_TO = 4
 * NOT_EQUAL_TO = 5