Jump to content

Kaphotics

Helpful Member
  • Posts

    5869
  • Joined

  • Last visited

  • Days Won

    186

Posts posted by Kaphotics

  1. 3 hours ago, SSilver said:

    I cant find the player property, can you help me @BlackShark please?

    Please follow directions.

    Use the Block Data editor.

    Scroll down to the line with "Player". Expand it. The first property there is Bike Color.

    image.png

    • Like 1
  2. 6 hours ago, pokeopolis said:

    Yes the 100 statues is confirmed however, is it possible to edit the wins in the battle tower for the 5th star?

    Is it possible to edit the streak records in the latest release's Trainer Editor's record section? PKHeX already exposes a lot of data, please look around first :P

    Records 6,8,10,12 indicate the streak for that mode, and any of them >= 100 will satisfy a +1 to trainer rank.

    int PlayerWork.GetTrainerRank()
    {
      int rank = 0;
      
       // game clear
      if (FlagWork.GetSysFlag(5))
        rank++;
    	
      // dex complete
      if (ZukanWork.CheckZenkokuZukanCompGet())
        rank++;
      
      // any streak >= 100
      if (RecordWork.Get(6) >= 100 || RecordWork.Get(8) >= 100 || RecordWork.Get(10) >= 100 || RecordWork.Get(12) >= 100)
        rank++;
      
      // win any master rank contest
      if (FlagWork.GetSysFlag(9) || FlagWork.GetSysFlag(10) || FlagWork.GetSysFlag(11) || FlagWork.GetSysFlag(12) || FlagWork.GetSysFlag(13))
        rank++;
    
      // statues >= 100
      if (UgItemWork.GetHaveStatueKindNum() >= 100)
        rank++;
    
      return rank;
    }

     

    • Speechless 1
  3. PKHeX has different modes for different games. If you do not have a save file loaded, then it loads up whatever your default version is (program settings). Which is likely BD/SP, which doesn't have any species > 493.

  4. ```
        public const EvWork.SYSFLAG_INDEX SYS_GET_CAP = 779;
        public const EvWork.SYSFLAG_INDEX SYS_NO_CAP_MODEL = 780;

    ```

     

    Try clearing 779. Note that the latest release has an issue with setting a custom System Flag (sets the checkbox state for regular event flags, not the system flag checkbox state), so double check that you have toggled it correctly. Development Build does not have the issue (fixed).

    • V-Wheeeeeel!!! 1
  5. Don't nest PKHeX and its stuff in too deep of a folder.

    >> System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Should be self-explanatory :)

×
×
  • Create New...