Game Modification Station / Re: Throw-a-rang tweak
« on: June 06, 2011, 04:56:33 PM »Hi,
Been a long time since I've done anything in assembly, so wanted some idiot check some work of mine if anyone is willing...
well, i'm more of a moron than an idiot, but i think i'm up to the task. ;P
your code indeed looks correct, given what you're trying to do.
I seem to get the desired result, both with and without the "For what Ail's ya" patch applied.
i don't have this patch in front of me, so my above thumbs-up just pertains to the unaltered game.
However, I'm wondering if I should move 1891 down to 1893 and vice versa such that TSB proceeds the LDA, but I'm not sure it matters as long as the accumulator has $10 loaded when the branch executes.
...if the TSB precedes the LDA, then won't you fail to set the "Don't deplete from Item inventory" flag, and instead set Bit 1 of $B3 (thus clearing the "always critical" flag, which is set when == 0) because A still equals 02?
