0
I forgot to say that I have the NTSC version.
I can't really fully test all of these on all enemies, so I'm not sure what effects there would be on enemies other than the sons with guns.
Cole Can't Die
0012FE24 C0190750
0012FE28 D0190754
0012FE28 C07E8010 <---- Only here just in case there's something important that needs F3.
0012FE2C 60000000 <---- This specific branch occurs when your health becomes 0 or less. It's the "death" branch for Cole.
SET OGP=C07E8010 C0190754 FF801800 409D02C0
SET COP=C0190750 D0190754 C07E8010 60000000
If you jump off of the map into the water, you won't die and will need to restart or something, so don't do that. I don't think the last 2 lines are necessary, but I included them just in case there is some chance that something needs register F3 from $8010(r30) that could possibly mess with the game.
Cole doesn't respond to being harmed
00137760 60000000
SET OGP=4BFF83B1 7FE3FB78
SET COP=60000000 7FE3FB78
This is also another form of infinite health for Cole. The only downside is that the screen still turns grey. That's not much of a problem if you turn on the codes so items never run out of electricity and you use the electricity absorption rate modifier to quickly regain health. The good thing is that nothing affects him. Bullets, explosions, trains, water, nothing. I can stand on cars and grenade them to launch myself into the air. I stood in front of a moving train and it pushed me half way around the island.
Unlimited Electricity
0011458C 60000000
SET OGP=ED606028 419C0008
SET COP=60000000 419C0008
Use all of your special attacks endlessly, you'll never run out. It's like karma overload without it actually being karma overload.
Cole is good or evil modifier
0037B520 3860000?
SET OGP=409D0008 39200000 7D234B78
SET COP=409D0008 39200000 3860000?
0 = Cole is good.
1 = Cole is evil.
This might affect other things too. I know that something maybe only 2 addresses away can cause enemies not to shoot you, but they still threw grenades.
Civilians Are Invincible & Can't Decrease Karma
001E1D14 60000000
SET OGP=409D004C 38000000
SET COP=60000000 38000000
The only way to kill them is to absorb their life force. Otherwise, no amount of bullets and explosions will in any way affect them, and you can't lose karma by attempting to harm them either, which makes life easier if you just love destroying everything around you to kill enemies since you don't need to worry about civilians getting harmed and decreasing your karma.
Health Never Decreases For Everyone
0029F164 60000000
SET OGP=382100A0 EC016828
SET COP=382100A0 60000000
Health never decreases. The problem is that it works for everyone. You need to restrain or drain people. I haven't tried a boss or anything special with this yet.
Electric Attacks & Bullets Damage Modifier
000598F4 3CE0????
SET OGP=3CE03F80 38C0FFFF
SET COP=3CE0???? 38C0FFFF
Set it to 0000 and Shock Grenades, Megawatt Hammer, enemy gunfire, and probably other things won't harm anyone either. Set it to 447A and these things become a 1 hit kill. This also modifies the damage for the below 2 codes.
Explosive Attacks Do No Damage To People
0005993C 60000000
SET OGP=39200070 90E300BC
SET COP=39200070 60000000
Shock Grenades, Megawatt Hammer, and enemy grenades caused no damage. There are probably other explosives I forgot, because I didn't have the chance to check landmines, or other enemies with explosive attacks.
Bullets Do No Damage To People
00059940 60000000
SET OGP=90E300B8 7C2B01CE
SET COP=60000000 7C2B01CE
This probably affects more than just bullets, but the only enemies I can find always had guns. This might affect turrets and other things.
Objects Never Run Out Of Electricity
000C800C 60000000
SET OGP=409E00CC C01F0090
SET COP=409E00CC 60000000
I tried it on light poles and whatever else, and they never stop giving you electricity. I'm not sure how many things this affects, I'm just assuming everything.
Instantly Absorb All Electricity From Objects
000C84CC 60000000
SET OGP=3D203FC0 5463063E
SET COP=3D203FC0 60000000
Press R2 and you'll get every bit of electricity from an object in an instant. I never tried this with the code that makes objects never run out of electricity, I'm not sure how that would work. I wonder if it would be something like dividing by 0?
Electricity Absorption Rate Modifier
000C84DC 3D20????
SET OGP=3D203F80 4BFFFB08
SET COP=3D20???? 4BFFFB08
If set to 0, you can't get electricity from anything. If set to 447A, and you'll suck everything out of objects in an instant.
Visual Modifier For Damage Taken & Explosives
000DD430 3C00????
SET OGP=3C003F80 FC00069C
SET COP=3C00???? FC00069C
Being harmed caused an unusually red screen coloring of the screen than it normally did with 0, which looked cooler. The same applied to any explosions. It looked almost like X-ray vision with 447A.
Electrical Attack Damage Modifier (Or Multiplier?)
0011497C 3D60????
SET OGP=3D603F80 9161FFE0
SET COP=3D60???? 9161FFE0
Enemies and civilians took far less harm from electrical attacks with 0. 447A gave electrical attacks 1 hit kills, and vehicles exploded after 1 shot.
Lightning Storm Brightness Modifier
00156FD8 3D60????
SET OGP=3D603F80 7C1A29CE
SET COP=3D60???? 7C1A29CE
It was incredibly dark out with 0, just like how it would look if you were using Lightning Storm for about 10 seconds. 4080 made things much brighter. Negative values seemed to be identical to positive ones.
Enemy & Civilian Walking Speed Modifier
0016EAB0 3C00????
SET OGP=3C003F80 39600001
SET COP=3C00???? 39600001
This doesn't affect Cole, just everyone else. If set to 0, nobody ever moves from where they are standing, so they become easy to aim at and kill. If set higher, like 4040, they walk much faster. If set to negative, like C040, they move backwards faster.
Brightness Modifier
00334424 3D60????
SET OGP=3D603F80 7DA100CE
SET COP=3D60???? 7DA100CE
Set to 0 and you will have a hard time figuring out how to navigate. Set higher, like 4040, and things will be a lot brighter.
And this is my messy ugly text file.
I have some stuff in the mess related to hovering and jumping, and was hoping to find a way of modifying jump height or hovering, but I couldn't find it. If somebody else could, there's a good starting point in the quoted mess.Code:0050F0D4: 606386A0 ori r3,r3,34464 0000 0050F134: 606386A0 ori r3,r3,34464 0001 0050F164: 606386A0 ori r3,r3,34464 0002 Instances of "LIS r?, $3F80" set to $0000 in sequential order. 00000000 - 00010000 = Me and everyone else do not animate much while moving; the start menu isn't visible; my melee attacks froze the game. 00010000 - 00020000 = Cole never got off the bed to be able to play; civilians were walking with incorrect animations; I couldn't use or exit the start menu. 00020000 - 00030000 = No noticeable effects. 00030000 - 00040000 = I can't move while aiming, and always face the same direction. 00040000 - 00060000 = No other noticeable effects. 00060000 - 00070000 = No other noticeable effects. 00068638 3C00???? = Game wouldn't start. 00070000 - 00080000 = Aiming seemed to randomly stop while aiming. 00073228 3D60???? = Increased L1's zoom. 00073640 3F60???? = Aiming zoomed too much and froze the game. 00080000 - 000A0000 = No noticeable effects. 000A0000 - 000B0000 = No noticeable effects. 000AC908 3C00???? = Game froze when it started. 000B0000 - 000D0000 = Many textures were pitch black; I couldn't absorb electricity to refuel myself. 000C8530: 481D6B99 bl 0x29f0c8, Draining electricity doesn't heal me. 000D0000 - 00100000 = Start menu text missing; I never got text verification of actions that gave me points, but I still got the points; 00100000 - 00120000 = No other noticeable effects. 0010F4DC 3D20???? = Collision problems while standing on some rooftops. 00114558 4E800020 (54842834) = Unlimited electricity by removing the entire function. 00254090 60000000 (90BD0000) = Removed a store word operation and now explosives don't damage people. If I set it to a positive number no damage occurs, but if it's 0 then the game acts like normal. 00255578: 409E0118 = Game froze when grenade exploded. 002556FC: 4BFFE94D = Shock Grenades couldn't harm humans, just vehicles. WITH 0025599C 60000000 (4BEBEFC5) = It no longer affected the shock grenades. WITH 00258AD0 60000000 (4BFFC741) = Shock Grenades, thrust, cannon, and lightning didn't harm enemies or civilians, but they harmed vehicles; normal shocks were 1 hit kills. WITH 002559A8 60000000 (4BFFF9C8) = Game freezes when shock grenade explodes. WITH 002559B4 60000000 (4BFFFAD4) = No noticeable effects. 00120000 - 00140000 = No noticeable effects. 00140000 - 00180000 = No other noticeable effects. 0014ACC8 3C00???? = I jumped and the game froze after starting a mission. Otherwise trying to go in a direction while jumping made me fly far in a random direction. 0014AD88 = It looks like stuff relating to moves starts here, and the branches are the different things you do, or at the very least this relates to jumping and hovering. 0014AE40 48221DA9 = Jumping and then hovering froze the game. 0014AE68 48125509 = Jumping froze the game. 0014AEC8 419E0020 = Attempting to hover froze the game. 0014AF08 4BEC6529 = Hovering was displayed incorrectly. 00160000 - 00170000 = No other noticeable effects. 00170000 - 00190000 = No noticeable effects. 00190000 - 00200000 = The collision was messed up climbing walls if I tried steering myself; I walked across rails instead of riding them, I didn't try the train tracks though. WITH 4000 = I ran on rails and couldn't turn around on them, had no effect on the train tracks. 00200000 - 00240000 = Lots of fancy visual effects are missing; the water is very shiny; Megawatt Hammer, Shock Grenades, enemy grenades, my shield, Thunder Drop, Lightning Strike, riding rails, hovering down, absorbing lives and all other things have a lot less detail. 00240000 - 00280000 = Game froze a few seconds after my Thunder Drop. I don't believe the Thunder Drop caused it though, as I couldn't reproduce the problem. 00240000 - 00260000 = 0025E218 3D20???? = Cole never got off the bed so I couldn't do anything. 00260000 - 00280000 = All sound was muted. 00280000 - 002C0000 = No other noticeable effects. 002A0ED4 3F80???? = Game wouldn't start. 002C0000 - 00300000 = No noticeable effects. 00300000 - 00340000 = Severely flickering graphics. 00339C28 3CC0???? = Objects were not displayed on the mini map. 00340000 - 00380000 = No other noticeable effects. 00359134 3C00???? = I sunk through the ground and died. A positive value made it seem as if everything was on a trampoline constantly bouncing on the surfaces they land on. 00380000 - 003C0000 = Game wouldn't start and froze. 003C0000 - 00400000 = No noticeable effects. 00400000 - 00600000 = Mute; the whole world was missing; shooting froze the game; weird gliding movement; game froze when I jumped. EMPTY SPACE 00799200 001ECAB8 C1BD0754 - People that should normally be dead from attacks always look like they can be healed even though they can't. 001E1C94 4BEC157D - 60000000 - Involved with losing karma, but something is missing. 001E1D68 48199771 - 60000000 - Also involved. 001E1D68 38600001 - +next line 001E1D6C 7C6307B4 - People cannot be harmed. 001E1EF8 7C004850 - Maybe involved, unless infinite health? 001E1CD8 419D0210 - 60000000 - Civilians take no damage and can't be killed. 001E1CFC C1BF0754 - People that should normally be dead can still be attacked and react like they are still alive. 001E1D8C 38000001 - 38000000 - Civilians react to harm but take no damage, can't die, and don't affect karma. 001E1DB4 - 881D0001 - 38000000 - People bounce a lot when struck. 38000001 - People don't bounce when struck, and are only affected by the first hit. Afterwards, they are invincible and don't affect karma. 001E1E80 4BFF8959 - 60000000 - Civilians die from 1 hit. 001E1E8C 409E007C - 4800007C - Civilians die from 1 hit. 001E1E94 409EFE8C - 409EFE84 - Game freezes when a civilian is harmed. 001E1EF8 7C004850 - 60000000 - Civilians take no damage and can't be killed. 0011549C 4BFFF46D - 60000000 - Karma was neutral and could not be changed. 00116E68: 4BFFE629 - Game won't start, it's involved with karma. NOT NEEDED 001173DC: 4BFFE0B5 - Same thing in the same way. NOT NEEDED 00209EFC: 4BF0B595 - Involved in the same way. These 3 go to the function that leads to the function that has 0011549c.
I tried like mad in the past few days to try and find a karma modifier, but can't quite find it. Everything either makes Cole good or evil, or makes him just look good or evil when he really isn't, the world good or evil, freezes the karma at a certain spot, or makes karma neutral and unable to change.