All frames for [WF4P] for damage(heros) functions

Started by Patedj, April 22, 2011, 04:49:14 PM

Previous topic - Next topic

Patedj

#30
there might be a problem with the way I was doing the branching off. It takes one hit to register  this

Enemies replenish you after damaging you
C2095CE8 00000003
2C040020 40820008
3FC00001 7F64DB78
60000000 00000000
You can pm me, I've got time for your troubles.

Patedj

#31
it's 1.23 megs! here's the last bit

Here's the log: [spoiler]http://www.mediafire.com/?asutsasmsrdhrk9[/spoiler]
You can pm me, I've got time for your troubles.

Patedj

#32
While I break at every address, I can see the r4 change,
I figured that at  
8008E358:  2C1F0000   cmpwi   r31,0      r31 = FFFFFFFF
8008E35C:  41800010   blt-   0x8008e36c
will determine if r4 has changes or not
8008E36C:  387E0608   addi   r3,r30,1544   r3 = 80EF327C   r30 = 805ACDC0
8008E370:  38800020   li   r4,32      r4 = 00000000
8008E374:  4BFE88B5   bl   0x80076c28

can't figure out the r31...
You can pm me, I've got time for your troubles.

Patedj

I revised my work, with dcx2's advice and found the right discriminator.
80095D68:  800400A0   lwz   r0,160(r4)

And with his help we came up with this code

C2095D68 00000005
800400A0 3D800009
618C0100 7C006000
4082000C 3980270F
91840014 540004E7
800400BC 00000000

This will make the enemy give the allies 9999 hp each time they hit them. At the same time, the allies can kick the enemies but!
You can pm me, I've got time for your troubles.