Commit Graph

1143 Commits

Author SHA1 Message Date
Maruno17 fd5d3e332d Fixed moves taught via battle Debug menu not working, fixed Max Mushrooms showing the stat up animation for every stat 2022-04-24 21:06:40 +01:00
Maruno17 ad29dc6dc4 Fixed X items not working, fixed Knock Off being able to remove usable Mega Stones 2022-04-24 21:04:22 +01:00
Maruno17 8062b8ed6c Made "DefaultForm_X" flag apply when changing a Pokémon's species 2022-04-24 12:04:34 +01:00
Maruno17 a85ec1e51a Changed battle victory MEs to BGMs 2022-04-21 21:43:11 +01:00
Maruno17 77f9547687 Misc tidying 2022-04-20 22:29:13 +01:00
Maruno17 d3b61a64ef Turned trainer intro MEs into BGMs 2022-04-20 22:11:04 +01:00
Maruno17 144ad91bc1 Fixed icons in messages being misaligned 2022-04-18 21:16:46 +01:00
Maruno17 408e63b5d7 Updated to mkxp-z v2.3.1 2022-04-18 21:16:24 +01:00
Maruno17 d6c6b79705 Tidying up tones 2022-04-18 20:47:19 +01:00
Maruno17 20d6d4ff0a Implemented differences in Ball Burst animations for attempting to capture a Pokémon 2022-04-18 20:45:10 +01:00
Maruno17 f66e8db906 Minor script rearranging 2022-04-12 21:21:58 +01:00
Maruno17 90328df274 Updated moves that can't be called by Metronome 2022-04-10 22:33:56 +01:00
Maruno17 0d4c27d413 Implemented differences in Ball Burst animations for sending out a Pokémon 2022-04-10 21:38:06 +01:00
Maruno17 4a478ab6d0 Fixed recalculating turn order after Mega Evolution not taking into account changed abilities 2022-04-08 18:43:49 +01:00
Maruno17 0680f8665d Added prompt for what to do with a caught Pokémon if the party is full, and a battle rule that forces a capture into the party 2022-04-05 23:01:07 +01:00
Maruno17 22e0d1dfc5 def register_last_seen and related methods can now work with shininess 2022-04-03 20:42:22 +01:00
Maruno17 026e6f5c0a Added a Setting that makes a new Pokémon's Pokédex entry show after evolution, trading, hatching, gaining from Mystery Gift and general adding 2022-04-03 19:06:56 +01:00
Maruno17 e87d55f56f Added underscore in DefaultForm species flag for consistency 2022-03-31 20:20:29 +01:00
Maruno17 c012a7323a Natural Gift's power/type moved into an item flag 2022-03-31 20:19:58 +01:00
Maruno17 38edb15f0c Move item powers for Fling into an item flag 2022-03-31 19:53:21 +01:00
Maruno17 3a4339c658 AI now checks for immunities to status moves 2022-03-28 18:04:45 +01:00
Maruno17 3c6799091e Added battle transition animation for Elite Four/Champion 2022-03-27 22:42:43 +01:00
Maruno17 81578ac42c AI now doesn't use Full Restores just to heal small amounts of HP 2022-03-26 15:12:32 +00:00
Maruno17 7d583aaaf7 Added animation when capture is successful 2022-03-21 23:14:00 +00:00
Maruno17 2817c1998a Added hardcoded battle animations for capture ball burst and send out ball burst, removed support for common animation ball bursts. 2022-03-21 17:37:18 +00:00
Maruno17 21f7c57905 Added Poké Ball burst animation for recalling in battle, some bug fixes 2022-03-16 22:44:39 +00:00
Maruno17 93a0173fe8 Player no longer makes a bump sound when walking into something because of a move route, changed when title screen BGM starts playing, tweaked evolution messages and audio 2022-03-10 22:49:01 +00:00
Maruno17 a0612b907f Changed format of "EVs" property in pokemon.txt/pokemon_forms.txt 2022-03-09 23:03:02 +00:00
Maruno17 91f8d06797 Added battle debug option to view/edit all Pokémon, fixed some battle debug-related bugs 2022-03-07 23:19:30 +00:00
Maruno17 7f8fa16a52 Made Zacian/Zamazenta's rusted items unlosable, made bad poison icon be shown again in battle 2022-03-07 23:16:13 +00:00
Maruno17 5d8dad58c4 Added more debug menu functionality (toggle Hyper Mode, set stats, set species, reset moves of non-battling Pokémon/let them be made fainted) 2022-03-07 19:25:33 +00:00
Maruno17 a13771e8bc Fixed Shadow Pokémon saying how much Exp they gain from battle, fixed mispositioned text in some battle debug menus 2022-03-07 19:22:21 +00:00
Maruno17 bcb31c7a56 Made checks of map connections go through a single method, which can be used to modify connections on the fly 2022-03-05 23:49:53 +00:00
Maruno17 a20a1775c0 Added "VS Rocket Admin" battle transition animation 2022-03-05 20:16:11 +00:00
Luka S.J fe159419f7 [feature] Expand built-in utilities for Essentials (#166)
* Refactor hash and add small string utility
* Add utilities for `Color` object
* Add `.findDirectory` to `PluginManager`
* Add extra file and directory utilities
* Add `CallbackWrapper` utility
* Fix hash `deep_merge`
* Refactor hash `deep_merge` to simplify
* Fix hash merging
* Fix ruby utilities
2022-02-28 23:32:25 +00:00
Maruno17 fe6b87c075 Teak to animation in previous commit 2022-02-24 20:56:09 +00:00
Maruno17 4fc6e7f289 Added HGSS "Vs Trainer" battle transition 2022-02-24 20:41:18 +00:00
Maruno17 15e70fa67e Added a battle transition for Team Rocket Grunts 2022-02-22 22:34:28 +00:00
Maruno17 e5be233224 Enabled BallBurst common animations to be played during other battle animations 2022-02-22 19:26:50 +00:00
Maruno17 2057084f69 Light effects now centre themselves vertically on their events as intended 2022-02-21 23:36:43 +00:00
Maruno17 33cde3bf20 Changed the available special characters available in the naming screen 2022-02-21 18:51:17 +00:00
Maruno17 9b3e62b1f3 Fixed bug relating to night BGMs from previous commit, improved Purify Chamber a bit 2022-02-20 23:31:09 +00:00
Maruno17 19e50bd507 Updated Power Green fonts, repositioned all text accordingly 2022-02-20 23:29:09 +00:00
Maruno17 dd78075657 Minor tweaks to compiling item data 2022-02-15 19:16:55 +00:00
Maruno17 f322b234c6 Added battle rule "disablePokeBalls" 2022-02-15 18:39:41 +00:00
Maruno17 5f39363e69 Added map metadata flag "HideEncountersInPokedex", fixed Pokédex not showing the areas of some maps that span multiple Town Map points 2022-02-14 23:25:10 +00:00
Maruno17 789185eefb Added Gen 6 PBS files 2022-02-14 19:06:32 +00:00
Maruno17 f68e699cc9 More Rubocop changes 2022-02-13 00:57:54 +00:00
Maruno17 cca5989746 Fixes to previous commit 2022-02-10 08:33:45 +00:00
Keyacom 30c3f472ef Implement TramplesMinimize as a move flag (#175)
* Implement "TramplesMinimize" as a move flag

Implemented `TramplesMinimize` as a move flag. Due to it, removed effect codes `FlinchTargetTrampleMinimize` and `ParalyzeTargetTrampleMinimize` (the second one was exclusive to Body Slam). Moves that had them now have the effect codes `FlinchTarget` and `ParalyzeTarget`, respectively.

The code now does not check if the parameter of `tramplesMinimize?` is 1 or 2, it now checks if it is `true` or `false`. For the effect that causes the moves with this flag to skip accuracy checks, it also checks if `Settings::MECHANICS_GENERATION` is equal to or greater than 6.

Data on which moves are to be treated as able to double damage if Minimized and skip accuracy checks are [here](https://bulbapedia.bulbagarden.net/wiki/Minimize_(move)#Vulnerability_to_moves).

**Remarks:**
- Dragon Rush, Heat Crash and Heavy Slam could not trample Minimize in Gen 5. Dragon Rush and Heat Crash could do so in Gen 6+, but Heavy Slam could not until Gen 7.
- Double Iron Bash could only trample Minimize in Gen 7.

**TL;DR:**
- Implemented `TramplesMinimize` as a move flag.
- Modified the check for this move flag.
- Removed effect codes `FlinchTargetTrampleMinimize` and `ParalyzeTargetTrampleMinimize`. Moves that had them now have the effect codes `FlinchTarget` and `ParalyzeTarget`, respectively.
2022-02-06 19:36:51 +00:00