Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in SMW Hacking. |
User | Post |
spel werdz rite Posts: 1048/1796 |
You are est |
SnifflySquirrel Posts: 57/80 |
Here ya go.
Since I'm lazy, I basically just copied and pasted from the "ASM logbook" I'm keeping for my hack. I did include a trace of the code that loads the data, though, so you can see how my hack works in context (sort of). I haven't bothered to research the behavior of this sprite further because the movement data is all I was interested in at the time. If anything is missing, unclear, or otherwise borked, please let me know. Incidentally, I believe that RAM locations $9A-$9D are used for level layout/sprite collision, somehow (haven't really looked into it much). What I did notice is that shortly after the code trace included in my link, the code JSLs to a routine that seems to be getting the address of the block underneath the sprite. (Look for writes to $6B-$70; they almost inevitably store level layout addresses... $6B is the long address to the low byte, $6E the address of the high byte.) [Off-topic] Why does my copy of 65816ref.hlp claim that opcode BC is LDY absolute indexed Y? |
spel werdz rite Posts: 1041/1796 |
I'd love to see your notes!
And you said that you already did it on a per-level basis? That's even cooler! Please tell us your knowledge! |
SnifflySquirrel Posts: 56/80 |
Check out this thread I posted a while ago.
In my hack I've patched the block train data loading routine to allow for paths to be assigned by overworld level number. If anyone's interested, I can post some of my notes on how I did this. |
spel werdz rite Posts: 1032/1796 |
Since sprite hacking has been the new "high" in SMW, I thought we could give this a go around.
I found a thread in the '03 Acmlm's Board (refer below) as a general start-up of where it could be (we miss you Jonwill). I'm going to look at this myself, but I am not much of a sprite hacker (IM RETARDED) but I though I'd talk about it to anyone who wants to look at it also. I don't know why, but it won't upload as a link, so I'll just wright it out. Originally posted by jonwill of the '03 Board |