Language…
7 users online:  Nanako, RoboticMouse, steelsburg,  Teyla, TheClassicOne88, Tulip Time Scholarship Games, Zavok - Guests: 115 - Bots: 209
Users: 64,665 (2,405 active)
Latest user: DragonDog

Move Layer 3 to Subscreen Fix v1.1

SMW Patches → Move Layer 3 to Subscreen Fix v1.1

Submission Details

Name: Move Layer 3 to Subscreen Fix v1.1
Authors: Kevin, Lui
Added:
Version History: View
Tool: Asar
Requires Free Space: Yes
Bug Fix: Yes
Featured: No
Description: This lets you move layer 3 to subscreen via Lunar Magic without actually affecting the layer 3 status bar, which will always remain on top of everything, as usual. Note that this may be incompatible with other patches that hijack IRQ.

Kevin's update: now it works with recent SA-1 versions.

Mod edit (2024-02-03): Changed the default freeram define, as what was there before wasn't actually free.
Tags: layer 3 lorom sa-1
Comments: 19 (jump to comments)
Download 946 bytes | 1,144 downloads

Screenshots

Comments (19)

 Maarfy Link
A fine update for a fine patch, accepted.

Tested with Asar 1.81, Lunar Magic 3.33, SA-1 1.40, Snes9x 1.59.2, BSNES Accuracy 0.7.1.
Anas Link
Any way this could be made compatible with the status toggle patch? It would be super cool since I won’t have to disable the whole status bar in levels with L3 set to subscreen. Judging by the code, there is one hijack conflict between those patches. Otherwise, without any other IRQ patches, it does work as intended and M7 bosses even work fine!
Dark Prince Link
Originally posted by Kevin
What? No it doesn't

doesn't seem to be my case, i just redownloaded it and l1,2 and 3 are being disabled for some weird reason
 Kevin Author Link
Probably some hijack conflict. It works fine on its own
Dark Prince Link
Sadly seems to break ! blocks on the lastest sa1 version
otherwise quite nice
 Kevin Author Link
What? No it doesn't
wisys From older version: Move Layer 3 to Subscreen Fix Link
Originally posted by Anas
Wait, I think I made some misinfo. 'load_overworld.asm' is unnecessary and 'level_init.asm' goes in GM14. I'll edit my post.


Can confirm the updated changes to your original post work, so thank you for your fix. #smrpg{y}#smrpg{<3}

It works mostly on my end but I ended up reverting because I had some unusual behavior with b4vwf message boxes where the message box animations won't render, or render is delayed for some reason. Wonder if there's a way I can fix that, otherwise that's probably just a proprietary issue with my hack.
Anas From older version: Move Layer 3 to Subscreen Fix Link
Originally posted by Skewer
This patch (nor the fix provided in the comments) does not seem to work with SA-1 1.40:

- Layer3 image does not respond to Lunar Magic command to send to subscreen; it stays over the background.


Wait, I think I made some misinfo. 'load_overworld.asm' is unnecessary and 'level_init.asm' goes in GM14. I'll edit my post.
Skewer From older version: Move Layer 3 to Subscreen Fix Link
This patch (nor the fix provided in the comments) does not seem to work with SA-1 1.40:

- Layer3 image does not respond to Lunar Magic command to send to subscreen; it stays over the background.
Freitasth From older version: Move Layer 3 to Subscreen Fix Link
This seriously needs some remoderation. Only works on lorom.
Anas From older version: Move Layer 3 to Subscreen Fix Link
Doesn't work with SA-1 because of the new IRQ system SA-1 Pack offers. Here's a fix by LX5 for the BLDC base ROM: https://cdn.discordapp.com/attachments/334352091340472340/719467821557612585/l3fix.7z

However, it requires UberASMTool for this. Insert level_init.asm in gamemode 14 or as level ASM. And of course, apply l3fix.asm with Asar.

Edit: The UberASM for this fix visually gets rid of the M7 tilemaps (Reznor's wheel, Iggy's platform...) in the M7 boss rooms for some reason... :(
Hayashi Neru From older version: Move Layer 3 to Subscreen Fix Link
This patch is not compatible Sprite status bar patch
 Blind Devil From older version: Move Layer 3 to Subscreen Fix Link
Tested with Asar v1.71, SNES9x v1.57, in both normal and SA-1 ROMs.

This patch is up to current standards, thus it requires no remoderation.
Klug From older version: Move Layer 3 to Subscreen Fix Link
Why the heck dose the patch has the "needs remoderation" tag anyway?! This patch seems to work fine (even on SA-1)!

Yeah, I might ask the mods to remove that said tag.
 Koopster From older version: Move Layer 3 to Subscreen Fix Link
Why's this not marked as a bugfix :thonkers:
 Hooded Edge From older version: Move Layer 3 to Subscreen Fix Link
This does somewhat help, but it glitches the level, causing layer 1 to not be shown.
trillian From older version: Move Layer 3 to Subscreen Fix Link
Why is the freeram named !free_dp when none of the instructions using it need direct page and it only saves 1 cycle per instruction (saving 3 cycles in NMI and 1 in IRQ)?
 Yoshi Master From older version: Move Layer 3 to Subscreen Fix Link
I have tested this on my Super Everdrive. This patch works great on real hardware. Thanks for this patch!
Vitor Vilela From older version: Move Layer 3 to Subscreen Fix Link
Untested on real hardware, but I didn't see any glitch or cutoff on higan accuracy, so approved for now.

Added sa-1 tag and added automatic check for SA-1 instead of enabling manually.