Yeah, I know. Necropost, but I hope this saves some peoples’ time in the future.
I’ve had some woes getting this to work properly, but it’s a neat little addition to my game now. Thank you!
I would like to add two things:
This needs to be be 16 aligned. It may be able to be 4 aligned, but I only tried 16 because I’m lazy. Took me a while to figure this out.
The asm references the regular item table. If yours is repointed, you should change the item table references. Mine did some funky stuff until I did this, like it worked fine except it would either refuse to work for spears, or it simply refused to increase a spear weapon level. It would increase a different weapon level despite having a spear equipped too.
Regardless, thanks again! I would have tons of trouble getting weapon levels to be balanced correctly in my next project without this.