Commit Graph

698 Commits

Author SHA1 Message Date
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
Rangi
95100227ec Use PARTY_LENGTH and MAILBOX_CAPACITY constants 2021-02-10 08:50:38 -05:00
Rangi
edbc734b84 Fix typo 2021-02-05 12:46:34 -05:00
Rangi
51aa06097f Rename GetFarHalfword to GetFarWord 2021-01-09 15:16:20 -05:00
Rangi
4c43fa538d The 'tmhm' macro adjusts to the number of TMs/HMs 2021-01-06 10:20:29 -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
b87c45afcd Remove the Discord webhook since unnamed.py reports 100.00% complete 2020-12-21 09:08:04 -05:00
Rangi
79d7682b03 Clarify signed magnitude in the growth_rate macro 2020-12-20 23:35:32 -05:00
Rangi
0bfa337355 Update rgbdscheck.asm
Hard-code the version string in the failure message so it won't be in hex
2020-12-09 15:11:13 -05:00
Rangi
e5ba485eac Require rgbds 0.4.2
This allows [\1] to work when \1 is hl, bc, or de

The object file format has changed along with the version number
2020-12-09 12:33:59 -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
Rangi
1a9244b8e5 Document unused male Grunts 2020-12-07 13:02:38 -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
aa2a87cc54 Simplify stadium.c without Crystal base data 2020-11-30 11:31:58 -05:00
Rangi
84dd1b587f Use STRING_BUFFER_LENGTH for the wStringBuffers 2020-11-24 20:11:13 -05:00
Rangi
b4c5ade8b3 Fix tools/free_space.py 2020-11-21 21:14:30 -05:00
Rangi
653e92d803 Use assert to ensure correct base data size 2020-11-17 16:14:41 -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
10bda1f6b2 Document the "Route 15" text correction 2020-11-11 15:12:14 -05:00
Rangi
8a547c6413 sRTCStatusFlags is one byte 2020-11-09 16:38:27 -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
Rangi
980153ac47 Group some link.asm code into "paragraphs" 2020-11-02 19:32:12 -05:00
Rangi
356aa1a0c3 Group link-related WRAM labels together 2020-11-02 10:33:47 -05:00
Rangi
c9bf53310f Identify an unused intro sprite animation from pokegold-spaceworld 2020-11-02 09:30:29 -05:00
Rangi
7be1223fc1 Identify wLinkBattleRNPreamble 2020-11-01 13:42:08 -05:00