Commit Graph

5257 Commits

Author SHA1 Message Date
Fredrik Ljungdahl
0fd4090dbd Add label for wd431 and remove misleading comment (it's not strictly mobile) 2020-05-26 03:19:52 +02:00
Rangi
fe42ef8a88 Some uses of SCREEN_WIDTH and SCREEN_HEIGHT 2020-05-25 21:05:52 -04:00
Rangi
60f7ca4006 Group MoveDescriptions with PrintMoveDesc and rename that to PrintMoveDescription (like ItemDescriptions with PrintItemDescription) 2020-05-25 03:54:42 -04:00
Rangi
159cef004f Update lzcomp 2020-05-24 12:29:05 -04:00
Rangi
c1c671d84b Remove unused tools/md5.c 2020-05-23 15:46:47 -04:00
aaaaaa123456789
2b7237e299
Match LZ compressed files (#724)
Replace lzcomp with new version and match all LZ compressed files
2020-05-23 13:30:04 -04:00
entrpntr
c37e8a65d8 Update used_space.py and mapreader.py tools for rgbds v0.4.0. 2020-05-19 22:51:29 -04:00
Rangi
f1513ae8ad Add some comments to UpdateBGMap 2020-05-19 20:00:58 -04:00
Rangi
156f2cc3ef Update some routine labels, including unreferenced ones 2020-05-18 11:59:48 -04:00
Rangi
e32cf1bfd1 Miscellaneous cleanup noted in #709 2020-05-17 20:59:15 -04:00
Rangi
395ebd8386 Format all CopyTilemapAtOnce variations the same way 2020-05-16 22:25:52 -04:00
Rangi
abf3858fc4 Update some comments 2020-05-10 01:20:06 -04:00
Rangi
5f197c53f4 Clean up some percentage values 2020-05-07 14:21:24 -04:00
Rangi
8c51de1aba
Merge pull request #717 from Rangi42/master
Miscellaneous fixes
2020-05-06 11:48:25 -04:00
Rangi
905833ef8c Use a FIRST_UNOWN_CHAR constant for the Unown font 2020-05-06 10:34:51 -04:00
Rangi
b69526a908 Miscellaneous fixes
Addresses the haircut brothers' probability comments in #709
2020-05-05 10:17:02 -04:00
mid-kid
d47c560367
Merge pull request #715 from Rangi42/master
Miscellaneous updates
2020-04-30 17:54:56 +00:00
Rangi
20464d1bfb Miscellaneous updates
- `PREDEFPAL_00` -> `PREDEFPAL_ROUTES` (observed from `LoadSGBLayout.GetMapPalsIndex.route`)
- `$0` -> `PLAYER` (standard person ID)
- Fix some whitespace formatting
2020-04-30 11:27:32 -04:00
Rangi
38cdad798d
Merge pull request #714 from Rangi42/master
Miscellaneous updates and corrections
2020-04-23 16:35:47 -04:00
Rangi
8a3c44fad3 Add "unused" comments for stray audio/sfx.asm data 2020-04-23 16:33:00 -04:00
Rangi
b50dd57cbb Miscellaneous updates and corrections 2020-04-23 16:14:50 -04:00
Rangi
2d3a94b7c4 'make tidy' removes rgbdscheck.o 2020-04-18 18:42:01 -04:00
Rangi
9cd59db9ae
Merge pull request #713 from Rangi42/master
Miscellaneous fixes, including one for the Pokédex design flaw by ax6
2020-04-18 18:38:54 -04:00
Rangi
576cbf5b3e Miscellaneous fixes, including one for the Pokédex design flaw by ax6 2020-04-18 17:31:51 -04:00
mid-kid
ceb747c622 fix ~~type~~ typo 2020-04-17 23:24:10 +02:00
mid-kid
19aee926af
Merge pull request #712 from Rangi42/master
Miscellaneous fixes
2020-04-17 18:25:59 +00:00
Rangi
164e1b89af Rename pokecrystal.link to layout.link
This is independent of the project name, and clearly applies to pokecrystal11, pokecrystal-au, etc.
2020-04-17 11:02:29 -04:00
Rangi
bfc6612cbf Use a separate build object to check the rgbds version
rgbdscheck.o is built without passing potentially non-backwards-compatible flags to rgbasm.

Resolves #710.
2020-04-17 10:59:01 -04:00
Rangi
22615cecc5 More miscellaneous fixes (see #709) 2020-04-17 10:52:59 -04:00
Rangi
93ed0ed19c
Merge pull request #711 from Rangi42/master
Fix #709 miscellaneous issues
2020-04-16 09:48:30 -04:00
Rangi
58b377f25b Fix #709 miscellaneous issues 2020-04-16 09:30:50 -04:00
mid-kid
3540578cb3 lemme just fuckin uhhhhhhhhhhhhhhhhhhhh
use stable rgbds or smth
2020-04-08 19:24:33 +02:00
Rangi
673b39642b
Merge pull request #708 from Rangi42/master
Remove unused nonmatching files for electro_ball.png and sgb_border.bin
2020-04-08 12:19:56 -04:00
Rangi
865d623846 Remove unused nonmatching files for electro_ball.png and sgb_border.bin
electro_ball.png needed to preserve one whitespace tile which tools/gfx would normally remove. Preserving a list of tile indexes has been added as a general feature to tools/gfx.

sgb_border.bin needed to remove the 20x18 center area of $00 bytes. This is achievable with the standard tr utility.
2020-04-08 12:14:37 -04:00
mid-kid
d076dc25e0
Merge pull request #707 from Rangi42/master
Update the header structure
2020-04-06 20:45:28 +02:00
Rangi
a40ddc4668 Ensure that the cartridge header is patched over all $00s, and comment on the entry point format 2020-04-06 14:44:07 -04:00
Rangi
10909e6b43 hStackBank -> hTempBank 2020-04-06 13:02:23 -04:00
Rangi
1ec60810b8 hBuffer -> hStackBank and hFarByte 2020-04-06 12:52:46 -04:00
Rangi
9076d63d62
Merge pull request #705 from Rangi42/master
Upgrade to rgbds 0.4.0, and do miscellaneous fixes
2020-04-06 12:41:44 -04:00
Rangi
3144b54bd1 Enable rgbds warnings and remove CFLAGS=-O2 (default is now -O3) 2020-04-06 12:41:07 -04:00
mid-kid
e225d296b7 Bump tools/unnamed.py to RGBDS object version 13 2020-04-06 14:58:49 +02:00
Rangi
95e48ef992 Add an FAQ about sharing code 2020-04-04 16:25:58 -04:00
Rangi
0ef004a4db dsprite y, ypx, x, xpx, off, attr -> dbsprite x, y, xpx, ypx, off, attr 2020-04-04 16:00:30 -04:00
Rangi
79184bc718 Miscellaneous fixes:
- `hSecondsBackup` -> `hUnusedBackup`
- `ld bc, hBGMapAddress + 1` -> `bccoord -1, -2, 0`
- Identify some `.asm_XXX` labels
2020-04-04 15:43:10 -04:00
Rangi
3cdfac7994 Move, comment, and simplify some macro definitions 2020-04-04 15:32:18 -04:00
Rangi
0ee9d7a48b Upgrade to rgbds 0.4.0
- fail for rgbds < 0.4.0
- `rst <Label>`
- `ds <count>, <byte>`
- `shift <N>`
- ASCII "\r"
- Sorted .sym file
2020-04-04 15:15:02 -04:00
mid-kid
a325db0f14
Merge pull request #704 from LIJI32/gfx_bugfix
(gfx.c) Fix several out-of-bound reads in; fix a memory leak
2020-04-02 21:19:09 +02:00
Lior Halphon
2af6c63253 Fix bad round, memset VLA 2020-04-02 22:02:20 +03:00
Lior Halphon
79f3f3f4d5 Indentation conventions, use C99 variable length arrays 2020-04-02 21:10:20 +03:00
Lior Halphon
7878dd6d4b Fix several out-of-bound reads; fix a memory leak 2020-04-02 20:59:19 +03:00