MSBF file (Pikmin 3)

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search

MSBF (MessageStudio Binary Flowcharts) Files are files that control flow of cutscenes, notably responsible for setting flags and values such as the story progress value in said cutscenes. They are located in /content/*/system/message.szs with matching named msbt files for their respective message data. Can be edited with MSBF Editor.

File Name Usage
flow_a.msbf Tropical Wilds cutscenes
flow_b.msbf Garden of Hope cutscenes
flow_c.msbf Distant Tundra cutscenes
flow_d.msbf Twilight River cutscenes
flow_e.msbf Formidable Oak cutscenes
flow_i.msbf S.S Drake Interior cutscenes (eg. for collecting key items like Louie)
flow_z.msbf General cutscenes (ex. Pikmin Extinction, 100 Pikmin on Field, Pikmin Drowning)
mis_flow.msbf Mission Mode intro cutscenes
vs_flow.msbf Bingo Battle intro cutscene


Branch Types[edit]

ID Alias Parameter Description
01 checkEnergyTank int

Compares the parameter to your current juice amount.

  • Case 1: Juice amount is less than or equal to param
  • Case 2: Juice amount is greater than param
02 checkStoryProgress int

Compares the parameter to your current story progress.

  • Case 1: Story progress is greater than param
  • Case 2: Story progress is less than or equal to param
04 checkGamemode none

Branches based on the mode you are playing in.

  • Case 1: Story
  • Case 2: Mission/Side Stories
  • Case 3: Bingo Battle
07 isStylusControl none

Branches based on if you're using stylus controls. (doesn't exist in deluxe; is always case 2)

  • Case 1: Stylus controls
  • Case 2: Other control scheme
08 isMultiplayer none

Branches based on if you're playing in multiplayer.

  • Case 1: Singleplayer
  • Case 2: Multiplayer
09 checkDifficulty none

Branches based on the current difficulty.

  • Case 1: Normal difficulty
  • Case 2: Hard difficulty
  • Case 3: Ultra-Spicy difficulty
0b hasGotMemo string

Checks if you've gotten a given memo.

  • Case 1: Haven't got memo
  • Case 2: Have got memo

Event Types[edit]

ID Alias Parameter Description
00 playDemo string

Begins playing a demo.

02 string

Unknown, related to demo file triggers.

03 string

Unknown, related to demo file triggers.

04 string

Unknown, related to demo file triggers.

1f setStoryProgress int

Sets the story progress value. Will only set if param is greater than your current story progress value.

20 unlockKoppad none

Unlocks the ability to use the Koppad.

25 unlockKoppadButton int

Part of the sequence that unlocks a button on the Koppad. Param is a number from 1-5.