Language…
6 users online:  Anorakun, Cappaque, Daniel_mi_bb_fiu_fiu, FuSoYa, mariofreak4500, snadge - Guests: 187 - Bots: 87
Users: 70,574 (2,468 active)
Latest user: NAgaz

Teleport on No Enemies

UberASM Repository → Teleport on No Enemies

Submission Details

Name: Teleport on No Enemies
Author: Thomas
Added:
Version History: View
Type: Level
Includes GFX: No
Includes Hijack: No
Featured: No
Description: A simple code which teleports the player when all on-screen enemies are defeated. Includes options for how to determine where to teleport the player to, as well as for ignoring certain sprites.
Tags: lorom sa-1 teleport
Comments: 16 (jump to comments)
Rating:
5.0 (2 ratings)
No rating
Download 1.32 KiB | 1,104 downloads

Screenshots

Comments (16)

Link13 Link
I don't think this works with DKCR Style Hud patch... #smrpg{gasp}
 RussianMan Link
Tested With:
-Lunar Magic 3.40
-UberASM 1.6
-bsnes v115
-SA-1 1.40
-PIXI 1.40

Fixed a bug where the code doesn't actually check wether the sprite is custom or not. For instance, if you added custom sprite 00 to the exclusion list, it would also exclude vanilla sprite 00. If you added a vanilla sprite 00 to the list, it would exclude ANY custom sprite that has acts like set to 00. I didn't notice any other issues.
 Thomas Author From older version: Teleport on No Enemies Link
Originally posted by yoshi3706
Hello, I've found a bug, when you are fighting a enemy and a item like a mushroom or flower fall from item box and you dont catch it, then you kill the enemies the teleport will not trigger :(

Ended up deciding to submit a rewrite of this patch with a fix for this bug (among other improvements): https://www.smwcentral.net/?p=section&a=details&id=33852
yoshi3706 From older version: Teleport on No Enemies Link
thank you! awesome work :)
yoshi3706 From older version: Teleport on No Enemies Link
Hello, I've found a bug, when you are fighting a enemy and a item like a mushroom or flower fall from item box and you dont catch it, then you kill the enemies the teleport will not trigger :(
 Donut From older version: Teleport on No Enemies Link
Added missing tags.

Tested with:
-Lunar Magic 3.31
-UberASM Tool 1.4
-bsnes v115
-SA-1 1.40
El Cuh Fermin From older version: Teleport on No Enemies Link
Originally posted by Dominicentek
Does it work with bosses?


Yes, just like Rilla Roo uses this code for Larry Boss, etc. in The 12 Magic Orbs
Dominicentek From older version: Teleport on No Enemies Link
Does it work with bosses?
Koop the Koopa From older version: Teleport on No Enemies Link
Just like 100 rooms of enemies
PedroHrodrigues From older version: Teleport on No Enemies Link
This seems realy good
MilkyMooer From older version: Teleport on No Enemies Link
It's good for battle/boss rooms. Me likey.
 Thomas Author From older version: Teleport on No Enemies Link
Originally posted by dtothefourth
There seems to be a bug in the patch.
The first line under main should be LDX #!sprite_slots-1 instead of LDA.b #!sprite_slots-1 so it was not looping through sprite slots properly.

How the heck did that happen without anyone noticing? 🤔
Updated with a quick fix.
dtothefourth From older version: Teleport on No Enemies Link
Originally posted by duders
It's automatically teleporting me even when there are still sprites on screen, is there something else that needs to be done besides just inserting the asm?


There seems to be a bug in the patch.
The first line under main should be LDX #!sprite_slots-1 instead of LDA.b #!sprite_slots-1 so it was not looping through sprite slots properly.
duders From older version: Teleport on No Enemies Link
It's automatically teleporting me even when there are still sprites on screen, is there something else that needs to be done besides just inserting the asm?
Mischievous Marc From older version: Teleport on No Enemies Link
How do I use it?
 Major Flare From older version: Teleport on No Enemies Link
Tested with: Lunar Magic 3.04, ZMZ 1.08, UberASMTool 1.4 (with Asar 1.71) and SA-1 1.32.

Nothing else to add. Accepted.