I’ve been messing around with some ASM in the battle routines, mostly with weapon effects. Things are going pretty smoothly aside from weird behavior with the HP bar when using weapons with the “HP steal” effect.
Not wanting to reinvent the wheel, I looked into the GitHub for skill systems thinking that I’d be able to reference some code from Sol/Live to Serve/Counter/etc in order to get the HP bars to change correctly, and thankfully it looks like this folder has the source code I was looking for - however, I’m a bit lost as to where to put it in manually. I tried assembling the HPHealing.event file, it threw an error that jumpToHack wasn’t defined, so I included Hack Installation.txt at the top of it. It assembled… and overwrote the header on my (clean) ROM so it can’t even be opened. I’m guessing I’m missing some pointers somewhere that aren’t covered by just those two event files.
Could someone give me a bit of guidance as to what I’m missing to get this to assemble? I’m not planning on adding the whole skill system, just these few engine tweaks. Thanks in advance!