my profile | search | faq | forum home
 » The Azure Heights Forum   » Main Campus   » Research Lab   » How is the base damage for Hidden Power rounded?

Author Topic: How is the base damage for Hidden Power rounded?
 Automaton Farting Nudist Member # 1234 Member Rated: posted 01-04-2001 10:23 PM                        There are 32 different actual base damage values that Hidden Power can have. Once you arrange your DVs in Atk, Def, Spd, Spl order, and convert all DVs that are 7 and under to 0s and all that are 8 and up 1, you have your binary code for damage. But the same binary damage code on two different pokemon can deviate by a margin of 1.5 as it relates to the actual base damage of the final Hidden Power, because of the Spl DV. The actual equation is;([X*5+Y]/2)+31=ZX=Your binary codeY=Your Special DV; 3 and up equals 3, less than 3 equals that number.So Y is actually the variable I'm talking about. But binary codes of 1, 3, 5, 7, 9, B, D, and F don't have a variable on the value of Y, because they all are ???1 when converted back into binary, and if the Spl DV is 8+, which it would have to be to show up as a 1 in the binary code, than Y in these equations can never be less than 3. So that means that binary codes of 0, 2, 4, 6, 8, A, C, and E can all have three different actual values as related to the actual base damage of the final Hidden Power. Here's an example of a Pokemon with a binary value of E;9, B, 8, 2In binary, making any DV that's 7 or less 0, and 8 and up 1, this converts into 1110, or 14, which translates into E in hexidecimal. Now, In the equation;([14*5+2]/2)+31=67Now, let's turn that Spcl DV into a 1;([14*5+1]/2)+31=66.5The question is, will it be rounded, and if so, to 66, or 67?------------------"Well, Hiro, time to probe the bush. Let's get this party started."-Ronfar, Lunar 2: Eternal Blue Complete From: Oregon | Registered: Nov 2000  |  IP: Logged
 Meowth346 Farting Nudist Member # 166 posted 01-05-2001 01:09 AM                    Pokemon always cuts off after the decimal point, so it *always* rounds down.--Meowth346------------------Researcher in charge of Pokémon Forever, a compilation of about 1/1000th of my work. Registered: Mar 2000  |  IP: Logged
 Automaton Farting Nudist Member # 1234 Member Rated: posted 01-05-2001 01:26 AM                        Thank you. This'll help for a Mechanics FAQ I'm writing.------------------"Well, Hiro, time to probe the bush. Let's get this party started."-Ronfar, Lunar 2: Eternal Blue Complete From: Oregon | Registered: Nov 2000  |  IP: Logged

 All times are ET (US)
 Printer-friendly view of this topic Hop To: Select a Forum: Category: Welcome Center -------------------- Information Booth Complaints Dept. Category: Main Campus -------------------- Research Lab Muk Center Auditorium Oddish Memorial Lecture Hall Omanyte Historical Foundation Kabuto Archaeological Society Sakaki Tower Category: Onix Annex -------------------- Azure Arena Arbok's Internet Cafe Azure Pokemon Center Category: The Courtyard -------------------- Karp Park