Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: MorphItemRock

A collectable item that turns the player into a Rock character. This power-up state allows them to turn into a rolling rock.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerSMG2False

Appearance Type: Specifies how the item appears after SW_APPEAR gets activated.

  • -1: Appears in place
  • 1: Appears above and falls down
Obj_arg1IntegerSMG2False

Binder Type: Enables or disables collision binding.

  • -1: Deactivated
  • 1: Activated
Obj_arg2IntegerSMG2False

Landing Type: Specifies whether the power-up falls down after appearing or not.

  • -1: Lands when it appears
  • 1: Stays in position where it appeared
Obj_arg3IntegerSMG2False

Inside Bubble?: Specifies if the item is stored in a bubble or not.

  • -1: Not contained in a bubble
  • 1: Contained in a bubble
Obj_arg4IntegerSMG2False

Shadow & Clipping Type: Specifies the shadow and clipping properties.

  • -1: Calculate shadow drop direction from gravity once
  • 0: Use no shadow
  • 1: Calculate shadow
  • 2: Calculate shadow drop and direction from gravity
  • 3: Use spherical clipping and calculate shadow drop direction from gravity once
  • 4: Use spherical clipping and calculate shadow drop direction from gravity once
Obj_arg5IntegerSMG2False

Appearance Camera Type: Specifies what appearance event cameras are to be used.

  • -1: No cameras
  • 1: Use 出現1
  • 2: Use 出現1 and 出現2
Obj_arg6IntegerSMG2False

Rotation Type: Specifies how the item rotates. It never visibly rotates while inside a bubble.

  • -1: Always rotates
  • 0: Don't rotate
  • 1: Rotation updates while outside bubble
  • 2: Rotation updates while inside bubble
Obj_arg7IntegerSMG2False

Breaking Type: How the rolling rock breaks apart when using the power-up.

  • -1: Breaks automatically after some seconds
  • 1: Does not break automatically

Switches

NameGamesRequired?Description
SW_APPEARSMG2False

The object will appear when this switch is activated.

SW_DEADSMG2False

Gets activated after it is destroyed.

SW_PARAMSMG2False

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

SW_AWAKESMG2False

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

Properties

NameGamesRequired?Description
RailSMG2False

The optional path that it can move on.

DemoCastSMG2False

The object takes part in the cutscene.

MarioFaceShipNpcRegisterSMG2False

This object can be registered to a Starship Mario NPC appearance event.

CameraSMG2False

Used when the item appears.

MapPartsRailMoverSMG2False

TODO