For my magic weapons, I piggybacked off of the pre-existing system used for the Lunar Ruins weapons; it casts the spell normally, using the wielder's Intellect or Spirit. I hadn't realized the same thing was possible in the SNES version though on reflection I can see how you could edit the battle code so that certain weapons replace their physical attack with a spell. My version only allows for spells after the physical attack as yet.
This patch is complete through to the end of the Fabul battles, yeah. If it was just the Mt. Hobs stuff that was new it would hardly be worth releasing!
I managed to make Dwarven Bread into a Protect-casting item, which turned out to require some minor edits to these routines:
$06C1FC: Item usability routine (Field)
-Check if Item ID is 0xE6 (Dwarven Bread) - if not in dungeon, usable
-Check if Item ID 0xE5 (Emergency Exit) - if in dungeon, usable
-Because of these hardcoded checks, these two items can be considered usable regardless of what their item data says, which can crash the game if you remove their field effects and attempt to use them
-If not one of those two, calls:
$06CE7C: finds item's entry in Item Data
-Checks item's general data to determine if it is usable in the field
$08C562:
Applying Protect and Shell buffs:
-If at least one hit was successful:
-If spell ID =/= 0x5 (Protect), increase MDF by 3; otherwise increase DEF by 5
A good use for an item called "Dwarven Bread" considering you'd expect it to make the eater more "hardy" so to speak, a good call.
As to Magic Weapons, that's how mine works as well. It does the normal attack, then 25% of the time it will use the weapon's assigned magic, drawn from the normal magic casting routine. I would like to include some Wisdom/Will set up though. I wrote it right into Fight's routine.
Good to have confirmation on the length of the patch, now back to it!
Rosa's now Level 15, so though I didn't get the Ghoul Ring, it seems a good time to move on.
Pyro, eh? Was not expecting that! Did deal some respectable damage.
Firaga?! Ouch! Well, everyone survived, but still... ouch.
Explode thankfully did not do too much damage. Now onto the mop-up...
Phew, and dealt with. The bombs were taken care of with Sleep, an Antarctic Wind and general attacks from thereon out.
And I am out of Mt. Hobbs, onto Fabul!
Ah, the Steel Quill is more easily obtainable Gatlinger's...
A Silk Robe from Fabul, that's a new item.
Yang has reached Level 14 where he gains another Attack Multiplier which seems like a good place to stop grinding.
Interesting new formations here, The Gatlingers work well rather than a... I think a Sahagin and the two Bombs with the next squadron of soldiers was a nice touch.
Grr... TOSE... there used to be some special code that prevented Edward from Hiding during the Fabul fights... looks like TOSE never caught that or something.
Oh, the Captains stay and fight? Good to know.
Wow, a Treant?! That is actually notable. They are not easy foes for this point. Thankfully they have a crippling weakness to Fire.
And killed by the Treant because I wasn't expecting a Stop counter which just happened to hit Yang... back to the start of this then.
Wow, barely survived. Because of TOSE Edward went hiding and pretty much got Yang killed, during the Bombs and Soldiers battle. I used an item and tried to persevere through it, Cecil was down to 200 HP or so, but the battle was won. The Treant fight started and I immediately brought Edward back from Hiding where the Treant killed him, Cecil used a Bomb Fragment, then he hit Cecil and Cecil was down to 77 HP. After that I hit him one more time and he fell. I knew the next fight would not be easy, well it was 6 Domovoi but Cecil outsped them all and used the Zeus' Rage the next fight was terrifying to look at, but after an Hourglass, Hi-Potion, and Antarctic Wind, I used Dark Wave, and finished off the Captain and General in piecemeal. Cecil managed to win three battles all on his own purely through the use of items. Phew, that was intense!
And with that the first part of the game is over.
Cecil 20, Rosa 17, Yang 14, Edward 18, Rydia 19
Next will be Mysidia and Mt. Ordeals.