Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: YellowChip

A collectable yellow chip. Usually five of these are linked together by a YellowChipGroup to trigger a switch to spawn another object, for example a Launch Star. It's usually stationary but it can move on a path as well.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothTrue

Yellow Chip Group ID: The group ID of this object, the other Yellow Star Chips and their controller.

    Obj_arg2IntegerBothFalse

    Shadow Calculation: If set, the shadow's drop direction will use the object's gravity vector instead of calculating the shadow direction once.

      Obj_arg3BooleanBothFalse

      Inside Bubble?: If true, the chip will be placed inside an Air Bubble.

        Obj_arg4FloatBothFalse

        Shadow Length: Sets the shadow drop length. Default is 2000.

          Obj_arg5IntegerBothFalse

          Shadow Type: Specifies the shadow model type.

          • -1: Sphere
          • 0: Cylinder

          Switches

          NameGamesRequired?Description
          SW_APPEARBothFalse

          The object will appear when this switch is activated.

          SW_PARAMSMG2False

          The path movement speed is adjusted with ParamScale while this switch is activated.

          SW_AWAKEn/aFalse

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

          Properties

          NameGamesRequired?Description
          RailBothFalse

          Specifies the optional path that it can move on.

          ClippingGroupBothFalse

          Objects in this group are always clipped together.

          MapPartsRailMoverBothFalse

          TODO