This commit is contained in:
kong 2023-09-04 12:42:31 +07:00
parent 8fdbf4b3f5
commit afe51cebd4
11 changed files with 115 additions and 58 deletions

View file

@ -405,6 +405,10 @@
; language instance
DEBUGVAR SelectMenuBetweenBrewEnable1
DEBUGVAR SelectMenuBetweenBrewEnable2
; echo 1 > /mnt/sdcard/game_enable
@ -514,25 +518,38 @@
DEBUGVAR Game01Enable
DEBUGVAR BREW_CNT
If Game01Enable = 1 Then
Var ButtonGameCountDown = 15
Var ButtonGameCountDownState = "PressForever"
If BREW_CNT > 84 Then
Var ButtonGameCountDown = BREW_CNT - 70
If ButtonGameCountDown > 15 Then
Var ButtonGameCountDown = 15
EndIf
Var ButtonGameCountDownState = "PressForever"
Else
Var Game01Enable = 0
Var ButtonGameCountDownState = "Invisible"
Var ButtonGamePressToPlayState = "Invisible"
Var ButtonGameCountDown = 0
EndIf
Else
Var ButtonGameCountDown = 0
Var ButtonGameCountDownState = "Invisible"
EndIf
DEBUGVAR ButtonGameCountDown
Var ButtonGamePressToPlayState = "Invisible"
DEBUGVAR SelectMenuBetweenBrewEnable1
DEBUGVAR SelectMenuBetweenBrewEnable2
; BREW_CNT > 15 ( pre-time ) + 60 ( Game Time ) Game01Enable
; BREW_CNT > 15 ( pre-time ) + 50 ( Game Time ) + 10 (Debound Time) Game01Enable
DEBUGVAR Game01Enable
DEBUGVAR BREW_CNT
If Game01Enable = 1 Then
If ButtonGameCountDownState = "Enable" Then
@ -546,7 +563,7 @@
EndIf
EndIf
If BREW_CNT > 82 Then
If BREW_CNT > 86 Then
Else
If Game01Enable = 1 Then