From dbae0046b314e5644aa8b586b7b20fb7afd25be3 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 3 Mar 2013 02:53:33 +0100 Subject: add player anim states to game.h so we can make them loop if we want --- include/game.h | 9 +++++++++ kamek_pal.x | 1 + 2 files changed, 10 insertions(+) diff --git a/include/game.h b/include/game.h index 5fcd2e8..cd6c639 100755 --- a/include/game.h +++ b/include/game.h @@ -3880,5 +3880,14 @@ void GetPosForLayoutEffect(VEC3 *pos, bool quack); bool SmoothRotation(s16 *pValue, s16 target, s16 stepSize); + +struct PlayerAnimState { + const char *regularAnim, *rideAnim, *yoshiAnim, *penguinAnim; + int playsOnce; + float _14, _18; + u32 _1C, flags; +}; +extern PlayerAnimState PlayerAnimStates[177]; + #endif diff --git a/kamek_pal.x b/kamek_pal.x index 5011f13..92e4b50 100644 --- a/kamek_pal.x +++ b/kamek_pal.x @@ -1,4 +1,5 @@ SECTIONS { + PlayerAnimStates = 0x802F1650; ContinueFromFixFireballSensorSetup = 0x8011A830; GetPosForLayoutEffect__FP7Point3db = 0x800B37E0; -- cgit v1.2.3