100 Commits

Author SHA1 Message Date
Rangi a78c527d5b Make the connection macro more convenient and foolproof (#593) 2026-06-28 18:21:19 -04:00
Rangi 812a7d17d7 Don't pass redundant label names to nybble_array and bit_array 2026-03-30 17:42:50 -04:00
Rangi d79c578abd Specify a max item length for list_start (#552) 2025-12-15 15:16:40 -05:00
Narishma-gb e9d3324bc0 Comment more unreferenced local labels (#550) 2025-12-15 15:14:17 -05:00
Rangi 917a0ebf4d Correct comment 2025-12-01 14:13:46 -05:00
Rangi 7272d9bb8a Comment that farcall and callfar are interchangable 2025-12-01 13:58:30 -05:00
Narishma-gb 3a4382c605 Use more Pokemon data constants, create MOVE_NAME_LENGTH (#543) 2025-11-27 13:39:25 -05:00
Rangi 308189b638 Use ld_hli_a_string macro to make byte-by-byte strings more obvious (#540) 2025-11-23 21:19:21 -06:00
Rangi 5943b96cf6 Use features of RGBDS 1.0.0 (#537) 2025-11-12 15:44:07 -05:00
Rangi 5e8b835ba3 Use dname macro to automatically pad names with "@" characters (#525) 2025-08-17 09:58:09 -04:00
Rangi42 263a35a3fb Say how many bytes the assertion macros expected vs got 2025-08-13 13:03:45 -04:00
Rangi42 6f8ee8ab3c Try to catch missing commas in tmhm learnsets 2025-08-03 21:05:52 -04:00
Rangi42 fd86bcaa06 Update hardware.inc to 5.2.0 2025-07-22 09:04:52 -04:00
Rangi42 3f4b3ee96f Check limits for warp, bg, and object events 2025-07-02 18:32:31 -04:00
Rangi42 aa85c0046d Define MAX_WARP_EVENTS 2025-07-02 17:25:03 -04:00
Rangi 56c405de09 Replace hardware_constants.asm with hardware.inc (#511) 2025-06-30 12:47:22 -04:00
Rangi42 663b0612a7 Simplify li macro 2025-06-11 15:44:17 -04:00
Rangi 617a729b0f Use features new to RGBDS 0.9.2 (#506) 2025-05-10 12:47:40 -04:00
Rangi b460637b81 Avoid using EQUS when EQU or MACRO will do (#496) 2025-02-27 13:07:17 -05:00
Narishma-gb 43f21cc494 Fix some label typos, and add some constants instead of raw numbers (#492) 2025-01-30 17:26:55 -05:00
Rangi cd647df3b5 Don't pass redundant label names to table_width and list_start (#484) 2024-12-27 12:52:24 -05:00
Rangi42 f92ebdcfbd Let CheckEitherEventSet reuse A like CheckBothEventsSet 2024-12-16 10:44:44 -05:00
Rangi42 ff76bba507 Use "gray", not "grey"
This matches the in-game text, e.g. Pewter is "A Stone Gray City"
2024-12-16 10:29:59 -05:00
Vortyne 5f7b444ae8 Use constant in wram for hidden item flags (#445)
Prevents defining more hidden items than the flag array has room for
2024-05-05 09:56:08 -05:00
vulcandth d4d7b91aec Convert a couple ds 2 to dw 2023-11-22 15:12:40 +00:00
Rangi42 b066d3c9bc Add bigdw and dc data macros 2023-11-20 17:53:19 -05:00
dannye b302e93674 Use map object consts in data/maps/hide_show_data.asm (#432) 2023-10-11 20:12:25 -05:00
vulcandth d001ced41b Add macros, constants, and labels for map scripts and text (#367)
This introduces `def_script_pointers`, `def_text_pointers`, and `object_const_def` macros, and applies them to all maps. Most other map labels have also been identified.
2023-07-13 21:27:56 -04:00
vulcandth 74cee737f6 Rename macros/wram.asm to macros/ram.asm (#388) 2022-09-11 01:05:04 -04:00
Rangi bbb0e7e82d Use the same music headers as pokecrystal (#382) 2022-08-11 21:23:08 -04:00
vulcandth 6b5be9129c RGBDS syntax updates (#358)
New MACRO and DEF syntax
2022-06-06 17:25:31 -04:00
vulcandth fe8d3c51a4 Build the Virtual Console patches with make red_vc and make blue_vc (#351) 2022-03-26 16:59:36 -04:00
Rangi 865d37e02a Use compound assignment operators 2021-11-23 20:56:57 -05:00
Rangi 157b593561 Use dn for wave instrument samples, like pokecrystal 2021-11-06 13:24:19 -04:00
Rangi fc899e1906 warp_event warp IDs start at 1, like in pokegold/pokecrystal 2021-10-05 21:02:42 -04:00
Yoann Fievez 2c4f35848b Unify map event gen1 gen2 (#335)
* Update sign to bg_event #289

* Rename warp to warp_event

* Replace object to object_event

* Move warp macro parameter from warp x, y, id, map to warp_event x, y, map, id
2021-09-26 21:56:09 -05:00
Rangi f9ae7b1240 More WRAM label cleanup (still needs UNIONs and renaming) 2021-05-31 16:25:16 -04:00
Rangi 8701ef4d61 Improve some RAM formatting 2021-05-31 11:46:10 -04:00
Rangi ce62dca69b Eliminate unnecessary data macros 2021-05-30 17:28:26 -04:00
Rangi 346ce9454a Use macros for bit arrays 2021-05-23 22:09:02 -04:00
Rangi 715496bf35 Fix end_nybble_array 2021-05-23 21:51:20 -04:00
Rangi 653b62139d Use macros for packed arrays of nybbles 2021-05-23 18:33:14 -04:00
Rangi dd690920c9 Use rgbds 0.5.0 features:
- FOR loops
- {interpolation}
- REDEF EQUS
- \# for all macro args
2021-04-17 19:06:56 -04:00
Rangi 506a14084e The 'def_trainers' macro checks that trainers' event flag bits are correct (#318) 2021-04-13 18:24:37 -04:00
Rangi 2954013da1 Trim extra newlines from some files 2021-04-08 12:51:25 -04:00
Rangi 95ec2cf039 Verify data table and name list sizes with assertion macros
Fixes #312
2021-03-25 16:44:41 -04:00
Rangi e1ef02430d Simplify the def_warps_to macro 2021-02-23 12:05:03 -05:00
Rangi 94daf57156 The 'tmhm' macro adjusts to the number of TMs/HMs 2021-01-06 10:20:37 -05:00
dannye 66377fca32 Fix file modes 2020-11-14 20:52:10 -06:00
Rangi d3e81422d5 Sync home and macro code with pokeyellow 2020-11-05 10:50:30 -05:00