Commit Graph

65 Commits

Author SHA1 Message Date
Benjamin Popp
46de012660 add intro cutscene nidorino vs gengar sprites
also add overworld.sprites2 for FR/LG, including sprites such as the surfing pokemon and the flying bird
2020-07-12 21:56:07 -05:00
Benjamin Popp
05a9dd3b73 Add vs data and text box graphics 2020-07-09 08:02:08 -05:00
Benjamin Popp
f2d198be22 Add more trainer card data 2020-07-01 07:59:30 -05:00
Benjamin Popp
545f392a79 Add trainer.card data for FR/LG 2020-06-30 22:18:37 -05:00
Benjamin Popp
de74712522 Only clear a format if the one we're about to add is different.
This removes a stack overflow in DarkRisingKaizo
2020-06-29 22:39:28 -05:00
Benjamin Popp
0ceba7b5b2 overworlds in emerald 2020-06-24 15:42:06 -05:00
Benjamin Popp
4f9013e474 OW footprints 2020-06-23 10:04:47 -05:00
Benjamin Popp
b043af831b item images table is one longer than items table 2020-06-22 22:46:00 -05:00
Benjamin Popp
bb9a903ec5 Fixes so that overworld sprites load correctly 2020-06-19 21:24:56 -05:00
Benjamin Popp
94d5d4b941 add code for resizing overworld sprites 2020-06-19 21:17:06 -05:00
Benjamin Popp
ed4a8ae30b Add overworld sprites / palettes for other games 2020-06-10 12:56:48 -05:00
Benjamin Popp
0456d1d141 Allow Hex content in tables 2020-06-09 15:00:50 -05:00
Benjamin Popp
973df05d8e Prep for OW work 2020-06-09 12:46:28 -05:00
Benjamin Popp
fcce8e7b67 Add new reference anchors
* animation data from Emerald
* trainer sprites from the credits in Kanto
2020-06-04 14:44:02 -05:00
Benjamin Popp
e80daa5bff Disable mapbanks table
It causes problems with DarkRisingKaizo
2020-05-27 23:40:56 -05:00
Benjamin Popp
3905c46c3b add prototables for maps and OWs 2020-05-26 07:12:13 -05:00
Benjamin Popp
d48af19488 Add trainer animations pointer sources 2020-05-11 10:39:30 -05:00
Benjamin Popp
108d70fa81 Add tables for trainer animations
Trying to expand trainer sprites without including these tables freezes the game whenever a battle is started with a trainer that uses one of the new sprites.
2020-05-11 09:10:19 -05:00
Benjamin Popp
fb9b89bab9 add bag sprite/palette and large berry sprites 2020-05-06 21:46:59 -05:00
Benjamin Popp
fef8f7648d Add battlebackground support 2020-05-05 20:08:52 -05:00
Benjamin Popp
07ec666214 load the publisher palette into the correct slot 2020-05-04 09:12:25 -05:00
Benjamin Popp
d30b660c1a Add trainer payouts 2020-05-02 15:20:01 -05:00
Benjamin Popp
0e963da3de Load battle-scripts for move effects 2020-05-01 16:52:50 -05:00
Benjamin Popp
c00a5ace08 Add titlescreen info for Ruby/Sapphire 2020-04-27 08:26:55 -05:00
Benjamin Popp
c7ca5d9fbd Add support for multi-page palettes in tilemaps
Tilemaps (and 256 color images) often need multiple palettes to render the entire thing. Palettes can now specify a start/end page in their format, expressing which slots they expect to be loaded into. This, in turn, helps the tilemap render correctly based on those slots.
2020-04-15 15:42:16 -05:00
Benjamin Popp
5b93e8933f Fix Tileset rendering bug 2020-04-12 15:51:50 -05:00
Benjamin Popp
b829f4f886 Render 8 bit images correctly 2020-04-11 21:12:48 -05:00
Benjamin Popp
863b53c860 Add tables for LG/FR1.1/LG1.1 2020-04-11 16:41:25 -05:00
Benjamin Popp
25dced0b76 Add more images
* Found more titlescreen stuff
* Found townmaps
2020-04-10 22:07:23 -05:00
Benjamin Popp
8bcfb304c1 Sprite scaling in table tool 2020-04-10 16:26:39 -05:00
Benjamin Popp
b03181cf1d Add first-person-views table
Required being able to get tilemaps/tilesets to work in a table.
2020-04-10 13:55:58 -05:00
Benjamin Popp
8762a64020 Tilesets / Tilemaps implemented
* Add runs for charizard/venasaur in title screen
* Make the SpriteTool sprite scaling dynamic
* Better support for comments on the end of the line in the table reference file
*
2020-04-09 22:42:55 -05:00
Benjamin Popp
6f77ef6d02 add labels to trainerStruct values 2020-04-06 08:31:48 -05:00
Benjamin Popp
386d91967c Add addresses for other games
I've been mostly prototyping with FR/Emerald. But as part of the prep for integration, let's add the addresses (and tests) for the other roms.
2020-04-05 21:23:59 -05:00
Benjamin Popp
cac1c8f9bb Bugfixing
For some roms, the sprites load at the wrong length. When the proper length is later discovered, it's important to update the length of all related tables, not just the current table.

