Users browsing this thread: 1 Guest(s)
Breakable Tools - Need Help

#17
Posts: 18
Threads: 3
Thanks Received: 0
Thanks Given: 0
Joined: Apr 2021
Reputation: 0
Status
None
(07-07-2021, 10:31 AM)Bropedio Wrote: As far as I know, the multisteal patch is not necessary to fix the bug you were encountering. All the multisteal patch does is allow multiple steals per turn. There *are* some underlying issues with reserve items that can cause issues, but I don't think those underlying issues are addressed with the multisteal patch. I'm not familiar with your tool patch, but some potential issues to test might be:

1. Edgar uses Tool, it breaks. Edgar dies, is revived, then uses an Item.
2. Edgar has thief knife equipped, breaks a Tool, then counters (and steals an item) before Tool is returned to inventory.

Again, I'm not familiar with how your Tools patch works, but if it's using the reserve item byte `32F4`, these situations may cause the Tool to be lost.

The breakable tools functionality in DP uses the routine at `$4D89` for the Tools command to put the Tool on reserve when the command is entered. Then, during the execution of the tool action, it does a series of checks to determine if the tool breaks. If it does, it dummies out the item ID for the reserve item. Unless there are measures added in other places to flush the reserve item to the add item buffer (e.g. if character dies, before proccing Steal on a counterattack, others?), it seems to me it would indeed be susceptible to reserve item interference as you describe.

Maybe a `JSR $62C7` flush somewhere in the neighborhood of `$C2/06E4` would be an apt fix to the case of a reserve item getting clobbered by getting KOd? Not sure what the best fix would be for a Mug counter though. Seems like you're familiar with some fixes to these issues already though, Bro – what's your recommendation here?

That all said, according to the documentation, DP also makes it possible to Steal both the common and rare steal from each enemy, so the Multi-Steal fix, if not already in use, should be relevant. Otherwise, if Locke is dual-wielding and Mugs something, triggering two successful Steals will clobber one of the steal attempts (and potentially display the wrong message for one of them). @PowerPanda, if you would like to share your modified `$C2/399E`, maybe we can help you figure out how to splice the Multi Steal adjustments into it?
  Find
Quote  



Messages In This Thread
Breakable Tools - Need Help - by PowerPanda - 07-05-2021, 02:36 PM
RE: Breakable Tools - Need Help - by C-Dude - 07-05-2021, 03:31 PM
RE: Breakable Tools - Need Help - by PowerPanda - 07-05-2021, 05:36 PM
RE: Breakable Tools - Need Help - by C-Dude - 07-05-2021, 06:10 PM
RE: Breakable Tools - Need Help - by SirNewtonFig - 07-05-2021, 06:50 PM
RE: Breakable Tools - Need Help - by PowerPanda - 07-05-2021, 09:42 PM
RE: Breakable Tools - Need Help - by C-Dude - 07-06-2021, 12:00 AM
RE: Breakable Tools - Need Help - by Gi Nattak - 07-06-2021, 12:41 AM
RE: Breakable Tools - Need Help - by C-Dude - 07-06-2021, 01:27 AM
RE: Breakable Tools - Need Help - by PowerPanda - 07-06-2021, 10:31 AM
RE: Breakable Tools - Need Help - by Gi Nattak - 07-06-2021, 10:45 AM
RE: Breakable Tools - Need Help - by C-Dude - 07-06-2021, 03:16 PM
RE: Breakable Tools - Need Help - by SirNewtonFig - 07-07-2021, 06:54 AM
RE: Breakable Tools - Need Help - by PowerPanda - 07-07-2021, 09:51 AM
RE: Breakable Tools - Need Help - by Bropedio - 07-07-2021, 10:31 AM
RE: Breakable Tools - Need Help - by SirNewtonFig - 07-07-2021, 01:28 PM
RE: Breakable Tools - Need Help - by Subtraction - 07-07-2021, 11:38 AM
RE: Breakable Tools - Need Help - by PowerPanda - 07-07-2021, 04:10 PM
RE: Breakable Tools - Need Help - by C-Dude - 07-07-2021, 05:33 PM
RE: Breakable Tools - Need Help - by SirNewtonFig - 07-08-2021, 08:21 AM
RE: Breakable Tools - Need Help - by SirNewtonFig - 07-08-2021, 02:16 PM
RE: Breakable Tools - Need Help - by C-Dude - 07-08-2021, 05:31 PM
RE: Breakable Tools - Need Help - by Bropedio - 07-07-2021, 05:46 PM
RE: Breakable Tools - Need Help - by C-Dude - 07-07-2021, 06:18 PM
RE: Breakable Tools - Need Help - by PowerPanda - 07-07-2021, 09:24 PM
RE: Breakable Tools - Need Help - by C-Dude - 07-08-2021, 01:40 AM
RE: Breakable Tools - Need Help - by PowerPanda - 07-08-2021, 11:14 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite