User Tools


This is an old revision of the document!


Mario's Actions

Mario can do a lot of different things in Super Mario 64. He can run, jump, swim, wall-kick, and even sleep among many other actions. These different actions have their own values to them, and each value points to a specific function that will run when Mario's current action (Mario→0x0C) is set.

There are 7 groups that each of the actions fall into. The group is determined by ANDing the action value by 0x1C0.

Group JAL to Description
0x000 0x80263898 Idle, sleeping
0x040 0x80269954 Crawling, sliding, fall damage
0x080 0x8026FB04 In Air (Attacks, jumping, flips, falling)
0x0C0 0x8027499C Swimming/Underwater releated
0x100 0x8025D798 Cutscene related
0x140 0x802605D0 Not directly controlling Mario (Inside Cannon, Grabbing on a ledge, Climing tree)
0x180 0x80275FE0 On Ground (punching, sweep-kick)

List of actions (incomplete)

0x8033B17C (Mario→0x0C) = current action, 0x8033B180 (Mario→0x10) = previous action.

Action Group JAL to Description
0x00000386 0x180 dive end animation
0x00000479 0x040 long-jump ground landing
0x00001302 0x100 0x80258420 Grabbed star animation
0x00001308 0x100 0x80257CE4 Reading a sign
0x00001321 0x100 Opening a door
0x00001371 0x140 Inside a cannon
0x00001535 0x100 0x8025A0BC shrink warp to BBH
0x00001926 0x100 Out of painting (success)
0x00001928 0x100 Out of painting (failed)
0x00020460 0x040 taken fall damage (50% of health)
0x00020462 0x040 taken fall damage from hitting a wall (25% of health)
0x00100343 0x140 Climbing up tree
0x0080023C 0x000 Ground pound hit
0x00800380 0x180 leg sweep attack / punching
0x0080045A 0x040 slide move (on ground)
0x008008A9 0x080 Ground pounding
0x00840452 0x040 Sliding on butt
0x00880456 0x040 dive (sliding on ground)
0x00880456 0x040 Shot out of cannon, landed safely
0x00880898 0x080 Shot out of cannon
0x01000882 0x080 triple jump
0x01000883 0x080 backflip
0x01000887 0x080 Side somersault
0x0100088C 0x080 Falling
0x010208B0 0x080 Shot out of cannon, hit wall, now bouncing back
0x018008AA 0x080 slide move (moving + pressing Z then B)
0x0188088A 0x080 dive
0x03000880 0x080 jump
0x03000881 0x080 second jump
0x03000888 0x080 longjump
0x04000440 0x040 moving
0x04000445 0x040 moving (sudden stop)
0x0400044A 0x040 moving (slowing down)
0x04000471 0x040 taken fall damage (25% of health)
0x04000478 0x040 triple jump ground landing
0x0400047A 0x040 backflip ground landing
0x04008448 0x040 crawling
0x04001301 0x100 activate intro cutscene
0x08000225 0x000 slide move end animation
0x0800022F 0x000 backflip end animation
0x0800023A 0x000 triple jump end animation
0x0800023B 0x000 longjump end animation
0x0800034B 0x140 Hanging on a ledge
0x0800054F 0x140 Pull up from ledge
0x08100340 0x140 On tree/pole
0x0C000203 0x000 crouching
0x0C000203 0x000 sleeping
0x0C000227 0x000 0x802635E8 Looking around with zoomed-in camera (C-button up)
0x0C000228 0x000 end of group unused slot
0x0C000229 0x000 end of group unused slot
0x0C00022A 0x000 end of group unused slot
0x0C00022B 0x000 end of group unused slot
0x0C00022C 0x000 end of group unused slot
0x0C00022D 0x000 end of group unused slot
0x0C00022E 0x000 end of group unused slot
0x0C00022F 0x000 end of group unused slot
0x0C000230 0x000 0x80262D68 landing from jump
0x0C000231 0x000 0x80262DC4 landing from double-jump
0x0C000232 0x000 0x80262E94 landing from falling off cliff
0x0C000233 0x000 0x80262E20 landing from side-somersault
0x0C000234 0x000 end of group unused slot
0x0C000235 0x000 end of group unused slot
0x0C000236 0x000 end of group unused slot
0x0C000237 0x000 end of group unused slot
0x0C000238 0x000 end of group unused slot
0x0C000239 0x000 end of group unused slot
0x0C00023A 0x000 end of group unused slot
0x0C00023B 0x000 end of group unused slot
0x0C00023C 0x000 end of group unused slot
0x0C00023D 0x000 0x802621DC end of sliding animation
0x0C00023E 0x000 0x802622DC end of ground-pound animation
0x0C008220 0x000 leg sweep end animation
0x0C008222 0x000 stop crouching
0x0C008224 0x000 stop crawling
0x0C400201 0x000 0x80260CB4 Idle
0x0C400202 0x000 0x80261000 Yawning
0x0C400203 0x000 end of group unused slot
0x0C400204 0x000 end of group unused slot
0x0C400205 0x000 0x80261F70 Reset Mario to idle(0x0C400201)?
0x0C400206 0x000 end of group unused slot
0x0C400207 0x000 end of group unused slot
0x0C400208 0x000 end of group unused slot
0x0C400209 0x000 0x802618D8 Coughing in toxic haze
0x0C40020A 0x000 0x8026168C Shivering in cold idle
0x10880899 0x080 0x8026EC00 Flying with wing cap
0x20001306 0x100 Talking to a toad
0x300024D0 0x0C0 Swimming in water
0x300024D1 0x0C0 Swimming in water (slowing down)
0x300024E1 0x0C0 Punching in water
0x300032C4 0x0C0 Dead (drowned)
0x380022C0 0x0C0 Idle in water