Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: Moc

A strange wood NPC that can be talked to.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerSMG2False

Shape: The shape to use.

  • -1: Rectangular
  • 1: Triangular
  • 2: Oval
Obj_arg1BooleanSMG2False

Spawns Power Star?: If set, it will register a Power Star. Its EventFunc needs to be triggered via an event flow node to make it spawn.

    Switches

    NameGamesRequired?Description
    SW_APPEARSMG2False

    Very buggy so it shouldn't be used. The object will appear when this switch is activated, but it will always have appeared even if the switch is deactivated. Deactivating the switch again will fix this, though.

    SW_ASMG2False

    Activated or deactivated depending on the used event flow node.

    SW_BSMG2False

    Activated or deactivated depending on the used event flow node.

    SW_AWAKESMG2False

    Enables rendering and resumes updates when this switch is active.

    Talking

    NameGamesRequired?DescriptionValues
    MessageSMG2False

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

      EventFuncSMG2False

      Object-specific behavior for EventFunc event flow nodes.

      • 0: Spawn Power Star
      BranchFuncSMG2False

      Object-specific behavior for BranchFunc branch flow nodes.

      • 0: Unlocked or collected Comet Star?
      • 1: Has 100 or more Purple Coins?

      Setup

      NameGamesRequired?DescriptionValues
      AppearPowerStarSMG2False

      Gets spawned after triggering its EventFunc.

        MarioFaceShipNpcRegisterSMG2False

        Can be registered to a Starship Mario object appearance event.

          Properties

          NameGamesDescription
          YoshiTargetableSMG2

          Can be targeted by Yoshi.