Commit Graph

33 Commits

Author SHA1 Message Date
darkfire006 bae3a28431 Revert "Remove caps from registers"
This reverts commit 7310e3cd13.
2022-08-09 10:34:56 -05:00
darkfire006 7310e3cd13 Remove caps from registers
re Strength triggers and time registers
2022-08-06 21:49:50 -05:00
darkfire006 56908b35f9 just the script block fix without the other "fixes" 2022-08-06 21:48:57 -05:00
darkfire006 21bfdc2b74 Revert "Fix for softlock scriptblocks with strengthrocks"
This reverts commit 5003186b39.
2022-08-06 18:22:13 -05:00
JappaWakka 5003186b39 Fix for softlock scriptblocks with strengthrocks 2022-08-06 23:36:45 +02:00
JappaWakka eb69a8ee5b Maybe this'll prevent animatedblock crash 2022-07-24 10:45:18 +02:00
Jasper "JappaWakka" Speelman 2dd64aa7be Animatedblock faces camera if modelid = 3 2022-07-23 19:52:28 +02:00
JappaWakka 31a1c3b6d5 Hopefully this'll prevent animatedblock crash 2022-07-21 10:11:24 +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
darkfire006 64a7b1fab2 have headbutt trees and smash rocks use the spawner correctly to get forms 2022-07-10 18:19:10 -05:00
JappaWakka 9dd17a9c65 Fix slideblocks resetting player speed (descr.)
Fixed the following bug:

If the player runs up or down a slideblock, and then walk up or down another slideblock right after the movement script is finished, then the player will walk at regular speed.
2022-07-05 17:49:23 +02:00
JappaWakka 04d9cce576 Removed unnecessary stuff from waterfall script 2022-06-26 21:02:33 +02:00
JappaWakka e60877d880 Now I definitely fixed waterfall bug 2022-06-14 19:48:18 +02:00
JappaWakka eac10fbdb2 Fix for waterfall movement bug 2022-06-06 12:10:22 +02:00
Jasper "JappaWakka" Speelman a0b2626523 Fix for animatedblock crash 2022-05-06 22:10:16 +02:00
JappaWakka ea0ab80ba6 Water animation improvements
* Added the ability for contentpacks to change the animation speed of water
* Water backdrops are synced to the current map's water animation speed
2022-04-16 18:19:27 +02:00
Jasper "JappaWakka" Speelman bda6f66423 Potential debugwalk fix for rockclimbing 2022-04-08 12:16:07 +02:00
Jasper "JappaWakka" Speelman e62c49b7bb Potential bugfix for 2x debug move on water 2022-04-07 12:01:32 +02:00
Jasper "JappaWakka" Speelman d65b7dc10b Replaced inconsistent overworldpokemon commands
The following commands has been replaced by @overworldpokemon.hide:
* @pokemon.hide
* @player.hidepokemonfollow
The following command has been replaced by @overworldpokemon.show:
* @player.showpokemonfollow
and the following unused command is now replaced by @overworldpokemon.toggle:
* @player.togglepokemonfollow
2022-04-04 19:37:40 +02:00
JappaWakka d1fd63dafa Updated GameDevCommon submodule to use .NET 4.6 & Mo
And fixed some color errors
2021-10-21 20:49:07 +02:00
JappaWakka cae2b61ef7 Music Fixes and other Audio-related QoL things
Fixed music playing errors

[Added Songs]
Mom (as there wasn't any music for when the mom gives you the pokégear)

PVP_Intro (PVP music didn't have an intro before and I also replaced PVP with a better sounding version)

[Added Sounds]
Emote_Exclamation (can be used when using the ! emote for NPCs)

Receive_HM (the game checks if the name of the item that was received contains "HM", if so, this sound is played instead of the regular item receive sound)
2021-10-04 01:14:55 +02:00
darkfire006 bf6c263cc1 Revert "Music & SFX Renaming"
This reverts commit 0bf513e3b7.
2021-10-03 14:49:51 -05:00
JappaWakka 0bf513e3b7 Music & SFX Renaming
Renamed all of the songs with properly capitalized names to improve recognizability and readability.

I also changed some song names and added some sounds & I edited the maps and songs accordingly

[Changed Songs]
alph = RuinsOfAlph
barktown = NewBark
frontier = BattleFrontier
indigo = IndigoPlateau
mtmoonsq = MtMoonSquare
rHideout = Rocket_Hideout
safari = SafariZone
safarigate = SafariZone_Gate
kVictoryroad = VictoryRoad
--
[Added Songs]
Mom (as there wasn't any music for when the mom gives you the pokégear)

PVP_Intro (PVP music didn't have an intro before and I also replaced PVP with a better sounding version)

[Added Sounds]
Emote_Exclamation (can be used when using the ! emote for NPCs)

Receive_HM (the game checks if the name of the item that was received contains "HM", if so, this sound is played instead of the regular item receive sound)
2021-10-03 21:35:02 +02:00
JappaWakka 9def5642e8 Lots of QoL changes
- You can now run up and down a slideblock.
- NPC movement type Straight is now less random and more smooth.
- When renaming the rival, the skin visible at the top changes to whatever skin is set as the rivalskin. This way, the rival is not stuck with one skin. This can be useful when the rival's skin changes based on the player's gender for example.
- Text messages that contain <token.tokenname>, where tokenname is a string from the localizations files, have the part between the <> replaced with that string now.
- Text messages that contain <button.buttonname>, where buttonname is one of the controls defined in "Saves\Keyboard.dat", will now have the part between the <> replaced with the key assigned to that control.
- Players can now be genderless instead of only either male or female in scripts.
- Which skins are available in the intro is now defined in the GameMode's definition file instead of being hard-coded
- Old New Game intro now uses the player skin data from the GameMode definition file
- The Pokémon in the old New Game now doesn't fall too far down anymore
- Scripts adjusted to match the new gender functionality
2021-10-01 15:19:04 +02:00
Jasper "JappaWakka" Speelman 86076944b2 Pause Screen Fixes + Indentation fix
- Fixed crash that occured when pausing the game during the old intro
- Fix weird indentation in warpblock.vb
2021-09-25 00:28:06 +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
aragas b10415ccf0 tabulation 2020-11-06 15:10:24 +03:00
JappaWakkaP3D e8d980b34a Fixed scriptblocks not showing the text in AdditionalValue when the Action value is set to 2 2020-11-06 15:10:24 +03: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
CaptainSegis e1faeb362f Hopefully fixed all time related issues 2019-08-03 18:37:07 -05:00
nilllzz fcdcbad6c9 fix music, always summer/day in main menu 2018-02-24 01:20:42 +01:00
nilllzz a1786d5181 literally touch every file reorganizing the solution 2018-02-21 16:34:06 +01:00