Page 1 of 1

SMM2 Red Yoshi - Breathe fire to your foes, red shell free!

Posted: Tue Jan 09, 2024 4:45 pm
by John Nameless

Here's a neat little script that turns the Red Yoshi to act more like it's SMM2 counterpart!

Sporting an ability to shoot a fireball without the need of a red shell & even be able to shoot 2 extra more fireballs per shot whenever you have the fire flower!


CONFIGURABLE SETTINGS: show
*fireFlowerBalls* - Should you be able to shoot 3 fireballs simultaneously whenever you have the fire flower?
*initCooldown* - How long should the initial cooldown after shooting a fireball be?



Image

HOW TO IMPLEMENT: show
1. Copy/Cut/Move & Paste the all the files of the yoshi script into the level/episode folder of your choice.
2. Open up the luna.lua file of said chosen level/episode.
3.Go to the top of that script file to copy & paste this line:

local fireYoshi = require("fireYoshi")

4. Save that luna.lua file & open up the level & hop on a red yoshi & press either run buttons to shoot a fireball!

Image
DOWNLOAD:
https://drive.google.com/file/d/1lOt6gt ... sp=sharing


Re: SMM2 Red Yoshi - Breathe fire at your foes, red shell free!

Posted: Tue Jan 09, 2024 9:43 pm
by mariobrigade2018
Nice! Would it be possible for this to make Cyan Yoshi shoot ice cubes as well?

Re: SMM2 Red Yoshi - Breathe fire at your foes, red shell free!

Posted: Tue Jan 09, 2024 10:58 pm
by John Nameless
mariobrigade2018 wrote:
Tue Jan 09, 2024 9:43 pm
Nice! Would it be possible for this to make Cyan Yoshi shoot ice cubes as well?
Oh that would be REALLY easy to implement actually!
Since all you'd have to do is just change the id of what yoshi you should be on & what ID of the NPC is going to be spat out!