hirom header ; look for "FF6j" throughout for Japanese version patch differences. org $C212B9 ; FF6j = org $C212B4 JSR extra2 ; ----------------------- org $C232A8 ; FF6j = org $C232A3 STZ $EE ; in scratch variable, indicate no targets backed up yet JSR $123B ; True Knight and Love Token ; FF6j = JSR $1236 JSR extra1 NOP ; ----------------------- org $C2???? ; FF6j = org $C2???? extra1: JSR $57C2 ; Copies targets in $B8-$B9 to $A2-$A3 and $A4-$A5, and ; set up a couple attack properties and animation flags. ; displaced Square instruction. ; FF6j = JSR $57AA LDA $EE ; did True Knight function back up the target? BNE skip1 ; branch if so, as it's changed to bodyguard, so we don't ; need nor want to back it up here. JMP $3865 ; depending on $3415, copy targets into backup targets ; and add to "already hit targets" list, or copy backup ; targets into targets. ; FF6j = JMP $3860 skip1: RTS ; this RTS or below one unneeded if we can get these functions near each other extra2: LDA $3414 ; aka $3415 bpl skip2 ; branch if Bit 7 is clear, as that skips backing up of targets JSR $3865 ; copy targets (read: initial one, not bodyguard) into ; backup targets and add to "already hit targets" list ; FF6j = JSR $3860 ; lda #$0001 ; STA $EE ; tell caller we've done so INC $EE ; tell caller we've done so skip2: LDA $3018,X ; get bit identifier of bodyguard. displaced Square instruction. RTS