Fix restart anim

This commit is contained in:
Pyrex 2022-12-30 22:45:34 -08:00
parent 003c6b5dc3
commit 59774303e4

View File

@ -778,7 +778,7 @@ function player:draw()
-- vanish colors
local vanish=split"13,15,14,5,4,12,2,3,9,10"
for i,ilc in ipairs(vanish) do
if (vanish_level>i/#vanish) pal(ilc,1)
if (vanish_level>i/#vanish) pal(ilc,5)
end
if (self.fall_frame>3) local zc=@0x5f00&0xf0 for i=0x5f00,0x5f0c,4 do poke4(i,0x0101.0101) end poke(0x5f00,zc|0x01)