Commit Graph

186 Commits

Author SHA1 Message Date
GriffinR 18319e8da3 Misc missing constant use 2023-08-10 01:42:18 -04:00
GriffinR e434b0047f More missing constant usage 2022-11-09 15:53:47 -05:00
GriffinR 1d1c2d41bb Add list menu cursor constants 2022-11-09 15:16:46 -05:00
Eduardo Quezada 8a68596b64 Removed free macro 2022-09-16 20:36:44 -03:00
Eduardo Quezada e412ec30a0 Removed calloc macro 2022-09-16 20:34:22 -03:00
tustin2121 1cb659df8c Renaming Script Contexts
- Determined how the various script contexts were used and renamed accordingly.
- ScriptContext2_Enable/Disable => Lock/UnlockPlayerFieldControls - The sole purpose of the flag is to make sure the player can't move around in the overworld. It has nothing to do with script contexts.
- ScriptContext1 => ScriptContext - It is the global script context used to set up scripts which run over many frames.
- ScriptContext2_RunNewScript => RunScriptImmediately - ScriptContext2's sole purpose was to run scripts immediately and in a separate context, usually while the global context is waiting for things like map loads or screen changes.
2022-08-15 15:18:12 -04:00
Eduardo Quezada a37d8b1346 Documented boolean uses 2022-07-25 14:59:14 -04:00
GriffinR 36e5d5e759 Add missing menu array counts 2022-02-27 13:47:50 -05:00
GriffinR a8b466dc80 Disambiguate fieldmap names 2022-01-19 10:15:32 -05:00
GriffinR eb95ac0b9c Document field_tasks 2021-11-17 14:44:42 -05:00
GriffinR 04cc923d6c Handle optional arguments for warp commands, add WARP_ID_NONE 2021-11-16 10:53:00 -05:00
GriffinR 085f8adec6 Start remaining menu documentation 2021-11-03 17:38:08 -04:00
GriffinR fdaf436960 Add font id constants 2021-10-30 19:54:15 -04:00
GriffinR 862febe03a Add MAP_OFFSET 2021-10-09 13:19:27 -04:00
LOuroboros 554210c5e3 Removed trailing spaces in the most relevant files
Command used for the job:
egrep -rl ' $' --include *.c --include *.h --include  *.s --include  *.inc --include  *.txt *  | xargs sed -i 's/\s\+$//g'

Credits to Grant Murphy from Stack Overflow.
2021-08-24 19:59:32 -03:00
GriffinR bd5cf07059 Merge branch 'master' into doc-playerpc 2021-08-02 14:08:10 -04:00
GriffinR 06b909bcd8 Document player pc 2021-08-02 13:58:40 -04:00
GriffinR aad090e154 Document TV 2021-04-26 12:35:35 -04:00
GriffinR a240481d5f Document secret_base.c 2021-02-05 12:08:25 -05:00
GriffinR 9dd867689e Use ARRAY_COUNT in PrintMenuTable 2021-01-19 04:19:14 -05:00
aaaaaa123456789 1c3d75f673 Merge branch 'master' into reverts 2020-10-26 12:16:36 -03:00
GriffinR 5259898325 Replace POKEMON_SLOTS_NUMBER 2020-10-01 17:07:12 -05:00
aaaaaa123456789 7dc95a0103 Undo PokeCodec's PRs
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-13 06:30:55 -03:00
PokeCodec 5f6e7e2279 Update secret_base.c 2020-07-27 14:59:37 -04:00
PokeCodec c5aa91741b Change signedness and add casts to avoid implicit conversion warnings 2020-07-24 22:18:57 -04:00
GriffinR 24569583e4 Document contest results 2020-06-18 17:50:13 -04:00
Sierraffinity 74edaed426 Begin item_menu.c cleanup 2020-06-10 13:07:42 -07:00
GriffinR 8d3b7bd0b1 Use metatile labels for decor gfx 2020-04-13 14:43:50 -04:00
Martin Griffin 4485d51522 Document decoration.c 2020-03-06 09:47:20 +00:00
GriffinR 655910a16f Merge branch 'master' into fix-eventobj 2020-01-12 22:42:43 -05:00
GriffinR 6a470ddfda Some script clean up, document secret base secrets show 2020-01-12 19:39:30 -06:00
GriffinR ef67f2d33b Merge master into ObjEvent rename and prune accidental inclusions 2020-01-08 05:43:06 -05:00
GriffinR 749965d56b Document item_use.c 2019-12-21 21:39:30 -05:00
GriffinR 68cdd7b1cb Merge master into ObjEvent rename 2019-12-21 05:19:27 -05:00
Diegoisawesome 026e1108b2 Merge pull request #935 from GriffinRichards/doc-warp
Document some warp/field screen effect
2019-12-20 23:44:56 -08:00
GriffinR 949509aade Merge branch 'master' into fix-eventobj 2019-12-18 13:16:38 -05:00
GriffinR d1cf9006fb Document some warp/field screen effect 2019-12-17 05:23:07 -05:00
GriffinR 96ec5e1b84 Use fadescreen constants 2019-12-15 11:42:50 -05:00
GriffinR 4c52cf9ed1 Fix event constant file names 2019-11-21 14:03:35 -05:00
GriffinR 82cb741d8b Standardize EVENT_OBJECT to OBJECT_EVENT 2019-11-20 23:12:51 -05:00
GriffinR ec3e86f1d2 Standardize Event Object to Object Event 2019-11-20 22:55:44 -05:00
GriffinR 5c5c1836bb Document Trainer Fan Club 2019-11-20 09:08:24 -06:00
PikalaxALT 301822603e Merge pull request #802 from PikalaxALT/gflib
Gflib and libagbsyscall
2019-09-27 11:34:55 -04:00
PikalaxALT 7b8b5b5c8c Merge branch 'master' into gflib 2019-09-27 09:11:22 -04:00
GriffinR 945d3d3a27 Merge branch 'master' into document-eventscripts 2019-09-17 00:10:23 -04:00
GriffinR 85d97542cd Use MAX_MON_MOVES constants 2019-09-16 19:21:23 -05:00
PikalaxALT 306ce048ad Move gflib srcs and headers to gflib subdir 2019-09-08 21:07:54 -04:00
GriffinR 9fbcd552de document remainder of secret_base scripts, delete unneeded scripts.incs 2019-09-06 02:12:00 -04:00
GriffinR 8c6b5648d4 document secret_base_1.inc 2019-09-05 16:16:21 -04:00
GriffinR ecf2097abb initial event_scripts documentation 2019-08-14 23:38:42 -04:00