The Overworld Design Contest ends in
Views: 898,283,737
14 users online: buckaroodle610, camposg48, Edidoo, HammerBrother, hendog30_, ItsLightning, Koopster, MarioriaM,  MM102, nehochupechatat, Nicoke42, Sokobansolver, StackDino, Wesleyp1 - Guests: 61 - Bots: 74 Users: 50,409 (2,277 active)
Latest: aaabryan
Tip: A power-up is most useful to a player shortly after the midway point.
Not logged in.
Details for Pot
SMW Sprites - Pot Link - Show random
File Name: Pot
Authors: wiiqwertyuiop
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
Rating: No rating
Download: Download - 4.69 KiB
Converted to PIXI and added SA-1 compatibility. The original didn't have graphics, so I included some.

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.
Posted by:  Telinc1 - | Link

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy
  • sm64romhacks