Skip to content

Commit

Permalink
focus mode grays out manage gig
Browse files Browse the repository at this point in the history
  • Loading branch information
lunalawl committed Jun 5, 2023
1 parent 0a86cbd commit a22ee06
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 2 additions & 0 deletions _ark/ui/overshell.dta
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@
{extra1.btn set_showing FALSE}
{$this disable extra2.btn} ;hide unused button
{extra2.btn set_showing FALSE}
{if $focusmode
{$this disable section.btn}}
)
}
{new
Expand Down
4 changes: 0 additions & 4 deletions _ark/ui/overshell_handlers.dta
Original file line number Diff line number Diff line change
Expand Up @@ -608,16 +608,12 @@
{set $focusmode FALSE} ;turn off focus mode
{set $miloskipintro FALSE} ;restore the song intro
{set $skipoutro FALSE} ;restore the song outro
{set $notestreakmod TRUE} ;turn back on note streak popups
{set $sfx TRUE} ;turn back on sfc
}
{do
{play_sfx cheat} ;since we aren't setup very well to use the macro, call the sfx directly
{set $focusmode TRUE} ;turn on focus mode
{set $miloskipintro TRUE} ;turn off song intro
{set $skipoutro TRUE} ;turn off song outro
{set $notestreakmod FALSE} ;turn off note streak popups
{set $sfx FALSE} ;turn off sfx
}
}
OVERSHELL_LIST_RESET_HANDLER ;resets the current overshell screen with new parameters, and pop up the help screen if needed
Expand Down
4 changes: 2 additions & 2 deletions _ark/ui/overshell_slider_handlers.dta
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,10 @@
($tspd $mspd $fps)
{if_else $focusmode
{do
{set $miloskipintro TRUE} {set $skipoutro TRUE} {set $notestreakmod FALSE} {set $sfx FALSE}
{set $miloskipintro TRUE} {set $skipoutro TRUE}
}
{do
{set $miloskipintro FALSE} {set $skipoutro FALSE} {set $notestreakmod TRUE} {set $sfx TRUE}
{set $miloskipintro FALSE} {set $skipoutro FALSE}
}
}
{gs_title.lbl set_localized_text
Expand Down

0 comments on commit a22ee06

Please sign in to comment.