Commit Graph
100 Commits
Author SHA1 Message Date
Maruno17 1041883992 Initial proof of concept commit 2023-08-28 22:41:48 +01:00
Maruno17 ea7b5d56d2 Fixed crash upon soft resetting 2023-07-31 23:40:02 +01:00
Maruno17 bd70166dbb Fixed follower teleporting behind the player when they bump into something to the side 2023-07-31 20:58:57 +01:00
Maruno17 3d4a495849 Tidying up for v21.2 release 2023-07-30 21:43:27 +01:00
Maruno17 4c25ade184 Fixed overworld weather fading out/in when walking between maps with the same weather, added support for Sprite coordinates being floats 2023-07-30 20:32:39 +01:00
Maruno17 4f14108772 Minor tidying and updating 2023-07-29 20:20:08 +01:00
Maruno17 1b5c0f6f2f Updated mkxp-z 2023-07-29 20:17:06 +01:00
Maruno17 9a42b533f1 Added more sound effects 2023-07-29 20:08:31 +01:00
Maruno17 1c860a5544 Renamed PBS backup folders for clarity 2023-07-24 22:17:26 +01:00
Maruno17 0068695c54 Fixed incorrect AI code for considering Sticky Web when switching 2023-07-22 18:43:28 +01:00
Maruno17 fc95baf92c Now loads language files on startup if Settings::LANGUAGES has exactly 1 defined language, fixed instant text speed after a wait in a message, added battle rule "cannotSwitch" 2023-07-20 22:05:50 +01:00
Maruno17 a5734eaf46 Code tidying with Rubocop 2023-07-18 22:42:10 +01:00
Maruno17 6053363715 Added Settings::DISABLE_IVS_AND_EVS, added text replacements for gender symbols 2023-07-17 19:28:05 +01:00
Maruno17 f576db7c0b Fixed the first frame of RMXP Database animations not showing 2023-07-15 20:08:36 +01:00
Maruno17 4ca2500d6b The Pokédex entry of a newly obtained species now only shows if that species is in an unlocked Dex list 2023-07-12 21:08:02 +01:00
Maruno17 8287f32a5e Fixed another crash when entering a map with no map metadata, fixed Sky Drop failing causing the target to remain in the air, decapitalised some Debug menu text 2023-07-12 21:06:54 +01:00
Maruno17 104bf2b598 Added some graphics filenames to the core messages 2023-07-01 22:49:02 +01:00
Maruno17 2986ab3ebb Rewrote mkxp.json, fix crash when entering a map with no map metadata, fixed Battle Factory menu text misalignment 2023-07-01 22:11:02 +01:00
Maruno17 2078f6b116 Ensured consistent PBS file layouts, fixed some script file numberings 2023-06-27 20:38:15 +01:00
Maruno17 60f8a0cf7b Fixed potential slight irregularities in effect chances of elemental Fang moves, tweaked how credits are gathered, 2023-06-27 19:16:14 +01:00
Maruno17 aecd9e5bb6 Tidying up for v21's release 2023-06-25 22:31:05 +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 7d77c5f3fc Tweaked some overworld weather animations, added NPCTrainer#version, added Debug function for editing more things in the phone and its contacts 2023-06-24 23:52:09 +01:00
Maruno17 4fc0806c8a Ensured random dungeons place large events properly 2023-06-20 19:26:40 +01:00
Maruno17 17e8be9dca Fixed error in Powder's backfire message, fixed move disruption affecting recharge moves when it shouldn't, fixed error when Shell Side Arm has no targets, fixed AI not unregistering Mega Evolution if it won't do so after all 2023-06-19 23:55:49 +01:00
Maruno17 539bc0fb50 More AI bug fixes, more work on testing AI 2023-06-18 23:36:06 +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 9c2a9130a5 Consolidated code for the player interacting in the overworld, fixed bad splash screen animations, added ShowQuantity property to items.txt, fixed Quick Draw and Aroma Veil, fixed text alignment in long list of regional Dexes in Pokédex, added better error message in load screen if player's charset is missing 2023-06-12 22:32:41 +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 3470f9769c Synced FPS to monitor's refresh rate, fixed broken waterfall movement 2023-06-03 22:33:49 +01:00
Maruno17 1901675e33 Finished FPS agnosticism, removed particle engine 2023-06-03 21:55:02 +01:00
Maruno17 68de25562a Removed last possible usages of Graphics.frame_rate and Graphics.frame_count, improved screen scrolling code, player now animates walking into a wall 2023-05-28 17:25:30 +01:00
Maruno17 f27841a7f8 Better version of the previous commit's fix 2023-05-25 15:38:29 +01:00
Maruno17 01a6869061 Fixed freeze from previous commit relating to script-type move route commands 2023-05-25 15:24:14 +01:00
Maruno17 c756e2647a More FPS agnosticism, fixed pause after finishing an event's repeating move route 2023-05-24 21:20:20 +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 276c052822 Updated mkxp-z version, fixed BGM issues caused by v2.4.2 2023-05-20 21:03:08 +01:00
Maruno17 d112e2361a A lot of FPS agnosticism, added def lerp 2023-05-20 18:37:54 +01:00
Maruno17 62e372f4d7 Improved usage of Time.now and pbGetTimeNow 2023-05-17 19:24:38 +01:00
Maruno17 28a2b7c9c1 Removed Graphics.delta_s and the usage thereof, tweaked credits screen code 2023-05-17 18:50:38 +01:00
Maruno17 a96867d537 Updated to mkxp-z v2.4.2 2023-05-15 20:00:56 +01:00
Maruno17 e7e153bf11 Fixed Rollout being affected by Parental Bond, fixed multi-turn moves being stopped by Torment, fixed BGM not stopping when returning to the title screen, removed AI references 2023-05-15 19:41:34 +01:00
Maruno17 6ca7da0a06 Merge branch 'ai' into dev 2023-05-14 18:36:25 +01:00
Maruno17 a4d74a9663 Resolved all remaining TODO comments for AI (except testing), fixed effects of moves that can end the battle 2023-05-13 22:49:09 +01:00
Maruno17 7a8754c425 Waged war against TODO comments in the AI, some refactoring of AI 2023-05-07 23:12:39 +01:00
Maruno17 5a2f0723ab Fixed broken file paths for BP shop 2023-05-06 22:45:50 +01:00
Maruno17 a397e60ca5 Added Debug menu functions, rearranged Debug menu more, fixed Pokémon sprite not refreshing when changing its held item in its summary screen 2023-05-06 18:25:56 +01:00
Maruno17 72469bbf79 Added Debug function to edit Repel steps, Flash/Strength usage and Black/White Flute effects; split old and new Black/White Flute effects 2023-05-05 20:17:07 +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 5f20121e59 Tweaked the Level 101+ equations for some growth rates, moved code that plays the overworld dust animation 2023-04-29 18:10:26 +01:00
Maruno17 b7a40d0344 Renamed/rearranged some script files 2023-04-23 18:04:32 +01:00
Maruno17 ce549ab62a Rewrote AI item usage (inc. adding Revives), various fixes/changes to AI, removed Struggle from PBS files, some bug fixes 2023-04-23 17:52:39 +01:00
Maruno17 da182bd98a Merge branch 'dev' into ai 2023-04-20 18:05:58 +01:00
Maruno17 4bab130785 Fixed Magic Guard not being checked for damage from Shadow Sky weather/Spiky Shield/Dry Skin/Solar Power, fixed As One not having Unnerve's effect, fixed Gulp Missile paralysing the wrong Pokémon, added message for obtaining multiple machine items at once 2023-04-20 18:04:15 +01:00
Maruno17 d277658965 More AI code for deciding when to switch 2023-04-17 19:08:42 +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 7f6f57dec3 Merge branch 'dev' into ai 2023-04-13 19:36:18 +01:00
Maruno17 af5256ae0f Updated to mkxp-z v2.4.0 2023-04-12 21:26:24 +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 c654636bdc Merge branch 'dev' into ai 2023-04-09 22:28:34 +01:00
Maruno17 a22c5ea89c More work on the AI, refactored stat stage multipliers 2023-04-09 22:26:48 +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 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 6b690c4492 Fix to previous commit 2023-04-06 21:46:08 +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 cb4a1fd8af def pbDrawTextPositions now uses symbols for text alignment and outline, and added a quicker way to draw text with no shadow/outline 2023-04-04 21:16:09 +01:00
Maruno17 e7847fba9a Fixed typo in a previous commit 2023-04-02 00:59:05 +01:00
Maruno17 b226e3cbb6 Fixed the value of the setting HEAL_STORED_POKEMON, restored all EOR weather messages 2023-04-02 00:57:22 +01:00
Maruno17 9d50b27aa0 Fixed some bad usage of sprintf, cleaned up some translatable messages 2023-04-02 00:52:12 +01:00
Maruno17 ad29a79e1c Tweaked AI threshold score, added "HPAware" skill flag, changed lots of AI scores 2023-03-30 21:11:27 +01:00
Maruno17 0bb0fb4a26 Rewrote various AI switching checks 2023-03-25 23:26:34 +00:00
Maruno17 138d41f7bc Merge branch 'dev' into ai 2023-03-23 23:20:58 +00:00
Maruno17 1ead0a76f5 Fixed Beak Blast's burn affecting the wrong Pokémon 2023-03-21 18:28:06 +00:00
Maruno17 e2648032c1 More AI function codes, tweaked AI score threshold, renumbered all PBEffects constants 2023-03-19 17:22:53 +00:00
Maruno17 941e238606 Rearranged the Debug menu 2023-03-12 12:07:01 +00:00
Maruno17 7f5aea63bb shadow_pokemon.txt now supports sections for individual forms of a species 2023-03-11 23:14:19 +00:00
Maruno17 e9a44377ce AI: Added checks for additional effect chance, Snatch/Magic Coat, more item ratings 2023-03-11 20:13:02 +00:00
Maruno17 5a18f7fd65 Fixed additional effect issues with Eerie Spell/Jaw Lock/Thousand Waves 2023-03-09 20:37:26 +00:00
Maruno17 e93c3c69ac Merge branch 'dev' into ai 2023-03-09 18:31:30 +00:00
Maruno17 9f96684048 Slightly simplified phone trainer contacts 2023-03-07 20:58:45 +00:00
Maruno17 3a9199da1b Refactored animation editor code into a single module 2023-03-06 22:25:45 +00:00
Maruno17 ee72ad371f Fixed Cotton Down also lowering the bearer's speed, tweaked rendering of buttons in the Animation Editor 2023-03-05 22:58:57 +00:00
Maruno17 e43fdeec25 Fixed back-to-back changes to backgrounds in battle animations not finishing properly before the next one starts 2023-03-05 21:57:00 +00:00
Maruno17 05f5d621b7 Fixed incorrect Hall of Fame time, fixed Shields Down showing too many messages, fixed target of Pluck still being able to consume its healing berry 2023-03-04 23:37:50 +00:00
Maruno17 6157c63fa2 Fixed movesets in PBS files, added more compatible TutorMoves 2023-03-04 18:47:32 +00:00
Maruno17 ab58da4877 Made wild Ultra Beasts smarter too 2023-02-20 23:41:25 +00:00
Maruno17 d0c99aa512 Improved AI code for weather-causing moves, added AI getting flags from trainer types, added Legendary/Mythical flags to pokemon.txt, added Setting to make wild Legendary/Mythical Pokémon smarter 2023-02-20 23:33:09 +00:00
Maruno17 0e4053f837 Tackling of various AI "TODO" comments, a little tidying 2023-02-17 21:36:08 +00:00
Maruno17 81d069eef1 Refactored AI switching code, added "UsePokemonInOrder" skill flag 2023-02-14 16:40:52 +00:00
Maruno17 a8e024eb3e Some rearranging of AI script files/methods 2023-02-10 21:47:04 +00:00
Maruno17 7e4ef4247b Merge branch 'dev' into ai 2023-02-10 21:20:28 +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 01e98c8f97 Rewrote AI for move function codes for counters, protection removal, Wonder Room, Substitute. Fixed Counters working with damage absorbed by a substitute. 2023-02-08 22:19:45 +00:00
Maruno17 3f5c1f0974 Merge branch 'dev' into ai 2023-02-05 19:10:25 +00:00
Maruno17 d0c39a3e89 Tweaks to item-consuming AI function codes 2023-02-05 19:09:01 +00:00
Maruno17 4749bd5201 Fixed Bug Bite/Pluck and Fling not enabling Belch/triggering Symbiosis when a berry is consumed 2023-02-05 18:59:30 +00:00
Maruno17 7678a13e94 AI function code rewrites for protection moves 2023-02-04 21:14:35 +00:00
Maruno17 80bb967aad More AI function code rewrites 2023-01-31 22:12:42 +00:00