FANDOM


Adding gen IV incenses
This tutorial is deprecated. It is no longer relevant to the latest version of Pokémon Essentials.

This tutorial was written by -FL-. Please give credit.

Click here for more tutorials!


This tutorial explains how to add the Gen IV incenses and make them work. The Poccil kit was originally made based on Gen III mechanics, so these incenses and the babies aren't included.

Like any other item, you need to add in the "items.txt" and in the script.

Adding in the items.txt

NB: The Essentials versions after May 2010 already includes this. If you don't already have these lines in the txt, then put them in the txt (you can change the internal numbers):

514,ODDINCENSE,Odd Incense,1,9600,An item to be held by a Pokémon. It is an exotic-smelling incense that boosts the power of Psychic-type moves.,0,0,0,
515,ROCKINCENSE,Rock Incense,1,9600,An item to be held by a Pokémon. It is an exotic-smelling incense that boosts the power of Rock-type moves.,0,0,0,
516,FULLINCENSE,Full Incense,1,9600,An item to be held by a Pokémon. It is an exotic-smelling incense that makes the holder bloated and slow moving.,0,0,0,
517,WAVEINCENSE,Wave Incense,1,9600,An item to be held by a Pokémon. It is an exotic-smelling incense that boosts the power of Water-type moves.,0,0,0,
518,ROSEINCENSE,Rose Incense,1,9600,An item to be held by a Pokémon. It is an exotic-smelling incense that boosts the power of Grass-type moves.,0,0,0,
519,LUCKINCENSE,Luck Incense,1,9600,An item to be held by a Pokémon. It doubles a battle’s prize money if the holding Pokémon joins in.,0,0,0,
520,PUREINCENSE,Pure Incense,1,9600,An item to be held by a Pokémon. It helps keep wild Pokémon away if the holder is the first one in the party.,0,0,0,

Adding in the script

In the script section PokemonDayCare , around line 180 find:

 elsif isConst?(babyspecies,PBSpecies,:AZURILL) &&
  hasConst?(PBSpecies,:AZURILL) &&
  hasConst?(PBSpecies,:MARILL)
 babyspecies=getConst(PBSpecies,:MARILL) if !isConst?(mother.item,PBItems,:SEAINCENSE) && !isConst?(father.item,PBItems,:SEAINCENSE)

Put below:

elsif isConst?(babyspecies,PBSpecies,:MIMEJR) &&
  hasConst?(PBSpecies,:MIMEJR) &&
  hasConst?(PBSpecies,:MR_MIME)
 babyspecies=getConst(PBSpecies,:MR_MIME) if !isConst?(mother.item,PBItems,:ODDINCENSE) && !isConst?(father.item,PBItems,:ODDINCENSE)
elsif isConst?(babyspecies,PBSpecies,:BONSLY) &&
  hasConst?(PBSpecies,:BONSLY) &&
  hasConst?(PBSpecies,:SUDOWOODO)
 babyspecies=getConst(PBSpecies,:SUDOWOODO) if !isConst?(mother.item,PBItems,:ROCKINCENSE) && !isConst?(father.item,PBItems,:ROCKINCENSE)
elsif isConst?(babyspecies,PBSpecies,:MUNCHLAX) &&
  hasConst?(PBSpecies,:MUNCHLAX) &&
  hasConst?(PBSpecies,:SNORLAX)
 babyspecies=getConst(PBSpecies,:SNORLAX) if !isConst?(mother.item,PBItems,:FULLINCENSE) && !isConst?(father.item,PBItems,:FULLINCENSE)
elsif isConst?(babyspecies,PBSpecies,:MANTYKE) &&
  hasConst?(PBSpecies,:MANTYKE) &&
  hasConst?(PBSpecies,:MANTINE)
 babyspecies=getConst(PBSpecies,:MANTINE) if !isConst?(mother.item,PBItems,:WAVEINCENSE) && !isConst?(father.item,PBItems,:WAVEINCENSE)
elsif isConst?(babyspecies,PBSpecies,:BUDEW) &&
  hasConst?(PBSpecies,:BUDEW) &&
  hasConst?(PBSpecies,:ROSELIA)
 babyspecies=getConst(PBSpecies,:ROSELIA) if !isConst?(mother.item,PBItems,:ROSEINCENSE) && !isConst?(father.item,PBItems,:ROSEINCENSE)
elsif isConst?(babyspecies,PBSpecies,:HAPPINY) &&
  hasConst?(PBSpecies,:HAPPINY) &&
  hasConst?(PBSpecies,:CHANSEY)
 babyspecies=getConst(PBSpecies,:CHANSEY) if !isConst?(mother.item,PBItems,:LUCKINCENSE) && !isConst?(father.item,PBItems,:LUCKINCENSE)
elsif isConst?(babyspecies,PBSpecies,:CHINGLING) &&
  hasConst?(PBSpecies,:CHINGLING) &&
  hasConst?(PBSpecies,:CHIMECHO)
 babyspecies=getConst(PBSpecies,:CHIMECHO) if !isConst?(mother.item,PBItems,:PUREINCENSE) && !isConst?(father.item,PBItems,:PUREINCENSE)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.