summaryrefslogtreecommitdiff
path: root/engine/battle_anims
AgeCommit message (Collapse)Author
2022-03-12Allow alternate labels for patch namesRangi
2022-03-12Build the Virtual Console patch with `make crystal11_vc` (#882)vulcandth
Fixes #813
2021-11-23Use ~X instead of $ff ^ XRangi
2021-04-27Use {interpolation} to generate sequences of RAM labelsRangi
This makes the table_width/assert_table_length usages unnecessary, and also keeps the labels automatically up to date if the length constants change.
2021-03-11Verify script command table sizesRangi
2021-03-04Verify data table sizes with table_width and assert_table_length macrosRangi
This was discussed in #706 It also uncovered some off-by-one issues with defining some constants. A few structs now use rsreset/_RS to define their offset constants, as discussed in #739
2021-02-05Identify some more labelsRangi
2020-11-17Resolve some "???" commentsRangi
2020-11-09Replace $0 with 0 for "ld l, a / ld h, 0" idiomRangi
2020-11-09Identify wBattleAnimTemp0-3Rangi
2020-11-03Identify some more uses of wBuffer1-6Rangi
2020-10-30UnusedSpriteAnimGFX was to sprite anims as AnimObjGFX is to battle animsRangi
2020-10-30Identify wSpriteAnimDict key constantsRangi
2020-10-26Use more assertions to ensure correct code and dataRangi
2020-10-26Comment, remove, or revise many unreferenced labelsRangi
2020-10-22Identify more sprite graphics and map object labels, and have consistent ↵Rangi
anonymous jumptable labels
2020-10-21Identify remaining two battle anim BG effect functionsRangi
2020-10-06Update battle anim bg function comments, and identify more unnamed labelsRangi
2020-10-06 Identify battle bg effects functions and constants (#773)7Soul
Identify battle bg effects functions and constants
2020-10-05Identify more unnamed labelsRangi
2020-10-05Identify some more unnamed labelsRangi
2020-10-04Identify more unnamed labelsRangi
2020-10-03Identify battle animation functions (#771)7Soul
Identify battle animation functions
2020-08-27Fix some constants surrounding sprite animationsmid-kid
Also commented the use of the field surrounding the struct initialization functions. SPRITEANIMSTRUCT_0C -> SPRITEANIMSTRUCT_VAR1 SPRITEANIMSTRUCT_0D -> SPRITEANIMSTRUCT_VAR2 SPRITEANIMSTRUCT_0E -> SPRITEANIMSTRUCT_VAR3 SPRITEANIMSTRUCT_0F -> SPRITEANIMSTRUCT_VAR4 BATTLEANIMSTRUCT_01 -> BATTLEANIMSTRUCT_OAMFLAGS BATTLEANIMSTRUCT_ANON_JT_INDEX -> BATTLEANIMSTRUCT_JUMPTABLE_INDEX BATTLEANIMSTRUCT_0F -> BATTLEANIMSTRUCT_VAR1 BATTLEANIMSTRUCT_10 -> BATTLEANIMSTRUCT_VAR2
2020-08-05Use TRUE for hCGBPalUpdatemid-kid
2020-07-08Eliminate enum: use const instead, with case-by-case parallel const ↵Rangi
implementations
2020-06-21Replace "Unreferenced" labels with "; unreferenced" commentsRangi
2020-06-17Harmonize engine/{movie, pokemon} with pokegold (renames GetSRAMBank to ↵Rangi
OpenSRAM) To do: engine/{menus, overworld}
2020-06-16Harmonize engine/{battle, battle_anims, events, games} with pokegoldRangi
2020-06-13Label some mobile addresses, and revise some commentsRangi
2020-05-10Update some commentsRangi
2020-03-21rgbds supports 'X - 1' instead of 'X + -1'Rangi
2020-03-21Miscellaneous fixes from #694Rangi
2020-02-28'and BANK' -> 'aka BANK'Rangi
2019-04-13Merge pull request #623 from mid-kid/patch-1Rangi
Create some battle tower SRAM labels
2019-04-12Create some battle tower SRAM labelsmid-kid
2019-04-09TextBox -> Textboxmid-kid
Homogenizing names.
2019-02-16Standardize on $ff ^ X for bitwise negating 8-bit valuesRangi
2019-02-16Document the BattleAnimCmd_ClearObjs bugRangi
2019-02-16Merge pull request #601 from mid-kid/masterRangi
Exciting adventures down battle animation street!
2019-02-16Fix issues in reviewmid-kid
2019-02-16Eliminate some $xxxx valuesRangi
2019-02-16Document wBattleAnimFlagsmid-kid
`anim_clearsprites` was misnamed, so I renamed it to `anim_keepsprites`, and documented it in docs/battle_anim_commands.md
2019-02-16Add more constants for battle anim structsmid-kid
Any access of the wram arrays for battle anim objects and background effects use appropriate macros and constants, now.
2019-02-15wNumActiveBattleAnims → wLastAnimObjectIndexmid-kid
This variable never decrements, it only increments to give each battle animation a different, and incremental "index".
2019-02-15Anotate more of the battle anim subsystemmid-kid
The X and Y flip flags can be applied through the stack consisting of: - Object attributes - Animation frame attributes - OAM Data Each of these negate eachother. Confused yet? The same stack is traversed to obtain the final tile ID, with an added layer on top for the base GFX offset and the offset for the dynamically loaded GFX requested by the object! wBattleAnimDelay is populated with the values passed to `anim_wait`.
2019-02-06Document all possible values for ReinitBattleAnimFramesetmid-kid
This is useful to know where a certain frameset is used, through `grep`
2019-02-06BATTLEANIMSTRUCT_0B -> BATTLEANIMSTRUCT_PARAMmid-kid
This structure member is used for storing the parameter passed to `anim_obj`.
2018-12-26Fix comments around BANK() statementsmid-kid
Found a couple BANK()s that reference multiple labels.
2018-11-25Rename "feet and head follow" commandsmid-kid
The lot of these were rather misnamed, since they're used to replace part of the player or enemy with objects for several background effects. https://github.com/pret/pokecrystal/pull/578#issuecomment-440996244