• Due to the recent changes with Twitter's API, it is no longer possible for Bulbagarden forum users to login via their Twitter account. If you signed up to Bulbagarden via Twitter and do not have another way to login, please contact us here with your Twitter username so that we can get you sorted.
  • Pronoun field selections have been updated! To ensure they show up correctly, please reselect your preferred option(s) in the Account details page. Click here for more information.

Simple Questions, Simple (Or Not) Answers

Status
Not open for further replies.

RudolphMilotic

Researcher
Joined
Nov 16, 2006
Messages
991
Reaction score
1
I could say to round and change some of these fractions into decimals, but this is true to the way the game calculates it, since it only uses integers the whole way through.

Are you actually sure of this for all formulae and operations? I don't think that's the way the game handles every real number found.
 

Cheesus Is Lord

Wailord Punk
Joined
Dec 19, 2007
Messages
641
Reaction score
1
That's what I've read on the internet, and it has checked out with my actual in-game Pokemon every time. Also, it matches with my (admittedly basic) knowledge of programming languages. In basic languages, all division is integer and the remainder is a separate function. This has to do with how numbers are represented in binary. There is no easy way to represent a decimal in binary, so decimal numbers are different objects than integers. None of this is exactly proof, but it is pretty good evidence.

Also, EVs at least definitely work by integer division. It is well established that 255 EVs, for example, gives the same stat at level 100 as 252.

Edit: EVs are established. That leaves level and nature. Starting with level, this can be checked. Use a Pokemon with a known stat with a neutral nature at level 100. Whether you round up or use integer division, the equation gives the same value. However, for certain stats, level 99 will give you a different value. For practical purposes, these values are 206-255 and 306-355. Check it at level 99 and level 100. This will tell for sure. I'm gonna go check this now.

Edit II: I didn't have a Pokemon with the right regular stat, but I had a level 99 Torterra with a good HP stat. At level 99 it had 334 HP. At level 100, it had 338 HP. Because EVs have been established to work through integer division and not rounding, we know that (2 * Base * IV * EV / 4) must be an integer. Furthermore, we know it must be a constant integer as long as it has all of its EVs, which this Torterra does. Thus, the formula for the stat at level 100 can be written as:

(Some number) * 1 + 110 = 338

This number is 228. It can then be put into the formula following integer division and following standard rounding to see if there is a difference. Keep in mind that flooring after every division problem is equivalent to integer division.

HP at level 99 using integer division:
(228) * 99 / 100 + 109 = 334
HP using rounding:
(228) * .99 + 109 = 334.72, which rounds to 335

Torterra's HP gain corresponded to integer division use when determining level. I think it's safe to say that it will also work this way with regular stats, though I don't have a Pokemon with a good stat number readily available. All that's left here is then natures, which I will test when I have more time.
 
Last edited:

RudolphMilotic

Researcher
Joined
Nov 16, 2006
Messages
991
Reaction score
1
That's what I've read on the internet, and it has checked out with my actual in-game Pokemon every time. Also, it matches with my (admittedly basic) knowledge of programming languages. In basic languages, all division is integer and the remainder is a separate function. This has to do with how numbers are represented in binary. There is no easy way to represent a decimal in binary, so decimal numbers are different objects than integers. None of this is exactly proof, but it is pretty good evidence.

Of course, I got your point. I'm attending a course of Programming in Fortran for Petroleum Engineers (I'm studying Petroleum Engineering) and I already knew how binary numbers work for the most simple languages (mantissa/significand, exponent and so) and for the cases in which you have characters, integers, real numbers, etc., but I think the Pokémon games can handle in some parts of the formulae real values as such. At least is what the spreadsheet with the Stat calculation/Damage formula and my in-game experiments say.

I'll have to dig more into the subject. Anyway, thanks for the insight and quick overview on the EV topic.

Edit: It seems that in the end, you have the right premise:

Cheesus is Lord said:
Keep in mind that flooring after every division problem is equivalent to integer division.

I never noticed how flooring (the process I always go with; I don't like following strictly binary operations even if the process is achieved that way) is the same as dividing by integers.
 
Last edited:

coolking503

now's the time to shine
Joined
Jul 22, 2009
Messages
1,124
Reaction score
0
Is it worth catching a Ditto in Platinum or transferring it from an earlier game?

It doesnt really matter which, but if you breed alot dittos are definetly worth it. I personally have on of each, because if the two pokemon yu are breeding are from different game, they breed faster. Thus, when I breed platinum stuff I use my emerald ditto, and for emerald stuff my platinum ditto.
 

Jaxon

Certified random dude
Joined
Mar 5, 2009
Messages
468
Reaction score
1
Whose earthquake would deal more damage torterra or salamence if both have the same nature, EVs, held item and IVs?
Salamence has 135 atk stat and torterra only has 109 but gets STAB
 

coolking503

now's the time to shine
Joined
Jul 22, 2009
Messages
1,124
Reaction score
0
if base power is (((100*109)/50)+2)1.5)

or base power is ((100*135)/50)+2

you can figure it out. Torterra's is stronger
 

Jaxon

Certified random dude
Joined
Mar 5, 2009
Messages
468
Reaction score
1
I dont think there is an event that make trainers LV up with the VS seeker. I think some do some dont.
 

Dr. Magikarp

#1 Magikarp Breeder
Joined
Mar 11, 2009
Messages
52
Reaction score
0
if you breed 2 flawless pokemon together do they make another flawless pokemon.
 

a0161613

Well-Known Member
Joined
Dec 23, 2009
Messages
772
Reaction score
0
Catching the Regis in Platinum. As simple as finding and entering the temples and catching them, right? I have a Regigigas but which event does it need to be?
 

RudolphMilotic

Researcher
Joined
Nov 16, 2006
Messages
991
Reaction score
1
Can anyone answer me pls?

I really don't know, but try to beat the Elite Four for the first time. I used the Vs. Seeker on my LeafGreen cart to upgrade the trainers's teams only until I had already completed the story, which includes fixing the Network Machine in the Sevii Island One -Knot Island- and beating the rematch team of Blue/Green.
 

Blazevoir

._.
Joined
Sep 8, 2008
Messages
3,464
Reaction score
0
Catching the Regis in Platinum. As simple as finding and entering the temples and catching them, right? I have a Regigigas but which event does it need to be?

It needs to be a Fateful Encounter Regigigas. They were given away at Toys R Us and in movie theaters in Japan for the Shaymin movie.
 

Rotom Thunder

New Member
Joined
Aug 18, 2009
Messages
204
Reaction score
0
What triggers in-game events, like gaining access to Seabreak Path? Is it getting Oak's Letter, or getting the Wonder Card? If I were to obtain Oak's Letter through a cheating device, would it unlock the event?
 

HeshieokFasla

Heretic
Joined
Jan 29, 2010
Messages
472
Reaction score
0
Why is it in Platinum, you're right by the Lake Trio during the distortion world and in Galactic's HQ, but they aren't added into the pokedex until you battle them?
 

coolking503

now's the time to shine
Joined
Jul 22, 2009
Messages
1,124
Reaction score
0
Why is it in Platinum, you're right by the Lake Trio during the distortion world and in Galactic's HQ, but they aren't added into the pokedex until you battle them?

Your too busy saving the world, you dont have time to pull out your pokedex.

lol

edit: ya, you have to battle them
 

hurristat

the future is not written
Joined
May 1, 2009
Messages
7,801
Reaction score
170
When is the pikachu-colored pichu event in the United States? I just saw something that said it ended already or that it ends about... tomorrow, and I was wondering when it ended... thanks!
 
Status
Not open for further replies.
Top Bottom