Commit Graph

6 Commits

Author SHA1 Message Date
JappaWakka c007d0d6f4 Removed unnecessary gamemode item properties 2023-08-14 18:40:52 +02:00
JappaWakka 9ab54ac8ff Update GameModeItem example 2023-08-02 14:41:30 +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 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 5363db90cf Added example and fixed some small things 2023-05-30 12:00:18 +02:00