Views: 714,132,812
11 users online: adakkusu-san, chickaDEE Magazine, Conal, o Decoy Blimp, MercuryPenny, Mrmariobros222, NeXuS15, Pokopo708, Ultima, Wazzuper25, o Yoshi Master - Guests: 36 - Bots: 126Users: 37,291 (1,617 active)
Latest: jpegsarebad
Not logged in.
Details for Horizontal/Vertical Level Wrap
UberASM Repository - Horizontal/Vertical Level Wrap
File Name: Horizontal/Vertical Level Wrap
Authors: Thomas
Type: Level
Includes GFX: No
Includes Hijack: Yes
Featured: No
Description: This contains two level routines to wrap Mario/sprites when they cross certain edges of the screen.

One of the routines handles horizontal level wrapping (which links the top and bottom of the screen), while the other handles vertical level wrapping (which links the left and right edges). The latter requires a small additional patch in order to work correctly.

Tester's note: do not use the horizontal wrap with the vertical scroll enabled.
Tags: sa-1
Rating: 5.0 (Votes: 2)
Download: Download - 2.18 KiB
Its great so far. I noticed that mario falls off Platforms (f.e. Timed lifts) while vertical wrapping. Other than that super nice!
Posted by: FragOnCrack -
Shiny Ninetales
That small additional patch shouldn't make conflict with anything, right?
Posted by: o Shiny Ninetales -
Originally posted by Niiiiiiiiiiko
Non SA-1 Ver? :(

It's already non-SA-1 compatible. The SA-1 tag just means it can work with either.
Posted by: Thomas -
oh nice, we have vertical level wrapping that isn't janky now!
Posted by: Darkbloom -
Non SA-1 Ver? :(
Posted by: Niiiiiiiiiiko -
Noticed an error on the sprite handling:

	LDX #$0B

There are 12 sprite slots in vanilla SMW, but for SA-1, there is 22 sprite slots. Change LDX #$0B to LDX.b #!sprite_slots-1 so it is truly a hybrid. The define !sprite_slots is located inside other/macro_library.asm

Best combined with the Level Constrain patch to prevent potential clipping into blocks depending on the Y position of the bottom that teleports the player to the top in horizontal levels if you need the warp at such position. This happened on the original horizontal level wrap sprite generator, where you position yourself so close to the bottom warp as small mario or big crouching mario and can go under the blocks before teleporting. Another thing I recommend is using BMI/BPL instead of BCC/BCS should the user want the teleport barrier be past the top/left of the area.
Posted by: GreenHammerBro -
Shiny Ninetales
smw hacking is saved

Posted by: o Shiny Ninetales -
I've been waiting for this for a loooonnnggg time!!
Posted by: Romano338 -

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2019 - SMW Central
Legal Information - Privacy Policy - Link To Us

Total queries: 28


Follow Us On

  • Facebook
  • Twitter
  • YouTube


  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • MFGG
  • Gaming Reinvented