Commit Graph

443 Commits

Author SHA1 Message Date
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 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 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 ea59f5ee47 Miscellaneous cleanup 2021-03-22 16:41:10 -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 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 591132ace5 $11 = wTempMonStructEnd - wTempMonLevel 2021-03-15 15:40:50 -04: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 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 abfe4f96ee Identify scrolling menu lists in WRAM 2021-03-08 09:45:51 -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 bb88e045d1 Identify link sync buffers, separate from link action bytes 2021-02-22 12:39:49 -05:00
Rangi 95100227ec Use PARTY_LENGTH and MAILBOX_CAPACITY constants 2021-02-10 08:50:38 -05:00
Rangi 51aa06097f Rename GetFarHalfword to GetFarWord 2021-01-09 15:16:20 -05:00
Rangi ed133f5c9a Remove "Buffer" suffix from two HRAM labels 2020-12-23 16:54:26 -05:00
Rangi 524f57703f Rename some labels
- Remove "Buffer" suffix from some byte and word quantities
- Change "Ptr" to "Pointer"
2020-12-23 16:46:49 -05:00
Rangi 348c5caea7 Identify link.asm WRAM labels based on ax6's research notes <https://pastebin.com/NTxjzKGQ> 2020-12-08 21:24:45 -05:00
Rangi 2a65aa8431 grey -> gray 2020-12-08 14:34:42 -05:00
Rangi c745dd6777 FarString -> PlaceFarString, and FarPlaceString -> BrokenPlaceFarString 2020-12-07 13:32:07 -05:00
Rangi 60e6657c63 Document AI_Smart_Conversion2 bug 2020-12-07 13:12:59 -05:00
aljohnston112 5fa0983780 Cleaned up some comments and changed a magic number to maskbits NUM_CHANNELS (#68)
Improve the audio engine's comments and replace some magic numbers with constants
2020-12-07 12:44:12 -05:00
Rangi 74abd20b77 text "<PARA>..." → text_start and para "..." 2020-12-04 22:28:25 -05:00
Rangi 84dd1b587f Use STRING_BUFFER_LENGTH for the wStringBuffers 2020-11-24 20:11:13 -05:00
Rangi ca957dd503 Correct some filename comments 2020-11-17 10:59:56 -05:00
Rangi dd73b278b5 Resolve some "???" comments 2020-11-17 10:56:28 -05:00
Rangi 8b8bf87151 Remove "XXX" comment (various "???+" still mark unclear code) 2020-11-09 16:38:01 -05:00
Rangi 6382790a1d Terser damage calculation constants 2020-11-09 16:12:17 -05:00
Rangi bc8636d688 Replace $0 with 0 for "ld l, a / ld h, 0" idiom 2020-11-09 15:20:35 -05:00
Rangi 6e20c30f6e Identify wBattleAnimTemp0-3 2020-11-09 15:05:26 -05:00
Rangi dbcab434fb Rename "dummy game" to "memory game" 2020-11-08 19:32:52 -05:00
Rangi 9281a44c68 Identify remaining uses of wBuffer1-6 as general-purpose HP buffers 2020-11-03 23:25:20 -05:00
Rangi 2b9c37e74f Identify some more uses of wBuffer1-6 2020-11-03 22:45:10 -05:00
Rangi 5c143ed970 Identify more uses of wBuffer1-6 2020-11-03 19:52:59 -05:00
Rangi b56c1b6351 More syncing with pokecrystal 2020-11-03 10:12:54 -05:00