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

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

John Nameless
2025 Egg Hunter
2025 Egg Hunter
Posts: 116
Joined: Mon Jul 10, 2023 11:40 pm
Flair: vidio gaem

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

Postby John Nameless » Tue Jan 09, 2024 4:45 pm


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

Last edited by John Nameless on Fri Jan 19, 2024 9:21 am, edited 4 times in total.

mariobrigade2018
Rocky Wrench
Rocky Wrench
Posts: 613
Joined: Wed May 24, 2023 7:00 pm
Flair: OK in coding who dreams of making a Mario game
Pronouns: he/him

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

Postby mariobrigade2018 » Tue Jan 09, 2024 9:43 pm

Nice! Would it be possible for this to make Cyan Yoshi shoot ice cubes as well?

John Nameless
2025 Egg Hunter
2025 Egg Hunter
Posts: 116
Joined: Mon Jul 10, 2023 11:40 pm
Flair: vidio gaem

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

Postby John Nameless » Tue Jan 09, 2024 10:58 pm

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!


Return to “LunaLua”

Who is online

Users browsing this forum: CEEJAYYY, Locus, Semrush [Bot] and 6 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari