Commit Graph

249 Commits

Author SHA1 Message Date
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
JappaWakka 7d1931abd1 Fix exp sharing after switching before opponent 2022-11-11 12:59:38 +01:00
JappaWakka c6b3a97885 Fix trainers crashing when starting a battle 2022-10-18 16:54:38 +02:00
JappaWakka d2860b15a8 Models work better in battle now 2022-09-27 12:51:51 +02:00
JappaWakka fd93f96cbc Rewrote a huge part of musicplayer, works now! 2022-09-13 21:01:55 +02:00
JappaWakka e37268ffb5 Fix for knockoff item dupe bug 2022-09-04 19:23:12 +02:00
darkfire006 9d85a79f65 leech seed drains even if other pokemon is full 2022-08-23 01:01:59 -05:00
darkfire006 21937ffcf9 fix trainer files not properly completing the math for pokemon ID 2022-08-23 00:09:36 -05:00
JappaWakka 27fa63bc7c Fixed battle model crash 2022-08-16 20:23:00 +02:00
JappaWakka 6f5f992d6e Fix for softlock animations and tail whip crash 2022-07-24 15:16:16 +02:00
Jasper "JappaWakka" Speelman 7d55ca2c64 Fix for Invisible Pokémon in Battle
As well as some other fixes like the hit animation also working on models and making the timing more reliable
2022-07-23 16:41:00 +02:00
JappaWakka bf544a5e25 Fixed stats animation, added Tail Whip animation 2022-07-19 12:03:13 +02:00
JappaWakka e6a2f6eab8 Updates to animation system + rotating pokemon
Also made useful tweaks to how battleflipped works
2022-07-18 21:41:30 +02:00
JappaWakka f103caa5f2 Fixed Models not being affected by lighting 2022-07-16 14:48:29 +02:00
JappaWakka 352b80db9c Any entity can have a model, model scale improved
0.1 meter in blender is now equivalent to 1/16th of a P3D unit or 1 pixel on a 16 pixels wide/tall texture. Mt Silver will need to be updated to match this scale, making the ModelEntity obsolete.

Also added Snorlax battle model
2022-07-13 00:12:16 +02:00
Jasper "JappaWakka" Speelman 1d7897be82 Fixed poison animation 2022-07-08 12:21:32 +02:00
darkfire006 3345bf5ffc Engine changes to support Regional forms 2022-07-07 23:06:32 -05:00
JappaWakka 3461b1f549 Battle poke switch - mouse support & cancel button 2022-06-26 21:23:28 +02:00
JappaWakka 747de3e221
Merge branch 'master' into custommoves 2022-06-10 10:26:10 +02:00
Jasper "JappaWakka" Speelman 790afcdbbc Made sure regular moves still work as expected 2022-06-10 10:13:23 +02:00
JappaWakka a40a44181b Make gamemode moves actually work 2022-06-09 21:29:30 +02:00
JappaWakka 9e67b5fc62 Fix for incorrectly placed burn animation 2022-06-06 14:59:13 +02:00
Jasper "JappaWakka" Speelman 4d36a5851b Only allow switching when round is over
Also fixed minor error with items in battle
2022-05-14 16:07:32 +02:00
JappaWakka 8160838230
Merge pull request #64 from JappaWakkaP3D/permanent_item_loss_fix
Permanent item loss caused by attacks fix
2022-05-13 23:49:52 +02:00
JappaWakka e47581df69 Battle Pokémon models are now placed in subfolder 2022-04-25 18:44:36 +02:00