| Help debugging a sprite |
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Help debugging a sprite |
|
Pages: 1  |
|
|
|
| Posted on 2012-02-02 02:34:58 AM |
Link | Quote |
|
Broken Sprite ASM
The problem with this sprite is that it can sometimes activate even if Mario's fireball doesn't actually hit it. So far, the sprite's creator has proven unable to fix it without causing worse glitches (His fixes actually caused the sprite to crash the game when activated.)
|
|
| Posted on 2012-02-02 04:56:57 AM |
Link | Quote |
|
|
Can you be more specific? Is there a glitch when SpriteTool assembles the sprite? If so the best thing is to look at is temp.asm, which usually tells you what is up.
|
|
| Posted on 2012-02-02 05:14:04 AM |
Link | Quote |
|
|
From your description and from taking a look at the code, it seems like the coder forgot to check the high bytes of the sprite positions when checking for contact. Is the problem that fireballs ignite torches that are one screen away from them?
|
|
| Posted on 2012-02-02 12:40:36 PM |
Link | Quote |
|
|
They can ignite if you throw it on or near the same screen where the sprite is placed without it actually making contact. It can be pretty annoying during gameplay and is also a serious concern when it comes to the upcoming demo submission.
|
| Last edited on 2012-02-02 09:42:00 PM by Gamma V. |
|
|
|
|
|
| Posted on 2012-02-10 10:36:55 PM |
Link | Quote |
|
|
It works perfectly now. Thanks, Wiiqwerty.
|
|
|
Pages: 1  |
|
|
|
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Help debugging a sprite |