Language…
8 users online:  AmperSam, Cristian Cardoso, CroNo, Dan2point5, Hayashi Neru, JeepySol, JPhanto, random_box - Guests: 257 - Bots: 318
Users: 64,795 (2,377 active)
Latest user: mathew

Piranha Plants and Venus Fire Traps v1.1

SMW Sprites → Piranha Plants and Venus Fire Traps v1.1

This file is obsolete. The latest version is Piranha Plants and Venus Fire Traps v1.1. For other versions, check the version history.

Submission Details

Name: Piranha Plants and Venus Fire Traps v1.1
Author: imamelia
Added:
Version History: View
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: Yes
Includes GFX: No
Description: This is a Piranha Plant or Venus Fire Trap...BUT! it can act like any one you choose. Green, red, short-stemmed, sideways, upside-down, spitting 1 fireball, spitting 2 fireballs, you name it. (Well, okay, it doesn't include novelties like the Shower Venus or whatever it's called.) All you have to do is change the extra property bytes. You can basically get 48 different sprites out of this thing, although only 24 .cfg files are included because of the extra bit.

Oh, and I also included a disassembly of the original Piranha Plant. (Both of them are combined with the extra bit.) The graphics routine isn't really disassembled, though; I did code that part myself.

Note that the GFX come with PIXI.

GAMMA V UPDATE: Renamed the .cfg files based on the plants they represent since pva(number).cfg would not be helpful for users who don't know much about extra property bytes

RUSSIANMAN UPDATE: Now PIXI compatible


changelog:
v1.1
-----
Fixed extended_y/x_speed usage. It wasn't really a bug, Pixi had these defines swapped back in 1.1.0.
Tags: enemy lorom piranha plant plant sa-1 venus
Comments: 30 (jump to comments)
Rating:
5.0 (1 rating)
No rating
Download 14.15 KiB | 1,032 downloads

Screenshots

View all

Comments (30)

EnzoLipe1 Link
People, the gfx page is glitched, someone can please update?, thx
Thiago678 Link
Originally posted by SMWFan2019
They do the function correctly, but the GFX of it is glitchy. What can I do? QUICK HELP I'M WORKING IN MY HACK


Thiago678
GFX:Here.
Thiago678 Link
GFX:Here.
Thiago678 Link
I will send a GFX.
Thiago678 Link
Cool!
Vinyl Link
The GFX is glitchy, there's no bin in the .zip.
mdg32 Link
The GFX of of the original is glitchy.
TheCrazyBuzzyBeetle Link
They do the function correctly, but the GFX of it is glitchy. What can I do? QUICK HELP I'M WORKING IN MY HACK
 Major Flare Link
Made several tests using PIXI 1.2.6. Everything worked fine on my part, so... accepted.
Dark Prince Link
very cool!
DogWorldps From older version: Piranha Plants and Venus Fire Traps Link
Someone knows how to find a boss type hp you win the level what you help
DogWorldps From older version: Piranha Plants and Venus Fire Traps Link
Someone knows how to find a boss type hp you damage the level what you help
DogWorldps From older version: Piranha Plants and Venus Fire Traps Link
Someone knows how to find a boss type hp you damage the level what you help
Mogu94 From older version: Piranha Plants and Venus Fire Traps Link
For people having trouble with the Venus Fire Traps not shooting fireballs 100% correctly, here's the fix (at least for now unless this is updated later) that was brought to my attention by Darolac and the fix by Telinc1 so credit him if you want someone to credit.

Look for these two lines of code near the bottom of piranha_venus_all.asm:
STA !extended_y_speed,y
STA !extended_x_speed,y

change the first one to "STA !extended_x_speed,y" and the second to "STA !extended_y_speed,y" without the quotation marks.
jeyson-jasze From older version: Piranha Plants and Venus Fire Traps Link
alguien podria enviarme un tutorial de como poder instalarlo!!
SpoodahBro From older version: Piranha Plants and Venus Fire Traps Link
This is great~! However, it seems that I'm having the same problem cnpkg is having. The Venus Fire Traps are shooting backwards. How do I fix it?
cnpkg_tv From older version: Piranha Plants and Venus Fire Traps Link
And how to fix it?
Tattletale From older version: Piranha Plants and Venus Fire Traps Link
Pixi 1.1.0 had borked defines for !extended_y and !extended_x speed, so the sprite was coded like this:

LDY $02
LDA FireXSpeeds,y
LDY $00
STA !extended_y_speed,y
LDY $02
LDA FireYSpeeds,y
LDY $00
STA !extended_x_speed,y

Now that pixi 1.2.1 fixes the defines, this sprite has to be fixed as well. I also recommend porting that whole piece of code to use SpawnExtended.
cnpkg_tv From older version: Piranha Plants and Venus Fire Traps Link
I'm having a problem: when a venus fire trap looks down, it fires backwards. Plz help me!!! 😧😧😧
juaneergameer From older version: Piranha Plants and Venus Fire Traps Link
*when Mario looks around
- Oh shit!!!!!
 Blind Devil From older version: Piranha Plants and Venus Fire Traps Link
There's this table in the ASM file:

Code
StemPalette:			; the palette of the stem tiles
db $0A,$08,$0A,$08


These values are in YXPPCCCT format.
buggy789 From older version: Piranha Plants and Venus Fire Traps Link
How do I make the stems green for those with red heads?
It's a stupid question, I know...
 RussianMan From older version: Piranha Plants and Venus Fire Traps Link
I wasn't included in original...
mish1 From older version: Piranha Plants and Venus Fire Traps Link
I'm kinda new but did you forget to include the ExGFX?
 MarioFanGamer From older version: Piranha Plants and Venus Fire Traps Link
This is one of the sprites which can really profit from Extra Bytes. In fact, since imamelia is the creator of Tessera, a sprite tool supporting extra bytes, it isn't too much of a surprise that the extra property bytes are used for substitues for it.
 RussianMan From older version: Piranha Plants and Venus Fire Traps Link
So many sprites that handled by 1 ASM file saved my time! Those are really usefull sprites. Classic Piranha Plant disassembly can be usefull for those who don't want to use patch to fix original sprite. There are a few issues thought
1) If you "hug" pipe with sideway piranha/venus, you'll always loose yoshi, and venus will always come out of pipe. If it's not red, it won't appear ONLY when you standing on pipe with it.
2) Issue mentioned by LX5 (I actually didn't tested it, but I didn't really added anything, so \'_'/)
3) They appear out of turn block? That looks strange, I mean it won't be seen in normal gameplay and it looks like it's from SMB, but... why?

What's changed:
Now they are PIXI compatible with SA-1 support. (I'm pretty sure it was compatible at the beginning, but still, shared routines and SA-1 support are cool)
Mogu94 From older version: Piranha Plants and Venus Fire Traps Link
What is this about incsrc subroutinedefsx.asm? It's not included..
Do I actually need it or nah and if I don't, why is it written in the .asm file as a file to include in the insertion process?
Starman From older version: Piranha Plants and Venus Fire Traps Link
Very useful!
lx5 From older version: Piranha Plants and Venus Fire Traps Link
I found a minor bug in the code.

It doesn't update the RAM $1779, so if you modify it with another extended sprite it may go behind layer 1 and won't hurt Mario.
Gamma V From older version: Piranha Plants and Venus Fire Traps Link
The .cfg files should be should probably be labeled for what type of plant they represent, rather than just as pva(insert number here).cfg. The current naming makes it too confusing for the average user to determine which sprite is which and find the one they want.