User:Tiddlywinks/Gen I Exp
Just gonna keep track of/publicize some data I've gathered...it's very weird, doesn't make sense.
Game playing: Pokemon Blue
FYI, Gen I tells you what experience was gained by Pokemon in battle and then what experience was gained from Exp. All if it is in the Bag, meaning a Pokemon who battled will be mentioned twice.
Team:
- Mew (legit), lv100, traded (so it gets boosted Exp.)
- Mewtwo, lv70
- Blastoise, lv100
Old base experience taken from here.
Below, if I list a Pokemon as having gained experience in battle, that naturally means it participated. All encounters are wild.
So far, that means, for the below, from the Experience#Gain formula, a will always be 1 (wild), e will always be 1 (Lucky Egg doesn't even exist), and t is 1.5 for Mew and 1 for Mewtwo and Blastoise. That leaves b, the base experience, and L, the wild Pokemon's level, as well as the number of Pokemon sent out/exp. shared/whatever.
As a reminder, then, the basic formula for non-boosted experience when only 1 of your Pokemon battles is: base exp * pkmn lvl / 7. ...From what I understand, the total experience in a battle should add up to that, or nearly that (allowing for deviations from roundings). But it doesn't always seem to... (skip to the last for probably the biggest head scratcher)
(FWIW, I'm running around Route 15.)
Lv24 Bellsprout
- b: 84
- L: 24
- Mewtwo gained in battle: 288 Exp.
- 84*24/7 = 288 (GOOD)
- Mewtwo gained in battle: 288 Exp.
Lv26 Ditto
- b: 61
- L: 26
- Mew gained from battle, boosted: 166
- Mew gained from Exp. All, boosted: 55
- Mewtwo gained from Exp. All: 37
- Blastoise gained from Exp. All: 37
- 61*26/7 = 226.57
- half of 226 (exp. all split) = 113
- 113/3 = 37.6667 (rounded down, individual exp. all value: GOOD)
- 37*3 = 111, 111*1.5 = 166.5 (after round-down, Mew's boosted experience: GOOD. I only know this works, I don't know if it's "right" per se or what the logic might be)
Lv28 Venonat
- b: 75
- L: 28
- Mew, battle, boosted: 108
- Mewtwo, battle: 72
- Mew, exp. all, boosted: 36
- Mewtwo, exp. all: 24
- Blastoise, exp. all: 24
- 75*28/7 = 300
- ...Mew+Mewtwo (unboosted) battle exp. = 144
- ...All (unboosted) exp. all exp. = 72
- 144+72 = 216
- 84 Exp. unaccounted for!
- And I have no idea how to reconcile any of the received experience numbers with the experience formula
Lv24 Bellsprout
- b: 84
- L: 24
- Mew, battle, boosted: 108
- Mewtwo, battle: 72
- Mew, exp. all, boosted: 36
- Mewtwo, exp. all: 24
- Blastoise, exp. all: 24
- 84*24/7 = 288
- ...Mew+Mewtwo (unboosted) battle exp. = 144
- ...All (unboosted) exp. all exp. = 72
- 144+72 = 216
- 72 Exp. unaccounted for!
- The unboosted total battle exp matches half the total available experience, but I don't know how to make the received Exp. All experience reconcile with the remaining half of the available experience.
Lv24 Bellsprout
- b: 84
- L: 24
- Mew, battle, boosted: 72
- Mewtwo, battle: 48
- Blastoise, battle: 48
- Mew, exp. all, boosted: 19
- Mewtwo, exp. all: 13
- Blastoise, exp. all: 13
- 84*24/7 = 288
- ...All (unboosted) battle exp. = 144
- ...All (unboosted) exp. all exp. = 39
- 105 Exp. unaccounted for!
- Again, the unboosted total battle exp equals half the total available experience, but the rest is even farther off than when only two Pokemon were actually in the battle.
Theory
...I gathered a bit more data (not a lot), and I would tentatively theorize that the experience value that Exp. All attempts to share (split) between all party members is the same value that any single Pokemon gets (unboosted) (and it only amounts to a rough approximation at times). I'm supposing that the code made the assumption that Exp. All would always be used with only one Pokemon battling, so they could just take the experience it received and divide that by the number of party Pokemon. So in the last battle above, each of the battlers received 48 Exp. unboosted; divide this by 3 and you get 15, which is at least close to the actual value (13)... So it's a fair approximation, at least (or appears to be so far).
The weird thing is that with Bellsprout's base experience and level, it's got a lot of factors to it (84=2*2*3*7, 24=2*2*2*3) that can allow a lot of even divisions without rounding. I don't know what the formula might be doing to arrive at a number like 13...
...
And after gathering full data for 1-6 party members/participants, I can say that that's what the experience values correspond to: dividing the value that a battling Pokemon gained by the number of Pokemon in the party. The values may deviate by 0-3 xp, but the deviations in the numbers I gathered were all in that range, so I would say it's right, or as right as is possible to derive without more work than I'm capable of. I don't know if the deviations can be accounted for by other (intentional) factors or if it's just a bug, but they're small enough to live with.
Baselines
This is with no Exp. All.
All of these single-participant battles work out just fine, just so long as you round down before applying Mew's boost (and after).
- Mew vs lv22 Bellsprout (b=84): 396
- Mew vs lv24 Bellsprout (b=84): 432
- Mew vs lv26 Bellsprout (b=84): 468
- Mew vs lv26 Ditto (b=61): 339
- Mew vs lv28 Pidgeotto (b=113): 678
- Mew vs lv30 Pidgeotto (b=113): 726
- Mew vs lv23 Pidgey (b=55): 270
- Mew vs lv26 Venonat (b=75): 417
- Mew vs lv28 Venonat (b=75): 450
- Mew vs lv30 Weepinbell (b=151): 970
Some of these two-participant battles (the ones with "=floor..." below them) work fine if you assume that for some reason the experience is split 6 ways as soon as it needs to be split at all, but then others of them are weirdly off from even that.
- Mew & Mewtwo vs lv22 Bellsprout (b=84): Mew 198, Mewtwo 132
- Mew & Mewtwo vs lv24 Bellsprout (b=84): Mew 216, Mewtwo 144
- Mew & Mewtwo vs lv26 Bellsprout (b=84): Mew 234, Mewtwo 156
- Mew & Mewtwo vs lv26 Ditto (b=61): Mew 166, Mewtwo 111
- =floor(floor(26*61/7)/6)*3
- Mew & Mewtwo vs lv28 Pidgeotto (b=113): Mew 336, Mewtwo 224
- This one is weird...
- Mew & Mewtwo vs lv30 Pidgeotto (b=113): Mew 360, Mewtwo 240
- =floor(floor(30*113/7)/6)*3
- Mew & Mewtwo vs lv23 Pidgey (b=55): Mew 132, Mewtwo 88
- This one is weird...
- Mew & Mewtwo vs lv26 Venonat (b=75): Mew 205, Mewtwo 137
- This one is weird...
- Mew & Mewtwo vs lv28 Venonat (b=75): Mew 222, Mewtwo 148
- This one is weird...
And while I didn't get the rarer encounters here for three participants, Pidgey is still weird...
- Mew, Mewtwo, & Blastoise vs lv22 Bellsprout (b=84): Mew 132, Mewtwo 88, Blastoise 88
- Mew, Mewtwo, & Blastoise vs lv24 Bellsprout (b=84): Mew 144, Mewtwo 96, Blastoise 96
- Mew, Mewtwo, & Blastoise vs lv26 Bellsprout (b=84): Mew 156, Mewtwo 104, Blastoise 104
- Mew, Mewtwo, & Blastoise vs lv26 Ditto (b=61): Mew 111, Mewtwo 74, Blastoise 74
- =floor(floor(26*61/7)/6)*2
- Mew, Mewtwo, & Blastoise vs lv23 Pidgey (b=55): Mew 88, Mewtwo 59, Blastoise 59
- This one is weird...
- Mew, Mewtwo, & Blastoise vs lv26 Venonat (b=75): Mew 138, Mewtwo 92, Blastoise 92
- Mew, Mewtwo, & Blastoise vs lv28 Venonat (b=75): Mew 150, Mewtwo 100, Blastoise 100
- No categories associated with this article