51 users online: 7 up, Alextric234,  Anorakun, bandicoot, Blizzard Buffalo, BoBTF, BootaNoBijuu, brickblock369, brium1, caiqueleo, chickaDEE Magazine, codfish1002, currykarl, DDCecil,  Deeke,  E-man38, FedoraFriday, gridatttack, h.carrell, HammerBrother, Ice Man, JP32, kamekku14,  KevinM, KiloMinimo, KungFuFurby, mathy, Maxx, MDBattleFrog, Mr Scotsman, Mr. Pixelator, Natshirt,  Ninja Boy, ResidentBigGuy, RollingRigatonis, Rykon-V73,  Scrydan,  Sinc-X, Sokobansolver, Soonstar, SpoodahBro, StackDino, Storm Kyleis, SubconYoshi,  Tahixham, TheMorganah, TickTockClock,  Tob, Ultima, WhiteYoshiEgg, Wyatt - Guests: 99 - Bots: 241 Users: 45,728 (3,354 active)
Latest user: wafle
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
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 guides, lorom, needs remoderation, sa-1
Download: Download - 1.53 KiB
Is there a way to make this work with non-vanilla platforms? I tried using a disassembly of a brown platform but it did not work.

Awesome patch btw!
Posted by: Nintubular - | Link
Super Maks 64
Because of this piece of code
LDA $1693|!addr
CMP #$96
BCS .reject

the line guided sprites will ignore line guide end tiles when using glitch setting 0
Posted by: Super Maks 64 - | Link