Commit Graph

244 Commits

Author SHA1 Message Date
CreamElDudJafar 4c7ce81527 Document SFX event bug inside Rocket Hideout B1F (#566) 2026-01-17 16:41:04 -05:00
Rangi fe1e76466b Use macros to enforce "missable/hide/show object" constraints, and rename them to "toggleable objects" (#557) 2026-01-07 22:05:20 -05:00
Rangi d79c578abd Specify a max item length for list_start (#552) 2025-12-15 15:16:40 -05:00
Rangi e1948fe4b3 Clarify how the order of map constants matters for the Town Map (#553) 2025-12-15 15:02:37 -05:00
Narishma-gb 8bb03542bd Update StatusScreen, add *_STATS_BOX constants (#546) 2025-12-01 13:46:28 -06:00
Rangi 9a6bb3ed0c Define player and rival names once, to be used in two places (#545) 2025-12-01 11:00:56 -05:00
Narishma-gb 3a4382c605 Use more Pokemon data constants, create MOVE_NAME_LENGTH (#543) 2025-11-27 13:39:25 -05:00
Rangi e92d1af478 Avoid magic numbers for most CopyData calls (#542) 2025-11-25 16:53:29 -06:00
Rangi 628797baff Revise some RAM buffer constants 2025-09-26 16:55:23 -04:00
Narishma-gb 4d2594cb24 Label and constant cleanup (#528)
* Label cleanup, add some constants instead of raw numbers

* Rename load/save game functions to be more explicit
2025-09-03 11:56:09 -04:00
Rangi42 d98b5e6f02 Document where badge and elevator floor "items" are used 2025-08-28 19:22:16 -04:00
Rangi42 1eb6f61d62 Identify JOYP_SGB_MLT_REQ constant 2025-08-11 16:35:07 -04:00
Rangi42 bdbc8cbd48 Update hardware.inc to 5.3.0 and use its JOYP_SGB_* constants 2025-08-11 15:43:27 -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
Rangi b4bae4a5d5 Add a CANNOT_MOVE constant (#508) 2025-05-31 15:08:23 -04:00
Narishma-gb 0ecc36c83a Use constants in PrintBCDNumber calls (#503) 2025-04-08 22:17:32 -05:00
edave64 e1b7b8af0a Use constants for PP masks instead of magic numbers (#504) 2025-04-02 10:49:15 -04:00
Rangi 147914d179 Use constants for trade text indexes (#501) 2025-03-08 11:16:42 -05:00
SatoMew 79518a602e Consistently refer to CGB, not GBC (#491) 2025-01-30 17:13:40 -05:00
Engezerstorung 96fc617c69 Correct wTileMapBackup declared space (#487) 2025-01-28 12:08:12 -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
Sylvie f801d67f8e Assert the relations between some move effect constants (#478) 2024-11-24 19:13:11 -05:00
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