summaryrefslogtreecommitdiff
path: root/battle/core.asm
AgeCommit message (Collapse)Author
2015-10-24Address comments on PR 322PikalaxALT
2015-10-24About time I got to these functionsPikalaxALT
2015-10-19So very jumbPikalaxALT
2015-10-19Move battle start animation functions to its own filePikalaxALT
2015-10-17Add commented numbers to map/group constantsPikalaxALT
2015-10-17Battle intro animation functionPikalaxALT
2015-10-16Split up bank 2; other relabelingsPikalaxALT
2015-10-14Replaced "ldtile" and "dwtile" with the "tile" equs macroPikalaxALT
2015-10-12Happiness and Mystery Gift constantsPikalaxALT
2015-10-10Annotation of PrintNum arguments in bc, and radio functionsPikalaxALT
2015-10-07Labeling of AI item and wild encounter functionsPikalaxALT
2015-10-07More labels, including fns responsible for partymon generationPikalaxALT
2015-10-04soft resetPikalaxALT
2015-09-06changed varlabels for multiply- and divide-func, renamed battletext-labelsJimB16
2015-09-04changed more labelsJimB16
2015-08-25change more labelssJimB16
2015-08-23changed labels and added commentsJimB16
2015-08-19Add labels for link battle scores.yenatch
2015-07-25Macro update, roam mon annotationsPikalaxALT
Updated map and mapgroup macros to get around an rgbds bug. Legendary beast locale handling annotated and relabeled. Added a new constant NUM_ENGINE_FLAGS for use in the EngineFlagAction function. This will make it easier for modders to add or remove engine flags.
2015-07-23Wild Pokemon functions and dataPikalaxALT
Replaced encounter rates with percent values Added new constants denoting the number of wild Pokemon in the grass and water wild constructs Annotated and relabeled the encounter generating functions Renamed a WRAM address associaed with the temporary storage of the wild Pokemon's species Moved spawn constants to constants/map_constants.asm for use anywhere in the disassembly
2015-07-22Various annotationsPikalaxALT
Annotated the SGB functions in predef/sgb.asm, and some of the map scripts. Renamed several functions in home. Renamed six WRAM addresses corresponding to party icon animations, and renamed several others relative to these.
2015-07-21Move radio code to its own filePikalaxALT
2015-07-20Reverted ld_hl_pointer macroPikalaxALT
2015-07-20Fix unnecessary white space and retire add_n_timesPikalaxALT
2015-07-20More label updates, moved predefs to new filePikalaxALT
Also named most of the engine and event flag constants.
2015-07-19Finished the decoration attributes tablePikalaxALT
Interpretation of the Decoration Attributes table is complete. Other changes include some more event flag and function naming, as well as a minor tweak to the person_events of every map.
2015-07-15More enumeration of constants, more annotations of scripts.PikalaxALT
2015-06-26Labels for the heal machine; spriteface constants.yenatch
2015-06-23Remove trailing newlines.IIMarckus
2015-06-11Labels for "sent some to mom" text.IIMarckus
2015-06-07Updated text pointer in line 5746.Scott Norton
2015-02-11Comment PrintTempMonStats.yenatch
2015-02-11Use PartyMon labels in GetPartyParamLocation arguments.yenatch
2015-02-10Fix a bunch of palette copying errors and wram bank conflicts.yenatch
There are probably a bunch more labels with wrong banks. This takes care of the most noticeable ones.
2015-02-10Blindly use wram labels for everything except mobile, part 1.yenatch
Wram banks and mobile make this tough, since any address can secretly be a ghost. As usual, mobile completely disregards 99% of the codebase. It's been ignored in kind.
2015-02-02Inconsequential bank ref in battle graphics code.yenatch
2014-08-13Better trainer AI comments and finish off trainer attributes.yenatch
2014-07-18Name cry functions in home.asm.yenatch
2014-06-23More comments and constants in move effect command code.yenatch
Also add SUBSTATUS_IN_LOOP for multi-hit moves.
2014-06-23More PartyMon labels for relative addressing.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-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-14Name and comment the trainer party reader.yenatch
Reads the contents of trainers/trainers.asm.
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-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.