my profile | search | faq | forum home
 » The Azure Heights Forum   » Main Campus   » Research Lab   » hidden values

Author Topic: hidden values
 giagia Orangutan Spouse Member # 3560 Rate Member posted 12-20-2003 04:33 PM                     how do they _exactly_ work?theres the hidden value for trainers the secretid, and hidden values for pkmn the OT secretid and a value for determining gender and other things, i would like to receive info on the third value, if you can give me info on all then excellent ^^something like, when is a pkmn male or female, depending on the first bit of this value?, how long is this value?, (...) From: Polar Mountain | Registered: Nov 2003  |  IP: Logged
 Kuriki Orangutan Spouse Member # 3596 Rate Member posted 01-11-2004 08:06 AM                     When you start a new game, 2 new numbers are randomly chosen whose values are ranging from 0 to 2^16-1 (= 65,535). One will become the trainer's ID while the other one will become the trainer's secret ID.Then, Pokemon have 2 numbers too that determine who's their trainer. If those values are the same as yours, they're marked as being your Pokémon.Another thing is:Each Pokémon has a number ranging from 0 to 255 which represents its gender. (255 = genderless, 254 = always female, 00 = always male)=> Call this number A.Each Pokémon has another value ranging from 0 to 2^32-1 (= 4,294,967,295) which is sort of a key.=> Call this number B.This key determines the gender of the Pokemon.C = B and 255(this is equal to C = B modulo 256)C: is a number which will be used later on...Now, the games compares C with A.=> if C < A, then gender is female=> if C >= A, then gender is maleRemember that some Pokémon are genderless or always male/female, thus they don't use that kind of formula...The key previously described is used in other computations. For ex, it also determines if the Pokemon is shiny or not.Hope this helps... Registered: Jan 2004  |  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

Contact Us | Azure Heights Pokémon Laboratory

© 2000-2019, Maximum Penetration Industries.

Karpe Diem

The views and opinions expressed on this page are strictly those of the author(s). The contents and links have not been reviewed or approved by the University of Miami.