I know Gecko Codetype 20 is a 32-bit if comparison and I know 28 is a 16-bit if comparison.
Let's say I wanted to have two if statements met before exeucting a code, and otherwise, execute other code. Here's what I'm wanting to do in pseudocode:
Let X, Y, and Z be memory adresses.
Another way to represent this would be:
How do I represent that in Gecko Code? I have done this properly with a C0 code that works 100% of the time, but I might be able to shorten the code if done in Gecko instead of ASM.
Let's say I wanted to have two if statements met before exeucting a code, and otherwise, execute other code. Here's what I'm wanting to do in pseudocode:
Let X, Y, and Z be memory adresses.
- Code:
If X = 0x49 and Y = 0x49 then
Z = 0x1A1
else
Z = 0xF9
end
Another way to represent this would be:
- Code:
If X = 0x49 then
If Y = 0x49 then
Z = 0x1A1
else
Z = 0xF9
end
else
Z = 0xF9
end
How do I represent that in Gecko Code? I have done this properly with a C0 code that works 100% of the time, but I might be able to shorten the code if done in Gecko instead of ASM.