Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: Caretaker

A robotic NPC that can be talked to. It can also quest the player for some specific task and make a Power Star appear depending on the branch and event flows. Due to its complexity, its individual message flow functions are explained on the Luma's Workshop wiki.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Event Type: The special event behavior to be used. Value 2 is broken as he does not carry the actual tool.

  • -1: Nothing
  • 0: Bomb/Fire Flower challenge
  • 1: Spawn Power Star
  • 2: Spawn Power Star with tool animation
Obj_arg1IntegerBothFalse

Minigame Timer for Mario: How much time the player has during a minigame. Default is 30. In SMG1, this is only used when playing as Mario.

    Obj_arg2IntegerSMG1False

    Minigame Timer for Luigi: How much time the player has during a minigame when playing as Luigi. Default is 30.

      Obj_arg3IntegerBothFalse

      Color Frame: The color frame to be used.

      • -1: Green
      • 1: Red
      • 2: Blue
      • 3: Yellow
      Obj_arg4IntegerBothFalse

      Behavior: How it behaves when talking to it.

      • -1: Normal
      • 1: Sad, hands and gear move slowly
      • 2: Head spins around
      • 3: Surprised
      • 4: Bouncing gear
      • 5: Panicking
      • 6: Panicking & damaged

      Switches

      NameGamesRequired?Description
      SW_APPEARBothFalse

      The object will appear when this switch is activated.

      SW_DEADBothFalse

      Gets activated after it dies.

      SW_ABothTrue

      If activated, the player wins the minigame after the minigame timer runs out.

      SW_BBothTrue

      Gets activated when the minigame was failed.

      SW_AWAKEBothFalse

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

      Properties

      NameGamesRequired?Description
      RailBothFalse

      The optional path that it can move on.

      GroupBothFalse

      Used to group several trash piles for use with the bomb minigame.

      DemoCastBothFalse

      The object takes part in the cutscene.

      MarioFaceShipNpcRegisterSMG2False

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

      AppearPowerStarBothFalse

      Gets spawned after triggering a special message flow.

      CameraBothFalse

      Registered but never used.

      MessageBothFalse

      The text message ID to be used. Needs to be specified in the zone's text file.

      SearchTurtleBothFalse

      Red Koopa Shells and Gold Shells home in on this object.