diff --git a/cs-hacks/MultipleSLPs/Patches.txt b/cs-hacks/MultipleSLPs/Patches.txt new file mode 100644 index 0000000..954fb2d --- /dev/null +++ b/cs-hacks/MultipleSLPs/Patches.txt @@ -0,0 +1,5 @@ +0x41D9C6 +A1 09 DF 49 00 90 + +0x41DA1F +C7 45 F8 00 00 00 00 C7 45 FC 00 00 00 00 diff --git a/cs-hacks/MultipleSLPs/Readme.txt b/cs-hacks/MultipleSLPs/Readme.txt new file mode 100644 index 0000000..2293d2a --- /dev/null +++ b/cs-hacks/MultipleSLPs/Readme.txt @@ -0,0 +1,56 @@ +Author: Enlight + +DUNC NOTE: flag range changed from 4008 through 4015 to 2888 through 2895 in rando +also: skip the second patch it's not needed and also bugged + +Instructions: +1. Backup your .exe, then patch your .exe with the patches in patches.txt. +2. Learn how to use the hack and setup your teleporters with the demonstration mod and the information below. +3. Make a similar system in your mod. + + +Important Files: +Patches.txt - The first patch allows you to edit where teleporter menus draw. The 2nd one just fixes a graphic bug with slots 6 and 7. + +OOBFlagGen.jar - What helps you generate the flags for the top framerects. Input address 49DF09 and the value will be how many pixels down you want +the mod to START drawing the teleporter icons IN HEXADECIMAL. The rows are IN DECIMAL 0, 16, 32, 48, 64... etc. In HEXADECIMAL it's 0, 10, 20, 30 etc. +Keep it in bytes. You will then copy the flags it generates (should be just over flag 4000) to use in your level TSC (explained below) + +StageSelect.tsc - Example of how you can setup having different location names for different teleporters. +This is just normal TSC using flags. The game is hardcoded to run events 1001-1007 for the slots, but flagjumps can change what it says. + +The TSC file for Arthur's House (Pens1.tsc) - Example of how to setup everything else for the teleporters (explained below) + + +~~~~~ + + + +Please open the demonstration mod in a CS editor of you choice to see how the tsc all comes together. +The most important events though are the ones for displaying the teleporter. +One of these events is shown below with comments. + +#0100 + (C) Studio Pixel 2004 diff --git a/pre-edited-cs/Doukutsu.exe b/pre-edited-cs/Doukutsu.exe index 2ac4823..47fc2eb 100644 Binary files a/pre-edited-cs/Doukutsu.exe and b/pre-edited-cs/Doukutsu.exe differ diff --git a/pre-edited-cs/data/ScriptSource/StageSelect.txt b/pre-edited-cs/data/ScriptSource/StageSelect.txt new file mode 100644 index 0000000..e4b28a7 --- /dev/null +++ b/pre-edited-cs/data/ScriptSource/StageSelect.txt @@ -0,0 +1,28 @@ +#1000 +