Berry glitch: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
 
(92 intermediate revisions by 45 users not shown)
Line 1: Line 1:
The '''berry glitch''' is the nickname for a glitch in the coding of {{game|Ruby and Sapphire|s}} which seems to stop the game's day counter and freezes the growth of any [[Berry|berries]] which have been planted but not harvested. The glitch typically occurs after about a year of owning either game. It also seems to happen to games that have been played over 100 hours.
The '''Berry glitch''' (Japanese: '''きのみ{{tt|問題|もんだい}}''' ''Berry problem'') is a [[glitch]] only found in early versions of {{game|Ruby and Sapphire|s}} which affects the game's internal calendar. The name of the glitch comes from the fact that the first thing a player will usually notice is that all [[Berry|Berries]] that have been planted have ceased growing. The glitch occurs 366 days after the game is first started, or 366 days after the internal battery is replaced, and causes all calendar-based events to be delayed by 366 days. After the glitch was officially acknowledged by [[Nintendo]] and [[The Pokémon Company]], they provided several methods to mitigate the effects of the glitch, and incorporated a permanent fix into later production runs of the game.


Although the glitch prevents berries from growing, it does have one upside. The [[Pokérus]] is supposed to disappear after a certain amount of time, but this glitch prevents it from going away.
==Explanation==
The game cartridge contains a real-time clock (RTC) which keeps track of the year, month, day, hour, minute, second, and day of the week. When the RTC is first turned on, its date is set to January 1, 2000. Because the game has no need for an actual calendar system, it converts the RTC's year, month, and day data into a single "day number". The conversion function has a flaw, however: it will only count years (adding 365 or 366 days for each year or leap year) starting from 2001. So, while the RTC clock is reporting the year as 2000 or 2001, in both cases, the conversion equates this to "add 0 days to the day number". This means that, for the first 366 days the RTC runs (starting from January 1, 2000), the game's day number will count from 1 to 366 normally, but when the RTC clock reports January 1, 2001, the game's day number will start from 1 again.


==Other affected areas==
If, for example, a [[Sitrus Berry]] was planted on December 31, 2000 according to the RTC, which the game interprets as day 366, it will be scheduled to be fully grown on day 367. Due to the glitch, day 367 will not happen until the RTC reaches January 2, 2002. The result is that the growth of the Berry appears to be frozen for 366 days. Other effects of this glitch include:
As the Berry glitch affects the game's day counter and timer, other areas of the game are affected by the glitch. These can also be signs that the game has contracted the berry glitch.


*Trainers stop wanting to re-battle
* Random events which are calculated once per day, including the random number for {{gdis|Mirage Island|III}} and weather conditions on {{rt|119|Hoenn}} and {{rt|123|Hoenn}}, along with random events which must be announced on TV, such as the [[Energy Guru]] and [[Lilycove Dept. Store]] sales, service days at the [[Mauville Game Corner]], will be frozen until 366 days after the game was last played before the glitch took effect.
*[[Lilycove Dept. Store]] never has any sales
* Drawings at the [[Loto-ID|Pokémon Lottery Corner]], NPCs who offer free Berries daily, and the man in [[Pacifidlog Town]] who gives {{TM|27|Return}} or {{TM|21|Frustration}} weekly, will be frozen until 366 days after these events were last used.
*Lilycove Dept. Store stops allowing the player to draw a Lotto Ticket
* The number of successful rocket launches at the [[Mossdeep Space Center]] will be reset to 1.
*The [[Mauville Game Corner]] never has any service days
 
*The Energy Guru never sells vitamins cheap
The glitch does not affect the [[Evolution]] of {{p|Eevee}} into {{p|Espeon}} or {{p|Umbreon}} or the tides in [[Shoal Cave]] because these events are based only on the current time, not the day number.
*The tide in [[Shoal Cave]] never changes
 
*The man who gives out {{TM|27|Return}} and {{TM|21|Frustration}} in [[Pacifidlog Town]] stops giving out [[TM]]s
==Similar effects==
*Those that hand out free berries stop handing them out
===Dead battery===
*[[Mirage Island]]'s random number is the same
When the game cartridge's {{wp|List_of_battery_sizes#Lithium_cells|CR1616 internal battery}} runs dry, the in-game clock will also stop, resulting in very similar symptoms to the above. However, cartridges that have a dead battery will display a message after the title screen warning of the dry battery and the fact that clock-based events will no longer occur. In contrast, games being affected by the Berry glitch will not display this message.
 
