Rangi
0e49aef88e
Use macros to enforce "hidden object" constraints, and rename them to "hidden events" ( #559 )
2026-01-07 22:05:37 -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
Narishma-gb
3a4382c605
Use more Pokemon data constants, create MOVE_NAME_LENGTH ( #543 )
CI / build (push) Has been cancelled
2025-11-27 13:39:25 -05:00
Rangi
e92d1af478
Avoid magic numbers for most CopyData calls ( #542 )
CI / build (push) Has been cancelled
2025-11-25 16:53:29 -06:00
Narishma-gb
f332678625
Use more hardware and graphics constants ( #532 )
...
CI / build (push) Has been cancelled
- Use `OBJ_SIZE` and `TILE_SIZE` from hardware.inc.
- `SPRITESTATEDATA1_LENGTH`, `NUM_SPRITESTATEDATA_STRUCTS`
and `TILE_1BPP_SIZE` are used in some places.
- Highlight an oversight in `OakSpeech` where several
direct MBC bank switches are requested.
- Remove redundant comments in home/overworld.asm.
- Add unreferenced `FillBgMap` function to avoid a byte
of dead code.
- Some constants added in wram.asm.
- Correctly separate the commented code in `SaveMainData`.
2025-11-18 15:17:31 -05:00
Rangi
628797baff
Revise some RAM buffer constants
2025-09-26 16:55:23 -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
Rangi42
78e44a8fb1
Use combined hardware constants
2025-06-30 13:45:24 -04:00
Rangi
56c405de09
Replace hardware_constants.asm with hardware.inc ( #511 )
2025-06-30 12:47:22 -04:00
SatoMew
79518a602e
Consistently refer to CGB, not GBC ( #491 )
2025-01-30 17:13:40 -05:00
Rangi42
b708f7e7f0
Comment on size of union
CI / build (push) Waiting to run
2025-01-28 12:46:28 -05:00
Engezerstorung
96fc617c69
Correct wTileMapBackup declared space ( #487 )
2025-01-28 12:08:12 -05:00
Sylvie
a8f26148e3
Consistently format WRAM values ( #476 )
...
* Use `db` instead of `ds 1`
* Use a `UNION` for overlapping `db`/`dw`
2024-10-07 12:03:48 -04:00
Vortyne
af36156a5b
This byte is written to, but not used ( #471 )
...
it's written to in init_player_data.asm
```
ld hl, wObtainedBadges
ld [hli], a
ld [hl], a
```
2024-09-25 22:02:15 -05:00
Sylvie
635b9c4cab
Identify wCurrentMapScriptFlags bits ( #467 )
2024-09-24 11:39:44 -04:00
Sylvie
8f1dcf07e5
Identify more flag bits ( #464 )
2024-09-23 23:51:44 -04:00
Sylvie
5a622f628d
Identify remaining uses of wd0b5 and wd11e ( #463 )
2024-09-18 21:41:58 -04:00
Sylvie
613d34678b
Split hSpriteIndexOrTextID into hSpriteIndex and hTextID ( #462 )
...
Also identify `wPPUpCountAndMaxPP`
2024-09-18 21:01:18 -04:00
Vortyne
a433982749
Fix comment about auto text box drawing ( #458 )
...
Actually, setting bit 0 of this byte disables auto text box drawing on calling DisplayTextID. See 6e3ab0a9e9/engine/menus/display_text_id_init.asm (L7)
2024-08-04 21:51:07 -05:00
Sylvie
77d051479b
Identify wcf91 as wCurPartySpecies, wCurItem, and wCurListMenuItem ( #457 )
2024-08-04 10:05:33 -04:00
Sylvie
6e3ab0a9e9
Identify wcd6d as wNameBuffer and others ( #455 )
2024-07-24 12:21:59 -04:00
Sylvie
8fafca714c
Identify various flag labels and bit constants ( #454 )
2024-07-16 13:02:54 -04:00
Sylvie
fc23e72a39
Identify some unused WRAM variables ( #453 )
2024-06-15 12:18:00 -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
vulcandth
d4d7b91aec
Convert a couple ds 2 to dw
2023-11-22 15:12:40 +00:00
vulcandth
1dcc16b347
Delete a couple EOL whitespace.
2023-11-22 15:09:21 +00:00
Rangi42
0a616ae560
Get rid of wEvosMoves, MAX_EVOLUTIONS, and EVOLUTION_SIZE
...
Fixes #430
2023-11-21 20:33:03 -05:00
Rangi42
77887be251
Identify wSavedCoordIndex and its other usages
2023-11-20 18:53:23 -05:00
Vortyne
7a7a6d689c
Identify the unnamed HRAM variables and one WRAM label ( #438 )
2023-11-20 17:23:22 -05: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
Linus Unnebäck
c2d2cc4e11
Fix wPlayerHPBarColor type ( #429 )
2023-09-20 15:43:01 -04:00
SatoMew
f46db37d50
Thoroughly document debug code ( #410 )
2023-07-15 18:36:59 -04:00
Linus Unnebäck
d3128b9a7f
Make wCurrentBoxNum a byte instead of word ( #414 )
2023-05-10 10:49:45 -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
Colton G. Rushton
cc46b0e510
wOAMBuffer -> wShadowOAM ( #370 )
2022-07-09 17:18:18 -04:00
Rangi
ba15b4b44e
Add a subdirectory for RAM files
2022-06-17 22:54:47 -04:00