summaryrefslogtreecommitdiff
path: root/src/racing
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-06-22 17:29:55 -0600
committerGitHub <noreply@github.com>2025-06-22 17:29:55 -0600
commit59cf0355a2ae7716b7ffb2cd08756423ab3d93c6 (patch)
treeb00f43a333a9c0bec9059771275107cebaf02d98 /src/racing
parent19d5a2729ed0d7c86c3a9b1eeb1cf8b824f58199 (diff)
Implement CPU Spiny Shell (#325)
* Implement CPU Blue Shell
Diffstat (limited to 'src/racing')
-rw-r--r--src/racing/actors_extended.c2
-rw-r--r--src/racing/actors_extended.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/racing/actors_extended.c b/src/racing/actors_extended.c
index 66fcfe611..fb7a8aeeb 100644
--- a/src/racing/actors_extended.c
+++ b/src/racing/actors_extended.c
@@ -680,7 +680,7 @@ s32 use_red_shell_item(Player* player) {
// Interestingly blue shells start their life as a red shell,
// and then just change the type from red to blue shell
-void use_blue_shell_item(Player* player) {
+s32 use_blue_shell_item(Player* player) {
GET_ACTOR(use_red_shell_item(player))->type = ACTOR_BLUE_SPINY_SHELL;
}
diff --git a/src/racing/actors_extended.h b/src/racing/actors_extended.h
index e054ce12a..942ce943a 100644
--- a/src/racing/actors_extended.h
+++ b/src/racing/actors_extended.h
@@ -23,7 +23,7 @@ s32 use_triple_shell_item(Player*, s16);
s32 init_triple_shell(TripleShellParent*, Player*, s16, u16);
s32 use_green_shell_item(Player*);
s32 use_red_shell_item(Player*);
-void use_blue_shell_item(Player*);
+s32 use_blue_shell_item(Player*);
void update_actor_banana(struct BananaActor*);
void func_802B2914(struct BananaBunchParent*, Player*, s16);
s32 use_fake_itembox_item(Player*);