-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (98 loc) · 4.38 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
<!DOCTYPE html>
<head>
<link rel="icon" type="image/x-icon" href="assets\Poké_Radar.webp">
<title>BDSP Poke Radar Sim</title>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="lib/Toast.min.css">
<script src="lib/Toast.min.js"></script>
</head>
<body>
<h1>BDSP Poke Radar Sim</h1>
<div id="header">
<div id="options">
<details>
<summary>Options & Tools</summary>
<div class="tools">
<select id="game-version">
<option value="0">BDSP</option>
<option value="1">DPPt</option>
</select>
<div><label for="catching">Catching? </label><input type="checkbox" id="catching"></div>
<div class="input-container"><input id="chain-set" type="text"><button onclick="useRadar();">Set Chain</button></div>
<button onclick="randPos();radarArea();">Random Position</button>
<button onclick="useRadar();">Use Radar</button>
<div id="position">Row: 5 Patch: 5</div>
</div>
</details>
</div>
<div id="automater">
<details>
<summary>Automation</summary>
<div class="tools">
<div class="input-container">Chain Method:
<select id="chain-method">
<option value="0">1 Patch Away</option>
<option value="1">2 Patch Away</option>
<option value="2">3 Patch Away</option>
<option value="3">4 Patch Away</option>
</select>
</div>
<div class="input-container">Chain Attempts:<input id="chain-attempt" class="infinity" type="text" pattern="^∞$"></div>
<div class="input-container">Chain Target:<input id="chain-target" type="text"></div>
<div class="input-container">Automate Delay:<input id="auto-delay" type="text"></div>
<button id="automate" onclick="startAutomate();">Automate</button>
</div>
</details>
</div>
<div id="statistics">
<details>
<summary>Statistics</summary>
<div class="tools">
<div id="radar-uses">Radar Uses: 0</div>
<div id="chain-break">Chain Breaks: 0</div>
<div id="chain-high">Highest Chain: 0</div>
<div id="chain-average">Chain Average: 0</div>
<div class="stat-icon"><img src="assets/Grass.png" style="filter: hue-rotate(50deg);"><div id="normal-patch">Normal Patches: 0</div></div>
<div class="stat-icon"><img src="assets/Grass.png" style="filter: hue-rotate(100deg);"><div id="ability-patch">HA Patches: 0</div></div>
<div class="stat-icon"><img src="assets/Grass_Shiny.png" style="filter: hue-rotate(300deg);"><div id="shiny-patch">Shiny Patches: 0</div></div>
<div class="stat-icon"><img src="assets/Grass_Shiny.png" style="filter: hue-rotate(200deg);"><div id="shiny-ha-patch">Shiny HA Patches: 0</div></div>
<hr>
<div id="flaw-1IV">Flawless 1 IV: 0</div>
<div id="flaw-2IV">Flawless 2 IV: 0</div>
<div id="flaw-3IV">Flawless 3 IV: 0</div>
<div id="flaw-5IV">Flawless 5 IV: 0</div>
<hr>
<div id="0IV">Total 0 IV: 0</div>
<div id="1IV">Total 1 IV: 0</div>
<div id="2IV">Total 2 IV: 0</div>
<div id="3IV">Total 3 IV: 0</div>
<div id="4IV">Total 4 IV: 0</div>
<div id="5IV">Total 5 IV: 0</div>
<div id="6IV">Total 6 IV: 0</div>
</div>
</details>
</div>
</div>
<div id="container"></div>
<div id="chain-odds">
<div id="chain-counter"></div>
<div id="shiny-chance"></div>
</div>
<div id="preload">
<img src="assets\Grass.png" width="1" height="1" />
<img src="assets\Grass_Shiny.png" width="1" height="1" />
<img src="assets\player\Player_Back.png" width="1" height="1" />
<img src="assets\player\Player_Down_1.png" width="1" height="1" />
<img src="assets\player\Player_Down_2.png" width="1" height="1" />
<img src="assets\player\Player_Front.png" width="1" height="1" />
<img src="assets\player\Player_L_Side.png" width="1" height="1" />
<img src="assets\player\Player_Left_1.png" width="1" height="1" />
<img src="assets\player\Player_Left_2.png" width="1" height="1" />
<img src="assets\player\Player_R_Side.png" width="1" height="1" />
<img src="assets\player\Player_Right_1.png" width="1" height="1" />
<img src="assets\player\Player_Right_2.png" width="1" height="1" />
<img src="assets\player\Player_Up_1.png" width="1" height="1" />
<img src="assets\player\Player_Up_2.png" width="1" height="1" />
</div>
</body>
<script src="js/main.js"></script>