@@ -32,7 +32,13 @@ function G.FUNCS.get_poker_hand_info(_cards)
3232 loc_disp_text = localize (disp_text , " poker_hands" )
3333 end
3434 end
35-
35+ local hidden = false
36+ for i , v in pairs (scoring_hand ) do
37+ if v .facing == " back" then
38+ hidden = true
39+ break
40+ end
41+ end
3642 if G .SETTINGS .language == " en-us" then
3743 if # scoring_hand > 5 and (text == " Flush Five" or text == " Five of a Kind" ) then
3844 local rank_array = {}
@@ -130,7 +136,7 @@ function G.FUNCS.get_poker_hand_info(_cards)
130136 [" cry_WholeDeck" ] = 52 ,
131137 }
132138 -- Change mult and chips colors if hand is ascended
133- if hand_table [text ] and next (scoring_hand ) and # scoring_hand > hand_table [text ] then
139+ if hand_table [text ] and next (scoring_hand ) and # scoring_hand > hand_table [text ] and not hidden then
134140 ease_colour (G .C .UI_CHIPS , copy_table (G .C .GOLD ), 0.3 )
135141 ease_colour (G .C .UI_MULT , copy_table (G .C .GOLD ), 0.3 )
136142 else
@@ -150,17 +156,20 @@ function G.FUNCS.get_poker_hand_info(_cards)
150156 if G .GAME .cry_exploit_override then
151157 G .GAME .current_round .current_hand .cry_asc_num = G .GAME .current_round .current_hand .cry_asc_num + 1
152158 end
153-
154- G .GAME .current_round .current_hand .cry_asc_num_text = (
155- G .GAME .current_round .current_hand .cry_asc_num
156- and (
157- type (G .GAME .current_round .current_hand .cry_asc_num ) == " table"
158- and G .GAME .current_round .current_hand .cry_asc_num :gt (to_big (0 ))
159- or G .GAME .current_round .current_hand .cry_asc_num > 0
159+ if not hidden then
160+ G .GAME .current_round .current_hand .cry_asc_num_text = (
161+ G .GAME .current_round .current_hand .cry_asc_num
162+ and (
163+ type (G .GAME .current_round .current_hand .cry_asc_num ) == " table"
164+ and G .GAME .current_round .current_hand .cry_asc_num :gt (to_big (0 ))
165+ or G .GAME .current_round .current_hand .cry_asc_num > 0
166+ )
160167 )
161- )
162- and " (+" .. G .GAME .current_round .current_hand .cry_asc_num .. " )"
163- or " "
168+ and " (+" .. G .GAME .current_round .current_hand .cry_asc_num .. " )"
169+ or " "
170+ else
171+ G .GAME .current_round .current_hand .cry_asc_num_text = " "
172+ end
164173 return text , loc_disp_text , poker_hands , scoring_hand , disp_text
165174end
166175function Cryptid .ascend (num ) -- edit this function at your leisure
0 commit comments