[NEW] 1up
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user