summaryrefslogtreecommitdiff
path: root/src/pokemon.c
AgeCommit message (Collapse)Author
2022-01-10Sync/update trainer classesGriffinR
2022-01-01Fix party size calculations for larger-than-six PARTY_SIZELuke Hubmayer-Werner
2021-11-19Sync globalGriffinR
2021-09-13Add fix to disallow negative current HP valuesSatoMew
2021-08-19Use SHINY_ODDS where necessarySewef
2021-05-03Refactor some field effect graphicsPikalaxALT
2021-04-04Document Pokemon Summary Screen, 1PikalaxALT
2021-03-18Document ShouldIgnoreDeoxysForm, 2PikalaxALT
2021-03-18Document ShouldIgnoreDeoxysFormPikalaxALT
2021-03-18<minor> Fix visual alignment in sFriendshipEventDeltasPikalaxALT
2021-03-18Document and refactor AdjustFriendshipPikalaxALT
2021-03-18Fix faulty search&replacePikalaxALT
2021-03-18Finish syncing pokemon.c with emeraldPikalaxALT
2021-03-18Sync DRAW_SPINDA_SPOTS from pokeemeraldPikalaxALT
2021-03-18Sync EVO_MODE consts from emeraldPikalaxALT
2021-03-17Fix accidental ++ deletionPikalaxALT
2021-03-16Document item use functions in pokemon.cPikalaxALT
2021-03-16Name nullsubs in battle ctlrsPikalaxALT
2021-03-15battle_gfx_sfx_util sync emerald names to unnamed symsPikalaxALT
2021-03-14Document more symbols in battlePikalaxALT
2021-03-10Fix Typos / Use Box ConstantsDeokishisu
The Celadon City scripts that give Eevee misspelled it as Eeevee. Fixed. The comment explaining `boxRSEggsUnlocked` in the `ExternalEventFlags` struct had an incorrect deposit requirement listed and was fixed. Also, replaced the literals with the `TOTAL_BOXES_COUNT` and `IN_BOX_COUNT` constants in `pokemon.c`'s `IsPokemonStorageFull` function. Thanks hjk321 for pointing that out.
2021-02-22Fix storage magic numbershjk321
I could *kinda* understand missing SendMonToPc, but IN THE STRUCT ITSELF?!
2021-02-16Mirror pokeemerald PR#1329 & PR#1335 to pokefireredDeokishisu
The `giftRibbons` field in `SaveBlock1` has been split out into proper subfields. The new ExternalEvent structs deal with interconnectivity between external games/peripherals and FRLG. US & JP Colosseum Bonus Discs', Colosseum and XD's, Pokémon Channel's, and PokémonBox: Ruby & Sapphire's interactions with these fields has been documented. The `giftRibbon#` fields in `PokemonSubstruct3` have also been renamed to their appropriate ribbons, and commented with distribution info if applicable. The previous `fatefulEncounter` field was actually filler, and relabeled as such, while the `obedient` bit was renamed `eventLegal`. All relevant constants and functions dealing with the Pokémon data structure were renamed with these changes in mind. I still maintain that `eventLegal` is a misnomer and it should be called `fatefulEncounter` in all three repos.
2021-01-29Use trainer constants in flags, automatically update flags/vars countGriffinR
2021-01-08Fix Egregious Magic Numbers in GetBattleBGMDeokishisu
Whoever originally decomped this function must've been really fed up with this file. Renamed GetMUS_ForBattle to GetBattleBGM to be consistent with pokeemerald. This entire function was magic numbers, so I replaced them with the appropriate constants.
2020-10-11Fix hang when releasing after adding new movesGriffinR
2020-05-01document battle_message.cEvan
2020-04-08Clean up includesPikalaxALT
2020-03-21through sub_811D5C0PikalaxALT
2020-03-13through sub_8090FC4PikalaxALT
2020-03-11Port PSS utility functionsPikalaxALT
2020-02-01sCombinedMovesPikalaxALT
2020-01-25Address review commentsPikalaxALT
2020-01-24PLAYER_NAME_LENGTH to 7PikalaxALT
2020-01-23Normalize union room UnkStruct arrays; remove STAT_STAGE_ definesPikalaxALT
2020-01-19Address review commentsPikalaxALT
2020-01-16Document Pokemon Tower scriptsGriffinR
2020-01-14Document Cerulean City scriptsGriffinR
2019-12-20Merge level-up learnsetsPikalaxALT
2019-11-24Merge pull request #160 from jiangzhengwenjz/party_menuPikalaxALT
party_menu
2019-11-23Address review commentsPikalaxALT
2019-11-23battle_message 2PikalaxALT
2019-11-24party_menu fourth quarterjiangzhengwenjz
2019-11-20Port evolution_scenePikalaxALT
2019-11-19Merge pull request #158 from jiangzhengwenjz/nonmatchingPikalaxALT
real match OakSpeechNidoranFSetup
2019-11-19OakSpeechNidoranFSetupjiangzhengwenjz
2019-11-09fire; update constantsjiangzhengwenjz
2019-11-04Battle message buffers; review commentsPikalaxALT
2019-11-04Decomp hall_of_famePikalaxALT
2019-10-28port shedinja_maker_maybe; resolve within-array party pointersPikalaxALT