Docuement FP/ma/slalom.c (based on XBox debug strings).

This commit is contained in:
banjo.decomp
2024-10-20 01:57:17 -05:00
parent 297eb3db8b
commit 88082f3236
18 changed files with 675 additions and 657 deletions

View File

@@ -47,7 +47,7 @@ void chBeehive_update(Actor *this){
this->unk38_0 = volatileFlag_get(VOLATILE_FLAG_1)| volatileFlag_get(VOLATILE_FLAG_1F_IN_CHARACTER_PARADE);
}//L802CE960
if(map_get() == MAP_27_FP_FREEZEEZY_PEAK){
if(func_8038BFA0()){
if(maSlalom_isActive()){
this->unk58_0 = 0;
return;
}

View File

@@ -254,7 +254,7 @@ void chicecube_update(Actor *this){
f32 sp30[3];
if(map_get() == MAP_27_FP_FREEZEEZY_PEAK){
if(func_8038BFA0()){
if(maSlalom_isActive()){
actor_collisionOff(this);
this->unk58_0 = FALSE;
return;

View File

@@ -228,7 +228,7 @@ void chSnowman_update(Actor *this){
}
}//L802E21D8
if(map_get() == MAP_27_FP_FREEZEEZY_PEAK){
if(func_8038BFA0() || func_8038DD14()){
if(maSlalom_isActive() || func_8038DD14()){
actor_collisionOff(this);
this->unk58_0 = 0;
return;

View File

@@ -135,7 +135,7 @@ void chHoneycomb_update(Actor *this){
}//L802CA098
if(map_get() == MAP_27_FP_FREEZEEZY_PEAK){
if(func_8038BFA0()){
if(maSlalom_isActive()){
this->unk58_0 = FALSE;
actor_collisionOff(this);
return;

View File

@@ -390,7 +390,7 @@ void chBeeSwarm_update(Actor *this) {
}
}
if (map_get() == MAP_27_FP_FREEZEEZY_PEAK) {
if (func_8038BFA0()) {
if (maSlalom_isActive()) {
this->unk58_0 = FALSE;
return;
}

View File

@@ -712,7 +712,7 @@ void func_802D4CAC(Actor *this){
void func_802D4CD4(Actor *this){
if(map_get() == MAP_27_FP_FREEZEEZY_PEAK){
if(func_8038BFA0()){
if(maSlalom_isActive()){
this->unk58_0 = FALSE;
return;
}//L802D4D10

View File

@@ -302,21 +302,21 @@ void __overlay_fp_draw(Gfx **gfx, Mtx **mtx, Vtx **vtx){ return; }
void __overlay_fp_release(void){
fp_sirslushgame_end();
fp_snowmanButtonGame_end();
func_8038B8A8();
maSlalom_end();
func_8039195C();
}
void overlay_fp_init(void){
fp_sirslushgame_init();
fp_snowmanButtonGame_init();
func_8038B7A4();
maSlalom_init();
func_803918C0();
}
void __overlay_fp_update(void){
fp_sirslushgame_update();
fp_snowmanButtonGame_update();
func_8038B544();
maSlalom_update();
func_80391994();
}