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: PCEnemy item  (Read 425 times)

0 Members and 1 Guest are viewing this topic.

TheAwesomer

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
PCEnemy item
« on: November 14, 2017, 11:45:21 am »
I just found that the PCEnemy item, when used in battle, causes the TMTRAINER effect. Just a heads up. Possibly usable for ACE?

TheAwesomer

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: PCEnemy item
« Reply #1 on: November 14, 2017, 11:50:18 am »
Also, I dont know if its with this specific item, but the TMTRAINER effect does not seem to actually count as a KO in trainer battles

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • View Profile
Re: PCEnemy item
« Reply #2 on: November 14, 2017, 12:00:34 pm »
Hi TheAwesomer.

This effect is known and doesn't cause arbitrary code execution. Thanks for your post though!  :)

Many items in Pokémon Red and Blue do this. These are indicated as unterminated name glitch items on the ItemDex index.

When you open the items menu you save a copy of the screen. Then when you press A on the item its unterminated name is loaded into memory. Since there is no 0x50 terminator the game copies more than 20 bytes to the other buffer, causing memory corruption (buffer overflow).

I think I know what you mean with it not counting as a KO too. I've noticed that in trainer battles the opponent will keep sending out the Pokémon that just fainted after the TMTRAINER effect.
« Last Edit: November 14, 2017, 12:01:32 pm by Evie ✿ »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



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

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. 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

TheAwesomer

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: PCEnemy item
« Reply #3 on: November 14, 2017, 12:06:15 pm »
Ah yes, I figured. I just wasnt sure if the community knew that that item also causes TMTRAINER effect. I am new here you see, but I have done alot of research and glitching myself and I know a fair bit about it. Also I found that this address controls your opponent's current pokemon: DD80, although it appears to work of its own accord but has worked before for me. If you notice also, the amount of pokemon they have (the 6 pokeball display inbetween sending out pokemon) also doesn't decrease.
« Last Edit: November 14, 2017, 12:07:50 pm by TheAwesomer »

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • View Profile
Re: PCEnemy item
« Reply #4 on: November 14, 2017, 12:18:01 pm »
Ah yes, I figured. I just wasnt sure if the community knew that that item also causes TMTRAINER effect. I am new here you see, but I have done alot of research and glitching myself and I know a fair bit about it. Also I found that this address controls your opponent's current pokemon: DD80, although it appears to work of its own accord but has worked before for me. If you notice also, the amount of pokemon they have (the 6 pokeball display inbetween sending out pokemon) also doesn't decrease.

Interesting, thanks!

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



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

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. 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

TheAwesomer

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: PCEnemy item
« Reply #5 on: November 14, 2017, 12:18:31 pm »
No problem ;)