- el alien and premiere now reset correctly

- gorro and peu camera should not appear again once picked up items
This commit is contained in:
2022-11-02 20:00:53 +01:00
parent 47172426ad
commit 0502e9601b
4 changed files with 18 additions and 6 deletions

View File

@@ -1,9 +1,15 @@
elalien={hab=66,x=24,y=24,flip=true,goup=true,frame=8,stairscooldown=0,wait=0,step=0,anim={8,9,8,10},bb={x=4,y=0,w=8,h=16},scene_intro=false,scene_object=false}
function elalien.init()
elalien.hit=elalien.hit
elalien.x=24
elalien.y=24
elalien.frame=8
elalien.stairscooldown=0
elalien.wait=0
elalien.step=0
elalien.update=elalien.update_normal
elalien.draw=elalien.draw
elalien.scene_intro=false
elalien.scene_object=false
local habs={66,56,59,53}
elalien.hab=habs[1+rnd(4)]
end