chipakpaka
Member
i'm writing a script to toggle certain flags off once the first emerald is collected.
here is the script in question:
local function changeactionspd()
for p in players.iterate
if p.mo.skin == "c.l.sonic"
if EMERALD1 then
SF_NOJUMPSPIN = false
SF_NOJUMPDAMAGE = false
else
SF_NOJUMPSPIN = true
SF_NOJUMPDAMAGE = true
end
end
end
end
here is the script in question:
local function changeactionspd()
for p in players.iterate
if p.mo.skin == "c.l.sonic"
if EMERALD1 then
SF_NOJUMPSPIN = false
SF_NOJUMPDAMAGE = false
else
SF_NOJUMPSPIN = true
SF_NOJUMPDAMAGE = true
end
end
end
end