Ultimate Health Code [James0x57, Jokered By Sammature]
Why do you want to use a different button-combination for each Heart?
I hope, this doesn't collide with your ideals in some way, but I've experimented
a bit with your code and the original one from James0x57 and came to a pretty nice solution.
With the following code you can press Z+C+Right to get one more Heart and
press Z+C+Left to loose one Heart. The Health will then be set to be infinite.
This way you can even collect your Heart-Pieces in the normal way and still
have infinite Life:
Note:
- the longer you press the button-combinations the more Hearts you will get or loose
- you can't get less than 1 Full Heart (i.e. you can't kill yourself) with the code as it is here
- this was tested on Ocarina and a PAL-Version of Zelda [RZDP01]
- this code uses Gecko-Register 0, so make sure, that no other code uses
the same register, while this one is running
2C47A828 00000004
2E47A828 0000000A
0247A82A 00000004
E0000000 80008000
2C47A828 00000009
2E47A828 0000000F
0247A82A 00000008
E0000000 80008000
2C47A828 0000000E
2E47A828 00000014
0247A82A 0000000C
E0000000 80008000
2C47A828 00000013
2E47A828 00000019
0247A82A 00000010
E0000000 80008000
2C47A828 00000018
2E47A828 0000001E
0247A82A 00000014
E0000000 80008000
2C47A828 0000001D
2E47A828 00000023
0247A82A 00000018
E0000000 80008000
2C47A828 00000022
2E47A828 00000028
0247A82A 0000001C
E0000000 80008000
2C47A828 00000027
2E47A828 0000002D
0247A82A 00000020
E0000000 80008000
2C47A828 0000002C
2E47A828 00000032
0247A82A 00000024
E0000000 80008000
2C47A828 00000031
2E47A828 00000037
0247A82A 00000028
E0000000 80008000
2C47A828 00000036
2E47A828 0000003C
0247A82A 0000002C
E0000000 80008000
2C47A828 0000003B
2E47A828 00000041
0247A82A 00000030
E0000000 80008000
2C47A828 00000040
2E47A828 00000046
0247A82A 00000034
E0000000 80008000
2C47A828 00000045
2E47A828 0000004B
0247A82A 00000038
E0000000 80008000
2C47A828 0000004A
2E47A828 00000050
0247A82A 0000003C
E0000000 80008000
2C47A828 0000004F
2E47A828 00000055
0247A82A 00000040
E0000000 80008000
2C47A828 00000054
2E47A828 0000005A
0247A82A 00000044
E0000000 80008000
2C47A828 00000059
2E47A828 0000005F
0247A82A 00000048
E0000000 80008000
2C47A828 0000005E
2E47A828 00000064
0247A82A 0000004C
E0000000 80008000
2847A828 00000064
0247A82A 00000050
E0000000 80008000
2E47A828 00000060
20433AF4 00004001
A8000000 FFF80007
82100000 8047A828
86000000 00000005
84100000 8047A828
E0000000 80008000
2C47A828 00000005
20433AF4 00004002
A8000000 FFF80007
82100000 8047A828
86000000 FFFFFFFB
84100000 8047A828
E0000000 80008000
I still have the problem, that you get or loose the Hearts to fast.
It's almost impossible to get a single heart. I hope someone can
help me with that problem.
On another note, it would be nice of someone, who knows ASM to
compress this code a bit...