Preparation | Calculation | Example | Using | Online Calculator
Gold / Silver / Crystal Versions
Version 1.0 ©2002 Phil Erwin Last Updated: 9/28/2002
When you first start a new game of G/S/C Pokémon, you are asked to set the day of the week, the time, and daylight savings time. There are times when, for whatever reason, you need to change or reset that time.
Nintendo/Game Freak provided a way to reset the time, but the game requires a password. This FAQ will help you generate that password. The password is determined by several factors of your saved game.
Before you can calculate your time reset password, you have to know the following things related to your saved game:
Your trainers Name (exactly as it is entered in the game)
Your trainers held Money (do not include the money your Mom is saving for you).
Your trainers ID number (Trainer ID)
Write these numbers down on scratch paper before you begin, you'll be referring to them later.
There are four steps to generating your password. You will be generating numbers based on your trainers Name, Money, and Trainer ID.
Using the values shown in Table 1, translate the first five characters of your trainers name into values. Add these five numbers together. This will be referred to as your Name Total.
If your trainers name is less than five characters, just sum the numbers for those.
If your money is greater than 65535, then subtract 65535 from the amount until the amount is less than 65535. You may have to repeat this several times until the number is less than 65535.
Divide the result by 256. Strip any fractional part from your answer.
Add to this number the remainder of the division. This sum will be referred to as your Money Total.
Perform the same operation you did in Step Two, but use the Trainer ID number.
If your Trainer ID is greater than 65535, subtract 65535 from it until it is less than 65535.
Divide the Trainer ID number by 256. Strip any fractional part from your answer.
Add to this number the remainder of the division. This sum will be referred to as your ID Total.
Add your Name Total, Money Total, and ID Total numbers together. If the number of digits in the result is less than five, pad zeros on the left until there are five numerals. This five-digit code is your password.
Here is an example to illustrate the algorithm.
Translating the first five letters of his name, we get:
130+167+160+177+171 = 805. This is the Name Total.
247,122 is certainly greater than 65535, so we subtract 65535 until we get 50517.
We then divide 50517 by 256 which yields 197.33203125. The fractional part is discarded and we are left with 197.
To find the remainder, the simplest way is to take the fractional part of the first result and multiply by 256. 0.33203125 * 256 = 85. This is the remainder.
Note: In computer terminology, calculating the remainder is also referred to as modulus, or simply Mod. Most scientific calculators have this feature, including the Windows Calculator (set in Scientific mode). In the example above, entering 50517 Mod 256 returns 85. What could be easier?
The Money Total is 197 + 85, or 282.
54201 is less than 65535, so it remains unchanged. Dividing by 256 results in 211. The remainder is 0.72265625 * 256, or 185. The ID Total is 211+185, or 396.
Password = Name Total + Money Total + ID Total = 805 + 282 + 396 = 1483. This doesn't have five digits, so we pad zeros to the left. The password is 01483.
Finally, the part we've been waiting for: using the password!
This is the easy part. On the title screen, press Select+Down+B. A message will appear asking you if you want to reset the clock. Choosing Yes will prompt you to enter the password. After entering the correct password, the time is reset and you will be asked to set the clock like when you first started your game.
Unfortunately, the good people at Nintendo decided to take the Select+Down+B option out of the Crystal version. Maybe they thought too many people were abusing the time reset code or maybe someone just forgot. In any event, there is only one way to reset the clock using the password and that is by using a Gameshark code. I know, I know... I don't like using Gameshark codes myself, but in this instance it is necessary.
Enter Gameshark code 010464CF and start your game. At the title screen, press the A button. You will be prompted to reset the clock. Remove the Gameshark code at this time and proceed entering the password as in the Gold and Silver version.
If you don't have the patience to do the calculations yourself, feel free to use this Calculator.