13 users online: Baleaf, Bumpty, crocodileman94, dashlet, drkrdnk, EvanEMV, Fausateeeee, FYRE150, GrandMasterLynx, LadiesMan217,  NopeContest, OEO6, S.U - Guests: 60 - Bots: 475
Users: 55,604 (2,449 active)
Latest user: marawilson

Memory-Based Conditional Map16 Blocks (Key Locks)

SMW Blocks → Memory-Based Conditional Map16 Blocks (Key Locks)

Submission Details

Name: Memory-Based Conditional Map16 Blocks (Key Locks)
Authors: HammerBrother, MarioFanGamer
Act As: various
Includes GFX: Yes
Description: These blocks pack contains blocks that when triggered, will not respawn when the player leaves and returns to the level. Unlike using LM's conditional map 16 alone, this allows you to have up to 128 flags per level, and the absolute limit of a total of 2048 for the entire game. Blocks included:

-Key blocks
-Locked gates (solid barrier that disappear when unlocked). These include 16x16, 16x32, 16x48, 32x16 , 48x16, and 32x32 -block gates
-Locked doors (Credit goes to MarioFanGamer for his door blocks). These include a normal and small.

This is good for exploration-base hacks that involve backtracking.
Tags: door exploration key locked lorom memory sa-1
Comments: 8 (jump to comments)
0.0 (0 ratings)
No rating
Download 210.63 KiB | 431 downloads


View all

Comments (8)

zacmario Link
Awesomesauce, I was thinking something this would be cool. Now here it is.
 Major Flare Link
Tested with: Lunar Magic 3.11, GPS 1.4.1, Asar 1.71, UberASMTool 1.4, ZMZ 1.08 and SA-1 1.32 (phew)

Everything is in order. I recommend you try and make this readme a bit more simple for users to read, but otherwise, the submission is fine.
HammerBrother Author Link
I got this inspiration from Zelda and a hack made by Blind Devil's Mushroom Kingdom - Under Crimson Skies hack, as well as the livestream “lets hack” (I can't remember the name) that was posted on SMWC's youtube channel (I think).

This one is a lot different than those two (the video was based on Blind Devil's method):

-It does not use duplicate map16 blocks, meaning you don't have copies of the same block on your map16 editor for each flag. How does the block know which flag it's associated then? Well, after making these routines, it's possible for the blocks to check their position (in $C800 index, not XY coordinates to save space) in the level, and scans against a list of positions and what item number (index) on the list to figure out what flag number it's associated with. Note that this does means that you have to continue editing the list as you make levels, as the list is not being part of LM.

-Obviously, this have more than just 16x32 shaped gate barriers.
Klug Link
The most accurate key lock blocks EVER!
HammerBrother Author Link
Originally posted by Hayashi Neru
ok, thanks

Make sure you read the readme, LM before a few days ago had an issue with SA-1 that CM16 RAM doesn’t work on accurate emulators (on sa-1 mode, you cannot RAM banks $7E and $7F).
Hayashi Neru Link
Originally posted by HammerBrother
Originally posted by Hayashi Neru
No SA-1?

Ack! Forgot to add that tag. Yes, it works with Sa-1

ok, thanks
HammerBrother Author Link
Originally posted by Hayashi Neru
No SA-1?

Ack! Forgot to add that tag. Yes, it works with Sa-1
Hayashi Neru Link
No SA-1?