summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-14Item constants in trainer ai.yenatch
2014-06-14Rename _GetBattleVar -> GetBattleVarAddr.yenatch
Functions prefixed with _ imply they're private. The real purpose of this function is to use an address, rather than saving a few cycles on push/pop.
2014-06-13Battle type constants in the wild.yenatch
Also add constants for trap and Celebi event battles.
2014-06-13More battle code cleanup.yenatch
- Use more substatus constants. - Reformat some code to be more atomic. - Add constants for unused status prevention held item effects. - Remove pointless or redundant comments.
2014-06-12Reformat the channel_struct macro and use more constants in wram.yenatch
2014-06-12Consolidate monster structs in wram and sram.yenatch
The PartyMon struct is really the box struct with volatile variables like status added. Some other labels have been reworked. Move structs no longer have explicit labels since their location is arbitrary and usually shared.
2014-06-10Use constants for move struct positioning.yenatch
This eliminates the need for arbitrary move labels like Move2 and Move1 that don't have anything to do with their respective moves.
2014-06-10Consolidate NUM_MOVES usage and monster struct labels.yenatch
There turned out to be a lot of instances of NUM_MOVES.
2014-06-10Fix argument handling in *coord macros. Add a "percent" shortcut.yenatch
Random returns a value from 0 to 0xff. Instead of doing extra work, most probabilities are out of 0xff. Convert these from percentages at build time for readability.
2014-06-06Comment PrintNum.yenatch
2014-06-04Merge pull request #254 from yenatch/masteryenatch
Better compression, macro cleanup, use MAX_LEVEL everywhere. - move stats -> data (like pokered). - remove FuncCoord and use {hl,bc,de}coord for all tilemap loads. - use MAX_LEVEL where needed. - update pokemontools for better compression, and recomment related code. - growth rate constants
2014-06-04Bump pokemontools for better compression.yenatch
A goal is to be able to reproduce the original lz data in the repository. In the meantime, make it smaller than before.
2014-06-04Experience growth rate constants.yenatch
2014-06-04Clean up the growth_rate macro.yenatch
2014-06-04Remove the FuncCoord macro.yenatch
Variables can't use labels, so a macro that doesn't use variables is better suited.
2014-06-04Use {hl,de,bc}coord macros wherever possible.yenatch
2014-06-04Add a dereferenced stats screen function.yenatch
This was probably used in the stats screen in JP versions. It fell out of use when the stats screen layout was redon in localization.
2014-06-03Truncate MAX_LEVEL + 1 if it exceeds 8 bits.yenatch
If MAX_LEVEL was set to 255, the value could not fit into a byte.
2014-06-03Recomment lz deecompression.yenatch
2014-06-03More MAX_LEVEL use.yenatch
2014-05-31Rename directory stats -> data.yenatch
2014-05-28Merge pull request #253 from yenatch/masterBryan Bishop
Clean up music and battle interfaces in home.asm.
2014-05-21Split bank 0 battle functions into home/battle.asm.yenatch
2014-05-21Split bank 0 audio functions into home/audio.asm.yenatch
2014-05-21Comment music functions in home.asm.yenatch
2014-05-19Merge pull request #250 from Armada651/masterBryan Bishop
Use correct menu header identifier in PokeCom Center.
2014-05-19Merge pull request #252 from yenatch/masterBryan Bishop
Add remaining battle animation data.
2014-05-06Revert some misused labels to static values in main.asm.yenatch
2014-05-05Battle animation object sprite data.yenatch
2014-05-05Battle animation object attributes and data.yenatch
2014-05-05Add an unused function in battle animation commands.yenatch
2014-05-05Use a macro for sine waves.yenatch
So far they're identical, but amplitude could change.
2014-05-05Battle BG effect data.yenatch
Pokemon appearing from a ball, screen fades, etc.
2014-05-05Merge pull request #251 from yenatch/masterBryan Bishop
Pokegear menus, sprite predefs, incbin stomping.
2014-05-05Fix static farcalls in AI scoring.yenatch
2014-05-05Fix up some labels in the battle animation object engine.yenatch
2014-05-05More labels and incbins in slots, PC menus, intro.yenatch
2014-05-04Labels for mail graphics.yenatch
2014-05-04Radio text/music and mail jumptables.yenatch
2014-05-03Give a name to RandomRange.yenatch
2014-05-03Headbutt tree encounter maps.yenatch
2014-05-03Misc incbins in fly menu, slots, phone.yenatch
2014-05-03Sprite predef engine data.yenatch
Appears to display predefined sprites at given coordinates. This lets multiple sprites be drawn in any order without interacting with OAM directly.
2014-05-03Phone contacts and more misc pokegear.yenatch
2014-05-02Fix padding in the compressed pokegear sprite graphics.yenatch
2014-05-02Radio stations and the cell phone menu.yenatch
2014-05-01Merge pull request #248 from yenatch/masterBryan Bishop
Trainer card graphics, Kanto Special stats, unused item constants, mobile adapter lib
2014-05-01Fix some lines that were indented with spaces instead of tabs.yenatch
It's mostly menudata. Whoops.
2014-05-02Use correct menu header identifier in PokeCom Center.Jules Blok
2014-05-01Merge pull request #249 from yenatch/fix-windows-installBryan Bishop
Install: gcc is required. Sudo doesn't exist in cygwin.