summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-03-03 02:53:33 +0100
committerTreeki <treeki@gmail.com>2013-03-03 02:53:33 +0100
commitdbae0046b314e5644aa8b586b7b20fb7afd25be3 (patch)
treeb3ccc22baae6b7b3d08e52978dcf6cfdb02b57f1
parentfd44cf6ce77b7cc16619f4274c31ba9137fc0064 (diff)
downloadkamek-dbae0046b314e5644aa8b586b7b20fb7afd25be3.tar.gz
kamek-dbae0046b314e5644aa8b586b7b20fb7afd25be3.zip
add player anim states to game.h so we can make them loop if we want
-rwxr-xr-xinclude/game.h9
-rw-r--r--kamek_pal.x1
2 files changed, 10 insertions, 0 deletions
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;