Commit graph

2698 commits

Author SHA1 Message Date
Rangi
f1285f8584 ASSERT LOW(wSpriteStateData1) == 0 && LOW(wSpriteStateData2) == 0 2021-09-08 20:59:22 -04:00
Rangi
7ee8a6509e wcf4b -> wStringBuffer 2021-08-28 17:02:20 -04:00
SatoMew
236426138b
Remove old tile animation comments (#333)
They stopped being accurate after #304 and aren't really necessary.
2021-07-31 22:53:52 -04:00
Rangi
a5c0da9bbe Switch from Travis CI to GitHub Actions 2021-06-19 22:27:15 -04:00
Daniel Harding
0406c71189
Merge pull request #332 from SnorlaxMonster/roar-teleport-comment-fix
Correct comments on SwitchAndTeleportEffect
2021-06-14 07:48:28 -05:00
SnorlaxMonster
319c29c751 Correct comments on SwitchAndTeleportEffect
The comments in the SwitchAndTeleportEffect section incorrectly stated
that the random number was generated in the
half-open interval [0, playerLevel + enemyLevel),
instead of the closed interval [0, playerLevel + enemyLevel].
2021-06-14 21:47:19 +10:00
Rangi
9c93fb0b75 Use more UNIONs for overlapping WRAM labels 2021-06-01 20:39:05 -04:00
Rangi
229126d940 Use a 30-byte UNION for some overlapping WRAM labels 2021-05-31 18:44:24 -04:00
Rangi
234aa7d409 Use more WRAM sections 2021-05-31 17:17:03 -04:00
Daniel Harding
f3dbec09a8
Merge pull request #325 from CelestialAmber/master
Partially document CeruleanCity.asm
2021-05-31 15:43:57 -05:00
Daniel Harding
c5bb400e08
Merge pull request #323 from KqesaR/master
Clean many labels of scripts of gyms
2021-05-31 15:42:41 -05:00
Rangi
f9ae7b1240 More WRAM label cleanup (still needs UNIONs and renaming) 2021-05-31 16:25:16 -04:00
Amber Brault
7b5bcbc024 Update CeruleanCity.asm 2021-05-31 16:00:32 -04:00
Rangi
5c73cffee6 Start reformatting WRAM labels
wLabel::
    ; comment
        ds N

becomes

    ; comment
    wLabel:: ds N
2021-05-31 15:04:28 -04:00
Yoann Fievez
a448ac897d Clean many labels of scripts of all gyms 2021-05-31 20:41:10 +02:00
Daniel Harding
47c2d1a1a5
Merge pull request #324 from KqesaR/clean_label_wild_map_pointer
Standardize names of wild maps entities
2021-05-31 12:16:54 -05:00
Rangi
c2ad19728a Reformat MoveBoulderDustFunctionPointerTable 2021-05-31 13:09:33 -04:00
Yoann Fievez
21c266b950 Change name wSeaRoutesWildMons to wWaterMons in WRAM 2021-05-31 18:50:16 +02:00
Yoann Fievez
dfc81962d2 Fix typo noting to nothing and align vertically comments 2021-05-31 18:49:02 +02:00
Rangi
7b2eb6b252 Simplify the tileset headers 2021-05-31 12:37:15 -04:00
Daniel Harding
ea5c9f9e05
Merge pull request #322 from SatoMew/master
Identify the connections between Routes 22 and 23 as unused
2021-05-31 11:20:24 -05:00
Rangi
8701ef4d61 Improve some RAM formatting 2021-05-31 11:46:10 -04:00
Amber Brault
78b08c3a76 Partially document CeruleanCity.asm 2021-05-31 11:41:36 -04:00
Rangi
ce62dca69b Eliminate unnecessary data macros 2021-05-30 17:28:26 -04:00
Rangi
223b7b21a4 Add labels to unreferenced mart inventories and remove redundant comments 2021-05-23 22:35:28 -04:00
Rangi
346ce9454a Use macros for bit arrays 2021-05-23 22:09:02 -04:00
Rangi
715496bf35 Fix end_nybble_array 2021-05-23 21:51:20 -04:00
Rangi
653b62139d Use macros for packed arrays of nybbles 2021-05-23 18:33:14 -04:00
Yoann Fievez
3b76c590da Standardize names of wild maps entities
Standardize the name of entities of maps for wild pokemon
2021-05-18 20:58:24 +02:00
Rangi
82f31b05c1 Require rgbds 0.5.1
This allows new features: \<10> macro args, SECTION UNION, SIZEOF/STARTOF, and CHARLEN/CHARSUB
2021-05-09 12:54:31 -04:00
SatoMew
d966193d7b Change terminology as per feedback 2021-05-08 23:20:52 +01:00
SatoMew
b3364f9f88 Identify the connections between Routes 22 and 23 as unused 2021-05-08 13:24:33 +01:00
Rangi
c8626595b4 Use BANK("Pics #") for Pokémon and trainer pics 2021-05-06 23:04:00 -04:00
Daniel Harding
bb8fdd7f42
Merge pull request #321 from SatoMew/master
Identify the unused cry that was carried over to GSC
2021-05-01 16:07:16 -05:00
SatoMew
b155e59ffa Restore extra line breaks 2021-05-01 21:54:19 +01:00
SatoMew
e2a70c9c43 Incorporate the suggested fixes 2021-05-01 20:42:12 +01:00
SatoMew
ed11bfeca1 Identify the unused cry that was carried over to GSC 2021-05-01 15:44:43 +01:00
Rangi
6a31663c96 Use {interpolation} to generate sequences of RAM labels
Fixes #319
2021-04-27 15:49:59 -04:00
Rangi
bcc4380d40 Port 'add_tmnum' from pokecrystal 2021-04-19 16:30:07 -04:00
Rangi
8469421892 Change how Travis CI builds on macOS
Install an updated version of bison with brew, then build rgbds with make
2021-04-18 15:57:28 -04:00
Rangi
5d74bf5126 Don't let brew auto-update everything, just install rgbds 2021-04-18 15:49:34 -04:00
Rangi
21ff769517 Install rgbds with brew on macOS so Travis CI will pass
Building rgbds on macOS with `make` uses the system `bison`, which is an older version that doesn't support `-Wall`.
2021-04-18 15:32:06 -04:00
Rangi
e2c8614cb1 Fix a typo 2021-04-18 15:22:00 -04:00
Rangi
b920ea060a Explain how to use a local copy of rgbds 2021-04-18 15:20:48 -04:00
Rangi
2fdcb1a3d6 Prevent some gcc versions from complaining about {0} in tools/scan_includes.c 2021-04-17 19:28:38 -04:00
Rangi
bf81961b9d Fix tools/unnamed.py 2021-04-17 19:20:14 -04:00
Rangi
955e4eddf8 Actually use rgbds 0.5.0 2021-04-17 19:16:12 -04:00
Rangi
dd690920c9 Use rgbds 0.5.0 features:
- FOR loops
- {interpolation}
- REDEF EQUS
- \# for all macro args
2021-04-17 19:06:56 -04:00
Rangi
4b64b146e4 Use assertions to catch the GetName bug, and use a NAME_BUFFER_LENGTH constant 2021-04-13 20:08:38 -04:00
Rangi
506a14084e
The 'def_trainers' macro checks that trainers' event flag bits are correct (#318) 2021-04-13 18:24:37 -04:00