02-19-2014, 08:00 AM
If you only need to redirect the spell ID from #$30 (actual life spell ID) to another spell slot, you only need to change the spell ID at C2/07A4:
I must warn you that the game engine isn't versatile with spells which are too much different from the Life 1 spell. If the triggered spell animation doesn't work correctly with the “i am dead” graphics, it will trigger small graphical glitches. Also, the game engine will overwrite specific spell data like the spell target, hit rate and special proprieties.
As a note, if it may be of interest:
Code:
C2/07A4 A9 30 LDA #$30 spell ID (life 1)
C2/07A6 85 B8 STA $B8 spell to trigger
I must warn you that the game engine isn't versatile with spells which are too much different from the Life 1 spell. If the triggered spell animation doesn't work correctly with the “i am dead” graphics, it will trigger small graphical glitches. Also, the game engine will overwrite specific spell data like the spell target, hit rate and special proprieties.
As a note, if it may be of interest:
Code:
C2/0799 Prepare Life 3 trigger. It will be triggered at C2/4F5F.
C2/4F5F Trigger spells based on special cases: Life 3, Condemned and near-death triggers (Safe, Shell and Reflect).