Commit Graph

82 Commits

Author SHA1 Message Date
Maruno17
00d1e431b4 Some bug fixes, added PriorityChange item handler 2024-11-22 00:38:20 +00:00
Maruno17
509a414f37 More or less standardised separator comments in the code 2024-06-27 21:21:26 +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
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
e6fe242d4b AI changes, fixed input detection Conditional Branch, Fishious Rend is now a biting move 2024-02-01 23:50:09 +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
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
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
9a42b533f1 Added more sound effects 2023-07-29 20:08:31 +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
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
d112e2361a A lot of FPS agnosticism, added def lerp 2023-05-20 18:37:54 +01:00
Maruno17
6ca7da0a06 Merge branch 'ai' into dev 2023-05-14 18:36:25 +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
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
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
c654636bdc Merge branch 'dev' into ai 2023-04-09 22:28:34 +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
81d069eef1 Refactored AI switching code, added "UsePokemonInOrder" skill flag 2023-02-14 16:40:52 +00:00
Maruno17
3f5c1f0974 Merge branch 'dev' into ai 2023-02-05 19:10:25 +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
2627d68782 Added more debug logging to AI, fixed some bugs in AI 2023-01-16 19:29:28 +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
2e8329f70b Implemented item portion names, e.g. "bag of Soft Sand" 2023-01-03 21:32:32 +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
9695094b02 Merge branch 'dev' into ai 2022-10-04 22:56:27 +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
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
429068f3cb More AI move effect calculation rewrites 2022-08-31 19:02:54 +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
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
a20f378b33 Minor tweaks 2022-08-09 19:30:27 +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
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
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
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
1532be2410 Fixed incorrect capitalisation in message when Aurora Veil wears off 2022-06-02 16:40:37 +01:00
Maruno17
3338875dd8 Fixed error when applying Sea of Fire's damage 2022-06-01 22:47:32 +01:00
Maruno17
6a046ff755 Fixed Xerneas/Zacian/Zamazenta not being their alternate form throughout battle 2022-05-29 18:13:08 +01:00