Commit Graph

2948 Commits

Author SHA1 Message Date
PikalaxALT 4d86834d12 Document item use functions in pokemon.c 2021-03-16 21:16:31 -04:00
PikalaxALT c4b61cc0ed Document FRLG-unique vars in main.c 2021-03-16 16:57:52 -04:00
PikalaxALT 783488aae5 Name nullsubs in battle ctlrs 2021-03-16 16:41:28 -04:00
PikalaxALT fa6b2c4615 nvalidmons -> nValidMons 2021-03-16 14:56:43 -04:00
PikalaxALT aedd30e104 Remove unneeded pokedude macros 2021-03-16 14:30:30 -04:00
PikalaxALT 7794570c71 Document pokedude battle controller, 1 2021-03-16 13:51:03 -04:00
PikalaxALT 6fc2bdf840 battle_controller_link_partner sync labels from emerald 2021-03-16 09:46:17 -04:00
PikalaxALT 10f0222d28 Battle controller opponent sync labels from emerald 2021-03-16 08:24:53 -04:00
PikalaxALT 14aa5bf52f Remove unused, unneeded fields from BattleHealthboxInfo 2021-03-15 20:17:47 -04:00
PikalaxALT 81da6acff5 battle_gfx_sfx_util sync emerald names to unnamed syms 2021-03-15 19:32:49 -04:00
PikalaxALT c6563b78c0 Sync new field name in BattleStruct 2021-03-15 16:19:15 -04:00
PikalaxALT 2f4f63afdb Document old man batttle controller 2021-03-15 14:27:50 -04:00
PikalaxALT 67cdab24f8 Use macro in BufferPartyVsScreenHealth_AtEnd 2021-03-15 08:37:11 -04:00
PikalaxALT df9bed0548 Revert HERE and USED macros 2021-03-15 08:33:37 -04:00
PikalaxALT 37537e38f9 Merge branch 'master' of github.com:pret/pokefirered into battle_multi_buffer 2021-03-14 21:04:11 -04:00
PikalaxALT 5075067ecd Merge pull request #402 from GriffinRichards/nonmatch-fix
Use global symbols for assembly on modern
2021-03-14 20:52:30 -04:00
PikalaxALT 31f4edbe50 Document more symbols in battle 2021-03-14 20:10:19 -04:00
GriffinR 077faeb1bd Use global symbols for assembly on modern 2021-03-14 19:13:23 -04:00
PikalaxALT 99ec579deb Name symbols in battle_anim_special.c 2021-03-14 16:29:33 -04:00
PikalaxALT 75b9fbc92f check __CLION_IDE__ predefine in global.h 2021-03-13 17:51:27 -05:00
PikalaxALT d87e2e2fc2 Merge branch 'master' of github.com:pret/pokefirered into battle_multi_buffer 2021-03-13 17:50:30 -05:00
GriffinR e1f76f1689 Merge pull request #401 from SethBarberee/emerald_backport_1
Backport 2 nonmatching fixes from emerald
2021-03-13 16:53:10 -05:00
Seth Barberee 6bcf9e64b1 backport 2 nonmatching fixes from emerald 2021-03-12 16:16:57 -06:00
PikalaxALT f7f7e9a70d More documentation in battle_main 2021-03-12 16:56:09 -05:00
PikalaxALT b38a5a85d4 Resolve link comm buffers in gBattleStruct 2021-03-12 15:37:28 -05:00
GriffinR 4d1e074514 Fix Son/Daughter name swap 2021-03-12 12:47:51 -05:00
GriffinR 1c03a923b7 Merge pull request #399 from Deokishisu/patch-1000
Fix Typos / Use Box Constants / Name an Unknown
2021-03-11 15:11:53 -05:00
GriffinR 651b59d631 Update calcrom ignore path 2021-03-10 18:11:47 -05:00
GriffinR 28e3522acb Use NONMATCHING on modern for gcc-arm-none-eabi 2021-03-10 17:55:46 -05:00
GriffinR bf6e80850c Sync Berry Fix makefiles with pokeemerald 2021-03-10 17:19:11 -05:00
GriffinR b2f0efc6f7 Replace Travis CI with Github workflow 2021-03-10 16:45:38 -05:00
Deokishisu a7233dcd0c Use GENDER_COUNT Constants & Rename an Unknown in field_player_avatar.c
`gUnknown_835B882` has been cleaned up and renamed to `sPlayerAvatarGfxToStateFlag` to match pokeemerald.
2021-03-10 16:45:11 -05:00
Deokishisu 0589bd5827 Fix Typos / Use Box Constants
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-03-10 16:22:08 -05:00
GriffinR 42b93f8359 Merge pull request #398 from SethBarberee/patch-1
Add -DINFO Option to Makefile
2021-03-03 19:56:49 -05:00
Seth Barberee 897290a93e Add -DINFO
Popped up in discord channel so adding it here
2021-03-03 16:41:50 -08:00
GriffinR 12c7dab219 Merge pull request #396 from hjk321/storage-magic
Change embarassing magic numbers that should have been fixed a long time ago
2021-02-22 11:26:52 -05:00
hjk321 fc16ee9498 Fix storage magic numbers
I could *kinda* understand missing SendMonToPc, but IN THE STRUCT ITSELF?!
2021-02-22 10:04:27 -06:00
GriffinR 5351028d7e Merge pull request #394 from GriffinRichards/calcrom100
Celebratory change to calcrom.pl
2021-02-19 20:35:04 -05:00
GriffinR 003d6b95d9 Celebratory change to calcrom.pl 2021-02-19 20:09:01 -05:00
GriffinR b4c5559613 Merge pull request #393 from Kurausukun/text_printer
[LEAK-INFORMED] match rest of text_printer
2021-02-19 19:44:11 -05:00
Kurausukun b061e68f21 oops forgot one 2021-02-19 17:50:00 -05:00
Kurausukun 885f4a8871 remove redundant parentheses 2021-02-19 17:47:56 -05:00
GriffinR 33126a0633 Merge pull request #392 from Deokishisu/ExternalEvents-doc
Mirror pokeemerald PR#1329 & PR#1335 to pokefirered
2021-02-16 17:55:56 -05:00
Deokishisu 57e3f5e0f8 Mirror pokeemerald PR#1329 & PR#1335 to pokefirered
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-02-16 16:56:31 -05:00
Kurausukun 616200ee66 [LEAK-INFORMED] match rest of text_printer 2021-02-16 02:32:41 -05:00
GriffinR bc4f88d72c Merge pull request #391 from Deokishisu/movement_type-rename
Rename "Hidden" Movement Type to "Buried"
2021-02-14 21:48:36 -05:00
Deokishisu fc623d2abf Rename "Hidden" Movement Type to "Buried"
This commit mirrors the change to pokeemerald that renames `MOVEMENT_TYPE_HIDDEN` to `MOVEMENT_TYPE_BURIED` to avoid confusion between it and `MOVEMENT_TYPE_INVISIBLE`.

As the files and function labels are not synced between the two repos, only the necessary changes were made based on what pokefirered calls its functions. More syncing of labels with pokeemerald will need to be done in the future.
2021-02-14 14:59:10 -05:00
GriffinR 8c66bde715 Merge pull request #388 from GriffinRichards/constants-localids
Use more LOCALID constants
2021-02-14 14:07:32 -05:00
GriffinR b422fd4a49 Merge pull request #389 from Kurausukun/dexmatching
[LEAK-INFORMED] match the rest of pokedex_screen
2021-02-14 11:18:46 -05:00
GriffinR 43033ec97c Merge pull request #390 from GriffinRichards/fix-constwarning
Fix warning about gMonPaletteTable section
2021-02-12 19:17:24 -05:00