Max value in ASM

Started by Crapulecorp, September 23, 2011, 06:20:01 PM

Previous topic - Next topic

Crapulecorp

Hi everyone , i am searching for Pangya! Golf with Style [RPYP9B] a max value codes for the pangya points.

For the adress :

800B17E4 901D0044 stw r0,68(r29)

I use those instructions :

lis r0,15
ori r0,r0,16959
stw r0,68(r29)

I get when i buy something 99,999 Pangya points.

But i want a 99,999,999 value (05F5E0FF when i poke it)

If someome can help me it would be nice thanks in advance.  :) :) :)

dcx2

lis r0,0x05F5
ori r0,r0,0xE0FF
stw r0,68(r29)

Crapulecorp

Thanks dcx2 i already did those instructions but the game freeze when i buy something. That's why i asked help.
And this game is too hard for me to hack. Thanks a lot to you by the way. :) :)

dcx2

#3
hmm, are you sure 99,999,999 is a valid value?

You can try 999,999 or 9,999,999.

In Gecko.NET, MemView tab, set Poke operation to Write, then write 0x1869F = 99,999.  Then change Poke operation to MUL, and change the poke value to A.  Each time you press Poke, it will multiply the current value by 10.  So you can see how big it's allowed to go.

EDIT:

Your original code should have created 0xF423F = 999,999.  0x1869F = 99,999.