@@ -344,3 +344,63 @@ payload = '''if card and card.playing_card and HasJoker("j_entr_jokerinyellow")
344344 end
345345'''
346346match_indent = true
347+
348+
349+ [[patches ]]
350+ [patches .pattern ]
351+ target = ''' =[SMODS Cryptid "lib/misc.lua"]'''
352+ pattern = ''' local newcard = Card(
353+ G.title_top.T.x,
354+ G.title_top.T.y,
355+ G.CARD_W,
356+ G.CARD_H,
357+ G.P_CARDS.empty,
358+ G.P_CENTERS.c_cryptid,
359+ { bypass_discovery_center = true }
360+ )
361+ -- recenter the title
362+ G.title_top.T.w = G.title_top.T.w * 1.7675
363+ G.title_top.T.x = G.title_top.T.x - 0.8
364+ G.title_top:emplace(newcard)
365+ -- make the card look the same way as the title screen Ace of Spades
366+ newcard.T.w = newcard.T.w * 1.1 * 1.2
367+ newcard.T.h = newcard.T.h * 1.1 * 1.2
368+ newcard.no_ui = true
369+ newcard.states.visible = false
370+
371+ -- make the title screen use different background colors
372+ G.SPLASH_BACK:define_draw_steps({
373+ {
374+ shader = "splash",
375+ send = {
376+ { name = "time", ref_table = G.TIMERS, ref_value = "REAL_SHADER" },
377+ { name = "vort_speed", val = 0.4 },
378+ { name = "colour_1", ref_table = G.C, ref_value = "CRY_EXOTIC" },
379+ { name = "colour_2", ref_table = G.C, ref_value = "DARK_EDITION" },
380+ },
381+ },
382+ })
383+
384+ G.E_MANAGER:add_event(Event({
385+ trigger = "after",
386+ delay = 0,
387+ blockable = false,
388+ blocking = false,
389+ func = function()
390+ if change_context == "splash" then
391+ newcard.states.visible = true
392+ newcard:start_materialize({ G.C.WHITE, G.C.WHITE }, true, 2.5)
393+ else
394+ newcard.states.visible = true
395+ newcard:start_materialize({ G.C.WHITE, G.C.WHITE }, nil, 1.2)
396+ end
397+ return true
398+ end,
399+ }))
400+ '''
401+ position = " at"
402+ payload = '''
403+ G.title_top.T.w = G.title_top.T.w * 1.7675
404+ G.title_top.T.x = G.title_top.T.x - 0.8
405+ '''
406+ match_indent = true
0 commit comments