Type Error

Omegas

Novice
Member
Joined
Jul 5, 2017
Posts
40
I tried making two new types in Pokémon Essentials, Fairy and Light.
Everything was going fine, made some moves, reclassified some Pokémon, made a new evolution for Eevee, because why not.
The game loaded fine in RPG Maker, but when Eevee tried to learn a new Light type move, Gallant Light. It displayed as a Normal move with no PP, Accuracy, or description. To add insult to injury, it crashed the game and gave me the message:
---------------------------
Pokemon Dreams
---------------------------
Exception: TypeError
Message: can't clone Fixnum
DrawText:13:in `clone'
DrawText:13:in `getLineBrokenChunks'
DrawText:1060:in `drawTextEx'
PScreen_Summary:628:in `drawSelectedMove'
PScreen_Summary:784:in `pbChooseMoveToForget'
PScreen_Summary:754:in `loop'
PScreen_Summary:787:in `pbChooseMoveToForget'
PScreen_Summary:1006:in `pbStartForgetScreen'
PScreen_Summary:1005:in `loop'
PScreen_Summary:1012:in `pbStartForgetScreen

I have scoured the internet with every forum being left suspended in space, or practically nonexistent.
Anyone know what I could have done wrong? Please help if you do.

Here are the types and the moves I made:
[18]
Name=Fairy
InternalName=FAIRY
IsSpecialType=true
Weaknesses=POISON,STEEL,LIGHT
Resistances=FIGHTING,DARK,BUG
Immunities=DRAGON
[19]
Name=Light
InternalName=LIGHT
IsSpecialType=true
Weaknesses=GHOST,DARK
Resistances=FIGHTING,BUG,FAIRY
Immunities=PSYCHIC

574,AROMATICMIST,Aromatic Mist,138,0,FAIRY,Status,0,20,0,200,0,de,"The user raises the Sp. Def stat of an ally Pokemon by using a mysterious aroma"
575,BABYDOLLEYES,Baby-Doll Eyes,042,0,FAIRY,Status,100,30,0,00,1,bce,"The user stares at the target with its baby-doll eyes, which lowers its Attack stat. This move always goes first."
576,CRAFTYSHIELD,Crafty Shield,14A,0,FAIRY,Status,0,10,0,20,5,e,"The user protects itself and its allies from status moves with a mysterious power. Does not stop damage."
577,DAZZLINGGLEAM,Dazzling Gleam,000,80,FAIRY,Special,100,10,0,04,0,bef,"The user damages opposing Pokemon by emitting s powerful flash."
578,DISARMINGVOICE,Disarming Voice,0A5,40,FAIRY,Special,0,10,0,04,0,bef,"Letting out a charming cry, the user does emotional damage to opposing Pokemon. This attack never misses."
579,DRAININGKISS,Draining Kiss,14F,50,FAIRY,Special,100,10,0,00,0,bef,"The user steals the target's HP with a kiss."
580,FAIRYLOCK,Fairy Lock,152,0,FAIRY,Status,0,10,0,40,0,e,"By locking down the battlefield, the user keeps all Pokemon from fleeing until next turn."
581,MOONBLAST,Moonblast,045,95,FAIRY,Special,100,15,30,00,0,bef,"Borrowing the power of the moon, the user attacks the target. May lower the foes Sp. Atk."
582,GALLANTLIGHT,Gallant Light,000,95,LIGHT,Special,100,10,00,0,bef,"The user looses a blinding light, damaging foes."
583,LIGHTSLASH,Light Slash,000,70,LIGHT,Physical,100,10,00,0,abefh,"The user strikes with a shining blade. Has a high critical hit ratio."
584,DAYBREAK,Daybreak,048,70,LIGHT,Special,100,10,04,0,bef,"Light fills the arena, harming all of your foes and decreasing evasion."
585,SHINEPUNCH,Shine Punch,048,75,LIGHT,Physical,100,15,10,00,0,abefj,"The target is punched with a shining fist. It may also lower evasion."

Version of Essentials: v16.2
 
Last edited:

Omegas

Novice
Member
Joined
Jul 5, 2017
Posts
40
Yes, I would show you but I am clueless how to insert images to a forum... I'll check them again to ensure no mistakes were made.


After checking, I put the images for the Light and Fairy type tag above the Shadow type tag in types.png, checking it now...

And, it did not work... gonna keep looking...
 
Last edited:

ArcWisel

Novice
Member
Joined
Jun 29, 2017
Posts
24
Did you check the pokemon.txt if the new Pokemon were correctly defined? Also check the itmes.txt just in case you added any new items. Were the Types correctly defined in types.txt?
 

Marin

Administrator
Administrator
Take a look at the moves. You're missing an argument.
 

Omegas

Novice
Member
Joined
Jul 5, 2017
Posts
40
Thank you, I'll take a look at them and see what I missed.

I left out additional effect chance. After adding that in, everything went perfectly! Thank you guys for your help!
 
Last edited:
Top