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

This commit is contained in:
banjo.decomp
2024-10-20 12:09:27 -05:00
parent 9048ada585
commit 8a76df65d9
6 changed files with 100 additions and 93 deletions

View File

@@ -187,7 +187,7 @@ void __chSnowman_deathCallback(ActorMarker *marker, ActorMarker *other_marker){
__spawnQueue_add_1((GenFunction_1)__chSnowman_spawnHat, (s32)actor->marker);
if(map_get() == MAP_27_FP_FREEZEEZY_PEAK)
fp_sirslushgame_decRemaining();
maSnowy_decRemaining();
__chSnowman_spawnSnowballParticles(actor->position, 0xC);
marker_despawn(actor->marker);
}
@@ -224,7 +224,7 @@ void chSnowman_update(Actor *this){
func_8032BC18(this);
if(map_get() == MAP_27_FP_FREEZEEZY_PEAK){
local->unk0 = actorArray_findActorFromActorId(0x336)->marker;
fp_sirslushgame_incTotal();
maSnowy_incTotal();
}
}//L802E21D8
if(map_get() == MAP_27_FP_FREEZEEZY_PEAK){

View File

@@ -300,21 +300,21 @@ void func_80322D94(s32 arg0, s32 arg1){ return; }
void __overlay_fp_draw(Gfx **gfx, Mtx **mtx, Vtx **vtx){ return; }
void __overlay_fp_release(void){
fp_sirslushgame_end();
maSnowy_end();
maSnowButton_end();
maSlalom_end();
func_8039195C();
}
void overlay_fp_init(void){
fp_sirslushgame_init();
maSnowy_init();
maSnowButton_init();
maSlalom_init();
func_803918C0();
}
void __overlay_fp_update(void){
fp_sirslushgame_update();
maSnowy_update();
maSnowButton_update();
maSlalom_update();
func_80391994();