Guest User

Untitled

a guest
Jun 25th, 2025
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. static void GiveCustomStartingParty(void)
  2. {
  3. struct Pokemon *mon;
  4.  
  5. mon = &gPlayerParty[0];
  6. CreateMon(mon, SPECIES_ESPEON, 50, USE_RANDOM_IVS, TRUE, 0, OT_ID_PLAYER_ID, 0);
  7. SetMonMoveSlot(mon, MOVE_CALM_MIND, 0);
  8. SetMonMoveSlot(mon, MOVE_PSYCHIC, 1);
  9. SetMonMoveSlot(mon, MOVE_SHADOW_BALL, 2);
  10. SetMonMoveSlot(mon, MOVE_ZAP_CANNON, 3);
  11.  
  12.  
  13. mon = &gPlayerParty[1];
  14. CreateMon(mon, SPECIES_GARDEVOIR, 45, USE_RANDOM_IVS, TRUE, 0, OT_ID_PLAYER_ID, 0);
  15.  
  16.  
  17. mon = &gPlayerParty[2];
  18. CreateMon(mon, SPECIES_SALAMENCE, 55, USE_RANDOM_IVS, TRUE, 0, OT_ID_PLAYER_ID, 0);
  19.  
  20. gPlayerPartyCount = 3;
  21. }
  22.  
  23. void NewGameInitData(void)
  24. {
  25. if (gSaveFileStatus == SAVE_STATUS_EMPTY || gSaveFileStatus == SAVE_STATUS_CORRUPT)
  26. RtcReset();
  27.  
  28. gDifferentSaveFile = TRUE;
  29. gSaveBlock2Ptr->encryptionKey = 0;
  30. ZeroPlayerPartyMons();
  31. ZeroEnemyPartyMons();
  32. ResetPokedex();
  33. ClearFrontierRecord();
  34. ClearSav1();
  35. ClearAllMail();
  36. gSaveBlock2Ptr->specialSaveWarpFlags = 0;
  37. gSaveBlock2Ptr->gcnLinkFlags = 0;
  38. InitPlayerTrainerId();
  39. PlayTimeCounter_Reset();
  40. ClearPokedexFlags();
  41. GiveCustomStartingParty(); // Custom line
  42. InitEventData();
  43. ClearTVShowData();
  44. ResetGabbyAndTy();
  45. ClearSecretBases();
  46. ClearBerryTrees();
  47. SetMoney(&gSaveBlock1Ptr->money, 3000);
  48. SetCoins(0);
  49. ResetLinkContestBoolean();
  50. ResetGameStats();
  51. ClearAllContestWinnerPics();
  52. ClearPlayerLinkBattleRecords();
  53. InitSeedotSizeRecord();
  54. InitLotadSizeRecord();
  55. //gPlayerPartyCount = 0;
  56. //ZeroPlayerPartyMons();
  57. ResetPokemonStorageSystem();
  58. ClearRoamerData();
  59. ClearRoamerLocationData();
  60. gSaveBlock1Ptr->registeredItem = ITEM_NONE;
  61. ClearBag();
  62. NewGameInitPCItems();
  63. ClearPokeblocks();
  64. ClearDecorationInventories();
  65. InitEasyChatPhrases();
  66. SetMauvilleOldMan();
  67. InitDewfordTrend();
  68. ResetFanClub();
  69. ResetLotteryCorner();
  70. WarpToTruck();
  71. RunScriptImmediately(EventScript_ResetAllMapFlags);
  72. ResetMiniGamesRecords();
  73. InitUnionRoomChatRegisteredTexts();
  74. InitLilycoveLady();
  75. ResetAllApprenticeData();
  76. ClearRankingHallRecords();
  77. InitMatchCallCounters();
  78. ClearMysteryGift();
  79. WipeTrainerNameRecords();
  80. ResetTrainerHillResults();
  81. ResetContestLinkResults();
  82. }
Advertisement
Add Comment
Please, Sign In to add comment