Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: StarPiece

One of the game's main collectibles that can be collected using any player's pointer or by simply touching it.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg3IntegerBothFalse

Color Frame: The color frame to be used.

  • -1: Random
  • 0: Purple
  • 1: Yellow
  • 2: Green
  • 3: Blue
  • 4: Red
  • 5: White
Obj_arg4IntegerBothFalse

Shadow Type: Specifies the shadow properties.

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

Switches

NameGamesRequired?Description
SW_AWAKESMG2False

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

Properties

NameGamesRequired?Description
DemoSimpleCastSMG2False

This object will not pause its movement during cutscenes, NPC conversations, etc.

MirrorActorBothFalse

A mirrored version of this object is created for mirror reflection setups.