Update TemplateScript.lua

This commit is contained in:
ShadowMario
2023-01-09 14:32:54 -03:00
committed by GitHub
parent cd0020f3ce
commit ee2be9bfbc

View File

@@ -161,22 +161,3 @@ function onTimerCompleted(tag, loops, loopsLeft)
-- loops = how many loops it will have done when it ends completely
-- loopsLeft = how many are remaining
end
function onCheckForAchievement(name)
--deals with achievement checks
--EX:
--[[
if name == 'sick-full-combo' and getProperty('bads') == 0 and getProperty('goods') == 0 and getProperty('shits') == 0 and getProperty('endingSong') then
return Function_Continue
end
if name == 'bad-health-finish' and getProperty('health') < 0.01 and getProperty('endingSong') then
return Function_Continue
end
if name == 'halfway' and getSongPosition > getPropertyFromClass('flixel.FlxG','sound.music.length')/2 then
return Function_Continue
end
]]--
end