Files
Techmino/parts/eventsets/classic_e.lua
Not-A-Normal-Robot 30ed4179d6 Add easier Classic modes (#302)
* Remove SDARR limitation on Rhythm

* Remove SDARR limitation on Rhythm

* Remove SDARR limitation on Rhythm

* Revert "Remove SDARR limitation on Rhythm"

This reverts commit 1a0a56bbf6.

* Add classic modes: easy and normal

(Easy: lvl9 start, Normal: lvl15 start)

* fixed typos

* Updated map
2021-09-22 11:03:52 +08:00

55 lines
1.4 KiB
Lua

return{
das=16,
arr=6,
sddas=2,
sdarr=2,
irs=false,
ims=false,
drop=6,
lock=6,
wait=10,
fall=25,
freshLimit=0,
fieldH=19,
nextCount=1,
holdCount=0,
RS='Classic',
sequence='rnd',
noTele=true,
keyCancel={5,6},
mesDisp=function(P)
setFont(75)
local r=P.modeData.target*.1
mStr(r<11 and 9 or r<22 and r or("%02x"):format(r*10-220),63,210)
mText(drawableText.speedLV,63,290)
PLY.draw.drawProgress(P.stat.row,P.modeData.target)
end,
task=function(P)
P.modeData.target=10
end,
dropPiece=function(P)
local D=P.modeData
if P.stat.row>=D.target then
D.target=D.target+10
if D.target==110 then
P.gameEnv.drop,P.gameEnv.lock=5,5
SFX.play('blip_1')
elseif D.target==140 then
P.gameEnv.drop,P.gameEnv.lock=4,4
SFX.play('blip_1')
elseif D.target==170 then
P.gameEnv.drop,P.gameEnv.lock=3,3
SFX.play('blip_1')
elseif D.target==200 then
P.gameEnv.drop,P.gameEnv.lock=2,2
SFX.play('blip_1')
elseif D.target==300 then
P.gameEnv.drop,P.gameEnv.lock=1,1
SFX.play('blip_1')
else
SFX.play('reach')
end
end
end,
}