Banner
Views: 568,214,309
Time: 2017-09-22 10:40:20 PM
17 users online: Gloomy, o Koops, Manuel Jesus, MarioFanGamer, Mellonpizza, MercuryPenny, Nariofan101, NaroGugul, NeXuS15, Rainbow Star, SNEStilting, TheBiob, toad64, Tob, trackftv, XtraFlatt, yoshiatom - Guests: 44 - Bots: 200Users: 32,510 (1,189 active)
Latest: Cupckacke23
Tip: Don't just modify the original SMW overworld; start from scratch.Not logged in.
Details for Event Dependent Block V.1.0
SMW Blocks - Event Dependent Block V.1.0
File Name: Event Dependent Block V.1.0
Added: 2017-05-29 09:52:22 PM
Authors: RussianMan
Act As: Any
Includes GFX: No
Description: This block will act like another block when certain event is activated.

Be sure to check readme for more details.

Requested by Gi Manilla

Include SA-1 Version.
Tags: sa-1
Rating: 5.0 (Votes: 2)
Download: Download - 2.12 KiB
58 downloads
  Submit Update
MarioFanGamer
Then why didn't you tell that in the first place? You simply have to use the latter two variables instead of the first one.
Posted by: MarioFanGamer - 2017-08-27 06:43:31 PM
RussianMan
No, I meant how to use the variables in code.
Posted by: RussianMan - 2017-08-02 03:46:15 PM
MarioFanGamer
@RussionMan: Go to "Submit Update" (below the download) and upload a ZIP file with the updated blocks.
Posted by: MarioFanGamer - 2017-08-02 07:38:19 AM
RussianMan
I'm too stupid to update it... IDK how it works! Can somebody explain me how it works?
Posted by: RussianMan - 2017-07-14 05:39:34 PM
RussianMan
I know that it can be better done, but I didn't know how. I'll update block soon.
Posted by: RussianMan - 2017-06-28 02:47:25 PM
MarioFanGamer
It could have been a bit more user-frendlier if you had made a single variable which controls both, the index and the bit. In order to get the index, you just have to divide by 8 and for the bit (e.g. "x+(E>>3)"), you just have to shift bit one by the reminder of the division (e.g. "y<<(E&7)".
Basically this:
Code
!Event = $01

!EventIndex = (!Event>>3)
!EventBit = (1<<(!Event&7))


Edit: It also allows you to have a discription which states the event number too.
Posted by: MarioFanGamer - 2017-06-27 06:58:35 AM
Sonikku
It works as intended. I recall that a similar block used to exist with the classic BlockTool, but maybe my memory is just mistaken. Regardless, this block seems like it has potential to be incredibly useful.
Posted by: o Sonikku - 2017-05-29 09:54:37 PM
RussianMan
Your welcome :)
Posted by: RussianMan - 2017-04-18 04:48:11 PM
Gi Manilla
Works as intended, thanks a bunch!
Posted by: Gi Manilla - 2017-04-17 06:06:48 AM
RussianMan
It wasn't simple at the beginning, but now I understand how it works, so... it's simple to me :P
And SA-1 support is the easiest thing I did with block. Really :P
Posted by: RussianMan - 2017-04-11 12:45:26 PM
SwagAssMustafa
How'd ya know this? Was this simple?
Posted by: SwagAssMustafa - 2017-04-11 12:42:27 PM

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

Copyright © 2005 - 2017 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 27

Menu

Follow Us On

  • Facebook
  • Twitter
  • YouTube

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented