From 033d80ca558b3db74c1904019f95d9a298b73e0c Mon Sep 17 00:00:00 2001 From: Arceveti <73617174+Arceveti@users.noreply.github.com> Date: Wed, 20 Oct 2021 15:23:51 -0700 Subject: [PATCH] Document & fix gWaterSurfacePseudoFloor --- src/game/mario_step.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/game/mario_step.c b/src/game/mario_step.c index 04f6e9796..419192923 100644 --- a/src/game/mario_step.c +++ b/src/game/mario_step.c @@ -14,8 +14,18 @@ static s16 sMovingSandSpeeds[] = { 12, 8, 4, 0 }; struct Surface gWaterSurfacePseudoFloor = { - SURFACE_VERY_SLIPPERY, 0, 0, 0, 0, 0, { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 }, - { 0.0f, 1.0f, 0.0f }, 0.0f, NULL, + SURFACE_VERY_SLIPPERY, // type + 0x0, // force + 0x0, // flags + 0, // room + -5, // lowerY + 5, // upperY + { 0, 0, 0 }, // vertex1 + { 0, 0, 0 }, // vertex2 + { 0, 0, 0 }, // vertex3 + { 0.0f, 1.0f, 0.0f }, // normal + 0.0f, // originOffset + NULL, // object }; /**