diff --git a/image/event/bad_valentine/bad_valentine_en.mp4 b/image/event/bad_valentine/bad_valentine_en.mp4 new file mode 100644 index 00000000..57bb412f Binary files /dev/null and b/image/event/bad_valentine/bad_valentine_en.mp4 differ diff --git a/image/event/bad_valentine/bad_valentine_th.mp4 b/image/event/bad_valentine/bad_valentine_th.mp4 new file mode 100644 index 00000000..a45b4e8c Binary files /dev/null and b/image/event/bad_valentine/bad_valentine_th.mp4 differ diff --git a/image/event/bad_valentine/display_point/bg.png b/image/event/bad_valentine/display_point/bg.png new file mode 100644 index 00000000..d89cb774 Binary files /dev/null and b/image/event/bad_valentine/display_point/bg.png differ diff --git a/image/event/bad_valentine/display_point/bn_random.png b/image/event/bad_valentine/display_point/bn_random.png new file mode 100644 index 00000000..a3fe857c Binary files /dev/null and b/image/event/bad_valentine/display_point/bn_random.png differ diff --git a/image/event/bad_valentine/display_point/bp_random.png b/image/event/bad_valentine/display_point/bp_random.png new file mode 100644 index 00000000..3a0e33e9 Binary files /dev/null and b/image/event/bad_valentine/display_point/bp_random.png differ diff --git a/image/event/bad_valentine/display_point/discount_50.png b/image/event/bad_valentine/display_point/discount_50.png new file mode 100644 index 00000000..e47ae9cb Binary files /dev/null and b/image/event/bad_valentine/display_point/discount_50.png differ diff --git a/image/event/bad_valentine/display_point/get_glass.png b/image/event/bad_valentine/display_point/get_glass.png new file mode 100644 index 00000000..e58ca8e6 Binary files /dev/null and b/image/event/bad_valentine/display_point/get_glass.png differ diff --git a/image/event/bad_valentine/display_point/ghost_broken_heart.png b/image/event/bad_valentine/display_point/ghost_broken_heart.png new file mode 100644 index 00000000..16c6e5a3 Binary files /dev/null and b/image/event/bad_valentine/display_point/ghost_broken_heart.png differ diff --git a/image/event/bad_valentine/display_point/img_popup1.png b/image/event/bad_valentine/display_point/img_popup1.png new file mode 100644 index 00000000..e1b9753c Binary files /dev/null and b/image/event/bad_valentine/display_point/img_popup1.png differ diff --git a/image/event/bad_valentine/display_point/img_popup3.png b/image/event/bad_valentine/display_point/img_popup3.png new file mode 100644 index 00000000..0f18d54a Binary files /dev/null and b/image/event/bad_valentine/display_point/img_popup3.png differ diff --git a/image/event/bad_valentine/display_point/point_active.png b/image/event/bad_valentine/display_point/point_active.png new file mode 100644 index 00000000..a6331b03 Binary files /dev/null and b/image/event/bad_valentine/display_point/point_active.png differ diff --git a/image/event/bad_valentine/display_point/point_active_new.png b/image/event/bad_valentine/display_point/point_active_new.png new file mode 100644 index 00000000..b982f650 Binary files /dev/null and b/image/event/bad_valentine/display_point/point_active_new.png differ diff --git a/image/event/bad_valentine/display_point/point_deactive.png b/image/event/bad_valentine/display_point/point_deactive.png new file mode 100644 index 00000000..9c0c0f81 Binary files /dev/null and b/image/event/bad_valentine/display_point/point_deactive.png differ diff --git a/image/event/bad_valentine/display_point/ranndom_pattern_1.png b/image/event/bad_valentine/display_point/ranndom_pattern_1.png new file mode 100644 index 00000000..7542f397 Binary files /dev/null and b/image/event/bad_valentine/display_point/ranndom_pattern_1.png differ diff --git a/image/event/bad_valentine/display_point/ranndom_pattern_2.png b/image/event/bad_valentine/display_point/ranndom_pattern_2.png new file mode 100644 index 00000000..5d8bdb8d Binary files /dev/null and b/image/event/bad_valentine/display_point/ranndom_pattern_2.png differ diff --git a/image/event/bad_valentine/display_point/ranndom_pattern_3.png b/image/event/bad_valentine/display_point/ranndom_pattern_3.png new file mode 100644 index 00000000..c401ac82 Binary files /dev/null and b/image/event/bad_valentine/display_point/ranndom_pattern_3.png differ diff --git a/image/event/bad_valentine/display_point/sub_title.png b/image/event/bad_valentine/display_point/sub_title.png new file mode 100644 index 00000000..e937e916 Binary files /dev/null and b/image/event/bad_valentine/display_point/sub_title.png differ diff --git a/image/event/bad_valentine/display_point/text7.png b/image/event/bad_valentine/display_point/text7.png new file mode 100644 index 00000000..439e8adf Binary files /dev/null and b/image/event/bad_valentine/display_point/text7.png differ diff --git a/image/event/bad_valentine/display_point/text8.png b/image/event/bad_valentine/display_point/text8.png new file mode 100644 index 00000000..8979d2bc Binary files /dev/null and b/image/event/bad_valentine/display_point/text8.png differ diff --git a/image/event/bad_valentine/display_point_en/discount_50.png b/image/event/bad_valentine/display_point_en/discount_50.png new file mode 100644 index 00000000..7c194c81 Binary files /dev/null and b/image/event/bad_valentine/display_point_en/discount_50.png differ diff --git a/image/event/bad_valentine/display_point_en/get_glass.png b/image/event/bad_valentine/display_point_en/get_glass.png new file mode 100644 index 00000000..ba5d521f Binary files /dev/null and b/image/event/bad_valentine/display_point_en/get_glass.png differ diff --git a/image/event/bad_valentine/display_point_en/ghost_broken_heart.png b/image/event/bad_valentine/display_point_en/ghost_broken_heart.png new file mode 100644 index 00000000..16c6e5a3 Binary files /dev/null and b/image/event/bad_valentine/display_point_en/ghost_broken_heart.png differ diff --git a/image/event/bad_valentine/display_point_en/img_popup1.png b/image/event/bad_valentine/display_point_en/img_popup1.png new file mode 100644 index 00000000..e1b9753c Binary files /dev/null and b/image/event/bad_valentine/display_point_en/img_popup1.png differ diff --git a/image/event/bad_valentine/display_point_en/img_popup3.png b/image/event/bad_valentine/display_point_en/img_popup3.png new file mode 100644 index 00000000..0f18d54a Binary files /dev/null and b/image/event/bad_valentine/display_point_en/img_popup3.png differ diff --git a/image/event/bad_valentine/display_point_en/list_point_deactive.png b/image/event/bad_valentine/display_point_en/list_point_deactive.png new file mode 100644 index 00000000..c69496ac Binary files /dev/null and b/image/event/bad_valentine/display_point_en/list_point_deactive.png differ diff --git a/image/event/bad_valentine/display_point_en/point_active.png b/image/event/bad_valentine/display_point_en/point_active.png new file mode 100644 index 00000000..a6331b03 Binary files /dev/null and b/image/event/bad_valentine/display_point_en/point_active.png differ diff --git a/image/event/bad_valentine/display_point_en/point_active_new.png b/image/event/bad_valentine/display_point_en/point_active_new.png new file mode 100644 index 00000000..b982f650 Binary files /dev/null and b/image/event/bad_valentine/display_point_en/point_active_new.png differ diff --git a/image/event/bad_valentine/display_point_en/point_deactive.png b/image/event/bad_valentine/display_point_en/point_deactive.png new file mode 100644 index 00000000..9c0c0f81 Binary files /dev/null and b/image/event/bad_valentine/display_point_en/point_deactive.png differ diff --git a/image/event/bad_valentine/display_point_en/ranndom_pattern_1.png b/image/event/bad_valentine/display_point_en/ranndom_pattern_1.png new file mode 100644 index 00000000..0aa360ca Binary files /dev/null and b/image/event/bad_valentine/display_point_en/ranndom_pattern_1.png differ diff --git a/image/event/bad_valentine/display_point_en/ranndom_pattern_2.png b/image/event/bad_valentine/display_point_en/ranndom_pattern_2.png new file mode 100644 index 00000000..b76eac23 Binary files /dev/null and b/image/event/bad_valentine/display_point_en/ranndom_pattern_2.png differ diff --git a/image/event/bad_valentine/display_point_en/ranndom_pattern_3.png b/image/event/bad_valentine/display_point_en/ranndom_pattern_3.png new file mode 100644 index 00000000..73097040 Binary files /dev/null and b/image/event/bad_valentine/display_point_en/ranndom_pattern_3.png differ diff --git a/image/event/bad_valentine/display_point_en/sub_title.png b/image/event/bad_valentine/display_point_en/sub_title.png new file mode 100644 index 00000000..72e5cc9f Binary files /dev/null and b/image/event/bad_valentine/display_point_en/sub_title.png differ diff --git a/image/event/bad_valentine/display_point_en/text7.png b/image/event/bad_valentine/display_point_en/text7.png new file mode 100644 index 00000000..88e96ea1 Binary files /dev/null and b/image/event/bad_valentine/display_point_en/text7.png differ diff --git a/image/event/bad_valentine/display_point_en/text8.png b/image/event/bad_valentine/display_point_en/text8.png new file mode 100644 index 00000000..cc539287 Binary files /dev/null and b/image/event/bad_valentine/display_point_en/text8.png differ diff --git a/image/event/bad_valentine/error/bg.png b/image/event/bad_valentine/error/bg.png new file mode 100644 index 00000000..d89cb774 Binary files /dev/null and b/image/event/bad_valentine/error/bg.png differ diff --git a/image/event/bad_valentine/error/bn_confirm.png b/image/event/bad_valentine/error/bn_confirm.png new file mode 100644 index 00000000..e39f9e85 Binary files /dev/null and b/image/event/bad_valentine/error/bn_confirm.png differ diff --git a/image/event/bad_valentine/error/bp_confirm.png b/image/event/bad_valentine/error/bp_confirm.png new file mode 100644 index 00000000..9f5bc636 Binary files /dev/null and b/image/event/bad_valentine/error/bp_confirm.png differ diff --git a/image/event/bad_valentine/error/img.png b/image/event/bad_valentine/error/img.png new file mode 100644 index 00000000..c4d0b656 Binary files /dev/null and b/image/event/bad_valentine/error/img.png differ diff --git a/image/event/bad_valentine/error/img2.png b/image/event/bad_valentine/error/img2.png new file mode 100644 index 00000000..e5261784 Binary files /dev/null and b/image/event/bad_valentine/error/img2.png differ diff --git a/image/event/bad_valentine/error/text_fail.png b/image/event/bad_valentine/error/text_fail.png new file mode 100644 index 00000000..98ff43ce Binary files /dev/null and b/image/event/bad_valentine/error/text_fail.png differ diff --git a/image/event/bad_valentine/error/text_fail2.png b/image/event/bad_valentine/error/text_fail2.png new file mode 100644 index 00000000..7812e2b8 Binary files /dev/null and b/image/event/bad_valentine/error/text_fail2.png differ diff --git a/image/event/bad_valentine/error/title_text_fail.png b/image/event/bad_valentine/error/title_text_fail.png new file mode 100644 index 00000000..38d909bd Binary files /dev/null and b/image/event/bad_valentine/error/title_text_fail.png differ diff --git a/image/event/bad_valentine/error/title_text_fail2.png b/image/event/bad_valentine/error/title_text_fail2.png new file mode 100644 index 00000000..43ffb2a4 Binary files /dev/null and b/image/event/bad_valentine/error/title_text_fail2.png differ diff --git a/image/event/bad_valentine/error_en/bg.png b/image/event/bad_valentine/error_en/bg.png new file mode 100644 index 00000000..d89cb774 Binary files /dev/null and b/image/event/bad_valentine/error_en/bg.png differ diff --git a/image/event/bad_valentine/error_en/bn_confirm.png b/image/event/bad_valentine/error_en/bn_confirm.png new file mode 100644 index 00000000..991bc6b8 Binary files /dev/null and b/image/event/bad_valentine/error_en/bn_confirm.png differ diff --git a/image/event/bad_valentine/error_en/bp_confirm.png b/image/event/bad_valentine/error_en/bp_confirm.png new file mode 100644 index 00000000..ada42956 Binary files /dev/null and b/image/event/bad_valentine/error_en/bp_confirm.png differ diff --git a/image/event/bad_valentine/error_en/img.png b/image/event/bad_valentine/error_en/img.png new file mode 100644 index 00000000..c4d0b656 Binary files /dev/null and b/image/event/bad_valentine/error_en/img.png differ diff --git a/image/event/bad_valentine/error_en/img2.png b/image/event/bad_valentine/error_en/img2.png new file mode 100644 index 00000000..e5261784 Binary files /dev/null and b/image/event/bad_valentine/error_en/img2.png differ diff --git a/image/event/bad_valentine/error_en/text_fail.png b/image/event/bad_valentine/error_en/text_fail.png new file mode 100644 index 00000000..79ed951d Binary files /dev/null and b/image/event/bad_valentine/error_en/text_fail.png differ diff --git a/image/event/bad_valentine/error_en/text_fail2.png b/image/event/bad_valentine/error_en/text_fail2.png new file mode 100644 index 00000000..53011e69 Binary files /dev/null and b/image/event/bad_valentine/error_en/text_fail2.png differ diff --git a/image/event/bad_valentine/error_en/title_text_fail.png b/image/event/bad_valentine/error_en/title_text_fail.png new file mode 100644 index 00000000..ee703d1c Binary files /dev/null and b/image/event/bad_valentine/error_en/title_text_fail.png differ diff --git a/image/event/bad_valentine/error_en/title_text_fail2.png b/image/event/bad_valentine/error_en/title_text_fail2.png new file mode 100644 index 00000000..8cb55590 Binary files /dev/null and b/image/event/bad_valentine/error_en/title_text_fail2.png differ diff --git a/xml/event/bad_valentine/page_bad_valentine_random.xml b/xml/event/bad_valentine/page_bad_valentine_random.xml new file mode 100644 index 00000000..f8b06f6a --- /dev/null +++ b/xml/event/bad_valentine/page_bad_valentine_random.xml @@ -0,0 +1,165 @@ + + "Enable" + 1080 + 1920 + SoundVolume + ; "0xeae6e1" + + + Var Timeout = 0 + + If show_eng = "true" Then + Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/display_point_en" + Else + Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/display_point" + EndIf + + Var couponList[0] = "glass" + Var couponList[1] = "dis50" + + ; Random coupon + Var randResult = 0 + Random2 0 1 randResult + + DEBUGVAR randResult + + Var CodeType = "" + Var var2 = "X" + Var var3 = "X" + + If Seeker.IsAlreadyHadGlass = 1 Then + Var CodeType = "123" + Else + Var UserCouponReward = couponList[randResult] + If UserCouponReward = "glass" then + Var CodeType = "124" + else + Var CodeType = "123" + EndIf + EndIf + + AddData 38 TelephoneNumber CodeType var2 var3 + + If CodeType = "123" Then + Var CouponResultImage = DirImage + "/discount_50.png" + Else + If CodeType = "124" Then + Var CouponResultImage = DirImage + "/get_glass.png" + EndIf + EndIf + + + ; pattern + Var patternList[0] = "/randome_pattern_1.png" + Var patternList[1] = "/randome_pattern_2.png" + Var patternList[2] = "/randome_pattern_3.png" + + + + If show_eng = "true" Then + + Var patternList[0].X = 482 + Var patternList[0].Y = 1130 + + Var patternList[1].X = 207 + Var patternList[1].Y = 1239 + + Var patternList[2].X = 489 + Var patternList[2].Y = 1213 + + + Var patternList[0].Text1 = "ทำทุกอย่างเหมือนแฟน +แต่เป็นได้แค่คนคุย" + Var patternList[0].Text2 = "รับทุกฟังก์ชั่นแบบฟีลแฟน พอขอเป็นแฟนเธอบอกแคนนอท" + + Var patternList[1].Text1 = "เธอขอไปอาบน้ำ เดี๋ยวมา +3 เดือนผ่านมายังไม่ตอบเลย" + Var patternList[1].Text2 = "เราว่าเธอคงจะรักสะอาดจนไม่มีเวลาตอบ อาบน้ำตั้ง 3 เดือน ตัวคงเปื่อยน่าดูเลย" + + Var patternList[2].Text1 = "เปย์เป็นแสน แขนไม่ได้จับ" + Var patternList[2].Text2 = "เปย์แทบตาย แต่สุดท้ายก็โดนทิ้ง ไม่เป็นไรนะ เก็บตังค์ไว้เปย์คนใหม่" + + Else + + Var patternList[0].X = 125 + Var patternList[0].Y = 1154 + + Var patternList[1].X = 126 + Var patternList[1].Y = 1170 + + Var patternList[2].X = 277 + Var patternList[2].Y = 1238 + + + Var patternList[0].Text1 = "Act like a lover, +but it's just casual chatter." + Var patternList[0].Text2 = "Get all the lover-fell functions. When I asked to be +my girlfriend, she said NO" + + Var patternList[1].Text1 = "She went for a shower, BRB. +Three months later, still no word." + Var patternList[1].Text2 = "She loves cleanliness, maybe too much for a reply." + + Var patternList[2].Text1 = "Paid for it all, yet stuck in the friend zone." + Var patternList[2].Text2 = "Almost paid the price of life, but in the end, left alone. +No worries, keep your cash, invest in a new unknown." + + + EndIf + + ; Random pattern + Var pattern = 0 + Random2 0 2 pattern + Var RewardDisplay = patternList[pattern] + Var RewardDisplay.X = patternList[pattern].X + Var RewardDisplay.Y = patternList[pattern].Y + + DEBUGVAR UserCouponReward + DEBUGVAR RewardDisplay + + DEBUGVAR RewardDisplay + + + 1000 + + DEBUGVAR Timeout + + + + If Timeout > 5 Then + Open "ROOT/taobin_project/xml/page_lid_straw.xml" + EndIf + + Var Timeout = Timeout + 1 + TimerReset + + + + + ; Background + + 0 + 380 + "ROOT/taobin_project/image/event/bad_valentine/display_point/bg.png" + + + + 193 + 464 + CouponResultImage + + + + RewardDisplay.X + RewardDisplay.Y + RewardDisplay + + + \ No newline at end of file diff --git a/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_2.xml b/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_2.xml new file mode 100644 index 00000000..a30d657f --- /dev/null +++ b/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_2.xml @@ -0,0 +1,391 @@ + + "Enable" + 1080 + 1920 + "0xeae6e1" + SoundVolume + + + ; On open + + Var Timeout = 0 + SAVELOG UnitTestType + + Var TaobinLevel = 0 + Var Point2X = 0 + + Var Seeker.TaobinErrorNetwork = 0 + + DEBUGVAR show_eng + + + If show_eng = "true" Then + Var DirImage = "ROOT/taobin_project/image/collectiing_en" + + Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png" + Else + Var DirImage = "ROOT/taobin_project/image/collectiing" + + Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png" + EndIf + + If PayOfflineMode = 1 Then + Var Seeker.TaobinErrorNetwork = 1 + Var Seeker.PointTaobinStr = ParamCP + Var TelephoneNumber = TelephoneNumberX + Var Seeker.TNumberTaobinMember= TelephoneNumber + Var CollectPointError = "collect" + Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_error.xml" + + EndIf + + + 1000 + + Var CountDownBrewing = BREW_CNT + + Var ShowCountDownBrewing = CountDownBrewing + + + Var Timeout = Timeout + 1 + If Timeout > 30 Then + + + Var TaobinLevel = 0 + Var CoffeePoint = 1 + + Var Seeker.TaobinErrorNetwork = 1 + Var Seeker.PointTaobinStr = ParamCP + + Var TelephoneNumber = TelephoneNumberX + + Var Seeker.TNumberTaobinMember= TelephoneNumber + Var CollectPointError = "collect" + Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_error.xml" + + EndIf + + TimerReset + Refresh + + + + + + + + Open "/media/bt/xml/security_alarm.xml" + + + + If Ext1a = "" Then + + Var Seeker.TaobinErrorNetwork = 1 + Var Seeker.PointTaobinStr = ParamCP + Var TelephoneNumber = TelephoneNumberX + Var Seeker.TNumberTaobinMember = TelephoneNumber + Var CollectPointError = "collect" + Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_error.xml" + + Else + Var TaobinName = Ext1b + Var TelephoneNumber = TelephoneNumberX + Var TNumberTaobinMemberXXX = TelephoneNumber + Var Seeker.IsAlreadyHadGlass = Ext1c + + Var Seeker.PointTaobinStr = ParamCP + Var Seeker.TNumberTaobinMember = TelephoneNumberX + + Var PointState[0] = 0 + Var PointState[1] = 0 + Var PointState[2] = 0 + Var PointState[3] = 0 + Var PointState[4] = 0 + Var PointState[5] = 0 + Var PointState[6] = 0 + Var PointState[7] = 0 + Var PointState[8] = 0 + + DEBUGVAR Ext1a + + SPLIT Ext1a "/" 1 PointState[0] + SPLIT Ext1a "/" 2 PointState[1] + SPLIT Ext1a "/" 3 PointState[2] + SPLIT Ext1a "/" 4 PointState[3] + SPLIT Ext1a "/" 5 PointState[4] + SPLIT Ext1a "/" 6 PointState[5] + SPLIT Ext1a "/" 7 PointState[6] + SPLIT Ext1a "/" 8 PointState[7] + SPLIT Ext1a "/" 9 PointState[8] + + INT PointState[0] + INT PointState[1] + INT PointState[2] + INT PointState[3] + INT PointState[4] + INT PointState[5] + INT PointState[6] + INT PointState[7] + INT PointState[8] + + DEBUGVAR PointState[0] + DEBUGVAR PointState[1] + DEBUGVAR PointState[2] + DEBUGVAR PointState[3] + DEBUGVAR PointState[4] + DEBUGVAR PointState[5] + DEBUGVAR PointState[6] + DEBUGVAR PointState[7] + DEBUGVAR PointState[8] + + Var newPointIndex = "" + + ; Point 1 + If Seeker.selected_a_drink = "12-01-02-0061" Then + If PointState[0] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 0 + EndIf + + Var PointState[0] = 1 + EndIf + + If Seeker.selected_a_drink = "12-01-03-0061" Then + If PointState[0] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 0 + EndIf + + Var PointState[0] = 1 + EndIf + + If Seeker.selected_a_drink = "12-21-02-0061" Then + If PointState[0] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 0 + EndIf + + Var PointState[0] = 1 + EndIf + + If Seeker.selected_a_drink = "12-21-03-0061" Then + If PointState[0] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 0 + EndIf + + Var PointState[0] = 1 + EndIf + + If Seeker.selected_a_drink = "12-21-02-0057" Then + If PointState[0] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 0 + EndIf + + Var PointState[0] = 1 + EndIf + + + ; Point 2 + If Seeker.selected_a_drink = "12-01-02-0062" Then + If PointState[1] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 1 + EndIf + + Var PointState[1] = 1 + EndIf + + If Seeker.selected_a_drink = "12-21-02-0062" Then + If PointState[1] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 1 + EndIf + + Var PointState[1] = 1 + EndIf + + + ; Point 3 + If Seeker.selected_a_drink = "12-03-03-0044" Then + If PointState[2] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 2 + EndIf + + Var PointState[2] = 1 + EndIf + + ; Point 4 + If Seeker.selected_a_drink = "12-03-03-0045" Then + If PointState[3] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 3 + EndIf + + Var PointState[3] = 1 + EndIf + + + ; Point 5 + If Seeker.selected_a_drink = "12-03-03-0029" Then + If PointState[4] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 4 + EndIf + Var PointState[4] = 1 + EndIf + + + ; Point 6 + If Seeker.selected_a_drink = "12-02-02-0053" Then + If PointState[5] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 5 + EndIf + + Var PointState[5] = 1 + EndIf + + + ; Point 7 + If Seeker.selected_a_drink = "12-02-02-0054" Then + If PointState[6] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 6 + EndIf + + Var PointState[6] = 1 + EndIf + + + ; Point 8 + If Seeker.selected_a_drink = "12-02-02-0055" Then + If PointState[7] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 7 + EndIf + Var PointState[7] = 1 + EndIf + + + ; Point 9 + If Seeker.selected_a_drink = "12-05-02-0078" Then + If PointState[8] = 1 Then + Var newPointIndex = "" + Else + Var newPointIndex = 8 + EndIf + + Var PointState[8] = 1 + EndIf + + DEBUGVAR Seeker.selected_a_drink + DEBUGVAR newPointIndex + + DEBUGVAR Seeker.PointTaobinStr + DEBUGVAR Seeker.TNumberTaobinMember + + Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_3.xml" + EndIf + + + + + + + + + Var Seeker.TaobinErrorNetwork = 1 + + Var Seeker.PointTaobinStr = ParamCP + Var TelephoneNumber = TelephoneNumberX + Var Seeker.TNumberTaobinMember= TelephoneNumber + Var CollectPointError = "collect" + Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_error.xml" + + + + + + If MachineStage = "drink-success" Then + Var MachineState_Result = 1 + EndIf + + If MachineStage = "drink-failed" Then + Var MachineState_Result = 2 + EndIf + + + + + + 178 + 680 + Var( DirImage + "/text20.png" ) + + + +; +; 0 +; 0 +; "ROOT/taobin_project/image/ad_medium_2.png" +; + + + + + 0 + 873 + 1080 + Center + 62 + RobotoBlack + 0x513C2F + TelephoneNumber + Telnum-mask-1 + + + +; + + 751 + 413 + IMG_CNT + +; + + XPosiShowCountDownBrew + 470 + End + 153 + 88 + RobotoBold + 0x513C2F + ShowCountDownBrewing + + + + + \ No newline at end of file diff --git a/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_3.xml b/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_3.xml new file mode 100644 index 00000000..ea38c920 --- /dev/null +++ b/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_3.xml @@ -0,0 +1,687 @@ + + "Enable" + 1080 + 1920 + "0xeae6e1" + SoundVolume + + + ; On open + + Var Timeout = 0 + ;CoffeePoint + ;Var CoffeePoint = 30 + Var BmiYear = "0/0/0/0/0/0/0/0/0/1" + Var PointCrm = "pdpa1" + Var GetScore = "" + Var TelephoneNumber = TelephoneNumberX + Var Seeker.TNumberTaobinMember = TelephoneNumber + ;AddData 4 TelephoneNumber BmiYear PointCrm GetScore + ;Add after pay + + Var PointMaskState = "Invisible" + Var showRandomBtnState = "Invisible" + + Var CoffeePointStr = CoffeePoint + + DEBUGVAR TelephoneNumber + DEBUGVAR TelephoneNumberX + + Var ThaiTextState = "Invisible" + Var EngTextState = "Invisible" + + If show_eng = "true" Then + Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/display_point_en" + Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png" + + Var EngTextState = "Enable" + + Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png" + Else + Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/display_point" + Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png" + + Var ThaiTextState = "Enable" + + Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png" + EndIf + + Var CheckCoupons = 0 + Var MakeDrinkState = 0 + + + Var taobinP1 = "Invisible" + Var taobinP2 = "Invisible" + Var taobinP3 = "Invisible" + Var taobinP4 = "Invisible" + Var taobinP5 = "Invisible" + Var taobinP6 = "Invisible" + Var taobinP7 = "Invisible" + Var taobinP8 = "Invisible" + Var taobinP9 = "Invisible" + Var taobinP10 = "Invisible" + Var taobinP11 = "Invisible" + Var taobinP12 = "Invisible" + Var taobinP13 = "Invisible" + + Var taobinImgNewPoint = "/point_active_new.png" + + Var taobinImgPoint[0] = "/point_active.png" + Var taobinImgPoint[1]= "/point_active.png" + Var taobinImgPoint[2]= "/point_active.png" + Var taobinImgPoint[3]= "/point_active.png" + Var taobinImgPoint[4]= "/point_active.png" + Var taobinImgPoint[5]= "/point_active.png" + Var taobinImgPoint[6]= "/point_active.png" + Var taobinImgPoint[7]= "/point_active.png" + Var taobinImgPoint[8]= "/point_active.png" + + ;Var taobinTextPointTH[0] = "รวยข้ามคืน ตื่นมารวย" + ;Var taobinTextPointTH[1] = "รวยตาค้าง กระพริบตาบ้างก็ได้" + ;Var taobinTextPointTH[2] = "รวยจนหน้าชา อาม่ายังงง" + ;Var taobinTextPointTH[3] = "รวยจนช็อก! น็อคแล้วไหม" + ;Var taobinTextPointTH[4] = "รวยไม่รู้ล้ม เอาผมลงไหมล่ะ" + ;Var taobinTextPointTH[5] = "รวยนะคะรู้ยัง ถ้ายังก็รู้ซะ" + ;Var taobinTextPointTH[6] = "รวยล้นฟ้า เทวดาซัปพอร์ต" + ;Var taobinTextPointTH[7] = "รวยฟ้าผ่า เพราะลืมหลบฝน" + ;Var taobinTextPointTH[8] = "แสร้งว่ารวย ค่าหวยไม่จ่าย" + + ;Var taobinTextPointEN[0] = "Mint Cafe Latte" + ;Var taobinTextPointEN[1] = "Mintcano" + ;Var taobinTextPointEN[2] = "Matcha Latte Mint" + ;Var taobinTextPointEN[3] = "Cocoa Mint" + ;Var taobinTextPointEN[4] = "Mint Milk" + ;Var taobinTextPointEN[5] = "Strawberry Mint Milk" + ;Var taobinTextPointEN[6] = "Mint Oreo Volcano" + ;Var taobinTextPointEN[7] = "Mint Lime Soda" + ;Var taobinTextPointEN[8] = "Strawberry Mint Soda" + + + + ;Var taobinTextColorPoint[0] = "0xFFFFFF" + ;Var taobinTextColorPoint[1] = "0xFFFFFF" + ;Var taobinTextColorPoint[2] = "0xFFFFFF" + ;Var taobinTextColorPoint[3] = "0xFFFFFF" + ;Var taobinTextColorPoint[4] = "0xFFFFFF" + ;Var taobinTextColorPoint[5] = "0xFFFFFF" + ;Var taobinTextColorPoint[6] = "0xFFFFFF" + ;Var taobinTextColorPoint[7] = "0xFFFFFF" + ;Var taobinTextColorPoint[8] = "0xFFFFFF" + + Var PointCount = 0 + + DEBUGVAR PointState[0] + DEBUGVAR PointState[1] + DEBUGVAR PointState[2] + DEBUGVAR PointState[3] + DEBUGVAR PointState[4] + DEBUGVAR PointState[5] + DEBUGVAR PointState[6] + DEBUGVAR PointState[7] + DEBUGVAR PointState[8] + + If PointState[0] = 1 Then + Var PointCount = PointCount + 1 + EndIf + If PointState[1] = 1 Then + Var PointCount = PointCount + 1 + EndIf + If PointState[2] = 1 Then + Var PointCount = PointCount + 1 + EndIf + If PointState[3] = 1 Then + Var PointCount = PointCount + 1 + EndIf + If PointState[4] = 1 Then + Var PointCount = PointCount + 1 + EndIf + If PointState[5] = 1 Then + Var PointCount = PointCount + 1 + EndIf + If PointState[6] = 1 Then + Var PointCount = PointCount + 1 + EndIf + If PointState[7] = 1 Then + Var PointCount = PointCount + 1 + EndIf + If PointState[8] = 1 Then + Var PointCount = PointCount + 1 + EndIf + + If newPointIndex = "" Then + ; Nothing + Else + If newPointIndex >= 0 Then + Var taobinImgPoint[newPointIndex] = "/point_active_new.png" + ;Var taobinTextColorPoint[newPointIndex] = "0x2CDD69" + EndIf + EndIf + + Var PointDiff = 9 - PointCount + + If show_eng = "true" Then + Var TaobinLevelDesc1 = "You're just " + PointDiff + Var TaobinLevelDesc1 = TaobinLevelDesc1 + " menu item away from Ba(d)nana Valentine Series." + Var TaobinLevelDesc2 = "Collect all 9-heartbreaking menu items." + + ;Var MemberStatus_Y = 772 + ;Var MemberName_Y = 795 + ;Var MemeberPhone_Y = 845 + ;Var MemberPoint_Y = 920 + + Var subTitle_Y = 839 + + ;Var TaobinLevelDesc1_X = 236 + ;Var TaobinLevelDesc1_Y = 990 + ;Var TaobinLevelDesc2_X = 236 + ;Var TaobinLevelDesc2_Y = 1020 + + Var text8_X = 224 + + Else + Var TaobinLevelDesc1 = "เหลืออีก " + PointDiff + Var TaobinLevelDesc1 = TaobinLevelDesc1 + " เมนูจะครบซีรีส์กล้วยชีช้ำ" + Var TaobinLevelDesc2 = "รีบสะสมให้ครบ 9 เมนูสุดช้ำตอนนี้เลย!" + + ;Var MemberStatus_Y = 772 + ;Var MemberName_Y = 795 + ;Var MemeberPhone_Y = 845 + ;Var MemberPoint_Y = 920 + + Var subTitle_Y = 853 + + ;Var TaobinLevelDesc1_X = 236 + ;Var TaobinLevelDesc1_Y = 990 + ;Var TaobinLevelDesc2_X = 236 + ;Var TaobinLevelDesc2_Y = 1020 + + Var text8_X = 346 + + EndIf + + If PointCount = 9 Then + Var showRandomBtnState = "Enable" + EndIf + + Var CurrentPointSlot = newPointIndex + 1 + + + 1000 + + + Var CountDownBrewing = BREW_CNT + + Var ShowCountDownBrewing = CountDownBrewing + + + + Var Timeout = Timeout + 1 + If Timeout > 10 Then + Var CurrentPointCheck = "check" + Var val3 = "X" + AddData 37 TelephoneNumber CurrentPointSlot CurrentPointCheck val3 + Open "ROOT/taobin_project/xml/page_lid_straw.xml" + EndIf + + + + TimerReset + Refresh + + + + + + Open "/media/bt/xml/security_alarm.xml" + + + + + If MachineStage = "drink-success" Then + Var MachineState_Result = 1 + EndIf + + If MachineStage = "drink-failed" Then + Var MachineState_Result = 2 + EndIf + + + + + + 0 + 380 + "ROOT/taobin_project/image/display_point/alpha.png" + + + +; + + + + + 158 + 665 + Var( DirImage + "/img_popup1.png" ) + + + + 158 + 665 + Var( DirImage + "/img_popup3.png" ) + + + + + 243 + 731 + Var( DirImage + "/text7.png" ) + + + + + 243 + subTitle_Y + Var( DirImage + "/sub_title.png" ) + + + + + + + 625 + 732 + Var( DirImage + "/ghost_broken_heart.png" ) + +; + + + + 220 + 1126 + Var( DirImage + taobinImgPoint[0]) + + + + 360 + 1126 + Var( DirImage + taobinImgPoint[1]) + + + + 500 + 1126 + Var( DirImage + taobinImgPoint[2]) + + + + 640 + 1126 + Var( DirImage + taobinImgPoint[3]) + + + + 780 + 1126 + Var( DirImage + taobinImgPoint[4]) + + + + + 220 + 1276 + Var( DirImage + taobinImgPoint[5]) + + + + 360 + 1276 + Var( DirImage + taobinImgPoint[6]) + + + + 500 + 1276 + Var( DirImage + taobinImgPoint[7]) + + + + 640 + 1276 + Var( DirImage + taobinImgPoint[8]) + + + + + + + + 243 + 764 + 35 + 1000 + KanitRegularTTF + 0x513C2F + TaobinName + + + + 243 + 802 + 20 + 1000 + KanitRegularTTF + 0x746253 + TNumberTaobinMemberXXX + Telnum-mask-1 + + +; Header + + 247 + 911 + 48 + 120 + RobotoBold + 0xDE794E + PointCount + + + + 247 + 967 + 25 + 1000 + KanitRegularTTF + 0xDE794E + TaobinLevelDesc1 + + + + 247 + 998 + 20 + 1000 + KanitRegularTTF + 0x746253 + TaobinLevelDesc2 + + + + text8_X + 1578 + Var( DirImage + "/text8.png" ) + + + +; +; 232 +; 1240 +; ThaiTextState +; 12 +; 120 +; KanitRegularTTF +; taobinTextColorPoint[0] +; taobinTextPointTH[0] +; +; +; +; 243 +; 1240 +; EngTextState +; 12 +; 100 +; KanitRegularTTF +; taobinTextColorPoint[0] +; taobinTextPointEN[0] +; +; +; +; 343 +; 1240 +; ThaiTextState +; 12 +; 150 +; KanitRegularTTF +; taobinTextColorPoint[1] +; taobinTextPointTH[1] +; +; +; +; 388 +; 1240 +; EngTextState +; 12 +; 100 +; KanitRegularTTF +; taobinTextColorPoint[1] +; taobinTextPointEN[1] +; +; +; +; 493 +; 1240 +; ThaiTextState +; 12 +; 120 +; KanitRegularTTF +; taobinTextColorPoint[2] +; taobinTextPointTH[2] +; +; +; +; 497 +; 1240 +; EngTextState +; 12 +; 150 +; KanitRegularTTF +; taobinTextColorPoint[2] +; taobinTextPointEN[2] +; +; +; +; 624 +; 1240 +; ThaiTextState +; 12 +; 120 +; KanitRegularTTF +; taobinTextColorPoint[3] +; taobinTextPointTH[3] +; +; +; +; 645 +; 1240 +; EngTextState +; 12 +; 100 +; KanitRegularTTF +; taobinTextColorPoint[3] +; taobinTextPointEN[3] +; +; +; +; 747 +; 1240 +; ThaiTextState +; 12 +; 155 +; KanitRegularTTF +; taobinTextColorPoint[4] +; taobinTextPointTH[4] +; +; +; +; 782 +; 1240 +; EngTextState +; 12 +; 100 +; KanitRegularTTF +; taobinTextColorPoint[4] +; taobinTextPointEN[4] +; +; +; +; 225 +; 1388 +; ThaiTextState +; 12 +; 120 +; KanitRegularTTF +; taobinTextColorPoint[5] +; taobinTextPointTH[5] +; +; +; +; 230 +; 1388 +; EngTextState +; 12 +; 200 +; KanitRegularTTF +; taobinTextColorPoint[5] +; taobinTextPointEN[5] +; +; +; +; 353 +; 1388 +; ThaiTextState +; 12 +; 150 +; KanitRegularTTF +; taobinTextColorPoint[6] +; taobinTextPointTH[6] +; +; +; +; 366 +; 1388 +; EngTextState +; 12 +; 100 +; KanitRegularTTF +; taobinTextColorPoint[6] +; taobinTextPointEN[6] +; +; +; +; 488 +; 1388 +; ThaiTextState +; 12 +; 150 +; KanitRegularTTF +; taobinTextColorPoint[7] +; taobinTextPointTH[7] +; +; +; +; 506 +; 1388 +; EngTextState +; 12 +; 100 +; KanitRegularTTF +; taobinTextColorPoint[7] +; taobinTextPointEN[7] +; +; +; +; 622 +; 1388 +; ThaiTextState +; 12 +; 200 +; KanitRegularTTF +; taobinTextColorPoint[8] +; taobinTextPointTH[8] +; +; +; +; 616 +; 1388 +; EngTextState +; 12 +; 200 +; KanitRegularTTF +; taobinTextColorPoint[8] +; taobinTextPointEN[8] +; + +; + + 751 + 413 + IMG_CNT + +; + + XPosiShowCountDownBrew + 470 + End + 153 + 88 + RobotoBold + 0x513C2F + ShowCountDownBrewing + + + + Var PointState[0] = 1 + Var PointState[1] = 1 + Var PointState[2] = 1 + Var PointState[3] = 1 + Var PointState[4] = 1 + Var PointState[5] = 1 + Var PointState[6] = 1 + Var PointState[7] = 1 + Var PointState[8] = 1 + + Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_bad_valentine_3.xml" + + + + If show_eng = "true" Then + Var show_eng = "false" + Else + Var show_eng = "true" + EndIf + Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_bad_valentine_3.xml" + + + + + \ No newline at end of file diff --git a/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_error.xml b/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_error.xml new file mode 100644 index 00000000..139a01fc --- /dev/null +++ b/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_error.xml @@ -0,0 +1,250 @@ + + "Enable" + 1080 + 1920 + "0xeae6e1" + SoundVolume + + + ; On open + + + Var Timeout = 0 + SAVELOG show_eng + + + DEBUGVAR CollectPointError + + If CollectPointError = "collect" Then + + If show_eng = "true" Then + Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/error_en" + Var Title_X = 135 + Var Title_Y = 623 + Var Detail_X = 57 + Var Detail_Y = 1336 + Else + Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/error" + Var Title_X = 250 + Var Title_Y = 610 + Var Detail_X = 252 + Var Detail_Y = 1336 + EndIf + + Var Img = DirImage + "/img2.png" + Var Img_X = 230 + Var Img_Y = 872 + + Var title_text_fail = DirImage + "/title_text_fail2.png" + Var text_fail = DirImage + "/text_fail2.png" + + Var ConfirmBtn_X = 397 + Var ConfirmBtn_Y = 1710 + EndIf + + If CollectPointError = "random" Then + + If show_eng = "true" Then + Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/error_en" + Var Title_X = 240 + Var Title_Y = 646 + Var Detail_X = 140 + Var Detail_Y = 1546 + Else + Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/error" + Var Title_X = 324 + Var Title_Y = 630 + Var Detail_X = 297 + Var Detail_Y = 1541 + EndIf + + Var Img = DirImage + "/img.png" + Var Img_X = 287 + Var Img_Y = 755 + + Var title_text_fail = DirImage + "/title_text_fail.png" + Var text_fail = DirImage + "/text_fail.png" + + Var ConfirmBtn_X = 397 + Var ConfirmBtn_Y = 1710 + EndIf + + Var newPointIndex = 0 + + ; Point 1 + If Seeker.selected_a_drink = "12-01-02-0061" Then + Var newPointIndex = 0 + EndIf + If Seeker.selected_a_drink = "12-01-03-0061" Then + Var newPointIndex = 0 + EndIf + If Seeker.selected_a_drink = "12-21-02-0061" Then + Var newPointIndex = 0 + EndIf + If Seeker.selected_a_drink = "12-21-03-0061" Then + Var newPointIndex = 0 + EndIf + + + ; Point 2 + If Seeker.selected_a_drink = "12-01-02-0062" Then + Var newPointIndex = 1 + EndIf + If Seeker.selected_a_drink = "12-21-02-0062" Then + Var newPointIndex = 1 + EndIf + + + ; Point 3 + If Seeker.selected_a_drink = "12-03-03-0044" Then + Var newPointIndex = 2 + EndIf + + + ; Point 4 + If Seeker.selected_a_drink = "12-03-03-0045" Then + Var newPointIndex = 3 + EndIf + + + ; Point 5 + If Seeker.selected_a_drink = "12-03-03-0029" Then + Var newPointIndex = 4 + EndIf + + + ; Point 6 + If Seeker.selected_a_drink = "12-02-02-0053" Then + Var newPointIndex = 5 + EndIf + + + ; Point 7 + If Seeker.selected_a_drink = "12-02-02-0054" Then + Var newPointIndex = 6 + EndIf + + + ; Point 8 + If Seeker.selected_a_drink = "12-02-02-0055" Then + Var newPointIndex = 7 + EndIf + + + ; Point 9 + If Seeker.selected_a_drink = "12-05-02-0078" Then + Var newPointIndex = 8 + EndIf + + Var CurrentPointSlot = newPointIndex + 1 + Var CurrentPointCheck = "check" + Var val3 = "X" + AddData 37 TelephoneNumber CurrentPointSlot CurrentPointCheck val3 + + + 1000 + + + Var CountDownBrewing = BREW_CNT + + Var ShowCountDownBrewing = CountDownBrewing + + Var Timeout = Timeout + 1 + If Timeout > 5 Then + Open "ROOT/taobin_project/xml/page_lid_straw.xml" + EndIf + + TimerReset + Refresh + + + + If MachineStage = "drink-success" Then + Var MachineState_Result = 1 + EndIf + + If MachineStage = "drink-failed" Then + Var MachineState_Result = 2 + EndIf + + + + + + 0 + 380 + Var( DirImage + "/bg.png" ) + + + + Title_X + Title_Y + title_text_fail + + + + Img_X + Img_Y + img + + + + Detail_X + Detail_Y + text_fail + + + + + + + + + + +; + + 751 + 413 + IMG_CNT + +; + + XPosiShowCountDownBrew + 470 + End + 153 + 88 + RobotoBold + 0x513C2F + ShowCountDownBrewing + + + + Open "/media/bt/xml/security_alarm.xml" + + + diff --git a/xml/menu_new_layout_gen.py b/xml/menu_new_layout_gen.py index 615836da..c8c92978 100644 --- a/xml/menu_new_layout_gen.py +++ b/xml/menu_new_layout_gen.py @@ -107,6 +107,11 @@ menu_white_color_catalog = True else: from_my_mint_promotion = False + + if current_file_name == "page_catalog_group_pro_bad_valentine.skt": + from_bad_valentine = True + else: + from_bad_valentine = False #print ("######################################################################################################") idx_of_eng = 2 @@ -386,6 +391,9 @@ if from_my_mint_promotion: out_xml( '\t\tVar FromMyMintPro = 1 \r\n') + if from_bad_valentine: + out_xml( '\t\tVar FromBadValentinePro = 1 \r\n') + out_xml( '\t\t\r\n') out_xml( '\t\t\r\n') @@ -904,6 +912,9 @@ if from_my_mint_promotion: out_xml( '\t\tVar FromMyMintPro = 1 \r\n') + if from_bad_valentine: + out_xml( '\t\tVar FromBadValentinePro = 1 \r\n') + out_xml( '\t\t\r\n') out_xml( '\t\t\r\n') if "inter" in param: diff --git a/xml/page_collect_point_1.xml b/xml/page_collect_point_1.xml index 7136f373..ed949573 100644 --- a/xml/page_collect_point_1.xml +++ b/xml/page_collect_point_1.xml @@ -109,6 +109,9 @@ EndIf DEBUGVAR PepweenCollectPoint + + DEBUGVAR BadValentineEnable + DEBUGVAR FromBadValentinePro If Seeker.TNumberTaobinCredit = "" Then @@ -160,6 +163,13 @@ EndIf EndIf + If BadValentineEnable = 1 Then + If FromBadValentinePro = 1 Then + GETACCEXT TelephoneNumber 32 + Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_2.xml" + EndIf + EndIf + GETACCEXT Param1 23 Open "ROOT/taobin_project/xml/page_collect_point_2.xml" @@ -198,6 +208,13 @@ EndIf EndIf + If BadValentineEnable = 1 Then + If FromBadValentinePro = 1 Then + GETACCEXT TelephoneNumber 32 + Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_2.xml" + EndIf + EndIf + If PepweenCollectPoint = 0 Then GETACCEXT TelephoneNumber 31 Open "ROOT/taobin_project/xml/event/pepween/page_collect_point_pro_pepween_2.xml" @@ -681,6 +698,13 @@ EndIf EndIf + If BadValentineEnable = 1 Then + If FromBadValentinePro = 1 Then + GETACCEXT TelephoneNumber 32 + Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_2.xml" + EndIf + EndIf + If PepweenCollectPoint = 0 Then GETACCEXT TelephoneNumber 31 Open "ROOT/taobin_project/xml/event/pepween/page_collect_point_pro_pepween_2.xml"