The first commit
This commit is contained in:
29
src/TTC/code_3040.c
Normal file
29
src/TTC/code_3040.c
Normal file
@@ -0,0 +1,29 @@
|
||||
#include <ultra64.h>
|
||||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
extern s32 D_80276CB0;
|
||||
|
||||
/* .data */
|
||||
extern s32 D_8038C754;
|
||||
|
||||
/* .bss */
|
||||
struct {
|
||||
u8 pad0[4];
|
||||
s32 unk4;
|
||||
u8 pad8[4];
|
||||
s32 unkC;
|
||||
}D_8038D6F0;
|
||||
|
||||
/* .code */
|
||||
void func_80389430(void){
|
||||
if(getGameMode() != GAME_MODE_7_ATTRACT_DEMO){
|
||||
func_8029CF48(2, 1, 0.0f);
|
||||
}
|
||||
}
|
||||
|
||||
void func_80389468(void){
|
||||
if(D_8038D6F0.unk4 != D_8038C754 || D_8038D6F0.unkC != D_80276CB0){
|
||||
func_80389430();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user