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
..
2024-04-27 19:35:42 +02:00
2022-08-11 12:09:38 -04:00
2023-11-24 16:19:32 +01:00
2019-12-05 21:11:17 -06:00
2020-01-07 22:30:37 -05:00
2024-06-22 22:25:40 +02:00
2024-05-19 10:14:31 +02:00
2023-02-01 11:48:55 -05:00
2024-06-08 09:49:28 +02:00
2024-05-31 12:10:03 +02:00
2021-04-06 16:55:43 -04:00
2020-07-30 19:37:16 -04:00
2018-05-01 15:19:24 -04:00
2019-11-21 14:03:35 -05:00
2024-05-27 09:31:06 -04:00
2019-10-13 15:29:53 -04:00
2019-12-15 11:42:50 -05:00
2021-02-08 14:45:56 -05:00
2020-04-28 19:59:08 -05:00
2023-01-18 11:54:06 -05:00
2019-10-21 17:21:53 -05:00
2024-04-06 15:05:15 -03:00
2022-11-22 02:17:03 -05:00
2023-12-20 12:38:28 +01:00
2023-01-28 09:03:18 -05:00
2020-07-30 19:37:16 -04:00
2021-02-05 12:08:25 -05:00
2021-11-10 11:59:15 -05:00
2024-06-18 10:45:55 +02:00
2020-04-28 19:59:08 -05:00
2023-08-04 14:17:28 -04:00
2024-04-16 22:53:50 +02:00