Language…
6 users online: Black Goku, CourtlyHades296, K_Dog, msx2plus, Soul, Teaser - Guests: 96 - Bots: 396
Users: 55,698 (2,349 active)
Latest user: Cheezykitty

Line Guide Acts-Like Fix

SMW Patches → Line Guide Acts-Like Fix

Submission Details

Name: Line Guide Acts-Like Fix
Authors: imamelia, worldpeace
Added:
Version History: View
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
Comments: 6 (jump to comments)
Download 1.53 KiB | 404 downloads

Comments (6)

 MarioFanGamer Link
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.
MikeyGTD Link
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.
 JamesD28 Link
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.
DasFueller From older version: Line Guide Acts-Like Fix Link
Unfortunately mode $01 is definitely not "true vanilla". It changes the behaviour of sprites in a level I already created.

When I choose $00, is there any block that acts like a "line guide end"?

Nintubular From older version: Line Guide Acts-Like Fix Link
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!
ASMagician Maks From older version: Line Guide Acts-Like Fix Link
Because of this piece of code
Code
LDA $1693|!addr
CMP #$96
BCS .reject

the line guided sprites will ignore line guide end tiles when using glitch setting 0