Commit Graph

128 Commits

Author SHA1 Message Date
Maruno17
9d50b27aa0 Fixed some bad usage of sprintf, cleaned up some translatable messages 2023-04-02 00:52:12 +01:00
Maruno17
7f5aea63bb shadow_pokemon.txt now supports sections for individual forms of a species 2023-03-11 23:14:19 +00:00
Maruno17
9f96684048 Slightly simplified phone trainer contacts 2023-03-07 20:58:45 +00:00
Maruno17
becce85550 Removed deprecated code, renamed "base_damage"/"baseDamage"/"baseDmg" to "power" 2023-02-10 21:18:10 +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
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
f6213057d8 Made a set of PBS files for Shadow Pokémon data, grouped shadow_pokemon.txt with it 2023-01-22 22:25:20 +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
3fe324d0da Generalised a species' types to allow any number of types 2022-12-31 17:24:33 +00:00
Maruno17
427cc45629 Generalised compiler and writer methods for trainers.txt 2022-11-23 22:44:15 +00:00
Maruno17
bd04112122 Allowed multiple PBS files per data type, removed hardcoded lists of PBS files/.dat files/GameData classes that need data loading 2022-11-22 22:24:30 +00:00
Maruno17
4d147a7bf7 Turned Town Map PBS data into a GameData class 2022-11-20 21:44:53 +00:00
Maruno17
f33eb4d896 Added PBS schema character ^ for repeated lines, more refactoring of PBS compilers/writers 2022-11-20 20:15:04 +00:00
Maruno17
1ff7307868 Rewrote and standardised several PBS writer methods 2022-11-19 23:03:42 +00:00
Maruno17
5d439de87d Added compiler schema letter "m" which makes the value a symbol, refactored many PBS file compilers, removed support for old PBS formats/properties 2022-11-16 22:03:12 +00:00
Maruno17
c984fda1cf Standardised compiling-based console messages 2022-11-05 16:18:24 +00:00
Maruno17
1ccbafb499 Rewrote the random dungeon generator code 2022-10-01 18:06:15 +01:00
Maruno17
8c31ad994d Misc tidying 2022-09-11 23:53:25 +01:00
Maruno17
2962944cab Redesigned phone.txt (old format isn't supported), added support for contact-specific phone messages, added more phone message components 2022-09-11 19:07:47 +01:00
Maruno17
25a8d727ab Rewrote phone UI code, added "CommonEvent" trainer comment for that phone contact to run instead of default phone messages, added phone signal icon to phone 2022-09-10 19:41:12 +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
aa9b1a9e23 Refactored phone/rematches code, added Phone.rematches_enabled/Phone.rematch_variant/map metadata flag "NoPhoneSignal", changed event layout, trainer contacts can use Common Events for their calls, etc. 2022-08-13 16:52:42 +01:00
Maruno17
a85f672c73 Fixed crash when the Compiler rewrites a door event 2022-07-06 18:43:52 +01:00
Maruno17
94c6b6db0c Fixed Heavy Ball's catch rate calculation being inaccurate, added Obstruct to some moves' blacklists 2022-07-03 15:22: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
aec0215442 Fixed PBS files not being recovered properly if playing in Debug mode without a PBS folder 2022-06-13 20:15:47 +01:00
Maruno17
aa2269c858 Added Compiler code to make simple text replacements in PBS files before they are compiled 2022-05-29 19:00:59 +01:00
Maruno17
8310114252 Fixed some warning messages relating to compiling moves.txt 2022-05-29 18:53:24 +01:00
Maruno17
ebf83649ec Fixed error when the Compiler tries to convert some pbTrainerBattle code to TrainerBattle.start 2022-05-24 18:56:33 +01:00
Maruno17
0ab1e6242d Added some more outdated script replacements to the Compiler 2022-05-20 17:44:35 +01:00
Maruno17
5fb8218098 Fixed type-boosting Gems being consumed when they shouldn't, fixed compiler error relating to replacing battle-starting methods 2022-05-19 13:42:21 +01:00
Maruno17
04f3b29fe3 Tweaks to comments, Destiny Knot no longer affects breeding in Gen 5 mechanics 2022-05-17 23:52:53 +01:00
Maruno17
22f0c8627a Refactored battle-starting methods into WildBattle.start and TrainerBattle.start, etc. 2022-05-15 20:28:06 +01:00
Maruno17
a85ec1e51a Changed battle victory MEs to BGMs 2022-04-21 21:43:11 +01:00
Maruno17
d3b61a64ef Turned trainer intro MEs into BGMs 2022-04-20 22:11:04 +01:00
Maruno17
a0612b907f Changed format of "EVs" property in pokemon.txt/pokemon_forms.txt 2022-03-09 23:03:02 +00:00
Maruno17
dd78075657 Minor tweaks to compiling item data 2022-02-15 19:16:55 +00:00
Maruno17
f68e699cc9 More Rubocop changes 2022-02-13 00:57:54 +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
35126dfb6b Fixed regional form-exclusive species producing eggs of the wrong species, fixed eggs not being the appropriate form based on the region they were made in 2021-12-23 18:20:43 +00:00
Maruno17
132a16950d Yet more Rubocopping 2021-12-23 00:27:17 +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
33781493f4 More aligning of code 2021-12-19 12:19:08 +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