Commit Graph

24 Commits

Author SHA1 Message Date
Maruno17
5315b53eae Tidied up usage of colour tags (everything uses c3 now via def shadowc3tag), moved gender text colours to MessageConfig 2023-04-07 01:12:17 +01:00
Maruno17
3a9199da1b Refactored animation editor code into a single module 2023-03-06 22:25:45 +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
8c31ad994d Misc tidying 2022-09-11 23:53:25 +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
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
f68e699cc9 More Rubocop changes 2022-02-13 00:57:54 +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
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
d17fc40a47 Added decent spacing to all scripts thanks to Rubocop 2021-12-18 15:25:40 +00:00
Maruno17
ddb95a8bb6 Added underscore to berry plant charsets, added Debug menu function that will rename these files (including in map data) 2021-11-21 18:45:13 +00:00
Maruno17
048a18b415 Refactored ability/item/ball battle handlers, added "UltraBeast" species flag for Beast Ball 2021-11-18 22:52:19 +00:00
Maruno17
1c4819e5f0 Renamed all battle-related classes and modules 2021-11-16 23:05:16 +00:00
Maruno17
c392f8c236 Added Luka's console message colouring code 2021-11-02 23:27:42 +00:00
Maruno17
7f86115c36 Fixed code relating to initial held items in battle, fixed default functionality of rand when no number is given 2021-08-03 18:45:39 +01:00
Maruno17
8384adeb22 Ball property in trainers.txt can now be a Poké Ball item's ID, fixed move-learning saying "already knows four moves" regardless of the value of Pokemon::MAX_MOVES 2021-05-13 21:50:36 +01:00
Maruno17
326e2e7929 Shortened the default inspect message for everything, corrected the extension of GameData::Encounter 2021-05-09 01:52:55 +01:00
Maruno17
8e6ee21c20 Updated to mkxp-z 2.1.2, added def inspect to some classes 2021-05-02 00:58:25 +01:00
Maruno17
0b757d3863 Added extension to Plugin Manager that supports scripts in a Plugin folder 2021-04-25 19:09:56 +01:00
Maruno17
96c68e79a3 Added conversion of things in Game Variables in save data, renamed some files 2021-04-17 22:39:36 +01:00