Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upcoming #19

Conversation

Bassoonian
Copy link

See title

LOuroboros and others added 30 commits February 17, 2023 12:52
Now they can say something:
-When their last Pokémon's HP is between 25% and 50%.
-When a critical hit is dealt to their first Pokémon for the first time.
-When a super effective hit is dealt to their first Pokémon for the first time.
-When a STAB move is used against (but doesn't faint) the opponent's Pokémon.
-When the Player's Pokémon's move doesn't affect the opponent's Pokémon.
-When they're about to trigger a Mega Evolution.
-When they're about to trigger a Z-Move.

Misc. changes:
-Split GetEnemyMonCount for readability's sake.
-Optimized the size allocated to trainerSlideLowHpMsgDone.
Now a trainer NPC can also say something before the first turn of a battle starts for good.
Added Overworld_ResetBattleFlagsAndVars to Overworld_ResetStateAfterWhiteOut
… to toggle Overworld_ResetBattleFlagsAndVars
Took suggestions from rh-hideout#2875 (comment)

Co-authored-by: LOuroboros <[email protected]>
* 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
Inline GetBattlerPartyData into its callers because its name is
confusing and we couldn't think of a better one.

This seems to fix a bug in one place where GetBattlerPartyData was being
used as if it had GetBattlerParty semantics.
this came up in a conversation on discord. its not tested.
Co-authored-by: Eduardo Quezada D'Ottone <[email protected]>
* Fix battle message strings for stats
* Fix hisuian typlosion
* Fix mega metagross backsprite
* Fix shiny Reuniclus
* Fix Duosion mouth
* Fix front mega metagross
* Fix front Yanmega
* Fix Electivire front sprite
* Fix shiny duskull
* Fix Hariyama sprite
* Fix Shiny masquerain
* Reusable TMs
* Forgot about Gen9 making TMs expendable again
* Change importance check based on Alex's suggestion
* Prevent items with importance from being bought more than once
* Change importance check to ghoul's suggestion
* Update include/config/item.h
Co-authored-by: Eduardo Quezada D'Ottone <[email protected]>

---------

Co-authored-by: Eduardo Quezada D'Ottone <[email protected]>
Jaizu and others added 21 commits April 20, 2023 10:00
-Undeclared size for certain trainer slide-in variables at struct BattleStruct for reasons.
-Added a BattlerHPPercentage function to make HP threshold checks in ShouldDoTrainerSlide a bit more readable.
Co-authored-by: Eduardo Quezada D'Ottone <[email protected]>
@AsparagusEduardo AsparagusEduardo merged commit f87c5e7 into AsparagusEduardo:RHH/pr/feature/formBattleChange Apr 27, 2023
@Bassoonian Bassoonian deleted the formbattlechangecontribution branch April 27, 2023 13:30
AsparagusEduardo pushed a commit that referenced this pull request Jan 10, 2024
Fix broken cave transition in Task_EnterCaveTransition3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.