1498 Commits

Author SHA1 Message Date
Narishma-gb
8e8f7e2005 Update link.asm and WRAM link transfer related symbols (#1224)
Some checks failed
CI / build (push) Has been cancelled
CI / build-macos (push) Has been cancelled
2026-08-06 17:08:51 -04:00
Rangi
cb752f33fd Change unused battle command and unused tileset anims labels to match pokegold-spaceworld (#1262) 2026-06-28 13:02:18 -04:00
Narishma-gb
cbafcfea64 Add some comments/constants, minor fixes (#1255)
Some checks failed
CI / build (push) Has been cancelled
CI / build-macos (push) Has been cancelled
2026-06-08 13:33:11 -04:00
Rangi
1c1bc6b31f Remove the spurious WEATHER_*_END constants
Some checks are pending
CI / build (push) Waiting to run
CI / build-macos (push) Waiting to run
These were probably a mistake from confusing two consecutive
pointer tables, `.WeatherMessages` and `.WeatherEndedMessages`,
with one long table
2026-06-07 21:32:02 -04:00
Rangi42
845e4a55ad Use constants for Battle Tower reward items 2026-06-06 19:11:45 -04:00
Rangi
8f2162d7dd Use for loops to declare dw sequences
Some checks failed
CI / build (push) Has been cancelled
CI / build-macos (push) Has been cancelled
2026-05-14 15:19:30 -04:00
Rangi
bd98339500 Correct some map object-related constant names and a comment
Some checks failed
CI / build (push) Has been cancelled
CI / build-macos (push) Has been cancelled
2026-04-06 18:01:11 -04:00
Rangi
0121eb23ad Deduplicate the credits string/tilemap
Some checks failed
CI / build (push) Has been cancelled
CI / build-macos (push) Has been cancelled
2026-04-02 19:51:04 -04:00
Rangi
c73ab9e9c9 Define tileset animations with a tileframe macro, and move them to data/tileset_anims.asm (#1248)
Some checks failed
CI / build (push) Has been cancelled
CI / build-macos (push) Has been cancelled
2026-03-24 12:17:05 -04:00
MichailTalReborn
983c33b5c9 Document bug: AI does not discourage Nightmare if the player has any status condition (#1242)
Some checks failed
CI / build (push) Has been cancelled
CI / build-macos (push) Has been cancelled
2026-03-12 11:44:29 -04:00
mid-kid
002b4e84f2 Use separate constants for wChosenCableClubRoom (#1240)
Some checks failed
CI / build (push) Has been cancelled
CI / build-macos (push) Has been cancelled
These numbers aren't related to the LINK_ values at all, it's just a
coincidence.

Changing these is an easy way for games to force incompatibility with
the original game.
2026-02-08 13:47:30 -05:00
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
Some checks are pending
CI / build (push) Waiting to run
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)
Some checks failed
CI / build (push) Has been cancelled
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)
Some checks are pending
CI / build (push) Waiting to run
- 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)
Some checks failed
CI / build (push) Has been cancelled
2025-09-06 16:47:48 -04:00
Rangi
86acbe5b55 Use dname macro to automatically pad names with "@" characters (#1198)
Some checks failed
CI / build (push) Has been cancelled
2025-08-17 09:48:05 -04:00
Linus Unnebäck
b1f8d423a2 Inline NoSwarmWildmon label (#1199)
Some checks failed
CI / build (push) Has been cancelled
2025-08-15 16:08:52 -04:00
Rangi42
468488e7a5 Identify JOYP_SGB_MLT_REQ constant
Some checks failed
CI / build (push) Has been cancelled
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)
Some checks failed
CI / build (push) Has been cancelled
2025-08-03 13:57:07 -04:00
Rangi42
de396249e1 Use combined joypad masks
Some checks failed
CI / build (push) Has been cancelled
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)
Some checks failed
CI / build (push) Has been cancelled
2025-04-29 08:18:10 +02:00
Rangi42
098944485b Rename "city" treemon set to "none", since it has no encounters
Some checks failed
CI / build (push) Has been cancelled
2025-04-21 12:42:57 -04:00
Rangi42
b4fc71cba1 Verify the battle BG effect pointer table length
Some checks failed
CI / build (push) Has been cancelled
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
Some checks failed
CI / build (push) Has been cancelled
2025-03-12 12:26:21 -04:00
Rangi
4d6c3e2975 Avoid using EQUS when EQU or MACRO will do (#1166)
Some checks failed
CI / build (push) Has been cancelled
2025-02-27 13:07:12 -05:00
Darsh
7a7a06289c Add assert to note _CGB_Diploma also loads PartyMenuOBPals (#1167)
Some checks failed
CI / build (push) Has been cancelled
2025-02-24 12:40:50 -05:00
Jordan Moore
86a87a355e Remove "skip" prefix from AI move score labels (#1163)
Some checks failed
CI / build (push) Has been cancelled
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)
Some checks are pending
CI / build (push) Waiting to run
2024-12-26 08:59:18 -05:00
Rangi
61c9ba5f6c Use RGBDS 0.9.0 (#1159)
Some checks are pending
CI / build (push) Waiting to run
2024-12-25 21:24:37 -05:00
Jordan Moore
d323aa83dd Rename checkcurl to checkrollout
Some checks are pending
CI / build (push) Waiting to run
2024-12-25 12:17:14 +01:00
Rangi42
cbfd48b8d1 Use SERIAL_RNS_LENGTH in _BattleRandom
Some checks failed
CI / build (push) Has been cancelled
2024-12-21 21:04:21 -05:00
Rangi42
99af3f4f3b Identify some missed bit 7 menu flags
Some checks failed
CI / build (push) Has been cancelled
2024-12-02 12:20:52 -05:00
Rangi42
41045d0266 Crystal-only jumptable exit bits 2024-12-02 12:16:30 -05:00