2019-11-03 14:36:27 -05:00
|
|
|
#include <ultra64.h>
|
|
|
|
|
#include "sm64.h"
|
|
|
|
|
#include "segment_symbols.h"
|
|
|
|
|
#include "level_commands.h"
|
|
|
|
|
|
|
|
|
|
#include "levels/intro/header.h"
|
|
|
|
|
|
|
|
|
|
#include "make_const_nonconst.h"
|
|
|
|
|
|
2021-07-25 14:01:49 +01:00
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
|
|
extern const LevelScript level_main_scripts_entry[];
|
2019-11-03 14:36:27 -05:00
|
|
|
const LevelScript level_script_entry[] = {
|
|
|
|
|
INIT_LEVEL(),
|
|
|
|
|
SLEEP(/*frames*/ 2),
|
|
|
|
|
BLACKOUT(/*active*/ FALSE),
|
2021-07-25 14:01:49 +01:00
|
|
|
#ifdef TEST_LEVEL
|
|
|
|
|
SET_REG(TEST_LEVEL),
|
|
|
|
|
EXECUTE(/*seg*/ 0x15, _scriptsSegmentRomStart, _scriptsSegmentRomEnd, level_main_scripts_entry),
|
|
|
|
|
#else
|
|
|
|
|
SET_REG(0),
|
2020-12-03 14:26:38 -05:00
|
|
|
EXECUTE(/*seg*/ 0x14, /*script*/ _introSegmentRomStart, /*scriptEnd*/ _introSegmentRomEnd, /*entry*/ level_intro_splash_screen),
|
2021-07-25 14:01:49 +01:00
|
|
|
#endif
|
2019-11-03 14:36:27 -05:00
|
|
|
JUMP(/*target*/ level_script_entry),
|
2021-07-25 14:01:49 +01:00
|
|
|
};
|