Skip to content

Commit

Permalink
[v0.10.18] Live website
Browse files Browse the repository at this point in the history
  • Loading branch information
auto-deploy committed Dec 19, 2023
1 parent 248a828 commit 5dc28e7
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 46 deletions.
86 changes: 43 additions & 43 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<script src="libs/Sortable.min.js"></script>

<!-- New module-based code from './modules' -->
<script src="scripts/modules.min.js?v=0.10.17"></script>
<script src="scripts/modules.min.js?v=0.10.18"></script>

<!--Minified scripts-->
<script src="scripts/script.min.js?v=0.10.17"></script>
<script src="scripts/script.min.js?v=0.10.18"></script>

<!--Popper.js-->
<script src="libs/popper.min.js"></script>
Expand All @@ -38,7 +38,7 @@
<link href="libs/introjs-modern.css" rel="stylesheet">

<!--Minified styles-->
<link href="styles/styles.min.css?v=0.10.17" rel="stylesheet">
<link href="styles/styles.min.css?v=0.10.18" rel="stylesheet">

<!-- Google Analytics-->
<style>
Expand Down Expand Up @@ -2231,8 +2231,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.kanto, 'Kanto').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/kanto-kanto.png?v=0.10.17',
href:'assets/images/kanto-kanto.png?v=0.10.17'
'xlink:href':'assets/images/kanto-kanto.png?v=0.10.18',
href:'assets/images/kanto-kanto.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -4794,8 +4794,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.kanto, 'Sevii Islands 123').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/kanto-sevii123.png?v=0.10.17',
href:'assets/images/kanto-sevii123.png?v=0.10.17'
'xlink:href':'assets/images/kanto-sevii123.png?v=0.10.18',
href:'assets/images/kanto-sevii123.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -5363,8 +5363,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.kanto, 'Sevii Islands 4567').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/kanto-sevii4567.png?v=0.10.17',
href:'assets/images/kanto-sevii4567.png?v=0.10.17'
'xlink:href':'assets/images/kanto-sevii4567.png?v=0.10.18',
href:'assets/images/kanto-sevii4567.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -6960,8 +6960,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind='visible: player.region == GameConstants.Region.johto'>
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/johto.png?v=0.10.17',
href:'assets/images/johto.png?v=0.10.17'
'xlink:href':'assets/images/johto.png?v=0.10.18',
href:'assets/images/johto.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -9592,8 +9592,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind='visible: player.region == GameConstants.Region.hoenn'>
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/hoenn.png?v=0.10.17',
href:'assets/images/hoenn.png?v=0.10.17'
'xlink:href':'assets/images/hoenn.png?v=0.10.18',
href:'assets/images/hoenn.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -13083,8 +13083,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.hoenn, 'Orre').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/orre.png?v=0.10.17',
href:'assets/images/orre.png?v=0.10.17'
'xlink:href':'assets/images/orre.png?v=0.10.18',
href:'assets/images/orre.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -14443,8 +14443,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind='visible: player.region == GameConstants.Region.sinnoh'>
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/sinnoh.png?v=0.10.17',
href:'assets/images/sinnoh.png?v=0.10.17'
'xlink:href':'assets/images/sinnoh.png?v=0.10.18',
href:'assets/images/sinnoh.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -17539,8 +17539,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind='visible: player.region == GameConstants.Region.unova'>
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/unova.png?v=0.10.17',
href:'assets/images/unova.png?v=0.10.17'
'xlink:href':'assets/images/unova.png?v=0.10.18',
href:'assets/images/unova.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -20718,8 +20718,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind='visible: player.region == GameConstants.Region.kalos'>
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/kalos.png?v=0.10.17',
href:'assets/images/kalos.png?v=0.10.17'
'xlink:href':'assets/images/kalos.png?v=0.10.18',
href:'assets/images/kalos.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -23339,8 +23339,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.alola, 'Melemele Island').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/alola-melemele.png?v=0.10.17',
href:'assets/images/alola-melemele.png?v=0.10.17'
'xlink:href':'assets/images/alola-melemele.png?v=0.10.18',
href:'assets/images/alola-melemele.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -26697,8 +26697,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.alola, 'Akala Island').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/alola-akala.png?v=0.10.17',
href:'assets/images/alola-akala.png?v=0.10.17'
'xlink:href':'assets/images/alola-akala.png?v=0.10.18',
href:'assets/images/alola-akala.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -28949,8 +28949,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.alola, 'Ula\'ula Island').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/alola-ulaula.png?v=0.10.17',
href:'assets/images/alola-ulaula.png?v=0.10.17'
'xlink:href':'assets/images/alola-ulaula.png?v=0.10.18',
href:'assets/images/alola-ulaula.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -31671,8 +31671,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.alola, 'Poni Island').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/alola-poni.png?v=0.10.17',
href:'assets/images/alola-poni.png?v=0.10.17'
'xlink:href':'assets/images/alola-poni.png?v=0.10.18',
href:'assets/images/alola-poni.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -33766,8 +33766,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.alola, 'Magikarp Jump').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/alola-magikarp-jump.png?v=0.10.17',
href:'assets/images/alola-magikarp-jump.png?v=0.10.17'
'xlink:href':'assets/images/alola-magikarp-jump.png?v=0.10.18',
href:'assets/images/alola-magikarp-jump.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -35865,8 +35865,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.galar, 'South Galar').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/galar-south.png?v=0.10.17',
href:'assets/images/galar-south.png?v=0.10.17'
'xlink:href':'assets/images/galar-south.png?v=0.10.18',
href:'assets/images/galar-south.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -38347,8 +38347,8 @@ <h5>Welcome to the Battle Frontier!</h5>
</g>
<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.galar, 'North Galar').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/galar-north.png?v=0.10.17',
href:'assets/images/galar-north.png?v=0.10.17'
'xlink:href':'assets/images/galar-north.png?v=0.10.18',
href:'assets/images/galar-north.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -39434,8 +39434,8 @@ <h5>Welcome to the Battle Frontier!</h5>
</g>
<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.galar, 'Isle of Armor').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/galar-isle-of-armor.png?v=0.10.17',
href:'assets/images/galar-isle-of-armor.png?v=0.10.17'
'xlink:href':'assets/images/galar-isle-of-armor.png?v=0.10.18',
href:'assets/images/galar-isle-of-armor.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -42316,8 +42316,8 @@ <h5>Welcome to the Battle Frontier!</h5>
</g>
<g data-bind="visible: player.subregion == SubRegions.getSubRegion(GameConstants.Region.galar, 'Crown Tundra').id">
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/galar-crown-tundra.png?v=0.10.17',
href:'assets/images/galar-crown-tundra.png?v=0.10.17'
'xlink:href':'assets/images/galar-crown-tundra.png?v=0.10.18',
href:'assets/images/galar-crown-tundra.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -44344,8 +44344,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind='visible: player.region == GameConstants.Region.hisui'>
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/hsiui.png?v=0.10.17',
href:'assets/images/hisui.png?v=0.10.17'
'xlink:href':'assets/images/hsiui.png?v=0.10.18',
href:'assets/images/hisui.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down Expand Up @@ -53105,8 +53105,8 @@ <h5>Welcome to the Battle Frontier!</h5>

