document various assets, bsStoredState.c, and stateTimers.c

This commit is contained in:
Banjo Kazooie
2023-02-16 13:21:40 -06:00
parent dd74091cb7
commit 1c4d1b54cd
107 changed files with 1649 additions and 1255 deletions

View File

@@ -35,16 +35,16 @@ void chMotzhand_setState(Actor *this, s32 next_state){
ActorLocal_Motzhand * local = (ActorLocal_Motzhand *) &this->local;
if(next_state == 1 && this->state == 0){
func_80335924(this->unk148, 0xa7, 0.0f, 1.8f);
func_80335924(this->unk148, ASSET_A7_ANIM_MOTZHAND_IDLE, 0.0f, 1.8f);
func_80387410(this->position);
}
if(next_state == 2){
func_80335924(this->unk148, 0xA7, 0.9f, 1.8f);
func_80335924(this->unk148, ASSET_A7_ANIM_MOTZHAND_IDLE, 0.9f, 1.8f);
}
if(next_state == 3){
func_80335924(this->unk148, 0xA8, 0.9f, 1.8f);
func_80335924(this->unk148, ASSET_A8_ANIM_MOTZHAND_PLAY, 0.9f, 1.8f);
}
if(next_state == 4){

View File

@@ -29,7 +29,7 @@ void __chnapper_setState(Actor *this, s32 next_state){
local->unk4 = 0.0f;
actor_collisionOff(this);
if(next_state == 1)
func_80335924(this->unk148, ASSET_A3_ANIM_NAPPER_SLEEPING, 0.2f, 2.5f);
func_80335924(this->unk148, ASSET_A3_ANIM_NAPPER_ASLEEP, 0.2f, 2.5f);
if(next_state == 2){
func_80335924(this->unk148, ASSET_A4_ANIM_NAPPER_AWAKE, 0.2f, 5.0f);
@@ -39,7 +39,7 @@ void __chnapper_setState(Actor *this, s32 next_state){
}
if(next_state == 3){
func_80335924(this->unk148, 0xA5, 0.2f, 1.5f);
func_80335924(this->unk148, ASSET_A5_ANIM_NAPPER_WALK, 0.2f, 1.5f);
func_80335A8C(this->unk148, 2);
func_8030E484(SFX_41_MUMBO_ERGHHH);
}
@@ -50,7 +50,7 @@ void __chnapper_setState(Actor *this, s32 next_state){
}
if(next_state == 5){
func_80335924(this->unk148, 0xA6, 2.0f, 4.0f);
func_80335924(this->unk148, ASSET_A6_ANIM_NAPPER_ALERT, 2.0f, 4.0f);
actor_collisionOn(this);
local->jiggy_marker->collidable = FALSE;
}