Super Mario 64s source code (from a leak on 4chan so be careful)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.6 KiB

6 years ago
  1. glabel level_bowser_1_entry
  2. init_level
  3. load_mio0 /*seg*/ 0x07, /*romStart*/ _bowser_1_segment_7SegmentRomStart, /*romEnd*/ _bowser_1_segment_7SegmentRomEnd
  4. load_mio0 /*seg*/ 0x0A, /*romStart*/ _bidw_skybox_mio0SegmentRomStart, /*romEnd*/ _bidw_skybox_mio0SegmentRomEnd
  5. load_mio0 /*seg*/ 0x06, /*romStart*/ _group12_mio0SegmentRomStart, /*romEnd*/ _group12_mio0SegmentRomEnd
  6. load_raw /*seg*/ 0x0D, /*romStart*/ _group12_geoSegmentRomStart, /*romEnd*/ _group12_geoSegmentRomEnd
  7. alloc_level_pool
  8. mario /*model*/ MODEL_MARIO, /*behParam*/ 0x00000001, /*beh*/ bhvMario
  9. jump_link /*target*/ script_func_global_13
  10. load_model_from_geo /*model*/ MODEL_LEVEL_GEOMETRY_03, /*geo*/ bowser_1_yellow_sphere_geo
  11. area /*index*/ 1, /*geo*/ bowser_1_geo_0000D0
  12. object /*model*/ MODEL_NONE, /*pos*/ 0, 1307, 0, /*angle*/ 0, 180, 0, /*behParam*/ 0x000A0000, /*beh*/ bhvWarps6C
  13. warp_node /*id*/ 0x0A, /*destLevel*/ 0x1E, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
  14. warp_node /*id*/ 0xF0, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x24, /*unk6*/ 0x0000
  15. warp_node /*id*/ 0xF1, /*destLevel*/ 0x11, /*destArea*/ 0x01, /*destNode*/ 0x0C, /*unk6*/ 0x0000
  16. terrain /*terrainData*/ bowser_1_seg7_collision_level
  17. set_music /*unk2*/ 0x0002, /*seq*/ SEQ_LEVEL_BOSS_KOOPA
  18. terrain_type /*terrainType*/ 0x0001
  19. end_area
  20. free_level_pool
  21. mario_pos /*area*/ 1, /*yaw*/ 180, /*pos*/ 0, 307, 0
  22. call /*arg*/ 0, /*func*/ lvl_init_or_update
  23. call_loop /*arg*/ 1, /*func*/ lvl_init_or_update
  24. clear_level
  25. sleep_before_exit /*frames*/ 1
  26. exit