User Tools

Site Tools


kirby64_the_crystal_shards:levels

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
kirby64_the_crystal_shards:levels [2020/03/05 16:33]
jesusyoshi54 [Levels]
kirby64_the_crystal_shards:levels [2020/03/05 18:37] (current)
jesusyoshi54 [Levels]
Line 1: Line 1:
 ====== Levels ====== ====== Levels ======
 Each level loads a struct of areas using function 0x800F78E4. Each level loads a struct of areas using function 0x800F78E4.
-The game uses this structure to find the pointer to the current area in the main stage table. Its located at 0x800be500+The game uses this structure to find the pointer to the current area in the main stage table. Its located at 0x800be500
 + 
 +Note: when used to select levels its bytes, but its stored in ram as words.
 <code C> <code C>
 struct Level struct Level
 { {
-/​*0X0*/ ​U32    WORLD+/​*0X0*/ ​u8    World
-/*0X4*/ U32    LEVEL+/*0X1*/ u8    Level
-/*0X8*/ U32    AREA+/*0X2*/ u8    Area
-/*0XC*/ U32    WARP;+/*0X3*/ u8    WarpID;
 }; };
 </​code>​ </​code>​
kirby64_the_crystal_shards/levels.txt · Last modified: 2020/03/05 18:37 by jesusyoshi54