Show Pokémon GO again
GO is back in the game list and in Move to HOME (it sends to HOME through GO Transporter). Its logo is saved for offline again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
578d06c61b
commit
2b5fef8203
3 files changed
+6
-5
No files matched your search
@@ -10,7 +10,7 @@ Files: `icons.js` (icon set), `app.js` (sync, dex, hunts, stats, auth), `detail.
|
||||
opened from Stats), `palette.js` (command palette: bolt button or Ctrl/⌘K). Script order in `index.html`: icons.js,
|
||||
detail.js, timeline.js, compare.js, tohome.js, palette.js, app.js.
|
||||
|
||||
Games shown: HOME and the games on Switch / Switch 2, FireRed / LeafGreen included (`SHOWN_GAMES` in `app.js`). The older games and GO stay
|
||||
Games shown: HOME, GO and the games on Switch / Switch 2, FireRed / LeafGreen included (`SHOWN_GAMES` in `app.js`). The older games stay
|
||||
in `data/games.json`, and their catches, badges and playthroughs stay in the account and in JSON backups, but
|
||||
`live()` leaves them out everywhere else. Add an id to `SHOWN_GAMES` to bring a game back (and its logos to
|
||||
`ASSETS` in `sw.js`).
|
||||
|
||||
@@ -47,10 +47,10 @@ function writeJSON(key, value) {
|
||||
// ---------------------------------------------------------------------------
|
||||
let SPECIES = [];
|
||||
let SPECIES_BY_ID = new Map();
|
||||
// The games the app shows: HOME and the Switch / Switch 2 games. The older games
|
||||
// (and GO) stay in data/games.json, and their catches, badges and playthroughs
|
||||
// The games the app shows: HOME, GO and the games on Switch / Switch 2. The older
|
||||
// games stay in data/games.json, and their catches, badges and playthroughs
|
||||
// stay in the account and in backups, just out of sight. Add an id to bring one back.
|
||||
const SHOWN_GAMES = new Set(['home', 'frlg', 'letsgo', 'swsh', 'bdsp', 'legendsarceus', 'sv', 'legendsza']);
|
||||
const SHOWN_GAMES = new Set(['home', 'pogo', 'frlg', 'letsgo', 'swsh', 'bdsp', 'legendsarceus', 'sv', 'legendsza']);
|
||||
const GAME_KINDS = new Set(['catch', 'badge', 'playthrough']); // records that belong to one game
|
||||
let GAMES = [];
|
||||
// Extra HOME forms (data/forms.json, from scripts/fetch_forms.py): forms that
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// then installs the new version in the background and the page reloads or offers to.
|
||||
// Sprites and PokéAPI data: cache-first, since they never change.
|
||||
// Sign-in and sync requests (googleapis.com) are never cached.
|
||||
var CACHE = 'poketracker-v28';
|
||||
var CACHE = 'poketracker-v29';
|
||||
// v2: remote sprites are now fetched with CORS. v1 held them as opaque responses,
|
||||
// which browsers count as several MB each against the storage quota.
|
||||
var SPRITES = 'poketracker-sprites-v2';
|
||||
@@ -16,6 +16,7 @@ var ASSETS = [
|
||||
'./vendor/firebase/firebase-app-compat.js',
|
||||
'./vendor/firebase/firebase-auth-compat.js',
|
||||
'./logos/bdsp-0.webp',
|
||||
'./logos/pogo-0.webp',
|
||||
'./logos/frlg-0.webp',
|
||||
'./logos/frlg-1.webp',
|
||||
'./logos/bdsp-1.webp',
|
||||
|
||||
Reference in new issue
Block a user