Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: BenefitItemLifeUp

An item that increases the player's health to 6 when collected. Can be collected by the Orange Luma in SMG2.

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.

  • -1: Default
  • 1: On ground after 1 second
  • 2: Thrown out
  • 3: Thrown out from ? Block
  • 4: On ground immediately (SMG2 only)
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: Specifies whether it should use the appearance camera or not.

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

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: 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

      The object will appear 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

      The object will become visible and resume movement when this switch is activated.

      Properties

      NameGamesRequired?Description
      RailBothFalse

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

      CameraBothFalse

      Used when the item appears.