Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: BenefitItemOneUp

An item that grants the player an extra life when collected.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

SW_APPEAR Behavior: How it functions when its SW_APPEAR switch gets triggered.

  • -1: Appears when SW_APPEAR gets activated
  • 1: Already appeared but SW_APPEAR starts rotation, escaping, etc.
Obj_arg1IntegerBothFalse

Appearance Type: How the item behaves after appearing. If 128 is added to the value, it will appear with smoke particles.

  • -1: Default
  • 1: On ground after 1 second
  • 2: Thrown out
  • 3: Thrown out from ? Block
  • 4: On ground immediately (SMG2 only)
  • 128: Appear with smoke
Obj_arg2IntegerBothFalse

Escape Type: How it escapes after appearing. Requires Obj_arg1 set to 1,2, 3 or 4.

  • -1: Doesn't escape
  • 1: Escapes
  • 2: Escapes away from player
  • 3: Escapes
Obj_arg3IntegerBothFalse

Clipping Type: Specifies the clipping type. Requires Obj_arg4 set to -1, 1, 2 or 3.

  • -1: Spherical clipping
  • 1: Spherical clipping with shadow length as radius
Obj_arg4IntegerBothFalse

Shadow Type: Specifies the shadow properties.

  • -1: Calculate shadow with gravity direction once
  • 0: Use no shadow
  • 1: Calculate shadow
  • 2: Calculate shadow with gravity direction
  • 3: Calculate shadow once
Obj_arg5IntegerBothFalse

Appearance Camera Type: Specifies whether it should use the appearance camera or not.

  • -1: Don't use camera for appearance
  • 1: Use appearance camera
Obj_arg6BitfieldBothFalse

Rotation Type: How it rotates. Requires Obj_arg0 set to 1.

  • -1: Does not rotate
  • 1: Rotates after appearing
  • 2: Rotates after appearing
  • 4: Rotates when it escapes
Obj_arg7IntegerBothFalse

Shadow Length / Clipping Radius: Sets the shadow drop length. Also sets the clipping radius if Obj_arg3 is set to 1.

    Path_arg0FloatBothFalse

    Movement Speed: Movement speed for paths.

      Switches

      NameGamesRequired?Description
      SW_APPEARBothFalse

      Appears when this switch is activated.

      SW_DEADSMG2False

      Registered but never activated.

      SW_ASMG2False

      If used, it can only be collected while this switch is activated.

      SW_AWAKEBothFalse

      Enables rendering and resumes updates when this switch is active.

      Setup

      NameGamesRequired?DescriptionValues
      RailBothFalse

      Used for movement after the item appears. Broken in SMG2.

        CameraBothFalse

        Used when the item appears. Requires Obj_arg5 set to 1.

          Properties

          NameGamesDescription
          ScoreAttackSMG2

          This object scores 1000 points in The Chimp's challenges.

          Player2TargetableSMG2

          Can be targeted and collected by player 2.