summaryrefslogtreecommitdiff
path: root/include/global.h
AgeCommit message (Collapse)Author
2021-03-21Add SAFE_DIVGriffinR
2021-02-28Merge branch 'master' into doc-pokejumpGriffinR
2021-02-26Document pokemon jumpGriffinR
2021-02-24Document easy chatGriffinR
2021-02-17Use new gift ribbons size, label unused ribbonsGriffinR
2021-02-16Fix Swapped Comments on PokeCoupon TiersDeokishisu
2021-02-16Move BoxRS Data Down to ExternalEventFlagsDeokishisu
As suggested, moved the BoxRS data fields into ExternalEventFlags and packed that struct.
2021-02-16Document Box: Ruby & Sapphire FieldsDeokishisu
Labeled another field in the ExternalEventData struct used by Pokémon Box: Ruby & Sapphire. Special thanks to Citrus Bolt#4642.
2021-02-16Document More External EventsDeokishisu
Did research to determine how the Japanese Colosseum Bonus Disc modifies the ExternalEventData fields. The Ageto Celebi flag, as well as the flag for the three PokeCoupon title rewards, have been documented and included into the struct. The PokeCoupon fields are actually 3-byte fields, so they have been turned into bitfields, since u24 isn't possible. Also discovered that Channel and US Colosseum Bonus Disc Jirachi use the same flag, so renamed that flag and commented to explain. Also made general comments explaining how the ExternalEventData and ExternalEventFlags are applicable to Emerald specifically.
2021-02-15Merge pull request #1324 from GriffinRichards/doc-sbGriffinR
Document remainder of secret_base.c
2021-02-15Fix giftRibbons Field in SaveBlock1 & Relabel Gift Ribbons in pokemon.hDeokishisu
The giftRibbons field has been split out into proper subfields. The new ExternalEvent structs deal with interconnectivity between external games/peripherals and Emerald, such as PokéCoupon storage and the flag for receiving Wishmaker Jirachi. 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 `fatefulEncounter`. All relevant constants and functions dealing with the Pokémon data structure were renamed with these changes in mind.
2021-02-05Add berry tree id constantsGriffinR
2021-02-05Document secret_base.cGriffinR
2020-11-17Use more constants in Battle Tower codekageru
2020-10-26Merge branch 'master' into revertsaaaaaa123456789
2020-10-01Replace POKEMON_SLOTS_NUMBERGriffinR
2020-09-13Undo PokeCodec's PRsaaaaaa123456789
This commit undoes most of PokeCodec's PRs after the debate in chat. Some harmless or completely superseded PRs have been left alone, as there is not much benefit in attempting to undo them. Reverts #1104, #1108, #1115, #1118, #1119, #1124, #1126, #1127, #1132, #1136, #1137, #1139, #1140, #1144, #1148, #1149, #1150, #1153, #1155, #1177, #1179, #1180, #1181, #1182 and #1183.
2020-09-04Make JOY Macros matchPokeCodec
2020-08-24Finish documenting berry blenderGriffinR
2020-08-16Merge branch 'master' of https://github.com/pret/pokeemerald into doc-contestGriffinR
2020-08-07Start documenting naming screenGriffinR
2020-07-23Begin new contest documentationGriffinR
2020-07-08Merge branch 'master' of https://github.com/pret/pokeemerald into ↵GriffinR
add-flagvarsave
2020-07-08Merge branch 'master' of https://github.com/pret/pokeemerald into doc-confettiGriffinR
2020-06-24Allow flag/var counts to be updated alongside valuesGriffinR
2020-06-18Document contest resultsGriffinR
2020-06-02Document union_room_chat.cGriffinR
2020-05-24Use fixed point macros for math utilGriffinR
2020-04-13Label GCN link flags fieldGriffinR
2020-03-06Document decoration.cMartin Griffin
2020-01-12Merge branch 'master' into fix-eventobjGriffinR
2020-01-08Merge master into ObjEvent rename and prune accidental inclusionsGriffinR
2020-01-08Merge branch 'master' into doc-domeGriffinR
2019-12-25More battle_dome.c documentationGriffinR
2019-12-20Document Battle Dome scripts and some battle_dome.cGriffinR
2019-12-17Merge master into doc-towerGriffinR
2019-12-17Document Battle Tower scriptsGriffinR
2019-12-15Merge branch 'master' into fix-eventobjGriffinR
2019-12-10Merge branch 'master' into doc-matchcallGriffinR
2019-12-06Merge branch 'master' into fix-eventobjGriffinR
2019-12-05Set up remaining facility script doc, use Palace macrosGriffinR
2019-12-05Document a bit of Match CallGriffinR
2019-11-25Merge master into ObjEvent renameGriffinR
2019-11-25Use macros for FRONTIER_DATA_6, fix offset commentGriffinR
2019-11-25Document Frontier UtilGriffinR
2019-11-25Begin documenting Battle Pike and Frontier UtilGriffinR
2019-11-20Standardize EVENT_OBJECT to OBJECT_EVENTGriffinR
2019-11-20Standardize Event Object to Object EventGriffinR
2019-11-20Clean up Apprentice docGriffinR
2019-11-20Document ApprenticeGriffinR