summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
AgeCommit message (Collapse)Author
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`.
2018-10-21Identify BATTLEACTION_D and _E (thanks, ax6)Rangi
2018-09-16wMonStatusFlags -> wDebugFlagsmid-kid
2018-08-26; fallthroughRangi
2018-08-26spaces->tab, and remove redundant commentRangi
2018-08-26hQuotient is a four-byte buffer (fixes #558)Rangi
2018-08-25Use labels instead of constants for HRAMRangi
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
2018-07-29Make reviewed fixes; standardize on " + "Rangi
2018-07-29Add meaningful aliases for wd265Rangi
Introduce MONICON_* constants Introduce BATTLEPLAYERACTION_* constants
2018-07-24MON_STAT_EXP - 1 → MON_EXP + 2Rangi
2018-07-23StringCmp → CompareBytes; CompareLong → CompareBytesLongRangi
hStringCmpString[1/2] → h[EnemyMon/PartyMon1]Speed
2018-07-22ANIM_MON_UNUSED → ANIM_MON_HOFRangi
2018-07-18Fix misnamed character codesmid-kid
Some character codes were erroneously named after their text command counterparts. This has caused a lot of confusion with naming their functions and with other things. I've also removed the `dict2` macro and expanded the `dict` macro. This really isn't something we should be doing for macros but I can't deny it looks a lot neater than repeated code.
2018-07-16Fewer uses of 'Thing2 - Thing1' for sizeof(Thing)Rangi
2018-07-11Replace more hex values with constants or decimalRangi
2018-06-25No space between labels and bodiesRangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-25Remove even more address commentsmid-kid
That should be all of them this time
2018-06-24Remove all address commentsmid-kid
2018-06-12Note which labels are only needed for locating banks (relevant to issue #485)Rangi
2018-05-05fix-various-little-thingsmid-kid
A compilation of suggestions from the discord that don't deserve separate commits and are not questionable at all™.
2018-04-09Merge pull request #503 from Rangi42/masteryenatch
Factor wMisc into meaningful parts; move most code out of home.asm
2018-04-05Use constants for bit/set/res moreRangi
2018-04-05HanleDefrost -> HandleDefrostmid-kid
2018-04-05Fix some uses of EFFECTIVEmid-kid
2018-02-25Merge branch 'master' of https://github.com/pret/pokecrystalRangi
# Conflicts: # constants/map_constants.asm # constants/wram_constants.asm # data/radio/oaks_pkmn_talk_routes.asm # data/radio/pnp_hidden_places.asm # engine/battle/core.asm # engine/breeding.asm # engine/phone/phone_scripts.asm # engine/radio.asm # maps/BattleTower1F.asm # maps/OlivineLighthouse2F.asm # maps/OlivineLighthouse6F.asm # maps/PokemonFanClub.asm # maps/RadioTower1F.asm # maps/RadioTower2F.asm # maps/Route30BerryHouse.asm # maps/Route34IlexForestGate.asm # maps/Route36NationalParkGate.asm # maps/RuinsOfAlphKabutoChamber.asm # maps/RuinsOfAlphResearchCenter.asm # maps/VermilionPort.asm # maps/VictoryRoad.asm