Docs/NPC Info
General Info[edit | edit source]
Chucking[edit | edit source]
NPCs all have a flag you can set in their stage parameters that will change the type of NPC they are. 0 defines a normal NPC, 1 defines an NPC that throws Mario after their text box ends. Only Piantas have unique animations for throwing Mario.
Coloring[edit | edit source]
Material names on models are read by the game and colored in by reading pointers to where color info begins in the DOL. Each color entry is 8 bytes long (RGBA), the first byte for a color channel is the render type and the second is the color value. These color entries are chosen through the NPC's stage parameters. However the game never stops reading for color info and keeps going past the end of the color entries, creating garbage colors from existing info in the DOL. NPCs have 5 color params: Body Color, Clothes Color, and three accessory color params.
Action[edit | edit source]
This variable sets which action the NPC does as a default. Some actions specify what happens when the character is moving along a rail (otherwise the NPC will default to a walking animation). Special NPCs will also do their specific actions no matter the value.
Value | Pianta | Noki | Toadstool |
---|---|---|---|
0 | Basic Stand | Basic Stand | Basic Stand |
1 | Sitting | Sitting | Sitting |
2 | Looking Up
|
Walking | Running |
3 | Looking Down
|
Running | Talking |
4 | Talking
|
Talking | Sitting & Talking |
5 | Sitting & Talking
|
Sitting & Talking
|
Walking |
6 | Walking | NULL | Walking & Stopping |
7 | Running | Dancing
|
Running & Stopping |
8 | Angry | NULL | Worried |
9 | Playing Ukulele (NPCMonteMH) | Ride Jellyfish (NPCMareMA/WA) | Worried Sitting |
10 | Hula Dance (NPCMonteWC) | Holding Baby (NPCMareWB) | Worried Running |
11 | Dancing | Walking & Stopping | Worried Talking |
12 | Swimming (NPCMonteMF) | Running & Stopping | Worried Sitting & Talking |
13 | Walking & Stopping | NULL | Worried Walking |
14 | Walking & Stopping to Look Up | talking?? | Worried Walking & Stopping |
15 | Walking & Stopping to Look Down | Playing Shell Flute (NPCMareMD) | Worried Running & Stopping |
16 | Walking & Stopping to Talk | Looking Up | |
17 | Running & Stopping | ||
18 | Running & Stopping to Look Up | ||
19 | Running & Stopping to Look Down | ||
20 | Running & Stopping to Talk | ||
21 | Walking & Playing Ukulele (NPCMonteMH) | ||
22 | Mopping (NPCMonteMG) | ||
23 | Holding Sign (For Females) | ||
24 | Caught on Fire (For Males) | ||
120 | Standing Still | ? | ? |
Body Colors[edit | edit source]
Toad[edit | edit source]
Male Pianta[edit | edit source]
Normal[edit | edit source]
Color 10 is a garbage color, only seen used in pre-release
Suit[edit | edit source]
The suit Pianta NPCMonteMB has its own color variants separate from the others
Female Pianta[edit | edit source]
Color 6 is a garbage color, only seen used in pre-release
Male Noki[edit | edit source]
Female Noki[edit | edit source]
Clothes Colors[edit | edit source]
Toad[edit | edit source]
Tanooki[edit | edit source]
Male Pianta[edit | edit source]
Aloha Shirt[edit | edit source]
Suit[edit | edit source]
Round Collar Shirt[edit | edit source]
Tank Top[edit | edit source]
Female Pianta[edit | edit source]
Muumuu[edit | edit source]
T-shirt[edit | edit source]
Accessories[edit | edit source]
Accessories are added based on a geometric sequence. Each new common ratio the set will reset and add a new accessory. Using basic math, you are able to setup an NPC with the preferred accessories you desire (WARNING: accessories can overlap and all rely on the same color params, so be careful)
Toad[edit | edit source]
Value | Added |
---|---|
0 | Nothing |
1 | Sunglasses |
Toadsworth[edit | edit source]
Value | Added |
---|---|
0 | Nothing |
1 | Staff |
Princess Peach[edit | edit source]
Value | Added |
---|---|
0 | Nothing |
1 | Normal Hair |
2 | NOTHING |
4 | NOTHING |
8 | Ponytail |
16 | Parasol |
Tanooki[edit | edit source]
Value | Added |
---|---|
0 | Nothing |
1 | Lifesaver |
Male Pianta[edit | edit source]
Value | Added |
---|---|
0 | Nothing |
1 | Hat |
2 | Mustache |
4 | Sunglasses |
8 | Glasses |
16 | Straw Hat |
32 | Sailor Cap |
64 | Shine Cap |
128 | Bell-boy Cap |
256 | Backwards Cap |
512 | Neckerchief |
1024 | Bowtie |
2048 | Backpack (MonteM-ME) |
2048 | Duck Floaty (MonteMF) |
2048 | Mop (MonteMG) |
2048 | Ukulele (MonteMH) |
Female Pianta[edit | edit source]
Value | Added |
---|---|
0 | Nothing |
1 | Flower |
2 | Hat |
4 | Glasses |
8 | Right Sign |
16 | Left Sign |
32 | Flower Crown (MonteWC) |
64 | Right Bracelet (MonteWC) |
128 | Left Bracelet (MonteWC) |
Male Noki[edit | edit source]
For MareMA, the jellyfish is added upon going above 0
Value | Added |
---|---|
0 | Nothing |
1 | Scallop |
2 | Sundial |
4 | NOTHING |
8 | Babylon |
16 | Shell 1 |
32 | Shell 2 |
64 | Glasses |
128 | Bivalve (Shell 3) |
256 | Elder Set (MareMB) |
256 | Park Hat (MareMC) |
256 | Flute (MareMD) |
512 | Fishing Pole (MareMB) |
512 | Goatee (MareMC) |
1024 | Mustache (MareMC) |
Female Noki[edit | edit source]
For MareWA, the jellyfish is added upon going above 0
Value | Added |
---|---|
0 | Nothing |
1 | Pearl |
2 | Hat |
4 | NOTHING |
8 | NOTHING |
16 | Shell 1 |
32 | Shell 2 |
64 | NOTHING |
128 | NOTHING |
256 | Bivalve (Shell 3) |
512 | Babylons |
1024 | Baby (MareWB) |
Accessory Colors[edit | edit source]
Tanooki[edit | edit source]
Male Pianta[edit | edit source]
Color Param 1[edit | edit source]
Hat[edit | edit source]
Straw Hat[edit | edit source]
Sailor Cap[edit | edit source]
Shine Cap[edit | edit source]
Bell-boy Cap[edit | edit source]
Backwards Cap[edit | edit source]
Color Param 2[edit | edit source]
Mustache[edit | edit source]
Neckerchief[edit | edit source]
Color Param 3[edit | edit source]
Glasses[edit | edit source]
Other[edit | edit source]
The Bowtie is affected by coloring under Color Param 1, though it has no extra colors
Female Pianta[edit | edit source]
Color Param 1[edit | edit source]
Hat[edit | edit source]
Color Param 2[edit | edit source]
Flower[edit | edit source]
Color Param 3[edit | edit source]
Glasses[edit | edit source]
Colors 3 and 4 are garbage colors, though despite this color 4 is used in-game technically making color 3 "unused"
Male Noki[edit | edit source]
Color Param 1[edit | edit source]
Scallop[edit | edit source]
Sundial[edit | edit source]
Babylon[edit | edit source]
Color Param 2[edit | edit source]
Shell 1[edit | edit source]
Shell 2[edit | edit source]
Bivalve (Shell 3)[edit | edit source]
Color Param 3[edit | edit source]
Glasses[edit | edit source]
Other[edit | edit source]
The following accessories are affected by coloring but do not have extra colors:
- Fishing Pole Color Param 1
- Elder Set Color Param 3
- Mustache Color Param 1
- Goatee Color Param 1
- Park Hat Color Param 1
- Flute Color Param 3
Female Noki[edit | edit source]
Color Param 1[edit | edit source]
Pearl[edit | edit source]
Hat[edit | edit source]
Babylons[edit | edit source]
Color Param 2[edit | edit source]
Shell 1[edit | edit source]
Shell 2[edit | edit source]
Bivalve (Shell 3)[edit | edit source]
Other[edit | edit source]
The Baby is affected by Color Param 3 but does not have any extra colors