[FIX] Canviat el nom de flow a states que es mes precis
[FIX] Ajustada posició del peu en habitació 27 [FIX] Modificat trigger_event per a que es disparen en una habitació concreta i també segons distancia sense haver de colisionar [FIX] Ending stage 1 [FIX] ELiminades llunes duplicades [NEW] Dialeg per a l'abad
This commit is contained in:
+5
-2
@@ -26,9 +26,8 @@ batvio={
|
||||
d_angle=15,
|
||||
dying=false,
|
||||
death_time=40,
|
||||
enabled=true,
|
||||
enabled=false,
|
||||
disable_reason="",
|
||||
enabled=true,
|
||||
}
|
||||
|
||||
function batvio.init()
|
||||
@@ -38,6 +37,8 @@ function batvio.init()
|
||||
end
|
||||
|
||||
function batvio.draw()
|
||||
if not batvio.enabled then return end
|
||||
|
||||
local curr_sf = surf.source()
|
||||
surf.source(tiles2)
|
||||
local scr_x, scr_y = viewp:screen_coords( batvio.x, batvio.y )
|
||||
@@ -66,5 +67,7 @@ function batvio.hit()
|
||||
end
|
||||
|
||||
function batvio.update()
|
||||
if not batvio.enabled then return end
|
||||
|
||||
batvio.step = batvio.step +1
|
||||
end
|
||||
Reference in New Issue
Block a user