Commit Graph

79 Commits

Author SHA1 Message Date
JappaWakka cda0c79160 Added Bicycle Item for custom GameModes 2023-06-14 10:07:58 +02:00
JappaWakka a0aa947c5c Added a GameMode Move property and 2 functions
* Fixed an issue with GameMode Items in battles
* Updated the example files for GameMode Items and GameMode Moves
* Maybe fixed something audio volume related

* Made it possible to disable the reduction of PP using the DeductPP (bool) property for GameModeMoves
* Added the new functions "SetTrigger" and "RemoveTrigger" for GameModeMoves:

Function "SetTrigger" checks if a Pokémon does or does not have a certain Status and prevents functions after it from executing if the Pokémon does not have the desired Status.
The function is formatted like this: Function|SetTrigger,Target,Triggers
* "Target" determines which Pokémon's Status is checked and has to be either 0 or 1 (0 = check own Pokémon, 1 = check opponent's Pokémon)
* "Triggers" determines the status effect(s) that should or should not be on the target Pokémon. You can add multiple possible status effects to check for by separating them with a semicolon (;), the values can be: "burn", "freeze", "paralyze", "poison", "badpoison", "anypoison", "sleep", "noburn", "nofreeze", "noparalyze", "nopoison", "nobadpoison", "nopoison", "nosleep"
Function "RemoveTrigger" removes such a trigger so that functions after it are executed
2023-06-13 20:22:35 +02:00
JappaWakka dc744ea02a Make HM GameMode items possible 2023-06-06 20:35:05 +02:00
JappaWakka 098feb8e0d Fix TM GameMode Item crashes 2023-06-01 12:40:58 +02:00
JappaWakka 771540a4a0 Make GameMode Items able to be TMs 2023-05-31 20:37:02 +02:00
JappaWakka 1467b907f4 Made GameMode Items able to start scripts on use 2023-05-31 16:25:38 +02:00
darkfire006 4e4b1bac73 add juice properties to berries 2023-05-30 17:54:26 -05:00
JappaWakka 57e0bf2f15 Added pluralnames to gamemode item tokens 2023-05-30 17:56:47 +02:00
JappaWakka 551a1f3659 Evo Items and Stones now get removed when used
from the inventory
2023-05-30 15:38:13 +02:00
JappaWakka 451115d7aa GameMode Items properties work now 2023-05-30 14:51:43 +02:00
JappaWakka 5363db90cf Added example and fixed some small things 2023-05-30 12:00:18 +02:00
JappaWakka e30d5b017d Implemented GameMode Item Use, needs testing 2023-05-30 11:38:59 +02:00
JappaWakka d13b5eb8d3 GameMode Item Preparations
Implemented GameMode Mega Stones
2023-05-29 15:33:57 +02:00
JappaWakka b8535774aa Merge branch 'VoltorbFlip' 2023-05-29 10:18:56 +02:00
darkfire006 a0e04eda44 add sea plane item 2023-05-28 23:18:08 -05:00
JappaWakka 348ba89b15 Add localization for Voltorb Flip and Coin Case 2023-05-27 16:52:36 +02:00
JappaWakka afb5271e34 Fix Max Ether 2023-05-03 15:53:21 +02:00
JappaWakka ccad3e1f21 Implemented Destiny Knot item and added to route27 2023-04-08 17:36:22 +02:00
JappaWakka f1484c77ca Fix for PP items in battle not starting round 2023-03-27 17:09:08 +02:00
JappaWakka a806284149 Fix cancel pp changing items skipping battle turn 2023-03-15 15:40:46 +01:00
JappaWakka 1114c3ae36 Fix TM/HM bootup sound effect 2023-02-27 19:19:07 +01:00
JappaWakka 4a38a43e1f Fix CanUseHealItems GameRule 2023-02-26 12:37:29 +01:00
JappaWakka ec5f551bd2 Fixed empty line before message with rare candy 2023-02-23 21:17:51 +01:00
JappaWakka 75378268c0 Fix item usage when 0 remaining 2023-02-23 12:09:53 +01:00
JappaWakka 1503cecb1a Fix rare candy blank textbox 2023-01-30 19:22:24 +01:00
JappaWakka 5b7147c720 Added Able/Unable label when using evolution stone 2023-01-27 18:21:27 +01:00
JappaWakka 9b7e52e9e6 Fixed items usable when none are left 2023-01-27 18:20:45 +01:00
JappaWakka 32bd5ed36e Fix rare candy blank textbox bug 2023-01-27 17:48:10 +01:00
darkfire006 7d300c93d5 improve sticky descriptions 2023-01-27 10:32:19 -06:00
JappaWakka 72fceebcb0 Fix repels not being removed from bag 2023-01-23 11:15:54 +01:00
JappaWakka 02aef02183 Adjust White Flute description 2023-01-17 18:37:08 +01:00
JappaWakka 0d3041d1d7 RepelItem not displaying a message fixed 2023-01-15 14:39:25 +01:00
JappaWakka e14e4c660c Added gamerule for Single Use TMs
SingleUseTM
0 = Use TMs as many times as you like
1 = TMs can only be used once
2023-01-14 21:03:12 +01:00
JappaWakka a1a84bbe40 Fixed escape rope and teleport not stopping surf 2023-01-04 20:14:38 +01:00
JappaWakka add7f4ac6f Fixed item name not being found with localizations 2023-01-02 15:27:59 +01:00
darkfire006 3a4adda6ba Implement Lum Berry 2022-12-29 21:08:20 -06:00
darkfire006 6c6eba362f fix Luck description 2022-12-29 20:49:18 -06:00
JappaWakka 6e2f925ba8 Added . after Repel use message 2022-11-18 15:08:34 +01:00
JappaWakka 714869290c Fix medicine usage text out of bounds 2022-11-11 13:00:02 +01:00
darkfire006 30b069ec9d Peat Block and Black Augurite Sprites 2022-05-24 20:42:24 -05:00
darkfire006 556a765361 add items, no sprites set yet 2022-05-07 19:35:14 -05:00
darkfire006 a5d50bd8a9 item plurals 2022-05-06 17:45:59 -05:00
darkfire006 024306c62b prevent using shiny candy on a shiny 2022-04-24 16:12:55 -05:00
darkfire006 8f2bf06fc5 various move ability and pokemon data fixes 2022-04-13 19:09:10 -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
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
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 a0e523faaf Added Fossil Items 2020-06-14 01:57:50 -03:00