* Emerald had the wrong pointers/length for trainer sprites
2020-04-04 15:08:53 -05:00
Benjamin Popp
548a9dfbcc add formatting info
We don't support tilesets / tilemaps yet, but when we do, this is how I expect the format to work. Tilemaps need to know about their associated tilesets, which need to know about their associated palettes.
2020-04-04 12:40:10 -05:00
Benjamin Popp
1bc3bad8d7 Allow combobox in table to have an image
This is activated by having the enum be a sprite table, as demonstrated by each trainerdata including a field for its sprite.
-> note that since the trainerdata length now depends on knowing how many sprites there are, the sprites need to be loaded _before_ the trainerdata.
2020-04-03 16:14:45 -05:00
Benjamin Popp
4b26fee784 Bugfixes / more tables
* return an error to the user (instead of crashing) if the user tries to make a compressed run use more data than it would be when uncompressed.
* Update the Sprite shown in the SpriteTool after a format change.
* Add table locations for emerald bag-type icon/palette and firered player trainer sprites
2020-04-02 22:59:57 -05:00
Benjamin Popp
4bdcf6a43d add reference table to map types to icons in FireRed
more work to do here later to make the x/y value work better
2020-04-02 21:14:20 -05:00
Benjamin Popp
fe210221e5 Allow pokemon images/palettes to show up with their other data
The pokemon table tool content is getting rather long.
It might be time to consider resizing the tool or adjusting the format.
2020-03-31 16:26:00 -05:00
Benjamin Popp
fe161c4600 update tables file
add type icon info for FireRed/Emerald
2020-03-31 15:51:09 -05:00
Benjamin Popp
9a14a78f82 Allow more types of runs in tableReference.txt
Instead of keeping tables segregated from other kinds of runs that we want found automatically, just allow all types of runs in the tables file.

Combine the typechart runs into a single run, which makes the chart easier to work with.
2020-03-31 15:21:54 -05:00
Benjamin Popp
9e8090690a Support index-hints for sprites
Sometimes, the sprites don't each have a matching palette. Instead, there's a smaller number of palettes that are shared between all the sprites. In this case, it's useful for the sprite's palette hint to be able to be a name of a table who's length matches a table of palettes. Then the palette from that palette table can be deduced from the indexing element.
2020-03-30 13:08:40 -05:00
Benjamin Popp
47fe5dbab4 Get pokemon icons to show up in the table tool
* Icons in FireRed (and Emerald) are stored uncompressed. So add support for showing uncompressed images/palettes in the tool
* Since we want uncompressed and compressed images to both work in both the table tool and the image tool, make interfaces that both implement and make the tools use those interfaces.
* Not using the right palette yet, because that's using an indexed-palette system where there are far fewer palettes available.
2020-03-28 22:12:16 -05:00
Benjamin Popp
6649f44efa Merge branch 'master' into lz-compression 2020-03-21 22:39:25 -05:00
Benjamin Popp
2d9ccbdd08 Fix visual bugs with sprites / palettes 2020-03-20 23:37:23 -05:00
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
280187da45 add item images 2020-03-20 16:06:56 -05:00
Benjamin Popp
c34d30c0d8 Add Emerald support 2020-03-19 07:32:05 -05:00
Benjamin Popp
5f63ede92a Fix Castform's front/back sprites
* Remove pages/depth concept from tiles. Tiles that are a multiple of the expected size will be given multiple pages.
* Add UI/ViewModel code to support multiple pages
2020-03-18 16:38:03 -05:00