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: The big hex list  (Read 690 times)

0 Members and 1 Guest are viewing this topic.

likebeingawesome

  • The game reset master
  • GCLF Member
  • Offline Offline
  • Gender: Male
  • DARN IT I RESET MY GAME
    • View Profile
The big hex list
« on: September 18, 2017, 05:53:19 am »
So I use the big hex list alot and I feel like it needs updating to add things like quantity ids(what numbers are worth in Hexadecimal) , text and tile ids, building ids, etc. Unfortunately I am not the most knowledgeable on these subjects so I may not be of much help.
I need to double check codes before I use them


Evie the Bird Mother ❤✿

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • View Profile
Re: The big hex list
« Reply #1 on: September 18, 2017, 06:54:10 am »
So I use the big hex list alot and I feel like it needs updating to add things like quantity ids(what numbers are worth in Hexadecimal) , text and tile ids, building ids, etc. Unfortunately I am not the most knowledgeable on these subjects so I may not be of much help.

Quantity IDs are on the table already if you look under decimal (ID) and refer to the other fields like hexadecimal (ID), ASM instruction on the row.

Adding what the glitch tiles in hexadecimal mean for every tileset sounds good though. :)

There is a tileblock dex already actually that was done by the people at PRAMA, but we might not have a tiledex.

http://glitchcity.info/wiki/File:TileBlockDex.png

(Image © Sanrio, Nintendo, HAL Laboratory)

I want to be a mother. 🦋 ✿

✿ 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. :)

Please note:

While I'm one of the staff who runs the site, Abwayax is the founder and manages the technical side of the site (specifically the server, but I can do forum/wiki stuff if you like, I suggest if you do to make a thread about it to gather a consensus). Still feel free to contact me about higher site issues though; I will forward them to Abwayax if needed. :)

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

likebeingawesome

  • The game reset master
  • GCLF Member
  • Offline Offline
  • Gender: Male
  • DARN IT I RESET MY GAME
    • View Profile
Re: The big hex list
« Reply #2 on: September 18, 2017, 11:33:40 am »
So other things I thought of that should be on the table are type ids and the ids the game uses for trainer battles (If that's how it works)
I need to double check codes before I use them


Evie the Bird Mother ❤✿

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • View Profile
Re: The big hex list
« Reply #3 on: September 18, 2017, 03:28:48 pm »
So other things I thought of that should be on the table are type ids and the ids the game uses for trainer battles (If that's how it works)

That's a good idea re: types :). I think the only issue with adding more columns is that it can restrict the space available to view on one page without having to scroll (i.e. with ▷).

With trainer battles all wild Pokémon IDs decimal 200-255 (hexadecimal: C9-FF) automatically become trainers when an encounter is initiated and a Pokémon hasn't already been sent out.

I believe 200 is actually glitch trainer class 0. 201 is Youngster, 202 is Bug Catcher (class 1, 2) and so on with 248-255 also being glitch Trainer classes (this split is on the table but may be hard to notice at first). Perhaps with a Game Genie code you could access otherwise unavailable classes with IDs which -200 are 56+, but I don't know much more about how this works and you might not be able to do it without modifying the ROM (which the Game Genie simulates by essentially making temporary ROM patches).
« Last Edit: September 18, 2017, 03:30:49 pm by Torchickens »

(Image © Sanrio, Nintendo, HAL Laboratory)

I want to be a mother. 🦋 ✿

✿ 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. :)

Please note:

While I'm one of the staff who runs the site, Abwayax is the founder and manages the technical side of the site (specifically the server, but I can do forum/wiki stuff if you like, I suggest if you do to make a thread about it to gather a consensus). Still feel free to contact me about higher site issues though; I will forward them to Abwayax if needed. :)

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

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: The big hex list
« Reply #4 on: September 18, 2017, 07:45:05 pm »
I just took a look.

It seems if you're willing to replicate the initial battle initialisation code, put the trainer class index in the a register then jump to the middle of InitBattleCommon, you can set up a trainer battle with any trainer class.

https://github.com/pret/pokered/blob/7a9a1b1e55f4a7f6c339a86d8cdb7fbf1bee7838/engine/battle/core.asm#L6861

To be more clear, your payload would be doing everything up to the bankswitched call to InitBattleVariables, setting the a register then jumping to ld [wTrainerClass],a.
C H E C K E D . B U I L D S . A R E . A W E S O M E N E S S

BetaArchiveSoftHistory Forumsirc.rol.im #galaxy,#softhistory

Also known as The Distractor.

Shane, please stop telling children that there's a Mew outside under the delivery trucks. - Management

Pokémon: arbitrary code execution 1996-2016

Evie the Bird Mother ❤✿

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • View Profile
Re: The big hex list
« Reply #5 on: September 19, 2017, 05:30:00 am »
I just took a look.

It seems if you're willing to replicate the initial battle initialisation code, put the trainer class index in the a register then jump to the middle of InitBattleCommon, you can set up a trainer battle with any trainer class.

https://github.com/pret/pokered/blob/7a9a1b1e55f4a7f6c339a86d8cdb7fbf1bee7838/engine/battle/core.asm#L6861

To be more clear, your payload would be doing everything up to the bankswitched call to InitBattleVariables, setting the a register then jumping to ld [wTrainerClass],a.

Awesome. Thanks Wack0! It seems that possibly TrainerClassDex could be yet another project then. :)
Thinking about it we could add TheZZAZZGlitch's trainer data (as a TrainerDex) to the wiki as well.
« Last Edit: September 19, 2017, 05:32:22 am by Torchickens »

(Image © Sanrio, Nintendo, HAL Laboratory)

I want to be a mother. 🦋 ✿

✿ 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. :)

Please note:

While I'm one of the staff who runs the site, Abwayax is the founder and manages the technical side of the site (specifically the server, but I can do forum/wiki stuff if you like, I suggest if you do to make a thread about it to gather a consensus). Still feel free to contact me about higher site issues though; I will forward them to Abwayax if needed. :)

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