The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.33 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Users browsing this thread: 2 Guest(s)
Shock/Health: Hardcoded animation?

#1
Posts: 378
Threads: 94
Thanks Received: 17
Thanks Given: 26
Joined: Jul 2013
Reputation: 11
Status
Charmed
Hi. I wish to change how Shock (or Health) works so it casts a different spell. I can easily make it so it casts anything else, but there's one problem: The animation. It stays like Shock (or Megahit) no matter what spell is chosen.

And no, the workaround of simply chainging Megahit's code won't work for me, since Madsiur gave me a patch to make the spell cast be different for an interval of levels.

Code:
Shock

C2/171A: A9 82        LDA #$82       ("Megahit" spell, which is what has Shock's data)
C2/171C: 80 02        BRA $1720      (go set that as spell/animation)

Changing 82 (which is the Megahit spell) to anything else will take on the properties of the new assigned spell, but the animation is still the same.

Help?


Step forward, spriters! We are also responsible to make hacks look new and fresh, we are no less important than code or ASM hackers! CHARGE!!
Quote  



Messages In This Thread
Shock/Health: Hardcoded animation? - by Kugawattan - 05-14-2017, 07:07 PM

Forum Jump:

Users browsing this thread: 2 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite