Banner
Views: 932,615,609
Time:
13 users online: Azula16, Bensalot, Captain 3, dirty, Gulaschko, lx5, Nint, Romano338, RPG Hacker, S.U, syogayaki, Triple P, umbreon3209 - Guests: 56 - Bots: 112 Users: 52,058 (2,106 active)
Latest: RavenBeak46
Tip: Try running your hack on various SNES emulators to see if anything is incompatible.
Not logged in.
Details for One-Shot Fire Flower Block
Waiting SMW Blocks - One-Shot Fire Flower Block Link - Show random
File Name: One-Shot Fire Flower Block
Submitted: by  JamesD28
Authors: JamesD28
Act As: 025 or 130
Includes GFX: Yes
Description: This is a block that when collected, will award Fire Power that can be used for a single shot. Collecting multiple blocks will give the player the respective amount of shots. When the player's shots have been used up, they will revert to big Mario.

See the asm file for some customization options. Requires a few small helper patches (inserted with the block) to handle the fireball counter.

Requested by KatMakes.
Tags: fire flower, fireball, lorom, one shot, sa-1
Rating: No rating
Download: Download - 1.90 KiB
22 downloads
Screenshots
Previous 
 Next
Saela
Couldn't find anything so far, but I'll just use a backup rom for now. I'll let you know if I figure it out! Thank you.
Posted by: Saela - | Link
Saela
I inserted this and the block itself works perfectly fine, but whenever I go into any other level the game crashes as soon as I take damage after having collected a mushroom. I can die normally or hit munchers or anything without issues, the crash only occurs if I collected a mushroom before. Of course I don't know why exactly this happens and there are many other patches I have inserted into my hack but I just thought I should let you know. Definitely has something to do with this because the crashes only happen when this block is inserted.
Posted by: Saela - | Link
JamesD28
I'm unable to recreate that issue on a clean ROM. I recommend that you go through all your patches and check to see if there are any which are using the same freeRAM as the block, or if there are any hijack conflicts - look for all instances of "ORG" in your patch asms, and then check the address after it. If it matches any of the hijacks in the Block asm or is a similar address then there's probably a conflict.
Posted by:  JamesD28 - | Link
HammerBrother
 JamesD28 Oh:
Code
ORG $00FEB5
autoclean JML CheckShots		; Checks the number of shots left when shooting a fireball, and handles reverting.
NOP

ORG $00F5F9
autoclean dl ZeroShots			; Zero the number of shots when taking damage.

ORG $00F60A
autoclean JML ZeroShotsDeath	; Zero the number of shots when dying.
NOP

freecode

CheckShots:
LDA #$06
STA $1DFC|!addr		; Restore code.

LDA !freeRAM
BEQ End
DEC !freeRAM
BNE End
LDA #$01
STA $19
if !RevertSFX
LDA #!RevertSFX
STA !RevertSFXBank|!addr
endif

End:
JML $00FEBA|!bank

ZeroShots:
STZ !freeRAM
JML $028008|!bank		; Zero freeram then return to normal routine.

ZeroShotsDeath:
LDA #$09
STA $1DFB|!addr
STZ !freeRAM
JML $00F60F|!bank		; Zero freeram then restore original code.


Very interesting, you can combine things. I have a feeling that some can be converted to uberasm tool code.
Posted by: HammerBrother - | Link
JamesD28
Originally posted by HammerBrother
Did you forgot the patch? I don't see a readme or links to the required resources.

"Requires a few small helper patches (inserted with the block)"
Posted by:  JamesD28 - | Link
HammerBrother
Did you forgot the patch? I don't see a readme or links to the required resources.
Posted by: HammerBrother - | Link

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

Copyright © 2005 - 2021 - 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
  • sm64romhacks