Name: | Extended Sprite Despawn Range Fix |
Authors: | HammerBrother, Isikoro |
Added: | |
Version History: | View |
Tool: | Asar |
Requires Free Space: | Yes |
Bug Fix: | Yes |
Featured: | No |
Description: | This patch modifies the despawn handling and OAM of most of the extended sprites so that they can safely go offscreen without issues: -They disappear if the top-left part of the 16x16 bounding box of the sprite touches the left and top edges of the screen. This is very noticeable (and annoying) with the Hammer Brother's hammer if the Hammer Brother is near the top of the screen. Plus this patch lets you modify the boundaries (or range) on where they despawn. -Some extended sprites like the Torpedo Ted arm wraps the screen due to simply writing #$00 or #$02 to $0420 as a whole byte rather than using bitwise operations to only write on bit 1 (%000000S0). This all the extended sprite except the unused one (extended sprite $09). I do not know what this was intended for. This patch requires the Extended No Sprite Tile Limits v3.1 patch.(Not required if More Extended Sprites patch is applied.) if the More Extended Sprites patch is applied, the effects of this patch will not apply to the Lava splash.(because it is treated as a Minor Sprites). |
Tags: | despawn extended sprites lorom sa-1 |
Comments: | 11 (jump to comments) |
Download
7.53 KiB | 314 downloads
Comments (11)
- Lunar Magic v3.40
- SA-1 Pack v1.40
- Asar v1.81
- Extended No Sprite Tile Limits v3.1
- More Extended Sprites
- BSNES v115
Mostly an update for More Extended Sprites alongside coming with the Wiggler Flower Fix now.For me, rewriting it to 38 worked since that's the default tile Custom Powerups rewrites the water bubbles to.
It seems to be caused by a bug in the beginning of the WaterBubble: code regarding stack.
The crash can easily be seen by entering the layer 3 water on level 102.
- Lunar Magic v3.33
- SA-1 Pack v1.40
- Asar 1.81
- PIXI v1.32
- Extended No Sprite Tile Limits v3.1
- Extended No Sprite Tile Limits v4.0 (hey, if there already is a new version waiting, why don't I go and check it with)
- Wiggler's flower fix
- BSNES v115
Edit: Added proper capitalisation and lorom tag.It's certainly a very useful patch given that extended sprites in SMW are rather weird and their despawn range doesn't help. The only issues I've noticed is that the smoke sprite is broken in Reznor fights (they don't always appear if at all) as well as how Wiggler flowers don't spawn, though the latter is because of a bug in SMW and can be easily fixed with this patch (it would be nice if you included this fix with this patch, though).