Compare commits

..

1 Commits

Author SHA1 Message Date
a7755cf223
Show blocked moves as an animated X.
I am not convinced the sprite is very good. This could help the player learn what pulls were considered before proposing the ones that would occur if the player pulled the tongue. Or it's just visual noise that sucks. Anyway, this correctly captures what the blocked considered moves were, and we can decide whether to use it or not.
2023-01-02 14:46:59 -08:00

View File

@ -1927,23 +1927,24 @@ function persist:init0()
cartdata("ulimate_lizard_total_destruction_0_1") cartdata("ulimate_lizard_total_destruction_0_1")
self.init0 = self.read self.init0 = self.read
self:read() self:read()
self.ready=true
end end
function persist:read() function persist:read()
self.ready=false
local m = dget(0) == 0 local m = dget(0) == 0
self.music = m self.music = m
if m then music_on() else music_off() end if m then music_on() else music_off() end
self.max_level = dget(1) self.max_level = dget(1)
self.recent_level = dget(2) self.recent_level = dget(2)
self.ready=true
end end
function persist:wipe() function persist:wipe()
self.ready=false
for i=0,64 do for i=0,64 do
dset(i,0) dset(i,0)
end end
self:read() self:read()
self.ready=true
end end
function persist:lvlstart() function persist:lvlstart()