Commit Graph

736 Commits

Author SHA1 Message Date
Rangi
f258b87ca0 Rename two sections that are contiguous in pokegold 2021-10-05 21:05:40 -04:00
Rangi
e315a38db4 Port rewritten tools from pokecrystal 2021-09-26 22:14:37 -04:00
Rangi
dc1a06ba05 and 50 percent -> and %011111111 2021-09-26 22:13:24 -04:00
Rangi
30d8a72d84 Use EFFECTIVE constant for 1.0× battle damage 2021-09-26 22:04:08 -04:00
Rangi
c91db56f42 Identify more palettes in CBG layouts 2021-07-19 18:59:11 -04:00
Rangi
db4817ed1b Fixing comments in BattleCommand_Teleport 2021-06-20 10:59:17 -04:00
Rangi
c4f92950a6 Switch from Travis CI to GitHub Actions 2021-06-19 22:18:38 -04:00
Rangi
3eda24dc47 Standardize capitalization of ".Jumptable" 2021-06-19 19:52:07 -04:00
TheFakeMateo
a9dd70cc35 Fix incorrectly swapped constants in Players PC 2021-06-08 22:43:52 -06:00
Rangi
4fd14d6bbd Rename prioritysjump to sdefer 2021-06-08 20:38:56 -04:00
Rangi
1f0b578ced MON_PKRUS -> MON_POKERUS 2021-06-07 20:00:24 -04:00
Rangi
6f11782f63 "ld [MON_LEVEL], a" in ComputeNPCTrademonStats should be "ld [wCurPartyLevel], a" 2021-06-07 19:37:58 -04:00
Rangi
c133efea5f Add more comments to tileset palette animation functions 2021-05-30 23:32:07 -04:00
Rangi
43f9f529fa Move the dbbw, dbww, and dbwww macros to legacy 2021-05-30 15:57:58 -04:00
Rangi
65d1e12d6a Require rgbds 0.5.1
Use some new features: \<10> macro args, SECTION UNION, SIZEOF/STARTOF, and CHARLEN/CHARSUB
2021-05-09 12:47:43 -04:00
Rangi
2a9ae6ecef 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:30:04 -04:00
Rangi
5f2d610345 SPECIAL -> UNUSED_TYPES_END 2021-04-26 12:00:42 -04:00
Rangi
40dbe0df04 Use rgbds 0.5.0 2021-04-20 21:17:09 -04:00
Rangi
2449cd9154 Group miscellaneous graphics from main.asm into their own object file 2021-04-13 12:52:07 -04:00
Rangi
e1fda4a675 Comment that unused music bytes are left over from more channels 2021-04-12 14:51:06 -04:00
Rangi
44a1d2c526 Rename SOUND_REST to SOUND_CRY 2021-04-12 14:48:17 -04:00
Rangi
e746d745f3 Remove some unnecessary padding allocations 2021-04-12 14:45:53 -04:00
Rangi
74bffc2c8d Add some comments regarding 16-bit increment/decrement 2021-03-24 18:34:31 -04:00
Rangi
9d5121ba9a Sync some files with pokecrystal 2021-03-24 10:24:54 -04:00
Rangi
b299b8954f Consistent comments in the tileset animation engine 2021-03-23 20:57:44 -04:00
Rangi
bc59bad170 Verify uneven list sizes with list_start, li, and assert_list_length macros 2021-03-23 09:57:48 -04:00
Rangi
b2332f27f0 Fix octave argument assertion 2021-03-22 17:52:13 -04:00
Rangi
ea59f5ee47 Miscellaneous cleanup 2021-03-22 16:41:10 -04:00
Rangi
b4ee57c480 Clean up some macro definitions 2021-03-21 20:09:39 -04:00
Rangi
aa3a3224c6 Use numeric constants in text strings with "{d:interpolation}" 2021-03-21 18:14:36 -04:00
Rangi
381a4b443b Assert the sBox1-14 tables have NUM_BOXES entries 2021-03-21 17:47:50 -04:00
Rangi
24c6b2d3a1 Run tools/palfix.py on gfx 2021-03-18 22:31:39 -04:00
Rangi
afd42efb60 Consistent labels for each nickname in RAM 2021-03-17 16:38:30 -04:00
Rangi
d1167570cc Assert some more table widths 2021-03-17 11:37:55 -04:00
Rangi
2bc8cf5fc1 Revise some constant definitions 2021-03-16 18:08:25 -04:00
Rangi
8b5dde16c3 palfix.py outputs 2-bit grayscale if possible 2021-03-15 18:21:44 -04:00
Rangi
b4d414a544 Add tools/palfix.py, and make Python tools executable 2021-03-15 16:47:42 -04:00
Rangi
591132ace5 $11 = wTempMonStructEnd - wTempMonLevel 2021-03-15 15:40:50 -04:00
Rangi
48e6bed93a Sync some files with pokecrystal 2021-03-11 17:43:16 -05:00
Rangi
dc17d58170 Verify script command table sizes 2021-03-11 16:31:40 -05:00
Rangi
0d185fbd88 Define MAPGROUP_* constants and verify MapGroup_* table sizes 2021-03-10 21:21:12 -05:00
Rangi
f6ce38114f Verify RAM table lengths 2021-03-09 20:43:32 -05:00
Rangi
f9431c6aab
Merge pull request #69 from Rangi42/tables
Verify data table sizes with table_width and assert_table_length macros
2021-03-08 07:01:30 -08:00
Rangi
fb3e541e86 Align "Overworld Map" to 8 bits ($xx00) 2021-03-08 09:54:12 -05:00
Rangi
abfe4f96ee Identify scrolling menu lists in WRAM 2021-03-08 09:45:51 -05:00
Rangi
e950809640 Define more struct offset constants with rsreset instead of const_def 2021-03-05 16:21:32 -05:00
Rangi
472051eb5e Verify wild data sizes with def_grass/water_wildmons and end_grass/water_wildmons macros 2021-03-05 16:18:43 -05:00
Rangi
5454e1e0de Verify data table sizes with table_width and assert_table_length macros
It also uncovered some off-by-one issues with defining some constants.

A few structs now use rsreset/_RS to define their offset constants.
2021-03-05 16:10:25 -05:00
Rangi
b423e94be7 Define SCENE_ALWAYS EQU -1 for coord_events 2021-03-01 21:12:13 -05:00
Rangi
bb88e045d1 Identify link sync buffers, separate from link action bytes 2021-02-22 12:39:49 -05:00