Commit Graph

134 Commits

Author SHA1 Message Date
JappaWakka bd4f1154a1 Added Vine Whip animation, fixed 2 move animations
Fixed Scratch & Poison Sting
2022-07-12 11:37:18 +02:00
Jasper "JappaWakka" Speelman c2d11aa340 Fixed Ember animation, added Scratch animation 2022-07-08 15:17:56 +02:00
Jasper "JappaWakka" Speelman 0a75b36d15 Added Leer Animation 2022-07-08 13:41:23 +02:00
darkfire006 3345bf5ffc Engine changes to support Regional forms 2022-07-07 23:06:32 -05:00
darkfire006 b344879f20 fix all roaming mons being caterpie 2022-06-30 09:09:05 -05:00
JappaWakka dab417e190 DiamondDive WaterFall fix and other fixes
Added @player.stopmovement before waterfall scripts to make sure the player doesn't move further than they should
Fixed spelling error in code: NotifcationTypes -> NotificationTypes
Added commands to ScriptLibrary that were missing
2022-06-14 18:12:29 +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 813992bf51 Fix positioning of values in move summary screen 2022-06-09 13:35:54 +02:00
darkfire006 30b069ec9d Peat Block and Black Augurite Sprites 2022-05-24 20:42:24 -05: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
darkfire006 556a765361 add items, no sprites set yet 2022-05-07 19:35:14 -05:00
darkfire006 a5d50bd8a9 item plurals 2022-05-06 17:45:59 -05:00
Jasper "JappaWakka" Speelman 8e2c45d78f Fixed Tar Shot crash + added message 2022-05-06 23:04:29 +02:00
JappaWakka 24a6b77a1c Most of the animations work again 2022-04-25 18:44:05 +02:00
darkfire006 5a9fd6eded allow for incomplete data strings for pokemon
checks for EXP, Atks, IVs, Ability, Nature, Gender, Friendship and Shiny, presets OT and Catch trainer to player and catch ball to pokeball before processing tags to load over them
2022-04-24 17:47:40 -05:00
darkfire006 024306c62b prevent using shiny candy on a shiny 2022-04-24 16:12:55 -05:00
JappaWakka cb4ae0c3a3 Tar Shot secondary effect added
Added the second effect of Tar Shot (which is doubling the effectiveness of fire type moves on the opponent of the attacker)
2022-04-17 16:56:57 +02:00
darkfire006 8f2bf06fc5 various move ability and pokemon data fixes 2022-04-13 19:09:10 -05:00
darkfire006 3563fffb2b Revert "exposed the canbreed property in pokemon save data"
This reverts commit 0dac5afee0.
2022-04-11 13:34:03 -05:00
Jasper "JappaWakka" Speelman 4241ec7bbb Fixed following pokémon wrong interaction reaction 2022-04-11 17:18:41 +02:00
darkfire006 0dac5afee0 exposed the canbreed property in pokemon save data 2022-04-10 16:41:15 -05:00
darkfire006 45f2082347 Wild Pokemon for diamond dive and new routes including 5 new mons 2022-04-08 22:07:25 -05:00
JappaWakka 2bdd3a3468 GameMode Attack functionality update
* Fixed bug with GameModeAttackLoader not loading the right path
* Added functionality for custom moves to change the camera angle
* Added functionality for custom moves to faint a pokémon
2022-03-29 18:58:35 +02:00
JappaWakka dc5b439baf Made it possible for custom moves to end a battle
Also made the text message MoveHitsFunction only appear if there's a message to display.
2022-03-29 18:58:34 +02:00
JappaWakka 4cca56097e MoveHits effects added
Effects added: message, drainhp, gainhp
Status effect now have a second argument (separated with a ",") to define the chance (integer between 0 and 100)
Also fixed Freeze effect, which used to execute a Burn effect instead.
2022-03-29 18:58:34 +02:00
JappaWakka c23c5a244e Merge branch 'BattleAnimations' 2022-02-22 13:10:43 +01:00
JappaWakka 2c7fbf8364 DayTime, Level & PlayerSkin improvements
* Changed the DayTime enum name to DayTimes for consistency with other enums like Seasons
* Changing the EnvironmentType or WeatherType will now not reset back to the default when Reloading a map with the R key (Warping or loading a different map normally does reset those properties)
* @level.setdaytime(int) is now @environment.setdaytime(int), which sets the DayTime permanently across maps. Setting the daytime to any other value than 1 2 3 or 4 will reset the daytime to the default one
* Added command @player.setskin(name) which will permanently change the player's skin, unlike @player.wearskin(name) which only changes the skin temporarily.
2022-02-17 13:46:15 +01:00
JappaWakka 7555a5e903 Battle fixes and improvements
* Fixed camera angle not changing to the Pokémon when status effects are doing something
* Fixed softlock when opponent trainer switches Pokémon
* (Hopefully) fixed initial positioning errors with spawned BattleAnimation entities related to BattleFlip functionality
* Removed the now unneccessary BattleFlip checks in the move animation of Growl
* Improved Ember move animation (fireball speed & flame delay)
* Improved Poison Sting move animation by making the stinger smaller, increasing the speed of the stinger and making it use a flipped version of the texture when the opponent uses the move
* Improved Poisoned status effect animation by making it 1 bubble for regular poison and 3 bubbles for toxic
* Repositioned the flame of the Burned status effect animation
* Trainers now display a message when sending out their Pokémon (I removed that before)
* Fixed Party Screen not appearing immediately after the player's Pokémon fainted and also made the player unable to exit the Party Screen when that happens.
* Fixed the incorrectly scaled font sizes and text alignment in the selection menu that appears when selecting a Pokémon in the Party screen
* Replaced minifont in the Pokémon level up stats box with InGameFont and fixed the offsets
* Fixed the error I made in the ceiling map code of Violet City's gym
* Removed the file MoveAnimationQueryObject.vb because AnimationQueryObject.vb also includes Move Animations
* Fixed the textbox in battles where an empty rectangle would appear before the animation finished.
* When a trainer spots the player and an exclamation mark bubble pops up above their head, a sound is played (Emote_Exclamation)
* In trainer battles, the player's Pokémon now also plays their cry.
2022-01-16 17:22:36 +01:00
JappaWakka c116f30c6b Added Battle Animation for attack Clamp 2022-01-08 17:36:57 +01:00
JappaWakka 6391851597 Improved Wrap & Bind animations, fixed some errors in the Bind animation 2022-01-07 19:27:05 +01:00
JappaWakka 65887946d5 Attract, Bind, Wrap, Infatuated Animations
Added animation for attacks Attract & Bind, updated animation of attacks Wrap, added animation for status Infatuated
2022-01-07 16:30:03 +01:00
JappaWakka e892977d70 Added Bind animation & Fixed scaling animation anchor functionality 2022-01-07 14:25:57 +01:00
JappaWakka 6681a75601 Whirlpool animation now uses 1.5 * MathHelper.PI instead of 4.71F 2022-01-06 12:31:46 +01:00
JappaWakka 35aa80b072 Improved Whirlpool Animation + Fixed BattleAnimations drawn behind Pokémon 2021-12-30 21:53:57 +01:00
JappaWakkaP3D 312e3ed934 Added Wrap & Whirlpool Animations 2021-12-28 17:35:28 +01:00
JappaWakkaP3D 92fafb2d63 Fix Pound sound effect pointing towards the wrong location 2021-12-28 17:35:02 +01:00
JappaWakkaP3D 3bdc124a99 Bugfixes & Tweaks
* Growl displays correctly now
* The sound played with stat change animations is now timed correctly
* Stat change particles now fall straight down as intended
* Fixed incorrect texture for Confusion
* Stat Down texture is now blue and Stat Up texture is now orange/yellow
2021-11-26 21:56:38 +01:00
Jasper "JappaWakka" Speelman 51b9eb649a Fix for missing texture in Poisoned & Burned animations as well as poison sting. 2021-11-21 12:59:21 +01:00
Jasper "JappaWakka" Speelman dc9ec6bd23 Fixed mistakes in Stat Animations + Updated Pound animation + Improved Tackle animation 2021-11-06 12:03:55 +01:00
Jasper "JappaWakka" Speelman c1ec08fe7f Various Battle Improvements and Fixes
* Improved timing BlockIn & BlockOut BattleIntro animations
* Removed player ball throw animations at the start of the battle for battles that are not pvp
* Fixed absorb animation
* Improved the faint animation and removed the unnecessary camera angle changes when a pokémon faints
2021-11-06 11:26:34 +01:00
JappaWakkaP3D 3900fe7191 Fixed Spawned Entities not being removed after the animation is done + Made the switch Pokémon animation look better 2021-10-29 18:54:00 +02:00
JappaWakkaP3D 72599bfd16 Fixed spawned animation entities not being positioned/moved correctly + Added Heal animation + Made other animations be affected by battleanimations option 2021-10-29 15:58:28 +02:00
JappaWakkaP3D 7fba875d02 Fixed a lot of animation system bugs
Fixed:
* Spawned entities not appearing
* Animations getting removed too soon
* Incorrect relative positioning
* Ember textures being searched for in the wrong place
2021-10-24 01:56:29 +02:00
JappaWakka 944cf6ae71 Updated everything to the new Battle Animations system and the newest commands
Updated Attacks:
Ember, Absorb, Growl, Pound

Updated status effects & shared animations:
Poisoned, Switching Pokémon (own and opponent's)
2021-10-22 12:25:00 +02:00
JappaWakka ea12c8f5f4 I was not halfway done
I've updated Poison Sting, through which I realized I hadn't taken some usage cases into consideration, so the system should be more robust and useful now
I've also updated the animation for Switching In your own Pokémon
and I've added an animation for when the Pokémon breaks out of the ball when you're trying to catch it
2021-10-22 12:24:56 +02:00
JappaWakka 02ed129c85 Battle Animation System Rework about halfway done
Updated to work with the new animation system:
- Catch animation
- Burn animation
- Attack: Tackle
2021-10-22 12:24:48 +02:00
JappaWakka d20abdf6df Hit Animation + Restructure of attack sound effects + Absorb animation
Attack sound effects are now in the folder of the type of their attack

Pokémon flicker briefly when hit
2021-10-22 12:23:32 +02:00
JappaWakkaP3D 758154551b Battle Animations 22-08-2021
Made the Battle Animation implementation functional
Added animations for:
Stats Increasing
Stats Decreasing
Status Effects
- Poisoned
- Burned
Attacks
- Ember
- Growl
- Pound
- Tackle
- Poison Sting
2021-10-22 12:22:06 +02:00