Page 1 of 1

(Request) SMW Jumping Fire Piranha Plant

Posted: Thu Oct 03, 2019 11:10 pm
by NoMoreStars
Just a simple NPC request for the rare Jumping Fire Piranha Plant (listed as Fire P-Pakkun on the Mario Wiki) variant found in Super Mario World in which it shoots two fireballs that fall left and right after the Piranha Plant is launched out of it's pipe. I'd attempt to code it myself but I don't think I feel 100% comfortable coding my own custom NPC's just yet. Just a simple challenge to anyone else who may be up to the task!

Re: (Request) SMW Jumping Fire Piranha Plant

Posted: Fri Oct 04, 2019 6:54 am
by Emral
I have a super old piece of code that adds this functionality on top of the basegame plant. It shoots a wart bubble resprited to look like a fire ball.
https://hastebin.com/xutukufelo.rb
Dunno if it suffices but it was a vastly easier thing to do 3 years ago than to program the weird interaction where a piranha loses its hitbox once it sinks into a pipe from scratch lol.

Re: (Request) SMW Jumping Fire Piranha Plant

Posted: Sun Oct 06, 2019 2:20 pm
by NoMoreStars
Thanks a lot Enjl. I'm guessing that it won't be that hard to have normal and fire jumping piranha plants in the same level with a simple check on NPC direction. I'll have to test that out later for myself.