[NEW] 1up

This commit is contained in:
2026-05-24 19:46:49 +02:00
parent 1456f3addc
commit 43013f9c4b
5 changed files with 83 additions and 1 deletions
+6
View File
@@ -87,6 +87,12 @@ function triggers:open_door()
end
end
function triggers:add_1up()
local x, y = coords.room_to_world(38, 8, 1)
table.insert( actors, one_up.new(38, x, y, 1, 0, true) )
triggers.open_door(self)
end
function triggers:escena_abad_inici()
start_scene(scenes.abad_inici)
remove_actor(self)