Banner
Views: 837,789,377
Time:
32 users online:  Amomario123w,  Anorakun, Arobam, Aurel509, BlackJack21, brium1, Brolencho, bsolt,  BTD6_maker, Cartesius, Centipede, Coolmario, Digraced,  E-man38,  Eevee, Fern4nDitto, FrozenQuills, Gabriel12102673, giu, h.carrell, imamelia,  Koopster, LadiesMan217, LuhLSG,  Major Flare, Murphmario, OhMuramatsu, pisca_mb, Samuel Zuccati, Scxarvz, SubconsciousEye, Zandro - Guests: 75 - Bots: 55 Users: 45,806 (3,390 active)
Latest: WALUIGI6969420
Not logged in.
Custom block not working as intended
Forum Index - SMW Hacking - SMW Hacking Help - Custom block not working as intended
Pages: « 1 »
I'm trying to create a custom block that spawns a sprite if Mario hits the block at full speed, and hurts him if Mario hits the block any slower. The "hurt Mario" function seems to work, but I can't get the "spawn sprite" function to work. I don't actually know what Mario's maximum X speed when running is, but I've tested different "greater than or equal to", "equal to", "less than" values and none of them seem to work; the block always hurts Mario even when hitting it at full speed. The only exception I could make was when making the block act as 25, and this caused Mario to go through the block without interaction when at full speed.

Here is the code, if there's something wrong with it then please let me know.
Block code
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - Custom block not working as intended

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