Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EditorMode_FindChunk:
- lea ($FFFFA400).w,a1
- move.l $A(a0),d0
- move.w 8(a0),d1
- divu.w #$0100,d0
- mulu.w #$80,d0
- adda.w d0,a1 ; now a2 should be on the correct line of the layout that you're on
- divu.w #$0100,d1
- 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