THAI: Change menu/productCode in Bad valentine promotion

This commit is contained in:
Kenta420 2024-02-13 10:04:49 +07:00
parent 3b2341021c
commit fcf5e5d9f4
18 changed files with 108 additions and 313 deletions

View file

@ -215,7 +215,17 @@
; Point 3
If Seeker.selected_a_drink = "12-03-03-0044" Then
If Seeker.selected_a_drink = "12-03-02-0024" Then
If PointState[2] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 2
EndIf
Var PointState[2] = 1
EndIf
If Seeker.selected_a_drink = "12-03-03-0024" Then
If PointState[2] = 1 Then
Var newPointIndex = ""
Else
@ -273,7 +283,16 @@
; Point 8
If Seeker.selected_a_drink = "12-02-02-0055" Then
If Seeker.selected_a_drink = "12-03-02-0023" Then
If PointState[7] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 7
EndIf
Var PointState[7] = 1
EndIf
If Seeker.selected_a_drink = "12-03-03-0023" Then
If PointState[7] = 1 Then
Var newPointIndex = ""
Else

View file

@ -61,38 +61,6 @@
Var taobinImgPoint[7]= "/point_deactive.png"
Var taobinImgPoint[8]= "/point_deactive.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]
@ -437,204 +405,6 @@
</Image>
;<Text>
;<X> 232 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 120 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[0] </Color>
;<Value> taobinTextPointTH[0] </Value>
;</Text>
;
;<Text>
;<X> 243 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[0] </Color>
;<Value> taobinTextPointEN[0] </Value>
;</Text>
;
;<Text>
;<X> 343 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 150 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[1] </Color>
;<Value> taobinTextPointTH[1] </Value>
;</Text>
;
;<Text>
;<X> 388 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[1] </Color>
;<Value> taobinTextPointEN[1] </Value>
;</Text>
;
;<Text>
;<X> 493 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 120 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[2] </Color>
;<Value> taobinTextPointTH[2] </Value>
;</Text>
;
;<Text>
;<X> 497 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 150 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[2] </Color>
;<Value> taobinTextPointEN[2] </Value>
;</Text>
;
;<Text>
;<X> 624 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 120 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[3] </Color>
;<Value> taobinTextPointTH[3] </Value>
;</Text>
;
;<Text>
;<X> 645 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[3] </Color>
;<Value> taobinTextPointEN[3] </Value>
;</Text>
;
;<Text>
;<X> 747 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 155 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[4] </Color>
;<Value> taobinTextPointTH[4] </Value>
;</Text>
;
;<Text>
;<X> 782 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[4] </Color>
;<Value> taobinTextPointEN[4] </Value>
;</Text>
;
;<Text>
;<X> 225 </X>
;<Y> 1388 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 120 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[5] </Color>
;<Value> taobinTextPointTH[5] </Value>
;</Text>
;
;<Text>
;<X> 230 </X>
;<Y> 1388 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 200 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[5] </Color>
;<Value> taobinTextPointEN[5] </Value>
;</Text>
;
;<Text>
;<X> 353 </X>
;<Y> 1388 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 150 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[6] </Color>
;<Value> taobinTextPointTH[6] </Value>
;</Text>
;
;<Text>
;<X> 366 </X>
;<Y> 1388 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[6] </Color>
;<Value> taobinTextPointEN[6] </Value>
;</Text>
;
;<Text>
;<X> 488 </X>
;<Y> 1388 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 150 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[7] </Color>
;<Value> taobinTextPointTH[7] </Value>
;</Text>
;
;<Text>
;<X> 506 </X>
;<Y> 1388 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[7] </Color>
;<Value> taobinTextPointEN[7] </Value>
;</Text>
;
;<Text>
;<X> 622 </X>
;<Y> 1388 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 200 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[8] </Color>
;<Value> taobinTextPointTH[8] </Value>
;</Text>
;
;<Text>
;<X> 616 </X>
;<Y> 1388 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 200 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[8] </Color>
;<Value> taobinTextPointEN[8] </Value>
;</Text>
;
<Image>
<X> 751 </X>

View file

@ -96,7 +96,10 @@
; Point 3
If Seeker.selected_a_drink = "12-03-03-0044" Then
If Seeker.selected_a_drink = "12-03-02-0024" Then
Var newPointIndex = 2
EndIf
If Seeker.selected_a_drink = "12-03-03-0024" Then
Var newPointIndex = 2
EndIf
@ -126,7 +129,10 @@
; Point 8
If Seeker.selected_a_drink = "12-02-02-0055" Then
If Seeker.selected_a_drink = "12-03-02-0023" Then
Var newPointIndex = 7
EndIf
If Seeker.selected_a_drink = "12-03-03-0023" Then
Var newPointIndex = 7
EndIf