Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
AreaDex
DexDex
ItemDex
MetascriptDex
TMHMDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man glitch
Celebi Egg glitch
SRAM glitch
Buffer overflow techniques
Pomeg glitch data corruption (Glitzer Popping)
Tweaking
Pokémon cloning
Select glitches (Japan)
Time Capsule exploit
Arbitrary code execution
More

Other Glitch Categories
Glitches by generation
Japan-only/language specific glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Recurring glitches
More

References
Pokémon GameShark codes
Pokémon Game Genie codes
Disassembly projects
The Big HEX List
GB programming
Curiosities
Debugging features
Error traps
Non-glitch exploits
Pokémon glitch terminology
Unused content and prerelease information
More

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site Source Code

Search Wiki

 

Search Forums

 

Recent Posts

Pages: [1] 2 3 ... 10
1
I wonder how the game loads the Red sprite during trainer battles while Super Glitch or ZZAZZ Glitch is active?
2
Sure. It's definitely possible. :)

D185 is the Attack/Defense IV combined and D186 is the Speed/Special IV combined. According to Smogon, the HP DV is calculated automatically from these values (in terms of the HP DV "An odd Attack DV adds 8, Defense adds 4, Speed adds 2, and Special adds 1"), so you don't need to worry about setting it directly; it will come automatically.

In these structures, the left-most nybble represents the first IV and the right-most nybble represents the second IV. For example, if D185 is "94", this would mean Attack IV=9, Defense IV=4. Likewise FA would mean Attack IV=F (which converted into decimal is 15) and Defense IV=A (which is converted into decimal is 10). Likewise, if D186 was "9A", this would mean Speed IV=9 and Special IV=A (which converts into 10), etc.


With those rules, try the following.

(item 3;)

Lemonade x(Attack/Defense IVs combined nybbles)
Carbos x209
X Accuracy x133
Water Stone x4
Lemonade x(Speed/Special IVs combined nybbles)
Water Stone x201

To get multiple stacks, first obtain 99 of the item and buy/get another or get x0 stacks with Celadon looping map glitch that you can toss from, as these are x256.

Source code:

ld a,xx
ld h,D1
ld l,85
ld (hli),a
inc b
ld a,yy
ld (hli),a
ret


The Lemonade values you need:

Hidden Power Water:

Lemonade (first) x237
Lemonade (second) x 255

(Write ED to D185 and FF to D186) (because E means 14 Attack, D means 13 Defense, F means 15 Speed, F means 15 Special)

Hidden Power Ice:

Lemonade (first) x253
Lemonade (second) x255

(Write FD to D185, and FF to D186)

Hidden Power Electric:

Lemonade (first) x239
Lemonade (second) x255

(Write EF to D185, and FF to D186)

Hidden Power Grass:

Lemonade (first) x238
Lemonade (second) x255

(Write EE to D185, and FF to D186)

If you have reusable RAM writer you can write the values indicated in the brackets with a hexadecimal to decimal converter. For instance, "EE" would be Lemonade x238, "D1" would be Carbos x209, "85" would be X Accuracy x133.

Good luck and let me know if you have any questions/issues.

(I deleted your other post now that this is answered)
3
Arbitrary Code Execution Discussion / Pokemon Yellow Hidden Power DVs with w sm
« Last post by Miku on Yesterday at 07:49:24 am »
I would really appreciate if someone could help me out with Yellow's w sm glitch item.

I know how to use w sm in Yellow. I've used it countless times to obtain max DV Pokémon, to clone items and to change Mew's OT/ID information to GF/22796, which is the event Mew that was distributed a couple years ago.

However, I've done all those code executions following instructions made by others. I don't understand what the items correspond to in terms of code etc. I assume that there are a lot of folks here that know how specific arbitrary code is created, so could some one please generate a code / item list for Yellow's w sm item that would be similar to the max DV code?

The video I used as my guide was this: https://www.youtube.com/watch?v=jR5rov2e6PU&t=804s

So basically I assume the setup would be exactly the same as it is in that video, but the item list would be different. Also, it would be awesome if the code only changes the DVs and does not max out stat experience. (I really don't like soft-resetting e.g. Zapdos for a week or so just to get a Hidden Power spread, but I wouldn't mind training one legitimately.) If it isn't possible to generate a code that doesn't max out stat experience, it's fine, but I would just prefer it to just affect the DVs.

I'm looking for the following DV spreads:

7 / 14 / 13 / 15 / 15 (Hidden Power Water)
15 / 15 / 13 / 15 / 15 (Hidden Power Ice)
7 / 14 / 15 / 15 / 15 (Hidden Power Electric)
3 / 14 / 14 / 15 / 15 (Hidden Power Grass)

The Hidden Power spreads are mainly for the Kanto's legendary birds, as I would like to use them in Crystal's Battle Tower.
4
Seems to be one way or two as to how to go about it. Thing is using the cheat search will be a bit of a chore to do without a bit of programming knowledge. Best I can do is assume the system works the same way as it did with Super Mario Bros (1 tile for each value) and go from there (ex. ♂=20), but even that's rudimentary.
5
That's interesting!

The glitch symbols may be beyond a data storage somewhere, maybe you can work out with a VRAM viewer or another resource like Bulbapedia's character encoding in Generation III article. Perhaps it's possible to work out the exact Dex number with VBA's cheat searcher (if you encounter #508 apply the search for "508", and then 480, apply the search for "#480" to narrow down the results).

This way you may be able to get the exact Pokédex number and probably all you'd have to do to work out what the symbol means is divide it by 1000, then ignore the remainder.
6
So yeah, I managed to get some odd-ball Pokedex numbers. I managed to find creatures with more readable National Dex numbers, like one with #508 (Stoutland's dex number) and another with #480 (Uxie's dex number), but then I got decamarks with numbers with odd symbols in front, ex. #♂40 (which was achieved with Decamark with Hex ID #0356). I also remember getting a guy whose national dex number started with an exclamation point (!) and very recently, I found a decamark, specifically Hex ID #35C, whose national dex number started with a dotted U (Ü).

Is there a good reference as to what these odd symbols mean beyond clearly representing dex numbers over 999?
7
Non-Core Game Glitch Discussion / Re: List of Pokémon GO Glitches
« Last post by Kelvinv on September 22, 2018, 07:19:48 am »
8
BGB allows you to modify the loaded ROM, and save it. So you can.
To seek the address Torchickens gave ($410B1), you have to first press Ctrl+G after having clicked anywhere in the debugger's data viewer (bottom-left panel), then type the address in Game Boy format (10:50B1).
Your cursor should be pointing at a "70" byte; if not, the address is wrong. You can type any character on your keyboard to open an Edit bow, which will ask you for the hex values you want to edit. Validate by pressing Enter. (Note that writing multiple bytes will modify multiple bytes, not just the one your cursor was pointing at.)
You can save the ROM you modified by doing File -> Save ROM as... or discard the modifications with Reload ROM.
Easy as pie!
:D That's it! I just realized. I think I found the way to make it so glitch Pokemon outside of the Obtainable Mew Glitch Range (191-199) show their effects when encountered in the wild!
9
10
BGB allows you to modify the loaded ROM, and save it. So you can.
To seek the address Torchickens gave ($410B1), you have to first press Ctrl+G after having clicked anywhere in the debugger's data viewer (bottom-left panel), then type the address in Game Boy format (10:50B1).
Your cursor should be pointing at a "70" byte; if not, the address is wrong. You can type any character on your keyboard to open an Edit bow, which will ask you for the hex values you want to edit. Validate by pressing Enter. (Note that writing multiple bytes will modify multiple bytes, not just the one your cursor was pointing at.)
You can save the ROM you modified by doing File -> Save ROM as... or discard the modifications with Reload ROM.
Easy as pie!
Pages: [1] 2 3 ... 10