') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); Add missing fossils for gen iv by Machine-Maker · Pull Request #1495 · PokeAPI/pokeapi · GitHub
Skip to content
Merged
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
37 changes: 36 additions & 1 deletion data/v2/csv/encounter_condition_value_map.csv
Original file line numberDiff line numberDiff line change
Expand Up@@ -18611,4 +18611,39 @@ encounter_id,encounter_condition_value_id
71738,177
71739,177
71740,178
71741,178
71741,178
71885,46
71886,47
71887,48
71888,49
71889,50
71890,179
71891,180
71892,46
71893,47
71894,48
71895,49
71896,50
71897,179
71898,180
71899,46
71900,47
71901,48
71902,49
71903,50
71904,179
71905,180
71906,46
71907,47
71908,48
71909,49
71910,50
71911,179
71912,180
71913,46
71914,47
71915,48
71916,49
71917,50
71918,179
71919,180
4 changes: 3 additions & 1 deletion data/v2/csv/encounter_condition_value_prose.csv
Original file line numberDiff line numberDiff line change
Expand Up@@ -298,4 +298,6 @@ encounter_condition_value_id,local_language_id,name
175,9,Give Skitty in a Trade
176,9,Randomly assigned to Friend Safari Slot 1
177,9,Randomly assigned to Friend Safari Slot 2
178,9,Randomly assigned to Friend Safari Slot 3
178,9,Randomly assigned to Friend Safari Slot 3
179,9,Have Skull Fossil in bag
180,9,Have Armor Fossil in bag
2 changes: 2 additions & 0 deletions data/v2/csv/encounter_condition_values.csv
Original file line numberDiff line numberDiff line change
Expand Up@@ -177,3 +177,5 @@ id,encounter_condition_id,identifier,is_default
176,17,friend-safari-slot-1,1
177,17,friend-safari-slot-2,1
178,17,friend-safari-slot-3,1
179,11,item-skull-fossil,0
180,11,item-armor-fossil,0
37 changes: 36 additions & 1 deletion data/v2/csv/encounters.csv
Original file line numberDiff line numberDiff line change
Expand Up@@ -66223,4 +66223,39 @@ id,version_id,location_area_id,encounter_slot_id,pokemon_id,min_level,max_level
71881,21,1359,1466,286,55,59
71882,22,1359,1466,286,55,59
71883,21,1359,1467,591,55,59
71884,22,1359,1467,591,55,59
71884,22,1359,1467,591,55,59
71885,12,1360,497,138,20,20
71886,12,1360,497,140,20,20
71887,12,1360,497,142,20,20
71888,12,1360,497,345,20,20
71889,12,1360,497,347,20,20
71890,12,1360,497,408,20,20
71891,12,1360,497,410,20,20
71892,13,1360,497,138,20,20
71893,13,1360,497,140,20,20
71894,13,1360,497,142,20,20
71895,13,1360,497,345,20,20
71896,13,1360,497,347,20,20
71897,13,1360,497,408,20,20
71898,13,1360,497,410,20,20
71899,14,1360,498,138,20,20
71900,14,1360,498,140,20,20
71901,14,1360,498,142,20,20
71902,14,1360,498,345,20,20
71903,14,1360,498,347,20,20
71904,14,1360,498,408,20,20
71905,14,1360,498,410,20,20
71906,15,1361,499,138,20,20
71907,15,1361,499,140,20,20
71908,15,1361,499,142,20,20
71909,15,1361,499,345,20,20
71910,15,1361,499,347,20,20
71911,15,1361,499,408,20,20
71912,15,1361,499,410,20,20
71913,16,1361,499,138,20,20
71914,16,1361,499,140,20,20
71915,16,1361,499,142,20,20
71916,16,1361,499,345,20,20
71917,16,1361,499,347,20,20
71918,16,1361,499,408,20,20
71919,16,1361,499,410,20,20
4 changes: 3 additions & 1 deletion data/v2/csv/location_area_prose.csv
Original file line numberDiff line numberDiff line change
Expand Up@@ -2389,4 +2389,6 @@ location_area_id,local_language_id,name
1356,9,Abundant Shrine (Hidden Grotto – Near Youngster)
1357,9,Abundant Shrine (Hidden Grotto – Shrine)
1358,9,Pinwheel Forest (Hidden Grotto – Outer area)
1359,9,Pinwheel Forest (Hidden Grotto – Inner area)
1359,9,Pinwheel Forest (Hidden Grotto – Inner area)
1360,9,Oreburgh Mining Museum
1361,9,Pewter Museum of Science
4 changes: 3 additions & 1 deletion data/v2/csv/location_areas.csv
Original file line numberDiff line numberDiff line change
Expand Up@@ -1239,4 +1239,6 @@ id,location_id,game_index,identifier
1356,412,70,hidden-grotto-near-youngster
1357,412,70,hidden-grotto-shrine
1358,375,33,hidden-grotto-outer-area
1359,375,33,hidden-grotto-inner-area
1359,375,33,hidden-grotto-inner-area
1360,168,0,oreburgh-mining-museum
1361,231,0,pewter-museum-of-science
Loading