Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-22 | Separate phone scripts from std scripts. | yenatch | |
2014-07-22 | Fix some static addresses in std scripts. | yenatch | |
2014-07-22 | Reflect the extra loadwilddata argument in its function comment. | yenatch | |
2014-07-22 | Bump pokemontools to fix loadwilddata. | yenatch | |
2014-07-19 | Remove generated "jump sources" comments. | yenatch | |
2014-07-19 | Name the script special function and clean up a couple specials. | yenatch | |
2014-07-19 | Remove the last incbin in map events. | yenatch | |
Since it's unused there's no way of knowing for sure, but movement data typically comes after scripts and before text, and the commands make sense. | |||
2014-07-19 | Merge pull request #259 from yenatch/cries | Bryan Bishop | |
Shorten cry defs now that cry parameters are all words. | |||
2014-07-19 | Merge remote-tracking branch 'kanzure/master' into cries | yenatch | |
2014-07-18 | Merge pull request #258 from yenatch/spawns | Bryan Bishop | |
Use macros for spawns and flypoints. | |||
2014-07-18 | Condense cry headers to one line. | yenatch | |
Keep the unused labels for readability (and maybe some symfile magic). | |||
2014-07-18 | Merge pull request #257 from yenatch/map-headers | Bryan Bishop | |
Map header macros and misc comments | |||
2014-07-18 | Badge and move constants in Strength and Surf field effects. | yenatch | |
2014-07-18 | Use WOOPER in Oak speech. | yenatch | |
2014-07-18 | Move cry functions out of home.asm. | yenatch | |
2014-07-18 | Name cry functions in home.asm. | yenatch | |
2014-07-18 | Rename the internal PlayCry function to _PlayCryHeader. | yenatch | |
2014-07-18 | Use macros for spawns and flypoints. | yenatch | |
This firmly ties spawn constant definition to data allocation, preventing usage earlier in main.asm or in other objects. A potential solution is to abuse ifdefs and include it in both main.asm and constants.asm. | |||
2014-07-18 | Use macros for both types of map headers. | yenatch | |
This should make map headers much easier to edit than before. Rather than occasionally being able to reuse blockdata semantically, create a label for each map and attach it to some blockdata include. This improves readability and reduces overhead when adding new maps. The macro argument length bug doesn't seem to crop up here... It looks like it only happens when an argument is over 16 characters long and references a symbol that exists before the macro is invoked. | |||
2014-07-18 | Cry "echo" is actually the upper byte of pitch (now a word). | yenatch | |
2014-07-18 | Add labels for maps that reuse blockdata. | yenatch | |
2014-07-18 | Add address labels used by Decompress. | yenatch | |
2014-07-18 | Use a macro for Odd Egg probabilities. | yenatch | |
2014-07-09 | Recomment type names. | yenatch | |
This is mostly just whitespace reduction. | |||
2014-06-27 | Merge pull request #256 from yenatch/master | Bryan Bishop | |
Fix predefs and battle code. | |||
2014-06-24 | Don't use Olivine maps to define the length of a map header. | yenatch | |
The first and second map header labels have no semantic meaning with regard to length. In fact, none of the labels are used at all. | |||
2014-06-24 | Remove excessive whitespace in map headers. | yenatch | |
Use the "map" macro instead of using GROUP_* and MAP_* constants. Also remove redundant "(bank then label)" comments. | |||
2014-06-23 | More comments and constants in move effect command code. | yenatch | |
Also add SUBSTATUS_IN_LOOP for multi-hit moves. | |||
2014-06-23 | More PartyMon labels for relative addressing. | yenatch | |
2014-06-19 | More object struct labels and constants. | yenatch | |
2014-06-18 | Merge remote-tracking branch 'kanzure/master' | yenatch | |
2014-06-18 | Residual damage, battle text labels, pic predefs. | yenatch | |
2014-06-17 | Fix 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-17 | Contest battle type and comment the battle menu. | yenatch | |
2014-06-17 | Use better constants/comments in DST near-midnight checks. | IIMarckus | |
2014-06-16 | Name the UpdateEnemyHUD predef. | yenatch | |
Also start using hp palette constants. | |||
2014-06-16 | Use 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-16 | Name and comment some move learning functions. | yenatch | |
2014-06-15 | Makefile: 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-14 | Name and comment the trainer party reader. | yenatch | |
Reads the contents of trainers/trainers.asm. | |||
2014-06-14 | Move trainer item AI into battle/ai/items.asm. | yenatch | |
2014-06-14 | Item constants in trainer ai. | yenatch | |
2014-06-14 | Rename _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-13 | Battle type constants in the wild. | yenatch | |
Also add constants for trap and Celebi event battles. | |||
2014-06-13 | More 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-12 | Reformat the channel_struct macro and use more constants in wram. | yenatch | |
2014-06-12 | Consolidate 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-10 | Use 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-10 | Consolidate NUM_MOVES usage and monster struct labels. | yenatch | |
There turned out to be a lot of instances of NUM_MOVES. | |||
2014-06-10 | Fix 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. |