Commit Graph

5020 Commits

Author SHA1 Message Date
Rangi bd45cfd5fd Add `assert PokemonPicPointers == UnownPicPointers` in `GetFrontpicPointer` 2021-10-06 17:44:34 -04:00
Rangi be7a5e09b5 Factor out usage_exit into into tools/common.h 2021-09-21 17:37:43 -04:00
Rangi 2691c9f5c8 Small refactoring and optimization to tools/gfx.c 2021-09-21 17:16:14 -04:00
Rangi 314c5fc9ab Rewrite tools/gfx.c 2021-09-20 21:44:41 -04:00
Rangi fb2a95afed `and 50 percent` -> `and %011111111` 2021-09-07 19:18:22 -04:00
mid-kid 7d40476e14 Drop C standard for tools/ to C11
Nothing has changed in c17 beyond minor standards corrections, so
there's no advantage in specifying c17 over c11.
2021-09-07 15:34:38 +02:00
Rangi 960642ce73 Fix #804: update "Clair can give TM24 Dragonbreath twice" 2021-09-05 12:52:01 -04:00
Andrew Cook 588cf88257
Label wram variables for in home/mobile and lib/mobile (#843) 2021-09-05 12:47:24 -04:00
Rangi 8059d0c845 Clean up the recently documented bug fixes 2021-09-05 12:44:49 -04:00
Colton G. Rushton 35f6b6e68c
Add multiple design flaw fixes (#848)
Fixes https://github.com/pret/pokecrystal/issues/814
Fixes https://github.com/pret/pokecrystal/issues/805
2021-09-05 12:16:06 -04:00
Colton G. Rushton b9684565fb
Minor formatting fix to the Sunny Day moves fix (#851)
Builds on top of #849
2021-09-05 12:09:39 -04:00
Colton G. Rushton b49f5ac73b
Add fix for Sunny Day moves used by the "Smart" AI (#849)
Fixes https://github.com/pret/pokecrystal/issues/807
2021-09-03 19:37:56 +00:00
Rangi 868e28f309 Update usage doc comments for some tools/*.py scripts 2021-09-02 18:48:17 -04:00
Rangi 021702628c Rewrite tools/pokemon_animation.c 2021-09-02 18:37:36 -04:00
Rangi a18f83b911 Rewrite tools/pokemon_animation_graphics.c, and keep `void usage` and `void parse_args` at the top of tools' files 2021-09-02 17:15:50 -04:00
Rangi c8f06f45d5 Use an `error_exit` macro for tools 2021-09-02 03:04:40 -04:00
Rangi 0d1a029e81 Rewrite tools/scan_includes.c to use common.h and factor out a parse_args function 2021-09-02 02:34:06 -04:00
Rangi 313deab552 Rewrite tool png_dimensions.c, and start using common.h more 2021-09-02 00:21:10 -04:00
Rangi 8f88e04401 Remove unused tool palette.c 2021-09-02 00:20:46 -04:00
IIMarckus a283f44954 More EFFECTIVEness. 2021-08-16 14:44:57 -06:00
IIMarckus 52290d8e03 Use EFFECTIVE constant for 1.0× battle damage. 2021-08-16 14:42:45 -06:00
Rangi d93c13c94c Identify more palettes in CBG layouts 2021-07-19 18:59:16 -04:00
Rangi 1e9befdf18 Comment explaining what the "base" Stadium data is for 2021-07-10 21:43:12 -04:00
Nescientist 80a3f7e1ba
Fixing comments in BattleCommand_Teleport 2021-06-20 10:56:11 -04:00
Rangi 72f3234e03 Switch from Travis CI to GitHub Actions 2021-06-19 21:54:56 -04:00
Rangi f59f1bdb88 Standardize capitalization of ".Jumptable" 2021-06-19 19:52:05 -04:00
TheFakeMateo 7a03fecc38 Fix incorrectly swapped Players PC menu constants 2021-06-09 19:31:54 -04:00
Rangi e4d82e92d0 Rename `prioritysjump` to `sdefer` 2021-06-08 20:35:04 -04:00
Rangi 1f9e688b76 MON_PKRUS -> MON_POKERUS 2021-06-07 20:00:21 -04:00
Rangi a41dac9a2f "ld [MON_LEVEL], a" in ComputeNPCTrademonStats should be "ld [wCurPartyLevel], a" 2021-06-07 19:36:03 -04:00
Rangi e140e88b7b Add more comments to tileset palette animation functions 2021-05-30 23:32:03 -04:00
Rangi ed0a0f7159 Move the dbbw, dbww, and dbwww macros to legacy 2021-05-30 15:51:49 -04:00
Rangi b1dbadbdd3 Require rgbds 0.5.1
Use some new features: \<10> macro args, SECTION UNION, SIZEOF/STARTOF, and CHARLEN/CHARSUB
2021-05-09 12:26:28 -04:00
Rangi efd1006917
Use {interpolation} to generate sequences of RAM labels
This makes the table_width/assert_table_length usages unnecessary, and also keeps the labels automatically up to date if the length constants change.
2021-04-27 12:11:39 -04:00
Rangi c5f9e25cc4 SPECIAL -> UNUSED_TYPES_END 2021-04-26 12:00:16 -04:00
Rangi 316fa4b695 Use rgbds 0.5.0 2021-04-19 16:31:37 -04:00
Rangi 3521923096 Remove extra trailing newline 2021-04-13 12:58:29 -04:00
Rangi a90d7bed73 Group miscellaneous graphics from main.asm into their own object file
Fixes #824
2021-04-13 12:51:27 -04:00
Rangi af4558f0df Comment that unused music bytes are left over from more channels 2021-04-12 14:51:00 -04:00
Rangi bf688645b1 Rename SOUND_REST to SOUND_CRY
Fixes #821
2021-04-12 14:48:05 -04:00
iimarckus 87faa77b5b
Remove some unnecessary padding allocations 2021-04-12 14:35:13 -04:00
Rangi 2fe0cbbb19 Add some comments regarding 16-bit increment/decrement 2021-03-24 18:34:33 -04:00
Rangi dc18e188b2 Sync some files with pokegold 2021-03-24 10:24:52 -04:00
Rangi 8bf76af5a7 Consistent comments in the tileset animation engine 2021-03-23 20:47:32 -04:00
Rangi e2838892d6
Merge pull request #816 from Rangi42/lists
Verify uneven list sizes with list_start, li, and assert_list_length macros
2021-03-23 09:38:23 -04:00
Rangi 94057c7726 Verify uneven list sizes with list_start, li, and assert_list_length macros
This was discussed in #815
2021-03-22 17:17:08 -04:00
Rangi dbe2360ecd Miscellaneous cleanup 2021-03-22 16:41:17 -04:00
Rangi 8daf8fe19c The radio's "Places & People" does not comment on Mysticalman Eusine 2021-03-21 21:07:45 -04:00
Rangi 5037adc55f Clean up some macro definitions 2021-03-21 20:09:34 -04:00
Rangi 90ce126139 Use numeric constants in text strings with "{d:interpolation}" 2021-03-21 18:14:31 -04:00