Switches funcionant
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user