Commit Graph

767 Commits

Author SHA1 Message Date
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
Golisopod-User
e6c877fe06 Display version number of plugins in the console (#173)
* Display version number with plugins
2022-02-06 19:01:42 +00:00
Maruno17
4561cc66bf Moved calls to PBS file-compiling methods into their own method, removed music file extensions from metadata.txt 2022-02-06 18:40:43 +00:00
Maruno17
6c5c54a7d3 Tweaked Jukebox functionality, simplified code relating to night versions of BGMs 2022-01-30 20:40:07 +00:00
Maruno17
0465572ca0 Added method for buying a Game Corner prize item, made def _I able to replace text like _INTL 2022-01-30 20:03:52 +00:00
Maruno17
6698149083 Restored evolutions depending on Moss Rock/Icy Rock/magnetic field in Gen 8 PBS files 2022-01-30 18:16:19 +00:00
Keyacom
91c6f1f45b Fixed typo in "CannotMetronome" (#171)
* Fixed typo in "CannotMetronome"

This flag had 3 N's in its name where it was supposed to be two. In the move PBS files, the flag is spelled correctly.
2022-01-29 19:07:01 +00:00
Golisopod-User
617f685694 Bugfixes (#170)
* Fixed crash when setting Fogs or Panoramas to none
* Generalised the initial setting of stat stages for battlers
* Fixed fishing animation looking weird (especially when surfing)
2022-01-29 19:06:21 +00:00
Keyacom
af60c4df66 Use the .max function in Substitute's code (#167) 2022-01-29 18:24:42 +00:00
Golisopod-User
f9e34b8157 Switch to lowercase letters after selecting first uppercase letter (#169) 2022-01-29 18:21:38 +00:00
Maruno17
7c7a6d91bd Fixed field animations relating to events and followers not showing if they're on a connected map, fixed grass not rustling if the player walks onto it directly from a connected map, fixed grass rustling appearing beneath the player 2022-01-29 18:05:11 +00:00
Maruno17
2372322c24 Added holding Shift while starting the game to compile just the plugins 2022-01-25 23:38:11 +00:00
Maruno17
8f69c555da Fixed duplicated and missorted track listings in Jukebox 2022-01-24 23:32:05 +00:00
Maruno17
98f311c394 Updated to mkxp-z v2.3.0 2022-01-24 23:12:06 +00:00
Maruno17
c1de9a04d4 Made party screen use MenuHandlers 2022-01-23 22:54:58 +00:00
Maruno17
d0da7b0c1b Fixed "Set Event Location" (moveto) sending an event off-screen not making it disappear 2022-01-23 21:16:08 +00:00
Maruno17
8a3e5b01e0 Fixed inconsistencies in error messages produced when loading a plugin 2022-01-22 22:03:31 +00:00
Maruno17
7f0526114f Errors raised by PluginManager are no longer capitalised 2022-01-21 12:59:23 +00:00
Golisopod-User
b980d8505c Tiny Bugfixes (#161)
* Removed extra confirm sfx in mart screen
* Fixed Calyrex keeping its form exclusive moves
* Fixed some methods being aliased multiple times upon soft resetting
2022-01-20 22:02:22 +00:00
Maruno17
a0d951edf7 Added Debug menu functions to toggle Exp. All's effect and Box Link's effect 2022-01-19 20:39:55 +00:00
Nathan-MV
e9afefb210 Updated HM/expAll/Switch Messages. (#156) 2022-01-19 20:10:56 +00:00
Golisopod-User
1279f8137e Add .mkproj files to .gitignore (#159) 2022-01-19 19:15:53 +00:00
Maruno17
f872db2618 Added battle debug functions for setting position effects and NPC trainer items 2022-01-17 22:55:01 +00:00
Maruno17
b550ad9c07 Fixed AI scores calculated for some moves not being added up properly 2022-01-13 23:28:00 +00:00
Maruno17
8a89b7fbf4 Added move flag "CannnotMetronome" 2022-01-12 23:15:46 +00:00