abysspartyy
Smash Cadet
- Joined
- May 11, 2015
- Messages
- 55
When Crazy Hand uses his Laser (Dpad Up + B) move without Master Hand being present in a match, the game will crash. This is because Crazy Hand is programmed to use Master Hand's lasers and his laser data isn't loaded in the match.
However, Crazy Hand actually has his own lasers programmed in the game that goes unused. It seems that the programmers forgot to change the projectile id. It behaves exactly the same as Master Hand's lasers but deals the Darkness effect instead of the Electric effect and 12 damage (compared to 9 from Master Hand).
Here is the code that re-enables his lasers so the game doesn't crash anymore:
However, Crazy Hand actually has his own lasers programmed in the game that goes unused. It seems that the programmers forgot to change the projectile id. It behaves exactly the same as Master Hand's lasers but deals the Darkness effect instead of the Electric effect and 12 damage (compared to 9 from Master Hand).
Here is the code that re-enables his lasers so the game doesn't crash anymore:
Code:
Crazy Hand Uses His Laser [sushie]
04158584 38E0007F
041585B8 38E0007F
041585EC 38E0007F
04158620 38E0007F
Replaces the following addresses with:
7F is ch's lasers article/item ID
li r7, 0x7F
7F is ch's lasers article/item ID
Code:
Original Address - Original Assembly
/* 80158584 */ li r7, 0x7d
...
/* 801585B8 */ li r7, 0x7d
...
/* 801585EC */ li r7, 0x7d
...
/* 80158620 */ li r7, 0x7d
Python:
import geckon
const LaserCodeLine = ppc: li r7, 0x7F
defineCodes:
createCode "Crazy Hand Uses His Own Lasers":
description "Can use his lasers without Master Hand in a match"
patchWrite32Bits "80158584":
{LaserCodeLine}
patchWrite32Bits "801585B8":
{LaserCodeLine}
patchWrite32Bits "801585EC":
{LaserCodeLine}
patchWrite32Bits "80158620":
{LaserCodeLine}
Last edited: