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.

30 lines
1.4 KiB

6 years ago
  1. # Pebble
  2. pebble_seg3_vertex_0301C2C0: # 0x0301C2C0
  3. vertex -15, -15, 0, 0, 992, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex 15, -15, 0, 992, 992, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex 15, 15, 0, 992, 0, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex -15, 15, 0, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  7. pebble_seg3_texture_0301C300: # 0x0301C300
  8. .incbin "actors/pebble/0.rgba16"
  9. glabel pebble_seg3_dl_0301CB00 # 0x0301CB00 - 0x0301CB98
  10. gsDPPipeSync
  11. gsSPClearGeometryMode G_LIGHTING
  12. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_TEXEL0
  13. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, pebble_seg3_texture_0301C300
  14. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  15. gsDPLoadSync
  16. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  17. gsDPPipeSync
  18. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  19. gsDPSetTileSize 0, 0, 0, 124, 124
  20. gsSPTexture -1, -1, 0, 0, 1
  21. gsSPVertex pebble_seg3_vertex_0301C2C0, 4, 0
  22. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  23. gsSPTexture -1, -1, 0, 0, 0
  24. gsDPPipeSync
  25. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_SHADE, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
  26. gsSPSetGeometryMode G_LIGHTING
  27. gsSPEndDisplayList