Files

42 lines
1.0 KiB
C
Raw Permalink Normal View History

2019-11-03 14:36:27 -05:00
#include <ultra64.h>
#include "sm64.h"
#include "behavior_data.h"
#include "model_ids.h"
#include "seq_ids.h"
#include "segment_symbols.h"
#include "level_commands.h"
2019-12-01 21:52:53 -05:00
#include "game/area.h"
2019-11-03 14:36:27 -05:00
#include "game/level_update.h"
#include "levels/scripts.h"
#include "actors/common1.h"
#include "make_const_nonconst.h"
#include "levels/ending/header.h"
const LevelScript level_ending_entry_loop[] = {
SLEEP(/*frames*/ 1),
JUMP(level_ending_entry_loop), // (loop sleep 1 forever)
};
2019-11-03 14:36:27 -05:00
const LevelScript level_ending_entry[] = {
INIT_LEVEL(),
LOAD_LEVEL_DATA(ending),
ALLOC_LEVEL_POOL(),
AREA(/*index*/ 1, ending_geo_area_1),
END_AREA(),
FREE_LEVEL_POOL(),
SLEEP(/*frames*/ 60),
BLACKOUT(/*active*/ FALSE),
LOAD_AREA(/*area*/ 1),
TRANSITION(/*transType*/ WARP_TRANSITION_FADE_FROM_COLOR, /*time*/ 75, /*color*/ 0x00, 0x00, 0x00),
SLEEP(/*frames*/ 120),
CALL(/*arg*/ 0, /*func*/ lvl_play_the_end_screen_sound),
JUMP(level_ending_entry_loop), // (loop sleep 1 forever)
2019-11-03 14:36:27 -05:00
};