Commit Graph

13 Commits

Author SHA1 Message Date
JappaWakka e78cabb598 Add confusion to gamemode move functions 2023-07-26 18:53:14 +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 611e9688b9 Fix faint Pokémon message not showing...
when the Pokémon faints due to effects not caused by attacks/moves
2023-02-27 19:41:57 +01:00
JappaWakka 7ae9ebaa50 Multimove Bug Fixed 2023-01-13 14:07:35 +01:00
JappaWakka 2328ca5c67 Fixed EndRound custom move effect 2022-12-31 13:16:32 +01:00
JappaWakka 68a9d197e5 Improved the Custom Move commands 2022-12-26 20:54:00 +01:00
JappaWakka 8338c385ee Added Switch & EndRound for Custom Moves 2022-12-26 13:05:22 +01:00
Jasper "JappaWakka" Speelman 790afcdbbc Made sure regular moves still work as expected 2022-06-10 10:13:23 +02:00
JappaWakka a40a44181b Make gamemode moves actually work 2022-06-09 21:29:30 +02:00
JappaWakka 2bdd3a3468 GameMode Attack functionality update
* Fixed bug with GameModeAttackLoader not loading the right path
* Added functionality for custom moves to change the camera angle
* Added functionality for custom moves to faint a pokémon
2022-03-29 18:58:35 +02:00
JappaWakka dc5b439baf Made it possible for custom moves to end a battle
Also made the text message MoveHitsFunction only appear if there's a message to display.
2022-03-29 18:58:34 +02:00
JappaWakka 4cca56097e MoveHits effects added
Effects added: message, drainhp, gainhp
Status effect now have a second argument (separated with a ",") to define the chance (integer between 0 and 100)
Also fixed Freeze effect, which used to execute a Burn effect instead.
2022-03-29 18:58:34 +02:00
nilllzz a1786d5181 literally touch every file reorganizing the solution 2018-02-21 16:34:06 +01:00