List of Auto Anchors - haven1433/HexManiacAdvance GitHub Wiki

A bunch of the bytes in the ROM represent different sorts of data used by the game. Here you'll find a list of some the anchors that Hex Maniac can automatically search for when first looking at a GBA file. You can add additional anchors yourself, but these standard ones should be enough for most use cases.

Name Tables

data.pokemon.names: the table of every pokemon by name, such as BULBASAUR, CHARMANDER, and SQUIRTLE.

data.pokemon.moves.names: the table of every move pokemon can learn, such as TACKLE, POUND, and GROWL.

data.abilities.names: the table of every ability a pokemon can have, such as STURDY, LEVITATE, and PRESSURE.

data.trainers.classes.names: the table of every category of trainer, such as SWIMMER, BUG CATCHER, and RIVAL.

data.pokemon.type.names: the table of types, such as FIRE, WATER, and GRASS. Note that this table uses ELECTR instead of electric, since the names are only 6 characters long.

data.maps.names: the table of all map names, such as PALLET TOWN or ROUTE 24.

Data Tables

data.items.stats: the list of consumable items, such as pokeballs, potions, and berrys. Also includes TMs.

data.pokemon.stats: the base stats, types, EVs, and other battle information about pokemon

data.pokemon.moves.stats.battle: type, base power, PP, and other battle information about attacks and other learnable moves.

Other Interesting Anchors

data.maps.banks: The table of every map in the game. The maps are organized into banks, where each bank contains several maps. For example, in FireRed, the 3rd bank contains most of the overworld, while the 5th bank contains the interior maps for Viridian City. Each map has pointers for the layout, events, scripts, and connections, as well as additional data for the music, the map name, and whether you can bike.

scripts.newgame.setflags: The script that runs at the beginning of the game that sets up the initial flags and berries.

scripts.shiny.odds: This constant appears multiple times in the game, and represents the places in the code that care about the odds of a pokemon being shiny. Increase it to increase the odds of a pokemon being shiny, or decrease it to make shiny pokemon more rare.

graphics.titlescreen.pokemon.tilemap: The pokemon that appears on the titlescreen. You can open it in the built-in image editor, or export/import to use an external image editor.

And More!

As more updates are added to HMA, more data in the supported games are recognized automatically and more features are added. Explore the buttons on the Goto screen (Edit -> Goto) to see what other text, tables, constants, and images have been found.