Skip to content

Commit 1636c43

Browse files
committed
Updated the Mario Motion IDs
1 parent 11572e6 commit 1636c43

File tree

2 files changed

+42
-31
lines changed

2 files changed

+42
-31
lines changed

ttyd-tools/rel/include/ttyd/mario_motion.h

Lines changed: 41 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,47 @@ namespace ttyd::mario_motion {
66

77
enum MarioMotions : uint16_t
88
{
9-
kNone = 0,
10-
kWalkSlow = 1,
11-
kRun = 2,
12-
kJumpRising = 3,
13-
kJumpLandOnEnemyStillInAir = 4,
14-
kBounceOffSwitch = 5,
15-
kBounceOffSpring = 6,
16-
kEnterOrExitArea = 8,
17-
kFall = 10,
18-
kWalkOffPlatform = 11,
19-
kClipOntoPlatform = 12,
20-
kTalkToNpcDirect = 14,
21-
kGetItem = 15,
22-
kSpinJumpInAir = 16,
23-
kSpinJumpHitGround = 17,
24-
kHammer = 18,
25-
kHammerSpin = 19,
26-
kSpringJump = 20,
27-
kPaperMode = 21,
28-
kTubeMode = 22,
29-
kPlaneMode = 24,
30-
kBoatMode = 25,
31-
kUseYoshi = 26,
32-
kUseFlurrie = 27,
33-
kUseVivian = 28,
34-
kEnterPipe = 29,
35-
kFallInWater = 31,
36-
kTouchHazard = 32,
37-
kRespawnInBackground = 33,
38-
kRespawnNormal = 34,
9+
kStay = 0,
10+
kWalk = 1,
11+
kDash = 2,
12+
kJump = 3,
13+
kJumpNPC = 4,
14+
kJumpSw = 5,
15+
kJumpStand = 6,
16+
kJump2 = 7,
17+
kJump3 = 8,
18+
kJumpSmall = 9,
19+
kFall = 10,
20+
kFall2 = 11,
21+
kUpstairs = 12,
22+
kLand = 13,
23+
kTalk = 14,
24+
kGetItem = 15,
25+
kHip = 16,
26+
kHip2 = 17,
27+
kHammer = 18,
28+
kHammer2 = 19,
29+
kJabara = 20,
30+
kSlit = 21,
31+
kRoll = 22,
32+
kKaze = 23,
33+
kPlane = 24,
34+
kShip = 25,
35+
kYoshi = 26,
36+
kCloud = 27,
37+
kVivian = 28,
38+
kDokan = 29,
39+
kGrasp = 30,
40+
kDamage = 31,
41+
kDamageToge = 32,
42+
kBottomless = 33,
43+
kForceReset = 34,
44+
kShadow = 35,
45+
kPartyUse = 36, // Dummied out
46+
kKpaSwim = 37,
47+
kKpaPowUp = 38,
48+
kKpaPowDown = 39,
49+
kDummy = 40, // Dummied out
3950
};
4051

4152
extern "C" {

ttyd-tools/rel/source/menufunctions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3868,7 +3868,7 @@ void *initStageEvents()
38683868
setSequencePosition(getGsw0ForEvent(StageId, EventId));
38693869

38703870
// Reset Mario's motion
3871-
ttyd::mario_motion::marioChgMot(ttyd::mario_motion::MarioMotions::kNone);
3871+
ttyd::mario_motion::marioChgMot(ttyd::mario_motion::MarioMotions::kStay);
38723872

38733873
const ttyd::event::EventStageDescription *TargetStage = ttyd::event::eventStgDtPtr(StageId);
38743874
const ttyd::event::EventStageEventDescription *TargetEvent = &TargetStage->pEvents[EventId];

0 commit comments

Comments
 (0)