From the Super Mario Wiki
Spear Guys, sometimes known as Jungle Guys, are tribal Shy Guys found in the jungles of various games. Spear Guys are identical to typical Shy Guys, though they wear grass skirts, wield a shield and spear and paint their masks. When confronted with danger, they will attack with spears. A similar enemy, known as Chuck Guys, appear in the Beanbean Kingdom in the game Mario & Luigi: Superstar Saga.
Super Mario World 2: Yoshi's Island / Yoshi's Island: Super Mario Advance 3
Spear Guys made their debut in Super Mario World 2: Yoshi's Island as enemies of several levels, mainly jungle levels. They could only be defeated by being hit with an egg or eaten with Yoshi's tongue from behind because their shields will block attacks from the front. Spear Guys sometimes have long spears that can make an obstacle for Yoshi to jump over or avoid, as touching any part of the spear can cause Baby Mario to fall off of him and get kidnapped. Other times, Spear Guys stand somewhere off the side of the level where Yoshi travels and quickly poke their spear at him, hurting the dinosaur.
A variant called Dancing Spear Guy also appears alongside the regular Spear Guys, and are known for their dancing in a fixed place. They differ by their yellow robes and lack of a shield, though still hold onto their spear while dancing.
Yoshi's Island DS
Both Spear Guys and Dancing Spear Guys returned in the sequel, Yoshi's Island DS, though their appearance was subtly changed. A slight blue shade was added to Spear Guy masks, and a green shade to Dancing Spear Guy masks. An entire level of the fifth world, titled Spear Guys' Village Found!, features these enemies and their supposed village.
Paper Mario series
Spear Guys returned in Paper Mario as enemies on Lavalava Island. They can only be found in Jade Jungle, near Yoshi's Village. These Spear Guys lack feathers and shields, and have a different spear, but serve the same purpose as their predecessors and act in much the same way.
Mario cannot Jump on these Spear Guys when they hold their spear vertically, or use his Hammer while their spear faces him. They sometimes switch the position of their spear, indicating which attack they will do next and forcing Mario to change his battle strategy.
They may either poke Mario with their spears, or throw them at him. After throwing them, they become normal Shy Guys and continue the remainder of the battle as a Shy Guy would. Spear Guys may also dance to get another Spear Guy in the battle.
If a Spear Guy spots Mario outside battle, it will try to poke Mario with its Spear to make the First Strike.
Super Paper Mario
Paper Mario: Sticker Star
Spear Guys make a major appearance (their first appearance since Paper Mario) in Paper Mario: Sticker Star, alongside Shy Guys, Clip Guys, Mariachi Guys, and Snifits. They look similar to their appearance from the original Paper Mario, but they lose their face paint. Here, they show up in World 5, as common enemies. When the battle starts, a Spear Guy will flip his spear and either hold it vertically or horizontally. If held vertically, Mario cannot perform jumps on the Spear Guy, and if held horizontally, Mario cannot use his Hammer on the enemy. The attacks of Spear Guys are determined by the position in which they hold their spear. If held vertically, the Spear Guy will chuck their spear at Mario. If the spear is held horizontally, the Spear Guy will go in front of Mario and stab him with the weapon. The Spear Guys are still vulnerable to projectiles. Unlike in Paper Mario, if a Spear Guy throws his spear at Mario, it won't become a regular Shy Guy. Spear Guys can assist Piranha Plants, Hammer Bros., and Boomerang Bros.
During Shy Guy Jungle, three Spear Guys take a part of the bridge leading to the Comet Piece and run away. Mario must defeat these Spear Guys in order to progress. During Jungle Rapids, Spear Guys chuck spears at Mario while he rides the raft. They also swing on vines and throw barrels at Mario. At the end of the level, several Spear Guys are seen performing tribal dances around pieces of the Sticker Comet. Two Spear Guys are the final enemies seen harassing the Traveling Toad as well.
Mario Power Tennis
Mario Hoops 3-on-3
Though an official Spear Guy does not appear, Fly Guy's Special Shot in Mario Hoops 3-on-3 is wielding a spear that turns the basketball yellow with electricity. This move is made by tapping an S shape on the touch screen and is called the Thunder Shot.
Mario Party series
Spear Guys make a short appearance in the mini-game Paddle Battle from the original Mario Party, which attack the characters with their spears if the character(s) on one side get too close to a Spear Guy. The Spear Guys make the single character lose three coins to the other team of three, and make the team lose one coin each to the single character.
Mario Party Advance
The Jungle Area in Mario Party Advance has several places where players interact with various Spear Guy characters. The Spear Thicket contains a Spear Guy warrior that will challenge either Mario or Luigi to the Tank-Down mini-game. Winning gives the player the mini-game. The ending says that he still continues to look for one bearing a mustache.
Mario Party 7
The Spear Guy Orb is an item appearing in Mario Party 7 that makes a Spear Guy appear that forces anyone landing on a particular space to grant the item-user a certain amount of coins. Spear Guy does this by poking the player several times with his spear. In addition, several Spear Guys appear in the game King of the River.
Mario Party 8
Mario and Luigi series
Mario and Luigi: Dream Team
Spear Guys (without grass skirts) appear in the Giant Bowser fight. They come out of a castle; either attacking Giant Luigi or handing out some meat for Giant Bowser.
Names in other languages