[WIP] Lluita contra jefes. Casi implementat se serebro de la bestia
This commit is contained in:
@@ -2,6 +2,7 @@ stages = {}
|
||||
|
||||
stages.boss_ready = false
|
||||
stages.boss_loaded = false
|
||||
boss = nil
|
||||
|
||||
function stages.stage1_init()
|
||||
mapa = stage1_mapa
|
||||
@@ -25,8 +26,8 @@ function stages.stage1_init()
|
||||
elalien.init()
|
||||
table.insert(actors,elalien)
|
||||
|
||||
imp.init()
|
||||
table.insert(actors,imp)
|
||||
boss = imp.new(55,4,3)
|
||||
table.insert( actors, boss )
|
||||
|
||||
--batman
|
||||
|
||||
@@ -131,6 +132,7 @@ function stages.stage1_boss()
|
||||
-- actors_in_room_backup_and_remove(stage1_boss_mapa.r0.r,stage1_boss_mapa.r1.r)
|
||||
viewp:fixed({l=8,r=44,u=48,d=0})
|
||||
stages.boss_loaded = true
|
||||
boss:fight()
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user