sovereignx/test/battle/trainer_control.h
AgustinGDLV 9797640dff
Gimmick Refactor (#4449)
* consolidated gimmick checks, triggers, communication, and activation; updated test runner

* fixed improper use of .usableGimmick

* cleaning up battle_dynamax.c, changing function args to u32s

* fixed '#ifdef TESTING' causing errors

* updated z-moves to use gimmick interface, pared down redundancies; no AI/tests

* added support for z-moves in tests, consolidated gimmick fields

* removed ShouldUseMaxMove and .usingMaxMove

* renamed TryChangeZIndicator, updated z move display

* added several z-move tests and fixed various z-move interactions; fixed z-move category calc

* fixed useless battler arg in GetTypeBasedZMove

* added basic test check for bad Z-Move or Mega usage

* reworked test runner gimmick functionality; added support for Ultra Burst + Z-Move to test Light That Burns the Sky

* fixed gimmick test logic; fixed damage category override

* fixed mega rayquaza test fail

* consolidated gimmick indicator logic; added graphics to gGimmicksInfo

* removed TeraData struct

* reimplemented AI logic for Z-Moves; no changes

* updated Z-Move and Ultra Burst trigger gfx

* added testrunner check for multiple gimmick use

* fixed duplicate z-move call in test

* reorganized data/graphics/gimmicks.h

* added signature Z-Move ability tests; implemented Guardian of Alola

* fixed bad test update

* fixed Thousand Arrows not affecting Tera Flying; clean-up

* fixed -ate tests

* fixed tera tests

* fixed tera tests really

* fixed last batch of tests

* fixed -ate mega test again

* code review

* code review pt.2

* tweaked CanTera again

* dynamax flag only required for player
2024-06-22 22:25:40 +02:00

89 lines
2.2 KiB
C

//
// DO NOT MODIFY THIS FILE! It is auto-generated from test/battle/trainer_control.party
//
// If you want to modify this file set COMPETITIVE_PARTY_SYNTAX to FALSE
// in include/config.h and remove this notice.
// Use sed -i '/^#line/d' 'test/battle/trainer_control.h' to remove #line markers.
//
#line 1 "test/battle/trainer_control.party"
#line 1
[0] =
{
#line 2
.trainerName = _("Test1"),
#line 3
.trainerClass = TRAINER_CLASS_PKMN_TRAINER_1,
#line 4
.trainerPic = TRAINER_PIC_RED,
.encounterMusic_gender =
#line 6
TRAINER_ENCOUNTER_MUSIC_MALE,
#line 7
.doubleBattle = FALSE,
.partySize = 3,
.party = (const struct TrainerMon[])
{
{
#line 9
.nickname = COMPOUND_STRING("Bubbles"),
#line 9
.species = SPECIES_WOBBUFFET,
#line 9
.gender = TRAINER_MON_FEMALE,
#line 9
.heldItem = ITEM_ASSAULT_VEST,
#line 14
.ev = TRAINER_PARTY_EVS(252, 0, 0, 252, 4, 0),
#line 13
.iv = TRAINER_PARTY_IVS(25, 26, 27, 28, 29, 30),
#line 12
.ability = ABILITY_TELEPATHY,
#line 11
.lvl = 67,
#line 17
.ball = ITEM_MASTER_BALL,
#line 15
.friendship = 42,
#line 10
.nature = NATURE_HASTY,
#line 16
.isShiny = TRUE,
#line 18
.dynamaxLevel = 5,
.useGimmick = GIMMICK_DYNAMAX,
.moves = {
#line 19
MOVE_AIR_SLASH,
MOVE_BARRIER,
MOVE_SOLAR_BEAM,
MOVE_EXPLOSION,
},
},
{
#line 24
.species = SPECIES_WOBBUFFET,
.gender = TRAINER_MON_RANDOM_GENDER,
#line 27
.iv = TRAINER_PARTY_IVS(0, 0, 0, 0, 0, 0),
#line 26
.ability = ABILITY_SHADOW_TAG,
#line 25
.lvl = 5,
.nature = NATURE_HARDY,
.dynamaxLevel = MAX_DYNAMAX_LEVEL,
},
{
#line 29
.species = SPECIES_WYNAUT,
.gender = TRAINER_MON_RANDOM_GENDER,
#line 31
.iv = TRAINER_PARTY_IVS(0, 0, 0, 0, 0, 0),
#line 30
.lvl = 5,
.nature = NATURE_HARDY,
.dynamaxLevel = MAX_DYNAMAX_LEVEL,
},
},
},