2019-11-03 19:36:27 +00:00
|
|
|
#include <ultra64.h>
|
|
|
|
#include "sm64.h"
|
|
|
|
#include "segment_symbols.h"
|
|
|
|
#include "level_commands.h"
|
|
|
|
|
2020-07-31 03:42:39 +00:00
|
|
|
#include "levels/menu/header.h"
|
2021-07-05 05:40:04 +00:00
|
|
|
#include "levels/scripts.h"
|
2023-10-30 05:03:36 +00:00
|
|
|
|
|
|
|
// #include "levels/intro/header.h"
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
#include "make_const_nonconst.h"
|
|
|
|
|
2024-03-23 20:11:30 +00:00
|
|
|
extern const LevelScript level_intro_splash_screen[];
|
2019-11-03 19:36:27 +00:00
|
|
|
const LevelScript level_script_entry[] = {
|
2024-03-23 20:11:30 +00:00
|
|
|
#if 1
|
2021-07-05 05:40:04 +00:00
|
|
|
SET_REG(/*value*/ LEVEL_CASTLE_GROUNDS),
|
2021-08-05 06:56:33 +00:00
|
|
|
EXECUTE(/*seg*/ 0x14, /*script*/ _introSegmentRomStart, /*scriptEnd*/ _introSegmentRomEnd, /*entry*/ level_main_scripts_entry),
|
|
|
|
JUMP(level_script_entry),
|
2024-03-23 20:11:30 +00:00
|
|
|
#else
|
2021-07-05 05:40:04 +00:00
|
|
|
// old behavior (intro)
|
2024-03-23 20:11:30 +00:00
|
|
|
INIT_LEVEL(),
|
|
|
|
SLEEP(/*frames*/ 2),
|
|
|
|
BLACKOUT(/*active*/ FALSE),
|
|
|
|
SET_REG(/*value*/ 0),
|
|
|
|
EXECUTE(/*seg*/ 0x14, /*script*/ _introSegmentRomStart, /*scriptEnd*/ _introSegmentRomEnd, /*entry*/ level_intro_splash_screen),
|
|
|
|
JUMP(/*target*/ level_script_entry),
|
|
|
|
#endif
|
2019-11-03 19:36:27 +00:00
|
|
|
};
|