summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-18Merge remote-tracking branch 'kanzure/master'yenatch
2014-06-18Residual damage, battle text labels, pic predefs.yenatch
2014-06-17Fix some misnamed substatus constants.yenatch
SUBSTATUS_ROLLOUT was actually SUBSTATUS_RAMPAGE. SUBSTATUS_ENCORED was actually SUBSTATUS_ROLLOUT. Substatus 5 bit 4 was actually SUBSTATUS_ENCORED. Also use some more (sub)status constants where needed.
2014-06-17Contest battle type and comment the battle menu.yenatch
2014-06-17Use better constants/comments in DST near-midnight checks.IIMarckus
2014-06-16Name the UpdateEnemyHUD predef.yenatch
Also start using hp palette constants.
2014-06-16Use a predef macro that takes labels instead of juggling constants.yenatch
Besides making predefs convenient, naming a predef no longer requires adding or renaming a predef constant. This also lets predefs be rearranged at will.
2014-06-16Name and comment some move learning functions.yenatch
2014-06-15Makefile: Use lower-case variables and graphics conversion queues.yenatch
This is mostly to make it more like pokered. Queues are an order of magnitude faster than invoking a new python instance for each file.
2014-06-14Name and comment the trainer party reader.yenatch
Reads the contents of trainers/trainers.asm.
2014-06-14Move trainer item AI into battle/ai/items.asm.yenatch
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