Banner
Views: 864,542,063
Time:
11 users online: Alex_X8,  Atari2.0, codfish1002, Gurggz,  Linkdeadx2, Mirann, NewPointless, orka-bln, PokerFace,  Stivi, TheMorganah - Guests: 52 - Bots: 195 Users: 47,863 (2,059 active)
Latest: PokeMan_Nick
Tip: You can draw more event tiles under the default Layer 2 Event tiles on the overworld for custom use!Not logged in.
Details for Line Guide Acts-Like Fix
SMW Patches - Line Guide Acts-Like Fix Show random
File Name: Line Guide Acts-Like Fix
Added:
Version History: View
Authors: imamelia, worldpeace
Tool: Asar
Requires Free Space: Yes
Bug Fix: Yes
Featured: No
Description: This patch makes the line guide processsing routine use the "acts like" setting instead of the Map16 number. This makes it possible to use ExGFX for line guides without worrying about where the tiles are in the Map16 pages.

-----
worldpeace's note:
The vanilla code of line guide interaction sometimes tries to restore the sprite's position from backup RAM, even if they aren't properly stored. This results in teleportation of line-guided sprites. (Like other vanilla glitches, this has been regarded as a feature and utilized for vanilla tricks!)

The previous version assumed the correctness of Nintendo's code however, and accessed some invalid "acts like" values as a result. It caused game freezing in some emulators (e.g. higan v092); for those who're interested, the patch got the map16 value outside of the level area and repeated a loop infinitely.

My version fixes the freezing issue, as well as giving some extra option regarding behaviors of line guide. You can choose the frequency of odd behaviors, which are the following:
1) Map16 tiles in the page 1 (or acting like one) work as "line guide end".
2) Those tiles let line-guided sprites teleport to certain position.

(These behaviors have already existed, and can be rarely observed in vanilla; only when the line-guided sprite is at a specific position which is decided by the map16 page of interacting tiles.)


This version also supports SA-1.
Tags: line-guided, lorom, physics, sa-1
Download: Download - 1.53 KiB
81 downloads
MarioFanGamer
Originally posted by MikeyGTD
This seems to work well but it doesn't allow for switching between 'act as' via, for example, on/off switches. I think this patch would be greatly improved by including this functionality if possible.

I think custom line-guides would be better off as a separate patch.
Posted by:  MarioFanGamer - | Link
MikeyGTD
This seems to work well but it doesn't allow for switching between 'act as' via, for example, on/off switches. I think this patch would be greatly improved by including this functionality if possible.
Posted by: MikeyGTD - | Link
JamesD28
Tested with:

• Lunar Magic 3.11
• SA-1 Pack v1.32
• Asar v1.71
• Snes9x v1.60

Works as intended, and the previous issues seem to have been fixed, so, update accepted.
Posted by:  JamesD28 - | Link

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