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:
If Obj_arg0 is set to 0: Column ID in StageBgmInfo.
If Obj_arg0 is set to 1: Fade time.
If Obj_arg0 is set to 2: ChangeBgmState ID in StageBgmInfo.

  • -1: If Obj_arg0 is set to 0: value -1 will mute the music.
Obj_arg2IntegerSMG2False

Argument 2:
If Obj_arg0 is set to 1: Column ID in StageBgmInfo.
If Obj_arg0 is set to 2: Fade time.

  • -1: If Obj_arg0 is set to 1: value -1 will mute the music.
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.