WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: GaryCXJk on October 06, 2008, 05:19:53 PM

Title: For-loop-like construction
Post by: GaryCXJk on October 06, 2008, 05:19:53 PM
Really easy question, but I'm really stuck, or rather, my Wii gets stuck, or, freezes, or crashes or something.

Basically I would like to make a for-loop. Or something similar to a for-loop. I have the amount of times to loop in an adress, say, 81000000, and I, for example, want to get the sum of some consecutive bytes, stored in a random adress, say, 81100000.

Of course, these aren't real addresses, but I just wanted to know, how do I do this? I already tried to understand the repeat codetype, but so far no luck.
Title: Re: For-loop-like construction
Post by: Romaap on October 06, 2008, 11:11:27 PM
isn't there a code that jumps back XX lines for YY times?
Title: Re: For-loop-like construction
Post by: REDSOXROX on October 06, 2008, 11:12:05 PM
You could use an If codetype, then the repeat codetype.