Commit graph

2645 commits

Author SHA1 Message Date
Akatsuki-py
5ec206d0c5 fix ExecuteCurMapScriptInTable's comment 2020-09-19 09:08:01 +09:00
Rangi
8d32c45678 rgbds has moved from rednex to gbdev 2020-09-15 08:36:29 -04:00
Rangi
ca2e63e447 Add the pic.py (de)compressor from pokemon-reverse-engineering-tools
$ tools/pic.py decompress x.pic  # creates x.2bpp
$ tools/gfx.py png x.2bpp        # creates x.png
$ tools/gfx.py 2bpp x.png        # creates x.2bpp
$ tools/pic.py compress x.2bpp   # creates x.pic
2020-09-02 12:09:18 -04:00
Rangi
df144ec5f3 Pan Docs: "When sending three or more data sets, data is continued in further packet(s). Unused bytes at the end of the last packet should be set to zero." 2020-09-01 12:19:24 -04:00
Rangi
1143019ac6 Separate the two lists of unused names 2020-08-31 19:01:13 -04:00
Rangi
8ce20e5c31 Define a constant for the ghost Marowak (hard-coded throughout the engine, like the starters) 2020-08-31 10:58:41 -04:00
Rangi
bfd9f617c9 Use constants to delineate map types, and factor out more data 2020-08-31 10:23:19 -04:00
Rangi
70eac3a1f7 Factor out data/tilesets/pair_collision_tile_ids.asm 2020-08-30 23:22:39 -04:00
Rangi
b506214f68 Identify some hSpriteDataOffset values 2020-08-30 16:33:14 -04:00
Rangi
6ee9cb9f97 Document more hidden object data and behavior 2020-08-30 15:45:41 -04:00
Rangi
4ef3059072
Merge pull request #290 from Rangi42/master
Separate splash screen, intro, and credits (like pokegold/pokecrystal)
2020-08-29 01:04:24 -04:00
Rangi
637f38b139 Use decimal, not hex, for sprite (object) coordinates in map scripts 2020-08-28 12:10:55 -04:00
Rangi
407b813250 Separate splash screen, intro, and credits (like pokegold/pokecrystal) 2020-08-28 09:54:57 -04:00
Rangi
48da6c53be Align warp and sign coordinates 2020-08-21 12:04:49 -04:00
Rangi
7e9ccbb5b2
Merge pull request #287 from Rangi42/master
Simplify map event definitions
2020-08-20 19:07:42 -04:00
Rangi
d5db0c3dbf Comments explain the def_warps_to macros 2020-08-18 10:42:23 -04:00
Rangi
5e1865a7b1 Implement def_warps_to in a simpler way
Instead of building a semicolon-separated "array" of warp_to coordinates in _WARP_TO_BUFFER, just declare a new EQUS for each one: _WARP_TO_NUM_1, _WARP_TO_NUM_2, etc. Then have def_warps_to output and PURGE each one of them.
2020-08-17 19:39:58 -04:00
Rangi
6fa8a553cb Fix keyword capitalization and indentation 2020-08-17 18:40:59 -04:00
Rangi
4373aafac1 Use def_warps_to macro for automatic warp_to entries 2020-08-17 18:08:54 -04:00
Rangi
f4514ff53c Use map constants for SilphCoElevator warps 2020-08-17 17:40:27 -04:00
Rangi
e2c99f1910 Use def_* macros for automatic map event counts 2020-08-17 16:54:59 -04:00
Rangi
2fe1505bab Use ANY_DIR, UP_DOWN, and LEFT_RIGHT for map objects 2020-08-17 14:25:11 -04:00
Rangi
f82097b894 Identify some map object related constants 2020-08-17 14:22:27 -04:00
Rangi
3b003960d4 Fix Town Map coordinates to be in (X, Y) order as comments claim 2020-08-17 13:40:20 -04:00
Rangi
2ff8f75b40 ld bc -> lb bc 2020-08-17 13:01:45 -04:00
Rangi
5060befd2b Fix comment about SONY 2020-08-16 14:01:59 -04:00
Rangi
71316591fc 'make clean' reuses 'make tidy' commands 2020-08-11 14:14:36 -04:00
Rangi
33ea73496a Fix encounter rate comments 2020-08-02 01:10:24 -04:00
Akihiro Otomo
b48bbbb047
fix OAMFLAG_VFLIPPED (#283)
Replace incorrect label OAMFLAG_VFLIPPED with OAM_HFLIP
2020-08-02 00:31:10 -04:00
Rangi
2b54583c8b 'make tidy' shouldn't trigger 'make -C tools' 2020-07-28 21:30:52 -04:00
Rangi
f2a4544678 rgbdscheck requires 0.4.1 2020-07-27 08:32:37 -04:00
Rangi
e7969293d3 tools/unnamed.py supports rgbds 0.4.1 object files 2020-07-22 09:17:27 -04:00
Rangi
ba00264d8a
Merge pull request #282 from Rangi42/master
Use LOAD/ENDL for OAM DMA code in HRAM (requires rgbds 0.4.1)
2020-07-22 09:11:18 -04:00
Rangi
204bf74a7f Use LOAD/ENDL for OAM DMA code in HRAM (requires rgbds 0.4.1) 2020-07-21 19:46:12 -04:00
Rangi
3e554e1d52
Merge pull request #281 from Rangi42/master
Add comments associating constants with data, and identify some more data
2020-07-20 13:22:32 -04:00
Rangi
69788c536b Add comments associating constants with data, and identify some more data 2020-07-20 12:31:35 -04:00
Rangi
0177688ad4
Merge pull request #279 from Rangi42/master
Identify sprite and battle animation data
2020-07-19 23:04:16 -04:00
Rangi
df62b8e81a Missingno's Pokédex weight is two bytes like the rest 2020-07-19 16:45:39 -04:00
Rangi
7619b01dd7 Reformat key item bit fields 2020-07-18 14:19:08 -04:00
Rangi
e88eebbc4d Consistent labels for Gym name scripts 2020-07-18 14:01:13 -04:00
Rangi
76289dfda0 Port dbsprite macro for OAM y,x,tile,attr data from pokecrystal 2020-07-17 15:58:06 -04:00
Rangi
f53341efa1 Define constants for subanimations' base coords and frame block modes 2020-07-17 15:16:54 -04:00
Rangi
ef9cb892fd cycling.png -> red_bike.png 2020-07-17 14:02:45 -04:00
Rangi
72a0e98c93 JUGGLER_X -> UNUSED_JUGGLER 2020-07-17 13:56:59 -04:00
Rangi
3c1cdbc4d0 Identify remaining tilemap IDs 2020-07-17 13:47:33 -04:00
Rangi
30ecbf6ea3 SONY -> RIVAL 2020-07-17 13:27:27 -04:00
Rangi
2454296d32 Update sprite names
These are based on the trainers that use them, and synced with pokegold/pokecrysal when possible
2020-07-17 12:48:15 -04:00
Rangi
452803af27 $c9 was "の" in Japanese 2020-07-16 23:02:34 -04:00
Rangi
44b424353d Factor our frame blocks' base coordinates 2020-07-16 22:40:48 -04:00
Rangi
4cc4b175fc Identify trade-related tilemaps 2020-07-16 22:30:40 -04:00