Starreaver1
Smash Apprentice
Well that was fast xD Awesome stuff as usual, Achilles.I think I fixed it.
CSS Hands Default to HMN Button (with bug fix) (1.02)
044DC47C C0200000
C2261A6C 00000004
2C110000 40820014
3DE08026 61EF1B6C
7DE903A6 4E800420
1C130024 00000000
Alright. So what was happening is that the portion of a CSS function relating to "clicking an on-screen button and having an action occur" is executed whenever you successfully create a name tag (and also whenever you click the HMN/CPU button and when initially opening the name tag select box). So different actions occur for different buttons, and the game decides what action to execute based on the current cursor position. So when the button action code lines were executed after making a name tag, it looked at the cursor position (which was changed to be above the HMN/CPU button), and then it acted as though it was pressing that button.
At the beginning of the button action code subfunction, I noticed r17 had a value of 0 in it after creating a name tag. Anytime else these lines were executed, r17 seemed to have a value of 4. So I just added in a blip of custom ASM to check if r17 was 0 and if so, to skip over the button action subfunction (which is what normally happens with the vanilla CSS hand location).
Code:Fix Player Hands Default to HMN Button Bug Inject @ 80261a6c cmpwi r17,0 bne- END lis r15,0x8026 ori r15,r15,0x1b6c mtctr r15 bctr END: mulli r0,r19,36 //default code line at 80261a6c