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 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 glitch
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
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!

Search Wiki

 

Search Forums

 

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
what letters in the box code are the address and the value it changes i want to use it like a memory editor

Have a look at this post from torchickens
To construct the memory adress using Box names use the big hex list (doesn't contain GSC characters) linked Pastebin or sth. similar.

The first party address that the code starts to run is at FA98 (DA98). This is the second byte of the Attack stat experience of Pokémon 3 (the slide Pokémon).

Following this is Defense, Speed, Special stat experience as well as DVs, PPs, happiness, Pokérus, level, status, stats. You can probably predict whether the Pokémon will work by looking at the stats but I don't know the details sadly.
Since most of them are naturally hidden (statXP, happiness, etc.) prediction would be difficult I guess. At least statXP and happiness should be fixed at the start though, but I guess trial and error is good enough for now.

Was tired of trial and error so I constructed a method to create a working slide-Pokémon. You basically get the right amount of stat-Exp to pass the atk-stat and use jr $1F in the Def-stat to jump right to your fourth Pokémon which should be the well-known Quagsire holding TM02 with Return as its first move.

To do this take one newly caught Pokémon and defeat exactly the following Pokémon:
  • 1 Magicarp (use Old Rod anywhere)
  • 7 Geodude (most common Route 46)
  • 10 Sunkern (National Park, day time)
  • Give 2 Iron to your Pokémon
This leaves your Pokémon at 870 ($0366) Atk stat-Exp and 6175 ($181F) Def stat-Exp (rest is skipped).

Starting at the second byte of the Atk stat-Exp this produces the following code:
Code: [Select]
ld h,(hl)
jr $1F
Which then continues at Pokémon 4 to jump to wherever you want.

Hope this helps anyone having trouble catching a working slide Pokémon. This way, as long as you don't defeat any Pokémon afterwards (Exp. Share counts) your Slide-Pokémon will continue working, regardless of Happiness, moves, or anything else.
Disadvantage obviously is the time it takes to set up, but this could in theory be improved (use always-available Pokémon instead of Sunkern, use Pokémon with higher Stat-Exp/Base stats in defence).
You could use 10 Geodude, 1 Magicarp and 2 Irons to achieve the same Def-Stat-Exp (and therefore the same jump), but it would produce a ld (hl), a in the executed Atk-byte so I would advice against it.
22
Torchickens, have you had a chance to test your max DV code? I'm not knowledgeable in the code matters but I'm sure there must be slight error somewhere as it doesn't give max DVs.

I tested it and it worked for changing Pokémon 1's DVs all to 15, so it's possible you made a slight mistake somewhere. The x in the code here is the normal lower case one (not the multiplication x) and 0 is zero.

Pardon my ignorance, but why use filler (5s)?

After the code, it will continue to run until it finds a 'd (ret nc). The 5s act as a safe ei instruction (enable interrupts) which effectively does nothing relevant here, as interrupts may already be enabled.

The code I made is to be used after using FMK's one-off code, so the code needs to run safely to box 13 and box 14 where the footer code is. However if you use wrong-pocket TM/HM code execution it doesn't corrupt the stack and you can use a 'd directly after (or close-by to) the code.

Generally codes which just have 5s until FMK's box 13 and box 14 names are a little easier to make.

Less 5s are required if the code includes a means of bringing control back to the game without the need of FMK's one-off code, such as the above Shiny Pokémon 1 code. I can make one more like that if you like.
23
Pokémon Discussion / Re: 4 questions about Pokérus mechanics
« Last post by Couldntthinkofaname on Yesterday at 06:32:47 am »
I can answer question 4.

Since you left your Mudkip in the PC, Pokerus time doesn't advance anyways, so it shouldn't count towards the remaining time for Pokerus.

EDIT:  Whoops my bad just re-read the question. As it stands, it is unlikely that the pokerus timer can stay the same across save files, and as such it shouldn't count as a day.

24
Torchickens, have you had a chance to test your max DV code? I'm not knowledgeable in the code matters but I'm sure there must be slight error somewhere as it doesn't give max DVs.
25
Pokémon Discussion / Re: 4 questions about Pokérus mechanics
« Last post by SatoMew on October 17, 2017, 05:30:33 pm »
I think due to a glitch "Who's Online" currently only shows one guest online, and everyone is stated to have the same IP (172.18.0.1). So in actuality we probably had more than 6 people online that day.

I feel to say the site is dead is a misconception with new people occasionally posting to ask questions and things like that.

Yep, it's been broken ever since there were significant server changes.

I don't have enough information to assess the current state of the site but I don't think it's that inactive right now! :)

Has gen 3 been disassembled?

It's getting there, at least.

https://github.com/pret/pokeruby

https://github.com/pret/pokeemerald

There are some early-stage and incomplete projects for a FireRed disassembly as well.
26
Pokémon Discussion / Re: 4 questions about Pokérus mechanics
« Last post by Couldntthinkofaname on October 17, 2017, 05:19:41 pm »
It's kind of odd how pokerus mechanics haven't been truly documented anywhere. Has gen 3 been disassembled?
27
Hi.

The modified addresses are as follows:

FAF6, FAF5: HP EV (two bytes)
FAF7, FAF8: Attack EV (two bytes)
FAF9, FAFA: Defense EV (two bytes)
FAFB, FAFC: Speed EV (two bytes)
FAFD, FAFE: Special EV (two bytes)
FAE8: Pokémon 4 Special Attack byte 1

So it looks like I did make a mistake, sorry (with the name é84é.455).  :-[

The problem seems to lie in there being more than one ID for the "." character. The hex ID was supposed to be F2 for the code to modify FAF2 (total experience byte 1) to FF (giving it 16711680 more experience, which is recalculated to Level 100), but in actuality you can only enter the E8 "." (which would modify FAE8).

I used the F2 character while testing without double checking if that would appear when entering "." using the box names.

To fix this you can wipe out the old box names with 5s except where your 'footer' is, and use this one instead to modify Pokémon 5's experience:

Box 1: Ap0x'v955  (multiply small x from the uppercase field only)
Box 2: e'm2p0955
Box 3: éA455555
Box 4-Box 12 (or possibly just box up to all of box 6 in your case): 55555555

This should work if your modified setup runs from box 1 character 2 (or box 1 character 1), which it possibly does.

Hope this helps.


Pardon my ignorance, but why use filler (5s)?
28
Pokémon Discussion / Re: 4 questions about Pokérus mechanics
« Last post by Torchickens on October 17, 2017, 04:49:50 pm »
Hi, folks! I’m currently seeking help from the best Pokémon experts on the Internet. In fact, I’m trying to achieve the feat of capturing a Pokémon with Pokérus (in other words, an original Pokérus carrier) in a Ruby cartridge with DEAD BATTERY. According to the pokecrystal disassembly, Pokérus seems to be a “flag” that is activated on your Pokémon after you battle a wild one, that is not present on the wild Pokémon itself (contrarily to the popular belief), but is only “unlocked” on your Pokémon after you battle it. That means that if you are lucky enough to catch the wild Pokémon who infected your Pokémon at the end of the battle, you’ll end up having a normal Pokémon, without Pokérus, with yourself being the only person to know that it was responsible for having spread it to your party. It’s obvious that, given these conditions, my feat of capturing an original Pokérus carrier will be impossible to achieve. So, my questions to you are the following:
1) Is my feat achievable? I don’t want to lose precious time catching wild Pokémon in groups of 30 (I soft reset when I fill an entire Pokémon box because I have only 50 balls, and my RNG, being my Ruby battery run dry, is broken);
2) In general, how the Pokérus mechanics work in Gen 3 (but also in Gen 2, as it is not very clear yet)? That’s a major obscure point in the Pokémon community that I think it would be worth to research.
3) A strange situation occurred to me in Pokémon Emerald (emulator): I caught a Wurmple with Pokérus (through a Gameshark code) just to observe empirically how the mechanics work in Gen 3, then I put it second in my party behind a Mudkip (no Pokérus). I then battled a Lotad (with codes disabled, this time), which I ended up capturing. I checked my party after the battle and I discovered that Mudkip had contracted Pokérus, but not the newly captured Lotad (in third place in the party), which is weird. In fact, a Pokémon in second place in the party, either spreads the Pokérus, after a battle, to the first AND the third placed Pokémon (even if the Pokémon in third place has been caught in the battle itself), or doesn’t spread it at all, and I’m sure of this because I observed it empirically. This made me think that Mudkip could have incredibly caught the Pokérus (legitimately) from the Lotad that I had just caught.
This could mean that:
•   The wild Pokémon which triggers Pokérus in your party is NOT itself a carrier, because Mudkip allegedly contracted it from Lotad, with Lotad itself not being affected;
•   The Pokérus mechanics in Gen 2 and Gen 3 are different, because in Gen 2 if a Pokémon of your party already has Pokérus, it will be impossible to contract it de novo after a battle from a wild Pokémon, but it will only be spread through your party from the Pokémon that was already affected instead. This would contradict the fact that even if my Wurmple was already affected and in the party, Mudkip still managed to contract Pokérus de novo from the wild Lotad I ended up capturing;
•   I oversaw something during the observation of what was happening (unlikely).
4) A noob question: I deposited in the PC my Mudkip a few minutes after it contracted Pokérus and I then saved outside the Pokémon Center. I have never withdrew it from the PC, but one evening, though, I put my Mudkip in the party to rapidly beat the game (just for fun) WITHOUT saving, and in the process I passed midnight (I spent 5 hours playing, from 8 p.m. to 1 a.m.). Having NOT saved the game (I reset the game a few seconds before Hall of Fame), and being thus again placed outside the Pokémon Center with Mudkip in the PC as the last time I saved the game, does it count as a day has passed for Mudkip’s Pokérus counter or not?
An answer to these 4 questions will be greatly appreciated. Kind regards and good luck with all of your research!

