Commit Graph

12 Commits

Author SHA1 Message Date
Benjamin Popp
c8ea6b2585 Add mapnames support
This list appears to be a list of names for the areas. Not sure if it's connected to the overworld map, travel map, or something else. But it seems to be the only place where all the town/route names are stored in a single list.
2020-03-20 22:18:50 -05:00
Benjamin Popp
4d47333f82 Find table for pickup's items. Also add table for battle scripting commands
The battle scripting commands are each an assembly routine that specifies what a specific battle script command does. Right now these are just raw pointers, but I have a feeling I'm going to want these in the future...

Each game handles the pickup tables a little differently. R/S/FR/LG store an item and the odds of getting that item (cumulative). Emerald instead stores two tables, one for common items and one for rare items. What values are used from within those tables are based on the pokemon's level.
2020-02-20 20:50:37 -06:00
Benjamin Popp
389886f4b5 Add tables for moveanimations / moveeffects
we're going to need to be able to automatically extend the moveanimations table when a new move is added
2020-02-01 15:26:38 -06:00
Benjamin Popp
5b1cd760fe Auto-find natures table 2020-01-27 23:10:47 -06:00
Benjamin Popp
64bc82c1f3 Regression Fix: lvmoves use the plm format 2020-01-26 21:51:24 -06:00
Benjamin Popp
b9d441c8f0 Add 'tradedata' table
each game has a number of in-game trades you can do. The data for the pokemon you get in return for those trades is outlined in the `tradedata` table.
2020-01-22 18:12:10 -06:00
Benjamin Popp
90e0027d1d Include AI battle scripting bit names
Values from https://github.com/pret/pokeemerald/blob/master/data/battle_ai_scripts.s#L14
2020-01-20 07:22:14 -06:00
Benjamin Popp
365761c400 Merge branch 'master' of https://github.com/haven1433/HexManiacAdvance 2020-01-18 22:17:38 -06:00
Benjamin Popp
f1696f2394 Use bit-array for pokestats EVs
I was considering making a feature that allowed for custom-width bit arrays. But right now this is the only data that would use it, so let's take a shortcut for now.
2020-01-18 22:17:34 -06:00
Benjamin Popp
64cabb02eb Add support for pokedex search tables
The tables refer to pokemon by their nationaldex number, not by their pokemon ID. So I needed a way to use an index-enum. That's the new test in NestedTableTests. That's also the reason for the change in StartCellEdit, ModelCacheScope, and IDataModel.

The new test in AutoSearchTests proves that the 4 new tables work correctly. That's also the reason for the change in StartScreen and tableReference.
2020-01-18 15:38:32 -06:00
Benjamin Popp
050886d441 habitat editor
'Habitat' is a pokedex feature in FireRed / LeafGreen. It involves having pokemon viewable based on where they can be caught, organized into pages, instead of just in dex order. The format is rather nested, but the table tool still works fine.
2020-01-14 20:55:33 -06:00
Benjamin Popp
7258ddaf8e Condense known tables into a reference file
Other things should probably be in this reference file too, such as the headers, streams, and default lists. But this is a good start and should make it more expandable in the future.
2020-01-12 21:13:22 -06:00