Banner
Views: 865,421,124
Time:
12 users online: containercore, dogemaster, Gammed Z, Gulaschko,  JamesD28,  KevinM, LicaSkelecario, NerDose, Taja, tcdw, TheMorganah, UTF - Guests: 37 - Bots: 59 Users: 47,949 (2,095 active)
Latest: nanzi99er
Tip: Verify that your hack's BPS patch is functioning correctly before submitting it.Not logged in.
Details for Spawn Sprites in Yoshi's Mouth
UberASM Repository - Spawn Sprites in Yoshi's Mouth Link - Show random
File Name: Spawn Sprites in Yoshi's Mouth
Added:
Authors: Djief
Type: Level
Includes GFX: No
Includes Hijack: No
Featured: No
Description: Press L or R to spawn an item in Yoshi's mouth. Works with shells of different colours, Goombas, Springs, P-Switches and Keys. Did not test every other sprites but I don't think anything else works properly. File includes settings at the top to select which sprite to use, timer for Yoshi's swallowing, and sounds.

Based on code posted by Thomas here

Edited to add sounds options.

Tags: l and r, lorom, sa-1, yoshi
Rating: No rating
Download: Download - 1.19 KiB
61 downloads
Screenshots
Image
Djief
Originally posted by SammmUuU
Could I spawn either a Grinder or a Bowser statue fireball?

Awesome uberasm


As I noted above I have not tested everything but I think the game initializes everything as acting like a shell when you spawn them or spit them with yoshi so most sprites just go bouncing like shells and whatnot when you spit them, there is probably a way to spawn more stuff but it would be more complicated than this simple code, feel free to try those though as I have not tried them and surprisingly goombas work somehow.
Posted by: Djief - | Link
SammmUuU
Could I spawn either a Grinder or a Bowser statue fireball?

Awesome uberasm
Posted by: SammmUuU - | Link
Djief
Originally posted by Ayami
Finally

Activate Bowser Scene in Yoshi's Mouth


I didn't actually try that one but feel free... lol...
Posted by: Djief - | Link
Ayami
Finally

Activate Bowser Scene in Yoshi's Mouth
Posted by:  Ayami - | Link
Djief
Originally posted by KevinM

I can guess your issue was that you set the Disco Shell flag (same for $C2 for the P-Switch) before calling $07F7D2, which resets the tables to 0.


That was most likely what I did, thanks again for the info.
Posted by: Djief - | Link
KevinM
Originally posted by Djief
Oh thanks, did not know about $18DF and I swear I tried the disco shell thing but I guess I did something wrong back then, still learning. Learned a few more things checking your edits.

I can guess your issue was that you set the Disco Shell flag (same for $C2 for the P-Switch) before calling $07F7D2, which resets the tables to 0.

About the Yoshi slot thing, it's just a nitpick of mine, don't worry about it. It's also not very well known that that address exists in the first place.
Posted by:  KevinM - | Link
Djief
Oh thanks, did not know about $18DF and I swear I tried the disco shell thing but I guess I did something wrong back then, still learning. Learned a few more things checking your edits.
Posted by: Djief - | Link
KevinM
Tested with: Lunar Magic 3.11, UberASM Tool 1.4, SA-1 1.32, Snes9x 1.60. Works fine, so accepted.
During moderation I added SA-1 support, and made some small edits:
- Fixed error that caused the P-Switch to be gold and always behave as blue.
- Optimized finding Yoshi's slot by using $18DF instead of looping through all sprites.
- Removed "LDA #$01 : STA !15D0,y" since it was useless (and $15D0 gets cleared by $07F7D2 anyway).
Also added a few more options:
- Added an option for the SFX port.
- Added a Disco Shell option.
- Added an option to choose if to spawn the sprite only when riding Yoshi or always (default = only when riding him).
Posted by:  KevinM - | 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