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: Wait just one second.  (Read 805 times)

0 Members and 1 Guest are viewing this topic.

ravioli

  • identite
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • チンクル、チンクル! クルリンパー!
    • View Profile
Wait just one second.
« on: September 05, 2016, 08:48:59 pm »
If there are 191 indexes for Pokemon, and since the select glitch lets us combine Pokemon with items, 255 items, that means that there can be 48,450 select glitch Pokemon PLUS the original 190, making there 48,640 Pokemon in total in Red and Green!

Best Generation 10/10!

Yeniaul

  • Guest
Re: Wait just one second.
« Reply #1 on: September 05, 2016, 09:17:30 pm »
If there are 191 indexes for Pokemon, and since the select glitch lets us combine Pokemon with items, 255 items, that means that there can be 48,450 select glitch Pokemon PLUS the original 190, making there 48,640 Pokemon in total in Red and Green!

Best Generation 10/10!
No... um... that's not how that works. If you have an item with index... oh,i don't know... 01 in hex, and it's swapped with a Pokémon, it'll be treated as the Pokémon with the index 01 in hex. Now, you know how trainers just kinda... start... after a bunch of Pokémon data? Trainers are written in the Pokémon Data AFTER Pokémon and that any Pokémon index larger than the first Trainer's index in ROM is treated as a Trainer.

tl;dr:
Trainers are in ROM directly after Pokémon so Game Freak didn't have to make a completely different list for Trainers. So, technically after slot 190 there are still Pokémon, but they're treated as trainers LATER. My thread, Project GStart, has a video showing what a few ZZAZZ trainers look like when forced to be Pokémon. Even though they are trainers, they're still within the 256-item list of Pokémon, and therefore ARE Pokémon.

ravioli

  • identite
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • チンクル、チンクル! クルリンパー!
    • View Profile
Re: Wait just one second.
« Reply #2 on: September 05, 2016, 09:23:30 pm »
woops guess im stupid :P

so then, how many Pokemon can exist in the game? would it just be the amount of trainers and pokemon plus the 255 items being played as pokemon?

Yeniaul

  • Guest
Re: Wait just one second.
« Reply #3 on: September 05, 2016, 09:28:39 pm »
woops guess im stupid :P

so then, how many Pokemon can exist in the game? would it just be the amount of trainers and pokemon plus the 255 items being played as pokemon?
each hex value is a specific item AND a specific Pokémon. So 256 Pokémon and 256 items. (Because 0 is the same as 256.)

ravioli

  • identite
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • チンクル、チンクル! クルリンパー!
    • View Profile
Re: Wait just one second.
« Reply #4 on: September 05, 2016, 09:37:23 pm »
So a measly 512 Pokemon.

But wait! What about.. [WARNING FOR DSI USERS, BULBAPEDIA INCOMING!]
http://bulbapedia.bulbagarden.net/wiki/Unstable_hybrid_Pokémon
Does this count as a "new pokemon?"
« Last Edit: September 05, 2016, 09:40:02 pm by ravioli »

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: Wait just one second.
« Reply #5 on: September 05, 2016, 11:41:26 pm »
The thing is, a Pokémon is essentially its internal ID, which is a byte, which ranges from 0 to 255. The rest of its data is just attributes. So 256 Pokémon.

Hybrids come from a duplicate information that we desync.
Basically, the game has your party and your PC as two lists : a list of the Pokemon's IDs, and a list of the mon's data. HOWEVER, the Pokémon's data contains its ID, and the Q Trick as well as other glitches allow us to desync both memory addresses, and thus create "hybrids" (the name fits perfectly in my opinion).
Hybrids literally are a mix of two Pokémon, but not actual Pokémon. Does that makes sense ?
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

camper

  • aka GlitcherRed, azum4roll
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • 975642dx║'r DExsfoF▓1 error.
    • View Profile
Re: Wait just one second.
« Reply #6 on: September 06, 2016, 01:22:46 am »
There are 256 items, but only 128 item effects since the game takes a modulo 128 before determining an item's effect.
Youtube
 

Guess where this is?

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: Wait just one second.
« Reply #7 on: September 06, 2016, 02:08:38 am »
It doesn't does modulo 2, it multiplies the item's ID by 2 ('cause pointers are 2 bytes large) but the ninth bit is discarded because of 1 byte arithmetics.
Effectively, item #n and item #(n+128) behave the same.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)