Commit Graph

146 Commits

Author SHA1 Message Date
Maruno17
7e4ef4247b Merge branch 'dev' into ai 2023-02-10 21:20:28 +00:00
Maruno17
8a3353973b Fixed minor bug in sprite position editor, made trainers' Pokémon nicknames translatable, generalised code for optional PBS files 2023-02-08 23:51:42 +00:00
Maruno17
3f5c1f0974 Merge branch 'dev' into ai 2023-02-05 19:10:25 +00:00
Maruno17
13aab8d911 Lots of rubocop 2023-01-28 15:21:12 +00:00
Maruno17
b0b6e675c3 Fixed previous commit always causing recompiling if shadow_pokemon.dat doesn't exist, also rubocopping 2023-01-23 22:27:04 +00:00
Maruno17
2627d68782 Added more debug logging to AI, fixed some bugs in AI 2023-01-16 19:29:28 +00:00
Maruno17
a22f75f500 Merge branch 'dev' into ai 2023-01-08 21:56:33 +00:00
Maruno17
632b0f8b4b Overhauled text translations 2023-01-08 17:11:38 +00:00
Maruno17
2e8329f70b Implemented item portion names, e.g. "bag of Soft Sand" 2023-01-03 21:32:32 +00:00
Maruno17
05b954e262 Merge branch 'dev' into ai 2022-12-31 17:28:56 +00:00
Maruno17
7c39a56a43 Made tutored moves learnable by Pokémon if they can get the move via level/egg move, followers won't follow the player if they already have a move route, added console warning if a different version of mkxp-z is detected 2022-11-27 22:38:47 +00:00
Maruno17
3e73d1c1f9 Merge branch 'dev' into ai 2022-11-05 20:42:12 +00:00
Maruno17
c984fda1cf Standardised compiling-based console messages 2022-11-05 16:18:24 +00:00
Maruno17
9695094b02 Merge branch 'dev' into ai 2022-10-04 22:56:27 +01:00
Maruno17
8c31ad994d Misc tidying 2022-09-11 23:53:25 +01:00
Maruno17
662d023ff5 Improved console messages when compiling didn't happen, egg crack graphics are now found in the same way as egg graphics 2022-09-10 19:38:21 +01:00
Maruno17
eecb7a1453 Added script to make two random AI trainers battle, tweaked battle messages when logged, fixed typos 2022-09-06 22:57:51 +01:00
Maruno17
cfb870c944 Added AI objects for trainers, battlers and the move being assessed, logging battle messages now also echoes them to the console 2022-08-22 21:37:33 +01:00
Maruno17
18ffd4fb94 Fix to colour-stringifying methods 2022-08-19 21:40:46 +01:00
Maruno17
b1cde2db42 Refactored some code relating to colours, trivially simplified some calculations 2022-08-13 23:59:24 +01:00
Keyacom
d890cd8a24 Edited string methods (#186)
* Changed numeric check regex
- `^` may match the position right after a newline character, and `$` may match right before the newline character (due to the multiline flag being enabled by default), so substing these with `\A` and `\Z`.
- Changed both instances of `[0-9]` with the shorthand `\d`.
- Removed capturing group around the first `\d+`.
* Changed get character at index
`anyString[0, 1]` is functionally the same as `anyString[0]` because the range `[a, b]` returns all characters from index `a` up to but not including the char at index `b`.
2022-08-10 21:11:19 +01:00
Maruno17
8b3d95943a Essentials no longer requires the "Plugins" folder to exist 2022-06-19 17:40:34 +01:00
Maruno17
732c167ad5 Writing moves.txt now calls power "Power" instead of "BaseDamage", other minor tidying 2022-06-13 20:17:16 +01:00
Maruno17
a280fea093 Fixed console message colouring breaking when loading a plugin whose name contains an apostrophe 2022-05-21 19:20:35 +01:00
Maruno17
b7f230fcfc Shortened and updated documentation of PluginManager 2022-04-25 23:27:11 +01:00
Maruno17
408e63b5d7 Updated to mkxp-z v2.3.1 2022-04-18 21:16:24 +01:00
Maruno17
21f7c57905 Added Poké Ball burst animation for recalling in battle, some bug fixes 2022-03-16 22:44:39 +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
19e50bd507 Updated Power Green fonts, repositioned all text accordingly 2022-02-20 23:29:09 +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
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
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
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
98f311c394 Updated to mkxp-z v2.3.0 2022-01-24 23:12:06 +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
Joni Savolainen
767a47d90f Fix Bitmap#draw_text override not accepting Rect argument (#150) 2022-01-09 21:22:40 +00:00
Golisopod-User
13cc9790ce Minor new additions for v20 (#147)
* Moved TMs/ TRs and HMs into their own handlers
* Improved Plugin Error Message
* Added sound effect when picking berries
* Allow player to always see quantity when buying items
* Trainers now require a Mega Ring item in their items (in trainers.txt) to Mega Evolve
2021-12-29 18:36:26 +00:00
Maruno17
3e9d3b0a68 Added checks that prevent aliasing a method if the alias method already exists, fixed Symbiosis not working properly for opponents 2021-12-28 19:22:31 +00:00
Maruno17
aa643a6049 More Rubocop 2021-12-27 00:26:45 +00:00
Maruno17
132a16950d Yet more Rubocopping 2021-12-23 00:27:17 +00:00
Maruno17
514fe13ca2 More additions to .rubocop.yml, minor code tweaks 2021-12-22 21:01:37 +00:00
Maruno17
dfb3a51815 Forced encoding of text to UTF-8 2021-12-20 21:46:29 +00:00
Maruno17
33fcbf623b More Rubocopping 2021-12-20 17:18:21 +00:00
Golisopod-User
7f86db6da9 Minor bugfiixes (#140)
* Fixed moves bounced back by Magic Coat/Bounced moves affecting Pokemon they normally shouldn't
* Fixed townmap compiler not saving any map names (doesn't make a difference; added for completionism)
* Update a few ruby utilities
* Fixed small typo bug in map renderer disposal
2021-12-19 20:58:28 +00:00
Maruno17
65b1a8d6c3 More tweaks from the Rubocop overlord 2021-12-19 17:28:59 +00:00
Maruno17
13a238cc6a Many more Rubocop-inspired code improvements 2021-12-18 19:06:22 +00:00
Maruno17
d17fc40a47 Added decent spacing to all scripts thanks to Rubocop 2021-12-18 15:25:40 +00:00