script.c (1054B)
1 #include <ultra64.h> 2 #include "sm64.h" 3 #include "behavior_data.h" 4 #include "model_ids.h" 5 #include "seq_ids.h" 6 #include "segment_symbols.h" 7 #include "level_commands.h" 8 9 #include "game/area.h" 10 #include "game/level_update.h" 11 12 #include "levels/scripts.h" 13 14 #include "actors/common1.h" 15 16 #include "make_const_nonconst.h" 17 #include "levels/ending/header.h" 18 19 const LevelScript level_ending_entry[] = { 20 /*0*/ INIT_LEVEL(), 21 /*1*/ LOAD_MIO0(/*seg*/ 0x07, _ending_segment_7SegmentRomStart, _ending_segment_7SegmentRomEnd), 22 /*4*/ ALLOC_LEVEL_POOL(), 23 24 /*5*/ AREA(/*index*/ 1, ending_geo_000050), 25 /*7*/ END_AREA(), 26 27 /*8*/ FREE_LEVEL_POOL(), 28 /*9*/ SLEEP(/*frames*/ 60), 29 /*10*/ BLACKOUT(/*active*/ FALSE), 30 /*11*/ LOAD_AREA(/*area*/ 1), 31 /*12*/ TRANSITION(/*transType*/ WARP_TRANSITION_FADE_FROM_COLOR, /*time*/ 75, /*color*/ 0x00, 0x00, 0x00), 32 /*14*/ SLEEP(/*frames*/ 120), 33 /*15*/ CALL(/*arg*/ 0, /*func*/ lvl_play_the_end_screen_sound), 34 // L1: 35 /*17*/ SLEEP(/*frames*/ 1), 36 /*18*/ JUMP(level_ending_entry + 17), 37 };