Banner
Summer C3 2020 begins in:
1 DAY, 8 HOURS, 47 MINUTES AND 53 SECONDS
Views: 835,981,692
Time:
12 users online: anoMaly666, Counterfeit, Cris2k, Firox,  Infinity,  JamesD28, JP32,  Maarfy,  N450, PokerFace, Shido,  Stivi - Guests: 44 - Bots: 105 Users: 45,595 (3,255 active)
Latest: Shido
Tip: Only use a few different kinds of enemies per level. Overdoing it can make your level feel disjointed and clunky.Not logged in.
Details for Yoshi Shell Combiner
SMW Blocks - Yoshi Shell Combiner Show random
File Name: Yoshi Shell Combiner
Added:
Authors: JamesD28
Act As: 130
Includes GFX: Yes
Description: This block can consume a Yoshi and a shell of any colour, and combine them to produce a Yoshi with the colour of the shell it was fed. It can retain the Yoshi and/or shell it was fed across sublevels, and will only accept the first Yoshi/shell it's given until a Yoshi has been spawned. It will also refuse to spawn a Yoshi if there is already a Yoshi or Baby Yoshi in the level.

Note that it will not work with the special "double hit" green shell (sprite #$DF).

Uses 1 byte of freeram.

Includes an optional exanimated AN2 file and an UberASM to control the exanimation trigger (uses custom trigger 0 by default).

Credit is unnecessary but appreciated.
Tags: colour, combine, lorom, sa-1, shell, yoshi
Rating: 4.5 (Votes: 2)
Download: Download - 4.75 KiB
18 downloads
Screenshots
Image
KevinM
Tested with: LM 3.11, GPS 1.4.1, SA-1 1.32, UberASMTool 1.4, Snes9x 1.60.
A very neat idea! The block works perfectly from what I can tell, so accepted.
During moderation I added a .mwl file with the exanimation already set up, and modified the UberASM code a bit to include a !trigger define (if you want to use something else than trigger 0) and made the trigger reset on level load so it doesn't show the wrong animation for a split second when the level loads.

Edit: one small optimization remark: you don't need to search for Yoshi by looping through all sprites, since his slot (+1) is stored at $18DF.
Posted by:  KevinM - | Link
MarioriaM
wow#smw{:TUP:}
Posted by: MarioriaM - | Link
PedroHrodrigues
This...is really creative
Posted by: PedroHrodrigues - | Link
toad64
this is a cool idea.
Posted by: toad64 - | Link

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

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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy