Commit Graph

189 Commits

Author SHA1 Message Date
FosterProgramming
976e642137
Fix partner difficulty and rework tests (#9419) 2026-03-13 07:49:23 -07:00
Eduardo Quezada
4a4a72f9fb
Added enum BattlerId type checks (#8954) 2026-01-28 09:32:03 +01:00
Bassoonian
61f8a50751
Add even more type checking (#8972) 2026-01-21 12:56:13 +01:00
FosterProgramming
8d059cf5c4
Change randomweightedarray to use u16 weights instead of u8 (#8934) 2026-01-18 10:24:49 +01:00
Eduardo Quezada
258cc08533
GetBattleTrainer -> GetBattlerTrainer (#8952) 2026-01-18 09:08:33 +01:00
Bassoonian
36fcd9c6b2
Adds `Item` enum (#8897) 2026-01-17 02:26:09 -08:00
grintoul
8c4fa6e71d
Refactor multi test system trainer party allocation and adds enum BattleTrainer (#8908) 2026-01-14 23:33:24 +01:00
Bassoonian
786c3d948f
Battle file cleanup & documentation (#8903) 2026-01-14 12:17:21 +01:00
Alex
bb41e5622c
Refactor move target failure (#8696)
Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
2026-01-13 15:13:38 -08:00
Meister-anon
6aaf5d43dc
cleanup GetMon Null Data Instances (#8867)
Co-authored-by: Meister-anon <user@DESKTOP-TQ65PS9>
2026-01-11 22:03:10 +01:00
FosterProgramming
8ad0451914
Capture odds refactor and new catch rate modifiers (#8682)
Co-authored-by: kittenchilly <mario.pikmin.zelda@gmail.com>
2026-01-11 09:52:38 +01:00
FosterProgramming
1dcfe54b59
Refactor mon generation (#8204)
Co-authored-by: psf <77138753+pkmnsnfrn@users.noreply.github.com>
2026-01-04 20:01:59 -08:00
Bassoonian
3755e51a24
Move enum (#8739) 2026-01-03 17:43:48 +01:00
AlexOn1ine
a1948b7c40 01/01/26 Master to upcoming merge 2026-01-01 10:24:19 +01:00
grintoul
a71fc91484
Trainer slides for multiple trainers and multibattles (#7588)
Co-authored-by: hedara90 <90hedara@gmail.com>
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-30 20:28:53 +00:00
Alex
5774dde7ae
Adds smart target type (#8639) 2025-12-30 19:16:03 +01:00
grintoul
6e9f8998b4
Adds EXPECT_FAIL macro to test system to allow for testing of conditions correctly triggering failures (#8553) 2025-12-28 11:21:02 +01:00
grintoul
c27f770db9
Tie Break failsafe correction (#8596)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: hedara90 <90hedara@gmail.com>
2025-12-23 14:08:18 +01:00
grintoul
d55d2b6dfc
Corrects test system Forced Ability handing for multi battles (#8611)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-12-22 10:11:21 +01:00
Hedara
e4ae9317c9 Merge branch 'master' into master-to-upcoming
Manual fixes to Lunar Dance handling

 Conflicts:
	include/battle_util.h
	src/battle_ai_main.c
	src/battle_ai_switch.c
	src/battle_ai_util.c
	src/battle_end_turn.c
	src/battle_script_commands.c
	src/battle_util.c
	test/battle/ai/ai_doubles.c
	test/battle/move_effect/snatch.c
	test/battle/spread_moves.c
2025-12-19 15:31:37 +01:00
Alex
71a1967b7b
Move target type refactor (#8513) 2025-12-18 13:12:41 +01:00
Martin Griffin
35255475cb Use assertf to detect errors 2025-12-17 18:52:02 +00:00
hedara90
ec1a283b1b
Add SUB_HIT check to tests (#8413)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-12-16 19:19:34 +01:00
Eduardo Quezada
08a5a319bd
Fix Lunar Dance not checking PP (#8364) 2025-12-14 12:47:01 +01:00
Moos Toet
efbbd4130f reviewer feedback + additional tests 2025-12-13 16:53:09 +01:00
Moos Toet
fc2242cd68 Merge remote-tracking branch 'upstream/upcoming' into feat/8245-traps-starting-statuses 2025-12-11 23:04:07 +01:00
Moos Toet
c5b00cc02a feat: implement logic with new code 2025-12-11 22:52:02 +01:00
AlexOn1ine
23cefec579 08/12/25 master to upcoming merge 2025-12-08 18:15:19 +01:00
grintoul
b58787f966
Adds TIE_BREAK_SCORE and TIE_BREAK_TARGET to test system to allow for forced or random move and target selection (#8398) 2025-12-07 16:58:10 -05:00
Jamie Foster
25f1f0a2be Fix random function in testing trying to run trials when rng tag is 0/RNG_NONE 2025-12-07 16:45:18 +01:00
grintoul
2e6f941fdf
Decouples BattlerHasAi from battle positions to instead be determined by battler Battle Controller (#8247)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-05 00:26:28 +01:00
Eduardo Quezada
115694675f
Renamed Config Test system to more general names (#7283) 2025-12-02 11:26:44 -05:00
FosterProgramming
2a16b94a13
Allow x items to be cross-used in double battles (#8280) 2025-12-01 14:46:03 +01:00
FosterProgramming
44d4e0c1de
Refactor random functions to be runner specific (#7816) 2025-11-11 20:48:41 +00:00
grintoul1
c230e54678 Master to Upcoming merge 20251107 2025-11-07 22:45:57 +00:00
grintoul1
c981fb3b2e Fixes difficulty not being restored after tests 2025-11-03 18:34:54 +00:00
FosterProgramming
fd07daf0d8
Fix nature power string and add support for evnvironment in tests (#8068)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-10-28 19:23:16 +01:00
Bassoonian
f7cbe4853b
Add type enum (#8054)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-10-27 16:41:22 +00:00
AlexOn1ine
6acabd4ba2 Master to upcoming merge 2025-10-25 16:19:32 +02:00
Bassoonian
be23dfdf2a
Even more enums and documentation (#8029) 2025-10-25 14:37:47 +02:00
grintoul
95c2a6e2b6
Multibattle testing system (#7257)
Co-authored-by: hedara90 <90hedara@gmail.com>
Co-authored-by: Martin Griffin <martinrgriffin@gmail.com>
2025-10-24 15:00:23 +02:00
Bassoonian
fbd702e3a4
Some more documentation and cleanup (#8020) 2025-10-23 20:14:38 +02:00
FosterProgramming
5b4403ddfe
Fix stats defined in tests being overwritteng by stat change (#8018)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-10-23 18:59:15 +02:00
Alex
eee546df06
Item battle effect refactor (#7857) 2025-10-12 08:59:33 +02:00
khbsd
e385c7f59f
feat: change defines in constants/abilities.h to an enum (#7006)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-09-29 21:35:09 +02:00
AlexOn1ine
a4470cac2c Master to upcoming merge 2025-09-27 22:42:53 +02:00
FosterProgramming
1d11a2cb0a
Improve how test involving ball throw work (#7774) 2025-09-22 20:44:12 +02:00
FosterProgramming
db7e062fe1
Add some missing move animations to the move animation tests (#7507) 2025-09-21 23:27:05 +02:00
AlexOn1ine
bc84e6656d Master to upcoming merge 2025-09-17 20:18:51 +02:00
Eduardo Quezada
deaf77f619
Fix most failed and assume fail tests with GEN_LATEST = GEN_6 (#7696) 2025-09-14 20:21:38 +02:00