Users browsing this thread: 1 Guest(s)
Error in Imp affecting call monster sprite
no interactions between the patches jump out at me, and i can't say the following necessarily relates to the problem, but this:
Code:
LDA #$01
JML C2_2E75_helper
can't be doing what i intended, given the target function promptly clobbers A to preserve $B1 (a late-stage addition). :/
if $B1 holds 20h, i'll be calling some bogus pointer instead of a ($2E93, X) table entry. if it holds 00h, the toggle i'm attempting will fail.
try changing C2_2E75_helper's
LDA $B1/pha/.../pla/sta $b1 to:
ldx $b1/phx/.../plx/stx $b1 .
if we're worried about altering X's value from vanilla, we can probably edit only the first 2 instructions.
another alternative is to leave all 4 instructions untouched, change "JSR $2E75" to "JSR $2E77" (or "JSR $2E74"), and the caller's "LDA #$01" to "LDX #$02" (or "LDX #$01").
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)