View Single Post
  #80    
Old March 24th, 2012 (03:02 PM).
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
I made an updated version of pokemon.txt (zipped due to forum limit size for Attachments) with new things like new Abilities, HiddenAbility, Lowercase names, regional numbers for Kanto and Johto (turn National Dex "ON" on settings to see the others pokémon) and adjusted Battler Position for HeartGold and SoulSilver Graphics (if you don't like they, put "Reposition All" in Editor). Credits goes also to IceGod64 and dannyboy601

The Unova Pack moves.txt and abilities.txt aren't needed for new versions of Essentials. To use tm.txt find and replace all "MR_MIME" to "MRMIME"

If you change something using external editor (like reposition one sprite), the editor erase ALL the regional numbers! To fix this open the editor scripts (to do this temporarily rename the EditorScripts.rxdata to Scripts.rxdata). In PokemonEditor, after the line 'eggEmerald=File.open("Data/eggEmerald.dat","rb")' add:

Code:
regionaldata=File.open("Data/regionals.dat","rb")
numRegions=regionaldata.fgetw
numDexDatas=regionaldata.fgetw
and BEFORE line 'if metrics' add:

Code:
regionallist=[]
for region in 0...numRegions
 regionaldata.pos=4+region*numDexDatas*2+(i*2)
 regionallist.push(regionaldata.fgetw)
end
numb = regionallist.size-1
while (numb>=0) # remove every 0 at end of array 
 (regionallist[numb] == 0) ? regionallist.pop : break
 numb-=1
end
if !regionallist.empty?
 pokedata.write("RegionalNumbers="+regionallist[0].to_s)
 for numb in 1...regionallist.size
  pokedata.write(","+regionallist[numb].to_s)
 end
 pokedata.write("\r\n")
end
And after line 'atkdata.close' put 'regionaldata.close'


After Maruno update some mechanics I release a new Unova Pack.
Attached Files
File Type: zip pokemon.txt.zip‎ (127.9 KB, 25 views) (Save to Dropbox)
__________________
Reply With Quote