sm64coopdx/levels/ending/script.s
2019-08-25 00:46:40 -04:00

18 lines
533 B
ArmAsm

glabel level_ending_entry
init_level
load_mio0 /*seg*/ 0x07, /*romStart*/ _ending_segment_7SegmentRomStart, /*romEnd*/ _ending_segment_7SegmentRomEnd
alloc_level_pool
area /*index*/ 1, /*geo*/ ending_geo_000050
end_area
free_level_pool
sleep /*frames*/ 60
blackout /*active*/ FALSE
load_area /*area*/ 1
transition /*unk2*/ 0, /*unk3*/ 75, /*color*/ 0, 0, 0
sleep /*frames*/ 120
call /*arg*/ 0, /*func*/ lvl_play_the_end_screen_sound
L1:
sleep /*frames*/ 1
jump /*target*/ L1