The only way to fix this issue is to replace the battery. It is also possible for a game with a dead battery to be affected by the Berry glitch, however, meaning replacing the battery will not fix time-based events. To further complicate matters, replacing the battery may also cause issues of its own, as explained below.
 
===Replaced battery===
Cartridges that have had their battery replaced may also experience similar problems. When the supply of power from the battery is interrupted, the RTC is reset to January 1, 2000. As with the Berry glitch, this reset causes all scheduled calendar-based events to be frozen until the RTC reaches the expected value, which may take many years. This can be solved by starting a new game, or (with additional hardware) by altering the timestamp stored in the save file so it is lower than the RTC value, or by setting the RTC forward so it is greater than the save file timestamp.<ref>[http://furlocks-forest.net/wiki/?page=Pokemon_Ruby/Sapphire_New_Battery_Glitch Pokemon Ruby/Sapphire New Battery Glitch at Furlock's Forest]</ref><ref>[https://gbatemp.net/threads/how-to-reset-the-rtc-in-gba-pokemon-games-after-replacing-the-battery.558620 How to reset the RTC in GBA Pokémon games after replacing the battery | GBAtemp.net - The Independent Video Game Community]</ref>
 
===Max RTC===
While the RTC runs after 2099-12-31 23:59:59, it will be reset to 2000-01-01 00:00:00. This glitch has two situations:
 
* RTC runs after 2099-12-31 23:59:59, while game is turned off.
* RTC runs after 2099-12-31 23:59:59, while game is running.
 
When the game is turned on, the first will be the same as replaced battery glitch. In the second case, the elapsed RTC days saved in the game will generate to a large number, such as 62291 days. The number change relies on the initial RTC saved in the game.
 
The player can use rtcread to fix the former, but it will eventually change into the second-type RTC glitch. The only way to fix it is to edit the initial RTC and elapsed RTC stored in the save and use rtcread to change the RTC. Editing the initial RTC and elapsed RTC in the save will not synchronously change values relying on the RTC. When running the game, these values will dislocate with the corresponding RTC, such as Mirage Island Values.


==Fixing the glitch==
==Fixing the glitch==
The glitch can be fixed by downloading a patch from [[Pokémon FireRed and LeafGreen Versions|Pokémon FireRed, LeafGreen]], {{v2|Emerald}}, {{pkmn|Colosseum}}, {{Pokémon XD}}, [[Pokémon Channel]], or {{pkmn|Box}}, or by sending the affected game to Nintendo.
{{GlitchResearch|Clarify if deleting patched save file and starting anew (without replacing cartridge battery) removes the patch.}}
The glitch can be fixed with the Berry Program Update from {{game2|FireRed|LeafGreen|Emerald}}; a patch from {{g|Colosseum}}, {{Pokémon XD}}, {{g|Channel}}, {{g|Box Ruby & Sapphire}}, the [[e-Reader]], or a specific interactive demo disc; or by sending the affected game to [[Nintendo]].


===Pokémon FireRed, LeafGreen and Emerald Patch===
If the Berry glitch has not yet begun, these programs will set the RTC forward by 366 days, which prevents the effects of the glitch. If the game is already affected by the Berry glitch, these programs will set the RTC forward to January 2, 2002, the date at which all effects of the glitch end. If the cartridge battery is replaced and a new game is started, the fix will need to be applied again.
 
===Pokémon FireRed/LeafGreen/Emerald patch===
[[File:Berry Program Update FRLG.png|thumb|right|The main screen in FireRed and LeafGreen]]
[[File:Berry Program Update E.png|thumb|right|The main screen in Emerald]]
# Load FireRed, LeafGreen, or Emerald until the title screen is displayed.
# Load FireRed, LeafGreen, or Emerald until the title screen is displayed.
# Press the Select and B buttons. After the new screen loads, press A.
# Press the Select and B buttons. After the new screen loads, press A.
# Insert the Link Cable so that the system that the FireRed, LeafGreen or Emerald game is connected to the Player 1 cable port and the Ruby or Sapphire game is connected to the Player 2 port. Once this is done, press A.
# Insert the Link Cable so that FireRed, LeafGreen, or Emerald is connected to the P1 cable port and Ruby or Sapphire is connected to the P2 port. Once this is done, press A.
# Turn on the device with Ruby or Sapphire while holding the Start and Select buttons.
# Turn on Ruby or Sapphire while holding the Start and Select buttons.
# Refer to the FireRed, LeafGreen or Emerald game display for further instructions. The patch should be transferred at this time.
# Refer to the FireRed, LeafGreen or Emerald game display for further instructions. The patch should be transferred at this time.


===Pokémon Colosseum and XD Patch===
===Pokémon Colosseum and XD patch===
Linking an affected game to {{pkmn|Colosseum}} or {{Pokémon XD}} for trading or battling will automatically download the patch. In addition, the Bonus Disc that came with pre-orders of Colosseum can be used to download {{p|Jirachi}} into a game; when this happens, the patch is downloaded as well.
Linking an affected game to {{pkmn|Colosseum}} or {{pkmn|XD: Gale of Darkness}} for trading or battling will automatically download the patch. In addition, the [[Pokémon Colosseum Bonus Disc|Bonus Disc]] that came with pre-orders of Colosseum can be used to download {{p|Jirachi}} into a game; when this happens, the patch is downloaded as well.
 
===Pokémon Channel patch===
Downloading {{p|Jirachi}} from a {{wp|PAL}} version of [[Pokémon Channel]] will automatically download the patch.
 
===Pokémon Box patch===
Linking an affected game to {{g|Box Ruby & Sapphire}}, accessing the Go To Adventure mode<!--Does this happen when using the storage part of box too?-->, and then saving the game whilst playing will also automatically fix this glitch, with the message "The Berry Program was updated" appearing with the save confirmation. (This option is not available for Japanese versions.)
 
===e-Reader patch===
[[File:Berry Problem Repair Program.jpg|thumb|Japanese [[e-Reader]]+ cards containing the Berry Program Update, with explanation of the glitch from Nintendo and The Pokémon Company.]]
For Japanese versions, a special set of [[e-Reader]]+ cards (ID# 16-A001 & 16-A002) were distributed with Pokémon Scoop's Winter 2004 issue containing the Berry Program Update (Japanese: '''きのみ問題修理プログラム''' ''Berry Problem Repair Program'').
 
===GameCube Interactive Demo patch===
Specially-marked GameCube demo discs <!--Interactive Multi-Game Demo Disc version 14, 16 and Monthly Nintendo, Dec. 2003 - Mar. 2004-->were released to select stores across U.S. and Japan, so players could visit these stores and download the patch from the disc. In addition, players will also receive a {{shiny}} {{p|Zigzagoon}} holding a [[Liechi Berry]] as a bonus. However, since the demo disc program does not block fixed games, players can receive multiple Zigzagoon by downloading to the same cartridge again.


===Pokémon Channel Patch===
===GBA cartridge patch===
Downloading Jirachi from a PAL version of [[Pokémon Channel]] will automatically download the patch.
Specially made GBA cartridges, with the same function as the GameCube demo discs, were released to select stores across the UK. Players could visit these stores and connect to a GBA system containing one of these cartridges via link cable to download the patch, as well as receiving a shiny Zigzagoon holding a Liechi Berry. As with the GameCube demo discs, the program does not block fixed games, so the Zigzagoon can be received by the same cartridge multiple times.


===Pokémon Box Patch===
===Sending cartridge to Nintendo===
Linking an affected game to {{pkmn|Box}}, accessing the Go To Adventure mode<!--does this happen when using the storage part of box too?-->, and then saving the game whilst playing will also automatically fix this glitch, with the message "The Berry Program was updated" appearing with the save confirmation. (Note that this option is not available for Japanese versions.)
If the player had no opportunity to download the patch, the game could be sent to Nintendo to have it fixed. However, as of August 2012, Nintendo stopped offering to patch the Berry glitch.


===e-reader Patch===
==Cartridges with/without Berry glitch==
For Japanese versions, a special set of e-Reader cards (ID# 16-A001 & 16-A002) were distributed with Pokémon Scoop's Winter 2004 issue to allow players to fix this glitch by using e-Readers.
Early versions of {{game|Ruby and Sapphire|s}} have the Berry glitch. It is fixed in later versions of these games and all versions of {{game|Emerald}}.


===Interactive Demo Patch===
{| class="wikitable"
Specially-marked demo discs <!--Interactive Multi-Game Demo Disc version 14, 16 and Monthly Nintendo, Dec. 2003 - Mar. 2004-->were released to selected stores across U.S. and Japan, so players can visit these stores and download the patch from the disc. By downloading the patch from a demo disc, player will also receive a {{shiny2}} {{p|Zigzagoon}} as a bonus. However, since the program does not block fixed games, players can receive multiple Zigzagoon by downloading to the same cartidge again.
|-
! colspan=4 |Cartridges with/without Berry glitch
|-
| colspan=2 align="center"|Version ||With glitch||Without glitch
|-
| rowspan=2 |{{game|Ruby and Sapphire|s}}|| JP FR DE IT ES || 1.0 || 1.1
|-
|EN || 1.0, 1.1 || 1.2
|}


===Sending Game in to Nintendo===
==External links==
<!--were any other event Pokémon carrying the patch as well?--><!--Event Pokémons do not carry the patch; they were served as bonuses along with the patch.-->If the player had no opportunity to download the patch, he or she could always send the game in to Nintendo to have it fixed.
* [http://www.nintendo.com/consumer/berryfaq.jsp Nintendo.com]
* [http://www.nintendo.co.jp/n08/axvp/kinomi/index.html Nintendo.co.jp]


==References==
<references />


{{Glitches}}
{{Glitches}}<br>
{{Project GlitchDex notice}}
{{Project GlitchDex notice|no}}
[[Category:Glitches]]


[[de:Beeren-Update]]
[[de:Beeren-Glitch]]
[[es:Actualización del programa de bayas]]
[[fr:Bug de l'horloge interne]]
[[fr:Bug de l'horloge interne]]
[[it:Glitch delle bacche]]
[[ja:きのみ問題]]
[[ja:きのみ問題]]
[[zh:时钟电路(漏洞)]]

Latest revision as of 17:49, 3 September 2024

The Berry glitch (Japanese: きのみ問題 Berry problem) is a glitch only found in early versions of Pokémon Ruby and Sapphire which affects the game's internal calendar. The name of the glitch comes from the fact that the first thing a player will usually notice is that all Berries that have been planted have ceased growing. The glitch occurs 366 days after the game is first started, or 366 days after the internal battery is replaced, and causes all calendar-based events to be delayed by 366 days. After the glitch was officially acknowledged by Nintendo and The Pokémon Company, they provided several methods to mitigate the effects of the glitch, and incorporated a permanent fix into later production runs of the game.

Explanation

The game cartridge contains a real-time clock (RTC) which keeps track of the year, month, day, hour, minute, second, and day of the week. When the RTC is first turned on, its date is set to January 1, 2000. Because the game has no need for an actual calendar system, it converts the RTC's year, month, and day data into a single "day number". The conversion function has a flaw, however: it will only count years (adding 365 or 366 days for each year or leap year) starting from 2001. So, while the RTC clock is reporting the year as 2000 or 2001, in both cases, the conversion equates this to "add 0 days to the day number". This means that, for the first 366 days the RTC runs (starting from January 1, 2000), the game's day number will count from 1 to 366 normally, but when the RTC clock reports January 1, 2001, the game's day number will start from 1 again.

If, for example, a Sitrus Berry was planted on December 31, 2000 according to the RTC, which the game interprets as day 366, it will be scheduled to be fully grown on day 367. Due to the glitch, day 367 will not happen until the RTC reaches January 2, 2002. The result is that the growth of the Berry appears to be frozen for 366 days. Other effects of this glitch include:

The glitch does not affect the Evolution of Eevee into Espeon or Umbreon or the tides in Shoal Cave because these events are based only on the current time, not the day number.

Similar effects

Dead battery

When the game cartridge's CR1616 internal battery runs dry, the in-game clock will also stop, resulting in very similar symptoms to the above. However, cartridges that have a dead battery will display a message after the title screen warning of the dry battery and the fact that clock-based events will no longer occur. In contrast, games being affected by the Berry glitch will not display this message.

The only way to fix this issue is to replace the battery. It is also possible for a game with a dead battery to be affected by the Berry glitch, however, meaning replacing the battery will not fix time-based events. To further complicate matters, replacing the battery may also cause issues of its own, as explained below.

Replaced battery

Cartridges that have had their battery replaced may also experience similar problems. When the supply of power from the battery is interrupted, the RTC is reset to January 1, 2000. As with the Berry glitch, this reset causes all scheduled calendar-based events to be frozen until the RTC reaches the expected value, which may take many years. This can be solved by starting a new game, or (with additional hardware) by altering the timestamp stored in the save file so it is lower than the RTC value, or by setting the RTC forward so it is greater than the save file timestamp.[1][2]

Max RTC

While the RTC runs after 2099-12-31 23:59:59, it will be reset to 2000-01-01 00:00:00. This glitch has two situations:

  • RTC runs after 2099-12-31 23:59:59, while game is turned off.
  • RTC runs after 2099-12-31 23:59:59, while game is running.

When the game is turned on, the first will be the same as replaced battery glitch. In the second case, the elapsed RTC days saved in the game will generate to a large number, such as 62291 days. The number change relies on the initial RTC saved in the game.

The player can use rtcread to fix the former, but it will eventually change into the second-type RTC glitch. The only way to fix it is to edit the initial RTC and elapsed RTC stored in the save and use rtcread to change the RTC. Editing the initial RTC and elapsed RTC in the save will not synchronously change values relying on the RTC. When running the game, these values will dislocate with the corresponding RTC, such as Mirage Island Values.

Fixing the glitch

BoEANSprite.png This glitch is in need of research.
Reason: Clarify if deleting patched save file and starting anew (without replacing cartridge battery) removes the patch.
You can discuss this on the talk page.

The glitch can be fixed with the Berry Program Update from Pokémon FireRed, LeafGreen, and Emerald; a patch from Pokémon Colosseum, Pokémon XD, Pokémon Channel, Pokémon Box Ruby & Sapphire, the e-Reader, or a specific interactive demo disc; or by sending the affected game to Nintendo.

If the Berry glitch has not yet begun, these programs will set the RTC forward by 366 days, which prevents the effects of the glitch. If the game is already affected by the Berry glitch, these programs will set the RTC forward to January 2, 2002, the date at which all effects of the glitch end. If the cartridge battery is replaced and a new game is started, the fix will need to be applied again.

Pokémon FireRed/LeafGreen/Emerald patch

The main screen in FireRed and LeafGreen
The main screen in Emerald
  1. Load FireRed, LeafGreen, or Emerald until the title screen is displayed.
  2. Press the Select and B buttons. After the new screen loads, press A.
  3. Insert the Link Cable so that FireRed, LeafGreen, or Emerald is connected to the P1 cable port and Ruby or Sapphire is connected to the P2 port. Once this is done, press A.
  4. Turn on Ruby or Sapphire while holding the Start and Select buttons.
  5. Refer to the FireRed, LeafGreen or Emerald game display for further instructions. The patch should be transferred at this time.

Pokémon Colosseum and XD patch

Linking an affected game to Colosseum or XD: Gale of Darkness for trading or battling will automatically download the patch. In addition, the Bonus Disc that came with pre-orders of Colosseum can be used to download Jirachi into a game; when this happens, the patch is downloaded as well.

Pokémon Channel patch

Downloading Jirachi from a PAL version of Pokémon Channel will automatically download the patch.

Pokémon Box patch

Linking an affected game to Pokémon Box Ruby & Sapphire, accessing the Go To Adventure mode, and then saving the game whilst playing will also automatically fix this glitch, with the message "The Berry Program was updated" appearing with the save confirmation. (This option is not available for Japanese versions.)

e-Reader patch

Japanese e-Reader+ cards containing the Berry Program Update, with explanation of the glitch from Nintendo and The Pokémon Company.

For Japanese versions, a special set of e-Reader+ cards (ID# 16-A001 & 16-A002) were distributed with Pokémon Scoop's Winter 2004 issue containing the Berry Program Update (Japanese: きのみ問題修理プログラム Berry Problem Repair Program).

GameCube Interactive Demo patch

Specially-marked GameCube demo discs were released to select stores across U.S. and Japan, so players could visit these stores and download the patch from the disc. In addition, players will also receive a Shiny Zigzagoon holding a Liechi Berry as a bonus. However, since the demo disc program does not block fixed games, players can receive multiple Zigzagoon by downloading to the same cartridge again.

GBA cartridge patch

Specially made GBA cartridges, with the same function as the GameCube demo discs, were released to select stores across the UK. Players could visit these stores and connect to a GBA system containing one of these cartridges via link cable to download the patch, as well as receiving a shiny Zigzagoon holding a Liechi Berry. As with the GameCube demo discs, the program does not block fixed games, so the Zigzagoon can be received by the same cartridge multiple times.

Sending cartridge to Nintendo

If the player had no opportunity to download the patch, the game could be sent to Nintendo to have it fixed. However, as of August 2012, Nintendo stopped offering to patch the Berry glitch.

Cartridges with/without Berry glitch

Early versions of Pokémon Ruby and Sapphire have the Berry glitch. It is fixed in later versions of these games and all versions of Pokémon Emerald.

Cartridges with/without Berry glitch
Version With glitch Without glitch
Pokémon Ruby and Sapphire JP FR DE IT ES 1.0 1.1
EN 1.0, 1.1 1.2

External links

References


Multiple
generations
Transform glitchesGlitch TrainersCloning glitchesError messagesArbitrary code execution
Generation I GlitchesBattle glitchesOverworld glitches
--0 ERRORBroken hidden itemsCable Club escape glitchDual-type damage misinformation
Experience underflow glitchFight Safari Zone Pokémon trickGlitch CityItem duplication glitchItem underflow
Mew glitchOld man glitchPewter Gym skip glitchPokémon merge glitchRhydon glitchRival twins glitch
Select glitches (dokokashira door glitch, second type glitch) • Super Glitch
Time Capsule exploitWalking through wallsZZAZZ glitch
Generation II GlitchesBattle glitches
Bug-Catching Contest glitchCelebi Egg glitchCoin Case glitchesExperience underflow glitch
Glitch dimensionGlitch EggTeru-samaTime Capsule exploitTrainer House glitchesGS Ball mail glitch
Generation III GlitchesBattle glitchesOverworld glitches
Berry glitchDive glitchPomeg glitchGlitzer Popping
Generation IV GlitchesBattle glitchesOverworld glitches
Acid rainGTS glitchesPomeg glitchRage glitch
Surf glitchTweakingPal Park Retire glitch
Generation V GlitchesBattle glitchesOverworld glitches
Charge Beam additional effect chance glitchCharge move replacement glitchChoice item lock glitch
Frozen Zoroark glitchSky Drop glitch
Generation VI GlitchesBattle glitchesOverworld glitches
Charge Beam additional effect chance glitchCharge move replacement glitchChoice item lock glitch
Lumiose City save glitchSymbiosis Eject Button glitchToxic sure-hit glitch
Generation VII GlitchesBattle glitches
Charge Beam additional effect chance glitchCharge move replacement glitchChoice item lock glitch
Toxic sure-hit glitchRollout storage glitch
Generation VIII Glitches
Charge Beam additional effect chance glitchCharge move replacement glitchChoice item lock glitch
Toxic sure-hit glitchRollout storage glitchParty item offset glitch
Generation IX Glitches
Glitch effects Game freezeGlitch battleGlitch song
Gen I only: Glitch screenTMTRAINER effectInverted sprite
Gen II only: Glitch dimension
Lists Glitches (GOMystery DungeonTCG GBSpin-off)
Glitch Pokémon (Gen IGen IIGen IIIGen IVGen VGen VIGen VIIGen VIII)
Glitch moves (Gen I) • Glitch types (Gen IGen II)


Project GlitchDex logo.png This article is part of Project GlitchDex, a Bulbapedia project that aims to write comprehensive articles on glitches in the Pokémon games.