Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: Penguin

A cute penguin NPC that can be talked to.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Behavior: How it behaves.

  • -1: Normal / Walking (path-only)
  • 0: Sitting / Moves along path while sitting
  • 1: Treading underwater / Swimming underwater (path-only)
  • 2: Treading water / Surface swimming (path-only)
  • 3: Jumping & diving, lacks swimming animation if a path is provided
  • 4: Rides Koopa-Shell (path-only), stuck in place if no path is provided
  • 5: Normal / Walking (path-only)
  • 6: Normal / Running (path-only)
Obj_arg7IntegerBothFalse

Color Frame: The color frame to be used.

  • -1: Blue
  • 1: Green
  • 2: Purple
  • 3: Red

Switches

NameGamesRequired?Description
SW_APPEARBothFalse

Appears when this switch is activated.

SW_ABothFalse

Activated or deactivated depending on the used event flow node.

SW_BBothFalse

Activated or deactivated depending on the used event flow node.

SW_AWAKEBothFalse

Enables rendering and resumes updates when this switch is active.

Talking

NameGamesRequired?DescriptionValues
MessageBothFalse

The text dialogue's label format is Penguin%03d, where %03d is the text message ID.

    Setup

    NameGamesRequired?DescriptionValues
    RailBothFalse

    The optional path that it can move on. In SMG2, the Shadow will not move. This can be fixed with the following code:

      DemoCastSMG2False

      Can take part in a cutscene.

        MarioFaceShipNpcRegisterSMG2False

        Can be registered to a Starship Mario object appearance event.

          Properties

          NameGamesDescription
          YoshiTargetableSMG2

          Can be targeted and licked by Yoshi.