Hi. I'm unsure how Pokérus works and not sure of the answers to your questions either, sorry. :(

I got the impression battling a Pokémon only gives a chance (not 100%) of an existing Pokérus spreading, but I don't know for sure. I don't know whether you can get it by catching a Pokémon and how the time works (whether its dependent on the time from the battery for instance) as well.

In Generation II Pokérus is stored in a party Pokémon's data structure. For example address DA46 in Gold/Silver modifies Pokémon 1's Pokérus flag. I'm unsure if there's something to indicate Pokérus on a wild Pokémon though.

Hope you can find the answers to your questions.
29
Hi.

The modified addresses are as follows:

FAF6, FAF5: HP EV (two bytes)
FAF7, FAF8: Attack EV (two bytes)
FAF9, FAFA: Defense EV (two bytes)
FAFB, FAFC: Speed EV (two bytes)
FAFD, FAFE: Special EV (two bytes)
FAE8: Pokémon 4 Special Attack byte 1

So it looks like I did make a mistake, sorry (with the name é84é.455).  :-[

The problem seems to lie in there being more than one ID for the "." character. The hex ID was supposed to be F2 for the code to modify FAF2 (total experience byte 1) to FF (giving it 16711680 more experience, which is recalculated to Level 100), but in actuality you can only enter the E8 "." (which would modify FAE8).

I used the F2 character while testing without double checking if that would appear when entering "." using the box names.

To fix this you can wipe out the old box names with 5s except where your 'footer' is, and use this one instead to modify Pokémon 5's experience:

Box 1: Ap0x'v955  (multiply small x from the uppercase field only)
Box 2: e'm2p0955
Box 3: éA455555
Box 4-Box 12 (or possibly just box up to all of box 6 in your case): 55555555

This should work if your modified setup runs from box 1 character 2 (or box 1 character 1), which it possibly does.

Hope this helps.
30
Pokémon Discussion / Re: 4 questions about Pokérus mechanics
« Last post by Torchickens on October 17, 2017, 03:53:16 pm »
I think due to a glitch "Who's Online" currently only shows one guest online, and everyone is stated to have the same IP (172.18.0.1). So in actuality we probably had more than 6 people online that day.

I feel to say the site is dead is a misconception with new people occasionally posting to ask questions and things like that.

The 1,488 was an outlier as I believe it happened when arbitrary code execution with 8F became popular and usually there are a lot less people online. I'm not sure how many people were online though and a lot of the people who used to go on Glitch City have left.
Pages: 1 2 [3] 4 5 ... 10