Martin Griffin
509ff4c7e0
Generic TEST that executes a function
2023-03-15 13:28:46 +00:00
Martin Griffin
afe09e9653
Test Dragon Tail
...
Remove the "But it failed!" message if the foe cannot be switched.
2023-02-21 10:43:57 +00:00
Martin Griffin
666e59b37f
Test Roar
...
The original implementation of forcerandomswitch was biased towards
certain party members.
2023-02-21 10:43:57 +00:00
Martin Griffin
2eb6401d52
Test Overgrow, Swarm and Torrent
2023-02-21 10:43:57 +00:00
Martin Griffin
0573aa455a
Introduce macros to parse battle script arguments
...
CMD_ARGS for regular commands, VARIOUS_ARGS for various commands, and
NATIVE_ARGS for callnative commands.
2023-02-17 10:05:57 +00:00
Martin Griffin
f933ad3183
Build patchelf and hydra only for check
2023-02-10 18:06:15 +01:00
Martin Griffin
074f1b544e
Use variable in patchelf invocation
2023-02-09 23:29:14 +01:00
Martin Griffin and sbird
f1b9872bf0
Test moves, items, and abilities in battle
...
Thank you to SBird for providing mgba-rom-test binaries and Spikes/Toxic
Spikes tests!
Co-authored-by: sbird <sbird@no.tld >
2023-02-01 13:53:57 +00:00
Martin Griffin
c11774acb8
Decap gStatNamesTable, Spikes, Sturdy, and Torment
2023-02-01 13:53:57 +00:00
Martin Griffin
bdb04da9a5
Refactor battle animations
2023-01-28 00:16:25 +00:00
Martin Griffin
cba4b78df6
Move-based mega evolution message for NPCs/recorded battles
2023-01-28 00:16:24 +00:00
Martin Griffin
4e19d1aaec
Fix uses of gBattlescriptCurrInstr
...
- VARIOUS_SWAP_STATS and moveend could branch inside their own arguments.
- VARIOUS_JUMP_IF_LAST_USED_ITEM_BERRY was implemented in reverse.
2023-01-27 21:27:57 +00:00
Martin Griffin
4ad4d8e25c
Encore fails if target has not moved
2023-01-27 18:55:50 +00:00
Martin Griffin
6a403ab45c
Pastel Veil grants immunity to poison
2023-01-27 00:57:24 +00:00
Martin Griffin
3647825a30
Fix Poison Point
...
It incorrectly activated only if the Pokémon with Poison Point could be
poisoned by the attacker.
2023-01-27 00:57:24 +00:00
Martin Griffin
a13ffdbfba
U-turn does not switch the user out if Emergency Exit activates
2023-01-27 00:57:22 +00:00
Martin Griffin
632ec92475
Minor Roost changes
...
- Fix 'mon with Flying in type3 but not type1 or type2 is set to
uninitialized roostTypes.
- Remove unread third roostTypes element.
- Option for Gen IV pure-Flying behavior.
2022-12-21 14:52:01 +00:00
Martin Griffin
682c59869b
Cleanup HandleTerrainMove
2022-12-20 21:28:54 +00:00
Martin Griffin
f4a2040843
Options menu: cleanup
2022-08-22 08:38:06 +01:00
Martin Griffin
2aa821176b
Options menu: sort #includes
2022-08-21 15:06:05 +01:00
Martin Griffin
ba6d4866e4
Options menu: standardize task data
2022-08-21 15:05:57 +01:00
Martin Griffin
d57442a511
Decimal paletteNums
2022-08-19 17:05:22 +01:00
Martin Griffin
5719a7f7bc
Use static inline instead of extern inline for modern
2022-08-19 15:47:50 +01:00
Martin Griffin
6fed961ed6
Write palette IDs in hex
2022-08-19 15:29:35 +01:00
Martin Griffin
c5b30b7f21
Wildcards in ld_script.txt
...
Allows hacks to introduce new files and variables without needing to
change ld_script.txt similar to ld_script_modern.txt.
2022-08-15 12:25:16 +01:00
Martin Griffin
2380d13a43
Macros for keeping .partyFlags, .partySize, and .party in sync
2022-07-27 23:25:37 +01:00
Martin Griffin
c9958e3087
Simplify GetBattleTransitionTypeByMap
2022-07-05 14:17:46 +01:00
Martin Griffin
4e76ffb4ca
Identify a % 16
2022-07-04 21:25:19 +01:00
Martin Griffin
1cc59acca9
Static assertion for size of save structs
2022-05-25 19:48:42 +01:00