Jump to content

Pikachu off-screen glitch: Difference between revisions

Moved ACE setups to the bottom of this page.
>Sherkel
No edit summary
>Bbbbbbbbba
(Moved ACE setups to the bottom of this page.)
Line 33:
 
5) Causing NPCs to move when they shouldn't.
 
====6) [[#Glitch text box activation and arbitrary code execution====|Achieve arbitrary code execution with a glitch text box.]]
 
Youtube Video:
 
{{Youtube|vcfjsHsbAkE|ChickasaurusGL}}
 
====Glitch text box activation and arbitrary code execution====
{{main|Arbitrary code execution#Via Pikachu off-screen glitch}}
By using the Pikachu off-screen glitch and making specific movements to force the non-existing sign 04 to appear at coordinates x=1, y=1 in the Vermilion City Fan Club, it is possible for the player to execute arbitrary code beginning from D221; the catch rate/held item of party Pokémon 5.
 
Outside of speedrunning, a Graveler with 08 c2 (2242) HP stat experience and 1d d3 (7635) Attack stat experience may be used as an applicable Pokémon 5.
 
To get these specific EVs, your Pokémon needs to have encountered the following Pokémon (and no more):
 
71 Krabby, 1 Farfetch'd, 1 Dugtrio, and 1 Magnemite.
 
(Thanks FMK for working out what Pokémon to battle).
 
This technique was discovered by stumpdotio, originally for speedrunning Pokémon Yellow using a different method. A video of the route by Dabomstew's may be found [https://www.youtube.com/watch?v=mcsKo4K7BNE here].
 
{{Youtube|evdxp0UgunQ|ChickasaurusGL}}
 
==Via glitch items==
Line 59 ⟶ 45:
*The glitch item Lg- (hex:6E) - makes Pikachu stay.
*The item 9F, hex:5E - makes Pikachu stay but may cause a Glitch City in some places. Thanks EstebanZD Glitcher.
*A Rival's effect (Jack effect) item, such as hex:94 - doesn't make Pikachu stay but can put him off the screen and desync him. Thanks Luckytyphlosionluckytyphlosion.
 
Lg- is available through item underflow glitch and pPkMnp' ' (special 194)'s mutation of the fifth item when it's a Super Rod.
Line 134 ⟶ 120:
It is possible to battle level 255 Pokémon if you FF corrupt the roster/level with the Rival's item, somehow get Pikachu to re-appear by opening/closing the Pokémon menu after Pikachu is invisible, then start to walk around with Pikachu off the screen again just until corruption of a Trainer class (or Pokémon if less than C8) but not their roster (level).
{{Youtube|eT8XfA3gUjg|ChickasaurusGL}}
 
===Glitch text box activation and arbitrary code execution===
<!--Much of this text is copied from ChickasaurusGL's video with permission, who (alias Torchickens) is one of the authors of this article https://www.youtube.com/watch?v=evdxp0UgunQ-->
By using the Pikachu off-screen glitch and making specific movements to force the non-existing sign 04 to appear at coordinates x=1, y=1 in the Vermilion City Fan Club, it is possible for the player to execute arbitrary code beginning from D221; the catch rate/held item of party Pokémon 5.
 
The steps to activate this glitch text box are:
# Trigger the Clefairy event in the Vermilion Fan Club.
# Go to the bottom-left walkable tile (putting Pikachu off the screen), then walk up to the top and down to the bottom of the left-most column 11 times, but for the 11th time step one tile short on the final way back down.
# Step right, step left, then walk up to the top and down to the bottom of the left-most column 10 times.
# Step right, then go the top-left tile you can walk to, face right and press A.
 
This technique was discovered by stumpdotio, originally for speedrunning Pokémon Yellow using a different method. A video of the route by Dabomstew's may be found [https://www.youtube.com/watch?v=mcsKo4K7BNE here].
 
====Arbitrary code execution setups====
Multiple setups has been found to use this glitch text box for [[arbitrary code execution]]. To do arbitrary code execution, do one of the following setups with party Pokémon 5 and prepare the payload in the item pack, '''before''' doing the above steps to activate the glitch text box.
 
The below setups all jump to '''item 1''' in the pack.
 
=====Luckless setups=====
5 different setups to use for this trick have been made by Krys3000 and Torchickens/ChickasaurusGL [http://forums.glitchcity.info/index.php?topic=8063.0 in this thread]. They all execute code from item 3 in the pack, similarly to ws m or 4F setups.
 
# The 4 moves setup involves as 5th Pokémon in the party a Nidorina or Nidorino. It has to have been traded to G/S/C, hold a Moon Stone there and then be traded back to Yellow. This Pokémon must have 2 'placeholder moves' (typically Bite and Fury Swipes, since it learns both) followed by Double Kick (also learned) and Bubblebeam (TM11). Also, the 6th Pokémon can be anything but requires currently 3 PP on its first move (with 3 PP Up used), 33 PP on the second move, and 19 PP for the third move (with 3 PP Up used also).
# The 2 moves + HP/Box Level setup involves as 5th Pokémon a Nidorina or Nidorino. It has to have been traded to G/S/C, hold a Moon Stone there and then be traded back to Yellow. This Pokémon must have Double Kick (learned) as first move and Take Down (TM09) as second. Also, the 6th Pokémon can be anything but must have 24 HP currently and also have been lvl24 last time it was stored in the PC. This Pokémon requires currently 3 PP on its first move (with 3 PP Up used), 33 PP on the second move, and 19 PP for the third move (with 3 PP Up used also).
# The 4 moves + Glitch Pokémon setup involves as 5th Pokémon the glitch Pokémon PKMN pゥぁ ゥぇ, that can be obtained via several glitches, Equivalent Trade or Time Capsule Exploit. This Pokémon must have Ice Punch, DoubleSlap, Double Kick and BubbleBeam (all can be learned except Bubblebeam which is TM11). Also, the 6th Pokémon can be anything but requires currently 3 PP on its first move (with 3 PP Up used), 33 PP on the second move, and 19 PP for the third move (with 3 PP Up used also).
# The Untrained Hitmonchan setup is the only tradeless/glitchless setup. 5th Pokémon would be Hitmonchan and this Pokémon must never have been trained, but must know Strength (HM), Agility, Fire Punch and Ice Punch (it requires rising it to lvl 38 with Rare Candies). This Pokémon must also have 00 PP currently at Strength, 24 at Agility, 14 at Fire Punch (Ice Punch doesn't matter). Also, 6th Pokémon can be anything but must be lvl25, requires currently 24 HP, 3 PP on its first move (with 3 PP Up used), 33 PP on the second move, and 19 PP for the third move (with 3 PP Up used also). The code can be broken at any time by Hitmonchan's IV. The best way is to reset the pick of Hitmonchan to make sure that yours work. For this setup to work, you must also check that when converted into hexadecimal, Hitmonchan's trainer ID won't trigger invalid opcodes or many-bytes opcodes
# The underflow-based setup is described [http://forums.glitchcity.info/index.php?topic=8063.msg206641#msg206641 here].
 
A video of the Hitmonchan setup has been made by ChickasarusGL
{{youtube|bewkwWKf7qU|ChickasaurusGL}}
 
=====Luck-based setup=====
Outside of speedrunning, aA Graveler with 08 c2 (2242) HP stat experience and 1d d3 (7635) Attack stat experience may be used as an applicable Pokémon 5, preferably a Graveler from Victory Road.
 
If you are using level 44 Graveler, make note that since you can't really predict its total exp. you may not be able to get your result dictated by items. However, saving before the last few Krabby to get different levels or keeping Rare Candies, saving before talking to the text box and using one if it didn't work last time may fix this.
 
To get these specific EVs, your Pokémon needs to have encountered the following Pokémon (and no more):
 
71 Krabby, 1 Farfetch'd, 1 Dugtrio, and 1 Magnemite.
 
(Thanks FMK for working out what Pokémon to battle).
 
====Example codes (all from item 1)====
Notice that since text box based ACE happens on a different code path than glitch item based ACE, item codes for the latter may not be immediately usable for the former. In particular, the game will try to continue to display text from hl, so to avoid complications, it is necessary to point hl somewhere near a 0x50 terminator.
 
=====Obtain 255 items=====
 
The following code gives you an [[expanded item pack]]. This allows you to do 20+ items related glitches and get more complicated item set ups if you have items like multiple X Special x1 spare.
 
*Protein x1
*Repel x1
*X Accuracy x28
*Lemonade x1
*Poké Ball x61
*Antidote x61
*Water Stone x37
*X Accuracy x97
*TM01 x1
 
Note: This code may be unstable.
 
=====Encounter a Pokémon=====
 
*Iron x37
*X Accuracy x88
*Lemonade x(species you want, 21=Mew)
*Water Stone x4
*Protein x4
*TM01 x1
 
{{Youtube|evdxp0UgunQ|ChickasaurusGL}}
[[Category:Generation I glitches]]
[[Category:Pokémon Yellow exclusive glitches]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.