Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Universal potions and refined dual-wielding
- Loading branch information
1 parent
2c56f7a
commit 20248ef
Showing
17 changed files
with
203 additions
and
115 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
//__________________________________________________________________________________ | ||
//__________________________________________________________________________________ | ||
// | ||
// POTION "USABILITY" | ||
//__________________________________________________________________________________ | ||
//__________________________________________________________________________________ | ||
|
||
|
||
//MAKE POTIONS USABLE BY ANY CLASSES________________________________________________ | ||
// | ||
COPY_EXISTING_REGEXP GLOB ~.*\.itm~ ~override~ | ||
PATCH_IF (~%SOURCE_SIZE%~ > ~0x71~) BEGIN | ||
READ_SHORT 0x1c type | ||
PATCH_IF (%type% = 9) BEGIN // potions | ||
WRITE_BYTE 0x1e (THIS BAND 0b00111111) | ||
WRITE_BYTE 0x1f (THIS BAND 0b00000000) | ||
WRITE_BYTE 0x20 (THIS BAND 0b10000000) | ||
WRITE_BYTE 0x21 (THIS BAND 0b10011111) | ||
END | ||
END | ||
BUT_ONLY | ||
//__________________________________________________________________________________ | ||
|
||
|
Oops, something went wrong.