pokemon-showdown/data/mods/monsterhunter/scripts.ts
Yoshiblaze 7112ed9564
Add December's Pet Mod of the Month, Monster Hunter Showdown Random Battle, and Remove the Previous PMOTM (#11597)
* spookymod Initial commit

npm not working locally for me anymore, it's 57 commits time

* Spookymod: Fix initial errors

* Spookymod: Fix more initial errors

* checking something

* Spookymod: checking something

* Spookymod: Fix const error

* Spookymod: Fix some errors

* Spookymod: fix small errors

* Spookymod: Fix a couple more errors

* Spookymod: More small errors

* Remove chatlines, fix generation

* Spookymod: Fully remove chat stuff

* Spookymod: errors

* trailing space

* remove random \

* Fix most errors

* Spookymod: Fix ID errors

* Spookymod: Fix Revive

* fix toId

* Monster Hunter: Initial Commit

* Monster Hunter: Fix errors

* Monster Hunter: Fix more errors

* oh there it is

* Monster Hunter: More errors

* Monster Hunter: Fix commas

* /*

* Monster Hunter: Some more errors

* one more

* Remove nonexistent ability

* Monster Hunter: Random Set Fix

* Movepool edit

* Set tweaks

* try fix abilities

* Large update from DH + Ability fixes

https://github.com/scoopapa/DH2/pull/1471

* Revert "Large update from DH + Ability fixes"

This reverts commit f5d10087b0.

* Re-delete spookymod

* Re-add the stuff that didn't break

---------

Co-authored-by: Meijer,L. (Lucas) <l.meijer6@students.uu.nl>
2025-12-01 23:08:28 -07:00

15 lines
389 B
TypeScript

export const Scripts: ModdedBattleScriptsData = {
gen: 9,
pokemon: {
ignoringItem() {
return !!(
this.itemState.knockedOff || // Gen 3-4
(this.battle.gen >= 5 && !this.isActive) ||
(!this.getItem().ignoreKlutz && this.hasAbility('klutz')) ||
this.volatiles['embargo'] || this.battle.field.pseudoWeather['magicroom'] ||
this.volatiles['stench']
);
},
},
};