Zelda TP v1 Code Help

Started by Bergamot, November 15, 2009, 10:02:54 PM

Previous topic - Next topic

Bergamot

I'm attempting to modify James0x57's v1 Super Clawshot(s) code to be switchable at runtime, as there are a few limited situations where it does more harm than good.

The original code looks like
043E4BA4 47870000
043E4BA8 45336000
043E4BAC 45336000
043E4BB0 43FA0000
040FCDE8 3C600004


The 04 command is just a plain 32bit write, so I figured that I'd be able to modify it like this:

2844BB66 9FFF6000
CC000000 00000000
043E4BA4 47870000
043E4BA8 45336000
043E4BAC 45336000
043E4BB0 43FA0000
040FCDE8 3C600004
E0000000 80008000


so it would only toggle on when Z+C was pressed. This did not work; the code seemed to always be on regardless of my button presses.

Any ideas?





Post Merge: November 16, 2009, 08:14:34 PM

I should also point out that I tried adding the conditional switch to each line of the code individually like this:

2844BB66 9FFF6000
CC000000 00000000
043E4BA4 47870000
E0000000 80008000
2844BB66 9FFF6000
CC000000 00000000
043E4BA8 45336000
E0000000 80008000
2844BB66 9FFF6000
CC000000 00000000
043E4BAC 45336000
E0000000 80008000
2844BB66 9FFF6000
CC000000 00000000
043E4BB0 43FA0000
E0000000 80008000
2844BB66 9FFF6000
CC000000 00000000
040FCDE8 3C600004
E0000000 80008000