Commit Graph

873 Commits

Author SHA1 Message Date
vulcandth 47c19fd588 Document fix about AI item pointer overflowing (pret/pokecrystal#1066)
Co-Authored-By: Idain <54337884+Idain@users.noreply.github.com>
2023-08-10 17:26:32 -05:00
SnorlaxMonster a4aa97213d Rename BATTLETYPE_SHINY to BATTLETYPE_FORCESHINY (pret/pokecrystal#1058)
* Rename BATTLETYPE_SHINY to BATTLETYPE_FORCED_SHINY

The name BATTLETYPE_SHINY gave the impression that it applied to all
battles with Shiny Pokémon, rather than merely battles with forced
Shiny Pokémon (i.e. Red Gyarados only).

* Rename to BATTLETYPE_FORCESHINY

Align name of BATTLETYPE with BATTLETYPE_FORCEITEM

---------

Co-authored-by: SnorlaxMonster <snorlaxmonster@users.noreply.github.com>
2023-07-27 10:53:25 -05:00
Idain 63d552f6e5 Replace magic numbers with TILE_WIDTH (pret/pokecrystal#1056)
* Replace magic numbers with TILE_WIDTH

* Address more instances
2023-07-27 10:51:54 -05:00
SatoMew f78c622e62 Port pokered's comments about NullChar (#110) 2023-07-26 20:03:05 -05:00
vulcandth 13b703511b Use BattleAnim_Dummy in data/moves/animations.asm (pret/pokecrystal#1052) 2023-07-18 16:24:23 -05:00
vulcandth 3edd4eb48d Rename PAL_NPC_SILVER to PAL_NPC_EMOTE (pret/pokecrystal#1053) 2023-06-01 12:54:49 +00:00
Idain be7c950f05 Use NO_INPUT instead of magic number (pret/pokecrystal#1051)
This is for the Virtual Console builds, where it disables the print functions of Unown and Mail.
2023-05-28 09:17:03 -05:00
mid-kid b926758efb Fix tools/free_space.awk for new rgbds (pret/pokecrystal#1049) 2023-05-17 15:55:33 +00:00
Idain dc77fcf2c7 Fix macro definitiosn for unused commands 2023-05-08 01:11:57 +02:00
mid-kid d8512cd864 Use time capsule label for time capsule copies 2023-04-19 19:11:32 +02:00
mid-kid d04f895040 Use more appropriate labels for link operations 2023-04-19 19:11:26 +02:00
mid-kid 4cd953c1e5 Define SERIAL_PATCH_PREAMBLE_LENGTH
Crystal: 86cc644b970eecfb616b858ad8b697f9a09f57eb
2023-04-19 19:11:15 +02:00
mid-kid 5801a30424 Label wOTLinkBattleRNData 2023-04-19 19:09:40 +02:00
mid-kid 7050425c82 Document link patch lists a little bit better
Crystal: c8738a3aaecacd1ceec96bc6ccd80592f44de0fc
2023-04-19 19:09:25 +02:00
mid-kid f69fc68d0a Unionize wSwitchMonBuffer 2023-04-19 19:08:40 +02:00
mid-kid 4d20b8420c Make wMysteryGift*GameVersion constants consistent
Crystal: c244ec5a15981b890afa2d2ddef1fc77a226766c
2023-04-19 19:08:30 +02:00
mid-kid bbc7261da2 IsMailEuropean → ParseMailLanguage (and give it constants)
Crystal: c012a77e83b2a2efa7ade90b18a5a10d57900327
2023-04-19 19:06:48 +02:00
vulcandth a35583d1c6 Update EndBug to v9. 2023-04-01 14:00:24 -05:00
vulcandth d36f220b90 Relabel some map_object struct fields 2023-01-03 22:15:15 -06:00
Daniel Harding 84010d5398 Ensure linked songs are in the same bank 2022-12-29 14:08:43 +00:00
Rangi 353d299e4f Merge branch 'master' of https://github.com/pret/pokegold 2022-12-27 18:36:38 -05:00
Rangi 368ab134fe Use rgbgfx -c embedded to extract palettes
Fixes #107
2022-12-27 18:35:10 -05:00
vulcandth 6bfb25b9e6 Add table assert DoBattleAnimFrame.Jumptable 2022-12-23 18:50:37 -06:00
Rangi 7c40ff3a9d Use rgbds 0.6.1 (0.6.0 also still works) 2022-12-03 11:11:17 -05:00
Rangi 43cd2b7f32 Only patch Stadium data for a 2MB ROM 2022-12-03 11:10:52 -05:00
vulcandth ab45a2728e Bug: PRZ and BRN stat reductions don't apply to switched Pokémon
Co-Authored-By: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-12-01 18:50:18 -06:00
vulcandth b82653d62c TrainerWalkToPlayer should reference wSeenTrainerDistance (#1020) 2022-11-22 20:05:59 -06:00
vulcandth a769f6f9ca .CheckNPC label and comment correction 2022-11-09 14:00:58 +01:00
mid-kid 5cfb3a9692 Make sure tools are built before dependencies are generated
Avoids calling a program that doesn't exist yet (not actively harmful,
but yeah...)
2022-10-25 17:59:33 +02:00
mid-kid bba69f2818 Fix preinclude dependencies 2022-10-25 17:58:05 +02:00
Idain 263f7833b4 Fix Spelling Typos in engine/battle_anims/functions.asm 2022-10-16 23:16:38 -05:00
Rangi 24c830eed4 Fix LodePNG to avoid -Wcast-qual warnings
<https://github.com/lvandeve/lodepng/issues/160>
2022-10-14 16:17:54 -04:00
Rangi db4741fee7 Revise macros in tools 2022-10-12 21:42:59 -04:00
Rangi 16d88ae356 Revise constants in CheckShininess 2022-10-12 21:41:07 -04:00
Rangi 9cfa9e83f6 Update tools/unnamed.py for rgbds 0.6.0 object files 2022-10-02 22:34:08 -04:00
Rangi 42ba9bbbe1 Require rgbds 0.6.0 2022-10-02 21:52:02 -04:00
Rangi 52af53f650 startswith works with a tuple 2022-09-30 17:00:51 -04:00
Rangi fa90aca18e Refactor stadium.c to match pokecrystal
Fixes #106
2022-09-30 17:00:43 -04:00
Idain c9a8d2f5cf Replace hardcoded wMonType constants (#1011) 2022-09-28 19:52:27 -05:00
Rangi b1aba8ab58 More tools/stadium.c refactoring 2022-09-27 17:43:10 -04:00
Rangi 183412025c Reorganize the tools/stadium.c code 2022-09-27 17:12:10 -04:00
Rangi 5ae0bfb414 $f -> BATTLEACTION_FORFEIT
(thanks, Vulcandth)
2022-09-23 23:11:07 -04:00
Rangi be34ff7c09 Dance Theatre -> Dance Theater 2022-09-23 22:17:03 -04:00
Idain 562041b4a2 TYPO: NUM_MOVE_EFECTS > NUM_MOVE_EFFECTS (#1009) 2022-09-21 22:03:43 -05:00
Rangi 6fd3bc512b Fix tools/unnamed.py and add tools/consts.py 2022-09-18 23:59:06 -04:00
Rangi bcebc88b0f Update and add more tool scripts 2022-09-18 23:17:31 -04:00
Rangi bdb6ae85e0 Rename the object_struct field labels and constants (#105) 2022-09-12 09:15:49 -04:00
vulcandth 535e97723a Rename macros/wram.asm to macros/ram.asm (#104) 2022-09-11 01:05:06 -04:00
Rangi 0bccfa1cd1 Use for loops to generate box pointer tables 2022-09-10 13:58:48 -04:00
Rangi dbd1e95ad2 Link to the symbols branch 2022-09-10 13:52:15 -04:00