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
Other glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Interactive tools
Reference documents
Terminology

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: Yellow: Trainer's FB glitch AI  (Read 1237 times)

0 Members and 1 Guest are viewing this topic.

Nerator

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Yellow: Trainer's FB glitch AI
« on: May 01, 2014, 04:14:51 pm »
Found this fun little glitch while messing with glitch trainers. When you try to do something in battle, trainer will try to use X Attack. Game will state that nothing happened, and then a bunch of glitch sound can be heard. After some time option to press A appears and game will load some text, that seem based on location. After that game will exit to scrambled overworld and display another message, also from that location. After this one you go to the real overworld.

I have a video of me performing this glitch in Celadon Mansion using memory viewer here. It is also possible via Mew trick using pokemon with special stat 251, but only in Yellow.

pokechu22

  • Member+
  • *
  • Offline Offline
  • Gender: Male
    • View Profile
Re: Yellow: Trainer's FB glitch AI
« Reply #1 on: May 01, 2014, 05:44:29 pm »
Hm.  I just tried this.  I found that I got a TM 34: bide from him after the battle, in two separate tests of two separate locations.  I did use Torchickens' Game Genie code to "diffuse" missingno's sprite: 00F-CDA-F72 40F-CEA-E6A, so that may effect it.  But it is odd behavior.  A glitch text box that gives an item would be odd, and this could serve as an infinite TM34 method (not that bide is very useful).

... Wait, your video has his roster starting with cubone.  Why does mine start with missingno? 

EDIT: Well, I'm uploading a video.  Seems very odd.  The TM34 effect is repeatable, and if you have full items the game crashes. 
« Last Edit: May 01, 2014, 06:30:43 pm by pokechu22 »
When I underline text, that usualy means I am using the [‍acroynm] tag to provide aditional information.  Hover over it to view.
My youtube channel

camper

  • aka GlitcherRed, azum4roll
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • 975642dx║'r DExsfoF▓1 error.
    • View Profile
Re: Yellow: Trainer's FB glitch AI
« Reply #2 on: May 02, 2014, 12:00:39 am »
You didn't set D05C, so the roster is no. 256 by default (the Kangaskhan), and no. 1 after fighting Blue. (the Tentacool)

Since there is some ZZAZZ effect, it's likely that the battle style is set to "doing anything ends the battle" type. Trainer FB appears to be a Gym leader (Brock?), so he'll say something (sometimes hex 04) when the battle ends, and another dialogue (seems to be always hex 05) after the battle which gives you an item.

It loads yet another dialogue if your item pack is full, which coincidentally crash the game.
« Last Edit: May 02, 2014, 12:25:58 am by camper »
Youtube
 

Guess where this is?

Nerator

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Yellow: Trainer's FB glitch AI
« Reply #3 on: May 02, 2014, 04:51:47 am »
I rechecked this and yes - every battle seems to give you TM34. I will check the behaviour if item pack is full, may be in some locations it will not crash the game.

One more thing i noticed, while checking different rosters. I tried roster 0x44 (which according to this trainer list should be empty) and got some strange results.

First time i tried to batte this roster it seem, that he had 6 pokemon (all his pokeballs were not crossed). His first pokemon was Q (FF) at level 9. He, as usual, used X Attack that failed, followed by glitch sound. After that, instead of Celadon Mansion's Nidoran's texbox it showed Pokemon Center textbox, which offered me to heal! If you choose yes, the game will do normal heal animation with some glitch SFX, and say that all is fine. After that glitch proceeds as usual. After battle my Pokemon really were healed!

But it seem, that lvl 9 Q (FF) was caused by me previous actions. I tried to reset and start battle once more. It that case his pokeballs were crossed, music died and his first Pokemon was poisoned Q (FF) with very high HP (0x848B (33931) to be exact). His level was, according to address 0xCFF2 0x98 (152). Trainer still used X Attack every turn, but it didn't fail or exit battle. I attacked him for some turns, to wait for "Nothing happened!" after using X Attack - still no glitch sounds and leaving the battle. I tried to see his next pokemon, so i changed Q's HP to 1 - he fainted from poison. His next pokemon was 3TrainerPoke (00) with same HP, also poisoned, but level 0. I did the same trick again (but he died from my attack, i think his speed was lower than my Pokemon). Trainer sent another 3TrainerPoke with 0x5E00 (24064) HP, he was not poisoned, his level was also 0. When i tried to attack this one though, after X Attack use glitch sound took place, and glitch proceeded like in my video.

EDIT: Checked with full pack in Celadon Mansion with roster 0x07. Instead of "Celadon Mansion Manager's Suite" game just showed "6 error", but didn't crash. In Route 24 it was all same, as with not full bag (but i think, that because there in second box it shows "I did my best, I have no regrets!", which is text shared by all Nugget bridge trainers, so may be game just loads box from another trainer). And no items were modified in the process in both locations.
« Last Edit: May 02, 2014, 05:49:14 am by Nerator »

joonas2345

  • Guest
Re: Yellow: Trainer's FB glitch AI
« Reply #4 on: May 02, 2014, 10:33:08 am »
When I tested this back in March, the battle "ended" after the trainer used xAttack, and after the battle "ended" I was not sent back to overworld, instead the game glitched up and shortly after that it froze.

Video: https://www.youtube.com/watch?v=o4K7mVn-aPI
« Last Edit: July 07, 2014, 03:54:14 am by joonas2345 »

camper

  • aka GlitcherRed, azum4roll
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • 975642dx║'r DExsfoF▓1 error.
    • View Profile
Re: Yellow: Trainer's FB glitch AI
« Reply #5 on: May 02, 2014, 12:35:38 pm »
So here's the flow:
On the first turn, the trainer uses X Attack, but "nothing happened", followed by a series of glitch dialogue. (still unsure why but it's constant in the same map)
Gym battle victory music plays, and dialogue 04 in the map pops up.
Battle ends and you appear in the overworld with the wrong tileset.
If the item pack is full, dialogue 06 in the map pops up.
If it's not full, TM34 is added to the item pack and dialogue 05 in the map pops up.
Finally the tileset becomes normal if the game hasn't crashed from non-existent dialogues already.
« Last Edit: May 02, 2014, 12:39:05 pm by camper »
Youtube
 

Guess where this is?