summaryrefslogtreecommitdiff
path: root/src/code_8006E9C0.c
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2024-08-13 22:26:16 -0600
committerGitHub <noreply@github.com>2024-08-13 22:26:16 -0600
commit177504c4954d54d24a0716cdf142f33eb6d2aedf (patch)
tree8bf03ce716ca52e11e9939cc3f91b8bf7c4f6e24 /src/code_8006E9C0.c
parent745ed093ec77b4ee99ed6b4839e6e2b5f7375e11 (diff)
Add Courses (#49)
* castle and stadium * castle * boardwalk & snowland * turnpike --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/code_8006E9C0.c')
-rw-r--r--src/code_8006E9C0.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/code_8006E9C0.c b/src/code_8006E9C0.c
index 140e236b1..f8b6829b8 100644
--- a/src/code_8006E9C0.c
+++ b/src/code_8006E9C0.c
@@ -26,6 +26,7 @@
#include "code_80091750.h"
#include "src/data/some_data.h"
#include "effects.h"
+#include <assets/boo_frames.h>
void init_hud(void) {
@@ -742,6 +743,10 @@ void func_80070714(void) {
D_80165748 = 0xA;
}
+const char *sBoardwalkTexList[] = {
+ gTextureBat1, gTextureBat2, gTextureBat3, gTextureBat4
+};
+
void init_course_object(void) {
s32 objectId;
s32 i;
@@ -807,7 +812,7 @@ void init_course_object(void) {
case COURSE_BANSHEE_BOARDWALK:
if (gGamestate != CREDITS_SEQUENCE) {
objectId = indexObjectList1[0];
- init_texture_object(objectId, d_course_banshee_boardwalk_bat_tlut, *d_course_banshee_boardwalk_bat, 0x20U, (u16) 0x00000040);
+ init_texture_object(objectId, d_course_banshee_boardwalk_bat_tlut, sBoardwalkTexList, 0x20U, (u16) 0x00000040);
gObjectList[objectId].orientation[0] = 0;
gObjectList[objectId].orientation[1] = 0;
gObjectList[objectId].orientation[2] = 0x8000;