Help Problem with trainer forms

Richard PT

Rookie
Member
Posts
7
#1
Hello.

I have noticed that when i was testing the trainers with pokemon that have forms or mega forms, the sprite don't change. Even if the trainer has a mega pokemon, i saw that their pokemon changes into mega forms, by the text messages, but the sprite don't change. The normal forms has the same issue. Wild pokemon has the same problem, but this where "automaticaly fixed" by using the birthsigns scripts. This happens even in essentials v17.2.

Any clue about this?
 

Maruno

Pokémon Essentials dev
Essentials Developer
Posts
204
#2
...There aren't any sprites for Mega Evolutions. And you didn't say which other forms you were looking at, so no one can help you with those.
 

juliorain

Novice
Member
Posts
45
#3
that should be expected when you don't have their sprites formatted correctly

Remember that forms, including megas, are defined by their index:

for instance rotom:
479, 479_1, etc
479b, 479b_1, etc
479s, 479s_1, etc
479sb, 479sb_1, etc

Megas are underscored as _1 (if that's their only special form)

for instance, mega venusaur

003, 003_1
003b, 003b_1
003s, 003s_1
003sb, 003sb_1
 

Richard PT

Rookie
Member
Posts
7
#4
that should be expected when you don't have their sprites formatted correctly

Remember that forms, including megas, are defined by their index:

for instance rotom:
479, 479_1, etc
479b, 479b_1, etc
479s, 479s_1, etc
479sb, 479sb_1, etc

Megas are underscored as _1 (if that's their only special form)

for instance, mega venusaur

003, 003_1
003b, 003b_1
003s, 003s_1
003sb, 003sb_1
I know about that, i'm not a rookie. XD
 

Richard PT

Rookie
Member
Posts
7
#5
...There aren't any sprites for Mega Evolutions. And you didn't say which other forms you were looking at, so no one can help you with those.
Ok. I will explain better. But first, i fixed some issues in many forms that i missed myself, lol.

And i've got this 2 forms that have the issue of not changing sprites. Has you can see, My mewtwo has the evo forms + 1 normal form, the armor form.

Armor form = works fine, its supposed that, when the pokemon holds battle armor capsule item, it will change form, if not hold the item it will return to normal. But this form works fine.

Mega forms = The opponent plays the evo form animation and text saying that it is mega evo, but it turns normal again, the text said it. But the sprites never changed.

So, i'm starting to think that this 2 diferent forms are clashing in some way that i don't know.
I'm sick, so i can missed trivial things. And i'm the only guy working on a big project, wich it will be completed soon. I think that you understand what is doing all by yourself, right?

Code:
MultipleForms.register(:MEWTWO,{
"getForm"=>proc{|pokemon|
   next 3  if isConst?(pokemon.item,PBItems,:BATTLEARMORCAPSULE) # Armor Form
   next 0                                                       # Normal Form
},
"getMegaForm"=>proc{|pokemon|
   next 1 if isConst?(pokemon.item,PBItems,:MEWTWONITEX)
   next 2 if isConst?(pokemon.item,PBItems,:MEWTWONITEY)
   next
},
"getUnmegaForm"=>proc{|pokemon|
   next 0
},
"getMegaName"=>proc{|pokemon|
   next _INTL("MEGA MEWTWO X") if pokemon.form==1
   next _INTL("MEGA MEWTWO Y") if pokemon.form==2
   next
},
"getBaseStats"=>proc{|pokemon|
   next [106,190,100,130,154,100] if pokemon.form==1
   next [106,150,70,140,194,120] if pokemon.form==2
   next
},
"type1"=>proc{|pokemon|
   next getID(PBTypes,:PSYCHIC) if pokemon.form==1
   next
},
"type2"=>proc{|pokemon|
   next getID(PBTypes,:FIGHTING) if pokemon.form==1
   next
},
"ability"=>proc{|pokemon|
   next getID(PBAbilities,:STEADFAST) if pokemon.form==1
   next getID(PBAbilities,:INSOMNIA) if pokemon.form==2
   next
},
"height"=>proc{|pokemon|
   next 23 if pokemon.form==1
   next 15 if pokemon.form==2
   next
},
"weight"=>proc{|pokemon|
   next 1270 if pokemon.form==1
   next 330 if pokemon.form==2
   next
},
"onSetForm"=>proc{|pokemon,form|
   pbSeenForm(pokemon)
}
})
 
Top