Switches funcionant

This commit is contained in:
2026-03-22 20:10:18 +01:00
parent 5314f13d81
commit cb03264568
5 changed files with 62 additions and 3 deletions

View File

@@ -166,8 +166,13 @@ function abad_jump()
-- Fer l'acció que correspon
if not_block_tile then
if switch_tile then
local xx= x2_check
local yy= y_check
-- Executar el switch
switches.start(abad.hab,1+xx+yy*12)
if tile1_hit_type == tiletype.switch then
xx= x1_check
end
switches.start(xx, yy)
else
abad.y=abad.y-vspace
end