Skip to content

Commit

Permalink
drunk mode
Browse files Browse the repository at this point in the history
  • Loading branch information
LlysiX committed Jul 1, 2024
1 parent 117bd48 commit 280a695
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 20 deletions.
41 changes: 21 additions & 20 deletions _ark/ps4/dx/overshell/dx_states.dta
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
{if_else $syncspeeds "Sync Difficulty Speeds: ON" "Sync Difficulty Speeds: OFF"}
{if_else $calibrationmode "Calibration Mode: ON" "Calibration Mode: OFF"}
{if_else $precisionmode "Precision Mode: ON" "Precision Mode: OFF"}
;{if_else $autoplayexists {if_else $drunkmode "Drunk Mode: ON" "Drunk Mode: OFF"} "Drunk Mode: DISABLED"}
)
}
{$this setup_confirm_actions a
Expand All @@ -105,7 +104,7 @@
{if_else $syncspeeds "Sync Difficulty Speeds: ON" "Sync Difficulty Speeds: OFF"}
{if_else $calibrationmode "Calibration Mode: ON" "Calibration Mode: OFF"}
{if_else $precisionmode "Precision Mode: ON" "Precision Mode: OFF"}
;{if_else $autoplayexists {if_else $drunkmode "Drunk Mode: ON" "Drunk Mode: OFF"} "Drunk Mode: DISABLED"}
{if_else $autoplayexists {if_else $drunkmode "Drunk Mode: ON" "Drunk Mode: OFF"} "Drunk Mode: DISABLED"}
)
}
}
Expand Down Expand Up @@ -208,24 +207,26 @@
}
{$this trigger_select_effects }
)
; ("Drunk Mode: DISABLED"
; {$this show_state kState_RB4DXDrunkModeHowTo}
; {$this trigger_select_effects }
; )
; (("Drunk Mode: ON" "Drunk Mode: OFF")
; {set $drunkmode {! $drunkmode}}
; {if_else $drunkmode
; {do
; {set_elem {find $syscfg beatmatcher watcher slop} 1 750}
; RB4DXGP_DATA
; }
; {do
; {set_elem {find $syscfg beatmatcher watcher slop} 1 100}
; {$this show_state kState_RB4DXAutoplayOff}
; }
; }
; {$this trigger_select_effects }
; )
("Drunk Mode: DISABLED"
{$this show_state kState_RB4DXDrunkModeHowTo}
{$this trigger_select_effects }
)
(("Drunk Mode: ON" "Drunk Mode: OFF")
{set $drunkmode {! $drunkmode}}
{if_else $drunkmode
{do
{set_elem {find $syscfg beatmatcher watcher slop} 1 750}
{write_file "data:/GoldHEN/RB4DX/drunkmode.ini" $dx_write_nul}
RB4DXGP_DATA
}
{do
{set_elem {find $syscfg beatmatcher watcher slop} 1 100}
{file_delete "data:/GoldHEN/RB4DX/drunkmode.ini"}
{$this show_state kState_RB4DXAutoplayOff}
}
}
{$this trigger_select_effects }
)
}
)
(on_cancel
Expand Down
3 changes: 3 additions & 0 deletions _ark/ps4/dx/ui/dx_init.dta
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
{if {file_exists "autoplay.ini"}
{file_delete "data:/GoldHEN/RB4DX/autoplay.ini"}
}
{if {file_exists "drunkmode.ini"}
{file_delete "data:/GoldHEN/RB4DX/drunkmode.ini"}
}
{set $autoplayexists {file_exists "data:/GoldHEN/plugins/RB4DX-Autoplay.prx"}}
{set $nood {file_exists "nood.dta"}}
{set $practiceod {file_exists "practiceod.dta"}}
Expand Down
Binary file modified _build/GoldHEN/plugins/RB4DX-Plugin.prx
Binary file not shown.

0 comments on commit 280a695

Please sign in to comment.