Minor text fixes

This commit is contained in:
Zac 2024-09-10 20:11:42 +00:00 committed by GitHub
parent d614bb706e
commit 0aa280c2e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 11 deletions

7
.gitignore vendored
View File

@ -23,6 +23,12 @@ undefined_syms_auto.txt
*.ninja
permuter_settings.toml
## MacOS
.DS_Store
## Linux
*.swp
## Binary/object products
**/bin/
**/obj/
@ -31,7 +37,6 @@ permuter_settings.toml
**/compile_commands.json
# Compiled Object files
**/.DS_Store
*.slo
*.lo
*.o

Binary file not shown.

View File

@ -1,10 +1,8 @@
#include <game.h>
void StartupGame(void)
{
StartGame();
return;
StartGame();
}
INCLUDE_ASM(const s32, "P2/game", func_00160090);
@ -61,8 +59,7 @@ INCLUDE_ASM(const s32, "P2/game", calculate_percent_completion);
void SetCcharm(int nParam)
{
g_pgsCur->ccharm = nParam;
return;
g_pgsCur->ccharm = nParam;
}
INCLUDE_ASM(const s32, "P2/game", FCharmAvailable__Fv);
@ -75,19 +72,17 @@ INCLUDE_ASM(const s32, "P2/game", clr_8_bytes_1);
void FUN_00160ce8(int param_1)
{
*(undefined4 *)(param_1 + 4) = 0;
return;
*(undefined4 *)(param_1 + 4) = 0;
}
void OnGameAlarmTriggered(GAME *pgame)
{
pgame->cAlarmsTriggered++;
pgame->cAlarmsTriggered++;
}
void OnGameAlarmDisabled(GAME *pgame)
{
pgame->cAlarmsTriggered--;
return;
pgame->cAlarmsTriggered--;
}
INCLUDE_ASM(const s32, "P2/game", grfvault_something__Fv);
@ -96,6 +91,7 @@ INCLUDE_ASM(const s32, "P2/game", GetBlueprintInfo);
int CcharmMost()
{
// Holdover from when there was a powerup that increased the charm limit
return 2;
}