예제 #1
0
        public static int GetLevel(int levelScriptEntryPoint)
        {
            int romOffset = (levelScriptEntryPoint - 0x2AC094) / 20;
            LevelOffsetsDescription lod = FindByROMOffset(romOffset);

            return(lod.NaturalIndex);
        }
예제 #2
0
        public static int GetLevelScriptEntryPoint(int level)
        {
            LevelOffsetsDescription lod = FindByNaturalIndex(level);

            return(0x2AC094 + lod.ROMOffset * 20);
        }