Commit graph

12573 commits

Author SHA1 Message Date
Martin Griffin
35952cf7ad Clamp RandomPercentage to 0...100 2023-04-05 13:07:02 +01:00
Eduardo Quezada D'Ottone
5fe79d83c1
Fix CalcMoveBasePower using battler addresses (#2858) 2023-04-03 23:27:36 -04:00
Eduardo Quezada D'Ottone
0e6adece89
Properly align Pokémon icons up to gen V (#2879) 2023-04-03 23:26:42 -04:00
AgustinGDLV
d9ab2d1976 combined TerrainSeed and TerrainAbility loops + added terrain tests 2023-04-03 18:53:34 -07:00
AgustinGDLV
f292fefca3 fixed bad switchinabilities call in TerrainSeedLoop 2023-04-03 09:18:47 -07:00
LOuroboros
318b1ce4a2 Added empty line at the end of test/move_effect_triple_arrows.c
Compilers on Unix-based systems hate it when a file doesn't end with an empty line.
2023-04-02 05:31:22 -03:00
psf
48f90a7155
Update explanation in include/config/battle.h
Changed the comment in include/config/battle.h per PR comment: https://github.com/rh-hideout/pokeemerald-expansion/pull/2878#discussion_r1154322931

Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
2023-04-01 14:12:50 -07:00
Jaizu
53d837ee62 Fix gen v icons 2023-04-01 08:20:20 +02:00
Jaizu
90d33cd7a0 Fix gen 4 icons 2023-04-01 08:20:13 +02:00
Jaizu
01a12d81c7 Fix gen 3 icons 2023-04-01 08:20:06 +02:00
Jaizu
9a8f120e1d Fix gen 2 icons 2023-04-01 08:19:58 +02:00
Jaizu
5f3070e528 Forgot to fix Venusaur 2023-04-01 08:19:50 +02:00
Jaizu
83ef5a229d Center gen 1 pokémon icons 2023-04-01 08:19:38 +02:00
GriffinR
57396026b2 Replace NUM_TEXT_PRINTERS with WINDOWS_MAX 2023-03-31 14:57:51 -04:00
GriffinR
4b859ff1e4 Use tilemap file for cable car pylons 2023-03-31 00:44:22 -04:00
pkmnsnfrn
6a7466c929 Added B_DOUBLE_WILD_REQUIRE_2_MONS to allow use of B_DOUBLE_WILD_CHANCE even when there is only one Pokémon in the party 2023-03-29 11:11:07 -07:00
LOuroboros
a59ecf8261
Merge pull request #21 from AlexOn1ine/gen9_move_tests_batch2
Tests for gen9 moves batch2
2023-03-29 08:15:39 -03:00
Alex
8c4396ddaf Gen9 move tests batch2 2023-03-29 13:01:20 +02:00
LOuroboros
977a55bdee Merge branch 'upcoming' of https://github.com/rh-hideout/pokeemerald-expansion into gen_9_move_effects_batch2 2023-03-29 07:40:16 -03:00
LOuroboros
5bde98741a Completed Take Heart's effect
It was missing its "heals any status condition" effect because I'm dumb and I forgot to actually go and do it.
2023-03-29 00:23:46 -03:00
ghoulslash
10ef3e8348 style fixes 2023-03-28 10:58:44 -04:00
ghoulslash
00d695ac2b add AI_FLAG_OMNISCIENT 2023-03-28 10:38:48 -04:00
LOuroboros
ed9e860400 Post cherrypick corrections and improvements
-Made BattleScript_EffectTakeHeart use modifybattlerstatstage
-Optimized usage of BattleScript_EffectInfernalParade
-Tweaked the way in which Triple Arrows' increased crit. hit chance is handled
-Optimized syntax for case MOVE_EFFECT_TRIPLE_ARROWS in SetMoveEffect
-Optimized case EFFECT_INFERNAL_PARADE in CalcMoveBasePower
 -Infernal Parade is not known to interact with Comatose, so Eduardo and I will extrapolate that here
-Added AI conditionals for some of the effects
-Made Triage notice Jungle Healing and moves that use its effect
2023-03-28 10:08:52 -03:00
ghoulslash
dd99cb6da8
Fixed instances of gSideTimers not using side constants (#2867) 2023-03-27 21:48:50 -04:00
Eduardo Quezada D'Ottone
fa245c6edf
fix GetBattleAnimMoveTargets for non-player gBattleAnimAttacker (#2848) 2023-03-27 18:11:22 -03:00
Martin Griffin
7b306b6147 RandomElement for structured RNG
Converts Tri Attack and Dire Claw to use structured RNG.
2023-03-27 18:50:18 +01:00
Eduardo Quezada
f6a924a791 Fixed instances of gSideTimers not using side constants 2023-03-27 11:49:50 -03:00
Eduardo Quezada
028aba3fdb Merge branch 'RHH/upcoming' into RHH/pr/fix/AiComatose 2023-03-27 11:44:01 -03:00
Eduardo Quezada D'Ottone
226ce49e77
Added KNOWN_FAILING to Dire Claw and Tri Attack's force-bruted RNG failing tests (#2865)
Emergency powers, activate!
2023-03-27 11:42:13 -03:00
Eduardo Quezada
2fba07c501 Added KNOWN_FAILING to Dire Claw and Tri Attack's force-bruted RNG failing tests 2023-03-27 11:30:38 -03:00
Eduardo Quezada
0b8285737a Fixed Comatose AI checks 2023-03-27 09:19:48 -03:00
ghoulslash
8d8819b797
Adds missing cases for 'Everything Customized' (#2862) 2023-03-26 21:02:46 -04:00
LOuroboros
000077f671 Implemented Axe Kick's effect 2023-03-26 20:05:30 -03:00
LOuroboros
8ae57dc912 Implemented Take Heart's effect 2023-03-26 20:05:13 -03:00
LOuroboros
d2a221eb85 Corrected Lunar Blessing's data 2023-03-26 20:04:56 -03:00
LOuroboros
05a34edb7d Implemented Infernal Parade's effect 2023-03-26 20:04:55 -03:00
LOuroboros
1595a66559 Implemented Triple Arrows' effect 2023-03-26 20:04:36 -03:00
ghoulslash
6574e01e73
Gen. 9 Move Effects, 1st batch (#2534) 2023-03-26 16:20:47 -04:00
ghoulslash
d2d2e05a62
Fixed Grassy Terrain not healing + Added To-Do test results (#2857) 2023-03-26 15:18:42 -04:00
Alex
4b43f3eb9d add cases for everything customized 2023-03-26 21:10:51 +02:00
Eduardo Quezada
32b2c01619 Merge branch 'RHH/upcoming' into RHH/pr/fix/GassyTerrain
# Conflicts:
#	test/test.h
2023-03-26 16:06:04 -03:00
ghoulslash
dc63d096f2
add check for Gorilla Tactics when resetting choicedMove from knock off (#2854) 2023-03-26 15:03:56 -04:00
ghoulslash
dc9f0b5107
Implement Customizable NPC Trainer Parties (#2733) 2023-03-26 09:32:51 -04:00
ghoulslash
5d71afd1c0
Add Gen IX items (#2838) 2023-03-26 07:29:14 -04:00
ghoulslash
a0b95ae27e
Fix Intimidate targetting dead sides and false postpones (#2850) 2023-03-26 07:27:14 -04:00
sbird
aea5d79aa2 [trainer_parties] implement fully customizable npc trainer parties
fix nature related bug, fix hash generation, add tests
2023-03-25 20:00:04 +01:00
sbird
b9447f88fc fix compound eyes ohko test 2023-03-24 16:37:52 +01:00
ghoulslash
2c3db74702 fix base power calcs using battler addresses 2023-03-24 10:36:10 -04:00
Philipp AUER
4928911cd0
Speed up PASSES_RANDOMLY via structured RNG (#2720) 2023-03-24 15:16:29 +01:00
ghoulslash
dca6182ed2
remove assist array from battle struct (#2816) 2023-03-24 09:23:49 -04:00