WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: paprika_killer on April 23, 2009, 02:06:55 PM

Title: unusual IF needed
Post by: paprika_killer on April 23, 2009, 02:06:55 PM
basically I need the following

If [gr0] == 0xYYYYYYYY OR [gr0] == 0xZZZZZZZZ OR etc

first I don't know how to construct ORs and the If conditional itself I cannot find anywhere

EDIT
ok second part solved by creative use of po, but my first question remains:
how do I construct OR conditionals?
Title: Re: unusual IF needed
Post by: Link on April 24, 2009, 01:27:07 PM
Think about that tip kenobi wrote:

DE000000 80008180 : checks that po is in the [80000000,81800000[.
66000001 00000000 : skip next line if the code execution status is set to true.
DE000001 90009380 : endif, then checks that po is in [90000000,93800000[.

That should give you the idea ;)
Title: Re: unusual IF needed
Post by: paprika_killer on April 24, 2009, 05:07:10 PM
sweet!
of course it had to be as simple as skipping lines :P