Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: YoshiEgg

An egg that can be cracked open to reveal Yoshi, the player's rideable dinosaur pal.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0BooleanSMG2False

Nest Type: If set, only the nest will be shown at the start of the level. If another Yoshi returns to its egg, this nest will become available to use as a respawn point for Yoshi. This setting will be ignored if SW_APPEAR is used.

  • -1: Egg always enabled
  • 1: Egg initially disabled

Switches

NameGamesRequired?Description
SW_APPEARSMG2False

Appears when this switch is activated.

SW_ASMG2False

If set, the player will be unable to break open the egg until the switch is activated.

SW_AWAKESMG2False

Enables rendering and resumes updates when this switch is active.

Setup

NameGamesRequired?DescriptionValues
CameraSMG2False

Used when the egg appears through SW_APPEAR.

    DemoCastSMG2False

    Can take part in a cutscene. It can use a special cutscene functor action which displays the explanation text for Yoshi when triggered.

      MarioFaceShipNpcRegisterSMG2False

      Can be registered to a Starship Mario object appearance event.

        Properties

        NameGamesDescription
        Player2TargetableSMG2

        Can be targeted and destroyed by player 2. Yoshi can be targeted and frozen.