59 Commits

Author SHA1 Message Date
Rangi 2f25a18de3 Merge remote-tracking branch 'pokered/master' 2026-08-27 18:30:18 -04:00
Rangi a78c527d5b Make the connection macro more convenient and foolproof (#593) 2026-06-28 18:21:19 -04:00
dannye bc2354dd66 Merge branch 'master' of https://github.com/pret/pokered 2026-01-17 22:38:33 -06:00
Narishma-gb e9d3324bc0 Comment more unreferenced local labels (#550) 2025-12-15 15:14:17 -05:00
dannye 324ae167d1 Merge branch 'master' of https://github.com/pret/pokered 2025-11-12 17:56:10 -06:00
Rangi 5943b96cf6 Use features of RGBDS 1.0.0 (#537) 2025-11-12 15:44:07 -05:00
dannye ca019eac8f Merge branch 'master' of https://github.com/pret/pokered 2025-07-02 21:15:13 -05: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
dannye 2c74f137fc Merge branch 'master' of https://github.com/pret/pokered 2025-05-10 12:25:27 -05:00
Rangi b460637b81 Avoid using EQUS when EQU or MACRO will do (#496) 2025-02-27 13:07:17 -05:00
dannye 6cb885a9f6 Merge branch 'master' of https://github.com/pret/pokered 2025-01-30 21:40:19 -06: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
Rangi42 47b784a4fb Merge branch 'master' of https://github.com/pret/pokered 2024-12-25 16:53:04 -05:00
Rangi42 f92ebdcfbd Let CheckEitherEventSet reuse A like CheckBothEventsSet 2024-12-16 10:44:44 -05:00
dannye 298e99d377 Merge branch 'master' of https://github.com/pret/pokered 2023-11-20 20:23:27 -06: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
dannye ecab35295a Merge branch 'master' of https://github.com/pret/pokered 2022-09-12 00:53:37 -05:00
Rangi bbb0e7e82d Use the same music headers as pokecrystal (#382) 2022-08-11 21:23:08 -04:00
vulcandth c1ef7b7597 RGBDS syntax updates (#86)
New MACRO and DEF syntax
2022-06-06 17:25:34 -04:00
vulcandth 6b5be9129c RGBDS syntax updates (#358)
New MACRO and DEF syntax
2022-06-06 17:25:31 -04:00
Rangi 7574e186e7 Merge remote-tracking branch 'remotes/pokered/master' 2021-11-23 21:19:29 -05:00
Rangi 865d37e02a Use compound assignment operators 2021-11-23 20:56:57 -05:00
Rangi 0fdefbc960 warp_event warp IDs start at 1, like in pokegold/pokecrystal 2021-10-05 21:20:41 -04:00
Rangi fc899e1906 warp_event warp IDs start at 1, like in pokegold/pokecrystal 2021-10-05 21:02:42 -04:00
dannye 501a21fa5d Merge branch 'master' of https://github.com/pret/pokered 2021-09-26 22:43:09 -05: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
dannye d4154b2891 Merge branch 'master' of https://github.com/pret/pokered 2021-04-17 21:00:28 -05: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
dannye 3af309e805 Merge branch 'master' of https://github.com/pret/pokered 2021-04-13 17:48:44 -05: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 3ce276892c Trim extra newlines from some files 2021-04-08 12:51:33 -04:00
Rangi 2954013da1 Trim extra newlines from some files 2021-04-08 12:51:25 -04:00
Rangi d07a666627 Merge remote-tracking branch 'remotes/pokered/master' 2021-02-23 12:09:25 -05:00
Rangi e1ef02430d Simplify the def_warps_to macro 2021-02-23 12:05:03 -05:00
dannye 48dc6a8cf4 Merge branch 'master' of https://github.com/pret/pokered 2020-11-14 21:54:23 -06:00
dannye 66377fca32 Fix file modes 2020-11-14 20:52:10 -06:00
Rangi 4efb3e307c Sync more with pokered 2020-11-06 10:34:05 -05:00
Rangi aae999f72b Start reorganizing pokeyellow 2020-11-04 19:44:31 -05:00
dannye 5647ca687b Sync with pokered 2020-11-04 00:06:44 -06:00
Rangi d5db0c3dbf Comments explain the def_warps_to macros 2020-08-18 10:42:23 -04:00
Rangi 5e1865a7b1 Implement def_warps_to in a simpler way
Instead of building a semicolon-separated "array" of warp_to coordinates in _WARP_TO_BUFFER, just declare a new EQUS for each one: _WARP_TO_NUM_1, _WARP_TO_NUM_2, etc. Then have def_warps_to output and PURGE each one of them.
2020-08-17 19:39:58 -04:00
Rangi 6fa8a553cb Fix keyword capitalization and indentation 2020-08-17 18:40:59 -04:00
Rangi 4373aafac1 Use def_warps_to macro for automatic warp_to entries 2020-08-17 18:08:54 -04:00
Rangi e2c99f1910 Use def_* macros for automatic map event counts 2020-08-17 16:54:59 -04:00
Rangi 7306c1dc2d Define constants for audio commands 2020-07-16 13:25:02 -04:00
Rangi 76b882d952 Reformat map scripts' coordinate and movement data
'dbmapcoord' has X, Y order like other coordinate-related data macros
2020-07-16 12:32:19 -04:00
Rangi 93d0697f37 Don't compare strings with ==; use STRCMP 2020-07-14 16:07:23 -04:00
Rangi 5c0f33cb53 Use a 'trainer' macro for trainers in scripts/ 2020-07-14 15:53:25 -04:00
Rangi f37cf959c9 Clean up some data, using macros for multiline list entries 2020-07-14 13:32:09 -04:00