User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
super_mario_64:level_commands [2017/11/30 23:13]
david New Info on command 0x1E
super_mario_64:level_commands [2017/12/03 14:10] (current)
david Added info on command 0x1C
Line 314: Line 314:
 ---- ----
  
-==== 1C: ?? ==== +==== 1C: Level & Memory Cleanup ​====
-Always follows 0x12 command. ​ Used near end of level layout.+
  
 ''​1C 04 00 00''​ ''​1C 04 00 00''​
 +
 +  * Frees data in pool allocated from level script
 +  * Cleanups level related stuff (level objects, pointers, etc)
 +  * Cleanups geometry layout data
 +  * Cleanups all 8 area structs
 +
 +More detailed notes can be found here: [[https://​pastebin.com/​raw/​GjDsJYqq]]
  
 ---- ----
Line 339: Line 345:
   * Sets halfword at address 0x8036125C to 0. (0x8036125C seems to be just a flag that is set when Mario enters into area #2 of any level)   * Sets halfword at address 0x8036125C to 0. (0x8036125C seems to be just a flag that is set when Mario enters into area #2 of any level)
   * Sets byte at address 0x803613FE to 0. (0x803613FE seems to be a read-only byte that tells you how many red coins Mario has collected so far)   * Sets byte at address 0x803613FE to 0. (0x803613FE seems to be a read-only byte that tells you how many red coins Mario has collected so far)
 +
 +More detailed notes can be found here: [[https://​pastebin.com/​raw/​XkCfkFyT]]
  
 ---- ----