Commit Graph

50 Commits

Author SHA1 Message Date
Jasper Speelman fdc89e31e8
Merge pull request #204 from P3D-Legacy/0.61-implementations
0.61 implementations
2024-03-28 18:03:51 +01:00
JappaWakka f49eba341e Fix achievements not being loaded before checking 2024-02-17 11:40:38 +01:00
JappaWakka 1fbe0a14ad Move MailMan check to Player.Inventory.AddItem 2024-02-09 17:51:09 +01:00
JappaWakka a5e68a153a Implement Custom Types 2023-12-10 20:19:14 +01:00
darkfire006 453c041199 remove archaic hotfixes and up OT clamp to 6 digits 2023-12-07 01:18:11 -06:00
JappaWakka c0101a122a Replaced script steps thing with @script.delay
@Script.Delay(ScriptPath,DelayType,DelayValue)
Executes a script file after something happened (like having moved a certain amount of steps)

@Script.ClearDelay(ScriptPath,DelayType,DelayValue)
Clears the register created with @script.delay, preventing the script from being executed.

<script.delay(ReturnType)>
Returns a different thing depending on what you write for ReturnType:
"type" - returns what kind of trigger the script delay uses (only "steps" atm)
"script" - returns the script that will be executed after the delay ended
"value" - returns when the trigger ends, like how many steps are left for example
2023-10-30 13:28:30 +01:00
JappaWakka dae406f887 Added Step Script commands & constructs
@Player.SetScriptSteps(stepAmount,scriptPath)
Executes a script file after having moved the given amount of steps.

@Player.ClearScriptSteps
Clears the register created with @Player.SetScriptSteps, preventing the script from being executed.

<Player.ScriptSteps>
Returns the amount of steps before the script as defined by @Player.SetScriptSteps is executed.
2023-10-29 17:59:39 +01:00
JappaWakka edf225189d Fix for item messagegive 2023-08-10 10:31:57 +02:00
JappaWakka d7b08ca349 Don't forget item categories in receive message 2023-08-09 14:54:17 +02:00
JappaWakka 152422903d Placed a ) in the wrong spot & forgot a space 2023-08-09 14:42:25 +02:00
JappaWakka f8c63948d4 Localizable receive items and berries messages 2023-08-09 14:26:26 +02:00
darkfire006 a5c6144ebf fix crashes related to forms in the dex 2023-08-06 19:59:25 -05:00
JappaWakka 22cedcd6c7 Added @Pokedex.ChangeEntry(str,int,bool)
@Pokedex.ChangeEntry(PokeID,EntryType,ForceChange)

PokeID [str] = the Pokémon ID: number (e.g. 19) + optionally Data File Suffix (e.g. 19_alola) or AdditionalValue (201;0)
EntryType [int] = the type that the entry needs to be set to: 0 (undiscovered), 1 (seen), 2 (seen + caught) or 3 (seen + caught + shiny)
ForceChange [bool] = if this is set to true, the game doesn't check whether the Pokédex entry is lower than EntryType before setting it
2023-07-22 20:47:07 +02:00
JappaWakka fab813c799 Form dex access fix 2023-07-21 17:32:20 +02:00
JappaWakka c3fb81a4c4 Pokédex evo/form screen progress 2023-07-21 16:30:12 +02:00
darkfire006 3cadf51c31 increase max size of the dex for Gen 9 pre DLC 2023-07-17 17:05:41 -05:00
JappaWakka 6520377758 DexForm progress 2023-07-15 16:12:17 +02:00
JappaWakka 0b69b854b9 More Pokédex form support progress 2023-07-13 16:15:19 +02:00
JappaWakka fad33eaa4a Pokédex form support progress 2023-07-12 20:09:06 +02:00
darkfire006 40b844e4d9 allow for saving and loading of coins 2023-05-29 20:31:42 -05:00
JappaWakka d13b5eb8d3 GameMode Item Preparations
Implemented GameMode Mega Stones
2023-05-29 15:33:57 +02:00
JappaWakka cf437a1e88 Only play poison sound with poisoned pokémon 2023-05-02 13:36:57 +02:00
JappaWakka 77cfefd598 Play sound when poison pokémon lose hp when walk 2023-05-02 13:31:20 +02:00
JappaWakka b02542ff67 Fix offline savegames not reset when quit new game 2023-04-28 09:20:27 +02:00
JappaWakka 09da089212 Fix overworldpoison 2023-04-28 09:13:04 +02:00
JappaWakka bd647ef071 Forgot to save Player.vb 2023-02-26 12:48:42 +01:00
JappaWakka a371268441 Remove Pokémon if it faints due to poison damage..
with the DeathInsteadOfFaint GameRule set to 1
2023-02-26 12:38:25 +01:00
JappaWakka 74d5981c22 Fixed items not being removed from inventory 2023-01-30 19:45:36 +01:00
JappaWakka 4054e7bcaa Added Harder Difficulty Gamerules + Fix OW Poison 2023-01-13 17:35:54 +01:00
JappaWakka 53e77a1c98 Added blackoutscreen when all fainted by poison 2023-01-13 17:30:44 +01:00
JappaWakka 728739760d Added GameRule "OverworldPoison"
if set to 0, no overworld poison (default)
if set to 1, overworld poison until fainted
if set to 2, overworld poison until 1 hp, then it's cured
2023-01-06 12:16:41 +01:00
JappaWakka d2d4736039 Corrected egg hatch message 2022-09-29 20:34:18 +02:00
JappaWakka 41615fb562 Fixed GameJolt save gender saving and loading bug 2022-06-09 11:13:50 +02:00
JappaWakka 80432aea46 Fixed bug with localization tokens (description)
When returning to the main menu, the localization tokens were not getting reset to their default values.
2022-06-02 16:02:54 +02:00
JappaWakka c1759499e4 Fixed the bug in the description
If you use the @environment.setdaytime(int) command and go back to the main menu, the daytime does not change reset to the system time, causing the main menu to show the wrong background color (e.g. Morning while it is evening)
2022-05-24 22:20:58 +02:00
JappaWakka a017bb653d Added option for running hold/toggle mode 2022-04-19 12:05:00 +02:00
JappaWakka a654d80a85 Using the running shoes and using ctrl to walk through walls in sandbox and debug mode is not a toggle instead of a hold 2021-10-13 20:18:26 +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
darkfire006 6f5d34f0b5 Allow for script determined roamer shinyness 2021-09-30 10:16:26 -05: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
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
CaptainSegis a24f5ff637 Hopefully fixed a couple of crashes 2019-01-31 01:35:14 -05:00
CaptainSegis 98188fa3ef Fixed friend list, Trainer screen, play time, Woobat evolution condition. 2019-01-22 14:04:02 -05:00
CaptainSegis c1fe651ede Bag index now points to the last item used. 2018-10-27 16:43:52 -05:00
nilllzz a2cef30a50 change title screen background 2018-02-24 09:32:04 +01:00
nilllzz fcdcbad6c9 fix music, always summer/day in main menu 2018-02-24 01:20:42 +01:00
nilllzz f9291fd65c fix sounds and music 2018-02-22 03:40:20 +01:00
nilllzz a1786d5181 literally touch every file reorganizing the solution 2018-02-21 16:34:06 +01:00