Commit Graph

1487 Commits

Author SHA1 Message Date
SnorlaxMonster 7c3d2956cd Consistently use Japanese control codes for Japanese strings (#1222) 2026-01-24 15:37:50 -05:00
Rangi bbd7e68b4c Use the SPRITE_ANIM_FRAMESET_PARTY_MON_*_FAST constants 2026-01-11 20:10:42 -05:00
Rangi 3c0d2b26a5 Use hardware.inc OAM offset constants for overworld map objects 2026-01-01 17:23:09 -05:00
Jordan Moore 2bbb15675d Replace magic numbers with constants in engine/battle/ai/switch.asm (#1216) 2025-12-29 18:48:23 -05:00
SourApple e286a5f098 Bug: AI use of Full Heal or Full Restore does not cure Attack or Speed drops from burn or paralysis
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2025-12-14 16:04:26 -05:00
Pyrois81 95f3d3c092 Verify and document another bug in the catching formula (#1203)
Add a fix for a potential failure condition in the catch rate function.
2025-11-18 15:09:04 -05:00
Rangi a55bc33d67 Use features of RGBDS 1.0.0 (#1204)
- Use single-quoted character literals or `CHARVAL` when you need
  a character's numeric value; using strings as numbers is deprecated
- Use `?` to silence a node in warning/error location backtraces
- Use `===` and `!==` instead of `STRCMP`, and `++` instead of `STRCAT`
- Use `__SCOPE__` instead of checking for `..` and `.` separately
- Use `#string` instead of `"{string}"`
- All programs (rgbasm, rgblink, rgbfix, rgbgfx) support `-W` warnings
- `rgbgfx --colors dmg` is short for `rgbgfx --colors dmg=e4`
2025-11-12 15:43:54 -05:00
Linus Unnebäck d138ed1bd4 Make wBargainShopFlags 16 bits (#1200) 2025-09-06 16:47:48 -04:00
Rangi 86acbe5b55 Use dname macro to automatically pad names with "@" characters (#1198) 2025-08-17 09:48:05 -04:00
Linus Unnebäck b1f8d423a2 Inline NoSwarmWildmon label (#1199) 2025-08-15 16:08:52 -04:00
Rangi42 468488e7a5 Identify JOYP_SGB_MLT_REQ constant 2025-08-11 16:38:46 -04:00
Rangi42 fcd13b1298 Update hardware.inc to 5.3.0 and use its new constants 2025-08-11 16:01:32 -04:00
Linus Unnebäck b0d56dff91 Document time of day bug in RandomUnseenWildMon (#1196) 2025-08-03 13:57:07 -04:00
Rangi42 de396249e1 Use combined joypad masks 2025-06-30 12:47:36 -04:00
Rangi42 5abf8d01fb Update hardware.inc to 5.1.0 2025-06-30 12:47:36 -04:00
Brianum 8f5a8c5b5b Identify wCrystalData's content and rename memory locations accordingly (#1191) 2025-06-30 11:37:37 -04:00
Rangi 4c540aa43b Replace hardware_constants.asm with the community-standard hardware.inc 5.0 (#1186) 2025-06-23 09:11:33 -04:00
Brianum b8d0c93213 Make town map limits more intuitive (#1185) 2025-06-07 13:51:32 -04:00
Rangi efceed1338 Use offsets from ANIM_* constants for wBattleAfterAnim (formerly wNumHits) (#1184) 2025-05-31 15:07:56 -04:00
Rangi b035d9fb89 Define constants for wBillsPCPokemonList entries (#1183) 2025-05-31 15:07:44 -04:00
Rangi fd2af282b6 Add a CANNOT_MOVE constant (#1182) 2025-05-31 15:07:34 -04:00
Hannabart Pekopon 34aae0d20f Added bug fix for: "Cautious" AI may fail to discourage residual moves (#1178) 2025-05-31 15:07:23 -04:00
Brianum f480cb9e24 Rename and document `BrokenPlacePPUnits` (#1179) 2025-04-29 08:18:10 +02:00
Rangi42 098944485b Rename "city" treemon set to "none", since it has no encounters 2025-04-21 12:42:57 -04:00
Rangi42 b4fc71cba1 Verify the battle BG effect pointer table length 2025-03-15 01:23:04 -04:00
Rangi42 467ee7ee72 Sync further with pokegold 2025-03-15 01:03:28 -04:00
Rangi42 94c36a4351 Verify the trade dialog pointer table length 2025-03-15 00:49:14 -04:00
Rangi42 1cc2216ef9 Verify the mart types pointer table length 2025-03-15 00:44:33 -04:00
Rangi42 15ae47a61e Separate constants for name types and naming screen types 2025-03-12 12:26:21 -04:00
Rangi 4d6c3e2975 Avoid using EQUS when EQU or MACRO will do (#1166) 2025-02-27 13:07:12 -05:00
Darsh 7a7a06289c Add assert to note _CGB_Diploma also loads PartyMenuOBPals (#1167) 2025-02-24 12:40:50 -05:00
Jordan Moore 86a87a355e Remove "skip" prefix from AI move score labels (#1163) 2024-12-29 15:31:50 -05:00
Rangi 85ddf0e90a Don't pass redundant label names to table_width and list_start (#1160) 2024-12-27 12:35:35 -05:00
Hannabart Pekopon 3f686e67da Correct wrong and misleading comments about enemy trainer AI (#1149) 2024-12-26 08:59:18 -05:00
Rangi 61c9ba5f6c Use RGBDS 0.9.0 (#1159) 2024-12-25 21:24:37 -05:00
Jordan Moore d323aa83dd Rename checkcurl to checkrollout 2024-12-25 12:17:14 +01:00
Rangi42 cbfd48b8d1 Use SERIAL_RNS_LENGTH in _BattleRandom 2024-12-21 21:04:21 -05:00
Rangi42 99af3f4f3b Identify some missed bit 7 menu flags 2024-12-02 12:20:52 -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
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
abcboy101 2408579942 Correct European mail documentation (#1142) 2024-09-26 00:20:30 -04:00
Sylvie 4d0e928c6f Label the unused daily flag (#1143) 2024-09-26 00:17:12 -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