Commit Graph

4590 Commits

Author SHA1 Message Date
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
Andrew Cook
5d97f15f80
Assorted labels in mobile related code (#702)
Rename assorted labels in mobile-related code
2020-03-31 21:26:59 -04:00
Rangi
63798d56d0
Merge pull request #699 from Rangi42/master
Resolve some miscellaneous issues
2020-03-23 21:05:39 -04:00
Rangi
0345e4fb0e Add suffixes to some constants to avoid ambiguity
- `PSYCHIC` → `PSYCHIC_TYPE` (not the trainer `PSYCHIC_T` or the move `PSYCHIC_M`)
- `BLACKBELT` → `BLACKBELT_I` (not the trainer `BLACKBELT_T`)
- `CURSE_T` → `CURSE_TYPE` (not the move `CURSE`)
- `TOWN_MAP_D` → `TOWN_MAP_POSTER` (not the item `TOWN_MAP`)

This also uncovered a misidentified event: `EVENT_DECO_PLANT_4` → `EVENT_DECO_POSTER_1`. (There are three plants and four posters.)
2020-03-21 17:59:26 -04:00
Rangi
adbe7f995c Remove some redundant comments superseded by labels (see #693) 2020-03-21 14:14:48 -04:00
Rangi
7558b98a81 Revert the broken CheckTypeMatchup bugfix simplification from 5728d01417 2020-03-21 14:03:38 -04:00
Rangi
6a6ba10315 rgbds supports 'X - 1' instead of 'X + -1' 2020-03-21 14:01:05 -04:00
Rangi
5a5f5ececd Miscellaneous fixes from #694 2020-03-21 13:07:18 -04:00
Rangi
624864307e Combine Celebi frames into one PNG 2020-03-16 08:58:28 -04:00
Rangi
66b902f900
Merge pull request #696 from Rangi42/master
Rename LANDMARK_* constants, and refactor flypoints
2020-03-15 19:53:14 -04:00
Rangi
ad50e94b50 Add a LANDMARK_ prefix to landmark constants
Resolves #697
2020-03-15 19:50:39 -04:00
Rangi
65f22544e0 Refactor flypoints to separate const definition from data usage 2020-03-15 14:10:53 -04:00
Rangi
c87f8512a4 Add tools/used_space.py to visualize the ROM based on the .map file 2020-03-11 17:10:06 -04:00
Rangi
8eba39dd52 Add tools/used_space.py to visualize the ROM based on the .map file 2020-03-11 15:06:34 -04:00
mid-kid
1d122c86cf
Merge pull request #692 from Rangi42/master
Change how some PNG graphics are formatted
2020-03-01 23:39:53 +01:00
Rangi
f09b68d945 Change how some PNG graphics are formatted 2020-03-01 17:00:57 -05:00
Rangi
9bec0e0f78
Merge pull request #691 from Rangi42/master
Identify remaining gfx/unknown files, and document a Teleport bug
2020-02-28 11:58:18 -05:00
Rangi
1d4c1aeef4 'and BANK' -> 'aka BANK' 2020-02-28 11:51:42 -05:00