Advertisement
Guest User

Untitled

a guest
Oct 4th, 2015
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. EditorMode_FindChunk:
  2. lea ($FFFFA400).w,a1
  3. move.l $A(a0),d0
  4. move.w 8(a0),d1
  5.  
  6. divu.w #$0100,d0
  7. mulu.w #$80,d0
  8. adda.w d0,a1 ; now a2 should be on the correct line of the layout that you're on
  9.  
  10. divu.w #$0100,d1
  11. adda.w d1,a1 ; now a2 should contain the address of the chunk Sonic is on! ^_^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement