Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi Egg trick
Select glitches (Japan)
SRAM glitch
CoolTrainer♀ corruption
LOL glitch
Rival LOL glitch
Super Glitch
ZZAZZ glitch
Pomeg corruption glitch (Glitzer Popping)
Tweaking
Elite Four door glitch (Japan)
Pokémon merge glitch
Pokémon cloning
Time Capsule exploit
Arbitrary code execution
Coin Case glitches
More

Other Glitch Categories
Glitches by generation
Glitches between two generations
Japan-only/language specific glitches
Music glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Officially acknowledged glitches
Recurring glitches
Dead glitches

References
Pokémon GameShark codes
The Big HEX List
Glitch Pokémon cries
GB programming
Curiosities
Debugging features
Easter eggs
Error traps
Glitch areas
Glitch myths
Non-glitch exploits
Placeholder texts
Pokémon glitch terminology
Unused content and prerelease information

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] 4 5 ... 10
21
Encounter table addresses are well-known, so using the generic one-value changing allows you to use the quantity of item 3 (Lemonade) as the level of one Pokémon.

In this case, if you want to modify all the addresses that controls the available Pokémon, you could use this code 10 times with a quantity of X Accuracy being 154, 152, 150, 148, 146, 144, 142, 140, 138 and 136 and the same quantity of Lemonade.

Creating a code that changes all Pokémon in one take would be rather hard to make, though. However, I was able to make one that changes all common battles level, thanks to ISSOtm's GBZ80toItems.

Any item xAny
8F
Lemonade x(level)
Carbos x216
X Accuracy x136
Water Stone x44
Poké Ball x34
HP Up x34
Awakening x142
Potion x105
Burn Heal x119
TM01 xAny

It is worth noting that this can be seen as a code 'changing one value each two addresses on a 8-address total to (level) starting at $(hex quantity of Carbos)(hex quantity of X Accuracy)'. Thus, having a quantity of X Accuracy of 144 instead will change the uncommon battles.

So I tried using the encounter table, the hex chart, the code you provided, and a list of GB Assembly Instructions to put together what I wanted, and I came up with this, which crashes the game. I'm wondering exactly what I did wrong here?

ld c,XX -- Store XX in B
ld h,0xD8
ld l,0x88 -- Store 0xD888 in HL
ld e,0x06 -- Loop Counter
inc d -- Shift next operation to use item count
-- Loop Start
ld a,(hld) -- Load current encounter level into a, and decrease HL
inc h -- Shift next operation to use item count
inc l   -- Set HL back to proper value
dec h   -- Shift next operation to use item count
ADD A,c -- Add XX to Level
ldi (hl),a -- Store new level in table, increment to 0xD889
inc e      -- Increment loop counter
inc a     -- Shift next operation to use item count
dec hl     -- Increment HL to 0xD88A
bit 5,e     -- Check if loop is over
JP Z,0xDE2B -- If not over, jump to start of loop
ret         -- Return
22
General Discussion / Re: This place feels dead
« Last post by Mefista on December 09, 2017, 01:51:16 pm »
Because my computer can't run Win 7 properly (it is installed on dualboot, but won't work like it should), it's old.
23
Generation I Glitch Discussion / Re: Pokemon Yellow "Save Abuse" Glitch
« Last post by ISSOtm on December 09, 2017, 05:26:39 am »
YOU... YOU...
... UNSTABLE HYBRID !!!!

Sorry, that was mean. How's it going ?
24
General Discussion / Re: This place feels dead
« Last post by ISSOtm on December 09, 2017, 05:25:53 am »
But then why do you stay on Win XP ?
25
General Discussion / Re: This place feels dead
« Last post by Mefista on December 08, 2017, 10:56:29 pm »
Which means that I can't participate cause I am on WinXP and have no smartphone, either ><
26
General Discussion / Re: The Member's Guide to Topiclessness
« Last post by Bert on December 08, 2017, 09:15:36 pm »
I've recently discovered that I can't remember the lyrics to 'Pop Goes the Weasel,' but I sure as hell could remember the lyrics to this.

This is...disturbing.

WHOOOOOOOOOOOOOOOOOOOOOOOOOOOOAAAAAAAAAAW! POP GOES PERFECTION!
27
Writing / Re: Meganium Man!
« Last post by Parzival on December 08, 2017, 09:04:35 pm »
HOLY s**t ON THE SUN A NEW ONE'S OUT
28
General Discussion / Re: This place feels dead
« Last post by Parzival on December 08, 2017, 09:02:25 pm »
i basically transferred the community to the Discord somehow by making one.
29
General Discussion / Re: The dream thread
« Last post by Parzival on December 08, 2017, 09:01:14 pm »
Had a dream last night about having to rig an entire city to explode using the electrical systems to stop Ajit Pai from going through it so he couldn't end net neutrality. He never showed because he took a different route.

i'm not even memeing this was exactly how it went down
30
General Discussion / Re: The dream thread
« Last post by Bert on December 08, 2017, 03:37:15 pm »
Straight from my MS Word document:

I was living on my own in an apartment. The rent all of a sudden spikes and the landlord – normally a nice, affable chap – becomes a raging arsehole who goes around harrassing and assaulting tenants for whatever reason. Disturbed by his sudden attitude and believing there is evil afoot, I call everyone’s favorite heroes for hire, The A-Team: George Peppard, Dirk Benedict, Dwight Schultz and Mr. T. Not the movie one. We capture the ‘landlord’ after a short scuffle and discover that he is actually a lookalike; the real landlord – henceforth known as Mr. Landlord – owed money to the Canadian mafia (that makes me laugh just typing it) and the imposter was sent in to collect it by raising the rent. Oddly, there was no lock and load montage or a vehicle-building montage; the dream skipped directly ahead to the final battle, where Hannibal and I took on the Don in a two-against one fistfight that ended with me kicking him over a table. We found Mr. Landlord stashed in a closet and rescue him afterwards, and while watching the mobsters get hauled off to jail, we all reminisce on how we love it when a plan comes together. The dream ended shortly after with me watching them drive away, only to be suddenly pursued by Col. Decker.
Pages: 1 2 [3] 4 5 ... 10