Permalink
Browse files

Scud's Yeslick Fix

Remap of WRITE_BYTE
  • Loading branch information...
1 parent 6d1648a commit 205b22a6c2b2305a2e8138e0603af47ed9654a92 @cmorganbg committed Nov 26, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 bg1npc.tp2
View
@@ -1263,17 +1263,17 @@ BEGIN @1005
WRITE_ASCIIE 0x248 ~%tutu_var%xan~ #8 // override script
END
PATCH_IF (~%crefile%~ STRING_COMPARE_CASE ~%tutu_var%yeslic.cre~ = 0) BEGIN
- WRITE_BYTE 0x22 23 // Current Hit Points
- WRITE_BYTE 0x22 23 // Maximum Hit Points
+ WRITE_BYTE 0x24 23 // Current Hit Points
+ WRITE_BYTE 0x26 23 // Maximum Hit Points
WRITE_BYTE 0x54 5 // Save vs. Death
WRITE_BYTE 0x55 9 // Save vs. Wand
WRITE_BYTE 0x56 13 // Save vs. Polymorph
WRITE_BYTE 0x57 16 // Save vs. Breath
WRITE_BYTE 0x58 10 // Save vs. Spells
END
PATCH_IF (~%crefile%~ STRING_COMPARE_CASE ~%tutu_var%yeslic5.cre~ = 0) BEGIN
- WRITE_BYTE 0x40 42 // Current Hit Points
- WRITE_BYTE 0x40 42 // Maximum Hit Points
+ WRITE_BYTE 0x24 42 // Current Hit Points
+ WRITE_BYTE 0x26 42 // Maximum Hit Points
WRITE_BYTE 0x54 4 // Save vs. Death
WRITE_BYTE 0x55 8 // Save vs. Wand
WRITE_BYTE 0x56 12 // Save vs. Polymorph

0 comments on commit 205b22a

Please sign in to comment.