Commit Graph

5184 Commits

Author SHA1 Message Date
Rangi42 cbfd48b8d1 Use `SERIAL_RNS_LENGTH` in `_BattleRandom` 2024-12-21 21:04:21 -05:00
Rangi42 26e9de55d6 Fix indentation 2024-12-16 10:48:48 -05:00
Rangi42 99af3f4f3b Identify some missed bit 7 menu flags 2024-12-02 12:20:52 -05:00
Rangi42 03a1c6efad Mobile jumptable exit bits 2024-12-02 12:16:30 -05:00
Rangi42 41045d0266 Crystal-only jumptable exit bits 2024-12-02 12:16:30 -05:00
Rangi42 e1e7cbd838 Bit 7 of wJumptableIndex is often JUMPTABLE_EXIT_F 2024-12-02 12:16:30 -05:00
Sylvie 644bd42fb0
Identify more bit flags (#1153) 2024-11-29 19:29:30 -05:00
Jordan Moore 8894e29da2
Add documentation for HideHeadbuttTree (#1152) 2024-11-28 11:20:15 -05:00
Rangi42 961fad9e15 Fix `AI_Smart_Curse` labels
Fixes #1130
2024-10-17 17:12:19 -04:00
metallicity 0abd8a7b38
Rename Bill's brother to Bill's older sister (#1132) 2024-10-17 17:03:29 -04:00
SnorlaxMonster 0ebea8cfe1
Correct Moon Ball bug documentation (#1133) 2024-10-17 17:00:59 -04:00
duckie 1febb75bf9
Update mislabeled sweet_scent.asm subroutine (#1140) 2024-10-17 16:57:59 -04:00
Sylvie 2265e53d24
Rename `dt` and `dd` to `bigdt` and `bigdd` (#1141)
This makes their big-endianness obvious and matches `bigdw`
2024-10-17 14:52:47 -04:00
Rangi42 901813a343 Refactor gbcpal.c 2024-10-17 14:19:15 -04:00
Sylvie e59624d1f5
Generate Unown sprite palette based on all front+back sprites (#1146) 2024-10-17 13:39:33 -04:00
Sylvie 5a53e297cf
Sort Pokemon and trainer sprite palettes, with Makefile-specified exceptions (#1137)
This avoids the need to define their order via indexed PNG palettes

It also avoids the need to use gb-asm-tools' palfix.py on custom sprites

Fixes #1136
2024-10-16 10:48:00 -04:00
Rangi42 75f214e594 GitHub Actions needs libpng-dev installed for rgbds 2024-10-16 10:16:20 -04:00
Rangi42 4500d4fcab Renamed pokemon-asm-tools to gb-asm-tools 2024-10-09 09:20:16 -04:00
Rangi42 fa2e675210 Tools depend on common.h by default 2024-10-07 21:14:48 -04:00
Rangi42 a69cfb1720 Remove independent tools and link to pokemon-asm-tools
palfix.py still exists since it is often needed
2024-10-07 17:00:54 -04:00
Rangi42 87042ce723 Fix tools/sym_comments.py 2024-09-26 16:08:00 -04:00
abcboy101 2408579942
Correct European mail documentation (#1142) 2024-09-26 00:20:30 -04:00
Sylvie 017bffaef9
Put front and back pics on a single line (#1139) 2024-09-26 00:20:04 -04:00
Sylvie 4d0e928c6f
Label the unused daily flag (#1143) 2024-09-26 00:17:12 -04:00
Rangi42 7b5986006f Use long option flags for rgbgfx, same as tools/gfx 2024-08-28 12:27:33 -04:00
Rangi42 746a06f1de Use bankless symbols for VC constants
This is valid according to the .sym file spec:
<https://rgbds.gbdev.io/sym/>
2024-08-04 21:04:25 -04:00
vulcandth 9ae05312d6 Use NUM_TRAINER_ATTRIBUTES const in AI scoring Layers 2024-07-27 21:58:54 -05:00
Sylvie fed587fc37
Refactor the Unown wall word data (#1131) 2024-07-24 10:56:46 -04:00
Rangi42 024c8749a0 Build with RGBDS 0.8.0, though it is not yet required 2024-06-28 15:57:44 -04:00
Rangi42 bb572c4c52 Document the Slowpoke Well graphical oversight 2024-06-12 14:15:49 -04:00
Rangi42 b26e023555 Move cosmetic bugs to the Graphics section 2024-06-12 13:49:50 -04:00
Rangi42 4f57e96f31 Consolidate the duplicate stat level data files 2024-06-12 13:13:58 -04:00
Sylvie 8819f7b117
Identify various "????"s (#1125) 2024-06-11 20:54:45 -04:00
Rangi42 23183bb9bb Rename wram_constants.asm to ram_constants.asm 2024-05-22 21:07:37 -04:00
Rangi42 de0d5c29e5 wPrinterQueueLength values are divisible by 2 2024-05-22 21:02:55 -04:00
Rangi42 b81e339f33 Use constants for VBlank handlers 2024-05-22 21:02:55 -04:00
Idain 4432df05cb
Add more assert cases in the codebase (#1115)
* Add assert for FACING_GRASS_1 and FACING_GRASS_2

* Add more assert cases

* Add assert for HP bar colors

* Assert LINK_NULL == 0

* Fix assert syntax

* Add asserts for WILD_BATTLE == 1

* Add additional WILD assert

- I need to sleep more...

* Revert asserts for WILD_BATTLE and LINK_NULL

* Commit suggested changes

* Add more assert cases

* Fix syntax error
2024-04-27 12:17:07 -05:00
SnorlaxMonster b9dce73573
Rename `MON_ID` to `MON_OT_ID` (#1114)
* Rename MON_ID to MON_TRAINER_ID

The constant name MON_ID implies it relates to the ID number of the
Pokémon itself. However, it actually refers to the Trainer ID number of
the Pokémon's Original Trainer. Renaming it to MON_TRAINER_ID makes it
substantially more clear what its purpose is.

The original definition of MON_ID is preserved in macros/legacy.asm

* Remove MON_ID from macros/legacy.asm

Co-authored-by: Sylvie <35663410+Rangi42@users.noreply.github.com>

* Apply rename to missed file

* Rename to `MON_OT_ID`

---------

Co-authored-by: SnorlaxMonster <snorlaxmonster@users.noreply.github.com>
Co-authored-by: Sylvie <35663410+Rangi42@users.noreply.github.com>
Co-authored-by: vulcandth <vulcandth@gmail.com>
2024-04-27 12:16:34 -05:00
vulcandth b0b5ed2eb8
Fix/update sprite y-coord offscreen definitions (#1108) 2024-04-14 15:55:46 -05:00
mid-kid e8079e6d48 Use "pkg" in termux instructions instead of "apt" directly 2024-04-06 08:59:21 +02:00
Rangi42 c1da20e2f1 Disable LodePNG auto-encoding the bpp2png image 2024-03-04 10:29:38 -05:00
Damien Doury 9ea843b8a4
Fixed wrong text label (#1107) 2024-01-29 18:59:46 -05:00
Rangi42 fdae742766 Legacy support for `refreshscreen` and `reloadmappart` 2024-01-29 18:58:05 -05:00
xCrystal 17d3a1a8ae Address PR suggestions (#1078) 2024-01-28 21:19:32 +01:00
xCrystal e0c278a595 Fix inaccurate denotations to the concepts of tile, tile collision, and collision permission (#1078) 2024-01-07 14:51:27 +01:00
xCrystal 7f3b87950a more accurate script names: refreshscreen -> reanchormap, and reloadmappart -> refreshmap (#1078) 2024-01-07 14:37:46 +01:00
xCrystal f72f078c0e Rename wVramState to wStateFlags and use flag constants (#1078) 2024-01-07 14:27:22 +01:00
xCrystal 5be9856f3a In labels, stick to Place for text without delay, and Print for text with letter delay (#1078) 2024-01-07 14:06:40 +01:00
xCrystal cd28c44ff3 Improve some innacurate function names, labels, and comments (#1078)
[https://github.com/pret/pokecrystal/issues/1078#issuecomment-1872396250]
2024-01-07 13:36:28 +01:00
xCrystal bd6ceec193 Improve some innacurate function names, labels, and comments (#1078)
[https://github.com/pret/pokecrystal/issues/1078#issue-1869550979 and https://github.com/pret/pokecrystal/issues/1078#issuecomment-1696394371]
2024-01-07 13:36:05 +01:00