Advertisement
TheRetroGuy

Sonic 2 Monitor Bug Fix

Nov 24th, 2013
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;   just replace loc_19AC4 with the following in Sonic 2's disasm.
  2.  
  3. loc_19AC4:
  4.     move.l  d6,d4
  5.     addq.b  #2,d4
  6.     btst    d4,status(a0)
  7.     beq.s   loc_19AEA
  8.     cmpi.b  #2,anim(a1) ; check if in jumping/rolling animation
  9.     beq.s   loc_19ADC
  10.     cmpi.b  #$17,anim(a1)   ; check if in drowning animation
  11.     beq.s   loc_19ADC
  12.     cmpi.b  #$1A,anim(a1)   ; check if in hurt animation
  13.     beq.s   loc_19ADC
  14.     cmpi.b  #$1F,anim(a1)   ; check if in transformation animation
  15.     beq.s   loc_19ADC
  16.     move.w  #1,anim(a1) ; use walking animation
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement