Name: | Spawn Sprites in Yoshi's Mouth v1.1 |
Author: | Djief |
Added: | |
Version History: | View |
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. v1.1 Fixed a bug where you could spawn a null item by pressing R the frame after Y |
Tags: | l and r lorom sa-1 yoshi |
Comments: | 10 (jump to comments) |
Rating: |
Download
1.20 KiB | 209 downloads
Comments (10)
Oh oops my bad, yes it was.
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.
Awesome uberasm
Activate Bowser Scene in Yoshi's Mouth
I didn't actually try that one but feel free... lol...
Activate Bowser Scene in Yoshi's Mouth
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.
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.
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).