wrap blocks.
Its pretty based on the jhonwil blocks, Horizontal Level Wrap and the vertical level wrap generators. But a few differences:
johnwil:
-johnwil's wrap blocks require vertical level to have two screen wide and it doesn't work for sprites, mine however use 1 screen wide and and works with the sprites (only for those who interact objects). It also has a horizontal level wrap that connects the top and bottom.
sprite generators:
-vertical level generator
-- this block does not cancel mario's x speed after he warp when he hit the screen. And the warp boundaries and one block closer than the generator. Also fix a bug that if you are crouching and drop the carryable item somewere on the left side of the screen, it wouldn't be far enough to wrap and mario can't grab the item because the boundry to mario is closer than the sprite.
-horizontal level wrap
-- doesn't require mario to be far off screen in order to be warp, meaning the warp boundries are closer and easier to get to the bottom of the screen from the top, It also fix the glitch that mario can go into the wall (leftwards) and die if mario is above the screen and goes into it as small mario/big croutching mario.
Neat thing; If you set the horizontal level to "no vertical or horizontal scroll" and use both vertical and horizontal wrap blocks on the first screen, you can make a "pacman" parody couple with some enemies and a sprite generator that ends the level with certain coins collected.
Give thanks to RPG hacker for working on Asar.