Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion script-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"com.r2studio.Tsum": {
"title": "Tsum Tsum AutoPlay",
"versionCode": 31,
"versionCode": 32,
"description": "<ul><li>Supported more skills</li><li>Bubble item</li></ul>",
"packageName": "com.linecorp.LGTMTMG",
"downloadURL": "https://github.com/r2-studio/robotmon-scripts/raw/master/scripts/com.r2studio.Tsum/index.zip"
Expand Down
2 changes: 1 addition & 1 deletion scripts/com.r2studio.Tsum/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

<script>
VERSION = 31;
VERSION = 32;
ASC = true;

var settings = [
Expand Down
9 changes: 4 additions & 5 deletions scripts/com.r2studio.Tsum/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -972,11 +972,11 @@ Tsum.prototype.linkTsums = function(path) {
var x = Math.floor(this.playOffsetX + (point.x + Config.tsumWidth / 2) * this.playWidth / this.playResizeWidth);
var y = Math.floor(this.playOffsetY + (point.y + Config.tsumWidth / 2) * this.playHeight / this.playResizeHeight);
if (j == 0) {
tapDown(x, y, 10);
tapDown(x, y, 24);
}
moveTo(x, y, 10);
moveTo(x, y, 16);
if (j == path.length - 1) {
tapUp(x, y, 10);
tapUp(x, y, 24);
}
}
}
Expand Down Expand Up @@ -1115,7 +1115,7 @@ Tsum.prototype.goGamePlayingPage = function() {
if (!this.isAppOn()) {
this.startApp();
}
var page = this.findPage(2, 3000);
var page = this.findPage(2, 2000);
log('Current Page', page);
if (page == 'FriendPage') {
this.tap(Page[page].next);
Expand All @@ -1136,7 +1136,6 @@ Tsum.prototype.goGamePlayingPage = function() {
} else {
this.tap(Page[page].back);
}
this.sleep(1000);
}
}

Expand Down
Binary file modified scripts/com.r2studio.Tsum/index.zip
Binary file not shown.