- Implementat el teleport desde l'habitació secreta ;)

This commit is contained in:
2023-01-12 20:03:41 +01:00
parent 64abefddfa
commit 8019332de1
3 changed files with 25 additions and 3 deletions

View File

@@ -68,3 +68,22 @@ function triggers:escena_habitacio_batman()
end
end
end
function triggers:teleport_a()
abad.teleport=true
playsnd(audio_hit)
cls(14)
imp.reset()
abad.hab=67
abad.x=24
end
function triggers:teleport_b()
if abad.teleport then
playsnd(audio_hit)
cls(14)
imp.reset()
abad.hab=14
abad.x=16
end
end