Infinite Health/Ki/Blast Stocks/Max Power [Vega] Inspired by Hawkeye2777 who wrote was the first to make this type of code. This is a much better version written by me (Vega). Improvements over Hawkeye's code: - Different Hook Address where the r3 pointer is always updated to the current target's real Health. This means that this will work everywhere including Teams and DP matches. Also this hook address contains a few Global Variable Registers (r18, r22, r27) that always contain the slot value, which lets the programmer know when the hook/code is being applied to P1 or P2/COM. - Completely rewritten source for smaller compiled code size - Comes with two different configuations. First configuration effects both P1 and P2/COM. Second config allows the user to choose between 1P or 2P/COM. NTSC-U (effects both P1 and P2/COM) C212050C 00000006 3C000001 600086A0 90030000 9003000C 3C800007 6084A120 90830014 38807530 9083001C 7C030378 60000000 00000000 NTSC-U (choose between P1 or P2/COM via the X value) C212050C 00000007 2C1B000X 80030000 40820028 3C000001 600086A0 90030000 9003000C 3C800007 6084A120 90830014 38807530 9083001C 7C030378 00000000 X = Slot 0 = 1P 1 = 2P/COM Code creator: Vega Code credits: Hawkeye2777 ----------- Source for 1st config: #Address #NTSC-U = 8012050C #r0 & r4 = safe #r3 must end up as the Real Health amount #r18, r22, r27 = slot (0,1) #Set new real Health and Ki Amount lis r0, 0x0001 ori r0, r0, 0x86A0 #Store Both stw r0, 0 (r3) stw r0, 0xC (r3) #Set Blast Stocks; store it lis r4, 0x0007 ori r4, r4, 0xA120 stw r4, 0x14 (r3) #Set and store Max Power li r4, 0x7530 stw r4, 0x1C (r3) #Move Health over to r3 mr r3, r0 #No need for Original Instruction (lwz r3, 0 (r3)) ----------- Source for 2nd config: #Address #NTSC-U = 8012050C #r0 & r4 = safe #r3 must end up as the Real Health amount #r18, r22, r27 = slot #Slot value 0 = P1 #Slot value 1 = P2/COM #Check user slot #Using r27 as the function's parent is always the same parent function and it always uses r27 as preferred GVR for slot usage. Doesn't really matter, r18 and r22 also work. Just an fyi. cmpwi r27, 0 #P1 used for compilation, adjust this accordingly #Pre load target Health into r0 lwz r0, 0 (r3) #Take Branch bne- place_health_in_r3 #Set new real Health and Ki Amount lis r0, 0x0001 ori r0, r0, 0x86A0 #Store Both stw r0, 0 (r3) stw r0, 0xC (r3) #Set Blast Stocks Amount; store it lis r4, 0x0007 ori r4, r4, 0xA120 stw r4, 0x14 (r3) #Set and store Max Power bar li r4, 0x7530 stw r4, 0x1C (r3) #Move Health over to r3 place_health_in_r3: mr r3, r0 #No need for Original Instruction (lwz r3, 0 (r3))