Commit Graph

711 Commits

Author SHA1 Message Date
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
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
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
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
Maruno17
25b009b344 Added hide_choice and rename_choice which alter the next set of choices shown by an event 2022-01-12 22:46:14 +00:00
Maruno17
24efbccb67 Rearranged Settings 2022-01-11 22:07:37 +00:00
Golisopod-User
ff465a78a6 More bugfixes (and one Gen 8 addition) (#155)
* Added comment indicating unused method pbRefreshSceneMap
* Removed superfluous ending of Beak Blast's effect
* Fixed crash when playing an animation in the animation player
* Added SwSh Terrain effects
2022-01-11 21:36:01 +00:00
Joni Savolainen
767a47d90f Fix Bitmap#draw_text override not accepting Rect argument (#150) 2022-01-09 21:22:40 +00:00
Maruno17
507014e655 Fix to previous commit 2022-01-08 23:18:06 +00:00
Maruno17
5fba3462c6 Event choices shown without an accompanying message are now translated 2022-01-08 21:08:58 +00:00
Maruno17
91e3d8190e Multiple "Show Choices" event commands next to each other will now behave as one with all their choices 2022-01-08 21:04:08 +00:00
Maruno17
f853816d63 Fixed visual glitch where a Pokémon's HP would raise then lower if its substitute took damage 2022-01-08 18:11:02 +00:00
Maruno17
f623fad42e Workaround for broken screenshot-taking code due to latest mkxp-z 2022-01-03 19:55:54 +00:00
Maruno17
6d23d0101a Added descriptions for Options screen options, tweaked appearance of Options screen, fixed SpriteWindow#back_opacity not applying to all parts of the window graphic 2022-01-03 19:54:31 +00:00
Maruno17
3f51ab44e4 Moved Options screen options into MenuHandlers 2022-01-03 17:53:45 +00:00
Maruno17
a939406e60 Improved Pokégear screen to work for all screen sizes 2022-01-03 13:48:44 +00:00
Nathan-MV
aa18a59413 Update PokeMart Messages (#149)
* Updated PokeMart Messages
2022-01-03 13:17:14 +00:00
Maruno17
a6115faad6 Fixed Incinerate's message not knowing the name of the item it destroyed 2022-01-02 21:22:09 +00:00