I notice that if I move the life spell it makes life 3 not work right .
#1
How can I stop this ?
Reply
#2
What do you mean by "move" and "not work right" ? Little description will get you little help.
Reply
#3
The Life 3 staus is hardcoded to cast Life on a character when they die; you'd have to move the pointer manually with a hex editor.
"You don't have to be a vampire to die like one... b*t*h." -Simon Belmont
Reply
#4
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:

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).
Reply
#5
Ok I wanted to make my spell list look like this :
Cure Cure 2
Cure 3 Full Cure
Life Life 2
Life 3 Ensuna
Now my new full cure spell is where the life spell was . I also notice u can't move the doom spell either
.

What is the address I have to change none of them when I type on the go to on my editor has the a9 then 30 right next to it and is the id fore the life 2 spell 31 ?
Reply
#6
We have a language barrier here. I can't fully understand your writing.

You need to use an hex editor to change the address bytes. In this case, A9 is the opcode to load the spell ID and the next byte is the spell ID itself. In summary, change the value from #$30 to #31 at the C2/07A5 address.

Code:
from:
C2/07A4 A9 30      LDA #$30    spell ID (life 1)
to:
C2/07A4 A9 31      LDA #$31    new spell ID

About the doom spell (triggered from Condemned), it is set at C2/4F76. Again, try to change the argument for the A9 opcode to your new Doom spell ID. The animation is apparently hardcoded and independent from the spell ID, however.

Code:
C2/4F76 A9 0D      LDA #$0D    doom spell ID
Reply
#7
Thanks a bunch for your help . I ll just leave doom alone but at least I can move the life spell now . Do u have a list of the spells and the codes ?
Reply
#8
(02-20-2014, 11:17 PM)Locke0075 Wrote: Thanks a bunch for your help . I ll just leave doom alone but at least I can move the life spell now . Do u have a list of the spells and the codes ?

Most if not all of the spell specific behaviors are in bank C2. You can download a version from RPG Legion or Assasin's webpage. Both version have different commentaries. Check the link section.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Some IPS does not work with 1.0 doofenH 3 3,194 01-20-2020, 11:08 AM
Last Post: madsiur
  Make Morph work like Quick? C-Dude 7 6,093 09-16-2019, 09:40 PM
Last Post: C-Dude
  What makes Spears do double damage on Jump? Kugawattan 3 4,531 07-09-2015, 02:21 PM
Last Post: Drakkhen
  Cursor move sound, can't find it anywhere Lefe 0 1,995 12-13-2014, 12:19 PM
Last Post: Lefe
  Are the life spells and remedy and antidote hard coded ? Locke0075 5 6,013 10-19-2014, 10:38 PM
Last Post: Locke0075
  I'M BACK! Let's see if I can get a move on, eh? Royaken 6 6,787 03-08-2014, 02:28 PM
Last Post: Royaken
  How can u change how commands work ? Locke0075 3 3,863 09-09-2013, 11:40 PM
Last Post: B-Run
  I want to try to move the White Dragon to another slot so he is not on the veldt . Locke0075 5 5,833 09-04-2013, 06:55 PM
Last Post: Locke0075
  Rages and Formation - How do they work? Fenrir 2 3,394 07-02-2013, 03:53 PM
Last Post: Fenrir
  Overworld map all ocean, can't move ranatalus 2 3,563 01-28-2012, 04:59 PM
Last Post: ranatalus

Forum Jump:


Users browsing this thread: 1 Guest(s)