as you can see his Whip only has 2 frames to the anim but it ain't suppose to.
charani_Whip: dc.b $10, $3B, $3C, $3D, $FF, $FF, $FFSuppose to have 3.
It's code thus far
Richter_Whip: tst.b ($FFFFFFFE).w ; is the character Sonic? beq WhipEnd tpress C,(SonicControl) ; is A, B or C pressed? beq.w WhipEnd ; if not, branch move.b #$24,$1C(a0) ; use Spin Dash animation move.w #$C0,d0 ;$FD1 jsr (PlaySound_Special).l addq.l #4,sp ; avoid Sonic_Jump call ;move.b #2,$39(a0) ; set Spin Dash flag move.w #2,$3A(a0) WhipEnd: rtsin the video i'm using a modded Sonic_Jump code, making sure to cancel out X & Y movement
and yes i also added the anim to Touch_Enemy to kill badniks.
the first three frames i'm needing to work, (Taken from SonMapEd)
somewhat the same thing happens with his Slide, except just one quick frame
charani_slide: dc.b 3, $44, $45, $46, $FF, $FF, $FFcode
Richter_Slide: tst.b ($FFFFFFFE).w ; is sonic bne Richter_Slide_Rts ; Branch to play DASH cmpi.b #8,$1C(a0) ; is Sonic rolling? - DON"T bne.s Richter_Slide_Rts ; if no, branch btst #7,$22(a0) ; was Jump Dash flag set? bne.s Richter_Slide_Rts ; if yes, branch tpress C,(SonicControl) ; is A, B or C pressed? beq.w Richter_Slide_Rts ; if not, branch bset #7,$22(a0) ; set Jump Dash flag move.w #$A4,d0 ; play JD sound jsr (PlaySound_Special).l ; move.w #-$800,$12(a0) ; set Jump Dash speed btst #10,$2a(a0) ; is sonic left? beq.s Slide_Move ; if yes, branch move.b #$26,$20(a0) ;13, 1E ; ++ use the spring animation bset #2,$22(a0) ;#2 $22 ; ++ clear the "jumping or rolling" flag move.w #$680,d2 ; clear Y-velocity btst #6,$22(a0) ; is Sonic underwater? beq.s Richter_Slide_ChkShoes subi.w #$300,$10(a0) ; set speed to $600 Richter_Slide_ChkShoes: tst.b ($FFFFFE2E).w ; does Sonic have speed shoes? beq.s Richter_Slide_ChkOrientation ; if not, branch addi.w #$200,$10(a0) ; set speed to $B00 or $500 if underwater Richter_Slide_ChkOrientation: btst #0,$22(a0) beq.s Richter_Slide_Rts neg.w $10(a0) Slide_Move: move.b #$20,$1C(a0) move.w #$800, $12 ; clear Y-velocity Richter_Slide_Rts: rtsyes it's a modded spindash, the tst.b at the begining to make sure sonic don't use it.
what i'm wanting him to do is just change animation for the whip, so the same can be used for Crouch_whip and Jump_Whip (which in time richter's whip would use 2 seperate tiles, cues, & mappings like it is with Tails' tails but not wanting this at the moment.)