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
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
kagnusdev
e2f7c5cb73
Use hardware constants for tile attributes in VermilionDockOAMBlock ( #516 )
CI / build (push) Has been cancelled
2025-07-11 17:36:45 -04:00
Rangi
56c405de09
Replace hardware_constants.asm with hardware.inc ( #511 )
2025-06-30 12:47:22 -04:00
Vortyne
1aa3fb24ec
dbsprite is the wrong macro for WriteOAMBlock data (#472 )
2024-09-29 18:54:41 -04:00
Sylvie
8fafca714c
Identify various flag labels and bit constants ( #454 )
2024-07-16 13:02:54 -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
Colton G. Rushton
cc46b0e510
wOAMBuffer -> wShadowOAM ( #370 )
2022-07-09 17:18:18 -04:00
Rangi
f9ae7b1240
More WRAM label cleanup (still needs UNIONs and renaming)
2021-05-31 16:25:16 -04:00
dannye
66377fca32
Fix file modes
2020-11-14 20:52:10 -06:00
Rangi
13d4d533f7
Sync more with pokeyellow
2020-11-06 10:33:58 -05: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
13129459f1
Sync coordinate macros with pokecrystal
2020-07-07 11:30:10 -04:00
Rangi
06db7ec55b
callba/callab -> farcall/callfar; jpba/jpab -> farjp/jpfar
2020-07-06 21:18:22 -04:00
Rangi
772fcc7588
Specify the ldh instruction, don't turn ld into ldh
2020-07-06 19:03:05 -04:00
Rangi
2b2ed54bbf
Identify wSpriteStateData1 and wSpriteStateData2 offsets, like pokeyellow
2020-07-05 17:51:29 -04:00
Rangi
139a28ff99
Port pokecrystal's formatting of text commands and special characters
2020-07-04 21:14:46 -04:00
Rangi
e4e0af4d67
Remove remaining raw $xxxx values, and replace "+ -1" with "- 1" (supported by rgbds 0.4.0)
2020-07-04 01:00:45 -04:00
Rangi
35deb77113
H_CONSTANTNAMES -> hConstantNames
2020-07-03 19:59:41 -04:00
Rangi
9878f01e29
Organize macros/ like pokecrystal
...
While doing so I replaced the StopAllMusic macro with a SFX_STOP_ALL_MUSIC constant and applied it throughout the code.
2020-07-03 16:37:47 -04:00
Rangi
c779602459
Rename map files, labels, and constants to be consistent and work with Polished Map
2019-01-01 23:33:10 -05:00