it can be done with a text editor, additional value is usually a string, it holds additional information the entity needs.you mean the Additional Values? hmm... i need to find the Map Editor in the Forums D:this is a sample of the warp script from the cherrygrove mart
the last part of the code tells it where it goes toCode:{"Entity"{ENT[{"EntityID"{str[WarpBlock]}}{"Position"{sngArr[4,0,6]}}{"TexturePath"{str[Center]}}{"Textures"{recArr[[80,64,16,16]]}}{"TextureIndex"{intArr[0,0,0,0,0,0,0,0,0,0]}}{"Collision"{bool[1]}}{"ModelID"{int[1]}}{"Action"{int[0]}}{"AdditionalValue"{str[cherrygrove.dat,25,0.1,5,0]}}{"Rotation"{int[0]}}]}}
NPCs have 3 actions
0 - say what its in additonalvalue when used
1 - execute the script specified in addionalvalue. its the relative path from /pokemon/scripts/ without the .dat at the end
2 - execute the script specified in additonal value when the player is within sight and within a certain distance (THIS IS HOW TRAINERS WORK). its specified by a number for distance then a pipe then its the relative path from /pokemon/scripts/ without the .dat at the end like this. {"AdditionalValue"{str[3|trainer/azalea/gym/bugcatcheral]}}
script blocks just take a script in additonal value
warp blocks take the map and position to warp to and also what direction you can enter it from