Commit graph

2701 commits

Author SHA1 Message Date
dannye
9f2d6aa0a8 Fix Celedon typo 2023-11-19 12:33:30 -06:00
Alchav
dc705d25c5
Correct wTilePlayerStandingOn "unused?" comment (#433)
`TilePairCollisionsWater` contains the entry `db CAVERN, $14, $05`, which prevents surfing from raised cave ground tiles. If `wTilePlayerStandingOn` is not updated when the start menu is opened, it will be left at the previous tile, which will be the raised ground tile if you have just walked onto the stairs from one.
2023-11-18 23:48:40 -05:00
Rangi42
26a342b104 Identify more map script labels 2023-11-18 19:44:03 -05:00
vulcandth
64061e2092 .calculateHPBarCoords incorrectly referenced OAM
Resolves #411

Co-Authored-By: SnDream <12762219+sndream@users.noreply.github.com>
2023-11-17 22:36:21 -06:00
vulcandth
da382ed9f4 Move charmap.asm to constants/ 2023-11-17 22:08:15 -06:00
AnonymousRandomPerson
141502ac44
Replaced decomp list with pret.github.io link
* Added newer decomp projects to readme

* Lowercase pret

* Replaced decomp list with pret.github.io link

* Align readme with pokecrystal

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2023-11-17 20:32:47 -06:00
Linus Unnebäck
83b373ad73
Add constants for wMapConnections bits and group map header wram labels
* Add constants for wMapConnections bits

* Apply Vulcandth and Rangi42 feedback

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2023-11-17 12:50:27 -06:00
dannye
b302e93674
Use map object consts in data/maps/hide_show_data.asm (#432) 2023-10-11 20:12:25 -05:00
strager
30c244ae4f
Use PSN constant in PoisonEffect routine (#426) 2023-09-20 15:43:27 -04:00
Linus Unnebäck
c2d2cc4e11
Fix wPlayerHPBarColor type (#429) 2023-09-20 15:43:01 -04:00
vulcandth
508a46b2ce
Fix tools/free_space.awk for new rgbds (pret/pokecrystal#1049) (#416)
Co-authored-by: mid-kid <esteve.varela@gmail.com>
2023-08-26 10:14:57 -05:00
Zachary Buhman
8003cca603
text_2.asm: trivial missing whitespace (#425) 2023-08-26 10:11:55 -05:00
vulcandth
7bc3fd051e
CI copy .map files to symbols branch (#428) 2023-08-26 10:11:05 -05:00
Vortyne
9a780d4501
Missing usage of def_script_pointers (#423) 2023-08-26 10:08:59 -05:00
Vortyne
35d8064317
Correct constant name (SILPH, not SLIPH) (#422) 2023-08-26 10:08:29 -05:00
Rangi
fa18a75dc5 Fix segfaults at EOF, add token/newline checks, and support '\r' in scan_includes.c 2023-08-15 19:26:41 -04:00
SatoMew
a38c7922dd
Improve comment about the "ED" tile bug (#421) 2023-07-16 20:22:06 -05:00
Linus Unnebäck
c42b7167ce
Use charmap in link_battle_versus_text (#415) 2023-07-16 16:21:20 -05:00
SatoMew
f46db37d50
Thoroughly document debug code (#410) 2023-07-15 18:36:59 -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
Linus Unnebäck
d3128b9a7f
Make wCurrentBoxNum a byte instead of word (#414) 2023-05-10 10:49:45 -04:00
dannye
1b9540cc49 Update EndBug to v9. 2023-04-25 19:40:00 -05:00
Vortyne
17eaf761e3
Name some unnamed animation constants (#396) 2023-03-25 23:31:59 -04:00
RainbowMetalPigeon
a76ae055cc
Dex weights are in tenths of a pound 2023-03-25 23:28:55 -04:00
SatoMew
5c4795d5bc
Complete and improve debug name labels (#408) 2023-02-26 11:14:21 -05:00
dannye
e076ee0a40 Add list assertion to TrainerNames 2022-12-28 21:48:55 -06:00
vulcandth
20ebfd079f
Add table assertion to TrainerDataPointers (#403)
* Add table assertion to `TrainerDataPointers`

* Add table assertion to `TrainerNamePointers`
2022-12-28 21:47:27 -06:00
Rangi
53805947c3 Use rgbds 0.6.1 (0.6.0 also still works) 2022-12-03 11:11:13 -05:00
mid-kid
6bb3d82e7a Fix preinclude dependencies
From pokecrystal:
- 0425018d1ce5b3b726e3cd83f59f14ead9171c92
- 8b429e2a545e87407a3b8c7b92f7ceafc455e390
2022-10-25 18:02:29 +02:00
Rangi
9d7b581310 Add COUNTOF macro to tools/common.h 2022-10-14 16:21:42 -04:00
Rangi
c37cc15f44 Update tools/unnamed.py for rgbds 0.6.0 object files 2022-10-02 22:34:06 -04:00
Rangi
f58dbe3849 Require rgbds 0.6.0 2022-10-02 21:14:23 -04:00
Rangi
2b52ceb718 startswith works with a tuple 2022-09-30 16:57:47 -04:00
Rangi
22859c4bb7
Revert PR #395 2022-09-26 15:17:26 -04:00
Vortyne
742dd00eb7
Bug: Sprites can receive the wrong movement byte (#395)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-09-26 14:53:16 -04:00
Vortyne
3e72d0834e
Bug: SUBANIMTYPE_COORDFLIP should be SUBANIMTYPE_HVFLIP (#394)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-09-26 11:12:43 -04:00
BlueZangoose
0f5a9eb146
Change names of move subanimations to be meaningful (#389)
Co-authored-by: Rangi <remy.oukaour+rangi42@gmail.com>
2022-09-25 14:17:39 -04:00
Rangi
c299cf1067 Use a SPRITE_SET_LENGTH constant 2022-09-24 11:39:39 -04:00
Rangi
d2be79adf1
Add constants and table macros for the map sprite sets (#392)
Fixes #391
2022-09-24 11:30:29 -04:00
Rangi
fa7d76f39e Fix tools/unnamed.py and add tools/consts.py 2022-09-18 23:59:03 -04:00
Rangi
208ea07237 Update and add more tool scripts 2022-09-18 23:25:22 -04:00
Rangi
3520a4c99a Distinguish Elite 4 "meta" constants from event constants
Fixes #390
2022-09-15 18:10:45 -04:00
Rangi
d809d3d59c Add UNUSED_TYPE/UNUSED_TYPE_END constants
Fixes #385
2022-09-11 15:02:51 -04:00
Rangi
cab3ccdbbd Comment about UndergroundPathNorthSouth.blk size
Fixes #387
2022-09-11 15:00:31 -04:00
Rangi
e9e769fba1 Copy pokecrystal's map_const macro
Fixes #386
2022-09-11 15:00:06 -04:00
vulcandth
74cee737f6
Rename macros/wram.asm to macros/ram.asm (#388) 2022-09-11 01:05:04 -04:00
Rangi
0c4d2e178e Link to the symbols branch 2022-09-10 13:52:11 -04:00
SatoMew
63a7eb2cf5
Improve NPC trade labels and comments (#384)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-09-10 13:44:31 -04:00
Rangi
bbb0e7e82d
Use the same music headers as pokecrystal (#382) 2022-08-11 21:23:08 -04:00
SatoMew
ac7263b1ad
Update comments related to Swift and Substitute checks (#380)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-08-11 21:22:57 -04:00