Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
AreaDex
DexDex
ItemDex
MetascriptDex
TMHMDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man glitch
Celebi Egg glitch
SRAM glitch
Buffer overflow techniques
Pomeg glitch data corruption (Glitzer Popping)
Tweaking
Pokémon cloning
Select glitches (Japan)
Time Capsule exploit
Arbitrary code execution
More

Other Glitch Categories
Glitches by generation
Japan-only/language specific glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Recurring glitches
More

References
Pokémon GameShark codes
Pokémon Game Genie codes
Disassembly projects
The Big HEX List
GB programming
Curiosities
Debugging features
Error traps
Non-glitch exploits
Pokémon glitch terminology
Unused content and prerelease information
More

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site Source Code

Search Wiki

 

Search Forums

 

Author Topic: Dex status/ideas for the wiki  (Read 1056 times)

0 Members and 1 Guest are viewing this topic.

Evie Torchic the Glitch Scientist

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Thank you for this lovely artwork Nyapon!
    • View Profile
Dex status/ideas for the wiki
« on: December 28, 2017, 11:57:44 am »
It's not realistic all of these will get done, but here are some Dex ideas for the wiki. You can post all sorts of ideas here for others to research in case they want to do so.

GlitchDex - Done
AttackDex - In progress
ItemDex - Done (except Generation II glitch items)
TrainerDex - In progress (work completed in non-wiki form by TheZZAZZGlitch for English RBY and Japanese Red/Green)
TypeDex - Done (in terms of all used types on glitch moves)
UnownDex - In progress

