phy tdc lda $fe ; any Golem/Dog block occurred? beq selEquAnims ; branch if not jsr fictional_sanitized_22FB ; simulate normal attack hit determination ; Carry Flag: 0 = hit, 1 = miss bcc noEvasionAnim ; branch if attack would've otherwise hit, if not ; for Golem/Dog LDA $3EE5,Y ; Check for Image status BIT #$04 BNE noEvasionAnim ; branch if possessed. attack would've otherwise ; missed, but sans an equipment animation. selEquAnims: ; pha LDA $11A2 LSR BCS addEquAnims ; Branch if physical attack INY ; if it was magical, read from 3CE5,old_Y instead addEquAnims: ; pla lda $fe ; Golem/Dog blockage flags. yeah, this instruction ; 3 times, in an otherwise optimized routine. the ; need to increment Y but also to check Image above ; using original Y painted me into a corner. ora $3ce4,y ; put equipment miss animation flags alongside ; any Golem/Dog flag bra chooseEligAnim noEvasionAnim: lda $fe ; Golem/Dog blockage flags chooseEligAnim: jsr $522a ; Pick a random bit that is set ...