|
@@ -232,8 +232,10 @@
|
|
|
if (-203 < spL && spL < 60 && -41 < spP && spP < 254 && type == 1) {
|
|
|
dv.style.left = policeL + 51 + "px";
|
|
|
dv.style.top = policeT - 75 + "px";
|
|
|
- dv1.style.left = policeL + 98 + "px";
|
|
|
- dv1.style.top = policeT - 153 + "px";
|
|
|
+ if (binding.value.getK() == 1) {
|
|
|
+ dv1.style.left = policeL + 98 + "px";
|
|
|
+ dv1.style.top = policeT - 153 + "px";
|
|
|
+ }
|
|
|
binding.value.setC(1);
|
|
|
playMusic();
|
|
|
} else if (type == 1) {
|
|
@@ -264,15 +266,24 @@
|
|
|
dv.style.top = nt - 75 + "px";
|
|
|
}
|
|
|
|
|
|
- if (binding.value.getC() == 1 && binding.value.getA() == 1 && binding.value.getK() == 1 && type == 3) {
|
|
|
- dv.style.left = nl + 51 + "px";
|
|
|
+ if (binding.value.getA() == 1 && type == 3) {
|
|
|
+ dv2.style.left = nl + 56 + "px";
|
|
|
+ dv2.style.top = nt - 75 + "px";
|
|
|
+ }
|
|
|
+
|
|
|
+ if (
|
|
|
+ binding.value.getC() == 1 &&
|
|
|
+ binding.value.getA() == 1 &&
|
|
|
+ binding.value.getK() == 1 &&
|
|
|
+ type == 3
|
|
|
+ ) {
|
|
|
+ dv.style.left = nl + 51 + "px";
|
|
|
dv.style.top = nt - 75 + "px";
|
|
|
dv1.style.left = nl + 98 + "px";
|
|
|
dv1.style.top = nt - 153 + "px";
|
|
|
- dv2.style.left = nl + 56 + "px";
|
|
|
+ dv2.style.left = nl + 56 + "px";
|
|
|
dv2.style.top = nt - 75 + "px";
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
},
|
|
|
},
|