entry: drop the 「つかわない」 caption #5

Merged
Yonokid merged 2 commits from GanYiZhong/YataiDONNijiiro:entry-no-cancel-caption into main 2026-09-09 17:05:28 +02:00
+2 -7
View File
@@ -381,13 +381,8 @@ function Entry:draw_credit(a, sel, blink_f, flash_row, flash_a, loop_rows)
tex.draw_texture(self.cr_flash, { index = sel - 1, fade = a * pulse }) tex.draw_texture(self.cr_flash, { index = sel - 1, fade = a * pulse })
end end
if sel == 0 and self.text_cancel then -- The cabinet never shows a 「つかわない」 caption on this screen (the cancel side is
self.text_cancel:draw({ -- just the un-armed state), so nothing is drawn for sel == 0.
x = math.floor(CANCEL_CX - self.text_cancel.width / 2 + 0.5),
y = math.floor(CANCEL_CY - self.text_cancel.height / 2 + 0.5),
fade = a,
})
end
if flash_row and flash_a and flash_a > 0.002 then if flash_row and flash_a and flash_a > 0.002 then
tex.draw_texture(self.cr_flash, { index = flash_row - 1, fade = a * flash_a }) tex.draw_texture(self.cr_flash, { index = flash_row - 1, fade = a * flash_a })