Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: "Escape from battle using a Bicycle" effects - how to replicate? (Blue)  (Read 957 times)

0 Members and 1 Guest are viewing this topic.

Evie the Mother Hen ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • I love My Melody. 🦋 ✿
    • View Profile
In an 'old' video by TheZZAZZGlitch, he changes D057 (00=out of battle, 01=wild battle, 02=Trainer battle) in a Trainer battle to 00 and uses the Bicycle, and then somehow he escapes from battle and 'flies' into a cave with corrupted Pokémon.

When I try this with the same Gambler and 010057D0 the game thinks I used a turn and the battle just continues from then on normally but with the wrong music and messed up graphics.

Is there a way to always get effects like in his video? Was an additional cheat used?
« Last Edit: February 13, 2015, 10:39:56 am by Torchickens »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post :)
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Transgender woman but spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman/I'm a 'girly' nerd who discovered herself. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

SatoMew

  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
I don't know if Crystal_ used that code too but this video of his appears to confirm the behavior you got.

Evie the Mother Hen ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • I love My Melody. 🦋 ✿
    • View Profile
Re: "Escape from battle using a Bicycle" effects - how to replicate? (Blue)
« Reply #2 on: February 13, 2015, 01:47:11 pm »
Yes, that's what I got originally. But now I'm getting different effects; namely the game freezing (not allowing the next turn!) sometimes with a white screen and sometimes not. Interesting.

Non-white screen freeze:


This LM4 doesn't know Super Glitch by the way.

Edit: Did this in BGB and the game executed A71A in SRAM, running an unknown opcode at A728. By viewing a glitch Pokémon's sprite, you can corrupt the data around there.

Edit 2: D4E0 goes into A78C when you save. If extrapolation works, D46E=>A71A. So we may be able to execute arbitrary code based on D46E+. You could set up code in your PC items (starting at D53A).

Edit 3: Though D46E goes into A71A when you save on BGB, it changes to something else when you go in battle and it can change again through glitch Pokémon sprites. What if you save within battle using 9F? That writes the data again, but unfortunately the game froze after the save and the freeze may not be preventable never mind: the screen turns white but you can still open the menu and continue to do stuff.
« Last Edit: February 13, 2015, 05:12:58 pm by Torchickens »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post :)
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Transgender woman but spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman/I'm a 'girly' nerd who discovered herself. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

SatoMew

  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: "Escape from battle using a Bicycle" effects - how to replicate? (Blue)
« Reply #3 on: February 13, 2015, 05:18:28 pm »
Interesting findings. And speaking of "9F", TheZZAZZGlitch recently published a video about it.

Evie the Mother Hen ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • I love My Melody. 🦋 ✿
    • View Profile
Re: "Escape from battle using a Bicycle" effects - how to replicate? (Blue)
« Reply #4 on: February 13, 2015, 05:44:00 pm »
Thanks. Yes, I saw it. I really liked it.

I want to see if you can alter the stack pointer (although I don't understand what it is, I know when the game finishes an operation with ret you can make it go elsewhere though) with any other item(s) in Red/Blue/Yellow and possibly change the grass wild encounter list after we've come to a conclusion about this. I have seen items that don't freeze the game after one use but do after multiple uses.

By using a rod in battle with D057 as 00, you may also execute code from A71A.

I'm pretty excited about this as a new arbitrary code method even though I don't know of a way of getting D057 as 00 in battle. Food for thought CoolTrainer (or other Super Glitch moves when they are viewed but that would cause more corruption) may write to it because the view move corruption effect writes to CF4B and beyond. However, is D057 beyond the size of the screen? and say it is writable, could getting the game to write to it mess up the battle/cause a freeze?

Edit: Doing this in Yellow made the game execute CFCC in RAM, hmm. Green v1.0: C001. Pocket Monsters Blue (JP): A71A

Edit 2: Well having a 50h tile on the last place on the screen possible (using the code 015007C5) can corrupt as far as D0C6. And D057 is one of the screen tiles you can alter (a 39 one time but changed to 23 after I used a different position).I should have known this because I knew you could alter addresses later than D057 like D05F (hooked Pokémon flag) and D078 which forces a victory/flee when it is a non 00 value if you back out of the fight menu. The BGB coordinate that you need to be 00 (for writing D057 to 00) is x=08 y=0C.

« Last Edit: February 13, 2015, 07:06:06 pm by Torchickens »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post :)
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Transgender woman but spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman/I'm a 'girly' nerd who discovered herself. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3