Hey there. I'm trying to insert an Romi sprite (the SMB2 Flurry) and to make these sprites to work, you need to insert SubOffScreen.asm and GetDrawInfo.asm into your hack to work. Then, you have to open definition.asm and put the locations of where you inserted these patches by using !print pc (thanks Medic for that tip) and insert the .asm file into your hack. Then if your sprite uses xkas_def.asm in it's .asm file, you have to change that into definition.asm. That's exactly what i have done.
Now comes the confusing part. Once i try to add the sprite into my hack by using Sprite Tool, it gives me the following error:
Line 88 is referring to !SubOffScreen and line 184 is referring to !GetDrawInfo. As an extra thing, here's the definition.asm file:
What am i doing wrong here? It's supposted to work but it doesn't. Could i get some help?
Now comes the confusing part. Once i try to add the sprite into my hack by using Sprite Tool, it gives me the following error:
Code
inserting sprite: 1 .\sprites\flurry.cfg tmpasm.asm:88: error: Unknown command. [JSR $998090] tmpasm.asm:184: error: Unknown command. [SpriteGraphic: JSR $998000] ************ERROR************ asar reported error. Refer to temp.log and tmpasm.asm *****************************
Line 88 is referring to !SubOffScreen and line 184 is referring to !GetDrawInfo. As an extra thing, here's the definition.asm file:
Code
!GetDrawInfo = $998000 ; change this to wherever you insert GetDrawInfo.asm !SubOffScreen = $998090 ; change this to wherever you insert SubOffScreen.asm
What am i doing wrong here? It's supposted to work but it doesn't. Could i get some help?