Commit Graph

110 Commits

Author SHA1 Message Date
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
210cfc654f Added Setting SHOW_MODIFIED_MOVE_PROPERTIES, other minor tweaks and fixes 2024-10-29 22:14:36 +00: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
fc538a09f7 Fixed Focus Band only triggering at full HP, made more text translatable 2024-09-30 21:44:36 +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
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
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
5e23984765 Added Gen 9 forms code, evolution code, some item effects 2024-06-08 19:35:45 +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
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
a5734eaf46 Code tidying with Rubocop 2023-07-18 22:42:10 +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
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
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
b5e37248b9 Pokémon sent into battle now default to the Fight option, fixed bugs in Instruct, fixed some AI bugs, fixed parameter mixup for def pbMoveCanTarget?, renamed function to function_code everywhere, fixed black party Pokémon icons in storage, added some more AI testing code 2023-06-18 20:12:36 +01:00
Maruno17
9c2a9130a5 Consolidated code for the player interacting in the overworld, fixed bad splash screen animations, added ShowQuantity property to items.txt, fixed Quick Draw and Aroma Veil, fixed text alignment in long list of regional Dexes in Pokédex, added better error message in load screen if player's charset is missing 2023-06-12 22:32:41 +01:00
Maruno17
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
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
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
7f6f57dec3 Merge branch 'dev' into ai 2023-04-13 19:36:18 +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
a22c5ea89c More work on the AI, refactored stat stage multipliers 2023-04-09 22:26:48 +01:00
Maruno17
138d41f7bc Merge branch 'dev' into ai 2023-03-23 23:20:58 +00:00
Maruno17
e2648032c1 More AI function codes, tweaked AI score threshold, renumbered all PBEffects constants 2023-03-19 17:22:53 +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
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
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
81d069eef1 Refactored AI switching code, added "UsePokemonInOrder" skill flag 2023-02-14 16:40:52 +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
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
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
13aab8d911 Lots of rubocop 2023-01-28 15:21:12 +00:00
Maruno17
b0b6e675c3 Fixed previous commit always causing recompiling if shadow_pokemon.dat doesn't exist, also rubocopping 2023-01-23 22:27:04 +00:00
Maruno17
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
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
05b954e262 Merge branch 'dev' into ai 2022-12-31 17:28:56 +00:00