Help! Not sure what's the real question for this..

Started by g6flavor, December 14, 2008, 03:31:38 AM

Previous topic - Next topic

g6flavor

I'm not sure what's the real question for this, but I want to do something like for example
both address equals 80212340 0000FFFF and 80212348 0000FFFF...the value in 80212340 never changes but, when you get hit in the game the vlaue in 80212348 decreases.

Is it possible to make a code so that 80212348 always equals 80212340 like when the value in 80212348 decreases, it then check the value at 80212340, if different then use that value on 80212348?

Romaap

there are different ways to do this, like memory copy (just take a look at the WiiRD codetypes)

This is a code I made for Sonic Unleashed
Werehog unlimited unleashed gauge [Romaap]
208147A8 00004000
82200000 90B0B968
84200000 90B0B964
E0000000 80008000
   Press C to max the unleashed gauge

what this does is:
208147A8 00004000 //check if Button C is pressed
82200000 90B0B968 // load the value at 90B0B968 (maxhealth) to Gecko Register 0
84200000 90B0B964 // load the value at Gecko Register 0 to 90B0B964 (health)
E0000000 80008000 // Full terminator (acts as an End If for my button check)

I hope this helps ;)

g6flavor

It sure does :) I just tried it out and it works perfectly! Thanks!