[WIP] Treballant en el jefe. Organitzant codi (Ha deixat de funcionar quasi tot)
[FIX] Els warps reutilitzats mantenien l'estat anterior [NEW] Funcio distancia(a, b)
This commit is contained in:
@@ -110,10 +110,11 @@ function fireball.update()
|
||||
if collision(fireball,abad) then
|
||||
if fireball.power==1 and abad.update~=abad_state_crouch then
|
||||
abad_hurt(1)
|
||||
fireball.hab=-1
|
||||
elseif fireball.power==2 then
|
||||
abad_hurt(2)
|
||||
fireball.hab=-1
|
||||
end
|
||||
fireball.hab=-1
|
||||
end
|
||||
else
|
||||
fireball.hab=-1
|
||||
|
||||
Reference in New Issue
Block a user