# Taken from here
# https://www.pokemoncoders.com/pokemon-unbound-cheats/

ITEMS = """
1 | POKE BALLS | MASTER BALL | 001
2 | POKE BALLS | ULTRA BALL | 002
3 | POKE BALLS | GREAT BALL | 003
4 | POKE BALLS | POKE BALL | 004
5 | POKE BALLS | SAFARI BALL | 005
6 | POKE BALLS | NET BALL | 006
7 | POKE BALLS | DIVE BALL | 007
8 | POKE BALLS | NEST BALL | 008
9 | POKE BALLS | REPEAT BALL | 009
10 | POKE BALLS | TIMER BALL | 00A
11 | POKE BALLS | LUXURY BALL | 00B
12 | POKE BALLS | PREMIER BALL | 00C
13 | MEDICINE | POTION | 00D
14 | MEDICINE | ANTIDOTE | 00E
15 | MEDICINE | BURN HEAL | 00F
16 | MEDICINE | ICE HEAL | 010
17 | MEDICINE | AWAKENING | 011
18 | MEDICINE | PARLYZ HEAL | 012
19 | MEDICINE | FULL RESTORE | 013
20 | MEDICINE | MAX POTION | 014
21 | MEDICINE | HYPER POTION | 015
22 | MEDICINE | SUPER POTION | 016
23 | MEDICINE | FULL HEAL | 017
24 | MEDICINE | REVIVE | 018
25 | MEDICINE | MAX REVIVE | 019
26 | MEDICINE | FRESH WATER | 01A
27 | MEDICINE | SODA POP | 01B
28 | MEDICINE | LEMONADE | 01C
29 | MEDICINE | MOOMOO MILK | 01D
30 | MEDICINE | ENERGY POWDER | 01E
31 | MEDICINE | ENERGY ROOT | 01F
32 | MEDICINE | HEAL POWDER | 020
33 | MEDICINE | REVIVAL HERB | 021
34 | MEDICINE | ETHER | 022
35 | MEDICINE | MAX ETHER | 023
36 | MEDICINE | ELIXER | 024
37 | MEDICINE | MAX ELIXER | 025
38 | MEDICINE | LAVA COOKIE | 026
39 | FLUTE | BLUE FLUTE | 027
40 | FLUTE | YELLOW FLUTE | 028
41 | FLUTE | RED FLUTE | 029
42 | FLUTE | BLACK FLUTE | 02A
43 | FLUTE | WHITE FLUTE | 02B
44 | MEDICINE | BERRY JUICE | 02C
45 | MEDICINE | SACRED ASH | 02D
46 | VALUABLE ITEMS | SHOAL SALT | 02E
47 | VALUABLE ITEMS | SHOAL SHELL | 02F
48 | MISC | RED SHARD | 030
49 | MISC | BLUE SHARD | 031
50 | MISC | YELLOW SHARD | 032
51 | MISC | GREEN SHARD | 033
52 | POKE BALLS | PARK BALL | 034
53 | POKE BALLS | CHERISH BALL | 035
54 | DEAD VALUE | DEAD VALUE | 036
55 | IN-BATTLE EFFECTS | LIFE ORB | 037
56 | IN-BATTLE EFFECTS | TOXIC ORB | 038
57 | IN-BATTLE EFFECTS | FLAME ORB | 039
58 | IN-BATTLE EFFECTS | BLACK SLUDGE | 03A
59 | MISC | MAX POWDER | 03B
60 | POKE BALLS | DUSK BALL | 03C
61 | POKE BALLS | HEAL BALL | 03D
62 | POKE BALLS | QUICK BALL | 03E
63 | VITAMINS | HP UP | 03F
64 | VITAMINS | PROTEIN | 040
65 | VITAMINS | IRON | 041
66 | VITAMINS | CARBOS | 042
67 | VITAMINS | CALCIUM | 043
68 | MISC | RARE CANDY | 044
69 | VITAMINS | PP UP | 045
70 | VITAMINS | ZINC | 046
71 | VITAMINS | PP MAX | 047
72 | MISC | HONEY | 048
73 | BATTLE ITEMS | GUARD SPEC | 049
74 | BATTLE ITEMS | DIRE HIT | 04A
75 | BATTLE ITEMS | X ATTACK | 04B
76 | BATTLE ITEMS | X DEFEND | 04C
77 | BATTLE ITEMS | X SPEED | 04D
78 | BATTLE ITEMS | X ACCURACY | 04E
79 | BATTLE ITEMS | X SPECIAL | 04F
80 | MISC | POKE DOLL | 050
81 | MISC | FLUFFY TAIL | 051
82 | BATTLE ITEMS | X SP. DEF | 052
83 | MISC | SUPER REPEL | 053
84 | MISC | MAX REPEL | 054
85 | MISC | ESCAPE ROPE | 055
86 | MISC | REPEL | 056
87 | DEAD VALUE | DEAD VALUE | 057
88 | MISC | WISHING PIECE | 058
89 | MISC | DREAM MIST | 059
90 | IN-BATTLE EFFECTS | LIGHT CLAY | 05A
91 | EVOLUTION | LINK STONE | 05B
92 | KEY ITEMS | MAGMA STONE | 05C
93 | EVOLUTION | SUN STONE | 05D
94 | EVOLUTION | MOON STONE | 05E
95 | EVOLUTION | FIRE STONE | 05F
96 | EVOLUTION | THUNDER STONE | 060
97 | EVOLUTION | WATER STONE | 061
98 | EVOLUTION | LEAF STONE | 062
99 | EVOLUTION | DUSK STONE | 063
100 | EVOLUTION | DAWN STONE | 064
101 | EVOLUTION | SHINY STONE | 065
102 | EVOLUTION | OVAL STONE | 066
103 | VALUABLE ITEMS | TINY MUSHROOM | 067
104 | VALUABLE ITEMS | BIG MUSHROOM | 068
105 | EVOLUTION | ICE STONE | 069
106 | VALUABLE ITEMS | PEARL | 06A
107 | VALUABLE ITEMS | BIG PEARL | 06B
108 | VALUABLE ITEMS | STARDUST | 06C
109 | VALUABLE ITEMS | STAR PIECE | 06D
110 | VALUABLE ITEMS | NUGGET | 06E
111 | MISC | HEART SCALE | 06F
112 | EVOLUTION | PROTECTOR | 070
113 | EVOLUTION | MAGMARIZER | 071
114 | VALUABLE ITEMS | RARE BONE | 072
115 | EVOLUTION | PRISM SCALE | 073
116 | EVOLUTION | SACHET | 074
117 | EVOLUTION | WHIPPED DREAM | 075
118 | BERRIES | ENIGMA BERRY (HEAL+) | 076
119 | KEY ITEMS | MEGA CUFF | 077
120 | KEY ITEMS | MEGA TIARA | 078
121 | MAIL | ORANGE MAIL | 079
122 | MAIL | HARBOR MAIL | 07A
123 | MAIL | GLITTER MAIL | 07B
124 | MAIL | MECH MAIL | 07C
125 | MAIL | WOOD MAIL | 07D
126 | MAIL | WAVE MAIL | 07E
127 | MAIL | BEAD MAIL | 07F
128 | MAIL | SHADOW MAIL | 080
129 | MAIL | TROPIC MAIL | 081
130 | MAIL | DREAM MAIL | 082
131 | MAIL | FAB MAIL | 083
132 | MAIL | RETRO MAIL | 084
133 | BERRIES | CHERI BERRY (PARALYSIS) | 085
134 | BERRIES | CHESTO BERRY (SLEEP) | 086
135 | BERRIES | PECHA BERRY (POISON) | 087
136 | BERRIES | RAWST BERRY (BURN) | 088
137 | BERRIES | ASPEAR BERRY (DEFROST) | 089
138 | BERRIES | LEPPA BERRY (10PP) | 08A
139 | BERRIES | ORAN BERRY (10HP) | 08B
140 | BERRIES | PERSIM BERRY (CONFUSION) | 08C
141 | BERRIES | LUM BERRY (HEAL) | 08D
142 | BERRIES | SITRUS BERRY (HEAL) | 08E
143 | BERRIES | FIGY BERRY (HEAL+) | 08F
144 | BERRIES | WIKI BERRY (HEAL+) | 090
145 | BERRIES | MAGO BERRY (HEAL+) | 091
146 | BERRIES | AGUAV BERRY (HEAL+) | 092
147 | BERRIES | IAPAPA BERRY (HEAL+) | 093
148 | BERRIES | RAZZ BERRY (SAFARI+) | 094
149 | BERRIES | BLUK BERRY (SAFARI+) | 095
150 | BERRIES | NANAB BERRY (SAFARI+) | 096
151 | BERRIES | WEPEAR BERRY (SAFARI+) | 097
152 | BERRIES | PINAP BERRY (SAFARI+) | 098
153 | BERRIES | POMEG BERRY (FRIENDLY+) | 099
154 | BERRIES | KELPSY BERRY (FRIENDLY+) | 09A
155 | BERRIES | QUALOT BERRY (FRIENDLY+) | 09B
156 | BERRIES | HONDEW BERRY (FRIENDLY+) | 09C
157 | BERRIES | GREPA BERRY (FRIENDLY+) | 09D
158 | BERRIES | TAMATO BERRY (FRIENDLY+) | 09E
159 | BERRIES | CORNN BERRY (NG) | 09F
160 | BERRIES | MAGOST BERRY (NG) | 0A0
161 | BERRIES | RABUTA BERRY (NG) | 0A1
162 | BERRIES | NOMEL BERRY (NG) | 0A2
163 | BERRIES | SPELON BERRY (NG) | 0A3
164 | BERRIES | PAMTRE BERRY (NG) | 0A4
165 | BERRIES | WATMEL BERRY (NG) | 0A5
166 | BERRIES | DURIN BERRY (NG) | 0A6
167 | BERRIES | BELUE BERRY (NG) | 0A7
168 | BERRIES | LIECHI BERRY (STAT) | 0A8
169 | BERRIES | GANLON BERRY (STAT) | 0A9
170 | BERRIES | SALAC BERRY (STAT) | 0AA
171 | BERRIES | PETAYA BERRY (STAT) | 0AB
172 | BERRIES | APICOT BERRY (STAT) | 0AC
173 | BERRIES | LANSAT BERRY (STAT) | 0AD
174 | BERRIES | STARF BERRY (STAT+) | 0AE
175 | DEAD VALUE | DEAD VALUE | 0AF
176 | IN-BATTLE EFFECTS | CHOICE BAND | 0B0
177 | IN-BATTLE EFFECTS | CHOICE SPECS | 0B1
178 | IN-BATTLE EFFECTS | CHOICE SCARF | 0B2
179 | IN-BATTLE EFFECTS | BRIGHT POWDER | 0B3
180 | IN-BATTLE EFFECTS | WHITE HERB | 0B4
181 | IN-BATTLE EFFECTS | MACHO BRACE | 0B5
182 | KEY ITEMS | EXP SHARE | 0B6
183 | IN-BATTLE EFFECTS | QUICK CLAW | 0B7
184 | MISC | SOOTHE BELL | 0B8
185 | MEDICINE | MENTAL HERB | 0B9
186 | DEAD VALUE | DEAD VALUE | 0BA
187 | EVOLUTION | KING’S ROCK | 0BB
188 | TYPE-ENHANCING | SILVER POWDER | 0BC
189 | IN-BATTLE EFFECTS | AMULET COIN | 0BD
190 | MISC | CLEANSE TAG | 0BE
191 | STAT-ENHANCING | SOUL DEW | 0BF
192 | EVOLUTION | DEEP SEA TOOTH | 0C0
192 | STAT-ENHANCING | DEEP SEA TOOTH | 0C0
193 | EVOLUTION | DEEP SEA SCALE | 0C1
193 | STAT-ENHANCING | DEEP SEA SCALE | 0C1
194 | IN-BATTLE EFFECTS | SMOKE BALL | 0C2
195 | MISC | EVERSTONE | 0C3
196 | IN-BATTLE EFFECTS | FOCUS BAND | 0C4
197 | MISC | LUCKY EGG | 0C5
198 | IN-BATTLE EFFECTS | SCOPE LENS | 0C6
199 | EVOLUTION | METAL COAT | 0C7
199 | TYPE-ENHANCING | METAL COAT | 0C7
200 | IN-BATTLE EFFECTS | LEFTOVERS | 0C8
201 | EVOLUTION | DRAGON SCALE | 0C9
202 | STAT-ENHANCING | LIGHT BALL | 0CA
203 | TYPE-ENHANCING | SOFT SAND | 0CB
204 | TYPE-ENHANCING | HARD STONE | 0CC
205 | TYPE-ENHANCING | MIRACLE SEED | 0CD
206 | TYPE-ENHANCING | BLACK GLASSES | 0CE
207 | TYPE-ENHANCING | BLACK BELT | 0CF
208 | TYPE-ENHANCING | MAGNET | 0D0
209 | TYPE-ENHANCING | MYSTIC WATER | 0D1
210 | TYPE-ENHANCING | SHARP BEAK | 0D2
211 | TYPE-ENHANCING | POISON BARB | 0D3
212 | TYPE-ENHANCING | NEVERMELT ICE | 0D4
213 | TYPE-ENHANCING | SPELL TAG | 0D5
214 | TYPE-ENHANCING | TWISTED SPOON | 0D6
215 | TYPE-ENHANCING | CHARCOAL | 0D7
216 | TYPE-ENHANCING | DRAGON FANG | 0D8
217 | TYPE-ENHANCING | SILK SCARF | 0D9
218 | EVOLUTION | UPGRADE | 0DA
219 | IN-BATTLE EFFECTS | SHELL BELL | 0DB
220 | INCENSES | SEA INCENSE | 0DC
221 | INCENSES | LAX INCENSE | 0DD
222 | STAT-ENHANCING | LUCKY PUNCH | 0DE
223 | STAT-ENHANCING | METAL POWDER | 0DF
224 | STAT-ENHANCING | THICK CLUB | 0E0
225 | STAT-ENHANCING | LEEK | 0E1
226 | IN-BATTLE EFFECTS | ROCKY HELMET | 0E2
227 | IN-BATTLE EFFECTS | WEAK POLICY | 0E3
228 | VALUABLE ITEMS | PEARL STRING | 0E4
229 | VALUABLE ITEMS | BIG NUGGET | 0E5
230 | EVOLUTION | RAZOR CLAW | 0E6
231 | EVOLUTION | RAZOR FANG | 0E7
232 | EVOLUTION | REAPER CLOTH | 0E8
233 | EVOLUTION | DUBIOUS DISC | 0E9
234 | EVOLUTION | ELECTIRIZER | 0EA
235 | IN-BATTLE EFFECTS | EXPERT BELT | 0EB
236 | POWER (EV) ITEMS | POWER HERB | 0EC
237 | IN-BATTLE EFFECTS | WIDE LENS | 0ED
238 | IN-BATTLE EFFECTS | ZOOM LENS | 0EE
239 | IN-BATTLE EFFECTS | DESTINY KNOT | 0EF
240 | IN-BATTLE EFFECTS | SMOOTH ROCK | 0F0
241 | IN-BATTLE EFFECTS | DAMP ROCK | 0F1
242 | IN-BATTLE EFFECTS | HEAT ROCK | 0F2
243 | IN-BATTLE EFFECTS | ICY ROCK | 0F3
244 | POWER (EV) ITEMS | POWER BRACER | 0F4
245 | POWER (EV) ITEMS | POWER BELT | 0F5
246 | POWER (EV) ITEMS | POWER LENS | 0F6
247 | POWER (EV) ITEMS | POWER BAND | 0F7
248 | POWER (EV) ITEMS | POWER ANKLET | 0F8
249 | POWER (EV) ITEMS | POWER WEIGHT | 0F9
250 | IN-BATTLE EFFECTS | BIG ROOT | 0FA
251 | MISC | ODD KEYSTONE | 0FB
252 | INCENSES | LUCK INCENSE | 0FC
253 | INCENSES | FULL INCENSE | 0FD
254 | INCENSES | ODD INCENCE | 0FE
255 | INCENSES | PURE INCENSE | 0FF
256 | INCENSES | ROCK INCENSE | 100
257 | INCENSES | ROSE INCENSE | 101
258 | INCENSES | WAVE INCENSE | 102
259 | KEY ITEMS | MACH BIKE | 103
260 | KEY ITEMS | COIN CASE | 104
261 | KEY ITEMS | DOWSING MACHINE | 105
262 | KEY ITEMS | OLD ROD | 106
263 | KEY ITEMS | GOOD ROD | 107
264 | KEY ITEMS | SUPER ROD | 108
265 | KEY ITEMS | S.S. TICKET | 109
266 | KEY ITEMS | GRUBBY HANKY | 10A
267 | KEY ITEMS | UNIFORM | 10B
268 | KEY ITEMS | DYNAMAX BAND | 10C
269 | KEY ITEMS | BRAILLE CONVERTER | 10D
270 | KEY ITEMS | FASHION CASE | 10E
271 | KEY ITEMS | BASEMENT KEY | 10F
272 | KEY ITEMS | FRONTIER CARD | 110
273 | KEY ITEMS | POKEBLOCK CASE | 111
274 | KEY ITEMS | LETTER | 112
275 | KEY ITEMS | EON TICKET | 113
276 | MEGA STONE | RED ORB | 114
277 | MEGA STONE | BLUE ORB | 115
278 | KEY ITEMS | STAT SCANNER | 116
279 | KEY ITEMS | GO-GOGGLES | 117
280 | KEY ITEMS | METEORITE | 118
281 | KEY ITEMS | BARRIER KEY | 119
282 | KEY ITEMS | KEY CARD: 2 | 11A
283 | KEY ITEMS | KEY CARD: 3 | 11B
284 | KEY ITEMS | RM. 6 KEY | 11C
285 | KEY ITEMS | STORAGE KEY (ABANDONED SHIP) | 11D
286 | FOSSILS | ROOT FOSSIL | 11E
287 | FOSSILS | CLAW FOSSIL | 11F
288 | KEY ITEMS | DEVON SCOPE | 120
289 | TM/HM | TM01 | 121
290 | TM/HM | TM02 | 122
291 | TM/HM | TM03 | 123
292 | TM/HM | TM04 | 124
293 | TM/HM | TM05 | 125
294 | TM/HM | TM06 | 126
295 | TM/HM | TM07 | 127
296 | TM/HM | TM08 | 128
297 | TM/HM | TM09 | 129
298 | TM/HM | TM10 | 12A
299 | TM/HM | TM11 | 12B
300 | TM/HM | TM12 | 12C
301 | TM/HM | TM13 | 12D
302 | TM/HM | TM14 | 12E
303 | TM/HM | TM15 | 12F
304 | TM/HM | TM16 | 130
305 | TM/HM | TM17 | 131
306 | TM/HM | TM18 | 132
307 | TM/HM | TM19 | 133
308 | TM/HM | TM20 | 134
309 | TM/HM | TM21 | 135
310 | TM/HM | TM22 | 136
311 | TM/HM | TM23 | 137
312 | TM/HM | TM24 | 138
313 | TM/HM | TM25 | 139
314 | TM/HM | TM26 | 13A
315 | TM/HM | TM27 | 13B
316 | TM/HM | TM28 | 13C
317 | TM/HM | TM29 | 13D
318 | TM/HM | TM30 | 13E
319 | TM/HM | TM31 | 13F
320 | TM/HM | TM32 | 140
321 | TM/HM | TM33 | 141
322 | TM/HM | TM34 | 142
323 | TM/HM | TM35 | 143
324 | TM/HM | TM36 | 144
325 | TM/HM | TM37 | 145
326 | TM/HM | TM38 | 146
327 | TM/HM | TM39 | 147
328 | TM/HM | TM40 | 148
329 | TM/HM | TM41 | 149
330 | TM/HM | TM42 | 14A
331 | TM/HM | TM43 | 14B
332 | TM/HM | TM44 | 14C
333 | TM/HM | TM45 | 14D
334 | TM/HM | TM46 | 14E
335 | TM/HM | TM47 | 14F
336 | TM/HM | TM48 | 150
337 | TM/HM | TM49 | 151
338 | TM/HM | TM50 | 152
339 | TM/HM | TM51 | 153
340 | TM/HM | TM52 | 154
341 | TM/HM | TM53 | 155
342 | TM/HM | TM54 | 156
343 | TM/HM | TM55 | 157
344 | TM/HM | TM56 | 158
345 | TM/HM | TM57 | 159
346 | TM/HM | TM58 | 15A
347 | DEAD VALUE | DEAD VALUE | 15B
348 | KEY ITEMS | MISSION LOG | 15C
349 | KEY ITEMS | PARCEL | 15D
350 | MEGA STONE | JADE ORB | 15E
350 | KEY ITEMS | JADE ORB | 15E
351 | KEY ITEMS | GRIMY SOCKS | 15F
352 | KEY ITEMS | PACKAGE | 160
353 | KEY ITEMS | MEGA RING | 161
354 | FOSSILS | OLD AMBER | 162
355 | KEY ITEMS | KEY CARD: 1 | 163
356 | KEY ITEMS | TIME TURNER | 164
357 | FOSSILS | HELIX FOSSIL | 165
358 | FOSSILS | DOME FOSSIL | 166
359 | KEY ITEMS | BABY MONITOR | 167
360 | KEY ITEMS | MOTORCYCLE | 168
361 | KEY ITEMS | TOWN MAP | 169
362 | KEY ITEMS | VS SEEKER | 16A
363 | KEY ITEMS | ODDISH LEAVES | 16B
364 | KEY ITEMS | TM CASE | 16C
365 | KEY ITEMS | BERRY POUCH | 16D
366 | KEY ITEMS | ADM | 16E
367 | KEY ITEMS | TRI-PASS | 16F
368 | KEY ITEMS | PORTA-PC | 170
369 | KEY ITEMS | TRAINER CATALOGUE | 171
370 | KEY ITEMS | GLIMMER PASS | 172
371 | KEY ITEMS | CATCHING CHARM | 173
372 | KEY ITEMS | POWDER “BERRY” JAR | 174
373 | KEY ITEMS | LUNAR WING | 175
374 | KEY ITEMS | MEMBER CARD | 176
375 | TM/HM | TM59 | 177
376 | TM/HM | TM60 | 178
377 | TM/HM | TM61 | 179
378 | TM/HM | TM62 | 17A
379 | TM/HM | TM63 | 17B
380 | TM/HM | TM64 | 17C
381 | TM/HM | TM65 | 17D
382 | TM/HM | TM66 | 17E
383 | TM/HM | TM67 | 17F
384 | TM/HM | TM68 | 180
385 | TM/HM | TM69 | 181
386 | TM/HM | TM70 | 182
387 | TM/HM | TM71 | 183
388 | TM/HM | TM72 | 184
389 | TM/HM | TM73 | 185
390 | TM/HM | TM74 | 186
391 | TM/HM | TM75 | 187
392 | TM/HM | TM76 | 188
393 | TM/HM | TM77 | 189
394 | TM/HM | TM78 | 18A
395 | TM/HM | TM79 | 18B
396 | TM/HM | TM80 | 18C
397 | TM/HM | TM81 | 18D
398 | TM/HM | TM82 | 18E
399 | TM/HM | TM83 | 18F
400 | TM/HM | TM84 | 190
401 | TM/HM | TM85 | 191
402 | TM/HM | TM86 | 192
403 | TM/HM | TM87 | 193
404 | TM/HM | TM88 | 194
405 | TM/HM | TM89 | 195
406 | TM/HM | TM90 | 196
407 | TM/HM | TM91 | 197
408 | TM/HM | TM92 | 198
409 | TM/HM | TM93 | 199
410 | TM/HM | TM94 | 19A
411 | TM/HM | TM95 | 19B
412 | TM/HM | TM96 | 19C
413 | TM/HM | TM97 | 19D
414 | TM/HM | TM98 | 19E
415 | TM/HM | TM99 | 19F
416 | TM/HM | TM100 | 1A0
417 | TM/HM | TM101 | 1A1
418 | TM/HM | TM102 | 1A2
419 | TM/HM | TM103 | 1A3
420 | TM/HM | TM104 | 1A4
421 | TM/HM | TM105 | 1A5
422 | TM/HM | TM106 | 1A6
423 | TM/HM | TM107 | 1A7
424 | TM/HM | TM108 | 1A8
425 | TM/HM | TM109 | 1A9
426 | TM/HM | TM110 | 1AA
427 | TM/HM | TM111 | 1AB
428 | TM/HM | TM112 | 1AC
429 | TM/HM | TM113 | 1AD
430 | TM/HM | TM114 | 1AE
431 | TM/HM | TM115 | 1AF
432 | TM/HM | TM116 | 1B0
433 | TM/HM | TM117 | 1B1
434 | TM/HM | TM118 | 1B2
435 | TM/HM | TM119 | 1B3
436 | TM/HM | TM120 | 1B4
437 | TM/HM | HM01 | 1B5
438 | TM/HM | HM02 | 1B6
439 | TM/HM | HM03 | 1B7
440 | TM/HM | HM04 | 1B8
441 | TM/HM | HM05 | 1B9
442 | TM/HM | HM06 | 1BA
443 | TM/HM | HM07 | 1BB
444 | TM/HM | HM08 | 1BC
445 | Z-CRYSTAL | NECROZIUM Z | 1BD
446 | MEGA STONE | VENUSAURITE | 1BE
447 | MEGA STONE | CHARIZARDITE X | 1BF
448 | MEGA STONE | CHARIZARDITE Y | 1C0
449 | MEGA STONE | BLASTOISINITE | 1C1
450 | MEGA STONE | BEEDRILLITE | 1C2
451 | MEGA STONE | PIDGEOTITE | 1C3
452 | MEGA STONE | ALAKAZITE | 1C4
453 | MEGA STONE | SLOWBRONITE | 1C5
454 | MEGA STONE | GENGARITE | 1C6
455 | MEGA STONE | KANGASKHITE | 1C7
456 | MEGA STONE | PINSIRITE | 1C8
457 | MEGA STONE | GYARADOSITE | 1C9
458 | MEGA STONE | AERODACTYLITE | 1CA
459 | MEGA STONE | MEWTWONITE X | 1CB
460 | MEGA STONE | MEWTWONITE Y | 1CC
461 | MEGA STONE | AMPHAROSITE | 1CD
462 | MEGA STONE | STEELIXITE | 1CE
463 | MEGA STONE | SCIZORITE | 1CF
464 | MEGA STONE | HERACRONITE | 1D0
465 | MEGA STONE | HOUNDOOMINITE | 1D1
466 | MEGA STONE | TYRANITARITE | 1D2
467 | MEGA STONE | SCEPTILITE | 1D3
468 | MEGA STONE | BLAZIKENITE | 1D4
469 | MEGA STONE | SWAMPERTITE | 1D5
470 | MEGA STONE | GARDEVOIRITE | 1D6
471 | MEGA STONE | SABLENITE | 1D7
472 | MEGA STONE | MAWILITE | 1D8
473 | MEGA STONE | AGGRONITE | 1D9
474 | MEGA STONE | MEDICHAMITE | 1DA
475 | MEGA STONE | MANECTITE | 1DB
476 | MEGA STONE | SHARPEDONITE | 1DC
477 | MEGA STONE | CAMERUPTITE | 1DD
478 | MEGA STONE | ALTARIANITE | 1DE
479 | MEGA STONE | BANETTITE | 1DF
480 | MEGA STONE | ABSOLITE | 1E0
481 | MEGA STONE | GLALITITE | 1E1
482 | MEGA STONE | SALAMENCITE | 1E2
483 | MEGA STONE | METAGROSSITE | 1E3
484 | MEGA STONE | LATIASITE | 1E4
485 | MEGA STONE | LATIOSITE | 1E5
486 | MEGA STONE | LOPUNNITE | 1E6
487 | MEGA STONE | GARCHOMPITE | 1E7
488 | MEGA STONE | LUCARIONITE | 1E8
489 | MEGA STONE | ABOMASITE | 1E9
490 | MEGA STONE | GALLADITE | 1EA
491 | MEGA STONE | AUDINITE | 1EB
492 | MEGA STONE | DIANCITE | 1EC
493 | IN-BATTLE EFFECTS | SAFETY GOGGLES | 1ED
494 | IN-BATTLE EFFECTS | ASSAULT VEST | 1EE
495 | STAT-ENHANCING | EVIOLITE | 1EF
496 | PLATES | FIST PLATE | 1F0
497 | PLATES | SKY PLATE | 1F1
498 | PLATES | TOXIC PLATE | 1F2
499 | PLATES | EARTH PLATE | 1F3
500 | PLATES | STONE PLATE | 1F4
501 | PLATES | INSECT PLATE | 1F5
502 | PLATES | SPOOKY PLATE | 1F6
503 | PLATES | IRON PLATE | 1F7
504 | PLATES | FLAME PLATE | 1F8
505 | PLATES | SPLASH PLATE | 1F9
506 | PLATES | MEADOW PLATE | 1FA
507 | PLATES | ZAP PLATE | 1FB
508 | PLATES | MIND PLATE | 1FC
509 | PLATES | ICE PLATE | 1FD
510 | PLATES | DRACO PLATE | 1FE
511 | PLATES | DREAD PLATE | 1FF
512 | PLATES | PIXIE PLATE | 200
513 | VALUABLE ITEMS | COMET SHARD | 201
514 | VALUABLE ITEMS | BALM MUSHROOM | 202
515 | MEDICINE | BIG MALASADA | 203
516 | MEDICINE | CASTELIACONE | 204
517 | MEDICINE | LUMIOSE GALETTE | 205
518 | MEDICINE | RAGECANDYBAR | 206
519 | MEDICINE | SHALOUR SABLE | 207
520 | MEDICINE | OLD GATEAU | 208
521 | FOSSILS | SKULL FOSSIL | 209
522 | FOSSILS | ARMOUR FOSSIL | 20A
523 | FOSSILS | COVER FOSSIL | 20B
524 | FOSSILS | PLUME FOSSIL | 20C
525 | FOSSILS | JAW FOSSIL | 20D
526 | FOSSILS | SAIL FOSSIL | 20E
527 | KEY ITEMS | MEGA EARRING | 20F
528 | KEY ITEMS | MEGA CHARM | 210
529 | KEY ITEMS | MEGA BRACELET | 211
530 | KEY ITEMS | MEGA ANKLET | 212
531 | KEY ITEMS | MEGA PENDANT | 213
532 | MEGA STONE | ADAMANT ORB | 214
533 | MEGA STONE | LUSTROUS ORB | 215
534 | MEGA STONE | GRISEOUS ORB | 216
535 | KEY ITEMS | GRACIDEA | 217
536 | KEY ITEMS | DNA SPLICERS | 218
537 | KEY ITEMS | REVEAL GLASS | 219
538 | KEY ITEMS | PRISON BOTTLE | 21A
539 | BERRIES | OCCA BERRY | 21B
540 | BERRIES | PASSHO BERRY | 21C
541 | BERRIES | WACAN BERRY | 21D
542 | BERRIES | RINDO BERRY | 21E
543 | BERRIES | YACHE BERRY | 21F
544 | BERRIES | CHOPLE BERRY | 220
545 | BERRIES | KEBIA BERRY | 221
546 | BERRIES | SHUCA BERRY | 222
547 | BERRIES | COBA BERRY | 223
548 | BERRIES | PAYAPA BERRY | 224
549 | BERRIES | TANGA BERRY | 225
550 | BERRIES | CHARTI BERRY | 226
551 | BERRIES | KASIB BERRY | 227
552 | BERRIES | HABAN BERRY | 228
553 | BERRIES | COLBUR BERRY | 229
554 | BERRIES | BABIRI BERRY | 22A
555 | BERRIES | CHILAN BERRY | 22B
556 | BERRIES | MICLE BERRY | 22C
557 | BERRIES | CUSTAP BERRY | 22D
558 | BERRIES | JABOCA BERRY | 22E
559 | BERRIES | ROWAP BERRY | 22F
560 | BERRIES | ROSELI BERRY | 230
561 | BERRIES | KEE BERRY | 231
562 | BERRIES | MARANGA BERRY | 232
563 | IN-BATTLE EFFECTS | ABSORB BULB | 233
564 | IN-BATTLE EFFECTS | AIR BALLOON | 234
565 | IN-BATTLE EFFECTS | ADRENAL ORB | 235
566 | IN-BATTLE EFFECTS | BINDING BAND | 236
567 | IN-BATTLE EFFECTS | CELL BATTERY | 237
568 | IN-BATTLE EFFECTS | EJECT BUTTON | 238
569 | IN-BATTLE EFFECTS | FLOAT STONE | 239
570 | IN-BATTLE EFFECTS | FOCUS SASH | 23A
571 | IN-BATTLE EFFECTS | GRIP CLAW | 23B
572 | IN-BATTLE EFFECTS | IRON BALL | 23C
573 | IN-BATTLE EFFECTS | LAGGING TAIL | 23D
574 | IN-BATTLE EFFECTS | LUMINOUS MOSS | 23E
575 | STAT-ENHANCING | QUICK POWDER | 23F
576 | IN-BATTLE EFFECTS | METRONOME | 240
577 | IN-BATTLE EFFECTS | MUSCLE BAND | 241
578 | IN-BATTLE EFFECTS | PROTECTIVE PADS | 242
579 | IN-BATTLE EFFECTS | RED CARD | 243
580 | IN-BATTLE EFFECTS | RING TARGET | 244
581 | IN-BATTLE EFFECTS | SHED SHELL | 245
582 | IN-BATTLE EFFECTS | SNOWBALL | 246
583 | IN-BATTLE EFFECTS | STICKY BARB | 247
584 | IN-BATTLE EFFECTS | TERRAIN EXTENDER | 248
585 | IN-BATTLE EFFECTS | WISE GLASSES | 249
586 | MISC | ELECTRIC SEED | 24A
587 | MISC | GRASSY SEED | 24B
588 | MISC | MISTY SEED | 24C
589 | MISC | PSYCHIC SEED | 24D
590 | GEMS | NORMAL GEM | 24E
591 | GEMS | FIGHTING GEM | 24F
592 | GEMS | FLYING GEM | 250
593 | GEMS | POISON GEM | 251
594 | GEMS | GROUND GEM | 252
595 | GEMS | ROCK GEM | 253
596 | GEMS | BUG GEM | 254
597 | GEMS | GHOST GEM | 255
598 | GEMS | STEEL GEM | 256
599 | GEMS | FIRE GEM | 257
600 | GEMS | WATER GEM | 258
601 | GEMS | GRASS GEM | 259
602 | GEMS | ELECTRIC GEM | 25A
603 | GEMS | PSYCHIC GEM | 25B
604 | GEMS | ICE GEM | 25C
605 | GEMS | DRAGON GEM | 25D
606 | GEMS | DARK GEM | 25E
607 | GEMS | FAIRY GEM | 25F
608 | MISC | ABILITY CAPSULE | 260
609 | BOOST (EV) WINGS | HEALTH WING (HP) | 261
610 | BOOST (EV) WINGS | MUSCLE WING (ATK) | 262
611 | BOOST (EV) WINGS | RESIST WING (DEF) | 263
612 | BOOST (EV) WINGS | GENIUS WING (SP ATK) | 264
613 | BOOST (EV) WINGS | CLEVER WING (SP DEF) | 265
614 | BOOST (EV) WINGS | SWIFT WING (SPD) | 266
615 | BOOST (EV) WINGS | PRETTY WING (NONE) | 267
616 | EXHANGEABLE ITEMS | BOTTLE CAP | 268
617 | EXHANGEABLE ITEMS | GOLD BOTTLE CAP | 269
618 | NECTARS | RED NECTAR | 26A
619 | NECTARS | YELLOW NECTAR | 26B
620 | NECTARS | PINK NECTAR | 26C
621 | NECTARS | PURPLE NECTAR | 26D
622 | POKE BALLS | FAST BALL | 26E
623 | POKE BALLS | LEVEL BALL | 26F
624 | POKE BALLS | LURE BALL | 270
625 | POKE BALLS | HEAVY BALL | 271
626 | POKE BALLS | LOVE BALL | 272
627 | POKE BALLS | FRIEND BALL | 273
628 | POKE BALLS | MOON BALL | 274
629 | POKE BALLS | SPORT BALL | 275
630 | POKE BALLS | BEAST BALL | 276
631 | POKE BALLS | DREAM BALL | 277
632 | KEY ITEMS | OVAL CHARM | 278
633 | KEY ITEMS | SHINY CHARM | 279
634 | DRIVES | BURN DRIVE | 27A
635 | DRIVES | DOUSE DRIVE | 27B
636 | DRIVES | SHOCK DRIVE | 27C
637 | DRIVES | CHILL DRIVE | 27D
638 | MEMORIES | FIST MEMORY | 27E
639 | MEMORIES | SKY MEMORY | 27F
640 | MEMORIES | TOXIC MEMORY | 280
641 | MEMORIES | EARTH MEMORY | 281
642 | MEMORIES | ROCK MEMORY | 282
643 | MEMORIES | BUG MEMORY | 283
644 | MEMORIES | GHOST MEMORY | 284
645 | MEMORIES | STEEL MEMORY | 285
646 | MEMORIES | FIRE MEMORY | 286
647 | MEMORIES | WATER MEMORY | 287
648 | MEMORIES | GRASS MEMORY | 288
649 | MEMORIES | ZAP MEMORY | 289
650 | MEMORIES | PSYCHIC MEMORY | 28A
651 | MEMORIES | ICE MEMORY | 28B
652 | MEMORIES | DRAGON MEMORY | 28C
653 | MEMORIES | DARK MEMORY | 28D
654 | MEMORIES | FAIRY MEMORY | 28E
655 | KEY ITEMS | RAINBOW WING | 28F
656 | KEY ITEMS | SILVER WING | 290
657 | KEY ITEMS | N-SOLARIZER | 291
658 | KEY ITEMS | N-LUNARIZER | 292
659 | KEY ITEMS | SUN FLUTE | 293
660 | KEY ITEMS | MOON FLUTE | 294
661 | KEY ITEMS | LIGHT STONE | 295
662 | KEY ITEMS | DARK STONE | 296
663 | VALUABLE ITEMS | RELIC COPPER | 297
664 | VALUABLE ITEMS | RELIC SILVER | 298
665 | VALUABLE ITEMS | RELIC GOLD | 299
666 | VALUABLE ITEMS | RELIC VASE | 29A
667 | VALUABLE ITEMS | RELIC BAND | 29B
668 | VALUABLE ITEMS | RELIC STATUE | 29C
669 | VALUABLE ITEMS | RELIC CROWN | 29D
670 | Z-CRYSTAL | NORMALIUM Z | 29E
671 | Z-CRYSTAL | FIGHTINIUM Z | 29F
672 | Z-CRYSTAL | FLYINIUM Z | 2A0
673 | Z-CRYSTAL | POISONIUM Z | 2A1
674 | Z-CRYSTAL | GROUNDIUM Z | 2A2
675 | Z-CRYSTAL | ROCKIUM Z | 2A3
676 | Z-CRYSTAL | BUGINIUM Z | 2A4
677 | Z-CRYSTAL | GHOSTINUM Z | 2A5
678 | Z-CRYSTAL | STEELIUM Z | 2A6
679 | Z-CRYSTAL | FIRIUM Z | 2A7
680 | Z-CRYSTAL | WATERIUM Z | 2A8
681 | Z-CRYSTAL | GRASSIUM Z | 2A9
682 | Z-CRYSTAL | ELECTRIUM Z | 2AA
683 | Z-CRYSTAL | PSYCHIUM Z | 2AB
684 | Z-CRYSTAL | ICIUM Z | 2AC
685 | Z-CRYSTAL | DRAGONIUM Z | 2AD
686 | Z-CRYSTAL | DARKINIUM Z | 2AE
687 | Z-CRYSTAL | FAIRIUM Z | 2AF
688 | Z-CRYSTAL | ALORICHIUM Z | 2B0
689 | Z-CRYSTAL | DECIDIUM Z | 2B1
690 | Z-CRYSTAL | EEVIUM Z | 2B2
691 | Z-CRYSTAL | INCINIUM Z | 2B3
692 | Z-CRYSTAL | KOMMONIUM Z | 2B4
693 | Z-CRYSTAL | LUNALIUM Z | 2B5
694 | Z-CRYSTAL | LYCANIUM Z | 2B6
695 | Z-CRYSTAL | MARSHADIUM Z | 2B7
696 | Z-CRYSTAL | MEWNIUM Z | 2B8
697 | Z-CRYSTAL | MIMIKIUM Z | 2B9
698 | Z-CRYSTAL | PIKANIUM Z | 2BA
699 | Z-CRYSTAL | PIKASUNIUM Z | 2BB
700 | Z-CRYSTAL | PRIMARIUM Z | 2BC
701 | Z-CRYSTAL | SNORLIUM Z | 2BD
702 | Z-CRYSTAL | SOLGANIUM Z | 2BE
703 | Z-CRYSTAL | TAPUNIUM Z | 2BF
704 | IN-BATTLE EFFECTS | EJECT PACK | 2C0
705 | IN-BATTLE EFFECTS | ROOM SERVICE | 2C1
706 | IN-BATTLE EFFECTS | BLUNDER POLICY | 2C2
707 | IN-BATTLE EFFECTS | HEAVY DUTY BOOTS | 2C3
708 | IN-BATTLE EFFECTS | UTILITY PARASOL | 2C4
709 | IN-BATTLE EFFECTS | THROAT SPRAY | 2C5
710 | MEGA STONE | RUSTED SWORD | 2C6
710 | KEY ITEMS | RUSTED SWORD | 2C6
711 | MEGA STONE | RUSTED SHIELD | 2C7
711 | KEY ITEMS | RUSTED SHIELD | 2C7
712 | EVOLUTION | SWEET APPLE | 2C8
713 | EVOLUTION | TART APPLE | 2C9
714 | EVOLUTION | CRACKED POT | 2CA
715 | EVOLUTION | CHIPPED POT | 2CB
716 | EVOLUTION | STRAWBERRY SWEET | 2CC
717 | EVOLUTION | BERRY SWEET | 2CD
718 | EVOLUTION | LOVE SWEET | 2CE
719 | EVOLUTION | CLOVER SWEET | 2CF
720 | EVOLUTION | FLOWER SWEET | 2D0
721 | EVOLUTION | RIBBON SWEET | 2D1
722 | EVOLUTION | STAR SWEET | 2D2
723 | EVOLUTION | GALARICA CUFF | 2D3
724 | EVOLUTION | GALARICA WREATH | 2D4
725 | KEY ITEMS | REINS OF UNI | 2D5
726 | EVOLUTION | BLACK AUGURITE | 2D6
727 | EVOLUTION | PEAT BLOCK | 2D7
728 | EVOLUTION | HISUI ROCK | 2D8
"""


def clean_items(data: str):
    items = {}
    for line in data.splitlines():
        parts = line.split('|')
        if len(parts) >= 3:
            index = parts[3].strip()
            item_name = parts[2].strip().title()
            items[item_name] = int(index, 16)
    return items

import json
with open('./src/types/SAVTypes/unbound/conversion/Gen3UBItems.json', 'w') as fp:
    json.dump(clean_items(ITEMS), fp)