Skip to content

Commit

Permalink
Update dx_track_overdrive_ui_funcs.dta
Browse files Browse the repository at this point in the history
  • Loading branch information
jnackmclain committed Dec 11, 2024
1 parent 78ac1d4 commit 8210899
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions _ark/dx/track/track_ui/dx_track_overdrive_ui_funcs.dta
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
{cond
({&& {>= {$player band_energy} 0.5} {! {eval {var {sprint "dx_stop_od_" $slot}}}}} ;once od is ready and if not popped already
{set_var {sprint "dx_stop_od_" $slot} TRUE} ;gate popup until next drain
{dx_od_ready_popup $player} ;fire popup to player
{set_this {find_obj DX_GEMTRACKDIR player_feedback}} ;set current context of this user
{bass_super_streak.lbl set_token_fmt dx_overdrive_ready} ;set text for popup to od ready locale
{super_streak_start.trig trigger} ;fire trigger for text popup
{dx_remove_groove_label $player} ;remove text popup trigger
)
({<= {$player band_energy} 0.01} ;once drained
{set_var {sprint "dx_stop_od_" $slot} FALSE} ;allow popups again for this user when od is ready
Expand All @@ -36,15 +39,6 @@
}
}
}
; shows an "overdrive ready!" popup when od is ready
{func
dx_od_ready_popup
($player)
{set_this {find_obj DX_GEMTRACKDIR player_feedback}} ;set current context of this user
{bass_super_streak.lbl set_token_fmt dx_overdrive_ready} ;set text for popup to od ready locale
{super_streak_start.trig trigger} ;fire trigger for text popup
{dx_remove_groove_label $player} ;remove text popup trigger
}
{func
dx_remove_groove_label
($player)
Expand Down

0 comments on commit 8210899

Please sign in to comment.