Commit Graph

64 Commits

Author SHA1 Message Date
Rangi
ec8bd3e1ae Verify that only one of each callback type exists per map
Fixes #1213
2026-01-20 19:09:30 -05:00
Rangi
f57be98873
Replace hardware_constants.asm with the community-standard hardware.inc 5.0 (#130) 2025-06-23 09:11:35 -04:00
Rangi42
fb0ee60bf9 Use features new to RGBDS 0.9.2
Some checks failed
CI / build (push) Has been cancelled
2025-05-10 13:03:07 -04:00
Rangi42
a7fb4e069e Sync further with pokecrystal 2025-03-15 01:03:21 -04:00
Rangi42
2571edf37b Avoid using EQUS when EQU or MACRO will do 2025-03-14 21:38:49 -04:00
Jordan Moore
990f43865b Rename checkcurl to checkrollout 2024-12-25 12:05:58 +01:00
Rangi42
fe8254c900 Rename dt and dd to bigdt and bigdd
Some checks are pending
CI / build (push) Waiting to run
This makes their big-endianness obvious and matches `dw`
2024-10-17 14:56:47 -04:00
Sylvie
98d728262f
Identify various "????"s (#116) 2024-06-11 20:54:43 -04:00
xCrystal
59642837e9 more accurate script names: refreshscreen -> reanchormap, and reloadmappart -> refreshmap (#1078) 2024-01-30 00:41:00 +01:00
Idain
63d552f6e5 Replace magic numbers with TILE_WIDTH (pret/pokecrystal#1056)
* Replace magic numbers with TILE_WIDTH

* Address more instances
2023-07-27 10:51:54 -05:00
Idain
dc77fcf2c7 Fix macro definitiosn for unused commands 2023-05-08 01:11:57 +02:00
vulcandth
d36f220b90 Relabel some map_object struct fields 2023-01-03 22:15:15 -06:00
Rangi
2d7f97e52f
Define scene constants alongside scene_scripts (#101)
Generic SCENE_DEFAULT and SCENE_FINISHED are legacy values
2022-07-29 17:43:12 -04:00
Rangi
09672ef3d6 Split "gfx anims" into "pic anims" and "sprite anims" 2022-07-04 01:11:41 -04:00
vulcandth
464c67ee73
RGBDS syntax updates (#78)
New MACRO and DEF syntax
2022-06-06 17:25:39 -04:00
Rangi
d850eb831b Don't require a boolean trainer flag for givepoke 2022-01-10 21:16:32 -05:00
Rangi
ddb01660dd Use compound assignment operators 2021-11-23 20:46:40 -05:00
Rangi
4fd14d6bbd Rename prioritysjump to sdefer 2021-06-08 20:38:56 -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
40dbe0df04 Use rgbds 0.5.0 2021-04-20 21:17:09 -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
dc17d58170 Verify script command table sizes 2021-03-11 16:31:40 -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
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
676f2f12e3 Use more assertions to ensure correct code and data 2020-10-26 22:24:47 -04:00
mid-kid
908b2565fa TX_NUM -> TX_DECIMAL 2020-08-04 01:18:52 +02:00
Rangi
d24f1c7114 Use def_* macros for automatic map event counts 2020-07-26 16:29:43 -04:00
Rangi
31287c6aaa Revert "Factor out tables into data/overworld/"
This reverts commit 3f392c2792.
2020-07-22 20:23:19 -04:00
Rangi
3f392c2792 Factor out tables into data/overworld/ 2020-07-22 15:23:02 -04:00
Rangi
53d4a649b9 Treat map setup commands like trade script commands 2020-07-22 13:37:52 -04:00
Rangi
4ba9501c28 Port pokered's more local system for trade animation scripts
Also factor out trade tilemaps
2020-07-17 16:53:10 -04:00
Rangi
9a48c7ba6b return → endcallback, reloadandreturn → reloadend 2020-07-17 08:37:33 -04:00
Rangi
a304573fcb Define map setup commands as macros like other script commands 2020-07-13 20:49:57 -04:00
Rangi
a19abb5045 Use const_skip and const_next macros for brevity 2020-07-09 12:15:44 -04:00
Rangi
61598ad925 Eliminate enum: use const instead, with case-by-case parallel const implementations 2020-07-09 11:27:10 -04:00
Rangi
f187d16258 text_linkpromptbutton -> text_waitbutton
Removes support for text_waitbutton as a legacy alias for text_promptbutton.
2020-07-06 12:59:53 -04:00
Rangi
54bbefeed1 Treat std scripts like specials and predefs (ported from pokecrystal) 2020-06-15 13:25:56 -04:00
Rangi
9f01e33a04 Port miscellaneous recent updates from pokecrystal 2020-06-15 13:12:56 -04:00
entrpntr
e28325211c Fix file permissions. 2020-06-05 16:42:33 -04:00
libjet
c743b31b89 Update data/sprite_anims/framesets.asm 2020-06-01 02:34:06 +01:00
entrpntr
3185d4b360 Clean up battle anims, constants, and wram. 2020-05-14 19:44:36 -04:00
entrpntr
3e40a1ecd0 Simple cleanups in constants/data/macros and banks 1-4. 2020-05-12 13:31:27 -04:00
entrpntr
03bc01bf4e Add engine/link/link.asm and engine/link/mystery_gift.asm 2020-04-30 23:50:43 -04:00
entrpntr
70d3a3fdbc Sync with the recent updates to pokecrystal. 2020-04-27 03:35:35 -04:00
entrpntr
d53f3afe50 Clean up some overworld code. 2020-04-26 22:15:31 -04:00
entrpntr
0b33dabae2 Disassemble map scenes and events. 2020-04-26 19:11:18 -04:00
entrpntr
1d456d5f66 Finish home cleanup, identify tileset data, other misc cleanups. 2020-04-22 23:18:36 -04:00