Commit Graph

106 Commits

Author SHA1 Message Date
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
JappaWakka 2c3f46cd2e 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:21:13 +02:00
JappaWakka 168a855ed0 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:21:12 +02:00
JappaWakka 7ff7f96a47 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:21:12 +02:00
JappaWakka b95d4d1c69 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:21:12 +02:00
JappaWakkaP3D c79f92b3e8 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:21:11 +02:00
JappaWakka 9271d9b629 Fixed the camera staying at 1 on the y axis after interacting with your pokémon in third person 2021-10-01 18:05:42 +02:00
darkfire006 6f5d34f0b5 Allow for script determined roamer shinyness 2021-09-30 10:16:26 -05:00
darkfire006 0ee2c116a9 The Return of the Shiny
Reactivate Shiny Candy, set max stacks at 1 and cant be held to avoid duplicating
2021-09-29 02:26:14 -05:00
darkfire006 e5d543c945 mastershinyrate
create global control for shiny rate, update it for standard encounters and breeding and make it script callable
2021-09-29 02:25:17 -05:00
Jasper "JappaWakka" Speelman 9b8df67916 Fixes and main menu preparations
For some reason ttf2bmp.exe was not added to the references, so I added that.
Added some variations of the Options and MainMenu button textures.
Added some english localization tokens and fixed the Indonesian language from displaying as "Indonesia"
Tweaked the colors of the main menu
Added an option main menu icon
Fixed a bug where the game would crash when loading a gamemode without a Moves folder.
Set offsetmap quality (update frequency) to max by default.
2021-08-30 19:46:39 +02:00
JappaWakkaP3D 3a35860f7a Removed visible animations for now 2021-08-22 17:24:06 +02:00
JappaWakkaP3D c6625de6f9 Fixed some battle animation errors and added content that I forgot, also corrected ViceGrip spelling 2021-08-22 16:47:26 +02:00
JappaWakkaP3D 9723820427 SFX & Battle Animations
Ported Battle Animation Code
Ported Battle Animations for Tackle, Pound, Growl, Ember and Poison Sting
Normalized all SFX by Perceived Loudness (-11.0 LUFS)
Renamed and moved a bunch of the SFX so they make more sense
Added a jingle when you register a Phone Number
Added a soundeffect for when an elevator reaches its destination
2021-08-22 16:10:06 +02:00
JappaWakkaP3D 1605ea8afd Fixed a crash caused by Rare Candy being usable in battle 2021-08-20 13:51:55 +02:00
darkfire006 2c0bee98ba Pin Missile Typo 2021-07-02 15:36:55 -05:00
Yong Jian Ming 71eab48a06
Change Or operator to OrElse instead 2021-04-24 17:46:00 +08:00
Yong Jian Ming 8c25fb2df7
Fix teleport bug 2021-04-24 17:42:14 +08:00
Ruan Pablo b361c496a2 Unown menu logic fix
Also minor change to join server screen
2020-09-12 04:39:49 -03:00
darkfire006 98ca5fdcd0 Battle Tower fixes 2020-08-03 14:13:57 -05:00
JappaWakka fae7349356
Fix audio engine & contentpacks (#35)
* Replaced existing Gen 2 SFX with better sounding ones (no ugly reverb)
Replaced MediaPlayer with NAudio(and NAudio.Vorbis) for playing music in order to fix random stopping issues.
The game now directly loads .ogg files instead of the .wma/.xnb combination from before.
ContentPacks are now able to replace Music and SFX again (I haven't added a menu yet for choosing ContentPacks).
To make older GameModes work with current versions, you can add the GameMode property EnterType and set it to "1", this will make the game use the older 2D NewGameScreen.

* Delete GameController.vb

* Add gamecontroller.vb back

* Fix sfx missing

* Battleintro doodle now doesn't loop anymore (for no trainer)
Changed the shutter sound (aka Large Door sound) to something more large door-y
Made the enter sound slightly louder
The enter sound now plays when going through any warp to or from an indoor map (including falling through holes)
The flying sound effect is played earlier in the animation after selecting a location
Changed played sound effect when using the Escape Rope to "teleport" instead of "destroy"
The bump noise now also plays when bumping into something in first person
Fixed small gap between the end of the intro song and the start of the main song
Replaced some songs with better songs

* Fixed some more intro issues

* Forgot to change a thing

* Fixed an error where the main music would play, ignoring the muted musicmanager.

* fix indenting in musicmanager

* The music player will now only start playback on a new song if the music player is not muted, fixed the end time calculation of the intro of a song after muting, Music can't be unmuted now as long as a sound effect plays that stops the music.

* Fixed league restplace position, fixed sound effects sharing the volume slider of the music, sound effects are now also muted when pressing M, changed music on/off popup to audio on/off, removed bump delay in first person, added more control on whether played songs should be looping or not.

* Fixed some more scripts that turn on thirdperson mode but don't check if it was on before or set it back to what it was before afterwards, also fixed a small error in creditsscreen.vb.

* Fixed indenting error in musicmanager.vb, fixed an error of mine where the loopsong parameter would be seen as the playintro parameter.

* Added more music commands, added quite some menu select noises, will add more later

* More select sound effects!

* Fix music not resuming after soundeffect

* Trainer using item now plays the single_heal soundeffect

* Pokémon cries now sound louder

* Possibly fixing crash when playing Pokémon cry at volume higher than 0.71

* Added better quality Pokémon cries, made random overworld cries slightly less loud, added cries for 719 and 720.

* Sound effects now sound louder

* Revert "Added better quality Pokémon cries, made random overworld cries slightly less loud, added cries for 719 and 720."

This reverts commit 8c9296ed1a.

* Fixed the cause of why the title screen music plays even when the game is muted

* Tabs to spaces

* Revert

Co-authored-by: darkfire006 <blazer257@live.com>
Co-authored-by: JappaWakkaP3D <66885565+JappaWakkaP3D@users.noreply.github.com>
Co-authored-by: JappaWakkaP3D <jasper.speelman@outlook.com>
Co-authored-by: Vitaly Mikhailov <personal@aragas.org>
2020-07-09 20:59:42 +03:00
TheOmegaGhost cc2690dd9d Menu Sprite Reorganization 2020-06-19 23:47:03 -03:00
TheOmegaGhost a0e523faaf Added Fossil Items 2020-06-14 01:57:50 -03:00
darkfire006 9d0698eecc Fix Dusk Ball/TM158 conflict 2020-05-12 08:58:35 -05:00
TheOmegaGhost 11913fb146 New Emblems (3)
Tao Emblem for post Kyurem
Minor fix for monochrome stones
Heart Gold Emblem for Ho-oh
Soul Silver Emblem for Lugia
Can be achieved after battle on first encounter event
Retroactively achieved by revisiting encounter area
2020-04-17 21:19:32 -03:00
TheOmegaGhost c1bc61aa27 Steel Beam move and tutor added 2020-04-17 01:35:44 -03:00
TheOmegaGhost 9949c565e1 Minor Move and Item name update
Leek updated
Vise Grip updated
Steel Beam half implemented
2020-04-10 00:07:57 -03:00
TheOmegaGhost 1a327798d3 Supersonic fix
Ignores type immunity and substitute
2020-04-09 23:24:20 -03:00