07-07-2016, 10:56 PM
I'm using a system of weapon upgrades in my hack, which works fine -- but I'd also like to have each upgrade level teach the character a few spells; or in this case, Lore skills.
First off, I found this: Event command $66: Equipment check by Madsiur (https://www.ff6hacking.com/forums/showth...ment+check). It checks for a piece of equipment, then branches to a given offset. So in theory I could use it to check if the character has the weapon required.
Then I looked at How to have characters learn spells through events by Angelo (https://www.ff6hacking.com/forums/showth...hp?tid=903), which uses event command $8F for teaching a character any given magic spell. However it looks like it can't be used for learning Lore skills. Bummer.
You can probably see it now, what I want isn't really complicated; just a routine that checks your equipment for specific weapons and gives you the corresponding Lores. There are 8 weapons in total which require this routine; there are 2 others, but they are your starting equipment and thus don't need to be checked for.
Can I do this via events, or is ASM necessary? I'd like some preliminary opinions on this.
First off, I found this: Event command $66: Equipment check by Madsiur (https://www.ff6hacking.com/forums/showth...ment+check). It checks for a piece of equipment, then branches to a given offset. So in theory I could use it to check if the character has the weapon required.
Then I looked at How to have characters learn spells through events by Angelo (https://www.ff6hacking.com/forums/showth...hp?tid=903), which uses event command $8F for teaching a character any given magic spell. However it looks like it can't be used for learning Lore skills. Bummer.
You can probably see it now, what I want isn't really complicated; just a routine that checks your equipment for specific weapons and gives you the corresponding Lores. There are 8 weapons in total which require this routine; there are 2 others, but they are your starting equipment and thus don't need to be checked for.
Can I do this via events, or is ASM necessary? I'd like some preliminary opinions on this.