Commit Graph

26 Commits

Author SHA1 Message Date
JappaWakka fc1ff4854d Custom Phone Contacts are possible in GameModes 2023-04-28 09:17:10 +02:00
JappaWakka 9b7e52e9e6 Fixed items usable when none are left 2023-01-27 18:20:45 +01:00
JappaWakka d3bde7eef0 Fixed some visual bugs related to pvp and trading
and replaced some fonts
2023-01-23 12:12:08 +01:00
JappaWakka f77961afff Remove battlescreen update from InventoryScreen 2023-01-17 18:20:52 +01:00
JappaWakka dfbaaf2b33 BattleScreen + BattleCatchScreen softlock fixes 2023-01-13 14:46:44 +01:00
JappaWakka f260ec0900 Fix for trainer skins and pokégear trade buttons 2023-01-08 15:43:57 +01:00
JappaWakka c0c4146607 Item Descriptions can be localized (no tokens yet) 2022-12-04 20:50:45 +01:00
JappaWakka dcf25a4817 Added Item names to localization file 2022-12-04 19:25:56 +01:00
JappaWakka afe35786a5 Fixed pokégear phone contacts overlapping text 2022-10-18 16:55:03 +02:00
JappaWakka 7e5a433917 Various fixes for visual bugs 2022-06-26 19:59:12 +02:00
Jasper "JappaWakka" Speelman d85e650f14 Updated StatisticsScreen & PokegearScreen
[StatisticsScreen]
* Properly scaled and positioned text and item icons

[PokegearScreen]
* Replaced Minifont with Mainfont
* Made switching tabs in the PSS menu more clear and controlable with the mouse
2022-04-11 20:44:33 +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
JappaWakkaP3D 8bbbb729a7 Fix for a bug where you couldn't use certain items outside of battle 2021-11-26 21:59:52 +01:00
JappaWakka a85849a52c Added @screen.showimage(texture,[sound],[x],[y],[w],[h]) command
To show an image like with @screen.showpokemon but one that's not necessarily the texture of a Pokémon, like the fossils at Pewter City, which I've also added textures for. Arguments in the title of this commit between brackets are optional.
2021-10-17 17:44:01 +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 7f3445b727 Added a text message when selecting an item in battle that can't be used
The message says:
This item can't be used in Battle.
2021-08-20 15:10:39 +02: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
Ruan Pablo aedec48f93 Terrain final implementation + typos and move fixes
fixed fake-out/first impression working on 2 turns
fixed protecting move breaking messages
fixed trapping/binding moves and abilities
fixed flinch message popping up unnecessarily
updated natural gift BP calculation
updated some moves' contest category and other stats
added roseli, kee, maranga berry effects
added alolan pokemon abilities
added smacking down effect
added terrain as well as its effects
replaced polkadot bow (no use) with berserk gene
other minor fixes such as typos, captalizations
wrapping up other commits
2019-09-27 15:46:23 -03:00
CaptainSegis e1faeb362f Hopefully fixed all time related issues 2019-08-03 18:37:07 -05:00
CaptainSegis 5d4ae15b67 Fixed exploit in NewMenuScreen 2019-01-29 22:49:09 -05:00
CaptainSegis c1fe651ede Bag index now points to the last item used. 2018-10-27 16:43:52 -05:00
CaptainSegis 4bac250b97 Fixed crash related to Toss/Give/Use in NewInventoryScreen 2018-10-17 03:30:27 -05:00
nilllzz fcdcbad6c9 fix music, always summer/day in main menu 2018-02-24 01:20:42 +01:00
nilllzz ce42b42806 fix blur shader 2018-02-22 23:43:27 +01:00
nilllzz a1786d5181 literally touch every file reorganizing the solution 2018-02-21 16:34:06 +01:00