View Single Post
Old July 27th, 2010 (4:42 AM).
metapod23's Avatar
metapod23 metapod23 is offline
Hardened Trainer
Join Date: Mar 2009
Gender: Male
Nature: Timid
Posts: 673
Originally Posted by Mr View Post
Well I inserted a sprite, but broke the game completely. I'm not sure what happened exactly, but I'll try it again after some sleep. I used the first sprite as a template. That means that the number increases by one each time instead of two, right?

EDIT: Nope... I did it again. Did everything the same except for using the first sprite and not the second. The game still doens't get past the intro. If anyone knows what may cause this, please help.
I'm not sure what the problem is. What offsets did you use for each table?
If you're using a 16x32 sprite, then the data for the first frame pointer should look like:

00 00 93 08 00 01 00 00
if 930000 is the offset for the first frame. The next line of code would be:

00 01 93 08 00 01 00 00
And then:

00 02 93 08 00 01 00 00
If you want, you can send me a copy of the patch you have and I'll try to take a look when I can. I've inserted over 40 sprites with this method, so it's almost second nature to me at this point.

Just tell me which offsets you used for all the tables.
Reply With Quote