838 Commits

Author SHA1 Message Date
chardub
13c7792686 dna splicers that don't crash the game... 2025-05-09 20:30:35 -04:00
chardub
4ecf97b777 DNA Splicers WIP 2025-05-08 22:59:30 -04:00
chardub
6536fcda77 More characters customization 2025-04-27 12:17:35 -04:00
chardub
4a19fbc754 Outfits migration again 2025-04-27 00:37:26 -04:00
chardub
c0cf7da7bb Overworld Outfits 2025-04-27 00:14:10 -04:00
chardub
bbd5ba09ea More migration 2025-04-26 22:03:51 -04:00
chardub
90c0e51e88 Caches expanded autotiles to reduce stutter caused by map connections 2025-04-26 22:01:12 -04:00
chardub
85d5f6206c custom autotile replacements 2025-04-26 21:35:28 -04:00
chardub
b412ad7b39 Migration - more progress 2025-04-25 22:06:46 -04:00
chardub
7de024dafd Renames $Trainer to $player 2025-04-24 19:57:12 -04:00
chardub
95ef337de8 Migrate a reorganizes bunch of files from PIF 2025-04-24 19:46:52 -04:00
chardub
682323e255 feature(Implements speed up) 2025-04-19 10:59:33 -04:00
Maruno17
8d0061bf3d Bug fixes 2025-02-28 21:55:11 +00:00
Maruno17
39a11e8ea8 Refactoring of new UI 2025-01-23 23:47:20 +00:00
Maruno17
6f37cb7e33 Moved battle music filenames to Settings, improved PluginManager's version comparer, removed player bump animation, fixed No Guard not applying to OHKO moves, can reuse the same Repel item quicker 2025-01-22 23:02:34 +00:00
Maruno17
db2df5c8b4 Combined overwriting code from the new animation editor files 2025-01-17 00:18:27 +00:00
Maruno17
0c0c826e82 Merge branch 'animations' into dev 2025-01-16 22:56:15 +00:00
Maruno17
bfadd7ff9f C key no longer toggles Animation Editor's colour theme 2025-01-16 22:55:45 +00:00
Maruno17
e81fe77bcc Merge branch 'ui-redesign' into dev 2025-01-16 22:54:12 +00:00
Maruno17
d03f012162 Rewrote Town Map screen 2025-01-16 00:09:59 +00:00
Maruno17
77772bab6d Fixed Fluctuating growth rate's equation for levels above 100 2024-11-23 14:59:42 +00:00
Maruno17
fcb4a1cec3 Merge branch 'dev' into ui-redesign 2024-11-22 19:55:58 +00:00
Maruno17
00d1e431b4 Some bug fixes, added PriorityChange item handler 2024-11-22 00:38:20 +00:00
Maruno17
098ca562d0 Rewrote Move Reminder screen 2024-11-03 01:15:53 +00:00
Maruno17
ae80d9dcd4 Changed choice lists to allow text formatting 2024-11-01 23:56:04 +00:00
Maruno17
210cfc654f Added Setting SHOW_MODIFIED_MOVE_PROPERTIES, other minor tweaks and fixes 2024-10-29 22:14:36 +00:00
Maruno17
35be8fcf67 Added support for all three Gen 4 location sign styles, minor tweaks to other code 2024-10-28 23:18:57 +00:00
Maruno17
3eb2724794 Rewrote save game screen, added rest of multiple save file support 2024-10-22 22:17:19 +01:00
Maruno17
6152b75cb1 Rewrote load game screen inc. supporting multiple save files, allowed \PN and \v[42] in map names and Town Map point names 2024-10-20 23:46:56 +01:00
Maruno17
89c344dc00 Rewrote Pokémon storage screen code 2024-10-13 23:41:42 +01:00
Maruno17
61b6bb5aeb Rewrote party screen debug code, misc code changes 2024-10-01 19:10:34 +01:00
Maruno17
fc538a09f7 Fixed Focus Band only triggering at full HP, made more text translatable 2024-09-30 21:44:36 +01:00
Maruno17
b80de83b0d Rewrote BP Shop code, tidied PC menu code, fixed message display bug involving instant speed and \wtnp, fixed mail vanishing bug, tweaks to other rewritten UI 2024-09-27 22:10:26 +01:00
Maruno17
48292c2a28 Increased max mone amount, rewrote Mart code, redesigned Mart and selling items a little 2024-09-26 01:00:18 +01:00
Maruno17
d1b0f5bce8 Rewrote item descriptions that are now too long for the space provided 2024-09-21 23:55:05 +01:00
Maruno17
a69e6bc6b9 Added Mail and MegaStones pseudo-pockets, deleted contest scarf items 2024-09-21 19:30:54 +01:00
Maruno17
6d1013d34e Rearranged Bag pockets, replaced Mail pocket with Held Items pocket 2024-09-21 19:10:32 +01:00
Maruno17
f62a357cbd Merge branch 'dev' into ui-redesign 2024-09-20 21:30:46 +01:00
Maruno17
012814f557 Plugins now recompile if any plugin name/version doesn't match one that was previously compiled, fixed Throat Chop's effect 2024-09-20 21:30:10 +01:00
Maruno17
2c071b224f Added more stats, added script variables, fixed AI thinking Wonder Guard provides total immunity, releasing a Pokémon puts its held item in the Bag, tweaked new map Compiler 2024-09-20 00:51:54 +01:00
Maruno17
44c4a50a1a Generalised UI slider-drawing code 2024-09-19 23:08:25 +01:00
Maruno17
2816cbcd92 More Bag UI redesign implementation 2024-09-18 23:55:50 +01:00
Maruno17
4770057818 Added parent pocket functionality to BagPocket, started implementing Bag UI redesign 2024-09-17 00:20:41 +01:00
Maruno17
801c2d35c6 Implemented GameData BagPocket 2024-09-14 01:27:17 +01:00
Maruno17
d8263da05e Rewrote Bag screen 2024-09-13 23:01:40 +01:00
Maruno17
9c95db2324 Tidying up 2024-09-09 21:31:22 +01:00
Maruno17
2190f7c251 Rewrote party screen, implemented redesign of it 2024-09-07 21:51:54 +01:00
Maruno17
fab5fc0641 New UI no longer activates as part of initializing 2024-08-30 21:54:12 +01:00
Maruno17
89e6df6e06 Rewrote summary screen cursors, added cropping of relevant text in the summary screen, raised max lengths of player and Pokémon names to 12 2024-08-30 19:34:58 +01:00
Maruno17
9a7dfbb587 More refactoring of summary screen code, added module UIActionHandlers 2024-08-28 21:19:55 +01:00
Maruno17
2abdf333db Implemented redesign of summary screen 2024-08-27 00:49:11 +01:00
Maruno17
273e1bb565 Refactored summary screen code 2024-08-24 22:14:29 +01:00
Maruno17
45127be5b6 Rewrote summary screen code 2024-08-24 17:00:06 +01:00
Maruno17
2c6fe70f0c Fixed and implemented new pause menu and Trainer Card scripts 2024-08-22 22:26:57 +01:00
Maruno17
f4358e1542 Wrote preliminary UI base classes, wrote trainer card and pause menu screens using them 2024-08-22 00:20:23 +01:00
Maruno17
8841a534fe Some more code for Gen 9 abilities 2024-08-21 22:11:01 +01:00
Maruno17
6cc07d1c7a Removed deprecated methods 2024-06-27 21:37:00 +01:00
Maruno17
509a414f37 More or less standardised separator comments in the code 2024-06-27 21:21:26 +01:00
Maruno17
225549bfce Added consts for icon sizes for status and category 2024-06-26 16:26:53 +01:00
Maruno17
03b0fa100a Fixed some untranslatable messages, updated text files 2024-06-25 20:40:59 +01:00
Maruno17
195c34a7c8 Added SKIP_TITLE_SCREEN Setting, added const for type icon size, fixed some battle bugs and inconsistencies 2024-06-25 15:55:10 +01:00
Maruno17
ff2d8e5f55 More Gen 9 move effects 2024-06-24 21:51:49 +01:00
Maruno17
8e9417c3b7 Snowstorm, forfeiting trainer battles, battle outcome values 2024-06-15 21:29:00 +01:00
Maruno17
22b33ca6c2 Coded some Gen 9 ability/item/move effects 2024-06-15 15:58:31 +01:00
Maruno17
454d5a216a Updated Gen 9 descriptions to make them fit 2024-06-11 20:02:26 +01:00
Maruno17
5e23984765 Added Gen 9 forms code, evolution code, some item effects 2024-06-08 19:35:45 +01:00
Maruno17
6c3d9e77ad Added Gen 9 PBS files 2024-06-08 15:41:34 +01:00
Maruno17
b86d5b5b57 Fixed incorrect reflection layering, fixed Metal Burst counting damage taken by a substitute, fixed Metal Burst not trying to target all battlers that hit it, fixed Mega Scizor's stats 2024-05-16 19:18:35 +01:00
Maruno17
209a1ff1b3 Ensured messages are recompiled if PBS files or map data is compiled 2024-05-14 22:25:25 +01:00
Maruno17
01c13ada76 Made Compiler more modular 2024-05-14 22:11:12 +01:00
Maruno17
5bef70fb3a Moves fail because of semi-invulnerability instead of other immunities, fixed Pokédex not registering Pokémon in Safari battles, other things 2024-05-14 20:37:32 +01:00
Maruno17
63309a2ae9 Anim Editor: added dark colour scheme 2024-05-13 20:32:20 +01:00
Maruno17
5495bf565c Anim Editor: Added smart angle property to particles 2024-05-11 00:33:56 +01:00
Maruno17
34741ea840 Anim Editor: made the window height depend on the monitor's height 2024-05-06 00:46:02 +01:00
Maruno17
8aacfe491f Anim Editor: Particle spawner tweaks 2024-05-04 22:20:05 +01:00
Maruno17
dba28332f2 Anim Editor: added basic particle spawner functionality and graphic frame randomiser 2024-05-04 19:17:23 +01:00
Maruno17
aef67341d2 Minor tweaks and fixes 2024-04-27 00:18:16 +01:00
Maruno17
04985eab5c Added "airborne" event name tag, can have Safari battles with no party, fixed Micle Berry, fixed data box not refreshing when Illusion is broken, added triggers for more EoR animations 2024-04-27 00:10:28 +01:00
Maruno17
81ce6e515c More new battle animations 2024-04-24 22:49:19 +01:00
Maruno17
99aec45c5c Anim Editor: bug fixes relating to deleting particles, added some animations 2024-04-22 23:50:54 +01:00
Maruno17
23a8c552d6 Anim Editor: bug fixes 2024-04-21 23:08:48 +01:00
Maruno17
032ad25adc Anim Editor: z-related bug fix, full-screen graphic size is now more lenient 2024-04-21 19:13:54 +01:00
Maruno17
53eff70d63 Anim Editor: added changing of editor settings 2024-04-21 00:53:01 +01:00
Maruno17
a80dd5adb2 Anim Editor: added Insert/Delete keyboard shortcuts 2024-04-20 18:29:48 +01:00
Maruno17
4480def33c Anim Editor: added FoeFlip property, Space to play, S to swap sides, P to show/hide property lines for selected particle 2024-04-18 22:35:15 +01:00
Maruno17
15033d6114 Anim Editor: improved NumberTextBox entry, added "FoeInvertX/Y" particle properties, tidied up 2024-04-15 22:42:46 +01:00
Maruno17
a548a1ae9d Anim Editor: Fixes 2024-04-13 22:38:23 +01:00
Maruno17
184ce47b93 Anim Editor: colour changes 2024-04-13 22:13:21 +01:00
Maruno17
c14faf3fed Anim Editor: Changes to example animations and converter 2024-04-13 22:12:11 +01:00
Maruno17
44cc500fdc Anim Editor: added play functionality to battle and editor 2024-04-13 16:28:52 +01:00
Maruno17
d0e15a8939 Anim Editor: List control no longer fills in its background 2024-04-07 23:49:23 +01:00
Maruno17
f34f9040c6 Anim Editor: graphics and audio now support subfolders, other tweaks 2024-04-07 19:51:17 +01:00
Maruno17
29140a517e List control now draws its own background 2024-04-04 22:39:01 +01:00
Maruno17
9c3314843a Anim Editor: refactoring side pane code 2024-04-04 21:33:08 +01:00
Maruno17
494e646fd5 Fixed replacement battler being invisible if its predecessor fainted and used the same sprite, refactoring 2024-04-01 23:41:54 +01:00
Maruno17
a2af2c36f9 Added water ripple animation, removed second error message when the Compiler crashes 2024-04-01 22:13:16 +01:00
Maruno17
1977bd866c Anim Editor: added filter text box to selection screen, disabled animations are listed in red 2024-03-31 23:19:31 +01:00
Maruno17
76e2b5a4fb Anim Editor: added particle frames to canvas, added mouse interactions to canvas 2024-03-31 00:12:51 +00:00
Maruno17
323b62b7d5 Anim Editor: polishing, refactoring, ensuring data 2024-03-25 22:08:11 +00:00
Maruno17
8a218ca834 Anim Editor: added color and tone side pane 2024-03-25 16:44:43 +00:00
Maruno17
054d7820e4 Anim Editor: added interpolation editing 2024-03-16 00:08:00 +00:00
Maruno17
ae32d59eb9 Anim Editor: added more animation interpolation types, greyed out timeline that isn't part of the animation 2024-03-12 19:11:51 +00:00
Maruno17
1ff5b12acd Added "beneath map" height for overworld animations, fixed new games inheriting Jukebox BGM from save file, added PokeBall property for trainer types, fixed Cramorant form changing effects 2024-03-11 23:31:48 +00:00
Maruno17
f0fae4b9ec Anim Editor: added NoUser property, added buttons to duplicate/delete particle and delete single commands 2024-02-29 00:54:01 +00:00
Maruno17
47be44a54c Renamed townmapgen, embedded its graphics in the html file 2024-02-28 20:23:29 +00:00
Maruno17
1c9ce0b01a Fixed Event Touch events on connected maps triggering themselves by moving around 2024-02-20 19:33:13 +00:00
Maruno17
24dda5128a Improved fix of phone data conversion 2024-02-15 22:13:10 +00:00
Maruno17
3e167b9357 Fixed type-resisting berries trying to be consumed twice when triggered by a move called by another move, fixed bad old phone data conversion, fixed events of even sizes moving endlessly when approaching the player 2024-02-15 21:16:15 +00:00
Maruno17
67acf46859 Added new/shift buttons to Anim Editor timeline 2024-02-15 20:15:03 +00:00
Maruno17
86c92e7657 Fixed reflections not disappearing if the parent event changes to a blank page 2024-02-02 00:07:32 +00:00
Maruno17
e6fe242d4b AI changes, fixed input detection Conditional Branch, Fishious Rend is now a biting move 2024-02-01 23:50:09 +00:00
Maruno17
4455c093b8 Added canvas to new animation editor (isn't interactive yet), improved example animations 2024-01-25 21:07:16 +00:00
Maruno17
c78e32db09 Fixed Database animations' position not moving the animation for exclamations 2024-01-18 23:47:33 +00:00
Maruno17
97a66020ca Fixed being able to jump over a ledge the wrong way if it's on the edge of a connected map 2024-01-18 22:40:58 +00:00
Maruno17
c5d7d1447b Added Setting for item sell prices, added stat for primal reversions, fixed weird movement when jumping across a map connection 2024-01-18 22:20:46 +00:00
Maruno17
94f0a9c8d0 Made New/Copy/Delete buttons in animation selector screen work, split animations compiler into its own compiler 2024-01-02 23:34:59 +00:00
Maruno17
732e09336a Merge branch 'master' into animations 2024-01-02 16:01:28 +00:00
Maruno17
8c5911e4a4 Fixed being able to bypass a caught mon being forced into the party, fixed Rotom Catalog, fixed incorrect writing of some enums to PBS files, fixed Jukebox's awareness of audio files, fixed bug when battle default weather is primordial, disabled path cache to add speed 2024-01-01 20:35:28 +00:00
Maruno17
6bd35d44c4 Added TextBoxDropdownList UI control 2024-01-01 18:12:53 +00:00
Maruno17
d5c7b8cc15 Updated core translation text files 2023-12-12 20:32:16 +00:00
Maruno17
2f231a25bb Tidied up TODO comments, misc tweaks to Anim Editor 2023-12-03 23:47:38 +00:00
Maruno17
b4e7b765d1 Added the animation properties pop-up window 2023-12-02 01:39:43 +00:00
Maruno17
b69f1fc5a6 Fleshed out Animation Editor's chooser screen, added lots of example animation PBS files 2023-11-30 22:16:42 +00:00
Maruno17
5553218507 UIControls can be disabled, added blacklist to TextBox control 2023-11-29 23:39:10 +00:00
Maruno17
973b93a524 Added gra;hic/SE chooser pop-up windows to Animation Editor 2023-11-28 22:28:08 +00:00
Maruno17
01ff59606b Merge branch 'dev' into animations 2023-11-27 18:27:38 +00:00
Maruno17
c7e8848813 Added min. 3 perfect IVS for legendaries, rerolling IVs for Safari/Bug Contest Pokémon, fixed Big Nugget's Fling power in Gen 8 2023-11-27 18:26:07 +00:00
Maruno17
d3c9c6b360 External script loader now ignores non-.rb files and folders beginning with ".", updated extractor/combiner scripts 2023-11-27 18:01:04 +00:00
Maruno17
1080f69a0d Fixed location signpost not appearing properly when using Fly, fixed wild/trainer Pokémon with a "getForm" handler not using it 2023-11-20 22:11:32 +00:00
Maruno17
e0dcdef321 Fixed partner trainers not having Bag items, fixed Flame Burst AI bug, added AI for Wonder Guard + switching 2023-11-20 21:29:47 +00:00
Maruno17
b54a96f23f Add menu bar to Animation Editor, some refactoring 2023-11-19 22:13:47 +00:00
Maruno17
d10892af47 Fixed bug in previous commit relating to writing PBS files 2023-11-06 20:02:32 +00:00
Maruno17
f07b44d826 Minor lag improvements to overworld animations 2023-11-05 16:15:41 +00:00
Maruno17
156a6fca74 Fixed BGM bug when ending surfing and immediately triggering a trainer battle with an intro BGM, fixed events making all other events check if they trigger after the event moves, fixed Neutralizing Gas triggering twice upon fainting 2023-11-05 15:42:15 +00:00
Maruno17
092fbda34d Fixed being unable to write values to PBS files that were enumerated to something other than a number, error log files now go in the game's folder 2023-11-04 23:32:43 +00:00
Maruno17
ab2d2c1356 Added header variant of Label control, makde DropdownList control 2023-11-04 23:12:25 +00:00
Maruno17
64890f3c9e Rearranged and renamed Animation Editor-related script files 2023-10-23 23:44:34 +01:00
Maruno17
340983e765 Fleshing out animation editor's code 2023-10-23 22:36:43 +01:00
Maruno17
7031698d85 Added animation editor's particle list 2023-10-18 16:48:28 +01:00
Maruno17
5cab0f407d Split "Evolutions" line in PBS files into multiple "Evolution" lines 2023-10-14 19:15:38 +01:00
Maruno17
389d43941d Added SKIP_CONTINUE_SCREEN Setting, fix message newline visual bug at slow text speeds, removed Bag rearranging 2023-10-14 18:32:18 +01:00
Maruno17
25f85a9a8b Added mp3 support back in, changed layout of townmapgen.html, screenshots now go in Screenshots folder, added "NoName" flag for trainer types 2023-10-14 16:28:37 +01:00
Maruno17
193f01f70b Refactored scrollbar into its own control 2023-10-06 20:59:30 +01:00
Maruno17
79ffcd3230 Animation editor now uses proper animation data, misc other code tweaks to animation editor 2023-10-01 20:39:04 +01:00
Maruno17
d267956c6e Fixed being able to Fly in the Town Map despite the Setting, fixed being unable to interact with an event next to you if standing on an event 2023-10-01 19:24:49 +01:00
Maruno17
a6c7e2c1ff Added Setting that prompts compiling upon startup 2023-10-01 18:52:48 +01:00
Maruno17
cd32b5e725 Fixed language files not being loadable in an encrypted game, fixed language files not reverting to default if they don't exist and other language files are already loaded 2023-10-01 18:06:54 +01:00
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
2ff47cf40d Created animation PBS file compiler and writer 2023-09-24 18:20:32 +01:00
Maruno17
d9c3898124 Fixed long battle messages displaying weirdly 2023-09-23 19:20:44 +01:00
Maruno17
b2c66b7b0c Fixed typo relating to AI switching, fixed Pokémon sent from the party to storage in battle not resetting their battle-only conditions, fixed player's sprite in Duel minigame not caring about the player's outfit, added missing move flags 2023-09-21 19:36:10 +01:00
Maruno17
bc18aa95f2 Fixed Cramorant not reverting form after coughing up a Gulp Missle, fixed crash when a phone contact calls when you're on a map with no metadata 2023-09-10 16:57:09 +01:00
Maruno17
8f00307685 Made Voltorb Flip board generation more accurate to HGSS 2023-09-10 16:26:05 +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
d4077875a4 Implemented list control and basic animation-choosing screen for editor 2023-08-31 23:03:47 +01:00
Maruno17
1041883992 Initial proof of concept commit 2023-08-28 22:41:48 +01:00
Maruno17
efea53aa5a Fixed Pokédex showing genders for the wrong species, fixed AI always switching sleeping/frozen Pokémon, fixed class PngAnimatedBitmap animating slowly 2023-08-23 21:08:32 +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
ENLS
20affb4345 Update 004_Game_Map.rb (#210) 2023-06-06 20:44:08 +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
Conmh
5d9cc71a99 Made def wants_status_problem?(new_status) consider a few more abilities (#203) 2023-03-30 22:19:40 +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
FL
02129f5507 Fixed party navigation on pokémon selection (#198)
* Fixed party navigation on pokémon selection

On a selections like Battle Tower's, if player places the cursor into cancel and press up, the cursor doesn't move/loop. This was fixed.

Co-authored-by: Maruno17 <serialcolour@hotmail.com>
2023-03-11 22:52:07 +00:00
Keyacom
f5bf1f6ab1 Remove powder check from Magic Powder (#202)
This is already handled by the `Powder` flag on Magic Powder, so this is unneeded.
2023-03-11 22:28:04 +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
Keyacom
c233841bb6 Make Clangorous Soul affected by Dancer (#195)
As discovered by Awesomelink234 of Bulbapedia: https://bulbapedia.bulbagarden.net/wiki/Special:Diff/3633158
2023-02-04 21:29:54 +00:00
Conmh
5086f692df added Belch to consideration for some function codes and fixed a typo (#199)
* added Belch to consideration for some AI function codes and fixed a typo
2023-02-04 21:22:22 +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
Maruno17
4da9a8c4e3 AI function code rewrites for base stat changes, electrifying moves and multi-turn moves 2023-01-29 23:24:07 +00:00
Maruno17
13aab8d911 Lots of rubocop 2023-01-28 15:21:12 +00:00
Maruno17
2d056052ce Fixed crash when trying to change a battle animation's foreground image 2023-01-26 18:37:11 +00:00
Maruno17
a0af8e6eb5 Fixed screen positioning bug when jumping over ledges near the top or left of a map 2023-01-26 18:33:21 +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
d8f38947f4 AI function code rewrites, added Shadow Sky's missing effects, fixed Shadow End's recoil damage 2023-01-22 21:21:19 +00:00
Maruno17
f7578002ea Rewrites of disabling move AI function codes, fixed various AI errors 2023-01-19 22:30:55 +00:00
Maruno17
0c9df4627e Merge branch 'dev' into ai 2023-01-18 19:12:34 +00:00
Maruno17
3d9c3e2c00 Fixed incorrect variable use for Jaboca/Rowap Berries' effects 2023-01-18 19:11:14 +00:00
Maruno17
2627d68782 Added more debug logging to AI, fixed some bugs in AI 2023-01-16 19:29:28 +00:00
Maruno17
98f16c2afa More AI function code rewrites, ensured all AI procs next an appropriate value 2023-01-14 23:51:39 +00:00
Maruno17
84bdd1f60b AI function code rewrites 2023-01-12 23:08:26 +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
ae0d193bba More item portion name tweaks 2023-01-04 18:21:08 +00:00
Maruno17
2e8329f70b Implemented item portion names, e.g. "bag of Soft Sand" 2023-01-03 21:32:32 +00:00
Maruno17
707cd143d8 Fixed sliding on ice having the camera lag behind 2023-01-03 15:05:54 +00:00
Maruno17
9dd774a767 Fixed error when gaining happiness while at/above the happiness soft cap 2023-01-01 18:34:54 +00:00
Maruno17
522f78b75d Fixed party Pokémon icons overlapping the marking window in Pokémon storage 2022-12-31 18:03:17 +00:00
Maruno17
3fa94bacc6 Merge branch 'dev' into ai 2022-12-31 17:45:46 +00:00
Maruno17
37246d8d01 Fixed bug in previous commit 2022-12-31 17:45:26 +00:00
Maruno17
4585533a4a Fixes relating to added support of more Pokémon types 2022-12-31 17:43:42 +00:00
Maruno17
05b954e262 Merge branch 'dev' into ai 2022-12-31 17:28:56 +00:00
Maruno17
3fe324d0da Generalised a species' types to allow any number of types 2022-12-31 17:24:33 +00:00
Maruno17
dd7cd414f0 Yet more AI function code rewrites 2022-12-31 15:26:41 +00:00
Maruno17
1258e4b9c9 More AI function code rewrites themed around stat changes 2022-12-25 00:39:25 +00:00
Maruno17
f33184d413 Generalised AI code for scoring stat changes 2022-12-18 20:51:16 +00:00
Maruno17
3a4b01e2dc Fixed default terrain not being set properly sometimes 2022-12-10 22:04:24 +00:00
Maruno17
7ace4c5289 AI rewrites of ability-changing function codes, OHKO codes and binding codes 2022-12-10 21:59:44 +00:00
Maruno17
539a47671d Some more AI function code rewrites 2022-12-04 19:09:46 +00:00
Maruno17
d654f3edbf Added BP shop and prices to various items 2022-12-01 22:43:47 +00:00
Maruno17
b13c2ed2ed Fixed and generalised PBS editors 2022-11-28 20:28:48 +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
c53a52564b More AI rewrites of various function codes, made move score threshold multiplier depend on trainer skill 2022-11-26 22:31:28 +00:00
Maruno17
427cc45629 Generalised compiler and writer methods for trainers.txt 2022-11-23 22:44:15 +00:00
Maruno17
91efb4684b Fixed file-choosing methods not removing file extensions, fixed typo in Puddle envirnment registration 2022-11-23 22:43:11 +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
6f2e72eed6 Rewrites of AI for airborne-related moves 2022-11-09 22:21:32 +00:00
Maruno17
8f014135e5 More rewrites of AI for some function codes 2022-11-08 22:54:16 +00:00
Maruno17
b31400b9ae First shot at rewriting AI for moves that lower the target's stat(s) 2022-11-06 16:53:24 +00:00
Maruno17
55563463d8 Resolving clashing code from merge 2022-11-05 21:10:05 +00:00
Maruno17
3e73d1c1f9 Merge branch 'dev' into ai 2022-11-05 20:42:12 +00:00
Maruno17
bbe654028c Revised changes in previous commit about Pokémon generation for non-standard battles 2022-11-05 19:29:06 +00:00
Maruno17
5dd8c31ff0 Fixed only one IV being inherited due to a held Power item if both parents are holding different Power items 2022-11-05 18:46:22 +00:00
Maruno17
4f42eca3ee Fixed Safari/Bug Contest/roaming battles generating Pokémon while ignoring that Pokémon's defined form 2022-11-05 18:08:04 +00:00
Maruno17
096957bc20 Fixed Liquid Ooze not applying if the bearer faints, fixed two-turn moves being used in one turn charging up after failing instead of before 2022-11-05 17:48:01 +00:00
Maruno17
c984fda1cf Standardised compiling-based console messages 2022-11-05 16:18:24 +00:00
Maruno17
3408b038cf Split AI move handlers into general ones and ones per target, rearranged some main move-scoring code 2022-10-30 15:25:46 +00:00
Maruno17
6f7a714d48 Fixed error in battle fight menu when not using graphics for it 2022-10-26 18:39:32 +01:00
Maruno17
e12fd08eb1 Some more rewrites of AI move score calculations (mainly item-related moves) 2022-10-23 18:24:18 +01:00
Maruno17
5384a7afe4 Fixed a scrolled screen snapping back to centre on the player as soon as they move 2022-10-23 15:37:45 +01:00
Maruno17
2d411cf152 Fixed error in previous commit 2022-10-19 20:01:17 +01:00
Maruno17
64f975072b Fixed BGM always restarting when changing maps if the new map's BGM has a night version 2022-10-19 19:12:39 +01:00
Maruno17
5a49bbbc94 Renamed function code UseUserBaseDefenseInsteadOfUserBaseAttack, more AI function code changes 2022-10-17 21:13:31 +01:00
Maruno17
9eb90b784e addIf now need an identifier symbol, fixed clas between using Future Sight and being locked into a move, fixed IV inheritance 2022-10-16 22:53:41 +01:00
Maruno17
9ad45d6b07 Fixed bug caused by strikethrough/underline change, fixed fixed damage moves showing effectiveness messages 2022-10-16 15:52:02 +01:00
Maruno17
e8703e8b05 More error fixes in AI 2022-10-16 14:53:49 +01:00
Maruno17
43290c39a2 Errors in the AI no longer cause it to do nothing 2022-10-16 14:52:27 +01:00
Maruno17
58a624060a Rewrote AI calculations for moves that cause confusion, flinching and infatuation 2022-10-09 18:37:19 +01:00
Maruno17
b41a46aacf Fixed roaming Pokémon not remembering whether they have been caught 2022-10-08 18:06:37 +01:00
FL
de07341337 Fixed action button crashing roaming debug menu (#192) 2022-10-08 17:51:13 +01:00
Maruno17
882f4c96f8 Bug fixes: Shadow Pokémon still knowing some original moves when they shouldn't, Interpreter not resetting if saved in the middle of an event and then starting a new game, priority 1 tiles appearing below the player at larger screen sizes, ability inheritance when breeding 2022-10-08 17:46:29 +01:00
Maruno17
9695094b02 Merge branch 'dev' into ai 2022-10-04 22:56:27 +01:00
Maruno17
fa2758edaa Fixed Pastel Veil not providing poison immunity to allies, and not healing the bearer if it becomes poisoned anyway 2022-10-04 22:10:58 +01:00
Maruno17
2897476d1b Rewrote AI calculations for moves that inflict a status problem 2022-10-04 21:25:58 +01:00
Maruno17
4ddf689887 Improved Debug running options in battle, allowed Debug running from battle by choosing Call, removed support for save files in the old save location 2022-10-02 16:01:35 +01:00
Maruno17
88dc215417 Bug fixes: interacting with a follower in the same tile as the player; underline/strikethrough line mispositionings and added shadows to those lines; Toxic/Flame Orb replacing existing status problems; grown berry plants looking like sprouts; pbShowCommandsWithHelp not deactivating message windows it creates 2022-10-02 14:59:59 +01:00
Maruno17
1ccbafb499 Rewrote the random dungeon generator code 2022-10-01 18:06:15 +01:00
Maruno17
63ec037481 AI changes for some multi-hit/multi-turn moves, improved AI's damage calculation 2022-09-18 18:16:08 +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
4fcd19e247 Added sorting to phone, both moving individual contacts and sorting all at once 2022-09-10 23:20:40 +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
dcba641a86 Fixed typos in def pbCalcTypeModPokemon, fixed party screen navigation errors when there are no Pokémon, advanced battle Debug functions now trigger modifiers, can now always change a Pokémon's form to 0 2022-09-10 16:33:11 +01:00
Maruno17
eb8fc1d298 More AI checks and fixes 2022-09-10 15:26:38 +01:00
Maruno17
9bd31300ad AI-only battles shouldn't be usable before loading a game 2022-09-06 22:59:36 +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
b8c61a6038 Rewrote AI calculations for move effects that raise the user's stats, fixed Sea of Fire effect lasting forever 2022-09-04 17:46:59 +01:00
Maruno17
db215a71d6 Fixed AI accuracy calculation for OHKO moves, reviewed more AI function code score modifiers 2022-09-02 21:36:31 +01:00
Maruno17
d870b027db More misc AI move effect calculation rewrites 2022-09-02 00:24:56 +01:00
Maruno17
429068f3cb More AI move effect calculation rewrites 2022-08-31 19:02:54 +01:00
Maruno17
ecb5e2ffd1 Rewrote AI calculations for remaining healing move effects 2022-08-31 16:23:24 +01:00
Maruno17
92c0fe5c90 Rewrote AI calculations for move effects relating to healing the user, added calculation to add predicted damage to a move's score 2022-08-30 22:13:23 +01:00
Maruno17
931a47c5fe Rewrote AI calculations for move effects relating to the user fainting 2022-08-30 18:33:31 +01:00
Maruno17
8275d40193 Added Mold Breaker consideration to AI, updated some AI calculations, fixed non-ignorable abilities in damage calculation actually being ignorable 2022-08-29 22:39:06 +01:00
Maruno17
22dce593e8 Split AI general move score modifiers into handlers 2022-08-29 15:59:22 +01:00
Maruno17
9ed2f3e920 Misc tidying and commenting of AI code 2022-08-28 17:59:02 +01:00
Maruno17
fbbddc8c2b Changed AI's random move choice after scores are calculated 2022-08-27 20:37:05 +01:00
Maruno17
265897f9e1 Made AI function code-specific MoveFailureCheck handlers 2022-08-27 20:11:01 +01:00
Maruno17
b6c84fa278 Added AI handlers that calculate a move's base power, moved AI damage calculation 2022-08-25 19:16:21 +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
b094a2fd8e Reapplied various AI changes from previous atempt at improving the AI, split function code move score changes into handlers 2022-08-21 15:59:49 +01:00
Maruno17
4075204038 Merge branch 'dev' into ai 2022-08-19 21:41:09 +01:00
Maruno17
18ffd4fb94 Fix to colour-stringifying methods 2022-08-19 21:40:46 +01:00
Maruno17
963d2a515b Merge branch 'dev' into ai 2022-08-19 21:37:14 +01:00
Maruno17
ae91811537 Created folder Graphics/UI, renamed some UI graphics 2022-08-14 01:07:06 +01:00
Maruno17
b1cde2db42 Refactored some code relating to colours, trivially simplified some calculations 2022-08-13 23:59:24 +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
c79b970d6b Fixed error when shifting Pokémon at the end of a battle round, fixed Giratina's form code crashing if the current map doesn't have metadata, fixed item sell prices being halved twice 2022-08-13 16:29:48 +01:00
Maruno17
1d2f13f9c5 Entered dev version for v21 2022-08-10 21:16:17 +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
5ff0c04eed Added Marin's AI as a reference 2022-08-10 18:38:20 +01:00
Maruno17
eeeb9b3494 Added old AI references/rewrite attempt as references 2022-08-09 19:35:45 +01:00
Maruno17
a20f378b33 Minor tweaks 2022-08-09 19:30:27 +01:00
Golisopod-User
bff0cc6974 Fixed set movement type (#185) 2022-08-08 17:40:12 +01:00
Maruno17
b2ddedbce1 Reduced the work done when updating the sprites of events without a graphic 2022-08-07 16:29:29 +01:00
Maruno17
6542d505a6 The player now dismounts the Bicycle after various map transfers 2022-08-07 16:07:37 +01:00
Maruno17
cca414a826 Bug Contest maps can now be defined using a map metadata flag 2022-08-07 15:00:40 +01:00
Maruno17
f083cddca5 def pbPhoneRegisterBattle now returns a boolean, added vowel checks to some messages in berry planting 2022-08-07 14:43:40 +01:00
Maruno17
b423f34da6 Returning to the title screen now fades out the overworld first 2022-08-07 14:39:10 +01:00
Maruno17
f22707f2f1 Fixed being unable to set the player's movement speed during a move route 2022-08-07 14:27:39 +01:00
Maruno17
3c748c9d68 Fixed play time carrying over to new games, fixed Eerie Spell thinking it's a status move, fixed text positionings in Pokédex and naming screen, fixed Channeler typo 2022-08-07 14:21:30 +01:00
Maruno17
757798c8a8 Summary screen now uses only the first Regional Dex to determine Dex No. if the National Dex is locked 2022-07-10 19:16:11 +01:00
Maruno17
72e45ab137 Fixed error when getting terrain tag when the player moves between connected maps 2022-07-10 19:05:54 +01:00
Maruno17
473d4cbb67 Fixed SystemStackError when two events on connected maps have their backs to the other map 2022-07-10 19:05:42 +01:00
Maruno17
8ae07a6d15 Fixed some Vs animations not playing for double battles against 1 trainer, fixed typo in Grassy Glide's effect 2022-07-08 13:44:04 +01:00
Maruno17
3314477f08 Made the example wild encounter modifier that scales Pokémon levels to match the player's party depend on a map metadata flag instead of a map number 2022-07-07 20:49:49 +01:00
Maruno17
b50ce948f6 Fixed battle rule "forceCatchIntoParty" being circumventable, fixed wrong message when sending a party Pokémon to storage and replacing it with a caught Pokémon 2022-07-07 20:42:23 +01:00
Maruno17
e1dc7c91bc Fixed broken Bill's PC menu options 2022-07-06 20:03:46 +01:00
Maruno17
0b65865962 Fixed error message spam in the console when editing Game Swtches via the Debug mode feature 2022-07-06 20:03:10 +01:00
Maruno17
8f73319605 Fixed evolution reviving fainted Pokémon, fixed Rare Candy not reviving a fainted Shedinja 2022-07-06 20:02:30 +01:00
Maruno17
a85f672c73 Fixed crash when the Compiler rewrites a door event 2022-07-06 18:43:52 +01:00
Maruno17
2976ee93ce Added Setting that makes trainer-owned Pokémon give more Exp, other tweaks 2022-07-03 17:39:44 +01:00
Maruno17
a2327c6280 Fixed playing the credits/changing $scene leaving a ghost image of the old map behind, fixed Pokémon icons sometimes disappearing in storage screen 2022-07-03 16:40:25 +01:00
Maruno17
6dd88e49e1 Fixed the "See ya!" option in the PC menu not working properly, fixed mispositioning of text in Debug features that edit Game
Switches/Variables
2022-07-03 15:58:37 +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
7e183a92aa Tidying up for v20.1 release 2022-06-20 19:17:38 +01:00
Maruno17
76639c4ba5 Fixed duplicate files listed in BGM/ME pickers in PBS file editors 2022-06-20 08:44:18 +01:00
Maruno17
03ffae6eed Fixed empty wild encounter type tables not being editable in "Edit Wild Encounters" debug function 2022-06-19 23:07:21 +01:00
Maruno17
2486fa9fe2 Fixed player being able to be stuck in running position when opening the pause/ready menu 2022-06-19 22:44:29 +01:00
Maruno17
040247536f Some improvements to map/event rendering when changing display tile width/height in map renderer 2022-06-19 22:34:22 +01:00
Golisopod-User
ad93eb7774 Removed all uses of SpriteWrapper (#184) 2022-06-19 17:47:23 +01:00
Maruno17
8b3d95943a Essentials no longer requires the "Plugins" folder to exist 2022-06-19 17:40:34 +01:00
Maruno17
9261851701 Fixed party order not being altered at the start of battle if there are unable Pokémon before the one(s) sent in initially 2022-06-19 17:36:35 +01:00
Maruno17
9a53ee8a0e Fixed text positioning in "Roaming Pokémon" Debug function 2022-06-19 17:35:08 +01:00
Maruno17
2e3ba2e09e Fixed Grudge and Lunar Dance not properly changing PP amounts 2022-06-19 17:04:58 +01:00
Maruno17
b367b2442b Fixed error when using Future Sight 2022-06-18 21:18:34 +01:00
Maruno17
9a03b25755 Fixed using Pursuit against a switcher preventing using the next move 2022-06-18 21:13:30 +01:00
Maruno17
79f5e5d4aa Fixed mistake in individual trainer editor 2022-06-18 20:48:27 +01:00
Maruno17
4b895e44ef Fixed the passability of the blank tile not being ignored if its priority is 0 2022-06-17 21:41:35 +01:00
Maruno17
d42e35f8c4 Fixed being unable to walk across a map connection into an event even while holding Ctrl in Debug mode 2022-06-17 21:41:22 +01:00
Maruno17
cd47b9899c Fixed some maps being loaded when they shouldn't 2022-06-16 19:50:36 +01:00
Maruno17
3d8e22690d Stopped various filenames being translatable when they don't need to be 2022-06-16 13:29:48 +01:00
Maruno17
3238ff817c Fixed the Bag lists having incorrect starting positions when choosing an item from a subset of your Bag 2022-06-15 20:03:43 +01:00
Maruno17
b8e9251fb4 More splitting of AI_Move_EffectScores 2022-06-15 19:23:52 +01:00
Maruno17
62b964adfa Split script section AI_Move_EffectScores in two and rearranged it 2022-06-15 19:15:03 +01:00
Maruno17
c0c672806d Refactored code that draws the Pokémon info box in battle 2022-06-13 23:17:09 +01:00
Maruno17
cc540b0132 Refactored code that draws party screen panels 2022-06-13 22:54:44 +01:00
Maruno17
8d4015c903 Improvement to Scent items' in-battle effects 2022-06-13 21:23:51 +01:00
Maruno17
301ecb0ac7 Scents now end Hyper Mode, Time Flute now purifies a Shadow Pokémon, Shadow Pokémon now regain 80% of the Exp they missed out on, non-Scent items can't be used on Shadow Pokémon in Hyper Mode 2022-06-13 21:09:48 +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
cdc82b6e65 Fix to previous commit about trainer intro BGM persisting after skipped battles 2022-06-10 17:48:18 +01:00
Maruno17
248b0dd882 Added def GameData::Species.base_stat_total, other minor code tweaks 2022-06-09 21:06:35 +01:00
Maruno17
cb2f33d8f6 Fixed GameData::Species.icon_bitmap_from_pokemon causing a crash, fixed trainer intro music not stopping after skipping their battle 2022-06-09 21:05:22 +01:00
Maruno17
49c916e1bb Added support for the Bug Catching Contest taking place over multiple maps 2022-06-08 23:13:01 +01:00
Maruno17
101dca7a31 Fixed the Back input not being able to close a displayed message in the Poké Mart 2022-06-08 22:46:30 +01:00
Maruno17
038be447fb Fixed crash when using a Shadow Pokémon Scent or Time Flute item 2022-06-05 14:48:54 +01:00
Maruno17
d383d69cf4 Fix for tiles being invisible after a map transfer if they were on screen before it 2022-06-04 16:06:00 +01:00
Maruno17
2c65a9de7d Fix for tiles being invisible after battle until they leave the edge of the screen 2022-06-03 20:13:19 +01:00
Maruno17
ff1f9633f3 Fixed SystemStackError when loading a connected map with an event at its edge facing away from that edge 2022-06-03 14:42:04 +01:00
Maruno17
b441411b2e Fixed trainer intro BGM persisting after battles against multiple trainers 2022-06-02 18:47:24 +01:00
Maruno17
e3dbc5e690 Updated moves.txt to fix a few mistakes 2022-06-02 17:27:14 +01:00
Maruno17
17e386d33e Fixed def pbChooseItemFromList not storing the correct result in a Game Variable 2022-06-02 16:46:27 +01:00
Maruno17
0da046d2c3 Fixed memory leak caused by lots of map transfers 2022-06-02 16:43:58 +01:00
Maruno17
1532be2410 Fixed incorrect capitalisation in message when Aurora Veil wears off 2022-06-02 16:40:37 +01:00
Maruno17
a63d031da2 Fixed Gorilla Tactics also boosting Special Attack 2022-06-01 22:48:24 +01:00
Maruno17
3338875dd8 Fixed error when applying Sea of Fire's damage 2022-06-01 22:47:32 +01:00
Keyacom
2ba2893869 Fixed Grav Apple having the incorrect damage boost (#179)
* Fixed Grav Apple having the incorrect damage boost

In the official games, Grav Apple has a damage boost of 1.5x under Gravity, not 2x. This has been fixed.

* Updated move effect class name
* Apply updated function code
* Update moves.txt
2022-05-29 23:01:34 +01:00
FL
22018012c7 Fix challenge min length (#180)
* Fix challenge min length

Challenge min length wasn't working when combined with PokemonRule/TeamRule.
2022-05-29 19:18:38 +01:00
Maruno17
9f09851db9 Renamed moves.txt property BaseDamage to Power 2022-05-29 19:01:49 +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
6a046ff755 Fixed Xerneas/Zacian/Zamazenta not being their alternate form throughout battle 2022-05-29 18:13:08 +01:00
Maruno17
9ecbee910d Fixed error when calculating type effectiveness against a Pokémon with no types 2022-05-28 23:07:55 +01:00
Maruno17
325a1b2998 Fixed Dauntless Shield raising the wrong stat 2022-05-26 18:57:21 +01:00
Maruno17
eebe93678a Fixed Pickup's out-of-battle effect causing an error 2022-05-26 18:50:48 +01:00
Maruno17
ff3c3acfa6 Merge branch 'dev' 2022-05-24 19:10:34 +01:00
Maruno17
0d567db2cd Updated README.md 2022-05-24 19:07:22 +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
eab69f213a Fixed error when using Rotom Catalog 2022-05-24 13:44:12 +01:00
Maruno17
d94d1836c6 Fixed Howl always failing 2022-05-24 13:43:01 +01:00
Maruno17
41479fac04 Fixed the player animating super-fast for a while after surfing 2022-05-23 23:29:23 +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
98aeff01c5 Pokédex entry won't appear for gifted Pokémon if you don't want to record its form in the Pokédex 2022-05-20 20:32:16 +01:00
Maruno17
38d551f72b Fixed not registering a gifted Pokémon as seen/owned before looking at its Pokédex entry 2022-05-20 20:22:47 +01:00
Maruno17
ce5d68a904 Fixed incorrect Pokémon icons shown in Ready Menu if there are eggs in the party 2022-05-20 19:11:12 +01:00
Maruno17
d5e26d13f7 Renamed VictoryME to VictoryBGM in trainer_types.txt 2022-05-20 17:45:03 +01:00
Maruno17
0ab1e6242d Added some more outdated script replacements to the Compiler 2022-05-20 17:44:35 +01:00
Maruno17
d28ccd13e1 Fixed incorrect status condition icon used for fainted Pokémon and Pokémon with Pokérus 2022-05-20 17:39:17 +01:00
Maruno17
b344cb7fcc Fixed event evolutions not working 2022-05-20 17:36:39 +01:00
Maruno17
cc7ecf0326 Fixed incorrect message when choosing a Pokémon to withdraw from Day Care 2022-05-20 17:35:02 +01:00
Maruno17
622aa708b0 Merge branch 'dev' 2022-05-19 23:23:50 +01:00
Maruno17
f5ee3b9c9f Fixed F9 skipping a turn in Safari battles, fixed Gym Leader attempts stat not working 2022-05-19 22:24:40 +01:00
Maruno17
47ad801645 Tidying up for v20 release 2022-05-19 19:42:16 +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
e9cd62b8b6 Added Game_Character#x_offset and y_offset, to adjust event display positions by pixels 2022-05-18 21:49:27 +01:00
Maruno17
d7f4434000 Added "Sight(x)" event name snippet 2022-05-18 19:32:28 +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
e12b6fde1d NPC trainers' end of battle text is now read directly from the trainer object rather than extracted to an array 2022-05-17 22:28:29 +01:00
Maruno17
cf338b3a6a Fixed bug in previous commit 2022-05-15 20:35:26 +01:00
Maruno17
22f0c8627a Refactored battle-starting methods into WildBattle.start and TrainerBattle.start, etc. 2022-05-15 20:28:06 +01:00
Keyacom
07d7403fbf Minor regex fix (#178)
/[Cc]/ takes up 2 more chars than /c/i.
2022-05-13 21:39:12 +01:00
Maruno17
823ce771a8 Fixed cursor SE sometimes playing when choosing a quantity in the Bag/Poké Mart but the quantity doesn't change 2022-05-13 21:35:03 +01:00
Maruno17
1caedc0ed2 Added a Setting to toggle whether the Move Reminder can teach previously known egg moves/TRs 2022-05-13 21:12:47 +01:00
Maruno17
7a88d47b4b Minor fixes to Pokérus code, fixed some incorrect apostrophes in PBS files 2022-05-06 19:04:13 +01:00
Maruno17
5a1ef50e57 Fixed location signpost display incorrectly caring about a map's RMXP name when it shouldn't 2022-05-06 18:59:08 +01:00
Maruno17
1b551b30f4 Fixed fishing/Rock Smash/Headbutt being able to cause double wild battles 2022-05-01 01:08:33 +01:00
Maruno17
140ba4c622 Player's charset now changes accordingly when moved fast/slow by a move route 2022-05-01 01:06:38 +01:00
Maruno17
c3af3c6f58 Rewrote/generalised pbPickup and moved its item arrays and chances into separate constants 2022-04-28 21:29:06 +01:00
Maruno17
b7f230fcfc Shortened and updated documentation of PluginManager 2022-04-25 23:27:11 +01:00
Maruno17
5714a2d6d3 Split up def pbEndOfRoundPhase 2022-04-25 23:24:55 +01:00
Maruno17
fd5d3e332d Fixed moves taught via battle Debug menu not working, fixed Max Mushrooms showing the stat up animation for every stat 2022-04-24 21:06:40 +01:00
Maruno17
ad29dc6dc4 Fixed X items not working, fixed Knock Off being able to remove usable Mega Stones 2022-04-24 21:04:22 +01:00
Maruno17
8062b8ed6c Made "DefaultForm_X" flag apply when changing a Pokémon's species 2022-04-24 12:04:34 +01:00
Maruno17
a85ec1e51a Changed battle victory MEs to BGMs 2022-04-21 21:43:11 +01:00
Maruno17
77f9547687 Misc tidying 2022-04-20 22:29:13 +01:00
Maruno17
d3b61a64ef Turned trainer intro MEs into BGMs 2022-04-20 22:11:04 +01:00
Maruno17
144ad91bc1 Fixed icons in messages being misaligned 2022-04-18 21:16:46 +01:00
Maruno17
408e63b5d7 Updated to mkxp-z v2.3.1 2022-04-18 21:16:24 +01:00
Maruno17
d6c6b79705 Tidying up tones 2022-04-18 20:47:19 +01:00
Maruno17
20d6d4ff0a Implemented differences in Ball Burst animations for attempting to capture a Pokémon 2022-04-18 20:45:10 +01:00
Maruno17
f66e8db906 Minor script rearranging 2022-04-12 21:21:58 +01:00
Maruno17
90328df274 Updated moves that can't be called by Metronome 2022-04-10 22:33:56 +01:00
Maruno17
0d4c27d413 Implemented differences in Ball Burst animations for sending out a Pokémon 2022-04-10 21:38:06 +01:00
Maruno17
4a478ab6d0 Fixed recalculating turn order after Mega Evolution not taking into account changed abilities 2022-04-08 18:43:49 +01:00
Maruno17
0680f8665d Added prompt for what to do with a caught Pokémon if the party is full, and a battle rule that forces a capture into the party 2022-04-05 23:01:07 +01:00
Maruno17
22e0d1dfc5 def register_last_seen and related methods can now work with shininess 2022-04-03 20:42:22 +01:00
Maruno17
026e6f5c0a Added a Setting that makes a new Pokémon's Pokédex entry show after evolution, trading, hatching, gaining from Mystery Gift and general adding 2022-04-03 19:06:56 +01:00
Maruno17
e87d55f56f Added underscore in DefaultForm species flag for consistency 2022-03-31 20:20:29 +01:00
Maruno17
c012a7323a Natural Gift's power/type moved into an item flag 2022-03-31 20:19:58 +01:00
Maruno17
38edb15f0c Move item powers for Fling into an item flag 2022-03-31 19:53:21 +01:00
Maruno17
3a4339c658 AI now checks for immunities to status moves 2022-03-28 18:04:45 +01:00
Maruno17
3c6799091e Added battle transition animation for Elite Four/Champion 2022-03-27 22:42:43 +01:00
Maruno17
81578ac42c AI now doesn't use Full Restores just to heal small amounts of HP 2022-03-26 15:12:32 +00:00
Maruno17
7d583aaaf7 Added animation when capture is successful 2022-03-21 23:14:00 +00:00
Maruno17
2817c1998a Added hardcoded battle animations for capture ball burst and send out ball burst, removed support for common animation ball bursts. 2022-03-21 17:37:18 +00:00
Maruno17
21f7c57905 Added Poké Ball burst animation for recalling in battle, some bug fixes 2022-03-16 22:44:39 +00:00
Maruno17
93a0173fe8 Player no longer makes a bump sound when walking into something because of a move route, changed when title screen BGM starts playing, tweaked evolution messages and audio 2022-03-10 22:49:01 +00:00
Maruno17
a0612b907f Changed format of "EVs" property in pokemon.txt/pokemon_forms.txt 2022-03-09 23:03:02 +00:00
Maruno17
91f8d06797 Added battle debug option to view/edit all Pokémon, fixed some battle debug-related bugs 2022-03-07 23:19:30 +00:00
Maruno17
7f8fa16a52 Made Zacian/Zamazenta's rusted items unlosable, made bad poison icon be shown again in battle 2022-03-07 23:16:13 +00:00
Maruno17
5d8dad58c4 Added more debug menu functionality (toggle Hyper Mode, set stats, set species, reset moves of non-battling Pokémon/let them be made fainted) 2022-03-07 19:25:33 +00:00
Maruno17
a13771e8bc Fixed Shadow Pokémon saying how much Exp they gain from battle, fixed mispositioned text in some battle debug menus 2022-03-07 19:22:21 +00:00
Maruno17
bcb31c7a56 Made checks of map connections go through a single method, which can be used to modify connections on the fly 2022-03-05 23:49:53 +00:00
Maruno17
a20a1775c0 Added "VS Rocket Admin" battle transition animation 2022-03-05 20:16:11 +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
fe6b87c075 Teak to animation in previous commit 2022-02-24 20:56:09 +00:00
Maruno17
4fc6e7f289 Added HGSS "Vs Trainer" battle transition 2022-02-24 20:41:18 +00:00
Maruno17
15e70fa67e Added a battle transition for Team Rocket Grunts 2022-02-22 22:34:28 +00:00
Maruno17
e5be233224 Enabled BallBurst common animations to be played during other battle animations 2022-02-22 19:26:50 +00:00
Maruno17
2057084f69 Light effects now centre themselves vertically on their events as intended 2022-02-21 23:36:43 +00:00
Maruno17
33cde3bf20 Changed the available special characters available in the naming screen 2022-02-21 18:51:17 +00:00
Maruno17
9b3e62b1f3 Fixed bug relating to night BGMs from previous commit, improved Purify Chamber a bit 2022-02-20 23:31:09 +00:00
Maruno17
19e50bd507 Updated Power Green fonts, repositioned all text accordingly 2022-02-20 23:29:09 +00:00
Maruno17
dd78075657 Minor tweaks to compiling item data 2022-02-15 19:16:55 +00:00
Maruno17
f322b234c6 Added battle rule "disablePokeBalls" 2022-02-15 18:39:41 +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
789185eefb Added Gen 6 PBS files 2022-02-14 19:06:32 +00:00
Maruno17
f68e699cc9 More Rubocop changes 2022-02-13 00:57:54 +00:00
Maruno17
cca5989746 Fixes to previous commit 2022-02-10 08:33:45 +00:00
Keyacom
30c3f472ef Implement TramplesMinimize as a move flag (#175)
* Implement "TramplesMinimize" as a move flag

Implemented `TramplesMinimize` as a move flag. Due to it, removed effect codes `FlinchTargetTrampleMinimize` and `ParalyzeTargetTrampleMinimize` (the second one was exclusive to Body Slam). Moves that had them now have the effect codes `FlinchTarget` and `ParalyzeTarget`, respectively.

The code now does not check if the parameter of `tramplesMinimize?` is 1 or 2, it now checks if it is `true` or `false`. For the effect that causes the moves with this flag to skip accuracy checks, it also checks if `Settings::MECHANICS_GENERATION` is equal to or greater than 6.

Data on which moves are to be treated as able to double damage if Minimized and skip accuracy checks are [here](https://bulbapedia.bulbagarden.net/wiki/Minimize_(move)#Vulnerability_to_moves).

**Remarks:**
- Dragon Rush, Heat Crash and Heavy Slam could not trample Minimize in Gen 5. Dragon Rush and Heat Crash could do so in Gen 6+, but Heavy Slam could not until Gen 7.
- Double Iron Bash could only trample Minimize in Gen 7.

**TL;DR:**
- Implemented `TramplesMinimize` as a move flag.
- Modified the check for this move flag.
- Removed effect codes `FlinchTargetTrampleMinimize` and `ParalyzeTargetTrampleMinimize`. Moves that had them now have the effect codes `FlinchTarget` and `ParalyzeTarget`, respectively.
2022-02-06 19:36:51 +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
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
6c5c54a7d3 Tweaked Jukebox functionality, simplified code relating to night versions of BGMs 2022-01-30 20:40:07 +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
6698149083 Restored evolutions depending on Moss Rock/Icy Rock/magnetic field in Gen 8 PBS files 2022-01-30 18:16:19 +00:00
Keyacom
91c6f1f45b Fixed typo in "CannotMetronome" (#171)
* Fixed typo in "CannotMetronome"

This flag had 3 N's in its name where it was supposed to be two. In the move PBS files, the flag is spelled correctly.
2022-01-29 19:07:01 +00:00
Golisopod-User
617f685694 Bugfixes (#170)
* Fixed crash when setting Fogs or Panoramas to none
* Generalised the initial setting of stat stages for battlers
* Fixed fishing animation looking weird (especially when surfing)
2022-01-29 19:06:21 +00:00
Keyacom
af60c4df66 Use the .max function in Substitute's code (#167) 2022-01-29 18:24:42 +00:00
Golisopod-User
f9e34b8157 Switch to lowercase letters after selecting first uppercase letter (#169) 2022-01-29 18:21:38 +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
8f69c555da Fixed duplicated and missorted track listings in Jukebox 2022-01-24 23:32:05 +00:00
Maruno17
98f311c394 Updated to mkxp-z v2.3.0 2022-01-24 23:12:06 +00:00
Maruno17
c1de9a04d4 Made party screen use MenuHandlers 2022-01-23 22:54:58 +00:00
Maruno17
d0da7b0c1b Fixed "Set Event Location" (moveto) sending an event off-screen not making it disappear 2022-01-23 21:16:08 +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
Golisopod-User
b980d8505c Tiny Bugfixes (#161)
* Removed extra confirm sfx in mart screen
* Fixed Calyrex keeping its form exclusive moves
* Fixed some methods being aliased multiple times upon soft resetting
2022-01-20 22:02:22 +00:00
Maruno17
a0d951edf7 Added Debug menu functions to toggle Exp. All's effect and Box Link's effect 2022-01-19 20:39:55 +00:00
Nathan-MV
e9afefb210 Updated HM/expAll/Switch Messages. (#156) 2022-01-19 20:10:56 +00:00
Golisopod-User
1279f8137e Add .mkproj files to .gitignore (#159) 2022-01-19 19:15:53 +00:00
Maruno17
f872db2618 Added battle debug functions for setting position effects and NPC trainer items 2022-01-17 22:55:01 +00:00
Maruno17
b550ad9c07 Fixed AI scores calculated for some moves not being added up properly 2022-01-13 23:28:00 +00:00
Maruno17
8a89b7fbf4 Added move flag "CannnotMetronome" 2022-01-12 23:15:46 +00:00
Maruno17
25b009b344 Added hide_choice and rename_choice which alter the next set of choices shown by an event 2022-01-12 22:46:14 +00:00
Maruno17
24efbccb67 Rearranged Settings 2022-01-11 22:07:37 +00:00
Golisopod-User
ff465a78a6 More bugfixes (and one Gen 8 addition) (#155)
* Added comment indicating unused method pbRefreshSceneMap
* Removed superfluous ending of Beak Blast's effect
* Fixed crash when playing an animation in the animation player
* Added SwSh Terrain effects
2022-01-11 21:36:01 +00:00
Joni Savolainen
767a47d90f Fix Bitmap#draw_text override not accepting Rect argument (#150) 2022-01-09 21:22:40 +00:00
Maruno17
507014e655 Fix to previous commit 2022-01-08 23:18:06 +00:00
Maruno17
5fba3462c6 Event choices shown without an accompanying message are now translated 2022-01-08 21:08:58 +00:00
Maruno17
91e3d8190e Multiple "Show Choices" event commands next to each other will now behave as one with all their choices 2022-01-08 21:04:08 +00:00
Maruno17
f853816d63 Fixed visual glitch where a Pokémon's HP would raise then lower if its substitute took damage 2022-01-08 18:11:02 +00:00
Maruno17
f623fad42e Workaround for broken screenshot-taking code due to latest mkxp-z 2022-01-03 19:55:54 +00:00
Maruno17
6d23d0101a Added descriptions for Options screen options, tweaked appearance of Options screen, fixed SpriteWindow#back_opacity not applying to all parts of the window graphic 2022-01-03 19:54:31 +00:00
Maruno17
3f51ab44e4 Moved Options screen options into MenuHandlers 2022-01-03 17:53:45 +00:00
Maruno17
a939406e60 Improved Pokégear screen to work for all screen sizes 2022-01-03 13:48:44 +00:00
Nathan-MV
aa18a59413 Update PokeMart Messages (#149)
* Updated PokeMart Messages
2022-01-03 13:17:14 +00:00
Maruno17
a6115faad6 Fixed Incinerate's message not knowing the name of the item it destroyed 2022-01-02 21:22:09 +00:00
Maruno17
2a34904baa Fixed form changing being able to leave a Pokémon knowing the same move twice 2022-01-02 21:19:13 +00:00
Maruno17
4cf13f2942 Created module MenuHandlers for the contents of various menus 2021-12-31 17:45:07 +00:00
Maruno17
7da449aec3 Merged Events and EncounterModifier into module EventHandlers 2021-12-30 18:59:35 +00:00
Maruno17
a6c092a574 Abilities that hasten egg hatching now have a flag in abilities.txt for this effect 2021-12-29 22:13:18 +00:00
Maruno17
f3c4893dbb Repels now have a flag in items.txt which determines if they can be reused when one runs out 2021-12-29 22:07:10 +00:00
Maruno17
ca9df4177a Tidying up from previous commit 2021-12-29 18:53:39 +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
fb29f19a28 Fixed various bugs found when generating Battle Frontier challenge lists 2021-12-29 14:37:41 +00:00
Maruno17
a7e8005f53 Fixed another typo 2021-12-29 13:17:27 +00:00
Maruno17
3d37733d1a Fixed bad uses of .sample 2021-12-29 12:21:19 +00:00
Maruno17
6339f5a577 Fixed typo in random dungeon code 2021-12-29 11:46:57 +00:00
Maruno17
63b157d7ec Fixed some bad uses of @battle 2021-12-29 11:43:24 +00:00
Maruno17
01ce5d347c Fixed rare bug in disobedience check 2021-12-28 22:14:56 +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
139f2a74f2 Minor fixes to Voltorb Flip 2021-12-28 16:50:53 +00:00
Maruno17
aa643a6049 More Rubocop 2021-12-27 00:26:45 +00:00
Maruno17
4a6324389b Added a method that checks whether the player has enough Triple Triad cards to play 2021-12-23 18:49:11 +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
b988638746 Fixed the default field weather being 0 instead of :None, rearranged save conversions 2021-12-23 16:35:19 +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
022dc7aadb More additions to the battle debug menu 2021-12-21 20:50:08 +00:00
Maruno17
6b3fa5e1bf Made Giratina's form use a map_metadata flag "DistortionWorld" instead of a hardcoded array of map numbers 2021-12-21 19:12:19 +00:00
Maruno17
dfb3a51815 Forced encoding of text to UTF-8 2021-12-20 21:46:29 +00:00
Maruno17
3c85c3fe55 More Rubocop modifiers 2021-12-20 21:18:05 +00:00
Maruno17
5cdabe5b58 Update to /rubocop.yml 2021-12-20 20:42:36 +00:00
Maruno17
2e63556722 Added .rubocop.yml 2021-12-20 19:35:02 +00:00
Maruno17
33fcbf623b More Rubocopping 2021-12-20 17:18:21 +00:00
Nathan-MV
db4acd3369 Give Nicknames (#142)
* Option: Give Nicknames
2021-12-19 21:08:31 +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
Maruno17
f7b76ae62e The Great Enspacening begins! 2021-12-18 12:20:31 +00:00
Maruno17
2480ab0f9e Applied most Rubocop-suggested layout fixes 2021-12-18 01:56:10 +00:00
Maruno17
5dc64f1709 Minor refactoring to kill various Rubocop warnings 2021-12-17 20:29:47 +00:00
Maruno17
b5ee1b211d Replaced get_character(0) with get_self 2021-12-15 22:10:53 +00:00
Maruno17
eec29709ac Improved how followers go through and come out of doors 2021-12-15 22:01:53 +00:00
Nathan-mv
8a77c2d9e1 Updated Message (#143) 2021-12-14 23:24:45 +00:00
Maruno17
15b86429a2 Pokémon cries no longer change pitch except when fainting, added support for separate fainting cries 2021-12-14 23:19:08 +00:00
Maruno17
b706843888 Added $player.has_box_link and $player.has_exp_all in addition to those items 2021-12-14 22:33:46 +00:00
Maruno17
7d2e1027cd Updated TMs to BDSP 2021-12-14 22:15:32 +00:00
Nathan-mv
a89d552f8e Update Boxes (#144) 2021-12-13 22:24:46 +00:00
Maruno17
840e1a8be9 Updated Pokémon PBS files to BDSP 2021-12-13 22:09:21 +00:00
Maruno17
3da8b563da Changing encounter_version now updates the encounter tables immediately, title screen now plays properly if there are no splashes, compiling is now forced if any dat files are missing, other tweaks 2021-12-12 23:10:01 +00:00
Maruno17
2444b70ef6 Improved code for using multiples of an item at once, added a Setting for it, made it apply to more items 2021-12-12 00:10:01 +00:00
Maruno17
2ddedfb935 Tweaked code for interacting with a follower 2021-12-12 00:06:33 +00:00
Maruno17
85bf1a334c Fixed evolution-related code causing errors in Battle Frontier battles 2021-12-11 16:05:45 +00:00
Maruno17
c1695dd21b Fixed incorrect animation when a critical capture Poké Ball fails to catch the Pokémon 2021-12-11 15:46:07 +00:00
Maruno17
241851a75b Fixed crash when using upgradeRibbon, fixed crash when trading Pokémon, fixed crash when trying to play Triple Triad, fixed crash when generating Battle Frontier data 2021-12-11 13:25:23 +00:00
Maruno17
b9d69b780b Fixed bugs relating to followers from previous commit, fixed error in Safari Battles from previous commit 2021-12-11 01:44:44 +00:00
Maruno17
2e3d479752 Added def follower_animation which makes the next Show Animation event command apply to the follower instead 2021-12-09 23:42:06 +00:00
Maruno17
6a56a8f7d0 Added def follower_move_route which makes the next Move Route event command apply to the follower instead, events are no longer automatically erased if they are followers 2021-12-09 23:33:46 +00:00
Maruno17
c55f1f0a2a Follower checks when using some items/moves in the field are now more specific, which should help following Pokémon scripts 2021-12-09 23:30:52 +00:00
Maruno17
79e04bff6c Fixed code for happiness-based evolutions 2021-12-08 22:41:44 +00:00
Maruno17
054b4bc3e8 Corrosion now allows a Steel/Poison Pokémon to poison itself with Toxic Orb 2021-12-08 20:07:52 +00:00
Maruno17
514ef510f1 Added speed order viewer in battle debug menu, Pokemon#foreign? now defaults to comparing to the player 2021-12-07 23:28:14 +00:00
Maruno17
6b841b78d3 Added egg move sharing in Day Care, added some Settings for Day Care/Nursery mechanics, Neutralizing Gas now triggers held items if it negates Unnerve, Imposter now only triggers when the Pokémon enters battle 2021-12-07 22:48:15 +00:00
Maruno17
a858408951 Changed how Pokémon markings are recorded, and allowed variants of each mark (e.g. alternate colours) 2021-12-06 23:26:18 +00:00
Maruno17
5a81d447d1 Added Aura Wheel's visible type change in battle, added "display" methods for several move properties and examples of their use 2021-12-06 22:00:27 +00:00
Maruno17
95916e242e Added battle debug menu (access with F9) 2021-12-05 20:24:20 +00:00
Maruno17
3650a078e7 Fixed Toxic damage only going up to 15/16 of total HP, minor code fixes 2021-12-05 20:20:30 +00:00
Maruno17
5337ee1e97 Revert "Implemented Battle Debug Menu (#130)"
This reverts commit 7c48148d35.
2021-11-24 19:40:12 +00:00
Alexander Pahn
7c48148d35 Implemented Battle Debug Menu (#130)
* initial commit to setup game.ini
* renamed title of masters Game.ini
* reenabled gitignore for Game.ini
* Between Commit
* Finished Battle Debug Menu
* Clean up for pull request
* Manual fixes
* Fixed oversight where numerical min/max wasm't considered
2021-11-24 19:24:13 +00:00
Maruno17
479aeacc2c Added new section-based format for berry_plants.txt 2021-11-24 19:05:18 +00:00
Maruno17
00c2df5772 Merged species Type1/Type2 into Types, did the same for Pokemon and Battler 2021-11-22 23:55:28 +00:00
Maruno17
a5f91f62ea Made map names be added to map_metadata.txt when writing it if possible 2021-11-21 23:11:19 +00:00
Maruno17
d93d73caa8 Wrote a generalised data property editor that deals with a list of things from a GameData module, allowed the WildItem properties for species to contain multiple items each 2021-11-21 22:24:58 +00:00
Maruno17
c8b574ed7c Made Player Transfer event command not cancel surfing/diving, so pbTransferSurfing and pbTransferUnderwater are deprecated. 2021-11-21 19:10:16 +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
ea9cacd6b9 Updated console message code to Luka's latest version 2021-11-21 17:36:25 +00:00
Maruno17
b445f26a88 Converted Shadow Pokémon PBS file to a section-based format, improved Shadow Pokémon mechanics 2021-11-21 00:44:41 +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
8307222009 Fix to previous commit 2021-11-17 21:54:02 +00:00
Maruno17
7ec8f30f0e Some battle method refactoring, fixed typo 2021-11-17 20:40:19 +00:00
Maruno17
1c4819e5f0 Renamed all battle-related classes and modules 2021-11-16 23:05:16 +00:00
Maruno17
6dacd6a139 Actual fix for berry plant harvesting crash 2021-11-15 22:34:02 +00:00
Maruno17
06493fecbb Removed more RMVX compatibility 2021-11-15 21:31:52 +00:00
Maruno17
99b6d86962 Berry plant bug fix from previous commit 2021-11-15 14:00:41 +00:00
Maruno17
f00553c1eb Bug fixes from previous commits 2021-11-15 08:38:39 +00:00
Maruno17
9657eca3d7 Fixed panoramas/fogs/other AnimatedPlanes not animating properly 2021-11-14 16:40:55 +00:00
Maruno17
a7f71e9620 Fixed bug in previous commits, fixed Frontier/Bug Contest battles not counting towards battle counts stats 2021-11-14 01:45:14 +00:00
Maruno17
46a92a33ef Added stat for cancelled evolutions 2021-11-13 23:16:22 +00:00
Maruno17
c6ecf60172 Added class GameStats, added Pokédex records for eggs seen and expanded seen_forms to include shinies 2021-11-13 23:13:28 +00:00
Maruno17
12fd500dbc Added Pokémon properties cannot_store, cannot_release and cannot_trade. Allowed Offspring species property to be edited. 2021-11-08 23:21:20 +00:00
Maruno17
15babcf835 Refining event evolution mechanics 2021-11-07 21:20:47 +00:00
Maruno17
34ab0b8afe Added evolution method for Galarian Yamask, minor refactoring in battle code, a Pokémon's ability no longer needs resetting when changing its ability_index 2021-11-07 18:05:32 +00:00
Maruno17
ae7721316f Re-added a way to erase (or change) a map's tiles 2021-11-03 22:40:02 +00:00
Maruno17
c392f8c236 Added Luka's console message colouring code 2021-11-02 23:27:42 +00:00
Maruno17
50d999e7da Updated to mkxp-z v2.2.3 (removed mp3 support) 2021-11-02 21:14:31 +00:00
Maruno17
5ad9f60d61 Added plugin meta.txt property "Essentials", which lists versions of Essentials the plugin is compatible with 2021-11-02 20:46:32 +00:00
Maruno17
cff6edac5b Fixed some bugs from recent commits 2021-11-02 18:37:48 +00:00
Maruno17
e8170a267c Fixed Exp Candies only raising happiness for one item if multiple are used at once 2021-10-31 20:54:53 +00:00
Maruno17
0ec67f78fa Added affection effects 2021-10-31 20:43:16 +00:00
Maruno17
ee16c22388 Added Hidden Power tutor compatibility to Gen 8 PBS files 2021-10-31 15:30:56 +00:00
Maruno17
67fc59ad4e Fixed typo from previous commit 2021-10-30 23:27:46 +01:00
Maruno17
308937a9f4 Refactored Day Care code 2021-10-30 21:56:34 +01:00
Maruno17
899d037255 Added pokemon.txt/pokemon_forms.txt property "Offspring" for species that could be produced by breeding 2021-10-29 20:34:50 +01:00
Maruno17
0c3ec24936 Fixed typo in previous commit 2021-10-27 23:54:04 +01:00
Maruno17
f3abcb7caf Obsoleted battle methods that yield battlers in favour of ones that return all of them at once 2021-10-27 22:45:34 +01:00
Maruno17
6066797517 Changing the player's character or outfit immediately updates the player's graphic again 2021-10-26 22:54:31 +01:00
Maruno17
6c38f769c7 Moved initial money/storage creator's name from Settings to metadata.txt, added initial item storage contents property to global metadata, added Home property to player metadata 2021-10-25 23:07:58 +01:00
Maruno17
680c1de392 AI now keeps their last defined Pokémon for last, tweaks to some battle effects based on mechanics generation 2021-10-24 23:06:47 +01:00
Maruno17
18049c22b9 More changes to console messages 2021-10-23 23:56:54 +01:00
Maruno17
e417e4c659 Tidied and coloured console messages 2021-10-23 21:55:42 +01:00
Maruno17
10a1fc4430 Added PBS file pokemon_metrics.txt, for all Pokémon sprite positionings 2021-10-23 20:30:09 +01:00
Maruno17
ca680c9feb Merged class PokemonTemp into class Game_Temp 2021-10-21 22:01:59 +01:00
Maruno17
5e51f702b3 Renamed some more global variables 2021-10-20 23:13:30 +01:00
Maruno17
e49cd8d498 Renamed $Trainer to $player 2021-10-20 22:57:43 +01:00
Maruno17
fbddb9034f Added a simple way to replace code in events with other code 2021-10-20 22:17:05 +01:00
Maruno17
3a3b44574f Various bug fixes 2021-10-20 13:53:39 +01:00
Maruno17
d3a07df6ab Fixed bug in previous commit 2021-10-19 23:57:00 +01:00
Maruno17
e7522321ad Fixed up code added by previous commit, improved scene closings when using Fly 2021-10-19 22:18:55 +01:00
Golisopod-User
e4e8e60d28 Added Flying from Town Map (#129)
* Added ability to fly from Town Map

* Refactored UI_RegionMap code
2021-10-19 20:03:22 +01:00
Maruno17
837208792a Fixed bug with Neutralizing Gas, fixed typo 2021-10-19 17:39:27 +01:00
Maruno17
aee0595d3f Fixed another crash when removing items from the Bag 2021-10-19 13:58:19 +01:00
Maruno17
50065754a0 Fixed crash when removing items from the Bag 2021-10-19 08:39:15 +01:00
Maruno17
f6a5ea86db Fixed coding error from previous commit 2021-10-17 23:19:06 +01:00
Maruno17
36ff7c4ba3 Renamed variables and methods relating to the Bag, renamed $PokemonBag to $Bag, $bag.has? can now check for a minimum quantity 2021-10-17 23:02:58 +01:00
Maruno17
72c50db6c0 Tidying up of Gen 8 ability code, fixed Analytic's effect, added trigger for berry consuming when Unnerve ends 2021-10-17 19:49:25 +01:00
Maruno17
c68e5e7abf Implemented Neutralizing Gas 2021-10-17 18:35:57 +01:00
Maruno17
56c9b69c44 Added "Name" property to map_metadata.txt, fixed map names not being translated in some cases, fixed minor things from a previous commit 2021-10-13 22:55:29 +01:00
Maruno17
a5bbd1fb8a Fixed map rendering glitching when using an oversized tileset 2021-10-12 19:05:05 +01:00
Maruno17
de0eb8e4e1 Fixed pbOnStepTaken being called every frame if you open a menu immediately at the end of a step, fixed Sweet Veil being defined incorrectly 2021-10-10 19:09:36 +01:00
Maruno17
0aad105c6d Made multiple special battle animations easier to register 2021-10-10 17:47:08 +01:00
Maruno17
45fd570414 Fixed Pledge combo moves sometimes using the wrong type, fixed command windows in battle being too tall if possible, added Debug menu feature to toggle credits skippability 2021-10-10 16:41:47 +01:00
Maruno17
a090f50bc5 Split metadata.txt into metadata.txt and map_metadata.txt, fixed bug when writing certain PBS files 2021-10-09 23:34:45 +01:00
Maruno17
166a289a60 Fixed transitions in controls and credits screens, fixed slight text cropping in credits screen, fixed crash when changing the scene 2021-10-07 18:47:28 +01:00
Maruno17
c8b594d38d Fixed crash when starting a new game 2021-10-06 00:00:12 +01:00
Maruno17
c0ac135a69 Added support for extra autotiles used instead of the top tiles of the tileset 2021-10-05 19:14:23 +01:00
Maruno17
8bb8c1149f Fixed bridge tiles not changing their priority when pbBridgeOn/pbBridgeOff are called 2021-10-05 18:14:10 +01:00
Maruno17
3cc6a1201f Fixed Pomeg Berry glitch 2021-10-03 23:13:29 +01:00
Maruno17
1f9ba94432 Fixed quote marks around LoseText in trainers.txt 2021-10-03 22:42:18 +01:00
Maruno17
929a039f04 Fixed Terrain Tag Editor's background disappearing when saving changes 2021-10-03 22:33:55 +01:00
Maruno17
559caf1046 Fixed crash when walking into really tall grass on a connected map 2021-10-03 22:30:17 +01:00
Maruno17
c7858de42a Refactored berry plant code, added missing berry plant PBS data and charsets, fixed berry sparkles sometimes showing on the wrong map 2021-10-03 20:19:28 +01:00
Maruno17
af23f1ecc4 Removed old map renderer, tidied up 2021-10-02 23:54:06 +01:00
Maruno17
348b847b68 Changed example follower from Brendan to May just because 2021-10-02 23:12:37 +01:00
Maruno17
11544da43f Fixed default transition animation not being FPS-agnostic 2021-10-02 22:59:14 +01:00
Maruno17
f35a51f975 Rewrote and refactored follower code, fixed follower glitchiness actoss connected maps, fixed follower glitchiness around bridges 2021-10-02 22:57:54 +01:00
Maruno17
0b656edffc Added support for an extended autotile format containing full-tile concave corners 2021-10-01 19:50:47 +01:00
Maruno17
c496fed620 Added new map renderer 2021-09-29 18:18:50 +01:00
Maruno17
75a39dbc42 Fixed typo from commit relating to refactoring switching code 2021-09-23 08:29:28 +01:00
Maruno17
096f13f451 The player's charset now only changes itself at the start of a step or the start of not moving. Added potential for running/jumping/stationary speeds/charsets for surfing/diving/cycling. Tweaked fishing animation. 2021-09-22 22:57:06 +01:00
Maruno17
694e567f3d Fixed overworld weather moving relative to the screen rather than the map 2021-09-20 23:25:12 +01:00
Maruno17
4edd06208a Moved Gen 8 item code to its proper places 2021-09-19 23:14:24 +01:00
Maruno17
d4abc6ef2b Added Eject Pack's effect 2021-09-19 23:04:29 +01:00
Maruno17
1fb3ff5408 Refactoring of code relating to switching, effect damage and effects that trigger after a move is used 2021-09-19 19:03:17 +01:00
Maruno17
f00f030825 Added effect of Pokémon Box Link 2021-09-12 21:08:46 +01:00
Maruno17
f9c6e142e5 Added effect of Blunder Policy 2021-09-12 20:13:43 +01:00
Maruno17
df7c033a9d Tweaked Fissure's function code, added Mirror Armor's effect 2021-09-10 20:40:45 +01:00
Maruno17
27be1cb330 Tidied up some function codes, added missing ones 2021-09-06 21:26:59 +01:00
Maruno17
c670c63bf5 Renamed all move function codes 2021-09-06 20:56:37 +01:00
Maruno17
c7fd147040 Added effect of Dragon Darts, fixed incorrect status icon being used in battle 2021-09-04 20:53:43 +01:00
Maruno17
423961e524 Fixed unique Galarian evolutions not being flagged as being able to pass their form on when breeding, fixed bred Sinistea sometimes not being phony form 2021-09-02 22:01:17 +01:00
Maruno17
885c1193e3 Added Flags property to ribbons 2021-09-02 21:09:18 +01:00
Maruno17
cef3d08917 Generalised form inheritance, making use of species flags 2021-09-02 21:05:53 +01:00
Maruno17
86cbcad382 Added Flags property to types, abilities, species and map metadata. Added LocationFlag evolution method. 2021-09-02 19:01:16 +01:00
Maruno17
cfbefceb00 Renamed skill code property in trainer_types.txt to SkillFlags, and allowed any number of them 2021-08-31 17:36:48 +01:00
Maruno17
171f1aade2 Fixed visual mistake in SnakeSquares transition animation 2021-08-31 16:54:14 +01:00
Maruno17
218307d993 Added Gen 8's shiny chance increase with number battled, fixed other shiny chance-boosting effects not working 2021-08-31 16:54:03 +01:00
Maruno17
3c88c897f0 Refactored checking whether a Pokémon/species is single gendered, tweaked console message. 2021-08-31 00:17:30 +01:00
Maruno17
0405497868 Healing Wish/Lunar Dance now linger until they will do something, as per Gen 8 2021-08-30 00:38:06 +01:00
Maruno17
c92bb2fb42 Pokémon in storage no longer recalculate their form 2021-08-30 00:10:31 +01:00
Maruno17
70ef588190 Merge branch 'master' into dev 2021-08-29 23:50:52 +01:00
Maruno17
a9426b0802 Fixed Sweet Scent not working 2021-08-29 23:49:43 +01:00
Maruno17
f411867c52 Updated all BaseExp values for species and forms 2021-08-29 20:48:43 +01:00
Maruno17
a31ac0d4af Merge branch 'master' into dev 2021-08-29 18:24:34 +01:00
Maruno17
6db668b449 Fixed HappinessMoveType, fixed particle effects on events not working 2021-08-29 18:20:52 +01:00
Maruno17
c39eca3975 Merge branch 'master' into dev 2021-08-24 13:46:03 +01:00
Maruno17
6551697b4f Fixed incorrect layering of sprites in battle, unfixed RMXP transitions 2021-08-24 13:36:52 +01:00
Maruno17
7318d304de Fixed battle transition animations after fix to default RMXP animation 2021-08-23 19:35:44 +01:00
Maruno17
8bb70a226e Tidied up semicolon use, refactored random dungeon generation code, fixed visual bug in Day Care debug screen 2021-08-22 23:18:34 +01:00
Golisopod-User
ecc5a040cd Refactoring and Bugfixes (#127)
* Replacing nil + compact! with delete, delete_at and delete_if wherever possible
* Fixed Terrain Tag editor not setting the correct terrain
* Fixed Text Cursor in Animation Editor not going right
2021-08-22 22:25:29 +01:00
Maruno17
e57e1f4a1e Merge branch 'master' into dev 2021-08-22 00:03:32 +01:00
Maruno17
e0e5cfebb7 Fixed Pokédex searches not considering the properties of alternate forms, fixed RMXP-style battle transitions not working, tweaked form-inheriting code in breeding 2021-08-22 00:00:51 +01:00
Maruno17
1b9e7400f9 Minor fixes to some move definitions 2021-08-21 22:47:25 +01:00
Maruno17
45fba56455 Turned fusion items into two separate items for the sake of them having different descriptions, fixed ability-changing items not doing so, added Zygarde Cube's Gen 8 effect 2021-08-21 18:26:48 +01:00
Maruno17
41ce9309d7 Refactored and improved transition animations 2021-08-20 21:39:20 +01:00
Maruno17
9c5c3c77ed Fixed changing a Pokémon's species to a single gendered/non-gendered one not updating its gender, enabled a bred Mr. Mime/Meowth to inherit Galarian forms 2021-08-19 18:29:53 +01:00
Maruno17
f768df4696 Added settings that enable disobedience check, swapped alternate movement speed key with pause menu key, fixed pbEventCommentInput not working, fixed issue with animating Exp bar upon hitting the max level 2021-08-15 18:27:37 +01:00
Maruno17
7ae62d74b7 Added terrain tag 17 NoEffect, Terrain Tag Editor now only sets defined terrain tags, fixed some move effects, fixed opposing Shadow Pokémon going into Hyper Mode, fixed Shadow Pokémon nature visibility 2021-08-14 22:36:55 +01:00
Maruno17
2112cdba37 Added effects of Mimicry/Room Service/Catching Charm, tweaked Sinistea's form chances, fixed bug in Fling about TRs. 2021-08-14 19:07:57 +01:00
Maruno17
153aa69bb8 Merge branch 'master' into dev 2021-08-12 20:37:25 +01:00
FL
4b768bec32 Fix event command "Return to Title Screen" (#124)
Fix loading a game after event command "Return to Title Screen" starting a loop.
2021-08-12 20:23:27 +01:00
Maruno17
19535b8160 Fixed Symbiosis, fixed Roost not roosting, fixed Normalize not boosting damage, fixed crash in Bug Catching Contest, fixed old format moves.txt compiling, added cache size text to console 2021-08-12 20:00:42 +01:00
Maruno17
c360c4ddd2 Added effects of Ripen/Gorilla Tactics/Steam Engine, fixed SE move-weakening berries working on normal effectiveness moves as well 2021-08-07 20:56:43 +01:00
Maruno17
61242a9836 Shortened ability/move descriptions to fit, added Howl's Gen 8 effect 2021-08-06 19:59:20 +01:00
Maruno17
2db3cc49af Merge branch 'master' into dev 2021-08-03 18:48:11 +01: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
76eaadda61 Marged Gen 8 AI code into existing script file 2021-08-02 23:06:55 +01:00
Golisopod-User
c6da16409e AI and other Gen 8 Effects (#123)
* Added Rattled being triggered by Intimidate in Gen 8
* Added Rapid Spin speed boost effect
* Added basic AI for Gen 8
* Tweaked Leppa berry's effect
* Added Ability Patch's exemption for Zygarde
* Added Curse's Gen 8 targeting change
* Added Teleport's Gen 8 effect
* Added check for Choice items in Instruct and Dancer
* Added Quash's Gen 8 change to the order that multiple Quashed Pokémon move in

Co-authored-by: Maruno17 <serialcolour@hotmail.com>
2021-08-02 22:56:55 +01:00
Maruno17
ec84d581ad Merge branch 'master' into dev 2021-07-28 18:44:19 +01:00
Maruno17
c8b1b6251b Fix for Pokémon editor deleting a moveset move when "changing" which move it is to the same move, fixed typo in def addBackgroundOrColoredPlane. 2021-07-28 18:42:32 +01:00
Maruno17
34dd2a9fbd Rewrote random dungeon code to improve it and fix some bugs, rewrote Bag's def rearrange 2021-07-25 19:00:36 +01:00
Maruno17
d71a3d47e8 Added effects of Gulp Missile and Unseen Fist, fixed typo with Ice Face 2021-07-24 21:19:01 +01:00
Maruno17
a1cff9cc36 Changed the content of error messages raised by code in a Script event command 2021-07-23 20:06:06 +01:00
Maruno17
912631a8b1 Fix to previous commit's code 2021-07-23 08:32:11 +01:00
Maruno17
cb0220b751 Cleaned up evolution method definitions, rewrote the "Fill Bag" Debug feature to make it much faster, removed all instances of changing the game window's title 2021-07-22 22:46:43 +01:00
Maruno17
d21d3cb1fd Merge branch 'master' into dev 2021-07-22 18:36:38 +01:00
Maruno17
1bd5652a3a Fixed typo in Conversion's code that treated a type as an item 2021-07-22 18:35:30 +01:00
Maruno17
551f64e8a1 Added "Consumable" property to items.txt, light effects now properly centre themselves on the event regardless of graphic size, Disguise/Double Iron Bash Gen 8 changes 2021-07-21 22:46:49 +01:00
Maruno17
03a7ff39ad Merge branch 'master' into dev 2021-07-18 23:14:45 +01:00
Maruno17
4d9c8feb81 Fixed Poké Radar rustling grass not always causing a wild encounter when stepping in it, other tweaks to Poké Radar 2021-07-18 23:13:37 +01:00
Maruno17
8f72876a23 Typo fix 2021-07-17 21:17:13 +01:00
Maruno17
14748f4999 Added some more Gen 8 item effects, added Intimidate being blocked by some abilities, fixed Nectars being usable on fainted Oricorio 2021-07-17 20:48:06 +01:00
Maruno17
78f5530cbe Added more Gen 8 code 2021-07-13 20:52:26 +01:00
Maruno17
8b7a532e29 Updating some PBS files 2021-07-11 21:58:57 +01:00
Maruno17
3d634a7f22 Added separate SellPrice property for items, changed messages when learning a move, updates to Gen 8 items.txt 2021-07-10 22:17:02 +01:00
Maruno17
8ed9c5139e Merge branch 'dev' into dev-gen8 2021-07-10 19:49:08 +01:00
Maruno17
4b98850c3a Stopped U-turn switching if the battle is over, ensured animation spritesheet file extensions are removed from animation data, added Debug function to reload system cache, Pokémon debug menu now shows the Pokémon's status problem, changed mkxp.json to fix uncommon rendering problems 2021-07-10 19:23:56 +01:00
Maruno17
33f0403945 Updated happiness values (assuming Timburr/Stunfisk not changing are mistakes), added new type of evolution that triggers after any battle, added code to let Galarian Farfetch'd evolve after dealing 3 critical hits 2021-07-09 21:44:58 +01:00
Maruno17
ae7661edc5 Some fixes related to the previous commit and Exp Candy effect 2021-07-08 23:38:57 +01:00
Maruno17
d5aeeaca7b Added code for Gen 8 alternate forms 2021-07-08 23:04:21 +01:00
Maruno17
ba6806aa5b Added Gen 8 PBS files 2021-07-08 21:19:45 +01:00
Maruno17
633a0b1a1b Fixed typos 2021-07-01 22:30:16 +01:00
Maruno17
f4ba8951c6 Merge branch 'dev' into dev-gen8 2021-07-01 22:29:06 +01:00
Maruno17
16a11d314f Merge branch 'master' into dev 2021-07-01 22:26:48 +01:00
Maruno17
66ed71dcad Fixed error when trying to make a roaming Pokémon roam 2021-07-01 22:26:24 +01:00
Maruno17
fc54ed5630 Merge branch 'dev' into dev-gen8 2021-07-01 21:59:47 +01:00
Maruno17
987cb7640c Turned move flags into separate words 2021-07-01 21:54:22 +01:00
Maruno17
536a0b4f9a Applied code related to deprecated move flag for Magic Coat 2021-07-01 21:11:42 +01:00
Maruno17
0af3fe46bd Merge branch 'dev' into dev-gen8 2021-07-01 21:09:05 +01:00
Maruno17
93b67c9047 Deprecated three move flags as they should depend on move effects instead 2021-07-01 21:06:24 +01:00
Maruno17
5736ef404b Made various changes to effects, added some Gen 8 mechanics 2021-06-30 23:25:47 +01:00
Maruno17
d5459fb97c Merge branch 'dev' into dev-gen8 2021-06-28 19:53:12 +01:00
Maruno17
bc7f469308 Merge branch 'master' into dev 2021-06-28 19:52:43 +01:00
Maruno17
c457d59a0e Fixed error in code used by Pickup 2021-06-28 19:32:04 +01:00
Maruno17
d4c01724c7 Added Rare Candy being usable at level 100, added event evolutions 2021-06-27 18:32:43 +01:00
Maruno17
66169b56be Merge branch 'dev' into dev-gen8 2021-06-27 17:40:01 +01:00
Maruno17
753650acf3 Merge branch 'master' into dev 2021-06-27 17:39:23 +01:00
aprogergely
cb60fa1299 typo (#122)
.form should be lowercase to work
2021-06-27 17:37:35 +01:00
aprogergely
84b1512c9b typo (#121)
the ! should always be in front of the word, not after it
2021-06-27 17:37:23 +01:00
Maruno17
e93b08a87b Added some more Gen 8 move effects 2021-06-26 22:12:47 +01:00
Maruno17
18408d204e Merge branch 'dev' into dev-gen8 2021-06-24 20:59:00 +01:00
Maruno17
80e95dc48a Fixed slightly inaccurate chances for each number of hits for moves that hit 2-5 times 2021-06-24 20:57:32 +01:00
Maruno17
49e7374c3d Added more Gen 8 move effects 2021-06-24 20:47:47 +01:00
Maruno17
223d480e0f Super shininess can now be set for a Pokémon, and trainers.txt can define a Pokémon as super shiny 2021-06-24 18:21:47 +01:00
Maruno17
bb429a2680 Moved the Gen 8 items so that the game actually runs 2021-06-23 23:20:52 +01:00
Maruno17
feb9e3b2de Added some Gen 8 item effects, added super shininess 2021-06-23 23:15:15 +01:00
Maruno17
0ad86e6b03 Added some Gen 8 ability effects 2021-06-22 22:36:12 +01:00
Maruno17
9344ef8d04 Added setting that determines if Pokémon put into storage are healed 2021-06-21 23:28:51 +01:00
Maruno17
43900dca8c Added some Gen 8 move effects 2021-06-21 22:17:55 +01:00
Maruno17
9e1e113333 Added groundwork for Gen 8 code 2021-06-21 19:19:37 +01:00
Maruno17
eceb7f2084 Merge branch 'master' into dev 2021-06-20 23:12:30 +01:00
Golisopod-User
3c3802b80b Fixed Plugin Manager raising an error when optional dependency of Plugin is not installed (#119) 2021-06-20 23:11:18 +01:00
CorvusAtrox
657ed7944d Fix Crash on attempting to get Favored Types (#120) 2021-06-20 23:00:42 +01:00
Maruno17
c194e1b711 Changed the names of some properties in pokemon.txt and pokemon_forms.txt 2021-06-20 20:57:44 +01:00
Maruno17
565b15dca4 Renamed various PBS files 2021-06-20 20:27:57 +01:00
Maruno17
b1caf13110 Updating all PBS files to new formats 2021-06-20 18:45:55 +01:00
Maruno17
ca09e8c092 Removed all deprecated code slated for removal, removed support for pre-v19 save files 2021-06-20 18:37:37 +01:00
Maruno17
53d27d3cf5 Added new section-based format for ribbons.txt 2021-06-20 17:57:35 +01:00
Maruno17
e201821919 Added new section-based format for abilities.txt 2021-06-20 17:46:36 +01:00
Maruno17
7c42e4ec20 Added new section-based format for moves.txt 2021-06-20 17:29:16 +01:00
Maruno17
1a55a391a3 Removed support for old trainers.txt format 2021-06-20 01:06:49 +01:00
Maruno17
1cec4fc90d Added new section-based format for trainertypes.txt 2021-06-20 01:00:21 +01:00
Maruno17
e4cdb95314 Added new section-based format for items.txt 2021-06-20 00:13:34 +01:00
Maruno17
9b4bc66dc0 Tidying up 2021-06-19 20:36:17 +01:00
Maruno17
e472d0fcdf Rewrote PBS files to set all their "ID numbers" to 0 2021-06-19 20:18:55 +01:00
Maruno17
c55324145d Removed all other uses of and support for ID numbers 2021-06-19 20:01:12 +01:00
Maruno17
49655165e1 Added conversion of berry plant data, removed all uses of ID numbers for abilities and berry plants, fixed mulch not being consumed, removed use of ID numbers in map of moves to animation IDs 2021-06-19 18:48:33 +01:00
Maruno17
6e188666a4 Removed all uses of ID numbers for GameDatas BodyColor, BodyShape and Target, removed support for trainer type graphics using ID numbers in their names 2021-06-17 22:45:16 +01:00
Maruno17
eaa915878a Added def count to all GameData variants, and one that returns the number of species for Species, removed all uses of ID numbers for GameData::Status, made more use of GameData::X.keys 2021-06-17 22:21:24 +01:00
Maruno17
5358037986 Removed support for old encounters.txt format 2021-06-16 22:53:01 +01:00
Maruno17
e9457a3ea8 Removed all uses of ID numbers for species, some other code changes for abolishing ID numbers 2021-06-16 22:42:20 +01:00
Maruno17
8c67127f06 Removed all uses of ID numbers for types, Shape property in pokemon.txt must now be a name and not a number 2021-06-16 20:32:30 +01:00
Maruno17
0e8b1e70b1 Updated to mkxp-z 2.2.1 2021-06-15 22:11:12 +01:00
Maruno17
5df5e83f68 Removed dual functionalities of Ability and Ball properties in trainers.txt, abolished $BallTypes, removed support for tm.txt 2021-06-15 22:03:16 +01:00
Maruno17
9226bce078 Renamed some PBS files 2021-06-15 20:58:11 +01:00
15416 changed files with 425659 additions and 427826 deletions

40
.gitignore vendored
View File

@@ -1,8 +1,34 @@
# Audio, Graphics and Plugins folders
Audio/
Graphics/
Plugins/
Screenshots/
Graphics/Battlers_resized/*
Graphics/CustomBattlers/*
Graphics/Battlers/*
Graphics/Pokemon/FusionIcons/*
Data/SPRITE_CREDS
Data/VERSION
# Data folder, but not Data/Scripts folder or messages_core.dat
Data/*
!Data/Scripts.rxdata
!Data/Scripts/
!Data/messages_core.dat
# Files in the main project folder
errorlog.txt
Game.ini
Game.rxproj
RGSS*.dll
# Common code editor folders & files
.vscode/
*.code-workspace
.idea/
*.mkproj
# Operating system generated files & folders
.DS_Store
.DS_Store?
ehthumbs.db
Thumbs.db
[Dd]esktop.ini
# Temp files
~*

225
.rubocop.yml Normal file
View File

@@ -0,0 +1,225 @@
AllCops:
TargetRubyVersion: "3.0"
NewCops: enable
#===============================================================================
# Layout
#===============================================================================
# We don't need empty lines in methods to separate "return if"s from later code.
Layout/EmptyLineAfterGuardClause:
Enabled: false
# Extra whitespace often helps to make code more presentable.
Layout/ExtraSpacing:
AllowForAlignment: true
AllowBeforeTrailingComments: true
# Looks better than having hash elements shifted way to the right just to line
# up with the hash's opening bracket.
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent
# In a hash with multiple values (one per line), prefer the => to be lined up
# and text to otherwise be left-aligned.
Layout/HashAlignment:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
# This interferes with the presentation of some code, notably registered procs.
Layout/MultilineMethodCallBraceLayout:
Enabled: false
# This means hashes and arrays are written the same way, rather than hashes
# needing to be written like { foo => bar } while arrays are like [foo, bar].
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
#===============================================================================
# Lint
#===============================================================================
# Some methods and blocks will have unused arguments. That's fine.
Lint/UnusedBlockArgument:
Enabled: false
Lint/UnusedMethodArgument:
Enabled: false
#===============================================================================
# Metrics
#===============================================================================
# Yes, Essentials has classes/modules/methods that are too big and complex.
# That's just how it is.
Metrics:
Enabled: false
#===============================================================================
# Naming
#===============================================================================
# This cop forbids class/module names with underscores in them. Having
# underscores isn't the end of the world.
Naming/ClassAndModuleCamelCase:
Enabled: false
# Script files are given names that look reasonable in the list of script
# sections in RMXP, and are all numbered. They won't be camel_case.
Naming/FileName:
Enabled: false
# Disabled for sanity's sake. While this is a cop we want to obey, fixing all
# this is a gargantuan task that may never be completed, and we don't need
# rubocop telling us about the 4000+ instances of camelCase method names.
Naming/MethodName:
Enabled: false
# Disabled for sanity's sake. While this is a cop we want to obey, fixing all
# this is a gargantuan task that may never be completed, and we don't need
# rubocop telling us about the 1500+ instances of camelCase parameter names.
Naming/MethodParameterName:
Enabled: false
# Disabled for sanity's sake. While this is a cop we want to obey, fixing all
# this is a gargantuan task that may never be completed, and we don't need
# rubocop telling us about the 10000+ instances of camelCase variable names.
Naming/VariableName:
Enabled: false
#===============================================================================
# Security
#===============================================================================
# Script event conditions and script switches are eval'd, amongst other things.
Security/Eval:
Enabled: false
# Plenty of things are loaded via Marshal.
Security/MarshalLoad:
Enabled: false
#===============================================================================
# Style
#===============================================================================
# List the attr_reader/writer/accessor variables however you want.
Style/AccessorGrouping:
Enabled: false
# The assign_to_condition style looks awful, indenting loads of lines and
# increasing the separation between variable and value being assigned to it.
# Having said that, using "assign_inside_condition" flags every instance of
# conditional assignment using a one-line ternary operator, so this cop has been
# disabled because such assignment is fine.
Style/ConditionalAssignment:
Enabled: false
EnforcedStyle: assign_inside_condition
# Check with yard instead.
Style/Documentation:
Enabled: false
# This is just shorthand that looks bad due to the lack of an "end" to a "def".
Style/EndlessMethod:
EnforcedStyle: disallow
# It's a choice between format and sprintf. We already make use of sprintf and
# the translatable _ISPRINTF, so...
Style/FormatString:
EnforcedStyle: sprintf
# Prefer sprintf("%s", "Hello") over sprintf("%<greeting>s", greeting: "Hello")
# because it should be easy enough to see which token is which, and it saves
# space.
Style/FormatStringToken:
EnforcedStyle: unannotated
# String literals are not frozen by default, which makes this comment a
# pointless bit of boilerplate that we neither need nor want.
Style/FrozenStringLiteralComment:
Enabled: false
# RMXP and Essentials use lots of global variables.
Style/GlobalVars:
Enabled: false
# Mixing the styles within a hash just looks silly.
Style/HashSyntax:
EnforcedStyle: no_mixed_keys
# Sometimes you want to clearly separate sets of code, one per "paradigm".
Style/IfInsideElse:
Enabled: false
AllowIfModifier: true
# The alernative is ->(x) { x } which is less English than "lambda". This style
# makes lambda definitions require the word "lambda".
Style/Lambda:
EnforcedStyle: lambda
# unless just adds mental gymnastics trying to figure out what it actually
# means. I much prefer if !something.
Style/NegatedIf:
Enabled: false
# .zero?, .positive? and .negative? are more wordy than == 0, > 0 and < 0. They
# also aren't consistent with other value comparisons, e.g. x > 42.
Style/NumericPredicate:
EnforcedStyle: comparison
# Following this just means that calls to an affected method need to know what
# that method calls its parameters, which is ridiculous. Keep things short and
# simple.
Style/OptionalBooleanParameter:
Enabled: false
# has_key? and has_value? are far more readable than key? and value?
Style/PreferredHashMethods:
Enabled: false
# Explicit returns help to show whether a method returns a value.
Style/RedundantReturn:
Enabled: false
# Enforcing the names of variables? To single letter ones? Just no.
Style/SingleLineBlockParams:
Enabled: false
# Single line methods use up less space, and they're easier to list next to each
# other and see that they behave similarly.
Style/SingleLineMethods:
Enabled: false
# This requires writing array[n..] instead of array[n..-1], and I think endless
# ranges look bad.
Style/SlicingWithRange:
Enabled: false
# Single quotes being faster is hardly measurable and only affects parse time.
# Enforcing double quotes reduces the times where you need to change them
# when introducing an interpolation or an apostrophe. Use single quotes only if
# their semantics are needed.
Style/StringLiterals:
EnforcedStyle: double_quotes
# This cop requires arrays of symbols/text to be written like %i[a b c]. We
# don't need that nonsense. ["a", "b", "c"] is clearer and introduces no
# additional syntax to confuse people.
Style/SymbolArray:
EnforcedStyle: brackets
Style/WordArray:
EnforcedStyle: brackets
# Allows procs to be written like { |obj| obj.something } which is clearer.
Style/SymbolProc:
AllowMethodsWithArguments: true
# Parentheses around the condition in a ternary operator helps to differentiate
# it from the true/false results.
Style/TernaryParentheses:
EnforcedStyle: require_parentheses
# This prefers "x += 1 while x < 10" and "x += 1 until x == 10". This hides
# loops, which is not good.
Style/WhileUntilModifier:
Enabled: false

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More