Commit Graph

178 Commits

Author SHA1 Message Date
JappaWakka 592420abac Fixed rotate BattleAnimation & enddelay...
EndDelay for BattleAnimations is now correctly calculated
Rotate BattleAnimation now actually ends when it's done rotating
2023-06-20 15:55:47 +02:00
JappaWakka 5617e94f6f Remove unnecessary .ToString 2023-06-14 19:10:27 +02:00
JappaWakka a0aa947c5c Added a GameMode Move property and 2 functions
* Fixed an issue with GameMode Items in battles
* Updated the example files for GameMode Items and GameMode Moves
* Maybe fixed something audio volume related

* Made it possible to disable the reduction of PP using the DeductPP (bool) property for GameModeMoves
* Added the new functions "SetTrigger" and "RemoveTrigger" for GameModeMoves:

Function "SetTrigger" checks if a Pokémon does or does not have a certain Status and prevents functions after it from executing if the Pokémon does not have the desired Status.
The function is formatted like this: Function|SetTrigger,Target,Triggers
* "Target" determines which Pokémon's Status is checked and has to be either 0 or 1 (0 = check own Pokémon, 1 = check opponent's Pokémon)
* "Triggers" determines the status effect(s) that should or should not be on the target Pokémon. You can add multiple possible status effects to check for by separating them with a semicolon (;), the values can be: "burn", "freeze", "paralyze", "poison", "badpoison", "anypoison", "sleep", "noburn", "nofreeze", "noparalyze", "nopoison", "nobadpoison", "nopoison", "nosleep"
Function "RemoveTrigger" removes such a trigger so that functions after it are executed
2023-06-13 20:22:35 +02:00
JappaWakka a69f5b3f49 Maybe fix a pvp thing 2023-06-11 20:37:19 +02:00
JappaWakka 92e611adcb Update battle while in chat 2023-06-07 20:36:41 +02:00
JappaWakka 5b6c902f65 Fix frozen animation 2023-06-04 14:58:39 +02:00
JappaWakka d13b5eb8d3 GameMode Item Preparations
Implemented GameMode Mega Stones
2023-05-29 15:33:57 +02:00
JappaWakka b3becd5653 Fix no full restore message at full hp 2023-05-03 16:03:56 +02:00
JappaWakka a62c78e9ee Fix Full Restore not healing opp confusion 2023-05-03 15:59:30 +02:00
JappaWakka 2689467a7c Moves can't be learned twice after level ups 2023-04-28 09:18:41 +02:00
JappaWakka 1bdd6e1c55 Check if opponent is frozen before defrosting 2023-04-08 20:12:42 +02:00
JappaWakka aa105b38a2 Fix scald not defrosting opponent...
Also added defrosting the opponent as a gamemode attack function
2023-04-01 08:58:01 +02:00
JappaWakka f90152c506 Implemented Torment move 2023-03-27 17:59:57 +02:00
JappaWakka ae5a26f8e3 Fix defrosting moves not working
By putting the move defrost check before the freeze animation/move cancelation check
2023-03-27 17:26:07 +02:00
JappaWakka b2f6c98f8e Fix Infinite PP for opponents 2023-03-23 12:06:17 +01:00
JappaWakka 5819ca30fe Fix for crash related to TrainerAI and using items 2023-03-18 19:56:52 +01:00
JappaWakka a806284149 Fix cancel pp changing items skipping battle turn 2023-03-15 15:40:46 +01:00
JappaWakka 390d8086dd Fix protean change with struggle 2023-03-15 15:39:59 +01:00
JappaWakka 2987cbb177 Pokémon no longer choose taunted status moves
but instead pick another move. if there are no usable moves left, the pokémon uses struggle
2023-03-09 20:00:20 +01:00
JappaWakka 66046800d3 Pokémon will no longer choose disabled moves...
but instead pick another move. if there are no usable moves left, the pokémon uses struggle
2023-03-09 19:36:47 +01:00
JappaWakka e5ee6cb145 Temporarily comment out opponent switching 2023-03-03 12:28:30 +01:00
JappaWakka 0ae62ceaef Have both double trainer npcs show up in battle 2023-02-27 20:25:16 +01:00
JappaWakka 734ece683c Fix battle transition from displaying twice 2023-02-27 20:01:57 +01:00
JappaWakka ffefa421c4 Fix faint Pokémon message showing twice 2023-02-27 20:01:28 +01:00
JappaWakka 611e9688b9 Fix faint Pokémon message not showing...
when the Pokémon faints due to effects not caused by attacks/moves
2023-02-27 19:41:57 +01:00
JappaWakka 022597262c Fixed replace fainted pokémon twice bug 2023-02-26 16:05:47 +01:00
JappaWakka f50a62d3fc Consistency in SwitchPokemonQueryObject 2023-02-23 21:13:46 +01:00
JappaWakka 36a5ebf936 Fix opponent switching shenanigans 2023-02-23 12:58:43 +01:00
JappaWakka b75de6fe5e Fixed BattleMapOffset not being set to 0 2023-02-23 12:27:48 +01:00
JappaWakka ca410ee53b Fix Protean ability 2023-02-23 12:09:22 +01:00
JappaWakka fabab5e32e Finally fixed protean not resetting types 2023-02-02 14:58:33 +01:00
JappaWakka 628f379a28 Fix opponent switching errors bug 2023-02-02 11:19:51 +01:00
JappaWakka 4464766202 Removed unnecessary checks for battlemapoffset 2023-01-27 18:31:48 +01:00
JappaWakka 8f372b16f2 Fix item swap duplication (for real hopefully) 2023-01-27 13:17:25 +01:00
JappaWakka 55106f8450 Can't switch if not in original position 2023-01-23 12:27:36 +01:00
JappaWakka 4f2513dac9 Fix no switching softlock 2023-01-23 11:31:21 +01:00
JappaWakka b8ffdb73c3 Teleport doesn't fail anymore if opp is faster 2023-01-18 20:13:04 +01:00
JappaWakka 7e7dae0d20 Fixed trick/item duplication and protean 2023-01-18 20:06:21 +01:00
JappaWakka d839b64689 Can't choose a move if it's disabled anymore 2023-01-17 18:21:30 +01:00
JappaWakka 4b0cfde2fc Replaced font in BattleMenu 2023-01-15 19:26:05 +01:00
JappaWakka cdccbfcc67 Fix for Trick and Recycle 2023-01-15 11:40:43 +01:00
JappaWakka 678cd35fde Forgot a period in the exp. share name 2023-01-15 09:58:30 +01:00
JappaWakka cc2d46153d Disable Shift BattleStyle in PvP 2023-01-15 09:34:42 +01:00
JappaWakka ffdc28dd85 Fix for Protean Ability not resetting 2023-01-15 09:28:29 +01:00
JappaWakka 77271a4b67 Forgot some battle animation things 2023-01-14 20:58:17 +01:00
JappaWakka dfbaaf2b33 BattleScreen + BattleCatchScreen softlock fixes 2023-01-13 14:46:44 +01:00
JappaWakka dc454d2a68 Temporarily disabled animations for pvp battles 2023-01-13 14:09:21 +01:00
JappaWakka 7ae9ebaa50 Multimove Bug Fixed 2023-01-13 14:07:35 +01:00
JappaWakka add7f4ac6f Fixed item name not being found with localizations 2023-01-02 15:27:59 +01:00
JappaWakka 68a9d197e5 Improved the Custom Move commands 2022-12-26 20:54:00 +01:00