Commit Graph

117 Commits

Author SHA1 Message Date
Eduardo Quezada D'Ottone
220b60f315
Detect memory leaks in tests (#2698) 2023-05-06 21:22:47 -04:00
Eduardo Quezada D'Ottone
c530eb2445
Add mirror herb (#2873) 2023-05-06 21:20:37 -04:00
Eduardo Quezada D'Ottone
42445512ad
Battle Item Tests + critical fixes + new test macro (#2940) 2023-05-06 20:43:32 -04:00
CallmeEchoo
7e7384ee02 tiny test doc fix 2023-05-06 19:12:49 +02:00
Alex
dd43d62a12
Fixes Triple Dive effect (#2947) 2023-05-02 15:06:21 -04:00
Shae
ae2d5f7d1e
Weather related Ability tests, fix for Leaf Guard not preventing Rest. (#2957) 2023-05-02 14:08:05 -04:00
ghoulslash
63c2e8a7d9 small mirror herb test synta fix 2023-05-01 18:02:21 -04:00
ghoulslash
3652e8261a
Apply suggestions from code review
Co-authored-by: Salem <65783283+CallmeEchoo@users.noreply.github.com>
2023-05-01 15:09:20 -06:00
ghoulslash
bdd0195fe0 add mirror herb tests 2023-05-01 17:00:37 -04:00
CallmeEchoo
15ce9eb71c fix dire hit message mismatch 2023-05-01 18:53:06 +02:00
ghoulslash
8cce130643
Add Frostbite status (#2942) 2023-05-01 09:45:47 -04:00
CallmeEchoo
772c50408c remove identifier strings
no longer needed since testing is done.
2023-04-30 23:22:51 +02:00
CallmeEchoo
47cd903fde update dire hit failing comment 2023-04-30 18:02:41 +02:00
Alex
2d6282fece
Fix for Burn Up/Double Shock (#2962) 2023-04-30 10:46:21 -04:00
ghoulslash
62ca66bc6b
Refactoring Battle Form changes into the form change tables (#2411) 2023-04-30 08:41:54 -04:00
Alex
0cbb80dda7
Fix grassy terrain freezing the game (#2959) 2023-04-28 08:58:43 -04:00
Alex
bfcddff3ca correct first test 2023-04-28 12:47:30 +02:00
Alex
a98da30ec7 frostbite tests 2023-04-28 12:38:34 +02:00
Bassoonian
c279830892 Merge branch 'upcoming' of https://github.com/rh-hideout/pokeemerald-expansion into formbattlechangecontribution 2023-04-27 10:50:32 +02:00
CallmeEchoo
a5d39155c6 add Max Mushroom test 2023-04-26 14:15:35 +02:00
CallmeEchoo
a2809acfd1 fix gChosenMovePos not being assigned correctly for battle items
thanks griffin <3

Co-Authored-By: Martin Griffin <838573+mrgriffin@users.noreply.github.com>
2023-04-26 01:02:47 +02:00
CallmeEchoo
9f2589e159 better usage of THEN over FINALLY 2023-04-25 23:06:07 +02:00
CallmeEchoo
d3e9a689fd restore pp item tests 2023-04-25 21:26:19 +02:00
Salem
78c4d07b23
Add Berserk Gene Item (#2893)
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
2023-04-25 15:03:57 -04:00
CallmeEchoo
08ec873ef2 update MoveWithPP macro to use struct 2023-04-25 20:35:36 +02:00
CallmeEchoo
7fad0a2dbc add MovesWithPP macro to allow for setting pps in tests 2023-04-25 19:45:35 +02:00
CallmeEchoo
60e048b83e more robust status cure tests 2023-04-25 13:44:16 +02:00
CallmeEchoo
59666a1eb4 heal powder test 2023-04-24 22:36:58 +02:00
CallmeEchoo
f74a1b0766 fix strings after update 2023-04-24 22:26:56 +02:00
CallmeEchoo
c4497bc0a8 revive tests 2023-04-24 14:16:17 +02:00
CallmeEchoo
0b66cf01ec remove no longer needed variable 2023-04-24 14:15:43 +02:00
CallmeEchoo
1b6bb3e9eb make the test fail intentionally 2023-04-22 17:53:37 +02:00
CallmeEchoo
18ac81174d Dire Hit test
currently known failing, bc of weird bug. see comment.
2023-04-22 17:41:19 +02:00
CallmeEchoo
727f1ac37c guard spec test 2023-04-22 15:04:40 +02:00
CallmeEchoo
42215c94e7 actually working restore hp tests 2023-04-22 02:39:46 +02:00
CallmeEchoo
929e4749da temporarily rename test string for easier test runs 2023-04-22 02:34:50 +02:00
CallmeEchoo
ff609f2761 healing items tests 2023-04-21 22:51:33 +02:00
CallmeEchoo
4bad450ecf Full Restore confusion test
PLS READ COMMENT THIS IS KNOWN_FAILING
2023-04-21 21:57:00 +02:00
CallmeEchoo
cbac6d0e87 Full Restore test 2023-04-21 20:57:30 +02:00
CallmeEchoo
b4aee00432 replace pokemon with battler in string 2023-04-21 20:57:19 +02:00
CallmeEchoo
1cc28c89ef X item tests 2023-04-21 20:36:41 +02:00
CallmeEchoo
94cb569c47 local specialties tests 2023-04-21 10:25:58 +02:00
CallmeEchoo
e1e8277fba batch 1 2023-04-21 00:29:58 +02:00
Martin Griffin
c81a985b5b Fix USE_ITEM explicit targets 2023-04-20 21:45:16 +01:00
Martin Griffin
76f02774ea Detect memory leaks in tests
Can use KNOWN_LEAKING; to specify that a test is known to leak memory.

The location information is available in regular game builds. Thus it is
available for use in debugging leaks in-game too. In the future we
should consider replacing it with NULL if NDEBUG is defined. This is not
currently possible because the tests do not force NDEBUG to be
undefined.
2023-04-20 20:35:22 +01:00
Alex
76d0d8a94e
Fix battle message strings for stats (#2927)
* Fix battle message strings for stats
2023-04-18 22:02:51 +01:00
AgustinGDLV
2eabcea86e
Battle Item Refactor (#2902)
* items that can be used in battle now use battlescripts
* removed ExecuteTableBasedItemEffect_
* taught AI how to use items, removed AI_itemtype/flag
* X-Items store stages raised in holdEffectParam
* USE_ITEM in tests
2023-04-14 19:25:50 +01:00
Eduardo Quezada
11beec62ee Merge branch 'RHH/upcoming' into RHH/pr/feature/formBattleChange
# Conflicts:
#	src/data/pokemon/evolution.h
#	src/field_poison.c
2023-04-14 11:31:02 -04:00
AgustinGDLV
86242c1c70
MOVE_REVIVAL_BLESSING Effect (#2883)
* implemented Revival Blessing
2023-04-12 01:14:25 +01:00
Eduardo Quezada D'Ottone
5c1efe9419
RandomElement for structured RNG (#2868) 2023-04-09 21:20:04 -04:00