Views: 858,158,277
11 users online: AnasMario130, Fullcannon, Kentakiman,  KevinM, MecchaSugoiTntn, MissBree, monkey03297, Para_0, Segment1Zone2, snailsenpai, yoshiatom - Guests: 90 - Bots: 122 Users: 47,408 (2,262 active)
Latest: MissBree
Tip: Keep track of ALL patches and hex edits in case you need to transfer your data to a new ROM. It's definitely worth the trouble.Not logged in.
Details for Independent Teleport Blocks v1.1
SMW Blocks - Independent Teleport Blocks v1.1 Show random
File Name: Independent Teleport Blocks v1.1
Authors: MolSno
Act As: 25
Includes GFX: No
Description: These blocks will teleport Mario to a specified secondary entrance, independent of any screen exits within the level. Exits are defined in a table within the block itself, so only one copy of each block needs to be inserted.

There are two variants included: a regular block and a door block. Additionally, a patch which stores the current level number to $010B, which is necessary for these blocks to function, is included in case the user hasn't inserted any other patches with that functionality.

This version contains a bugfix that enables functionality for large warp tables.
Tags: door, lorom, teleport, warp
Rating: 4.6 (Votes: 5)
Download: Download - 3.44 KiB
Originally posted by underway
Seem to not work with bigger secondary exit numbers (i.e. 14FF), chose a lower number and it worked.

The reason for this is that in order for LM to not break existing resources and probably it's own code as well it had to use the unused bits to fit the secondary exit number and couldn't rearrange the bits.

This means bits 9-12 of the secondary exit number had to be moved to the unused bits 13-16 which gives you 0xA0FF for the 0x14FF secondary entrance.

And just because why not, here's a quick function that should put the real number into the format LM expects:
function secondary_exit(num) = num&0x1FF|((num&0x1E00)<<3)

LDA #secondary_exit($14FF)

should turn into

Posted by: TheBiob - | Link
Seem to not work with bigger secondary exit numbers (i.e. 14FF), chose a lower number and it worked.
Posted by:  underway - | Link
omg this block;

Posted by: Ralshi02 - | Link
So I tried using these, and I THINK I'm following for directions right, but... it's taking me to level 0 anyway.

GPS changes 010B to 610B, so I sa-1 converted your patch as well, but it is STILL not working right...
Posted by: Raggy - | 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


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy