summaryrefslogtreecommitdiff
path: root/src/spawn_players.c
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2023-09-07 11:44:13 -0600
committerGitHub <noreply@github.com>2023-09-07 11:44:13 -0600
commitbba223ffa4f60905315451bfb3dc64f7c14a9c37 (patch)
tree743a10165f03bf2722efe46b829006b90eca85ac /src/spawn_players.c
parentcef186304e119f3e98321950094d9e76848c80f3 (diff)
Match bss in podium ceremony (#403)
Diffstat (limited to 'src/spawn_players.c')
-rw-r--r--src/spawn_players.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/spawn_players.c b/src/spawn_players.c
index 28848c5e6..20f56bb7f 100644
--- a/src/spawn_players.c
+++ b/src/spawn_players.c
@@ -14,6 +14,7 @@
#include "spawn_players.h"
#include "staff_ghosts.h"
#include "code_80005FD0.h"
+#include "podium_ceremony_actors.h"
// arg4 is height? Or something like that?
void spawn_player(Player *player, s8 playerIndex, f32 startingRow, f32 startingColumn, f32 arg4, f32 arg5, u16 characterId, s16 playerType) {
@@ -686,8 +687,8 @@ void func_8003BE30(void) {
spawn_player(gPlayerOne, 0, -2770.774f, -345.187f, -34.6f, 0.0f, gCharacterIdByGPOverallRank[0], PLAYER_EXISTS | PLAYER_CPU | PLAYER_START_SEQUENCE);
spawn_player(gPlayerTwo, 1, -3691.506f, -6.822f, -6.95f, 36400.0f, gCharacterIdByGPOverallRank[1], PLAYER_EXISTS | PLAYER_CPU | PLAYER_START_SEQUENCE);
spawn_player(gPlayerThree, 2, -3475.028f, -998.485f, -8.059f, 45500.0f, gCharacterIdByGPOverallRank[2], PLAYER_EXISTS | PLAYER_CPU | PLAYER_START_SEQUENCE);
- if (D_802874D8.unk_1D >= 3) {
- spawn_player(gPlayerFour, 3, -3025.772f, 110.039f, -23.224f, 28210.0f, D_802874D8.unk_1E, PLAYER_EXISTS | PLAYER_CPU | PLAYER_START_SEQUENCE);
+ if (D_802874D8.unk1D >= 3) {
+ spawn_player(gPlayerFour, 3, -3025.772f, 110.039f, -23.224f, 28210.0f, D_802874D8.unk1E, PLAYER_EXISTS | PLAYER_CPU | PLAYER_START_SEQUENCE);
} else {
spawn_player(gPlayerFour, 3, -3025.772f, 110.039f, -23.224f, 28210.0f, gCharacterIdByGPOverallRank[3], PLAYER_EXISTS | PLAYER_CPU | PLAYER_START_SEQUENCE);
}