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

Added new conditions for the trainer slide-in system #2713

Merged
merged 10 commits into from
Apr 24, 2023

Commits on Feb 17, 2023

  1. Configuration menu
    Copy the full SHA
    6e134bb View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Added new trainer slide-in msg conditions

    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.
    LOuroboros committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    3a91a5c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2458142 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Configuration menu
    Copy the full SHA
    fe09f3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a54a8d9 View commit details
    Browse the repository at this point in the history
  3. Made this build again

    LOuroboros committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    8a036e6 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Added yet another trainer slide condition

    Now a trainer NPC can also say something before the first turn of a battle starts for good.
    LOuroboros committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    ff15856 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. Configuration menu
    Copy the full SHA
    6dbe772 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Updates

    -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.
    LOuroboros committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    330e85b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a128192 View commit details
    Browse the repository at this point in the history