summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
AgeCommit message (Collapse)Author
2022-03-12Build the Virtual Console patch with `make crystal11_vc` (#882)vulcandth
Fixes #813
2022-01-10Better comments for enemy health percentage codeRangi
2022-01-08Identify why five of six enemy mon base stats are copied (#866)Idain
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2021-06-07MON_PKRUS -> MON_POKERUSRangi
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-22Miscellaneous cleanupRangi
2021-03-17Consistent labels for each nickname in RAMRangi
2021-03-15$11 = wTempMonStructEnd - wTempMonLevelRangi
2021-02-05Identify some more labelsRangi
2020-12-23Remove "Buffer" suffix from two HRAM labelsRangi
2020-12-23Rename some labelsRangi
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
2020-12-08grey -> grayRangi
2020-11-17Resolve some "???" commentsRangi
2020-11-03Identify remaining uses of wBuffer1-6 as general-purpose HP buffers or mobileRangi
2020-11-03Identify some more uses of wBuffer1-6Rangi
2020-11-03Identify more uses of wBuffer1-6Rangi
2020-11-01Identify some more labels, and make some more consistentRangi
2020-10-29Identify the remaining (non-mobile) uses of another WRAM unionRangi
2020-10-28Identify more WRAM labels, and start a <X>_DummyFunction label conventionRangi
2020-10-26Use more assertions to ensure correct code and dataRangi
2020-10-26Comment, remove, or revise many unreferenced labelsRangi
2020-10-22Identify some more labels (a few link-related)Rangi
2020-10-06Update battle anim bg function comments, and identify more unnamed labelsRangi
2020-10-05Identify more unnamed labelsRangi
2020-08-03Label some mobile battle screen functionsmid-kid
2020-06-29Identify more unnamed labelsRangi
2020-06-21Replace "Unreferenced" labels with "; unreferenced" commentsRangi
2020-06-21Remove some more raw addressesRangi
2020-06-20pushd/popd are bash-onlyRangi
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-07Clean up some percentage valuesRangi
2020-04-23Miscellaneous updates and correctionsRangi
2020-02-21Fix some comments and inmediatesmid-kid
2020-02-13Standardize on lowercase Tilemap and Attrmapmid-kid
We used to have a mixture of TileMap and and Tilemap, as well as the similar AttrMap. Standardize on one.
2020-02-13Call_LoadTempTileMapToTileMap → SafeLoadTempTileMapToTileMapmid-kid
Stupid name is stupid smh tbh fam.
2020-01-19PHONE_DISPLAY_HEIGHT is 4, the number of visible phone entriesRangi
2019-10-20Document Special Defense badge boost glitch (#651)bbbbbbbbba
Document Special Defense badge boost glitch
2019-10-20#641 fixes and additions. (#646)mid-kid
Name a lot of text labels according to our conventions
2019-04-09TextBox -> Textboxmid-kid
Homogenizing names.
2019-03-03Rename PlayerMonFaintHappinessModISSOtm
Seriously, mini-rant here: we were three to spend a couple hours trying to find something in this function that was completely unrelated to happiness... and apparently there's been far worse. :') Props to you guys for having been through this =D
2019-02-17Update documentation:Rangi
- Apply more edits from #595 - Move music ID behavior from the wiki to docs - Move assembly programming links from docs to the wiki - Describe why the TM item gaps exist
2019-01-12Say "BANK(Foo) ; aka BANK(Bar)" to clarify that Foo and Bar share a bankRangi
2019-01-06Consistent formatting in Function_SetEnemyMonAndSendOutAnimation and ↵Rangi
BattleStartMessage
2018-12-31Use battle menu flagsRangi
2018-12-26Fix comments around BANK() statementsmid-kid
Found a couple BANK()s that reference multiple labels.
2018-12-23Fix issue #581 (random stuff ax6 noticed)Rangi
2018-11-18Resolve issue #575: Rename text commandsRangi
2018-11-05text_jump → text_farmid-kid
The previous name for this was rather misleading. It isn't an actual jump like you'd expect the `jp` instruction to behave as. Instead, it behaves more like a `farcall`. This also makes it consistent with its current command ID name of `TX_FAR`.