Commit Graph

273 Commits

Author SHA1 Message Date
JappaWakka fef6b689ea Liquid Ooze now also affects Leech Seed 2023-11-13 12:19:56 +01:00
JappaWakka 1e8c1bf9b8 Apply 0 damage fix for Bide only 2023-11-08 15:00:55 +01:00
JappaWakka 5019a59c0d Fix moves being able to do 0 damage 2023-11-08 10:14:18 +01:00
JappaWakka 1e16a5dcc4 Pokémon forms play the right cry in battle now 2023-11-04 15:16:25 +01:00
JappaWakka 25bda8826a Make wild pkmn uncatchable if catchrate = -1 2023-09-22 11:09:35 +02:00
JappaWakka e87f7953e0 Fix EXP bar position 2023-09-20 16:52:53 +02:00
JappaWakka 61b92076c9 Fix bracket error 2023-09-20 09:07:01 +02:00
JappaWakka 4460ac9f52
Allow trainers to use non Integer itemids 2023-09-17 10:37:35 +02:00
JappaWakka 135f0cdd4e
Fix trainer money crash 2023-09-15 20:04:51 +02:00
JappaWakka b66be1637c Added camera battleanims & earthquake anim &...
...fixed the timing system to be consistent
2023-09-07 13:05:20 +02:00
JappaWakka eccda481b9 Implemented flash move animation 2023-09-06 12:13:24 +02:00
JappaWakka d9eb12d341 Fix for softlocks and other battle bugs 2023-09-03 16:39:48 +02:00
JappaWakka 0eddb70011 Bring back fading out music with switching maps 2023-08-29 19:20:54 +02:00
JappaWakka e23ba807eb Fix camera facing the wrong way in PVP switch 2023-08-22 20:13:24 +02:00
JappaWakka 888371c914 Some battle fixes & move implementations
* Baton Pass, Volt Switch, Parting Shot and U-Turn technically work, however the camera is aimed at the wrong pokémon
* Fixed softlock when the PVP client selects a move before the host has finished the battle intro dialogue
2023-08-21 18:43:40 +02:00
JappaWakka 944e42cadd Fixed Baton Pass, PVP needs testing 2023-08-15 18:36:02 +02:00
JappaWakka 15f57d8bc5 Make plural names localizable + item found 2023-08-09 16:20:16 +02:00
JappaWakka 6e8067b30b Fix battlescreen interaction while in chatscreen 2023-08-04 10:15:18 +02:00
JappaWakka 7aa38cd921 Implement Encore correctly 2023-08-01 13:53:10 +02:00
JappaWakka 783e401c39 Fix catch animation 2023-08-01 12:24:35 +02:00
JappaWakka e497776ecd Localized field moves and switching 2023-07-30 18:16:27 +02:00
Yong Jian Ming 7cd60cc3ad
Add BasicEffectWithAlphaTest 2023-07-30 18:05:08 +08:00
JappaWakka ce565d7925 Fix Berserker Gene functionality 2023-07-29 09:58:12 +02:00
JappaWakka d911935dfb Fixed BattleAnimation bug, updated moves 2023-07-28 15:51:16 +02:00
JappaWakka bda8fbc833 Fix BattleMapOffset hopefully 2023-07-26 10:33:21 +02:00
JappaWakka bf2a8aebc6 Return a random move when no attacking moves 2023-07-22 12:06:03 +02:00
JappaWakka bce86162ef Fix Battle Music being played in the overworld 2023-07-22 11:43:06 +02:00
JappaWakka 0e9623c557 Fix stealth rock 2023-07-21 20:11:17 +02:00
JappaWakka c3fb81a4c4 Pokédex evo/form screen progress 2023-07-21 16:30:12 +02:00
JappaWakka 1a4de5bc97 Form name only when mega evolve or in pokedex
Also:
Added form switch tip in pokedex
Turned some single positions into integers in pokedex
2023-07-18 18:38:36 +02:00
JappaWakka fad33eaa4a Pokédex form support progress 2023-07-12 20:09:06 +02:00
JappaWakka a90ef6e6d8 A lot of progress on the softcode forms 2023-07-06 20:14:44 +02:00
JappaWakka ba4a377d23 Tweak tackle, correct line breaks 2023-06-30 09:55:09 +02:00
JappaWakka 581a2c696c Correct tokens for trainer switch prompt 2023-06-29 20:30:10 +02:00
JappaWakka 7e35801db0 Fix PvP battle switching softlock 2023-06-29 20:29:49 +02:00
JappaWakka f1aeb43b75 Fix Pokémon not falling in battle 2023-06-27 14:23:12 +02:00
JappaWakka df992888a2 Animation fixes 2023-06-26 18:18:19 +02:00
JappaWakka af937955b9 New BattleAnimation type + Confuse Ray animation..
And some fixes
2023-06-26 16:36:52 +02:00
JappaWakka d96152d133 Fix EntityMove Battle Animation Type 2023-06-23 11:03:39 +02:00
JappaWakka 030f5a5c74 Fix a wrong color 2023-06-22 14:28:24 +02:00
JappaWakka 4b2138d3b2 Fix Background anim fadeout + tweak psychic anim 2023-06-22 10:40:29 +02:00
JappaWakka 3200dd9d15 Fix Daytimes when set by command 2023-06-21 19:28:35 +02:00
JappaWakka a386be5eb6 Added psychic anim & made background anims work
and also added Ice Punch assets to project
2023-06-21 19:24:43 +02:00
JappaWakka 62fea61236 Fix battlescreen having wrong daytime sky 2023-06-21 19:22:24 +02:00
JappaWakka a6d9a21b72 Fix some GameMode Item stuff 2023-06-21 19:21:34 +02:00
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
JappaWakka f7c97ec7c9 Implemented Disable move & fixed Cursed Body turns
When Cursed Body successfully executes, it now always disables moves for 4 turns too
2022-12-22 14:48:06 +01:00
darkfire006 b538376a1e Updated mechanics from SwSh
3 terrains are a +30%  instead of +50%
Defog removes terrains
Kings Shield is only a single atk red
2022-12-20 16:58:57 -06:00
JappaWakka 6e106a28fa Set second type to typeless with Protean ability 2022-12-18 20:18:35 +01:00
JappaWakka bdb0278280 Make unable to switch message localizable 2022-12-04 21:17:42 +01:00
JappaWakka 3bea96a5ea Fix Confused animation 2022-11-15 10:28:09 +01:00