Guid to Changing Starting Onion

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search

Updated way to change the first Onion

step 1 gen edit

step 2 cutscenes

  • in demo folder edit:
  1. a01_indirect.szs
  2. a04_indirect.szs
  3. a05_indirect.szs
  4. a06_after_indirect.szs
  5. a06_indirect.szs
  6. a06_MiniGame_indirect.szs
  7. a07_indirect.szs
  8. a09_indirect.szs
  9. a10_0_indirect.szs
  10. a10_1_indirect.szs
  11. a10_3_indirect.szs
  12. a12_indirect.szs
  13. a13_indirect.szs
  14. a13_MiniGame_indirect.szs

and find the param mPikminColorSelection and change the value to your pikmin color

step 3 crash prevention

  • Open flow_a in msbf editor and go to a02 in the top left, navigate to node ID 69 and change it's next node to node ID 298, this removes the a02, a02_minigame, and BootUpOnyonRed from the flow to prevent a crash

step 4 edit onion flag (blue and wing only)

  • If you use the blue onion, open flow_b in msbf editor and select b27 in the top left, then select node ID 79 and change it's parameter value to 0x14. If you use the pink onion, open flow_d and select d05, then select node ID 27 and change it's parameter value to 0x14.

Quick note

  • Because the master onion will not spawn until you discover the red onion, all onions before red must be generated separately, to generate them properly, add each color to the landing zone in the default gen with misfirst=0 and misfirstaddpikmin=0 then for the discovered onions, make sure the misfirst=1 and misfirstaddpikmin=0, this will allow the onions to not appear in the base until the discovered onions are found