Users browsing this thread: 1 Guest(s)
Boomerang & Sniper 75%

#8
Posts: 3,971
Threads: 279
Thanks Received: 237
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
You need to remove the "$35BB" and "$38FD" from the lines and just leave the "branch1" and "branch2" like my example above. You also need to leave the "org $C238FE" above the LDA $3EF8,Y.

Edit: Just use this:

Code:
hirom

org $C238FD
branch1:

org $C235BB
branch2:

org $C238FE

LDA $3EF9,Y
BPL branch1     ; (Exit if not target not Floating)
INC $BC       ; (Add 1 to damage incrementor; this keeps the behavior the same for cases where you attack
              ; a flying enemy with a command other than fight, but you can move it down with the others
              ; if you don't care about that.
LDA $B5
CMP #$00
BNE branch1     ; (Exit if command not Fight?)
INC $BC
INC $BC
INC $BC       ; (Add another 3 to damage incrementor)
LDA #$08
STA $B5       ; (Store Throw for *purposes of animation*)
LDA $B7       ; (get graphic index)
DEC
STA $B6       ; (undo earlier adjustment, save as Throw parameter)
JMP branch2    ; (Update a previous entry in ($76) animation buffer
              ;                       with data in $B4 - $B7)
  Find
Quote  
[-] The following 1 user says Thank You to madsiur for this post:
  • doofenH (02-18-2020)



Messages In This Thread
Boomerang & Sniper 75% - by doofenH - 02-17-2020, 11:11 AM
RE: Boomerang & Sniper 75% - by Subtraction - 02-18-2020, 04:07 AM
RE: Boomerang & Sniper 75% - by doofenH - 02-18-2020, 09:28 AM
RE: Boomerang & Sniper 75% - by madsiur - 02-18-2020, 09:34 AM
RE: Boomerang & Sniper 75% - by doofenH - 02-18-2020, 09:52 AM
RE: Boomerang & Sniper 75% - by madsiur - 02-18-2020, 09:58 AM
RE: Boomerang & Sniper 75% - by doofenH - 02-18-2020, 10:19 AM
RE: Boomerang & Sniper 75% - by madsiur - 02-18-2020, 10:27 AM
RE: Boomerang & Sniper 75% - by doofenH - 02-18-2020, 10:44 AM
RE: Boomerang & Sniper 75% - by madsiur - 02-18-2020, 01:28 PM
RE: Boomerang & Sniper 75% - by Subtraction - 02-20-2020, 04:00 AM
RE: Boomerang & Sniper 75% - by doofenH - 02-19-2020, 01:16 AM
RE: Boomerang & Sniper 75% - by madsiur - 02-19-2020, 01:27 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite