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
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
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
dannye
66377fca32
Fix file modes
2020-11-14 20:52:10 -06:00
Rangi
76289dfda0
Port dbsprite macro for OAM y,x,tile,attr data from pokecrystal
2020-07-17 15:58:06 -04:00
Rangi
4a7d1513f3
Use 'tile' and 'tiles' macros
2020-07-07 16:21:26 -04:00
Rangi
13129459f1
Sync coordinate macros with pokecrystal
2020-07-07 11:30:10 -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
b29e5ee203
Add subdirectories to data/ similar to pokecrystal
...
Top level text/ is now solely for the former text/maps/ files, and other files are in their respective subdirectories in data/.
2020-07-03 11:51:00 -04:00
Rangi
d5089d3c62
Organize gfx/
2020-06-27 21:43:32 -04:00
Rangi
4b853ad676
Separate maps.asm, pics.asm, sprites.asm, and tilesets.asm from main.asm ( #251 )
...
Each new file builds its own .o, along with separate main.o and home.o, which necessitates many more "exported::" labels.
2020-06-27 15:32:24 -04:00
Rangi
0a62d48df2
Move more tables from engine/ to data/
...
This also splits the end of engine/battle/core.asm into engine/battle/effects.asm.
2020-06-23 17:50:50 -04:00
YamaArashi
7f34e28f24
remove address comments
2016-06-11 17:24:04 -07:00
dannye
38065a744d
No more W_
2015-08-30 21:38:41 -05:00
dannye
8a6d46f3d9
Replace some hardcoded data sizes
2015-08-09 23:56:20 -05:00
dannye
f8a9c37a00
Use more lb
...
and other clean up
2015-08-05 16:25:58 -05:00
dannye
ea9cc86949
Name sound effects
2015-07-19 03:46:12 -05:00
U-Daniel-PC\Daniel
cd649184f5
Rename/organize part 1 of 4
...
rename functions, clean up address/wram comments, other misc
only broken up so that all changes are viewable on github
2015-07-03 14:37:53 -05:00
YamaArashi
0c916aea33
Commented more sprite and map code
2014-09-13 00:50:56 -07:00
YamaArashi
91793015e5
Labelled and commented mostly sprite-related things
2014-09-09 20:55:19 -07:00
U-Fish-PC\Daniel
bd533aa79b
Use *Coord instead of FuncCoord
...
Using 'Coord =' doesn't like using wTileMap
So use hlCoord, deCoord, bcCoord, aCoord, Coorda, or dwCoord
to avoid static addresses
2014-06-25 16:58:27 -04:00
yenatch
b36f793667
Use macros for predef calls/jumps instead of static ids.
2014-06-16 13:57:26 -07:00
yenatch
38ac74f222
Remove generated "indirect jump" comments.
...
The destination is obvious when using the predef macro.
2014-06-16 11:37:36 -07:00
yenatch
da0a72cdbf
Use VRAM constants where applicable.
2014-05-29 01:31:46 -07:00
yenatch
40c17c906b
Remove most static wram addresses. Use labels instead.
...
For unknown addresses, use "w<address>".
Label overleads are still an issue.
2014-05-26 22:04:39 -07:00
yenatch
031e33957d
Rename joypad registers.
2014-05-25 10:53:09 -07:00
U-Fish-PC\Daniel
15427f5320
Pull a lot of engine out of main.asm
2014-05-22 18:13:20 -04:00