[WIP] Treballant en el jefe. Per fi torna a ser jugable! Ara a pels detalls
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
stages = {}
|
||||
|
||||
stages.boss_ready = false
|
||||
stages.boss_finished = false
|
||||
stages.boss_loaded = false
|
||||
stages.boss_hot_points = {}
|
||||
boss = nil
|
||||
|
||||
function stages.stage1_init()
|
||||
@@ -105,7 +105,7 @@ function stages.stage1_init()
|
||||
-- table.insert(actors,trigger.new(61,8,32,triggers.teleport_d))
|
||||
|
||||
local abad_x, abad_y = coords.room_to_world ( 10, 4, 3 )
|
||||
local abad_x, abad_y = coords.room_to_world ( 54, 8, 3 )
|
||||
-- local abad_x, abad_y = coords.room_to_world ( 54, 8, 3 )
|
||||
abad:move(abad_x, abad_y)
|
||||
abad_make_safe( true )
|
||||
|
||||
@@ -144,6 +144,7 @@ end
|
||||
|
||||
function stages.stage1_boss_ready()
|
||||
stages.boss_ready = true
|
||||
stages.boss_finished = false
|
||||
end
|
||||
|
||||
function stages.stage1_boss()
|
||||
@@ -159,6 +160,21 @@ function stages.stage1_boss()
|
||||
end
|
||||
end
|
||||
|
||||
function stages.stage1_boss_finished()
|
||||
stages.boss_ready = true
|
||||
stages.boss_finished = true
|
||||
end
|
||||
|
||||
function stages.stage1_boss_end()
|
||||
mapa_restore_backup()
|
||||
set_actors_enabled_by_room(true, "boss", stage1_boss_mapa.r0.r, stage1_boss_mapa.r1.r)
|
||||
remove_actor(boss)
|
||||
stages.boss_ready = false
|
||||
stages.boss_finished = false
|
||||
stages.boss_loaded = false
|
||||
viewp:free_move()
|
||||
end
|
||||
|
||||
stage1_mapa={
|
||||
-- 1
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user