- batman room door, key, scene
This commit is contained in:
14
trigger.lua
14
trigger.lua
@@ -32,3 +32,17 @@ function triggers:escena_abad_corfes()
|
||||
start_scene(scenes.abad_corfes)
|
||||
remove_actor(self)
|
||||
end
|
||||
|
||||
function triggers:escena_habitacio_batman()
|
||||
if abad.objects.clau_premiere~=nil and abad.objects.clau_elalien~=nil then
|
||||
switches.start(0,0)
|
||||
abad.objects.clau_premiere=nil
|
||||
abad.objects.clau_elalien=nil
|
||||
remove_actor(self)
|
||||
else
|
||||
if batman.habitacio_porta_intro==nil then
|
||||
start_scene(scenes.habitacio_batman)
|
||||
batman.habitacio_porta_intro=true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user