Commit graph

219 commits

Author SHA1 Message Date
Rangi42
d5ee4fd652 Use const_skip 2024-09-24 11:41:14 -04:00
Sylvie
635b9c4cab
Identify wCurrentMapScriptFlags bits (#467) 2024-09-24 11:39:44 -04:00
Sylvie
6ae63a8cea
Identify hardware register bits (#469) 2024-09-24 10:48:10 -04:00
Sylvie
8f1dcf07e5
Identify more flag bits (#464) 2024-09-23 23:51:44 -04:00
Sylvie
8fafca714c
Identify various flag labels and bit constants (#454) 2024-07-16 13:02:54 -04: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
Rangi
fabe2b3fb3
Update to RGBDS 0.7.0 (#447) 2024-01-03 10:59:04 -05:00
SatoMew
07cefd462f
Clean up item comments (#443) 2023-12-18 18:30:37 -06:00
Rangi42
0a616ae560 Get rid of wEvosMoves, MAX_EVOLUTIONS, and EVOLUTION_SIZE
Fixes #430
2023-11-21 20:33:03 -05:00
Rangi42
13079730ac Rename two unused items as ITEM_XX like pokecrystal 2023-11-21 20:21:14 -05:00
Rangi42
d4e7a39dd8 Use some more constants in place of raw numbers 2023-11-21 20:15:30 -05:00
SatoMew
a681f718ac
Rename EV_* constants to EVOLVE_* like pokecrystal (#407) 2023-11-21 19:54:39 -05:00
BlueZangoose
9827190aea
Use MEGA_PUNCH constant in explosion animation routine (#434)
* Use MEGA_PUNCH constant in explosion animation routine

* Add AnimationType constants and assert

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2023-11-21 19:52:53 -05:00
vulcandth
da382ed9f4 Move charmap.asm to constants/ 2023-11-17 22:08:15 -06:00
Linus Unnebäck
83b373ad73
Add constants for wMapConnections bits and group map header wram labels
* Add constants for wMapConnections bits

* Apply Vulcandth and Rangi42 feedback

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2023-11-17 12:50:27 -06:00
SatoMew
f46db37d50
Thoroughly document debug code (#410) 2023-07-15 18:36:59 -04: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
Vortyne
17eaf761e3
Name some unnamed animation constants (#396) 2023-03-25 23:31:59 -04:00
BlueZangoose
0f5a9eb146
Change names of move subanimations to be meaningful (#389)
Co-authored-by: Rangi <remy.oukaour+rangi42@gmail.com>
2022-09-25 14:17:39 -04:00
Rangi
c299cf1067 Use a SPRITE_SET_LENGTH constant 2022-09-24 11:39:39 -04:00
Rangi
d2be79adf1
Add constants and table macros for the map sprite sets (#392)
Fixes #391
2022-09-24 11:30:29 -04:00
Rangi
3520a4c99a Distinguish Elite 4 "meta" constants from event constants
Fixes #390
2022-09-15 18:10:45 -04:00
Rangi
d809d3d59c Add UNUSED_TYPE/UNUSED_TYPE_END constants
Fixes #385
2022-09-11 15:02:51 -04:00
Rangi
cab3ccdbbd Comment about UndergroundPathNorthSouth.blk size
Fixes #387
2022-09-11 15:00:31 -04:00
Rangi
e9e769fba1 Copy pokecrystal's map_const macro
Fixes #386
2022-09-11 15:00:06 -04:00
vulcandth
74cee737f6
Rename macros/wram.asm to macros/ram.asm (#388) 2022-09-11 01:05:04 -04:00
SatoMew
63a7eb2cf5
Improve NPC trade labels and comments (#384)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-09-10 13:44:31 -04:00
Rangi
bbb0e7e82d
Use the same music headers as pokecrystal (#382) 2022-08-11 21:23:08 -04:00
Colton G. Rushton
cc46b0e510
wOAMBuffer -> wShadowOAM (#370) 2022-07-09 17:18:18 -04:00
Colton G. Rushton
a24a39793c
Identify the rest of the hardware constants (#371)
See https://github.com/pret/pokecrystal/pull/972 and https://github.com/pret/pokecrystal/pull/947 for details.
2022-07-04 01:10:14 -04:00
vulcandth
70cbb48328
party_struct constants and ExchangeBytes size (#364)
Co-Authored-By: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-07-04 01:08:17 -04:00
vulcandth
edb55e00f8
Rename SLP to SLP_MASK (#361)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-06-17 22:25:52 -04:00
Rangi
6c945a6b6a Mention WildDataPointers in map_constants.asm 2022-06-07 22:27:30 -04:00
vulcandth
6b5be9129c
RGBDS syntax updates (#358)
New MACRO and DEF syntax
2022-06-06 17:25:31 -04:00
Rangi
865d37e02a Use compound assignment operators 2021-11-23 20:56:57 -05:00
Yoann Fievez
f68af5c6e9
Add some constants for options (#344)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2021-11-05 19:45:09 -04:00
Rangi
8701ef4d61 Improve some RAM formatting 2021-05-31 11:46:10 -04:00
Rangi
346ce9454a Use macros for bit arrays 2021-05-23 22:09:02 -04:00
Rangi
6a31663c96 Use {interpolation} to generate sequences of RAM labels
Fixes #319
2021-04-27 15:49:59 -04:00
Rangi
bcc4380d40 Port 'add_tmnum' from pokecrystal 2021-04-19 16:30:07 -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
4b64b146e4 Use assertions to catch the GetName bug, and use a NAME_BUFFER_LENGTH constant 2021-04-13 20:08:38 -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
94daf57156 The 'tmhm' macro adjusts to the number of TMs/HMs 2021-01-06 10:20:37 -05:00
SatoMew
3756ec6dd9 Improve new constants and comment based on feedback 2020-11-29 22:07:26 +00:00
SatoMew
083cb38e33 Update related tile animation constants 2020-11-29 21:28:38 +00: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
Rangi
abaf9fee7c Port some formatting from pokeyellow 2020-11-04 16:31:47 -05:00
SatoMew
886225f5de Clarify comment in constants/pokemon_constants.asm 2020-09-27 00:49:03 +01:00