Language…
22 users online: akawo, Alex No,  AmperSam, CharlieUltra, CroNo, DanMario24YT, Fullcannon, Gemini0, Golden Yoshi, Gulaschko, Hammerer, kurtistrydiz,  MarioFanGamer, MarkVD100, Maw, Metal-Yoshi94, mtheordinarygamer, NewPointless, Spedinja, steelsburg, superbot12, Tulip Time Scholarship Games - Guests: 275 - Bots: 336
Users: 64,795 (2,370 active)
Latest user: mathew

Level ender teleports instead of triggering exit?

Hi

I was pretty sure Romi'ST's Level Ender would allow me to teleport to an other level instead of finishing the level, but it turns out that no!

Is there a possibility to make it teleport to a level instead of triggering the exit?

ASM of the level ender
Super Mario Pants World
Luigi's Lost Levels
New Super Mario Pants World
Luigi's Lost Levels 2 - Back With A Revenge
Luigi's Lost Levels 3 - Electrik Boogaloo
VLDC12 - 72HoKaizo#1
Taken from the Ultimate Noob Boss:

Code
DoExit:
if !ExitType == 0
	LDA #$FF
	STA $1493|!Base2
	DEC $13C6|!Base2 
	LDA #!ExitSong
	STA $1DFB|!Base2	; Store sound and exit level.
endif
if !ExitType == 1
	LDA #$01
	STA $141C|!Base2
	LDA #$FF	
	STA $1493|!Base2
	LDA #!ExitSong
	STA $1DFB|!Base2	; Store sound and exit level.
endif
if !ExitType == 2
	LDA #$06	; Really simple ..
	STA $71		; .. and my first ASM code.
	STZ $89
	STZ $88		; Teleport.
endif


Exit Types:
0 = end level, normal exit
1 = end level, secret exit
2 = teleport to screen exit

Compare the codes with the level ender and replace the appropiate parts.
Looks like the part you need to replace is lines 49-65. If you put the entirety of Ramon's code in there, you'll also need to define !ExitType by sticking a line containing !ExitType = 0 (or 1, or 2) anywhere before it.