0
Code created by Wulf2k.
Unpatched game.
P1 health always full.
P1 rage always full.
P1 press Select to empty P2 health.
Possible issue:
Code writes to hardcoded addresses, doesn't load the pointers. I didn't see the addresses change between restarts or different modes but if the code doesn't work that's what will need to be fixed.
Jump to modified code:
Inserted code:Code:RAM - 7D6168 SELF - 7C6A68 494D6C12 - ba 0x14d6c10 OGP = F80100E0480651E5600000002F830000 COP = F80100E0480651E5494D6C122F830000CU Format:Code:RAM - 14D6C10 SELF - 14C7510Code:3EC03F803E0001936210C98C92D0000092D013DC3E0001926210CFE8821000003A2002002C10020041820008487D616E3E4001946252A428823200007E3089D6923200003A0000003A2000003A4000003AC00000487D616ECode:OGP = 0178581800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 COP = 017858180000000000000000000000003EC03F803E0001936210C98C92D0000092D013DC3E0001926210CFE8821000003A2002002C10020041820008487D616E3E4001946252A428823200007E3089D6923200003A0000003A2000003A4000003AC00000487D616ECode:lis %r22,0x3f80 lis %r16,0x193 ori %r16,%r16,c98c stw %r22,0(%r16) stw %r22,0x13dc(%r16) lis %r16,0x192 ori %r16,%r16,0xcfe8 lwz %r16,0(%r16) cmpwi %r16,0x200 beq 0x8 ba 0x7d616c lis %r18,0x194 ori %r18,%r18,0xa428 lwz %r17,0(%r18) mullw %r17,%r16,%r17 stw %r17,0(%r18) li %r16,0 li %r17,0 li %r18,0 li %r22,0 ba 0x7d616c
Misc memory locations:Code:00002000 007D6170 494D6C12 00002000 014D6C10 3EC03F80 00002000 014D6C14 3E000193 00002000 014D6C18 6210C98C 00002000 014D6C20 92D00000 00002000 014D6C24 92D013DC 00002000 014D6C28 3E000192 00002000 014D6C2C 6210CFE8 00002000 014D6C30 82100000 00002000 014D6C34 3A200200 00002000 014D6C38 2C100200 00002000 014D6C3C 41820008 00002000 014D6C40 487D616E 00002000 014D6C44 3E400194 00002000 014D6C48 6252A428 00002000 014D6C4C 82320000 00002000 014D6C50 7E3089D6 00002000 014D6C54 92320000 00002000 014D6C58 3A000000 00002000 014D6C5C 3A200000 00002000 014D6C60 3A400000 00002000 014D6C64 3AC00000 00002000 014D6C68 487D616E
Code:HP and Rage stored as float value between 0 and 1 193C98C - Player 1 HP 193DD68 - Player 1 Rage 194A428 - Player 2 HP 194B804 - Player 2 Rage ---- 192CFE8 - Controller while in combat - 00000200 - Select pressed