Game freeze: Difference between revisions

Elaborate. Add another example.
(Elaborate. Add another example.)
Line 18: Line 18:
=="Softlocking"==
=="Softlocking"==
{{Incomplete||newly created section, needs more examples and sources}}
{{Incomplete||newly created section, needs more examples and sources}}
Certain [[glitch]]es do not cause the game to outright crash ('hard' lock), but rather cause the game's code to form an infinite loop, preventing any of the player's inputs from being processed. Examples:
Certain [[glitch]]es do not cause the game to outright crash ('hard' lock), but rather cause the gameplay to halt. All inputs do not work and the player must reset the game.
* In Generation I, a [[level]] 1 Pokémon using {{m|Psywave}} will cause the game to softlock, as the game attempts to generate a random amount of damage greater than 0 and less than 1.5 × the user's level (rounded down). No such number exists, preventing the game from continuing.
===In Generation I===
* In [[Kanto]]-based [[core series]] games, before obtaining the [[Boulder Badge]], a person blocks the path out of [[Pewter City]] to {{rt|3|Kanto}}. In [[Generation I]] games (except {{v2|Yellow}}), a glitch allows the player to bypass this person and then talk to him from the right side, an action the developers did not anticipate. As the path the person walks is dependent on the side the player talks to him from, the game attempts to look up a path based on the player's coordinates; since the path in this caes is nonexistent, the game will never find it and will not continue.
====Division by zero====
 
* In Generation I, a [[level]] 1 Pokémon or a level 171 using {{m|Psywave}} will cause the game to softlock, as the game attempts to generate a random amount of damage greater than 0 and less than 1.5 × the user's level (rounded down). No such number exists, preventing the game from continuing.<ref>[https://www.youtube.com/watch?v=VyIFL_-l2o4 Level 1 and level 171 Psywave infinite loop video by Crystal_.]</ref>
* Glitch experience groups that involve a division by 0 can cause a soft lock. The Pokémon Yellow glitch Pokémon [[4(h4?]] uses the glitch FF experience group so it is affected by the glitch.<ref>[http://forums.glitchcity.info/index.php/topic,6588.msg196436.html#msg196436 Glitch City Laboratories forums, post by TheZZAZZGlitch.]</ref><ref>[https://www.youtube.com/watch?v=f9kfmaX5KA8 4(h4? causing the lock-up.]</ref>
====Undefined guide paths====
* In [[Kanto]]-based [[core series]] games, before obtaining the [[Boulder Badge]], a person blocks the path out of [[Pewter City]] to {{rt|3|Kanto}}. In [[Generation I]] games (except {{v2|Yellow}}), the [[Pewter Gym skip glitch]] allows the player to bypass this person and then talk to him from the right side, an action the developers did not anticipate.
:As the path the person walks is dependent on the side the player talks to him from, the game attempts to look up a path based on the player's coordinates. Specifically, the game looks in the memory and tries find the coordinates (y=16, x=36 or hex:10 24) at an address ending in 2, 6, A or E. It then executes a path based on a two byte pointer following the coordinates, but the game may seemingly never find the coordinates at an applicable address and soft lock.
{{-}}
{{-}}
==References==
<references/>
{{Glitches}}<br>
{{Glitches}}<br>
{{Project Glitchdex notice|no}}
{{Project Glitchdex notice|no}}
2,061

edits