Can't do egglockes. Says every move is illegal. (please help)

Issue #873 resolved
Former user created an issue

This morning I finally discovered how to do an egglocke. I made the eggs and put them in the "egglocke testing" file (I cleared it beforehand). I tried to do it but the same message popped up every time: Move stated on line 1 is illegal(-1) Yes/No. When I enter no the message pops up again, when I enter yes the script would force the game to reset, and a crash would happen. Here's the file text:

280,"Lance",762,2,Male,Adamant,31,31,31,31,31,31,180,184,-1,-1,-1,-1, 280,"Ella",639,1,Female,Modest,31,31,31,31,31,31,180,184,-1,-1,-1,-1, 447,"AuraZ",365,2,Female,Adamant,31,31,31,31,31,31,85,24,383,531,-1,-1, 246,"TTarTube",645,2,Male,Adamant,31,31,31,31,31,31,53,63,514,364,-1,-1, 116,"Mystery",137,1,Male,Modest,31,31,31,31,31,31,59,330,547,-1,-1,-1, 750,"Mutant Bee",93,2,Female,Modest,31,31,31,31,31,31,146,532,-1,-1,-1,-1, 730,"Ghostzard",93,2,Male,Modest,31,31,31,31,31,31,311,368,-1,-1,-1,-1, 727,"Psychosaur",720,2,Female,Modest,31,31,31,31,31,31,303,-1,-1,-1,-1,-1, 766,"Dark Rose",719,2,Female,Modest,31,31,31,31,31,31,683,-1,-1,-1,-1,-1, 733,"Ninja",721,2,Female,Modest,31,31,31,31,31,31,303,-1,-1,-1,-1,-1, 761,"Veno",92,2,Male,Modest,31,31,31,31,31,31,303,-1,-1,-1,-1,-1, 374,"T-150",93,0,Genderless,Adamant,31,31,31,31,31,31,274,-1,-1,-1,-1,-1, 738,"Elecblade",93,1,Male,Adamant,31,31,31,31,31,31,368,-1,-1,-1,-1,-1, 738,"Morgana",93,1,Male,Modest,31,31,31,31,31,31,368,-1,-1,-1,-1,-1,

Comments (2)

  1. leo lavado

    it is because the generated pokemon must have 4 moves, the -1 means that the moveslot is blank but the last 2 numbers must be negative one. To fix this, change the 2 negative one slots to the same as the 180 and 184 like this: 280,"Lance",762,2,Male,Adamant,31,31,31,31,31,31,180,184,180,184,-1,-1, the pokemon may have 2 of the same move but that wont crash your game. (you must do this for all pokemon you plan to load in) Also a bug that I don't know if it has been fixed but all pokemon will be male in an egglocke even if it says female in the code.

  2. Log in to comment