Mugendai
Glitchologist
- 11
- Posts
- 13
- Years
- Seen Apr 17, 2014
Upon trying to create a new trainer using Pokemon Essentials' automated process, Derxwna and I get the following error:
when it should look like:
I've searched through all of the files and scripts for "T_mAfmAEmA", but I only found it in the trainers.txt file after it has been corrupted, so it is kind of mysterious.
Upon examination of the trainers.txt file, we see stuff like:---------------------------
Touhoumon Faith & Prayer Version 1.8
---------------------------
Exception: RuntimeError Message: Undefined item constant name: T_MAFMAEMA Name must consist only of letters, numbers, and underscores and can't begin with a number. Make sure the item is defined in PBS/items.txt. File PBS/trainers.txt, line 6 DIGLETT,10,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,,0 Compiler:924:in `pbGetConst' Compiler:932:in `parseItem' Compiler:1412:in
`pbCompileTrainers' Compiler:1398:in `each' Compiler:1398:in `pbCompileTrainers' Compiler:1375:in `loop' Compiler:1477:in `pbCompileTrainers' Compiler:3965:in `pbCompileAllData' Compiler:4083 This exception was logged in C:\Users\Owner\Saved Games/Touhoumon Faith _ Prayer Version 1_8/errorlog.txt. Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Code:
#-------------------
CAMPER
Liam
2
DIGLETT,10,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,,0
BONSLY,11,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,,0
#-------------------
LEADER_Brock
Brock
2,FULLRESTORE,FULLRESTORE
GEODUDE,12,T_mAfmAEmA,DEFENSECURL,HEADSMASH,ROCKPOLISH,ROCKTHROW,0,0,,,,20
ONIX,14,SITRUSBERRY,HEADSMASH,ROCKTHROW,RAGE,ROCKTOMB,0,0,,true,,20,,Rocky
#-------------------
YOUNGSTER
Ben
2
RATTATA,11,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA
EKANS,11,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA
#-------------------
CAMPER
Jeff
2
SPEAROW,16,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA
SENTRET,16,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA,T_mAfmAEmA
Code:
#-------------------
CAMPER
Liam
2
DIGLETT,10
BONSLY,11
#-------------------
LEADER_Brock
Brock
2,FULLRESTORE,FULLRESTORE
GEODUDE,12,,DEFENSECURL,HEADSMASH,ROCKPOLISH,ROCKTHROW,0,0,,,,20
ONIX,14,SITRUSBERRY,HEADSMASH,ROCKTHROW,RAGE,ROCKTOMB,0,0,,true,,20,,Rocky,,19
#-------------------
YOUNGSTER
Ben
2
RATTATA,11
EKANS,11
#-------------------
CAMPER
Jeff
2
SPEAROW,16
SENTRET,16