Name: | Pot |
Author: | wiiqwertyuiop |
Added: | |
Tool: | PIXI |
Type: | Standard |
Dynamic: | No |
Disassembly: | No |
Includes GFX: | Yes |
Description: | This is a 16x16 pot sprite. Mario can stand on it, push it, and pick it up to move it. When he drops it, it will break and spawn another sprite. It must spawn on a solid tile. It uses its extra bytes to determine which sprite it should spawn (they can be set in the Add Sprite Manual dialog with the "Extension" field). The first byte (first two digits) determines the sprite number to spawn (get it either from the Add Sprites Window or from PIXI's list.txt). The next digit determines which status the sprite should spawn in (if unsure, use 1). The fourth digit is the extra bit of the sprite to spawn. 0 and 1 spawn a normal sprite with its extra bit clear or set, 2 and 3 spawn a custom sprite with its extra bit clear or set (just like the Extra Bits field from the Add Sprite Manual dialog). For example, extension 8010 would spawn vanilla sprite 80 (a key) in status 1 with its extra bit clear. 0583 would spawn custom sprite 05 in status 8 with its extra bit set. If you set the sprite number to FF, the pot will shatter without spawning anything. If the extra bit of the pot is set, then it'll randomly leave nothing behind, or spawn one of two sprites. The second sprite is defined in the extension after the first one (in the same format). For example, a pot with its extra bit set and extension 80110582 would either spawn nothing, a key in status 1 with its extra bit set, or custom sprite 05 in status 8 with its extra bit clear. Check the ASM file for customization options. The included graphics use Mario's palette and come from BlackSabbath's SMB2 tileset. |
Tags: | breakable lorom pacifist pot sa-1 shatter vase |
Comments: | 3 (jump to comments) |
Rating: |
Download
4.64 KiB | 875 downloads
Comments (3)
Thanks to extra bytes, the pot is now way more powerful and can spawn any sprite without needing to be reinserted. The original functionality of spawning nothing, a normal sprite, or a custom sprite has been moved to the extra bit, so now it can also always spawn a given sprite.