Commit Graph

28 Commits

Author SHA1 Message Date
darkfire006 67d357c459 Mach V fixes 2020-07-23 21:02:59 -05:00
darkfire006 eeeeb18e94 fixes from Mach IV 2020-07-22 22:23:38 -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
darkfire006 4213b769a7 pokemon.select fix and other embtower fixes 2019-11-12 19:58:19 -06:00
Vitaly Mikhailov ef0cecfe2e
Added <battle.caught> command 2019-10-31 23:57:27 +03:00
Vitaly Mikhailov 408c97e5d5
Update ActionScript.vb 2019-10-18 22:06:30 +03:00
darkfire006 796ae57ec2 <pokemon.hasattackinparty()> construct
takes a move ID and returns the first pokemon in party with that move or
else -1
2019-10-13 00:36:10 -05:00
Vitaly Mikhailov d44009819e
Merge pull request #32 from P3D-Legacy/fadecolorpatch
Added command to change Screen.Fade color
2019-10-11 21:41:48 +03:00
Vitaly Mikhailov 6e0b1d1550
Added command to change Screen.Fade color 2019-10-11 21:39:42 +03:00
darkfire006 c61dc8584e N texture and following pokemon ID 2019-10-09 21:30:06 -05:00
darkfire006 65a577c375 create @pokemon.removeattackid(int,int) 2019-10-06 22:49:06 -05:00
darkfire006 e13fce85b0 replace [] with «» for output/input of pokemon data 2019-10-06 22:24:08 -05:00
CaptainSegis e1faeb362f Hopefully fixed all time related issues 2019-08-03 18:37:07 -05:00
CaptainSegis ca5be51d4c Some minor fixes 2019-01-20 11:11:07 -05:00
CaptainSegis 28dba981db Oops 2019-01-05 02:53:34 -05:00
CaptainSegis c89c4f8121 Misc fixes:
- Fixed some screen size related issues
- Fixed crash related to indexes in TradeScreen
- Fixed @Pokemon.AddToStorage command
2019-01-05 02:47:05 -05:00
OmegaRuan 5220ec0375 badges fixarinos 2018-09-12 17:40:05 -03:00
CaptainSegis 7d8e6de8f6 small fixes 2018-09-08 22:13:27 -05:00
CaptainSegis 56619c4db9 - Added a bit of content to the basement
- Fixed an important crash related to time based registers
2018-08-31 19:45:19 -05:00
CaptainSegis 7b8e781dce - Added missing houses in Six and Seven Island.
- Implemented @NPC.dance and @Player.dance commands.
- Implemented the CameraDistanceDelta tag, which allows entity CD to be adjusted manually.
2018-08-28 19:34:58 -05:00
CaptainSegis b0f96dd2ad Added some tools for testing mega evolutions. Small fix. 2018-03-07 17:09:15 -05:00
nilllzz 5895b54eac fix file watcher crashing 2018-02-26 00:24:35 +01:00
nilllzz 01ce289fd6 change debug mode detection for file watcher 2018-02-25 11:05:40 +01:00
nilllzz b74fee0383 Fixed #7, @music.stop does not stop music 2018-02-25 11:01:45 +01:00
nilllzz fcdcbad6c9 fix music, always summer/day in main menu 2018-02-24 01:20:42 +01:00
nilllzz d9798acdc6 fix cloud alpha blending 2018-02-22 01:58:31 +01:00
nilllzz a1786d5181 literally touch every file reorganizing the solution 2018-02-21 16:34:06 +01:00