-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
207 lines (199 loc) · 9.62 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" />
<title>Pokémon Shiny Value (TSV/ESV) Checker</title>
<link rel="shortcut icon" href="resources/icon.png" type="image/png" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes, target-densitydpi=device-dpi" />
<link type="text/css" href="resources/bootstrap.min.css" rel="stylesheet" media="screen" />
<link type="text/css" href="resources/bootstrap-theme.min.css" rel="stylesheet" media="screen" />
<link type="text/css" href="resources/overrides.css" rel="stylesheet" media="screen" />
<script type="text/javascript">
window.dada = {};
window.dada.i18n = {"response_error":"Error"}
</script>
<script type="text/javascript" src="frontend/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="frontend/main.js" charset="utf-8"></script>
<style type="text/css">
/*@font-face {
font-family: "Pokemon_Solid";
//src: local(resources/Pokemon_Solid.ttf) format("truetype");
src: url(https://github.com/RenegadeRaven/SV_Calculator/raw/gh-pages/resources/Pokemon_Solid.ttf) format("truetype");
}
.auto-title {
text-decoration: underline;
text-align: center;
font-size: 26pt;
font-family: Pokemon_Solid;
}*/
.auto-style1 {
color: #F95CDD;
}
#ccgd{
visibility: collapse;
display: none;
margin-left: 300px;
height: 0px;
}
.spoiler {
border-radius: 12px;
/*background-color: #97befc;*/
padding: 1%;
display: table;
margin: auto;
background-image: url("https://renegaderaven.github.io/SV_Calculator/resources/bg.png");
}
.spoiler-header, .spoiler-toggle {
/* float: left; */
display: inline-block;
Margin-left: 23rem;
font-size: 22px;
text-align: center;
}
.spoiler-toggle {
margin-left: 14rem;
}
.spoiler > .spoiler-content {
display: none;
}
.spoiler.open > .spoiler-content {
display: block;
background-image: url("https://renegaderaven.github.io/SV_Calculator/resources/bg.png");
margin-top: 1rem;
padding: 1%;
text-align: left;
}
</style>
</head>
<body background="resources/bg.png" style="height: 1099px">
<div class="page index" id="root">
<div class="container">
<div class="intro"><br/>
<u><center>
<img src="resources/title.png" alt="pokemon-font" border="0" style="text-decoration: underline"/></center></u><br/>
<!--<h1 class="auto-title">Pokémon Shiny Value (TSV/ESV) Checker</h1><br/>-->
<!--<p class="languages"><a href="index-en.php" class="active">English</a> <a href="index-jp.php" class="">日本語</a></p>-->
<a href="TilableToast.html"><img src="resources/shuckle.gif" width="109" height="96" class="mascot" /></a>
<div class="intro-text"><p>This tool will let you check the "shiny value" of a player or of an egg (a value between 0 and 8191 for Gen III to V, and between 0 and 4095 for Gen VI and up). If the egg and the player's SVs are the same, the resulting Pokémon will be hatched shiny. This tool can also calculate Pokémon Shiny Value (PSV), just use the ESV section.</p><p><strong>Note:</strong> This tool is only accurate for Pokémon games Gen III and up. Don't input decimal PID—convert them to hexadecimal first.</p>
<p>If the calculated TSV becomes <span class="auto-style1">pink</span>, that means the
inputed IDs can be used for the Cute Charm Glitch in Gen IV
(DPPtHGSS).<br/> Cute Charm information will be given as (Gender of Lead | Target Gender Ratio | Shiny Group).</p>
<div id="tsv9info" class="collapse"><p><span class="auto-style1">* = The TSV of 9 can be used in two Shiny Groups.</span></p></div>
<!--<p>For more information, view the <a href="http://www.reddit.com/r/SVExchange/comments/1xp9km/tsvesv_checker_tool_for_when_pok%C3%A9check_gen6/">info topic on r/svexchange</a>. You can download this page using your browser, and it should work offline—or you can use <a href="https://dl.dropboxusercontent.com/u/12206225/SVHelper.zip">Kaphotics' Windows SV Helper</a>.</p>--></div>
</div>
</div>
<br/>
<div class="forms">
<div class="band blue">
<div class="container">
<form class="sv-chk" role="form">
<div class="row">
<div class="col-xs-6 col-sm-2 top-col">
<div class="form-group" id="group_tid">
<label class="control-label" for="input_tid">Trainer ID</label>
<input type="number" class="form-control" id="input_tid" placeholder="TID" min="0" max="65535" />
</div>
</div>
<div class="col-xs-6 col-sm-2 top-col" id="group_sid">
<div class="form-group">
<label class="control-label" for="input_sid">Secret ID</label>
<input type="number" class="form-control" id="input_sid" placeholder="SID" min="0" max="65535" />
</div>
</div>
<div class="col-xs-3 col-xs-offset-3 col-sm-offset-0 col-sm-2 col-button">
<div class="form-group">
<label class="control-label calculate-label" for="input_tid"> </label>
<button type="submit" class="btn btn-block btn-default" id="calculate_tsv">Calculate</button>
</div>
</div>
<div class="col-xs-3 col-sm-3 col-result">
<div class="form-group" id="genIII">
<label class="control-label" for="genIII">Gen III-V Trainer Shiny Value (TSV)</label>
<span class="result" id="result_tsv8192">-</span>
</div>
</div>
<div class="col-xs-3 col-sm-3 col-result" id="genVI">
<div class="form-group">
<label class="control-label" for="genVI">Gen VI+ Trainer Shiny Value (TSV)</label>
<span class="result" id="result_tsv4096">-</span>
</div>
</div>
</div>
</form>
</div>
</div>
<div id="ccimg" class="collapse"><center>
<!--<img src="resources/ccg.png" class="ccg" id="ccgimg"/>-->
<strong><span id="ShinyGroup">-</span></strong><br/>
<canvas id="ccgimg0" width="110" height="162"></canvas><canvas id="ccgimg1" width="110" height="162"></canvas><canvas id="ccgimg2" width="110" height="162"></canvas><canvas id="ccgimg3" width="111" height="162"></canvas>
</center><br/></div>
<div class="band green">
<div class="container">
<form class="sv-chk" role="form">
<div class="row">
<div class="col-xs-12 col-sm-4 top-col">
<div class="form-group" id="group_pid">
<label class="control-label" for="input_pid">Egg PID (e.g. 5C5E0FA8)</label>
<input type="text" class="form-control" id="input_pid" placeholder="PID" maxlength="8" style="text-transform: uppercase" />
</div>
</div>
<div class="col-xs-3 col-xs-offset-3 col-sm-offset-0 col-sm-2 col-button">
<div class="form-group">
<label class="control-label calculate-label" for="input_tid"> </label>
<button type="submit" class="btn btn-block btn-default" id="calculate_esv">Calculate</button>
</div>
</div>
<div class="col-xs-3 col-sm-3 col-result">
<div class="form-group">
<label class="control-label">Gen III-V Egg Shiny Value (ESV)</label>
<span class="result" id="result_esvttf">-</span>
</div>
</div>
<div class="col-xs-3 col-sm-3 col-result">
<div class="form-group">
<label class="control-label">Gen VI+ Egg Shiny Value (ESV)</label>
<span class="result" id="result_esv">-</span>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="container">
<div class="outro">
<div class="outro-text"><p>This site is a fork of <a href="http://tomatoland.org/dada/pkmn/sv/">a site</a> originally written by <a href="https://twitter.com/dada78641">Dada</a>, which you can go to by clicking <a href="http://tomatoland.org/dada/pkmn/sv/">here</a>.</p>
<!-- If you have a question, please <a href="http://www.reddit.com/message/compose/?to=dada_">message me on Reddit</a>, <a href="mailto:michiel@tomatoland.org">email me</a>, or post a topic in <a href="http://reddit.com/r/svexchange">r/svexchange</a>.</p>--></div>
</div><br/><br/><br/><br/>
<div class="spoiler">
<div class="spoiler-header"><center><strong><u>Changelog:</u></strong></center></div>
<button class="btn btn-block btn-default spoiler-toggle" style="width: 40px; height: 25px; font-size: x-small;" id="spt" onclick="btnToggle()">Show</button>
<div class="spoiler-content">
<strong>Oct. 9 2020:</strong><br/>
- Added Female Leads into the calculations<br/>
- Improved Cute Charm table, etc.<br/>
- Updated Shuckle gif link<br/><br/>
<strong>May 5 2019:</strong><br/>
- Fixed textboxes value limit<br/>
- PID auto-capitalizes<br/>
- Added ability to scroll down the page<br/><br/>
<strong>Dec. 23 2018:</strong><br/>
- Gen III-V TSV now turns pink if it can be used for the Cute Charm Glitch in Gen IV<br/>
- If TSV is Cute Charm Glitch compatible, it tells you which Shiny Group<br/>
- Added download for a list of all Cute Charm Glitch compatible IDs<br/>
- Corrected Error checks<br/>
- Mascot icon and better gif<br/>
- Changelog is now in a spoiler<br/><br/>
<strong>Sept. 8 2018:</strong><br/>
- Added Gen III to V support.<br/>
- Changed some text and site structure to reflect the support mentioned above.<br/>
- Added a background.<br/>
- Changed Mascot (because shiny Shuckle).<br/>
- Other minor changes.
</div>
</div>
</div>
</div>
</body>
</html>