-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
297 lines (238 loc) · 11.7 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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<meta name="description" content="A game. Play now!">
<meta name="keywords" content="agp, gaming, game">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/menu.css">
<link rel="stylesheet" href="css/enemy.css">
<link rel="stylesheet" href="css/area.css">
<link rel="stylesheet" href="css/shop.css">
<link rel="stylesheet" href="css/rbu.css">
<script src="js/class/Player.js" defer></script>
<script src="js/class/Stats.js" defer></script>
<script src="js/main.js" defer></script>
<script src="js/functions.js" defer></script>
<script src="js/saving.js" defer></script>
<script src="js/calcstats.js" defer></script>
<script src="js/enemy.js" defer></script>
<script src="js/battle.js" defer></script>
<script src="js/area.js" defer></script>
<script src="js/areabattle.js" defer></script>
<script src="js/shop.js" defer></script>
<script src="js/rbu.js" defer></script>
<script src="js/lists/enemies.js" defer></script>
<script src="js/lists/buffs.js" defer></script>
<script src="js/lists/swords.js" defer></script>
<script src="js/lists/shields.js" defer></script>
<script src="js/lists/items.js" defer></script>
<script src="js/lists/areas.js" defer></script>
<script src="js/lib/break_eternity.js"></script>
<script src="js/lib/format.js"></script>
<title>AGP</title>
</head>
<body onload="pageLoad();">
<img src="media/bg/main.png" id="bg" alt="Menu">
<div class="ui">
<div id="left" class="side">
<p><img class="icon" title="Currencies" alt="Currencies" src="media/currency.png"> <span id="currencyDisplay">0</span></p>
<p><img class="icon" title="RBU" alt="RBU" src="media/rbu.png"> <span id="rbuDisplay">0</span></p>
<p><img class="icon" title="Level" alt="Level" src="media/level.png"> <span id="levelDisplay">0</span>, <span id="xpDisplay">0</span>/<span id="maxXpDisplay">0</span> XP</p>
<a href="infohub/index.html" id="info-hub">Information Hub</a>
</div>
<div id="game">
<div class="section" id="main">
<div class="subsection" id="main-main">
<div class="tile" id="tile-enemy" onclick="player.clickTile('enemy');"></div>
<div class="tile" id="tile-area" onclick="player.clickTile('area');"></div>
<div class="tile" id="tile-shop" onclick="player.clickTile('shop');"></div>
<div class="tile" id="tile-rbu" onclick="player.clickTile('rbu');"></div>
</div>
</div>
<div class="section" id="enemy" style="display:none;">
<div class="subsection" id="enemy-main">
<div class="back" onclick="player.switchTab()"></div>
<p id="spawner-tutorial-thingy">Click to toggle enemy spawning!</p>
<div id="enemy-top">
<div id="enemy-items">
<div id="use-squarespawn" class="consumable-item e-consumable-item" onclick="useConsumable('squarespawn')"></div>
</div>
<span id="e-consumable-count" class="consumable-count"></span>
<div id="toggle-spawn" onclick="toggleSpawner()">
<img id="toggle-spawn-img" src="media/spawner off.png">
</div>
</div>
<div id="enemy-field-visible">
<div id="enemy-field"></div>
</div>
</div>
<div class="subsection" id="enemy-battle" style="display:none;">
<div class="forfeit" onclick="forfeitFight()"></div>
<p class="battle-title">Vs. Red Square</p>
<div class="battle-player">
<p class="battle-stat battle-player-decrease">-1</p>
<p class="battle-stat battle-player-hp">10/10</p>
<img class="battle-player-img" src="media/player.png">
<p class="battle-stat battle-player-atk">2 ATK</p>
<p class="battle-stat battle-player-accy">75 ACCY</p>
<p class="battle-stat battle-player-blk">0 BLK</p>
</div>
<div class="battle-enemy">
<p class="battle-stat battle-enemy-decrease">-1</p>
<p class="battle-stat battle-enemy-hp">100/100</p>
<img class="battle-enemy-img" src="media/enemies/redsquare.png" width="128" height="128">
<p class="battle-stat battle-enemy-atk">10 ATK</p>
<p class="battle-stat battle-enemy-accy">85 ACCY</p>
<p class="battle-stat battle-enemy-blk">5 BLK</p>
</div>
<div class="battle-end" style="display:none;">
<p class="battle-result">Somebody won!</p>
<p class="battle-end-text battle-end-message">Click the button at the top left to exit.</p>
<div class="battle-rewards">
<p class="battle-end-text battle-currency-reward">+<span class="b-cr-value">0</span><img class="icon" title="Currencies" alt="Currencies" src="media/currency.png"></p>
<p class="battle-end-text battle-xp-reward">+<span class="b-xp-value">0</span> XP</p>
</div>
</div>
</div>
</div>
<div class="section" id="area" style="display:none;">
<div class="subsection" id="area-main">
<div class="back" onclick="player.switchTab()"></div>
<p class="section-title">Pick a Zone</p>
<div id="pick-zone">
<div id="first-zone"></div>
<div id="prev-zone"></div>
<span id="picked-zone">0</span>
<div id="next-zone"></div>
<div id="last-zone"></div>
<button id="select-zone">Go to Zone 0</button>
</div>
<button id="go-to-area-diffs">Area Difficulty Info</button>
</div>
<div class="subsection" id="area-select" style="display:none;">
<div class="back" onclick="player.switchTab('area')"></div>
<p class="section-title">Pick an Area</p>
<div id="area-box">
<div id="area-container"></div>
<div id="area-info">
<p id="area-info-header" class="section-title">Area Info</p>
<i id="area-idesc"></i>
<ul id="area-infos"></ul>
</div>
</div>
</div>
<div class="subsection" id="area-play" style="display:none;">
<div class="forfeit" onclick="forfeitJourney()"></div>
<p id="area-current-title" class="section-title nomargin">Area 0-1: ae</p>
</div>
<div class="subsection" id="area-fight" style="display:none;">
<div class="forfeit" onclick="forfeitJourney()"></div>
<p class="battle-title">Vs. Red Square</p>
<div class="battle-player">
<p class="battle-stat battle-player-decrease">-1</p>
<p class="battle-stat battle-player-hp">10/10</p>
<img class="battle-player-img" src="media/player.png">
<p class="battle-stat battle-player-atk">2 ATK</p>
<p class="battle-stat battle-player-accy">75 ACCY</p>
<p class="battle-stat battle-player-blk">0 BLK</p>
</div>
<div class="battle-enemy">
<p class="battle-stat battle-enemy-decrease">-1</p>
<p class="battle-stat battle-enemy-hp">100/100</p>
<img class="battle-enemy-img" src="media/enemies/redsquare.png" width="128" height="128">
<p class="battle-stat battle-enemy-atk">10 ATK</p>
<p class="battle-stat battle-enemy-accy">85 ACCY</p>
<p class="battle-stat battle-enemy-blk">5 BLK</p>
</div>
<div class="battle-end" style="display:none;">
<p class="battle-result">Somebody won!</p>
<p class="battle-end-text battle-end-message">Click the button at the top left to exit.</p>
<div class="battle-rewards">
<p class="battle-end-text battle-currency-reward">+<span class="b-cr-value">0</span><img class="icon" title="Currencies" alt="Currencies" src="media/currency.png"></p>
<p class="battle-end-text battle-xp-reward">+<span class="b-xp-value">0</span> XP</p>
</div>
</div>
</div>
<div class="subsection" id="area-multifight" style="display:none;">
<div class="forfeit" onclick="forfeitJourney()"></div>
<p class="battle-title">Vs. Red Square</p>
<div class="battle-player">
<p class="battle-stat battle-player-decrease">-1</p>
<p class="battle-stat battle-player-hp">10/10</p>
<img class="battle-player-img" src="media/player.png">
<p class="battle-stat battle-player-atk">2 ATK</p>
<p class="battle-stat battle-player-accy">75 ACCY</p>
<p class="battle-stat battle-player-blk">0 BLK</p>
</div>
<div id="battle-enemies"></div>
<div class="battle-end" style="display:none;">
<p class="battle-result">Somebody won!</p>
<p class="battle-end-text battle-end-message">Click the button at the top left to exit.</p>
<div class="battle-rewards">
<p class="battle-end-text battle-currency-reward">+<span class="b-cr-value">0</span><img class="icon" title="Currencies" alt="Currencies" src="media/currency.png"></p>
<p class="battle-end-text battle-xp-reward">+<span class="b-xp-value">0</span> XP</p>
</div>
</div>
</div>
<div class="subsection" id="area-finish" style="display:none;">
<div class="forfeit" onclick="forfeitJourney()"></div>
<p id="area-finish-title" class="section-title" style="font-size:6em;margin-block:0.5em">Area thing Clear!</p><br><br>
<p id="area-finish-desc" class="section-subtitle">You have finished Area thing: Thing.</p>
<p class="section-subtitle">Click the button at the top left to exit.</p>
<p class="battle-stat battle-currency-reward">+<span id="area-finish-cr-value">0</span><img class="icon" title="Currencies" alt="Currencies" src="media/currency.png"></p>
<p class="battle-stat battle-xp-reward">+<span id="area-finish-xp-value">0</span> XP</p>
</div>
<div class="subsection" id="area-diffs" style="display:none;">
<div class="back" onclick="player.switchTab('area')"></div>
</div>
</div>
<div class="section" id="shop" style="display:none;">
<div class="subsection" id="shop-main">
<div class="back" onclick="player.switchTab()"></div>
<p class="section-title">The Shop</p>
<p class="section-subtitle">You get an item for buying in the shop, they're not insta-use.</p>
<div id="items"></div>
</div>
</div>
<div class="section" id="rbu" style="display:none;">
<div class="subsection" id="rbu-main">
<div class="back" onclick="player.switchTab()"></div>
<p class="section-title">You have <span id="rbu-counter">N</span> RBU</p>
<button id="collect-rbu">+<span id="rbu-per-collect">n</span> RBU</button>
<div id="rbu-items">
<span id="r-consumable-count" class="consumable-count"></span>
<div id="use-rburecharge" class="consumable-item r-consumable-item" onclick="useConsumable('rburecharge')"></div>
</div>
<button id="buy-rbs">RB Shop</button>
</div>
<div class="subsection" id="rbu-rbshop" style="display:none;">
<div class="back" onclick="player.switchTab()"></div>
<p class="section-title">RB Shop</p>
<div id="select-rb">
<div id="selected-rb" style="background-image:url(media/rbs/1.png);"></div>
<div id="first-rb"></div>
<div id="prev-rb"></div>
<div id="next-rb"></div>
<div id="last-rb"></div>
<button id="buy-rb">Buy (<span id="rb-cost">45</span> RBU)</button>
</div>
</div>
<div class="subsection" id="rbu-select" style="display:none;">
<div id="select-rb-back" class="back" style="display:none;" onclick="player.switchTab()"></div>
<p class="section-title">Select a Bonus!</p>
<p class="section-subtitle">Hover over a bonus to see its effect.</p>
<div id="bonuses"></div>
<div id="picked-buff" style="display:none;">
<p class="section-title" id="picked-buff-title">You've picked:</p>
<p class="section-subtitle" id="pbuff-name">Name</p>
<img id="pbuff-img"></img>
<p class="section-subtitle" id="pbuff-effect">Effect</p><br>
<p class="section-subtitle">Click the button at the top left to exit.</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>