Commit Graph

143 Commits

Author SHA1 Message Date
Maruno17 e96f16c484 Tweaked Compiler error messages, made some in def cast_csv_value show if trying to cast nil 2023-10-01 17:51:13 +01:00
Maruno17 02e45ebf19 NamedEvents can now be overwritten, fixed error in validating all types, replaced wiki shortcut 2023-09-10 15:59:14 +01:00
Maruno17 a5734eaf46 Code tidying with Rubocop 2023-07-18 22:42:10 +01:00
Maruno17 22fa0f9c0b Added messages_core.dat and extracted text from it to GitHub, moved game credits to Settings, made credits translatable, tweaked some messages 2023-06-25 16:53:13 +01:00
Maruno17 b5e37248b9 Pokémon sent into battle now default to the Fight option, fixed bugs in Instruct, fixed some AI bugs, fixed parameter mixup for def pbMoveCanTarget?, renamed function to function_code everywhere, fixed black party Pokémon icons in storage, added some more AI testing code 2023-06-18 20:12:36 +01:00
Maruno17 679e9d42dc Moved Poké Radar encounters into encounters.txt, added Setting/map metadata for reflection rippling, fixed def minimum_level, fixed ice/waterfalls forcing movement even when holding Ctrl in Debug mode, Pokédex no longer shows genders for species without gender differences 2023-06-04 20:40:42 +01:00
Maruno17 1901675e33 Finished FPS agnosticism, removed particle engine 2023-06-03 21:55:02 +01:00
Maruno17 167155c67d Deprecated methods intended to work around filenames with accents, fixed crash when the Compiler wants to rewrite PBS files if they don't exist 2023-05-20 22:10:11 +01:00
Maruno17 62e372f4d7 Improved usage of Time.now and pbGetTimeNow 2023-05-17 19:24:38 +01:00
Maruno17 48fb8dae73 Removed redundant "\r" from various messages, removed usages of BitmapWrapper, fixed Lure Ball error in battles started in the Debug menu, improved Terrain Tag editor, fixed some Compiler errors, enabled vsync, fixed event graphics frozen to the screen when using $game_player.moveto directly. 2023-05-04 21:28:00 +01:00
Maruno17 b9bf3e8b83 Added message saving back to compiler, tweaked various messages, fixed typo of constant, fixed missing attr_reader 2023-04-15 20:29:47 +01:00
Maruno17 a714086a39 Fixed rendering of some tiles for certain sizes of tilesets, more rubocopping 2023-04-12 21:14:26 +01:00
Maruno17 956a511ec5 Fixed some errors when converting code in old trainer events to new code 2023-04-07 12:43:24 +01:00
Maruno17 1ddf89c2df Removed script/event text collation from compiler (added a debug function to do that instead), removed system cache reloader from compiler 2023-04-06 17:47:42 +01:00
Maruno17 3d9d31621b Sped up compiling PBS files by about 5x, fixed bug from earlier commit about writing PBS lines with many optional values 2023-04-05 21:41:55 +01:00
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