Banner
Views: 865,155,181
Time:
21 users online:  bebn legg, Bruno_Peixoto, codfish1002, Dark Prince, DesvaroNicky, edgar, Eduard, Gammed Z, Gurggz,  KevinM, M9wA, Mario is the best, mikairanutshack, ModernKiwi, Natsuz2, NewPointless,  Noivern, PSYotta, Samuel Zuccati,  Teows, Wariuzzo - Guests: 44 - Bots: 62 Users: 47,907 (2,072 active)
Latest: DesvaroNicky
Tip: This thread contains data you might find helpful when coding.Not logged in.
Making the discoshell block go poof
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Making the discoshell block go poof
Pages: « 1 » Link
I love the disco block by Nowieso & swunsh_ found here but i want to make the block go poof so it only has a one time use. I'm horrible at coding, so all i did was add
Code
	%create_smoke()
	%erase_block()

at the end of the code; this made it so when the shell touched the disco shell block, it made the block you're standing on disappear.

This is hilarious, but not what i was hoping for. I was just wondering how the code could be edited to destroy the disco block itself. Any help would be appreciated.

EDIT: i figured it out

Code
	%sprite_block_position()
	%erase_block()
	%glitter()
	LDA #!sfx
	STA !sfx_bank|!addr 


--------------------
who knew it would take 3 years for me to learn how to insert a custom block into lunar magic
Would you mind posting your exact code?
Originally posted by Darolac
Would you mind posting your exact code?

i realize now that posting only the part i added is unhelpful, but i fixed the problem by taking the code from the rex manipulation block that destroys it and slapping it on the end of the disco block code

--------------------
who knew it would take 3 years for me to learn how to insert a custom block into lunar magic
Pages: « 1 » Link
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Making the discoshell block go poof

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