Commit Graph

4934 Commits

Author SHA1 Message Date
Rangi e706b878d9 Use ~X instead of $ff ^ X 2021-11-23 20:37:18 -05:00
Rangi ab0f9c287a Use compound assignment operators 2021-11-23 20:18:08 -05:00
Rangi 6834c7a9a1 Require rgbds 0.5.2 2021-11-23 20:14:08 -05:00
Rangi 645719e99b Comment unused trainers
Fixes #819
2021-11-03 19:33:54 -04:00
Yoann Fievez 44203872c3
Launch 'make compare' only for pret repo and not fork (#858)
Fixes #856
2021-11-03 17:26:05 -04:00
Rangi 39111486ab Fix #845: Liz gossips about a beautiful trainer, not Pokémon 2021-11-03 17:24:16 -04:00
Rangi b8fc67848e Relocate the beta poker WRAM labels to avoid a UNION 2021-10-30 23:02:34 -04:00
Rangi 860585b0af Clarify documentation of maskbits 2021-10-29 17:33:52 -04:00
Rangi 753ed7186c Use -1 for terminating happiness probability data 2021-10-28 17:02:13 -04:00
Rangi 187b120007 Add assertions to some more tables 2021-10-24 18:28:54 -04:00
Rangi d4a6a1b2bc Add table assertions to slot machine data 2021-10-15 22:15:00 -04:00
Rangi 81f0cacefb Clarify how Yellow updated catch rates for Gen 2 items 2021-10-15 17:10:57 -04:00
mid-kid 9a83f78980 Clarify table_width edit for PokedexDataPointerTable
Thanks to @Vendily
Fixes #854
2021-10-13 21:40:36 +02:00
IIMarckus 40b6f2236d Kill Freenode. 2021-10-08 04:40:47 -06:00
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