Checksum¶
Process a goto in syntax (1) if 2 values or flagvar slots added together is strictly bigger than another value or flagvar slot or do nothing otherwise.
Syntax¶
|checksum,value1,value2,checkvalue,redirect|
Parameters¶
value1
: int | v
int | var
int | money
¶
The first value or flagvar slot to add together. The int form must be a valid int or an exception will be thrown. The v
/var
prefix indicates to use the value of a flagvar slot and it must be a valid one or an exception will be thrown. money
indicates to use the current berries count as the value.
value2
: int | v
int | var
int | money
¶
The second value or flagvar slot to add together. The int form must be a valid int or an exception will be thrown. The v
/var
prefix indicates to use the value of a flagvar slot and it must be a valid one or an exception will be thrown. money
indicates to use the current berries count as the value.
valuecheck
: int | v
int | var
int | money
¶
The value or flagvar slot to test the sum of value1
and value2
. The int form must be a valid int or an exception will be thrown. The v
/var
prefix indicates to use the value of a flagvar slot and it must be a valid one or an exception will be thrown. money
indicates to use the current berries count as the value. The redirection only happens if value1
+ value2
is strictly bigger than this value.
redirect
: int¶
The Dialogue line id to send to goto if applicable. This must be a valid Dialogue line id or an exception will be thrown if goto is processed with it.
Remarks¶
The goto command is immediately processed if applicable.