Files
YataiDONNijiiro/Scripts/anim/genre_open.lua
T
2026-09-02 14:25:04 -04:00

310 lines
8.2 KiB
Lua

-- GENERATED by scratchpad/r85/gen_genre_open.py -- DO NOT EDIT BY HAND.
-- ROUND 85 (r85-genreanim-architecture). Supersedes the ROUND 61 table.
--
-- The folder open/close legs of the three clips that share ONE frame clock:
-- genre board common_song_select_main_genre_board.nulm sprite 73 (255 f)
-- song board common_song_select_main_song_board.nulm sprite 222 (300 f)
-- wheel enso_normal/song_select/song_select_main_genre.nulm sprite 19
-- All three carry `genre_deceide` at f45 and `return` at f150 (label tables,
-- lumen_anim_dump --list), so `GotoAndPlay("genre_deceide")` starts all three
-- together and the whole transition is ONE timeline.
--
-- WHAT ROUND 61 MISSED, and what six user reports were pointing at: the genre
-- board does not merely go alpha 0 at f113. `instance_board_center.sx` sweeps
-- 1.0 -> 0.025 over f100..f112 -- the board FURLS shut horizontally to a
-- vertical hairline, 13 f = 216.7 ms -- and only then vanishes. The incoming
-- song board then UNFURLS 0.025 -> 1.0 over f115..f128 with the identical
-- 13-value curve. R61 shipped the unfurl and left the furl unimplemented
-- (its own section 9 lists the genre half as "sampled but not yet consumed"),
-- so on our side the genre board simply disappeared.
--
-- The CLOSE leg is the same shape 105 frames later: song board contents fade
-- f188..f200, slab furls f205..f217, vanishes f218, swap at f219, genre board
-- unfurls f220..f232, its contents return f238..f250.
--
-- Frames are 60 fps CLIP frames. Common.FPS = 120 is the script tick and is a
-- different clock -- do not conflate them.
return {
fps = 60,
open_f0 = 45, -- label genre_deceide
open_swap = 114, -- kOpenFolderChangeFrame (SetSongDataAll)
open_end = 145, -- song board contents complete
close_f0 = 150, -- label return
close_swap = 219, -- kCloseFolderChangeFrame
close_end = 250, -- genre board contents complete
tracks = {
["genre_board_sx"] = {
{ 45, 1, 1 },
{ 99, 1, 1 },
{ 100, 0.85577, 1 },
{ 101, 0.72308, 1 },
{ 102, 0.60191, 1 },
{ 103, 0.49231, 1 },
{ 104, 0.39424, 1 },
{ 105, 0.30769, 1 },
{ 106, 0.23268, 1 },
{ 107, 0.16924, 1 },
{ 108, 0.11731, 1 },
{ 109, 0.07692, 1 },
{ 110, 0.048065, 1 },
{ 111, 0.030762, 1 },
{ 112, 0.024994, 1 },
{ 113, 0.024994, 0 },
{ 219, 0.024994, 0 },
{ 220, 0.024994, 1 },
{ 221, 0.030746, 1 },
{ 222, 0.04805, 1 },
{ 223, 0.076904, 1 },
{ 224, 0.11729, 1 },
{ 225, 0.16922, 1 },
{ 226, 0.23267, 1 },
{ 227, 0.30768, 1 },
{ 228, 0.39423, 1 },
{ 229, 0.49229, 1 },
{ 230, 0.6019, 1 },
{ 231, 0.72307, 1 },
{ 232, 0.85576, 1 },
{ 233, 1, 1 },
{ 254, 1, 1 },
},
["genre_pattern_sx"] = {
{ 45, 1, 1 },
{ 99, 1, 1 },
{ 100, 0.85594, 1 },
{ 101, 0.7234, 1 },
{ 102, 0.60236, 1 },
{ 103, 0.49287, 1 },
{ 104, 0.39491, 1 },
{ 105, 0.30847, 1 },
{ 106, 0.23355, 1 },
{ 107, 0.17017, 1 },
{ 108, 0.1183, 1 },
{ 109, 0.077957, 1 },
{ 110, 0.049149, 1 },
{ 111, 0.03186, 1 },
{ 112, 0.026092, 1 },
{ 113, 0.026092, 0 },
{ 219, 0.026092, 0 },
{ 220, 0.026092, 1 },
{ 221, 0.031845, 1 },
{ 222, 0.049133, 1 },
{ 223, 0.077942, 1 },
{ 224, 0.11829, 1 },
{ 225, 0.17015, 1 },
{ 226, 0.23354, 1 },
{ 227, 0.30846, 1 },
{ 228, 0.3949, 1 },
{ 229, 0.49286, 1 },
{ 230, 0.60234, 1 },
{ 231, 0.72337, 1 },
{ 232, 0.85591, 1 },
{ 233, 0.99998, 1 },
{ 254, 0.99998, 1 },
},
["genre_title_a"] = {
{ 45, 1 },
{ 82, 1 },
{ 83, 0.92188 },
{ 84, 0.84766 },
{ 85, 0.76953 },
{ 86, 0.69141 },
{ 87, 0.61719 },
{ 88, 0.53906 },
{ 89, 0.46094 },
{ 90, 0.38281 },
{ 91, 0.30859 },
{ 92, 0.23047 },
{ 93, 0.15234 },
{ 94, 0.078125 },
{ 95, 0 },
{ 237, 0 },
{ 238, 0.078125 },
{ 239, 0.15234 },
{ 240, 0.23047 },
{ 241, 0.30859 },
{ 242, 0.38281 },
{ 243, 0.46094 },
{ 244, 0.53906 },
{ 245, 0.61719 },
{ 246, 0.69141 },
{ 247, 0.76953 },
{ 248, 0.84766 },
{ 249, 0.92188 },
{ 250, 1 },
{ 254, 1 },
},
["genre_intro_a"] = {
{ 45, 1 },
{ 82, 1 },
{ 83, 0.92188 },
{ 84, 0.84766 },
{ 85, 0.76953 },
{ 86, 0.69141 },
{ 87, 0.61719 },
{ 88, 0.53906 },
{ 89, 0.46094 },
{ 90, 0.38281 },
{ 91, 0.30859 },
{ 92, 0.23047 },
{ 93, 0.15234 },
{ 94, 0.078125 },
{ 95, 0 },
{ 237, 0 },
{ 238, 0.078125 },
{ 239, 0.15234 },
{ 240, 0.23047 },
{ 241, 0.30859 },
{ 242, 0.38281 },
{ 243, 0.46094 },
{ 244, 0.53906 },
{ 245, 0.61719 },
{ 246, 0.69141 },
{ 247, 0.76953 },
{ 248, 0.84766 },
{ 249, 0.92188 },
{ 250, 1 },
{ 254, 1 },
},
["genre_chara_a"] = {
{ 45, 1 },
{ 82, 1 },
{ 83, 0.99219 },
{ 84, 0.97656 },
{ 85, 0.94531 },
{ 86, 0.90625 },
{ 87, 0.85156 },
{ 88, 0.78516 },
{ 89, 0.71094 },
{ 90, 0.62109 },
{ 91, 0.51953 },
{ 92, 0.41016 },
{ 93, 0.28516 },
{ 94, 0.14844 },
{ 95, 0 },
{ 237, 0 },
{ 238, 0.078125 },
{ 239, 0.15234 },
{ 240, 0.23047 },
{ 241, 0.30859 },
{ 242, 0.38281 },
{ 243, 0.46094 },
{ 244, 0.53906 },
{ 245, 0.61719 },
{ 246, 0.69141 },
{ 247, 0.76953 },
{ 248, 0.84766 },
{ 249, 0.92188 },
{ 250, 1 },
{ 254, 1 },
},
["song_board_sx"] = {
{ 45, 1, 1 },
{ 112, 1, 1 },
{ 113, 0.024994, 0 },
{ 114, 0.024994, 0 },
{ 115, 0.024994, 1 },
{ 116, 0.030746, 1 },
{ 117, 0.04805, 1 },
{ 118, 0.076904, 1 },
{ 119, 0.11729, 1 },
{ 120, 0.16922, 1 },
{ 121, 0.23267, 1 },
{ 122, 0.30768, 1 },
{ 123, 0.39423, 1 },
{ 124, 0.49229, 1 },
{ 125, 0.6019, 1 },
{ 126, 0.72307, 1 },
{ 127, 0.85576, 1 },
{ 128, 1, 1 },
{ 204, 1, 1 },
{ 205, 0.85577, 1 },
{ 206, 0.72308, 1 },
{ 207, 0.60191, 1 },
{ 208, 0.49231, 1 },
{ 209, 0.39424, 1 },
{ 210, 0.30769, 1 },
{ 211, 0.23268, 1 },
{ 212, 0.16924, 1 },
{ 213, 0.11731, 1 },
{ 214, 0.07692, 1 },
{ 215, 0.048065, 1 },
{ 216, 0.030762, 1 },
{ 217, 0.024994, 1 },
{ 218, 0.024994, 0 },
{ 254, 0.024994, 0 },
},
["song_title_a"] = {
{ 45, 1 },
{ 112, 1 },
{ 113, 0 },
{ 132, 0 },
{ 133, 0.078125 },
{ 134, 0.15234 },
{ 135, 0.23047 },
{ 136, 0.30859 },
{ 137, 0.38281 },
{ 138, 0.46094 },
{ 139, 0.53906 },
{ 140, 0.61719 },
{ 141, 0.69141 },
{ 142, 0.76953 },
{ 143, 0.84766 },
{ 144, 0.92188 },
{ 145, 1 },
{ 187, 1 },
{ 188, 0.92188 },
{ 189, 0.84766 },
{ 190, 0.76953 },
{ 191, 0.69141 },
{ 192, 0.61719 },
{ 193, 0.53906 },
{ 194, 0.46094 },
{ 195, 0.38281 },
{ 196, 0.30859 },
{ 197, 0.23047 },
{ 198, 0.15234 },
{ 199, 0.078125 },
{ 200, 0 },
{ 254, 0 },
},
["song_info_a"] = {
{ 45, 0 },
{ 132, 0 },
{ 133, 0.078125 },
{ 134, 0.15234 },
{ 135, 0.23047 },
{ 136, 0.30859 },
{ 137, 0.38281 },
{ 138, 0.46094 },
{ 139, 0.53906 },
{ 140, 0.61719 },
{ 141, 0.69141 },
{ 142, 0.76953 },
{ 143, 0.84766 },
{ 144, 0.92188 },
{ 145, 1 },
{ 187, 1 },
{ 188, 0.92188 },
{ 189, 0.84766 },
{ 190, 0.76953 },
{ 191, 0.69141 },
{ 192, 0.61719 },
{ 193, 0.53906 },
{ 194, 0.46094 },
{ 195, 0.38281 },
{ 196, 0.30859 },
{ 197, 0.23047 },
{ 198, 0.15234 },
{ 199, 0.078125 },
{ 200, 0 },
{ 254, 0 },
},
["song_icon_a"] = {
{ 45, 1 },
{ 112, 1 },
{ 113, 0 },
{ 254, 0 },
},
},
}