mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-13 01:57:18 -07:00
Gameplay stats 1.1 (#2129)
This commit is contained in:
parent
8021f29c3e
commit
8c23bcd67c
6 changed files with 39 additions and 3 deletions
|
@ -374,6 +374,7 @@ void EnClearTag_Update(Actor* thisx, PlayState* play2) {
|
|||
if ((s8)this->actor.colChkInfo.health <= 0) {
|
||||
this->state = CLEAR_TAG_STATE_CRASHING;
|
||||
this->actor.velocity.y = 0.0f;
|
||||
gSaveContext.sohStats.count[COUNT_ENEMIES_DEFEATED_ARWING]++;
|
||||
goto state_crashing;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5350,6 +5350,13 @@ s32 func_8083BDBC(Player* this, PlayState* play) {
|
|||
}
|
||||
} else {
|
||||
func_8083BCD0(this, play, sp2C);
|
||||
if (sp2C == 1 || sp2C == 3) {
|
||||
gSaveContext.sohStats.count[COUNT_SIDEHOPS]++;
|
||||
}
|
||||
if (sp2C == 2) {
|
||||
gSaveContext.sohStats.count[COUNT_BACKFLIPS]++;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue