2020-08-04 08:49:11 +02:00
|
|
|
#include "common.h"
|
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
void init_demo_data(void) {
|
2020-10-08 21:03:58 +02:00
|
|
|
GameStatus* gameStatus;
|
|
|
|
GameStatus* gameStatus2;
|
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
if (GAME_STATUS->demoState == 0) {
|
|
|
|
GAME_STATUS->nextDemoScene = 0;
|
|
|
|
GAME_STATUS->demoState = 1;
|
|
|
|
}
|
2020-09-26 03:55:04 +02:00
|
|
|
|
2020-10-08 21:03:58 +02:00
|
|
|
gameStatus = GAME_STATUS;
|
2020-09-25 23:18:09 +02:00
|
|
|
GAME_STATUS->demoStickX = 0;
|
2020-10-08 21:03:58 +02:00
|
|
|
gameStatus2 = GAME_STATUS;
|
|
|
|
gameStatus->demoButtonInput = 0;
|
|
|
|
gameStatus2->demoStickY = 0;
|
2020-09-26 03:55:04 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
func_80056228();
|
|
|
|
set_map_transition_effect(2);
|
|
|
|
func_80137D88(0, 255.0f);
|
|
|
|
clear_saved_variables();
|
|
|
|
clear_script_list();
|
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_13480_len_3f0", next_demo_scene);
|
2020-09-24 05:16:13 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
void func_8003845C(void) {
|
|
|
|
|
|
|
|
}
|