Views: 926,768,661
23 users online: anonimzwx,  bebn legg, BootaNoBijuu, Brutapode89, bucko,  Deeke, Dobosco, EvanPowell, Faro, GlitchyR-01, IanBoy, isaix, ModernKiwi,  NopeContest, RichardDS90, Sammmoo, Sapphire, solgaleo35, StackDino,  Teows, Tronics, turtle182, Wolfguy423 - Guests: 90 - Bots: 102 Users: 51,800 (2,051 active)
Latest: Carancool
Tip: In all types of Kaizo hacks, glitch abuse is encouraged. Check the SMW Glitch List by clicking here.
Not logged in.
Details for Independent Teleport Blocks v1.1
SMW Blocks - Independent Teleport Blocks v1.1 Link - 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.5 (Votes: 4)
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
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 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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