PhoneDex (GSC) - Not started but work completed in non-wiki form by Photon-Phoenix/Yuzihax
OptionDex (GS) - Not started but work completed in non-wiki form by Photon-Phoenix/Yuzihax
DexDex (GSC) - I think pokechu22 did work on this. These are glitch Pokédex listing options.
DollDex (GSC) - Photon-Phoenix/Yuzihax
PosterDex (GSC) - Photon-Phoenix/Yuzihax
AreaDex (RBY, GSC, later) - Done in parts but not as a dex project/no prefix for articles yet. Not that viable for GSC (only possibly on a case by case basis for those that don't freeze the game)
SecretBaseDex - Generation III glitch decorations
StatDex (RBY) - Some work by danny. None done for Generation II yet.
TileDex - Done by PRAMA Initiative for French version of Red/Blue.
RibbonDex (RSE upwards) - Zowayix documented one of them.
WeatherDex?
SpecialEmoteDex (Yellow)
EmoteDex?
BattleAnimationDex?
SoundBankDex (RBY)
PredefDex (RBY) - Already done for Yellow, but could possibly go deeper.
FacingDex (RBY) - Based on value of C109. See here.
DayDex (GSC)

All have only been done for English versions (except for the TileDex and TrainerDex) right now.
« Last Edit: December 28, 2017, 12:19:54 pm by Princess Torchic ❤ »
Hi! I'm Evie. I'm a transgender person, but any pronouns are fine. She/her preferred.

Online I most often use the username Torchickens or Chickasaurus.

Contact:
http://www.youtube.com/user/ChickasaurusGL
https://www.vgcollect.com/Torchickens

danny

  • Decamark Collector and Pokémaniac
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • i hate being alive
    • View Profile
Re: Dex status/ideas for the wiki
« Reply #1 on: January 01, 2018, 02:14:36 pm »
Kind of unrelated, but is there any RAM address that allows controlling trainer class? (Obviously not $D058/$D059, because those don't allow trainer class trainers above $37)
ralsei is my son.

discord: dani#5700

Evie Torchic the Glitch Scientist

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Thank you for this lovely artwork Nyapon!
    • View Profile
Re: Dex status/ideas for the wiki
« Reply #2 on: January 16, 2018, 03:07:41 pm »
Kind of unrelated, but is there any RAM address that allows controlling trainer class? (Obviously not $D058/$D059, because those don't allow trainer class trainers above $37)

CD2D stores this according to the disassembly. However from my understanding CD2D stores a lot of things and GameShark code 01xx2DCD won't modify the trainer class (at least not on VBA v24 svn422).

However, if you just want an easy way to modify the Trainer class the following Game Genie codes should do the trick:

Red/Blue:
XXF-549-C49
3EF-539-B31

Yellow:
XX0-2F9-C49
3E0-2E9-B31

These Game Genie codes were created by changing part of how a subroutine works that looks up a value (Trainer class) and subtracts 200 to instead use a constant value represented by XX. As Wack0 pointed out then in theory if you run a modified version of the routine with 8F or ws m you can encounter 'artificial Trainer classes' without a Game Genie or ROM hack.

With a physical Game Genie it probably isn't possible to do this on Yellow though, due to the device working with original Game Boy games rather than Game Boy Color compatible games. I'm not 100% sure though.

Hope this helps. :)
Hi! I'm Evie. I'm a transgender person, but any pronouns are fine. She/her preferred.

Online I most often use the username Torchickens or Chickasaurus.

Contact:
http://www.youtube.com/user/ChickasaurusGL
https://www.vgcollect.com/Torchickens

coloradohugge

  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Retro Game Collector, Former Swedish Let's Player
    • View Profile
Re: Dex status/ideas for the wiki
« Reply #3 on: January 17, 2018, 08:35:43 am »
I REALLY wanna get working on international glitch dex more soon, that's like my true burning passion when it comes to Pokémon glitching. so i really hope we can expand that further really soon, i would love to contribute as much as i possibly can ^^

Evie Torchic the Glitch Scientist

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Thank you for this lovely artwork Nyapon!
    • View Profile
Re: Dex status/ideas for the wiki
« Reply #4 on: August 26, 2018, 04:43:51 pm »
I decided to keep track of D031 (Trainer class) with the 8F offgao memory editor. It seems these are indeed the actual Trainer index numbers (-200 (decimal) of instant encounters greater than 0xC7). So for instance, battle Trainer 0xC8 this value will be 01, battle Youngster (D059=0xC9) it will be 0x02, and for "4S" (D059=0xFF) it will be 0x37.

Unfortunately you can't change the sprites and names of the Trainer with just this code, but you can change their AI routines to match another Trainer. For instance, you can battle a glitch Trainer with freezing AI routines and then change D031 to 0x15 (corresponding to Juggler instant encounter ID 0xDD (actual hex:15)). I confirmed testing one glitch Trainer that normally freezes the game that the glitch Trainer then should not freeze the game, and start occasionally switching Pokémon, like what a Juggler does.

Victory text may also be affected this way because I remember doing something similar (see here).

Today TheZZAZZGlitch very kindly gave me some pastebins for Trainer AIs in Red/Blue after I asked him a similar question in a PM, so for the buffer overflow manipulation it's a matter of finding safe AI routines and having the victory text not freeze the game.

https://pastebin.com/raw/kg3Gqmsk
https://pastebin.com/raw/FfUbxFtK

I won't copy the exact post PM in case TheZZAZZGlitch doesn't want me to publish it, but it actually appears that there are two different types of AIs here; a single pointer for Trainer AI, as well as what TheZZAZZGlitch calls (and the disassembly?) "move choice modifications" (which are also routines).

From how I understood it, basically according to TheZZAZZGlitch, there are four valid move modifications, the first three are used by valid Trainers and the fourth is an unused one that does nothing. Valid Trainers use these first three move modifications that are applied in a specific order defined in the ROM (so for instance, Sailor has (in order) move modification 1, move modification 3). But glitch Trainers can use invalid move modifications, allowing them to have 2 or more glitch AI pointers. In fact (actual) Trainer class 0x90 has as many as 398 move modifications or instruction pointers, plus the basic Trainer AI pointer at 0C30 according to TheZZAZZGlitch.

It seems like the possibilities here are endless, but I'm unsure if it's possible to skip any of the move modifications.

It may seem at first modifying D031 is impossible without arbitrary code execution (because it's not in the expanded items packs), but maybe you can do it with CoolTrainer as that corrupts CF4B onward, it would just require some very specific screen data. Vague memory, I remember luckytyphlosion showed me a link to a video on Twitch of a weird Trainer battle involving CoolTrainer. Maybe it was actually forcing an invalid AI routine?
« Last Edit: August 26, 2018, 04:47:10 pm by Evie Torchic the Glitch Scientist »
Hi! I'm Evie. I'm a transgender person, but any pronouns are fine. She/her preferred.

Online I most often use the username Torchickens or Chickasaurus.

Contact:
http://www.youtube.com/user/ChickasaurusGL
https://www.vgcollect.com/Torchickens

Sherkel

  • The first unquiring one to bare arms
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Gehen wir mit die Sonne spazieren!
    • View Profile
Re: Dex status/ideas for the wiki
« Reply #5 on: October 02, 2018, 01:11:07 pm »
The "Major glitches" directory is in need of some restructuring. I was thinking it should be combined with the "Glitches by generation" hierarchy, as it's likely a viewer will only be focusing on one generation/game at a time. Also, the header saying "Major glitches" with an entire 117 pages listed below it just looks wrong. "Tweaking" as one sole entry looks wrong, especially with the amount of Gen IV articles related to it that still need to be written. The Transform-Rage glitch and Trainer House oddities are nowhere close to as notable as things like the LOL glitch and shouldn't be on the same hierarchy level if we're differentiating between "major" and "minor" glitches. The "Pomeg data corruption glitch" page looks like it should be multiple pages, possibly in their own category like Red/Green Select glitches are. I'm a bit out of it and maybe none of this makes much sense, but even now I can tell it needs some sort of reorganization, no?

EDIT: A typo from me?! I really was. Still would be in favor of all of this, though.
« Last Edit: October 14, 2018, 12:54:38 pm by Sherkel »
 

Evie Torchic the Glitch Scientist

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Thank you for this lovely artwork Nyapon!
    • View Profile
Re: Dex status/ideas for the wiki
« Reply #6 on: December 03, 2018, 02:31:26 pm »
Hello, I'm wondering if anyone from Hall of Origin would like to assist with something please? It would be massively appreciated.

I created some of the articles about void glitches already but have had to paraphrase sources such as A comprehensive guide: the void and RETIRE's and Cryo's posts/videos because my knowledge on Generation IV glitches is relatively poor.

May you create or check the following articles here?

Found on:

https://glitchcity.info/w/index.php?title=Tweaking#See%20also

Tweaking (has article)
Retire glitch (has article)
Union Room wrong-warping glitch (has article)
Cascade glitch (needs article)
Fake Sinnoh (needs article)
Black Sinnoh (needs article)
Void grass tile writing (needs article)
Battle Tower void (needs article)

Thanks in advance!
« Last Edit: December 03, 2018, 02:32:15 pm by Evie Torchic the Glitch Scientist »
Hi! I'm Evie. I'm a transgender person, but any pronouns are fine. She/her preferred.

Online I most often use the username Torchickens or Chickasaurus.

Contact:
http://www.youtube.com/user/ChickasaurusGL
https://www.vgcollect.com/Torchickens