Maruno17
|
6ca7da0a06
|
Merge branch 'ai' into dev
|
2023-05-14 18:36:25 +01:00 |
|
Maruno17
|
a4d74a9663
|
Resolved all remaining TODO comments for AI (except testing), fixed effects of moves that can end the battle
|
2023-05-13 22:49:09 +01:00 |
|
Maruno17
|
7a8754c425
|
Waged war against TODO comments in the AI, some refactoring of AI
|
2023-05-07 23:12:39 +01:00 |
|
Maruno17
|
5a2f0723ab
|
Fixed broken file paths for BP shop
|
2023-05-06 22:45:50 +01:00 |
|
Maruno17
|
a397e60ca5
|
Added Debug menu functions, rearranged Debug menu more, fixed Pokémon sprite not refreshing when changing its held item in its summary screen
|
2023-05-06 18:25:56 +01:00 |
|
Maruno17
|
72469bbf79
|
Added Debug function to edit Repel steps, Flash/Strength usage and Black/White Flute effects; split old and new Black/White Flute effects
|
2023-05-05 20:17:07 +01:00 |
|
Maruno17
|
48fb8dae73
|
Removed redundant "\r" from various messages, removed usages of BitmapWrapper, fixed Lure Ball error in battles started in the Debug menu, improved Terrain Tag editor, fixed some Compiler errors, enabled vsync, fixed event graphics frozen to the screen when using $game_player.moveto directly.
|
2023-05-04 21:28:00 +01:00 |
|
Maruno17
|
5f20121e59
|
Tweaked the Level 101+ equations for some growth rates, moved code that plays the overworld dust animation
|
2023-04-29 18:10:26 +01:00 |
|
Maruno17
|
b7a40d0344
|
Renamed/rearranged some script files
|
2023-04-23 18:04:32 +01:00 |
|
Maruno17
|
ce549ab62a
|
Rewrote AI item usage (inc. adding Revives), various fixes/changes to AI, removed Struggle from PBS files, some bug fixes
|
2023-04-23 17:52:39 +01:00 |
|
Maruno17
|
da182bd98a
|
Merge branch 'dev' into ai
|
2023-04-20 18:05:58 +01:00 |
|
Maruno17
|
4bab130785
|
Fixed Magic Guard not being checked for damage from Shadow Sky weather/Spiky Shield/Dry Skin/Solar Power, fixed As One not having Unnerve's effect, fixed Gulp Missile paralysing the wrong Pokémon, added message for obtaining multiple machine items at once
|
2023-04-20 18:04:15 +01:00 |
|
Maruno17
|
d277658965
|
More AI code for deciding when to switch
|
2023-04-17 19:08:42 +01:00 |
|
Maruno17
|
b9bf3e8b83
|
Added message saving back to compiler, tweaked various messages, fixed typo of constant, fixed missing attr_reader
|
2023-04-15 20:29:47 +01:00 |
|
Maruno17
|
7f6f57dec3
|
Merge branch 'dev' into ai
|
2023-04-13 19:36:18 +01:00 |
|
Maruno17
|
af5256ae0f
|
Updated to mkxp-z v2.4.0
|
2023-04-12 21:26:24 +01:00 |
|
Maruno17
|
a714086a39
|
Fixed rendering of some tiles for certain sizes of tilesets, more rubocopping
|
2023-04-12 21:14:26 +01:00 |
|
Maruno17
|
c654636bdc
|
Merge branch 'dev' into ai
|
2023-04-09 22:28:34 +01:00 |
|
Maruno17
|
a22c5ea89c
|
More work on the AI, refactored stat stage multipliers
|
2023-04-09 22:26:48 +01:00 |
|
Maruno17
|
956a511ec5
|
Fixed some errors when converting code in old trainer events to new code
|
2023-04-07 12:43:24 +01:00 |
|
Maruno17
|
5315b53eae
|
Tidied up usage of colour tags (everything uses c3 now via def shadowc3tag), moved gender text colours to MessageConfig
|
2023-04-07 01:12:17 +01:00 |
|
Maruno17
|
6b690c4492
|
Fix to previous commit
|
2023-04-06 21:46:08 +01:00 |
|
Maruno17
|
1ddf89c2df
|
Removed script/event text collation from compiler (added a debug function to do that instead), removed system cache reloader from compiler
|
2023-04-06 17:47:42 +01:00 |
|
Maruno17
|
3d9d31621b
|
Sped up compiling PBS files by about 5x, fixed bug from earlier commit about writing PBS lines with many optional values
|
2023-04-05 21:41:55 +01:00 |
|
Maruno17
|
cb4a1fd8af
|
def pbDrawTextPositions now uses symbols for text alignment and outline, and added a quicker way to draw text with no shadow/outline
|
2023-04-04 21:16:09 +01:00 |
|
Maruno17
|
e7847fba9a
|
Fixed typo in a previous commit
|
2023-04-02 00:59:05 +01:00 |
|
Maruno17
|
b226e3cbb6
|
Fixed the value of the setting HEAL_STORED_POKEMON, restored all EOR weather messages
|
2023-04-02 00:57:22 +01:00 |
|
Maruno17
|
9d50b27aa0
|
Fixed some bad usage of sprintf, cleaned up some translatable messages
|
2023-04-02 00:52:12 +01:00 |
|
Maruno17
|
ad29a79e1c
|
Tweaked AI threshold score, added "HPAware" skill flag, changed lots of AI scores
|
2023-03-30 21:11:27 +01:00 |
|
Maruno17
|
0bb0fb4a26
|
Rewrote various AI switching checks
|
2023-03-25 23:26:34 +00:00 |
|
Maruno17
|
138d41f7bc
|
Merge branch 'dev' into ai
|
2023-03-23 23:20:58 +00:00 |
|
Maruno17
|
1ead0a76f5
|
Fixed Beak Blast's burn affecting the wrong Pokémon
|
2023-03-21 18:28:06 +00:00 |
|
Maruno17
|
e2648032c1
|
More AI function codes, tweaked AI score threshold, renumbered all PBEffects constants
|
2023-03-19 17:22:53 +00:00 |
|
Maruno17
|
941e238606
|
Rearranged the Debug menu
|
2023-03-12 12:07:01 +00:00 |
|
Maruno17
|
7f5aea63bb
|
shadow_pokemon.txt now supports sections for individual forms of a species
|
2023-03-11 23:14:19 +00:00 |
|
Maruno17
|
e9a44377ce
|
AI: Added checks for additional effect chance, Snatch/Magic Coat, more item ratings
|
2023-03-11 20:13:02 +00:00 |
|
Maruno17
|
5a18f7fd65
|
Fixed additional effect issues with Eerie Spell/Jaw Lock/Thousand Waves
|
2023-03-09 20:37:26 +00:00 |
|
Maruno17
|
e93c3c69ac
|
Merge branch 'dev' into ai
|
2023-03-09 18:31:30 +00:00 |
|
Maruno17
|
9f96684048
|
Slightly simplified phone trainer contacts
|
2023-03-07 20:58:45 +00:00 |
|
Maruno17
|
3a9199da1b
|
Refactored animation editor code into a single module
|
2023-03-06 22:25:45 +00:00 |
|
Maruno17
|
ee72ad371f
|
Fixed Cotton Down also lowering the bearer's speed, tweaked rendering of buttons in the Animation Editor
|
2023-03-05 22:58:57 +00:00 |
|
Maruno17
|
e43fdeec25
|
Fixed back-to-back changes to backgrounds in battle animations not finishing properly before the next one starts
|
2023-03-05 21:57:00 +00:00 |
|
Maruno17
|
05f5d621b7
|
Fixed incorrect Hall of Fame time, fixed Shields Down showing too many messages, fixed target of Pluck still being able to consume its healing berry
|
2023-03-04 23:37:50 +00:00 |
|
Maruno17
|
6157c63fa2
|
Fixed movesets in PBS files, added more compatible TutorMoves
|
2023-03-04 18:47:32 +00:00 |
|
Maruno17
|
ab58da4877
|
Made wild Ultra Beasts smarter too
|
2023-02-20 23:41:25 +00:00 |
|
Maruno17
|
d0c99aa512
|
Improved AI code for weather-causing moves, added AI getting flags from trainer types, added Legendary/Mythical flags to pokemon.txt, added Setting to make wild Legendary/Mythical Pokémon smarter
|
2023-02-20 23:33:09 +00:00 |
|
Maruno17
|
0e4053f837
|
Tackling of various AI "TODO" comments, a little tidying
|
2023-02-17 21:36:08 +00:00 |
|
Maruno17
|
81d069eef1
|
Refactored AI switching code, added "UsePokemonInOrder" skill flag
|
2023-02-14 16:40:52 +00:00 |
|
Maruno17
|
a8e024eb3e
|
Some rearranging of AI script files/methods
|
2023-02-10 21:47:04 +00:00 |
|
Maruno17
|
7e4ef4247b
|
Merge branch 'dev' into ai
|
2023-02-10 21:20:28 +00:00 |
|
Maruno17
|
becce85550
|
Removed deprecated code, renamed "base_damage"/"baseDamage"/"baseDmg" to "power"
|
2023-02-10 21:18:10 +00:00 |
|
Maruno17
|
8a3353973b
|
Fixed minor bug in sprite position editor, made trainers' Pokémon nicknames translatable, generalised code for optional PBS files
|
2023-02-08 23:51:42 +00:00 |
|
Maruno17
|
01e98c8f97
|
Rewrote AI for move function codes for counters, protection removal, Wonder Room, Substitute. Fixed Counters working with damage absorbed by a substitute.
|
2023-02-08 22:19:45 +00:00 |
|
Maruno17
|
3f5c1f0974
|
Merge branch 'dev' into ai
|
2023-02-05 19:10:25 +00:00 |
|
Maruno17
|
d0c39a3e89
|
Tweaks to item-consuming AI function codes
|
2023-02-05 19:09:01 +00:00 |
|
Maruno17
|
4749bd5201
|
Fixed Bug Bite/Pluck and Fling not enabling Belch/triggering Symbiosis when a berry is consumed
|
2023-02-05 18:59:30 +00:00 |
|
Maruno17
|
7678a13e94
|
AI function code rewrites for protection moves
|
2023-02-04 21:14:35 +00:00 |
|
Maruno17
|
80bb967aad
|
More AI function code rewrites
|
2023-01-31 22:12:42 +00:00 |
|
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 |
|