taobin_project/xml/event/tricker.ev
2023-06-07 17:05:43 +07:00

91 lines
1.5 KiB
Text

;DEBUGVAR SystemDateMonthInt
;DEBUGVAR SystemDateDayInt
; Reset flag away.
Var OreoDueEnable = 0
Var OreoForFreeEnable = 0
Var SoundBackToSchoolEnable = 0
Var PromotionIDOreoBuyTwoSaveMore = 0
Var BackToSchoolForFreeEnable = 0
Var SoundBackToSchoolType = 0
; End
Var PepsiProEnable = 0
Var PepsiPromoteVideo = 0
If SystemDateMonthInt = 6 Then
If SystemDateDayInt = 12 Then
Var PepsiProEnable = 1
EndIf
If SystemDateDayInt = 13 Then
Var PepsiProEnable = 1
EndIf
If SystemDateDayInt = 14 Then
Var PepsiProEnable = 1
EndIf
If SystemDateDayInt = 15 Then
Var PepsiProEnable = 1
EndIf
If SystemDateDayInt = 16 Then
Var PepsiProEnable = 1
EndIf
If SystemDateDayInt = 19 Then
Var PepsiProEnable = 1
EndIf
If SystemDateDayInt = 20 Then
Var PepsiProEnable = 1
EndIf
If SystemDateDayInt = 21 Then
Var PepsiProEnable = 1
EndIf
If SystemDateDayInt = 22 Then
Var PepsiProEnable = 1
EndIf
If SystemDateDayInt = 23 Then
Var PepsiProEnable = 1
EndIf
If SystemDateDayInt > 23 Then
Var PepsiPromoteVideo = 0
Else
Var PepsiPromoteVideo = 1
EndIf
EndIf
If BoxID = 200001 Then
Var OreoDueEnable = 0
Var OreoForFreeEnable = 0
EndIf
If BoxID = 200000 Then
Var OreoDueEnable = 0
Var OreoForFreeEnable = 0
EndIf
If BoxID = 172053 Then
Var PepsiProEnable = 1
EndIf
If BoxID = 172644 Then
Var PepsiProEnable = 1
EndIf
If BoxID = 173149 Then
Var PepsiProEnable = 1
EndIf
If BoxID = 172527 Then
Var PepsiProEnable = 1
EndIf
DEBUGVAR PepsiProEnable
DEBUGVAR PepsiPromoteVideo