t-spin only if last movement is a rotation

This commit is contained in:
adrienmalin
2019-01-16 22:53:19 +01:00
parent 69a21fe12f
commit 6e9f5659ae
3 changed files with 23 additions and 21 deletions

View File

@ -75,10 +75,9 @@ func piece_locked(lines, t_spin):
flash_text.print(LINES_CLEARED_NAMES[lines])
elif t_spin:
flash_text.print(t_spin)
ds = SCORES[lines][t_spin]
goal -= ds
goal -= SCORES[lines][""]
$VBC/Goal.text = str(goal)
ds *= 100 * level
ds = 100 * level * SCORES[lines][t_spin]
flash_text.print(str(ds))
score += ds
$VBC/Score.text = str(score)