Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: BgmChangeArea

Changes the background music using the stage's music information in StageBgmInfo. Supports several changing modes.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerSMG2False

Change Type: The music change type.

  • 0: Change Song
  • 1: Fade-out and Change Song
  • 2: Change State
Obj_arg1IntegerSMG2False

Argument 1: ChangeBgmName index into StageBgmInfo if Obj_arg0 is set to 0. ChangeBgmState index into StageBgmInfo if Obj_arg0 is set to 2. Fade time if Obj_arg0 is set to 1.

    Obj_arg2IntegerSMG2False

    Argument 2: ChangeBgmName index into StageBgmInfo if Obj_arg0 is set to 1. Fade time if Obj_arg0 is set to 2.

      Obj_arg3IntegerSMG2False

      Comet Music Type: Sets how music changes are handled during Comet missions.

      • -1: Music change is ignored during Comet
      • 1: Music change is enforced during Comet

      Switches

      NameGamesRequired?Description
      SW_APPEARSMG2False

      Appears when this switch is activated.

      SW_BSMG2False

      Invalidates this area if this switch gets activated. However, this only works in "TwisterTowerGalaxy".

      SW_AWAKESMG2False

      Enables rendering and resumes updates when this switch is active.

      Setup

      NameGamesRequired?DescriptionValues
      BaseMtxFollowerSMG2False

      Can follow another BaseMtxFollowTarget object.