<g data-bind='visible: player.region == GameConstants.Region.paldea'>
<image width="1600" height="960" data-bind="attr: {
'xlink:href':'assets/images/paldea.png?v=0.10.17',
href:'assets/images/paldea.png?v=0.10.17'
'xlink:href':'assets/images/paldea.png?v=0.10.18',
href:'assets/images/paldea.png?v=0.10.18'
}"></image>

<!-- ------ -->
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pokeclicker",
"version": "0.10.17",
"version": "0.10.18",
"description": "PokéClicker repository",
"main": "index.js",
"scripts": {
Expand Down
9 changes: 8 additions & 1 deletion docs/scripts/script.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -3131,7 +3131,7 @@ class Update {
constructor() {
this.saveKey = 'update';
// Loaded from package.json
this.version = '0.10.17';
this.version = '0.10.18';
this.saveVersion = '0.0.0';
this.updateSteps = {
'0.4.0': ({ playerData, saveData }) => {
Expand Down Expand Up @@ -5401,6 +5401,13 @@ class Update {
saveData.statistics.temporaryBattleDefeated[223] = 0;
}
},
'0.10.18': ({ saveData }) => {
var _a, _b;
// Actually fix Anomaly Mewtwo 5 if the quest is not completed.
if (((_b = (_a = saveData.quests.questLines.find(ql => ql.name === 'An Unrivaled Power')) === null || _a === void 0 ? void 0 : _a.state) !== null && _b !== void 0 ? _b : 0) !== 2) {
saveData.statistics.temporaryBattleDefeated[223] = 0;
}
},
};
const saveData = this.getSaveData();
if (saveData) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pokeclicker",
"version": "0.10.17",
"version": "0.10.18",
"description": "PokéClicker repository",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 5dc28e7

Please sign in to comment.